/* Kick Özet paneli
   Kutu yığını yerine açık, yazı ağırlıklı bir düzen: ince çizgiler, bol boşluk, tek sinyal rengi (yayın ışığı turuncusu).
   Turuncu yalnızca canlı olanı, çalışanı, kesin seçileni ve senden bekleneni işaretler. Durum renkleri her zaman yazıyla birlikte. */

:root {
  --bg: #0b0c0e;
  --surface: #141519;
  --surface-2: #1a1c21;
  --surface-3: #23252b;
  --hover: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eeeef0;
  --text-2: #a5a8b0;
  --text-3: #6f737c;
  --invert: #f1f1ef;
  --on-invert: #0d0e10;
  --signal: #ff5b36;
  --signal-2: #ff7a5a;
  --signal-soft: rgba(255, 91, 54, 0.14);
  --ok: #3ccb7f;
  --ok-soft: rgba(60, 203, 127, 0.13);
  --warn: #f2b341;
  --warn-soft: rgba(242, 179, 65, 0.13);
  --err: #f2555a;
  --err-soft: rgba(242, 85, 90, 0.13);
  --info: #6aa6ff;
  --info-soft: rgba(106, 166, 255, 0.13);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f4f2; --surface: #ffffff; --surface-2: #f8f8f6; --surface-3: #ececea; --hover: rgba(0, 0, 0, 0.035);
    --line: rgba(0, 0, 0, 0.08); --line-2: rgba(0, 0, 0, 0.15); --text: #141518; --text-2: #565961; --text-3: #8a8d95;
    --invert: #141518; --on-invert: #fafaf8; --signal: #ea4520; --signal-2: #cf3a17; --signal-soft: rgba(234, 69, 32, 0.1);
    --ok: #1d9a5b; --ok-soft: rgba(29, 154, 91, 0.1); --warn: #a86e06; --warn-soft: rgba(205, 140, 20, 0.13);
    --err: #d5373d; --err-soft: rgba(213, 55, 61, 0.09); --info: #2d6ad9; --info-soft: rgba(45, 106, 217, 0.09);
    --shadow: 0 20px 60px rgba(20, 20, 30, 0.16); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f4f2; --surface: #ffffff; --surface-2: #f8f8f6; --surface-3: #ececea; --hover: rgba(0, 0, 0, 0.035);
  --line: rgba(0, 0, 0, 0.08); --line-2: rgba(0, 0, 0, 0.15); --text: #141518; --text-2: #565961; --text-3: #8a8d95;
  --invert: #141518; --on-invert: #fafaf8; --signal: #ea4520; --signal-2: #cf3a17; --signal-soft: rgba(234, 69, 32, 0.1);
  --ok: #1d9a5b; --ok-soft: rgba(29, 154, 91, 0.1); --warn: #a86e06; --warn-soft: rgba(205, 140, 20, 0.13);
  --err: #d5373d; --err-soft: rgba(213, 55, 61, 0.09); --info: #2d6ad9; --info-soft: rgba(45, 106, 217, 0.09);
  --shadow: 0 20px 60px rgba(20, 20, 30, 0.16); color-scheme: light;
}

/* ---------------------------------------------------------------- temel */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3, h4, p { margin: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--signal-soft); }
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[hidden] { display: none !important; }
.label-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 11.5px; font-weight: 680; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.label-h em { font-style: normal; color: var(--signal); }
.label-h .r { margin-left: auto; display: flex; gap: 4px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 560; }
.label-h a { color: var(--text-2); text-decoration: none; font-size: 12.5px; }
.label-h a:hover { color: var(--text); }

/* ---------------------------------------------------------------- kabuk: üst çubuk, uyarı şeridi, telefon çubuğu */

.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 22px; height: 60px; padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 680 15px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--invert); flex: none; }
.mark svg { width: 21px; height: 21px; stroke: none; }
.mark svg path { fill: var(--on-invert); }
.mark svg circle { fill: var(--signal); }
.mark.big { width: 56px; height: 56px; border-radius: 17px; margin: 0 auto 14px; }
.mark.big svg { width: 38px; height: 38px; }
.sections { display: flex; height: 100%; gap: 2px; }
.sections a { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--text-2); text-decoration: none; font-weight: 560; font-size: 13.5px; white-space: nowrap; }
.sections a:hover { color: var(--text); }
.sections a.on { color: var(--text); }
.sections a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--signal); }
.sections a i { font-style: normal; font-size: 11px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: var(--signal); color: #fff; }
.sections a i:empty { display: none; }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 560; color: var(--text-2); text-decoration: none; white-space: nowrap;
}
.status b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 640; }
.status .meter { width: 46px; height: 4px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.status .meter i { display: block; height: 100%; background: var(--signal); }
.iconbtn { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 0; background: none; color: var(--text-2); cursor: pointer; text-decoration: none; }
.iconbtn:hover { background: var(--hover); color: var(--text); }
.iconbtn svg { width: 17px; height: 17px; }
.banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px; font-size: 13px; font-weight: 560; text-align: center; }
.banner svg { width: 15px; height: 15px; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.err { background: var(--err-soft); color: var(--err); }
.view { max-width: 1260px; margin: 0 auto; padding: 38px 28px 110px; outline: none; }
.dock { display: none; }

/* ---------------------------------------------------------------- sayfa başı */

.pagehead { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.pagehead h1 { font: 720 30px/1.1 var(--display); letter-spacing: -0.03em; }
.pagehead p { color: var(--text-2); margin-top: 8px; max-width: 660px; }
.pagehead p b { color: var(--text); font-weight: 620; }
.pagehead .r { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------------------------------------------------------------- düğmeler, rozetler, giriş alanları */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 580; font-size: 13.5px; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background 0.12s, opacity 0.12s;
}
.btn:hover { background: var(--hover); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--invert); color: var(--on-invert); border-color: transparent; }
.btn.primary:hover { opacity: 0.88; }
.btn.signal { background: var(--signal); color: #fff; border-color: transparent; }
.btn.signal:hover { background: var(--signal-2); }
.btn.ghost { border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); }
.btn.danger { color: var(--err); }
.btn.danger:hover { background: var(--err-soft); }
.btn.solid-danger { background: var(--err); color: #fff; border-color: transparent; }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
.btn.sm svg { width: 14px; height: 14px; }
.btn.icon { width: 36px; padding: 0; }
.btn.sm.icon { width: 30px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.38; pointer-events: none; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.link { background: none; border: 0; padding: 0; color: var(--text-2); font-weight: 580; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.link:hover { color: var(--text); }
.link svg { width: 14px; height: 14px; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 620; white-space: nowrap; background: var(--surface-3); color: var(--text-2); text-decoration: none; }
.badge svg { width: 12px; height: 12px; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.signal { background: var(--signal-soft); color: var(--signal); }
.badge.solid { background: var(--invert); color: var(--on-invert); }
.badge.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
.dot.on { background: var(--ok); }
.dot.signal { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); animation: pulse 1.6s ease-in-out infinite; }
.dot.warn { background: var(--warn); }
.dot.err { background: var(--err); }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 4px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--signal); transition: width 0.5s; }
.progress.ind i { width: 35% !important; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }

.field { display: grid; gap: 6px; min-width: 0; }
.field .label, .field > label { font-size: 12.5px; font-weight: 620; color: var(--text-2); }
.field .help { font-size: 12px; color: var(--text-3); line-height: 1.45; }
.field .help b { color: var(--text-2); }
input[type="text"], input[type="password"], input[type="number"], input[type="time"], input[type="date"], input[type="datetime-local"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); outline: none; min-width: 0; transition: border-color 0.12s, box-shadow 0.12s;
}
textarea { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
select { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--text-3); box-shadow: 0 0 0 3px var(--hover); }
input:disabled, select:disabled, textarea:disabled { opacity: 0.5; }
input[type="time"]::-webkit-calendar-picker-indicator, input[type="date"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(0.5); }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-3); pointer-events: none; }
.search input { padding-left: 34px; height: 36px; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-weight: 560; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 36px; height: 21px; border-radius: 11px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; flex: none; transition: background 0.15s; }
.switch .track::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform 0.15s; }
.switch input:checked + .track { background: var(--signal); box-shadow: none; }
.switch input:checked + .track::after { transform: translateX(15px); }
.switch input:focus-visible + .track { outline: 2px solid var(--signal); outline-offset: 2px; }
.switch input:disabled + .track { opacity: 0.4; }

/* ---------------------------------------------------------------- açılır menü */

details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; min-width: 240px; padding: 6px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 1px; }
.menu-list > button, .menu-list > a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; text-decoration: none; font-size: 13px; color: var(--text); }
.menu-list > button:hover, .menu-list > a:hover { background: var(--hover); }
.menu-list > button:disabled { opacity: 0.4; pointer-events: none; }
.menu-list svg { width: 15px; height: 15px; color: var(--text-3); }
.menu-list .danger, .menu-list .danger svg { color: var(--err); }
.menu-list em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- küçük resimler */

.thumb { position: relative; overflow: hidden; background: var(--surface-3); border-radius: 10px; aspect-ratio: 16 / 9; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.tall { aspect-ratio: 9 / 16; }
.thumb.sq { aspect-ratio: 1; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); }
.thumb .ph svg { width: 22px; height: 22px; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(8, 8, 10, 0.72); color: #fff; font-size: 11px; font-weight: 640; font-variant-numeric: tabular-nums; }
.tag svg { width: 11px; height: 11px; }
.tag.tl { top: 7px; left: 7px; }
.tag.tr { top: 7px; right: 7px; }
.tag.bl { bottom: 7px; left: 7px; }
.tag.br { bottom: 7px; right: 7px; }
.tag.signal { background: var(--signal); }
.playable { cursor: pointer; }
.playable .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.22); opacity: 0; transition: opacity 0.15s; }
.playable:hover .play, .playable .play.always { opacity: 1; }
.playable .play.always { background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.35)); }
.play > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: #111; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.play > span svg { width: 22px; height: 22px; margin-left: 3px; }
.play.sm > span { width: 30px; height: 30px; }
.play.sm > span svg { width: 14px; height: 14px; margin-left: 2px; }
.player-head .iconbtn { color: #ccc; }
.avatar { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); font-size: 11.5px; font-weight: 680; overflow: hidden; flex: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faces { display: flex; align-items: center; }
.faces .avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); }
.faces .avatar:first-child { margin-left: 0; }
.faces span.more { margin-left: 8px; font-size: 12.5px; color: var(--text-2); }

.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 48px 16px; color: var(--text-2); }
.empty > svg { width: 28px; height: 28px; color: var(--text-3); margin-bottom: 4px; }
.empty b { color: var(--text); font: 640 15px/1.3 var(--display); }
.empty span { max-width: 460px; font-size: 13px; }
.empty .btns { margin-top: 8px; justify-content: center; }

/* ---------------------------------------------------------------- Akış */

.akis { max-width: 860px; margin: 0 auto; }
.hello { margin-bottom: 34px; }
.hello .date { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: 13px; font-weight: 580; }
.hello h1 { font: 740 36px/1.12 var(--display); letter-spacing: -0.035em; margin-top: 12px; text-wrap: balance; }
.hello h1 em { font-style: normal; color: var(--signal); }
.hello p { color: var(--text-2); font-size: 15px; margin-top: 12px; }

.asks { margin-bottom: 40px; }
.ask { display: grid; grid-template-columns: 3px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ask:last-child { border-bottom: 1px solid var(--line); }
.ask::before { content: ""; align-self: stretch; border-radius: 2px; background: var(--text-3); }
.ask.signal::before { background: var(--signal); }
.ask.warn::before { background: var(--warn); }
.ask.err::before { background: var(--err); }
.ask.info::before { background: var(--info); }
.ask .tx { min-width: 0; display: grid; gap: 3px; }
.ask .tx b { font-weight: 620; }
.ask .tx small { color: var(--text-2); font-size: 13px; }
.ask .btns { flex-wrap: nowrap; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 85px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line-2); }
.ev { position: relative; display: grid; grid-template-columns: 68px 36px minmax(0, 1fr); padding: 12px 0; }
.ev > time { text-align: right; font: 660 14px/1.35 var(--display); font-variant-numeric: tabular-nums; }
.ev > time small { display: block; font: 500 11px/1.4 var(--font); color: var(--text-3); }
.ev .node { justify-self: center; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text-3); z-index: 1; }
.ev.past > time { color: var(--text-2); }
.ev.past .node { background: var(--text-3); }
.ev.pub .node { border-color: var(--info); }
.ev.pub.past .node { background: var(--info); }
.ev.planned .node { border-color: var(--info); border-style: dashed; }
.ev.planned .eb > b { color: var(--text-2); font-weight: 600; }
.ev.job .node { width: 14px; height: 14px; margin-top: 3px; border-color: var(--text); }
.ev.job.past .node { background: var(--text); }
.ev.cjob .node { width: 14px; height: 14px; margin-top: 3px; border-color: var(--signal); }
.ev.cjob.past .node { background: var(--signal); }
.ev.bad .node { border-color: var(--err); background: var(--err); }
.ev.wait .node { border-color: var(--signal); background: var(--signal); }
.ev.now { padding: 18px 0; }
.ev.now > time { color: var(--signal); }
.ev.now .node { width: 16px; height: 16px; margin-top: 2px; background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px var(--signal-soft); }
.ev .eb { min-width: 0; display: grid; gap: 6px; padding-left: 6px; }
.ev .eb > b { font-weight: 640; font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ev .eb > p { color: var(--text-2); font-size: 13.5px; }
.ev.past .eb > b { color: var(--text-2); font-weight: 600; }
.ev .pubin { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 6px; margin: -6px; border-radius: 12px; }
.ev .pubin:hover { background: var(--hover); }
.ev .pubin .thumb { border-radius: 7px; }
.ev .pubin .tx { min-width: 0; display: grid; gap: 5px; }
.ev .pubin .tx b { font-weight: 620; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.past .pubin .tx b { color: var(--text-2); }
.targets { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.nowbox { display: grid; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); }
.nowbox .row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nowbox .big { display: grid; gap: 2px; margin-right: auto; }
.nowbox .big b { font: 700 20px/1.15 var(--display); letter-spacing: -0.02em; }
.nowbox .big small { color: var(--text-2); font-size: 13px; }
.nowbox .big small b { font: inherit; font-weight: 640; color: var(--text); font-variant-numeric: tabular-nums; }
.run { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.run .hd { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.run .hd b { font-weight: 620; }
.run .hd small { color: var(--text-3); margin-left: auto; font-variant-numeric: tabular-nums; }
.run p { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain { display: flex; flex-wrap: wrap; gap: 3px 0; font-size: 12.5px; color: var(--text-3); }
.chain span { white-space: nowrap; }
.chain span + span::before { content: "›"; margin: 0 7px; color: var(--text-3); opacity: 0.6; }
.chain .done { color: var(--text-2); }
.chain .active { color: var(--signal); font-weight: 650; }
.chain .wait { color: var(--warn); font-weight: 650; }
.chain .err { color: var(--err); font-weight: 650; }
.chain .skip { text-decoration: line-through; }
.cycle-nav { display: flex; gap: 2px; }
.health { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12.5px; color: var(--text-3); }
.health a { display: inline-flex; gap: 7px; align-items: center; text-decoration: none; }
.health a:hover { color: var(--text); }

/* yayın planı ve uyarı şeritleri */
.plan { display: grid; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--signal) 40%, transparent); background: var(--signal-soft); }
.plan > b { font-weight: 660; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plan li { display: grid; grid-template-columns: 48px auto minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; }
.plan li .ellipsis { color: var(--text-2); }
.plan p { color: var(--text-2); font-size: 12.5px; }
.plan.wide li { grid-template-columns: auto auto minmax(0, 1fr); }
.strip { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: var(--text-2); background: var(--surface-2); }
.strip > svg { width: 16px; height: 16px; margin-top: 2px; }
.strip b { color: var(--text); }
.strip.warn { background: var(--warn-soft); }
.strip.warn > svg { color: var(--warn); }
.strip.err { background: var(--err-soft); }
.strip.err > svg { color: var(--err); }
.strip .btns { margin-top: 8px; }

/* ---------------------------------------------------------------- Klip seçimi */

.recs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; margin: -2px -2px 0; scrollbar-width: none; }
.recs::-webkit-scrollbar { display: none; }
.rec { flex: none; display: grid; gap: 3px; min-width: 176px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; color: inherit; }
.rec:hover { border-color: var(--line-2); }
.rec b { font-weight: 640; font-size: 13.5px; white-space: nowrap; }
.rec small { display: flex; gap: 7px; align-items: center; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.rec.on { background: var(--surface); border-color: var(--line-2); box-shadow: inset 0 -2px 0 var(--signal); }
.rec-old { flex: none; width: auto; height: auto; align-self: stretch; border-radius: 13px; font-size: 13px; font-weight: 580; color: var(--text-2); background-color: transparent; }
.recbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: start; padding: 22px 0; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.recbar .tx { display: grid; gap: 6px; min-width: 0; }
.recbar h2 { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.recbar p { color: var(--text-2); }
.recbar .facts { color: var(--text-3); font-size: 12.5px; }
.recbar .facts a { color: var(--text-2); }
.recbar .wide { grid-column: 1 / -1; display: grid; gap: 12px; }

.desk { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tools .search { flex: 1; min-width: 200px; max-width: 360px; }
.tools .count { color: var(--text-3); font-size: 12.5px; margin-left: auto; }
.pool { --cols: 30px 92px minmax(0, 1fr) 58px 48px 54px 54px; }
.pool.nov { --cols: 30px 92px minmax(0, 1fr) 58px 48px 54px; }
.pool-h, .prow { display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: center; }
.pool-h { padding: 10px 10px; font-size: 11px; font-weight: 680; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.pool-h .c, .prow .c { text-align: center; }
.pool-h .r, .prow .r { text-align: right; }
.prow { width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; text-align: left; cursor: pointer; font-size: 13px; }
.prow:hover { background: var(--hover); }
.prow.sel { background: var(--surface); box-shadow: inset 3px 0 0 var(--signal); }
.prow.out { opacity: 0.5; }
.prow.out:hover, .prow.out.sel { opacity: 1; }
.prow .n { color: var(--text-3); font-weight: 680; font-variant-numeric: tabular-nums; text-align: right; }
.prow .thumb { border-radius: 6px; }
.prow .pt { min-width: 0; display: grid; gap: 3px; }
.prow .pt b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .pt small { display: flex; gap: 6px; align-items: center; color: var(--text-3); font-size: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }
.prow .pt small .avatar { width: 16px; height: 16px; font-size: 8px; }
.prow .pt small .warnc { color: var(--warn); }
.prow .r { color: var(--text-2); font-variant-numeric: tabular-nums; }
.mk { justify-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 22px; min-width: 22px; padding: 0 5px; border-radius: 6px; font-size: 11px; font-weight: 720; font-variant-numeric: tabular-nums; }
.mk svg { width: 12px; height: 12px; stroke-width: 2.6; }
.mkbtn { justify-self: center; display: grid; place-items: center; width: 42px; height: 34px; border-radius: 9px; cursor: pointer; transition: background 0.12s, box-shadow 0.12s; }
.mkbtn:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.mkbtn:hover .mk.none { border-color: var(--signal); background: var(--signal-soft); }
.mkbtn:hover .mk.on { background: var(--err-soft); color: var(--err); }
.mkbtn:hover .mk.pin { background: var(--err); }
.mkbtn:hover .mk.off { background: var(--signal-soft); color: var(--signal); }
.mkbtn:active { transform: scale(0.94); }
.mkbtn.busy { opacity: 0.4; pointer-events: none; }
.mkbtn.off { cursor: not-allowed; opacity: 0.6; }
.mkbtn.off:hover { background: none; box-shadow: none; }
.mk.none { min-width: 0; width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-2); }
.mk.on { background: color-mix(in srgb, var(--text) 82%, transparent); color: var(--bg); }
.mk.pin { background: var(--signal); color: #fff; }
.mk.off { background: var(--err-soft); color: var(--err); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--text-3); align-items: center; }
.legend span { display: inline-flex; gap: 7px; align-items: center; }
.more-row { display: flex; justify-content: center; gap: 8px; margin: 18px 0 4px; flex-wrap: wrap; }

.side { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto; scrollbar-width: thin; padding-right: 2px; }
.sum + .sum { margin-top: 30px; }
.sum-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.sum-h b { font: 680 16px/1.2 var(--display); }
.sum-h span { color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sum-h .r { margin-left: auto; }
.vslots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vslot { position: relative; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; padding: 0; border: 0; background: var(--surface-2); cursor: pointer; }
.vslot img { width: 100%; height: 100%; object-fit: cover; }
.vslot span { position: absolute; left: 4px; top: 4px; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 5px; background: rgba(0, 0, 0, 0.7); color: #fff; }
.vslot.pin { box-shadow: inset 0 0 0 2px var(--signal); }
.vslot.vacant { cursor: default; border: 1px dashed var(--line-2); background: transparent; display: grid; place-items: center; color: var(--text-3); font-size: 11px; }
.fill-bar { display: flex; gap: 2px; height: 6px; margin-bottom: 12px; }
.fill-bar i { flex: 1; border-radius: 2px; background: var(--surface-3); }
.fill-bar i.f { background: color-mix(in srgb, var(--text) 70%, transparent); }
.fill-bar i.p { background: var(--signal); }
.reel { list-style: none; margin: 0; padding: 0; display: grid; }
.reel li { display: grid; grid-template-columns: 28px 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 6px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.reel li:hover { background: var(--hover); }
.reel li .n { text-align: right; color: var(--text-3); font-weight: 680; font-size: 12px; font-variant-numeric: tabular-nums; }
.reel li.pin .n { color: var(--signal); }
.reel li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel li .d { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.reel li.card { cursor: default; color: var(--text-3); }
.reel .avatar { width: 22px; height: 22px; font-size: 9px; }
.side .hint { color: var(--text-3); font-size: 12.5px; margin-top: 18px; }

.insp { display: grid; gap: 14px; }
.insp-nav { display: flex; align-items: center; gap: 4px; }
.insp-nav .pos { margin-left: auto; margin-right: 6px; color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.insp .thumb { border-radius: 14px; }
.insp h3 { font: 680 19px/1.3 var(--display); letter-spacing: -0.015em; }
.insp .orig { color: var(--text-3); font-size: 12.5px; }
.insp .who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.insp .who b { color: var(--text); font-weight: 620; }
.choice { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.choice .hd { display: flex; align-items: center; gap: 8px; font-weight: 640; font-size: 13.5px; }
.choice .hd svg { width: 15px; height: 15px; color: var(--text-3); }
.choice .hd small { margin-left: auto; font-weight: 560; font-size: 12px; color: var(--text-3); }
.choice .hd small.on { color: var(--text); }
.choice .hd small.pin { color: var(--signal); }
.choice .hd small.off { color: var(--err); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.opt { display: grid; gap: 2px; align-content: start; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; text-align: left; cursor: pointer; font-size: 12.5px; font-weight: 640; color: var(--text-2); }
.opt small { font-weight: 500; color: var(--text-3); font-size: 11px; line-height: 1.35; }
.opt:hover { color: var(--text); background: var(--hover); }
.opt.on { color: var(--text); border-color: var(--text); }
.opt.on.pin { color: var(--signal); border-color: var(--signal); background: var(--signal-soft); }
.opt.on.off { color: var(--err); border-color: var(--err); background: var(--err-soft); }
.opt:disabled { opacity: 0.4; pointer-events: none; }
.choice .line { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); }
.choice .line .btn { margin-left: auto; }

/* ---------------------------------------------------------------- Takvim */

.days { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin: -2px -2px 26px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; position: relative; display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 10px 8px 9px; border-radius: 14px; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--text-2); }
.day:hover { border-color: var(--line-2); }
.day small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.day b { font: 720 21px/1.1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.day i { font-style: normal; font-size: 11px; color: var(--text-3); min-height: 15px; }
.day.today b { color: var(--signal); }
.day.on { background: var(--invert); border-color: transparent; }
.day.on b, .day.on small, .day.on i { color: var(--on-invert); }
.day.wait { min-width: 92px; border-color: color-mix(in srgb, var(--signal) 50%, transparent); }
.day.wait b { font-size: 15px; color: var(--signal); margin-top: 3px; }
.day.on.wait b { color: var(--on-invert); }
.day-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.day-title h2 { font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.day-title span { color: var(--text-3); font-size: 13px; }
.prog { list-style: none; margin: 0; padding: 0; }
.slotr { display: grid; grid-template-columns: 70px 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.slotr:hover { background: var(--hover); }
.slotr > time { font: 700 19px/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.slotr > time small { display: block; font: 500 11px/1.4 var(--font); color: var(--text-3); letter-spacing: 0; }
.slotr.past > time { color: var(--text-2); }
.slotr .thumb { width: 52px; border-radius: 8px; }
.slotr .si { min-width: 0; display: grid; gap: 6px; }
.slotr .si b { font-weight: 620; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slotr .si .meta { display: flex; gap: 6px 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.slotr .go { color: var(--text-3); transition: transform 0.15s; }
.slotr.open { background: var(--surface); border-bottom-color: transparent; }
.slotr.open .go { transform: rotate(180deg); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; padding: 6px 8px 24px 94px; background: var(--surface); border-bottom: 1px solid var(--line); }
.detail .main { display: grid; gap: 14px; min-width: 0; align-content: start; }
.detail pre.desc { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font: 13px/1.55 var(--font); white-space: pre-wrap; max-height: 230px; overflow: auto; }
.detail .cover { width: 100%; }
.detail .cover .thumb { border-radius: 12px; }
.detail .chapters { columns: 2; column-gap: 18px; font-size: 12.5px; list-style: none; margin: 0; padding: 0; }
.detail .chapters li { display: flex; gap: 8px; break-inside: avoid; padding: 1px 0; }
.detail .chapters .mono { color: var(--text-3); }
.detail summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--text-2); }

/* ---------------------------------------------------------------- Yayıncılar */

.reel-live { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.stream { display: grid; gap: 10px; text-decoration: none; color: inherit; min-width: 0; scroll-snap-align: start; }
.stream .thumb img { transition: transform 0.3s; }
.stream:hover .thumb img { transform: scale(1.03); }
.stream .meta { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.stream .meta b { display: block; font-weight: 620; font-size: 13.5px; }
.stream .meta small { display: block; color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 40px 0 6px; }
.people-tools .search { flex: 1; max-width: 360px; }
.group { margin-top: 26px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 28px; }
.person { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.person .avatar { width: 34px; height: 34px; }
.person .tx { min-width: 0; display: grid; gap: 1px; }
.person .tx a { font-weight: 640; text-decoration: none; display: flex; gap: 8px; align-items: center; }
.person .tx a:hover { text-decoration: underline; }
.person .tx small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .x { opacity: 0; transition: opacity 0.12s; }
.person:hover .x, .person:focus-within .x { opacity: 1; }
@media (hover: none) { .person .x { opacity: 1; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; }
.chip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.chip button svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------- İşler */

.runs { display: grid; gap: 10px; margin-bottom: 36px; }
.runl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.runl .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); }
.runl .tx { min-width: 0; display: grid; gap: 4px; }
.runl .tx b { font-weight: 640; }
.runl .tx small { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runl .tx .faint { font-size: 11.5px; }
.log-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.log-tools .search { flex: 1; max-width: 360px; }
.lday { position: sticky; top: 60px; z-index: 2; padding: 18px 6px 8px; background: var(--bg); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.ln { display: grid; grid-template-columns: 50px 20px minmax(0, 1fr) 64px 64px; gap: 12px; align-items: center; width: 100%; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; text-align: left; cursor: pointer; font-size: 13px; }
.ln:hover { background: var(--hover); }
.ln > time { font: 12px/1 var(--mono); color: var(--text-3); }
.ln .g { display: grid; place-items: center; color: var(--text-3); }
.ln .g svg { width: 15px; height: 15px; }
.ln .g.ok { color: var(--ok); }
.ln .g.err { color: var(--err); }
.ln .g.warn { color: var(--warn); }
.ln .g.signal { color: var(--signal); }
.ln .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln .t b { font-weight: 620; }
.ln .t span { color: var(--text-3); }
.ln .d { text-align: right; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.ln .st { text-align: right; font-size: 11.5px; font-weight: 640; color: var(--text-3); }
.ln .st.err { color: var(--err); }
.ln .st.warn { color: var(--warn); }
.ln.open { background: var(--surface); border-bottom-color: transparent; }
.ln.fold .t b { color: var(--text-2); }
.logbox { display: grid; gap: 12px; padding: 4px 6px 18px 88px; background: var(--surface); border-bottom: 1px solid var(--line); }
pre.log { margin: 0; padding: 14px; border-radius: 12px; background: #08090b; color: #d7d9de; font: 12px/1.6 var(--mono); max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.inner { padding-left: 24px; }

/* ---------------------------------------------------------------- Ayarlar */

.smd { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; }
.slist { position: sticky; top: 84px; display: grid; gap: 2px; }
.slist .grp { padding: 16px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.slist .grp:first-child { padding-top: 0; }
.sitem { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 11px; align-items: center; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: none; color: inherit; text-align: left; cursor: pointer; }
.sitem:hover { background: var(--hover); }
.sitem.on { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.sitem .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.sitem.on .ic { color: var(--signal); }
.sitem .ic svg { width: 15px; height: 15px; }
.sitem .tx { min-width: 0; display: grid; }
.sitem .tx b { font-weight: 620; font-size: 13.5px; }
.sitem .tx small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spanel { position: relative; padding: 28px 30px 0; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.spanel > header { display: grid; gap: 6px; margin-bottom: 24px; }
.spanel > header h2 { font: 720 24px/1.2 var(--display); letter-spacing: -0.025em; display: flex; gap: 10px; align-items: center; }
.spanel > header p { color: var(--text-2); max-width: 640px; }
.spanel .back { display: none; }
.sfoot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; margin: 28px -30px 0; padding: 14px 30px; border-top: 1px solid var(--line); background: var(--surface); border-radius: 0 0 22px 22px; }
.sfoot span { margin-right: auto; color: var(--text-3); font-size: 12.5px; }
.sfoot span.dirty { color: var(--signal); font-weight: 620; }
.spanel .pad-end { height: 28px; }
.rows { display: grid; }
.row-switch { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; }
.rows > .row-switch:first-child { border-top: 0; padding-top: 2px; }
.row-switch .txt { display: grid; gap: 2px; min-width: 0; }
.row-switch .txt b { font-weight: 600; }
.row-switch .txt small { color: var(--text-3); font-size: 12.5px; line-height: 1.45; }
.fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields.one { grid-template-columns: 1fr; }
.gap { height: 20px; }
.sub-h { display: flex; gap: 8px; align-items: center; font: 680 14px/1.3 var(--display); margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.sub-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sub-h svg { width: 16px; height: 16px; color: var(--text-3); }
.sample { font: 12px var(--mono); color: var(--text-3); padding: 9px 12px; border-radius: 9px; background: var(--surface-2); margin-bottom: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.option { position: relative; display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.option b { font-weight: 620; font-size: 13px; }
.option small { color: var(--text-3); font-size: 12px; }
.option .pv { height: 96px; border-radius: 10px; background: var(--surface-3); display: grid; place-items: center; }
.ph9 { width: 50px; height: 88px; border-radius: 6px; background: var(--bg); position: relative; overflow: hidden; }
.ph9 i { position: absolute; left: 0; right: 0; top: 32px; height: 24px; background: var(--text-3); }
.ph9 b { position: absolute; inset: 0; background: linear-gradient(var(--surface-3), var(--text-3)); filter: blur(4px); opacity: 0.5; }
.ph9.crop i { top: 0; bottom: 0; height: auto; background: linear-gradient(160deg, var(--text-3), var(--surface-3)); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.qr-box { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 22px; align-items: start; }
.qr { width: 150px; height: 150px; padding: 10px; border-radius: 14px; background: #121316; }
.qr svg { width: 100%; height: 100%; }
code.topic, .urls code { display: inline-block; padding: 6px 10px; border-radius: 8px; background: var(--surface-3); font: 12.5px var(--mono); word-break: break-all; }
.urls { display: grid; gap: 6px; justify-items: start; }
ol.howto { margin: 12px 0 16px; padding-left: 18px; color: var(--text-2); font-size: 13px; display: grid; gap: 4px; }
.sessions { display: grid; }
.sess { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.sess:first-child { border-top: 0; padding-top: 0; }
.sess .tx { display: grid; flex: 1; min-width: 0; }
.sess .tx b { display: flex; gap: 8px; align-items: center; font-weight: 620; }
.sess .tx b svg { width: 16px; height: 16px; color: var(--text-3); }
.sess .tx small { color: var(--text-3); font-size: 12.5px; }
.note { color: var(--text-3); font-size: 12.5px; }
.locked-note { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: 13px; margin-bottom: 14px; }
.locked-note svg { width: 15px; height: 15px; }
.recent { margin-top: 18px; }
.recent summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 13px; }
.recent ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.recent li { display: grid; gap: 2px; font-size: 13px; }
.recent li small { color: var(--text-3); }

/* ---------------------------------------------------------------- Özel derlemeler */

.crumbs { margin-bottom: 14px; }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 580; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 15px; height: 15px; }
.oagenda { margin-bottom: 26px; }
.oa { display: grid; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.oa-day { display: grid; grid-template-columns: 92px minmax(0, 1fr); border-top: 1px solid var(--line); }
.oa-day:first-child { border-top: 0; }
.oa-date { display: grid; align-content: start; justify-items: start; gap: 0; padding: 14px 16px; border-right: 1px solid var(--line); }
.oa-date b { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.oa-date span { font-size: 12px; color: var(--text-2); text-transform: capitalize; }
.oa-date small { margin-top: 6px; font-size: 11.5px; color: var(--text-3); text-transform: capitalize; }
.oa-day.now .oa-date b, .oa-day.now .oa-date small { color: var(--signal); }
.oa-items { display: grid; min-width: 0; }
.oa-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; text-decoration: none; color: inherit; min-width: 0; }
.oa-item + .oa-item { border-top: 1px dashed var(--line); }
.oa-item:hover { background: var(--hover); }
.oa-face .oc-faces .avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); font-size: 12px; }
.oa-face .oc-faces .avatar:first-child { margin-left: 0; }
.oa-face .ph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); color: var(--text-3); }
.oa-face .ph svg { width: 15px; height: 15px; }
.oa-main { display: grid; min-width: 0; }
.oa-main b { font-weight: 620; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-main small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-steps { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.oa-st { display: inline-flex; align-items: center; gap: 5px; }
.oa-st svg { width: 14px; height: 14px; color: var(--text-3); }
.oa-st i { font-style: normal; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.oa-st.yt svg { color: var(--info); }
.oa-ar svg { width: 13px; height: 13px; color: var(--text-3); display: block; }
.ocov { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; }
.ocov img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.ocov.busy img { opacity: .45; }
.ocov .ph svg { width: 26px; height: 26px; color: var(--text-3); }
.opv .hint.err { color: var(--err); }
.cstyles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cst { gap: 3px; padding: 10px; }
.cst-art { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; margin-bottom: 6px; background: linear-gradient(135deg, #3a3f4a, #15161a); }
.cst-art i { position: absolute; display: block; }
.cst-art.sahne { background: linear-gradient(0deg, rgba(10,10,12,.9), rgba(10,10,12,0) 60%), linear-gradient(135deg, #6b7a8f, #2b3240 60%, #1a1d24); }
.cst-art.sahne i:nth-child(1) { left: 8%; top: 10%; width: 16%; height: 16%; background: var(--signal); transform: skewX(-8deg); border-radius: 2px; }
.cst-art.sahne i:nth-child(2) { left: 8%; bottom: 30%; width: 52%; height: 11%; background: #f5f6f4; border-radius: 2px; }
.cst-art.sahne i:nth-child(3) { left: 6%; bottom: 13%; width: 62%; height: 12%; background: var(--signal); transform: skewX(-8deg); }
.cst-art.yayinci { background: radial-gradient(circle at 18% 50%, rgba(255,91,54,.35), transparent 55%), #15161a; }
.cst-art.yayinci i:nth-child(1) { left: 7%; top: 18%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #53fc18; background: #3a3f4a; }
.cst-art.yayinci i:nth-child(2) { left: 50%; top: 34%; width: 40%; height: 12%; background: #f5f6f4; border-radius: 2px; }
.cst-art.yayinci i:nth-child(3) { left: 48%; top: 52%; width: 44%; height: 13%; background: var(--signal); transform: skewX(-8deg); }
.cst-art.kart { background: radial-gradient(circle at 50% 45%, rgba(255,91,54,.25), transparent 60%), #1c1e24; }
.cst-art.kart i:nth-child(1) { left: 25%; top: 26%; width: 50%; height: 12%; background: #f5f6f4; border-radius: 2px; }
.cst-art.kart i:nth-child(2) { left: 32%; top: 43%; width: 36%; height: 14%; background: var(--signal); transform: skewX(-8deg); }
.cst-art.kart i:nth-child(3) { left: 36%; top: 70%; width: 28%; height: 10%; border-radius: 99px; background: repeating-linear-gradient(90deg, #53fc18 0 18%, transparent 18% 26%); }
.cst-art.otomatik { background: linear-gradient(90deg, #15161a 50%, #2b3240 50%); }
.cst-art.otomatik i:nth-child(1) { left: 10%; top: 26%; width: 30%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #53fc18; background: #3a3f4a; }
.cst-art.otomatik i:nth-child(2) { left: 56%; bottom: 34%; width: 34%; height: 11%; background: #f5f6f4; border-radius: 2px; }
.cst-art.otomatik i:nth-child(3) { left: 54%; bottom: 16%; width: 38%; height: 12%; background: var(--signal); transform: skewX(-8deg); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ocard { display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.ocard:has(details.menu[open]) { z-index: 30; position: relative; }
.ocard.off .oc-cover { filter: grayscale(0.8); opacity: 0.6; }
.oc-cover { border-radius: 17px 17px 0 0; overflow: hidden; aspect-ratio: 16 / 7; display: grid; place-items: center; text-decoration: none; }
.oc-faces { display: flex; align-items: center; }
.oc-faces .avatar { margin-left: -10px; box-shadow: 0 0 0 3px var(--surface-3); font-size: 15px; }
.oc-faces .avatar:first-child { margin-left: 0; }
.oc-body { display: grid; gap: 4px; align-content: start; padding: 14px 16px 10px; min-width: 0; }
.oc-h { display: flex; gap: 10px; align-items: center; justify-content: space-between; min-width: 0; }
.oc-h a { min-width: 0; text-decoration: none; }
.oc-h b { font: 660 16px/1.25 var(--display); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-body small { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-body small.faint { color: var(--text-3); }
.oc-next { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.oc-next svg { width: 14px; height: 14px; margin-top: 2px; color: var(--text-3); }
.oc-acts { display: flex; gap: 8px; align-items: center; padding: 10px 12px 12px 16px; border-top: 1px solid var(--line); }
.oc-acts .switch { font-size: 12.5px; color: var(--text-2); }
.oc-acts .sp { flex: 1; }
.ocard.add { grid-template-rows: none; place-content: center; justify-items: center; gap: 6px; min-height: 220px; border-style: dashed; background: transparent; color: var(--text-2); text-decoration: none; }
.ocard.add:hover { border-color: var(--line-2); color: var(--text); }
.ocard.add svg { width: 24px; height: 24px; }
.ocard.add small { color: var(--text-3); font-size: 12px; }
.opresets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.opresets.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.opreset { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: inherit; }
.opreset:hover { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.opreset svg { width: 20px; height: 20px; color: var(--signal); margin-bottom: 6px; }
.opreset b { font-weight: 640; font-size: 14px; }
.opreset small { color: var(--text-3); font-size: 12.5px; }
.opreset.sm { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: transparent; }
.opreset.sm svg { width: 15px; height: 15px; margin: 0; }
.opreset.sm b { font-size: 12.5px; font-weight: 600; }
.recbar.sub { padding-top: 18px; }
.recbar.sub h2 { font-size: 19px; }
.ohead2 { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 4px; }
.ohead2 .oside-sec:only-child { grid-column: 1 / -1; }
.oside-sec { min-width: 0; }
.oruns { list-style: none; margin: 0; padding: 0; display: grid; }
.oruns li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.oruns li:first-child { border-top: 0; padding-top: 2px; }
.oruns time { grid-row: span 2; font-weight: 640; font-variant-numeric: tabular-nums; }
.oruns small { color: var(--text-3); font-size: 12px; }
.oedit { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.oform { min-width: 0; padding: 26px 28px 0; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.oform .field { align-content: start; }
.ofs + .ofs { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.ofs > .sub-h { margin: 0 0 14px; padding: 0; border: 0; }
.ofoot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; margin: 28px -28px 0; padding: 14px 28px; border-top: 1px solid var(--line); background: var(--surface); border-radius: 0 0 22px 22px; z-index: 5; }
.ofoot span { margin-right: auto; color: var(--text-3); font-size: 12.5px; }
.ofoot span.dirty { color: var(--signal); font-weight: 620; }
.ofoot span.err { color: var(--err); font-weight: 620; }
.options.seg { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.options.seg.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.options.seg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.seg .option { gap: 3px; padding: 11px 12px; }
.option.dis { opacity: 0.45; cursor: not-allowed; }
.kbox { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 42px; padding: 5px 6px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); cursor: text; }
.kbox:focus-within { border-color: var(--text-3); box-shadow: 0 0 0 3px var(--hover); }
.kbox .chip { height: 28px; padding: 0 4px 0 4px; gap: 6px; background: var(--surface); }
.kbox .chip .avatar { width: 20px; height: 20px; font-size: 9px; }
.kbox input { flex: 1; min-width: 160px; height: 28px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 6px; }
.phs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 12.5px; }
.phbtn { height: 26px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); font: 12px var(--mono); cursor: pointer; }
.phbtn:hover { color: var(--text); border-color: var(--signal); }
.opv { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto; scrollbar-width: thin; display: grid; gap: 14px; align-content: start; }
.opv .sum + .sum { margin-top: 10px; }
.opv .label-h { margin-bottom: 0; }
.opv .label-h .spin { width: 11px; height: 11px; }
.otitle { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 620; line-height: 1.4; word-break: break-word; }
.opv pre.desc { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font: 12.5px/1.55 var(--font); white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow: auto; }
.opv .tags { display: flex; gap: 5px; flex-wrap: wrap; }
.opv .hint { color: var(--text-3); font-size: 12px; }
.sum-h .warnc, .opv .warnc { color: var(--warn); }
.hint { color: var(--text-3); font-size: 12.5px; }

/* ---------------------------------------------------------------- pencereler, bildirim, giriş */

dialog { border: 0; padding: 0; color: var(--text); background: transparent; }
dialog::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(3px); }
.modal[open] { width: min(520px, calc(100vw - 32px)); border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.modal-head { padding: 22px 24px 4px; }
.modal-head h2 { font: 700 19px/1.3 var(--display); letter-spacing: -0.015em; }
.modal-body { padding: 10px 24px 6px; color: var(--text-2); display: grid; gap: 14px; }
.modal-body b { color: var(--text); }
.modal-body form { display: grid; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px 22px; }
.short-clip { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.short-clip b { display: block; color: var(--text); font-weight: 620; line-height: 1.35; }
.short-clip small { color: var(--text-3); }
.switches { display: flex; gap: 18px; flex-wrap: wrap; }
.player[open] { width: min(1100px, calc(100vw - 32px)); border-radius: 18px; overflow: hidden; background: #000; }
.player.tall[open] { width: min(420px, calc(100vw - 32px)); }
.player-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: #0c0c0e; color: #eee; }
.player-head b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-body video { display: block; width: 100%; max-height: 80vh; background: #000; }
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; padding: 10px 16px; border-radius: 12px; background: var(--invert); color: var(--on-invert); font-weight: 580; font-size: 13.5px; box-shadow: var(--shadow); animation: toast-in 0.2s ease; max-width: min(560px, calc(100vw - 32px)); }
.toast.err { background: var(--err); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.login { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); padding: 16px; }
.login-card { width: min(380px, 100%); display: grid; gap: 14px; text-align: center; }
.login-card h1 { font: 720 24px/1.2 var(--display); letter-spacing: -0.02em; }
.login-card p { color: var(--text-2); }
.login-card .field { text-align: left; }
.login-card input.pin { font: 600 26px/1.2 var(--mono); letter-spacing: 0.4em; text-align: center; }
.login-error { color: var(--err); font-size: 13px; min-height: 18px; }
.skeleton { height: 200px; border-radius: 18px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- uyarlanır yerleşim */

@media (max-width: 1180px) {
  .top { gap: 14px; padding: 0 20px; }
  .sections a { padding: 0 9px; }
  .brand span { display: none; }
  .desk { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
  .oedit { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .pool { --cols: 26px 76px minmax(0, 1fr) 48px 54px 54px; }
  .pool.nov { --cols: 26px 76px minmax(0, 1fr) 48px 54px; }
  .pool .hide-md { display: none; }
  .smd { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .top { padding: 0 16px; height: 56px; padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .sections { display: none; }
  .brand span { display: inline; }
  .lday { top: 56px; }
  .view { padding: 24px 16px calc(110px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: repeat(7, 1fr); position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--surface-2) 92%, transparent); border: 1px solid var(--line-2);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
  }
  .dock a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 16px; color: var(--text-3); text-decoration: none; font-size: 10px; font-weight: 600; }
  .dock a svg { width: 20px; height: 20px; }
  .dock a.on { background: var(--surface); color: var(--text); }
  .dock a.on svg { color: var(--signal); }
  .dock a i { position: absolute; top: 5px; left: calc(50% + 6px); width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
  .dock a i:empty { display: none; }
  .pagehead h1 { font-size: 26px; }
  .hello h1 { font-size: 28px; }
  .desk { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; overflow: visible; order: -1; }
  .side.sheet { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; padding: 18px 16px calc(100px + env(safe-area-inset-bottom)); background: var(--surface); border-radius: 22px 22px 0 0; border-top: 1px solid var(--line-2); box-shadow: var(--shadow); }
  .side:not(.sheet) .reel { max-height: 260px; overflow: auto; }
  .smd { grid-template-columns: 1fr; }
  .slist { position: static; }
  .smd.open .slist { display: none; }
  .smd:not(.open) .spanel { display: none; }
  .spanel { padding: 20px 18px 0; border-radius: 18px; }
  .spanel .back { display: inline-flex; margin-bottom: 10px; }
  .sfoot { margin: 24px -18px 0; padding: 12px 18px; bottom: calc(76px + env(safe-area-inset-bottom)); border-radius: 0 0 18px 18px; }
  .detail { grid-template-columns: 1fr; padding: 4px 8px 20px; }
  .detail .cover { display: none; }
  .oedit { grid-template-columns: 1fr; }
  .opv { position: static; max-height: none; overflow: visible; }
  .oform { padding: 20px 18px 0; border-radius: 18px; }
  .ofoot { margin: 24px -18px 0; padding: 12px 18px; bottom: calc(76px + env(safe-area-inset-bottom)); border-radius: 0 0 18px 18px; }
  .ohead2 { grid-template-columns: 1fr; gap: 20px; }
  .options.seg.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .status .lbl { display: none; }
  .ask { grid-template-columns: 3px minmax(0, 1fr); }
  .ask .btns { grid-column: 2; flex-wrap: wrap; }
  .timeline::before { left: 59px; }
  .ev { grid-template-columns: 46px 28px minmax(0, 1fr); }
  .ev > time { font-size: 13px; }
  .nowbox { padding: 14px; }
  .recbar { grid-template-columns: 1fr; }
  .pool, .pool.nov { --cols: 72px minmax(0, 1fr) 42px 42px; }
  .pool.nov { --cols: 72px minmax(0, 1fr) 42px; }
  .pool .hide-sm { display: none; }
  .pool-h { font-size: 10px; }
  .tools .count { margin-left: 0; width: 100%; }
  .slotr { grid-template-columns: 52px 40px minmax(0, 1fr) 18px; gap: 12px; padding: 12px 4px; }
  .slotr > time { font-size: 15px; }
  .slotr .thumb { width: 40px; }
  .slotr .si b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .detail .chapters { columns: 1; }
  .reel-live { grid-auto-columns: 220px; }
  .people { grid-template-columns: 1fr; }
  .ln { grid-template-columns: 42px 18px minmax(0, 1fr) 52px; gap: 10px; }
  .ln .d { display: none; }
  .logbox { padding: 4px 6px 16px; }
  .fields.two { grid-template-columns: 1fr; }
  .qr-box { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .plan li { grid-template-columns: 44px minmax(0, 1fr); }
  .plan li .ellipsis { grid-column: 1 / -1; }
  .short-clip { grid-template-columns: 96px minmax(0, 1fr); }
  .ogrid { grid-template-columns: 1fr; }
  .options.seg.two { grid-template-columns: 1fr; }
  .oa-day { grid-template-columns: 1fr; }
  .oa-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 6px; padding: 10px 14px 4px; border-right: 0; }
  .oa-date small { margin-top: 0; }
  .oa-item { grid-template-columns: auto minmax(0, 1fr); padding: 10px 14px; }
  .oa-steps { grid-column: 2; flex-wrap: wrap; white-space: normal; }
  .cstyles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock a span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
