/* Tıp Rotası — küre.
   Kimlik: açık fildişi zemin, doygun mandalina odak küresi, kömür yazı. Kalın sans başlık + italik serif vurgu.
   Yerleşim: solda dar gezinme · ortada günün sahnesi (küre + duraklar) ve zaman çizgisi · sağda haftalık rota. */
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 96%; ascent-override: 92%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; }

:root {
  --bg: #F4F0E8;
  --bg-2: #ECE5D8;
  --surface: #FFFDF8;
  --surface-2: #F8F4EC;
  --surface-3: #E6DED0;
  --ink: #1D1B18;
  --ink-2: #57514A;
  --ink-3: #6B655B;
  --line: #E3DBCD;
  --line-2: #CEC4B3;
  --accent: #1D1B18;
  --accent-ink: #FFFDF8;
  --accent-text: #B0420A;
  --accent-soft: #FBE3D2;
  --active: #F26A1B;
  --active-ink: #1D1B18;
  --active-soft: #FDE6D6;
  --active-text: #A63E08;
  --ok: #2B7A5B;
  --ok-text: #1F6A4D;
  --ok-soft: #DCEDE2;
  --warn: #B4600F;
  --warn-text: #9A520C;
  --warn-soft: #F8E7D0;
  --danger: #B8321F;
  --danger-soft: #F7DED8;
  --focus-bg: #1D1B18;
  --focus-ink: #F6F1E8;
  --focus-muted: #B8AFA1;
  --focus-line: #3A3631;
  --shadow: 0 1px 2px rgba(45, 30, 12, .06), 0 10px 28px rgba(70, 45, 20, .08);
  --shadow-lg: 0 2px 6px rgba(45, 30, 12, .06), 0 28px 60px -18px rgba(90, 50, 15, .28);
  --orb-hi: #FFC9A2; --orb-1: #FF8B3E; --orb-2: #F26A1B; --orb-3: #D9520A; --orb-rim: #A43A05;
  --orb-ink: #FFF8EF; --orb-sub: #2A1204; --orb-glow: rgba(242, 106, 27, .38);

  --s-mat: #1F6AA5; --s-geo: #7347C4; --s-fiz: #C0392F; --s-kim: #A8357F; --s-bio: #4A7516; --s-edb: #B5651D; --s-tar: #8A5A2B; --s-cog: #2E7D6B; --s-fel: #5B5FA8; --s-din: #6E7F2A;
  --s-tur: #91660F; --s-sos: #5E6470; --s-tekrar: #1D1B18; --s-deneme: #0B7480;
  --v-ayt: #E25A0C; --v-tyt: #3D63B8; --v-ortak: #B07D00; --v-one: #3A352E; --v-two: #CEC4B3; --v-band: rgba(226, 90, 12, .08);

  --f-display: "Inter Tight", "Inter Tight Fallback", system-ui, sans-serif;
  --f-body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --r-sm: 10px; --r-md: 14px; --r-lg: 22px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: 220ms;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141210; --bg-2: #1B1916; --surface: #1E1C19; --surface-2: #24211D; --surface-3: #322E28;
    --ink: #F4EEE4; --ink-2: #C3BAAC; --ink-3: #A39A8C; --line: #302C26; --line-2: #4A443C;
    --accent: #F4EEE4; --accent-ink: #1D1B18; --accent-text: #FF9F63; --accent-soft: #3B2617;
    --active: #FF7A2E; --active-ink: #1D1B18; --active-soft: #3B2617; --active-text: #FFA56E;
    --ok: #4CBB8E; --ok-text: #6FCFA5; --ok-soft: #163225; --warn: #E8A45C; --warn-text: #EDB57A; --warn-soft: #3A2B18;
    --danger: #F08A78; --danger-soft: #3E211C;
    --focus-bg: #0E0D0B; --focus-ink: #F6F1E8; --focus-muted: #B8AFA1; --focus-line: #34302A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 28px 60px -18px rgba(0, 0, 0, .6);
    --orb-glow: rgba(255, 122, 46, .32);
    --s-mat: #76B4EC; --s-geo: #B49BF2; --s-fiz: #F08B7E; --s-kim: #E68CC6; --s-bio: #A6D46B; --s-edb: #EBA867; --s-tar: #D2A57A; --s-cog: #74C9B4; --s-fel: #A9ACEB; --s-din: #BACB72;
    --s-tur: #E3BE5C; --s-sos: #B4B8C2; --s-tekrar: #E9E1D4; --s-deneme: #4FC6CF;
    --v-ayt: #EC6519; --v-tyt: #5C82D6; --v-ortak: #BB8A12; --v-one: #E2D9CB; --v-two: #4A443C; --v-band: rgba(236, 101, 25, .12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141210; --bg-2: #1B1916; --surface: #1E1C19; --surface-2: #24211D; --surface-3: #322E28;
  --ink: #F4EEE4; --ink-2: #C3BAAC; --ink-3: #A39A8C; --line: #302C26; --line-2: #4A443C;
  --accent: #F4EEE4; --accent-ink: #1D1B18; --accent-text: #FF9F63; --accent-soft: #3B2617;
  --active: #FF7A2E; --active-ink: #1D1B18; --active-soft: #3B2617; --active-text: #FFA56E;
  --ok: #4CBB8E; --ok-text: #6FCFA5; --ok-soft: #163225; --warn: #E8A45C; --warn-text: #EDB57A; --warn-soft: #3A2B18;
  --danger: #F08A78; --danger-soft: #3E211C;
  --focus-bg: #0E0D0B; --focus-ink: #F6F1E8; --focus-muted: #B8AFA1; --focus-line: #34302A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 28px 60px -18px rgba(0, 0, 0, .6);
  --orb-glow: rgba(255, 122, 46, .32);
  --s-mat: #76B4EC; --s-geo: #B49BF2; --s-fiz: #F08B7E; --s-kim: #E68CC6; --s-bio: #A6D46B; --s-edb: #EBA867; --s-tar: #D2A57A; --s-cog: #74C9B4; --s-fel: #A9ACEB; --s-din: #BACB72;
  --s-tur: #E3BE5C; --s-sos: #B4B8C2; --s-tekrar: #E9E1D4; --s-deneme: #4FC6CF;
  --v-ayt: #EC6519; --v-tyt: #5C82D6; --v-ortak: #BB8A12; --v-one: #E2D9CB; --v-two: #4A443C; --v-band: rgba(236, 101, 25, .12);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-text); text-underline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.02; }
h2 { font-size: 1.32rem; line-height: 1.12; font-weight: 750; }
h3 { font-size: 1.1rem; line-height: 1.18; font-weight: 750; letter-spacing: -.015em; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0; }
.num, .mono { font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.eyebrow { font-family: var(--f-display); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[data-motion="reduce"] *, [data-motion="reduce"] *::before, [data-motion="reduce"] *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) *, :root:not([data-motion="full"]) *::before, :root:not([data-motion="full"]) *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
}

/* ---------- açılış ve geçişler ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes moved { 0% { box-shadow: 0 0 0 0 var(--active); } 25% { box-shadow: 0 0 0 4px var(--active); } 100% { box-shadow: 0 0 0 2px transparent; } }
.page-in { animation: fadein 200ms var(--ease) backwards; }
.enter > * { animation: rise 260ms var(--ease-out) backwards; }
.enter > :nth-child(2) { animation-delay: 80ms; }
.enter > :nth-child(3) { animation-delay: 160ms; }
.enter > :nth-child(n+4) { animation-delay: 240ms; }
.swap { animation: fadein 180ms var(--ease) backwards; }

/* ---------- kabuk ---------- */
.shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100%; }
.side {
  position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; align-self: start;
  display: flex; flex-direction: column; gap: 2px; padding: 22px 12px 18px 18px; border-right: 1px solid var(--line);
}
.brand { display: grid; gap: 2px; padding: 2px 6px 22px; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1; display: flex; align-items: center; gap: 8px; }
.brand-sub { font-size: .72rem; color: var(--ink-3); padding-left: 36px; font-weight: 600; }
.nav-btn {
  position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 7px 10px 7px 14px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); cursor: pointer; text-align: left;
  font-weight: 600; font-size: .875rem; transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-btn:hover { color: var(--ink); background: var(--bg-2); }
.nav-btn[aria-current="page"] { color: var(--ink); font-weight: 800; }
.nav-tick { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--accent); }
.nav-btn .badge { margin-left: auto; }
.side-foot { margin-top: auto; padding: 12px 6px 0; display: grid; gap: 4px; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
.side-foot button { justify-self: start; border: 0; background: none; padding: 0; color: var(--accent-text); font-weight: 700; cursor: pointer; font-size: .75rem; }
.main { min-width: 0; padding-block: 26px 72px; padding-inline: clamp(16px, 3vw, 44px); overflow-x: clip; }
.page { max-width: 1240px; margin: 0 auto; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.page > * { min-width: 0; }
.topbar { display: none; }
.bottomnav { display: none; }

@media (max-width: 899px) {
  .shell { display: block; }
  .side { display: none; }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
    padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; }
  .topbar .brand-name { font-size: 1.25rem; }
  .main { padding-block: 18px calc(96px + env(safe-area-inset-bottom, 0px)); padding-inline: 16px; }
  .bottomnav {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  }
  .bottomnav button {
    position: relative; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 2px; border: 0; background: none; color: var(--ink-2);
    font-size: .72rem; font-weight: 700; border-radius: var(--r-sm); cursor: pointer; min-width: 0; white-space: nowrap;
  }
  .bottomnav button[aria-current="page"] { color: var(--accent-text); }
  .bottomnav .nav-tick { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 3px; }
  .page { gap: 24px; }
}

/* ---------- temel bileşenler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: .875rem; cursor: pointer; white-space: nowrap;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform 120ms var(--ease), opacity var(--t);
}
.btn:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn.navy { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.go { background: var(--active); border-color: var(--active); color: var(--active-ink); }
.btn.go:hover { background: color-mix(in srgb, var(--active) 88%, #fff); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--bg-2); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.btn.sm { min-height: 34px; padding: 5px 12px; font-size: .8rem; }
.btn.icon { padding: 0; width: 40px; }
.btn.sm.icon { width: 34px; }
.linkbtn { border: 0; background: none; padding: 4px 0; color: var(--accent-text); font-weight: 700; cursor: pointer; font-size: .85rem; }
@media (pointer: coarse) {
  .btn { min-height: 44px; } .btn.sm { min-height: 40px; } .btn.icon { width: 44px; } .btn.sm.icon { width: 40px; }
  .pill, .seg button, .menu button { min-height: 44px; }
}
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.tight { gap: 4px; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack.sm { gap: 6px; }
.stack.lg { gap: 22px; }
.grow { flex: 1 1 auto; min-width: 0; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .75rem;
  font-weight: 700; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; line-height: 1.6;
}
.chip.ok { background: var(--ok-soft); color: var(--ok-text); }
.chip.warn { background: var(--warn-soft); color: var(--warn-text); }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.accent { background: var(--accent-soft); color: var(--accent-text); }
.chip.active { background: var(--active-soft); color: var(--active-text); }
.chip.line { background: transparent; border: 1px solid var(--line-2); }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--active-soft); color: var(--active-text); font-variant-numeric: tabular-nums; }

.subj { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.subj i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.subj b { color: var(--sc); font-weight: 800; }

.status { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.status .ic { font-size: .9em; }
.st-baslanmadi { background: var(--bg-2); color: var(--ink-2); }
.st-ogreniliyor { background: var(--accent-soft); color: var(--accent-text); }
.st-pratik { background: color-mix(in srgb, var(--s-mat) 14%, var(--surface)); color: var(--s-mat); }
.st-tekrar { background: var(--warn-soft); color: var(--warn-text); }
.st-pekisti { background: var(--ok-soft); color: var(--ok-text); }

.bar { position: relative; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar > .fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--accent); }
.bar > .fill.ok { background: var(--ok); }
.bar > .fill.warn { background: var(--active); }
.bar > .fill.ghost { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.bar.thin { height: 4px; }

.field { display: grid; gap: 5px; min-width: 0; }
.field > label, .field > .lbl { font-size: .875rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-2); }
.field .err { font-size: .78rem; color: var(--danger); font-weight: 700; }
.inp, select.inp, textarea.inp {
  width: 100%; min-height: 40px; padding: 8px 11px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 500;
}
textarea.inp { min-height: 76px; resize: vertical; line-height: 1.45; }
.inp:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.inp.bad { border-color: var(--danger); }
.inp.num { font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--bg-2); border-radius: 999px; }
.seg button { position: relative; border: 0; background: transparent; padding: 7px 14px; min-height: 36px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .seg-on { position: absolute; inset: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); z-index: 0; }
.seg button > span { position: relative; z-index: 1; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 13px; min-height: 36px; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--ink-2); transition: background var(--t), border-color var(--t), color var(--t); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.section { display: grid; gap: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r-md); background: var(--bg-2); font-size: .875rem; color: var(--ink-2); font-weight: 600; }
.note svg { flex: none; margin-top: 2px; }
.note.warn { background: var(--warn-soft); color: var(--warn-text); }
.note.ok { background: var(--ok-soft); color: var(--ok-text); }
.note.accent { background: var(--accent-soft); color: var(--accent-text); }
.note.active { background: var(--active-soft); color: var(--active-text); }
.empty { padding: 22px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); display: grid; gap: 10px; justify-items: start; color: var(--ink-2); }
.empty h3 { color: var(--ink); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.t { border-collapse: collapse; width: 100%; font-size: .85rem; }
table.t th, table.t td { padding: 9px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
table.t td.wrap { white-space: normal; min-width: 200px; }
table.t th { font-size: .74rem; color: var(--ink-2); font-weight: 800; letter-spacing: .03em; background: var(--surface-2); position: sticky; top: 0; }
table.t td.r, table.t th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.t tr:last-child td { border-bottom: 0; }

.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pagehead .stack { gap: 6px; }
.pagehead h1 { font-size: clamp(2.2rem, 4.2vw, 3.1rem); }

.help { position: relative; display: inline-flex; vertical-align: middle; }
.help > button { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 3px; border-radius: 50%; display: grid; place-items: center; min-width: 28px; min-height: 28px; }
.help > button:hover, .help > button[aria-expanded="true"] { color: var(--accent-text); }
.help-pop { position: absolute; z-index: 50; top: calc(100% + 6px); right: 0; width: min(300px, 78vw); padding: 12px 14px; border-radius: var(--r-md); background: var(--ink); color: var(--bg); font-size: .8rem; font-weight: 500; line-height: 1.5; box-shadow: var(--shadow); text-align: left; font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.help-pop.left { right: auto; left: 0; }

/* ---------- örnek gün şeridi ---------- */
.sample-band {
  position: sticky; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 25;
  display: flex; align-items: center; gap: 8px 14px; flex-wrap: nowrap; padding: 6px 6px 6px 16px; border-radius: 999px; max-width: 760px;
  background: var(--active-soft); color: var(--active-text); font-size: .85rem; font-weight: 700;
  border: 1.5px dashed color-mix(in srgb, var(--active) 70%, var(--active-text));
}
.sample-band .tag { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.sample-band .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.note.missed { align-items: center; padding-block: 6px; }
@media (max-width: 899px) { .sample-band { top: calc(62px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 640px) {
  .sample-band { padding: 6px 6px 6px 14px; gap: 8px; flex-wrap: nowrap; font-size: .78rem; }
  .sample-band .tag { font-size: .95rem; white-space: nowrap; }
  .sample-band .btn { white-space: nowrap; }
  .dm-opt { display: none; }
  .daymeta { margin-top: 8px; }
  .today-head { gap: 6px; }
  .head-act { position: absolute; top: 0; right: 0; }
  .head-act .lbl-wide { display: none; }
  .head-act .btn { width: 40px; padding: 0; }
  .todaypage { gap: 18px; }
  .today-flow { gap: 18px; }
  .focusbox { padding: 18px 18px 18px; gap: 12px; }
  .note.missed { font-size: .8rem; }
}

/* ---------- bugün: kompozisyon ---------- */
.todaypage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px 44px; align-items: start; }
.todaypage > * { min-width: 0; }
.today-head { position: relative; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 24px; flex-wrap: wrap; }
.today-flow { display: grid; gap: 28px; }
.today-flow > * { min-width: 0; }
.today-side { display: grid; gap: 20px; transition: opacity 320ms var(--ease); }
.today-side > * { min-width: 0; }
@media (max-width: 1239px) { .todaypage { grid-template-columns: minmax(0, 1fr); } }
.is-working .today-side, .is-working .daymeta, .is-working .tl-item:not(.is-focus), .is-working .tl-head { opacity: .45; }
.is-working .today-side:hover, .is-working .today-side:focus-within, .is-working .tl-item:hover, .is-working .tl-item:focus-within { opacity: 1; }

.daytitle { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6.4vw, 4.6rem); line-height: .88; letter-spacing: -.01em; }
.daytitle .dd { display: block; color: var(--ink-3); font-weight: 500; font-size: .52em; letter-spacing: .02em; margin-top: 6px; }
.daymeta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; color: var(--ink-2); font-weight: 600; margin-top: 12px; transition: opacity 320ms var(--ease); }
.daymeta b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* odak alanı */
.focusbox {
  position: relative; background: var(--focus-bg); color: var(--focus-ink); border-radius: var(--r-lg);
  padding: 22px 24px 22px; display: grid; gap: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.focusbox .eyebrow { color: var(--focus-muted); }
.focusbox .subj { color: var(--focus-muted); }
.focusbox .subj b { color: var(--focus-ink); }
.focusbox .subj i { box-shadow: 0 0 0 2px var(--focus-bg), 0 0 0 3.5px var(--sc); }
.focus-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.focus-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--focus-ink); margin: 0; }
.focus-part { font-size: .95rem; color: var(--focus-muted); font-weight: 600; margin-top: 6px; }
.focus-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.focus-big { font-family: var(--f-display); font-weight: 600; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.focus-big small { font-size: 1rem; color: var(--focus-muted); font-weight: 500; margin-left: 4px; letter-spacing: .02em; }
.focus-src { font-size: .8rem; color: var(--focus-muted); font-weight: 600; }
.focus-src a { color: var(--focus-ink); }
.focus-steps { display: flex; gap: 4px; }
.focus-steps .fs { flex-basis: 0; min-width: 0; display: grid; gap: 6px; }
.focus-steps .fs i { display: block; height: 4px; border-radius: 2px; background: var(--focus-line); position: relative; overflow: hidden; }
.focus-steps .fs i b { position: absolute; inset: 0 auto 0 0; background: var(--active); border-radius: 2px; transition: width 1s linear; }
.focus-steps .fs span { font-size: .72rem; color: var(--focus-muted); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-steps .fs span em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--focus-ink); margin-left: 4px; }
.focus-steps .fs.on span { color: var(--active); }
.focus-crit { font-size: .85rem; color: var(--focus-muted); font-weight: 600; max-width: 62ch; }
.focus-crit b { color: var(--focus-ink); }
.focusbox .btn { border-color: var(--focus-line); background: transparent; color: var(--focus-ink); }
.focusbox .btn:hover { background: color-mix(in srgb, var(--focus-ink) 10%, transparent); }
.focusbox .btn.go { background: var(--active); border-color: var(--active); color: var(--active-ink); min-height: 50px; padding: 10px 26px; font-size: 1rem; font-weight: 800; }
.focusbox .btn.go:hover { background: color-mix(in srgb, var(--active) 86%, #fff); }
.focusbox :focus-visible { outline-color: var(--active); }
.focus-run { display: grid; gap: 10px; }
.focus-timer { font-family: var(--f-body); font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.focus-timer small { font-size: .4em; font-weight: 700; color: var(--focus-muted); letter-spacing: 0; margin-left: 8px; }
.focus-line { height: 3px; border-radius: 2px; background: var(--focus-line); overflow: hidden; }
.focus-line i { display: block; height: 100%; width: 100%; background: var(--active); transform-origin: left; transition: transform 1s linear; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--active); display: inline-block; margin-right: 6px; vertical-align: middle; }
.focus-sample { position: absolute; top: 18px; right: -40px; transform: rotate(35deg); background: var(--active); color: var(--active-ink); font: 800 .68rem var(--f-body); letter-spacing: .14em; padding: 3px 46px; }
.focus-empty { display: grid; gap: 10px; }

/* zaman çizgisi */
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; transition: opacity 320ms var(--ease); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl-item { display: grid; grid-template-columns: 46px 22px minmax(0, 1fr); column-gap: 10px; position: relative; transition: opacity 320ms var(--ease); }
.tl-time { font-size: .78rem; font-weight: 700; color: var(--ink-3); text-align: right; padding-top: 9px; font-variant-numeric: tabular-nums; }
.tl-rail { position: relative; display: flex; justify-content: center; }
.tl-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line-2); }
.tl > :first-child .tl-rail::before { top: 14px; }
.tl > :last-child .tl-rail::before { bottom: auto; height: 14px; }
.tl-node { position: relative; z-index: 1; margin-top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--sc, var(--ink-3)); display: grid; place-items: center; flex: none; }
.tl-node.done { border: 0; background: none; width: 18px; height: 18px; margin-top: 8px; }
.tl-node.partial { background: linear-gradient(90deg, var(--active) 50%, var(--bg) 50%); border-color: var(--active); }
.tl-node.run, .tl-node.focusmode { background: var(--active); border-color: var(--active); box-shadow: 0 0 0 4px var(--active-soft); }
.tl-body { padding: 4px 0 18px; min-width: 0; display: grid; gap: 4px; }
.tl-item.open .tl-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px 14px; margin: 0 0 16px; box-shadow: var(--shadow); }
.tl-toggle { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; display: grid; gap: 3px; min-width: 0; border-radius: 6px; }
.tl-title { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; line-height: 1.08; overflow-wrap: anywhere; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--ink-2); font-weight: 600; align-items: center; }
.tl-meta .num { color: var(--ink); font-weight: 800; }
.tl-src { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.tl-item.done .tl-body { padding-bottom: 10px; }
.tl-item.done .tl-title { font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
.tl-item.done .tl-time { padding-top: 8px; }
.tl-item.brk .tl-rail::before { background: repeating-linear-gradient(var(--line-2) 0 3px, transparent 3px 7px); }
.tl-brk { font-size: .75rem; color: var(--ink-3); padding: 2px 0 12px; font-weight: 600; }
.tl-item.gap .tl-brk { color: var(--accent-text); }
.tl-focusrow { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--active-text); font-weight: 800; padding: 8px 0 18px; }
.tl-focusrow span { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tl-steps { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.tl-steps b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tl-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.prio { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font: 800 .7rem var(--f-body); background: var(--ink); color: var(--bg); flex: none; font-variant-numeric: tabular-nums; }
.just-moved { animation: moved 1400ms var(--ease) 1; }

/* sağ sütun panelleri */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 14px; display: grid; gap: 12px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.panel-head h2 { font-size: 1.5rem; }
.kv { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.kv:last-child { border-bottom: 0; }
.kv b { font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- haftalık rota (imza) ---------- */
.atlas { display: grid; gap: 10px; }
.atlas-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .72rem; color: var(--ink-2); font-weight: 600; }
.atlas-legend span { display: inline-flex; align-items: center; gap: 5px; }
.atlas-grid { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 34px; }
.atlas-lanehead { font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.05; padding: 0 2px 8px; display: grid; gap: 2px; justify-items: center; text-align: center; }
.atlas-lanehead small { font-family: var(--f-body); font-size: .66rem; color: var(--ink-3); font-weight: 700; letter-spacing: .01em; }
.atlas-lanehead .lane-mark { margin-top: 2px; }
.atlas-day { position: relative; border: 0; background: none; text-align: left; padding: 6px 4px 6px 9px; cursor: pointer; display: grid; align-content: center; color: var(--ink-2); font-weight: 700; border-radius: 10px; }
.atlas-day .dn { font-size: .72rem; position: relative; z-index: 1; }
.atlas-day .dd { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.atlas-day.is-today .dn { color: var(--active-text); }
.atlas-day.is-today .dd::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--active); margin-left: 4px; vertical-align: middle; }
.atlas-sel { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 10px; background: var(--accent-soft); }
.atlas-cell { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 4px 3px; padding: 9px 2px; min-height: 46px; }
.atlas-cell::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--lane); }
.atlas-cell.tyt::before { background: repeating-linear-gradient(var(--lane) 0 5px, transparent 5px 9px); }
.atlas-cell.future::before { opacity: .35; }
.atlas-cell.ayt { --lane: var(--accent); }
.atlas-cell.tyt { --lane: var(--ink-2); }
.atlas-cell.first::before { top: 12px; }
.atlas-cell.last::before { bottom: auto; height: 12px; }
.stop { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--sc); background: var(--surface); padding: 0; cursor: pointer; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); flex: none; }
.stop::after { content: ""; position: absolute; inset: -4px; }
.stop:hover { transform: scale(1.25); }
.stop.done { background: var(--ok); border-color: var(--ok); }
.stop.partial { background: linear-gradient(90deg, var(--ok) 50%, var(--surface) 50%); border-color: var(--ok); }
.stop.missed { border-style: dashed; border-color: var(--warn); }
.stop.run { background: var(--active); border-color: var(--active); }
.stop.sel { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.atlas-rev { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.diamond { width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--accent); background: var(--surface); border-radius: 2px; display: inline-block; }
.diamond.due { background: var(--accent); }
.rev-n { font-size: .68rem; font-weight: 800; color: var(--accent-text); margin-top: 4px; font-variant-numeric: tabular-nums; }
.atlas-detail { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; min-height: 48px; }
.atlas-detail h3 { font-size: 1.2rem; }
.atlas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .85rem; }
.atlas-list ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 12px; display: grid; gap: 3px; font-weight: 600; }
.atlas-list li li { color: var(--ink-2); }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--surface); display: inline-block; }
.legend-dot.done { background: var(--ok); border-color: var(--ok); }
.legend-dot.run { background: var(--active); border-color: var(--active); }

/* ---------- eski görev kartı (hafta telefon görünümü) ---------- */
.task { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px 10px 16px; display: grid; gap: 6px; min-width: 0; transition: border-color var(--t), background var(--t); }
.task::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sc); }
.task.done { background: transparent; border-style: dashed; }
.task.partial { background: color-mix(in srgb, var(--active-soft) 45%, var(--surface)); }
.task.running { border-color: var(--active); box-shadow: 0 0 0 1px var(--active); }
.task-head { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.task-title { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.task.done .task-title { font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.task-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--ink-2); font-weight: 600; align-items: center; }
.task-body { display: grid; gap: 10px; padding-top: 4px; }
.task-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.toggle { border: 0; background: none; padding: 0; margin: 0; text-align: left; cursor: pointer; color: inherit; display: grid; gap: 4px; flex: 1 1 auto; min-width: 0; }
.statusicon { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.steps { display: flex; gap: 4px; flex-wrap: wrap; }
.step { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.step b { color: var(--ink); font-variant-numeric: tabular-nums; }
.step.on { background: var(--active-soft); color: var(--active-text); }
.kpi { display: grid; gap: 4px; }
.kpi .big { font-family: var(--f-display); font-size: 2.1rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- hafta ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; align-items: stretch; border-top: 1px solid var(--line); }
.daycol { position: relative; display: grid; gap: 6px; min-width: 0; padding: 12px 7px 16px; min-height: 260px; align-content: start; border-right: 1px solid var(--line); transition: background var(--t) var(--ease); }
.daycol:last-child { border-right: 0; }
.daycol.over { background: var(--accent-soft); }
.col-sel { position: absolute; left: 6px; right: 6px; top: -2px; height: 3px; border-radius: 2px; background: var(--active); }
.dayhead { display: grid; gap: 4px; padding: 2px 2px 8px; }
.dayhead .d { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: .8rem; color: var(--ink-2); }
.dayhead .d .big { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.daycol.today .dayhead .d { color: var(--active-text); }
.wcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px 7px 11px; display: grid; gap: 3px; font-size: .74rem; cursor: grab; min-width: 0; }
.wcard::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sc); }
.wcard .tt { font-weight: 700; font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wcard.done { background: transparent; border-style: dashed; }
.wcard.done .tt { -webkit-line-clamp: 1; color: var(--ink-2); }
.wcard > .row:first-child { flex-wrap: nowrap; min-width: 0; }
.wcard .subj { min-width: 0; overflow: hidden; font-size: .64rem; }
.wcard .subj b { overflow: hidden; text-overflow: ellipsis; }
.wcard .num { white-space: nowrap; }
.wcard .prio { flex: none; width: 18px; height: 18px; font-size: .64rem; }
@media (pointer: fine) { .wcard .btn.sm.icon { width: 28px; min-height: 28px; } }
.daychips { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.daychip { position: relative; border: 0; background: none; border-radius: 12px; padding: 6px 2px 8px; display: grid; justify-items: center; gap: 2px; cursor: pointer; font-size: .72rem; font-weight: 700; color: var(--ink-2); min-height: 62px; }
.daychip .n { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.daychip > span { position: relative; z-index: 1; }
.daychip[aria-pressed="true"] { color: var(--accent-ink); }
.daychip[aria-pressed="true"] .n { color: var(--accent-ink); }
.chip-sel { position: absolute; inset: 0; border-radius: 12px; background: var(--accent); z-index: 0; }
.daychip.is-today:not([aria-pressed="true"]) { color: var(--active-text); }
.mini { height: 4px; width: 70%; border-radius: 2px; background: var(--surface-3); overflow: hidden; position: relative; z-index: 1; }
.mini i { display: block; height: 100%; background: var(--ink-2); }
.daychip[aria-pressed="true"] .mini { background: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.daychip[aria-pressed="true"] .mini i { background: var(--accent-ink); }
.mini i.over { background: var(--warn); }

/* ---------- modal / menü ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(14, 22, 40, .45); display: grid; place-items: center; padding: 16px; }
.sheet { width: min(640px, 100%); max-height: min(90vh, 900px); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 24px 64px rgba(0, 0, 0, .25); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.sheet.wide { width: min(920px, 100%); }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.sheet-head h3 { font-size: 1.55rem; }
.sheet-body { padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.sheet-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 20px 16px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--surface); }
@media (max-width: 640px) {
  .scrim { place-items: end stretch; padding: 0; }
  .sheet { width: 100%; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.menu { position: absolute; z-index: 60; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 6px; display: grid; gap: 2px; }
.menu button { display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .875rem; font-weight: 600; min-height: 40px; }
.menu button:hover, .menu button:focus-visible { background: var(--bg-2); }
.menu .sep { height: 1px; background: var(--line); margin: 4px 0; }

/* ---------- bildirim ---------- */
.toasts { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; width: min(520px, calc(100% - 32px)); pointer-events: none; }
@media (max-width: 899px) { .toasts { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 16px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .875rem; font-weight: 600; }
.toast .grow { line-height: 1.4; }
.toast .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }

/* ---------- odak modu (tam ekran) ---------- */
.focusmode { position: fixed; inset: 0; z-index: 90; background: var(--focus-bg); color: var(--focus-ink); display: grid; grid-template-rows: auto 1fr auto; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.focusmode .btn { border-color: var(--focus-line); background: transparent; color: var(--focus-ink); }
.focusmode .btn.go { background: var(--active); border-color: var(--active); color: var(--active-ink); }
.focusmode .btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.focusmode .muted, .focusmode .small { color: var(--focus-muted); }
.focusmode .seg { background: color-mix(in srgb, var(--focus-ink) 10%, transparent); }
.focusmode .seg button { color: var(--focus-muted); }
.focusmode .seg button[aria-pressed="true"] { color: var(--focus-bg); }
.focusmode .seg .seg-on { background: var(--focus-ink); }
.focusmode .inp { background: transparent; border-color: var(--focus-line); color: var(--focus-ink); }
.focusmode .subj { color: var(--focus-muted); }
.focusmode .subj b { color: var(--focus-ink); }
.focusmode :focus-visible { outline-color: var(--active); }
.focus-center { display: grid; place-items: center; align-content: center; gap: 20px; text-align: center; max-width: 760px; margin: 0 auto; width: 100%; }
.focus-time { font-family: var(--f-body); font-size: clamp(3.6rem, 15vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.focusmode h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; }
.focusmode .step { background: color-mix(in srgb, var(--focus-ink) 10%, transparent); color: var(--focus-muted); }
.focusmode .step b { color: var(--focus-ink); }
.focusmode .step.on { background: var(--active); color: var(--active-ink); }
.focusmode .step.on b { color: var(--active-ink); }
.focusmode .focus-line { width: min(520px, 100%); }

/* ---------- grafik ---------- */
.chart svg { width: 100%; height: auto; display: block; }
.chart .axis { font: 600 11px var(--f-body); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .lab { font: 800 12px var(--f-body); fill: var(--ink); font-variant-numeric: tabular-nums; }
.hbar { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .875rem; font-weight: 600; }
.hbar .track { position: relative; height: 12px; background: var(--bg-2); border-radius: 6px; overflow: hidden; }
.hbar .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.hbar .track i.p { background: var(--surface-3); }
.hbar .track i.a { top: 3px; bottom: 3px; background: var(--accent); }

/* ---------- konular ---------- */
.trow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.trow:last-child { border-bottom: 0; }
.trow-main { display: grid; gap: 7px; min-width: 0; }
.trow-name { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; overflow-wrap: anywhere; }
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 520px; }
.twin .lab { font-size: .7rem; color: var(--ink-2); font-weight: 700; display: flex; justify-content: space-between; gap: 6px; }
@media (max-width: 640px) { .trow { grid-template-columns: minmax(0, 1fr); } }
.lane-mark { display: inline-block; width: 26px; height: 0; border-top: 2.5px solid var(--accent); vertical-align: middle; }
.lane-mark.tyt { border-top-style: dashed; border-top-color: var(--ink-2); }
.bar.tyt > .fill { background: repeating-linear-gradient(90deg, var(--ink-2) 0 6px, transparent 6px 8px); }

/* rota ilerleme yolları (Rota ekranı) */
.route { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.route > * { min-width: 0; }
.rt { display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.rt > * { min-width: 0; }
.rt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.rt-head b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.rt-line { position: relative; display: flex; gap: 4px; height: 8px; }
.rt-seg { position: relative; flex-basis: 0; min-width: 14px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.rt-seg i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; }
.rt-labels { display: flex; gap: 4px; font-size: .72rem; color: var(--ink-2); font-weight: 600; }
.rt-labels > span { flex-basis: 0; min-width: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- revizyon: sıkı bugün ekranı ---------- */
.daytitle { font-size: clamp(2.2rem, 4vw, 3rem); line-height: .95; }
.daytitle .dd { display: inline; color: var(--ink-3); font-weight: 500; font-size: 1em; margin: 0; letter-spacing: 0; }
.daymeta { margin-top: 6px; }
.todaypage { gap: 22px 40px; }
.today-flow { gap: 20px; }
.focusbox { padding: 16px 20px 12px; gap: 10px; }
.focus-top { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.focus-lane { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--focus-muted); }
.focus-lane .lane-mark { width: 16px; }
.focusbox .lane-mark.tyt { border-top-color: var(--focus-muted); }
.focus-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 8px 22px; }
.focus-name { min-width: 0; }
.focus-title { font-size: clamp(1.75rem, 2.7vw, 2.2rem); }
.focus-part { font-size: .88rem; margin-top: 3px; }
.focus-meta { gap: 4px 16px; }
.focus-big { font-size: 1.9rem; }
.focus-cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; min-width: 0; }
.focusbox .btn.go { min-height: 46px; }
.focus-run { gap: 0; }
.focus-timer { font-size: clamp(2.1rem, 4vw, 2.6rem); }
.focus-steps2 { display: grid; gap: 7px; }
.stepbar { display: flex; gap: 3px; height: 6px; }
.stepbar i { flex-basis: 0; min-width: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.stepbar i b { position: absolute; inset: 0 auto 0 0; background: var(--active); border-radius: 3px; transition: width 1s linear; }
.stepbar.dark i { background: var(--focus-line); }
.stepbar i.on { box-shadow: 0 0 0 1.5px var(--active); }
.steplist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .8rem; font-weight: 700; }
.steplist li { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink-2); }
.steplist li b { color: var(--ink); font-weight: 800; }
.steplist li.on { color: var(--active-text); }
.steplist li.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--active); align-self: center; }
.steplist li.past { opacity: .6; }
.steplist.dark li { color: var(--focus-muted); }
.steplist.dark li b { color: var(--focus-ink); }
.steplist.dark li.on { color: var(--active); }
.focus-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--focus-line); padding-top: 9px; font-size: .85rem; }
.focus-next { color: var(--focus-ink); font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-next b { margin-right: 4px; }
.muted-l { color: var(--focus-muted); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .7rem; margin-right: 6px; }
.focusbox .linkbtn { color: var(--focus-ink); flex: none; }
.focus-detail { font-size: .82rem; color: var(--focus-muted); font-weight: 600; overflow: hidden; }
.focus-detail b { color: var(--focus-ink); }
.focusbox .menu { color: var(--ink); }
@media (max-width: 760px) {
  .focus-main { grid-template-columns: auto minmax(0, 1fr); }
  .focus-name { grid-column: 1 / -1; }
  .focus-cta { justify-self: end; }
  .focus-lane { margin-left: 0; }
}
@media (max-width: 640px) {
  /* sayaç çalışırken süre ve düğmeler alt alta: dar ekranda üst üste binmesin */
  .focusbox.started .focus-main { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .focusbox.started .focus-cta { justify-self: stretch; justify-content: flex-start; }
  .focusbox.started .focus-cta > .btn { flex: 1 1 0; }
}
@media (max-width: 560px) {
  .steplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
  .focusbox { padding: 14px 16px 10px; }
  .focus-title { font-size: 1.65rem; }
  .focus-big { font-size: 1.6rem; }
  .daytitle { font-size: 2.1rem; }
}

/* ---------- revizyon: haftalık çizelge ---------- */
button.dayhead { border: 0; background: none; text-align: left; cursor: pointer; color: inherit; padding: 2px 2px 8px; width: 100%; font: inherit; }
.daybar { position: relative; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.daybar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.daybar i.plan { background: repeating-linear-gradient(135deg, var(--line-2) 0 3px, transparent 3px 5px); }
.daybar i.done { background: var(--ok); }
.daynums { display: grid; gap: 1px; font-size: .72rem; color: var(--ink-2); font-weight: 600; }
.daynums b { color: var(--ink); font-weight: 800; }
.daynums .done-t { color: var(--ok-text); }
.daynums .done-t b { color: var(--ok-text); }
.pre-label { font-size: .74rem; font-weight: 700; color: var(--ink-3); padding: 4px 8px; border: 1px dashed var(--line-2); border-radius: 8px; justify-self: start; }
.tt-btn { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; display: grid; gap: 1px; min-width: 0; font: inherit; }
.wcard .tt { -webkit-line-clamp: 4; font-size: .82rem; line-height: 1.28; overflow-wrap: break-word; hyphens: auto; }
.wcard .tt-part { font-size: .72rem; color: var(--ink-2); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcard.done .tt-part { display: none; }

.mini.two { position: relative; }
.mini.two i { position: absolute; left: 0; top: 0; bottom: 0; }
.mini.two i.plan { background: repeating-linear-gradient(135deg, var(--line-2) 0 2px, transparent 2px 4px); }
.mini.two i.done { background: var(--ok); }
.daychip[aria-pressed="true"] .mini.two i.plan { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent-ink) 55%, transparent) 0 2px, transparent 2px 4px); }
.daychip[aria-pressed="true"] .mini.two i.done { background: var(--accent-ink); }
.mini.pre { background: none; border-top: 1.5px dashed var(--line-2); height: 0; }

/* ---------- revizyon: konular ---------- */
.topics-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.subjchips { display: flex; flex-wrap: wrap; gap: 6px; }
.subjchip { position: relative; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 12px; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ink); }
.subjchip > span { position: relative; z-index: 1; }
.subjchip .sc-name { display: inline-flex; align-items: center; gap: 6px; }
.subjchip .sc-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.subjchip .sc-n { font-size: .75rem; color: var(--ink-2); }
.subjchip-on { position: absolute; inset: -1px; border-radius: 999px; background: var(--ink); z-index: 0; }
.subjchip[aria-pressed="true"] { color: var(--bg); border-color: var(--ink); }
.subjchip[aria-pressed="true"] .sc-n { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.subjchip[aria-pressed="true"] .sc-name i { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--bg); }
.topicsearch { position: relative; flex: 1 1 220px; max-width: 340px; display: flex; align-items: center; }
.topicsearch svg { position: absolute; left: 11px; color: var(--ink-3); pointer-events: none; }
.topicsearch .inp { padding-left: 34px; border-radius: 999px; }
.nextcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px 14px 20px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.nextcard::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sc, var(--accent)); }
.nextcard h2 { font-size: 1.6rem; }
.tgroup { border-top: 1px solid var(--line); }
.tgroup > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 2px; cursor: pointer; font-weight: 800; }
.tgroup > summary::-webkit-details-marker { display: none; }
.tgroup > summary::before { content: "›"; display: inline-block; width: 14px; color: var(--ink-3); transition: transform var(--t) var(--ease); font-size: 1.2rem; line-height: 1; }
.tgroup[open] > summary::before { transform: rotate(90deg); }
.tg-label { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.linkwrap { display: grid; gap: 10px; min-width: 0; max-width: 100%; }
.linkscroll { position: relative; min-width: 0; }
.linkscroll::before, .linkscroll::after { content: ""; position: absolute; top: 0; bottom: 8px; width: 34px; pointer-events: none; opacity: 0; transition: opacity var(--t); z-index: 2; }
.linkscroll::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.linkscroll::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.linkscroll.fade-l::before, .linkscroll.fade-r::after { opacity: 1; }
.linkview { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 8px; align-items: flex-start; scroll-snap-type: x proximity; scrollbar-width: thin; border-radius: 8px; }
.linkview:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.linkcol { scroll-snap-align: start; }
.linknode.is-sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.linknode.is-before { border-color: var(--ok); box-shadow: 0 0 0 1.5px var(--ok); }
.linknode.is-after { border-color: var(--active); box-shadow: 0 0 0 1.5px var(--active); }
.linknode.is-dim { opacity: .45; }
.linknode { transition: opacity var(--t), box-shadow var(--t), border-color var(--t); }
.linktag { justify-self: start; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 999px; background: var(--ok-soft); color: var(--ok-text); }
.linktag.after { background: var(--active-soft); color: var(--active-text); }
.linksel { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); flex-wrap: wrap; }
.prelist { display: grid; gap: 4px; }
.prerow { display: flex; gap: 8px; align-items: baseline; border: 0; background: none; padding: 3px 0; text-align: left; cursor: pointer; font-size: .85rem; color: var(--ink); flex-wrap: wrap; }
.prerow.ok > span:first-child { color: var(--ok-text); font-weight: 800; }
.prerow.miss > span:first-child { color: var(--warn-text); font-weight: 800; }
.prerow:hover b { text-decoration: underline; }
.linkcol { display: grid; gap: 8px; width: min(220px, 72vw); flex: none; align-content: start; }
.linknode { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px 10px 8px 13px; display: grid; gap: 3px; cursor: pointer; font-size: .85rem; color: var(--ink); }
.linknode::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sc); }
.linknode:hover { border-color: var(--line-2); }
.linkrow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr) auto minmax(0, 1fr); gap: 8px 10px; align-items: start; padding: 12px; border-radius: var(--r-md); background: var(--surface-2); }
.linkarrow { color: var(--ink-3); font-size: 1.3rem; padding-top: 14px; }
@media (max-width: 640px) { .linkrow { grid-template-columns: minmax(0, 1fr); } .linkarrow { transform: rotate(90deg); padding: 0; justify-self: start; } }

.only-narrow { display: none; }
@media (max-width: 640px) {
  .only-wide { display: none !important; }
  .only-narrow { display: inline-flex; }
  .pagehead .muted.small { font-size: .8rem; }
}

.focusbox.is-sample .focus-top { padding-right: 46px; }
.tl-focusrow .nw { white-space: nowrap; font-weight: 800; }

/* tek sabit örnek etiketi */
.sample-flag { position: fixed; z-index: 60; top: calc(14px + env(safe-area-inset-top, 0px)); right: 20px; display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 999px; background: var(--active-soft); border: 1.5px solid color-mix(in srgb, var(--active) 75%, var(--active-text)); box-shadow: var(--shadow); color: var(--active-text); font-size: .8rem; font-weight: 700; }
.sample-flag .tag { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.sample-flag .btn { white-space: nowrap; }
@media (max-width: 899px) {
  .sample-flag { top: calc(9px + env(safe-area-inset-top, 0px)); right: 10px; padding: 3px 3px 3px 10px; gap: 6px; box-shadow: none; }
  .sample-flag .sf-text { display: none; }
  .sample-flag .tag { font-size: .9rem; }
  .sample-flag .btn { min-height: 32px; padding: 4px 10px; }
}
@media (min-width: 900px) { .main { padding-top: 26px; } }

/* ---------- hareket: canlı düzey ---------- */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pageSlide { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 44px)); } to { opacity: 1; transform: none; } }
@keyframes riseLong { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
[data-mlevel="canli"] .page-in { animation: pageSlide 480ms var(--ease-out) backwards; }
[data-mlevel="canli"] .page-in .page > * { animation: riseLong 460ms var(--ease-out) backwards; }
[data-mlevel="canli"] .page-in .page > :nth-child(2) { animation-delay: 60ms; }
[data-mlevel="canli"] .page-in .page > :nth-child(3) { animation-delay: 120ms; }
[data-mlevel="canli"] .page-in .page > :nth-child(4) { animation-delay: 180ms; }
[data-mlevel="canli"] .page-in .page > :nth-child(5) { animation-delay: 240ms; }
[data-mlevel="canli"] .page-in .page > :nth-child(n+6) { animation-delay: 300ms; }
[data-mlevel="canli"] .enter > * { animation: riseLong 460ms var(--ease-out) backwards; }
[data-mlevel="canli"] .enter > :nth-child(2) { animation-delay: 90ms; }
[data-mlevel="canli"] .enter > :nth-child(3) { animation-delay: 180ms; }
[data-mlevel="canli"] .enter > :nth-child(n+4) { animation-delay: 260ms; }
[data-mlevel="canli"] .today-flow > * { animation: riseLong 420ms var(--ease-out) backwards; }
[data-mlevel="canli"] .today-flow > :nth-child(2) { animation-delay: 140ms; }
[data-mlevel="canli"] .today-flow > :nth-child(3) { animation-delay: 220ms; }
[data-mlevel="sakin"] .page-in .page > *, [data-mlevel="sakin"] .today-flow > * { animation: none; }

/* yay hissi, hafif yükselme */
.btn { transition: transform 220ms var(--spring), box-shadow 220ms var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), opacity var(--t); }
@media (hover: hover) {
  [data-mlevel="canli"] .btn:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(24, 38, 64, .14); }
  [data-mlevel="canli"] .panel, [data-mlevel="canli"] .nextcard, [data-mlevel="canli"] .wcard, [data-mlevel="canli"] .linknode, [data-mlevel="canli"] .viz-card, [data-mlevel="canli"] .subjchip, [data-mlevel="canli"] .pill { transition: transform 260ms var(--spring), box-shadow 260ms var(--ease), opacity 260ms var(--ease), border-color var(--t); }
  [data-mlevel="canli"] .panel:hover, [data-mlevel="canli"] .nextcard:hover, [data-mlevel="canli"] .viz-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(24, 38, 64, .12); }
  [data-mlevel="canli"] .wcard:hover, [data-mlevel="canli"] .linknode:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(24, 38, 64, .12); }
  [data-mlevel="canli"] .subjchip:hover, [data-mlevel="canli"] .pill:hover { transform: translateY(-1px); }
}
[data-mlevel="canli"] .btn:active:not([disabled]), [data-mlevel="canli"] .pill:active, [data-mlevel="canli"] .subjchip:active, [data-mlevel="canli"] .daychip:active, [data-mlevel="canli"] .seg button:active { transform: scale(.94); transition-duration: 90ms; }
.daychip, .seg button, .subjchip { transition: transform 240ms var(--spring); }
.is-working .focusbox .btn:hover { transform: none; box-shadow: none; }
[data-mlevel="canli"] .tgroup[open] > div { animation: riseLong 340ms var(--ease-out) backwards; }
.wcard.dragging { opacity: .55; transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 12px 28px rgba(24, 38, 64, .22); }
[data-mlevel="canli"] .daycol.over { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--accent); transition: transform 200ms var(--spring), background var(--t); }
.shell.is-sample .main { padding-top: 66px; }
@media (max-width: 899px) { .shell.is-sample .main { padding-top: 18px; } }

/* odak kartı durumları */
.focusbox { transition: box-shadow 360ms var(--ease), background 360ms var(--ease); }
.focusbox.is-running { box-shadow: 0 0 0 2px var(--active), 0 14px 34px rgba(24, 38, 64, .22); }
.focusbox.is-paused { box-shadow: 0 0 0 2px var(--focus-line), var(--shadow); }
.focusbox.is-paused .focus-timer { opacity: .62; }
.focusbox .focus-timer { transition: opacity 280ms var(--ease); }
.run-state { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--active); }
.is-paused .run-state { color: var(--focus-muted); }
.focusbox-ph { height: 220px; border-radius: 18px; border: 1.5px dashed var(--line-2); }
.celebrate { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 16px; background: color-mix(in srgb, var(--focus-bg) 94%, transparent); border-radius: inherit; pointer-events: none; }
.cel-h { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--focus-ink); line-height: 1; }
.cel-s { font-size: .85rem; color: var(--focus-muted); font-weight: 700; }
.dayprog { display: flex; align-items: center; gap: 10px; margin-top: 10px; max-width: 420px; }
.dp-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.dp-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--ok); }
.dp-t { font-size: .78rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.dp-t b { color: var(--ink); }

/* rota: çizilen çizgiler, etkin işaret */
@keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.atlas-cell::before { transform-origin: top; }
[data-mlevel="canli"] .atlas-cell::before { animation: drawY 520ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.stop-marker { position: absolute; inset: -6px; border-radius: 50%; border: 2.5px solid var(--active); box-shadow: 0 0 0 3px color-mix(in srgb, var(--active) 25%, transparent); pointer-events: none; }
.stop.sel { z-index: 2; }

/* bağlantı eğrileri */
.linkview { display: block; }
.linkinner { position: relative; display: flex; gap: 14px; align-items: flex-start; width: max-content; }
.linklines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 0; }
.linkcol { position: relative; z-index: 1; }

/* ---------- performans ---------- */
.perf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px 40px; align-items: end; }
@media (max-width: 1000px) { .perf-hero { grid-template-columns: minmax(0, 1fr); } }
.hero-fig { display: grid; gap: 4px; }
.hero-num { font-family: var(--f-body); font-weight: 800; font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: 2px; padding: 12px 14px 4px 0; align-content: start; min-width: 0; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 640px) { .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stat-l { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.stat-v { font-family: var(--f-display); font-size: 2rem; font-weight: 600; line-height: 1.05; }
.stat-v small { font-family: var(--f-body); font-size: .8rem; color: var(--ink-2); font-weight: 700; margin-left: 4px; }
.stat-s { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.delta { font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.delta.good { color: var(--ok-text); }
.delta.bad { color: var(--warn-text); }
.perf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.perf-grid > * { min-width: 0; }
.viz-card.wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .perf-grid { grid-template-columns: minmax(0, 1fr); } }
.viz-card { display: grid; gap: 10px; align-content: start; padding: 16px 16px 14px; }
.viz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.viz-head h2 { font-size: 1.4rem; display: inline-flex; align-items: center; gap: 4px; }
.viz-empty { font-size: .85rem; color: var(--ink-2); font-weight: 600; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-md); }
.viz { position: relative; width: 100%; min-width: 0; }
.viz svg { display: block; overflow: visible; }
.viz-grid { stroke: var(--line); stroke-width: 1; }
.viz-axis { font: 600 11px var(--f-body); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.viz-lab { font: 800 12px var(--f-body); fill: var(--ink); font-variant-numeric: tabular-nums; }
.viz-plan { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.viz-cross { stroke: var(--ink-3); stroke-width: 1; }
.viz-tip { position: absolute; z-index: 5; width: 184px; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 8px 10px; font-size: .78rem; box-shadow: var(--shadow); display: grid; gap: 3px; }
.viz-tip-h { font-weight: 700; opacity: .8; }
.viz-tip-r { display: flex; align-items: center; gap: 6px; }
.viz-tip-r i { width: 12px; height: 3px; border-radius: 2px; flex: none; }
.viz-tip-r i.plan { background: var(--bg); }
.viz-tip-r i.dash { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 6px) !important; }
.viz-tip-r b { font-variant-numeric: tabular-nums; font-weight: 800; }
.viz-tip-r span { opacity: .8; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.viz-legend i.box { width: 10px; height: 10px; border-radius: 3px; }
.viz-legend i.plan { width: 14px; height: 2px; background: var(--ink); border-radius: 2px; }
.viz-hbars { display: grid; gap: 8px; }
.viz-hrow { display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; }
.viz-hlabel { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-hlabel i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.viz-htrack { position: relative; height: 14px; }
.viz-htrack i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; }
.viz-hval { font-variant-numeric: tabular-nums; white-space: nowrap; }
.viz-hval b { font-weight: 800; }
.viz-hval small { color: var(--ink-3); margin-left: 6px; font-weight: 600; }

/* ---------- revizyon: performans hiyerarşisi ---------- */
.stat-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.perf { gap: 18px; }
.perf .pagehead h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.perf-hero { gap: 12px 36px; }
.hero-num { font-size: clamp(2.6rem, 6vw, 3.8rem); }
@media (max-width: 640px) {
  .perf-hero { gap: 12px; }
  .hero-num { font-size: 2.6rem; }
  .stat-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-row.three .stat { padding: 10px 8px 2px 0; }
  .stat-row.three .stat + .stat { padding-left: 8px; }
  .stat-row.three .stat:nth-child(3) { border-left: 1px solid var(--line); padding-left: 8px; border-top: 0; }
  .stat-row.three .stat-l { font-size: .62rem; letter-spacing: .03em; }
  .stat-row.three .stat-v { font-size: 1.5rem; }
  .stat-row.three .stat-s { font-size: .68rem; }
  .stat-row.three .delta { font-size: .66rem; }
}
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.viz-card.main { box-shadow: var(--shadow); padding: 18px 18px 14px; }
.viz-card.main .viz-head h2 { font-size: 1.6rem; }
.psec { display: grid; gap: 12px; }
.psec-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 12px; }
.psec-head h2 { font-size: 1.55rem; }
.psec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.psec-grid.wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.psec-grid.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.psec-grid > * { min-width: 0; }
.psec .viz-card { background: transparent; border-color: var(--line); padding: 12px 12px 10px; }
.psec .viz-head h2 { font-size: 1.2rem; }
@media (max-width: 900px) { .psec-grid, .psec-grid.wide-left, .psec-grid.wide-right { grid-template-columns: minmax(0, 1fr); } }
.subjtable { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 14px; }
.st-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(0, 2fr) minmax(90px, auto); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.st-row:last-child { border-bottom: 0; }
.st-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 800; }
.st-row .r { text-align: right; }
.st-name { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.st-name i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
@media (max-width: 560px) { .st-row { grid-template-columns: minmax(0, 1fr) auto; } .st-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- yazdırma ---------- */
@media print {
  .side, .topbar, .bottomnav, .toasts, .no-print { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
}

/* =====================================================================
   v6 · KÜRE KİMLİĞİ — fildişi zemin, mandalina küre, kömür yazı
   ===================================================================== */
:root { --v-tyt-text: #2E4F96; --v-ayt-text: #A63E08; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --v-tyt-text: #93ACEA; --v-ayt-text: #FFA56E; } }
:root[data-theme="dark"] { --v-tyt-text: #93ACEA; --v-ayt-text: #FFA56E; }

body { background-color: var(--bg); background-image: radial-gradient(1100px 620px at 82% -8%, color-mix(in srgb, var(--active) 8%, transparent), transparent 62%); background-attachment: fixed; }
em.acc { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; color: var(--active-text); padding-right: .04em; }
h1 em.acc, h2 em.acc, .daytitle em.acc, .sc-huge em.acc, .sc-h em.acc { font-size: 1.1em; line-height: .9; }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .1em .14em 0; margin: 0 -.1em -.14em 0; }
.mask-in { display: inline-block; }

/* tipografi ölçüleri: dar yazı ailesinden geniş kalın sans'a geçiş */
.brand-name { font-size: 1.1rem; letter-spacing: -.01em; text-transform: none; font-weight: 800; }
.brand-sub { padding-left: 38px; }
.pagehead h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
.daytitle { font-family: var(--f-display); font-size: clamp(2.3rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 4px; }
.tl-title { font-size: 1.04rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.22; }
.tl-item.done .tl-title { font-family: var(--f-body); }
.atlas-lanehead { font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.atlas-day .dd { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.task-title { font-size: 1.02rem; font-weight: 750; letter-spacing: -.015em; }
.kpi .big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.dayhead .d .big { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.daychip .n { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.trow-name { font-size: 1.02rem; font-weight: 750; letter-spacing: -.015em; }
.rt-head b { font-size: 1rem; font-weight: 800; }
.tg-label { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; }
.sample-flag .tag { font-size: .74rem; letter-spacing: .1em; font-weight: 800; }
.stat-v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.hero-num { font-family: var(--f-display); letter-spacing: -.045em; }
.panel-head h2 { font-size: 1.12rem; }
.sheet-head h3 { font-size: 1.22rem; }
.nextcard h2 { font-size: 1.28rem; }
.viz-head h2 { font-size: 1.08rem; }
.viz-card.main .viz-head h2 { font-size: 1.22rem; }
.psec-head h2 { font-size: 1.22rem; }
.psec .viz-head h2 { font-size: 1rem; }
.atlas-detail h3 { font-size: 1rem; }

/* yüzeyler: yumuşak derinlik */
.card, .panel, .viz-card, .nextcard, .subjtable { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.psec .viz-card { box-shadow: none; }
.btn { font-family: var(--f-body); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--active)); }
.btn.go { background: linear-gradient(180deg, color-mix(in srgb, var(--active) 82%, #fff) 0%, var(--active) 70%); border-color: transparent; color: var(--active-ink); box-shadow: 0 10px 22px -10px var(--orb-glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.go:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--active) 74%, #fff) 0%, var(--active) 70%); }
.btn.lg { min-height: 50px; padding: 10px 24px; font-size: 1rem; font-weight: 800; }
.nav-tick { background: var(--active); }
.nav-btn[aria-current="page"] { background: var(--surface); box-shadow: var(--shadow); }
@media (pointer: coarse) {
  .btn:active:not([disabled]), .pill:active, .seg button:active, .daychip:active, .subjchip:active { box-shadow: 0 0 0 5px color-mix(in srgb, var(--active) 26%, transparent); }
}
.lane-mark { border-top-color: var(--v-ayt); }
.lane-mark.tyt { border-top-color: var(--v-tyt); }
.lane-mark.rev { border-top-style: dotted; border-top-color: var(--ink-2); }
.bar.tyt > .fill { background: repeating-linear-gradient(90deg, var(--v-tyt) 0 6px, transparent 6px 8px); }
.atlas-cell.ayt { --lane: var(--v-ayt); }
.atlas-cell.tyt { --lane: var(--v-tyt); }
.stop { background: radial-gradient(circle at 35% 30%, #fff, var(--surface-2) 70%); box-shadow: 0 3px 6px -3px rgba(45, 30, 12, .35); }
.stop.done { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), transparent 55%), var(--ink); border-color: var(--ink); }
.stop.partial { background: linear-gradient(90deg, var(--ink) 50%, var(--surface) 50%); border-color: var(--ink); }
.stop.run { background: radial-gradient(circle at 35% 30%, var(--orb-hi), var(--orb-2) 60%, var(--orb-3)); border-color: var(--active); }
.legend-dot.done { background: var(--ink); border-color: var(--ink); }
.atlas-sel { background: var(--accent-soft); }

/* ---------- odak küresi ---------- */
.orb { position: relative; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--orb-ink); isolation: isolate; -webkit-tap-highlight-color: transparent; flex: none; font: inherit; }
button.orb { cursor: pointer; }
button.orb:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 50%; }
.orb-body { position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 34% 28%, var(--orb-hi) 0%, var(--orb-1) 20%, var(--orb-2) 46%, var(--orb-3) 74%, var(--orb-rim) 100%);
  box-shadow: inset -12px -18px 34px rgba(110, 35, 0, .38), inset 10px 12px 26px rgba(255, 225, 195, .3), 0 30px 60px -22px var(--orb-glow), 0 12px 24px -14px rgba(110, 45, 8, .45);
  transition: filter .45s var(--ease), box-shadow .45s var(--ease); }
.orb-tint { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(circle at 34% 28%, #FFF7EC 0%, #EDE2CF 45%, #BFAE92 100%); }
.orb-gloss { position: absolute; left: 16%; top: 9%; width: 40%; height: 27%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%); transform: rotate(-24deg); }
.orb.tone-calm { color: var(--orb-sub); }
.orb.tone-calm .orb-tint { opacity: 1; }
.orb.tone-ink { color: #F6F1E8; }
.orb.tone-ink .orb-body { background: radial-gradient(circle at 34% 28%, #7A7266 0%, #2E2A25 52%, #12100E 100%); box-shadow: inset -10px -14px 30px rgba(0, 0, 0, .45), 0 26px 50px -20px rgba(0, 0, 0, .45); }
.orb.tone-ghost { color: var(--ink-2); }
.orb.tone-ghost .orb-body { background: color-mix(in srgb, var(--surface) 60%, transparent); box-shadow: inset 0 0 0 2px var(--line-2); }
.orb.tone-ghost .orb-gloss { opacity: .35; }
.orb.is-paused .orb-body { filter: saturate(.32) brightness(.96); }
.orb-in { position: relative; display: grid; justify-items: center; gap: 3px; text-align: center; line-height: 1; padding: 0 10%; }
.orb-num { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--orb) * .27); letter-spacing: -.045em; line-height: .95; text-shadow: 0 2px 12px rgba(110, 35, 0, .35); font-variant-numeric: tabular-nums; white-space: nowrap; }
.orb-num.sm { font-size: calc(var(--orb) * .2); }
.orb-num.timer { font-size: calc(var(--orb) * .225); letter-spacing: -.035em; }
.orb-num small { font-size: .42em; font-weight: 700; margin-left: .06em; letter-spacing: 0; }
.orb.tone-ghost .orb-num, .orb.tone-calm .orb-num { text-shadow: none; }
.orb-unit { font-size: max(.72rem, calc(var(--orb) * .062)); font-weight: 800; color: var(--orb-sub); letter-spacing: .01em; }
.orb.tone-ghost .orb-unit, .orb.tone-ink .orb-unit { color: inherit; opacity: .82; }
.orb-check { color: var(--orb-ink); filter: drop-shadow(0 2px 6px rgba(110, 35, 0, .35)); margin-bottom: 2px; }
.orb.tone-ink .orb-check { color: #F6F1E8; }
.orb-stack { display: grid; justify-items: center; gap: 5px; }
.orb-wrap { position: relative; display: grid; place-items: center; }
.orb-floor { position: absolute; left: 50%; bottom: -22px; width: 64%; height: 16px; margin-left: -32%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(95, 48, 10, .3), transparent 70%); pointer-events: none; }
.orb-floor.dark { bottom: -4px; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%); }
.orb-ph { border-radius: 50%; border: 1.5px dashed var(--line-2); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.028); } }
.orb-body.breathe { animation: breathe 4.4s ease-in-out infinite; }

/* ---------- günün sahnesi ---------- */
.today-flow { container-type: inline-size; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 30px; align-items: center; }
.stage-copy { display: grid; gap: 12px; align-content: center; min-width: 0; }
.stage-copy > * { transition: opacity 260ms var(--ease), transform 420ms var(--ease-out); }
.stage-copy > :nth-child(2) { transition-delay: 30ms; } .stage-copy > :nth-child(3) { transition-delay: 60ms; }
.stage-copy > :nth-child(4) { transition-delay: 90ms; } .stage-copy > :nth-child(5) { transition-delay: 120ms; }
.stage-copy > :nth-child(n+6) { transition-delay: 150ms; }
.stage.is-leaving .stage-copy > * { opacity: 0; transform: translateX(-36px); }
.stage-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.stage-title { font-size: clamp(2.1rem, 6.4cqi, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 0; overflow-wrap: anywhere; }
.stage-part { margin: 0; font-size: 1.12rem; line-height: 1.3; color: var(--ink-2); }
.stage-part em.acc { font-size: 1.14em; }
.stage-sup { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-2); margin-top: 2px; }
.stage-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.lane-tag { display: inline-flex; align-items: center; gap: 7px; }
.lane-tag .lane-mark { width: 18px; }
.stage-cta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stage-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .85rem; }
.stage-next { color: var(--ink); font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage .muted-l { color: var(--ink-3); }
.stage-detail { font-size: .84rem; color: var(--ink-2); font-weight: 600; overflow: hidden; }
.stage-detail b { color: var(--ink); }
.stage-orbit { position: relative; display: grid; place-items: center; justify-self: end; }
.stage.is-empty .stage-title { font-size: clamp(2rem, 5.4cqi, 3rem); }
@container (max-width: 660px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .stage-orbit { order: -1; justify-self: center; }
  .stage-title { font-size: clamp(2rem, 10cqi, 2.8rem); }
}

/* yörünge */
.orbit { position: relative; flex: none; }
.orbit-svg { position: absolute; inset: 0; overflow: visible; }
.orbit-ring { fill: none; stroke-width: 1.6; }
.orbit-ring.ayt { stroke: color-mix(in srgb, var(--v-ayt) 42%, transparent); }
.orbit-ring.tyt { stroke: color-mix(in srgb, var(--v-tyt) 50%, transparent); stroke-dasharray: 5 6; transform-box: view-box; transform-origin: center; }
@keyframes ringIn { from { opacity: 0; transform: rotate(-40deg) scale(.92); } to { opacity: 1; transform: none; } }
[data-mlevel="canli"] .orbit-ring.tyt { animation: ringIn 900ms var(--ease-out) backwards 80ms; }
.orbit-route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.orbit-route.rest { stroke: color-mix(in srgb, var(--ink) 20%, transparent); stroke-width: 1.5; }
.orbit-route.done { stroke: var(--ink); stroke-width: 3; }
.orbit-tether { stroke: color-mix(in srgb, var(--active) 60%, transparent); stroke-width: 1.5; stroke-dasharray: 2 4; }
.orb-ring-track { fill: none; stroke: color-mix(in srgb, var(--active) 20%, transparent); stroke-width: 4; }
.orb-ring-fill { fill: none; stroke: var(--active); stroke-width: 4; stroke-linecap: round; }
.stage.is-paused .orb-ring-fill { stroke: var(--ink-3); }
.orbit-lab { font: 800 10px var(--f-display); letter-spacing: .12em; }
.orbit-lab.ayt { fill: var(--v-ayt-text); }
.orbit-lab.tyt { fill: var(--v-tyt-text); }
.orbit-center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit-center > * { pointer-events: auto; }
.ostop { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; z-index: 2; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ostop.ayt { --lane: var(--v-ayt); } .ostop.tyt { --lane: var(--v-tyt); } .ostop.rev { --lane: var(--ink-2); }
.ostop-dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); background: radial-gradient(circle at 35% 30%, #fff, var(--surface-2) 62%, var(--surface-3)); box-shadow: 0 0 0 2.5px var(--lane), 0 5px 9px -4px rgba(45, 28, 10, .45); transition: transform 260ms var(--spring), box-shadow 260ms var(--ease); }
.ostop.st-done .ostop-dot, .ostop.st-partial .ostop-dot { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .32), transparent 55%), var(--ink); box-shadow: 0 0 0 2.5px var(--ink), 0 5px 9px -4px rgba(0, 0, 0, .45); }
.ostop.st-run .ostop-dot { background: radial-gradient(circle at 35% 30%, var(--orb-hi), var(--orb-2) 60%, var(--orb-3)); box-shadow: 0 0 0 2.5px var(--active), 0 0 16px var(--orb-glow); }
.ostop:hover .ostop-dot, .ostop.is-hot .ostop-dot { transform: scale(1.3); }
.ostop:focus-visible { outline: none; }
.ostop:focus-visible .ostop-dot { box-shadow: 0 0 0 2.5px var(--lane), 0 0 0 5px var(--bg), 0 0 0 7.5px var(--ink); }
.orbit-marker { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--active); box-shadow: 0 0 0 5px color-mix(in srgb, var(--active) 16%, transparent); pointer-events: none; z-index: 1; }
.ostop-tip-pos { position: absolute; z-index: 4; transform: translate(6px, -50%); pointer-events: none; }
.ostop-tip-pos.left { transform: translate(calc(-100% - 6px), -50%); }
.ostop-tip { display: inline-block; background: var(--ink); color: var(--bg); font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

/* plan ve yapılan */
.today-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 20px; }
.th-main { min-width: 0; }
.today-head .daymeta { grid-column: 1 / -1; margin-top: 0; font-size: .78rem; }
.head-act .lbl-narrow { display: none; }
.ledger { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto auto minmax(120px, 1fr); align-items: end; gap: 6px 30px; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow); }
.lg-fig { display: grid; gap: 3px; min-width: 0; }
.lg-l { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.lg-fig b { font-family: var(--f-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.lg-fig.plan b { color: var(--ink-2); }
.lg-fig b small { font-size: .62em; color: var(--ink-3); font-weight: 700; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }
.sw.plan { background: repeating-linear-gradient(135deg, var(--ink-3) 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.sw.done { background: var(--ink); }
.lg-bar { position: relative; height: 12px; border-radius: 7px; background: var(--surface-3); overflow: hidden; align-self: center; margin-top: 14px; }
.lg-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; }
.lg-bar i.plan { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 30%, transparent) 0 2px, transparent 2px 6px); }
.lg-bar i.done { background: var(--ink); top: 2px; bottom: 2px; left: 2px; }
@media (max-width: 640px) {
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 12px 14px; margin-top: 12px; }
  .lg-bar { grid-column: 1 / -1; margin: 4px 0 0; }
  .lg-fig b { font-size: 1.2rem; }
  .head-act .btn { width: auto; padding: 5px 12px; }
  .head-act .btn.icon-sm { width: 40px; padding: 0; }
  .head-act .lbl-narrow { display: inline; }
  .stage-part { font-size: 1rem; }
}
.fly-token { position: fixed; z-index: 120; width: 84px; height: 40px; border-radius: 999px; display: grid; place-items: center; font: 800 .95rem var(--f-display); color: var(--orb-ink); background: radial-gradient(circle at 30% 25%, var(--orb-hi), var(--orb-2) 55%, var(--orb-3)); box-shadow: 0 12px 26px -10px var(--orb-glow); pointer-events: none; text-shadow: 0 1px 4px rgba(110, 35, 0, .4); }

/* küçük dekor küreleri */
.pebbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.pebbles i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--orb-hi), var(--orb-2) 55%, var(--orb-3)); box-shadow: 0 8px 14px -8px var(--orb-glow); }
.pebbles i.blur { filter: blur(3px); opacity: .55; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(7px, -12px); } }
[data-mlevel="canli"] .pebbles i { animation: drift 7s ease-in-out infinite alternate; }

/* ---------- odak ekranı ---------- */
.focusmode { position: fixed; inset: 0; z-index: 90; background: transparent; color: var(--focus-ink); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px calc(14px + env(safe-area-inset-bottom, 0px)); overflow: hidden auto; isolation: isolate; }
.fm-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 640px at 50% 46%, #2B2723 0%, var(--focus-bg) 68%); }
.fm-pebbles { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none; }
.fm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-lane { font-size: .75rem; font-weight: 700; color: var(--focus-muted); margin-left: 6px; }
.fm-center { display: grid; justify-items: center; align-content: center; gap: 14px; text-align: center; min-height: 0; }
.fm-head { display: grid; gap: 4px; justify-items: center; max-width: 760px; }
.fm-head .eyebrow { color: var(--focus-muted); }
.fm-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--focus-ink); }
.fm-part { margin: 0; font-size: 1.12rem; color: var(--focus-muted); }
.fm-part em.acc { color: #FFB386; }
.fm-orbwrap { position: relative; display: grid; place-items: center; }
.fm-ring { position: absolute; inset: 0; overflow: visible; }
.fm-ring-track { fill: none; stroke: rgba(255, 240, 225, .1); stroke-width: 3; }
.fm-ring-fill { fill: none; stroke: var(--active); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .4s; }
.focusmode.is-paused .fm-ring-fill { stroke: var(--focus-muted); }
.focusmode.is-break .fm-ring-fill { stroke: #E9DCC6; }
.fm-sub { font-size: .9rem; color: var(--focus-muted); font-weight: 600; }
.fm-sub b { color: var(--focus-ink); }
.fm-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fm-step { position: relative; border: 1px solid var(--focus-line); background: transparent; color: var(--focus-muted); border-radius: 999px; padding: 6px 13px; min-height: 36px; display: inline-flex; gap: 6px; align-items: baseline; font-weight: 700; font-size: .82rem; cursor: pointer; }
.fm-step > span, .fm-step > b { position: relative; z-index: 1; }
.fm-step b { color: var(--focus-ink); font-weight: 800; }
.fm-step.on { color: var(--active-ink); border-color: transparent; }
.fm-step.on b { color: var(--active-ink); }
.fm-step-on { position: absolute; inset: -1px; border-radius: 999px; background: var(--active); z-index: 0; }
.fm-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.focusmode .btn { border-color: var(--focus-line); background: rgba(255, 248, 238, .05); color: var(--focus-ink); }
.focusmode .btn.go { color: var(--active-ink); border-color: transparent; }
.focusmode .btn.done { background: var(--focus-ink); color: #1D1B18; border-color: var(--focus-ink); }
.focusmode .btn.ghost { background: transparent; border-color: transparent; }
.fm-foot { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; color: var(--focus-muted); }
.focusmode .seg { background: rgba(255, 248, 238, .08); }
.focusmode .seg .seg-on { background: var(--focus-ink); }
.focusmode .seg button[aria-pressed="true"] { color: #1D1B18; }
.focusmode .inp { background: transparent; border-color: var(--focus-line); color: var(--focus-ink); }
.focusmode .subj { color: var(--focus-muted); }
.focusmode .subj b { color: var(--focus-ink); }
.focusmode :focus-visible { outline-color: var(--active); }
@media (max-height: 720px) { .fm-part, .fm-foot .small { display: none; } .fm-center { gap: 10px; } }

/* ---------- sahne akışı (gün özeti, tanıtım) ---------- */
.deck { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--bg); color: var(--ink); transition: background-color .55s var(--ease), color .55s var(--ease); padding: calc(10px + env(safe-area-inset-top, 0px)) 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
.deck.tone-dark { background: #161412; color: #F6F1E8; }
.deck-top { display: grid; gap: 6px; position: relative; z-index: 3; }
.deck-bar { display: flex; gap: 4px; }
.deck-seg { flex: 1; padding: 8px 0; border: 0; background: none; cursor: pointer; color: inherit; }
.deck-seg i { display: block; height: 4px; border-radius: 2px; background: color-mix(in srgb, currentColor 18%, transparent); position: relative; overflow: hidden; }
.deck-seg i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(0); }
.deck-seg i.full::after { transform: none; }
@keyframes segfill { from { transform: scaleX(0); } to { transform: none; } }
.deck-seg i.run::after { animation: segfill var(--d, 3000ms) linear forwards; }
.deck-ctl { display: flex; justify-content: flex-end; gap: 6px; }
.deck .btn.ghost { color: inherit; }
.deck .btn.ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.deck-stage { position: relative; min-height: 0; overflow: hidden; cursor: pointer; }
.deck-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.deck-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; position: relative; z-index: 3; }
.deck-cap { display: flex; justify-content: center; align-items: center; min-height: 42px; }
.deck-cap span { display: inline-block; max-width: 640px; text-align: center; background: #1D1B18; color: #F6F1E8; padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow); }
.deck.tone-dark .deck-cap span { background: #F6F1E8; color: #1D1B18; }
.deck-chip { position: absolute; top: calc(78px + env(safe-area-inset-top, 0px)); left: 16px; z-index: 3; display: flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 700; padding: 4px 14px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--ink); box-shadow: var(--shadow); }
.deck.tone-dark .deck-chip { background: rgba(255, 248, 238, .08); color: #F6F1E8; }
.deck-chip .orb-in { display: none; }
.sc { position: relative; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 0 6px; }
.sc > *:not(.pebbles) { position: relative; z-index: 1; }
.sc-huge { font-size: clamp(3.4rem, 13vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.sc-huge.two { font-size: clamp(2.8rem, 10vw, 6.6rem); }
.sc-acc { margin: 0; font-size: clamp(1.5rem, 4.4vw, 2.8rem); line-height: 1.1; }
.sc-h { font-size: clamp(1.45rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; max-width: 760px; line-height: 1.1; }
.sc-sub { margin: 0; max-width: 520px; font-size: .95rem; color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.sc-sub b { color: var(--ink); }
.sc-time .orb { margin: 8px 0 14px; }
.sc-grad { background: linear-gradient(180deg, #FFC9A2 0%, #F26A1B 55%, #B8430A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-display); font-weight: 800; }
.sc-cloud { position: relative; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 18px; perspective: 900px; }
.sc-big { display: grid; justify-items: center; gap: 2px; position: relative; z-index: 1; }
.sc-big .sc-grad { font-size: clamp(5rem, 16vw, 10rem); line-height: .9; letter-spacing: -.06em; padding: 0 .06em; }
.sc-big-l { font-size: 1.05rem; font-weight: 700; color: #CFC6B8; }
.sc-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(560px, 100%); }
.sc-cloud.wide .sc-panels { position: absolute; inset: 0; display: block; width: auto; }
.sc-cloud.wide .sc-panel { position: absolute; width: 220px; }
.sc-panel { text-align: left; display: grid; gap: 3px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 248, 238, .07); border: 1px solid rgba(255, 248, 238, .13); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .8); color: #F6F1E8; min-width: 0; }
.sc-panel-h { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 800; color: #D8CFC1; }
.sc-panel-h i { width: 9px; height: 9px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.sc-panel b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.sc-panel-s { font-size: .72rem; color: #B8AFA1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-chartwrap { padding: 0 4px; }
.sc-chart { width: min(720px, 100%); background: var(--surface); border-radius: 22px; padding: 16px 18px 12px; box-shadow: var(--shadow-lg); text-align: left; display: grid; gap: 8px; }
[data-mlevel="canli"] .sc-chart { transform: perspective(1000px) rotateX(5deg); }
.sc-chart-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sc-chart-h b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.sc-chart-h span { font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.sc-chart svg { display: block; overflow: visible; }
.sc-line { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-dot { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.sc-dot.cur { fill: var(--active); stroke: var(--active); }
.sc-scribble { fill: none; stroke: var(--active); stroke-width: 2; stroke-linecap: round; }
.sc-pill { fill: var(--active); }
.sc-pill-t { font: 800 12px var(--f-display); fill: var(--active-ink); }
.sc-chart-note { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.sc-card { display: grid; gap: 8px; justify-items: start; text-align: left; width: min(520px, 100%); padding: 18px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.sc-card-t { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.sc-card-p { font-size: 1.1rem; }
.sc-tabs { position: relative; width: 100%; height: 100%; display: grid; place-items: center; perspective: 1000px; }
.sc-tabs-big { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; position: relative; z-index: 1; color: #F6F1E8; font-size: clamp(2.6rem, 11vw, 7.4rem); line-height: .9; }
.sc-tabs-big .sc-grad { font-size: 1.2em; }
.sc-tabs-panels { position: absolute; inset: 0; }
.sc-tab { position: absolute; width: 176px; margin: -19px 0 0 -88px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 12px; background: #24211D; border: 1px solid #3A3631; color: #EDE5D8; font-size: .76rem; font-weight: 700; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .85); white-space: nowrap; }
.sc-tab i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.sc-tab small { margin-left: auto; color: #A39A8C; font-weight: 700; }
.sc-tab.ayt { border-color: rgba(236, 101, 25, .55); }
@media (max-width: 640px) { .sc-tab { width: 128px; margin-left: -64px; font-size: .64rem; padding: 6px 7px; } .sc-tab small { display: none; } }
.sc-mergewrap { gap: 6px; }
.sc-merge { width: min(760px, 100%); height: auto; overflow: visible; }
.mr { fill: none; stroke-linecap: round; }
.mr.tyt { stroke: var(--v-tyt); stroke-width: 5; }
.mr.ayt { stroke: var(--v-ayt); stroke-width: 5; }
.mr.one { stroke: var(--ink); stroke-width: 6; }
.mr-gap { fill: none; stroke: var(--bg); stroke-width: 8; stroke-dasharray: 3 10; }
.mr-lab { font: 800 21px var(--f-display); fill: var(--ink); letter-spacing: -.02em; }
.mr-acc { font: italic 400 25px var(--f-serif); fill: var(--active-text); }
.mr-sub { font: 600 12.5px var(--f-body); fill: var(--ink-2); }
.mr-orb-t { font: 800 14px var(--f-display); fill: #FFF8EF; }
.sc > .sc-tabs-panels { position: absolute; inset: 0; z-index: 0; }
.orbit-route.lead { stroke: color-mix(in srgb, var(--ink) 20%, transparent); stroke-width: 1.5; stroke-dasharray: 1 5; }
.stage-title { font-size: clamp(1.9rem, 5.2cqi, 3rem); }
.focusmode .pebbles i { animation: none !important; }
.fm-pebbles { opacity: .2; }
.sc.sc-subjects { display: block; padding: 0; }
.sc-subjects .sc-cloud { position: absolute; inset: 0; }
.sc-cloud:not(.wide) { align-content: center; overflow: auto; padding: 8px 0; }
.orb-cta { display: none; align-items: center; gap: 5px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(29, 27, 24, .82); color: #FFF8EF; font: 800 .78rem var(--f-body); letter-spacing: .02em; }
@container (max-width: 660px) { .orb-cta { display: inline-flex; } }
@media (max-width: 640px) {
  .head-act { position: static; align-self: end; }
  .today-head { gap: 2px 10px; }
  .daytitle { font-size: 2.15rem; }
}
[data-mlevel="sakin"] .stage.is-leaving .stage-copy > * { transform: none; }
[data-mlevel="sakin"] .stage-copy > * { transition-duration: 180ms; transition-delay: 0ms; }

/* küçültülmüş sayaç: köşede küre + süre */
.dock { position: fixed; z-index: 70; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 0; }
.dock .orb { color: var(--orb-ink); z-index: 1; }
.dock .orb svg { filter: drop-shadow(0 1px 3px rgba(110, 35, 0, .4)); }
.dock-pill { display: flex; align-items: center; gap: 6px; margin-left: -18px; padding: 6px 8px 6px 26px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); }
.dock-text { border: 0; background: none; display: grid; text-align: left; cursor: pointer; color: var(--ink); padding: 0 2px; min-width: 0; max-width: 190px; font: inherit; line-height: 1.15; }
.dock-text b { font: 800 1.08rem var(--f-display); letter-spacing: -.02em; }
.dock-text span { font-size: .72rem; color: var(--ink-2); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock.is-paused .dock-text b { color: var(--ink-2); }
@media (max-width: 899px) {
  .dock { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .dock-text { max-width: 140px; }
  .toasts.with-dock { bottom: calc(146px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) { .toasts.with-dock { left: calc(50% + 114px); } }
.orb-ghost { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 50%; border: 2px dashed var(--line-2); background: color-mix(in srgb, var(--surface) 55%, transparent); color: var(--ink); cursor: pointer; padding: 0; font: inherit; }
.orb-ghost:hover { border-color: var(--active); }
.og-t { font: 800 1.9rem var(--f-display); letter-spacing: -.03em; }
.og-l { font-size: .74rem; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 480px) { .shell.is-sample .topbar .bn-t { display: none; } }

/* paylaşım */
.deck-share { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.deck .sheet { color: var(--ink); }
.share-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.share-frame { margin: 0; flex: none; width: 128px; display: grid; gap: 4px; justify-items: center; scroll-snap-align: start; }
.share-canvas { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); display: grid; place-items: center; }
.share-canvas canvas { width: 100%; height: 100%; display: block; }
.share-frame figcaption { font-size: .72rem; font-weight: 800; color: var(--ink-2); }
.share-prog { margin-top: 0; }
@media (min-width: 700px) { .share-frame { width: 104px; } }

/* yanlış defteri fotoğrafları */
.photo { position: relative; display: inline-grid; place-items: center; padding: 0; border: 0; background: var(--bg-2); border-radius: 10px; overflow: hidden; flex: none; color: var(--ink-2); font: inherit; }
button.photo { cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.thumb { width: 52px; height: 52px; box-shadow: inset 0 0 0 1px var(--line); }
.photo.thumb.lg { width: 84px; height: 84px; border-radius: 12px; }
.photo-missing { font-size: .62rem; font-weight: 700; text-align: center; padding: 4px; line-height: 1.2; }
@keyframes photoPulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
.photo-wait { width: 100%; height: 100%; background: var(--surface-3); animation: photoPulse 1.2s ease-in-out infinite; }
.photo-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.photo-more { width: 52px; height: 52px; border-radius: 10px; border: 1px dashed var(--line-2); background: none; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.photo-field { display: grid; gap: 8px; border-radius: var(--r-md); transition: box-shadow var(--t); }
.photo-field.is-drag { box-shadow: 0 0 0 2px var(--active); }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-thumbs:empty { display: none; }
.photo-edit { position: relative; display: grid; gap: 4px; justify-items: center; }
.photo-role { border: 0; border-radius: 999px; padding: 2px 9px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; cursor: pointer; background: var(--bg-2); color: var(--ink-2); min-height: 24px; }
.photo-role.soru { background: var(--ink); color: var(--bg); }
.photo-role.cozum { background: var(--ok-soft); color: var(--ok-text); }
.photo-x { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ink); color: var(--bg); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
@media (pointer: coarse) { .photo-x { width: 30px; height: 30px; top: -8px; right: -8px; } .photo-role { min-height: 30px; } }
.trow-main .photo-strip { margin: 2px 0; }
.stack.sm > .photo-strip { margin-top: 2px; }

.pv { position: fixed; inset: 0; z-index: 130; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding: calc(12px + env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px)); background: rgba(14, 13, 11, .94); color: #F6F1E8; }
.pv .btn.ghost { color: inherit; }
.pv .btn.ghost:hover { background: rgba(255, 248, 238, .1); }
.pv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pv-t { font-size: .85rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-t b { font-weight: 800; }
.pv-sub { color: #B8AFA1; }
.pv-stage { position: relative; min-height: 0; display: grid; place-items: center; }
.pv-img { width: 100%; height: 100%; display: grid; place-items: center; }
.pv-img .photo { width: 100%; height: 100%; background: transparent; border-radius: 0; }
.pv-img .photo img { object-fit: contain; }
.pv-hidden { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 28px; border-radius: 18px; border: 1.5px dashed rgba(255, 248, 238, .3); font-weight: 700; max-width: 320px; }
.pv-nav { display: flex; justify-content: center; align-items: center; gap: 12px; }
.pv-dots { display: flex; gap: 6px; }
.pv-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 248, 238, .3); }
.pv-dots i.on { background: var(--active); }

/* masaüstü kamera (iPhone Süreklilik Kamerası dahil) */
.pv.cam { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.cam-stage { position: relative; overflow: hidden; border-radius: 16px; background: #000; }
.cam-video { width: 100%; height: 100%; object-fit: contain; display: block; }
.cam-wait { position: absolute; color: #B8AFA1; font-weight: 700; font-size: .9rem; }
.cam-flash { position: absolute; inset: 0; background: #fff; pointer-events: none; }
.cam-err { background: rgba(14, 13, 11, .6); }
.cam-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.cam-sel { justify-self: start; max-width: 100%; background: rgba(255, 248, 238, .06); border-color: rgba(255, 248, 238, .2); color: #F6F1E8; }
.cam-sel option { color: #1D1B18; }
.cam-shoot { grid-column: 2; width: 68px; height: 68px; border-radius: 50%; border: 4px solid #F6F1E8; background: transparent; padding: 4px; cursor: pointer; display: grid; place-items: center; }
.cam-shoot i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFC9A2, #F26A1B 55%, #D9520A); transition: transform 120ms var(--ease); }
.cam-shoot:active:not([disabled]) i { transform: scale(.88); }
.cam-shoot[disabled] { opacity: .4; cursor: not-allowed; }
.cam-shoot:focus-visible { outline: 3px solid var(--active); outline-offset: 3px; }
.cam-count { grid-column: 3; justify-self: end; color: #B8AFA1; font-weight: 700; text-align: right; }
.cam-tip { margin: 0; font-size: .76rem; color: #B8AFA1; text-align: center; max-width: 640px; justify-self: center; line-height: 1.45; }
@media (max-width: 640px) { .cam-bar { grid-template-columns: minmax(0, 1fr) auto; } .cam-sel { grid-column: 1 / -1; } .cam-shoot { grid-column: 1; justify-self: center; } .cam-count { grid-column: 2; } }

/* telefonla çek: bilgisayardaki bekleme ekranı ve telefondaki çubuk */
.pv .seg { background: rgba(255, 248, 238, .1); }
.pv .seg button { color: #B8AFA1; }
.pv .seg button[aria-pressed="true"] { color: #1D1B18; }
.pv .seg .seg-on { background: #F6F1E8; }
.phone-link { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 460px; padding: 12px; }
.phone-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #FFF8EF; background: radial-gradient(circle at 34% 28%, #FFC9A2, #F26A1B 50%, #B8430A); box-shadow: 0 18px 40px -16px rgba(242, 106, 27, .6); }
@keyframes phoneLive { 0% { box-shadow: 0 0 0 0 rgba(242, 106, 27, .55); } 100% { box-shadow: 0 0 0 22px rgba(242, 106, 27, 0); } }
[data-mlevel="canli"] .phone-ico.is-live { animation: phoneLive 1.6s ease-out infinite; }
.phone-h { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.phone-s { color: #CFC6B8; font-size: .9rem; }
.phone-steps { margin: 0; padding-left: 22px; text-align: left; display: grid; gap: 6px; color: #D8CFC1; font-size: .92rem; line-height: 1.45; }
.phone-steps b { color: #F6F1E8; }
.phone-wait { font-size: .8rem; font-weight: 800; color: #FFB386; letter-spacing: .02em; }
.phone-got { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cam-err-s { font-size: .82rem; font-weight: 600; color: #CFC6B8; }
.inbox { position: fixed; z-index: 75; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); max-width: min(460px, calc(100vw - 24px)); }
.inbox-t { display: grid; gap: 1px; min-width: 0; }
.inbox-t b { font-size: .9rem; font-weight: 800; }
.inbox-t span { font-size: .76rem; opacity: .8; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox .btn:not(.go) { background: transparent; color: inherit; border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
@media (max-width: 899px) { .inbox { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); max-width: none; } }
.wcard.drop-before { box-shadow: 0 -4px 0 -1px var(--active); }

/* alan seçimi */
.gate { position: fixed; inset: 0; z-index: 140; background: #0B0A09; color: #F6F1E8; display: grid; place-items: center; padding: 24px 16px; overflow-y: auto; }
.gate-in { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 920px; width: 100%; }
.gate-h { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; color: #F6F1E8; }
.gate-h em.acc { color: #FFA56E; }
.gate-s { margin: 0; color: #B8AFA1; font-weight: 600; }
.gate-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 12px; }
.gate-card { display: grid; justify-items: center; gap: 6px; padding: 18px 14px 20px; border-radius: 22px; border: 1px solid rgba(255, 248, 238, .12); background: rgba(255, 248, 238, .04); color: inherit; cursor: pointer; font: inherit; }
.gate-card:hover, .gate-card:focus-visible { border-color: #F26A1B; background: rgba(242, 106, 27, .08); }
.gate-card img { width: 132px; height: 132px; border-radius: 28px; }
.gate-card b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.gate-card span { font-size: .85rem; color: #CFC6B8; font-weight: 600; }
.gate-card small { font-size: .72rem; color: #958C7F; font-weight: 600; }
@media (max-width: 640px) { .gate-cards { grid-template-columns: minmax(0, 1fr); } .gate-card { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; column-gap: 14px; } .gate-card img { width: 72px; height: 72px; border-radius: 18px; grid-row: span 3; } }
.brand-name { gap: 12px; }
.brand-sub { padding-left: 64px; margin-top: -10px; }
.topbar { padding-block: 8px; }

.topbar .bn-s { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3, var(--muted)); }
@media (max-width: 380px) { .topbar .bn-s { display: none; } }
.lvl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .lvl-grid { grid-template-columns: 1fr; } }
.lvl-card { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line, var(--surface-3)); background: var(--surface); color: inherit; cursor: pointer; font: inherit; }
.lvl-card[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.vm { position: fixed; inset: 0; z-index: 90; background: rgba(10, 9, 8, .62); display: grid; place-items: center; padding: 16px; }
.vm-box { width: min(920px, 100%); background: var(--surface); color: var(--ink, inherit); border-radius: 18px; padding: 14px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.vm-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.vm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm-box.has-list { width: min(1180px, 100%); grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100dvh - 32px); }
.vm-box.has-list .vm-head { grid-column: 1 / -1; }
.vm-main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.vm-list { display: grid; gap: 2px; align-content: start; overflow-y: auto; max-height: min(70dvh, 560px); padding-right: 4px; }
.vm-lt { padding: 2px 4px 6px; font-weight: 700; }
.vm-item { display: grid; grid-template-columns: 22px 96px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; text-align: left; background: none; border: 0; border-radius: 10px; padding: 6px; font: inherit; color: inherit; cursor: pointer; }
.vm-item:hover { background: var(--surface-2, rgba(127,127,127,.08)); }
.vm-item[aria-current="true"] { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.vm-item img { grid-row: 1 / 3; grid-column: 2; width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; }
.vm-n { grid-row: 1 / 3; align-self: center; font-size: 11px; opacity: .6; text-align: center; }
.vm-t { font-size: 12.5px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-t em { font-style: normal; color: var(--accent); }
.vm-d { font-size: 11px; opacity: .65; }
@media (max-width: 820px) { .vm-box.has-list { grid-template-columns: 1fr; overflow-y: auto; } .vm-list { max-height: 42dvh; } }
.vbubble { position: relative; flex: none; align-self: center; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 1px; color: #fff; font: inherit;
  background: radial-gradient(circle at 34% 30%, #FFD0B0 0%, #F26A1B 46%, #B8430A 100%); box-shadow: 0 4px 12px rgba(184, 67, 10, .35), inset 0 -4px 10px rgba(110, 35, 0, .25); }
.vbubble .vb-shine { position: absolute; left: 22%; top: 16%; width: 30%; height: 17%; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(-24deg); pointer-events: none; }
.vbubble .vb-lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .02em; max-width: 64px; text-align: center; line-height: 1.1; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.vbubble:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.vb-burst { position: fixed; z-index: 120; width: 0; height: 0; pointer-events: none; }
.vb-fill, .vb-ring, .vb-drop { position: absolute; border-radius: 50%; }
.vb-fill { left: 0; top: 0; background: radial-gradient(circle at 40% 36%, var(--orb-1) 0%, var(--orb-2) 55%, var(--orb-3) 100%); }
.vb-ring { width: 76px; height: 76px; left: -38px; top: -38px; border: 3px solid var(--orb-hi); }
.vb-drop { width: 12px; height: 12px; left: -6px; top: -6px; background: var(--orb-hi); }
/* tam ekran video bölümü: solda ders listesi, sağda videonun kapladığı alan */
.vm:has(.has-list) { padding: 0; background: var(--bg, #141210); }
.vm-box.has-list { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; box-shadow: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 360px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 12px 16px; }
.vm-box.has-list .vm-list { max-height: none; height: 100%; min-height: 0; }
.vm-box.has-list .vm-main { grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; }
.vm-box.has-list .vm-frame { aspect-ratio: auto; height: 100%; min-height: 240px; }
@media (max-width: 820px) {
  .vm-box.has-list { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
  .vm-box.has-list .vm-main { grid-row: 2; grid-template-rows: auto auto auto; }
  .vm-box.has-list .vm-frame { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .vm-box.has-list .vm-list { grid-row: 3; }
}

.vm { animation: vm-in .35s ease both; }
@keyframes vm-in { from { opacity: 0; } to { opacity: 1; } }
.vm:has(.has-list) { background: var(--orb-2); animation: none; }
.vm:has(.has-list) .vm-box { animation: vm-box-in .4s .05s ease both; }
@keyframes vm-box-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

.vbtn { background: radial-gradient(circle at 30% 25%, var(--orb-1) 0%, var(--orb-2) 55%, var(--orb-3) 100%); color: #fff; border-color: transparent; box-shadow: 0 3px 10px var(--orb-glow); }
.vbtn:hover { color: #fff; filter: brightness(1.05); }

.vm { z-index: 121; }

/* ---------------------------------------------------------------- profil resmi ve karakter teması */
.avatar { position: relative; display: inline-block; flex: none; padding: 0; border: 0; background: #000; border-radius: 50% / 50%; overflow: hidden; cursor: default;
  box-shadow: 0 0 0 2px var(--ring), 0 0 14px 1px color-mix(in srgb, var(--ring) 60%, transparent); }
button.avatar { cursor: pointer; }
button.avatar:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
.side-av { display: block; margin-top: 12px; }
.topbar .avatar { margin-left: 10px; }
.av-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; justify-items: center; max-width: 520px; }
.av-opt { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 6px; border-radius: 14px; color: inherit; font: inherit; cursor: pointer; font-weight: 700; }
.av-opt[aria-checked="true"] { background: color-mix(in srgb, var(--ring) 16%, transparent); }
.av-opt[aria-checked="true"] .avatar { box-shadow: 0 0 0 3px var(--ring), 0 0 22px 4px color-mix(in srgb, var(--ring) 70%, transparent); }
.gate .av-opt { color: #F6F1E8; }

:root[data-av] {
  --active: var(--av); --orb-2: var(--av);
  --orb-1: color-mix(in srgb, var(--av) 72%, #fff); --orb-hi: color-mix(in srgb, var(--av) 38%, #fff);
  --orb-3: color-mix(in srgb, var(--av) 78%, #000); --orb-rim: color-mix(in srgb, var(--av) 55%, #000);
  --orb-glow: color-mix(in srgb, var(--av) 38%, transparent);
  --active-text: color-mix(in srgb, var(--av) 72%, var(--ink)); --accent-text: color-mix(in srgb, var(--av) 72%, var(--ink));
  --active-soft: color-mix(in srgb, var(--av) 16%, var(--surface));
}
:root[data-av] body { background: radial-gradient(1100px 700px at 0% 0%, color-mix(in srgb, var(--av) 14%, transparent), transparent 60%),
  radial-gradient(900px 700px at 100% 100%, color-mix(in srgb, var(--av) 10%, transparent), transparent 60%), var(--bg); background-attachment: fixed; }
:root[data-av] .gate-h em.acc { color: color-mix(in srgb, var(--av) 70%, #fff); }

/* video bölümü: sitenin arka planı, kartları ve vurgu rengiyle */
.vm-box.has-list { background: radial-gradient(1100px 700px at 0% 0%, color-mix(in srgb, var(--active) 14%, transparent), transparent 60%),
  radial-gradient(900px 700px at 100% 100%, color-mix(in srgb, var(--active) 10%, transparent), transparent 60%), var(--bg); color: var(--ink); padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); gap: 16px 18px; }
.vm-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vm-ht { min-width: 0; flex: 1; }
.vm-h { margin: 2px 0 0; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 0%, var(--surface)); }
.vm-box.has-list .vm-list { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg); }
.vm-box.has-list .vm-lt { color: var(--ink-2); font-size: 12px; padding: 4px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.vm-box.has-list .vm-frame { border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px color-mix(in srgb, var(--active) 22%, transparent), var(--shadow-lg); }
.vm-item { border-radius: 12px; }
.vm-item[aria-current="true"] { background: var(--active-soft); box-shadow: inset 3px 0 0 var(--active); }
.vm-item[aria-current="true"] .vm-n { color: var(--active-text); opacity: 1; font-weight: 800; }
.vm-item img { border-radius: 8px; }
.vm-box.has-list .vm-main .btn { justify-self: start; }

.vm-timer { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); flex: none; }
.vm-timer.is-on { border-color: color-mix(in srgb, var(--active) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--active) 18%, transparent), var(--shadow-lg); }
.vm-clock { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 4.2ch; }
.vm-timer.is-on .vm-clock { color: var(--active-text); }
@media (max-width: 560px) { .vm-head { flex-wrap: wrap; } .vm-timer { order: 3; width: 100%; justify-content: space-between; } }

/* odak ekranı slaytları (boğa): 18 sn'de bir, 7 sn süren çok yumuşak geçiş */
.fm-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fm-slide { position: absolute; inset: -2%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.02);
  transition: opacity 7s cubic-bezier(.45, 0, .25, 1), transform 26s linear; will-change: opacity, transform; }
.fm-slide.on { opacity: 1; transform: scale(1.1); }
.fm-slide.still { transition: none; transform: none; }
.fm-slides-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(12, 8, 6, .38) 0%, rgba(12, 8, 6, .72) 75%), linear-gradient(to bottom, rgba(12, 8, 6, .35), rgba(12, 8, 6, .55)); }

/* odak ekranı düzeni: üstte ders, sağ üstte küre, ortası boş, seçenekler altta */
.focusmode .fm-center { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  grid-template-areas: "head orb" "gap gap" "sub sub" "steps steps" "cta cta"; justify-items: stretch; align-content: stretch; text-align: left; gap: 10px 16px; }
.focusmode .fm-head { grid-area: head; justify-items: start; align-self: start; max-width: none; }
.focusmode .fm-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.focusmode .fm-orbwrap { grid-area: orb; align-self: start; justify-self: end; zoom: .62; }
.focusmode .fm-sub { grid-area: sub; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.focusmode .fm-steps { grid-area: steps; }
.focusmode .fm-cta { grid-area: cta; }
.fm-slides-veil { background: linear-gradient(to bottom, rgba(12, 8, 6, .62) 0%, rgba(12, 8, 6, .12) 30%, rgba(12, 8, 6, .1) 60%, rgba(12, 8, 6, .7) 100%); }
@media (max-width: 640px) {
  .focusmode .fm-center { grid-template-columns: minmax(0, 1fr) auto; }
  .focusmode .fm-orbwrap { zoom: .42; }
  .focusmode .fm-title { font-size: 1.35rem; }
}

/* ana menüde aynı slaytlar arkada saydam; odak ekranında tam görünür */
.fm-slides.ambient { position: fixed; z-index: -1; opacity: .16; }
:root[data-theme="light"] .fm-slides.ambient, :root:not([data-theme]) .fm-slides.ambient { opacity: .13; }
.fm-slides-veil { background: linear-gradient(to bottom, rgba(12, 8, 6, .5) 0%, rgba(12, 8, 6, 0) 22%, rgba(12, 8, 6, 0) 66%, rgba(12, 8, 6, .62) 100%); }
/* git-gel yakınlaşma: fotoğraf ekrandayken karaktere doğru hafifçe yaklaşır, yenisi gelirken eskisi yavaşça uzaklaşarak söner */
.fm-slide { transform-origin: 38% 48%; transform: scale(1); transition: opacity 7s cubic-bezier(.45, 0, .25, 1), transform 7s cubic-bezier(.45, 0, .55, 1); }
.fm-slide.on { transform: scale(1.08); transition: opacity 7s cubic-bezier(.45, 0, .25, 1), transform var(--zoom-dur, 18s) cubic-bezier(.4, 0, .6, 1); }
.fm-slides.is-mola .fm-slide.on { --zoom-dur: 40s; }
.fm-slide.still, .fm-slide.still.on { transition: opacity 1s; transform: none; }
.fm-orbwrap:focus-visible { outline: 3px solid var(--active); outline-offset: 6px; border-radius: 50%; }
.fm-orbwrap:hover .orb { filter: brightness(1.06); }
.fm-slides-wrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.focusmode.fm-reveal { animation: fm-reveal 1.25s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes fm-reveal { from { clip-path: circle(var(--r0) at var(--rx) var(--ry)); } to { clip-path: circle(150vmax at var(--rx) var(--ry)); } }

/* odak ekranı kapanış performansı: ayrı katman, pahalı filtre yok */
/* not: will-change: clip-path Retina ekranda daireyi yarı koordinata çiziyordu (Chrome), kullanılmıyor */
.fm-slides-wrap { will-change: opacity, transform; }
.fm-slide { backface-visibility: hidden; }

/* kasmayı azaltmak için: yalnız görünen slayt ayrı katmanda */
.fm-slide { will-change: auto; }
.fm-slide.on { will-change: opacity, transform; }

.meter { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; transition: width .4s; }

.gbtn { justify-self: start; gap: 10px; background: #fff; color: #1f1f1f; border-color: #dadce0; font-weight: 600; }
.gbtn:hover { background: #f7f8f8; color: #1f1f1f; }
.or-line { display: flex; align-items: center; gap: 10px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* giriş sonrası kurulum */
.onb .onb-in { max-width: 760px; gap: 16px; }
.onb-steps { display: flex; gap: 6px; width: min(320px, 100%); }
.onb-steps span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); }
.onb-steps span.on { background: var(--active, #F26A1B); }
.onb .eyebrow { color: #B8AFA1; }
.onb-form { display: grid; gap: 16px; width: 100%; text-align: left; }
.onb .field label, .onb .lbl { color: #E9E1D4; }
.onb .inp { background: rgba(255, 255, 255, .06); color: #F6F1E8; border-color: rgba(255, 255, 255, .18); }
.onb-alan { display: flex; gap: 10px; flex-wrap: wrap; }
.onb-alan-b { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #F6F1E8; font: inherit; cursor: pointer; }
.onb-alan-b img { border-radius: 10px; }
.onb-alan-b[aria-pressed="true"] { border-color: var(--active, #F26A1B); background: color-mix(in srgb, var(--active, #F26A1B) 18%, transparent); }
.onb-hoca { display: grid; gap: 12px; width: 100%; text-align: left; max-height: 52vh; overflow-y: auto; padding-right: 4px; }
.onb-h-row { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.onb-h-s { font-weight: 800; color: #F6F1E8; }
.onb .pill { color: #E9E1D4; border-color: rgba(255, 255, 255, .2); }
.onb .pill[aria-checked="true"] { background: var(--active, #F26A1B); border-color: var(--active, #F26A1B); color: #fff; }
.onb .seg { background: rgba(255, 255, 255, .08); }

.fb-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: .78rem; font-weight: 700; color: var(--accent-text); cursor: pointer; }

/* sıralama */
.lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 40px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.lb-row.is-me { border-color: var(--active); box-shadow: 0 0 0 3px var(--active-soft); }
.lb-row.top1 { background: color-mix(in srgb, #E9B53A 12%, var(--surface)); }
.lb-rank { font-weight: 800; font-size: 1.1rem; text-align: center; }
.lb-ph { width: 34px; height: 41px; border-radius: 50%; background: var(--surface-3); }
.lb-name, .lb-val { display: grid; gap: 2px; min-width: 0; }
.lb-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-val { text-align: right; }
.lb-me { padding: 8px 12px; border-radius: 12px; background: var(--active-soft); }

.lb-row { grid-template-columns: 40px auto minmax(0, 1fr) auto; }
.lb-stats { display: grid; grid-template-columns: repeat(4, minmax(64px, auto)); gap: 12px; text-align: right; }
.lb-stats > span { display: grid; gap: 1px; opacity: .72; }
.lb-stats > span.on { opacity: 1; }
.lb-stats > span.on b { color: var(--active-text); }
.lb-stats i { font-style: normal; font-size: .7rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 720px) {
  .lb-row { grid-template-columns: 30px auto minmax(0, 1fr); }
  .lb-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); text-align: left; padding-left: 42px; }
}

.vm-ext { display: grid; place-items: center; }
.vm-ext img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(.45); transform: scale(1.06); }
.vm-ext-in { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; color: #fff; max-width: 420px; padding: 20px; }
.vm-ext-in b { font-size: 1.15rem; }
.vm-yt { font-style: normal; color: var(--ink-2); font-weight: 600; }

.menu-float { z-index: 130; max-height: calc(100dvh - 16px); overflow-y: auto; color: var(--ink); }

.yt-sub { background: #FF0033; border-color: #FF0033; color: #fff; }
.yt-sub:hover { color: #fff; filter: brightness(1.05); }
.vm-act .grow { flex: 1; }

/* video yorumları */
.vm-com { display: grid; gap: 8px; min-height: 0; }
.vm-com-h { background: none; border: 0; padding: 0; font: 800 .95rem "Inter Tight", sans-serif; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.vm-com-l { display: grid; gap: 12px; max-height: 34vh; overflow-y: auto; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.vm-c { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.vm-c img, .vm-c-ph { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); }
.vm-c p { margin: 2px 0; font-size: .86rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.vm-box.has-list .vm-main { grid-template-rows: minmax(0, 1fr) auto auto auto; overflow-y: auto; }

/* video bölümü: yeni düzen */
.vm-box.has-list { grid-template-columns: 340px minmax(0, 1fr); }
.vm-box.has-list .vm-main { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; min-height: 0; padding-right: 4px; }
.vm-box.has-list .vm-frame { flex: none; aspect-ratio: 16 / 9; height: auto; width: 100%; max-height: calc(100dvh - 300px); max-width: calc((100dvh - 300px) * 16 / 9); margin: 0 auto; min-height: 200px; }
.vm-info { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.vm-info-t { display: grid; gap: 2px; min-width: 0; flex: 1 1 280px; }
.vm-info-t b { font: 700 1.02rem/1.3 "Inter Tight", sans-serif; letter-spacing: -.01em; }
.vm-nav { display: flex; gap: 6px; flex: none; }
.vm-chan { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.vm-chan-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem "Inter Tight", sans-serif; color: #fff; background: linear-gradient(135deg, var(--orb-1, #FF8B3E), var(--orb-3, #D9520A)); flex: none; }
.vm-chan-n { display: grid; min-width: 0; flex: 1; }
.vm-chan-n > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-sub { border-radius: 99px; padding-inline: 14px; }
.vm-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: .9rem; user-select: none; align-self: flex-start; }
.vm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vm-switch .sw { width: 40px; height: 24px; border-radius: 99px; background: var(--surface-3); position: relative; transition: background .2s; flex: none; }
.vm-switch .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.vm-switch input:checked + .sw { background: var(--active); }
.vm-switch input:checked + .sw::after { transform: translateX(16px); }
.vm-switch input:focus-visible + .sw { outline: 3px solid var(--active); outline-offset: 2px; }
.vm-box.has-list .vm-lt { display: grid; gap: 6px; padding: 6px 6px 12px; }
.vm-box.has-list .vm-lt b { font: 700 .92rem/1.3 "Inter Tight", sans-serif; color: var(--ink); }
.vm-prog { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.vm-prog i { display: block; height: 100%; background: var(--active); border-radius: inherit; transition: width .4s; }
.vm-com-l { max-height: none; }
@media (max-width: 820px) {
  .vm-box.has-list { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); overflow-y: auto; }
  .vm-box.has-list .vm-main { grid-row: 2; overflow: visible; }
  .vm-box.has-list .vm-frame { max-height: none; max-width: none; }
  .vm-box.has-list .vm-list { grid-row: 3; max-height: none; }
}

img.vm-chan-av { object-fit: cover; background: var(--surface-3); }

/* YouTube'daki gibi abone ol düğmesi: siyah hap, beyaz yazı (koyu temada tersi) */
.yt-sub, .btn.sm.yt-sub { background: #0F0F0F; border: 0; color: #fff; border-radius: 999px; padding: 0 16px; min-height: 36px; height: 36px; font: 500 .9rem/36px Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; box-shadow: none; }
.yt-sub:hover { background: #272727; color: #fff; filter: none; }
:root[data-theme="dark"] .yt-sub { background: #F1F1F1; color: #0F0F0F; }
:root[data-theme="dark"] .yt-sub:hover { background: #D9D9D9; color: #0F0F0F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yt-sub { background: #F1F1F1; color: #0F0F0F; } :root:not([data-theme="light"]) .yt-sub:hover { background: #D9D9D9; color: #0F0F0F; } }

.yt-sub, .yt-sub:hover, .yt-sub:visited, .yt-sub:focus { text-decoration: none; }

/* yorumlar: daha geniş ve okunur */
.vm-com { gap: 12px; }
.vm-com-h { font-size: 1.1rem; }
.vm-com-l { gap: 18px; padding: 18px 20px; min-height: min(60vh, 520px); max-height: none; border-radius: 18px; }
.vm-c { grid-template-columns: 40px 1fr; gap: 14px; }
.vm-c img, .vm-c-ph { width: 40px; height: 40px; }
.vm-c .xs { font-size: .82rem; }
.vm-c p { font-size: .98rem; line-height: 1.5; margin: 4px 0 6px; }

/* yorum yaz bağlantısı altı çizgisiz */
a.btn, a.btn:hover, .vm-com-yaz, .vm-com-yaz:hover { text-decoration: none; }
/* her tuşa animasyon: üzerine gelince hafif yüksel, basınca küçül */
@media (prefers-reduced-motion: no-preference) {
  button:not([disabled]), .btn:not([disabled]), [role="button"] { transition: transform 200ms cubic-bezier(.34,1.56,.64,1), box-shadow 200ms ease, background-color 160ms ease, border-color 160ms ease, filter 160ms ease, opacity 160ms ease; }
  .btn:hover:not([disabled]), .pill:hover, .subjchip:hover, .daychip:hover, .seg button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(24, 38, 64, .14); }
  button:active:not([disabled]), .btn:active:not([disabled]), [role="button"]:active { transform: scale(.94); transition-duration: 90ms; }
}

/* bildirim zili: sağ üst köşe */
.bell-fix { position: fixed; top: 14px; right: 18px; z-index: 60; }
.bell-slot-m { width: 44px; flex: none; }
@media (max-width: 899px) { .bell-fix { top: 10px; right: 12px; } }
.bell { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px rgba(24, 38, 64, .1); }
.bell:hover { background: var(--surface-2); }
.bell:hover svg { animation: bell-ring .6s ease; }
@keyframes bell-ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-4deg); } }
.bell-n { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.bell-bg { position: fixed; inset: 0; z-index: 140; }
.bell-pop { position: fixed; z-index: 141; width: min(360px, calc(100vw - 24px)); max-height: min(520px, 75vh); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(10, 14, 30, .25); overflow: hidden; transform-origin: top right; }
.bell-h { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.bell-list { overflow-y: auto; flex: 1; }
.bell-it { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.bell-it:hover { background: var(--bg-2); transform: none !important; box-shadow: none !important; }
.bell-it.new { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.bell-it:not(.new) .bell-tx b { font-weight: 600; color: var(--ink-2, inherit); }
.bell-ic { font-size: 18px; line-height: 1.3; }
.bell-tx { display: grid; gap: 2px; flex: 1; font-size: .88rem; }
.bell-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex: none; }
.bell-f { padding: 10px 12px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.bell-f .btn { width: 100%; }
@media (min-width: 900px) { .pagehead { padding-right: 52px; } }
.bell-fix { display: flex; align-items: center; gap: 8px; }
.bell-fix > .btn { box-shadow: 0 4px 14px rgba(24, 38, 64, .1); }
@media (min-width: 900px) { .pagehead { padding-right: 230px; } }

/* site rehberi */
.tour { position: fixed; inset: 0; z-index: 200; }
.tour-hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(8, 10, 20, .68), 0 0 0 3px var(--accent); transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; pointer-events: none; }
.tour-box { position: fixed; display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.tour-t { font-size: 1.02rem; }
.tour { pointer-events: none; }
.tour-box { pointer-events: auto; }
.paste-btn { margin-top: 6px; width: 100%; justify-content: center; border: 1px dashed var(--line) !important; }
