/* Yayın Asistanı: Nesine açık tema varsayılan, ?tema=koyu koyu yayın grafiği dili (docs/ui-redesign-spec.md). Düz CSS, tokens :root'ta. /ekran (.ek-body) her zaman koyu. */
:root, :root[data-theme='acik'] {
  color-scheme: light;
  --bg: #ffffff; --panel: #f5f6f8; --panel-2: #eceef2; --line: #d9dde4; --text: #0f1b33; --mute: #566176;
  --home: #0f766e; --away: #b45309; --live: #ffd400; --hit: #16a34a; --miss: #dc2626; --gold: #8a5a00; --teal-dark: #1f6f6b;
  --hit-ink: #166534; --miss-ink: #b91c1c; --miss-dark: #b91c1c; /* küçük metin için AA kontrastlı tonlar */
  --live-ink: #7a5600; --sel-bg: #ffd400; --sel-ink: #0f1b33; --on-live: #0f1b33; --live-hover: #ffe04d; --scrim: rgba(15, 27, 51, .35);
  --live-tint: rgba(255, 212, 0, .22); --hit-tint: rgba(34, 197, 94, .16); --miss-tint: rgba(239, 68, 68, .14); --home-tint: rgba(45, 212, 191, .16);
  --home-line: rgba(15, 118, 110, .4); --hit-line: rgba(22, 163, 74, .6); --on-home: #ffffff; --glow: none;
}
:root[data-theme='koyu'], .ek-body {
  color-scheme: dark;
  --bg: #0b1017; --panel: #121a24; --panel-2: #18222e; --line: #223042; --text: #e8eef5; --mute: #8da0b5;
  --home: #2dd4bf; --away: #f59e0b; --live: #ffd21f; --hit: #22c55e; --miss: #ef4444; --gold: #f2a900; --teal-dark: #1f6f6b;
  --hit-ink: #4ade80; --miss-ink: #f87171; --miss-dark: #c81e1e;
  --live-ink: #ffd21f; --sel-bg: #e8eef5; --sel-ink: #0b1017; --on-live: #000; --live-hover: #ffe066; --scrim: rgba(5, 9, 14, .6);
  --live-tint: rgba(255, 210, 31, .14); --hit-tint: rgba(34, 197, 94, .16); --miss-tint: rgba(239, 68, 68, .16); --home-tint: rgba(45, 212, 191, .1);
  --home-line: rgba(45, 212, 191, .4); --hit-line: rgba(34, 197, 94, .6); --on-home: #04201c; --glow: drop-shadow(0 0 1px rgba(255, 255, 255, .4));
}
:root {
  --r: 14px; --bar: 56px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --num: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--font); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 2px; }
::selection { background: var(--teal-dark); color: #fff; }
b { font-weight: 700; }
/* ---- kabuk ---- */
.ya-app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.ya-topbar { flex: none; height: var(--bar); display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ya-logo { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 8px; border-radius: 6px; background: #ffd400; }
.ya-logo img { display: block; height: 16px; width: auto; }
.ya-brand { color: var(--mute); font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.ya-demo { padding: 3px 10px; border: 1px solid var(--live); border-radius: 999px; color: var(--live-ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.ya-topbar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ya-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.ya-seg button { padding: 6px 16px; border-radius: 999px; color: var(--mute); font-size: 14px; font-weight: 700; }
.ya-seg button:hover { color: var(--text); }
.ya-ev-caption { margin: 0 0 4px; font-size: 12px; color: var(--mute); }
.ya-seg button.is-on { background: var(--text); color: var(--bg); }
.ya-ekran-link { padding: 8px 14px; color: var(--text); border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ya-ekran-link:hover { border-color: var(--mute); } .ya-ekran-link[aria-disabled='true'] { opacity: .4; pointer-events: none; }
.ya-drawer-btn { display: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); font-size: 14px; font-weight: 700; }
.ya-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px 420px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 12px; padding: 12px; }
.ya-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.ya-pane--matches { gap: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.ya-pane--match { container-type: inline-size; }
.ya-tabs { display: none; flex: none; gap: 6px; padding: 8px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ya-tab { flex: 1; padding: 10px 0; border-radius: 10px; background: var(--panel-2); color: var(--mute); font-size: 15px; font-weight: 700; }
.ya-tab.is-on { background: var(--text); color: var(--bg); }
.ya-scrim { display: none; }
@media (min-width: 1024px) and (max-width: 1279px) { /* iki sütun, Maçlar çekmecesi */
  .ya-main { grid-template-columns: minmax(0, 1fr) 420px; }
  .ya-drawer-btn { display: inline-flex; }
  .ya-pane--matches { position: fixed; z-index: 30; top: var(--bar); bottom: 0; left: 0; width: 360px; border-radius: 0 var(--r) var(--r) 0; transform: translateX(-104%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
  .is-drawer-open .ya-pane--matches { transform: none; visibility: visible; transition-delay: 0s; }
  .ya-scrim { display: block; position: fixed; z-index: 20; inset: var(--bar) 0 0; background: var(--scrim); }
}
@media (max-width: 1023px) { /* üç sekme */
  .ya-tabs { display: flex; }
  .ya-main { grid-template-columns: minmax(0, 1fr); padding: 8px; }
  .ya-pane { display: none; }
  .ya-app[data-tab='matches'] .ya-pane--matches, .ya-app[data-tab='match'] .ya-pane--match, .ya-app[data-tab='analyses'] .ya-pane--analyses { display: flex; }
  .ya-topbar { gap: 8px; padding: 0 10px; }
  .ya-demo { display: none; }
  .ya-seg button { padding: 6px 11px; }
}
@media (max-width: 480px) {
  .ya-brand { display: none; }
  .ya-topbar-end { gap: 6px; }
  .ya-seg button { padding: 5px 9px; font-size: 13px; }
  .ya-ekran-link { padding: 7px 10px; font-size: 13px; }
  .ya-topbar button, .ya-topbar .ya-ekran-link, .ya-bell { min-height: 36px; }
  .ya-ekran-link { display: inline-flex; align-items: center; }
}
/* ---- ortak: düğme, çip, pil, durum kutuları ---- */
.ya-btn { padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); font-size: 15px; font-weight: 700; }
.ya-btn:hover:not(:disabled) { border-color: var(--mute); } .ya-btn:disabled { opacity: .45; }
.ya-btn--primary { padding: 11px 24px; border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-ink); font-size: 16px; }
.ya-btn--danger { border-color: var(--miss); color: var(--miss-ink); }
.ya-btn--sm { padding: 6px 12px; font-size: 13px; }
.ya-input { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.ya-input::placeholder { color: var(--mute); } .ya-input:focus { border-color: var(--live); outline: none; }
.ya-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ya-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--mute); font-size: 14px; font-weight: 600; }
.ya-chip:hover { border-color: var(--mute); color: var(--text); }
.ya-chip.is-sel { border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-ink); }
.ya-chip.is-zero:not(.is-sel) { border-style: dashed; }
.ya-chip--minute { padding: 6px 18px; font-family: var(--num); font-size: 21px; font-weight: 600; }
.ya-chip--live.is-sel { border-color: var(--live); background: var(--live); color: var(--on-live); }
.ya-count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--panel-2); color: var(--text); font-family: var(--num); font-size: 15px; font-weight: 600; text-align: center; }
.ya-chip.is-sel .ya-count { background: rgba(0, 0, 0, .14); color: inherit; }
.ya-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: ya-blink 1.4s ease-in-out infinite; }
.ya-chip--live.is-sel .ya-live-dot { background: var(--on-live); }
.ya-mode { display: inline-flex; align-items: center; gap: .4em; padding: 4px 14px; border-radius: 999px; font-family: var(--num); font-size: 20px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.ya-mode--live { background: var(--live); color: var(--on-live); }
.ya-mode--live::before { content: ''; width: .42em; height: .42em; border-radius: 50%; background: var(--on-live); animation: ya-blink 1.2s ease-in-out infinite; }
.ya-mode--replay { background: var(--teal-dark); color: #fff; }
.ya-mode--prematch { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); }
.ya-mode--sm { padding: 1px 10px; font-size: 14px; } .ya-mode--xl { padding: 4px 24px; font-size: 40px; }
.ya-empty { padding: 14px 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--mute); font-size: 14px; text-align: center; }
.ya-note { color: var(--mute); font-size: 13px; }
.ya-h { margin-bottom: 8px; color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ya-caret { display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
[aria-expanded='true'] > .ya-caret { margin-bottom: -2px; transform: rotate(-135deg); }
.ya-error { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--miss); border-radius: var(--r); background: var(--miss-tint); color: var(--miss-ink); font-weight: 600; }
.ya-error--bar { flex-direction: row; align-items: center; justify-content: space-between; }
.ya-skels { display: flex; flex-direction: column; gap: 10px; padding: 8px; }
.ya-skel { border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 40%, var(--panel) 60%); background-size: 400% 100%; animation: ya-shimmer 1.4s ease infinite; }
.is-loading { opacity: .6; transition: opacity .15s; }
.ya-toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; padding: 12px 22px; border: 1px solid var(--mute); border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: 16px; font-weight: 700; transform: translateX(-50%); animation: ya-toast-in .18s ease-out; }
.ya-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; object-fit: contain; font-family: var(--num); font-weight: 700; line-height: 1; border-radius: 50%; }
.ya-mark--square { border-radius: 6px; }
.ya-mark--img { filter: var(--glow); }
:root[data-theme='koyu'] img.ya-mark--img { box-sizing: border-box; padding: 2px; background: rgba(255, 255, 255, .9); border-radius: 4px; }
span.ya-mark { border: 2px solid var(--line); background: var(--panel-2); color: var(--text); }
span.ya-mark--home { border-color: var(--home); } span.ya-mark--away { border-color: var(--away); }
.ya-dot { display: inline-block; width: 10px; height: 10px; margin: 0 8px; border-radius: 50%; }
.ya-dot--home, .ya-bar-home { background: var(--home); }
.ya-dot--away, .ya-bar-away { background: var(--away); }
.ya-legend { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.ya-bar { display: flex; gap: 3px; height: 8px; margin-top: 6px; overflow: hidden; border-radius: 4px; }
.ya-bar.is-empty span { background: var(--line); }
/* ---- sol: maçlar ---- */
.ya-list-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ya-list-head { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.ya-list-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ya-list-date { color: var(--text); font-size: 15px; font-weight: 700; }
.ya-dates-wrap { display: flex; align-items: stretch; gap: 4px; }
.ya-dates-arrow { flex: none; width: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--mute); cursor: pointer; font-size: 18px; line-height: 1; }
.ya-dates { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(56px, calc((100% - 24px) / 7)); gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ya-dates::-webkit-scrollbar { display: none; }
.ya-today-back { margin-top: 0; padding: 6px; }
.ya-date { display: flex; flex-direction: column; align-items: center; padding: 6px 0 5px; border: 1px solid transparent; border-radius: 10px; background: var(--panel-2); color: var(--mute); }
.ya-date:hover { border-color: var(--line); }
.ya-date-wd { white-space: nowrap; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.ya-date-num { font-family: var(--num); font-size: 21px; font-weight: 700; line-height: 1.1; }
.ya-date.is-today .ya-date-wd { color: var(--home); font-weight: 800; }
.ya-date.is-sel { border-color: var(--text); background: var(--text); color: var(--bg); }
.ya-date.is-sel .ya-date-wd { color: var(--bg); }
.ya-hint { color: var(--mute); font-size: 13px; }
.ya-list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 8px 12px; }
.ya-group { margin-top: 10px; }
.ya-group-title { display: flex; align-items: center; gap: 8px; padding: 6px; color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.ya-group-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ya-group-count { font-family: var(--num); font-size: 15px; }
.ya-group--live .ya-group-title { color: var(--live-ink); }
.ya-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 10px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; }
.ya-row-wrap { position: relative; } .ya-row-wrap .ya-row { padding-right: 40px; }
.ya-star { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; color: var(--mute); font-size: 19px; line-height: 1; }
.ya-star:hover { color: var(--text); } .ya-star.is-on { color: var(--live-ink); }
.ya-filters { margin-top: 8px; }
.ya-row:hover { background: var(--panel-2); } .ya-row.is-sel { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--live); }
.ya-teams { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 15px; font-weight: 600; }
.ya-team-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ya-team-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ya-pill { min-width: 44px; padding: 3px 8px; border-radius: 8px; font-family: var(--num); font-size: 17px; font-weight: 700; text-align: center; }
.ya-pill--live { background: var(--live); color: var(--on-live); } .ya-pill--done { background: var(--panel-2); color: var(--mute); }
.ya-row.is-sel .ya-pill--done { background: var(--line); } .ya-pill--soon { border: 1px solid var(--line); color: var(--text); }
.ya-scores { white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 16px; font-family: var(--num); font-size: 21px; font-weight: 700; line-height: 22px; }
.ya-scores > span { height: 22px; }
.ya-row-sub { grid-column: 1 / -1; color: var(--mute); font-size: 12px; }
.ya-more { display: block; width: 100%; margin-top: 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; color: var(--home); font-weight: 700; }
/* ---- orta: skorbord, kontroller, istatistik, olaylar ---- */
.ya-center { display: flex; flex-direction: column; gap: 12px; }
.ya-placeholder { max-width: 420px; margin: auto; color: var(--mute); font-size: 16px; text-align: center; }
.ya-placeholder-title { margin-bottom: 8px; color: var(--text); font-size: 28px; font-weight: 800; }
.ya-sb, .ya-replay, .ya-live, .ya-block-card, .ya-onair, .ya-card, .ya-notes-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.ya-sb { padding: 14px 18px 16px; }
.ya-sb-top { display: flex; align-items: center; gap: 12px; }
.ya-sb-league { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 13px; font-weight: 600; }
.ya-sb-league-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ya-asof { flex: none; color: var(--mute); font-size: 14px; white-space: nowrap; }
.ya-asof b { color: var(--text); font-family: var(--num); font-size: 19px; font-weight: 600; }
.ya-sb-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 12px; }
.ya-sb-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.ya-sb-name { padding-bottom: 5px; border-bottom: 3px solid var(--home); font-size: 22px; font-weight: 700; line-height: 1.15; overflow-wrap: normal; hyphens: none; word-break: keep-all; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ya-sb-team--away .ya-sb-name { border-color: var(--away); }
.ya-sb-mid { text-align: center; }
.ya-score { white-space: nowrap; display: flex; align-items: baseline; justify-content: center; gap: 12px; font-family: var(--num); font-size: 72px; font-weight: 700; line-height: .95; }
.ya-score-sep { color: var(--mute); font-weight: 600; }
.ya-score--pre { font-size: 56px; }
.ya-score.is-flash { animation: ya-flash .6s ease-out; }
.ya-period { margin-top: 6px; color: var(--mute); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ya-clock { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--num); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ya-clock-sec { font-size: .6em; color: var(--mute); }
.ya-clock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: ya-blink 1.2s ease-in-out infinite; }
.ya-sb--xl .ya-clock { font-size: 44px; } .ya-sb--xl .ya-clock-dot { width: 14px; height: 14px; }
.ya-asof.is-stale { color: #d97706; font-weight: 700; }
.ek-clock { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--num); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ek-clock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); animation: ya-blink 1.2s ease-in-out infinite; }
.ya-reds { display: inline-flex; gap: 3px; } .ya-red { width: 12px; height: 17px; border-radius: 3px; background: var(--miss); }
@container (max-width: 520px) {
  .ya-sb { padding: 12px 12px 14px; }
  .ya-sb-name { font-size: 18px; }
  .ya-score { gap: 8px; font-size: 58px; }
  .ya-ev { grid-template-columns: 1fr 52px 1fr; font-size: 14px; }
  .ya-sb-top { flex-wrap: wrap; row-gap: 6px; }
  .ya-sb-league { flex-basis: 100%; }
}
.ya-notes-box { overflow: hidden; }
.ya-notes-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 14px; color: var(--mute); font-size: 14px; font-weight: 600; text-align: left; }
.ya-notes-toggle:hover { color: var(--text); } .ya-notes-toggle .ya-caret { margin-left: auto; } .ya-notes-icon { font-size: 16px; }
.ya-notes { padding: 0 14px 12px 38px; color: var(--mute); font-size: 13px; list-style: disc; } .ya-notes li { margin: 3px 0; }
.ya-replay { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px; }
.ya-replay-row { display: flex; align-items: center; gap: 16px; }
.ya-replay-label { flex: none; font-size: 15px; font-weight: 600; }
.ya-replay-label b { font-family: var(--num); font-size: 26px; font-weight: 700; }
.ya-range { flex: 1; min-width: 0; height: 8px; border-radius: 4px; background: var(--line); -webkit-appearance: none; appearance: none; }
.ya-range::-webkit-slider-thumb { width: 26px; height: 26px; border: 4px solid var(--bg); border-radius: 50%; background: var(--live); box-shadow: 0 0 0 1px var(--live); cursor: grab; -webkit-appearance: none; }
.ya-range::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid var(--bg); border-radius: 50%; background: var(--live); box-shadow: 0 0 0 1px var(--live); cursor: grab; }
.ya-live { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 18px; }
.ya-snaps { display: flex; flex-wrap: wrap; gap: 8px; }
.ya-snap { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--mute); font-family: var(--num); font-size: 19px; font-weight: 600; }
.ya-snap.is-on { border-color: var(--live); background: var(--live); color: var(--on-live); }
.ya-block-card { padding: 14px 18px; }
.ya-ev { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ya-ev-side { display: flex; min-width: 0; } .ya-ev--home > .ya-ev-side:first-child { justify-content: flex-end; }
.ya-ev-min { color: var(--mute); font-family: var(--num); font-size: 20px; font-weight: 600; text-align: center; }
.ya-ev-body { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; } .ya-ev--home .ya-ev-body { flex-direction: row-reverse; }
.ya-ev-player { font-weight: 600; overflow-wrap: anywhere; } .ya-ev-player i { color: var(--mute); font-size: 12px; font-style: normal; font-weight: 400; }
.ya-tag { flex: none; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.ya-tag--goal { background: var(--home); color: var(--on-home); } .ya-tag--yellow { background: var(--live); color: var(--on-live); }
.ya-tag--red { background: var(--miss-dark); color: #fff; } .ya-tag--miss { background: var(--line); color: var(--text); }
.ya-stat { padding: 7px 0; }
.ya-stat-row { display: grid; grid-template-columns: 84px 1fr 84px; align-items: baseline; }
.ya-stat-val { font-family: var(--num); font-size: 22px; font-weight: 700; line-height: 1.1; }
.ya-stat-val:first-child { color: var(--home); } .ya-stat-val:last-child { color: var(--away); text-align: right; }
.ya-stat-label { color: var(--text); font-size: 15px; font-weight: 600; text-align: center; }
.ya-src { margin-left: 2px; color: var(--home); font-size: 10px; font-weight: 800; }
/* ---- Nesine canlı akış ---- */
.ya-nesine { display: flex; flex-direction: column; gap: 14px; }
.ya-nesine .ya-h { margin-bottom: 6px; }
.ya-nesine-badge { align-self: flex-start; padding: 4px 12px; border: 1px solid var(--home-line); border-radius: 999px; background: var(--home-tint); color: var(--home); font-size: 13px; font-weight: 700; }
.ya-last10-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ya-last10-head .ya-h { margin: 0; }
.ya-last10-badge { padding: 3px 10px; border: 1px solid var(--home-line); border-radius: 999px; background: var(--home-tint); color: var(--home); font-size: 13px; font-weight: 700; }
.ya-last10-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.ya-last10-table th, .ya-last10-table td { padding: 4px 6px; text-align: right; font-family: var(--num); font-weight: 700; }
.ya-last10-table thead th { color: var(--mute); font-size: 12px; font-family: inherit; }
.ya-last10-table th[scope="row"], .ya-last10-table thead th:first-child { width: 38%; overflow: hidden; text-align: left; font-family: inherit; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; hyphens: none; word-break: keep-all; }
.ya-last10-table th, .ya-last10-table td { min-width: 0; }
.ya-last10-row--home th[scope="row"] { color: var(--home); } .ya-last10-row--away th[scope="row"] { color: var(--away); }
.ya-mom-win { position: relative; height: 16px; margin-bottom: 2px; } .ya-mom-win span { position: absolute; top: 0; display: flex; justify-content: center; height: 100%; box-sizing: border-box; white-space: nowrap; border: 1px solid var(--mute); border-bottom: 0; text-align: center; color: var(--mute); font-size: 11px; font-weight: 700; line-height: 14px; }
.ya-nesine--xl .ya-last10-head { flex-wrap: wrap; justify-content: flex-start; row-gap: 6px; min-height: 28px; }
.ya-last10-badge { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ya-nesine--xl .ya-last10 { font-size: 1.4em; }
.ya-nesine--xl .ya-last10-head .ya-h, .ya-nesine--xl .ya-last10-badge, .ya-nesine--xl .ya-last10-table, .ya-nesine--xl .ya-last10-table thead th { font-size: inherit; }
.ya-mom-svg { display: block; width: 100%; border-radius: 8px; background: var(--bg); }
.ya-mom-base { stroke: var(--line); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.ya-mom-home, .ya-mom-away { transform-box: fill-box; animation: ya-rise .5s ease-out; }
.ya-mom-home { fill: var(--home); transform-origin: bottom; } .ya-mom-away { fill: var(--away); transform-origin: top; }
.ya-mom-goal { stroke: var(--gold); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.ya-mom-axis { position: relative; height: 18px; margin-top: 4px; color: var(--mute); font-size: 12px; font-weight: 700; } .ya-mom-axis span { position: absolute; top: 0; }
.ya-nesine-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 6px; color: var(--mute); font-size: 13px; font-weight: 600; }
.ya-leg-item { display: inline-flex; align-items: baseline; max-width: 100%; white-space: nowrap; } .ya-leg-name { display: inline-block; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.ya-last10-note { margin: 4px 0 0; color: var(--mute); font-size: 12px; }
.ya-b-legal { margin: 8px 0 0; color: var(--mute); font-size: 12px; text-align: center; }
.ya-nesine-legend .ya-dot { margin: 0 6px 0 0; } .ya-gold-bar { display: inline-block; width: 3px; height: 14px; margin: 0 6px 0 0; background: var(--gold); vertical-align: -2px; }
.ya-nesine--xl { position: relative; padding: 0; border: 0; background: none; gap: 10px; }
.ya-nesine--xl .ya-nesine-badge { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--mute); font-size: 14px; font-weight: 600; } /* akış içinde, bağlantı bilgisi sönük satır; Baskı rozetiyle çakışmaz */
.ya-nesine--xl .ya-momentum-block { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
.ya-nesine--xl .ya-momentum-block > * { grid-column: 1 / -1; }
.ya-nesine--xl .ya-momentum-block > .ya-h { grid-column: 1; grid-row: 1; margin: 0 0 4px; }
.ya-nesine--xl .ya-nesine-legend { grid-column: 2; grid-row: 1; justify-content: flex-end; margin: 0 0 4px; }
.ya-nesine--xl .ya-h { font-size: 13px; }
/* ---- sağ: ekran kuyruğu, analizler, kart ---- */
.ya-onair { flex: none; overflow: hidden; }
.ya-onair-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; }
.ya-onair-toggle { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ya-onair-body { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ya-onair-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); animation: ya-fade .2s ease-out; }
.ya-onair-row:last-child { border-bottom: 0; } .ya-onair-row.is-current { background: var(--live-tint); box-shadow: inset 3px 0 0 var(--live); }
.ya-onair-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ya-onair-now { display: inline-flex; align-items: center; gap: 6px; color: var(--live-ink); }
.ya-onair-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: ya-blink 1.2s ease-in-out infinite; }
.ya-onair-time { font-family: var(--num); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.ya-onair-market { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ya-onair-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; font-size: 14px; }
.ya-onair-row.is-current .ya-onair-text { -webkit-line-clamp: 3; font-size: 16px; font-weight: 500; }
.ya-onair-remove { padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--miss-ink); font-size: 13px; font-weight: 700; }
.ya-onair-remove:hover:not(:disabled) { border-color: var(--miss); } .ya-onair-remove:disabled { opacity: .4; }
.ya-onair-empty { margin: 10px; }
.ya-onair-error { padding: 12px 14px; color: var(--miss-ink); font-size: 14px; }
.ya-analyses, .ya-analyses-body, .ya-block { display: flex; flex-direction: column; gap: 12px; }
.ya-pane-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 0 6px; background: var(--bg); }
.ya-pane-head::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
.ya-pane-title { font-size: 18px; font-weight: 800; }
.ya-highlights { display: flex; flex-direction: column; gap: 10px; }
.ya-highlights .ya-h { margin: 0; color: var(--gold); }
.ya-block { gap: 10px; }
.ya-block-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 800; }
.ya-block-note { background: var(--panel); }
.ya-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; animation: ya-fade .2s ease-out; }
.ya-card.is-onair { border-color: var(--hit-line); }
.ya-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ya-card-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.ya-card-market { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ya-card-text { font-size: 18px; font-weight: 500; line-height: 1.4; }
.ya-card-text b, .ya-onair-text b, .ya-b-text b, .ek-text b { color: var(--gold); font-family: var(--num); font-weight: 700; font-size: 1.25em; line-height: 1; }
.ya-badge { padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ya-badge--hit { background: var(--hit-tint); color: var(--hit-ink); } .ya-badge--miss { background: var(--miss-tint); color: var(--miss-ink); }
.ya-badge--unk { background: var(--panel-2); color: var(--mute); }
.ya-card-result { padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.ya-card-result--hit { background: var(--hit-tint); color: var(--hit-ink); } .ya-card-result--miss { background: var(--miss-tint); color: var(--miss-ink); }
.ya-card-result--unk { background: var(--panel-2); color: var(--mute); }
.ya-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ya-source { flex: 1 1 auto; padding: 6px 0; color: var(--home); font-size: 14px; font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ya-pin-badge { padding: 2px 8px; border-radius: 999px; background: var(--live-tint); color: var(--live-ink); font-size: 12px; font-weight: 800; }
.ya-actions { display: flex; gap: 2px; }
.ya-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text); font-size: 16px; line-height: 1; opacity: .8; }
.ya-btn-label { display: none; }
@media (min-width: 1280px) { /* ikon + kısa etiket, 28 px hap sırası */
  .ya-actions { flex-wrap: wrap; gap: 6px; }
  .ya-icon-btn { gap: 6px; width: auto; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .ya-btn-label { display: inline; font-size: 13px; font-weight: 600; white-space: nowrap; }
}
.ya-icon-btn:hover:not(:disabled) { background: var(--panel-2); opacity: 1; } .ya-icon-btn.is-on { background: var(--live-tint); box-shadow: inset 0 0 0 1px var(--live); opacity: 1; }
.ya-icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.ya-send { flex: none; margin-left: auto; padding: 8px 14px; border: 2px solid var(--live); border-radius: 10px; background: var(--live); color: var(--on-live); font-size: 14px; font-weight: 800; }
.ya-send:hover:not(:disabled) { background: var(--live-hover); border-color: var(--live-hover); }
.ya-send--sending { opacity: .6; }
.ya-send--sent { border-color: var(--hit); background: transparent; color: var(--hit-ink); } .ya-send--error { border-color: var(--miss); background: transparent; color: var(--miss-ink); }
.ya-send:disabled:not(.ya-send--sent):not(.ya-send--sending) { opacity: .45; cursor: not-allowed; border-style: dashed; }
.ya-evidence { flex-basis: 100%; overflow-x: auto; }
.ya-evidence table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ya-evidence th { padding: 4px; color: var(--mute); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.ya-evidence td { padding: 6px 4px; border-top: 1px solid var(--line); white-space: nowrap; }
.ya-evidence td.ya-ev-opp { font-weight: 700; white-space: normal; }
.ya-ev-hit { font-weight: 800; text-align: center; }
.is-hit .ya-ev-hit { color: var(--hit-ink); } .is-miss .ya-ev-hit { color: var(--miss-ink); }
.ya-ev-note td { padding: 0 4px 6px; border: 0; color: var(--mute); font-size: 12px; }
/* ---- yayıncı görünümü ---- */
.ya-bview { flex: 1; min-height: 0; overflow-y: auto; }
.ya-b-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 1400px; min-height: 100%; margin: 0 auto; padding: 22px 24px; }
.ya-b-nav { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 1400px; margin: 0 auto; padding: 12px 24px 0; background: var(--bg); }
.ya-b-navbtn { min-height: 56px; min-width: 132px; padding: 0 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--text); font: 700 20px var(--font); cursor: pointer; }
.ya-b-navbtn:hover:not(:disabled) { border-color: var(--mute); } .ya-b-navbtn:disabled { opacity: .4; cursor: default; }
.ya-b-navbtn--refresh { border-color: var(--text); }
.ya-b-navmid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ya-b-navmid b { font-family: var(--num); font-size: 30px; font-weight: 700; line-height: 1.1; }
.ya-b-navname { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mute); font-size: 18px; }
.ya-sb--xl { padding: 20px 28px 24px; }
.ya-sb--xl.has-aside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
.ya-sb--xl .ya-sb-main { align-self: center; } .ya-sb--xl .ya-sb-top { margin-bottom: 4px; } .ya-sb--xl .ya-sb-league { font-size: 15px; }
.ya-sb--xl .ya-sb-name { font-size: 34px; }
.ya-sb--xl .ya-score { gap: 18px; font-size: 112px; } .ya-sb--xl .ya-score--pre { font-size: 88px; }
.ya-sb--xl .ya-period { margin-top: 10px; font-size: 18px; } .ya-sb--xl .ya-red { width: 16px; height: 22px; }
.ya-sb--xl.has-aside .ya-nesine { align-self: center; padding-left: 32px; border-left: 1px solid var(--line); }
.ya-b-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ya-b-cards[data-count='1'] { grid-template-columns: minmax(0, 1fr); }
.ya-b-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ya-b-card { padding: 18px 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); animation: ya-fade .2s ease-out; }
.ya-b-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ya-b-market { color: var(--mute); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ya-b-text { margin-top: 8px; font-size: 28px; font-weight: 500; line-height: 1.3; }
.ya-b-text b { font-size: 36px; }
.ya-b-note { color: var(--mute); font-size: 15px; }
.ya-b-note--box { padding: 18px 24px; border: 1px dashed var(--line); border-radius: var(--r); text-align: center; }
.ya-b-stats .ya-legend { font-size: 15px; }
.ya-b-statgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ya-b-stat { padding: 12px 14px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.ya-b-stat-label { display: block; overflow: hidden; color: var(--mute); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ya-b-stat-vals { display: flex; justify-content: space-between; font-family: var(--num); font-size: 40px; font-weight: 700; line-height: 1.1; }
.ya-b-stat-vals b:first-child { color: var(--home); } .ya-b-stat-vals b:last-child { color: var(--away); }
.ya-b-stats .ya-b-note { margin-top: 8px; font-size: 13px; }
.ya-b-evlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ya-b-ev { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; font-size: 18px; font-weight: 600; white-space: nowrap; }
.ya-b-ev .ya-b-ev-min { color: var(--home); } .ya-b-ev--away .ya-b-ev-min { color: var(--away); } /* takım rengi şerit yerine dakika rakamında */
.ya-b-ev-min { font-family: var(--num); font-size: 30px; font-weight: 700; line-height: 1; }
.ya-b-ev-who { overflow: hidden; text-overflow: ellipsis; }
.ya-b-ev-who i { color: var(--mute); font-size: 13px; font-style: normal; font-weight: 400; }
.ya-b-ev-team { margin-left: auto; color: var(--mute); font-size: 14px; }
.ya-b-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 20px; margin-top: auto; padding-top: 4px; color: var(--mute); font-size: 14px; }
.ya-b-asof b { color: var(--text); font-family: var(--num); font-size: 18px; font-weight: 600; } .ya-b-replay { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; } .ya-b-err { color: var(--miss-ink); }
.ya-b-empty { margin: auto; max-width: 560px; color: var(--mute); font-size: 20px; text-align: center; }
.ya-b-empty-title { margin-bottom: 10px; color: var(--text); font-size: 40px; font-weight: 800; }
@media (min-width: 1101px) and (max-height: 1000px) { /* 1080p'nin altı: tek ekrana sığsın diye sıkı (kart metni 26px) */
  .ya-b-wrap { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .ya-sb--xl { padding: 16px 28px 18px; }
  .ya-b-card { padding: 14px 22px 16px; }
  .ya-b-text { margin-top: 6px; font-size: 26px; }
  .ya-b-text b { font-size: 32px; }
}
@media (max-width: 1100px) {
  .ya-sb--xl.has-aside { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ya-sb--xl.has-aside .ya-nesine { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .ya-b-statgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ya-b-evlist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ya-b-wrap { padding: 12px; }
  .ya-b-nav { flex-wrap: wrap; padding: 10px 12px 0; }
  .ya-b-navmid { order: -1; flex-basis: 100%; }
  .ya-b-navbtn { flex: 1; min-width: 0; padding: 0 10px; font-size: 17px; }
  .ya-b-cards { grid-template-columns: minmax(0, 1fr); }
  .ya-b-statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ya-sb--xl .ya-score { font-size: 72px; }
  .ya-sb--xl .ya-sb-name { font-size: 22px; }
  .ya-b-text { font-size: 22px; }
  .ya-b-text b { font-size: 28px; }
}
/* ---- /ekran: TV alt bandı ---- */
.ek-body { overflow: hidden; background: var(--bg); color: var(--text); }
.ek-root { position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.ek-top { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 22px 32px; }
.ek-label { color: var(--mute); font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ek-status { width: 10px; height: 10px; border-radius: 50%; background: var(--hit); opacity: .7; } .ek-status.is-off { background: var(--miss); opacity: 1; }
.ek-stage { position: relative; margin-bottom: 7vh; }
.ek-band { display: flex; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #101b27, #0b1118); }
.ek-band.is-in { animation: ek-in .3s cubic-bezier(.2, .8, .2, 1) both; } .ek-band.is-out { position: absolute; left: 0; right: 0; bottom: 0; animation: ek-out .3s ease-in both; }
.ek-accent { flex: none; width: 10px; background: var(--home); }
.ek-content { min-width: 0; padding: 26px 56px 30px 36px; }
.ek-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-bottom: 10px; font-size: clamp(18px, 1.5vw, 30px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ek-market { color: var(--home); } .ek-fixture { color: var(--mute); }
.ek-text { font-size: clamp(44px, 3.4vw, 92px); font-weight: 600; letter-spacing: -.01em; line-height: 1.18; }
.ek-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ek-hint { position: absolute; right: 32px; bottom: 24px; color: var(--mute); font-size: 18px; }
@keyframes ya-blink { 50% { opacity: .25; } } @keyframes ya-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes ya-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } } @keyframes ya-fade { from { opacity: 0; } }
@keyframes ya-flash { 0% { color: var(--live); transform: scale(1.12); } 100% { transform: none; } } @keyframes ya-rise { from { transform: scaleY(0); } }
@keyframes ek-in { from { transform: translateY(calc(100% + 8vh)); } } @keyframes ek-out { to { transform: translateY(-40%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ek-band.is-out { display: none; }
}

/* Kart güvenilirlik rozeti (backtest'ten gelen tutma oranı) */
.ya-rel { display: inline-block; margin: 2px 0 6px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--mute); font-size: 12px; font-weight: 600; }
.ya-rel--high { color: var(--hit); }
.ya-rel--low { color: var(--away); }

.ya-pane-sub { margin-top: 2px; color: var(--mute); font-size: 14px; }
/* yayıncı kutusu dar ekranda: hiçbir şey taşmaz, kesilmez */
@media (max-width: 720px) {
  .ya-sb--xl .ya-sb-top { flex-wrap: wrap; row-gap: 6px; }
  .ya-sb--xl .ya-sb-league { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .ya-seg button { min-height: 36px; }
  .ya-sb--xl .ya-sb-name { font-size: 16px; }
  .ya-sb--xl .ya-score { gap: 10px; font-size: 56px; }
  .ya-sb--xl .ya-period { font-size: 13px; letter-spacing: .02em; }
  .ya-sb--xl.has-aside .ya-nesine { padding-top: 14px; }
  .ya-nesine--xl .ya-last10 { font-size: 1em; }
  .ya-nesine--xl .ya-last10-head .ya-h { font-size: 13px; }
  .ya-nesine--xl .ya-last10-badge { font-size: 12px; }
  .ya-nesine--xl .ya-last10-table, .ya-nesine--xl .ya-last10-table th, .ya-nesine--xl .ya-last10-table td { font-size: 15px; }
  .ya-nesine--xl .ya-last10-table th, .ya-nesine--xl .ya-last10-table td { padding: 4px 3px; }
  .ya-nesine--xl .ya-last10-table thead th { font-size: 11px; }
  .ya-mom-win span { font-size: 10px; letter-spacing: -.02em; }
  .ya-mom-win span.is-end { justify-content: flex-end; }
}
.ya-mom-win span.is-end { justify-content: flex-end; }
@media (max-width: 480px) { .ya-nesine-legend { font-size: 11px; gap: 4px 10px; } .ya-nesine-legend .ya-dot { margin-right: 4px; } }
/* ---- Nesine market şeridi (E3.2) ---- */
.ya-markets { display: flex; flex-direction: column; gap: 8px; }
.ya-markets .ya-h { margin: 0; }
.ya-mk-groups { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ya-mk-group { display: flex; flex-wrap: wrap; gap: 6px; }
.ya-mk-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: 13px; line-height: 1.2; white-space: nowrap; }
.ya-mk-label, .ya-mk-sep { color: var(--mute); }
.ya-mk-odd { font-family: var(--num); font-size: 1.15em; }
.ya-mk-pill.is-suspended { border-style: dashed; background: none; color: var(--mute); }
.ya-mk-pill.is-suspended .ya-mk-odd { font-family: var(--font); font-size: 1em; font-weight: 500; }
.ya-mk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--miss); flex: none; }
.ya-mk-dir { font-size: 11px; font-weight: 700; }
.ya-mk-dir--down { color: var(--miss-ink); }
.ya-mk-dir--up { color: var(--hit-ink); }
.ya-mk-foot { align-self: flex-end; margin: 0; font-size: 10px; color: var(--mute); }
.ya-markets--xl { padding: 0; border: 0; background: none; gap: 6px; }
.ya-markets--xl .ya-mk-pill { font-size: 22px; padding: 6px 16px; }
.ya-markets--xl .ya-h { font-size: 13px; }
.ya-markets--xl .ya-mk-foot { font-size: 13px; }
@media (max-width: 480px) { .ya-mk-pill { font-size: 12px; padding: 3px 8px; } .ya-markets--xl .ya-mk-pill { font-size: 16px; } }

/* Nesine oran hapı (E3.1): kendi satırında, dar ekranda sarar */
.ya-mkt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 6px; min-width: 0; }
.ya-mkt-pill { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ya-mkt-value { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ya-mkt--big { margin-top: 10px; gap: 10px; }
.ya-mkt--big .ya-mkt-pill { padding: 6px 16px; font-size: 22px; }
.ya-mkt--big .ya-mkt-value { padding: 6px 14px; font-size: 18px; }
.ya-mkt-footer { margin: 12px 0 4px; color: var(--mute); font-size: 12px; text-align: center; }
.ek-market-line { margin: 8px 0 0; color: var(--mute); font-size: clamp(24px, 1.9vw, 48px); font-weight: 600; }
.ek-18 { font-size: 0.6em; opacity: 0.8; }
@media (max-width: 480px) { .ya-mkt--big .ya-mkt-pill { font-size: 16px; } .ya-mkt--big .ya-mkt-value { font-size: 14px; } }

/* ---- bildirim zili ---- */
.ya-bell-wrap { position: relative; }
.ya-bell { position: relative; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font-size: 15px; line-height: 1; cursor: pointer; }
.ya-bell:hover { border-color: var(--mute); }
.ya-bell-count { position: absolute; top: -6px; right: -4px; min-width: 18px; padding: 1px 5px; border-radius: 999px; background: var(--miss); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; }
.ya-bell-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; width: 340px; max-height: 60vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); box-shadow: 0 8px 24px var(--scrim); }
.ya-bell-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 13px; font-weight: 600; }
.ya-bell-all { padding: 4px 8px; border: 0; background: transparent; color: var(--text); font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ya-bell-all:disabled { color: var(--mute); text-decoration: none; cursor: default; }
.ya-bell-empty { padding: 16px 12px; color: var(--mute); font-size: 14px; }
.ya-bell-item { display: block; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--mute); font-size: 14px; text-align: left; cursor: pointer; }
.ya-bell-item:hover { background: var(--panel-2); }
.ya-bell-item.is-unread { color: var(--text); font-weight: 700; box-shadow: inset 3px 0 0 var(--live); }
@media (max-width: 480px) {
  .ya-bell-wrap { position: static; }
  .ya-bell-list { position: fixed; top: var(--bar); left: 0; right: 0; width: auto; max-height: calc(100dvh - var(--bar)); border-radius: 0; border-width: 1px 0; }
}

/* 390 px: takım adları elipsis yerine en çok iki satıra sarılır; zaman/skor hapı dikeyde ortalı kalır */
@media (max-width: 480px) {
  .ya-team-nm, .ya-sb-name, .ya-sb--xl .ya-sb-name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    white-space: normal; overflow-wrap: anywhere; word-break: normal; line-height: 1.15; overflow: hidden; text-overflow: clip;
  }
  .ya-row { align-items: center; }
  .ya-team-line { align-items: center; }
  .ya-sb-teams { align-items: start; }
}
