/* ==========================================================================
   BiyografTam — "İz" tasarım sistemi
   Kâğıt · Mürekkep · Kına · Gece · Işık
   Hazır kütüphane yok; tüm bileşenler bu dosyada tanımlıdır.
   ========================================================================== */

:root {
  /* Zemin & yazı */
  --paper: #f3f1ec;
  --paper-2: #e9e6de;
  --card: #fbfaf7;
  --ink: #121318;
  --ink-2: #3a3c44;
  --ink-3: #6c6e77;
  --rule: #dcd8ce;
  --rule-2: #c2bdb1;

  /* Marka */
  --kina: #e0482a;          /* imza rengi: yüzey ve grafik */
  --kina-ink: #b3331a;      /* metin içinde kına */
  --gece: #16193a;          /* koyu bloklar */
  --gece-2: #232757;
  --on-gece: #f1efe9;
  --isik: #d8f36a;          /* işaretleyici */
  --mark: #d8f36a;
  --cini: #3a55e6;

  /* Mühür (doğrulama) renkleri */
  --s-ok: #0f8a5f;
  --s-pri: #3a55e6;
  --s-one: #c48600;
  --s-diff: #e0482a;
  --s-none: #8a8c94;

  /* Dönem renkleri */
  --e-erken: #e4e0d6;
  --e-egitim: #cdd6ff;
  --e-ilk: #e9f7ae;
  --e-eser: #ffcbbb;
  --e-ogretmen: #ddd7f5;
  --e-miras: #d3cec3;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --read: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --lift: 0 1px 0 rgba(18, 19, 24, .04), 0 12px 32px -18px rgba(18, 19, 24, .28);
  --lift-2: 0 30px 80px -30px rgba(18, 19, 24, .45), 0 2px 8px rgba(18, 19, 24, .06);
  --top-h: 64px;
  --gutter: 16px;
  --tabbar-h: 0px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0f14; --paper-2: #171922; --card: #14161d; --ink: #f1efe9; --ink-2: #c9c7c1; --ink-3: #8f9098;
    --rule: #262935; --rule-2: #3a3e4d;
    --kina: #ff6444; --kina-ink: #ff8a6e; --gece: #1a1e45; --gece-2: #252a5c; --on-gece: #f1efe9;
    --mark: rgba(216, 243, 106, .26); --cini: #7d93ff;
    --s-ok: #3fd29a; --s-pri: #8ea1ff; --s-one: #f2b83a; --s-diff: #ff6444; --s-none: #858791;
    --e-erken: #22242e; --e-egitim: #29315f; --e-ilk: #37421a; --e-eser: #5a2a1f; --e-ogretmen: #37325e; --e-miras: #36342f;
    --lift: 0 1px 0 rgba(0,0,0,.3), 0 12px 32px -18px rgba(0,0,0,.8);
    --lift-2: 0 30px 80px -30px rgba(0,0,0,.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e0f14; --paper-2: #171922; --card: #14161d; --ink: #f1efe9; --ink-2: #c9c7c1; --ink-3: #8f9098;
  --rule: #262935; --rule-2: #3a3e4d;
  --kina: #ff6444; --kina-ink: #ff8a6e; --gece: #1a1e45; --gece-2: #252a5c; --on-gece: #f1efe9;
  --mark: rgba(216, 243, 106, .26); --cini: #7d93ff;
  --s-ok: #3fd29a; --s-pri: #8ea1ff; --s-one: #f2b83a; --s-diff: #ff6444; --s-none: #858791;
  --e-erken: #22242e; --e-egitim: #29315f; --e-ilk: #37421a; --e-eser: #5a2a1f; --e-ogretmen: #37325e; --e-miras: #36342f;
  --lift: 0 1px 0 rgba(0,0,0,.3), 0 12px 32px -18px rgba(0,0,0,.8);
  --lift-2: 0 30px 80px -30px rgba(0,0,0,.9);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-optical-sizing: auto; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--tabbar-h);
}
@media (max-width: 899px) { body.has-tabbar { --tabbar-h: calc(68px + env(safe-area-inset-bottom)); } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); letter-spacing: -.025em; line-height: 1.05; font-weight: 650; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
:focus-visible { outline: 2px solid var(--kina); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--isik); color: #121318; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 36px; } }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.kicker::before { content: ""; width: 18px; height: 1.5px; background: var(--kina); }
.kicker.plain::before { display: none; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; }
.dim { color: var(--ink-3); }
.hl { background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding: 0 .06em; }
.serif { font-family: var(--read); }
.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-s { width: 16px; height: 16px; }

/* ---------- Düğmeler ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border-radius: 14px; border: 0; background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-kina { --bg: var(--kina); --fg: #fff; }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-soft { --bg: var(--paper-2); --fg: var(--ink); }
.btn-s { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.linkish { background: none; border: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.linkish:hover { color: var(--kina-ink); text-decoration-color: currentColor; }
.round {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 0;
  background: var(--paper-2); color: var(--ink); transition: background .15s;
}
.round:hover { background: var(--rule); }

/* ---------- Mühür sistemi ---------- */
.s-ok { --c: var(--s-ok); } .s-pri { --c: var(--s-pri); } .s-one { --c: var(--s-one); } .s-diff { --c: var(--s-diff); } .s-none { --c: var(--s-none); }
.g { position: relative; display: inline-block; width: 15px; height: 12px; flex-shrink: 0; }
.g::before, .g::after { content: ""; position: absolute; box-sizing: border-box; }
.s-ok .g::before, .s-ok .g::after { top: 1px; width: 10px; height: 10px; border-radius: 50%; border: 1.7px solid var(--c); }
.s-ok .g::before { left: 0; } .s-ok .g::after { left: 5px; }
.s-pri .g::before { left: 3px; top: 2px; width: 8px; height: 8px; background: var(--c); transform: rotate(45deg); border-radius: 1.5px; }
.s-one .g::before { left: 2px; top: 1px; width: 10px; height: 10px; border-radius: 50%; border: 1.7px solid var(--c); }
.s-diff .g::before { left: 2px; top: 1px; width: 10px; height: 10px; border-radius: 50%; border: 1.7px solid var(--c); background: linear-gradient(90deg, var(--c) 50%, transparent 50%); }
.s-none .g::before { left: 2px; top: 1px; width: 10px; height: 10px; border-radius: 50%; border: 1.7px dashed var(--c); }
.seal { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; letter-spacing: .01em; }
.seal-xl .g { transform: scale(3); margin: 18px 30px 18px 18px; }

/* ---------- Üst bar ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--top-h); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.wordmark svg { width: 34px; height: 34px; }
.wordmark span { font-weight: 750; font-size: 21px; letter-spacing: -.045em; }
.wordmark span b { color: var(--kina); font-weight: 750; }
.navpill { display: none; margin: 0 auto; padding: 4px; background: var(--paper-2); border-radius: 14px; gap: 2px; }
.navpill a { text-decoration: none; padding: 8px 14px; border-radius: 11px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.navpill a:hover { color: var(--ink); }
.navpill a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--lift); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.finder-trigger {
  display: none; align-items: center; gap: 10px; height: 42px; min-width: 240px; padding: 0 8px 0 14px;
  border-radius: 13px; border: 1.5px solid var(--rule); background: var(--card); color: var(--ink-3); font-size: 14.5px; text-align: left;
}
.finder-trigger:hover { border-color: var(--rule-2); }
.finder-trigger kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 3px 7px; border-radius: 7px; background: var(--paper-2); color: var(--ink-2); }
@media (min-width: 900px) { .navpill, .finder-trigger { display: inline-flex; } .top .only-m { display: none; } }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}

/* ---------- Mobil sekme çubuğu ---------- */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr); height: 58px; padding: 4px;
  background: color-mix(in srgb, var(--gece) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 20px; box-shadow: var(--lift-2);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
  color: color-mix(in srgb, var(--on-gece) 62%, transparent); text-decoration: none; font-size: 11px; font-weight: 550; border-radius: 16px;
}
.tabbar .ico { width: 21px; height: 21px; }
.tabbar [aria-current="page"] { color: var(--on-gece); background: rgba(255,255,255,.09); }
.tabbar [aria-current="page"] .ico { color: var(--isik); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Bulucu (arama perdesi) ---------- */
.finder { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.finder.open { visibility: visible; }
.finder-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--gece) 55%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.finder.open .finder-scrim { opacity: 1; }
.finder-panel {
  position: absolute; left: 50%; top: 9vh; width: min(720px, calc(100% - 32px)); max-height: 78vh;
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift-2); overflow: hidden;
  transform: translate(-50%, 16px) scale(.98); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.finder.open .finder-panel { transform: translate(-50%, 0) scale(1); opacity: 1; }
@media (max-width: 719px) {
  .finder-panel { inset: 0; top: 0; left: 0; width: 100%; max-height: none; border-radius: 0; transform: translateY(24px); }
  .finder.open .finder-panel { transform: none; }
}
.finder-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.finder-head .ico { color: var(--kina); width: 24px; height: 24px; }
.finder-head input { flex: 1; min-width: 0; border: 0; background: none; font-size: 22px; font-weight: 550; letter-spacing: -.02em; outline: none; }
.finder-head input::placeholder { color: var(--ink-3); font-weight: 450; }
.finder-lenses { display: flex; gap: 6px; padding: 12px 18px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule); }
.finder-lenses::-webkit-scrollbar { display: none; }
.lens-chip { flex-shrink: 0; border: 1.5px solid var(--rule); background: none; padding: 5px 12px; border-radius: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.lens-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.finder-body { overflow-y: auto; padding: 8px 10px 14px; flex: 1; }
.f-group { padding: 10px 8px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.f-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); position: relative; }
.f-item[aria-selected="true"] { background: var(--paper-2); }
.f-item[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--kina); }
.f-item .name { font-weight: 600; }
.f-item .meta { font-size: 13px; color: var(--ink-3); }
.f-item .seal { margin-left: auto; }
.f-empty { padding: 28px 14px; text-align: center; color: var(--ink-3); }
.f-empty b { color: var(--ink); }
.finder-foot { display: none; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.finder-foot kbd { font-family: inherit; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }
@media (min-width: 720px) { .finder-foot { display: flex; } }

/* ---------- Monogram ---------- */
.mg {
  --mg: var(--gece); --mg-fg: var(--on-gece);
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--mg); color: var(--mg-fg); font-weight: 700; font-size: 15px; letter-spacing: -.02em;
}
.mg.kina { --mg: var(--kina); --mg-fg: #fff; }
.mg.isik { --mg: var(--isik); --mg-fg: #121318; }
.mg.cini { --mg: var(--cini); --mg-fg: #fff; }
.mg.paper { --mg: var(--paper-2); --mg-fg: var(--ink); }
.mg-s { width: 34px; height: 34px; font-size: 12.5px; }
.mg-l { width: 60px; height: 60px; font-size: 20px; }
.stack { display: flex; }
.stack .mg { box-shadow: 0 0 0 3px var(--gece); }
.stack .mg + .mg { margin-left: -10px; }

/* ---------- Yüzeyler ---------- */
.panel { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); }
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }
.sec-head { display: grid; gap: 14px; margin-bottom: 32px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 44px; } }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 650; letter-spacing: -.04em; line-height: .98; margin-top: 12px; }
.sec-head p { color: var(--ink-3); max-width: 420px; margin: 0; }

/* ==========================================================================
   ANA SAYFA
   ========================================================================== */
.hero { position: relative; padding: 40px 0 0; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 88px 0 0; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero h1 {
  font-size: clamp(54px, 12.5vw, 168px); font-weight: 700; letter-spacing: -.055em; line-height: .88;
  margin: 22px 0 28px; max-width: 12ch;
}
.hero h1 .it { font-family: var(--read); font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.hero h1 .dot { color: var(--kina); }
.hero-row { display: grid; gap: 28px; }
@media (min-width: 900px) { .hero-row { grid-template-columns: 1fr 1.05fr; align-items: end; gap: 64px; } }
.hero-lead { font-family: var(--read); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--ink-2); margin: 0; max-width: 520px; }
.bigfind {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 0 10px 0 22px; text-align: left;
  border: 0; border-radius: 20px; background: var(--card); box-shadow: var(--lift-2), inset 0 0 0 1.5px var(--rule);
  transition: box-shadow .2s, transform .2s;
}
.bigfind:hover { transform: translateY(-2px); box-shadow: var(--lift-2), inset 0 0 0 1.5px var(--ink); }
.bigfind .ico { color: var(--kina); width: 24px; height: 24px; }
.bigfind .ph { flex: 1; min-width: 0; font-size: clamp(17px, 2vw, 20px); color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bigfind .ph b { color: var(--ink); font-weight: 600; display: inline-block; transition: opacity .3s, transform .3s; }
.bigfind .ph b.out { opacity: 0; transform: translateY(-8px); }
.bigfind .go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--ink); color: var(--paper); flex-shrink: 0; }
.try { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.try a { color: var(--ink-2); text-decoration: none; border-bottom: 1.5px solid var(--rule-2); }
.try a:hover { color: var(--kina-ink); border-color: var(--kina); }

/* İz şeridi (yatay hayat çizgisi) */
.strip { margin-top: 64px; padding: 28px 0 36px; background: var(--gece); color: var(--on-gece); position: relative; }
@media (min-width: 900px) { .strip { margin-top: 96px; padding: 40px 0 52px; } }
.strip-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.strip-head .kicker { color: color-mix(in srgb, var(--on-gece) 65%, transparent); }
.strip-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 10px; letter-spacing: -.03em; }
.strip-head h2 em { font-family: var(--read); font-weight: 400; color: var(--isik); }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 42px; height: 42px; border-radius: 13px; border: 1.5px solid rgba(255,255,255,.18); background: none; color: var(--on-gece); display: grid; place-items: center; }
.strip-nav button:hover { background: rgba(255,255,255,.08); }
.strip-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: var(--gutter); scroll-padding-left: var(--gutter); }
.strip-track::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) { .strip-track { padding-left: calc((100vw - 1240px) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - 1240px) / 2 + var(--gutter)); } }
.strip-line { list-style: none; margin: 0; padding: 0 var(--gutter) 0 0; display: flex; width: max-content; position: relative; }
.strip-line::before { content: ""; position: absolute; left: 0; right: 0; top: 58px; height: 1.5px; background: rgba(255,255,255,.22); }
.node { width: 250px; padding-right: 26px; scroll-snap-align: start; position: relative; }
.node .yr { font-size: 40px; font-weight: 700; letter-spacing: -.05em; line-height: 1; height: 44px; }
.node .yr small { font-size: 14px; font-family: var(--mono); font-weight: 400; letter-spacing: 0; opacity: .6; margin-left: 4px; }
.node .pt { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--gece); border: 2px solid var(--on-gece); margin: 8px 0 18px; position: relative; z-index: 1; }
.node.big .pt { background: var(--isik); border-color: var(--isik); box-shadow: 0 0 0 6px rgba(216, 243, 106, .18); }
.node h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.node p { font-size: 14px; color: color-mix(in srgb, var(--on-gece) 68%, transparent); margin: 8px 0 12px; }
.node .seal { color: color-mix(in srgb, var(--on-gece) 80%, transparent); }
.node.end { width: 280px; display: flex; flex-direction: column; justify-content: flex-start; }
.node.end a { color: var(--gece); background: var(--isik); text-decoration: none; font-weight: 650; padding: 14px 18px; border-radius: 14px; margin-top: 58px; display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; }

/* Mühür bloğu */
.seals { display: grid; gap: 2px; background: var(--rule); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .seals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .seals { grid-template-columns: repeat(5, 1fr); } }
.seal-card { background: var(--card); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 210px; }
.seal-card .g { transform: scale(3.2); transform-origin: left center; margin: 14px 0 26px 2px; }
.seal-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.seal-card p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.seal-card .ex { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }

/* Bento: keşif masası */
.bento { display: grid; gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-dosya { grid-column: span 2; } }
@media (min-width: 1060px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .b-dosya { grid-column: span 7; grid-row: span 2; }
  .b-alan { grid-column: span 5; grid-row: span 2; }
  .b-donem { grid-column: span 12; }
  .b-path { grid-column: span 7; }
  .b-feed { grid-column: span 5; }
}
.tile { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--lift); position: relative; overflow: hidden; min-width: 0; }
@media (min-width: 900px) { .tile { padding: 30px; } }
.tile h3 { font-size: 24px; letter-spacing: -.03em; }
.b-dosya { background: var(--kina); color: #fff; display: flex; flex-direction: column; min-height: 420px; text-decoration: none; }
.b-dosya .kicker { color: rgba(255,255,255,.82); }
.b-dosya .kicker::before { background: #fff; }
.b-dosya h3 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.05em; line-height: .95; margin: 18px 0 16px; max-width: 12ch; }
.b-dosya p { font-family: var(--read); font-size: 18.5px; color: rgba(255,255,255,.9); max-width: 440px; }
.b-dosya .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.b-dosya .stack .mg { box-shadow: 0 0 0 3px var(--kina); }
.b-dosya .open { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; background: #fff; color: #121318; padding: 12px 16px; border-radius: 13px; }
.b-dosya .deco { position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; opacity: .22; pointer-events: none; }
.b-dosya:hover .open .arrow { transform: translateX(3px); }
.alan-list { list-style: none; margin: 18px 0 0; padding: 0; }
.alan-list a { display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.alan-list li:last-child a { border-bottom: 1px solid var(--rule); }
.alan-list .nm { font-size: 21px; font-weight: 600; letter-spacing: -.03em; transition: transform .2s; }
.alan-list .ct { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.alan-list .ico { align-self: center; color: var(--ink-3); transition: transform .2s, color .2s; }
.alan-list a:hover .nm { transform: translateX(4px); }
.alan-list a:hover .ico { color: var(--kina); transform: translateX(3px); }
.decades { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 18px; padding-bottom: 4px; }
.decades::-webkit-scrollbar { display: none; }
.decade { flex: 1 0 auto; min-width: 88px; padding: 14px 14px 12px; border-radius: 14px; border: 1.5px solid var(--rule); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, background .15s; }
.decade:hover { border-color: var(--ink); }
.decade b { font-size: 22px; letter-spacing: -.04em; }
.decade .bars { display: flex; align-items: end; gap: 2px; height: 26px; }
.decade .bars i { width: 5px; background: var(--rule-2); border-radius: 2px; }
.decade.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.decade.on .bars i { background: var(--isik); }
.chain { display: flex; flex-direction: column; margin-top: 20px; }
@media (min-width: 720px) { .chain { flex-direction: row; align-items: center; } }
.chain a { flex: 1; min-width: 0; text-decoration: none; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); transition: background .15s; }
.chain a:hover { background: var(--rule); }
.chain .t { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.chain .n { display: block; font-weight: 650; letter-spacing: -.02em; margin-top: 2px; }
.chain .v { font-family: var(--read); font-style: italic; color: var(--kina-ink); font-size: 15px; padding: 6px 12px; text-align: center; flex-shrink: 0; }
@media (min-width: 720px) { .chain .v { padding: 0 10px; } }
.feed { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.feed li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.feed .what { font-size: 14.5px; line-height: 1.45; }
.feed .what b { font-weight: 650; }
.feed .when { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
del { color: var(--ink-3); text-decoration-color: var(--kina); text-decoration-thickness: 1.5px; }
ins { text-decoration: none; background: linear-gradient(transparent 55%, var(--mark) 55%); }

/* Manifesto */
.manifesto { background: var(--gece); color: var(--on-gece); border-radius: 28px; padding: 36px 22px; margin: 0 0 64px; }
@media (min-width: 900px) { .manifesto { padding: 72px 64px; margin-bottom: 104px; } }
.manifesto .kicker { color: color-mix(in srgb, var(--on-gece) 65%, transparent); }
.manifesto blockquote { margin: 18px 0 40px; font-size: clamp(32px, 5.6vw, 68px); font-weight: 650; letter-spacing: -.045em; line-height: 1; max-width: 16ch; }
.manifesto blockquote em { font-family: var(--read); font-weight: 400; font-style: italic; color: var(--isik); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .rules { grid-template-columns: repeat(4, 1fr); } }
.rules li { background: var(--gece); padding: 22px 20px 24px; }
.rules .no { font-family: var(--mono); font-size: 12px; color: var(--isik); }
.rules h3 { font-size: 19px; margin: 12px 0 8px; letter-spacing: -.02em; }
.rules p { margin: 0; font-size: 14.5px; color: color-mix(in srgb, var(--on-gece) 66%, transparent); }

/* Alt bilgi */
.foot { border-top: 1px solid var(--rule); padding: 44px 0 0; overflow: hidden; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid .about { grid-column: 1 / -1; color: var(--ink-3); max-width: 360px; font-size: 14.5px; }
@media (min-width: 900px) { .foot-grid .about { grid-column: auto; } }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-grid a:hover { color: var(--kina-ink); }
.giant { font-size: clamp(64px, 19vw, 260px); font-weight: 800; letter-spacing: -.07em; line-height: .78; color: var(--paper-2); margin: 48px 0 -0.08em; white-space: nowrap; user-select: none; }
.giant b { color: color-mix(in srgb, var(--kina) 22%, var(--paper-2)); font-weight: 800; }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* Prototip şeridi */
.proto { background: var(--isik); color: #121318; font-family: var(--mono); font-size: 11.5px; text-align: center; padding: 7px var(--gutter); letter-spacing: .01em; }

/* ==========================================================================
   PROFİL
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 0; margin: 0; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--kina-ink); }
.crumbs li + li::before { content: "→"; margin-right: 8px; color: var(--rule-2); }

.p-hero { padding: 22px 0 0; }
.p-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .p-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .75fr); gap: 56px; align-items: start; } }
.p-role { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--kina-ink); }
.p-name { font-size: clamp(60px, 13vw, 148px); font-weight: 750; letter-spacing: -.06em; line-height: .86; margin: 14px 0 18px; }
.p-aka { color: var(--ink-3); font-size: 15px; }
.p-aka b { color: var(--ink); font-weight: 600; }
.p-sum { font-family: var(--read); font-size: clamp(20px, 2.4vw, 25px); line-height: 1.45; margin: 22px 0 26px; max-width: 34ch; }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.idcard { position: relative; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 22px 22px 18px; }
.idcard::before, .idcard::after { content: ""; position: absolute; top: 118px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.idcard::before { left: -11px; } .idcard::after { right: -11px; }
.id-top { display: flex; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1.5px dashed var(--rule-2); margin-bottom: 8px; min-height: 108px; }
.id-top .mg { width: 76px; height: 76px; font-size: 27px; box-shadow: 0 0 0 5px var(--card), 0 0 0 6.5px var(--rule-2); }
.id-top .no { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.id-top .ttl { font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.id-top .rights { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.35; }
.id-rows { margin: 0; }
.id-rows > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.id-rows > div:last-child { border-bottom: 0; }
.id-rows dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.id-rows dd { margin: 0; font-weight: 600; font-size: 15.5px; }
.id-rows dd small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.id-check { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 13px; background: var(--paper-2); font-size: 13.5px; }
.id-check b { font-weight: 650; }

/* Hayat şeridi */
.lifebar { margin: 44px 0 0; }
.lb-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.lb-head .kicker { color: var(--ink-2); }
@media (max-width: 719px) { .lb-head .mono { display: none; } }
.lb-marks { position: relative; height: 26px; }
.lb-mark { position: absolute; bottom: 4px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--kina-ink); white-space: nowrap; }
.lb-mark em { font-style: normal; color: var(--ink-3); }
@media (max-width: 719px) { .lb-mark em { display: none; } }
.lb-mark::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 10px; background: var(--kina); }
.lb-track { display: flex; height: 64px; border-radius: 16px; overflow: hidden; gap: 2px; }
.lb-seg {
  position: relative; border: 0; padding: 0 10px; text-align: left; background: var(--seg); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; min-width: 6px; transition: filter .15s, transform .15s;
}
.lb-seg:hover, .lb-seg[aria-pressed="true"] { filter: saturate(1.4) brightness(.96); }
.lb-seg[aria-pressed="true"] { box-shadow: inset 0 -4px 0 var(--ink); }
.lb-seg span { font-size: 13px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-seg small { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.lb-seg.hatch { background: repeating-linear-gradient(135deg, var(--e-erken) 0 6px, transparent 6px 11px), var(--paper-2); }
.lb-axis { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
@media (max-width: 719px) { .lb-seg span, .lb-seg small { display: none; } .lb-track { height: 44px; border-radius: 12px; } .lb-legend { display: flex; } }
.lb-legend { display: none; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.lb-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Profil gövdesi */
.p-body { display: grid; gap: 0; padding-top: 56px; padding-bottom: 80px; }
@media (min-width: 1180px) { .p-body { grid-template-columns: 196px minmax(0, 680px) minmax(0, 1fr); gap: 56px; padding-top: 80px; } }
.rail { display: none; }
@media (min-width: 1180px) {
  .rail { display: block; position: sticky; top: calc(var(--top-h) + 28px); align-self: start; }
}
.rail ol { list-style: none; margin: 0; padding: 0 0 0 16px; position: relative; }
.rail ol::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--rule); border-radius: 2px; }
.rail ol::after { content: ""; position: absolute; left: 0; top: 6px; width: 2px; height: calc((100% - 12px) * var(--p, 0)); background: var(--kina); border-radius: 2px; transition: height .1s linear; }
.rail a { display: flex; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--ink-3); font-size: 14px; transition: color .15s; }
.rail a span { font-family: var(--mono); font-size: 11px; padding-top: 3px; }
.rail a:hover { color: var(--ink); }
.rail a.on { color: var(--ink); font-weight: 650; }
.rail a.on span { color: var(--kina-ink); }
.rail .kicker { margin-bottom: 14px; }
.rail-legend { margin-top: 28px; display: grid; gap: 9px; }

/* Mobil mini bar */
.minibar {
  position: fixed; left: 0; right: 0; top: var(--top-h); z-index: 45; transform: translateY(calc(-100% - var(--top-h) - 4px)); transition: transform .25s;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule);
}
.minibar.show { transform: none; }
.minibar .wrap { display: flex; align-items: center; gap: 12px; height: 54px; }
.minibar .who { font-weight: 650; letter-spacing: -.02em; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.minibar .where { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); display: block; }
.minibar button { margin-left: auto; flex-shrink: 0; }
.minibar .prog { position: absolute; left: 0; bottom: -1px; height: 2.5px; width: calc(var(--p, 0) * 100%); background: var(--kina); }
@media (min-width: 1180px) { .minibar { display: none; } }

/* Makale */
.article { min-width: 0; }
.article > section { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--rule); }
.article > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sh { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.sh .n { font-family: var(--mono); font-size: 13px; color: var(--kina-ink); flex-shrink: 0; }
.sh h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.intro { color: var(--ink-3); margin: -8px 0 26px; max-width: 56ch; }
.prose { font-family: var(--read); font-size: 19px; line-height: 1.7; }
@media (min-width: 720px) { .prose { font-size: 21px; } }
.prose p { margin-bottom: 1.05em; }

/* İddia ve kaynak glifi */
.claim { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: background .2s; border-radius: 3px; }
.claim.on { background: var(--mark); text-decoration-color: var(--c); }
.cite { display: inline-grid; place-items: center; width: 26px; height: 22px; margin: 0 1px 0 3px; border: 0; background: none; padding: 0; vertical-align: -2px; border-radius: 7px; }
.cite:hover, .cite[aria-expanded="true"] { background: color-mix(in srgb, var(--c) 16%, transparent); }

/* Kaynak kartı: masaüstünde kenar notu, mobilde alt sayfa */
.scrim { position: fixed; inset: 0; z-index: 85; background: color-mix(in srgb, var(--gece) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 82vh; overflow-y: auto;
  background: var(--card); border-radius: 26px 26px 0 0; box-shadow: var(--lift-2);
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.sheet.open { transform: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--rule-2); margin: 0 auto 16px; }
.sheet.margin {
  position: absolute; left: auto; right: auto; bottom: auto; width: 300px; max-height: none; border-radius: 18px; padding: 18px;
  transform: translateX(-10px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s;
}
.sheet.margin.open { transform: none; opacity: 1; pointer-events: auto; }
.sheet.margin .grab { display: none; }
.sheet.margin::before { content: ""; position: absolute; left: -28px; top: 26px; width: 28px; height: 1.5px; background: var(--kina); }
.sh-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.sh-top .x { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.sh-top .seal { white-space: normal; }
.sh-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-src li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px; border-radius: 13px; background: var(--paper-2); }
.sh-src .id { font-family: var(--mono); font-size: 11.5px; color: var(--kina-ink); padding-top: 2px; }
.sh-src b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.sh-src span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.sh-note { margin: 12px 0 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--kina); font-family: var(--read); font-style: italic; font-size: 15.5px; color: var(--ink-2); }
.sh-go { margin-top: 14px; }
.toc-sheet ol { list-style: none; margin: 0; padding: 0; }
.toc-sheet a { display: flex; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 17px; font-weight: 550; }
.toc-sheet a span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 4px; width: 22px; }
.toc-sheet a.on { color: var(--kina-ink); }
.toc-sheet a.on span { color: var(--kina-ink); }

/* Dönem seçici */
.eras { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter) 4px; }
.eras::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .eras { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; } }
.era { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--paper-2); padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.era i { width: 10px; height: 10px; border-radius: 3px; background: var(--seg, var(--ink)); }
.era[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Zaman çizelgesi */
.tl { list-style: none; margin: 0; padding: 0; }
.tl-era { position: sticky; top: calc(var(--top-h) + 62px); z-index: 3; padding: 10px 0; background: var(--paper); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 1180px) { .tl-era { top: var(--top-h); } }
.tl-era i { width: 22px; height: 8px; border-radius: 4px; background: var(--seg); }
.tl-item { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0 22px; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .tl-item { grid-template-columns: 116px 1fr; gap: 26px; } }
.tl-item[hidden], .tl-era[hidden] { display: none; }
.tl-yr { font-size: 30px; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .tl-yr { font-size: 38px; } }
.tl-yr small { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
@media (min-width: 720px) { .tl-yr small { display: block; margin: 6px 0 0; } }
.tl-item.big .tl-yr { color: var(--kina-ink); }
.tl-yr.approx { font-family: var(--read); font-style: italic; font-weight: 400; }
.tl-item h3 { font-size: 21px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.tl-item h3 em { font-family: var(--read); font-weight: 500; }
.tl-item p { font-family: var(--read); font-size: 17.5px; color: var(--ink-2); margin: 8px 0 12px; }
.tl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

/* Raf (eserler) */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
.shelf::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .shelf { grid-auto-columns: 44%; } }
@media (min-width: 900px) { .shelf { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; } }
.work { scroll-snap-align: start; min-width: 0; text-decoration: none; color: inherit; }
.poster {
  --pb: var(--gece); --pf: var(--on-gece);
  aspect-ratio: 3 / 4.1; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--pb); color: var(--pf); position: relative; overflow: hidden; transition: transform .2s;
}
.work:hover .poster { transform: translateY(-4px) rotate(-.6deg); }
.poster .pm { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; opacity: .8; position: relative; z-index: 1; }
.poster .pt { font-size: clamp(24px, 3vw, 28px); font-weight: 750; letter-spacing: -.05em; line-height: .92; position: relative; z-index: 1; }
.poster svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.poster.kina { --pb: var(--kina); --pf: #fff; }
.poster.isik { --pb: var(--isik); --pf: #121318; }
.poster.cini { --pb: var(--cini); --pf: #fff; }
.poster.paper { --pb: var(--paper-2); --pf: var(--ink); }
.work h4 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; margin-top: 12px; }
.work .r { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.work .d { font-family: var(--read); font-size: 15px; color: var(--ink-2); margin: 6px 0 0; }
.ledger { margin-top: 36px; }
.ledger h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.ledger-row { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 720px) { .ledger-row { grid-template-columns: 64px 1fr 1fr auto; } }
.ledger-row .y { font-family: var(--mono); font-size: 13px; color: var(--kina-ink); }
.ledger-row .a { font-weight: 600; }
.ledger-row .w { color: var(--ink-3); font-size: 14.5px; grid-column: 2; }
.ledger-row .seal { grid-column: 2; }
@media (min-width: 720px) { .ledger-row .w, .ledger-row .seal { grid-column: auto; } }

/* Yorum */
.opinion { background: var(--gece); color: var(--on-gece); border-radius: var(--r-lg); padding: 28px 24px; position: relative; overflow: hidden; }
@media (min-width: 720px) { .opinion { padding: 40px 40px 34px; } }
.opinion .tag { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--isik); }
.opinion .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--isik); }
.opinion blockquote { margin: 18px 0 24px; font-family: var(--read); font-style: italic; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.42; }
.opinion .sig { display: flex; gap: 12px; align-items: center; font-size: 14px; color: color-mix(in srgb, var(--on-gece) 70%, transparent); }
.opinion .sig b { color: var(--on-gece); font-weight: 600; }
.opinion .sig .mg { box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.opinion .q { position: absolute; right: 18px; top: -16px; font-family: var(--read); font-size: 180px; line-height: 1; color: rgba(255,255,255,.06); pointer-events: none; }

/* Atlas */
.atlas { display: grid; gap: 16px; }
.atlas-map { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 10px; background-image: radial-gradient(var(--rule) 1px, transparent 1px); background-size: 18px 18px; }
.atlas-map svg { width: 100%; height: auto; overflow: visible; }
.atlas-map .e { stroke: var(--rule-2); stroke-width: 1.5; transition: stroke .2s, stroke-width .2s; }
.atlas-map .e.on { stroke: var(--kina); stroke-width: 2.5; }
.atlas-map .nd { cursor: pointer; outline: none; }
.atlas-map .nd circle { fill: var(--card); stroke-width: 2.5; transition: r .2s; }
.atlas-map .nd.p circle { stroke: var(--cini); }
.atlas-map .nd.w circle { stroke: var(--kina); }
.atlas-map .nd.o circle { stroke: var(--ink-2); stroke-dasharray: 4 3; }
.atlas-map .nd text { font-family: var(--display); font-size: 13px; font-weight: 600; fill: var(--ink); }
.atlas-map .nd.on circle, .atlas-map .nd:hover circle, .atlas-map .nd:focus-visible circle { fill: var(--isik); r: 13; }
.atlas-map .nd.dim { opacity: .35; }
.atlas-map .center circle { fill: var(--gece); stroke: none; }
.atlas-map .center text { fill: var(--on-gece); font-weight: 700; }
.atlas-map .el { font-family: var(--read); font-style: italic; font-size: 12.5px; fill: var(--ink-3); }
.atlas-key { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 10px 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.atlas-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid; margin-right: 6px; vertical-align: -1px; }
.bonds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .bonds { grid-template-columns: repeat(2, 1fr); } }
.bond { display: block; width: 100%; text-align: left; border: 0; background: var(--card); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--lift); transition: box-shadow .15s, transform .15s, opacity .2s; }
.bond:hover { transform: translateY(-2px); }
.bond.on { box-shadow: inset 0 0 0 2px var(--kina), var(--lift); }
.bond.dim { opacity: .5; }
.bond .from { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.bond .verb { display: block; font-family: var(--read); font-style: italic; color: var(--kina-ink); font-size: 16px; margin: 2px 0; }
.bond .to { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.bond p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* SSS */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); font-weight: 400; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 9px; background: var(--paper-2); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 36px 22px 42px; font-family: var(--read); font-size: 17.5px; color: var(--ink-2); }
.faq .ans a { color: var(--kina-ink); font-family: var(--mono); font-size: 12.5px; text-decoration: none; }

/* Kaynak fişleri */
.tally { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; }
@media (min-width: 720px) { .tally { grid-template-columns: repeat(4, 1fr); } }
.tally div { background: var(--card); padding: 16px; }
.tally b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tally span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.fisler { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fis { display: grid; grid-template-columns: 50px 1fr; background: var(--card); border-radius: var(--r); box-shadow: var(--lift); overflow: hidden; transition: box-shadow .3s; }
.fis.flash { box-shadow: inset 0 0 0 2px var(--kina), var(--lift); }
.fis-id { background: var(--paper-2); display: grid; place-items: center; position: relative; }
.fis-id::after { content: ""; position: absolute; right: -3px; top: 6px; bottom: 6px; width: 6px; background: radial-gradient(circle, var(--paper) 2.2px, transparent 2.6px) 0 0 / 6px 11px repeat-y; }
.fis-id span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--kina-ink); font-weight: 600; }
.fis-body { padding: 16px 18px; min-width: 0; }
.fis-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.fis-type { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fis .t { font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; margin: 6px 0 4px; }
.fis .m { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.fis .sup { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.fis .sup b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.fis .note { margin: 12px 0 0; padding-left: 14px; border-left: 2px solid var(--kina); font-family: var(--read); font-style: italic; font-size: 15.5px; color: var(--ink-2); }
.fis .go { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-family: var(--mono); font-size: 12px; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--kina); }
.withheld { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 720px) { .withheld { grid-template-columns: 1fr 1fr; } }
.withheld > div { border: 1.5px dashed var(--rule-2); border-radius: var(--r); padding: 18px; }
.withheld h4 { font-size: 16px; letter-spacing: -.02em; margin: 10px 0 6px; }
.withheld p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.legend { display: grid; gap: 8px; margin-top: 10px; }

/* Değişiklik günlüğü */
.log { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.log::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--rule-2); }
.log li { position: relative; padding: 0 0 28px; }
.log li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.log li:first-child::before { background: var(--kina); border-color: var(--kina); }
.log time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.log h4 { font-size: 17px; letter-spacing: -.02em; margin: 4px 0 6px; font-weight: 650; }
.log p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.diff { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-family: var(--mono); font-size: 13px; }
.diff .ar { color: var(--ink-3); }

/* Düzeltme masası */
.desk { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 22px; }
@media (min-width: 720px) { .desk { padding: 32px; } }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 1.5px; background: var(--rule-2); }
.steps li { flex: 1; position: relative; font-size: 13px; color: var(--ink-3); font-weight: 550; }
.steps li:last-child { flex: 0 0 auto; text-align: right; }
.steps li i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--rule-2); margin-bottom: 8px; position: relative; z-index: 1; }
.steps li:last-child i { margin-left: auto; }
.steps li.on { color: var(--ink); }
.steps li.on i { border-color: var(--kina); background: var(--kina); box-shadow: 0 0 0 5px color-mix(in srgb, var(--kina) 18%, transparent); }
.steps li.done i { border-color: var(--ink); background: var(--ink); }
.step[hidden] { display: none; }
.step h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 16px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--paper-2); font-weight: 600; font-size: 15px; letter-spacing: -.01em; cursor: pointer; transition: background .15s, box-shadow .15s; height: 100%; }
.choice span small { font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.choice input:checked + span { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--kina); outline-offset: 2px; }
.notebook {
  width: 100%; min-height: 168px; border: 0; resize: vertical; outline: none; padding: 4px 2px; font-family: var(--read); font-size: 19px; line-height: 34px;
  background: repeating-linear-gradient(transparent 0 33px, var(--rule) 33px 34px); background-attachment: local; color: var(--ink);
}
.notebook::placeholder { color: var(--ink-3); font-style: italic; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.line-input { width: 100%; border: 0; border-bottom: 1.5px solid var(--rule-2); background: none; padding: 8px 0 10px; font-size: 18px; outline: none; transition: border-color .15s; border-radius: 0; }
.line-input:focus { border-color: var(--kina); }
.line-input::placeholder { color: var(--ink-3); }
.field .hint { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.switch input { position: absolute; opacity: 0; }
.switch .tr { width: 44px; height: 26px; border-radius: 26px; background: var(--rule-2); position: relative; transition: background .2s; flex-shrink: 0; }
.switch .tr::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .tr { background: var(--ink); }
.switch input:checked + .tr::after { transform: translateX(18px); background: var(--isik); }
.switch input:focus-visible + .tr { outline: 2px solid var(--kina); outline-offset: 2px; }
.desk-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.desk-nav .fine { font-size: 12.5px; color: var(--ink-3); max-width: 320px; }
.need { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); min-height: 18px; margin-top: 10px; }
.done-state { display: grid; gap: 22px; align-items: center; text-align: center; justify-items: center; padding: 18px 0 6px; }
@media (min-width: 720px) { .done-state { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 32px; } }
.done-state[hidden] { display: none; }
.stamp {
  width: 148px; height: 148px; border-radius: 50%; border: 3px solid var(--kina); color: var(--kina-ink); display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg); position: relative; animation: stamp .45s cubic-bezier(.3,1.6,.5,1) both;
}
.stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed var(--kina); }
.stamp b { display: block; font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.stamp span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; }
@keyframes stamp { from { transform: rotate(-30deg) scale(1.8); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.done-state h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 8px; }
.done-state p { color: var(--ink-2); margin-bottom: 14px; }

/* Buradan nereye */
.paths { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
.paths::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .paths { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; } }
.path { scroll-snap-align: start; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 210px; transition: transform .2s; }
.path:hover { transform: translateY(-3px); }
.path .why { font-family: var(--mono); font-size: 11.5px; color: var(--kina-ink); }
.path h4 { font-size: 22px; letter-spacing: -.035em; line-height: 1.1; }
.path p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.path .trail { margin-top: auto; display: flex; align-items: center; gap: 0; }
.path .trail i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); }
.path .trail i:last-child { background: var(--kina); border-color: var(--kina); }
.path .trail s { flex: 1; height: 1.5px; background: var(--rule-2); text-decoration: none; }

/* ==========================================================================
   ARAMA
   ========================================================================== */
.q-head { padding: 34px 0 10px; }
@media (min-width: 900px) { .q-head { padding: 64px 0 16px; } }
.q-form { position: relative; margin-top: 12px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: 12px; }
.q-input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: clamp(40px, 9vw, 104px); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; padding: 6px 0 10px; }
.q-form .round { flex-shrink: 0; }
.q-say { font-family: var(--read); font-size: clamp(19px, 2.3vw, 24px); color: var(--ink-2); margin: 22px 0 0; max-width: 40ch; line-height: 1.4; }
.q-say b { font-family: var(--display); font-weight: 650; color: var(--ink); letter-spacing: -.02em; }
.q-say a { color: var(--kina-ink); text-decoration-thickness: 1.5px; text-underline-offset: 4px; font-style: italic; }
.lenses { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule); margin: 34px 0 0; }
.lenses::-webkit-scrollbar { display: none; }
.lenses button { flex-shrink: 0; border: 0; background: none; padding: 12px 0 14px; font-size: 16px; font-weight: 600; color: var(--ink-3); position: relative; letter-spacing: -.01em; }
.lenses button sup { font-family: var(--mono); font-size: 11px; font-weight: 400; margin-left: 3px; }
.lenses button[aria-selected="true"] { color: var(--ink); }
.lenses button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--kina); }
.r-group { padding: 40px 0 8px; }
.r-group[hidden] { display: none; }
.r-group > h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; margin-bottom: 6px; }
.r-group > .sub { color: var(--ink-3); margin: 0 0 22px; font-size: 15px; }
.axis-head { display: none; }
@media (min-width: 1000px) {
  .axis-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 150px; gap: 28px; padding: 0 22px 10px; }
  .axis-head .ticks { position: relative; height: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
  .axis-head .ticks span { position: absolute; transform: translateX(-50%); }
}
.person {
  display: grid; gap: 18px; padding: 20px; margin-bottom: 12px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--lift);
  transition: opacity .25s, transform .25s;
}
@media (min-width: 1000px) { .person { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 150px; gap: 28px; align-items: center; padding: 22px; } }
.person[hidden] { display: none; }
.who { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.who h3 { font-size: 24px; letter-spacing: -.04em; line-height: 1.1; }
.who h3 a { text-decoration: none; }
.who h3 a:hover { color: var(--kina-ink); }
.who .role { font-weight: 550; color: var(--ink-2); margin-top: 3px; font-size: 15px; }
.who .tells { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }
.who .tells b { color: var(--ink-2); font-weight: 500; }
.mini-axis { position: relative; height: 58px; }
.mini-axis .base { position: absolute; left: 0; right: 0; top: 30px; height: 1.5px; background: var(--rule); }
.mini-axis .life { position: absolute; top: 25px; height: 12px; border-radius: 12px; background: var(--lc, var(--gece)); }
.mini-axis .life.open { background: linear-gradient(90deg, var(--lc) 70%, transparent); }
.mini-axis .ev { position: absolute; top: 20px; width: 2px; height: 22px; background: var(--ink); transform: translateX(-50%); }
.mini-axis .ev span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.mini-axis .ev.r span { left: auto; right: -2px; transform: none; }
@media (max-width: 999px) {
  .mini-axis::before, .mini-axis::after { position: absolute; top: 44px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); opacity: .7; }
  .mini-axis::before { content: "1900"; left: 0; }
  .mini-axis::after { content: "bugün"; right: 0; }
  .mini-axis.past::after { display: none; }
}
.mini-axis .ends { position: absolute; top: 44px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); transform: translateX(-50%); white-space: nowrap; }
.person .acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 1000px) { .person .acts { flex-direction: column; align-items: stretch; } .person .acts .btn { justify-content: center; } }
.gone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 20px; margin-bottom: 12px; border-radius: var(--r-lg); border: 1.5px dashed var(--rule-2); font-size: 14.5px; color: var(--ink-3); }
.gone b { color: var(--ink-2); font-weight: 600; }
.gone button { margin-left: auto; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-top: 1px solid var(--rule); text-decoration: none; }
.rows li:last-child a { border-bottom: 1px solid var(--rule); }
.rows a:hover .t { color: var(--kina-ink); }
.rows .ty { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); }
.rows .t { font-weight: 650; font-size: 18px; letter-spacing: -.025em; }
.rows .m { font-size: 13.5px; color: var(--ink-3); }
.trace-end { display: grid; gap: 20px; align-items: center; margin: 40px 0 80px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper-2); }
@media (min-width: 900px) { .trace-end { grid-template-columns: 240px 1fr auto; gap: 36px; padding: 32px 36px; } }
.trace-end > svg { width: 100%; max-width: 240px; height: 48px; }
.trace-end h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 6px; }
.trace-end p { margin: 0; color: var(--ink-3); font-size: 15px; }

/* ==========================================================================
   EDİTÖR PANELİ
   ========================================================================== */
.app { display: grid; min-height: 100vh; }
@media (min-width: 1080px) { .app { grid-template-columns: 256px minmax(0, 1fr); } }
.side {
  background: var(--gece); color: var(--on-gece); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px;
  position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 95; transform: translateX(-102%); transition: transform .25s;
}
.side.open { transform: none; }
@media (min-width: 1080px) { .side { position: sticky; top: 0; height: 100vh; width: auto; transform: none; } }
.side .wordmark { color: var(--on-gece); padding: 4px 10px 22px; }
.side-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--on-gece) 45%, transparent); padding: 18px 12px 8px; }
.side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: color-mix(in srgb, var(--on-gece) 72%, transparent); font-size: 14.5px; font-weight: 550; }
.side a:hover { background: rgba(255,255,255,.06); color: var(--on-gece); }
.side a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--on-gece); }
.side a[aria-current="page"] .ico { color: var(--isik); }
.side a .n { margin-left: auto; font-family: var(--mono); font-size: 11.5px; background: var(--kina); color: #fff; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 7px; display: grid; place-items: center; }
.side .me { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px 10px 4px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.side .me small { display: block; font-family: var(--mono); font-size: 11px; color: color-mix(in srgb, var(--on-gece) 55%, transparent); }
.app-main { min-width: 0; }
.bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 var(--gutter); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.bar .menu { flex-shrink: 0; }
@media (min-width: 1080px) { .bar .menu { display: none; } }
.bar h1 { font-size: 22px; letter-spacing: -.035em; }
.bar .date { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); display: none; }
@media (min-width: 720px) { .bar .date { display: block; } }
.bar .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.bar .r .btn .lbl { display: none; }
@media (min-width: 560px) { .bar .r .btn .lbl { display: inline; } }
.board { padding: 24px var(--gutter) 64px; max-width: 1360px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 1000px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.kpi { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 18px; min-width: 0; }
.kpi .l { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.kpi .v { font-size: clamp(36px, 4vw, 52px); font-weight: 750; letter-spacing: -.06em; line-height: 1; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: 16px; letter-spacing: -.02em; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.kpi .s { font-size: 12.5px; color: var(--ink-3); }
.kpi.alert .v { color: var(--kina-ink); }
.ticks { display: flex; gap: 2px; height: 22px; align-items: end; }
.ticks i { flex: 1; height: 100%; background: var(--ink); border-radius: 2px; }
.ticks i.goal { background: var(--kina); height: 130%; }
.ticks i.over { background: var(--isik); }
.meter { height: 10px; border-radius: 10px; background: var(--paper-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--s-ok), color-mix(in srgb, var(--s-ok) 70%, var(--isik))); }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.dots i.late { background: var(--kina); box-shadow: 0 0 0 4px color-mix(in srgb, var(--kina) 18%, transparent); }
.work-grid { display: grid; gap: 16px; }
@media (min-width: 1180px) { .work-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.box { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); min-width: 0; overflow: hidden; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 20px 14px; }
.box-h h2 { font-size: 19px; letter-spacing: -.03em; }
.box-h .mono { color: var(--ink-3); }
.qlist { list-style: none; margin: 0; padding: 0 10px 10px; display: grid; gap: 4px; }
.qi { position: relative; }
.qi > button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 12px; border-radius: 14px; cursor: pointer; transition: background .15s; }
.qi > button:hover { background: var(--paper-2); }
.qi > button:focus-visible { outline: 2px solid var(--kina); outline-offset: -2px; }
.qi.sel > button { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--kina); }
.qi .mg { grid-row: span 2; }
.qi .tt { font-weight: 650; letter-spacing: -.015em; font-size: 15px; }
.qi .ag { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: right; }
.qi .ag.late { color: var(--kina-ink); font-weight: 600; }
.qi .sb { font-size: 13px; color: var(--ink-3); grid-column: 2 / 4; }
.qi.closed > button { opacity: .5; }
.qi .res { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(-8deg); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; padding: 4px 8px; border: 1.5px solid currentColor; border-radius: 6px; background: var(--card); animation: stamp .35s cubic-bezier(.3,1.6,.5,1) both; }
.qi .res.ok { color: var(--s-ok); } .qi .res.diff { color: var(--kina-ink); } .qi .res.no { color: var(--ink-3); } .qi .res.ask { color: var(--s-one); }
.rev { padding: 4px 20px 20px; }
.rev h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 4px; }
.rev .who2 { font-size: 14px; color: var(--ink-3); }
.rev .who2 b { color: var(--ink-2); font-weight: 600; }
.cmp { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 720px) { .cmp { grid-template-columns: 1fr 1fr; } }
.cmp > div { padding: 14px 16px; border-radius: 14px; background: var(--paper-2); }
.cmp .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 6px; }
.cmp .old { font-size: 17px; font-weight: 600; text-decoration: line-through; text-decoration-color: var(--kina); text-decoration-thickness: 2px; color: var(--ink-2); }
.cmp .new { font-size: 17px; font-weight: 600; }
.cmp .new span { background: linear-gradient(transparent 55%, var(--mark) 55%); }
.rev-src { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--rule-2); font-size: 14px; }
.rev-src .ico { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--paper-2); }
.rev .notebook { min-height: 104px; font-size: 17px; line-height: 30px; background: repeating-linear-gradient(transparent 0 29px, var(--rule) 29px 30px); background-attachment: local; margin-top: 4px; }
.rev-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gate { list-style: none; margin: 0; padding: 4px 20px 6px 44px; position: relative; }
.gate::before { content: ""; position: absolute; left: 27px; top: 16px; bottom: 26px; width: 1.5px; background: var(--rule-2); }
.gate li { position: relative; padding: 10px 0; font-size: 14.5px; font-weight: 550; }
.gate li small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.gate li::before { content: ""; position: absolute; left: -23px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--card); }
.gate li.wait::before { background: var(--card); border: 2px solid var(--s-one); width: 8px; height: 8px; }
.gate li.no::before { background: var(--kina); }
.gate-f { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid var(--rule); margin-top: 8px; }
.gate-f .mono { color: var(--kina-ink); }
.stale { list-style: none; margin: 0; padding: 0 20px 18px; display: grid; gap: 14px; }
.stale li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14.5px; }
.stale .nm { font-weight: 600; }
.stale .why { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-align: right; }
.stale .why.bad { color: var(--kina-ink); }
.stale .age { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--paper-2); position: relative; overflow: visible; }
.stale .age i { display: block; height: 100%; border-radius: inherit; background: var(--ink-2); }
.stale .age i.over { background: var(--kina); }
.stale .age::after { content: ""; position: absolute; left: 66.6%; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }
.daylog { list-style: none; margin: 0; padding: 0 20px 18px; font-size: 14px; }
.daylog li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.daylog li.new { animation: slidein .35s ease both; }
.daylog time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding-top: 2px; }
.daylog b { font-weight: 600; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); background: var(--mark); } to { opacity: 1; transform: none; } }
.side-scrim { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--gece) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s; }
.side-scrim.show { opacity: 1; pointer-events: auto; }
@media (min-width: 1080px) { .side-scrim { display: none; } }

/* ==========================================================================
   Laravel entegrasyonu: gerçek veri için ek bileşenler
   ========================================================================== */
.era-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.era-tag i { width: 16px; height: 7px; border-radius: 4px; background: var(--seg); }

.story details { border-top: 1px solid var(--rule); }
.story details:last-child { border-bottom: 1px solid var(--rule); }
.story summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; padding: 18px 0; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.story summary::-webkit-details-marker { display: none; }
.story summary .i { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); font-weight: 400; }
.story summary .pm { position: relative; width: 28px; height: 28px; border-radius: 9px; background: var(--paper-2); }
.story summary .pm::before, .story summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.story summary .pm::after { transform: rotate(90deg); }
.story details[open] summary .pm::after { transform: rotate(0); }
.story-body { padding: 0 0 24px 42px; font-family: var(--read); font-size: 18.5px; line-height: 1.7; color: var(--ink); }
@media (max-width: 719px) { .story-body { padding-left: 0; font-size: 17.5px; } }
.story-body p { margin: 0 0 1em; }
.story-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.story-body li { position: relative; padding-left: 18px; font-size: 16.5px; }
.story-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--kina); }

.bond { cursor: pointer; }
.bond .to { text-decoration: none; color: inherit; }
.bond .to:hover { color: var(--kina-ink); }
.bond:focus-visible { outline: 2px solid var(--kina); outline-offset: 2px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.person .who h3 { overflow-wrap: anywhere; }
.p-name { overflow-wrap: anywhere; hyphens: auto; }
.fis .t { overflow-wrap: anywhere; }

/* ==========================================================================
   Kitaplık: rafta duran kapaklar
   Kapak bulunamayan kitap, künyesinden dizilmiş bir kapakla rafa girer.
   ========================================================================== */
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 14px; font-family: var(--display); }
.shelf-head .n { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.shelf-head .mono { color: var(--ink-3); }

/* Yayın cetveli: her kitap yılına bir çentik */
.pubrule { position: relative; height: 38px; margin: 0 0 26px; }
.pubrule::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1.5px; background: var(--rule-2); }
.pubrule i { position: absolute; top: 9px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 3px; background: var(--kina); box-shadow: 0 0 0 3px var(--paper); transition: transform .15s; }
.pubrule i.on { transform: scale(1.5) rotate(45deg); }
.pubrule span { position: absolute; top: 24px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.pubrule span.l { left: 0; }
.pubrule span.r { right: 0; }

.bookcase {
  --bk-gap: 22px;
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 38%; column-gap: var(--bk-gap); row-gap: 34px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  font-family: var(--display);
}
.bookcase::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .bookcase { grid-auto-columns: 26%; } }
@media (min-width: 900px) {
  .bookcase { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); margin: 0; padding: 8px 0 0; overflow: visible; --bk-gap: 26px; }
  .bookcase:not(.all) > li:nth-child(n+13) { display: none; }
}
.bookcase > li { scroll-snap-align: start; min-width: 0; padding: 0; }
.bookcase > li::before { display: none; }
.bookcase > li[hidden] { display: none !important; }
.bk-btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; }
.bk-btn:focus-visible .cover { outline: 2.5px solid var(--kina); outline-offset: 4px; }

/* Raf tahtası: kapakların altında, komşu kitaplarınkiyle birleşir */
.bk-stand { position: relative; padding-bottom: 12px; }
.bk-stand::after {
  content: ""; position: absolute; left: calc(var(--bk-gap) / -2); right: calc(var(--bk-gap) / -2); bottom: 0; height: 12px;
  background: linear-gradient(var(--rule-2) 0 2px, var(--paper-2) 2px); box-shadow: 0 10px 18px -12px rgba(18, 19, 24, .45);
}

.cover {
  --cb: var(--gece); --cf: var(--on-gece);
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 3px 9px 9px 3px; overflow: hidden;
  background: var(--cb); color: var(--cf); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 22px -14px rgba(18, 19, 24, .6);
  transform-origin: 50% 100%; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s;
}
.bk-btn:hover .cover, .bk-btn:focus-visible .cover { transform: translateY(-7px) rotate(-1.2deg); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 22px 30px -16px rgba(18, 19, 24, .7); }
.cover::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.12) 55%, rgba(0,0,0,.08));
}
.cover img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.cover.gece { --cb: var(--gece); --cf: var(--on-gece); }
.cover.kina { --cb: var(--kina); --cf: #fff; }
.cover.isik { --cb: var(--isik); --cf: #121318; }
.cover.cini { --cb: var(--cini); --cf: #fff; }
.cover.paper { --cb: var(--paper-2); --cf: var(--ink); }
.cover.murekkep { --cb: #2a2b31; --cf: #f1efe9; }

/* Künyeden dizilmiş kapak */
.gen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12% 10% 10% 16%; }
.gen .gy { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; opacity: .75; }
.gen .gt {
  margin-top: 14%; font-family: var(--display); font-size: clamp(14px, 1.5vw, 17px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.gen .ga { margin-top: auto; font-family: var(--read); font-style: italic; font-size: 12px; opacity: .85; line-height: 1.2; }
.gen .ga::before { content: ""; display: block; width: 22px; height: 2px; margin-bottom: 7px; background: currentColor; opacity: .6; }
.cover.kina .gen .ga::before, .cover.cini .gen .ga::before { background: var(--isik); opacity: 1; }
.cover.gece .gen .ga::before, .cover.murekkep .gen .ga::before { background: var(--kina); opacity: 1; }

.bk-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; line-height: 1.22; }
.bk-m { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookcase-more { margin-top: 26px; display: none; }
@media (min-width: 900px) { .bookcase-more { display: inline-flex; } }
.bookcase.small { grid-auto-columns: 30%; }
@media (min-width: 560px) { .bookcase.small { grid-auto-columns: 20%; } }
@media (min-width: 900px) { .bookcase.small { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); } }
.bookcase.small .gen .gt { font-size: 13px; }
.shelf-sub { font-family: var(--display); font-size: 18px; font-weight: 650; letter-spacing: -.02em; margin: 40px 0 12px; }
.shelf-credit { margin: 22px 0 0; font-family: var(--display); font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.shelf-credit a { color: var(--ink-2); }

/* Kitap alt sayfası */
.book-sheet .bs { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; }
.book-sheet .bs .cover { box-shadow: 0 18px 30px -16px rgba(18, 19, 24, .6); }
.book-sheet h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.1; margin: 8px 0 14px; overflow-wrap: anywhere; }
.bs-meta { margin: 0; display: grid; gap: 0; }
.bs-meta div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.bs-meta div[hidden] { display: none; }
.bs-meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.bs-meta dd { margin: 0; overflow-wrap: anywhere; }
.bs-foot { grid-column: 1 / -1; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); }
.bs-foot a { color: var(--ink-2); }
.bs-foot [hidden] { display: none; }
@media (min-width: 720px) {
  .book-sheet { left: 50%; right: auto; bottom: 24px; width: min(620px, calc(100vw - 48px)); border-radius: 26px; transform: translate(-50%, calc(100% + 40px)); padding-top: 22px; }
  .book-sheet.open { transform: translate(-50%, 0); }
  .book-sheet .grab { display: none; }
  .book-sheet .bs { grid-template-columns: 160px 1fr; gap: 28px; }
}

/* Sekme adresi: bağlantı kopyala */
.story summary .lk { margin-left: 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-3); opacity: 0; transition: opacity .15s; }
.story details[open] summary .lk { opacity: 1; }
.story details.focus { scroll-margin-top: calc(var(--top-h) + 60px); }
.story summary .sub { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-top: 2px; }

/* ==========================================================================
   Editör masası · Kapak masası
   ========================================================================== */
.cv-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; justify-content: space-between; margin: 4px 0 18px; }
.cv-bar .lenses { margin: 0; flex: 1 1 420px; }
.cv-bar .lenses a { flex-shrink: 0; text-decoration: none; padding: 12px 0 14px; font-size: 15px; font-weight: 600; color: var(--ink-3); position: relative; }
.cv-bar .lenses a sup { font-family: var(--mono); font-size: 11px; font-weight: 400; margin-left: 3px; }
.cv-bar .lenses a[aria-current="page"] { color: var(--ink); }
.cv-bar .lenses a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--kina); }
.cv-find { display: flex; align-items: center; gap: 8px; min-width: 220px; flex: 0 1 300px; border-bottom: 1.5px solid var(--rule-2); }
.cv-find input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 8px 0; font-size: 15px; color: var(--ink); }
.cv-find:focus-within { border-color: var(--kina); }

.cv-person { margin-bottom: 16px; }
.cv-person .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cv-person .who h2 { overflow-wrap: anywhere; }
.cv-person .who a { color: inherit; text-decoration: none; }
.cv-person .who a:hover { color: var(--kina-ink); }
.cv-person .scan-say { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.cv-rows { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 4px; }
.cv-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; }
.cv-row:hover { background: var(--paper-2); }
.cv-row.sel { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--kina); }
.cv-row.is-hidden { opacity: .55; }
.cv-row .open-btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; min-width: 0; }
.cv-row .open-btn:focus-visible { outline: 2px solid var(--kina); outline-offset: 4px; border-radius: 6px; }
.cv-row .cover { width: 48px; border-radius: 2px 5px 5px 2px; box-shadow: 0 6px 12px -8px rgba(18,19,24,.6); }
.cv-row .gen { padding: 10% 8% 8% 14%; }
.cv-row .gen .gy, .cv-row .gen .ga { display: none; }
.cv-row .gen .gt { margin: 0; font-size: 7.5px; -webkit-line-clamp: 5; }
.cv-row .t { display: block; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.cv-row .m { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cv-row { grid-template-columns: 1fr; } .cv-row > .seal { padding-left: 62px; } }

/* Kapak seçim paneli (geniş ekranda sağda sabit, dar ekranda alt sayfa) */
.cv-layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1100px) {
  .cv-layout { grid-template-columns: minmax(0, 1fr) 440px; }
  .cv-pick { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
}
.cv-pick .box-body { padding: 0 20px 20px; }
.cv-pick-empty { padding: 0 20px 22px; color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 1099px) {
  .cv-pick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 86vh; overflow-y: auto; border-radius: 26px 26px 0 0; box-shadow: var(--lift-2); transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); }
  .cv-pick.open { transform: none; }
  .cv-pick-empty { display: none; }
}
.cv-pick .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--rule-2); margin: 10px auto 0; }
@media (min-width: 1100px) { .cv-pick .grab, .cv-pick .p-close { display: none; } }
.p-head { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.p-head h3 { font-size: 20px; letter-spacing: -.03em; line-height: 1.15; overflow-wrap: anywhere; }
.p-head .m { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.p-q { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.p-q .line-input { font-size: 15px; padding: 6px 0 8px; }
.p-q label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 520px) { .p-q { grid-template-columns: 1fr; } }
.cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 12px; min-height: 80px; }
.cand { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; align-content: start; min-width: 0; border-radius: 10px; }
.cand .cover { background: var(--paper-2); }
.cand .sc { position: absolute; z-index: 4; top: 6px; right: 6px; font-family: var(--mono); font-size: 10px; padding: 2px 6px; border-radius: 6px; background: var(--card); color: var(--ink-2); }
.cand .sc.hi { background: var(--s-ok); color: #fff; }
.cand .ct { font-size: 12.5px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cand .cm { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cand:hover .cover, .cand:focus-visible .cover { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.cand.busy { opacity: .5; pointer-events: none; }
.cands .wait { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding: 20px 0; }
.cands .wait.spin::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 3px; background: var(--kina); animation: cvspin 1s linear infinite; vertical-align: -1px; }
@keyframes cvspin { to { transform: rotate(360deg); } }
.p-more { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.p-more .row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.p-more .row .line-input { flex: 1 1 200px; font-size: 15px; padding: 6px 0 8px; }
.p-more .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.p-file { position: relative; overflow: hidden; }
.p-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.p-say { font-family: var(--mono); font-size: 12px; min-height: 18px; color: var(--ink-3); }
.p-say.bad { color: var(--kina-ink); }
.p-say.good { color: var(--s-ok); }

/* Sekme sayfaları */
.p-name .p-tab { display: block; font-size: .38em; letter-spacing: -.03em; color: var(--kina-ink); margin-top: .12em; }
.story summary .tab-a { color: inherit; text-decoration: none; }
.story-link { display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.story-link:last-child { border-bottom: 1px solid var(--rule); }
.story-link .i { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); font-weight: 400; }
.story-link .sub { display: inline; margin-left: 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-3); }
.story-link .go { text-align: center; color: var(--ink-3); transition: transform .15s; }
.story-link:hover { color: var(--ink); }
.story-link:hover .go { transform: translateX(3px); color: var(--kina-ink); }
.story-back { margin: 22px 0 0; }
.story-others { font-size: 18px; letter-spacing: -.02em; margin: 44px 0 6px; }
.story-link .sub { display: inline; }
.story.single details { border: 0; } .story.single summary { display: none; } .story.single .story-body { padding-left: 0; }
.bookcase-more { font-family: var(--display); margin-bottom: 4px; }

/* Film afişi: künyeden dizilen afişte başlık alta oturur */
.cover.is-film { border-radius: 6px; }
.cover.is-film::after { display: none; }
.cover.is-film .gen { padding: 12% 10% 12%; justify-content: flex-end; background-image: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.05) 14px 15px); }
.cover.is-film .gen .gy { position: absolute; top: 9%; left: 10%; right: 10%; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.cover.is-film .gen .gt { margin-top: 0; font-size: clamp(15px, 1.6vw, 19px); text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.cover.is-film .gen .ga { margin-top: 8px; }
.cover.is-film .gen .ga::before { display: none; }
.shelf-credit { margin-top: 34px; }

/* ==========================================================================
   Takip düğmesi · "iz" glifi: boşken halka, takipteyken dolu iz
   ========================================================================== */
.follow-btn { --bg: var(--ink); --fg: var(--paper); gap: 10px; }
.follow-btn .fg { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0; transition: background .2s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.follow-btn .fg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .2s; }
.follow-btn small { font-family: var(--mono); font-size: 11.5px; font-weight: 500; opacity: .7; padding-left: 10px; margin-left: 2px; border-left: 1px solid currentColor; }
.follow-btn.on { --bg: var(--isik); --fg: #121318; }
.follow-btn.on .fg { background: var(--kina); border-color: var(--kina); transform: rotate(-12deg) scale(1.08); }
.follow-btn.on .fg::after { transform: scale(1); background: #fff; }
.follow-btn.shake { animation: fshake .4s; }
@keyframes fshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.follow-note { margin: 12px 0 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--kina); font-family: var(--read); font-style: italic; font-size: 16px; color: var(--ink-2); max-width: 52ch; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.follow-note.show { opacity: 1; transform: none; }
.follow-note b { font-family: var(--display); font-style: normal; font-weight: 650; color: var(--ink); }
.follow-note a { color: var(--kina-ink); }

/* Üst bar: hesap */
.acct-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.acct-link img, .acct-link .mg { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; font-size: 12px; }
.acct-link.guest { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--paper-2); }
.acct-link.guest:hover { background: var(--rule); }
@media (max-width: 719px) { .acct-link.guest span { display: none; } .acct-link.guest { width: 40px; padding: 0; justify-content: center; } }

/* ==========================================================================
   Giriş sayfası: solda vaat, sağda "giriş fişi"
   ========================================================================== */
.gate-page { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
@media (min-width: 960px) { .gate-page { grid-template-columns: 1.1fr .9fr; gap: 72px; padding-top: 72px; } }
.gate-pitch h1 { font-size: clamp(44px, 7vw, 92px); line-height: .92; letter-spacing: -.06em; margin: 14px 0 20px; }
.gate-pitch h1 em { font-family: var(--read); font-weight: 500; font-style: italic; letter-spacing: -.03em; color: var(--kina-ink); }
.gate-pitch .lead { font-family: var(--read); font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; margin: 0; }
.gate-follow { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--lift); max-width: 440px; }
.gate-follow b { display: block; font-size: 16px; letter-spacing: -.02em; }
.gate-follow span { font-size: 13.5px; color: var(--ink-3); }
.gate-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; max-width: 520px; }
.gate-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-3); }
.gate-steps li span { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); padding-top: 3px; }
.gate-steps b { display: block; color: var(--ink); font-size: 16.5px; letter-spacing: -.02em; margin-bottom: 2px; }
.gate-pitch .fine { margin: 20px 0 0; font-size: 13px; color: var(--ink-3); max-width: 52ch; }

.gate-card { position: relative; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift-2); padding: 22px 22px 24px; }
@media (min-width: 560px) { .gate-card { padding: 26px 30px 30px; } }
@media (min-width: 960px) { .gate-card { position: sticky; top: calc(var(--top-h) + 24px); } }
.gate-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 58px; border-top: 1.5px dashed var(--rule-2); }
.gate-top { display: flex; justify-content: space-between; align-items: center; height: 36px; margin-bottom: 18px; }
.gate-top .mono { color: var(--ink-3); font-size: 11px; letter-spacing: .08em; }
.gate-hole { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 3px rgba(0,0,0,.18); }
.gate-card h2 { font-size: 30px; letter-spacing: -.045em; margin: 10px 0 18px; }
.gate-note { font-size: 14px; color: var(--kina-ink); margin: -6px 0 16px; padding-left: 12px; border-left: 2px solid var(--kina); }
.gate-social { display: grid; gap: 10px; }
.gate-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border: 0; border-radius: 14px; background: var(--paper-2); color: var(--ink); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; transition: background .15s, transform .15s; }
.gate-btn svg { width: 20px; height: 20px; }
.gate-btn:hover { background: var(--rule); transform: translateY(-1px); }
.gate-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.gate-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.gate-or::before, .gate-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.gate-modes { display: flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 13px; margin-bottom: 20px; }
.gate-modes button { flex: 1; border: 0; background: none; min-height: 36px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.gate-modes button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--lift); }
.gate-form .field { margin-bottom: 16px; }
.gate-form .field[hidden] { display: none; }
.gate-submit { width: 100%; justify-content: center; min-height: 52px; margin-top: 6px; }
.gate-say { font-family: var(--mono); font-size: 12.5px; min-height: 20px; margin: 12px 0 0; color: var(--ink-3); line-height: 1.5; }
.gate-say.bad { color: var(--kina-ink); }
.gate-say.good { color: var(--s-ok); }
.gate-card.busy { cursor: progress; }
.gate-card.busy .gate-submit .arrow { animation: cvspin 1s linear infinite; display: inline-block; }
.gate-legal { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.gate-legal a { color: var(--ink-2); }

/* ==========================================================================
   Hesabım
   ========================================================================== */
.acct { padding-top: 40px; padding-bottom: 80px; }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.acct-who { display: flex; align-items: center; gap: 18px; min-width: 0; }
.acct-av { width: 64px; height: 64px; border-radius: 20px; object-fit: cover; }
.acct-who h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.05em; line-height: 1; margin: 6px 0 6px; overflow-wrap: anywhere; }
.acct-verify { display: grid; gap: 6px; padding: 18px 20px; margin-bottom: 32px; border-radius: 18px; border: 1.5px dashed var(--kina); }
.acct-verify b { font-size: 17px; letter-spacing: -.02em; }
.acct-verify span { color: var(--ink-2); font-size: 14.5px; }
.acct-verify .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.acct-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .acct-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.acct-empty { padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--lift); }
.acct-empty p { font-family: var(--read); font-size: 18px; color: var(--ink-2); margin: 0 0 16px; max-width: 48ch; }
.acct-follows { list-style: none; margin: 0; padding: 0; }
.acct-follows li { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); transition: opacity .2s; }
@media (min-width: 720px) { .acct-follows li { grid-template-columns: 1fr auto auto; } }
.acct-follows li.off { opacity: .45; }
.acct-follows .who { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.acct-follows .who b { display: block; font-size: 16.5px; letter-spacing: -.02em; }
.acct-follows .who small { display: block; font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-follows .who:hover b { color: var(--kina-ink); }
@media (max-width: 719px) { .acct-follows .mono { display: none; } }
.acct-log { list-style: none; margin: 0; padding: 0; }
.acct-log li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); }
.acct-log time { font-family: var(--mono); font-size: 12px; color: var(--kina-ink); padding-top: 2px; }
.acct-log b { display: block; margin: 6px 0 2px; font-size: 16px; letter-spacing: -.02em; }
.acct-log b a { color: inherit; text-decoration: none; }
.acct-log p { margin: 0; font-family: var(--read); font-size: 16.5px; color: var(--ink-2); }
.acct-log p a { color: inherit; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.acct-box { padding: 22px; border-radius: 20px; background: var(--card); box-shadow: var(--lift); }
.acct-box h2 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 14px; }
.acct-choices { display: grid; gap: 8px; }
.acct-choices .choice { position: relative; display: block; }
.acct-choices .choice input { position: absolute; opacity: 0; }
.acct-saved { margin-left: 12px; color: var(--s-ok); }
.acct-danger { margin-top: 18px; padding: 0 4px; }
.acct-danger summary { cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--ink-3); list-style: none; }
.acct-danger summary::-webkit-details-marker { display: none; }
.acct-danger summary:hover { color: var(--kina-ink); }
.acct-danger p { font-size: 14px; color: var(--ink-2); margin: 12px 0; }

/* Giriş: mobilde başlık → fiş → adımlar; masaüstünde fiş sağda iki satır */
@media (min-width: 960px) {
  .gate-page { grid-template-areas: "pitch card" "more card"; grid-template-rows: auto 1fr; row-gap: 0; }
  .gate-pitch { grid-area: pitch; } .gate-card { grid-area: card; } .gate-more { grid-area: more; }
}
.gate-more .gate-steps { margin-top: 0; }
@media (min-width: 960px) { .gate-more .gate-steps { margin-top: 34px; } }
.acct-follows li > * { min-width: 0; }
.acct-follows .who > span { min-width: 0; }

/* Albüm: kare kapak; künyeden dizilen kapakta plak */
.cover.is-album { aspect-ratio: 1 / 1; border-radius: 4px; }
.cover.is-album::after { display: none; }
.cover.is-album .gen { padding: 10%; }
.cover.is-album .gen .gt { margin-top: 8%; position: relative; z-index: 1; -webkit-line-clamp: 3; }
.cover.is-album .gen .ga { position: relative; z-index: 1; }
.cover.is-album .gen .disc { position: absolute; right: -22%; bottom: -22%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 7%, transparent 7.5% 17%, color-mix(in srgb, currentColor 22%, transparent) 17.5% 18.5%, transparent 19% 30%, color-mix(in srgb, currentColor 16%, transparent) 30.5% 31.5%, transparent 32% 44%, color-mix(in srgb, currentColor 12%, transparent) 44.5% 45.5%, transparent 46%);
  border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); opacity: .7; }
.bookcase.small .cover.is-album .gen .gt { font-size: 12.5px; }
.cv-row .cover.is-album, .p-head .cover.is-album { aspect-ratio: 1 / 1; }

/* ==========================================================================
   Görselsiz eserler
   ========================================================================== */
.ms-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin: 0 0 12px; }
.ms-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13.5px; }
.ms-sort a { color: var(--ink-3); text-decoration: none; font-weight: 550; }
.ms-sort a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--kina); }

/* Özel onay kutusu: köşeli mühür */
.ms-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.ms-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ms-check span { position: relative; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--rule-2); background: var(--card); transition: background .15s, box-shadow .15s; flex-shrink: 0; }
.ms-check input:checked + span { background: var(--ink); box-shadow: none; }
.ms-check input:checked + span::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px; border: solid var(--isik); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ms-check input:indeterminate + span { background: var(--ink); box-shadow: none; }
.ms-check input:indeterminate + span::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2.5px; border-radius: 2px; background: var(--isik); }
.ms-check input:focus-visible + span { outline: 2px solid var(--kina); outline-offset: 2px; }
.ms-check input:disabled + span { opacity: .35; }

.ms-list { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--lift); overflow: hidden; }
.ms-row { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr); gap: 6px 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--rule); transition: background .15s; }
.ms-row:first-child { border-top: 0; }
.ms-row:hover, .ms-row.sel { background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.ms-row.sel { box-shadow: inset 3px 0 0 var(--kina); }
.ms-row .cover { width: 44px; border-radius: 2px 5px 5px 2px; box-shadow: 0 6px 12px -8px rgba(18,19,24,.6); }
.ms-row .cover.is-album { border-radius: 3px; }
.ms-row .gen { padding: 10% 8% 8% 14%; }
.ms-row .gen .gt { margin: 0; font-size: 7px; -webkit-line-clamp: 5; }
.ms-row.busy .cover { animation: mspulse 1s ease-in-out infinite; }
@keyframes mspulse { 50% { opacity: .45; } }
.ms-row.done .cover { outline: 2px solid var(--s-ok); outline-offset: 2px; }
.ms-main { min-width: 0; }
.ms-main b { display: block; font-size: 15.5px; letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.ms-main .m { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; overflow-wrap: anywhere; }
.ms-person { display: inline-block; margin-top: 3px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.ms-person:hover { color: var(--kina-ink); }
.ms-best, .ms-state, .ms-acts { grid-column: 3; }
.ms-best { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.ms-best img { width: 30px; height: 40px; object-fit: cover; border-radius: 3px; background: var(--paper-2); flex-shrink: 0; }
.ms-best small { display: block; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ms-state { display: grid; gap: 3px; min-width: 0; }
.ms-say { font-family: var(--mono); font-size: 11px; color: var(--ink-3); min-height: 0; overflow-wrap: anywhere; }
.ms-say:empty { display: none; }
.ms-say.good { color: var(--s-ok); }
.ms-say.bad { color: var(--kina-ink); }
.ms-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
@media (min-width: 1100px) {
  .ms-row { grid-template-columns: 22px 44px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr) auto; }
  .ms-best, .ms-state, .ms-acts { grid-column: auto; }
  .ms-acts { justify-content: flex-end; }
}

/* İndirme şeridi */
.ms-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.ms-dock[hidden] { display: none; }
.ms-dock-in {
  pointer-events: auto; max-width: 1080px; margin: 0 auto; background: var(--gece); color: var(--on-gece); border-radius: 22px; box-shadow: var(--lift-2);
  padding: 14px 16px; display: grid; gap: 12px; align-items: center; animation: msdock .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes msdock { from { transform: translateY(30px); opacity: 0; } }
@media (min-width: 900px) { .ms-dock-in { grid-template-columns: auto 1fr auto; gap: 20px; padding: 14px 18px 14px 22px; } .ms-progress { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .ms-dock { left: 256px; } }
.ms-dock-count b { display: block; font-size: 30px; font-weight: 750; letter-spacing: -.05em; line-height: 1; color: var(--isik); font-variant-numeric: tabular-nums; }
.ms-dock-count span { font-family: var(--mono); font-size: 11px; opacity: .7; }
.ms-dock-count { display: flex; align-items: baseline; gap: 10px; }
@media (min-width: 900px) { .ms-dock-count { display: block; } }
.ms-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ms-mode label { position: relative; cursor: pointer; }
.ms-mode input { position: absolute; opacity: 0; }
.ms-mode span { display: block; height: 100%; padding: 9px 12px; border-radius: 13px; background: rgba(255,255,255,.07); font-size: 13.5px; font-weight: 600; line-height: 1.25; transition: background .15s; }
.ms-mode small { display: block; font-weight: 400; font-size: 11.5px; opacity: .65; margin-top: 2px; }
.ms-mode input:checked + span { background: var(--on-gece); color: var(--gece); }
.ms-mode input:checked + span small { opacity: .75; }
.ms-mode input:focus-visible + span { outline: 2px solid var(--isik); outline-offset: 2px; }
.ms-run { display: flex; gap: 8px; align-items: center; }
.ms-run .btn-line { --fg: var(--on-gece); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.ms-run .btn-kina { flex: 1; justify-content: center; }
.ms-progress { display: grid; gap: 6px; }
.ms-progress[hidden] { display: none; }
.ms-progress .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.ms-progress .bar i { display: block; height: 100%; width: 0; background: var(--isik); border-radius: inherit; transition: width .3s; }
.ms-progress .mono { font-size: 11.5px; opacity: .8; }
body.has-dock .board { padding-bottom: 220px; }

/* ==========================================================================
   Ecdadımız
   ========================================================================== */
:root { --ec-isik: #b9d23f; --ec-cini: var(--cini); --ec-kina: var(--kina); --ec-gece: #2a2f6b; }
:root[data-theme="dark"] { --ec-gece: #8ea1ff; --ec-isik: var(--isik); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ec-gece: #8ea1ff; --ec-isik: var(--isik); } }

.ec-hero { position: relative; background: var(--gece); color: var(--on-gece); padding: 56px 0 84px; overflow: hidden; }
@media (min-width: 900px) { .ec-hero { padding: 96px 0 120px; } }
.ec-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background: repeating-linear-gradient(60deg, transparent 0 22px, #fff 22px 23px), repeating-linear-gradient(-60deg, transparent 0 22px, #fff 22px 23px);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.ec-hero .wrap { position: relative; }
.ec-hero .kicker { color: var(--isik); }
.ec-hero .kicker::before { background: var(--isik); }
.ec-hero h1 { font-size: clamp(46px, 8.5vw, 124px); line-height: .9; letter-spacing: -.065em; margin: 16px 0 24px; max-width: 12ch; }
.ec-hero h1 em { display: block; font-family: var(--read); font-weight: 500; font-style: italic; letter-spacing: -.035em; color: var(--isik); }
.ec-hero .lead { font-family: var(--read); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.45; max-width: 46ch; margin: 0; color: color-mix(in srgb, var(--on-gece) 82%, transparent); }
.ec-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 36px 0 0; }
.ec-stats div { display: flex; flex-direction: column-reverse; }
.ec-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.ec-stats dd { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 750; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.ec-rope { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 60px; }
.ec-rope path { fill: none; stroke: var(--kina); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }

/* Devir ipi */
.ec-nav { position: sticky; top: var(--top-h); z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.ec-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.ec-nav .wrap::-webkit-scrollbar { display: none; }
.ec-nav a { flex-shrink: 0; display: grid; grid-template-columns: 10px auto; column-gap: 9px; align-items: center; padding: 8px 14px; border-radius: 13px; text-decoration: none; color: var(--ink-2); transition: background .15s; }
.ec-nav a:hover, .ec-nav a.on { background: var(--paper-2); color: var(--ink); }
.ec-nav i { grid-row: span 2; width: 10px; height: 10px; border-radius: 3px; background: var(--ec); transform: rotate(45deg); }
.ec-nav b { font-size: 15px; letter-spacing: -.02em; }
.ec-nav span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }

.ec-body { padding-top: 24px; padding-bottom: 72px; }
.ec-era { padding-top: 56px; scroll-margin-top: calc(var(--top-h) + 64px); }
.ec-era-h { display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; align-items: start; padding-bottom: 22px; border-bottom: 2px solid var(--ink); margin-bottom: 22px; }
@media (min-width: 720px) { .ec-era-h { grid-template-columns: 48px 1fr auto; } }
.ec-era-h .n { font-family: var(--mono); font-size: 13px; color: var(--kina-ink); padding-top: 10px; }
.ec-era-h h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -.065em; line-height: .92; margin: 6px 0 10px; }
.ec-era-h h2::after { content: ""; display: inline-block; width: .22em; height: .22em; margin-left: .08em; border-radius: 2px; background: var(--ec); transform: rotate(45deg) translateY(-.05em); }
.ec-era-h p { margin: 0; font-family: var(--read); font-size: 18.5px; color: var(--ink-2); max-width: 52ch; }
.ec-era-m { grid-column: 2; display: flex; align-items: baseline; gap: 10px; }
@media (min-width: 720px) { .ec-era-m { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 10px; } }
.ec-era-m b { font-size: 40px; font-weight: 750; letter-spacing: -.05em; line-height: 1; color: var(--ec); }
.ec-era-m span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* Saltanat şeridi: her görev süresi orantılı bir dilim */
.ec-strip { position: relative; height: 54px; border-radius: 14px; background: var(--paper-2); overflow: hidden; margin: 6px 0 6px; }
.ec-strip a { position: absolute; top: 0; bottom: 0; display: flex; align-items: flex-end; padding: 0 0 7px 6px; text-decoration: none; background: var(--ec); color: #fff; box-shadow: inset -1.5px 0 0 var(--paper); transition: filter .15s, transform .15s; }
.ec-strip a:nth-child(even) { background: color-mix(in srgb, var(--ec) 72%, var(--gece)); }
.ec-strip a:hover { filter: brightness(1.12); z-index: 2; }
.ec-strip a.gap { background: repeating-linear-gradient(45deg, var(--paper-2) 0 5px, var(--rule-2) 5px 7px); color: var(--ink-3); }
.ec-strip span { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.ec-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-bottom: 18px; }

/* Silsile */
.ec-chain { list-style: none; margin: 0; padding: 0; position: relative; }
.ec-item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--top-h) + 80px);
}
.ec-item .ord { position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); background: var(--paper); padding: 0 3px; z-index: 1; transform: translate(-6px, -6px); }
.ec-item .medal { grid-row: span 4; position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 2px var(--ec), var(--lift); }
.ec-item .medal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--ec) 70%, transparent); }
.ec-item .medal span { font-size: 15px; font-weight: 750; letter-spacing: -.03em; color: var(--ec); }
/* halka zinciri: madalyonları birbirine bağlayan çizgi */
.ec-item::before { content: ""; position: absolute; left: 27px; top: -1px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--rule-2) 0 4px, transparent 4px 8px); z-index: -1; }
.ec-item:first-child::before { top: 40px; }
.ec-item .who h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.035em; line-height: 1.1; margin: 4px 0 2px; }
.ec-item .who h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--ec), var(--ec)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
.ec-item .who h3 a:hover { color: var(--kina-ink); }
.ec-item .lakap { font-family: var(--read); font-style: italic; font-size: 17px; color: var(--ink-2); }
.ec-item .term { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; }
.ec-item .yrs { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 500; }
.ec-item .len { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ec-item .meter { flex-basis: 100%; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; max-width: 240px; }
.ec-item .meter i { display: block; height: 100%; background: var(--ec); border-radius: inherit; }
.ec-item .note { margin: 6px 0 0; font-family: var(--read); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.ec-item .note:empty { display: none; }
.ec-item .go { margin-top: 8px; }
.ec-item.now .medal { background: var(--ec); }
.ec-item.now .medal span { color: var(--card); }
.ec-item:target { background: linear-gradient(90deg, color-mix(in srgb, var(--ec) 10%, transparent), transparent 70%); }
@media (min-width: 1000px) {
  .ec-item { grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.6fr) auto; align-items: center; gap: 18px; padding: 16px 0; }
  .ec-item .medal { grid-row: auto; }
  .ec-item .term { margin: 0; }
  .ec-item .note { margin: 0; font-size: 16px; }
  .ec-item .go { margin: 0; justify-self: end; }
}
.ec-gap { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
.ec-gap .yrs { font-family: var(--mono); font-size: 11px; text-align: center; padding-top: 3px; }
.ec-gap b { display: block; color: var(--ink-2); letter-spacing: -.02em; }
.ec-gap p { margin: 2px 0 0; font-family: var(--read); font-style: italic; }
.ec-gap > div { padding: 10px 14px; border: 1.5px dashed var(--rule-2); border-radius: 14px; }

.ec-foot { margin-top: 64px; padding: 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--lift); max-width: 760px; }
.ec-foot h2 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.ec-foot p { margin: 0 0 10px; font-family: var(--read); font-size: 16.5px; color: var(--ink-2); }
.ec-item .lakap { display: block; margin-top: 2px; font-size: 16px; }

/* Kimlik fişinde özgür lisanslı portre */
.id-portrait { margin: 0 0 6px; }
.id-portrait img { display: block; width: 100%; max-height: 420px; object-fit: cover; object-position: 50% 20%; border-radius: 14px; background: var(--paper-2); }
.id-portrait figcaption { display: grid; gap: 2px; padding: 10px 2px 0; }
.id-portrait figcaption b { font-size: 16px; letter-spacing: -.02em; }
.id-portrait figcaption a { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-decoration: none; overflow-wrap: anywhere; }
.id-portrait figcaption a:hover { color: var(--kina-ink); }
/* Ecdad madalyonunda portre */
.ec-item .medal img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.ec-item .medal.has-img::before { display: none; }

/* ==========================================================================
   Anma bölümleri (Atatürk · Fatih). Her ikisi de temadan bağımsız koyu zeminlidir.
   ========================================================================== */
.tr { position: relative; overflow: hidden; color: #f3efe6; isolation: isolate; }
.tr-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.tr-kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.tr-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0; font-weight: 650; font-size: 15px; cursor: pointer; transition: transform .15s; }
.tr-btn:hover { transform: translateY(-1px); }
.tr-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; cursor: pointer; }
.tr-link:hover { opacity: 1; }
.p-hero.after-tribute { padding-top: 34px; }
.p-name.p-name-sm { font-size: clamp(26px, 3vw, 34px) !important; letter-spacing: -.035em; margin: 6px 0 12px; }

/* ---------- Atatürk: gece ve al ---------- */
.tr-ata { --al: #e30a17; background: #0b0d1c; padding: 48px 0 56px; }
@media (min-width: 900px) { .tr-ata { padding: 84px 0 80px; } }
.tr-ata-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(227, 10, 23, .22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(180deg, #0b0d1c, #11142a 60%, #0b0d1c);
}
.tr-ata-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.35) .7px, transparent .8px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 70%); }
.tr-ata-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .tr-ata-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.tr-ata .tr-kicker { color: #ff5a62; }
.tr-ata-name { margin: 18px 0 0; font-size: clamp(50px, 9vw, 132px); line-height: .86; letter-spacing: -.065em; font-weight: 800; }
.tr-ata-name span { display: block; font-family: var(--read); font-weight: 500; font-style: italic; letter-spacing: -.035em; font-size: .52em; color: #d8d2c4; margin-bottom: .1em; }
.tr-ata-name b { font-weight: 800; }
.tr-ata-years { display: flex; align-items: center; gap: 16px; margin: 20px 0 0; font-family: var(--mono); font-size: 15px; letter-spacing: .12em; color: #d8d2c4; }
.tr-ata-years i { flex: 0 0 72px; height: 1.5px; background: var(--al); }
.tr-ata-lead { margin: 22px 0 0; max-width: 48ch; font-family: var(--read); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: #cfc9bb; }
.tr-ata-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.tr-ata .tr-btn { background: var(--al); color: #fff; box-shadow: 0 14px 30px -14px rgba(227,10,23,.8); }
.tr-ata-portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); }
.tr-ata-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 220px 220px 18px 18px; filter: grayscale(1) contrast(1.08); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.tr-ata-portrait::before { content: ""; position: absolute; inset: -12px -12px auto auto; width: 70%; height: 70%; border-radius: 0 200px 0 0; border-top: 2px solid var(--al); border-right: 2px solid var(--al); opacity: .7; pointer-events: none; }
.tr-ata-portrait figcaption a { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.45); text-decoration: none; }
.tr-ata-clock { position: absolute; left: -18px; bottom: 48px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(11,13,28,.86); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 40px -20px #000; }
@media (max-width: 559px) { .tr-ata-clock { left: 10px; bottom: 44px; } }
.tr-ata-clock svg { width: 58px; height: 58px; }
.tr-ata-clock .rim { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; }
.tr-ata-clock .tick { stroke: rgba(255,255,255,.6); stroke-width: 2; stroke-linecap: round; }
.tr-ata-clock .hour { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.tr-ata-clock .min { stroke: var(--al); stroke-width: 2.5; stroke-linecap: round; }
.tr-ata-clock .pin { fill: var(--al); }
.tr-ata-clock span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #cfc9bb; line-height: 1.3; }
.tr-ata-clock b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -.03em; color: #fff; }

.tr-ata-quotes { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 800px) { .tr-ata-quotes { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tr-ata-quotes blockquote { margin: 0; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tr-ata-quotes p { margin: 0; font-family: var(--read); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: #fff; }
.tr-ata-quotes cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #ff5a62; }

.tr-miles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1.5px solid rgba(255,255,255,.18); }
.tr-miles::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .tr-miles { grid-auto-columns: minmax(200px, 38%); } }
@media (min-width: 1100px) { .tr-miles { grid-auto-flow: row; grid-template-columns: repeat(9, 1fr); overflow: visible; } }
.tr-miles li { position: relative; scroll-snap-align: start; padding: 22px 16px 4px 0; }
.tr-miles li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 2px; background: #0b0d1c; box-shadow: inset 0 0 0 2px var(--al); transform: rotate(45deg); }
.tr-miles li.end::before { background: var(--al); }
.tr-miles time { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #ff5a62; }
.tr-miles b { display: block; margin: 6px 0 4px; font-size: 15.5px; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.tr-miles span { display: block; font-size: 13px; color: #a9a396; line-height: 1.4; }

.tr-silence { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(5,6,14,.94); color: #f3efe6; animation: trfade .6s ease both; }
.tr-silence[hidden] { display: none; }
@keyframes trfade { from { opacity: 0; } }
.tr-silence .tr-kicker { color: #ff5a62; justify-content: center; }
.tr-silence-n { margin: 18px 0 10px; font-size: clamp(90px, 18vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.tr-silence-t { margin: 0 auto 26px; max-width: 34ch; font-family: var(--read); font-style: italic; font-size: 20px; color: #cfc9bb; }

/* ---------- Fatih: lacivert, altın ve İstanbul silueti ---------- */
.tr-fatih { --altin: #d4ae62; --lal: #9e1b32; background: #0d1530; padding: 48px 0 0; }
@media (min-width: 900px) { .tr-fatih { padding-top: 80px; } }
.tr-fatih-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 20% 30%, rgba(212,174,98,.16), transparent 70%), linear-gradient(180deg, #0d1530, #13204a 70%); }
/* sekiz köşeli yıldız geçmesi */
.tr-fatih-bg::after { content: ""; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d4ae62' stroke-width='1.2'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 32h14M50 32h14M32 0v14M32 50v14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); }
.tr-fatih-grid { display: grid; gap: 32px; align-items: center; padding-bottom: 40px; }
@media (min-width: 960px) { .tr-fatih-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.tr-fatih-portrait { margin: 0; justify-self: center; width: min(100%, 380px); }
.tr-fatih-portrait .arch { position: relative; padding: 10px; border-radius: 200px 200px 16px 16px; background: linear-gradient(160deg, var(--altin), #8a6a2e 60%, var(--altin)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.tr-fatih-portrait .arch::after { content: ""; position: absolute; inset: 4px; border-radius: 196px 196px 13px 13px; border: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.tr-fatih-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 190px 190px 10px 10px; }
.tr-fatih-portrait figcaption a { display: block; margin-top: 10px; text-align: center; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.45); text-decoration: none; }
.tr-fatih .tr-kicker { color: var(--altin); }
.tr-fatih-name { margin: 16px 0 0; font-size: clamp(46px, 7.6vw, 108px); line-height: .9; letter-spacing: -.055em; font-weight: 800; color: #fff; }
.tr-fatih-sub { margin: 14px 0 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--altin); }
.tr-fatih-lead { margin: 20px 0 0; max-width: 50ch; font-family: var(--read); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: #d6d2c6; }
.tr-fatih-conquest { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 34px; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(212,174,98,.35); }
@media (max-width: 519px) { .tr-fatih-conquest { grid-template-columns: 1fr 1fr; } .tr-fatih-conquest div:first-child { grid-column: 1 / -1; } }
.tr-fatih-conquest div { display: flex; flex-direction: column-reverse; }
.tr-fatih-conquest dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.tr-fatih-conquest dd { margin: 0 0 4px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--altin); }
.tr-fatih-conquest small { font-size: .45em; font-weight: 600; letter-spacing: 0; color: #d6d2c6; margin-left: 4px; }
.tr-fatih-note { margin: 16px 0 0; font-family: var(--read); font-style: italic; font-size: 16.5px; color: #b8b3a6; }
.tr-skyline { display: block; width: 100%; height: clamp(60px, 9vw, 120px); margin-bottom: -1px; }
.tr-skyline path { fill: #0a1027; }
.tr-fatih-lower { background: #0a1027; padding: 24px 0 64px; }
.tr-fatih-quote { margin: 0 auto; max-width: 860px; text-align: center; }
.tr-fatih-quote p { margin: 0; font-family: var(--read); font-style: italic; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.35; color: #fff; }
.tr-fatih-quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--altin); }
.tr-fatih-quote::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 18px; background: var(--altin); transform: rotate(45deg); box-shadow: 0 0 0 5px #0a1027, 0 0 0 6px rgba(212,174,98,.5); }
.tr-reign { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 60%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid rgba(212,174,98,.35); }
.tr-reign::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .tr-reign { grid-auto-columns: minmax(170px, 30%); } }
@media (min-width: 1100px) { .tr-reign { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); row-gap: 8px; overflow: visible; } }
.tr-reign li { position: relative; scroll-snap-align: start; padding: 20px 16px 10px 0; }
.tr-reign li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: #0a1027; box-shadow: inset 0 0 0 1.5px var(--altin); transform: rotate(45deg); }
.tr-reign time { font-family: var(--mono); font-size: 12px; color: var(--altin); }
.tr-reign b { display: block; margin: 6px 0 3px; font-size: 16px; letter-spacing: -.02em; color: #fff; }
.tr-reign span { display: block; font-size: 13px; line-height: 1.4; color: #a7a397; }
.tr-reign li.key::before { background: var(--lal); box-shadow: 0 0 0 3px rgba(158,27,50,.35), inset 0 0 0 1.5px var(--altin); }
.tr-reign li.key b { color: var(--altin); }
.tr-fatih-works { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 720px) { .tr-fatih-works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tr-fatih-works { grid-template-columns: repeat(4, 1fr); } }
.tr-fatih-works div { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(212,174,98,.22); }
.tr-fatih-works b { font-size: 18px; letter-spacing: -.02em; color: var(--altin); }
.tr-fatih-works p { margin: 8px 0 0; font-family: var(--read); font-size: 15.5px; line-height: 1.5; color: #cfcabd; }

/* Anma: mobil düzen ve tekrar eden portre */
@media (max-width: 959px) {
  .tr-ata-portrait { width: min(78%, 340px); }
  .tr-fatih-portrait { width: min(70%, 300px); order: 2; }
  .tr-fatih-text { order: 1; }
}
.p-hero.after-tribute .id-portrait { display: none; }

/* Anma sayfalarında üst çubuk ve yol satırı anma zemininin rengini alır:
   bu iki alanın tokenları yerelde koyu değerlerle yeniden tanımlanır. */
body:has(.tr-page-ata) { --tr-top: #0b0d1c; --tr-accent: #ff5a62; }
body:has(.tr-page-fatih) { --tr-top: #0d1530; --tr-accent: #d4ae62; }
body:has(.tr-page) .top,
body:has(.tr-page) main > .wrap:first-child {
  --paper: var(--tr-top); --paper-2: rgba(255,255,255,.08); --card: rgba(255,255,255,.06);
  --ink: #f3efe6; --ink-2: #d6d0c3; --ink-3: #9d988c; --rule: rgba(255,255,255,.1); --rule-2: rgba(255,255,255,.2);
  --kina-ink: var(--tr-accent);
  color: var(--ink); color-scheme: dark;
}
body:has(.tr-page) .top { background: var(--tr-top); border-bottom-color: rgba(255,255,255,.08); }
body:has(.tr-page-ata) { background: #0b0d1c; } body:has(.tr-page-fatih) { background: #0d1530; }
body:has(.tr-page) main { background: var(--paper); }
body:has(.tr-page) .navpill a[aria-current="page"] { background: rgba(255,255,255,.12); box-shadow: none; }
body:has(.tr-page) main > .wrap:first-child { background: var(--tr-top); box-shadow: 0 0 0 100vmax var(--tr-top); clip-path: inset(0 -100vmax); padding-bottom: 2px; }
body:has(.tr-page) main > .wrap:first-child + .tr { margin-top: -1px; }

/* ==========================================================================
   Anma sayfası gövdesi: tüm sayfa anma zemininde devam eder
   ========================================================================== */
.tr-page { --tr-bg: #0b0d1c; --tr-bg-2: #11142a; --tr-acc: #ff5a62; --tr-acc-solid: #e30a17; --tr-text: #f3efe6; --tr-dim: #b9b3a6;
  background: var(--tr-bg); color: var(--tr-text); }
.tr-page-fatih { --tr-bg: #0a1027; --tr-bg-2: #0f1838; --tr-acc: #d4ae62; --tr-acc-solid: #d4ae62; --tr-dim: #b8b3a6; }
body:has(.tr-page) main { background: transparent; }
body:has(.tr-page) .foot {
  --paper: var(--tr-top); --paper-2: rgba(255,255,255,.06); --ink: #f3efe6; --ink-2: #d6d0c3; --ink-3: #9d988c; --rule: rgba(255,255,255,.1); --rule-2: rgba(255,255,255,.2);
  background: var(--tr-top); color: var(--ink);
}
.trx { padding: 72px 0; border-top: 1px solid rgba(255,255,255,.07); }
@media (min-width: 900px) { .trx { padding: 104px 0; } }
.trx .tr-kicker { color: var(--tr-acc); }
.trx-h { margin: 14px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.05em; color: #fff; max-width: 18ch; }
.trx-p { margin: 18px 0 0; max-width: 56ch; font-family: var(--read); font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.6; color: var(--tr-dim); }

/* Hayatı: solda sabit bölüm listesi, sağda bölümler */
.trx-life { display: grid; gap: 40px; }
@media (min-width: 1000px) { .trx-life { grid-template-columns: 250px minmax(0, 1fr); gap: 72px; } }
.trx-life-nav ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
@media (min-width: 1000px) { .trx-life-nav { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; } }
@media (max-width: 999px) { .trx-life-nav ol { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; } .trx-life-nav li { flex-shrink: 0; } }
.trx-life-nav a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--tr-text); font-weight: 600; font-size: 15px; letter-spacing: -.01em; background: rgba(255,255,255,.03); }
.trx-life-nav a:hover { background: rgba(255,255,255,.08); }
.trx-life-nav a span { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--tr-acc); margin-bottom: 2px; }
.trx-chapter { margin-top: 48px; scroll-margin-top: calc(var(--top-h) + 24px); }
.trx-chapter header { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: end; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 18px; }
.trx-chapter .n { font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--tr-acc); }
.trx-chapter time { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--tr-dim); }
.trx-chapter h3 { margin: 4px 0 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; color: #fff; }
.trx-chapter p { margin: 0 0 14px; max-width: 64ch; font-family: var(--read); font-size: clamp(18px, 1.7vw, 20.5px); line-height: 1.65; color: #ddd7c9; }

/* Devrimler */
.trx-reforms { background: linear-gradient(180deg, var(--tr-bg), var(--tr-bg-2)); }
.trx-reform-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border-radius: 22px; overflow: hidden; }
.trx-reform-grid li { background: var(--tr-bg); padding: 22px 20px 24px; min-height: 124px; display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.trx-reform-grid li:hover { background: #151936; }
.trx-reform-grid time { font-family: var(--mono); font-size: 11.5px; color: var(--tr-acc); }
.trx-reform-grid b { font-size: 19px; letter-spacing: -.025em; line-height: 1.2; color: #fff; }

/* Gençliğe Hitabe */
.trx-hitabe { text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(227,10,23,.18), transparent 70%), var(--tr-bg); }
.trx-hitabe .tr-kicker { justify-content: center; }
.trx-hitabe blockquote { margin: 28px auto 0; max-width: 980px; }
.trx-hitabe blockquote p { margin: 0; font-family: var(--read); font-style: italic; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.trx-hitabe blockquote p.end { margin-top: 26px; font-size: clamp(20px, 2.4vw, 30px); color: var(--tr-acc); }
.trx-hitabe .trx-p { margin: 22px auto 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

/* Anıtkabir */
.trx-anit-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .trx-anit-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.trx-anit-art { width: 100%; max-width: 460px; }
.trx-anit-art path { fill: none; stroke: var(--tr-acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Kuşatma şeridi */
.trx-siege { position: relative; height: 104px; margin: 26px 0 8px; }
.trx-siege .bar { position: absolute; left: 0; right: 0; top: 10px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.trx-siege .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(212,174,98,.25), var(--tr-acc)); }
.trx-siege .pt { position: absolute; top: 0; transform: translateX(-4px); display: grid; gap: 2px; max-width: 150px; padding-top: 30px; }
.trx-siege .pt::before { content: ""; position: absolute; top: 5px; left: 0; width: 14px; height: 14px; border-radius: 3px; background: var(--tr-bg); box-shadow: inset 0 0 0 2px var(--tr-acc); transform: rotate(45deg); }
.trx-siege .pt.last { transform: translateX(-100%); text-align: right; }
.trx-siege .pt.last::before { left: auto; right: 0; background: var(--tr-acc); }
.trx-siege .pt b { font-size: 14px; color: #fff; letter-spacing: -.01em; }
.trx-siege .pt small { font-size: 12px; color: var(--tr-dim); line-height: 1.3; }
.trx-siege .pt:nth-child(4) { padding-top: 62px; }
@media (max-width: 640px) {
  .trx-siege { height: auto; display: grid; gap: 12px; padding-top: 28px; }
  .trx-siege .pt, .trx-siege .pt.last, .trx-siege .pt:nth-child(4) { position: relative; left: 0 !important; transform: none; text-align: left; padding: 0 0 0 26px; max-width: none; }
  .trx-siege .pt::before, .trx-siege .pt.last::before { top: 3px; left: 0; right: auto; }
}

/* Kapanış */
.trx-foot { background: var(--tr-bg-2); }
.trx-foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .trx-foot-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.trx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.trx-acts .follow-btn { --bg: var(--tr-acc-solid); --fg: #fff; }
.tr-page-fatih .trx-acts .follow-btn { --fg: #0a1027; }
.trx-sources p { margin: 14px 0 0; font-family: var(--read); font-size: 16.5px; line-height: 1.6; color: var(--tr-dim); }
.trx-sources a { color: #fff; }
.trx-chain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.trx-chain a { display: grid; gap: 4px; padding: 20px; border-radius: 18px; text-decoration: none; color: #fff; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .15s; }
.trx-chain a:hover { background: rgba(255,255,255,.08); }
.trx-chain a.next { text-align: right; }
.trx-chain small { font-family: var(--mono); font-size: 10.5px; color: var(--tr-acc); }
.trx-chain b { font-size: clamp(18px, 2vw, 24px); letter-spacing: -.03em; }
.trx-chain span { font-family: var(--mono); font-size: 11px; color: var(--tr-dim); }
.trx-life > *, .trx-foot-grid > *, .trx-anit-grid > * { min-width: 0; }
.trx-siege { height: 140px; }
.trx-siege .pt:nth-child(4) { padding-top: 84px; }
.trx-siege .pt.last { min-width: 150px; }
@media (max-width: 640px) { .trx-siege { height: auto; } .trx-siege .pt:nth-child(4) { padding-top: 0; } .trx-siege .pt.last { min-width: 0; } }


.tr-silence-acts { display: flex; justify-content: center; gap: 28px; }

/* Rozet: özgür lisanslı portre */
.mg.has-img { overflow: hidden; background: var(--paper-2); padding: 0; box-shadow: inset 0 0 0 1px var(--rule); }
.mg.has-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 20%; display: block; }

/* ==========================================================================
   Portre masası
   ========================================================================== */
.pt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pt-card .pt-open { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 4px; width: 100%; padding: 16px 12px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--lift); text-align: center; transition: transform .15s, box-shadow .15s; }
.pt-card .pt-open:hover { transform: translateY(-2px); }
.pt-card.sel .pt-open { box-shadow: inset 0 0 0 2px var(--kina), var(--lift); }
.pt-card .pt-open:focus-visible { outline: 2px solid var(--kina); outline-offset: 3px; }
.pt-img { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); color: var(--ink-3); font-weight: 750; font-size: 24px; letter-spacing: -.03em; box-shadow: inset 0 0 0 2px var(--rule-2); }
.pt-img.on { box-shadow: 0 0 0 3px var(--s-ok); }
.pt-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pt-img.big { width: 120px; height: 120px; font-size: 32px; flex-shrink: 0; }
.pt-card b { margin-top: 8px; font-size: 14.5px; letter-spacing: -.015em; line-height: 1.2; overflow-wrap: anywhere; }
.pt-card small { font-size: 12px; color: var(--ink-3); }
.pt-card .pt-src { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.pt-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.pt-head h3 { font-size: 20px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.pt-head .m { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; overflow-wrap: anywhere; }
.pt-search { display: flex; gap: 10px; align-items: end; margin-bottom: 14px; }
.pt-search .line-input { flex: 1; font-size: 15px; padding: 6px 0 8px; }
.pt-cands .cover { aspect-ratio: 3 / 4; }
.pt-cands .cand.nonfree { opacity: .45; cursor: not-allowed; }
.pt-cands .sc.no { background: var(--kina); color: #fff; }
.pt-cands .sc { max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-form { display: grid; gap: 8px; }
.pt-form .line-input { font-size: 14.5px; padding: 6px 0 8px; }
.pt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-note { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* Dalgalanan bayrak (açılış arka planı) */
.tr-flag { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(0,0,0,.4) 35%, #000 62%), linear-gradient(180deg, #000 55%, transparent 75%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(0,0,0,.4) 35%, #000 62%); }
.tr-ata-bg::after { z-index: 1; }
/* Şeffaf arka planlı portre: kırpılmadan, kemersiz, gölgeyle */
.tr-ata-portrait.cutout { width: min(100%, 520px); align-self: end; }
.tr-ata-portrait.cutout::before { display: none; }
.tr-ata-portrait.cutout img { aspect-ratio: auto; height: auto; max-height: min(78vh, 680px); width: 100%; object-fit: contain; object-position: 50% 100%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.tr-ata-portrait.cutout .tr-ata-clock { left: 0; bottom: 60px; }
@media (max-width: 959px) { .tr-ata-portrait.cutout { width: min(88%, 420px); } }
