/* Motsy — kaydırmalı tanıtım (ana sayfanın kendisi).
   Tanıtım 13 sahnelik tek bir zaman çizelgesi: sahne ekrana sabitlenir, kaydırma yalnızca sahneyi ilerletir.
   Performans notu: kaydırmayla değişen her öğe kendi katmanında (en alttaki will-change listesi, ölçümle seçildi). */
:root {
  --ivory: #e0e1f3; --muted: rgba(224,225,243,.62);
  --coral-2: #ffb4a3; --amber: #fde68a; --panel: #171a26;
  --copy-h: clamp(130px, 19vh, 190px);
}

/* ── Sahne ── */
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.2vh, 26px); padding-top: 64px; }
.ambient { position: absolute; inset: -20% -10% auto; height: 80%; pointer-events: none; background: radial-gradient(50% 60% at 50% 0%, rgba(255,126,95,.16), rgba(255,126,95,0) 70%); }
/* Gök baştan hafifçe görünür: sayfa açılırken bir kez çizilir, gece çökerken yeniden çizilmez */
.sky { position: absolute; inset: 0; opacity: .3; pointer-events: none; background: radial-gradient(70% 60% at 50% 60%, rgba(70,60,140,.35), rgba(11,14,25,0) 70%), #080a14; }
.sky .stars { position: absolute; inset: 0; background-size: 900px 600px; opacity: .9; }

.copy { position: relative; z-index: 3; width: min(820px, 92vw); height: var(--copy-h); text-align: center; flex: none; }
.intro, .cap { position: absolute; left: 0; right: 0; bottom: 0; }
.intro h1 { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.grad { background: linear-gradient(120deg, #ffe1d5 0%, #ff9f80 45%, #ffb4a3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro p { margin: 16px 0 0; font-size: clamp(15px, 1.5vw, 19px); color: var(--muted); }
.cap { opacity: 0; pointer-events: none; }
.cap .kicker { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-2); }
.cap h2 { margin: 8px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 50px); line-height: 1.05; letter-spacing: -.025em; color: #fff; }
.cap p { margin: 12px auto 0; max-width: 640px; font-size: clamp(14px, 1.35vw, 18px); line-height: 1.55; color: var(--muted); }

.hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(224,225,243,.45); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hint i { width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { translate: 0 0; } 50% { translate: 0 5px; } }

/* Tüm sahnelerin çizildiği alan (film karesiyle aynı boyut) */
.view { position: relative; z-index: 2; flex: none; width: min(1040px, 90vw, calc((100svh - 64px - var(--copy-h) - 90px) * 1.7778)); aspect-ratio: 16 / 9; }

/* ── Film karesi (telifli görüntü yok: sahne tamamen çizim) ── */
.frame { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #0a0d18; border: 1px solid rgba(255,180,163,.14); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; }
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; display: block; }
.grain { position: absolute; inset: 0; opacity: .08; pointer-events: none; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.dim { position: absolute; inset: 0; background: #05060c; opacity: 0; pointer-events: none; }
.player { position: absolute; left: 3%; right: 3%; bottom: 4.2%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); }
.player b { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: inherit; background: #e50914; transform-origin: left; }

/* Altyazı: uzantının gerçek görünümü — öğrenilen dil beyaz/kalın, ana dil kehribar */
.subs { position: absolute; left: 6%; right: 6%; bottom: 11%; text-align: center; }
.subs.alt { opacity: 0; }
.en { display: block; font-weight: 700; font-size: clamp(15px, 2.15vw, 27px); line-height: 1.45; color: #fff; letter-spacing: .01em; text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.7); }
.nat { display: block; margin-top: 4px; font-weight: 600; font-size: clamp(13px, 1.8vw, 22px); line-height: 1.4; color: var(--amber); text-shadow: 0 2px 5px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.7); }
.tok { display: inline-block; white-space: pre; }
.w { position: relative; z-index: 0; }
.w .hl { position: absolute; inset: -2px -5px; border-radius: 6px; background: rgba(255,255,255,.16); box-shadow: 0 0 0 1px rgba(255,255,255,.28); opacity: 0; z-index: -1; }
.w .ul { position: absolute; left: 1px; right: 1px; bottom: 3px; height: 1.5px; background: #fff; transform: scaleX(0); transform-origin: left; }

.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; z-index: 20; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.ripple { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); opacity: 0; z-index: 19; pointer-events: none; }

/* ── Kelime kartı (tanıtım için şıklaştırılmış sürüm) ── */
.wcard { position: absolute; z-index: 7; width: min(400px, 88%); border-radius: 20px; background: #fff; color: #334155; opacity: 0; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0,0,0,.75), 0 0 0 1px rgba(15,23,42,.05); font-size: 13px; }
.c-hd { padding: 18px 20px 0; position: relative; background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%); }
.c-r1 { display: flex; align-items: center; gap: 10px; }
.c-word { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; color: #0f172a; letter-spacing: -.6px; line-height: 1.05; }
.c-say { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eff6ff; color: #2563eb; flex: none; }
.c-say svg { width: 15px; height: 15px; }
.c-x { margin-inline-start: auto; color: #94a3b8; font-size: 15px; line-height: 1; align-self: flex-start; }
.c-r2 { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.c-ph { font-style: italic; color: #64748b; font-size: 13.5px; }
.c-pos { font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.c-tr { margin-top: 10px; font-size: 16px; color: #1e293b; font-weight: 700; }
.c-tr span { font-weight: 500; color: #64748b; }
.c-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 0; padding: 4px; border-radius: 12px; background: #f1f5f9; }
.c-tabs .pillbg { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.c-tabs span { position: relative; text-align: center; padding: 7px 4px; font-size: 12px; font-weight: 700; color: #475569; }
.c-tabs span b { position: absolute; inset: 0; display: grid; place-items: center; color: #2563eb; font-weight: 800; }
.c-bd { padding: 14px 20px 18px; }
.c-panes { position: relative; height: 128px; }
.c-panes > div { position: absolute; inset: 0; }
.ctx { border-radius: 14px; padding: 11px 13px 11px 15px; background: linear-gradient(180deg, #f8fbff, #f1f6ff); border: 1px solid #dbeafe; position: relative; line-height: 1.5; color: #1e3a8a; font-size: 13.5px; }
.ctx::before { content: ''; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #3b82f6; }
.lbl { display: block; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 3px; color: #2563eb; }
.freq { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: #64748b; }
.freq b { color: #0f172a; font-family: 'Plus Jakarta Sans', sans-serif; }
.freq .meter { flex: 1; height: 6px; border-radius: 6px; background: #eef2f7; overflow: hidden; }
.freq .meter i { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); }
.yg { opacity: 0; display: grid; grid-template-rows: 1fr auto; gap: 8px; }
.yg-player { position: relative; border-radius: 12px; overflow: hidden; background: #0f172a; }
.yg-player svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.yg-player .spk2 { opacity: 0; }
.yg-tag { position: absolute; left: 8px; top: 7px; font-size: 10px; font-weight: 800; color: #fff; background: rgba(0,0,0,.45); padding: 2px 7px; border-radius: 6px; letter-spacing: .02em; }
.yg-cap { position: absolute; left: 8px; right: 8px; bottom: 12px; text-align: center; font-size: 11.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.yg-cap mark { background: rgba(250,204,21,.9); color: #111; border-radius: 3px; padding: 0 3px; }
.yg-cap.c2 { opacity: 0; }
.yg-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.yg-bar i { position: absolute; inset: 0; background: #ef4444; transform: scaleX(0); transform-origin: left; }
.yg-ctl { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #64748b; font-weight: 700; }
.yg-ctl .nx { position: relative; width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #f1f5f9; color: #334155; }
.c-acts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 12px; }
.c-acts span { position: relative; text-align: center; padding: 10px 8px; border-radius: 12px; font-weight: 800; font-size: 12.5px; }
.c-acts .lr { background: #f0fdf4; color: #15803d; box-shadow: inset 0 0 0 1px #bbf7d0; }
.c-acts .lg { background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; box-shadow: 0 6px 16px -6px rgba(249,115,22,.7); }
.c-acts .press { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 3px rgba(251,146,60,.45); background: rgba(255,255,255,.18); opacity: 0; }

/* ── Yan panel: Altyazılar ve Kaydedilenler ── */
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: 36%; min-width: 250px; z-index: 8; background: rgba(23,25,38,.97); border-left: 1px solid rgba(255,255,255,.07); box-shadow: -24px 0 60px rgba(0,0,0,.5); display: flex; flex-direction: column; pointer-events: none; }
.pl-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; font-size: 15px; }
.pl-head img { width: 20px; height: 20px; }
.pl-head i { margin-inline-start: auto; font-style: normal; color: rgba(255,255,255,.45); font-weight: 400; }
.pl-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.pl-tabs span { position: relative; text-align: center; padding: 7px 4px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #8b8fa6; }
.pl-tabs span .on { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; font-style: normal; color: #ffcab8; background: #2a2231; border: 1px solid rgba(255,126,95,.28); }
.pl-tabs .t2 .on { opacity: 0; }
.pl-body { position: relative; flex: 1; overflow: hidden; }
.pl-stream, .pl-saved { position: absolute; inset: 0; }
.pl-saved { opacity: 0; padding: 10px; }
.rows { position: relative; }
.row-hl { position: absolute; left: 6px; right: 6px; top: 0; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 3px 0 0 #ff7e5f; }
.srow { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 8px; padding: 10px 14px 10px 16px; height: 80px; overflow: hidden; }
.srow .ts { font-size: 10.5px; color: #8f94ad; padding-top: 2px; font-variant-numeric: tabular-nums; }
.srow .e { font-size: 12.5px; line-height: 1.35; color: #e2e8f0; }
.srow .t { margin-top: 3px; font-size: 11px; line-height: 1.3; color: #7d8199; font-style: italic; }
.srow .lrn { color: #f97316; } .srow .lrd { color: #22c55e; }
.srow.up { opacity: .55; }
.pl-slot { height: 70px; margin-bottom: 8px; }
.pl-item, .chip { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; height: 70px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); margin-bottom: 8px; }
.thumb { width: 60px; height: 40px; border-radius: 7px; overflow: hidden; background: #1a1c2a; }
.thumb svg { width: 100%; height: 100%; display: block; }
.pi-word { color: #ffb4a3; font-weight: 800; font-size: 13px; font-family: 'Plus Jakarta Sans', sans-serif; }
.pi-tr { color: #a3a7bd; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-meta { display: flex; gap: 7px; align-items: center; color: #7d8199; font-size: 10px; margin-top: 3px; }
.pi-meta .wv { display: inline-flex; gap: 1.5px; align-items: center; height: 10px; }
.pi-meta .wv i { width: 2px; background: #a78bfa; border-radius: 1px; }
.pi-meta .go { color: #c4b5fd; border: 1px solid rgba(167,139,250,.4); border-radius: 5px; padding: 1px 5px; white-space: nowrap; }
.chip { position: absolute; left: 0; top: 0; z-index: 9; margin: 0; border-color: rgba(255,126,95,.5); background: #2a2231; opacity: 0; box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); }

/* ── Takımyıldız + quiz kartı ── */
.const { position: absolute; left: 0; top: 0; bottom: 0; width: 56%; opacity: 0; pointer-events: none; }
.c-title { position: absolute; left: 4%; top: 4%; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: clamp(14px, 1.4vw, 17px); color: #fff; }
.c-title small { display: block; margin-top: 4px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: 12px; color: rgba(224,225,243,.5); }
.c-title small b { position: relative; display: inline-block; font-weight: 700; color: #ffd9c7; }
.c-title small b span { position: absolute; left: 0; top: 0; }
.c-title small b .ph { visibility: hidden; font-style: normal; }
.c-field { position: absolute; left: 4%; right: 4%; top: 16%; bottom: 6%; }
.node { position: absolute; width: 0; height: 0; }
.node .dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
.node .halo { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,128,.55), rgba(255,159,128,0) 70%); opacity: 0; }
.node.lit .dot { background: #ffe1d5; box-shadow: 0 0 12px rgba(255,180,150,.9); }
.node.lit .halo { opacity: 1; }
.node .lit-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff3ec; box-shadow: 0 0 16px 3px rgba(255,170,140,.9); opacity: 0; }
.node span { position: absolute; left: 0; top: 12px; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: rgba(224,225,243,.55); white-space: nowrap; }
.node.lit span, .node.me span { color: #ffcab8; }
.line { position: absolute; left: 0; top: 0; height: 1.5px; background: rgba(255,255,255,.22); transform-origin: 0 50%; }

.quiz-wrap { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; display: flex; align-items: center; z-index: 5; pointer-events: none; }
.quiz { width: 100%; background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.95); opacity: 0; font-size: 13px; }
.q-top { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(135deg, #2a1d57, #3b1440); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #a8adc4; background: rgba(15,17,30,.55); border: 1px solid rgba(255,255,255,.08); }
.pill.on { color: #fff; border-color: rgba(255,180,163,.6); }
.qx { margin-inline-start: auto; color: rgba(255,255,255,.6); font-size: 15px; }
.q-main { padding: 14px 16px 12px; }
.q-sent { background: #20232f; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(13px, 1.3vw, 16px); line-height: 1.55; color: #eef0fb; }
.q-sent .qw { display: inline-block; white-space: pre; position: relative; }
.q-sent .qhl { color: #ffb4a3; font-weight: 800; background: rgba(255,126,95,.18); border-radius: 6px; padding: 0 4px; box-shadow: inset 0 -2px 0 rgba(255,126,95,.7); }
/* Puanlamada kelimenin yeşil (ya da sarı) kopyası üstünde belirir: kartın kendisi yeniden çizilmez */
.q-sent .qw .g { position: absolute; left: 0; top: 0; font-style: normal; color: #86efac; opacity: 0; }
.q-sent .qw.y .g { color: #fcd34d; }
.q-sent .qhl .g { left: 4px; }
.q-src { display: flex; justify-content: space-between; align-items: center; margin: 10px 2px; font-size: 12px; color: #8f94ad; }
.q-listen { color: #ffb4a3; font-weight: 700; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); padding: 5px 10px; border-radius: 10px; }
.q-body { position: relative; height: 178px; }
.q-body > div { position: absolute; inset: 0; }
.q-opts { display: grid; gap: 8px; align-content: start; }
.opt { position: relative; padding: 12px 14px; border-radius: 14px; background: #20232f; border: 1px solid rgba(255,255,255,.07); font-weight: 700; color: #e6e8f5; font-size: 13px; }
.opt .ok { position: absolute; inset: -1px; border-radius: inherit; background: rgba(16,185,129,.2); border: 1px solid rgba(52,211,153,.6); opacity: 0; }
.opt > span { position: relative; }
.q-pron, .q-rec, .q-res { opacity: 0; }
.q-pron p { margin: 6px 0 12px; text-align: center; color: #e6e8f5; font-size: 14px; }
.q-btns { display: grid; grid-template-columns: 1.8fr 1fr; gap: 8px; }
.b-read { position: relative; text-align: center; padding: 12px; border-radius: 14px; font-weight: 800; color: #1c1917; background: linear-gradient(135deg, #f97316, #fb923c); font-size: 14px; }
.b-skip { text-align: center; padding: 12px; border-radius: 14px; font-weight: 700; color: #cbd5e1; border: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.q-rec { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.wave { display: flex; align-items: center; gap: 3px; height: 64px; direction: ltr; }
.wave i { width: 4px; height: 60px; border-radius: 3px; background: linear-gradient(180deg, #fb923c, #f97316); transform: scaleY(.12); }
.rec-dot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #fca5a5; font-weight: 700; }
.rec-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.q-res { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.gauge { position: relative; width: 150px; height: 150px; justify-self: center; direction: ltr; }
.gauge svg { width: 100%; height: 100%; }
.gauge line { stroke: rgba(255,255,255,.1); stroke-width: 5; stroke-linecap: round; }
.gauge line.on { stroke: #34d399; }
.g-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 40px; color: #fff; line-height: 1; }
.g-num small { margin-top: 6px; max-width: 96px; text-align: center; font-size: 9px; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; font-weight: 700; }
.s3 { display: grid; gap: 10px; }
.s3 div { display: flex; align-items: center; gap: 10px; }
.s3 b { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: #fff; border: 3px solid #34d399; border-right-color: rgba(255,255,255,.1); }
.s3 span { font-size: 12px; font-weight: 700; color: #94a3b8; }
.q-quota { position: relative; height: 18px; margin-top: 8px; text-align: center; font-size: 11.5px; color: #8f94ad; opacity: 0; }
.q-quota span { position: absolute; left: 0; right: 0; }

/* ── Mozaik ── */
.mosaic-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; pointer-events: none; }
.mosaic-wrap > * { opacity: 0; }
.mosaic { position: relative; width: min(86%, calc(100% * 0.86 * 9 / 16 * 1.7778)); max-width: 460px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); }
.m-art { position: absolute; inset: 0; background: url(features/mosaic.webp) center / cover; }
/* Kapaklar tuvalde çizilir: kutular açılırken alttaki resim yeniden çizilmez */
.m-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr); direction: ltr; }
.m-grid i { background: #3d3242; border: 1px solid rgba(255,255,255,.035); }
.m-count { font-size: 14px; color: var(--muted); }
.m-count b { display: inline-block; min-width: 1.4em; text-align: right; color: #ffb4a3; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; }

/* ── Panel özeti ── */
.dash { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: center; pointer-events: none; }
.dash .dc { opacity: 0; }
.dc { background: rgba(24,27,39,.85); border: 1px solid rgba(87,66,61,.35); border-radius: 22px; padding: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.dc h4 { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: #fff; }
.dc .sm { margin-top: 3px; font-size: 11.5px; color: #a3a7bd; }
.d-mos { position: relative; margin-top: 14px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: url(features/mosaic.webp) center / cover; }
.d-mos .m-grid i.op { background: transparent; border-color: transparent; }
.bars { margin-top: 18px; height: 120px; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; border-radius: 5px 5px 0 0; background: rgba(255,255,255,.08); transform-origin: bottom; }
.bars i.on { background: repeating-linear-gradient(45deg, #ff7e5f 0 3px, rgba(255,126,95,.35) 3px 6px); }
.days { display: flex; gap: 8px; margin-top: 6px; }
.days span { flex: 1; text-align: center; font-size: 10px; color: #a3a7bd; }
.lvl-ring { position: relative; width: 120px; height: 120px; margin: 16px auto 8px; }
.lvl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lvl-ring .lvl { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 28px; color: #fff; }
.lvl-note { text-align: center; font-size: 12px; color: #a3a7bd; }
.lvl-note b { color: #ffb4a3; }

/* ── 11 dil ── */
.langs { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lg-card { opacity: 0; width: min(720px, 100%); background: rgba(10,12,22,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); text-align: center; }
.lg-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #a3a7bd; text-transform: uppercase; }
.lg-en { margin: 8px 0 18px; font-weight: 700; font-size: clamp(16px, 2vw, 24px); color: #fff; }
.slot { position: relative; height: 54px; overflow: hidden; border-radius: 14px; background: rgba(253,230,138,.06); border: 1px solid rgba(253,230,138,.2); margin-top: 8px; }
.slot-line { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; font-weight: 600; font-size: clamp(14px, 1.7vw, 20px); color: var(--amber); white-space: nowrap; }
.slot-line code { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800; color: #0b0e19; background: var(--amber); border-radius: 6px; padding: 2px 6px; }
.lg-names { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lg-names span { position: relative; font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,180,163,.18); color: rgba(224,225,243,.8); }
.lg-names span.tgt { color: #fff; border-color: rgba(255,255,255,.5); }
.lg-names span .on { position: absolute; inset: -1px; border-radius: inherit; background: rgba(253,230,138,.16); border: 1px solid rgba(253,230,138,.75); opacity: 0; }

/* ── Kapanış ── */
.final { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; pointer-events: none; }
.final-in { display: flex; flex-direction: column; align-items: center; opacity: 0; }
.final img { width: 64px; height: 64px; filter: drop-shadow(0 0 24px rgba(255,126,95,.6)); }
.final h2 { margin: 22px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.final p { margin: 16px 0 0; font-size: clamp(15px, 1.5vw, 19px); color: var(--muted); }
/* Mağaza bağlantısı gelene kadar tıklanmaz: "Yakında" rozeti */
.soon { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px;
  color: #ffcab8; background: rgba(255,126,95,.1); border: 1px solid rgba(255,180,163,.4); box-shadow: 0 10px 40px -12px rgba(255,126,95,.45); }
.soon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff7e5f; box-shadow: 0 0 12px #ff7e5f; }
.final small { margin-top: 14px; font-size: 13px; color: rgba(224,225,243,.45); }

/* Metin taşıyıcısı olarak kullanılan <em>'ler eğik yazılmasın */
.stage em { font-style: normal; }

/* Sağdan sola dillerde (Arapça) İngilizce cümleler ve sayılar ters dönmesin */
.en, .q-sent, .lg-en, .srow .e, .yg-cap, .c-word, .c-ph, .ts, .pi-meta { direction: ltr; unicode-bidi: isolate; }
/* Her dildeki cümle kendi yazı yönünü kendisi belirlesin (Arapça sayfada Fransızca cümlenin noktası başa geçmesin) */
.slot-line span, .nat, .srow .t, .opt span, .pi-tr { unicode-bidi: plaintext; }
[dir="rtl"] .c-tabs .pillbg { left: auto; right: 4px; }

/* Kaydırmayla değişen her öğe kendi katmanında: değiştiğinde çevresi yeniden çizilmez (ölçümle seçildi) */
.intro, .cap, .tok, .dim, .cursor, .ripple, .wcard, .c-row, .w .hl, .w .ul, .c-acts .press, .c-tabs .pillbg, .c-tabs span b, .ctx-pane, .yg,
.yg-player .spk2, .yg-cap, .yg-bar i, .panel, .pl-tabs .on, .pl-stream, .pl-saved, .row-hl, .pl-items, .chip, .subs, .player b,
.sky, .const, .node, .line, .node .lit-dot, .quiz, .opt .ok, .q-pron, .q-rec, .q-res, .q-quota span, .wave i, .gauge,
.mosaic, .m-count, .m-cv, .dc, .bars i, .lg-card, .final-in, .c-title small b span, .view, .frame, .scene, .slot-col,
.q-sent .qw .g, .lg-names span .on, .lvl-ring svg, #gnum, .s3 b { will-change: transform, opacity; }

/* Telefon: sahne dikey kesilir; kartlar kısalır */
@media (max-width: 640px) {
  .view { aspect-ratio: 4 / 5; width: min(92vw, calc((100svh - 64px - var(--copy-h) - 70px) * .8)); }
  .subs { left: 5%; right: 5%; bottom: 8%; }
  .wcard { width: 92%; font-size: 12px; }
  .c-hd { padding: 14px 14px 0; } .c-bd { padding: 10px 14px 14px; }
  .c-word { font-size: 23px; } .c-tr { margin-top: 6px; font-size: 14px; }
  .c-tabs { margin-top: 10px; } .c-panes { height: 118px; }
  .ctx { font-size: 12.5px; } .freq { display: none; }
  .panel { width: 82%; }
  .srow { height: 88px; grid-template-columns: 44px 1fr; padding: 8px 10px 8px 12px; }
  .const { width: 100%; bottom: auto; height: 42%; }
  .quiz-wrap { width: 100%; top: auto; height: 60%; align-items: flex-end; }
  .q-top, .q-src { display: none; } .q-main { padding: 10px 12px; }
  .q-sent { margin-bottom: 10px; }
  .q-body { height: 136px; }
  .opt { padding: 9px 11px; font-size: 12px; }
  .gauge { width: 118px; height: 118px; } .g-num { font-size: 32px; }
  .s3 b { width: 36px; height: 36px; font-size: 13px; }
  .dash { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; align-content: center; }
  .dash .dc:first-child { grid-row: span 2; }
  .dc { padding: 12px; border-radius: 16px; }
  .bars { height: 70px; gap: 5px; } .lvl-ring { width: 80px; height: 80px; margin: 8px auto 4px; } .lvl-ring .lvl { font-size: 20px; }
  .slot-line { font-size: 13px; white-space: normal; text-align: start; line-height: 1.25; }
}
/* Alçak ekranlarda (dizüstü) kart kısalır ki altyazının üstüne binmesin */
@media (min-width: 641px) and (max-height: 820px) {
  .c-hd { padding-top: 14px; } .c-word { font-size: 24px; } .c-tr { margin-top: 6px; font-size: 14.5px; }
  .c-tabs { margin-top: 10px; } .c-bd { padding: 10px 18px 14px; } .c-panes { height: 112px; } .freq { display: none; }
  .c-acts { margin-top: 8px; } .c-acts span { padding: 8px; }
}
/* Hareketi azaltmak isteyenler: kaydırmaya bağlı hareket yok, kartın açık hâli durağan görünür */
html.static .intro, html.static .hint { display: none; }
html.static .cap4, html.static .wcard, html.static .tok { opacity: 1 !important; }
