/* ============ SİSTEM — HAREKÂT MASASI · 3D Mühür Hattı ============
   Sözleşme: varsayılan durum = TAMAMLANMIŞ SON KARE (JS'siz sayfa statik şema
   seti olarak eksiksiz okunur). Başlangıç halleri YALNIZ
   @media (prefers-reduced-motion: no-preference) içindeki
   html.anim .station:not(.live) kuralları altında yaşar; .live gelince her
   sahne kendi delay zinciriyle son karesine akar.
   Hareket grameri (6 fiil): BOOT(var oluş) · SWIPE(yol verme) · SLAM(hüküm) ·
   SCAN(okunma) · LAND(kayda dönüşme) · PULSE(canlılık).
   Safari kuralları: preserve-3d atasında filter/backdrop/overflow yok;
   glow yalnız leaf'te; fixed katmanlar body'nin doğrudan çocuğu. */

:root {
  --z-birth: -520px; --z-body: -160px; --z-verdict: 140px; --slam-from: 640px;
  --ease-boot: cubic-bezier(.16, 1, .3, 1);
  --ease-slam: cubic-bezier(.34, 1.4, .5, 1);
  --ease-swipe: cubic-bezier(.5, 0, .2, 1);
}

.s-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); position: relative; z-index: 2; }

/* ---------- kalıcı katmanlar (hepsi body çocuğu) ---------- */
.masa-zemin { position: fixed; left: 50%; bottom: -6%; width: 240vw; height: 62vh; z-index: 1;
  transform: translateX(-50%) rotateX(74deg); transform-origin: bottom center; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(231, 180, 76, .08) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(231, 180, 76, .06) 0 1px, transparent 1px 80px);
  -webkit-mask-image: linear-gradient(to top, #000 0, transparent 76%);
  mask-image: linear-gradient(to top, #000 0, transparent 76%);
  opacity: .26; transition: opacity 1s ease;
  animation: zemin-akis 7s linear infinite; }
@keyframes zemin-akis { to { background-position: 0 80px, 80px 0; } }

.masa-hud { position: fixed; inset: 0; z-index: 30; pointer-events: none; transition: opacity 1s ease; }
.masa-hud .br { position: absolute; width: 22px; height: 22px; opacity: .5; }
.masa-hud .br.tl { left: 10px; top: 64px; border-left: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); }
.masa-hud .br.tr { right: 10px; top: 64px; border-right: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); }
.masa-hud .br.bl { left: 10px; bottom: 10px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); }
.masa-hud .br.brr { right: 10px; bottom: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); }
.masa-hud .hud-ticker { position: absolute; right: 44px; top: 70px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .12em; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--confirm);
  box-shadow: 0 0 8px rgba(0, 192, 139, .8); animation: st-pulse 2.4s infinite; }

#yolcu { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 31; display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 23, 48, .85); border: 1px solid var(--line); transition: opacity 1s ease; }
#yolcu .y-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--gold); }
#yolcu i { width: 9px; height: 9px; border-radius: 50%; border: 1.2px solid var(--line);
  background: radial-gradient(circle, var(--gold) 0 46%, transparent 48%);
  border-color: rgba(231, 180, 76, .7); transition: background .4s, border-color .4s, box-shadow .4s; }
#yolcu i.stamped { animation: yolcu-pop .5s var(--ease-slam); }
@keyframes yolcu-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }

.mob-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40;
  background: linear-gradient(90deg, var(--gold), var(--confirm));
  transform: scaleX(var(--progress, 0)); transform-origin: left; display: none; }

.topnav a.active { color: var(--gold); }

/* dim: plaka sahnesi ışıkları kısar */
html.dim .masa-zemin { opacity: .1; }
html.dim .masa-hud, html.dim #yolcu { opacity: .35; }

/* ---------- Mühür Rayı (desktop scroll-spy) ---------- */
.ray { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: 22px; }
.ray a { display: flex; align-items: center; gap: 9px; flex-direction: row-reverse;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); transition: color .25s; }
.ray a i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; position: relative; transition: border-color .3s, box-shadow .3s; flex: none; }
.ray a.stamped { color: var(--ink-2); }
.ray a.stamped i { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 44%, transparent 46%);
  box-shadow: 0 0 10px rgba(231, 180, 76, .45); }
.ray a span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.ray:hover a span, .ray a.stamped span { opacity: 1; transform: none; }

/* ---------- S0 HERO ---------- */
.s-hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 60px; position: relative; z-index: 2; }
.s-title { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(34px, 5.4vw, 66px); margin: 0 0 26px; display: flex; flex-direction: column; gap: 2px;
  perspective: 1200px; }
.s-title .t-line { display: block; }
.s-title .c { color: var(--confirm); }
.s-title .g { color: var(--gold); }
.s-lead { max-width: 62ch; color: var(--ink-2); font-size: clamp(15.5px, 1.6vw, 17.5px); margin: 0 0 30px; }

.hero-holo { perspective: 1200px; perspective-origin: 50% 30%; max-width: 640px; }
.dossier { margin: 0 0 14px; position: relative; background: linear-gradient(160deg, #F5EDDA, #EFE5CC);
  border-radius: 10px; padding: 20px 22px 16px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  border-top: 3px solid #C79A3A; transform: rotate(-.6deg) rotateX(6deg); }
.dossier blockquote { margin: 0 0 12px; color: #1a2540; font-family: var(--display); font-weight: 700;
  font-size: clamp(16px, 1.9vw, 20px); line-height: 1.4; }
.dossier figcaption { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.d-pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: #6b5518;
  border: 1px solid rgba(107, 85, 24, .45); border-radius: 999px; padding: 3px 10px; }
.d-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: #8a7434; }
.d-stamp { position: absolute; right: 16px; top: 10px; width: 58px; height: 58px; }
.d-stamp svg { width: 100%; height: 100%; }
.ds-t { fill: #00A277; font-family: var(--mono); font-size: 9px; text-anchor: middle; letter-spacing: .06em; }
.d-bloom { position: absolute; inset: -8px; border-radius: 12px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 192, 139, .3), transparent 70%); opacity: 0; }
.s-note { max-width: 60ch; color: var(--muted); font-size: 14px; margin: 0 0 34px; }

.statusline { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 2px; max-width: 720px; }
.statusline .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--confirm);
  margin-right: 8px; box-shadow: 0 0 8px rgba(0, 192, 139, .8); animation: st-pulse 2.4s infinite; }
.scanline { position: absolute; top: 0; bottom: 0; left: -3px; width: 2px; opacity: 0;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px rgba(231, 180, 76, .7); }
@keyframes st-pulse { 50% { opacity: .35 } }
@keyframes scan-sweep { 0% { left: -3px; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.s-hero .scrollcue { letter-spacing: .14em; }

/* ---------- istasyon iskeleti ---------- */
.station { position: relative; z-index: 2; padding: clamp(64px, 9vw, 120px) 0; }
figure.station { padding: 0; }
.station .kicker { margin-bottom: 14px; }
.station h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: -.02em; margin: 0 0 14px; max-width: 24ch; }
.station > .s-wrap > p { color: var(--ink-2); max-width: 62ch; margin: 0 0 34px; font-size: 16px; }

.s-ist .s-wrap { border-left: 2px solid transparent;
  background: linear-gradient(var(--confirm) calc(var(--fill, 0) * 100%), var(--line) 0) left / 2px 100% no-repeat;
  padding-left: clamp(26px, 3vw, 40px); }

.fig { margin: 0 0 26px; background: linear-gradient(180deg, rgba(15, 33, 69, .42), rgba(11, 25, 54, .28));
  border: 1px solid var(--line); border-radius: 16px; padding: clamp(14px, 2.4vw, 30px); }
.fig svg { width: 100%; height: auto; display: block; }
.figcap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--muted);
  margin-top: 12px; text-align: center; }

/* 3D sahne kabı */
.fig.holo { overflow: visible; perspective: 1400px; perspective-origin: 50% 38%; contain: layout; }
.fig.holo .stage { position: relative; transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(var(--px, 0deg)) rotateX(var(--py, 0deg)); transition: transform .25s ease; }
.fig.holo .stage > * { position: absolute; }
.fig.holo .stage svg { position: static; }

/* lejant — sahne altında düz ekran-uzayında, kümülatif yanar */
.lejant { list-style: none; counter-reset: lj; margin: 18px 0 0; padding: 12px 14px; display: flex;
  flex-direction: column; gap: 7px; background: rgba(8, 18, 38, .55); border-radius: 10px;
  border: 1px solid rgba(32, 51, 92, .6); position: relative; z-index: 3; }
.lejant li { counter-increment: lj; font-family: var(--mono); font-size: 12px; letter-spacing: .05em;
  color: var(--ink-2); transition: opacity .5s ease; }
.lejant li::before { content: counter(lj, decimal-leading-zero) " · "; color: var(--gold); }
.lejant[start="6"] { counter-reset: lj 5; }

/* svg sözlüğü (kalan SVG parçaları) */
.lbl { fill: var(--ink-2); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.lbl.sm { font-size: 11.5px; fill: var(--muted); }
.lbl.sm.c { fill: var(--confirm); }
.frame { fill: rgba(15, 33, 69, .55); stroke: var(--line); stroke-width: 1.5; }
.drawn { stroke-dasharray: 1; stroke-dashoffset: 0; }
.live .drawn { transition: stroke-dashoffset .8s ease-out; }

/* ---------- ortak hologram parçaları ---------- */
.panel { background: linear-gradient(160deg, rgba(231, 180, 76, .08), rgba(10, 30, 54, .38));
  border: 1px solid rgba(231, 180, 76, .35); border-radius: 12px; padding: 10px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); }
.p-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted);
  display: flex; align-items: center; gap: 7px; justify-content: center; padding-top: 8px; }
.p-lbl.top { justify-content: flex-start; padding: 0 0 8px 2px; color: var(--gold); }
.p-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--miss); animation: st-pulse 2s infinite; }

.cip { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: #1a2540;
  background: linear-gradient(160deg, #F5EDDA, #EFE5CC); border-radius: 7px; padding: 9px 13px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); white-space: nowrap; }
.cip b { font-family: var(--display); font-weight: 900; font-size: 16px; color: #0a5a44; margin-left: 6px; }

/* fiil animasyonları */
@keyframes v-slam { 0% { opacity: 0; transform: var(--pos, translate(0, 0)) translateZ(var(--slam-from)) scale(2.1) rotate(-14deg); }
  100% { opacity: 1; transform: var(--pos, translate(0, 0)) translateZ(var(--slam-z, 0px)) scale(1) rotate(0); } }
@keyframes v-bloom { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ============ SAHNELER ============ */

/* ---- S0 hero cue'ları ---- */
.live .scanline { animation: scan-sweep 1.2s ease-in-out .8s forwards; }
.live .d-stamp { animation: v-slam .55s var(--ease-slam) 1.2s backwards; }
.live .d-bloom { animation: v-bloom .6s ease-out 1.45s backwards; }
.live .statusline .st { transition: opacity .5s ease; }

/* ---- S1 pano ---- */
.stage.s1 { transform-origin: 50% 60%; }
.fig.holo .stage.s1 { transform: rotateX(14deg) rotateY(var(--px, 0deg)); }
.stage.s1 svg { position: static; }
.d1-rail { stroke: var(--line); stroke-width: 2; }
.d1-st rect { fill: rgba(15, 33, 69, .55); stroke: var(--line); stroke-width: 1.5; transition: stroke .5s; transition-delay: calc(var(--i) * .18s); }
.d1-num { fill: var(--gold); font-family: var(--mono); font-size: 22px; text-anchor: middle; font-weight: 600; }
.d1-name { fill: var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-anchor: middle; }
.live .d1-st rect { stroke: rgba(231, 180, 76, .55); }
.d1-pulse, .d1-pulse-v { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(231, 180, 76, .8)); }
.d1-pulse { animation: d1run 8s linear infinite; }
.d1-pulse-v { animation: d1runv 8s linear infinite; }
@keyframes d1run  { to { transform: translateX(920px) } }
@keyframes d1runv { to { transform: translateY(920px) } }
.fig svg.d1-mob { display: none; }
.pano-cap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
.pano-cap div { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.pano-cap b { display: block; font-family: var(--mono); font-weight: 600; font-size: 11px;
  letter-spacing: .14em; color: var(--gold); margin-bottom: 6px; }

/* ---- S2 SÖZ ---- */
.stage.s2 { height: 350px; }
.s2 .panel.tv { left: 3%; top: 24px; width: min(310px, 40%); transform: translateZ(var(--z-body)) rotateY(6deg); }
.d2-wave rect { fill: var(--steel); opacity: .75; }
.s2 .tel { left: calc(3% + min(310px, 40%)); top: 150px; width: 9%; height: 2px; transform-origin: left;
  background: linear-gradient(90deg, var(--gold), rgba(231, 180, 76, .3));
  box-shadow: 0 0 10px rgba(231, 180, 76, .6); }
.zabit { right: 4%; top: 40px; width: min(380px, 46%); background: linear-gradient(160deg, #F5EDDA, #EFE5CC);
  border-radius: 10px; border-top: 3px solid #C79A3A; padding: 18px 18px 14px;
  box-shadow: 0 26px 56px -22px rgba(0, 0, 0, .7); transform: translateZ(40px) rotateY(-3deg) rotate(-.8deg);
  display: flex; flex-direction: column; gap: 8px; }
.z-q { color: #1a2540; font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.5vw, 16px); line-height: 1.4; }
.z-src { font-family: var(--mono); font-size: 10px; letter-spacing: .07em; color: #8a7434; }
.z-stamp { position: absolute; right: 12px; bottom: 10px; width: 52px; height: 52px; }
.z-stamp svg { width: 100%; height: 100%; }
.s2 .ghost-chip { right: 10%; top: 300px; font-family: var(--mono); font-size: 10.5px; color: var(--gold);
  border: 1px dashed rgba(231, 180, 76, .5); border-radius: 999px; padding: 4px 10px; opacity: 0; }
@keyframes ghost-swipe { 0% { opacity: 0; transform: translateY(-18px); } 35% { opacity: .65; } 100% { opacity: 0; transform: translateY(26px); } }
.live .ghost-chip { animation: ghost-swipe 1.4s ease-in-out 2.4s; }
.live .z-stamp { animation: v-slam .5s var(--ease-slam) 1.6s backwards; }

/* ---- S3 JÜRİ ---- */
.stage.s3 { height: 620px; }
.jkart { left: 50%; top: 4px; width: 250px; margin-left: -125px; background: linear-gradient(160deg, #F5EDDA, #EFE5CC);
  border-radius: 8px; border-top: 2.5px solid #C79A3A; padding: 12px 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .65); transform: translateX(var(--x, 0px)) translateZ(20px); }
.jkart span { display: block; color: #1a2540; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; }
.jkart.ka { --x: -280px; }
.jkart.kb { --x: 280px; }
.oda { left: 50%; top: 140px; width: 196px; height: 205px; margin-left: -98px;
  transform: translateX(var(--x, 0px)) translateZ(var(--z-body));
  background: linear-gradient(160deg, rgba(231, 180, 76, .09), rgba(10, 30, 54, .55));
  border: 1px solid rgba(231, 180, 76, .4); border-radius: 12px; transform-origin: bottom center;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); }
.oda.o1 { --x: -280px; } .oda.o2 { --x: 0px; } .oda.o3 { --x: 280px; }
.fig svg.o-kilit { position: absolute; top: -26px; left: 50%; width: 22px; height: 19px; transform: translateX(-50%); }
.cekirdek { position: absolute; left: 50%; top: 46px; width: 90px; height: 44px; transform: translateX(-50%); }
.cekirdek i { position: absolute; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--confirm); box-shadow: 0 0 8px rgba(0, 192, 139, .4); }
.cekirdek i:nth-child(1) { left: 0; top: 16px; }
.cekirdek i:nth-child(2) { left: 40px; top: 0; }
.cekirdek i:nth-child(3) { left: 78px; top: 22px; }
.cekirdek::before, .cekirdek::after { content: ""; position: absolute; height: 1px; background: rgba(0, 192, 139, .5); }
.cekirdek::before { left: 10px; top: 16px; width: 32px; transform: rotate(-14deg); }
.cekirdek::after { left: 50px; top: 10px; width: 30px; transform: rotate(20deg); }
.cekirdek.c1 i { animation: cek-puls 1.1s ease-in-out infinite alternate; }
.cekirdek.c2 i { animation: cek-puls 1.9s ease-in-out infinite alternate; }
.cekirdek.c3 i { animation: cek-puls 1.5s ease-in-out infinite alternate; }
@keyframes cek-puls { from { box-shadow: 0 0 4px rgba(0, 192, 139, .25); } to { box-shadow: 0 0 12px rgba(0, 192, 139, .8); } }
.o-scan { position: absolute; left: 8%; right: 8%; top: 108px; height: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px rgba(231, 180, 76, .7); }
@keyframes oda-scan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(46px); } }
.o-bar { position: absolute; left: 12%; bottom: 44px; height: 7px; width: 76%; border-radius: 4px; background: var(--confirm);
  transform-origin: left; box-shadow: 0 0 10px rgba(0, 192, 139, .35); }
.o-lbl { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); }
.duvar { left: 50%; top: 112px; width: 56px; height: 252px; margin-left: -28px;
  transform: translateX(var(--x, 0px)) translateZ(-60px) rotateY(58deg);
  background: linear-gradient(180deg, #14264e, #0b1834); border: 1px solid rgba(231, 180, 76, .6);
  border-top-width: 3px; box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .8); }
.duvar.d-a { --x: -148px; } .duvar.d-b { --x: 148px; }
.duvar span { position: absolute; left: 50%; top: 50%; writing-mode: vertical-rl;
  transform: translate(-50%, -50%) rotate(180deg);
  font-family: var(--mono); font-size: 8px; letter-spacing: .28em; color: var(--gold); white-space: nowrap; opacity: .9; }
.fis { left: 50%; top: 392px; width: 104px; height: 40px; margin-left: -52px;
  transform: translateX(var(--x, 0px)) rotateY(0deg); transform-style: preserve-3d; }
.fis.f1 { --x: -280px; } .fis.f2 { --x: 0px; } .fis.f3 { --x: 280px; }
.fis .on, .fis .arka { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-family: var(--mono); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fis .on { background: linear-gradient(160deg, #F5EDDA, #EFE5CC); color: #0a5a44; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); }
.fis .arka { background: #182b52; border: 1px solid var(--line); color: var(--muted); font-size: 8.5px;
  letter-spacing: .08em; transform: rotateY(180deg); }
.kolon { left: 50%; top: 300px; width: 48px; height: 320px; margin-left: -24px; transform-origin: bottom;
  background: linear-gradient(180deg, transparent, rgba(0, 192, 139, .28) 30%, rgba(0, 192, 139, .5));
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); mask-image: linear-gradient(to top, #000 40%, transparent);
  opacity: .5; }
.kapi { left: 50%; top: 468px; width: 76px; height: 76px; margin-left: -38px; transform: translateZ(30px); }
.kapi .k-cerceve { position: absolute; inset: 6px; transform: rotate(45deg); border: 2px solid var(--confirm);
  border-radius: 10px; background: rgba(10, 23, 48, .8); transition: border-color .4s; box-shadow: 0 0 18px rgba(0, 192, 139, .35); }
.kapi .k-check { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--confirm); }
.k-lbl { position: absolute; left: calc(50% + 58px); top: 496px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; color: var(--muted); }

/* jüri beat zinciri */
#jury1.live .jkart.klon { transition: transform .7s var(--ease-boot) .9s, opacity .5s ease .9s; }
#jury1.live .oda { transition: transform .45s var(--ease-boot) calc(1.4s + var(--i) * .12s), opacity .4s ease calc(1.4s + var(--i) * .12s); }
#jury1.live .duvar { animation: duvar-in .5s var(--ease-slam) backwards; }
#jury1.live .duvar.d-a { animation-delay: 1.7s; }
#jury1.live .duvar.d-b { animation-delay: 1.9s; }
@keyframes duvar-in { 0% { opacity: 0; transform: translateX(var(--x, 0px)) translateY(-260px) translateZ(40px) rotateY(58deg); }
  100% { opacity: 1; transform: translateX(var(--x, 0px)) translateZ(-60px) rotateY(58deg); } }
#jury1.live .o-kilit { transition: opacity .3s ease 2.2s; }
#jury1.live .o1 .o-scan { animation: oda-scan 1.2s ease-in-out 2.8s; }
#jury1.live .o2 .o-scan { animation: oda-scan 1.2s ease-in-out 3.15s; }
#jury1.live .o3 .o-scan { animation: oda-scan 1.2s ease-in-out 3.5s; }
#jury1.live .o1 .o-bar { transition: transform 1.4s ease-out 2.8s; }
#jury1.live .o2 .o-bar { transition: transform 2s ease-out 3s; }
#jury1.live .o3 .o-bar { transition: transform 1.7s ease-out 3.2s; }
#jury1.live .fis { transition: top .6s var(--ease-boot) calc(5s + var(--i) * .18s),
  opacity .4s ease calc(5s + var(--i) * .18s), transform .55s var(--ease-swipe) 6.6s; }
#jury1.live .kapi .k-cerceve { transition: border-color .4s ease 7.3s; }
#jury1.live .kapi .k-check { animation: v-slam .4s var(--ease-slam) 7.35s backwards; --slam-from: 340px; }
#jury1.live .kolon { transition: transform .3s ease-out 7.5s, opacity .3s ease 7.5s; }
#jury1.live .lejant li:nth-child(1) { transition-delay: .9s; }
#jury1.live .lejant li:nth-child(2) { transition-delay: 1.9s; }
#jury1.live .lejant li:nth-child(3) { transition-delay: 3s; }
#jury1.live .lejant li:nth-child(4) { transition-delay: 5.2s; }
#jury1.live .lejant li:nth-child(5) { transition-delay: 6.9s; }

/* jüri bölünme sahnesi */
.stage.s3b { height: 400px; }
.s3b .fis.acik { top: 30px; transform: translateX(var(--x, 0px)); }
.s3b .fis.acik[style*="--i:0"] { --x: -240px; }
.s3b .fis.acik.orta { --x: 0px; }
.s3b .fis.acik[style*="--i:2"] { --x: 240px; }
.s3b .fis.amber .on { color: #8a5a12; background: linear-gradient(160deg, #F2E3BC, #EAD7A4); border: 1.5px solid var(--near); }
.kiyas { top: 50px; height: 2px; background: var(--near); box-shadow: 0 0 8px rgba(242, 180, 65, .6); transform-origin: left; }
.kiyas.ki-a { left: calc(50% - 188px); width: 118px; }
.kiyas.ki-b { left: calc(50% + 70px); width: 118px; transform-origin: right; }
.kirik { left: 50%; top: 36px; margin-left: -8px; font-family: var(--display); font-weight: 900;
  font-size: 22px; color: var(--near); }
.s3b .kapi { top: 120px; }
.s3b .kapi.amberk .k-cerceve { border-color: var(--near); box-shadow: 0 0 18px rgba(242, 180, 65, .35); }
.s3b .kapi .k-check.soru { color: var(--near); }
@keyframes ret-sarsinti { 0%, 100% { margin-left: -38px; } 25% { margin-left: -41px; } 75% { margin-left: -35px; } }
#jury2.live .kapi.amberk { animation: ret-sarsinti .3s linear 1.1s 2; }
.masaI { right: 4%; top: 90px; width: 230px; height: 250px; }
.masaI .koni { position: absolute; left: 50%; top: 0; width: 190px; height: 168px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 244, 224, .30), transparent 82%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); opacity: .8; }
.masaI .masa-p { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); width: 200px;
  background: linear-gradient(180deg, #14264e, #0d1b3a); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px 12px 34px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: #f4e8cf; }
.masaI .m-lamba { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px;
  border-radius: 50%; background: #FFE9C4; box-shadow: 0 0 12px rgba(255, 233, 196, .9); animation: st-pulse 2.4s infinite; }
.masaI .dosya-cip { position: absolute; left: 50%; bottom: 10px; --pos: translateX(-50%); transform: translateX(-50%);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: #6b5518;
  background: linear-gradient(160deg, #F5EDDA, #EFE5CC); border-radius: 5px; padding: 4px 9px; }
#jury2.live .fis.acik { transition: opacity .4s ease calc(var(--i) * .15s), transform .5s var(--ease-boot) calc(var(--i) * .15s); }
#jury2.live .kiyas { transition: transform .5s ease-out .55s; }
#jury2.live .kirik { transition: opacity .3s ease .85s; }
#jury2.live .masaI .koni, #jury2.live .masaI .masa-p { transition: opacity .5s ease 1.5s, transform .5s var(--ease-boot) 1.5s; }
#jury2.live .dosya-cip { animation: v-slam .5s var(--ease-slam) 1.9s backwards; --slam-from: 260px; }
#jury2.live .lejant li:nth-child(1) { transition-delay: .9s; }
#jury2.live .lejant li:nth-child(2) { transition-delay: 1.8s; }

/* ---- S4 RESMÎ VERİ ---- */
.stage.s4 { height: 430px; }
.kapak-panel { left: 3%; top: 30px; width: min(260px, 34%); transform: translateZ(-60px) rotateY(5deg); }
.k-frame { position: relative; height: 200px; border: 1.5px solid var(--line); border-radius: 10px;
  background: rgba(8, 17, 36, .6); overflow: hidden; }
.k-top, .k-bot { position: absolute; left: 5px; right: 5px; height: calc(50% - 7px);
  background: linear-gradient(180deg, #16294f, #101f40); border: 1px solid rgba(231, 180, 76, .3); }
.k-top { top: 5px; transform-origin: top center; }
.k-bot { bottom: 5px; transform-origin: bottom center; }
.k-lock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; }
.k-kapali { font-family: var(--mono); font-size: 13px; letter-spacing: .32em; color: var(--gold); }
.k-lock svg { width: 22px; height: 19px; }
.nopen { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .08em; color: var(--steel); }
.nopen svg { width: 22px; height: 19px; }
.s4 .panel.grafik { right: 3%; top: 6px; width: min(520px, 56%); transform: translateZ(var(--z-body)) rotateY(-6deg); }
.d4-pill rect { fill: rgba(0, 192, 139, .06); stroke: var(--confirm-dim); }
.d4-pill text { fill: var(--confirm); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.d4-series { stroke: var(--ink); }
.live .d4-series { transition-duration: 1.4s; transition-delay: .8s; }
.d4-step { fill: var(--navy); stroke: var(--confirm); stroke-width: 2.5; transition: opacity .3s 2.2s; }
.isik-kolu { left: 46%; top: 296px; width: 2px; height: 92px;
  background: linear-gradient(180deg, rgba(0, 192, 139, .7), transparent); transform-origin: top; }
.cip.real { left: 16%; top: 366px; transform: translateZ(30px); }
.live .cip.real { animation: v-slam .55s var(--ease-slam) 2.7s backwards; --slam-from: 300px; --slam-z: 30px; }
.live .k-top { transition: transform .55s var(--ease-swipe) .2s; }
.live .k-bot { transition: transform .55s var(--ease-swipe) .38s; }
.live .k-lock { transition: opacity .35s ease .85s; }
.live .s4 .panel.grafik { transition: opacity .6s ease .3s, transform .8s var(--ease-boot) .3s; }
.live .isik-kolu { transition: transform .45s ease-out 2.4s, opacity .3s ease 2.4s; }
.s-ist#ist3 .lejant li:nth-child(1) { transition-delay: .9s; }
.s-ist#ist3 .lejant li:nth-child(2) { transition-delay: 2.2s; }
.s-ist#ist3 .lejant li:nth-child(3) { transition-delay: 2.9s; }

/* ---- S5 DENETİM ---- */
.stage.s5 { height: 520px; }
.pilon { left: 50%; width: 150px; margin-left: -75px; text-align: center;
  transform: translateX(var(--x)) translateZ(var(--z)); }
.pilon.p1 { top: 64px; } .pilon.p2 { top: 100px; } .pilon.p3 { top: 136px; } .pilon.p4 { top: 172px; }
.pilon::after { content: ""; position: absolute; left: 50%; top: 20px; width: 1.5px; height: 118px;
  margin-left: -1px; background: linear-gradient(180deg, rgba(231, 180, 76, .5), transparent); z-index: -1; }
.pilon .lamba { display: block; width: 18px; height: 18px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--confirm); border: 1.5px solid var(--confirm-dim);
  box-shadow: 0 0 12px rgba(0, 192, 139, .7); transition: background .4s, box-shadow .4s; }
.pilon span { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--muted); background: rgba(8, 18, 38, .8); border: 1px solid rgba(32, 51, 92, .8);
  border-radius: 5px; padding: 3px 8px; }
.pilon .scan-v { position: absolute; left: 50%; top: -28px; width: 2px; height: 84px; margin-left: -1px; opacity: 0;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px rgba(231, 180, 76, .7); }
@keyframes pilon-scan { 0% { opacity: 0; transform: translateX(-26px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(26px); } }
.cip.yolcu-cip { left: 50%; top: 210px; transform: translate(-50%, -50%) translateZ(-320px); opacity: 0; }
@keyframes cip-yolu { 0% { opacity: 0; transform: translate(-50%, -50%) translateZ(-320px); }
  8% { opacity: 1; } 88% { opacity: 1; transform: translate(-50%, -50%) translateZ(150px); }
  100% { opacity: 0; transform: translate(-50%, -50%) translateZ(220px); } }
.kapi2 { left: 50%; top: 306px; width: 190px; height: 178px; margin-left: -95px; transform-style: preserve-3d;
  border: 1.5px solid var(--line); border-bottom: none; border-radius: 10px 10px 0 0; padding: 6px; }
.kapi2 .kanat { position: absolute; top: 6px; width: 88px; height: 162px;
  background: linear-gradient(180deg, #14264e, #0d1b3a); border: 1px solid rgba(231, 180, 76, .4); }
.kapi2 .kanat.kl { left: 6px; transform-origin: left center; transform: rotateY(-68deg); }
.kapi2 .kanat.kr { right: 6px; transform-origin: right center; transform: rotateY(68deg); }
.live .kapi2 .kanat { transition: transform .6s var(--ease-swipe) 4.5s; }
.kapi2 .spill { position: absolute; left: 50%; top: 6px; width: 120px; height: 146px; transform: translateX(-50%) translateZ(-24px);
  background: radial-gradient(closest-side, rgba(0, 192, 139, .4), transparent 75%); opacity: .8; }
.live .kapi2 .spill { transition: opacity .5s ease 4.9s; }
.live .pilon .scan-v { animation: pilon-scan 1s ease-in-out backwards; animation-delay: calc(.5s + var(--i) * 1.05s); }
.live .pilon .lamba { transition-delay: calc(1.5s + var(--i) * 1.05s); }
.live .cip.yolcu-cip { animation: cip-yolu 4.8s linear .4s; }
.s-ist#ist4 .lejant li:nth-child(1) { transition-delay: 1.5s; }
.s-ist#ist4 .lejant li:nth-child(2) { transition-delay: 2.55s; }
.s-ist#ist4 .lejant li:nth-child(3) { transition-delay: 3.6s; }
.s-ist#ist4 .lejant li:nth-child(4) { transition-delay: 4.7s; }

/* başarısız senaryo — sitedeki tek kırmızı kare */
.stage.s5b { height: 250px; }
.fail-baslik { left: 4%; top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--miss); }
.s5b .lamba.mini { position: absolute; top: 64px; width: 15px; height: 15px; border-radius: 50%; }
.s5b .lamba.mini:nth-of-type(1) { left: calc(50% - 130px); }
.s5b .lamba.mini:nth-of-type(2) { left: calc(50% - 50px); }
.s5b .lamba.mini:nth-of-type(3) { left: calc(50% + 30px); }
.s5b .lamba.mini:nth-of-type(4) { left: calc(50% + 110px); }
.s5b .lamba.ok { background: var(--confirm); opacity: .55; }
.s5b .lamba.fail { background: var(--miss); box-shadow: 0 0 12px rgba(255, 122, 107, .85); }
.fail-lbl { left: 50%; top: 96px; transform: translateX(-14px); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--muted); }
.bariyer { left: 14%; width: 72%; height: 13px; border-radius: 7px; transform-origin: top;
  background: rgba(255, 122, 107, .16); border: 1px solid var(--miss); }
.bariyer.b-1 { top: 136px; } .bariyer.b-2 { top: 160px; }
.durdu { left: 0; right: 0; top: 196px; text-align: center; font-family: var(--mono); font-weight: 600;
  font-size: 14px; letter-spacing: .12em; color: var(--miss); --pos: rotate(-3deg); transform: rotate(-3deg); }
.kirmizi-yikama { inset: 0; background: rgba(255, 122, 107, .07); border-radius: 12px; pointer-events: none; }
#d5fail.live .bariyer.b-1 { transition: transform .4s var(--ease-swipe) .35s; }
#d5fail.live .bariyer.b-2 { transition: transform .4s var(--ease-swipe) .5s; }
#d5fail.live .durdu { animation: v-slam .45s var(--ease-slam) .85s backwards; --slam-from: 300px; }
#d5fail.live .kirmizi-yikama { transition: opacity .5s ease .6s; }
#d5fail.live .lejant li { transition-delay: 1s; }

/* ---- S6 MÜHÜR ---- */
.stage.s6 { height: 500px; }
.cetvel { left: 50%; top: 268px; width: 660px; height: 130px; margin-left: -330px;
  transform: rotateX(56deg) translateZ(-30px); transform-style: preserve-3d; }
.bant { position: absolute; top: 34px; height: 52px; left: 50%; border-radius: 6px; transform-origin: center; }
.bant.b3 { width: 560px; margin-left: -280px; background: rgba(124, 140, 165, .14); }
.bant.b2 { width: 280px; margin-left: -140px; background: rgba(0, 192, 139, .18); }
.bant.b1 { width: 110px; margin-left: -55px; background: rgba(231, 180, 76, .3); }
.b-lbl { position: absolute; top: -32px; left: 50%; transform: translateX(-50%) rotateX(-56deg);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.bant.b3 .b-lbl { left: auto; right: -8px; transform: rotateX(-56deg); }
.b-lbl.c { color: var(--confirm); }
.b-lbl.g { color: var(--gold); }
.merkez { position: absolute; left: 50%; top: 28px; width: 2px; height: 64px; margin-left: -1px; background: #EAF0F6; }
.mk-lbl { position: absolute; left: 50%; top: 96px; transform: translateX(-50%) rotateX(-56deg);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); }
.isaretci { position: absolute; left: 50%; top: 44px; width: 22px; height: 22px; margin-left: -11px;
  background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 14px rgba(231, 180, 76, .7); }
.muhur { left: 50%; top: 122px; width: 160px; margin-left: -80px; --slam-z: 64px; transform: translateZ(64px); }
.d6-sealtop { fill: var(--confirm); font-family: var(--mono); font-size: 9px; letter-spacing: .2em; }
.d6-sealtxt { font-size: 17px; }
.d6-ink { fill: none; stroke: var(--confirm); stroke-width: 2; opacity: 0; }
@keyframes ink-ripple { 0% { opacity: .4; r: 52; } 100% { opacity: 0; r: 78; } }
.s6 .kolon2 { left: 50%; top: 20px; width: 54px; height: 330px; margin-left: -27px; transform-origin: bottom; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 192, 139, .3) 30%, rgba(0, 192, 139, .55));
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); mask-image: linear-gradient(to top, #000 40%, transparent); }
@keyframes kolon-flash { 0% { opacity: 0; transform: scaleY(0); } 30% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
.s6 .flash { inset: 0; border-radius: 12px; background: rgba(231, 180, 76, .2); opacity: 0; pointer-events: none; }
.cekmece { right: 3%; top: 380px; display: flex; align-items: center; gap: 12px;
  background: rgba(124, 140, 165, .1); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.c-stamp { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .18em;
  color: var(--steel); transform: rotate(-5deg); border: 1.5px solid var(--steel); border-radius: 4px; padding: 2px 8px; }
.c-alt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.live .bant.b3 { transition: transform .5s ease-out .1s; }
.live .bant.b2 { transition: transform .5s ease-out .3s; }
.live .bant.b1 { transition: transform .5s ease-out .5s; }
@keyframes isaretci-land { 0% { opacity: 0; transform: translateY(-150px) translateZ(180px) rotate(45deg); }
  70% { opacity: 1; transform: translateY(6px) translateZ(0) rotate(45deg); }
  100% { opacity: 1; transform: translateY(0) translateZ(0) rotate(45deg); } }
.live .isaretci { animation: isaretci-land .6s var(--ease-boot) .9s backwards; }
.live .muhur { animation: v-slam .55s var(--ease-slam) 1.5s backwards; }
.live .d6-ink { animation: ink-ripple .6s ease-out 2.05s; }
.live .s6 .kolon2 { animation: kolon-flash .6s ease-out 2.05s; }
.live .s6 .flash { animation: v-bloom .5s ease-out 2.05s backwards; }
.live .cekmece { transition: transform .5s var(--ease-boot) 2.5s, opacity .4s ease 2.5s; }
.s-ist#ist5 .lejant li:nth-child(1) { transition-delay: 1s; }
.s-ist#ist5 .lejant li:nth-child(2) { transition-delay: 1.9s; }
.s-ist#ist5 .lejant li:nth-child(3) { transition-delay: 2.7s; }

/* ---- S7 MOTOR ---- */
.fig.holo.motor-holo { perspective-origin: 30% 40%; }
.fig.holo .stage.s7 { transform: rotateX(9deg) rotateY(var(--px, 0deg)) scale(.97); }
.stage.s7 svg { position: static; }
.d7-dial { fill: none; stroke: var(--line); stroke-width: 1.5; }
.d7-ticks line { stroke: var(--line); stroke-width: 2; }
.d7-ticks line.on { stroke: var(--confirm); }
.d7-arm { stroke: var(--gold); stroke-width: 2; transform-origin: 170px 230px; transform-box: view-box;
  animation: d7sweep 12s linear infinite; }
@keyframes d7sweep { to { transform: rotate(360deg) } }
.d7-feed, .d7-branch { stroke: var(--steel); stroke-width: 1.6; }
.live .d7-branch { transition-delay: .5s; }
.d7-motor rect { fill: rgba(15, 33, 69, .6); stroke: var(--gold); stroke-width: 1.6; }
.d7-site line { stroke: var(--steel); stroke-width: 2; }
.d7-site circle { fill: var(--steel); }
.d7-site, .d7-tv { transition: opacity .5s .9s, transform .5s .9s; }
.d7-tv { transition-delay: 1.05s; }
.frame.tv { stroke-width: 3; }
.d7-live { fill: var(--miss); animation: st-pulse 2s infinite; }
.d7-no { fill: var(--gold); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; opacity: .9; }
@keyframes no-blink { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
.live .d7-no { animation: no-blink 1.2s ease-in-out 1.2s 3; }
.s-ist#motor .lejant li:nth-child(1) { transition-delay: .6s; }
.s-ist#motor .lejant li:nth-child(2) { transition-delay: 1.4s; }

.how-cta { display: inline-block; font-family: var(--mono); font-size: 13.5px; letter-spacing: .04em;
  color: var(--gold); border: 1px solid rgba(231, 180, 76, .5); border-radius: 999px; padding: 12px 22px;
  transition: background .25s, color .25s; }
.how-cta:hover { background: rgba(231, 180, 76, .12); }

/* ---- S8 plaque ---- */
.s-plaque { padding-bottom: 60px; }
.plaque { max-width: 640px; margin: 0 auto; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(15, 33, 69, .6), rgba(11, 25, 54, .4));
  border: 1px solid rgba(231, 180, 76, .5); outline: 1px solid rgba(231, 180, 76, .25); outline-offset: -7px;
  border-radius: 6px; padding: 44px 34px 36px; }
.plaque .led { position: absolute; top: 14px; left: 14px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--confirm); box-shadow: 0 0 9px rgba(0, 192, 139, .9); animation: st-pulse 3s infinite; }
.plaque h3 { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: -.01em; margin: 0 0 18px; }
.paraf { width: 180px; height: 38px; margin: 0 auto 14px; display: block; }
.paraf-line { stroke: var(--gold); stroke-width: 1.5; opacity: .9; }
.live .paraf-line { transition: stroke-dashoffset .9s ease-out .3s; }
.plaque .credit { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); margin: 0; letter-spacing: .02em; }
.plaque .credit a { color: var(--gold); border-bottom: 1px dotted var(--gold); }
.backlink { text-align: center; margin-top: 34px; }
.backlink a { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.backlink a:hover { color: var(--ink); }

/* will-change bütçesi: yalnız canlı ve henüz bitmemiş sahnede */
.station.live:not(.done) .m { will-change: transform, opacity; }

/* ============ BAŞLANGIÇ HALLERİ — yalnız animasyon isteyen kullanıcıda ============ */
@media (prefers-reduced-motion: no-preference) {
  html.anim .station:not(.live) .drawn { stroke-dashoffset: 1; }
  html.anim .station:not(.live) .lejant li { opacity: .3; }
  .live .lejant li { opacity: 1; }
  /* hero */
  html.anim .station:not(.live) .t-line { opacity: 0; transform: translateZ(-320px) translateY(18px) rotateX(14deg); }
  .live .t-line { opacity: 1; transform: none; transition: opacity .5s ease, transform .8s var(--ease-boot); }
  .live .t-line:nth-child(2) { transition-delay: .15s; }
  .live .t-line:nth-child(3) { transition-delay: .3s; }
  html.anim .station:not(.live) .d-stamp { opacity: 0; }
  html.anim .station:not(.live) .statusline .st { opacity: 0; }
  .live .statusline .st { opacity: 1; }
  .live .statusline .st:nth-of-type(1) { transition-delay: 1.3s; }
  .live .statusline .st:nth-of-type(2) { transition-delay: 1.45s; }
  .live .statusline .st:nth-of-type(3) { transition-delay: 1.6s; }
  .live .statusline .st:nth-of-type(4) { transition-delay: 1.75s; }
  /* s1 pano mount */
  html.anim .station:not(.live) .stage.s1 { opacity: 0; transform: rotateX(26deg) translateZ(var(--z-body)); }
  .live .stage.s1 { transition: opacity .6s ease, transform .8s var(--ease-boot); }
  /* s2 */
  html.anim .station:not(.live) .panel.tv { opacity: 0; transform: translateZ(var(--z-birth)) rotateY(6deg); }
  .live .panel.tv { transition: opacity .6s ease, transform .8s var(--ease-boot); }
  html.anim .station:not(.live) .tel { transform: scaleX(0); }
  .live .tel { transition: transform .5s ease-out .6s; }
  html.anim .station:not(.live) .zabit { opacity: 0; transform: translateZ(300px) rotateY(-3deg) rotate(-.8deg); }
  .live .zabit { transition: opacity .45s ease .9s, transform .65s var(--ease-boot) .9s; }
  html.anim .station:not(.live) .z-stamp { opacity: 0; }
  /* s3 */
  html.anim .station:not(.live) .jkart.klon { opacity: 0; transform: translateX(0) translateZ(20px); }
  html.anim .station:not(.live) .jkart.ana { opacity: 0; transform: translateZ(var(--z-birth)); }
  .live .jkart.ana { transition: opacity .5s ease, transform .8s var(--ease-boot); }
  html.anim .station:not(.live) .oda { opacity: 0; transform: translateX(var(--x, 0px)) translateZ(var(--z-body)) scaleY(0); }
  html.anim .station:not(.live) .duvar { opacity: 0; }
  html.anim .station:not(.live) .o-kilit { opacity: 0; }
  html.anim .station:not(.live) .o-bar { transform: scaleX(0); }
  html.anim .station:not(.live) .fis { opacity: 0; top: 330px; transform: translateX(var(--x, 0px)) rotateY(180deg); }
  html.anim .station:not(.live) .kolon { opacity: 0; transform: scaleY(0); }
  html.anim .station:not(.live) .kapi .k-cerceve { border-color: var(--line); box-shadow: none; }
  html.anim .station:not(.live) .kapi .k-check { opacity: 0; }
  /* s3b */
  html.anim .station:not(.live) .fis.acik { opacity: 0; transform: translateX(var(--x, 0px)) translateY(-16px); }
  html.anim .station:not(.live) .kiyas { transform: scaleX(0); }
  html.anim .station:not(.live) .kirik { opacity: 0; }
  html.anim .station:not(.live) .masaI .koni, html.anim .station:not(.live) .masaI .masa-p { opacity: 0; transform: translateY(14px); }
  html.anim .station:not(.live) .masaI .masa-p { transform: translateX(-50%) translateY(14px); }
  html.anim .station:not(.live) .masaI .koni { transform: translateX(-50%) translateY(8px); }
  html.anim .station:not(.live) .dosya-cip { opacity: 0; }
  /* s4 */
  html.anim .station:not(.live) .k-top { transform: rotateX(-88deg); }
  html.anim .station:not(.live) .k-bot { transform: rotateX(88deg); }
  html.anim .station:not(.live) .k-lock { opacity: 0; }
  html.anim .station:not(.live) .s4 .panel.grafik { opacity: 0; transform: translateZ(var(--z-birth)) rotateY(-6deg); }
  html.anim .station:not(.live) .d4-step { opacity: 0; }
  html.anim .station:not(.live) .isik-kolu { opacity: 0; transform: scaleY(0); }
  html.anim .station:not(.live) .cip.real { opacity: 0; }
  /* s5 */
  html.anim .station:not(.live) .pilon .lamba { background: var(--panel); box-shadow: none; }
  html.anim .station:not(.live) .kapi2 .kanat.kl, html.anim .station:not(.live) .kapi2 .kanat.kr { transform: rotateY(0deg); }
  html.anim .station:not(.live) .kapi2 .spill { opacity: 0; }
  html.anim .station:not(.live) .bariyer { transform: scaleY(0); }
  html.anim .station:not(.live) .durdu { opacity: 0; }
  html.anim .station:not(.live) .kirmizi-yikama { opacity: 0; }
  #d5fail.live .kirmizi-yikama { opacity: 1; }
  /* s6 */
  html.anim .station:not(.live) .bant { transform: scaleX(0); }
  html.anim .station:not(.live) .isaretci { opacity: 0; }
  html.anim .station:not(.live) .muhur { opacity: 0; }
  html.anim .station:not(.live) .cekmece { opacity: 0; transform: translateX(60px); }
  /* s7 */
  html.anim .station:not(.live) .stage.s7 { opacity: 0; transform: rotateX(20deg) translateZ(var(--z-body)); }
  .live .stage.s7 { transition: opacity .6s ease, transform .8s var(--ease-boot); }
  html.anim .station:not(.live) .d7-site, html.anim .station:not(.live) .d7-tv { opacity: 0; transform: translateY(10px); }
  /* yolcu kartı: varsayılan damgalı; animasyonda sıfırlanıp sırayla dolar */
  html.anim #yolcu i:not(.stamped) { background: transparent; border-color: var(--line); box-shadow: none; animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ray { display: none; }
  .mob-progress { display: block; }
  .pano-cap { grid-template-columns: 1fr 1fr; }
  .masa-hud .hud-ticker { right: 12px; top: 60px; font-size: 9px; }
}
@media (max-width: 640px) {
  :root { --z-birth: -260px; --z-body: -80px; --z-verdict: 100px; --slam-from: 360px; }
  .fig.holo { perspective: 1000px; }
  .fig.holo .stage { transform: rotateX(calc(4deg + (1 - var(--fill, 0)) * 6deg)); }
  .fig.holo .stage.s1 { transform: rotateX(calc(8deg + (1 - var(--fill, 0)) * 6deg)); }
  .masa-zemin { opacity: .16; animation: none; }
  html.dim .masa-zemin { opacity: .07; }
  .fig svg.d1-desk { display: none; }
  .fig svg.d1-mob { display: block; max-width: 280px; margin: 0 auto; }
  .pano-cap { grid-template-columns: 1fr; gap: 12px; }
  .pano-cap div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
  .pano-cap b { margin: 2px 0 0; }
  .s-ist .s-wrap { background: none; padding-left: clamp(18px, 4vw, 44px); }
  .statusline { gap: 8px 18px; font-size: 10.5px; }
  .dossier { transform: rotateX(4deg); }
  .lejant li { font-size: 10.5px; }
  /* s2 dikey */
  .stage.s2 { height: 560px; }
  .s2 .panel.tv { left: 50%; top: 0; width: 270px; margin-left: -135px; transform: translateZ(var(--z-body)); }
  .s2 .tel { left: 50%; top: 236px; width: 2px; height: 56px; margin-left: -1px; transform-origin: top;
    background: linear-gradient(180deg, var(--gold), rgba(231, 180, 76, .3)); }
  .zabit { right: auto; left: 50%; top: 306px; width: 300px; margin-left: -150px; transform: translateZ(30px); }
  html.anim .station:not(.live) .tel { transform: scaleY(0); }
  .s2 .ghost-chip { right: auto; left: 50%; top: 520px; transform: translateX(-50%); }
  /* s3 dikey jüri */
  .stage.s3 { height: 1030px; }
  .jkart { width: 250px; top: 0; }
  .jkart.klon { display: none; }
  .oda { top: 130px; width: min(320px, 84vw); height: 172px; margin-left: calc(min(320px, 84vw) / -2); }
  .oda.o1, .oda.o2, .oda.o3 { --x: 0px; }
  .oda.o2 { top: 356px; }
  .oda.o3 { top: 582px; }
  .cekirdek { top: 34px; }
  .o-scan { top: 84px; }
  .duvar { width: min(320px, 84vw); height: 16px; margin-left: calc(min(320px, 84vw) / -2);
    transform: rotateX(74deg); }
  .duvar.d-a { --x: 0px; top: 318px; }
  .duvar.d-b { --x: 0px; top: 544px; }
  .duvar span { transform: translate(-50%, -50%); font-size: 7.5px; }
  @keyframes duvar-in { 0% { opacity: 0; transform: translateY(-160px) translateZ(50px) rotateX(74deg); }
    100% { opacity: 1; transform: rotateX(74deg); } }
  .fis { top: 796px; width: 92px; margin-left: -46px; }
  .fis.f1 { --x: -108px; } .fis.f2 { --x: 0px; } .fis.f3 { --x: 108px; }
  .fis .on { font-size: 13px; }
  html.anim .station:not(.live) .fis { top: 760px; }
  .kolon { top: 700px; height: 240px; }
  .kapi { top: 880px; }
  .k-lbl { left: 50%; top: 966px; transform: translateX(-50%); }
  /* s3b */
  .stage.s3b { height: 560px; }
  .s3b .fis.acik[style*="--i:0"] { --x: -110px; }
  .s3b .fis.acik[style*="--i:2"] { --x: 110px; }
  .kiyas.ki-a { left: calc(50% - 120px); width: 70px; }
  .kiyas.ki-b { left: calc(50% + 50px); width: 70px; }
  .s3b .kapi { top: 120px; }
  .masaI { right: auto; left: 50%; top: 270px; transform: translateX(-50%); }
  /* s4 dikey */
  .stage.s4 { height: 700px; }
  .kapak-panel { left: 50%; top: 10px; width: 250px; margin-left: -125px; transform: translateZ(-40px); }
  .s4 .panel.grafik { right: auto; left: 50%; top: 300px; width: min(420px, 92vw);
    margin-left: calc(min(420px, 92vw) / -2); transform: translateZ(var(--z-body)); }
  .isik-kolu { left: 50%; top: 590px; height: 50px; }
  .cip.real { left: 50%; top: 646px; transform: translateX(-50%) translateZ(30px); }
  .live .cip.real { animation: none; transition: opacity .5s ease 2.7s; }
  html.anim .station:not(.live) .cip.real { opacity: 0; }
  /* s5 dikey koridor */
  .stage.s5 { height: 560px; }
  .pilon { width: 120px; margin-left: -60px; }
  .pilon.p1 { --x: -80px !important; --z: -160px !important; top: 60px; }
  .pilon.p2 { --x: 80px !important; --z: -100px !important; top: 130px; }
  .pilon.p3 { --x: -80px !important; --z: -40px !important; top: 200px; }
  .pilon.p4 { --x: 80px !important; --z: 30px !important; top: 270px; }
  .pilon span { font-size: 8.5px; }
  .cip.yolcu-cip { top: 190px; }
  @keyframes cip-yolu { 0% { opacity: 0; transform: translate(-50%, -50%) translateZ(-180px); }
    8% { opacity: 1; } 88% { opacity: 1; transform: translate(-50%, -50%) translateZ(110px); }
    100% { opacity: 0; transform: translate(-50%, -50%) translateZ(160px); } }
  .kapi2 { top: 380px; width: 150px; margin-left: -75px; }
  .kapi2 .kanat { width: 70px; height: 132px; }
  /* s6 */
  .stage.s6 { height: 480px; }
  .cetvel { width: 92vw; margin-left: -46vw; top: 280px; transform: rotateX(48deg) translateZ(-20px); }
  .bant.b3 { width: 84vw; margin-left: -42vw; }
  .bant.b2 { width: 44vw; margin-left: -22vw; }
  .bant.b1 { width: 18vw; margin-left: -9vw; }
  .b-lbl { font-size: 8.5px; transform: translateX(-50%) rotateX(-48deg); }
  .bant.b3 .b-lbl { transform: rotateX(-48deg); }
  .mk-lbl { transform: translateX(-50%) rotateX(-48deg); }
  .muhur { width: 140px; margin-left: -70px; top: 78px; --slam-z: 48px; transform: translateZ(48px); }
  .cekmece { right: auto; left: 50%; transform: translateX(-50%); top: 396px; }
  html.anim .station:not(.live) .cekmece { transform: translateX(-50%) translateY(24px); }
  .live .cekmece { transition: transform .5s var(--ease-boot) 2.5s, opacity .4s ease 2.5s; }
  /* s7: restage edilmez — yatay kaydırma fallback */
  .fig.holo.motor-holo { overflow-x: auto; -webkit-overflow-scrolling: touch; perspective: none; }
  .fig.holo .stage.s7 { transform: none; }
  .stage.s7 svg { min-width: 640px; }
  #yolcu { gap: 7px; padding: 7px 12px; }
}

/* ---------- reduced motion: son kare + süreklilik yok ---------- */
@media (prefers-reduced-motion: reduce) {
  *, .live * { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
  .d1-pulse, .d1-pulse-v, .scanline, .o-scan, .scan-v, .ghost-chip, .d-bloom,
  .s6 .flash, .s6 .kolon2, .d6-ink, .kirmizi-yikama, .cip.yolcu-cip { animation: none !important; opacity: 0 !important; }
  #d5fail .kirmizi-yikama { opacity: 1 !important; }
  .s6 .kolon2 { opacity: .35 !important; transform: scaleY(1); }
  .d7-arm { animation: none; }
  .masa-zemin { animation: none; }
  .fig.holo .stage { transition: none; transform: rotateX(6deg); }
  .fig.holo .stage.s1 { transform: rotateX(14deg); }
  .fig.holo .stage.s7 { transform: rotateX(9deg) scale(.97); }
}
