/* Player12 — taraftar SuperApp mockup (FB örneği). Mobil öncelikli; masaüstünde ortada telefon genişliğinde kart. */

:root {
  --navy: #0B1F4B;
  --navy-2: #13306E;
  --navy-3: #1D3F86;
  --navy-ink: #07153A;
  --yellow: #FFD200;
  --yellow-2: #FFE566;
  --yellow-ink: #6B5600;
  --ink: #0B1F4B;
  --text: #1A2A4F;
  --muted: #5D6C8D;
  --bg: #EEF2F9;
  --surface: #FFFFFF;
  --surface-2: #F5F7FC;
  --surface-navy: #E6ECF8;
  --line: #DCE3F0;
  --ok: #1E9E5A;
  --err: #D93A3A;
  --warn: #E08A00;
  --r-l: 22px;
  --r: 16px;
  --r-s: 12px;
  --shadow: 0 6px 20px rgba(11, 31, 75, .08);
  --shadow-l: 0 14px 40px rgba(11, 31, 75, .18);
  --tabbar-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--navy-ink);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(255, 210, 0, .10), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(45, 108, 223, .25), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 28px, transparent 28px 56px);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
h2 { font-size: 17px; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- Kabuk ---------- */
.shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 520px) {
  .shell {
    height: min(100dvh - 32px, 920px);
    margin-top: 16px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 8px rgba(255, 255, 255, .06);
  }
}

/* Uygulama içi (Android WebView, <html class="in-app">): telefon çerçevesi yok — kabuk her
   genişlikte (büyük telefon, katlanabilir, tablet) ekranı kenardan kenara doldurur; desenli body
   arka planı hiçbir yerde görünmez. Sistem çubuğu payları --safe-t/--safe-b ile uygulamadan gelir.
   (.in-app .shell, 520px ve standalone kurallarından daha özgül.) */
.in-app body { background: var(--bg); background-image: none; }
.in-app .shell {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Tam ekran rotalar: oyun/show içeriği gezinme çubuğunun altında kalmasın. */
.in-app .shell.is-immersive .view { padding-bottom: var(--safe-b); }

.topbar {
  flex: none;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: calc(10px + var(--safe-t)) 16px 12px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  position: relative;
  z-index: 2;
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: 16px; letter-spacing: .2px; }
.brand b { color: var(--yellow); font-weight: 900; }
.topbar-actions { display: flex; gap: 6px; }
.hello {
  margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
  min-width: 0;
}
.hello-art { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 210, 0, .14); display: grid; place-items: center; }
.hello-art svg { width: 40px; height: 40px; }
.hello-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hello-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hello-level { font-size: 12px; color: var(--yellow-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { display: block; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin-top: 4px; overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--yellow); border-radius: 4px; transition: width .6s ease; }
.pts-pill {
  flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.05;
  background: var(--yellow); color: var(--navy); border-radius: 12px; padding: 6px 10px; min-width: 64px;
}
.pts-pill b { font-size: 16px; font-weight: 900; }
.pts-pill small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

.view {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
}
.view-inner { min-width: 0; animation: viewIn .28s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(11, 31, 75, .06);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; min-width: 0;
  position: relative; transition: color .2s;
}
.tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab-ico { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 15px; transition: background .2s, transform .2s; }
@media (max-width: 400px) {
  .tab { font-size: 10.5px; letter-spacing: -.1px; }
  .tab-ico { width: 40px; }
}
.tab.is-active { color: var(--navy); }
.tab.is-active .tab-ico { background: var(--yellow); transform: translateY(-1px); }
.tab[data-tab="show"] .tab-ico { position: relative; }
.shell.has-show .tab[data-tab="show"] .tab-ico::after {
  content: ""; position: absolute; top: 2px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: #E53935; box-shadow: 0 0 0 2px #fff;
}

/* Tam ekran rotalar (show, oyun) */
.shell.is-immersive .topbar,
.shell.is-immersive .tabbar { display: none; }
.shell.is-immersive .view { padding-bottom: 0; overflow: hidden; background: var(--navy-ink); }
.shell.is-immersive .view-inner { height: 100%; }

/* Gömülü sekme (Saha): üst çubuk yok, görünüm sekme çubuğunun üstünü kaydırmasız doldurur */
.shell.is-embed .topbar { display: none; }
.shell.is-embed .view { overflow: hidden; padding-top: var(--safe-t); padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); background: var(--navy-ink); }
.shell.is-embed .view-inner { height: 100%; }
.embed-frame { position: relative; height: 100%; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.embed-fallback {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; color: #fff; text-align: center; background: var(--navy-ink);
}
.embed-fallback h2 { color: #fff; font-size: 22px; }
.embed-fallback p { color: rgba(255, 255, 255, .75); max-width: 300px; }
.embed-fallback-art { font-size: 64px; }
.show-frame .embed-fallback { position: absolute; inset: 0; }

#overlay-root { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
#overlay-root > * { pointer-events: auto; }

/* ---------- Toast ---------- */
.toasts {
  position: absolute; left: 12px; right: 12px; z-index: 40;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px);
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
}
.shell.is-immersive .toasts { bottom: calc(16px + var(--safe-b)); }
.toast {
  pointer-events: auto;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-l);
  text-decoration: none;
  overflow-wrap: anywhere;
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}
.toast.is-in { opacity: 1; transform: none; }
.toast--ok { background: #12603A; }
.toast--err { background: var(--err); }
.toast--gift { background: var(--yellow); color: var(--navy); }

/* ---------- Açılış ekranı ---------- */
.splash { min-height: 70%; display: grid; place-items: center; text-align: center; padding: 40px 20px; color: var(--muted); }
.splash .spinner { margin: 0 auto 10px; }
.noscript { padding: 20px; color: #fff; text-align: center; }

/* ---------- Temel bileşenler ---------- */
.pad { padding: 16px; }
.pad-x { padding: 0 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stack-s { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row-s { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.row-between > * { min-width: 0; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 255, 255, .72); }
.small { font-size: 13px; }
.fine { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 8px; }
.label { font-size: 13px; font-weight: 800; color: var(--ink); margin: 6px 0; }
.kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.kicker--yellow { color: var(--yellow); }
.link { color: var(--navy-3); font-weight: 700; text-decoration: none; font-size: 14px; }
.line { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.line.total { font-size: 17px; color: var(--ink); }
.line.ok { color: var(--ok); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 15px; text-decoration: none; text-align: center;
  transition: transform .12s ease, background .2s, opacity .2s, box-shadow .2s;
  user-select: none; -webkit-user-select: none;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.is-busy { opacity: .7; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11, 31, 75, .22); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 16px rgba(255, 210, 0, .3); }
.btn--ghost { background: var(--surface-navy); color: var(--navy); }
.btn--ghost-light { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger-ghost { background: transparent; color: var(--err); border: 1.5px solid rgba(217, 58, 58, .35); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 12px; }
.btn--lg { min-height: 52px; font-size: 16px; }
.btn--grow { flex: 1; }

.icon-btn {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--surface); color: var(--navy); border: 0; cursor: pointer;
  text-decoration: none; font-size: 22px; font-weight: 700; line-height: 1;
  box-shadow: var(--shadow);
}
.icon-btn--dark { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.badge {
  position: absolute; top: 3px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 9px; background: #E53935; color: #fff;
  font-size: 11px; font-weight: 900; line-height: 1;
  box-shadow: 0 0 0 2px var(--navy);
}

.card {
  background: var(--surface); border-radius: var(--r-l); padding: 16px;
  box-shadow: var(--shadow); min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.card--soft { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line); }
.card--navy { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; }
.card--navy h2, .card--navy b { color: #fff; }
.card--navy .muted { color: rgba(255, 255, 255, .72); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-link { text-decoration: none; color: inherit; transition: transform .15s ease; }
.card-link:active { transform: scale(.985); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.section-title { font-size: 17px; margin-bottom: 8px; }
.section-head .section-title { margin-bottom: 0; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface-navy); color: var(--navy); font-size: 13px; font-weight: 800; white-space: nowrap; }
.pill--yellow { background: var(--yellow); color: var(--navy); }
.chip { display: inline-block; padding: 2px 9px; border-radius: 8px; background: var(--surface-navy); color: var(--navy); font-size: 12px; font-weight: 800; white-space: nowrap; }
.chip--branch { background: var(--yellow); color: var(--navy); }
.chip--show { background: #FFF3C2; color: #7A5B00; }
.chip--admin { background: #E3ECFF; color: #1D3F86; }
.chip--reward { background: #E2F6EA; color: #12603A; }
.chip--store { background: #FCE7F3; color: #8A1C55; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.tag--gold { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.tag--ok { background: #E2F6EA; border-color: #BFE8CF; color: #12603A; }
.tag--warn { background: #FFF1DD; border-color: #FFD9A6; color: #8A4B00; }
.status-pill { font-size: 13px; font-weight: 800; color: var(--muted); }

.chips {
  display: flex; gap: 8px; padding: 12px 16px 4px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  flex: none; min-height: 38px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 800; font-size: 14px;
  border: 1.5px solid var(--line); display: inline-flex; align-items: center;
}
.chip-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--yellow); }

.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: 4px; margin: 12px 16px 0; padding: 4px; border-radius: 14px; background: var(--surface-navy);
}
.seg-item {
  min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 800; font-size: 13.5px;
  text-align: center; padding: 4px 6px; min-width: 0;
}
.seg-item.is-active { background: var(--surface); color: var(--navy); box-shadow: 0 2px 8px rgba(11, 31, 75, .1); }
.seg-count { font-size: 11px; background: var(--surface-navy); border-radius: 8px; padding: 1px 6px; }

.bar { height: 10px; border-radius: 6px; background: var(--surface-navy); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 6px; background: var(--navy); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.bar--yellow span { background: linear-gradient(90deg, #FFC400, var(--yellow)); }
.card--navy .bar, .match-hero .bar, .nest-hero .bar, .level-card .bar { background: rgba(255, 255, 255, .16); }

.page-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 2px;
}
.page-head-text { flex: 1; min-width: 0; }
.page-head h1 { font-size: 22px; font-weight: 900; }
.page-head p { font-size: 13px; color: var(--muted); }
.page-head-right { flex: none; display: flex; gap: 6px; }
.page-head .icon-btn { font-size: 28px; }

.spinner {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(11, 31, 75, .2); border-top-color: var(--navy);
  animation: spin .8s linear infinite; vertical-align: -4px; margin-right: 6px;
}
.show-loading .spinner, .ts-reward .spinner { border-color: rgba(255, 255, 255, .25); border-top-color: var(--yellow); }
@keyframes spin { to { transform: rotate(360deg); } }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #E53935; box-shadow: 0 0 0 0 rgba(229, 57, 53, .6); animation: pulse 1.6s infinite; flex: none; }
.live-pill { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px; background: #E53935; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .6px; animation: blink 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, .6); } 70% { box-shadow: 0 0 0 9px rgba(229, 57, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); } }
@keyframes blink { 50% { opacity: .55; } }

/* İskelet */
.skel-list { display: flex; flex-direction: column; gap: 12px; }
.skel {
  border-radius: var(--r-l);
  background: linear-gradient(90deg, #E2E8F3 0%, #F2F5FB 50%, #E2E8F3 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.skel--card { height: 110px; }
.skel--news { height: 96px; }
.skel--hero { height: 200px; }
.skel--line { height: 56px; border-radius: 14px; }
.skel--grid { height: 220px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Boş / hata */
.empty { text-align: center; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-ico { font-size: 44px; line-height: 1; margin-bottom: 4px; }
.empty h3 { font-size: 18px; }
.empty p { color: var(--muted); max-width: 300px; }
.empty .btn { margin-top: 8px; }

/* Alt sayfa / onay */
.sheet-wrap { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(7, 21, 58, .5); opacity: 0; transition: opacity .22s; }
.sheet {
  position: relative; width: 100%; background: var(--surface);
  border-radius: 24px 24px 0 0; padding: 10px 20px calc(20px + var(--safe-b));
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  max-height: 85%; overflow-y: auto;
}
.sheet-wrap.is-in .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-in .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet-title { font-size: 19px; margin-bottom: 6px; }
.sheet-text { color: var(--muted); margin-bottom: 16px; overflow-wrap: anywhere; }
.sheet-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }

/* Kutlama */
.celebrate {
  position: absolute; inset: 0; z-index: 50;
  display: grid; place-items: center; padding: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 210, 0, .35), rgba(7, 21, 58, .85) 60%);
  opacity: 0; transition: opacity .3s;
  overflow: hidden;
}
.celebrate.is-in { opacity: 1; }
.celebrate-card {
  position: relative; z-index: 1; width: 100%; max-width: 340px;
  background: var(--surface); border-radius: 26px; padding: 22px 20px 18px; text-align: center;
  box-shadow: var(--shadow-l); display: flex; flex-direction: column; gap: 6px; align-items: center;
  transform: scale(.8); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1);
}
.celebrate.is-in .celebrate-card { transform: none; }
.celebrate-kicker { font-weight: 900; color: var(--navy); background: var(--yellow); padding: 4px 12px; border-radius: 999px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.celebrate-art { animation: bob 1.8s ease-in-out infinite; }
.celebrate h2 { font-size: 22px; }
.celebrate .btn { margin-top: 10px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i {
  position: absolute; top: -20px; border-radius: 2px;
  animation-name: fall; animation-timing-function: cubic-bezier(.3, .6, .5, 1); animation-iteration-count: 2;
}
@keyframes fall {
  from { transform: translateY(-20px) rotate(0); opacity: 1; }
  to { transform: translateY(110vh) rotate(var(--rot, 360deg)); opacity: .8; }
}
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* ---------- Sahte reklam ---------- */
.ad-overlay {
  position: absolute; inset: 0; z-index: 45;
  display: flex; flex-direction: column;
  background: #050E26; color: #fff;
  padding: calc(12px + var(--safe-t)) 16px calc(16px + var(--safe-b));
  opacity: 0; transition: opacity .25s;
}
.ad-overlay.is-in { opacity: 1; }
.ad-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ad-tag { font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .12); padding: 5px 10px; border-radius: 8px; }
.ad-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.ad-scene { width: 100%; max-width: 360px; height: auto; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.ad-rays { transform-origin: 160px 120px; animation: spin 14s linear infinite; }
.ad-can { transform-origin: 160px 120px; animation: canPop 2.4s ease-in-out infinite; }
.ad-bubbles circle { animation: rise 3s linear infinite; }
.ad-bubbles circle:nth-child(2) { animation-delay: .8s; }
.ad-bubbles circle:nth-child(3) { animation-delay: 1.6s; }
.ad-bubbles circle:nth-child(4) { animation-delay: 2.2s; }
@keyframes canPop { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }
@keyframes rise { from { transform: translateY(0); opacity: .8; } to { transform: translateY(-160px); opacity: 0; } }
.ad-slogan { font-size: 20px; font-weight: 900; color: var(--yellow); }
.ad-note { font-size: 12px; color: rgba(255, 255, 255, .6); }
.ad-bottom { display: flex; align-items: center; gap: 12px; }
.ad-timer { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.ad-timer svg { position: absolute; inset: 4px; }
.ad-secs { font-weight: 900; font-size: 16px; }

/* ---------- Maç Günü / Show ---------- */
.show-wrap { height: 100%; display: flex; flex-direction: column; background: var(--navy-ink); }
.show-strip {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: calc(6px + var(--safe-t)) 10px 6px;
  background: var(--navy); color: #fff; min-height: 44px;
}
.show-exit {
  display: grid; place-items: center; width: 44px; height: 40px; border-radius: 12px;
  color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; background: rgba(255, 255, 255, .1); flex: none;
}
.show-title { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-frame { position: relative; flex: 1; min-height: 0; }
.show-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.show-loading {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; z-index: 1;
  background: var(--navy-ink); pointer-events: none;
}
.show-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; color: #fff; text-align: center; }
.show-empty h2 { color: #fff; font-size: 22px; }
.show-empty p { color: rgba(255, 255, 255, .75); }
.show-empty-art { font-size: 64px; }

/* ---------- Ana sayfa ---------- */
.match-hero {
  margin: 14px 16px 0; padding: 16px; border-radius: var(--r-l);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 0, .25), transparent 50%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff; box-shadow: var(--shadow-l);
  display: flex; flex-direction: column; gap: 10px;
}
.match-hero-meta { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
.countdown { text-align: center; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--yellow); font-variant-numeric: tabular-nums; }

.mt { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.mt-team { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; font-weight: 800; font-size: 13.5px; }
.mt-team span { overflow-wrap: anywhere; }
.mt-mid { display: flex; flex-direction: column; align-items: center; }
.mt-score { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mt-score i { font-style: normal; opacity: .5; margin: 0 4px; }
.mt-vs { font-size: 14px; font-weight: 900; padding: 6px 10px; border-radius: 10px; background: rgba(11, 31, 75, .08); }
.match-hero .mt-vs { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.mt--big .mt-team { font-size: 14.5px; }
.mt--big .mt-score { font-size: 32px; }

.tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px;
  background: var(--surface); border-radius: var(--r-l); padding: 14px 8px; box-shadow: var(--shadow);
}
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0;
  background: none; border: 0; padding: 2px; cursor: pointer; text-decoration: none; color: var(--ink);
}
.tile-ico {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px;
  background: var(--surface-navy); color: var(--navy); transition: transform .15s ease;
}
.tile:active .tile-ico { transform: scale(.92); }
.tile-ico .badge { top: -4px; right: -4px; box-shadow: 0 0 0 2px #fff; }
.tile-ico--show { background: var(--navy); color: var(--yellow); }
.tile-ico--nest { background: var(--yellow); color: var(--navy); }
.tile-ico--saha { background: #E2F6EA; color: #12603A; }
.tile-ico--support { background: #FDE8E8; color: #B42318; }
.tile-ico--rewards { background: #FFF3C2; color: #7A5B00; }
.tile-hot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #E53935; box-shadow: 0 0 0 2px var(--navy); }
.tile-label { font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }

.wallet-strip { flex-direction: row; align-items: center; gap: 12px; }
.wallet-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.fund-big { font-size: 20px; }

/* ---------- Haberler ---------- */
.news-card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
  background: var(--surface); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; min-width: 0;
}
.news-card--compact { grid-template-columns: 88px minmax(0, 1fr); }
.news-thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.news-thumb svg { display: block; width: 100%; height: 100%; }
.news-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-body h3 { font-size: 15px; }
.news-body p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.article-hero { margin: 12px 16px 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 2 / 1; box-shadow: var(--shadow); }
.article-hero svg { display: block; width: 100%; height: 100%; }
.article .pad > p { margin-bottom: 12px; overflow-wrap: anywhere; }
.article-title { font-size: 23px; font-weight: 900; margin: 8px 0 10px; }
.article-lead { font-weight: 700; color: var(--ink); }
.article-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }

/* ---------- Kanarya Yuvası ---------- */
.nest-hero {
  margin: 14px 16px 0; padding: 18px 16px 16px; border-radius: var(--r-l); color: #fff; text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 210, 0, .35), transparent 45%),
    linear-gradient(170deg, var(--navy-3) 0%, var(--navy) 70%);
  box-shadow: var(--shadow-l);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.nest-art { animation: bob 2.4s ease-in-out infinite; }
.nest-kicker { color: var(--yellow); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.nest-title { color: #fff; font-size: 22px; font-weight: 900; }
.nest-hero .bar { width: 100%; }
.nest-xp { font-size: 13px; color: rgba(255, 255, 255, .85); }
.nest-xp b { color: var(--yellow); }
.evo {
  list-style: none; margin: 8px 0 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
}
.evo-step { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .45; filter: grayscale(.8); transition: opacity .3s; min-width: 0; }
.evo-step.is-on { opacity: 1; filter: none; }
.evo-art { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.evo-step.is-current .evo-art { background: rgba(255, 210, 0, .25); box-shadow: 0 0 0 2px var(--yellow); }
.evo-name { font-size: 10.5px; font-weight: 800; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.evo-xp { font-size: 10px; color: rgba(255, 255, 255, .6); }

.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.task {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
}
.task.is-done { background: #F0FAF4; border-color: #CDEBD9; }
.task-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-navy); color: var(--navy); }
.task.is-done .task-ico { background: #D6F2E1; color: #12603A; }
.task-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.task-title { font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.task-meta { font-size: 12.5px; color: var(--muted); }
.task-body .bar { height: 6px; }
.task-done { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }

.game-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 12px;
  background: var(--surface); border-radius: var(--r-l); padding: 12px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; border: 2px solid var(--yellow);
}
.game-card-art svg { width: 96px; height: auto; display: block; }
.game-card-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.game-card-text h2 { font-size: 19px; }
.game-card-text p { font-size: 13px; color: var(--muted); }
.game-card-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--yellow); }
.game-card--feature {
  background: radial-gradient(circle at 100% 0%, rgba(255, 210, 0, .22), transparent 55%), linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff; box-shadow: var(--shadow-l);
}
.game-card--feature .game-card-text h2 { color: #fff; }
.game-card--feature .game-card-text p { color: rgba(255, 255, 255, .8); }
.game-card--feature .kicker { color: var(--yellow); }
.game-card--feature .game-card-go { background: var(--yellow); color: var(--navy); }
.game-card-cta { grid-column: 1 / -1; }
.howto { list-style: none; margin: 0; padding: 0; }
.howto li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.howto b { color: var(--ok); }

/* ---------- Top Sektir ---------- */
.ts-wrap { height: 100%; display: flex; flex-direction: column; background: var(--navy-ink); color: #fff; }
.ts-hud { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(6px + var(--safe-t)) 10px 6px; background: var(--navy); }
.ts-title { flex: 1; font-weight: 900; }
.ts-score { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; padding-right: 6px; }
.ts-score small { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .7); }
.ts-score b { font-size: 24px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.ts-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ts-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.ts-ready {
  position: absolute; left: 16px; right: 16px; top: 62%; text-align: center; pointer-events: none;
  display: flex; flex-direction: column; gap: 4px; text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.ts-big { font-size: 26px; font-weight: 900; color: var(--yellow); animation: blink 1.4s infinite; }
.ts-over { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5, 14, 38, .55); }
.ts-over-card {
  width: 100%; max-width: 330px; background: var(--surface); color: var(--text); border-radius: 24px; padding: 20px;
  text-align: center; box-shadow: var(--shadow-l); display: flex; flex-direction: column; gap: 8px;
  animation: popIn .35s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes popIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.ts-kicker { font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; font-size: 12px; }
.ts-final { font-size: 48px; font-weight: 900; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.ts-reward { font-weight: 800; padding: 10px; border-radius: 12px; background: var(--navy); color: #fff; }
.ts-reward--ok { background: var(--yellow); color: var(--navy); }
.ts-reward--err { background: #FDE8E8; color: var(--err); }

/* ---------- Maçlar ---------- */
.match { background: var(--surface); border-radius: var(--r-l); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.match--live { box-shadow: 0 0 0 2px #E53935, var(--shadow); }
.match-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.predict { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.predict--done { flex-direction: row; justify-content: center; font-size: 14px; background: #F0FAF4; border-color: #CDEBD9; color: #12603A; }
.predict--closed { font-size: 13px; color: var(--muted); text-align: center; }
.predict-title { font-weight: 800; font-size: 14px; color: var(--ink); }
.predict-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.stepper { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.stepper-label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.stepper-ctl { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 3px; }
.stepper-ctl output { min-width: 32px; text-align: center; font-weight: 900; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.step-btn { width: 40px; height: 40px; border-radius: 11px; border: 0; background: var(--surface-navy); color: var(--navy); font-size: 22px; font-weight: 800; cursor: pointer; line-height: 1; }
.step-btn:active { transform: scale(.94); }
.stepper-ctl--sm .step-btn { width: 36px; height: 36px; font-size: 19px; }
.stepper-ctl--sm output { font-size: 16px; min-width: 26px; }
.predict-result { font-size: 13.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow); max-width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 380px; }
.table th { font-size: 11.5px; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--surface-2); font-variant-numeric: tabular-nums; }
.table .t-left { text-align: left; }
.table .t-team { font-weight: 700; white-space: nowrap; }
.table tr.is-us td { background: #FFF8D6; font-weight: 800; color: var(--navy); }
.table tr.is-us td:first-child { box-shadow: inset 4px 0 0 var(--yellow); }

/* ---------- Store ---------- */
.banner-link {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r);
  background: var(--navy); color: #fff; text-decoration: none;
}
.banner-link span { flex: 1; min-width: 0; font-size: 14px; }
.banner-link b { color: var(--yellow); }
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prod {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit; min-width: 0; transition: transform .15s;
}
.prod:active { transform: scale(.98); }
.prod.is-out { opacity: .6; }
.prod-media { display: grid; place-items: center; padding: 10px; background: linear-gradient(160deg, #F6F8FD, #E9EEF8); }
.prod-media svg { width: 100%; max-width: 128px; height: auto; }
.prod-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prod-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
.prod-price { font-weight: 900; color: var(--navy); }
.pdp-media { margin: 12px 16px 0; border-radius: var(--r-l); display: grid; place-items: center; padding: 10px; background: linear-gradient(160deg, #FFFFFF, #E4EBF8); box-shadow: var(--shadow); }
.pdp-media svg { width: 100%; max-width: 260px; height: auto; }
.pdp-title { font-size: 21px; font-weight: 900; }
.pdp-price { font-size: 24px; font-weight: 900; color: var(--navy); margin: 4px 0; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; cursor: pointer; color: var(--navy); }
.size.is-active { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.cart-lines { gap: 0; padding: 6px 12px; }
.cart-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--surface-2); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.cart-info { display: flex; flex-direction: column; min-width: 0; }
.cart-name { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); padding: 14px 16px; border-radius: var(--r); box-shadow: var(--shadow); cursor: pointer;
}
.card .switch-row { box-shadow: none; padding: 10px 0; background: none; }
.switch-row > span { min-width: 0; }
.switch-row.is-disabled { opacity: .6; cursor: not-allowed; }
.switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 52px; height: 30px; border-radius: 15px; background: #C9D3E6; cursor: pointer; transition: background .2s; margin: 0;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch:checked { background: var(--navy); }
.switch:checked::after { transform: translateX(22px); background: var(--yellow); }
.switch:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.demo-note { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: #FFF8D6; color: #6B5600; border: 1px dashed #EBCB4C; }
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.success-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 36px; font-weight: 900; animation: popIn .4s cubic-bezier(.2, 1.4, .4, 1) both; }

/* ---------- Mağazalar ---------- */
.map-box { isolation: isolate; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-navy); }
.map { height: 280px; width: 100%; }
.map-loading, .map-fail { height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-weight: 700; }
.loc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.loc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; background: var(--surface); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.loc-pin { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.loc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.loc-name { font-weight: 800; color: var(--ink); }
.loc .row-s { margin-top: 4px; }
.fan-pin { background: none; border: 0; }
.fan-pin-dot {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--navy); border: 3px solid var(--yellow); box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.fan-pin-dot b { transform: rotate(45deg); color: var(--yellow); font-size: 11px; font-weight: 900; }
.pop { font-family: var(--font); font-size: 13px; line-height: 1.5; }
.pop a { color: var(--navy-3); font-weight: 800; }

/* ---------- Destekle ---------- */
.fund { display: flex; flex-direction: column; gap: 8px; }
.fund--big .bar { height: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.amount-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choice {
  min-height: 44px; padding: 8px 6px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--navy); font-weight: 800; font-size: 13.5px; cursor: pointer; overflow-wrap: anywhere;
}
.choice.is-active { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.field { display: flex; flex-direction: column; }
.field input {
  min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2);
  font-size: 16px; width: 100%; min-width: 0;
}
.field input:focus { outline: none; border-color: var(--navy); background: #fff; }
.raffle { border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.raffle-head { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.raffle-head > div { min-width: 0; overflow-wrap: anywhere; }
.raffle-ico { font-size: 28px; }
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--surface-2); }
.list-row:last-child { border-bottom: 0; }
.avatar { display: grid; place-items: center; border-radius: 50%; background: var(--navy-3); color: #fff; font-weight: 900; flex: none; }
.avatar--sm { width: 36px; height: 36px; font-size: 14px; background: var(--surface-navy); color: var(--navy); }
.avatar--lg { width: 88px; height: 88px; font-size: 32px; border: 4px solid var(--yellow); box-shadow: var(--shadow-l); }

/* ---------- Ödüller ---------- */
.points-hero {
  margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: var(--r-l); color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
}
.points-hero span { flex: 1 1 120px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.points-hero b { font-size: 26px; color: var(--yellow); }
.reward {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--surface); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow);
}
.reward.is-locked { opacity: .7; }
.reward-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-navy); display: grid; place-items: center; font-size: 24px; }
.reward-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.reward-cta { display: flex; justify-content: flex-end; }
.lock { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--muted); text-align: right; max-width: 110px; }
.cost { color: var(--navy); }

/* ---------- Cüzdan ---------- */
.coupon {
  position: relative; background: var(--surface); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow: hidden;
  border-left: 6px solid var(--yellow);
}
.coupon::before, .coupon::after {
  content: ""; position: absolute; right: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg);
}
.coupon::before { top: 40%; }
.coupon::after { top: calc(40% + 26px); }
.coupon--used, .coupon--expired { border-left-color: #C9D3E6; opacity: .75; }
.coupon-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.coupon-sponsor { font-size: 12px; font-weight: 800; color: var(--muted); }
.coupon-title { font-size: 18px; font-weight: 900; }
.coupon-note { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.coupon-code-row { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1.5px dashed #B9C5DD; border-radius: 14px; padding: 8px 8px 8px 14px; }
.coupon-code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 21px; font-weight: 800; letter-spacing: 1.5px; color: var(--navy); overflow-wrap: anywhere; user-select: all; }
.coupon-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Bildirimler ---------- */
.notices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.notice {
  width: 100%; text-align: left; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px;
  background: var(--surface); border: 0; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); cursor: pointer;
}
.notice-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: transparent; }
.notice.is-unread .notice-dot { background: #E53935; }
.notice.is-unread b { color: var(--ink); }
.notice-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.notice:not(.is-unread) { opacity: .8; }

/* ---------- Takım ---------- */
.coach { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 12px 14px; border-radius: var(--r); box-shadow: var(--shadow); font-size: 24px; }
.coach span { font-size: 14px; }
.squad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.squad-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--surface); border-radius: var(--r); padding: 12px 8px; box-shadow: var(--shadow); text-decoration: none; color: inherit; min-width: 0;
}
.squad-name { font-weight: 800; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.player-hero {
  margin: 12px 16px 0; padding: 18px; border-radius: var(--r-l); text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 25%, rgba(255, 210, 0, .3), transparent 50%), linear-gradient(160deg, var(--navy-3), var(--navy));
  display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--shadow-l);
}
.player-hero h1 { color: #fff; font-size: 24px; }
.player-hero p { color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border-radius: var(--r); padding: 12px 6px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.stat b { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- Profil ---------- */
.profile-hero { padding: 20px 16px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.profile-hero h1 { font-size: 22px; font-weight: 900; }
.profile-hero p { color: var(--muted); font-size: 13.5px; }
.level-card {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 14px; border-radius: var(--r-l); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 15% 50%, rgba(255, 210, 0, .35), transparent 45%), linear-gradient(140deg, var(--navy), var(--navy-3));
  box-shadow: var(--shadow-l);
}
.level-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255, 210, 0, .12); }
.level-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; z-index: 1; }
.level-card h2 { color: #fff; font-size: 20px; font-weight: 900; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border-radius: var(--r); padding: 12px 6px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.kpi b { font-size: 19px; color: var(--navy); overflow-wrap: anywhere; }
.kpi span { font-size: 12px; color: var(--muted); font-weight: 700; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.badge-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); filter: grayscale(1); opacity: .6; min-width: 0;
}
.badge-tile.is-on { filter: none; opacity: 1; background: #FFF8D6; border-color: #F5D96B; }
.badge-tile b { font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.badge-tile .small { font-size: 11px; line-height: 1.2; }
.badge-ico { font-size: 28px; line-height: 1.1; }
.menu { padding: 6px 12px; gap: 0; }
.menu a { display: flex; align-items: center; gap: 12px; min-height: 50px; text-decoration: none; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--surface-2); }
.menu a:last-child { border-bottom: 0; }
.menu a span { flex: 1; }
.menu a .ico:last-child { color: var(--muted); }
.persona-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.persona {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 60px; padding: 8px 4px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; min-width: 0; text-align: center;
}
.persona.is-active { border-color: var(--navy); background: var(--navy); }
.persona.is-active b, .persona.is-active span { color: var(--yellow); }

/* ---------- Erişilebilirlik ve hareket ---------- */
a:focus-visible, button:focus-visible, .tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Yüklü PWA (standalone) — üst boşluğu biraz artır */
@media (display-mode: standalone) {
  .topbar { padding-top: calc(14px + var(--safe-t)); }
  .shell { margin-top: 0; border-radius: 0; height: 100dvh; }
}

@media (max-width: 359px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amount-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pts-pill { min-width: 54px; }
}
