/* KALE — "saha çizgisi" (19 Kas yeniden tasarım; sistem DESIGN.md'de). Açık: kırık beyaz zemin, beyaza yakın kartlar, kömür
   karası "saha" panelleri (beyaz saha çizgileri, kırmızı/mavi bölge çizgileri), Haxball takım diskleri, sarı top ve sarı CTA.
   Koyu tema: başlıktaki ay düğmesi (html[data-theme], localStorage kale_theme; seçim yoksa cihaz tercihi). Barlow Condensed
   başlık ve rakamlar, Barlow gövde; komutlar eşaralıklı koyu çiplerde. Eski görünüş /eski/ altında. */
:root, :root[data-theme="light"] {
  --bg: #f2f3ec;
  --bg-2: #e9eae1;
  --card: #fbfcf7;
  --card-2: #f5f6ef;
  --line: #dcded3;
  --line-2: #c9ccbf;
  --rule: #1f2a23;
  --ink: #1d2721;
  --ink-2: #5a625c;
  --ink-3: #8b918a;
  --inv: #fbfcf7;
  --pitch: #333234;
  --pitch-2: #2a292b;
  --pitch-3: #403f41;
  --pitch-hx: #2e2e2e;
  --pitch-line: rgba(255, 255, 255, .13);
  --on-pitch: #f4f4ee;
  --on-pitch-2: #b8b7b2;
  --on-pitch-3: #8e8d89;
  --green: #2e7a46;
  --green-2: #3f8a55;
  --green-soft: #dfeadb;
  --red: #c4473a;
  --red-bar: #d98b7e;
  --red-soft: #f6e0dc;
  --team-red: #e56e56;
  --team-blue: #5689e5;
  --yellow: #f6ec8c;
  --yellow-2: #fcf59f;
  --yellow-ink: #1d2721;
  --gold: #eebc48;
  --gold-soft: #fbefc6;
  --blue: #6ba2ff;
  --blue-soft: #e2ebfb;
  --olive: #3f5b3c;
  --olive-2: #4b6c47;
  --grass-a: #72885e;
  --grass-b: #6a8156;
  --slate: #3c4248;
  --coin: #f2b90f;
  --shadow: 0 1px 2px rgba(29, 39, 33, .05), 0 6px 18px -10px rgba(29, 39, 33, .18);
  --shadow-lg: 0 18px 40px -18px rgba(29, 39, 33, .35);
  --r-card: 14px;
  --r-big: 18px;
  --r-ctl: 999px;
  --wrap: 1056px;
  --gut: 24px;
  --head: "Archivo", "Arial Narrow", sans-serif;
  --head-w: 86%;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* eski sınıfların takma adları */
  --face: var(--card); --sunk: var(--bg-2); --perf: var(--line-2); --cobalt: var(--team-blue); --muted: var(--ink-2); --text: var(--ink); --panel: var(--card);
  --tint-red: var(--red-soft); --tint-cobalt: var(--blue-soft); --tint-yellow: var(--gold-soft); --tint-green: var(--green-soft); --paper: var(--bg);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #171e1c;
  --bg-2: #222a28;
  --card: #1d2523;
  --card-2: #212a27;
  --line: #2c3532;
  --line-2: #3a4440;
  --rule: #d9ddd5;
  --ink: #eef0ea;
  --ink-2: #a5ada7;
  --ink-3: #7c847f;
  --inv: #171e1c;
  --pitch: #262c2a;
  --pitch-2: #1f2523;
  --pitch-3: #323937;
  --pitch-line: rgba(255, 255, 255, .1);
  --green: #6cc28a;
  --green-2: #4f9f6a;
  --green-soft: #1f3327;
  --red: #f08a7c;
  --red-bar: #b9685c;
  --red-soft: #3a2421;
  --gold-soft: #3a3320;
  --blue-soft: #1f2a3f;
  --olive: #5b8456;
  --olive-2: #6a9764;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 76px; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); font-variant-numeric: tabular-nums; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: var(--yellow); color: var(--yellow-ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--team-blue); outline-offset: 2px; border-radius: 6px; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ic.sm { width: 15px; height: 15px; vertical-align: -2px; }
.ic.fill { fill: currentColor; stroke: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--inv); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- başlık ---------- */
.site-h { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
/* orta saha yayı: başlığın alt çizgisi orta çizgi gibi */
.site-h::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 30px; height: 9px; margin-left: -15px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; background: var(--bg); pointer-events: none; }
.top-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); height: 56px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.mark { position: relative; width: 28px; height: 28px; border-radius: 8px; background: #232325; flex: none; }
.mark i { position: absolute; border-radius: 50%; }
.mark .r { width: 9px; height: 9px; left: 4px; top: 9.5px; background: var(--team-red); }
.mark .b { width: 9px; height: 9px; right: 4px; top: 9.5px; background: var(--team-blue); }
.mark .y { width: 5px; height: 5px; left: 11.5px; top: 18px; background: var(--yellow); }
.brand .word { font: 700 24px/1 var(--head); font-stretch: var(--head-w); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav > a, .more-b { position: relative; display: inline-flex; align-items: center; gap: 3px; padding: 8px 10px; border: 0; background: none; border-radius: 8px; color: var(--ink-2); font: 500 15px/1 var(--body); white-space: nowrap; }
.nav > a:hover, .more-b:hover { color: var(--ink); background: var(--bg-2); }
.nav > a.on, .more-b.on { color: var(--ink); font-weight: 700; }
/* etkin sayfa: altında sarı top (Haxball topu, siyah kenar) */
.nav > a.on::after, .more-b.on::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--yellow-2); border: 1.5px solid var(--ink); }
.more { position: relative; }
.more-m { position: absolute; top: calc(100% + 12px); left: -6px; min-width: 200px; display: none; flex-direction: column; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 30; }
.more.open .more-m { display: flex; }
.more-m a { padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.more-m a:hover, .more-m a.on { background: var(--bg-2); color: var(--ink); }
.more-m a.on { font-weight: 700; }
.search { position: relative; margin-left: auto; flex: 0 1 210px; min-width: 120px; }
.search > .ic { position: absolute; left: 13px; top: 50%; margin-top: -8px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 14px 0 36px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); outline: none; font-size: 15px; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 55%, transparent); }
.hits { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 240px; max-height: 360px; overflow-y: auto; z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; box-shadow: var(--shadow-lg); }
.hits a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px; }
.hits a:hover, .hits a.sel { background: var(--bg-2); color: var(--ink); }
.hits .tag { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.me-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 5px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 15px; flex: none; max-width: 180px; }
.me-chip:hover { color: var(--ink); border-color: var(--line-2); }
.me-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--team-red); color: #fff; font: 700 13px/1 var(--body); border: 1.5px solid #1d1d1d; flex: none; }
.me-chip:not(.in) .me-av { background: var(--bg-2); border-color: var(--line-2); }
.me-chip:not(.in) .me-av::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.6px solid var(--ink-3); margin-top: -4px; box-shadow: 0 8px 0 -2px var(--ink-3); }
.me-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink-2); flex: none; }
.icon-b:hover { background: var(--bg-2); color: var(--ink); }
#theme .sun { display: none; }
:root[data-theme="dark"] #theme .sun { display: block; }
:root[data-theme="dark"] #theme .moon { display: none; }
.menu-b { display: none; }
/* 19 Kas: Yönetim menüde Klanım'ın yanında (yetkiliye) — 900–1180 px arası başlık sığsın: menü aralığı ve kullanıcı çipi daralır. */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { margin-left: 4px; }
  .nav > a, .more-b { padding: 8px 7px; font-size: 14px; }
  .search { flex-basis: 150px; min-width: 96px; }
  .me-chip .me-nm { display: none; }
  .me-chip { padding: 0 5px; }
}
@media (max-width: 900px) {
  .top-in { gap: 8px; }
  .menu-b { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 56px; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gut) 16px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 56px); overflow-y: auto; }
  .site-h.open .nav { display: flex; }
  .nav > a, .more-b { padding: 12px; font-size: 16px; }
  .nav > a.on::after, .more-b.on::after { left: auto; right: 14px; bottom: 50%; margin: 0 0 -5px; }
  .more-b { display: none; }
  .more-m { display: flex; position: static; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 6px 0 0; margin-top: 6px; background: none; }
  .more-m a { padding: 12px; font-size: 16px; }
  .search { flex: 1 1 auto; }
  .me-chip { padding-right: 5px; }
  .me-nm { display: none; }
}
@media (max-width: 420px) { .brand .word { display: none; } .top-in { --gut: 12px; } }

main { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut) 64px; flex: 1; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.foot { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.foot-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 20px var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot-links { margin-left: auto; display: flex; gap: 18px; }
.foot-links a:hover { color: var(--ink); }
.loading, .empty { color: var(--ink-2); padding: 28px 0; text-align: center; }

/* ---------- yazı ---------- */
h1 { font: 700 clamp(38px, 5.6vw, 54px)/1 var(--head); font-stretch: var(--head-w); letter-spacing: -.005em; margin: 0 0 12px; text-wrap: balance; }
h2 { font: 700 28px/1.1 var(--head); font-stretch: var(--head-w); margin: 0 0 14px; }
h3 { font: 700 19px/1.2 var(--head); font-stretch: var(--head-w); margin: 0 0 8px; letter-spacing: .005em; }
h4 { font: 700 15px/1.3 var(--body); margin: 14px 0 6px; }
h2 .sub { color: var(--ink-2); font: 500 14px/1.3 var(--body); margin-left: 8px; }
.lead { color: var(--ink-2); margin: 0 0 22px; max-width: 58ch; font-size: 17px; line-height: 1.6; }
.lead b { color: var(--ink); }
.lead-s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.muted { color: var(--ink-2); }
.note { color: var(--ink-2); font-size: 14px; margin: 10px 0 0; }
.note.top { margin: 0 0 14px; }
.note.err { color: var(--red); }
.m0 { margin: 0; }
code { font-family: var(--mono); font-size: .88em; }
code.ki { display: inline-block; padding: 1px 6px; border-radius: 5px; background: var(--ink); color: var(--inv); font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.page-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 28px; margin: 6px 0 26px; flex-wrap: wrap; }
.page-t { flex: 1 1 420px; min-width: 0; }
.page-h .lead { margin-bottom: 0; }
.sec { margin-top: 40px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-bottom: 9px; margin-bottom: 16px; border-bottom: 2px solid var(--rule); }
.sec-h h2, .sec-h h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.sec-m { color: var(--ink-2); font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sec-m .dot { margin-right: 2px; }
h3 + .sec-h, .rk-side .sec-h { border-bottom-width: 2px; padding-bottom: 7px; margin-bottom: 10px; }
.rk-side .sec-h h3 { font-size: 18px; }
.more-l { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 600; }
.more-l:hover { color: var(--green); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- düğmeler, çipler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--r-ctl); border: 1px solid transparent; background: var(--ink); color: var(--inv); font: 600 15px/1 var(--body); white-space: nowrap; transition: transform .15s, background-color .2s, border-color .2s, filter .2s; }
.btn:hover { color: var(--inv); filter: brightness(1.15); }
.btn:active { transform: translateY(1px); }
.btn.sm { min-height: 32px; padding: 0 13px; font-size: 13.5px; gap: 6px; }
.btn.big { min-height: 44px; padding: 0 24px; font-size: 16px; font-weight: 700; }
.btn.dark { background: var(--ink); color: var(--inv); }
.btn.yellow { background: var(--yellow); color: var(--yellow-ink); border-color: #1d2721; box-shadow: 0 6px 18px -8px rgba(246, 236, 140, .7); }
.btn.yellow:hover { color: var(--yellow-ink); filter: brightness(1.04); }
.btn.white { background: #fbfbf6; color: #1d2721; }
.btn.white:hover { color: #1d2721; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink-3); filter: none; }
.btn.ghost.red { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.btn.olive { background: var(--olive); color: #fff; }
.btn.olive:hover { color: #fff; background: var(--olive-2); }
.btn.off, .btn:disabled { background: var(--bg-2); color: var(--ink-3); border-color: transparent; box-shadow: none; pointer-events: none; }
.btn-join { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 18px; border-radius: var(--r-ctl); background: var(--olive); color: #fff; font: 600 15px/1 var(--body); border: 0; }
.btn-join:hover { color: #fff; background: var(--olive-2); }
.btn-join.off { background: var(--bg-2); color: var(--ink-3); }
.cmd-c { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px; border-radius: 7px; border: 0; background: #262a27; color: #f3f3ee; font: 600 13px/1.4 var(--mono); white-space: nowrap; vertical-align: middle; max-width: 100%; }
.cmd-c code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.cmd-c .ic { width: 13px; height: 13px; opacity: .6; }
.cmd-c:hover { background: #000; }
.cmd-c.ok { background: var(--green); }
.cmd-c.ok .ic { opacity: 1; }
:root[data-theme="dark"] .cmd-c { background: #e9ebe4; color: #1d2721; }
:root[data-theme="dark"] code.ki { background: #e9ebe4; color: #1d2721; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: var(--r-ctl); background: var(--bg-2); color: var(--ink); font: 500 14px/1.2 var(--body); border: 1px solid transparent; white-space: nowrap; }
a.chip:hover { color: var(--ink); border-color: var(--line-2); }
.chip.sm { padding: 2px 8px; font-size: 12px; font-weight: 600; border-radius: 6px; }
.chip.y { background: var(--yellow); color: var(--yellow-ink); }
.chip.gold { background: var(--gold-soft); color: #7a5a00; }
.chip.blue { background: var(--blue-soft); color: #2c55a8; }
.chip.green { background: var(--green-soft); color: var(--green); }
.chip.red { background: var(--red-soft); color: var(--red); }
:root[data-theme="dark"] .chip.gold { color: #f3d27a; } :root[data-theme="dark"] .chip.blue { color: #a9c4ff; }
.chipl { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.sel { cursor: pointer; background: var(--card); border-color: var(--line-2); }
.chip.sel:hover { border-color: var(--ink-3); }
.chip.sel.on { background: var(--yellow); border-color: #1d2721; color: var(--yellow-ink); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 6px; font: 600 12.5px/1.5 var(--body); background: var(--bg-2); color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; }
button.pill { cursor: pointer; }
.pill.gold { color: #7a5a00; background: var(--gold-soft); }
.pill.vip { color: #2c55a8; background: var(--blue-soft); }
.live-pill { color: var(--green); background: var(--green-soft); }
.tag { color: var(--ink-2); font-weight: 700; }
.win, .w { color: var(--green); font-weight: 700; } .loss, .l { color: var(--red); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ink-3); flex: none; vertical-align: 1px; }
.dot.on { background: #47a663; box-shadow: 0 0 0 3px color-mix(in srgb, #47a663 25%, transparent); }
.dot.y { background: var(--gold); }
.coin { display: inline-block; width: .9em; height: .9em; vertical-align: -.1em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a3, #f5b80f 55%, #c98a00); box-shadow: inset 0 0 0 1.5px rgba(120, 80, 0, .35); }
.price { font: 700 19px/1 var(--head); font-stretch: var(--head-w); white-space: nowrap; }
.price small { font: 500 13px var(--body); color: var(--ink-2); margin-left: 2px; }
.price s { color: var(--ink-3); font-weight: 600; font-size: 14px; }

/* bölümlü seçici: açık gri kutuda siyah hap */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-ctl); background: var(--bg-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; padding: 0 15px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink-2); font: 600 14px/1 var(--body); white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: var(--inv); }
.seg button:disabled { opacity: .4; cursor: default; }
.seg.wide { display: flex; border-radius: 14px; margin: 0 0 22px; }
.seg.wide button { flex: 1 0 auto; border-radius: 10px; min-height: 40px; }
.seg.light { background: rgba(255, 255, 255, .08); }
.seg.light button { color: var(--on-pitch-2); }
.seg.light button.on { background: #fbfbf6; color: #1d2721; }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 22px; }
/* eski sekmeler (klanım, sohbet seçici) aynı görünüşte */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 14px; background: var(--bg-2); margin-bottom: 18px; }
.tabs button, .tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: none; color: var(--ink-2); font: 600 14px/1 var(--body); white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--ink); }
.tabs button.on, .tabs a.on { background: var(--ink); color: var(--inv); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button, .chips .chip { padding: 5px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 500 14px/1.3 var(--body); }
.chips button:hover { border-color: var(--ink-3); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: var(--inv); }

/* ---------- kartlar ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; min-width: 0; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card > h2 { font-size: 22px; }
.card > h2:not(:first-child) { margin-top: 22px; }
.dark-card { background: var(--pitch); color: var(--on-pitch); border-radius: var(--r-big); padding: 26px 26px 28px; position: relative; overflow: hidden; }
.dark-card h2 { color: var(--on-pitch); }
/* koyu panellerdeki saha çizgileri */
.field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.field i { position: absolute; display: block; }
.field .f-mid { left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--pitch-line); }
.field .f-ring { left: 50%; top: 50%; width: 210px; height: 210px; margin: -105px 0 0 -105px; border: 2px solid var(--pitch-line); border-radius: 50%; }
.field .f-blue { left: calc(50% - 60px); top: 0; bottom: 0; border-left: 2px solid rgba(86, 137, 229, .35); }
.field .f-red { left: calc(50% + 60px); top: 0; bottom: 0; border-left: 2px solid rgba(229, 110, 86, .45); }
.field .f-goal { position: absolute; right: 0; top: -4%; height: 108%; width: 46px; }

/* ---------- ana sayfa: saha başlığı ---------- */
.hero-pitch { position: relative; margin: -28px calc(50% - 50vw) 0; background: var(--pitch); color: var(--on-pitch); overflow: hidden; }
.hero-pitch .field .f-mid { left: 50%; }
.hero-pitch .field .f-ring { width: 224px; height: 224px; margin: -112px 0 0 -112px; top: 53%; }
.hero-pitch .field .f-blue { left: calc(50% - 75px); border-color: rgba(86, 137, 229, .4); }
.hero-pitch .field .f-red { left: calc(50% + 75px); border-color: rgba(229, 110, 86, .5); }
.hero-pitch::before, .hero-pitch::after { content: ""; position: absolute; left: 0; right: 0; border-top: 2px solid var(--pitch-line); pointer-events: none; }
.hero-pitch::before { top: 137px; }
.hero-pitch::after { bottom: 132px; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 104px; align-items: start; padding-top: 62px; padding-bottom: 30px; }
.hero-r { margin-top: 124px; }
.kicker { margin: 0 0 12px; color: var(--on-pitch-2); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.display { font: 700 clamp(42px, 6vw, 62px)/1.06 var(--head); font-stretch: var(--head-w); color: #fff; margin: 0 0 18px; letter-spacing: -.005em; }
.hero-lead { color: #cfcec8; font-size: 17px; line-height: 1.55; margin: 0 0 24px; }
.lrows { display: grid; gap: 8px; margin-bottom: 10px; }
.lrows:empty { display: none; }
.lrow { display: grid; grid-template-columns: 54px minmax(0, 1fr) 9px auto 9px minmax(0, 1fr) 40px; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--pitch-2); border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.lrow small { color: var(--on-pitch-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .lp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e9e8e3; }
.lrow .lp.r { text-align: right; }
.lrow .sc { font: 700 19px/1 var(--head); font-stretch: var(--head-w); color: #fff; min-width: 34px; text-align: center; }
.lrow time { color: var(--on-pitch-3); font-size: 12px; text-align: right; }
.lrow a:hover { color: var(--yellow); }
.lrow.idle { grid-template-columns: 54px minmax(0, 1fr) auto 40px; }
.tdot { width: 9px; height: 9px; border-radius: 50%; display: block; }
.tdot.r { background: var(--team-red); } .tdot.b { background: var(--team-blue); }
.tagc { font-size: 11px; font-weight: 700; color: var(--on-pitch-3); }
.welcome { display: grid; gap: 8px; padding: 12px 16px; margin: 0 0 22px; border-radius: 10px; background: var(--pitch-3); color: var(--on-pitch); font-size: 14px; }
.welcome:hover { color: #fff; background: #4a494b; }
.welcome .wt, .welcome .wm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--on-pitch-2); }
.welcome .wt b:first-child { color: #fff; }
.welcome b { color: #fff; }
.wlx { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 700 12px/1 var(--body); font-style: normal; flex: none; }
.wlx.w { background: var(--green-soft); color: var(--green); }
.wlx.l { background: var(--red-soft); color: var(--red); }
.welcome .wlx.l { background: rgba(229, 110, 86, .2); color: #ff9c8a; }
.welcome .wlx.w { background: rgba(108, 194, 138, .2); color: #7fd49b; }
.cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.cta > span:last-child { color: var(--on-pitch-3); font-size: 14px; }
.lrows:empty + #welcome:empty + .cta { margin-top: 0; }
/* günün golü paneli */
.tg { background: var(--pitch-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.tg-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 10px; flex-wrap: wrap; }
.tg-h b { font: 600 14px/1.3 var(--body); color: #fff; }
.tg-h b span { color: #fff; }
.tg-h .seg { padding: 3px; }
.tg-h .seg button { min-height: 26px; padding: 0 12px; font-size: 13px; }
.tg-stage { position: relative; border-radius: 10px; overflow: hidden; background: var(--pitch-hx); }
.tg-cv .pitch-svg { display: block; width: 100%; height: auto; aspect-ratio: 806 / 368; }
.tg-stage .btn { position: absolute; right: 10px; bottom: 10px; }
.tg-f { display: flex; align-items: center; gap: 12px; padding: 12px 4px 2px; color: var(--on-pitch-2); min-height: 48px; }
.tg-f:empty { display: none; }
.tg-v, .vv { display: grid; line-height: 1; }
.tg-v b, .vv b, .tg-d b, .vd b { font: 700 20px/1 var(--head); font-stretch: var(--head-w); color: #fff; }
.tg-v small, .vv small, .tg-d small, .vd small { font-size: 11px; color: var(--on-pitch-3); }
.tg-d { flex: 1; display: grid; gap: 4px; min-width: 0; }
.tg-l { font-size: 13px; color: var(--on-pitch-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tg-l:hover { color: var(--yellow); }
.gauge { width: 40px; height: 24px; flex: none; }
.gauge .g0 { fill: none; stroke: currentColor; stroke-opacity: .25; stroke-width: 4; stroke-linecap: round; }
.gauge .g1 { fill: none; stroke: var(--team-red); stroke-width: 4; stroke-linecap: round; }
.gauge .g2 { fill: #fff; stroke: #1d1d1d; stroke-width: 1; }
.dist { position: relative; display: block; height: 12px; min-width: 60px; }
.dist::before { content: ""; position: absolute; left: 0; right: 8px; top: 5.5px; border-top: 1px solid currentColor; opacity: .25; }
.dist .dl { position: absolute; right: 12px; top: 5px; border-top: 2px dotted var(--yellow); }
.dist .db { position: absolute; right: 8px; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow-2); border: 1.5px solid #1d1d1d; }
.dist .dp { position: absolute; right: 0; top: -2px; bottom: -2px; width: 3px; border-radius: 2px; background: var(--team-blue); }
.hero-stats { position: relative; display: flex; gap: 40px; padding-top: 16px; padding-bottom: 20px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats small { color: var(--on-pitch-3); font-size: 13px; }
.hero-stats b { font: 700 26px/1 var(--head); font-stretch: var(--head-w); color: #fff; }
.ticker { position: relative; overflow: hidden; background: #1f1e20; border-top: 1px solid rgba(255, 255, 255, .06); padding: 10px 0; font-size: 14px; color: var(--on-pitch-3); -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
:root[data-theme="dark"] .ticker { background: #121715; }
.tk-run { display: flex; width: max-content; animation: tick 70s linear infinite; }
.tk-run > span[aria-hidden] { display: flex; }
.ticker:hover .tk-run { animation-play-state: paused; }
.tk-i { display: inline-flex; align-items: center; gap: 6px; padding: 0 22px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .12); }
.tk-i b { color: #fff; font-weight: 600; }
.tk-i em { font: 700 16px/1 var(--head); font-stretch: var(--head-w); font-style: normal; color: var(--yellow); }
.klan { font: 700 10px/1 var(--body); font-style: normal; color: #2a2300; background: var(--gold); border-radius: 4px; padding: 3px 5px; letter-spacing: .04em; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-run { animation: none; } .ticker { overflow-x: auto; } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 32px; gap: 26px; }
  .hero-pitch::before, .hero-pitch::after, .hero-pitch .field { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 24px; }
}
@media (max-width: 480px) { .lrow { grid-template-columns: minmax(0, 1fr) 8px auto 8px minmax(0, 1fr); padding: 9px 10px; } .lrow small, .lrow time { display: none; } .lrow.idle { grid-template-columns: minmax(0, 1fr) auto; } .tg-l { display: none; } }
/* oda kartları */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } }
.room { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.room-pitch { position: relative; aspect-ratio: 840 / 380; background: var(--pitch-hx); }
.pitch-svg { display: block; width: 100%; height: 100%; }
.room-live { position: absolute; inset: 0; }
.sb { position: absolute; left: 50%; top: 6%; transform: translateX(-50%); display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #1f1f20; color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); white-space: nowrap; }
.sb b { font: 700 24px/1 var(--head); font-stretch: var(--head-w); letter-spacing: .02em; }
.sb small { font-size: 11px; color: #a9a8a3; }
.sb small.k { color: var(--gold); font-weight: 700; }
.pd { position: absolute; display: grid; justify-items: center; gap: 4px; transform: translate(-50%, -50%); }
.pd i { width: clamp(22px, 6.4%, 30px); aspect-ratio: 1; border-radius: 50%; border: 2px solid #000; display: block; }
.pd.r { left: 28%; top: 44%; } .pd.r i { background: var(--team-red); }
.pd.b { left: 64%; top: 64%; } .pd.b i { background: var(--team-blue); }
.pd em { font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 20, 20, .75); padding: 1px 7px; border-radius: 5px; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.pd em a:hover { color: var(--yellow); }
.pball { position: absolute; left: 50%; top: 50%; width: 3.2%; aspect-ratio: 1; margin: -1.6% 0 0 -1.6%; border-radius: 50%; background: var(--yellow-2); border: 1.5px solid #000; animation: pball 5s ease-in-out infinite alternate; }
@keyframes pball { 0% { transform: translate(-260%, -80%); } 50% { transform: translate(120%, 60%); } 100% { transform: translate(300%, -120%); } }
@media (prefers-reduced-motion: reduce) { .pball { animation: none; } }
.pchip { position: absolute; left: 50%; top: 6%; transform: translateX(-50%); padding: 5px 12px; border-radius: 8px; background: rgba(30, 30, 30, .82); color: #f0efe9; font-size: 13px; font-weight: 600; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.pnext { position: absolute; left: 10px; right: 10px; bottom: 8px; color: #d8d7d1; font-size: 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-b { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.room-t { flex: 1; min-width: 0; }
.room-t h3 { margin: 0; font: 700 16px/1.25 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-t small { color: var(--ink-3); font-size: 13px; }
.cap { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.cap b { color: var(--ink); }
.capd { display: inline-flex; gap: 2px; }
.capd i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.capd i.on { background: var(--ink); }
@media (max-width: 420px) { .capd { display: none; } }
.room.off { opacity: .7; }
.top5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.t5 { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.t5:hover { color: var(--ink); border-color: var(--line-2); }
.t5 .pos { font: 700 30px/1 var(--head); font-stretch: var(--head-w); color: var(--ink-3); }
.t5.first { background: linear-gradient(160deg, #fdf0c3, #f7e2a3); border-color: #e9cf7f; }
.t5.first .pos { color: #8a6400; }
:root[data-theme="dark"] .t5.first { background: linear-gradient(160deg, #3d3520, #2f2a1b); border-color: #5b4d24; }
.t5-n { display: grid; min-width: 0; }
.t5-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t5-n small, .t5-v small { color: var(--ink-2); font-size: 12px; }
.t5-v { font: 700 22px/1 var(--head); font-stretch: var(--head-w); display: grid; }
@media (max-width: 760px) { .top5 { grid-template-columns: 1fr; } .t5 { grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; } }

/* ---------- sıralama ---------- */
.links-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 22px; margin: -12px 0 22px; font-size: 14px; color: var(--ink-2); }
.links-row > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.why summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.why summary::-webkit-details-marker { display: none; }
.why p { margin: 8px 0 0; max-width: 60ch; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.mode { position: relative; overflow: hidden; display: grid; gap: 2px; text-align: left; padding: 13px 14px 12px; border-radius: 14px; border: 2px solid transparent; color: #fff; background: var(--pitch); min-height: 66px; }
.mode::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; border-left: 1.5px solid rgba(255, 255, 255, .22); }
.mode::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.mode-t { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mode b { font: 700 21px/1 var(--head); font-stretch: var(--head-w); }
.mode .n { font: 700 19px/1 var(--head); font-stretch: var(--head-w); opacity: .9; }
.mode small { position: relative; z-index: 1; font-size: 12px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.mode:hover { filter: brightness(1.08); }
.m-klan { background: var(--gold); color: #2a2300; } .m-klan::before, .m-klan::after { border-color: rgba(0, 0, 0, .15); }
.m-realfoot, .m-futsal { background: #738760; }
.m-sixman { background: var(--blue); }
.m-yakantop { background: #3e414a; }
.rk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 28px; align-items: start; }
.rk-side { position: sticky; top: 84px; display: grid; gap: 4px; }
.rk-side .note { margin: 0 0 10px; font-size: 13px; }
@media (max-width: 900px) { .rk-grid { grid-template-columns: 1fr; } .rk-side { position: static; } }
.stars { list-style: none; margin: 0 0 22px; padding: 0; }
.stars li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.stars li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stars .pos { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.stars b { font: 700 17px/1 var(--head); font-stretch: var(--head-w); color: var(--green); }
.stars b small { font: 600 11px var(--body); color: var(--ink-3); }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.pod { position: relative; display: grid; gap: 6px; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid rgba(0, 0, 0, .06); color: #1d2721; min-width: 0; box-shadow: var(--shadow); }
.pod:hover { color: #1d2721; transform: translateY(-2px); }
.pod.p1 { background: linear-gradient(170deg, #fdeebb, #f9e2a0); }
.pod.p2 { background: linear-gradient(170deg, #eef0f3, #e2e5ea); }
.pod.p3 { background: linear-gradient(170deg, #fbe7da, #f5d7c4); }
.pod.me { border: 2px solid #1d2721; }
.pod-r { font: 700 13px/1 var(--body); color: #5a625c; }
.pod-c { position: absolute; right: 14px; top: 13px; font-size: 12px; font-weight: 700; color: #5a625c; }
.pod-n { font: 700 18px/1.15 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-v { color: #5a625c; font-size: 13px; }
.pod-v b { font: 700 30px/1 var(--head); font-stretch: var(--head-w); color: #1d2721; margin-right: 3px; }
.pod small { color: #5a625c; font-size: 12px; }
.pod .wl-n .w { color: #2e7a46; } .pod .wl-n .l { color: #c4473a; }
.pod .wl-b { background: rgba(0, 0, 0, .06); }
@media (max-width: 640px) { .podium { grid-template-columns: 1fr; } }
.leagues { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lgc { position: relative; display: grid; gap: 2px; align-content: start; padding: 12px 12px 12px; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .07); color: #1d2721; min-height: 112px; }
.lgc-i { font-size: 24px; line-height: 1.1; margin-bottom: 4px; }
.lgc b { font: 700 16px/1.2 var(--body); }
.lgc small { font-size: 12px; color: #5a625c; line-height: 1.3; }
.lgc-p { margin-top: auto; padding-top: 10px; font-size: 13px; color: #5a625c; }
.lgc-p b { font: 700 20px/1 var(--head); font-stretch: var(--head-w); color: #1d2721; }
.lg-usta { background: #efe6fb; } .lg-elmas { background: #dce9f3; } .lg-altin { background: #fdf1cf; } .lg-gumus { background: #eeeff2; } .lg-bronz { background: #f7e3d5; }
.lgc.me { border: 2px solid #1d2721; }
.you { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #1d2721; color: #fbfcf7; font: 700 10px/1.4 var(--body); letter-spacing: .04em; vertical-align: 2px; }
.lgc .you { position: absolute; right: 8px; top: 8px; }
@media (max-width: 760px) { .leagues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rk-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; }
.rk-n { margin-left: auto; color: var(--ink-2); font-size: 14px; }
.field-i { position: relative; display: flex; align-items: center; flex: 0 1 340px; min-width: 0; }
.field-i .ic { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.field-i input { width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); outline: none; }
.field-i input:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 55%, transparent); }
.field-i.big { flex: 0 1 340px; }
.field-i.big input { height: 52px; border-radius: 14px; font-size: 16px; padding-left: 44px; }
.field-i.big .ic { left: 16px; }
/* tablolar */
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; text-align: left; vertical-align: middle; }
th { color: var(--ink-3); font: 500 13px/1.2 var(--body); white-space: nowrap; }
td { border-bottom: 1px solid var(--line); }
td.n, th.n { text-align: right; }
.rt thead th { border-bottom: 0; padding-bottom: 6px; }
.rt td.pos { width: 44px; font: 700 19px/1 var(--head); font-stretch: var(--head-w); color: var(--ink-2); }
.rt td.cl { width: 76px; white-space: nowrap; }
.ctag { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; white-space: nowrap; }
.ctag.none { font-weight: 500; color: var(--ink-3); }
.rt td.pl { min-width: 140px; }
.rt td { padding-top: 8px; padding-bottom: 8px; }
.rt td.pl > a { font-weight: 600; font-size: 15px; }
.rt td.pl small { display: block; color: var(--ink-3); font-size: 12px; }
.rt td.pts { font: 700 21px/1 var(--head); font-stretch: var(--head-w); white-space: nowrap; }
.rt td.wlc, .rt th.wlc { width: 128px; }
.rt tbody tr:hover td { background: color-mix(in srgb, var(--card) 70%, transparent); }
.rt tr.me td { background: color-mix(in srgb, var(--yellow) 30%, var(--card)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.rt tr.me td:first-child { border-left: 2px solid var(--ink); border-radius: 10px 0 0 10px; }
.rt tr.me td:last-child { border-right: 2px solid var(--ink); border-radius: 0 10px 10px 0; }
:root[data-theme="dark"] .rt tr.me td { background: #33361f; }
.rt tr.flash td { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 40% { background: var(--yellow); } }
.rt tr.grp td { border-bottom: 2px solid var(--rule); padding: 18px 2px 8px; background: none !important; }
.rt tr.grp td { font-size: 14px; }
.rt tr.grp td > span:first-child small { color: var(--ink-2); margin-left: 4px; }
.rt tr.grp td { display: table-cell; }
.rt tr.grp td > span:last-child { float: right; color: var(--ink-2); }
.rt tr.grp td > span:last-child b { color: var(--ink); }
.wl { display: grid; gap: 3px; min-width: 96px; }
.wl-n { display: flex; justify-content: space-between; font: 700 12px/1 var(--body); }
.wl-n .w { color: var(--green); } .wl-n .l { color: var(--red); }
.wl-b { display: flex; gap: 3px; height: 6px; }
.wl-b i { display: block; height: 100%; border-radius: 3px; }
.wl-b .w { background: var(--green); }
.wl-b .l { flex: 1; background: var(--red-bar); }
.lg { font-size: 14px; }
@media (max-width: 640px) { .rt .cl { display: none; } .rt td.wlc, .rt th.wlc { width: 92px; } .rt th.wlc { font-size: 0; } .rt td, .rt th { padding: 9px 5px; } .rt td.pos { width: 30px; font-size: 16px; } .rt td.pts { font-size: 18px; } .wl { min-width: 76px; } }
.two .sec-h h3, .rk-main h3 { font-size: 20px; }
.bars { display: grid; }
.barrow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.barrow .pos { font: 700 20px/1 var(--head); font-stretch: var(--head-w); color: var(--ink-2); }
.barrow .bn { display: grid; gap: 6px; font-weight: 600; min-width: 0; }
.barrow > b { font: 700 22px/1 var(--head); font-stretch: var(--head-w); white-space: nowrap; }
.bt { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.bt i { display: block; height: 100%; border-radius: 2px; background: #7f8f79; }
.bt i.first, .sr.first .bt i { background: var(--gold); }
.barrow.me { background: color-mix(in srgb, var(--yellow) 25%, transparent); }

/* ---------- profil ---------- */
.pcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 26px 28px; border-radius: var(--r-big); background: var(--pitch); color: var(--on-pitch); overflow: hidden; box-shadow: var(--shadow-lg); }
.pcard .field .f-mid { left: 47%; }
.pcard .field .f-ring { left: 47%; width: 180px; height: 180px; margin: -90px 0 0 -90px; }
.pcard .field .f-red { left: calc(47% + 70px); }
.pav { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--yellow-2) var(--pct, 0%), rgba(255, 255, 255, .1) 0); padding: 7px; }
.pav::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--pitch); }
.pav-d { position: relative; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 3px solid #111; font: 700 54px/1 var(--head); font-stretch: var(--head-w); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); background: var(--team-red); }
.pav-d em { font-style: normal; font-size: 46px; text-shadow: none; }
.pav-d.cd { background: hsl(var(--h) 45% 82%); color: #1d2721; text-shadow: none; font-size: 34px; }
.pav-lv { position: absolute; right: -2px; bottom: 6px; z-index: 2; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--yellow-2); color: #1d2721; border: 2px solid #1d1d1d; font: 700 16px/1 var(--head); font-stretch: var(--head-w); }
.pinfo { position: relative; z-index: 1; min-width: 0; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pchips:empty { display: none; }
.pchip-c { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #e9e8e3; font: 700 12px/1.6 var(--body); }
a.pchip-c:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.pchip-c.gold { background: var(--gold); color: #2a2300; }
.pcard h1 { color: #fff; margin: 0 0 6px; font-size: clamp(40px, 6vw, 64px); overflow-wrap: anywhere; }
.pcard.founder h1 { color: var(--yellow-2); }
.psub { margin: 0 0 4px; color: #e2e1db; font-size: 16px; }
.pmeta { margin: 0; color: var(--on-pitch-3); font-size: 13px; }
.pbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 18px; }
.pbox { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: #1f1e20; text-align: right; min-width: 150px; border: 1px solid rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .pbox { background: #161b19; }
.pbox div { display: grid; }
.pbox small { color: var(--on-pitch-3); font-size: 12px; }
.pbox b { font: 700 30px/1 var(--head); font-stretch: var(--head-w); color: #fff; }
@media (max-width: 760px) {
  .pcard { grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; padding: 20px; }
  .pav { width: 92px; height: 92px; padding: 5px; }
  .pav-d { font-size: 38px; } .pav-d em { font-size: 32px; }
  .pav-lv { min-width: 28px; height: 28px; font-size: 13px; bottom: 0; }
  .pbox { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; padding: 12px 14px; }
  .pbox b { font-size: 24px; }
  .pcard .field { display: none; }
}
.pact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.pact-g { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
@media (max-width: 760px) { .pact-g { margin-left: 0; } }
.vitrin { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
@media (max-width: 860px) { .vitrin { grid-template-columns: 1fr; } }
.vplayer { min-height: 200px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 0 0 10px; overflow: hidden; box-shadow: var(--shadow); }
.vlist { display: grid; gap: 10px; }
.vitem { display: grid; gap: 8px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.vitem:hover { border-color: var(--line-2); }
.vh { display: flex; align-items: center; gap: 8px; }
.vh b { font: 700 16px/1.2 var(--body); }
.vh .now { display: none; margin-left: auto; font: 800 10px/1 var(--body); letter-spacing: .05em; padding: 3px 6px; border-radius: 4px; background: var(--yellow); color: #1d2721; border: 1px solid #1d2721; }
.vm { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.vitem .vv b, .vitem .vd b { color: var(--ink); }
.vitem .vv small, .vitem .vd small { color: var(--ink-3); }
.vd { flex: 1; display: grid; gap: 4px; min-width: 0; }
.vitem > small { color: var(--ink-3); font-size: 12px; }
.vitem .gauge .g1 { stroke: var(--gold); }
.vitem.on { background: var(--pitch); color: #fff; border-color: #1d1d1d; box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 70%, transparent), var(--shadow); }
.vitem.on .now { display: inline-block; }
.vitem.on .vv b, .vitem.on .vd b { color: #fff; }
.vitem.on .vm, .vitem.on > small { color: var(--on-pitch-3); }
.vitem.on .gauge .g1 { stroke: var(--team-red); }
/* gol tekrarı oynatıcısı */
.rp canvas { display: block; width: 100%; background: var(--pitch-hx); }
.rp-ctl { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; }
.rp-ctl button { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.rp-ctl button[data-a="slow"] { width: auto; padding: 0 10px; border-radius: 99px; font-size: 12px; }
.rp-ctl button.on { background: var(--ink); color: var(--inv); border-color: var(--ink); }
.rp-ctl input[type="range"] { flex: 1; min-width: 0; accent-color: var(--olive); }
.rp.mini canvas { border-radius: 0; }
#gplayer .rp canvas { border-radius: 12px; }
.play { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; background: var(--bg-2); color: var(--ink); font: 600 13px/1.3 var(--body); white-space: nowrap; }
.play:hover { background: var(--ink); color: var(--inv); }
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
/* performans */
.sec-m .seg { padding: 3px; }
.sec-m .seg button { min-height: 30px; padding: 0 14px; font-size: 13.5px; }
.wlbox { padding: 14px 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); margin-bottom: 12px; }
.wlbox-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.wlbox-t b { font: 700 24px/1 var(--head); font-stretch: var(--head-w); color: var(--ink); margin: 0 2px; }
.wlbox-t .w b { color: var(--green); } .wlbox-t .l b { color: var(--red); }
.wlbox-t .w, .wlbox-t .l { font-weight: 500; color: var(--ink-2); }
.wlbox .wl-b { height: 9px; gap: 0; }
.wlbox .wl-b i { border-radius: 0; } .wlbox .wl-b .w { border-radius: 5px 0 0 5px; } .wlbox .wl-b .l { border-radius: 0 5px 5px 0; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; align-content: start; gap: 2px; padding: 12px 14px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.tile .ic { color: var(--ink-2); margin-bottom: 8px; }
.tile b { font: 700 30px/1 var(--head); font-stretch: var(--head-w); }
.tile span { font-size: 14px; color: var(--ink-2); }
.tile small { font-size: 12px; color: var(--ink-3); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hist { margin-top: 20px; }
.hist h3 { font: 600 14px/1.2 var(--body); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.hist-l { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.hcard { flex: none; display: flex; align-items: flex-end; gap: 10px; padding: 10px 14px 10px 12px; min-width: 104px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hcard > i { width: 5px; height: 46px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.hcard > i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--p); background: var(--green); }
.hcard span { display: grid; }
.hcard small { font-size: 11px; color: var(--ink-3); }
.hcard b { font: 700 24px/1 var(--head); font-stretch: var(--head-w); }
/* listeler */
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
.li-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.li .sc { font: 700 18px/1 var(--head); font-stretch: var(--head-w); }
.li .sc.w { color: var(--green); } .li .sc.l { color: var(--red); }
.li > small { color: var(--ink-3); font-size: 12px; min-width: 64px; text-align: right; }
.rivals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.rv { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--pitch); color: #fff; text-align: center; min-width: 0; }
.rv:hover { color: #fff; filter: brightness(1.1); }
.rv-s { display: flex; align-items: center; gap: 8px; }
.rv-s b { font: 700 22px/1 var(--head); font-stretch: var(--head-w); }
.rv-s .w { color: #8fdca7; } .rv-s .l { color: #fff; font-weight: 800; }
.rv strong { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv small { font-size: 11px; color: var(--on-pitch-3); }
.dsk { display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #000; background: var(--team-red); flex: none; }
.dsk.b { background: var(--team-blue); }
@media (max-width: 480px) { .rivals { grid-template-columns: 1fr; } }
.opp td, .opp th { padding: 9px 12px; white-space: nowrap; }
.opp td.pl { white-space: normal; min-width: 100px; }
@media (max-width: 480px) { .opp td, .opp th { padding: 8px 6px; } }
.opp th { padding-top: 12px; }
.five { display: inline-flex; gap: 3px; }
.five i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.five i.l { background: var(--red); }
.tmore { display: block; width: 100%; padding: 12px; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 600; color: var(--ink); }
.tmore:hover { background: var(--bg-2); }
.pick { position: relative; }
.pick input { height: 38px; width: 230px; max-width: 100%; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card); outline: none; }
/* görevler */
.q .qc { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-style: normal; }
.q.done .qc { background: var(--green); border-color: var(--green); color: #fff; }
.q.done .qc .ic { width: 13px; height: 13px; stroke-width: 3; }
.q .li-n { display: grid; gap: 6px; white-space: normal; }
.q.done .qt { text-decoration: line-through; color: var(--ink-3); }
.qbar { display: block; height: 5px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.qp { color: var(--ink-2); font-size: 14px; }
.qr { font: 700 15px/1 var(--body); white-space: nowrap; }
/* başarımlar */
.achs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ach { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.ach-i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--yellow); border: 2px solid #1d1d1d; }
.ach b { display: block; font-size: 15px; }
.ach small { display: block; color: var(--ink-3); font-size: 12px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ach span:last-child { min-width: 0; }
.ach.lock { opacity: .55; filter: grayscale(1); }
.locked { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--card-2); }
.locked summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.locked .achs { margin-top: 10px; }
@media (max-width: 480px) { .achs { grid-template-columns: 1fr; } }
/* sezon yolu */
.sp-strip { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; margin: 2px 0 14px; }
.sp-c { display: block; height: 14px; border-radius: 3px; background: var(--bg-2); }
.sp-c.five { height: 20px; margin-top: -3px; }
.sp-c.on { background: var(--green); }
.sp-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sp-n { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.sp-n b { font: 700 22px/1 var(--head); font-stretch: var(--head-w); }
.sp-n b small { font-size: 13px; color: var(--ink-3); }
.sp-n > small { color: var(--ink-3); font-size: 12px; }
@media (max-width: 760px) { .sp-next { grid-template-columns: 1fr; } .sp-strip { gap: 2px; } }
/* karşılaştırma */
.h2h { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 22px; border-radius: var(--r-big); background: var(--pitch); color: #fff; }
.h2h .side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.h2h .side.b { flex-direction: row-reverse; text-align: right; }
.h2h .side .dsk { width: 44px; height: 44px; }
.h2h .side a { font: 700 26px/1.1 var(--head); font-stretch: var(--head-w); overflow-wrap: anywhere; }
.h2h .side small { display: block; color: var(--on-pitch-3); font-size: 13px; }
.h2h .mid { text-align: center; color: var(--on-pitch-2); font-size: 14px; display: grid; gap: 4px; justify-items: center; }
.h2h .big { font: 700 52px/1 var(--head); font-stretch: var(--head-w); color: #fff; }
.h2h .big .w { color: #8fdca7; } .h2h .big .l { color: #ff9c8a; }
table.cmp { table-layout: fixed; }
table.cmp th, table.cmp td { white-space: normal; overflow-wrap: anywhere; padding: 11px 16px; }
table.cmp td.lbl { text-align: center; color: var(--ink-2); font-size: 14px; }
table.cmp th:nth-child(2), table.cmp td.lbl { width: 34%; }
table.cmp td.n.l { text-align: left; }
table.cmp td.better { color: var(--green); font-weight: 800; }
@media (max-width: 600px) { .h2h { grid-template-columns: 1fr; text-align: center; } .h2h .side, .h2h .side.b { flex-direction: column; text-align: center; } }

/* ---------- klanlar ---------- */
.clock-card { display: grid; gap: 4px; padding: 14px 18px; border-radius: 14px; background: var(--pitch); color: #fff; min-width: 260px; }
.ck-t { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ck-v { color: var(--on-pitch-3); font-size: 13px; }
.ck-v b { font: 700 28px/1 var(--head); font-stretch: var(--head-w); color: #fff; margin-right: 4px; }
.cdisc { --h: 120; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: hsl(var(--h) 45% 85%); border: 2px solid #2a2a2a; color: #2a2f2b; font: 800 11px/1 var(--body); letter-spacing: .02em; overflow: hidden; }
.cdisc.lg { width: 52px; height: 52px; font-size: 16px; }
:root[data-theme="dark"] .cdisc { background: hsl(var(--h) 28% 30%); color: #eef0ea; border-color: #0d0d0d; }
.cpod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 0; margin: 10px 0 0; padding: 0 6%; border-bottom: 5px solid var(--rule); }
.cp { display: grid; justify-items: center; gap: 2px; text-align: center; min-width: 0; padding: 0 6px; }
.cp:hover { color: var(--ink); }
.cp .cdisc { margin-bottom: 8px; }
.cp-n { font: 700 17px/1.2 var(--body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp small { color: var(--ink-3); font-size: 12px; }
.cp-v { font: 700 30px/1 var(--head); font-stretch: var(--head-w); margin-top: 6px; }
.cp-step { width: 100%; margin-top: 10px; display: grid; place-items: center; border-radius: 12px 12px 0 0; border: 1px solid rgba(0, 0, 0, .06); border-bottom: 0; }
.cp-step span { font: 700 40px/1 var(--head); font-stretch: var(--head-w); color: rgba(29, 39, 33, .45); }
.cp.r1 .cp-step { height: 120px; background: linear-gradient(#fdeebb, #f6dc8f); }
.cp.r2 .cp-step { height: 86px; background: linear-gradient(#eef0f3, #dfe3e8); }
.cp.r3 .cp-step { height: 62px; background: linear-gradient(#fbe7da, #f2cfb8); }
@media (max-width: 520px) { .cpod { padding: 0; } .cp-v { font-size: 22px; } .cp-n { font-size: 14px; } .cp.r1 .cp-step { height: 90px; } .cp.r2 .cp-step { height: 64px; } .cp.r3 .cp-step { height: 46px; } .cdisc.lg { width: 42px; height: 42px; } }
.ct td.pl { min-width: 180px; }
.clrow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clrow span { display: grid; min-width: 0; }
.clrow b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clrow small { color: var(--ink-3); font-size: 12px; }
.ct .cm { width: 110px; }
.mbar { display: grid; gap: 4px; }
.mbar small { color: var(--ink-2); font-size: 12px; }
.mbar > i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.mbar > i > i { display: block; height: 100%; border-radius: 2px; background: #7f8f79; }
.wclan { position: relative; display: grid; gap: 4px; justify-items: start; padding: 16px 18px; margin-top: 40px; border-radius: var(--r-card); background: var(--pitch); color: #fff; overflow: hidden; }
.wclan:hover { color: #fff; }
.wclan > small { color: var(--yellow-2); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.wclan b { font: 700 22px/1.1 var(--head); font-stretch: var(--head-w); }
.wclan span { color: var(--on-pitch-3); font-size: 13px; }
.wclan-f { position: absolute; right: -8px; top: -6px; font-size: 64px; opacity: .22; font-style: normal; }
.perks { margin-top: 14px; padding: 16px 18px; }
.perks h3 { font-size: 17px; }
.perks h3 + ul + h3 { margin-top: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.srank { display: grid; }
.sr { display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sr:hover { color: var(--ink); }
.sr .pos { font: 700 18px/1 var(--head); font-stretch: var(--head-w); color: var(--ink-2); text-align: center; }
.sr-n { display: grid; gap: 3px; min-width: 0; }
.sr-n b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-n small { color: var(--ink-3); font-size: 12px; margin-top: -3px; }
.sr-v { font: 700 22px/1 var(--head); font-stretch: var(--head-w); }
.fxl { display: grid; gap: 10px; }
.fxc { padding: 14px 16px; border-radius: 14px; background: var(--pitch); color: #fff; box-shadow: var(--shadow); }
.fxc-r { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.fxc-r a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fxc-r a:hover { color: var(--yellow-2); }
.fxc-r a.r { justify-content: flex-end; }
.fxc-r b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxc-r a.lost { color: var(--on-pitch-3); }
.fxc-s { font: 700 28px/1 var(--head); font-stretch: var(--head-w); }
.fxc-b { display: flex; gap: 4px; height: 6px; margin-top: 12px; }
.fxc-b i { display: block; border-radius: 3px; }
.fxc-b .a { background: var(--team-red); } .fxc-b .b { flex: 1; background: var(--team-blue); }
.fx-note { margin: 10px 0 0; color: var(--on-pitch-2); font-size: 13px; }
.fxc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fxc-top small { color: var(--on-pitch-3); font-size: 12px; }
.fxc .chip.sm { background: rgba(255, 255, 255, .14); color: #fff; }
.crown { font-style: normal; font-size: 14px; margin-right: -6px; }
/* klan sayfası */
.ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pt { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pt-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pt-v { display: grid; grid-template-columns: 1fr 1fr; }
.pt-v span { display: grid; }
.pt-v span + span { border-left: 1px solid var(--line); padding-left: 14px; }
.pt-v b { font: 700 30px/1 var(--head); font-stretch: var(--head-w); }
.pt-v small { color: var(--ink-3); font-size: 12px; }
.pt-f { margin: 0; padding: 7px 10px; border-radius: 8px; background: var(--bg-2); font-size: 13px; color: var(--ink-2); }
.pt-f.ok { background: var(--green-soft); color: var(--green); font-weight: 600; }
@media (max-width: 760px) { .ptiles { grid-template-columns: 1fr; } }
.mgmt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mg { position: relative; display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid rgba(0, 0, 0, .07); color: #1d2721; overflow: hidden; min-width: 0; }
.mg:hover { color: #1d2721; }
.mg.lead { background: linear-gradient(160deg, #fdf0c3, #fae6a6); }
.mg.dep { background: linear-gradient(160deg, #eef3fb, #e1e9f7); }
.mg .chip.sm { background: rgba(255, 255, 255, .7); color: #1d2721; }
.mg.lead .chip.sm { background: var(--gold); }
.mg-w { position: absolute; right: 10px; top: 8px; font-size: 38px; opacity: .35; font-style: normal; }
.mg-n { font: 700 18px/1.2 var(--body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-v { font-size: 13px; color: #5a625c; }
.mg-v b { font: 700 22px/1 var(--head); font-stretch: var(--head-w); color: #1d2721; margin-right: 3px; }
.mg .wl { width: 100%; }
@media (max-width: 760px) { .mgmt { grid-template-columns: 1fr; } }
.mem td.sa, .mem th.sa { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.mem td.sa.old { color: var(--red); }
.mem td.kat { width: 110px; }
.mem td.kat b { font: 700 21px/1 var(--head); font-stretch: var(--head-w); }
.mem td.kat .bt { margin-top: 6px; margin-left: auto; width: 80px; }
.mem td.kat .bt i { background: var(--ink-2); }
@media (max-width: 640px) { .mem .sa { display: none; } }

/* ---------- rehber ---------- */
.start4 h2 { position: relative; font-size: 30px; margin-bottom: 26px; }
.stp { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.stp::before { content: ""; position: absolute; left: 20px; right: 6%; top: 19px; border-top: 2px dashed rgba(255, 255, 255, .25); }
.stp::after { content: ""; position: absolute; right: 3%; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow-2); border: 2px solid #1d1d1d; }
.stp li { position: relative; display: grid; gap: 6px; align-content: start; }
.sn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--head); font-stretch: var(--head-w); color: #fff; border: 2px solid #1d1d1d; margin-bottom: 10px; box-shadow: 0 0 0 3px var(--pitch); }
.sn.r { background: var(--team-red); } .sn.b { background: var(--team-blue); }
.stp b { font: 700 18px/1.2 var(--body); color: #fff; }
.stp small { color: var(--on-pitch-2); font-size: 14px; line-height: 1.45; }
.stp a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dark-card code.ki { background: #f1f1ec; color: #1d2721; }
@media (max-width: 760px) { .stp { grid-template-columns: 1fr 1fr; } .stp::before, .stp::after { display: none; } }
@media (max-width: 420px) { .stp { grid-template-columns: 1fr; } }
.rules-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .rules-g { grid-template-columns: 1fr; } }
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rule-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: var(--bg-2); border: 1.5px solid var(--line-2); }
.rule h3 { font: 700 17px/1.3 var(--body); margin: 0 0 6px; }
.rule .chip { margin-bottom: 6px; }
.dots { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 14.5px; color: var(--ink-2); }
.dots li::marker { color: var(--ink); }
.cmdl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.cgroups { position: sticky; top: 76px; display: grid; gap: 4px; }
.cgroups button { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; text-align: left; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--ink); }
.cgroups button:hover { background: var(--bg-2); }
.cgroups button.on { background: var(--ink); color: var(--inv); }
.cgroups.dim button.on { background: none; color: var(--ink); }
.cg-i { font-size: 18px; line-height: 1.2; }
.cg-t { display: grid; min-width: 0; }
.cg-t b { font-weight: 600; font-size: 15px; }
.cg-t small { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cgroups button.on small { color: color-mix(in srgb, var(--inv) 65%, transparent); }
.cg-n { font-size: 13px; color: var(--ink-3); }
.cgroups button.on .cg-n { color: var(--inv); }
.cgh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.cgh h3 { font-size: 22px; margin: 0; }
.cgh small { color: var(--ink-3); }
.crows + .cgh { margin-top: 22px; }
.crow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.crows > .crow:first-child { border-top: 0; }
details.crow { display: block; }
details.crow > summary { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: start; cursor: pointer; list-style: none; }
details.crow > summary::-webkit-details-marker { display: none; }
details.crow > p { margin: 10px 0 2px 184px; color: var(--ink-2); font-size: 14px; }
details.crow[open] .cr-x .ic { transform: rotate(180deg); }
.cr-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.cr-t { color: var(--ink); line-height: 1.45; padding-top: 3px; }
.cr-x { color: var(--ink-3); font-size: 12px; white-space: nowrap; padding-top: 5px; display: inline-flex; align-items: center; gap: 3px; }
@media (max-width: 760px) {
  .cmdl { grid-template-columns: 1fr; }
  .cgroups { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .cgroups button { flex: none; grid-template-columns: auto auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; }
  .cg-t small { display: none; } .cg-n { display: none; }
  .crow, details.crow > summary { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .cr-t { grid-column: 1 / -1; grid-row: 2; }
  details.crow > p { margin-left: 0; }
}

/* ---------- market ---------- */
.subnav { position: sticky; top: 64px; z-index: 12; display: flex; gap: 2px; padding: 5px; margin: 0 0 30px; border-radius: 16px; background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; box-shadow: 0 8px 20px -14px rgba(29, 39, 33, .35); }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 11px; color: var(--ink-2); font: 600 14px/1 var(--body); white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { background: var(--ink); color: var(--inv); }
.mk-sec { scroll-margin-top: 130px; }
.deal-c { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 28px 30px; border-radius: var(--r-big); background: var(--pitch); color: #fff; overflow: hidden; }
.deal-c .field .f-ring { left: 64%; }
.deal-c .field .f-mid { left: 64%; }
.deal-i { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 50px; background: var(--yellow-2); border: 3px solid #111; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.deal-t { position: relative; display: grid; gap: 6px; min-width: 0; }
.deal-t > small:first-child { color: var(--yellow-2); font-weight: 600; font-size: 13px; }
.deal-t b { font: 700 clamp(26px, 3.6vw, 40px)/1.05 var(--head); font-stretch: var(--head-w); }
.deal-p { font: 700 36px/1 var(--head); font-stretch: var(--head-w); }
.deal-p s { font-size: 20px; color: var(--on-pitch-3); }
.deal-t .muted { color: var(--on-pitch-3); font-size: 13px; }
.deal-r { position: relative; display: grid; justify-items: end; gap: 8px; text-align: right; }
.deal-r small { color: var(--on-pitch-3); font-size: 12px; }
.deal-r b { font: 700 34px/1 var(--head); font-stretch: var(--head-w); letter-spacing: .02em; }
.deal-r em { font-style: normal; color: var(--yellow-2); }
.deal-r .cmd-c { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 760px) { .deal-c { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px; } .deal-i { width: 64px; height: 64px; font-size: 30px; } .deal-r { grid-column: 1 / -1; justify-items: start; text-align: left; } }
.earn { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.earn-big { display: grid; gap: 10px; }
.earn-big > div { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ec { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-2); border: 2px solid #1d1d1d; font: 700 20px/1 var(--head); font-stretch: var(--head-w); color: #1d2721; flex: none; }
.earn-big span:last-child { display: grid; }
.earn-big small { color: var(--ink-3); font-size: 13px; }
.earn-l { padding: 12px 16px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.earn-l h4 { margin: 2px 0 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.er { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.er b { font: 700 19px/1 var(--head); font-stretch: var(--head-w); color: var(--green); }
@media (max-width: 760px) { .earn { grid-template-columns: 1fr; } }
.cat { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; padding-top: 4px; }
.cat-h { display: grid; gap: 4px; align-content: start; }
.cat-i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 22%, var(--card)); color: #3d5fb0; margin-bottom: 8px; }
.cat-h h3 { margin: 0; font-size: 21px; }
.cat-h small { color: var(--ink-3); font-size: 13px; }
.cat-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
@media (max-width: 760px) { .cat { grid-template-columns: 1fr; } }
.it { display: grid; gap: 12px; align-content: space-between; padding: 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.it-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.it-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--bg-2); border: 2px solid #1d1d1d; }
.it-h b { display: block; font: 600 16px/1.25 var(--body); }
.it-h small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.it-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.it-sub { display: grid; gap: 8px; }
.it-sub > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.it-sub .price { font-size: 16px; text-align: right; }
.it-sub .cmd-c { grid-column: 1 / -1; justify-self: start; }
.perks-l { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 16px; color: var(--ink-2); font-size: 14px; }
.perks-l .chip { font-size: 13px; padding: 4px 10px; }
.fxdeal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.fxdeal-t { font: 700 15px/1 var(--head); font-stretch: var(--head-w); text-transform: uppercase; letter-spacing: .04em; color: #7a5a00; }
:root[data-theme="dark"] .fxdeal-t { color: var(--gold); }
.fxdeal s { color: var(--ink-3); }
.fxdeal-p { font: 700 18px/1 var(--head); font-stretch: var(--head-w); }
.tier { padding: 18px 20px; border-radius: var(--r-big); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 14px; }
.tier-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.tier-h h3 { margin: 0; font-size: 30px; }
.tier-x { color: var(--gold); font-weight: 600; font-size: 13px; }
.tier-p { margin-left: auto; display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.tier-p b { font: 700 26px/1 var(--head); font-stretch: var(--head-w); }
.tier-p b.s { font-size: 19px; margin-left: 8px; }
.tier-p small { color: var(--ink-2); font-size: 13px; }
.t-kisilikli { background: color-mix(in srgb, #c8cdf7 40%, var(--card)); border-color: color-mix(in srgb, #9aa2ea 40%, var(--line)); }
.t-kisilikli .tier-h .chip { background: #dcdcfb; color: #4b4fb0; }
.t-baslangic .tier-h .chip { background: var(--green-soft); color: var(--green); }
.t-efsanevi { background: var(--pitch); color: #fff; border: 2px solid var(--gold); }
.t-efsanevi .tier-h .chip { background: var(--gold); color: #2a2300; }
.t-efsanevi .tier-p small { color: var(--on-pitch-3); }
.chr-l { display: flex; flex-wrap: wrap; gap: 8px; }
.chr { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 600 14px/1 var(--body); }
.chr:hover { border-color: var(--ink-3); }
.chr-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--bg-2); border: 1.5px solid #1d1d1d; }
.chr em { font-style: normal; font-size: 11px; font-weight: 700; color: #7a5a00; background: var(--gold-soft); padding: 2px 5px; border-radius: 4px; }
.chr.on { background: var(--yellow); border-color: #1d2721; color: #1d2721; }
.t-efsanevi .chr { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.t-efsanevi .chr .chr-i { background: rgba(255, 255, 255, .12); border-color: #000; }
.t-efsanevi .chr.on { background: var(--yellow); color: #1d2721; }
.chr-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14px; min-height: 50px; }
.t-kisilikli .chr-sel { background: rgba(255, 255, 255, .5); }
.t-efsanevi .chr-sel { background: rgba(255, 255, 255, .07); }
.t-efsanevi .chr-sel .muted { color: var(--on-pitch-3); }
.chr-sel .price { margin-left: auto; }
.cs-n b { font-weight: 700; }
.packs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pk { display: grid; justify-items: center; gap: 4px; width: 74px; padding: 8px 4px; border: 0; border-radius: 14px; background: none; color: var(--ink); }
.pk:hover { background: var(--bg-2); }
.pk-i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--card); border: 2px solid #1d1d1d; }
.pk small { font-size: 12px; font-weight: 600; }
.pk.on { background: var(--ink); color: var(--inv); }
.pk.on .pk-i { background: var(--yellow-2); }
.fx-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 760px) { .fx-grid { grid-template-columns: 1fr; } }
.fx-stage-c { border-radius: var(--r-card); background: var(--pitch); overflow: hidden; color: #fff; }
.fx-pv { position: relative; aspect-ratio: 840 / 380; }
.fx-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 64px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.fx-pv-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.fx-pv-f span { display: grid; }
.fx-pv-f small { color: var(--on-pitch-3); font-size: 12px; }
.fx-pack h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 28px; }
.fx-pack .note .cmd-c { margin: 2px 0; }
.badge-g { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
@media (max-width: 760px) { .badge-g { grid-template-columns: 1fr; } }
.bdg { display: flex; flex-wrap: wrap; gap: 8px; }
.bd { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--card); border: 2px solid #1d1d1d; padding: 0; }
.bd:hover { transform: translateY(-1px); }
.bd.on { background: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 60%, transparent); }
.bdg.rare .bd { width: 54px; height: 54px; font-size: 24px; background: conic-gradient(from 200deg, #ff9ad5, #ffe27a, #8dffd0, #8ab4ff, #d59bff, #ff9ad5); margin-bottom: 10px; }
.bdg.rare .bd small { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); padding: 1px 5px; border-radius: 5px; background: #1d2721; color: #fff; font: 700 10px/1.3 var(--body); }
.bdg.rare .bd.on { box-shadow: 0 0 0 3px var(--yellow); }
.bchat { padding: 16px 18px; border-radius: var(--r-card); background: var(--pitch); color: #e8e7e2; font: 14px/1.6 var(--mono); }
.bchat > small { color: var(--on-pitch-3); font-family: var(--mono); }
.bchat p { margin: 8px 0 0; }
.bchat .bn { color: #ff8a80; font-weight: 700; }
.bchat .bo { color: #8fa6ff; }
.bchat-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 30px; }
.bchat-f b { font: 700 22px/1 var(--head); font-stretch: var(--head-w); color: #fff; }
.bchat .cmd-c { background: rgba(255, 255, 255, .12); color: #fff; }
.cmpt th, .cmpt td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.cmpt th:first-child, .cmpt td:first-child { text-align: left; color: var(--ink-2); font-size: 14px; }
.cmpt thead th { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.cmpt td { font: 700 20px/1 var(--head); font-stretch: var(--head-w); }
.cmpt td.nv { color: var(--ink-3); }
.vp { margin-top: 18px; gap: 16px; }
.vipc { padding: 18px 20px; border-radius: var(--r-big); background: color-mix(in srgb, #fbe7a1 55%, var(--card)); border: 1.5px solid color-mix(in srgb, var(--gold) 70%, transparent); font-size: 14px; }
.vipc.pro { background: color-mix(in srgb, #d6dffc 60%, var(--card)); border-color: color-mix(in srgb, #8fa6ff 55%, transparent); }
:root[data-theme="dark"] .vipc { background: #2e2a1b; } :root[data-theme="dark"] .vipc.pro { background: #1f2639; }
.vipc h3 { font-size: 26px; }
.vipc h4 { display: flex; gap: 6px; align-items: center; }
.vipc-f { margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.vipc-f p { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vipc-f a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .vp { grid-template-columns: 1fr; } }
.gifts { display: grid; gap: 0; }
.gift { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gift-i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--card); border: 2px solid #1d1d1d; }
.gift b { font: 600 17px/1.3 var(--body); }
.gift p { margin: 2px 0 8px; color: var(--ink-2); font-size: 14px; }
.gift .price { font-size: 16px; margin-left: 6px; }

/* ---------- eski bileşenler (diğer sayfalar) ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c6 { grid-column: span 6; } .c4 { grid-column: span 4; }
@media (max-width: 900px) { .c8, .c6, .c4 { grid-column: span 12; } }
.hxwin { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); margin: 0 0 20px; overflow: hidden; box-shadow: var(--shadow); }
.hxwin > h2 { margin: 0; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); font-size: 21px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.hxwin > h2 .sub { margin-left: auto; }
.hxwin .note { padding: 0 18px 14px; margin: 0; color: var(--ink-3); font-size: 13px; }
.hxwin .note.err { color: var(--red); }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.match:last-child { border-bottom: 0; }
.match .l { text-align: right; overflow-wrap: anywhere; }
.match .r { overflow-wrap: anywhere; color: var(--ink-2); }
.match .score { font: 700 18px/1 var(--head); font-stretch: var(--head-w); background: var(--ink); color: var(--inv); border-radius: 7px; padding: 5px 10px; min-width: 56px; text-align: center; }
.match .t { color: var(--ink-3); font-size: 13px; min-width: 64px; text-align: right; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { padding: 14px 16px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px; }
.stat b { display: block; font: 700 30px/1 var(--head); font-stretch: var(--head-w); }
.stat span { color: var(--ink-2); font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.big-record { display: flex; align-items: center; gap: 14px; }
.big-record .v { font: 700 34px/1 var(--head); font-stretch: var(--head-w); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; font-size: 22px; }
.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; font-size: 11px; color: var(--ink-3); }
.heat > span { text-align: center; }
.heat .dl { text-align: left; align-self: center; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--green) calc(var(--a) * 100%), var(--bg-2)); }
.news-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.news-row:last-child { border-bottom: 0; }
.news-row .i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: var(--bg-2); border: 1.5px solid var(--line-2); }
.news-row b { display: block; }
.news-row small { display: block; color: var(--ink-2); font-size: 14px; }
.timeline .tday + .tday { margin-top: 20px; }
.timeline h3 { margin: 0 0 4px; padding-bottom: 6px; border-bottom: 2px solid var(--rule); font-size: 20px; }
a.card.season { display: grid; gap: 6px; }
a.card.season:hover { border-color: var(--line-2); color: var(--ink); transform: translateY(-2px); }
a.card.season h2 { font-size: 24px; margin: 0; }
.steps { margin: 0; padding-left: 20px; line-height: 1.9; }
.steps b { color: var(--ink); }
ol.steps { padding-left: 20px; }
.code { display: flex; gap: 8px; max-width: 380px; margin-top: 14px; }
.code input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); outline: none; letter-spacing: .3em; font: 700 26px/1 var(--head); font-stretch: var(--head-w); text-align: center; }
.code .btn { min-height: 50px; }
.appeal { display: grid; gap: 14px; max-width: 560px; }
.appeal label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.appeal input, .appeal textarea, .dm-form input, .cm-f input, .cm-f textarea, .cm-l select { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); outline: none; resize: vertical; min-width: 0; }
.appeal input:focus, .appeal textarea:focus, .dm-form input:focus, .cm-f input:focus, .cm-f textarea:focus, .code input:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 55%, transparent); }
.appeal .btn { justify-self: start; }
.filter { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); outline: none; margin-bottom: 8px; }
/* klan sohbeti ve yönetim sohbeti */
.chat { display: flex; flex-direction: column; height: min(70vh, 640px); }
.chat .log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px 12px; }
.chat .msg { background: var(--bg-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; max-width: 85%; align-self: flex-start; overflow-wrap: anywhere; }
.chat .msg.mine { align-self: flex-end; background: color-mix(in srgb, var(--yellow) 45%, var(--card)); border-radius: 14px 14px 4px 14px; }
.chat .msg .h { font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.chat .msg .h b { color: var(--ink); }
.chat .msg .x { margin-left: auto; cursor: pointer; color: var(--red); background: none; border: 0; }
.chat form, .chat fieldset { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.chat fieldset { border: 0; padding: 0; margin: 0; flex: 1; }
.chat input, .chat select { flex: 1; height: 42px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--card); outline: none; min-width: 0; }
.chat input:focus { border-color: var(--ink-3); }
.cm-chathead:empty { display: none; }
#room:empty { display: none; }
/* önizleme (#/onizleme) ve önizleme penceresi */
.fxsec { margin: 28px 0 0; }
.fxsec > .note { margin: -6px 0 12px; }
.fxgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.fxcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; min-width: 0; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.fxcard canvas { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: var(--pitch-hx); }
.fxmeta { padding: 12px 14px 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.fxmeta h3 { margin: 0; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fxmeta p { margin: 0; font-size: 14px; }
.fxmeta code { justify-self: start; background: #262a27; color: #f3f3ee; padding: 3px 8px; border-radius: 7px; overflow-wrap: anywhere; }
.fxprice { margin-left: auto; font: 700 19px/1 var(--head); font-stretch: var(--head-w); white-space: nowrap; }
.fxctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.fxctl > .muted { width: 52px; }
.fxchat { background: var(--pitch); color: #eee; border-radius: 10px; padding: 7px 12px; font: 600 14px/1.5 var(--mono); overflow-wrap: anywhere; }
.fxexpired { text-align: center; padding: 34px 16px; }
.fxexpired .big { font-size: 44px; }
.fxdlg { padding: 0; border: 1px solid var(--line); border-radius: var(--r-big); background: var(--card); color: var(--ink); width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6); }
.fxdlg::backdrop { background: rgba(20, 24, 22, .6); backdrop-filter: blur(3px); }
.fxdlg .fxbox { min-width: 0; }
.fxdlg-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.fxdlg-h h3 { margin: 0; font-size: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.fxdlg-h .fxprice { margin-left: auto; }
.fxx { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 16px; }
.fxdlg-h h3 + .fxx { margin-left: auto; }
.fxx:hover { border-color: var(--ink-3); }
.fxstage { position: relative; background: var(--pitch-hx); }
.fxstage canvas { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.fxwait { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: #eee; font-weight: 600; background: rgba(0, 0, 0, .35); }
.fxwait a { color: var(--yellow-2); text-decoration: underline; }
.fxnote { color: var(--ink-3); }
.fxdlg .fxmeta { padding: 14px 18px 18px; }
.cardlg { width: min(560px, calc(100vw - 24px)); }
.cardlg-img { padding: 14px; background: var(--bg); display: grid; place-items: center; }
.cardlg-img img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(62dvh, 640px); border-radius: 12px; box-shadow: var(--shadow); }
.cardlg-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.cardlg-act .btn.alt { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.cardlg-act .muted { font-size: 13px; }
@media (prefers-reduced-motion: no-preference) { .fxdlg[open] { animation: fxin .16s ease-out; } }
@keyframes fxin { from { opacity: 0; transform: translateY(8px); } }
.fxlive { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 5px; font-size: 13px; color: var(--ink-2); }
.fxlive i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .6); }
.fxlive small { display: inline; margin-left: 2px; color: var(--ink-3); }
/* anketler ve Haftanın Golü */
.poll > h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.poll-body { padding: 6px 18px; }
.poll-row { display: grid; grid-template-columns: 26px minmax(0, 1.2fr) minmax(60px, 1fr) auto 42px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.poll-row:first-child { border-top: 0; }
.poll-no { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font: 700 13px/1 var(--body); }
.poll-opt { font-weight: 600; overflow-wrap: anywhere; }
.poll-opt small { color: var(--green); font-weight: 600; margin-left: 4px; }
.poll-bar { height: 8px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: var(--ink-2); border-radius: 4px; }
.poll-row.won .poll-bar i { background: var(--green); }
.poll-row.won .poll-no { background: var(--green); border-color: var(--green); color: #fff; }
.poll-n { text-align: right; }
.poll-p { color: var(--ink-3); text-align: right; }
.poll-meta { margin: 0; padding: 11px 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
@media (max-width: 520px) { .poll-row { grid-template-columns: 26px minmax(0, 1fr) auto 40px; } .poll-bar { grid-column: 2 / -1; grid-row: 2; } }
.gw-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; color: inherit; background: var(--pitch); color: #fff; border: 0; }
.gw-teaser:hover { color: #fff; }
.gw-teaser span { color: var(--on-pitch-2); font-size: 14px; }
.gw-teaser .play { margin-left: auto; background: var(--yellow); color: #1d2721; }
.gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gw-card { margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.gw-card.won { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.gw-card.mine { box-shadow: inset 0 0 0 2px var(--yellow); }
.gw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.gw-head small { color: var(--ink-2); font-weight: 600; }
.gw-facts { margin: 0; color: var(--ink-2); font-size: 14px; }
.gw-card .poll-row { grid-template-columns: minmax(40px, 1fr) auto 42px; border-top: 0; padding: 0; }
.gw-card .poll-row .poll-bar { grid-column: auto; grid-row: auto; }
.gw-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.gw-player { margin-top: 14px; }
.gw-past { margin: 0; padding-left: 18px; line-height: 1.9; }
.sect { margin-top: 36px; }
.sect-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 9px; margin-bottom: 14px; border-bottom: 2px solid var(--rule); }
.sect-head h2 { margin: 0; }
/* mesajlar ve klanım */
.dm-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; padding: 14px 18px; }
@media (max-width: 620px) { .dm-form { grid-template-columns: 1fr; } }
.dm-list { max-height: 520px; overflow-y: auto; }
.dm-row, .ev-row { padding: 11px 18px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.dm-row:first-child, .ev-row:first-child { border-top: 0; }
.dm-row .dm-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 2px; }
.dm-row .dm-re { margin-left: auto; cursor: pointer; }
.dm-row.mine { background: var(--card-2); }
.dm-row.unread { box-shadow: inset 3px 0 0 var(--gold); }
.kasa-n { padding: 4px 18px; margin: 0; font: 700 30px/1 var(--head); font-stretch: var(--head-w); }
.ev-row .neg { color: var(--red); } .ev-row .pos { color: var(--green); }
td.warn { color: var(--red); }
.cm-msg { margin: 12px 18px 0 !important; padding: 10px 14px !important; border-radius: 10px; background: var(--green-soft); color: var(--ink) !important; font-size: 14px !important; }
.cm-msg.err { background: var(--red-soft); }
.cm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 18px; }
.cm-card { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cm-card h3 { margin: 0 0 2px; font-size: 18px; }
.cm-f { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-f.cm-col { flex-direction: column; }
.cm-f input, .cm-f textarea, .cm-l select { flex: 1 1 120px; padding: 9px 12px; border-radius: 10px; }
.cm-card .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
.cm-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-row .btn { flex: 1 1 140px; }
.cm-l { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cm-l select { width: 100%; }
.cm-s { margin: 0; font-size: 13px; }
.cm-list { display: flex; flex-direction: column; gap: 6px; }
.cm-app { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cm-app > span:last-child { margin-left: auto; display: flex; gap: 6px; }
.cm-b { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; white-space: nowrap; }
.cm-b:hover { border-color: var(--ink-3); }
.cm-b.red { color: var(--red); }
.cm-b.green { color: var(--green); }
.cm-b:disabled { opacity: .5; pointer-events: none; }
.cm-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.cm-log { padding: 0 18px 14px; }
.cm-log summary { cursor: pointer; font-weight: 600; padding: 4px 0 8px; }
@media (max-width: 860px) { .cm-grid { grid-template-columns: 1fr; } }
.cm-box { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.cm-cmd { align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.cm-cmd input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 4px !important; }
.cm-pre { font: 600 14px/1 var(--mono); padding-left: 8px; }
.cm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-pad { padding: 12px 18px; margin: 0; }
.cm-danger { margin-bottom: 6px; }
.cm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cm-head h1 { margin: 0; }
.cm-cname { font-weight: 600; }
.cm-me { margin-left: auto; }
.cm-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.cm-head + .cm-tabs + .cm-msg, .cm-head + .cm-msg, .cm-tabs + .cm-msg { margin: 0 0 14px !important; }
.cm-chathead { padding: 0 0 10px; }
.cm-hint { margin: 0 0 10px; }
@media (max-width: 600px) { .cm-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .cm-me { margin-left: 0; } }

/* ---------- yönetim paneli (staff.js) ---------- */
.staff fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.staff button:disabled { opacity: .5; cursor: default; }
.st-head { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 16px; padding: 16px 20px; border-radius: var(--r-big); background: var(--pitch); color: #fff; }
.st-head h1 { margin: 0; font-size: 34px; color: #fff; }
.st-me { display: inline-flex; align-items: center; gap: 8px; color: #e9e8e3; font-size: 14px; }
.st-role { display: inline-flex; padding: 2px 8px; border-radius: 6px; background: rgba(107, 162, 255, .18); color: #a9c4ff; font-size: 12px; font-weight: 600; }
#st-conn { background: rgba(255, 255, 255, .08); color: var(--on-pitch-2); }
#st-conn.live-pill { background: rgba(71, 166, 99, .2); color: #7fd49b; }
.st-tools { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.st-head .pill.st-pb { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; font-size: 13px; }
.st-head .pill.st-pb:hover { background: rgba(255, 255, 255, .18); }
.st-tabs { display: flex; width: 100%; margin-bottom: 18px; }
.st-n { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: #c0392b; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; margin-left: 2px; }
.st-off { color: var(--red); background: var(--red-soft); }
.st-small { font-size: 12px; }
.staff .grid { gap: 14px; }
.st-room { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.st-rhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 16px 6px; }
.st-rhead h2 { margin: 0; font: 700 16px/1.3 var(--body); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-rhead h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #47a663; }
.st-rhead .sub { margin-left: 0; font-size: 13px; }
.st-pls { padding: 0 16px 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.st-pl { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 4px 3px 8px; border-radius: 99px; background: var(--bg-2); min-width: 0; font-size: 13px; }
.st-pn { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.st-rl { margin-left: auto; }
.st-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--ink-3); }
.st-dot.t1 { background: var(--team-red); } .st-dot.t2 { background: var(--team-blue); }
.st-acts { display: inline-flex; gap: 3px; flex-wrap: wrap; }
.st-pl .st-acts { display: none; }
.st-pl:hover .st-acts, .st-pl:focus-within .st-acts { display: inline-flex; }
@media (hover: none) { .st-pl .st-acts { display: inline-flex; } }
.st-b { font: 600 12.5px/1.3 var(--body); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); white-space: nowrap; }
.st-b:hover:not(:disabled) { border-color: var(--ink-3); }
.st-b.red { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.st-b.armed, .st-red { background: var(--red) !important; color: #fff !important; border-color: var(--red) !important; }
.st-fslot:empty { display: none; }
.st-fslot { padding: 0 16px; }
.st-log { height: 260px; overflow-y: auto; padding: 8px 16px 10px; border-top: 1px solid var(--line); font-size: 14px; }
.st-line { display: block; padding: 3px 0 3px 52px; text-indent: -52px; overflow-wrap: anywhere; }
.st-line .tm { display: inline-block; min-width: 48px; margin-right: 4px; white-space: nowrap; text-indent: 0; color: var(--ink-3); font-size: 13px; }
.st-line .pill, .st-line .st-tag { text-indent: 0; } /* 19 Kas: asılı girinti etiketi saatin üstüne kaydırıyordu (DM sekmesi) */
.st-line .nm { font: inherit; font-weight: 600; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; text-align: left; overflow-wrap: anywhere; text-indent: 0; }
.st-line button.nm:hover { text-decoration: underline; }
.st-line .nm.t1 { color: #d0533e; } .st-line .nm.t2 { color: #3d6fd6; }
:root[data-theme="dark"] .st-line .nm.t1 { color: #ff9c8a; } :root[data-theme="dark"] .st-line .nm.t2 { color: #9db8ff; }
.st-line.blk { color: var(--ink-3); }
.st-line.blk .nm { color: var(--ink-3); }
.st-line.st-ev { padding-left: 0; text-indent: 0; text-align: center; color: var(--ink-3); font-size: 12px; }
.st-line.st-ev .tm { display: none; }
.st-line.st-ev .nm { color: var(--ink-2); font-weight: 600; }
.st-tag { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--red-soft); color: var(--red); white-space: nowrap; text-indent: 0; display: inline-block; }
.st-say { padding: 10px 12px; border-top: 1px solid var(--line); margin-top: auto; }
.st-say input { flex: 1 1 160px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); outline: none; }
.st-form { margin-top: 6px; margin-bottom: 8px; }
.st-form fieldset { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg-2); }
#st-off .st-form { margin-top: 0; }
.st-fh { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.st-x { margin-left: auto; background: none; border: 0; color: var(--ink-3); padding: 0 4px; }
.st-x:hover { color: var(--red); }
.st-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st-form input, .st-form select, .st-map input, .st-map select, .staff .st-search input, .staff .st-search select { min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); outline: none; }
.st-row input { flex: 1 1 160px; }
.st-form .chips button { padding: 4px 10px; font-size: 13px; }
.st-form .st-ops button.on { background: var(--ink); color: var(--inv); border-color: var(--ink); }
.st-form .note { margin-top: 0; }
.st-confirm { font-weight: 700; color: var(--red); overflow-wrap: anywhere; }
.st-item { display: grid; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.staff > #st-body > .card:has(> .st-item) { padding: 0; overflow: hidden; }
.st-item:last-child { border-bottom: 0; }
.st-item .st-row { margin-top: 4px; }
.st-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.staff td.st-wrap { white-space: normal; overflow-wrap: anywhere; min-width: 110px; }
.st-y fieldset { display: flex; gap: 8px; flex: 1; }
.st-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 12px; font-weight: 600; background: #1f2a23; color: #fff; box-shadow: var(--shadow-lg); overflow-wrap: anywhere; }
.st-toast.ok { background: #1f2a23; }
.st-toast.err { background: #b23a2e; }
.staff .st-older { display: block; margin: 0 auto 6px; }
.staff div.st-older { text-align: center; }
.staff .st-search { margin-bottom: 14px; }
.staff .st-search input { flex: 1 1 220px; }
.staff .st-search select { flex: 0 1 200px; }
.staff .st-sres { margin-top: 10px; max-height: 340px; border: 1px solid var(--line); border-radius: 10px; height: auto; }
.staff .st-search input.st-date { flex: 0 1 170px; }
.staff .st-nm { font: inherit; font-weight: inherit; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.staff .st-nm:hover, .st-sres button.nm:hover { text-decoration: underline; }
.staff .st-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.staff .st-act { color: var(--red); background: var(--red-soft); }
.staff .st-pchat { max-height: 420px; height: auto; }
.staff .card > h2 { font-size: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.staff .card > h2 .sub { margin-left: 0; }
.st-quickrow { gap: 8px; }
.st-quickrow .st-b { font-size: 13px; padding: 6px 12px; }
.st-map label { display: grid; gap: 6px; margin-bottom: 12px; color: var(--ink-2); font-size: 14px; }
.st-map input, .st-map select { flex: 1 1 140px; }
.st-mapsvg svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.st-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; }
.st-empty .chip { background: var(--card); border-color: var(--line-2); }
:root[data-theme="dark"] .mark { box-shadow: 0 0 0 1px #3a4440; }

/* ---------- 19 Kas, kayıtla 1:1 düzeltmeleri ---------- */
.lead { max-width: 640px; }
.pact .btn { min-height: 34px; padding: 0 14px; font-size: 14px; gap: 7px; }
.pact .cmd-c { padding: 3px 8px 3px 10px; }
.pact-g { flex-wrap: nowrap; }
@media (max-width: 1100px) { .pact-g { flex-wrap: wrap; } }
.subnav { margin: 30px 0 40px; }
/* son maçlar şeridi başlığın altına yapışır */
.ticker { position: sticky; top: 57px; z-index: 15; margin: 0 calc(50% - 50vw); }
.barrow .bn > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* yükleniyor iskeleti */
.skel { height: 300px; margin-top: 4px; border-radius: var(--r-big); background: linear-gradient(100deg, var(--bg-2) 30%, color-mix(in srgb, var(--bg-2) 50%, var(--card)) 50%, var(--bg-2) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
/* oturum düştü */
.lost { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 36px 16px 120px; }
.lost h1 { font-size: 34px; margin: 0; }
.lost p { color: var(--ink-2); margin: 0 0 14px; }
.lost .btn { box-shadow: var(--shadow); border-color: var(--line-2); }

/* yönetim: görünüm seçici, bütün odalar / tek oda */
.st-vrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.st-view { margin-bottom: 14px; }
.st-vrow .st-view { margin: 0; }
.st-hb { border: 0; background: none; color: var(--ink-2); font: 600 13px/1 var(--body); padding: 6px 4px; }
.st-hb:hover { color: var(--ink); }
.st-rhead { justify-content: space-between; }
.st-rhead h2 .st-state { display: none; }
.st-one .st-rhead h2 .st-state { display: inline; font: 600 13px var(--body); color: var(--green); }
.st-one .st-rhead h2 .st-state::before { content: "● "; }
.st-open { border: 0; background: none; color: var(--ink-2); font: 600 13px/1 var(--body); padding: 4px 2px; }
.st-open:hover { color: var(--ink); }
.st-empty .chip { cursor: pointer; }
.st-onegrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.st-rlist { display: grid; gap: 4px; }
.st-rp { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 14px/1.2 var(--body); }
.st-rp:hover { background: var(--bg-2); }
.st-rp small { color: var(--ink-3); }
.st-rp.on { background: var(--ink); color: var(--inv); }
.st-rp.on small { color: color-mix(in srgb, var(--inv) 70%, transparent); }
.st-one .st-rhead { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.st-one .st-rhead h2 { font: 700 22px/1.1 var(--head); font-stretch: var(--head-w); }
.st-one .st-rhead h2::before { display: none; }
.st-cols { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
.st-plcol { padding: 14px 16px; border-right: 1px solid var(--line); }
.st-colh { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); font-size: 12px; margin-bottom: 8px; }
.st-chatcol { display: flex; flex-direction: column; min-width: 0; }
.st-chatcol .st-colh { padding: 12px 16px 0; margin: 0; }
.st-chatcol .st-log { flex: 1; border-top: 0; height: 300px; }
.st-chatcol .st-search { margin: 8px 12px 0; padding: 12px; box-shadow: none; }
.st-one .st-pls { flex-direction: column; gap: 2px; padding: 0; }
.st-one .st-pl { background: none; border-radius: 6px; padding: 6px 0; width: 100%; font-size: 14px; }
.st-one .st-pl .st-pn { flex: 1; }
.st-one .st-fslot { padding: 0; }
.st-one .st-say { border-top: 0; }
@media (max-width: 860px) { .st-onegrid { grid-template-columns: 1fr; } .st-rlist { display: flex; overflow-x: auto; } .st-rp { flex: none; } .st-cols { grid-template-columns: 1fr; } .st-plcol { border-right: 0; border-bottom: 1px solid var(--line); } }
/* istekler */
.st-vh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.st-vh h2 { font-size: 26px; margin: 0; }
.st-vh p { margin: 2px 0 0; font-size: 13px; }
.st-vh input { height: 36px; width: 220px; max-width: 100%; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); outline: none; }
.st-req { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.st-req:first-child { border-top: 0; }
.st-req > div { flex: 1; min-width: 0; }
.st-req .st-text { font-size: 14.5px; }
.st-req small { color: var(--ink-3); font-size: 12px; }
.st-req small b { color: var(--ink-2); }
/* oyuncu */
.st-pform { margin-bottom: 14px; }
.st-pform input { flex: 0 1 380px !important; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); outline: none; }
.st-pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.st-pmain { display: grid; gap: 16px; min-width: 0; }
.st-pcard h2 { font-size: 30px !important; margin: 0 0 4px; }
.st-pmeta { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; }
.st-pmeta a { color: var(--ink); font-weight: 600; }
.st-ptabs { margin: 10px 12px; }
.st-ptabs small { color: inherit; opacity: .6; }
.st-pbody { border-top: 1px solid var(--line); }
.st-pbody .st-log { border: 0 !important; border-radius: 0; max-height: 460px; }
.st-pbody .tw { padding: 0 8px; }
.st-pbody .empty { padding: 30px 0; }
.st-rrow { padding: 10px 14px; border-top: 1px solid var(--line); }
.st-rrow:first-child { border-top: 0; }
.st-rmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.st-rmeta small { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.st-actcard h2 { margin: 0 !important; font-size: 22px !important; }
.st-actcard .st-sub { margin: 0 0 14px; }
@media (max-width: 860px) { .st-pgrid { grid-template-columns: 1fr; } }

/* klanım */
.cm-top { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 16px; border-radius: var(--r-big); background: var(--pitch); color: #fff; }
.cm-top > * { position: relative; }
.cm-top > .field { position: absolute; }
.cm-tt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.cm-tt h1 { margin: 0; color: #fff; font-size: 38px; }
.cm-top .cm-cname { color: #e9e8e3; }
.cm-top .cm-me { margin-left: auto; color: #e9e8e3; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cm-bank { color: var(--on-pitch-2); }
.cm-bank b { color: #fff; font: 700 18px/1 var(--head); font-stretch: var(--head-w); }
.cm-top .pill.st-pb { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; font-size: 13px; }
.cm-tabs { display: flex; margin-bottom: 18px; }
.cm-chatgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin-top: 18px; }
.cm-chatgrid aside { display: grid; gap: 14px; }
.cm-chatgrid aside .sec-h { margin-bottom: 8px; }
.cm-notice { padding: 14px 16px; border-radius: var(--r-card); background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.cm-notice p { margin: 4px 0; font-weight: 600; }
.cm-notice small { font-size: 12px; }
.cm-hint { margin: 14px 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cm-hint a { font-weight: 600; }
.mem td.acts { white-space: nowrap; text-align: right; }
.mem td.acts .cm-b { margin-left: 4px; }
.mem td.pl small { display: block; color: var(--ink-3); font-size: 12px; }
.hxwin.cm { background: none; border: 0; box-shadow: none; overflow: visible; }
.hxwin.cm > h2 { padding: 0 0 9px; margin: 28px 0 16px; border-bottom: 2px solid var(--rule); font-size: 28px; }
.hxwin.cm .cm-grid { padding: 0; }
.hxwin.cm .cm-card { background: var(--card); box-shadow: var(--shadow); border-radius: var(--r-card); padding: 16px; }
.hxwin.cm .cm-box, .hxwin.cm .cm-log { padding: 14px 0 0; }
@media (max-width: 860px) { .cm-chatgrid { grid-template-columns: 1fr; } }
.cg-t small { white-space: normal; overflow: visible; }
.cmdl { grid-template-columns: 200px minmax(0, 1fr); }
.sec-h h2 { font-size: 25px; }
.rt td { padding-top: 6px; padding-bottom: 6px; }
.rt td.pl > a { font-size: 14.5px; }
.lost h1 { margin-bottom: 6px; }
@media (max-width: 900px) { .rk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .cm-chatgrid, .st-pgrid, .st-onegrid, .cmdl { grid-template-columns: minmax(0, 1fr); } }
.errc { margin-top: 2px; padding: 14px 18px; color: var(--ink-2); }
.errc small { color: var(--ink-3); font-size: 12px; }
.staff .grid .st-room .st-older { display: none; }
.staff .grid .st-log { font-size: 13.5px; }

/* Şüpheliler (19 Kas): sayı sütunları sağa ve dar, ad sütunu esner; ad düğmeleri sade. */
.st-sus { width: 100%; }
.st-sus th.n, .st-sus td.n { text-align: right; white-space: nowrap; width: 1%; padding-left: 24px; font-variant-numeric: tabular-nums; }
.st-sus td:first-child .st-nm, .st-sus td:first-child button { background: none; border: 0; padding: 0; font-weight: 600; color: inherit; }
.st-sus td:first-child button { cursor: pointer; font: inherit; font-weight: 600; }
.st-sus td:first-child button:hover { text-decoration: underline; }

/* Siteden satın alma (19 Kas): bakiye kutusu, komut + Al düğmesi, sonuç şeridi (alt ortada, kapatılabilir). */
.wallet { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.wallet small { color: var(--ink-2); font-size: 13px; }
.wallet b { font-size: 20px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.buyw { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; max-width: 100%; vertical-align: middle; }
.it-sub .buyw { grid-column: 1 / -1; justify-self: start; }
.btn.buy { min-height: 30px; padding: 0 12px; }
.pkg { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.pkg h4 { margin: 0; font-size: 16px; }
.pkg .ticks { margin: 0; }
.pkg-k { color: var(--ink-2); font-size: 13.5px; }
.pkg-n { font-size: 13.5px; color: var(--ink-2); }
.pkg-r { display: grid; gap: 4px; padding: 8px 10px; border-radius: 9px; background: var(--card); border-left: 3px solid var(--green); }
.pkg-r.bad { border-left-color: var(--red); }
.pkg-r p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.pkg-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pkg-f span { font-size: 14px; }
.pkg-f .neg { color: var(--red); }
.pkg-f .btn s { opacity: .6; font-weight: 500; }
.pkg-f .btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.pkg.done { border-color: var(--green); }

/* Kendi karakterin (19 Kas): solda yapışkan önizleme, sağda seçimler, altta paket ve satın alma. */
.cc-tease { padding: 18px; border-radius: var(--r-card); background: var(--card); border: 1px dashed var(--line-2); display: grid; gap: 10px; justify-items: start; }
.cc-tease p { margin: 0; }
.cc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cc-pv { position: sticky; top: 130px; display: grid; gap: 8px; }
.cc-pv .fxstage { border-radius: var(--r-card); overflow: hidden; }
.cc-chat { background: var(--pitch); color: #eee; border-radius: 10px; padding: 8px 12px; font: 600 14px/1.5 var(--mono); }
.cc-f { display: grid; gap: 14px; min-width: 0; }
.cc-row { display: grid; gap: 6px; min-width: 0; }
.cc-row > span { font-weight: 600; font-size: 14px; }
.cc-row small { color: var(--ink-3); font-weight: 400; }
.cc-row input:not([type="color"]), .cc-row select { min-height: 40px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 500 15px var(--body); max-width: 100%; }
.cc-emo { display: flex; flex-wrap: wrap; gap: 4px; max-height: 128px; overflow: auto; padding: 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); }
.cc-emo button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent; background: transparent; font-size: 20px; line-height: 1; }
.cc-emo button:hover { background: var(--card); }
.cc-emo button.on { background: var(--card); border-color: var(--ink); }
.cc-cols > div { display: grid; gap: 8px; }
.cc-cols label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.cc-cols input[type="color"] { width: 38px; height: 30px; padding: 2px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--card); }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .25); vertical-align: -2px; margin-left: 3px; }
#ccpkg { margin-top: 16px; }
@media (max-width: 860px) { .cc { grid-template-columns: 1fr; } .cc-pv { position: static; } }

/* Mitik (19 Kas, Kraken): derin deniz zemini, mor-turkuaz çerçeve; efsanevi kartıyla aynı düzen. */
.t-mitik { background: linear-gradient(135deg, #12002b 0%, #0b2b33 100%); color: #fff; border: 2px solid #7c4dff; box-shadow: 0 0 0 1px #1de9b6 inset; }
.t-mitik .tier-h .chip { background: #1de9b6; color: #0b2b33; }
.t-mitik .tier-x { color: #b2fff0; }
.t-mitik .tier-p small { color: rgba(255, 255, 255, .7); }
.t-mitik .chr { background: rgba(255, 255, 255, .08); border-color: rgba(29, 233, 182, .45); color: #fff; }
.t-mitik .chr .chr-i { background: rgba(124, 77, 255, .35); border-color: #000; }
.t-mitik .chr.on { background: #1de9b6; color: #0b2b33; }
.t-mitik .chr-sel { background: rgba(255, 255, 255, .08); }
.t-mitik .chr-sel .muted { color: rgba(255, 255, 255, .7); }

/* Profilde karakter vitrini (20 Kas): kart ızgarası; seçili sarı kenarlı, altın kaplama (500+ gol) altın kenar ve parıltı. */
.pchars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.pch { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); min-width: 0; flex-wrap: wrap; }
.pch .chr-i { width: 42px; height: 42px; font-size: 21px; flex: none; }
.pch-t { display: grid; gap: 3px; flex: 1; min-width: 0; }
.pch-t b { font-size: 15px; overflow-wrap: anywhere; }
.pch-t small { color: var(--ink-2); font-size: 12.5px; }
.pch-b { color: var(--gold); font-weight: 700; }
.pch-bar { display: block; height: 5px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.pch-bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.pch.sel { border: 2px solid var(--yellow); box-shadow: 0 6px 18px -10px rgba(246, 236, 140, .8); }
.pch.gild { border-color: var(--gold); background: linear-gradient(135deg, var(--card) 60%, var(--gold-soft)); }
.pch.gild .pch-bar i { background: linear-gradient(90deg, var(--gold), #fff3b0); }
.pch-a { flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding-left: 54px; }

/* Klan Kalesi ve meydan okuması (20 Kas). */
.castle-card { display: grid; gap: 8px; justify-items: start; }
.castle-svg { width: 100%; max-width: 360px; height: auto; display: block; }
.castles h3 { margin: 0 0 8px; }
.castle-l { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.castle-l a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: inherit; }
.castle-l a:hover { background: var(--bg-2); }
.castle-l span { display: grid; min-width: 0; }
.castle-l b, .castle-l small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.castle-l small { color: var(--ink-3); }
.castle-v { font-variant-numeric: tabular-nums; }
.fxc.chal { border-left: 4px solid #ff6d00; }
