/* =========================================================================
   transferhaberleri.net · fussball.tr — "Scoreboard" tasarım sistemi
   Veri öncelikli, sade, yoğun. Tek vurgu rengi (site başına), nötr yüzeyler,
   tablo rakamları, ince çizgiler. Açık/koyu tema sistem ayarından gelir.
   ========================================================================= */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Belirteçler ---------- */
:root {
  color-scheme: light dark;
  --accent: #e0242f;
  --accent-hover: #c41d27;
  --away: #3b4452;

  --bg: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --hover: #f3f5f8;
  --ink: #14171c;
  --ink-2: #4a5260;
  --ink-3: #8a919d;
  --line: #e5e8ec;
  --line-2: #d6dae1;
  --head-bg: #15181d;

  --win: #15a34a;
  --draw: #9aa1ab;
  --loss: #dc2b2b;
  --warn: #d97706;
  --info: #2563eb;
  --yellow: #f5c518;
  --red: #dc2b2b;
  --scrim: rgba(12, 14, 18, .5);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-pop: 0 12px 32px -8px rgba(16, 24, 40, .22), 0 2px 6px rgba(16, 24, 40, .06);

  --r: 12px;
  --r-sm: 8px;
  --gutter: 16px;
  --topbar-h: 56px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body.t-de { --accent: #2457f5; --accent-hover: #1c46d1; }
body { --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent); --accent-line: color-mix(in srgb, var(--accent) 35%, transparent); }

@media (prefers-color-scheme: dark) {
  :root {
    --away: #9aa5b4;
    --bg: #0b0d10;
    --surface: #15181d;
    --surface-2: #1b1f25;
    --hover: #1c2027;
    --ink: #eef0f3;
    --ink-2: #aab1bc;
    --ink-3: #6f7884;
    --line: #23272f;
    --line-2: #2f343d;
    --head-bg: #101216;
    --win: #22c55e;
    --loss: #f04444;
    --draw: #6f7884;
    --info: #5b8cff;
    --scrim: rgba(0, 0, 0, .62);
    --shadow: none;
    --shadow-pop: 0 16px 40px -10px rgba(0, 0, 0, .7);
  }
  body { --accent: #ff3d48; --accent-hover: #ff5a63; --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent); }
  body.t-de { --accent: #4f7dff; --accent-hover: #6b91ff; }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 64px); }
body {
  margin: 0; min-height: 100vh;
  font: 400 14px/1.45 var(--font); font-feature-settings: "cv11", "ss01"; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  overflow-x: hidden; display: flex; flex-direction: column;
}
.shell, .admin-main { flex: 1 0 auto; width: 100%; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0 0 .75rem; }
code, .mono { font-family: var(--mono); font-size: .875em; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.strong { font-weight: 700; }
.tabular, .num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
.pressable { -webkit-tap-highlight-color: transparent; }
.i { width: 1em; height: 1em; flex: none; vertical-align: -.15em; }
.i.flip { transform: rotate(180deg); }

/* ---------- Tipografi ---------- */
.display { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.title { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.card-title { font-size: 15px; line-height: 1.35; font-weight: 700; margin-bottom: 10px; }
.eyebrow { font-size: 11.5px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 0 0 6px; }
.eyebrow a { color: inherit; }
.lede { font-size: 15px; color: var(--ink-2); margin: 6px 0 0; max-width: 46rem; }

/* ---------- Üst çubuk ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--head-bg); color: #fff; }
.topbar-inner { max-width: 1280px; margin: 0 auto; height: var(--topbar-h); display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.wordmark:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.top-search { display: none; position: relative; flex: 0 1 380px; margin-left: 20px; }
.top-search .i { position: absolute; left: 11px; top: 50%; translate: 0 -50%; color: rgba(255, 255, 255, .5); font-size: 16px; pointer-events: none; }
.top-search input { width: 100%; height: 36px; padding: 0 12px 0 36px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 13.5px; box-shadow: none; }
.top-search input::placeholder { color: rgba(255, 255, 255, .5); }
.top-search input:focus { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); box-shadow: none; }
.primary { display: none; gap: 2px; margin-left: auto; }
.primary a { color: rgba(255, 255, 255, .72); padding: 7px 12px; border-radius: 6px; font-weight: 600; font-size: 13.5px; }
.primary a:hover { text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); }
.primary a.is-current { color: #fff; background: rgba(255, 255, 255, .12); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); color: var(--ink-2); flex: none; font-size: 18px; }
.icon-btn:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.topbar .icon-btn { color: rgba(255, 255, 255, .8); margin-left: auto; }
.topbar .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-switch { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; padding: 4px 8px; }
.site-switch:hover { text-decoration: none; color: #fff; border-color: rgba(255, 255, 255, .5); }
.topbar .btn-plain { color: rgba(255, 255, 255, .8); }
.topbar .btn-plain:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@media (min-width: 1024px) {
  .top-search, .primary { display: flex; }
  .top-search-link { display: none !important; }
  .primary + .site-switch, .primary ~ .site-switch { margin-left: 8px; }
}

/* Branş şeridi */
.sportbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.sportbar-inner { max-width: 1280px; margin: 0 auto; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 calc(var(--gutter) - 8px); }
.sportbar-inner::-webkit-scrollbar { display: none; }
.sport { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 10px; white-space: nowrap; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.sport .i { font-size: 17px; color: var(--ink-3); }
.sport:hover { text-decoration: none; color: var(--ink); }
.sport.is-current { color: var(--accent); }
.sport.is-current .i { color: var(--accent); }
.sport.is-current::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }

/* ---------- İskelet ---------- */
.shell { max-width: 1280px; margin: 0 auto; padding: 16px var(--gutter) 32px; display: grid; gap: 16px; }
@media (min-width: 1024px) { .shell { grid-template-columns: 240px minmax(0, 1fr); padding-top: 20px; } }
@media (max-width: 599px) { .shell { padding: 12px 10px 24px; } :root { --gutter: 12px; } }
.sidebar { display: none; }
@media (min-width: 1024px) { .sidebar { display: block; position: sticky; top: calc(var(--topbar-h) + 20px); align-self: start; } }
.content { min-width: 0; }
.page-head { margin: 4px 0 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head { margin: 24px 0 10px; }
.section-title { margin: 24px 0 10px; }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; box-shadow: var(--shadow); }
.side-title { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; padding: 10px 10px 6px; }
.league-list { display: grid; gap: 1px; }
.league-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r-sm); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.league-link:hover { background: var(--hover); text-decoration: none; }
.league-link.is-current { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ll-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-more { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.side-more:hover { text-decoration: none; color: var(--accent-hover); }
.flag { display: inline-grid; place-items: center; flex: none; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 5px; background: var(--surface-2);
        border: 1px solid var(--line); font-size: 9.5px; font-weight: 700; letter-spacing: .03em; color: var(--ink-2); }
.flag-lg { min-width: 48px; height: 48px; border-radius: 10px; font-size: 13px; }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card .pad, .card-title.pad { padding: 14px 16px 0; }
.empty { color: var(--ink-2); }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 48px 16px; color: var(--ink-3); text-align: center; }
.empty-state .i { font-size: 32px; }
.notice { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent); color: var(--ink); border-radius: var(--r-sm); padding: 10px 14px; }
.split { display: grid; gap: 12px; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } .split > .card { margin-bottom: 0; } }
.grid-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-cards > .card, .grid-cards > li > .card { margin: 0; height: 100%; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.attribution { margin-top: 16px; }
.footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 24px var(--gutter) 28px; }
.footer-brand { color: var(--ink-2); }
.footer-brand strong { color: var(--ink); }

/* ---------- Çipler ---------- */
.chip, .fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; white-space: nowrap; border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); cursor: pointer; }
.chip:hover, .fchip:hover { text-decoration: none; color: var(--ink); border-color: var(--ink-3); }
.chip.is-current, .fchip.is-current { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip-count, .fchip-n { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.chip .i { font-size: 15px; }

/* ---------- Ana sayfa ---------- */
.home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.home-main, .home-aside { min-width: 0; }
@media (min-width: 1200px) { .home { grid-template-columns: minmax(0, 1fr) 340px; } .home-aside { position: sticky; top: calc(var(--topbar-h) + 20px); } }
.board { padding: 0; overflow: hidden; }
.date-nav { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.date-strip { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); gap: 4px; overflow-x: auto; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.day { display: grid; justify-items: center; gap: 1px; padding: 6px 4px; border-radius: var(--r-sm); color: var(--ink-2); }
.day:hover { text-decoration: none; background: var(--hover); color: var(--ink); }
.day-l { font-size: 12.5px; font-weight: 600; text-transform: capitalize; }
.day-d { font-size: 11.5px; color: var(--ink-3); }
.day.is-current { background: var(--accent); color: #fff; }
.day.is-current .day-d { color: rgba(255, 255, 255, .8); }
.filter-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }

.lg + .lg { border-top: 1px solid var(--line); }
.lg[hidden] { display: none; }
.lg-head { display: flex; align-items: center; gap: 10px; padding: 9px 16px; background: var(--surface-2); color: var(--ink); border-bottom: 1px solid var(--line); }
.lg-head:hover { text-decoration: none; }
.lg-head:hover .lg-name { color: var(--accent); }
.lg-name { font-size: 13px; font-weight: 700; }
.lg-go { margin-left: auto; color: var(--ink-3); font-size: 15px; }

/* ---------- Maç satırı ---------- */
.group { padding: 0; overflow: hidden; }
.group-head { font-size: 13px; font-weight: 700; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.group-head a { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.match-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 58px; padding: 8px 16px 8px 10px; color: var(--ink); }
.match-row.has-date { grid-template-columns: 70px minmax(0, 1fr) auto; }
.match-row + .match-row { border-top: 1px solid var(--line); }
.match-row:hover { text-decoration: none; background: var(--hover); }
.match-row[hidden] { display: none; }
.mr-time { display: grid; justify-items: center; gap: 1px; align-self: stretch; align-content: center; border-right: 1px solid var(--line); padding-right: 8px;
           font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: center; }
.mr-status { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.mr-teams { display: grid; gap: 5px; min-width: 0; }
.mr-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 500; }
.mr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-score { display: grid; gap: 5px; text-align: right; font-size: 14px; font-weight: 600; min-width: 20px; }
.is-winner { font-weight: 700; color: var(--ink); }
.is-loser { color: var(--ink-2); }
.mr-score .is-loser { color: var(--ink-3); }
.round { padding: 0; overflow: hidden; }

/* Görsel yer tutucu: logo yoksa boş kalır, hizalama korunur */
.slot { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; }
.slot-av { width: 32px; height: 32px; }
.slot-lg { width: 64px; height: 64px; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--accent); color: #fff; }
.badge-muted { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Kenar sütunu bileşenleri ---------- */
.widget { padding: 0; overflow: hidden; }
.widget-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 16px 10px; }
.widget-head h2 { font-size: 15px; }
.widget-head a { font-size: 12.5px; font-weight: 600; }
.news-mini > li + li, .transfer-mini > li + li { border-top: 1px solid var(--line); }
.nm { display: flex; gap: 12px; padding: 11px 16px; color: var(--ink); }
.nm:hover { text-decoration: none; background: var(--hover); }
.nm:hover .nm-title { color: var(--accent); }
.nm-img { flex: none; width: 76px; height: 54px; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.nm-img img { width: 100%; height: 100%; object-fit: cover; }
.nm-text { display: grid; gap: 4px; align-content: start; min-width: 0; }
.nm-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm-meta { font-size: 12px; color: var(--ink-3); }
.nm-cat { color: var(--accent); font-weight: 600; }
.nm-lead { flex-direction: column; padding-top: 0; }
.nm-lead .nm-img { width: auto; height: auto; aspect-ratio: 16 / 9; margin: 0 -16px; border-radius: 0; }
.nm-lead .nm-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.tm-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--ink); }
.tm-row:hover { text-decoration: none; background: var(--hover); }
.tm-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.tm-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-clubs { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-clubs strong { color: var(--ink); font-weight: 600; }
.tm-side { display: grid; justify-items: end; gap: 3px; }
.tm-fee { font-size: 12px; font-weight: 700; }
.arrow { color: var(--ink-3); }

/* ---------- Sekmeler ---------- */
.tabs { margin-top: 0; }
.segmented { position: sticky; top: var(--topbar-h); z-index: 20; display: flex; gap: 4px; padding: 0 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none;
             background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.segmented::-webkit-scrollbar { display: none; }
.seg { flex: 0 0 auto; position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 14px 10px; cursor: pointer; white-space: nowrap; transition: color .15s; }
.seg:hover { color: var(--ink); }
.seg[aria-selected="true"] { color: var(--accent); }
.seg-indicator { position: absolute; z-index: 2; bottom: 0; left: 0; height: 2px; width: 0; border-radius: 2px 2px 0 0; background: var(--accent); will-change: transform, width; display: none; }
.js .seg-indicator { display: block; }
html:not(.js) .seg[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
.panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .panel + .panel { margin-top: 24px; }
.js .pager { overflow: hidden; touch-action: pan-y; transition: height .3s var(--ease); }
.js .pager.is-dragging { transition: none; }
.js .pager-track { display: flex; align-items: flex-start; will-change: transform; }
.js .panel { flex: 0 0 100%; min-width: 0; outline: none; }
.js .panel[aria-hidden="true"] { visibility: hidden; }
.js .pager.is-dragging .panel { visibility: visible; }
.tab-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.season-select select { width: auto; height: 32px; padding: 0 30px 0 12px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; background-color: var(--surface); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); background: var(--surface-2); }
tbody tr:hover { background: var(--hover); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 500; }
th.num, td.num { text-align: right; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
.standings th.num, .standings td.num { text-align: center; }
.standings .pos { width: 40px; }
.standings .pos span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.standings tbody tr:nth-child(-n+4) .pos span { background: var(--accent); color: #fff; }
.standings tbody tr:nth-last-child(-n+3) .pos span { background: var(--loss); color: #fff; }
.standings .team-col { width: 100%; }
.standings a { color: var(--ink); }
.standings a:hover { color: var(--accent); text-decoration: none; }
.standings td.strong { font-weight: 700; }
.standings tr.is-highlight > * { background: var(--accent-soft); }
@media (max-width: 599px) { .hide-s { display: none; } }
.pill { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; }
span.form { display: inline-flex; gap: 3px; }
.pill-w { background: var(--win); } .pill-d { background: var(--draw); } .pill-l { background: var(--loss); }
.team-cell { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }

/* ---------- Maç başlığı ---------- */
.match-head { padding: 0; overflow: hidden; }
.mh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.mh-meta a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.dot-sep::before { content: "·"; margin: 0 8px; color: var(--ink-3); }
.mh-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 24px 16px 22px; }
.mh-team { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ink); min-width: 0; }
a.mh-team:hover { text-decoration: none; }
a.mh-team:hover .mh-name { color: var(--accent); }
.mh-name { font-size: 15px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.mh-mid { display: grid; justify-items: center; gap: 6px; min-width: 120px; }
.mh-score { display: flex; align-items: center; gap: 12px; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.mh-score .sep { color: var(--ink-3); font-weight: 400; }
.mh-time { font-size: 30px; }
.mh-status { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.mh-status.is-ft { color: var(--ink-2); }
.mh-ht { font-size: 12px; color: var(--ink-3); }
.mh-foot { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 599px) { .mh-score { font-size: 32px; gap: 8px; } .mh-mid { min-width: 88px; } .slot-lg, .mh-team .crest-lg { width: 48px; height: 48px; } .mh-name { font-size: 14px; } }

/* Eski başlık sınıfları (yönetim/arşiv uyumluluğu) */
.hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 16px; text-align: center; }
.hero-team { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.hero-name { font-size: 15px; font-weight: 700; }
.hero-mid { display: grid; justify-items: center; gap: 6px; }
.hero-score { font-size: 40px; line-height: 1; font-weight: 700; }
.hero-score .sep { color: var(--ink-3); margin: 0 .2em; font-weight: 400; }
.hero-value { font-size: 18px; font-weight: 700; margin: 4px 0 0; }

/* ---------- Profil başlığı (oyuncu / kulüp / teknik direktör) ---------- */
.profile-head { padding: 0; overflow: hidden; }
.ph-top { display: flex; align-items: center; gap: 18px; padding: 20px; }
.ph-id { min-width: 0; }
.ph-name { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.ph-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ph-sub a { color: var(--ink); font-weight: 600; }
.ph-sub a:hover { color: var(--accent); text-decoration: none; }
.ph-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); margin: 0; border-top: 1px solid var(--line); overflow: hidden; }
.ph-stats > div { padding: 12px 16px; min-width: 0; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.ph-stats dt { font-size: 12px; color: var(--ink-3); }
.ph-stats dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.ph-stats .is-key dd { color: var(--accent); }
.entity-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.entity-head .ph-sub { margin-top: 2px; }
@media (max-width: 599px) { .ph-top { padding: 16px; gap: 14px; } .ph-name { font-size: 20px; } }

.facts { display: grid; padding: 2px 16px; }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.facts dd a { color: var(--ink); }
.facts dd a:hover { color: var(--accent); }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 12px; }
.kpis > .card { margin: 0; }
.kpi { display: grid; gap: 4px; }
.kpi-v { font-size: 22px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.kpi-l { font-size: 12px; color: var(--ink-3); }

/* ---------- Olay akışı ---------- */
.timeline { display: grid; padding: 0; overflow: hidden; }
.ev { display: grid; grid-template-columns: 44px 22px 1fr; align-items: center; gap: 10px; padding: 10px 16px; }
.ev + .ev { border-top: 1px solid var(--line); }
.ev-away { direction: rtl; }
.ev-away > * { direction: ltr; }
.ev-away .ev-body { text-align: right; }
.ev-min { font-size: 12px; text-align: center; font-weight: 700; color: var(--ink-2); background: var(--surface-2); border-radius: 6px; padding: 2px 0; }
.ev-ico { display: grid; place-items: center; color: var(--ink-3); }
.ev-ico .i { width: 18px; height: 18px; }
.ev-yellow .ev-ico, .ev-second_yellow .ev-ico { color: var(--yellow); }
.ev-red .ev-ico { color: var(--red); }
.ev-goal .ev-ico, .ev-penalty_goal .ev-ico, .ev-own_goal .ev-ico { color: var(--win); }
.ev-goal .ev-min, .ev-penalty_goal .ev-min, .ev-own_goal .ev-min { background: var(--ink); color: var(--surface); }

/* ---------- Kadro ---------- */
.lineup { display: grid; gap: 1px; margin: 0 -8px 12px; }
.player-btn, .squad-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; border-radius: var(--r-sm); cursor: pointer; }
.player-btn:hover, .squad-row:hover { background: var(--hover); text-decoration: none; }
.player-btn:disabled { cursor: default; opacity: .55; }
.squad-row { padding: 9px 16px; border-radius: 0; }
.squad li + li .squad-row { border-top: 1px solid var(--line); }
.squad-group .card-title.pad { padding: 12px 16px; margin: 0; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.shirt { flex: none; width: 24px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pname { flex: 1; display: block; min-width: 0; font-weight: 600; }
.pname .badge { margin-left: 4px; padding: 0 5px; font-size: 10px; line-height: 16px; vertical-align: 1px; }
.pname .muted { display: block; font-weight: 400; }
.results .squad-row { justify-content: space-between; }
.hint { margin-bottom: 10px; }

/* ---------- İstatistik çubukları ---------- */
.stats { display: grid; gap: 14px; }
.stat-row { display: grid; grid-template-columns: 56px 1fr 56px; align-items: baseline; font-size: 14px; font-weight: 600; }
.stat-row > :last-child { text-align: right; }
.stat-label { text-align: center; color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.stat-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--draw); transform: scaleX(var(--w)); animation: bar-in .6s var(--ease) both; }
@keyframes bar-in { from { transform: scaleX(0); } }
.bar-home::after { transform-origin: right; }
.bar-away::after { transform-origin: left; }
.bar-home.lead::after { background: var(--accent); }
.bar-away.lead::after { background: var(--away); }

/* ---------- Transferler ---------- */
.transfers { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.transfer { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 12px 16px; }
.transfer + .transfer { border-top: 1px solid var(--line); }
.transfer.is-upcoming { background: var(--accent-soft); }
.tr-meta, .tr-fee { display: grid; gap: 2px; }
.tr-fee { text-align: right; }
.tr-clubs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.tr-clubs a { color: var(--ink); }
@media (max-width: 599px) { .transfer { grid-template-columns: 1fr auto; } .tr-meta { grid-column: 1 / -1; display: flex; gap: 8px; } }
.card-y, .card-r { display: inline-block; min-width: 10px; height: 14px; padding: 0 3px; border-radius: 2px; font-size: 11px; line-height: 14px; text-align: center; color: #000; }
.card-y { background: var(--yellow); } .card-r { background: var(--red); color: #fff; }

.rumours { padding: 0; overflow: hidden; }
.rumour { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.rumour + .rumour { border-top: 1px solid var(--line); }
.rumour:hover { background: var(--hover); }
.rumour-main { flex: 1; display: grid; gap: 3px; min-width: 0; }
.rumour-player a, .rumour-clubs a { color: var(--ink); }
.rumour-clubs { color: var(--ink-2); }
.rumour-note { margin: 2px 0 0; color: var(--ink-2); }
.rumour-fee { font-size: 14px; white-space: nowrap; font-weight: 700; }
.rumour.st-cancelled { opacity: .55; }
@media (max-width: 599px) { .rumour { flex-wrap: wrap; } .rumour .rumour-main { flex-basis: calc(100% - 60px); } }
.status-pill { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.status-pill.st-rumour { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.status-pill.st-talks { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.status-pill.st-agreed { background: color-mix(in srgb, var(--info) 14%, transparent); color: var(--info); }
.status-pill.st-official { background: color-mix(in srgb, var(--win) 15%, transparent); color: var(--win); }
.status-pill.st-cancelled { background: var(--surface-2); color: var(--ink-3); text-decoration: line-through; }
.meter { display: inline-flex; gap: 2px; vertical-align: middle; }
.meter i { width: 10px; height: 4px; border-radius: 2px; background: var(--line-2); }
.meter i.on { background: var(--accent); }

/* ---------- Anket ---------- */
.poll .card-title { margin-bottom: 12px; }
.poll-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.poll-opt { position: relative; overflow: hidden; display: grid; gap: 2px; justify-items: center; padding: 10px 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; transition: border-color .15s; }
.poll-opt:disabled { cursor: default; }
.poll-opt:not(:disabled):hover { border-color: var(--accent); }
.poll-fill { position: absolute; inset: 0; background: var(--surface-2); transform-origin: left; transform: scaleX(0); }
.poll-opt.is-mine { border-color: var(--accent); }
.poll-opt.is-mine .poll-fill { background: var(--accent-soft); }
.poll-label, .poll-pct { position: relative; }
.poll-label { font-size: 13px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.poll-pct { font-size: 17px; font-weight: 700; min-height: 1.3em; font-variant-numeric: tabular-nums; }
.poll-foot { margin: 10px 0 0; text-align: center; }

/* ---------- Haber listesi ve detay ---------- */
.news-list { padding: 0; overflow: hidden; }
.news-list > li + li { border-top: 1px solid var(--line); }
.news-item { display: flex; gap: 14px; padding: 14px 16px; color: var(--ink); align-items: flex-start; }
.news-item:hover { text-decoration: none; background: var(--hover); }
.news-item:hover .news-title { color: var(--accent); }
.thumb { flex: none; width: 112px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.news-text { display: grid; gap: 4px; min-width: 0; }
.news-meta { font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.eyebrow-inline { font-weight: 700; color: var(--accent); }
.news-title { font-size: 15px; line-height: 1.35; font-weight: 600; }
.news-excerpt { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.pager-links { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 12px; }

.news-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ncard-link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); }
.ncard-link:hover { text-decoration: none; border-color: var(--line-2); }
.ncard-link:hover .ncard-title { color: var(--accent); }
.ncard-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3); }
.ncard-cover img { width: 100%; height: 100%; object-fit: cover; }
.ncard-glyph .i { width: 40px; height: 40px; }
.ncard-lines { display: none; }
.ncard-cat, .ncard-badge { position: absolute; top: 8px; left: 8px; background: var(--surface); color: var(--ink); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 7px; border-radius: 4px; }
.ncard-badge { left: auto; right: 8px; }
.ncard-body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.ncard-title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.ncard-excerpt { color: var(--ink-2); font-size: 13.5px; }
.ncard-meta { color: var(--ink-3); font-size: 12px; }

.article { max-width: 46rem; }
.article-head { margin-bottom: 18px; }
.article-title { font-size: clamp(24px, 20px + 1.4vw, 34px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.article-meta { margin-top: 10px; }
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption { padding: 8px 16px; }
.prose { font-size: 16.5px; line-height: 1.7; padding: 24px 24px 8px; }
.prose p { margin: 0 0 1.1em; }
.prose a.il { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a.il:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose .source { font-size: 14px; color: var(--ink-2); }
.prose .note { border-top: 1px solid var(--line); padding-top: 12px; }
.related { max-width: 46rem; margin-top: 24px; }
.related .title { margin-bottom: 10px; }
@media (max-width: 599px) { .prose { padding: 18px 16px 4px; font-size: 16px; } }

/* ---------- Ligler, kulüpler, ülkeler, rekabet ---------- */
.round-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 2px 0; }
.round-strip::-webkit-scrollbar { display: none; }
.grid-cards > li { list-style: none; }
.league-card { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; color: var(--ink); font-weight: 600; }
.league-card:hover, .club-tile:hover { text-decoration: none; background: var(--hover); border-color: var(--line-2); }
.club-grid, .country-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.club-tile { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; color: var(--ink); }
.club-tile-name { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.flag-img { width: 24px; height: 17px; object-fit: cover; border-radius: 3px; flex: none; }
.club-game { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; }
.club-game + .club-game { border-top: 1px solid var(--line); }
.club-game a { color: var(--ink); font-weight: 600; }
.club-game a.res { color: #fff; }
.h2h-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px 16px; align-items: center; text-align: center; padding: 22px 16px; }
.h2h-team { display: grid; justify-items: center; gap: 8px; font-size: 15px; }
.h2h-nums { display: grid; grid-template-columns: repeat(3, minmax(56px, auto)); gap: 12px; }
.h2h-nums > div { display: grid; }
.h2h-bar { grid-column: 1 / -1; display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.h2h-bar .seg-a { background: var(--accent); } .h2h-bar .seg-d { background: var(--draw); } .h2h-bar .seg-b { background: var(--away); }
.h2h-goals { grid-column: 1 / -1; margin: 0; }
.achievements { display: grid; gap: 8px; }
.achievement { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.achievement p { margin: 2px 0 0; }
.ach-count { font-size: 20px; font-weight: 800; min-width: 40px; color: var(--accent); }
.res { display: inline-block; min-width: 40px; text-align: center; padding: 2px 6px; border-radius: 5px; font-weight: 700; font-size: 12.5px; color: #fff; }
.res-w { background: var(--win); } .res-d { background: var(--draw); } .res-l { background: var(--loss); }
.res:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- Grafik ---------- */
.chart { position: relative; margin: 0; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart .crosshair { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .hit { fill: transparent; cursor: crosshair; }
.tooltip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: 12.5px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); color: var(--ink); }
.tooltip strong { display: block; font-size: 14px; }

/* ---------- Mobil alt menü ---------- */
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line);
          padding: 0 0 env(safe-area-inset-bottom); }
.tabbar > * { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; font: inherit; font-size: 11px; font-weight: 600; color: var(--ink-3); background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tabbar > *:hover { text-decoration: none; color: var(--ink); }
.tabbar .i.ico { width: 22px; height: 22px; }
.tabbar .is-current { color: var(--accent); }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* ---------- Alt sayfa (sheet) ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 60; }
.sheet-root[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; overscroll-behavior: contain; border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: var(--shadow-pop);
         padding: 8px var(--gutter) calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); will-change: transform; touch-action: none; }
.sheet .league-list, .sheet .pitch-wrap { touch-action: pan-y; }
@media (min-width: 720px) { .sheet { left: 50%; right: auto; width: min(640px, 92vw); margin-left: max(-320px, -46vw); } }
.grabber { width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 10px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.sheet-head h2 { font-size: 17px; }
.pitch-wrap { border-radius: var(--r-sm); overflow: hidden; background: #2b7a3d; }
.pitch { display: block; width: 100%; height: auto; }

/* ---------- Düğmeler / formlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: var(--r-sm); height: 38px; padding: 0 16px;
       font: inherit; font-weight: 600; font-size: 14px; background: var(--accent); color: #fff; cursor: pointer; transition: background .15s; }
.btn:hover { text-decoration: none; background: var(--accent-hover); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-plain { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.btn-plain:hover { background: var(--accent-soft); text-decoration: none; }
.btn-plain.danger { color: var(--loss); }
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field > span { color: var(--ink-2); }
.field small { font-weight: 400; }
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.inline { display: inline; margin: 0; }
.search-form { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .search-form { grid-template-columns: 1fr auto auto; align-items: center; } }
.segmented-static { display: inline-flex; padding: 3px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.segmented-static input { position: absolute; opacity: 0; width: 1px; }
.segmented-static span { display: block; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.segmented-static input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.segmented-static input:focus-visible + span { outline: 2px solid var(--accent); }

/* ---------- Görseller ---------- */
.crest-media, .avatar { position: relative; display: inline-block; flex: none; }
.crest-media img, .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.crest-media img { object-fit: contain; }
.crest-xs { width: 18px; height: 18px; }
.crest-sm { width: 24px; height: 24px; }
.crest-md { width: 32px; height: 32px; }
.crest-lg { width: 64px; height: 64px; }
.crest-xl { width: 80px; height: 80px; }
.avatar img { border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.avatar-xs { width: 20px; height: 20px; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 40px; height: 40px; }
.avatar-xl { width: 88px; height: 88px; }
.avatar-xl img { border: 1px solid var(--line); }
@media (max-width: 599px) { .avatar-xl { width: 72px; height: 72px; } .crest-xl { width: 64px; height: 64px; } }
.hero-club { display: flex; align-items: center; gap: 6px; }

/* ---------- Yönetim ---------- */
.admin .admin-main { max-width: 1280px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.admin { padding-bottom: 0; }
.admin .primary { display: flex; }
.admin-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
.narrow { max-width: 440px; margin: 48px auto; }
.install { max-width: 660px; }
.checks { display: grid; gap: 6px; margin: 14px 0; }
.admin-table td, .admin-table th { vertical-align: middle; }
.admin-table .actions { display: flex; gap: 2px; justify-content: flex-end; white-space: nowrap; }
.admin-table .actions form { margin: 0; }
.admin-table .wrap { white-space: normal; min-width: 14rem; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1 0 16px; }
.grow { flex: 1; }
.status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status::before { content: "● "; }
.status-ok { color: var(--win); background: color-mix(in srgb, var(--win) 13%, transparent); }
.status-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.status-muted { color: var(--ink-3); background: var(--surface-2); }
.toast { border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }
.toast-ok { background: color-mix(in srgb, var(--win) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--win) 30%, transparent); }
.toast-error { background: color-mix(in srgb, var(--loss) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--loss) 30%, transparent); }
.inline-edit { display: inline-block; }
.inline-edit[open] { display: block; width: 100%; }
.inline-edit summary { list-style: none; }
.inline-edit summary::-webkit-details-marker { display: none; }
.form.compact { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; white-space: normal; }
.form.compact input, .form.compact select { width: auto; padding: 6px 9px; font-size: 13px; }

/* ---------- Canlı göstergesi ---------- */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live, #e5202e); animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; } }

/* ---------- Sayfa geçişi: kısa ve sakin ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .14s; }

/* ---------- Erişilebilirlik ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0, 0, 0, .4); --ink-3: #4a4f5c; }
  .card { border-color: var(--ink); }
}
@media (forced-colors: active) {
  .seg[aria-selected="true"], .chip.is-current, .fchip.is-current, .day.is-current { outline: 2px solid CanvasText; }
  .bar::after, .pill, .chart .line { forced-color-adjust: none; }
}
