/* Panel tasarım sistemi (2026-11-17): nötr grafit zemin, tek vurgu mor-mavi, Geist. Yüzeyler çizgiyle ayrılır;
   sayfanın tek gösterişli parçası en üstteki program akışı şerididir. */

/* ------------------------------------------------------------------ 1. Değişkenler */
:root {
  --bg: #f7f7f8;
  --card: #ffffff;
  --card-2: #f0f0f2;
  --line: #e6e6ea;
  --line-2: #cfcfd6;
  --text: #111114;
  --text-2: #6a6a75;
  --accent: #5b4bff;
  --accent-text: #4a3ae0;
  --accent-soft: #eeecff;
  --on-accent: #ffffff;
  --ok: #12805a;
  --warn: #a8620a;
  --bad: #d13438;
  --tt: #0b8f97;
  --ring: linear-gradient(45deg, #f9a23b, #e1306c 55%, #833ab4);
  --r-lg: 12px;
  --r: 10px;
  --r-sm: 8px;
  --nav-h: 60px;
  --pop: 0 16px 48px -12px rgba(14, 33, 41, .3);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Geist", system-ui, sans-serif;
  --jp: "Zen Kaku Gothic New", "Geist", sans-serif;
  --onair: var(--bad);
  --ink: var(--text);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --card: #111113;
    --card-2: #19191c;
    --line: #232327;
    --line-2: #34343a;
    --text: #f4f4f5;
    --text-2: #8f8f9a;
    --accent: #7c6cff;
    --accent-text: #a79bff;
    --accent-soft: #1b1838;
    --on-accent: #ffffff;
    --ok: #3ecf8e;
    --warn: #f0a83a;
    --bad: #ff6b6b;
    --tt: #4fd1d9;
    --pop: 0 20px 60px -10px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ 2. Temel */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 14.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (hover: hover) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
  ::-webkit-scrollbar-track { background: transparent; }
}
.display { font-weight: 650; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; }
.hint { font-size: 12.5px; color: var(--text-2); font-weight: 400; }
.jp { font-family: var(--jp); }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------------ 3. Marka, giriş */
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ring); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 14px; height: 14px; }
.brand .word { font-weight: 650; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 520px) { .top .brand .word .ig { display: none; } }
.lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.lamp.off { background: var(--text-2); }
.login { min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.login-card { width: min(360px, 100%); display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.login-card .brand .word { font-size: 18px; }
.login-card .lede { margin: -8px 0 4px; color: var(--text-2); font-size: 13.5px; }

/* ------------------------------------------------------------------ 4. Üst çubuk, gezinme */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 0 24px; padding-top: env(safe-area-inset-top);
  height: calc(56px + env(safe-area-inset-top)); background: var(--bg); border-bottom: 1px solid var(--line); }
.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.badges { display: flex; gap: 8px; }
.tabs { display: flex; gap: 2px; align-self: stretch; }
.tabs button { position: relative; display: flex; align-items: center; gap: 7px; border: 0; background: none; padding: 0 12px; cursor: pointer;
  color: var(--text-2); font-weight: 500; font-size: 14px; transition: color .12s; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--text); }
.tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px 2px 0 0; }
.tabs svg { width: 20px; height: 20px; display: none; }
.tabs .dot { position: absolute; top: 14px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media (max-width: 860px) {
  .top { padding: 0 16px; padding-top: env(safe-area-inset-top); height: calc(52px + env(safe-area-inset-top)); }
  #logoutBtn { display: none; }
  /* Not: .top'a backdrop-filter verilmez; içindeki sabit menüyü yukarıda hapseder. */
  .tabs { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 20; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding: 0 4px env(safe-area-inset-bottom); gap: 0; background: var(--card); border-top: 1px solid var(--line); }
  .tabs button { flex: 1; flex-direction: column; justify-content: center; gap: 3px; padding: 0 2px; font-size: 10.5px; font-weight: 550; }
  .tabs button.active { color: var(--accent-text); }
  .tabs button.active::after { top: 0; bottom: auto; left: 28%; right: 28%; border-radius: 0 0 2px 2px; }
  .tabs svg { display: block; }
  .tabs .dot { top: 9px; right: calc(50% - 16px); box-shadow: 0 0 0 2px var(--card); }
  .content { padding-bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)) !important; }
}

.content { max-width: 1120px; margin: 0 auto; padding: 24px 24px 64px; }
@media (max-width: 860px) { .content { padding: 16px; } }
.tab { display: grid; gap: 16px; }
.tab:not(.hidden) { animation: rise .2s ease-out; }

/* ------------------------------------------------------------------ 5. Yüzeyler */
.card, .section, .day, .stat, .hero, .pt { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card, .section { padding: 20px; }
.section { display: grid; gap: 14px; }
.section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section > header h2, .card h2, .day-head > span:first-child { margin: 0; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.section > header .aside { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; color: var(--text-2); font-size: 13px; }
.day { padding: 16px 20px 20px; display: grid; gap: 14px; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.skel { display: grid; gap: 16px; }
.skel i { display: block; height: 110px; border-radius: var(--r-lg); background: linear-gradient(110deg, var(--card-2) 30%, var(--card) 50%, var(--card-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel i:first-child { height: 180px; }
.empty { color: var(--text-2); padding: 28px 0; text-align: center; }

/* ------------------------------------------------------------------ 6. Düğmeler, rozetler */
.btn { border: 1px solid var(--line-2); background: var(--card); padding: 8px 14px; border-radius: var(--r-sm); cursor: pointer; font-weight: 550; font-size: 13.5px; line-height: 1.3;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--text); transition: background .12s, border-color .12s, opacity .12s; white-space: nowrap; }
.btn:hover { background: var(--card-2); }
.btn:active { opacity: .8; }
.btn.primary { background: var(--accent); border-color: var(--accent-text); color: var(--on-accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.btn.danger { color: var(--bad); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); background: var(--card-2); }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.block { width: 100%; padding: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent-text); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; white-space: nowrap; }
.linkbtn:hover { text-decoration: underline; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }

.badge, .chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 550; white-space: nowrap; background: var(--card-2); color: var(--text-2); border: 1px solid transparent; }
.badge.accent, .chip.ai { background: var(--accent-soft); color: var(--accent-text); }
.badge.ok, .badge.live { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.badge.warn, .chip.warn { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); }
.badge.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.badge.info { color: var(--text); }
.badge.live::before, .chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.live::before { animation: pulse 1.2s ease-in-out infinite; }
.chip.pl svg { width: 13px; height: 13px; }
.chip.pl.ig { color: var(--accent-text); background: var(--accent-soft); }
.chip.pl.tt { color: var(--tt); background: color-mix(in srgb, var(--tt) 13%, transparent); }

/* ------------------------------------------------------------------ 7. Form */
label { display: grid; gap: 6px; font-size: 13px; color: var(--text); font-weight: 550; }
input, select, textarea { width: 100%; padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 14.5px; transition: border-color .12s, box-shadow .12s; }
input:hover, select:hover, textarea:hover { border-color: var(--text-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
@media (max-width: 860px) { input, select, textarea { font-size: 16px; } } /* iOS yakınlaştırmasın */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 450; font-size: 14px; padding: 3px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--accent-text); padding: 0; box-shadow: none; }
.settings-block { display: grid; gap: 12px; }
#settingsForm > div:last-child { position: sticky; bottom: 16px; z-index: 5; }
#settingsForm > div:last-child .btn { padding: 11px 20px; box-shadow: var(--pop); }
@media (max-width: 860px) {
  .check input { width: 22px; height: 22px; }
  #settingsForm > div:last-child { bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); }
  #settingsForm > div:last-child .btn { width: 100%; }
}

/* ------------------------------------------------------------------ 8. Bugün */
.greet { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.greet h1 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.greet span { color: var(--text-2); font-size: 13.5px; }

.hero { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; cursor: pointer; transition: border-color .12s; }
.hero:hover { border-color: var(--line-2); }
.hero > .thumb { width: 108px; height: 192px; border-radius: 12px; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--ring) border-box; padding: 3px; }
.hero > .thumb img { border-radius: 8px; }
.hero > .thumb.loading::after { inset: 3px; border-radius: 8px; }
.hero:not(:has(> .thumb)) { grid-template-columns: 1fr; cursor: default; }
.hero-main { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.hero .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--text-2); }
.hero .clock { font-size: clamp(44px, 9vw, 68px); margin: 6px 0 4px; }
.hero-rel { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 6px; }
.hero-name { font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 8px; max-width: 100%; }
.hero-note { margin: 6px 0 10px; font-size: 15px; }

.plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.pt .ring { width: 44px; height: 44px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: var(--card-2); }
.ring-fg { stroke-linecap: round; transition: stroke-dasharray .5s ease-out; }
.pt.ig .ring-fg { stroke: var(--accent); }
.pt.tt .ring-fg { stroke: var(--tt); }
.pt .pi { position: absolute; left: 38px; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); color: var(--text); }
.pt .pi.solo { position: static; transform: none; width: 22px; height: 22px; margin: 11px; color: var(--text-2); }
.pt b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pt b small { font-size: 13px; color: var(--text-2); font-weight: 500; margin-left: 1px; }
.pt span { font-size: 12.5px; color: var(--text-2); }

.attn { display: grid; gap: 8px; }
.attn-it { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: var(--card); border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--r-sm); padding: 11px 14px; font-weight: 550; font-size: 14px; cursor: pointer; text-align: left; color: var(--text); transition: background .12s; }
.attn-it:hover { background: var(--card-2); }
.attn-it svg { width: 16px; height: 16px; color: var(--text-2); }
.attn-it.warn { border-left-color: var(--warn); }
.attn-it.bad { border-left-color: var(--bad); }
.attn-it.accent { border-left-color: var(--accent-text); }
.attn-ok { padding: 11px 14px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ok); font-weight: 550; font-size: 14px; }

.reels { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.reels::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: pointer; display: grid; gap: 6px; justify-items: center; flex: none; color: var(--text); }
.reel .thumb { width: 78px; height: 138px; border-radius: 8px; }
.reel span { font-weight: 550; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.folders { gap: 8px; }

.timeline { position: relative; height: 66px; margin: 0 10px; }
.timeline .axis { position: absolute; left: 0; right: 0; top: 31px; height: 4px; border-radius: 99px; background: var(--card-2); }
.timeline .past { position: absolute; left: 0; top: 31px; height: 4px; border-radius: 99px; background: var(--line-2); }
.timeline .tick { position: absolute; top: 44px; transform: translateX(-50%); font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.timeline .slot { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.timeline .slot b { display: block; font-weight: 550; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.timeline .slot i { display: block; width: 12px; height: 12px; margin: 8px auto 0; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); }
.timeline .slot.done i { background: var(--text-2); border-color: var(--text-2); }
.timeline .slot.done b { color: var(--text-2); text-decoration: line-through; }
.timeline .slot.next b { color: var(--accent-text); font-weight: 650; }
.timeline .slot.next i { background: var(--accent); border-color: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline .now { position: absolute; top: 25px; width: 2px; height: 16px; border-radius: 2px; background: var(--text); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 14px 16px; }
.stat .n { font-weight: 650; font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--text-2); font-size: 12.5px; margin-top: 4px; }
.stat .h { color: var(--text-2); font-size: 12px; }

.best { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.best-it { position: relative; border: 0; padding: 0; background: none; cursor: pointer; display: grid; gap: 6px; text-align: left; color: var(--text); min-width: 0; }
.best-it .thumb { width: 100%; aspect-ratio: 9 / 14; border-radius: 8px; }
.best-it .medal { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 650; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .65); }
.best-it .bv { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; color: #fff; font-weight: 600; font-size: 12px; background: rgba(0, 0, 0, .65); font-variant-numeric: tabular-nums; }
.best-it .bv svg { width: 13px; height: 13px; }
.best-it .bt { font-size: 12.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* bağlantı durumu + son işlemler */
.health { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 20px; }
.hl { display: grid; grid-template-columns: 8px 1fr; gap: 2px 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hl i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-2); }
.hl.ok i { background: var(--ok); } .hl.warn i { background: var(--warn); } .hl.bad i { background: var(--bad); } .hl.off i { background: transparent; border: 1.5px solid var(--line-2); }
.hl b { font-weight: 550; font-size: 13.5px; }
.hl span { grid-column: 2; font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl.bad span { color: var(--bad); }
.act { display: grid; }
.act > div { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.act > div:last-child { border-bottom: 0; }
.act i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transform: translateY(-2px); }
.act .warn i { background: var(--warn); } .act .error i { background: var(--bad); }
.act span { overflow-wrap: anywhere; min-width: 0; }
.act time { color: var(--text-2); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .plat { grid-template-columns: 1fr 1fr; }
  .pt.vw { grid-column: 1 / -1; }
  .pt { padding: 12px; gap: 10px; }
  .pt .ring { width: 40px; height: 40px; }
  .pt .pi { left: 32px; width: 16px; height: 16px; }
  .hero { gap: 16px; padding: 16px; }
  .hero > .thumb { width: 92px; height: 164px; }
  .health { grid-template-columns: 1fr 1fr; gap: 0 14px; }
}

/* ------------------------------------------------------------------ 9. Küçük resim */
.thumb { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--card-2); flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--text) 5%, transparent) 50%, transparent 70%) var(--card-2); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }

/* ------------------------------------------------------------------ 10. Sıra */
.toolbar { display: flex; gap: 8px; align-items: center; }
.toolbar .search { flex: 1; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { border: 1px solid var(--line); background: var(--card); padding: 6px 12px; border-radius: var(--r-sm); cursor: pointer; color: var(--text-2); font-weight: 550; font-size: 13px; white-space: nowrap; transition: background .12s, color .12s; }
.filters button:hover { color: var(--text); }
.filters button.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.filters .n { opacity: .65; margin-left: 6px; font-variant-numeric: tabular-nums; }
.qlist { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.qlist:has(> .empty) { border-style: dashed; background: none; }
.qitem { display: grid; grid-template-columns: 20px 76px 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .12s; }
.qitem:last-child { border-bottom: 0; }
.qitem.drag { grid-template-columns: 16px 20px 76px 40px minmax(0, 1fr); }
.qitem:hover { background: var(--card-2); }
.qitem.sel { background: var(--accent-soft); }
.qitem.prob { box-shadow: inset 3px 0 0 var(--warn); }
.qitem .selbox { width: 18px; height: 18px; accent-color: var(--accent-text); margin: 0; padding: 0; }
.qitem .eta { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; line-height: 1.15; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qitem .eta span { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); letter-spacing: 0; }
.qitem .eta.past { font-size: 12.5px; font-weight: 450; color: var(--text-2); white-space: normal; }
.qitem .thumb { width: 40px; height: 71px; border-radius: 6px; }
.qitem .meta { min-width: 0; display: grid; gap: 4px; }
.qitem .title { font-weight: 550; font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.qitem .capline { font-size: 12.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qitem .tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.grip { color: var(--line-2); cursor: grab; touch-action: none; display: grid; place-items: center; height: 100%; }
.grip:hover, .qitem:hover .grip { color: var(--text-2); }
.grip svg { width: 16px; height: 16px; }
.qitem.dragging { position: fixed; z-index: 40; background: var(--card); border: 1px solid var(--accent); border-radius: var(--r); box-shadow: var(--pop); cursor: grabbing; pointer-events: none; }
.qph { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
@media (max-width: 520px) {
  .qitem, .qitem.drag { gap: 8px; padding: 10px 12px; }
  .qitem { grid-template-columns: 22px 52px 36px minmax(0, 1fr); }
  .qitem.drag { grid-template-columns: 14px 22px 52px 36px minmax(0, 1fr); }
  .qitem .thumb { width: 36px; height: 64px; }
  .qitem .eta { font-size: 13px; }
  .qitem .selbox { width: 22px; height: 22px; }
}
.bulkbar { position: sticky; bottom: 16px; z-index: 15; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; background: var(--text); color: var(--bg); padding: 8px 10px 8px 14px; border-radius: var(--r); box-shadow: var(--pop); }
.bulkbar .btn { background: transparent; color: inherit; border-color: color-mix(in srgb, var(--bg) 28%, transparent); }
.bulkbar .count { font-weight: 600; margin-right: auto; font-size: 13.5px; }
@media (max-width: 860px) { .bulkbar { bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------------------------ 11. Pencere (video detayı) */
.sheet { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.sheet-panel { position: relative; width: min(1000px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; box-shadow: var(--pop); animation: rise .18s ease-out; transition: opacity .14s, transform .14s; }
.sheet-panel.out-l { opacity: .4; transform: translateX(-14px); }
.sheet-panel.out-r { opacity: .4; transform: translateX(14px); }
.sheet-panel:has(.savebar) { padding-bottom: 0; }
.sheet-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 860px) {
  .sheet { place-items: end stretch; }
  .sheet-panel { width: 100%; max-height: 94dvh; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
}
.vd { display: grid; gap: 20px; }
.vd-head { display: grid; gap: 8px; padding-right: 64px; justify-items: start; }
.vd-head h3 { margin: 0; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; overflow-wrap: anywhere; }
.vnav { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.vnav .btn { padding: 5px 7px; }
.vd-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.ig-card { position: sticky; top: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.ig-card .thumb { width: 100%; aspect-ratio: 9 / 16; max-height: 500px; border-radius: 0; }
.thumb.player { background: #000; display: grid; place-items: center; }
.thumb.player img, .thumb.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.cover-chip { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 550; color: #fff; background: rgba(0, 0, 0, .65); }
.ig-body { padding: 12px 14px 14px; display: grid; gap: 8px; }
.ig-user { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ig-ava { width: 26px; height: 26px; border-radius: 50%; padding: 2px; background: var(--ring); display: grid; place-items: center; flex: none; }
.ig-ava svg { width: 22px; height: 22px; border-radius: 50%; background: var(--text); padding: 6px; }
.ig-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.55; max-height: 200px; overflow: auto; }
.ig-text .tag, .tagchip { color: #3b6fd4; }
@media (prefers-color-scheme: dark) { .ig-text .tag, .tagchip { color: #7fa7ff; } }
.ig-count { font-size: 12px; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.ig-count.over { color: var(--bad); font-weight: 600; }
.vd-edit { display: grid; gap: 14px; min-width: 0; }
.ed { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ed textarea { min-height: 130px; }
.ed-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ed-label { font-weight: 600; font-size: 13.5px; }
.ed-note { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12.5px; color: var(--text-2); }
.seg { display: inline-flex; padding: 2px; border-radius: var(--r-sm); background: var(--card-2); }
.seg button { border: 0; background: none; padding: 4px 10px; border-radius: 6px; font: inherit; font-size: 12.5px; font-weight: 550; color: var(--text-2); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.pool-box { background: var(--card-2); border-radius: var(--r-sm); padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; max-height: 170px; overflow: auto; }
#edPool { display: grid; gap: 8px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.tagchip { padding: 2px 8px; border-radius: 6px; background: var(--card-2); font-size: 12.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 13px; margin: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.vd-logs { border-top: 1px solid var(--line); padding-top: 14px; }
.vd-logs summary { cursor: pointer; font-weight: 550; font-size: 13.5px; list-style: none; }
.vd-logs summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .12s; }
.vd-logs[open] summary::before { transform: rotate(90deg); }
.savebar { position: sticky; bottom: 0; margin: 20px -28px 0; padding: 12px 28px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.savebar.dirty { color: var(--accent-text); font-weight: 550; }
.savebar .btn { min-width: 110px; }
@media (max-width: 860px) { .savebar { margin: 16px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); } }
@media (max-width: 640px) {
  .vd-grid { grid-template-columns: 1fr; gap: 16px; }
  .ig-card { position: relative; }
  .ig-card .thumb, .ig-card .thumb.player { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 62vh; }
  .ed-note { flex-direction: column; gap: 6px; }
}

/* ------------------------------------------------------------------ 12. Tablo, kayıt, uyarı */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--text-2); font-weight: 550; font-size: 12px; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.vt { max-width: 340px; overflow-wrap: anywhere; font-weight: 500; }
td.vt a { text-decoration-color: var(--line-2); text-underline-offset: 3px; }
tr.gone td { color: var(--text-2); }
.table-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { border: 0; padding: 0; text-align: left !important; }
  .table-wrap td.vt { grid-column: 1 / -1; max-width: none; font-weight: 600; }
  .table-wrap td[data-l]::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--text-2); font-weight: 500; }
  .table-wrap td[data-l="Yayın"] { grid-column: 1 / -1; }
  .table-wrap td[data-l="Yayın"]::before { display: inline; margin-right: 6px; }
}
.log { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.log:last-child { border-bottom: 0; }
.log .t { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12.5px; }
.log .m { min-width: 0; overflow-wrap: anywhere; }
.log.error .m { color: var(--bad); } .log.warn .m { color: var(--warn); }
@media (max-width: 520px) { .log { grid-template-columns: 1fr; } }
#logBox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 20px; overflow: hidden; }
.notice { padding: 11px 14px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--line-2); font-size: 14px; }
.notice.warn { border-left-color: var(--warn); }
.notice.bad { border-left-color: var(--bad); }
.error { color: var(--bad); margin: 0; min-height: 1.2em; font-size: 13.5px; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 500; z-index: 50; max-width: calc(100% - 32px); box-shadow: var(--pop); }
@media (max-width: 860px) { .toast { bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); } }
pre.preview { white-space: pre-wrap; background: var(--card-2); border-radius: var(--r-sm); padding: 12px; margin: 0; font-family: var(--jp); font-size: 14px; line-height: 1.6; }
.cap-list { display: grid; }
.cap-item { display: grid; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cap-item:last-child { border-bottom: 0; }
.cap-item textarea { min-height: 96px; font-family: var(--jp); }
.guide .it { display: grid; grid-template-columns: 72px auto 1fr; gap: 14px; align-items: center; cursor: pointer; }
.guide .when { font-weight: 650; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.guide .when span { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); letter-spacing: 0; }
.guide .thumb { width: 38px; height: 68px; border-radius: 6px; }
.guide .t { font-weight: 550; font-size: 14px; overflow-wrap: anywhere; }
.bar { height: 6px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); }

/* ------------------------------------------------------------------ 13. Keşfet */
.disc { max-width: 400px; width: 100%; margin: 0 auto; display: grid; gap: 14px; }
.disc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.disc-stack { position: relative; aspect-ratio: 9 / 16; max-height: 70vh; width: 100%; margin: 0 auto; }
.disc-card { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.disc-card.under { transform: scale(.96) translateY(8px); opacity: .5; }
.disc-card.front { cursor: grab; }
.disc-card video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.stamp { position: absolute; top: 24px; padding: 4px 12px; border: 3px solid; border-radius: 8px; font-weight: 800; font-size: 22px; letter-spacing: 1px; opacity: 0; pointer-events: none; }
.stamp.like { left: 20px; color: #3ecf8e; transform: rotate(-12deg); }
.stamp.nope { right: 20px; color: #ff6369; transform: rotate(12deg); }
.disc-sound { position: absolute; top: 10px; right: 10px; border: 0; border-radius: 6px; padding: 5px 10px; font-size: 12.5px; color: #fff; background: rgba(0, 0, 0, .65); cursor: pointer; }
.disc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); display: grid; gap: 4px; }
.disc-title { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.disc-meta, .disc-note { font-size: 12.5px; opacity: .88; }
.disc-meta a { color: inherit; }
.disc-empty { position: absolute; inset: 0; border-radius: 14px; border: 1px dashed var(--line-2); display: grid; place-content: center; text-align: center; gap: 6px; color: var(--text-2); padding: 20px; }
.disc-empty b { color: var(--text); font-size: 15px; }
.disc-btns { display: flex; justify-content: center; align-items: center; gap: 20px; }
.disc-btn { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; cursor: pointer; transition: transform .1s, background .12s; }
.disc-btn:hover { background: var(--card-2); }
.disc-btn:active { transform: scale(.93); }
.disc-btn svg { width: 26px; height: 26px; }
.disc-btn.nope { color: var(--bad); }
.disc-btn.like { color: #fff; background: #1faa6b; border-color: #1faa6b; }
.disc-btn.like svg path { fill: currentColor; }
.disc-btn.prio { width: 48px; height: 48px; color: #d99a12; }
.disc-btn.prio svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ 14. Rapor */
.chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 200px; align-items: end; padding-top: 4px; }
.cb { display: grid; grid-template-rows: auto 1fr auto auto; height: 100%; text-align: center; gap: 4px; min-width: 0; }
.cb i { align-self: end; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .85; }
.cb:hover i { opacity: 1; }
.cb .cv { font-size: 10.5px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb .cd { display: flex; justify-content: center; gap: 2px; min-height: 5px; flex-wrap: wrap; }
.cd b, .sw { display: inline-block; width: 5px; height: 5px; border-radius: 50%; }
.cd b.ig, .sw.ig { background: var(--text-2); }
.cd b.tt, .sw.tt { background: var(--tt); }
.sw.bar { width: 12px; height: 8px; border-radius: 2px; background: var(--accent); }
.cb .cl { font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.heat-wrap { max-width: 720px; }
.heat { display: grid; grid-template-columns: 30px repeat(16, minmax(0, 1fr)); gap: 3px; }
.heat .hh { font-size: 10.5px; color: var(--text-2); }
.heat .hd { font-size: 11.5px; color: var(--text-2); font-weight: 550; align-self: center; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--accent) calc(var(--a) * 100%), var(--card-2)); }
.heat i.e { background: var(--card-2); }
.tophours { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 520px) { .chart { gap: 3px; height: 170px; } .cb .cv { font-size: 9.5px; } }

/* ------------------------------------------------------------------ 15. Daha fazla, yenileme */
.more { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; max-width: 640px; }
.more-it { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; color: var(--text); transition: background .12s; }
.more-it:last-child { border-bottom: 0; }
.more-it:hover { background: var(--card-2); }
.more-it .mi { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--card-2); color: var(--text); flex: none; }
.more-it .mi svg { width: 19px; height: 19px; }
.more-it .mt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.more-it b { font-size: 14.5px; font-weight: 550; }
.more-it small { font-size: 12.5px; color: var(--text-2); }
.more-it .chev { width: 16px; height: 16px; color: var(--text-2); }
.more-it.out .mi { color: var(--bad); }
.ptr { position: fixed; top: calc(env(safe-area-inset-top) + 52px); left: 50%; z-index: 25; width: 34px; height: 34px; margin-top: -38px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent-text); opacity: 0; pointer-events: none; transform: translate(-50%, 0); }
.ptr svg { width: 18px; height: 18px; }
.ptr.spin { opacity: 1 !important; animation: spin .8s linear infinite; transform: translate(-50%, 50px) !important; }

/* ------------------------------------------------------------------ 16. Geniş ekran */
@media (min-width: 1100px) {
  .content { max-width: 1200px; padding: 28px 32px 72px; }
  .top { padding: 0 32px; }
  #tab-dashboard { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; grid-auto-flow: row dense; }
  #tab-dashboard > * { grid-column: 1 / -1; }
  #tab-dashboard > .hero { grid-column: 1; height: 100%; }
  #tab-dashboard > .plat { grid-column: 2; grid-template-columns: 1fr; height: 100%; }
  #tab-dashboard > .tl, #tab-dashboard > .strip, #tab-dashboard > .actbox { grid-column: 1; }
  #tab-dashboard > .bestbox, #tab-dashboard > .healthbox { grid-column: 2; }
  #tab-dashboard > .healthbox .health { grid-template-columns: 1fr 1fr; }
  #tab-dashboard > .attn { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .hero { padding: 24px; }
  .hero > .thumb { width: 124px; height: 220px; }
  #tab-stats { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  #tab-stats > * { grid-column: 1 / -1; }
  #tab-stats > .section:nth-of-type(1) { grid-column: 1; }
  #tab-stats > .section:nth-of-type(2) { grid-column: 2; }
}

/* ------------------------------------------------------------------ 17. Yazı karakteri */
.greet h1, .display, .stat .n, .pt b, .guide .when, .rundown h2, .rd-it time, .vd-head h3, .login-card .brand .word { font-family: var(--disp); }
.greet h1 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.stat .n, .pt b { font-weight: 700; letter-spacing: -0.02em; }
.brand .mark { background: var(--accent); }
.brand .mark svg { color: var(--on-accent); }
.brand .mark svg path, .brand .mark use { fill: var(--on-accent); }
.timeline .slot.next i { box-shadow: 0 0 0 4px var(--accent-soft); }
.qitem.sel { background: color-mix(in srgb, var(--accent) 14%, var(--card)); }
.heat i { background: color-mix(in srgb, var(--accent) calc(var(--a) * 100%), var(--card-2)); }

/* ------------------------------------------------------------------ 18. Program akışı (ana sayfanın imzası) */
.rundown { display: grid; gap: 14px; }
.rundown > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rundown h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.rd-tools { display: flex; gap: 2px; }
.rd-strip { display: flex; align-items: flex-end; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.rd-it { flex: none; display: grid; gap: 8px; justify-items: start; width: 104px; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; scroll-snap-align: start; }
div.rd-it { cursor: default; }
.rd-it time { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text-2); }
.rd-fr { width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--card-2); display: grid; place-items: center; border: 1px solid var(--line); transition: transform .15s ease-out; }
.rd-fr .thumb { width: 100%; height: 100%; border-radius: 0; }
button.rd-it:hover .rd-fr { transform: translateY(-3px); }
.rd-it span { font-size: 12.5px; color: var(--text-2); line-height: 1.3; width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; min-height: 2.6em; }
/* yayınlananlar: ince, sönük kare */
.rd-it.done { width: 56px; }
.rd-it.done .rd-fr { background: none; border-style: dashed; color: var(--ok); }
.rd-it.done .rd-fr svg { width: 20px; height: 20px; }
.rd-it.done time { text-decoration: line-through; text-decoration-color: var(--line-2); }
.rd-it.done span, .rd-it.empty span { font-size: 11.5px; }
.rd-it.empty .rd-fr { background: none; border-style: dashed; }
/* sıradaki: büyük, sarı çerçeveli, yanan ışık */
.rd-it.next { width: 168px; }
.rd-it.next time { font-size: clamp(34px, 6vw, 46px); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: var(--text); display: flex; align-items: center; gap: 10px; }
.rd-it.next time::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s ease-in-out infinite; }
.rd-it.next .rd-fr { border: 2px solid var(--accent); border-radius: 12px; }
.rd-it.next span { font-size: 13.5px; font-weight: 600; color: var(--accent-text); min-height: 0; }
/* sonraki günler: gün başında ayraç */
.rd-it.later { width: 84px; opacity: .78; }
.rd-it.later:hover { opacity: 1; }
.rd-it.later time { font-size: 12.5px; font-weight: 600; }
.rd-it.later.brk { margin-left: 14px; position: relative; }
.rd-it.later.brk::before { content: ""; position: absolute; left: -14px; top: 4px; bottom: 2.9em; width: 1px; background: var(--line-2); }
@media (max-width: 680px) {
  .rd-strip { margin: 0 -16px; padding: 4px 16px 12px; gap: 10px; scrollbar-width: none; }
  .rd-strip::-webkit-scrollbar { display: none; }
  .rd-it { width: 88px; }
  .rd-it.next { width: 144px; }
  .rd-it.done { width: 48px; }
  .rd-it.later { width: 74px; }
}

/* ------------------------------------------------------------------ 19. Tek tek kutular yerine bantlar */
.plat, .stats { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.plat .pt, .stats .stat { border: 0; border-radius: 0; background: none; border-right: 1px solid var(--line); }
.plat .pt:last-child, .stats .stat:last-child { border-right: 0; }
@media (max-width: 680px) {
  .plat .pt.tt { border-right: 0; }
  .plat .pt.vw { border-top: 1px solid var(--line); }
  .stats .stat:nth-child(2n) { border-right: 0; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  #tab-dashboard > .rundown, #tab-dashboard > .plat { grid-column: 1 / -1; }
  #tab-dashboard > .plat { grid-template-columns: repeat(3, 1fr); height: auto; }
  #tab-dashboard > .actbox { grid-column: 1; }
  #tab-dashboard > .bestbox { grid-column: 2; grid-row: span 2; }
  #tab-dashboard > .healthbox { grid-column: 1; }
  #tab-dashboard > .healthbox .health { grid-template-columns: repeat(4, 1fr); }
}
.rd-it.next span { color: var(--text); font-weight: 500; -webkit-line-clamp: 3; }
.rd-it.next span b { display: block; color: var(--accent-text); font-weight: 650; }

/* 20. Vurgu dokunuşları */
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.rd-it.next .rd-fr { box-shadow: 0 0 0 4px var(--accent-soft), 0 18px 40px -18px var(--accent); }
.rd-it.next time { letter-spacing: -0.05em; }
.greet h1 { font-weight: 650; letter-spacing: -0.04em; }
.disc-btn.prio { color: #e0a51a; }
@media (max-width: 680px) { .rd-strip { scroll-padding-inline: 16px; scroll-snap-type: none; } }

/* ------------------------------------------------------------------ Trend Radar */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tcard { display: grid; gap: 10px; align-content: start; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.tcard p { margin: 0; }
.thead { display: flex; gap: 12px; align-items: center; }
.tname { min-width: 0; display: grid; gap: 5px; }
.tname h3 { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.tscore { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1;
  background: conic-gradient(var(--sc) calc(var(--p, 0) * 1%), var(--card-2) 0); position: relative; --sc: var(--text-2); }
.tscore::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
.tscore b, .tscore small { position: relative; }
.tscore b { font-size: 17px; font-weight: 700; }
.tscore small { font-size: 10px; color: var(--text-2); }
.tscore.hi { --sc: var(--ok); } .tscore.mid { --sc: var(--warn); } .tscore.lo { --sc: var(--bad); }
.tscore.na { background: var(--card-2); }
.tscore.na::before { display: none; }
.tmeta { margin: 0; }
.tanal { display: grid; gap: 6px; font-size: 13.5px; }
.tbars { display: grid; gap: 4px; }
.tbar { display: grid; grid-template-columns: 1fr 90px 26px; gap: 8px; align-items: center; font-size: 12px; color: var(--text-2); }
.tbar i { height: 5px; border-radius: 3px; background: var(--card-2); overflow: hidden; }
.tbar u { display: block; height: 100%; background: var(--accent); }
.tbar b { text-align: right; font-weight: 600; color: var(--text); }
.tadd > summary { list-style: none; }
.tadd > summary::-webkit-details-marker { display: none; }
.tadd[open] { flex-basis: 100%; }
.tform { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card-2); }
.tform label { display: grid; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.tform .wide { grid-column: 1 / -1; }
.tnotes { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 520px) { .tgrid { grid-template-columns: 1fr; } }
