/* Yayın masası: dört ürün kartı (geniş ekranda üç sütun + altta tam genişlikte 6'lı kartı, dar ekranda alt alta).
   Her kart kendi şablonunun rengini taşır: hava = turkuaz, erken bahis = yeşil, yurt dışı = mor, 6'lı = lacivert.
   YD rozeti videodaki yeşil rozetin aynısı. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-standard-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-sans-latin-400-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-sans-latin-500-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/ibm-plex-sans-latin-600-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-mono-latin-400-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-mono-latin-500-normal.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #edf1f3; --surface: #ffffff; --surface-2: #f5f8f9; --ink: #0d1b24; --muted: #566874; --line: #d3dde3;
  --hava: #136f87; --hava-soft: #ddeff5; --ebo: #087a33; --ebo-soft: #dff3e5; --yd: #6b3d9c; --yd-soft: #efe7f7;
  --altili: #2c4fb5; --altili-soft: #e2e8f8; --lineup: #b3245c; --lineup-soft: #fbe5ee; --kosu: #5f7a00; --kosu-soft: #eef3d9;
  --run: #8f5400; --run-soft: #fbefd9; --bad: #b42318; --bad-soft: #fbe6e3; --ok: #0b7a3b; --ok-soft: #e1f3e8;
  --badge: #00f134; --badge-ink: #04130a;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1116; --surface: #111b22; --surface-2: #0d161c; --ink: #e4ecf0; --muted: #8b9da8; --line: #24333d;
    --hava: #70c0d6; --hava-soft: #10303a; --ebo: #45e070; --ebo-soft: #0f2f1a; --yd: #c3a0ec; --yd-soft: #271b37;
    --altili: #94acf5; --altili-soft: #18213b; --lineup: #f290b7; --lineup-soft: #3a1726; --kosu: #b8d95a; --kosu-soft: #26300f;
    --run: #f2b65a; --run-soft: #33260f; --bad: #ff8a80; --bad-soft: #3a1714; --ok: #5bd68a; --ok-soft: #0f2c1b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1116; --surface: #111b22; --surface-2: #0d161c; --ink: #e4ecf0; --muted: #8b9da8; --line: #24333d;
  --hava: #70c0d6; --hava-soft: #10303a; --ebo: #45e070; --ebo-soft: #0f2f1a; --yd: #c3a0ec; --yd-soft: #271b37;
  --altili: #94acf5; --altili-soft: #18213b; --lineup: #f290b7; --lineup-soft: #3a1726; --kosu: #b8d95a; --kosu-soft: #26300f;
  --run: #f2b65a; --run-soft: #33260f; --bad: #ff8a80; --bad-soft: #3a1714; --ok: #5bd68a; --ok-soft: #0f2c1b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); }
.wrap { max-width: 1440px; margin: 0 auto; padding-block: 28px 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; gap: 22px; }
.top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.intro { min-width: 0; max-width: 78ch; flex: 1 1 420px; }
.eyebrow { margin: 0 0 4px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font: 800 clamp(28px, 4.2vw, 40px)/1.05 var(--display); font-stretch: 78%; letter-spacing: -.01em; text-wrap: balance; text-transform: uppercase; }
.lede { margin: 8px 0 0; color: var(--muted); }
.who { display: grid; gap: 6px; flex: 0 1 300px; min-width: 0; }
.who input { width: 100%; font: 500 15px/1.2 var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; }
.who input:focus-visible { outline: 2px solid var(--hava); outline-offset: 1px; border-color: transparent; }
.conn { font: 500 12.5px/1.4 var(--mono); color: var(--muted); display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.conn[data-s="ok"] .dot { background: var(--ok); }
.conn[data-s="warn"] .dot { background: var(--run); }
.conn[data-s="off"] .dot { background: var(--bad); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-head { min-height: 84px; } }
@media (min-width: 1560px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.card.drop { outline: 3px dashed var(--acc); outline-offset: -8px; background: var(--acc-soft); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border-top: 4px solid var(--acc); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font: 800 22px/1.1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; min-width: 0; }
.card-head h2 span { color: var(--acc); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 14px; min-width: 0; }
.spec { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.spec span { font: 500 12px/1 var(--mono); padding: 5px 8px; border-radius: 4px; background: var(--acc-soft); color: var(--ink); }
.desc { margin: 0; color: var(--muted); max-width: 62ch; }
form.run { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.lbl { font-size: 13px; font-weight: 600; }
.lbl .opt { font-weight: 400; color: var(--muted); }
.lbl-row { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 220px; min-width: 0; margin: 0; padding: 0; border: 0; }
.seg label { position: relative; flex: 1 1 120px; min-width: 0; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg .opt-in { display: grid; gap: 2px; height: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 13.5px; line-height: 1.25; }
.seg .opt-in b { font-weight: 600; }
.seg .opt-in small { font: 400 11.5px/1.25 var(--mono); color: var(--muted); letter-spacing: .02em; }
.seg input:checked + .opt-in { border-color: var(--acc); background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc); }
.seg input:focus-visible + .opt-in { outline: 2px solid var(--acc); outline-offset: 2px; }
.seg input:disabled { cursor: not-allowed; }
.seg input:disabled + .opt-in { opacity: .6; }
.meta { margin: 0; font: 400 12px/1.45 var(--mono); color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.meta[data-s="bad"] { color: var(--bad); }
.picks { display: grid; gap: 6px; }
.pick { position: relative; display: block; min-width: 0; }
.pick input { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; margin: 0; accent-color: var(--acc); cursor: pointer; }
.pick-in { display: grid; gap: 3px; padding: 9px 12px 9px 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; min-width: 0; }
.pick-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pick-h b { font: 700 15px/1.15 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; min-width: 0; }
.pick-in small { font: 400 12px/1.3 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.pick input:checked + .pick-in { border-color: var(--acc); background: var(--acc-soft); }
.pick input:focus-visible + .pick-in { outline: 2px solid var(--acc); outline-offset: 2px; }
.pick input:disabled { cursor: not-allowed; }
.pick input:disabled + .pick-in { cursor: not-allowed; opacity: .6; }
.go-row { justify-content: space-between; align-items: center; }
.sum { font-size: 13px; color: var(--muted); min-width: 0; flex: 1 1 160px; }
.file-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.file-btn { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.file-btn:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
.file-btn:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
button { font: 600 14px/1 var(--body); border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
button:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--acc, var(--hava)); outline-offset: 2px; }
.go { background: var(--acc); color: var(--surface); padding: 11px 22px; min-width: 120px; font-family: var(--display); font-weight: 800;
  font-stretch: 85%; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.go:hover { filter: brightness(1.08); }
.go:disabled { cursor: not-allowed; background: var(--line); color: var(--muted); filter: none; }
.ghost { display: inline-flex; align-items: center; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 12px;
  font: 600 13px/1 var(--body); border-radius: 6px; text-decoration: none; cursor: pointer; }
.ghost:hover { border-color: var(--muted); }
button.ghost:disabled { color: var(--muted); cursor: default; border-color: var(--line); }
.ghost.sm { padding: 6px 10px; font-size: 12.5px; }
.danger { background: var(--bad); color: var(--surface); padding: 8px 12px; font-size: 13px; }

.pill { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 999px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.pill[data-s="run"] { background: var(--run-soft); border-color: transparent; color: var(--run); }
.pill[data-s="ok"] { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.pill[data-s="bad"] { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.pill[data-s="run"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; animation: blink 1.2s ease-in-out infinite; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .25; } }

.jobs { display: grid; gap: 8px; }
.jobs:empty { display: none; }
.job { margin: 0; padding: 10px 12px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; display: grid; gap: 6px; }
.job[data-s="bad"] { background: var(--bad-soft); border-color: transparent; }
.job[data-s="run"] { background: var(--run-soft); border-color: transparent; }
.job[data-s="ok"] { background: var(--ok-soft); border-color: transparent; }
.job-h { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.job-h b { font-weight: 600; }
.job-h span { font: 400 12px/1.3 var(--mono); color: var(--muted); }
.job p { margin: 0; }
.job small { display: block; color: var(--muted); font: 400 12px/1.4 var(--mono); }
.job ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink); }
.job .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--run) 18%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--run); border-radius: 3px; transition: width .6s ease; }
.bar.indet i { width: 30%; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
pre.log { margin: 0; max-height: 240px; overflow: auto; font: 400 11.5px/1.4 var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 8px; white-space: pre-wrap; }
.notice { margin: 0; padding: 10px 12px; border-radius: 6px; font-size: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.notice[data-s="bad"] { background: var(--bad-soft); border-color: transparent; }

.sect { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 2px 0 -4px; }
.sect h3 { margin: 0; font: 700 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sect span { font: 400 12px/1 var(--mono); color: var(--muted); }
.videos { display: grid; gap: 16px; }
.empty { margin: 0; color: var(--muted); font-size: 14px; padding: 18px 14px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }
.vid { margin: 0; display: grid; gap: 8px; min-width: 0; }
.vid video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; display: block; }
.vid figcaption { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; min-width: 0; }
.vt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vt strong { font: 800 17px/1.15 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .01em; min-width: 0; overflow-wrap: anywhere; }
.vt time { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs { font-weight: 600; font-variant-numeric: tabular-nums; }
.vl { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ydl { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 5px; }
.ydl li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 9px; align-items: center; }
.ydb { font: 800 11.5px/1 var(--display); font-stretch: 90%; background: var(--badge); color: var(--badge-ink); padding: 4px 5px 3px; border-radius: 2px; letter-spacing: .02em; white-space: nowrap; flex: none; }
.ydn { font: 700 13.5px/1.2 var(--display); font-stretch: 85%; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; }
.ydt { font: 500 12.5px/1.2 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.va { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.va .tag { font: 400 12px/1.3 var(--mono); color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.va .tag[data-s="bad"] { color: var(--bad); }
.va .tag[data-s="ok"] { color: var(--ok); }
.va .tag[data-s="run"] { color: var(--run); }
details.tbl summary { cursor: pointer; font: 500 12.5px/1.4 var(--mono); color: var(--muted); width: max-content; }
details.tbl table { margin-top: 6px; width: 100%; border-collapse: collapse; font: 400 12.5px/1.35 var(--mono); font-variant-numeric: tabular-nums; }
details.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 3px 6px 3px 0; border-bottom: 1px solid var(--line); }
details.tbl td { padding: 3px 6px 3px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
details.tbl td.fav { font-weight: 600; }
details.tbl td.wrap { white-space: normal; }
details.older { border-top: 1px solid var(--line); padding-top: 10px; }
details.older summary { cursor: pointer; font: 600 13px/1.4 var(--body); color: var(--muted); }
details.older .videos { margin-top: 12px; }
/* Katlanabilir "Bugün" listesi (Erken Bahis): kapalı gelir, başlığa tıklayınca açılır */
details.today > summary { cursor: pointer; list-style: none; }
details.today > summary::-webkit-details-marker { display: none; }
details.today > summary h3::before { content: "▶"; display: inline-block; margin-right: 7px; font-size: .8em; transition: transform .15s; }
details.today[open] > summary h3::before { transform: rotate(90deg); }
details.today > summary:hover h3 { color: var(--ink); }
details.today .videos { margin-top: 14px; }

.foot { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 13.5px; }
.note { margin: 0; max-width: 100ch; }
.note.small { font: 400 12px/1.5 var(--mono); }
.foot a { color: inherit; }

/* 6'lı Ganyan Saatleri: tam genişlik kart, solda düzenleyici, sağda önizleme + videolar */
@media (min-width: 1040px) {
  .card-wide { grid-column: 1 / -1; }
  .al-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
}
.al-main, .al-side { display: grid; gap: 14px; min-width: 0; align-content: start; }
.tx { width: 100%; min-width: 0; font: 500 14.5px/1.2 var(--body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; }
.tx:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; border-color: transparent; }
.tx[aria-invalid="true"] { border-color: var(--bad); }
.tx.time { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: center; padding-inline: 4px; }
select.tx { padding-block: 7px; cursor: pointer; }
.al-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; }
@media (max-width: 560px) { .al-head { grid-template-columns: minmax(0, 1fr); } }
.al-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: alrow; }
.al-row { border: 1px solid var(--line); border-left: 3px solid var(--acc); border-radius: 6px; background: var(--surface-2);
  padding: 8px 10px 10px; display: grid; gap: 8px; min-width: 0; }
.al-row[data-bad="1"] { border-left-color: var(--bad); }
.al-rh { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.al-n { font: 700 12px/1 var(--mono); color: var(--surface); background: var(--acc); border-radius: 3px; padding: 4px 6px; flex: none; }
.al-rh select { width: auto; flex: 0 1 150px; }
.al-rh .sp { flex: 1 1 auto; }
.al-rh .ghost.sm { padding: 5px 8px; }
.al-f { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); align-items: end; }
.al-f .wide { grid-column: span 2; }
.al-f label { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: var(--muted); min-width: 0; }
.al-k { display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-hint { margin: 0; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.al-prev { margin: 0; display: grid; gap: 6px; }
.al-prev img { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 6px; background: #000; }
.al-prev figcaption { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.al-prev[data-stale="1"] img { opacity: .55; }
#al-issues:empty { display: none; }
#al-issues[data-s="bad"] { color: var(--bad); }

/* Program Kapağı: kişi satırları (küçük kart + ad + fotoğraf), başlık satırları, sağ blok */
.lu-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lu-p { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--line);
  border-left: 4px solid var(--line); border-radius: 6px; background: var(--surface-2); padding: 8px; min-width: 0; }
.lu-p[data-s="ok"] { border-left-color: var(--ok); }
.lu-p[data-s="run"] { border-left-color: var(--run); }
.lu-p[data-s="bad"] { border-color: var(--bad); border-left-color: var(--bad); background: var(--bad-soft); }
.file-btn.is-off { opacity: .5; pointer-events: none; }
.lu-p.drop { outline: 2px dashed var(--acc); outline-offset: -4px; background: var(--acc-soft); }
.lu-thumb { width: 92px; height: 86px; border-radius: 5px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 100%, #12495a 0%, #0b2531 55%, #08161e 100%); }
.lu-thumb img { width: 92px; height: 92px; display: block; }
.lu-thumb::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 8px; background: #12ced8; }
.lu-thumb .lu-none { position: absolute; inset: 0 0 8px; display: grid; place-items: center; text-align: center; padding: 6px;
  font: 500 11px/1.25 var(--mono); color: #9fc1cc; }
.lu-thumb[data-busy="1"] img { opacity: .4; }
.lu-pm { display: grid; gap: 6px; min-width: 0; }
.lu-pr { display: flex; gap: 6px; align-items: center; min-width: 0; }
.lu-pr .tx { flex: 1 1 auto; text-transform: uppercase; font-weight: 600; }
.lu-pr .ghost.sm { padding: 5px 8px; flex: none; }
.lu-st { margin: 0; font: 400 12px/1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.lu-st[data-s="bad"] { color: var(--bad); }
.lu-st[data-s="ok"] { color: var(--ok); }
.lu-st[data-s="run"] { color: var(--run); }
.lu-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lu-adj { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.lu-adj .ghost.sm { padding: 5px 8px; min-width: 30px; justify-content: center; }
.lu-adj small { font: 400 11.5px/1 var(--mono); color: var(--muted); margin-right: 2px; }
.lu-sugg { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.lu-sugg:empty { display: none; }
.lu-sugg .ghost.sm { padding: 4px 8px; }
.lu-tl { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; }
.lu-check { display: block; font-size: 13.5px; cursor: pointer; line-height: 1.45; }
.lu-check input { accent-color: var(--acc); width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -3px; }
.lu-check .opt { color: var(--muted); font-size: 12.5px; }
.lu-right { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
@media (max-width: 640px) { .lu-right { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .lu-p { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 6px; }
  .lu-thumb { width: 64px; height: 60px; }
  .lu-thumb img { width: 64px; height: 64px; }
  .lu-thumb::after { left: 5px; right: 5px; height: 6px; }
  .lu-pr { flex-wrap: wrap; }
  .lu-pr .tx { flex: 1 1 100%; order: 2; }
  .lu-pr .al-n { order: 1; }
  .lu-pr .ghost.sm { order: 1; }
  .lu-tl { grid-template-columns: minmax(0, 1fr) 96px; }
}
#lu-issues:empty, #lu-layout:empty { display: none; }
#lu-issues[data-s="bad"] { color: var(--bad); }

/* giriş sayfası */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login form { width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--hava); border-radius: 10px; padding: 22px; display: grid; gap: 12px; }
.login h1 { font-size: 28px; }
.login input { width: 100%; font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.login .go { --acc: var(--hava); width: 100%; }
.login .err { margin: 0; color: var(--bad); font-size: 14px; }
.login .err:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .pill[data-s="run"]::before, .bar.indet i { animation: none; } .bar i { transition: none; } details.today > summary h3::before { transition: none; } }

/* masaüstü sürümü: başlıktaki düğmeler ve Ayarlar penceresi */
.desk { display: flex; flex-wrap: wrap; gap: 6px; }
.set-box { display: grid; gap: 8px; min-width: 0; }
.adm { width: min(440px, calc(100vw - 32px)); }
.set { --acc: var(--hava); --acc-soft: var(--hava-soft); width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line);
  border-top: 4px solid var(--hava); border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 18px 60px rgba(0, 0, 0, .35); }
.set::backdrop { background: rgba(5, 12, 16, .55); }
.set form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; max-height: calc(100vh - 52px); }
.set-head { padding: 18px 20px 8px; }
.set-head h2 { margin: 0 0 4px; font: 800 22px/1.15 var(--display); }
.set-body { overflow: auto; padding: 4px 20px 8px; display: grid; gap: 14px; }
.set fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 14px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.set legend { font: 700 13px/1 var(--body); padding: 0 6px; color: var(--hava); }
.set-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.set-pick { display: flex; gap: 8px; align-items: center; }
.set-pick .tx { flex: 1 1 auto; }
.set-more summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 2px 0 6px; }
.set-msg { padding: 0 20px; min-height: 18px; }
.set-msg[data-s="bad"] { color: var(--bad); }
.set-msg[data-s="ok"] { color: var(--ok); }
.set-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.set-io, .set-act { display: flex; gap: 8px; align-items: center; }
.set .go { min-width: 110px; }
.set .field > .ghost { justify-self: start; }
@media (max-width: 560px) { .set-two { grid-template-columns: minmax(0, 1fr); } }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: min(720px, calc(100vw - 32px)); z-index: 50;
  background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 8px; font: 500 13.5px/1.4 var(--body);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); overflow-wrap: anywhere; }
.toast[data-s="bad"] { background: var(--bad); color: #fff; }
.toast[hidden] { display: none; }
