/* ==========================================================================
   HALISAHA — "GECE MAÇI / PROJEKTÖR" tasarım dili
   Koyu stadyum-gecesi teması · editoryal display tipografi · dev skorbord
   rakamları · projektör parıltıları. İki dünya: 🟢 Gruplar · 🔵 Takımlar.
   ========================================================================== */

:root {
  /* Zemin */
  --ink: #060b09;
  --ink-2: #0a1310;
  --panel: #0e1814;
  --panel-2: #13201b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  /* Metin */
  --tx: #eef4f0;
  --tx-dim: #93a89d;
  --tx-mute: #5d7268;

  /* Dünya — Gruplar (elektrik yeşili) */
  --g: #34e27a;
  --g-2: #14c866;
  --g-deep: #0b6b3c;
  --g-glow: rgba(52, 226, 122, 0.45);

  /* Dünya — Takımlar (elektrik mavisi) */
  --b: #5b8dff;
  --b-2: #3568f4;
  --b-deep: #1b3aa8;
  --b-glow: rgba(91, 141, 255, 0.42);

  /* Anlamsal */
  --hot: #ff5c3a;
  --hot-glow: rgba(255, 92, 58, 0.4);
  --gold: #f6c343;

  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 13px;

  --disp: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  --body: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }

/* ---------- Masaüstü sahne ---------- */
.fl-desk {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 16px 56px;
  font-family: var(--body);
  background:
    radial-gradient(1200px 620px at 50% -8%, rgba(52,226,122,0.10), transparent 62%),
    radial-gradient(900px 520px at 100% 105%, rgba(91,141,255,0.10), transparent 55%);
  background-color: #030605;
}
.fl-deskbar {
  display: flex; align-items: center; gap: 12px;
  color: #cfe6da; font-weight: 700; font-size: 14px; letter-spacing: -0.2px;
}
.fl-deskbar b { color: #fff; }
.fl-deskbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 12px var(--g-glow); }

/* ---------- Telefon ---------- */
.fl-phone {
  width: 402px; height: 872px; flex: 0 0 auto;
  border-radius: 54px; padding: 7px;
  background: linear-gradient(160deg, #1b2621, #0a110d);
  box-shadow: 0 50px 110px rgba(0,0,0,0.6), 0 0 0 1.5px rgba(255,255,255,0.06), inset 0 0 0 1px rgba(0,0,0,0.5);
  transform: translateZ(0);
  position: relative;
}
.fl-app {
  position: relative; width: 100%; height: 100%;
  border-radius: 47px; overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--tx);
  background:
    radial-gradient(820px 460px at 50% -6%, var(--wamb, rgba(52,226,122,0.28)), transparent 60%),
    repeating-linear-gradient(179deg, rgba(150,255,190,0.035) 0 46px, rgba(0,0,0,0.05) 46px 92px),
    radial-gradient(140% 60% at 50% 120%, rgba(0,0,0,0.5), transparent 55%),
    linear-gradient(180deg, #0c1a13, #06110c 60%);
  transition: background 0.5s ease;
}
.fl-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 32px; background: #000; border-radius: 20px; z-index: 61;
}
.fl-status {
  position: absolute; top: 0; left: 0; right: 0; height: 54px;
  padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; color: var(--tx); z-index: 60; pointer-events: none;
}
.fl-status .r { display: flex; align-items: center; gap: 7px; }
.fl-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.fl-scroll::-webkit-scrollbar { display: none; }
.fl-screen {
  padding: 66px 20px calc(112px + 20px);
  animation: fl-in 0.42s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes fl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Tipografi ---------- */
.disp { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; line-height: 0.98; }
.num { font-family: var(--disp); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.kick { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tx-mute); }
.muted { color: var(--tx-dim); }
.mute2 { color: var(--tx-mute); }

/* ---------- Üst bar (Akış) ---------- */
.fl-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.fl-ava {
  width: 46px; height: 46px; border-radius: 16px; flex: 0 0 auto; border: none;
  background: linear-gradient(150deg, var(--g), var(--g-deep)); color: #05140c;
  display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 20px;
  box-shadow: 0 0 22px var(--g-glow);
}
.fl-top h1 { flex: 1; margin: 0; font-family: var(--disp); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.fl-ic {
  width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto; border: 1px solid var(--line);
  background: var(--panel); color: var(--tx); display: grid; place-items: center; position: relative;
}
.fl-ic:active { opacity: 0.6; }
.fl-ic .badge-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 8px var(--hot-glow); }

/* ---------- Dünya başlığı (Gruplar/Takımlar/detay) ---------- */
.flh { margin-bottom: 22px; }
.flh-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.worldtag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--wsoft); color: var(--wc); border: 1px solid var(--wline);
}
.worldtag .d { width: 8px; height: 8px; border-radius: 50%; background: var(--wc); box-shadow: 0 0 10px var(--wglow2); }
.flh-title { font-family: var(--disp); font-weight: 800; font-size: 40px; letter-spacing: -0.035em; margin: 14px 0 0; line-height: 0.96; }
.flh-sub { color: var(--tx-dim); font-size: 14px; font-weight: 500; margin-top: 8px; max-width: 90%; }
.flh-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.flh-btn {
  height: 42px; min-width: 42px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--panel); color: var(--tx); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
}
.flh-btn:active { opacity: 0.6; }
.flh-btn svg { width: 18px; height: 18px; }

/* Dünya renk bağlamı — .world-grup / .world-takim bir kapsayıcıya verilir */
.world-grup { --wc: var(--g); --wc2: var(--g-2); --wdeep: var(--g-deep); --wglow2: var(--g-glow); --wamb: rgba(52,226,122,0.30); --wgrad: linear-gradient(135deg, var(--g), var(--g-2)); --wsoft: rgba(52,226,122,0.12); --wline: rgba(52,226,122,0.3); }
.world-takim { --wc: var(--b); --wc2: var(--b-2); --wdeep: var(--b-deep); --wglow2: var(--b-glow); --wamb: rgba(91,141,255,0.30); --wgrad: linear-gradient(135deg, var(--b), var(--b-2)); --wsoft: rgba(91,141,255,0.12); --wline: rgba(91,141,255,0.3); }
.world-none { --wc: var(--g); --wc2: var(--g-2); --wdeep: var(--g-deep); --wglow2: var(--g-glow); --wamb: rgba(52,226,122,0.24); --wgrad: linear-gradient(135deg, var(--g), var(--g-2)); --wsoft: rgba(52,226,122,0.12); --wline: rgba(52,226,122,0.28); }

/* ---------- Kartlar ---------- */
.fl-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.fl-card.tap { cursor: pointer; transition: transform 0.1s ease, border-color 0.15s ease; }
.fl-card.tap:active { transform: scale(0.985); }

/* Hero — projektör bandı, dünya rengiyle parlayan */
.fl-hero {
  position: relative; overflow: hidden; border: none; border-radius: var(--r-xl);
  padding: 24px; margin-bottom: 16px;
  background:
    radial-gradient(420px 200px at 88% -30%, color-mix(in oklab, var(--wc) 55%, transparent), transparent 70%),
    linear-gradient(150deg, var(--wdeep), var(--ink-2) 92%);
  box-shadow: 0 24px 60px -20px var(--wglow2), inset 0 1px 0 rgba(255,255,255,0.1);
}
.fl-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 40%);
  border-radius: inherit; border: 1px solid rgba(255,255,255,0.1);
}
.fl-hero .kick { color: rgba(255,255,255,0.75); }

/* Sayaç */
.cd { display: flex; gap: 8px; margin-top: 4px; }
.cd-u { flex: 1; text-align: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 12px 0 9px; backdrop-filter: blur(6px); }
.cd-n { font-family: var(--disp); font-weight: 800; font-size: 30px; color: #fff; font-variant-numeric: tabular-nums; }
.cd-l { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ---------- Butonlar ---------- */
.fl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; line-height: 1;
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  background: var(--panel); color: var(--tx); text-decoration: none;
  transition: transform 0.08s ease, opacity 0.15s;
}
.fl-btn:active { transform: scale(0.97); }
.fl-btn.block { width: 100%; }
.fl-btn.sm { padding: 11px 14px; font-size: 13.5px; border-radius: 12px; }
.fl-btn-w {
  border: none; color: #04130b;
  background: var(--wgrad);
  box-shadow: 0 12px 30px -8px var(--wglow2), inset 0 1px 0 rgba(255,255,255,0.4);
  font-weight: 800;
}
.world-takim .fl-btn-w { color: #fff; }
.fl-btn-soft { background: var(--wsoft); color: var(--wc); border: 1px solid var(--wline); }
.fl-btn-ghost { background: rgba(255,255,255,0.03); }
.fl-btn-danger { background: rgba(255,92,58,0.12); color: var(--hot); border: 1px solid rgba(255,92,58,0.3); }
.fl-row { display: flex; gap: 10px; }
.fl-row > * { flex: 1; }

/* ---------- Bölüm etiketi ---------- */
.sec { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-mute); margin: 26px 4px 12px; }

/* ---------- Liste satırı ---------- */
.fl-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,0.02); }
.fl-lrow { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--line); width: 100%; background: none; text-align: left; color: var(--tx); border-left: none; border-right: none; border-top: none; }
.fl-lrow:last-child { border-bottom: none; }
.fl-lrow:active { background: rgba(255,255,255,0.03); }
.fl-ava2 { width: 48px; height: 48px; border-radius: 15px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 19px; overflow: hidden; }
.fl-lbody { flex: 1; min-width: 0; }
.fl-ltitle { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.fl-lsub { color: var(--tx-dim); font-size: 12.5px; margin-top: 3px; }
.chev { color: var(--tx-mute); flex: 0 0 auto; }
.pool-x { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--tx-mute); background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.pool-x:active { background: rgba(255,92,58,0.14); color: var(--hot); border-color: rgba(255,92,58,0.3); }

/* ---------- Maç bitti · değerlendirme ---------- */
.rate-row { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); }
.rate-row.mvp { background: linear-gradient(150deg, rgba(246,195,67,0.12), var(--panel)); border-color: rgba(246,195,67,0.34); box-shadow: 0 12px 30px -18px rgba(246,195,67,0.5); }
.rate-bars { display: flex; gap: 3px; margin-top: 7px; }
.rbar { flex: 1; height: 8px; border-radius: 3px; background: rgba(255,255,255,0.07); border: 0; padding: 0; cursor: pointer; transition: background .12s; }
.rbar.on { background: linear-gradient(180deg, var(--g), var(--g-2)); }
.rate-row.mvp .rbar.on { background: linear-gradient(180deg, var(--gold), #d99a1f); }
.rate-val { flex: 0 0 auto; width: 46px; text-align: center; font-family: var(--disp); font-weight: 800; font-size: 22px; color: var(--g); line-height: 1; }
.rate-row.mvp .rate-val { color: var(--gold); }
.mvp-pick { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--tx-mute); cursor: pointer; }
.mvp-pick.on { background: rgba(246,195,67,0.18); border-color: rgba(246,195,67,0.4); color: var(--gold); }

/* ---------- Sonuç gir · skor stepper ---------- */
.score-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; background: linear-gradient(160deg,#0f2c1b,#0a2013); border: 1px solid rgba(52,226,122,.22); border-radius: var(--r-lg); padding: 18px 16px; }
.score-side { text-align: center; }
.score-side .team-tag { font-family: var(--disp); font-weight: 800; font-size: 14px; color: #fff; margin-bottom: 10px; }
.score-big { font-family: var(--disp); font-weight: 800; font-size: 52px; line-height: 1; color: var(--g); text-shadow: 0 0 26px var(--g-glow); }
.score-steps { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.score-step { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.score-step.plus { background: rgba(52,226,122,.16); color: var(--g); border-color: rgba(52,226,122,.3); }
.score-colon { font-family: var(--disp); font-weight: 800; font-size: 34px; color: var(--tx-mute); }
.scorer-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.scorer-goal { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.goal-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--tx-dim); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.goal-btn.add { background: rgba(52,226,122,.14); color: var(--g); border-color: rgba(52,226,122,.28); }
.goal-count { min-width: 26px; text-align: center; font-family: var(--disp); font-weight: 800; font-size: 18px; color: #fff; }
.goal-count.zero { color: var(--tx-mute); }
.scorer-stats { display: flex; flex-direction: column; gap: 7px; flex: 0 0 auto; }
.goal-btn.assist { background: rgba(91,141,255,.14); color: var(--b); border-color: rgba(91,141,255,.28); }
.hide { display: none !important; }

/* ---------- Oyuncu havuzu (kompakt) ---------- */
.pool-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,0.02); }
.pool-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pool-row:last-child { border-bottom: none; }
.pool-ava { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 15px; }
.pool-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pool-name { font-weight: 700; font-size: 14.5px; color: #fff; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-pos { font-size: 12px; color: var(--tx-mute); margin-top: 1px; }
.pool-st { flex: 0 0 auto; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pool-st.ps-in { background: rgba(52,226,122,.14); color: var(--g); }
.pool-st.ps-wait { background: rgba(255,255,255,.06); color: var(--tx-dim); }
.pool-st.ps-out { background: rgba(255,92,58,.12); color: var(--hot); }
.pool-x { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--tx-mute); background: none; border: none; cursor: pointer; }
.pool-x:active { color: var(--hot); }

/* ---------- Keşfet ---------- */
.kf-search { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 15px; padding: 13px 15px; margin-bottom: 18px; color: var(--tx-mute); }
.kf-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.kf-cat { display: flex; align-items: center; gap: 11px; padding: 15px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); }
.kf-cat-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; }
.kf-cat-t { font-family: var(--disp); font-weight: 800; font-size: 14.5px; color: #fff; }
.kf-cat-s { font-size: 11.5px; color: var(--tx-mute); margin-top: 1px; }
.disc-card { display: flex; align-items: center; gap: 13px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.disc-logo { width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; color: #fff; }
.disc-meta { flex: 1; min-width: 0; }
.disc-name { font-weight: 700; font-size: 14.5px; color: #fff; }
.disc-sub { font-size: 12px; color: var(--tx-mute); margin-top: 2px; }

/* venue / saha */
.venue-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.venue-img { height: 96px; background: repeating-linear-gradient(160deg,#0f5a32 0 24px,#0d5230 24px 48px); position: relative; display: flex; align-items: flex-end; padding: 10px 12px; }
.venue-img .venue-rate { background: rgba(0,0,0,.55); color: var(--gold); font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.venue-body { padding: 13px 14px; }
.venue-name { font-family: var(--disp); font-weight: 800; font-size: 16px; color: #fff; }
.venue-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

/* goalkeeper */
.gk-card { display: flex; align-items: center; gap: 13px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.gk-ava { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 18px; color: #fff; position: relative; }
.gk-badge { position: absolute; bottom: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-2); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 10px; }
.gk-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }

/* ---------- Rakip / karşılaşma ---------- */
.opp-card { display: flex; align-items: center; gap: 13px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.opp-logo { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; font-size: 24px; color: #fff; }
.vs-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: linear-gradient(160deg,#12224f,#0b1533); border: 1px solid rgba(91,141,255,.25); border-radius: var(--r-lg); padding: 22px 16px; }
.vs-team { text-align: center; }
.vs-crest { width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 10px; display: grid; place-items: center; font-size: 30px; color: #fff; }
.vs-name { font-family: var(--disp); font-weight: 800; font-size: 15px; color: #fff; }
.vs-x { font-family: var(--disp); font-weight: 800; font-size: 26px; color: var(--b); text-shadow: 0 0 20px var(--b-glow); }

/* ---------- Turnuva ---------- */
.trn-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.trn-head { padding: 16px; background: linear-gradient(150deg,rgba(255,92,58,.2),rgba(255,92,58,.04)); display: flex; align-items: center; gap: 12px; }
.trn-badge { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,92,58,.18); color: var(--hot); display: grid; place-items: center; font-size: 24px; flex: 0 0 auto; }
.trn-body { padding: 14px 16px; }
.trn-meta { display: flex; gap: 16px; margin-top: 10px; }
.trn-stat { text-align: center; }
.trn-stat b { font-family: var(--disp); font-size: 20px; color: #fff; display: block; }
.trn-stat span { font-size: 10.5px; color: var(--tx-mute); letter-spacing: .05em; }
.bracket-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.bracket-score { font-family: var(--disp); font-weight: 800; font-size: 16px; flex: 0 0 auto; }
.bracket-win { color: var(--g); }
.bracket-lose { color: var(--tx-mute); }

/* ---------- Kadroları böl ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team-col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 12px 8px; }
.team-col.a { border-top: 2px solid var(--g); }
.team-col.b { border-top: 2px solid var(--b); }
.team-colh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.team-name { font-family: var(--disp); font-weight: 800; font-size: 15px; color: #fff; }
.team-sum { font-family: var(--disp); font-weight: 800; font-size: 20px; }
.team-col.a .team-sum { color: var(--g); }
.team-col.b .team-sum { color: var(--b); }
.sp-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.sp-ava { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 13px; color: #fff; }
.sp-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-ovr { flex: 0 0 auto; font-family: var(--disp); font-weight: 800; font-size: 13px; color: var(--tx-dim); }
.bal-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.bal-track { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; margin-top: 10px; }
.bal-fill { height: 100%; border-radius: 6px; transition: width .35s cubic-bezier(.4,0,.2,1); }

/* ---------- Diziliş ---------- */
.form-pills { display: flex; gap: 8px; margin-bottom: 14px; }
.form-pill { flex: 1; padding: 10px 6px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); color: var(--tx-dim); font-family: var(--disp); font-weight: 800; font-size: 15px; cursor: pointer; transition: all .15s; }
.form-pill.on { background: linear-gradient(150deg, rgba(91,141,255,.2), rgba(91,141,255,.06)); border-color: rgba(91,141,255,.5); color: #fff; box-shadow: 0 10px 26px -14px var(--b-glow); }
.pitch-lg { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: repeating-linear-gradient(180deg,#0f5a32 0 12.5%,#0d5230 12.5% 25%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 0 60px rgba(0,0,0,.4); }
.pitch-lg::before { content: ''; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: rgba(255,255,255,.28); }
.pitch-lg::after { content: ''; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transform: translate(-50%,-50%); }
.pitch-box { position: absolute; left: 26%; right: 26%; height: 12%; border: 1px solid rgba(255,255,255,.24); border-top: 0; }
.pitch-box.top { top: 0; }
.pitch-box.bot { bottom: 0; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 0; }
.pl-dot.goal { background: var(--gold); color: #3a2c05; }
.bench-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.bench-num { width: 30px; height: 30px; border-radius: 9px; background: rgba(91,141,255,.16); color: var(--b); display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 13px; flex: 0 0 auto; }

/* ---------- Toggle switch ---------- */
.tgl { width: 46px; height: 27px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line); position: relative; flex: 0 0 auto; cursor: pointer; transition: background .18s; padding: 0; }
.tgl::after { content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .18s cubic-bezier(.4,0,.2,1); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.tgl.on { background: var(--g); border-color: transparent; }
.tgl.on::after { transform: translateX(19px); }
.world-takim .tgl.on { background: var(--b); }

/* settings row */
.set-row { display: flex; align-items: center; gap: 13px; padding: 14px 15px; background: var(--panel); border: 1px solid var(--line); }
.set-row:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
.set-row:last-child { border-radius: 0 0 var(--r-md) var(--r-md); }
.set-row + .set-row { border-top: 0; }
.set-ico { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; color: var(--tx-dim); background: rgba(255,255,255,.05); }
.set-txt { flex: 1; min-width: 0; }
.set-title { font-size: 14.5px; font-weight: 600; color: var(--tx); }
.set-sub { font-size: 12px; color: var(--tx-mute); margin-top: 1px; }

/* invite rows */
.inv-card { display: flex; align-items: center; gap: 13px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.inv-ico { width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.05); }
.inv-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.inv-yes, .inv-no { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; }
.inv-yes { background: rgba(52,226,122,.14); color: var(--g); border-color: rgba(52,226,122,.3); }
.inv-no { background: rgba(255,255,255,.04); color: var(--tx-mute); }
.inv-res { font-size: 12.5px; font-weight: 700; flex: 0 0 auto; }
.inv-res.ok { color: var(--g); }
.inv-res.no { color: var(--tx-mute); }
.pill-grup { background: rgba(52,226,122,.14); color: var(--g); border: 1px solid rgba(52,226,122,.28); }
.pill-takim { background: rgba(91,141,255,.14); color: var(--b); border: 1px solid rgba(91,141,255,.28); }

/* match list rows */
.match-row { display: flex; align-items: center; gap: 13px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.match-res { width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 20px; }
.match-res.w { background: rgba(52,226,122,.16); color: var(--g); }
.match-res.l { background: rgba(255,92,58,.14); color: var(--hot); }
.match-res.p { background: rgba(91,141,255,.14); color: var(--b); }
.match-score { font-family: var(--disp); font-weight: 800; font-size: 17px; color: #fff; }
.mstat { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; flex: 0 0 auto; }
.mstat.w { background: rgba(52,226,122,.14); color: var(--g); }
.mstat.l { background: rgba(255,92,58,.12); color: var(--hot); }
.mstat.p { background: rgba(91,141,255,.14); color: var(--b); }

/* ---------- Kariyer timeline ---------- */
.career-tl { display: flex; flex-direction: column; gap: 14px; position: relative; padding-left: 8px; }
.career-item { position: relative; padding-left: 22px; }
.career-item::before { content: ''; position: absolute; left: 4px; top: 20px; bottom: -18px; width: 2px; background: var(--line-2); }
.career-item:last-child::before { display: none; }
.career-dot { position: absolute; left: 0; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--tx-mute); box-shadow: 0 0 0 4px var(--ink); }
.career-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; }

/* ---------- Çerçeve mağazası ---------- */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; text-align: center; }
.store-card.owned { border-color: rgba(52,226,122,.28); }
.store-prev { aspect-ratio: 3 / 4; border-radius: 14px; margin-bottom: 10px; position: relative; overflow: hidden; display: grid; place-items: center; }
.store-prev.f-gold { background: linear-gradient(155deg,#f6c343,#a97e12); }
.store-prev.f-icon { background: linear-gradient(155deg,#2a2f45,#0d1018); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.store-prev.f-elektrik { background: linear-gradient(155deg,#2f6bff,#0b2a7a); }
.store-prev.f-alev { background: linear-gradient(155deg,#ff5c3a,#a12c15); }
.store-ovr { font-family: var(--disp); font-weight: 800; font-size: 34px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.store-prev.f-gold .store-ovr { color: #2a1e04; }
.store-name { font-family: var(--disp); font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 8px; }
.store-price { font-size: 13px; font-weight: 700; }
.store-price.own { color: var(--g); }
.store-buy { background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; font-weight: 800; font-size: 13.5px; padding: 8px 20px; border-radius: 11px; cursor: pointer; }

/* ---------- Chip / segment / pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
.pill-w { background: var(--wsoft); color: var(--wc); border: 1px solid var(--wline); }
.seg { display: flex; gap: 5px; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 5px; margin-bottom: 18px; }
.seg-b { flex: 1; border: none; background: none; color: var(--tx-dim); font-weight: 700; font-size: 14px; padding: 11px 6px; border-radius: 11px; }
.seg-b.on { background: var(--wsoft); color: var(--wc); box-shadow: inset 0 0 0 1px var(--wline); }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--tx-dim); font-size: 14px; font-weight: 700; }
.chip.on { background: var(--wsoft); border-color: var(--wline); color: var(--wc); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.field { width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--tx); padding: 14px 16px; font-family: var(--body); font-size: 16px; outline: none; }
.field::placeholder { color: var(--tx-mute); }
.field:focus { border-color: var(--wc); }
.lab { display: block; font-size: 12.5px; font-weight: 700; color: var(--tx-dim); margin-bottom: 8px; letter-spacing: 0.01em; }

/* ---------- Skorbord ---------- */
.board { display: flex; align-items: center; justify-content: center; gap: 20px; }
.board-team { text-align: center; }
.board-badge { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 26px; margin: 0 auto 8px; color: #fff; }
.board-badge.a { background: linear-gradient(140deg, var(--g), var(--g-deep)); box-shadow: 0 0 22px var(--g-glow); }
.board-badge.b { background: linear-gradient(140deg, var(--b), var(--b-deep)); box-shadow: 0 0 22px var(--b-glow); }
.board-name { font-weight: 700; font-size: 14px; }
.board-score { font-family: var(--disp); font-weight: 800; font-size: 68px; line-height: 0.9; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 12px; }
.board-score .sa { color: var(--g); }
.board-score .sb { color: var(--b); }
.board-score .sep { color: var(--tx-mute); font-size: 40px; }
.tag-hot { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: rgba(255,92,58,0.14); color: var(--hot); font-weight: 800; font-size: 12.5px; border: 1px solid rgba(255,92,58,0.28); }

/* durum */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-plan { background: rgba(91,141,255,0.14); color: var(--b); }
.st-play { background: rgba(52,226,122,0.14); color: var(--g); }
.st-open { background: rgba(246,195,67,0.14); color: var(--gold); }

/* ---------- Saha (pitch) ---------- */
.pitch { position: relative; border-radius: var(--r-lg); aspect-ratio: 3/4; overflow: hidden;
  background: linear-gradient(170deg, #12351f, #0a2114);
  box-shadow: inset 0 0 80px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05); }
.pitch::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 11%, rgba(255,255,255,0.03) 11% 22%); }
.pl { position: absolute; transform: translateX(-50%); text-align: center; color: #fff; }
.pl-dot { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; margin: 0 auto; border: 2px solid rgba(255,255,255,0.85); }
.pl-name { font-size: 12px; font-weight: 600; margin-top: 5px; }

/* ---------- Tab bar (yüzen koyu pill) ---------- */
.fl-tab { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 100;
  height: 72px; border-radius: 26px; padding: 0 8px;
  background: rgba(10,18,14,0.82); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex; align-items: center; }
.fl-t { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: none; color: var(--tx-mute); padding: 6px 0; }
.fl-t .i { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 11px; transition: all 0.15s; }
.fl-t .l { font-size: 10px; font-weight: 700; letter-spacing: -0.01em; }
.fl-t.on { color: var(--wc); }
.fl-t.on .i { background: var(--wsoft); }
.fl-fab { flex: 0 0 auto; width: 58px; height: 58px; margin: 0 10px; border-radius: 20px; border: none;
  background: var(--wgrad); color: #04130b; display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px var(--wglow2), inset 0 1px 0 rgba(255,255,255,0.4); transition: transform 0.18s; }
.world-takim .fl-fab, .fl-fab.b { color: #fff; }
.fl-fab:active { transform: scale(0.9); }

/* ---------- Alt sheet ---------- */
.fl-scrim { position: absolute; inset: 0; z-index: 200; background: rgba(0,0,0,0.55); backdrop-filter: blur(3px); display: flex; align-items: flex-end; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.fl-sheet { width: 100%; background: var(--panel-2); border-radius: 28px 28px 0 0; padding: 12px 20px calc(112px + 8px);
  border: 1px solid var(--line); border-bottom: none; box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
  animation: up 0.3s cubic-bezier(0.22, 0.9, 0.3, 1); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.fl-handle { width: 44px; height: 5px; border-radius: 999px; background: var(--line-2); margin: 4px auto 16px; }
.fl-sheet h3 { font-family: var(--disp); font-weight: 800; font-size: 20px; margin: 0 0 14px; }
.fl-sa { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 6px; background: none; border: none; border-bottom: 1px solid var(--line); color: var(--tx); font-size: 16px; font-weight: 600; text-align: left; }
.fl-sa:last-child { border-bottom: none; }
.fl-sa:active { opacity: 0.55; }
.fl-sa-i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; background: var(--wsoft); border: 1px solid var(--wline); }

/* ---------- Boş durum ---------- */
.fl-empty { text-align: center; padding: 60px 20px; }
.fl-empty .ic { font-size: 46px; display: block; margin-bottom: 14px; filter: drop-shadow(0 0 20px var(--wglow2)); }
.fl-empty h4 { font-family: var(--disp); font-weight: 800; font-size: 20px; margin: 0 0 6px; }
.fl-empty p { color: var(--tx-dim); margin: 0; font-size: 14px; }

/* stat tile */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.stat b { font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--wc); display: block; }
.stat span { color: var(--tx-dim); font-size: 13px; font-weight: 600; }

/* ============ YENİ YAPI: üst world-rail + immersive matchday ============ */
.rail {
  position: absolute; top: 52px; left: 14px; right: 14px; z-index: 80;
  display: flex; gap: 3px; padding: 5px; border-radius: 20px;
  background: rgba(8,15,12,0.55); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 12px 34px rgba(0,0,0,0.4);
}
.rail-b { flex: 1; padding: 11px 4px; border-radius: 15px; border: none; background: none;
  color: var(--tx-dim); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; transition: all 0.18s; }
.rail-b.on { color: #05140c; font-weight: 800; }
.rail-b.on.g { background: linear-gradient(135deg, var(--g), var(--g-2)); box-shadow: 0 4px 14px -2px var(--g-glow); }
.rail-b.on.b { background: linear-gradient(135deg, var(--b), var(--b-2)); color: #fff; box-shadow: 0 4px 14px -2px var(--b-glow); }
.rail-b.on.n { background: rgba(255,255,255,0.12); color: #fff; }

.addfab { position: absolute; right: 18px; bottom: 24px; z-index: 90; width: 62px; height: 62px;
  border-radius: 22px; border: none; background: var(--wgrad); color: #04130b; display: grid; place-items: center;
  box-shadow: 0 16px 34px -6px var(--wglow2), inset 0 1px 0 rgba(255,255,255,0.4); transition: transform 0.18s; }
.world-takim .addfab { color: #fff; }
.addfab:active { transform: scale(0.9) rotate(90deg); }

/* iç ekranlar (alt tabbar geri geldi) */
.fl-scroll .fl-screen { padding: 72px 20px 122px; }

/* ---------- Arkaplan saha çizgileri (orta saha + kaleler) ---------- */
.fl-scroll { position: relative; z-index: 1; }
.fl-app::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.38;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='390'%20height='844'%20viewBox='0%200%20390%20844'%3E%3Cg%20fill='none'%20stroke='white'%20stroke-width='2'%3E%3Cline%20x1='0'%20y1='422'%20x2='390'%20y2='422'/%3E%3Ccircle%20cx='195'%20cy='422'%20r='64'/%3E%3C/g%3E%3Ccircle%20cx='195'%20cy='422'%20r='3'%20fill='white'/%3E%3C/svg%3E") center center / 390px 844px no-repeat; }

/* ---------- MATCHDAY (tam-ekran stadyum) ---------- */
.matchday { position: relative; min-height: 872px; padding: 72px 22px 128px; overflow: hidden; }
.matchday::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='390'%20height='872'%20viewBox='0%200%20390%20872'%3E%3Cg%20fill='none'%20stroke='white'%20stroke-opacity='0.5'%20stroke-width='2'%3E%3Cline%20x1='0'%20y1='436'%20x2='390'%20y2='436'/%3E%3Ccircle%20cx='195'%20cy='436'%20r='64'/%3E%3C/g%3E%3Ccircle%20cx='195'%20cy='436'%20r='3'%20fill='white'%20fill-opacity='0.5'/%3E%3C/svg%3E") center center / 390px 872px no-repeat,
    repeating-linear-gradient(179deg, #0f2c1b 0 46px, #0c2416 46px 92px); }
.matchday::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 620px at 12% -18%, rgba(214,255,228,0.20), transparent 58%),
    radial-gradient(520px 620px at 88% -18%, rgba(214,255,228,0.20), transparent 58%),
    radial-gradient(140% 70% at 50% 125%, rgba(0,0,0,0.6), transparent 62%); }
/* saha çizgileri */
.md-lines { display: none; }
.md-lines--x { position: absolute; z-index: 1; left: 50%; top: 40px; transform: translateX(-50%);
  width: 220px; height: 220px; border: 2px solid rgba(255,255,255,0.1); border-radius: 50%; }
.md-lines::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 34px; height: 34px; border: 2px solid rgba(255,255,255,0.12); border-radius: 50%; }
.md-halfline { display: none; }
.md-inner { position: relative; z-index: 2; }

.md-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(52,226,122,0.16); border: 1px solid rgba(52,226,122,0.35); color: var(--g);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.md-clock { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 30px 0 6px; }
.md-cell { text-align: center; }
.md-cell b { font-family: var(--disp); font-weight: 800; font-size: 76px; line-height: 0.8; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: -0.04em; text-shadow: 0 0 40px rgba(52,226,122,0.35); display: block; }
.md-cell span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.md-colon { font-family: var(--disp); font-weight: 800; font-size: 60px; color: rgba(255,255,255,0.28); line-height: 1; margin-top: 4px; }
.md-title { text-align: center; font-family: var(--disp); font-weight: 800; font-size: 27px; color: #fff; letter-spacing: -0.02em; margin-top: 10px; }
.md-meta { text-align: center; color: rgba(255,255,255,0.72); font-size: 13.5px; font-weight: 600; margin-top: 6px; }

.md-panel { position: relative; z-index: 2; margin-top: 26px; border-radius: 26px; padding: 20px;
  background: rgba(6,12,9,0.72); backdrop-filter: blur(22px); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08); }
.md-rsvp { display: flex; gap: 10px; margin-bottom: 16px; }
.md-rsvp button { flex: 1; padding: 16px; border-radius: 16px; font-family: var(--body); font-weight: 800; font-size: 15px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); color: var(--tx); }
.md-rsvp .yes { background: linear-gradient(135deg, var(--g), var(--g-2)); color: #04130b; border: none; box-shadow: 0 10px 24px -8px var(--g-glow); }
.md-squad { display: flex; align-items: center; margin-bottom: 16px; }
.md-squad .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #0a1310; margin-left: -9px; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 13px; color: #05140c; }
.md-squad .av:first-child { margin-left: 0; }

@media (max-width: 470px) {
  .fl-phone { width: 100%; max-width: 402px; height: 92vh; }
}

/* ---------- Hafif aksiyonlar: kod chip + ikon buton (buton yorgunluğunu azalt) ---------- */
.icon-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--tx-dim); display: grid; place-items: center; flex: 0 0 auto; }
.icon-btn:active { opacity: 0.55; }
.icon-btn svg { width: 18px; height: 18px; }
.codechip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 8px 7px 13px; border-radius: 12px; background: rgba(255,255,255,0.045); border: 1px solid var(--line); }
.codechip .k { font-family: var(--body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; color: var(--tx-mute); text-transform: uppercase; }
.codechip .v { font-family: var(--disp); font-weight: 800; letter-spacing: 0.14em; font-size: 14px; color: var(--tx); }
.codechip .sh { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--wsoft); color: var(--wc); border: none; }

/* ---------- Varlık kartı: grup / takım (daha zengin) ---------- */
.entity { display: block; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)); margin-bottom: 14px; }
.entity-top { display: flex; align-items: center; gap: 14px; padding: 16px; background: radial-gradient(280px 130px at 100% 0, var(--wsoft), transparent 70%); }
.entity-logo { width: 56px; height: 56px; border-radius: 17px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 22px; box-shadow: 0 0 22px var(--wglow2); }
.entity-b { flex: 1; min-width: 0; }
.entity-name { font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.entity-sub { color: var(--tx-dim); font-size: 12.5px; margin-top: 3px; }
.entity-foot { display: flex; align-items: center; gap: 10px; padding: 0 16px 16px; }

/* ---------- Feed post (sosyal) ---------- */
.post { border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); padding: 16px; margin-bottom: 12px; }
.post-h { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.post-more { margin-left: auto; background: none; border: none; color: var(--tx-mute); padding: 4px; }
.post-bar { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; display: flex; align-items: center; gap: 16px; }
.react { display: flex; align-items: center; gap: 6px; background: none; border: none; color: var(--tx-dim); font-weight: 700; font-size: 13px; padding: 0; }
.react.on { color: var(--g); }
.react svg { width: 19px; height: 19px; }
/* ---------- LED skorbord tabelası (gerçek saha tabelası) ---------- */
.tabela { position: relative; border-radius: 14px; padding: 14px 16px 16px; overflow: hidden;
  background: linear-gradient(#090b06, #050703); border: 2px solid #14180c;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55), inset 0 0 26px rgba(0,0,0,0.85); }
.tabela::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0,0,0,0.62) 40%, transparent 43%); background-size: 3.5px 3.5px; opacity: 0.5; }
.tabela-head { position: relative; z-index: 1; text-align: center; font-family: ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.26em; color: #b52318; text-shadow: 0 0 6px rgba(255,45,28,0.45); margin-bottom: 11px; }
.tabela-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.tabela-team { flex: 1; font-family: ui-monospace, monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.12em;
  color: #e6402c; text-shadow: 0 0 8px rgba(255,45,28,0.5); text-transform: uppercase; }
.tabela-team.r { text-align: right; }
.tabela-score { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tabela-score b { font-family: var(--disp); font-weight: 800; font-size: 56px; line-height: 0.9; color: #ff2d1c;
  text-shadow: 0 0 10px rgba(255,45,28,0.9), 0 0 28px rgba(255,40,0,0.6); font-variant-numeric: tabular-nums; }
.tabela-score i { font-style: normal; font-size: 32px; color: #6e1810; font-weight: 800; }
.tabela-sm { padding: 12px 14px; }
.tabela-sm .tabela-score b { font-size: 44px; }

/* kartın kendisi tabela */
.tabela-card { padding: 0; margin-bottom: 18px; }
.tabela-card .tabela-head { margin-top: 16px; }
.tabela-card .tabela-row { padding: 4px 16px 18px; }
.tabela-card .tabela-score b { font-size: 66px; }
.tabela-card .tabela-team { font-size: 13px; }
.tabela-cardh { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px;
  padding: 13px 14px 11px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tabela-bar { position: relative; z-index: 1; margin: 0; padding: 11px 14px; border-top: 1px solid rgba(255,255,255,0.08); }
.tabela-bar .react { color: rgba(255,255,255,0.62); }
.tabela-bar .react.on { color: var(--g); }

.next-strip { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: var(--r-lg); margin-bottom: 18px; cursor: pointer;
  background: radial-gradient(300px 120px at 100% 0, rgba(52,226,122,0.22), transparent 70%), rgba(6,12,9,0.55); border: 1px solid rgba(52,226,122,0.22); }

/* ============ İMZA KART (FIFA çerçeveleri) ============ */
.sig {
  position: relative; border-radius: 26px; overflow: hidden;
  padding: 22px 20px 20px; margin-bottom: 14px;
  background: var(--fa-bg);
  border: 1px solid var(--fa-line);
  box-shadow: 0 30px 70px -26px var(--fa-glow), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.sig-tex { position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0,0,0,0.5) 40%, transparent 43%); background-size: 4px 4px; }
.sig-sheen { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: linear-gradient(115deg, transparent 30%, var(--fa-sheen) 48%, transparent 62%); mix-blend-mode: screen; }
.sig-top { position: relative; display: flex; justify-content: space-between; }
.sig-ovr { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 4px; }
.sig-ovr .n { font-family: var(--disp); font-weight: 800; font-size: 60px; color: var(--fa); line-height: 0.8; text-shadow: 0 0 26px var(--fa-glow2); }
.sig-ovr .pos { font-family: var(--disp); font-weight: 800; font-size: 20px; color: #fff; letter-spacing: 0.06em; }
.sig-ovr .rule { width: 34px; height: 2px; border-radius: 2px; background: var(--fa-line2); margin-top: 6px; }
.sig-port { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.sig-portrait { width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1f3a24, #0a1710);
  border: 2px solid var(--fa-line2); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6); position: relative; }
.sig-portrait .ini { font-family: var(--disp); font-weight: 800; font-size: 40px; color: #fff; }
.sig-stars .on { color: var(--fa); font-size: 13px; }
.sig-stars .off { color: rgba(255,255,255,0.25); font-size: 13px; }
.sig-name { position: relative; text-align: center; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--fa-line); }
.sig-name .nm { font-family: var(--disp); font-weight: 800; font-size: 30px; color: #fff; letter-spacing: 0.02em; }
.sig-name .sub { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--fa-soft); margin-top: 4px; }
.sig-attrs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin-top: 14px; }
.sig-attr { display: flex; justify-content: space-between; align-items: center; }
.sig-attr b { font-family: var(--disp); font-weight: 800; font-size: 19px; color: var(--fa); width: 34px; font-variant-numeric: tabular-nums; }
.sig-attr span { font-weight: 800; font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }

/* Çerçeve temaları */
.f-gold {
  --fa: #f6c343; --fa-glow: rgba(246,195,67,0.42); --fa-glow2: rgba(246,195,67,0.5);
  --fa-line: rgba(246,195,67,0.22); --fa-line2: rgba(246,195,67,0.4); --fa-soft: rgba(246,195,67,0.85);
  --fa-sheen: rgba(255,236,180,0.5);
  --fa-bg: radial-gradient(360px 220px at 50% -8%, rgba(246,195,67,0.38), transparent 62%), linear-gradient(168deg, #1a2412 4%, #0b160c 62%, #081109);
}
.f-icon {
  --fa: #e7e9ee; --fa-glow: rgba(226,229,238,0.3); --fa-glow2: rgba(226,229,238,0.35);
  --fa-line: rgba(226,229,238,0.2); --fa-line2: rgba(226,229,238,0.5); --fa-soft: rgba(226,229,238,0.7);
  --fa-sheen: rgba(255,255,255,0.55);
  --fa-bg: radial-gradient(340px 220px at 50% -8%, rgba(200,206,224,0.24), transparent 60%), linear-gradient(168deg, #1b1e26 3%, #0c0e14 60%, #08090d);
}
.f-elektrik {
  --fa: #6ea0ff; --fa-glow: rgba(91,141,255,0.45); --fa-glow2: rgba(91,141,255,0.55);
  --fa-line: rgba(91,141,255,0.28); --fa-line2: rgba(91,141,255,0.5); --fa-soft: rgba(150,183,255,0.9);
  --fa-sheen: rgba(190,213,255,0.5);
  --fa-bg: radial-gradient(360px 220px at 50% -8%, rgba(91,141,255,0.4), transparent 62%), linear-gradient(168deg, #101a33 4%, #0a1020 62%, #070a14);
}
.f-alev {
  --fa: #ff7a52; --fa-glow: rgba(255,92,58,0.45); --fa-glow2: rgba(255,92,58,0.55);
  --fa-line: rgba(255,92,58,0.3); --fa-line2: rgba(255,92,58,0.55); --fa-soft: rgba(255,150,120,0.9);
  --fa-sheen: rgba(255,200,170,0.5);
  --fa-bg: radial-gradient(360px 220px at 50% -8%, rgba(255,92,58,0.42), transparent 62%), linear-gradient(168deg, #2a1410 4%, #170b08 62%, #0f0605);
}

/* Çerçeve seçici */
.frames { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 10px; margin-bottom: 12px; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frame-sw { flex: 0 0 auto; width: 76px; border-radius: 16px; padding: 10px 8px 9px; cursor: pointer; position: relative;
  background: var(--fa-bg); border: 1px solid var(--fa-line); text-align: center; transition: transform 0.12s ease; }
.frame-sw:active { transform: scale(0.96); }
.frame-sw.on { outline: 2px solid var(--fa); outline-offset: 2px; }
.frame-sw .chip { width: 30px; height: 30px; border-radius: 9px; margin: 0 auto 7px; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 800; font-size: 13px; color: #05140c; background: var(--fa); box-shadow: 0 0 14px var(--fa-glow2); }
.frame-sw .fn { font-size: 11px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.frame-sw .price { font-size: 10px; font-weight: 700; color: var(--fa-soft); margin-top: 2px; }
.frame-sw .lock { position: absolute; top: 7px; right: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,0.5); display: grid; place-items: center; }
.frame-sw.locked { opacity: 0.9; }

/* ============ AUTH (giriş / kayıt) ============ */
.auth { min-height: 100%; display: flex; flex-direction: column; padding: 0 26px 32px;
  background: radial-gradient(520px 300px at 50% -10%, rgba(52,226,122,0.16), transparent 68%); }
.auth-hero { padding: 46px 0 26px; text-align: center; }
.auth-badge { width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 18px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--g), var(--g-deep)); box-shadow: 0 16px 40px -12px var(--g-glow); font-size: 34px; }
.auth-h1 { font-family: var(--disp); font-weight: 800; font-size: 30px; color: #fff; letter-spacing: -0.03em; line-height: 1.02; }
.auth-sub { color: var(--tx-dim); font-size: 14px; margin-top: 8px; }
.auth-field { margin-bottom: 12px; }
.auth-lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--tx-dim); margin: 0 0 7px 3px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--tx-dim); }
.auth-alt b { color: var(--g); font-weight: 800; cursor: pointer; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--tx-mute); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-2); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.auth-social:active { opacity: 0.7; }
.auth-legal { text-align: center; font-size: 11.5px; color: var(--tx-mute); margin-top: 22px; line-height: 1.5; }

/* ============ ONBOARDING (ilk açılış) ============ */
.onb { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: 0 26px 30px; overflow: hidden; }
.onb-skip { position: absolute; top: 50px; right: 22px; z-index: 5; font-size: 13.5px; font-weight: 700; color: var(--tx-dim); cursor: pointer; }
.onb-art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; }
.onb-tile { width: 148px; height: 148px; border-radius: 38px; display: grid; place-items: center; position: relative;
  background: var(--ob-bg); border: 1px solid var(--ob-line); box-shadow: 0 30px 70px -24px var(--ob-glow), inset 0 1px 0 rgba(255,255,255,0.12); }
.onb-tile svg { width: 64px; height: 64px; color: var(--ob-ac); }
.onb-orb { position: absolute; border-radius: 50%; font-family: var(--disp); font-weight: 800; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.14); }
.onb-copy { text-align: center; padding: 0 4px; }
.onb-kick { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ob-ac); }
.onb-h1 { font-family: var(--disp); font-weight: 800; font-size: 29px; line-height: 1.08; color: #fff; letter-spacing: -0.02em; margin-top: 12px; text-wrap: balance; }
.onb-sub { color: var(--tx-dim); font-size: 14.5px; line-height: 1.5; margin-top: 12px; text-wrap: pretty; }
.onb-dots { display: flex; gap: 7px; justify-content: center; margin: 26px 0 20px; }
.onb-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: width 0.25s ease, background 0.25s ease; }
.onb-dots i.on { width: 22px; border-radius: 4px; background: var(--ob-ac); }
.onb-nav { display: flex; flex-direction: column; gap: 10px; }
