/* Edgeboard v2 — stil. Koyu tema varsayılan, açık tema data-theme="light". Tokens → bileşenler → duyarlılık. */

:root {
  --bg: #0a0e12;
  --surface: #11171d;
  --surface-2: #161e26;
  --surface-3: #1c2631;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --ink: #eef3f7;
  --ink-2: #c5cfd8;
  --muted: #8a98a6;
  --lime: #c7f542;
  --lime-ink: #0a0e12;
  --lime-soft: rgba(199, 245, 66, .12);
  --blue: #6fd3ff;
  --blue-soft: rgba(111, 211, 255, .12);
  --amber: #f5c26b;
  --amber-soft: rgba(245, 194, 107, .14);
  --red: #ff7b72;
  --red-soft: rgba(255, 123, 114, .14);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --glass: rgba(10, 14, 18, .78);
  --skeleton-a: #11171d;
  --skeleton-b: #1a232c;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 42px;
  --dur: .22s;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #f1f4f7;
  --surface-3: #e7ecf1;
  --line: rgba(10, 20, 30, .09);
  --line-strong: rgba(10, 20, 30, .18);
  --ink: #101820;
  --ink-2: #33414e;
  --muted: #64717e;
  --lime: #9fd21a;
  --lime-ink: #0d1400;
  --lime-soft: rgba(159, 210, 26, .16);
  --blue: #1d8fd0;
  --blue-soft: rgba(29, 143, 208, .12);
  --amber: #c98a12;
  --amber-soft: rgba(201, 138, 18, .14);
  --red: #d8433a;
  --red-soft: rgba(216, 67, 58, .12);
  --shadow: 0 18px 50px rgba(20, 30, 40, .16);
  --glass: rgba(246, 248, 250, .82);
  --skeleton-a: #eef1f4;
  --skeleton-b: #e2e7ec;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
body {
  margin: 0; min-width: 320px; min-height: 100vh;
  background: radial-gradient(circle at 92% -8%, var(--lime-soft), transparent 28rem), var(--bg);
  color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5;
  overflow-x: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.skip-link:focus { top: 12px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.kicker { color: var(--lime); font: 500 10px/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
.hint { color: var(--muted); font-size: 12px; }

/* ---------- üst çubuk ---------- */
.topbar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topbar-inner { max-width: 1440px; margin: 0 auto; padding: 10px var(--gutter); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 66px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-text strong { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .16em; }
.brand-text small { display: block; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; margin-top: 1px; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 6px; border: 1px solid var(--lime); border-radius: 8px; background: var(--lime-soft); }
.brand-mark span { display: block; background: var(--lime); border-radius: 1px; }
.brand-mark span:nth-child(1) { height: 44%; opacity: .55; } .brand-mark span:nth-child(2) { height: 76%; } .brand-mark span:nth-child(3) { height: 100%; opacity: .8; }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-2); transition: border-color var(--dur), color var(--dur), background var(--dur); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--lime); border-color: var(--lime); }
.icon-btn.is-busy svg { animation: spin 1s linear infinite; }
:root[data-theme="light"] .icon-moon, :root:not([data-theme="light"]) .icon-sun { display: none; }
.live-pill { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 500 12px var(--mono); letter-spacing: .06em; }
.live-pill:hover, .live-pill[aria-pressed="true"] { border-color: var(--lime); color: var(--lime); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.live-pill.has-live .live-dot, .chip-live[aria-pressed="true"] .live-dot, .status-live .live-dot { background: #37e07a; box-shadow: 0 0 0 0 rgba(55, 224, 122, .55); animation: pulse 1.6s infinite; }

/* arama */
.search { position: relative; min-width: 0; }
.search-icon { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
#searchInput { width: 100%; height: 42px; padding: 0 40px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); outline: none; transition: border-color var(--dur), box-shadow var(--dur); -webkit-appearance: none; appearance: none; }
#searchInput::-webkit-search-cancel-button { display: none; }
#searchInput::placeholder { color: var(--muted); }
#searchInput:focus { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.search-clear { position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.search-clear svg { width: 14px; height: 14px; }
.search-clear:hover { color: var(--ink); background: var(--surface-2); }
.search-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; max-height: min(70vh, 520px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.search-section { padding: 6px 0; border-top: 1px solid var(--line); }
.search-section:first-child { border-top: 0; }
.search-section-title { padding: 8px 14px 4px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.search-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 9px 14px; border: 0; background: transparent; text-align: left; color: var(--ink); min-height: 44px; }
.search-item:hover, .search-item[aria-selected="true"] { background: var(--surface-2); }
.search-item .si-text { display: grid; min-width: 0; }
.search-item .si-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 13px; }
.search-item .si-sub { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-item .si-right { color: var(--muted); font: 11px var(--mono); white-space: nowrap; }
.search-empty, .search-loading { padding: 16px 14px; color: var(--muted); font-size: 13px; }

/* ---------- kontroller ---------- */
.shell { max-width: 1440px; margin: 0 auto; padding: 18px var(--gutter) 40px; }
.controls { display: grid; gap: 10px; padding: 4px 0 14px; }
.controls-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.seg-btn { min-height: 34px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 12.5px var(--sans); white-space: nowrap; transition: background var(--dur), color var(--dur); }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-selected="true"], .seg-btn[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); }
.seg-compact { margin-left: auto; }
.seg-label { align-self: center; padding: 0 6px 0 9px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.date-custom { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.date-custom label { display: grid; gap: 3px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.date-custom input { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 12.5px; transition: border-color var(--dur), background var(--dur), color var(--dur); }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); color: var(--ink); }
.chip-dropdown svg { width: 14px; height: 14px; color: var(--muted); }
.chip-dropdown[aria-expanded="true"] { border-color: var(--lime); }
.league-filter { position: relative; }
.popover { position: absolute; top: calc(100% + 6px); left: 0; z-index: 45; width: min(340px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.popover-head { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--line); }
.popover-head input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); color: var(--ink); }
.btn-link { border: 0; background: none; color: var(--lime); font-weight: 700; font-size: 12px; padding: 0 6px; }
.popover-list { max-height: 320px; overflow: auto; padding: 6px; }
.league-opt { display: grid; grid-template-columns: 18px 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; width: 100%; min-height: 40px; padding: 5px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; font-size: 13px; }
.league-opt:hover { background: var(--surface-2); }
.league-opt .lo-check { width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 5px; display: grid; place-items: center; }
.league-opt[aria-selected="true"] .lo-check { background: var(--lime); border-color: var(--lime); }
.league-opt[aria-selected="true"] .lo-check::after { content: ""; width: 5px; height: 9px; border: solid var(--lime-ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.league-opt .lo-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-opt .lo-name small { display: block; color: var(--muted); font-size: 11px; }
.league-opt .lo-count { color: var(--muted); font: 11px var(--mono); }
.popover-empty { padding: 14px; color: var(--muted); font-size: 12px; }

/* ---------- metrikler ---------- */
.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 6px 0 18px; }
.metric { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-height: 96px; }
.metric-accent { background: linear-gradient(135deg, var(--lime-soft), var(--surface) 70%); }
.metric-label { display: block; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.metric strong { display: block; margin: 10px 0 2px; font: 600 28px var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric-accent strong { color: var(--lime); }
.metric small { color: var(--muted); font-size: 11px; }

/* ---------- bildirim şeridi ---------- */
.notice { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; }
.notice .crest { width: 22px; height: 22px; }
.notice strong { font-family: var(--display); }
.notice .btn { margin-left: auto; }

/* ---------- çalışma alanı & liste ---------- */
.workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); gap: 22px; align-items: start; }
.list-col { min-width: 0; }
.list-head { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.list-title h2 { margin-top: 6px; font-size: 24px; }
.list-tools { display: flex; align-items: center; gap: 8px; }
.count-chip { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font: 11px var(--mono); }
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; transition: border-color var(--dur), background var(--dur); }
.btn:hover { border-color: var(--lime); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 12px; }
.progress { flex-basis: 100%; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.progress-bar { height: 5px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .3s var(--ease); }
.progress-text { color: var(--muted); font: 11px var(--mono); }

.match-list { display: grid; gap: 8px; min-height: 200px; }
.group-head { position: sticky; top: 66px; z-index: 5; display: flex; align-items: center; gap: 9px; margin: 8px 0 0; padding: 8px 4px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink-2); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.group-head .crest { width: 20px; height: 20px; }
.group-head small { color: var(--muted); letter-spacing: .02em; text-transform: none; }
.group-head .gh-count { margin-left: auto; color: var(--muted); }

.match-card { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; color: var(--ink); transition: border-color var(--dur), transform var(--dur) var(--ease), background var(--dur); }
.match-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.match-card[aria-current="true"] { border-color: var(--lime); background: linear-gradient(90deg, var(--lime-soft), var(--surface) 55%); }
.match-card[aria-current="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--lime); }
.mc-meta { display: grid; gap: 5px; align-self: start; }
.mc-time { font: 500 14px var(--mono); }
.mc-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 6px; font: 500 10px var(--mono); letter-spacing: .04em; white-space: nowrap; width: max-content; }
.mc-status.live { color: #37e07a; background: rgba(55, 224, 122, .12); }
.mc-status.finished { color: var(--ink-2); background: var(--surface-3); }
.mc-status.other { color: var(--amber); background: var(--amber-soft); }
.mc-status.upcoming { color: var(--muted); background: var(--surface-2); }
.mc-league { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-teams { display: grid; gap: 7px; min-width: 0; }
.team-line { display: flex; align-items: center; gap: 9px; min-width: 0; }
.team-line .tl-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.team-line .tl-pos { color: var(--muted); font: 11px var(--mono); }
.team-line .tl-score { margin-left: auto; padding-left: 10px; font: 500 16px var(--mono); }
.crest { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: var(--surface-3); color: var(--muted); font: 500 8px var(--mono); }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface-3); }
.crest-lg { width: 48px; height: 48px; font-size: 12px; }
.mc-signal { display: grid; gap: 4px; justify-items: end; text-align: right; min-width: 92px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 6px; font: 600 10px var(--mono); letter-spacing: .08em; white-space: nowrap; }
.tag.value { color: var(--lime); background: var(--lime-soft); }
.tag.no_bet { color: var(--muted); border-style: dashed; }
.tag.no_odds { color: var(--amber); }
.tag.error { color: var(--red); }
.mc-signal .sig-sel { color: var(--ink-2); font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-signal .sig-edge { color: var(--lime); font: 11px var(--mono); }
.mc-signal .sig-conf { color: var(--muted); font: 11px var(--mono); }
.star { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 4px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); vertical-align: middle; opacity: .55; transition: color var(--dur), opacity var(--dur), transform var(--dur); }
.star svg { width: 15px; height: 15px; }
.star svg path { fill: transparent; }
.star:hover { opacity: 1; color: var(--amber); }
.star.on { opacity: 1; color: var(--amber); }
.star.on svg path { fill: currentColor; }
.star-lg { width: 36px; height: 36px; margin: 0; border: 1px solid var(--line); background: var(--surface); opacity: .9; }
.star-lg svg { width: 18px; height: 18px; }
.match-card.marked { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.pin { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: 600 10.5px var(--sans); transition: color var(--dur), border-color var(--dur), background var(--dur); }
.pin svg { width: 12px; height: 12px; }
.pin:hover { color: var(--blue); border-color: var(--blue); }
.pin.on { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.pin-icon { position: absolute; top: 6px; right: 6px; min-height: 22px; width: 22px; padding: 0; justify-content: center; }
.out .pin-icon { opacity: .45; }
.out:hover .pin-icon, .out .pin-icon.on, .out .pin-icon:focus-visible { opacity: 1; }
.cell { position: relative; }
.cell .pin-icon { top: 3px; right: 3px; width: 18px; min-height: 18px; }
.cell .pin-icon svg { width: 10px; height: 10px; }
.pill { position: relative; padding-right: 30px; }
.pill .pin-icon { top: 50%; right: 4px; transform: translateY(-50%); width: 20px; min-height: 20px; }
.reco-right { display: inline-flex; align-items: center; gap: 10px; }
.sg-right .pin { margin-top: 6px; }
/* Seçimlerim */
.picks-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 10px; }
.picks-summary > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.picks-summary small { display: block; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.picks-summary b { display: block; margin-top: 3px; font: 500 18px var(--display); font-variant-numeric: tabular-nums; }
.picks-summary b small { display: inline; text-transform: none; letter-spacing: 0; font-size: 11px; }
.picks-summary .ps-actions { display: grid; place-items: center; }
.picks { display: grid; gap: 8px; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius-sm); background: var(--surface); }
.pick.won { border-left-color: var(--lime); } .pick.lost { border-left-color: var(--red); } .pick.live { border-left-color: #37e07a; } .pick.push, .pick.unsettled { border-left-color: var(--amber); } .pick.pending { border-left-color: var(--blue); }
.pk-match { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 13.5px; text-align: left; cursor: pointer; }
.pk-match:hover { color: var(--lime); text-decoration: underline; }
.pk-sel { margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.pk-meta { margin-top: 3px; color: var(--muted); font: 11px var(--mono); }
.pk-nums { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 16px; text-align: right; }
.pk-nums span { display: grid; gap: 1px; }
.pk-nums small { color: var(--muted); font: 500 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pk-nums b { font: 500 13px var(--mono); }
.pk-nums .na { font: 10px var(--mono); }
.pk-side { display: grid; gap: 6px; justify-items: end; }
.pick-status { padding: 3px 8px; border-radius: 6px; font: 600 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pick-status.won { color: var(--lime); background: var(--lime-soft); } .pick-status.lost { color: var(--red); background: var(--red-soft); }
.pick-status.pending { color: var(--blue); background: var(--blue-soft); } .pick-status.live { color: #37e07a; background: rgba(55, 224, 122, .12); }
.pick-status.push, .pick-status.unsettled { color: var(--amber); background: var(--amber-soft); }
.btn-x { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; }
.btn-x:hover { color: var(--red); border-color: var(--red); }
.num.pos { color: var(--lime); } .num.neg { color: var(--red); }
@media (max-width: 640px) { .pick { grid-template-columns: minmax(0, 1fr) auto; } .pk-nums { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); text-align: left; } }
.btn-analyze { min-height: 34px; padding: 0 11px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue-soft); color: var(--blue); font: 600 11px var(--sans); white-space: nowrap; }
.btn-analyze:hover { background: var(--blue); color: #061018; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }

/* skeleton & durumlar */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--skeleton-a) 0%, var(--skeleton-b) 50%, var(--skeleton-a) 100%); background-size: 220% 100%; animation: shimmer 1.3s infinite; border: 1px solid var(--line); }
.skeleton-card { height: 92px; }
.skeleton-detail { min-height: 460px; }
.state { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.state-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--amber); }
.state-icon svg { width: 22px; height: 22px; }
.state h3 { font-size: 19px; }
.state p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; }
.state.error { border-color: rgba(255, 123, 114, .5); background: var(--red-soft); }
.state.error .state-icon { color: var(--red); }
.state .btn { margin-top: 6px; }

/* ---------- detay paneli ---------- */
.detail-panel { position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scrollbar-width: thin; }
.detail-head { padding: 18px 20px 0; }
.dh-league { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dh-league .crest { width: 18px; height: 18px; }
.dh-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 14px 0 12px; }
.dh-team { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 0; }
.dh-team strong { font-family: var(--display); font-size: 16px; line-height: 1.15; overflow-wrap: anywhere; }
.dh-team small { color: var(--muted); font: 11px var(--mono); }
.dh-center { display: grid; gap: 4px; justify-items: center; min-width: 76px; }
.dh-score { font: 500 30px var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dh-vs { color: var(--muted); font: 500 12px var(--mono); }
.dh-kick { color: var(--ink-2); font: 500 12px var(--mono); text-align: center; }
.dh-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font: 500 11px var(--mono); }
.dh-status.live { color: #37e07a; background: rgba(55, 224, 122, .12); }
.dh-status.finished { color: var(--ink-2); background: var(--surface-3); }
.dh-status.upcoming { color: var(--muted); background: var(--surface-2); }
.dh-status.other { color: var(--amber); background: var(--amber-soft); }
.dh-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.dh-facts span { display: inline-flex; gap: 5px; align-items: center; }
.dh-facts svg { width: 13px; height: 13px; }
.dh-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.dh-badges .tag { font-size: 11px; padding: 6px 10px; }
.ring { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.ring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .ring-track { stroke: var(--surface-3); }
.ring .ring-fill { stroke: var(--lime); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.ring.blue .ring-fill { stroke: var(--blue); }
.ring b { display: block; color: var(--ink); font: 500 13px var(--mono); }
.ring .ring-value { position: relative; }
.ring .ring-value b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; }

.tabs { position: sticky; top: 0; z-index: 4; display: flex; gap: 2px; padding: 8px 12px 0; overflow-x: auto; scrollbar-width: none; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 40px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--lime); border-bottom-color: var(--lime); }
.tab-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #37e07a; vertical-align: 1px; }
.tab-body { padding: 16px 20px 24px; }
.tab-body h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); font-weight: 500; margin: 0 0 10px; }
.block { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); margin-bottom: 14px; }
.block-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.block-title h3 { margin: 0; }
.block-title small { color: var(--muted); font-size: 11px; }
.empty-inline { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 12.5px; }
.na { color: var(--muted); }

/* üç kaynak bloğu */
.tri { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 6px 10px; align-items: center; font-size: 12px; }
.tri-head { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.tri-label { color: var(--ink-2); font-weight: 600; }
.tri-cell { display: grid; gap: 3px; }
.tri-cell .bar { height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.tri-cell .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--lime); transition: width .6s var(--ease); }
.tri-cell.market .bar i { background: var(--blue); }
.tri-cell.sm .bar i { background: var(--amber); }
.tri-cell b { font: 500 12px var(--mono); }
.tri-cell small { color: var(--muted); font: 10px var(--mono); }
.tri-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font: 11px var(--mono); }
.edge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 5px; font: 500 10px var(--mono); }
.edge.pos, .edge.neg, .edge.zero { color: var(--muted); background: var(--surface-3); }
.edge.value { color: var(--lime); background: var(--lime-soft); outline: 1px solid var(--lime); }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.kv div { padding: 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.kv span { display: block; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.kv b { display: block; margin-top: 4px; font: 500 16px var(--display); font-variant-numeric: tabular-nums; }
.kv small { color: var(--muted); font-size: 11px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); font: 500 11px var(--mono); }
.pill b { color: var(--lime); }

.signal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 8px; background: var(--surface); margin-bottom: 6px; }
.signal.strong { border-left-color: var(--lime); } .signal.moderate { border-left-color: var(--blue); } .signal.weak { border-left-color: var(--amber); }
.signal .sg-title { font-weight: 700; font-size: 13px; }
.signal .sg-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font: 11px var(--mono); }
.signal .sg-right { text-align: right; }
.signal .sg-right b { display: block; font: 500 16px var(--mono); color: var(--lime); }
.signal .sg-right small { color: var(--muted); font: 10px var(--mono); }
.strength { padding: 2px 6px; border-radius: 4px; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.strength.strong { color: var(--lime); background: var(--lime-soft); } .strength.moderate { color: var(--blue); background: var(--blue-soft); } .strength.weak { color: var(--amber); background: var(--amber-soft); }

.factors { display: grid; gap: 8px; }
.factor { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 12.5px; }
.factor span { color: var(--muted); } .factor small { display: block; color: var(--muted); font-size: 11px; }
.factor b { text-align: right; font-weight: 600; } .factor.positive b { color: var(--lime); } .factor.warning b { color: var(--amber); }
.coverage { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.cov { display: flex; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; }
.cov i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--mono); flex: 0 0 auto; }
.cov.ok i { background: var(--lime-soft); color: var(--lime); } .cov.no i { background: var(--red-soft); color: var(--red); }
.cov small { display: block; color: var(--muted); font-size: 10px; }
.reco { padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--lime-soft), var(--surface-2) 70%); margin-bottom: 14px; }
.reco.no_bet { background: var(--surface-2); border-style: dashed; } .reco.no_odds { background: var(--amber-soft); border-color: var(--amber); }
.reco-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.reco strong { font: 600 17px var(--display); }
.reco .reco-price { color: var(--lime); font: 500 16px var(--mono); }
.reco p { margin: 6px 0 0; color: var(--ink-2); font-size: 12.5px; }
.reco .reco-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; color: var(--muted); font: 11px var(--mono); }
.reco-verdict { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--lime); font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.reco.no_bet .reco-verdict, .reco.no_odds .reco-verdict { color: var(--muted); }
.reco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.reco-grid div { padding: 9px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.reco-grid span { display: block; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.reco-grid b { display: block; margin-top: 3px; font: 500 18px var(--display); font-variant-numeric: tabular-nums; }
.reco-grid small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.reco .reco-advice { font-weight: 600; color: var(--ink); }
.near { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px dashed var(--line-strong); }
.near-title { display: block; margin-bottom: 4px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.near-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 12px; }
.near-row:first-of-type { border-top: 0; }
.near-row small { color: var(--muted); font: 10.5px var(--mono); }
.near-row em { color: var(--amber); font-style: normal; font-size: 11.5px; }
.reco .reco-backtest { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--amber-soft); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.risk { padding: 2px 6px; border-radius: 4px; font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.risk.low { color: var(--lime); background: var(--lime-soft); } .risk.medium { color: var(--amber); background: var(--amber-soft); } .risk.high { color: var(--red); background: var(--red-soft); }
.legend { margin: 0 0 10px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.legend b { color: var(--ink-2); }
.help { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.help summary { cursor: pointer; color: var(--blue); font-size: 12px; font-weight: 600; }
.help dl, .glossary { margin: 8px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; font-size: 12px; }
.help dt, .glossary dt { color: var(--ink-2); font-weight: 600; }
.help dd, .glossary dd { margin: 0; color: var(--muted); line-height: 1.55; }
.about .glossary { max-width: 860px; }
@media (max-width: 520px) { .help dl, .glossary { grid-template-columns: 1fr; } .help dd, .glossary dd { margin-bottom: 4px; } }

/* marketler */
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--surface-2); overflow: hidden; }
.acc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; background: transparent; color: var(--ink); text-align: left; }
.acc-head h4 { font-size: 14px; } .acc-head small { display: block; color: var(--muted); font-size: 11px; font-family: var(--sans); font-weight: 500; }
.acc-head .src { padding: 3px 7px; border-radius: 5px; font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.src.model { color: var(--lime); background: var(--lime-soft); } .src.sportmonks { color: var(--amber); background: var(--amber-soft); } .src.market { color: var(--blue); background: var(--blue-soft); }
.acc-head .chev { width: 16px; height: 16px; color: var(--muted); transition: transform var(--dur); }
.acc-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-body { padding: 0 12px 12px; }
.acc-note { margin: 0 0 8px; color: var(--muted); font-size: 11.5px; }
.mrow { padding: 10px 0; border-top: 1px solid var(--line); }
.mrow-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; font-weight: 700; font-size: 12.5px; }
.mrow-title small { color: var(--muted); font: 11px var(--mono); font-weight: 400; }
.mrow-note { color: var(--muted); font-size: 11px; margin: 0 0 6px; }
.outs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.outs.wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.out { position: relative; display: grid; gap: 3px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 11px; }
.out.value { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime-soft); }
.out .o-label { font-weight: 700; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.out .o-bar { height: 4px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.out .o-bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: inherit; transition: width .5s var(--ease); }
.out .o-line { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font: 10.5px var(--mono); }
.out .o-line b { color: var(--ink); font-weight: 500; }
.out .o-best { color: var(--muted); font: 10px/1.35 var(--mono); overflow-wrap: anywhere; }
.out .sm-tag { color: var(--amber); }
.grid3 { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); gap: 4px; font-size: 11px; }
.grid3 .g-head { text-align: center; color: var(--muted); font: 500 10px var(--mono); padding: 4px 0; }
.grid3 .g-row { color: var(--muted); font: 500 10px var(--mono); display: flex; align-items: center; }
.heat { display: grid; grid-template-columns: 30px repeat(6, minmax(0, 1fr)); gap: 3px; }
.heat .h-head { text-align: center; color: var(--muted); font: 500 10px var(--mono); padding: 2px 0; }
.heat .h-row { display: flex; align-items: center; color: var(--muted); font: 500 10px var(--mono); }
.cell { display: grid; place-items: center; gap: 1px; min-height: 42px; padding: 3px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.cell b { font: 500 11px var(--mono); } .cell small { font: 9.5px var(--mono); color: var(--muted); }
.cell.value { outline: 1.5px solid var(--lime); }
.cell.top b { color: var(--lime); }
.heat-legend { display: flex; gap: 8px; margin-top: 6px; color: var(--muted); font: 10px var(--mono); }
.heat-legend i { display: inline-block; width: 40px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--surface), var(--lime)); }
.cs-other { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* form */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-block { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); min-width: 0; }
.tb-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.tb-head strong { font-family: var(--display); font-size: 14px; } .tb-head small { display: block; color: var(--muted); font-size: 11px; }
.form-strip { display: flex; gap: 4px; flex-wrap: wrap; }
.form-dot { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; font: 600 11px var(--mono); }
.form-dot.W { color: var(--lime); background: var(--lime-soft); } .form-dot.D { color: var(--amber); background: var(--amber-soft); } .form-dot.L { color: var(--red); background: var(--red-soft); }
.form-dot.sm { width: 18px; height: 18px; font-size: 9px; border-radius: 4px; }
.stat-list { display: grid; gap: 5px; margin: 10px 0; font-size: 12px; }
.stat-list div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.stat-list span { color: var(--muted); } .stat-list b { font: 500 12px var(--mono); }
.sub-title { margin: 12px 0 6px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th { text-align: left; padding: 6px 6px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl td.num, .tbl th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl .t-team { display: flex; gap: 7px; align-items: center; min-width: 0; max-width: 200px; }
.tbl .t-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .crest { width: 18px; height: 18px; font-size: 7px; }
.tbl tr.hl-home td { background: var(--lime-soft); } .tbl tr.hl-away td { background: var(--blue-soft); }
.res { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font: 600 10px var(--mono); }
.res.W { color: var(--lime); background: var(--lime-soft); } .res.D { color: var(--amber); background: var(--amber-soft); } .res.L { color: var(--red); background: var(--red-soft); }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; align-items: end; height: 70px; margin: 6px 0 2px; }
.bars div { display: grid; align-content: end; justify-items: center; gap: 3px; height: 100%; }
.bars i { display: block; width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; background: var(--lime); }
.bars.against i { background: var(--red); }
.bars small { color: var(--muted); font: 9px var(--mono); }
.bars b { font: 500 10px var(--mono); }
.h2h-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.h2h-summary div { padding: 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.h2h-summary b { display: block; font: 500 20px var(--display); } .h2h-summary span { color: var(--muted); font-size: 11px; }
.winner { color: var(--lime); font-weight: 700; }
.lineup { display: grid; gap: 4px; }
.player { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 7px; background: var(--surface); font-size: 12.5px; }
.player .p-no { color: var(--muted); font: 500 11px var(--mono); text-align: right; }
.player .p-pos { padding: 2px 6px; border-radius: 4px; background: var(--surface-3); color: var(--muted); font: 500 9px var(--mono); }
details.fold { margin-top: 8px; } details.fold summary { cursor: pointer; color: var(--lime); font-weight: 700; font-size: 12px; padding: 6px 0; list-style: none; } details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::before { content: "+ "; } details.fold[open] summary::before { content: "− "; }
.side { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; background: var(--surface); font-size: 12px; }
.side .cat { padding: 2px 6px; border-radius: 4px; font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cat.injured { color: var(--red); background: var(--red-soft); } .cat.suspended { color: var(--amber); background: var(--amber-soft); } .cat.other { color: var(--muted); background: var(--surface-3); }
.toggle-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.odds-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.odds-card { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, auto); gap: 6px 12px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 12px; }
.odds-card .oc-k { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.odds-card b { font: 500 12px var(--mono); }

/* canlı */
.live-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 14px; text-align: center; }
.live-head .lh-score { font: 500 36px var(--display); letter-spacing: -.02em; }
.live-head .lh-min { display: inline-flex; align-items: center; gap: 6px; color: #37e07a; font: 500 13px var(--mono); }
.live-head small { display: block; color: var(--muted); font: 11px var(--mono); }
.timeline { display: grid; gap: 6px; }
.ev { display: grid; grid-template-columns: 44px 26px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.ev.away { grid-template-columns: minmax(0, 1fr) 26px 44px; text-align: right; }
.ev .ev-min { color: var(--muted); font: 500 11px var(--mono); }
.ev .ev-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-3); }
.ev .ev-icon svg { width: 14px; height: 14px; }
.ev.goal .ev-icon { background: var(--lime-soft); color: var(--lime); } .ev.yellowcard .ev-icon { background: var(--amber-soft); color: var(--amber); } .ev.redcard .ev-icon, .ev.yellowredcard .ev-icon { background: var(--red-soft); color: var(--red); } .ev.substitution .ev-icon { background: var(--blue-soft); color: var(--blue); }
.ev small { display: block; color: var(--muted); font-size: 11px; }
.stat-bar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; align-items: center; margin: 7px 0; font: 500 12px var(--mono); }
.stat-bar .sb-label { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.stat-bar .sb-track { display: flex; height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.stat-bar .sb-track i { display: block; height: 100%; } .stat-bar .sb-track i.h { background: var(--lime); } .stat-bar .sb-track i.a { background: var(--blue); }
.stat-bar .sb-a { text-align: right; }

/* ---------- alt bilgi ---------- */
.about { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--lime); font: 500 13px var(--mono); }
.about strong { font-size: 13px; }
.about p { max-width: 760px; margin: 5px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.about p b { color: var(--ink-2); }
.about-side { padding-left: 18px; border-left: 1px solid var(--line); text-align: right; }
.about-side span, .about-side b, .about-side small { display: block; font: 10px var(--mono); }
.about-side span { color: var(--muted); } .about-side b { margin-top: 4px; color: var(--amber); letter-spacing: .08em; } .about-side small { margin-top: 8px; color: var(--muted); font-size: 9px; }
.footer { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 12px; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }

/* ---------- sheet (mobil detay) ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--bg); transform: translateY(100%); transition: transform .32s var(--ease); }
.sheet.is-open { transform: translateY(0); }
.sheet-head { display: flex; gap: 10px; align-items: center; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); flex: 0 0 auto; }
.sheet-title { min-width: 0; font-family: var(--display); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-title small { display: block; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom); }
.sheet-body .tabs { top: 0; }

/* ---------- animasyon ---------- */
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(55, 224, 122, .55); } 70% { box-shadow: 0 0 0 6px rgba(55, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 224, 122, 0); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fade-in .25s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sheet { transition: none; }
}

/* ---------- duyarlılık ---------- */
@media (max-width: 1180px) { .workspace { grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); } .metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .workspace { grid-template-columns: 1fr; }
  .detail-panel { display: none; }
  .seg-compact { margin-left: 0; }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .topbar-inner { grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 8px 10px; padding: 10px var(--gutter); }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .topbar-actions { grid-column: 2; justify-self: end; }
  .live-pill-text { display: none; }
  .brand-text small { display: none; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg-btn { padding: 0 11px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric { min-height: 84px; padding: 12px 13px; }
  .metric strong { font-size: 24px; margin-top: 8px; }
  .metric:last-child { grid-column: 1 / -1; }
  .list-head { align-items: start; }
  .match-card { grid-template-columns: 62px minmax(0, 1fr); gap: 10px 12px; padding: 12px 13px; }
  .mc-signal { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; justify-items: start; text-align: left; align-items: center; gap: 4px 10px; }
  .mc-signal .sig-sel { max-width: none; }
  .group-head { top: 106px; }
  .two-col { grid-template-columns: 1fr; }
  .tri { grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tab-body { padding: 14px 16px 24px; }
  .detail-head { padding: 14px 16px 0; }
  .dh-teams { grid-template-columns: 1fr auto 1fr; gap: 6px; }
  .dh-team strong { font-size: 14px; }
  .about { grid-template-columns: auto 1fr; }
  .about-side { grid-column: 1 / -1; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .footer { flex-direction: column; gap: 4px; }
  .odds-card { grid-template-columns: 1fr 1fr; }
  .outs { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .h2h-summary { gap: 4px; }
}
@media (min-width: 981px) { .sheet { display: none; } }
