/* Gaza Counts — PRD §2 (minimalist, ciddi, karanlik) + §21.3 (animasyon kurallari)
   Animasyon YALNIZCA transform ve opacity uzerinden. width/top/left/box-shadow animasyonu yasak. */

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --line: #1f1f1f;
  --fg: #ededed;
  /* Kontrast (zemin #0a0a0a): dim ~9:1, faint ~5.6:1 — ikisi de WCAG AA ustu.
     Eskiden faint #565656 (~2.7:1) idi: kaynak satirlari, alt bilgi ve kirinti
     yolu goz kisarak okunuyordu. */
  --fg-dim: #b4b4b4;
  --fg-faint: #8f8f8f;
  --red: #c1272d;
  --red-bright: #e03b45;
  --green: #007a3d;
  --accent-sea: #3be0c4;
  --accent-river: #f2c230;
  --radius: 6px;
  --step: clamp(1rem, 3vw, 1.6rem);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

/* hidden HER ZAMAN gizler. Tarayicinin varsayilani `display: none`dur ama yazar
   kurallari (ornegin `.field { display: flex }`) onu sessizce ezer: eleman
   `hidden` yazmasina ragmen ekranda kalir. Bu kural o sinifi tamamen kapatir. */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 clamp(16.5px, 0.9vw + 12px, 18px)/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh; /* 100vh degil: mobil tarayici cubugu (PRD §22.2) */
  overflow-x: hidden;
  /* `overflow-x: hidden` tasmayi sadece GIZLER (kirpar) — bloklarin gercekten
     tasmasini onlemez. Kaynak URL'i, uzun bir marka adi ya da ziyaretcinin kendi
     yazdigi bosluksuz bir kelime gibi KIRILMAYAN tek bir dize, dar telefon
     ekraninda kutuyu kenardan disari itiyor ve kirpilan parca "kayik" duruyordu.
     Boyle bir dize her yerde beklenmedik sekilde gorunebilir; tek tek her yeri
     avlamak yerine govdeden miras alinan bu kural, nerede olursa olsun gerekince
     kelimeyi kirar. Kisa/normal metinde HICBIR gorsel fark yaratmaz. */
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------- kapi arka plani
   Fotograf ASLA metnin onune gecmez: uzerinde sabit bir karartma katmani durur,
   okunabilirlik her zaman kazanir. Dosya bulunamazsa .on hic eklenmez ve katman
   gorunmez kalir — sahne duz koyu zeminde acilir, hicbir sey bozulmaz. */
#backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  /* Varsayilan konum MERKEZ: fotograflarin kadraji birbirinden çok farkli
     (kimi yuzu tepede tutuyor, kimi kadraji tamamen dolduruyor, kimi yuzu
     kenarda) — TEK bir genel kaydirma bazisini duzeltirken digerini bozuyordu.
     Dogru cozum soru basina `backdrop_position` (bkz. setBackdrop, core/api.js
     shapeQuestion): burasi yalnizca o alan BOS oldugunda devreye giren notr
     bir tabandir. */
  background: center / cover no-repeat;
  opacity: 0; transition: opacity .5s ease;
  /* fotograf sahnenin rengini ele gecirmesin */
  filter: grayscale(.45) contrast(1.05) brightness(.7);
}
#backdrop.on { opacity: 1; }
/* Karartma: metnin arkasi her zaman koyu, asagi indikce tam koyu. */
#backdrop::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,.74) 0%, rgba(10,10,10,.86) 50%, rgba(10,10,10,.96) 100%);
}

/* ------------------------------------------------------------ yardimcilar */
.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-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--fg); color: var(--bg); padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent-sea); outline-offset: 3px; }

/* --------------------------------------------------------------- kapi sayaci */
.progress { min-width: 0; font: 600 14px/1 var(--mono); letter-spacing: .18em; color: var(--fg-faint); }
.progress .on { color: var(--red-bright); }

/* ----------------------------------------------------------------- duzen */
#main {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: var(--step); outline: none;
}
/* Kapi sayfasi ve 404: tek ekranlik deneyim, ortalanir. Icerik sayfalari
   yukaridan asagi akar. */
.page-gate #main, .page-404 #main { justify-content: center; }
.gate-app { width: 100%; display: flex; flex-direction: column; align-items: center; outline: none; }
.screen {
  width: 100%; max-width: 44rem; display: flex; flex-direction: column;
  gap: 1.4rem; animation: rise .32s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.eyebrow {
  font: 600 13px/1 var(--mono); letter-spacing: .22em;
  color: var(--red); text-transform: uppercase;
}
h1 { font-size: clamp(1.5rem, 4.4vw, 2.3rem); line-height: 1.2; margin: 0; font-weight: 600; }
h2 { font-size: clamp(1.1rem, 2.6vw, 1.35rem); margin: 0; font-weight: 600; }
.lede { color: var(--fg-dim); margin: 0; white-space: pre-line; }
.aftertext {
  border-left: 2px solid var(--red); padding-left: 1rem;
  color: var(--fg); font-size: 1.05em; margin: 0;
}

/* ---------------------------------------------------------------- girdi */
.field { display: flex; flex-direction: column; gap: .6rem; }
input[type="text"] {
  width: 100%; background: var(--bg-raised); border: 1px solid var(--line);
  color: var(--fg); font: inherit; padding: .85rem 1rem; border-radius: var(--radius);
}
input[type="text"]:focus { border-color: var(--fg-faint); }
/* Onay kutusu: giris ekraninda ikinci cumle YAZILMAZ, kabul edilir. Kutu ve
   yazisi tek bir dokunma hedefi (label) olusturur — mobilde 44px'in altina inmez. */
.check-row {
  display: flex; align-items: flex-start; gap: .7rem;
  min-height: 44px; padding: .5rem .1rem; cursor: pointer;
  color: var(--fg); user-select: none;
}
.check-row input[type="checkbox"] {
  flex: 0 0 auto; width: 22px; height: 22px; margin: .15rem 0 0;
  accent-color: var(--red-bright); cursor: pointer;
}
.check-row:hover { color: var(--fg); }

.msg { min-height: 1.4em; font-size: .98em; color: var(--fg-dim); }
/* BOS hata satiri yer KAPLAMAZ. Yer ayirmak yazi zipladiginda iyi fikirdi ama
   bedeli her ekranda gorunuyordu: girdinin altindaki "Yazildi." ya da ceviri
   satiri, arada bos bir satirla asili kaliyordu. Mesaj cikinca alt icerik bir
   satir kayar; boslugun surekli durmasindan iyidir. */
.msg:empty { min-height: 0; }
.msg.bad { color: var(--red-bright); }

/* ------------------------------------------------------- alternatif adimi
   Gate 06'nin son adimi: secilen markanin karsisina yazilan oneri ve herkesin
   onerilerini gosteren pencere. Metinlerin tamami textContent ile basilir. */
.alt-inputs { display: flex; flex-direction: column; gap: .6rem; }
/* Arama sonuclari: 6.000 markalik listede gezinmek degil, aramak esastir —
   sonuc sayisi 30 ile sinirli ve kutu kendi icinde kayar. */
.alt-results { display: flex; flex-wrap: wrap; gap: .4rem; max-height: 13rem; overflow-y: auto; }
.alt-results:not(:empty) {
  padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised);
}
.alt-results .block { min-height: 38px; padding: .45rem .7rem; font-size: .92em; }
.modal-panel input[type="search"], .modal-panel input[type="text"] {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  color: var(--fg); font: inherit; padding: .7rem .9rem; border-radius: var(--radius);
}
.alt-input-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised);
}
.alt-input-row input[type="text"] { flex: 1 1 12rem; width: auto; }
.alt-brand {
  flex: 0 0 auto; font: 600 14px/1.4 var(--mono); letter-spacing: .04em;
  color: var(--red-bright); text-transform: uppercase;
}
.alt-list { color: var(--fg); }
.alt-row {
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline;
  padding: .55rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.alt-row:last-child { border-bottom: 0; }
.alt-accepted {
  padding: .8rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 2px solid var(--green);
  background: var(--bg-raised);
}
.alt-rejects { display: flex; flex-direction: column; gap: .5rem; }
.alt-reject {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .7rem .9rem; border-radius: 0 4px 4px 0;
  border-left: 2px solid var(--red-bright); background: rgba(224,59,69,.07);
}
.alt-reject .msg { margin: 0; }

/* ---------------------------------------------------------- boykot markasi
   Gate 4'un marka onay ekrani. Kaynak kartina benzer ama ondan daha sicak durur:
   burada bir rakam degil, ziyaretcinin kendi verdigi bir cevap onaylaniyor. */
.brand-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--bg-raised); border: 1px solid var(--line);
  border-left: 2px solid var(--green);
}
.brand-meant { margin: 0; color: var(--fg-dim); font-size: .95em; }
.brand-name { margin: 0; color: var(--fg); }
.brand-card .lede { color: var(--fg); }
.brand-card .source-links a { border-color: var(--fg-faint); }
.brand-card .msg { color: var(--fg-faint); }

/* ------------------------------------------------------------ ipucu rozeti
   Soru basliginin yaninda duran "!" dugmesi. Yalnizca ipucu olan soruda vardir.
   Hover ile ACILMAZ: dokunmatikte hover yoktur, tiklama her yerde ayni calisir. */
.prompt-row { display: flex; align-items: flex-start; gap: .7rem; }
.prompt-row > :first-child { flex: 1 1 auto; min-width: 0; margin: 0; }
.prompt-row > .prompt-long { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.35; }
.hint-btn {
  position: relative; flex: 0 0 auto; margin-top: .15rem;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--fg-faint); color: var(--fg-dim);
  font: 700 16px/1 var(--mono); cursor: pointer;
  transition: color .15s, border-color .15s;
}
/* Gorunen daire 32px, DOKUNMA hedefi 48px (PRD §22.2): basligi ezmeden buyur. */
.hint-btn::after { content: ''; position: absolute; inset: -8px; }
.hint-btn:hover { color: var(--fg); border-color: var(--fg); }
.hint-btn.on { color: var(--accent-river); border-color: var(--accent-river); }
.hint-bubble {
  margin: 0; padding: .7rem .9rem; color: var(--fg); font-size: .95em;
  background: rgba(242,194,48,.07);
  border: 1px solid var(--line); border-left: 2px solid var(--accent-river);
  border-radius: 0 4px 4px 0;
  animation: rise .2s ease both;
}

button.action, a.action {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--fg); color: var(--bg);
  border: 0; border-radius: var(--radius); cursor: pointer;
  font: 600 15px/1 var(--mono); letter-spacing: .12em;
  padding: .85rem 1.4rem; min-height: 44px; /* PRD §22.2 dokunma hedefi */
  transition: opacity .15s;
}
button.action:disabled { opacity: .35; cursor: not-allowed; }
/* `.ghost`: dolu "Devam/Gonder" dugmesinin YANINDA durur ("onerileri gor" gibi
   ikincil eylemler). Once `--line` (#1f1f1f) kenarligi vardi — neredeyse
   #0a0a0a zemine gomuluyordu, yani ikincisi degil GORUNMEZ duruyordu. Kenarligi
   sitede zaten ikincil kontroller icin kullanilan `--fg-faint`e cektim (bkz.
   .hint-btn, .langs button) — govdesi hala icibos/duz oldugu icin dolu
   dugmeyle karistirilmiyor, ama artik bir dugme oldugu goruluyor. */
button.ghost, a.action.ghost {
  background: none; color: var(--fg-dim); border: 1px solid var(--fg-faint);
  transition: color .15s, border-color .15s, opacity .15s;
}
button.ghost:hover, a.action.ghost:hover { color: var(--fg); border-color: var(--fg); }

/* ------------------------------------------------- kaynak karti (PRD §5) */
.source-card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.source-card .figure { font: 600 clamp(1.8rem,6vw,2.6rem)/1 var(--font); color: var(--red-bright); }
.source-card .label { color: var(--fg); }
.source-card .scope { color: var(--fg-dim); font-size: 1em; }
.source-card .org { color: var(--fg-faint); font: 500 15px/1.55 var(--font); }
.source-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.source-links a {
  color: var(--fg); text-decoration: none; border: 1px solid var(--line);
  border-radius: 4px; padding: .45rem .75rem; font: 500 14px/1 var(--mono);
  min-height: 36px; display: inline-flex; align-items: center;
}
.source-links a:hover { border-color: var(--fg-faint); }

/* ---------------------------------------------------------------- harita */
.map-wrap { display: flex; justify-content: center; }
svg.map { height: min(46vh, 360px); width: auto; color: var(--red); }
/* Telefonda harita sikklari katlanmanin altina itiyordu: soru + harita + sik
   tek ekranda gorunsun diye daha kisa. */
@media (max-width: 600px) { svg.map { height: min(30vh, 240px); max-width: 100%; } }
svg.map .view { display: none; }
svg.map[data-view="v-silhouette"] #v-silhouette,
svg.map[data-view="v-1967"] #v-1967,
svg.map[data-view="v-gaza"] #v-gaza,
svg.map[data-view="v-westbank"] #v-westbank,
svg.map[data-view="v-rts"] #v-rts { display: block; }
#mediterranean, #jordan-river, #connect-line { opacity: 0; transition: opacity .5s ease; }
#connect-line { transition: opacity .3s ease, stroke-dashoffset 1.1s ease; }
.lit-sea #mediterranean { opacity: 1; stroke: var(--accent-sea); }
.lit-river #jordan-river { opacity: 1; stroke: var(--accent-river); }
.lit-line #connect-line { opacity: 1; stroke: #fff; stroke-dashoffset: 0; }
.lit-free #r-land { color: var(--red-bright); }
svg.map #r-land { transition: color .7s ease; }

/* ------------------------------------------------------------- bloklar */
.tray, .slotline {
  display: flex; flex-wrap: wrap; gap: .5rem;
  min-height: 52px; padding: .5rem; border-radius: var(--radius);
}
.slotline { border: 1px dashed var(--line); align-items: center; }
/* Numarali bos yuva: cumlenin KAC bloktan olustugunu gosterir; tepsideki
   fazlalar tuzaktir, kullanici bunu bakinca anlamali. */
.hole {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6rem; min-height: 44px; padding: .6rem .85rem; border-radius: 4px;
  border: 1px dashed var(--line); color: var(--fg-faint);
  font: 600 14px/1 var(--mono);
}
.hole.filled {
  border-style: solid; background: var(--bg-raised); color: var(--fg); font: inherit;
  cursor: pointer; /* dolu yuvaya dokunmak o kelimeyi ve sonrasini geri alir */
}
.hole.filled:hover { border-color: var(--red-bright); color: var(--red-bright); }
/* Cozulmus cumlede geri alma yok: imlec de bunu soylesin */
.solved .hole.filled { cursor: default; }
.solved .hole.filled:hover { border-color: var(--red); color: var(--red-bright); }
.block-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.block-controls .action:disabled { opacity: .35; cursor: default; }
.block {
  background: var(--bg-raised); border: 1px solid var(--line); color: var(--fg);
  border-radius: 4px; padding: .6rem .85rem; font: inherit; cursor: pointer;
  min-height: 44px; transition: transform .12s ease, opacity .12s ease;
}
.block:hover:not(:disabled) { transform: translateY(-1px); }
.block:disabled { cursor: default; }
.block.placed { background: #191919; opacity: .35; }
.solved .hole.filled { border-color: var(--red); color: var(--red-bright); }
.solved .block { border-color: var(--red); color: var(--red-bright); cursor: default; }

/* -------------------------------------------------------------- slider */
.slider-value { font: 600 clamp(2rem,9vw,3.4rem)/1 var(--font); color: var(--fg); }
input[type="range"] { width: 100%; height: 44px; accent-color: var(--red); }
.compare { display: grid; gap: .4rem; }
.compare .row { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.compare .row.truth { color: var(--red-bright); font-weight: 600; }

/* ---------------------------------------------------------- nokta tuvali */
.dots-stage { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
/* Uc katman ust uste: altta isaret izgarasi, ortada biriken adlar, ustte yalnizca
   en son beliren ad. Ayri tuvaller olmasaydi isaretler adlarin ustunu kapatirdi. */
.dots-stack { position: relative; width: 100%; height: min(52vh, 420px); }
.dots-head { width: 100%; display: flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 44px; }
@media (max-width: 600px) { .dots-stack { height: min(46vh, 380px); } }
.dots-stack canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#dots { border-radius: var(--radius); }
.dots-count { font: 600 clamp(1.6rem,6vw,2.4rem)/1 var(--mono); font-variant-numeric: tabular-nums; }
.dots-note { color: var(--fg-dim); font-size: .98em; }

/* -------------------------------------------------------- isim / hafiza */
.name-card { text-align: center; display: flex; flex-direction: column; gap: .3rem; }
.name-ar { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.3; }
.name-age { color: var(--fg-dim); font: 500 15px/1 var(--mono); }
.witness-card {
  display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center;
  min-height: 13rem; justify-content: center;
  padding: 1.4rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
}
.witness-card.rise { animation: rise .3s ease both; }
.witness-card .name-ar { font-size: clamp(1.5rem, 6vw, 2.2rem); }
.witness-name { font-size: 1.25rem; font-weight: 600; margin: 0; }
.witness-story { color: var(--fg-dim); max-width: 34rem; margin: 0; line-height: 1.6; }

/* --------------------------------------------------- youtube facade §33 */
.yt-facade {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000 center/cover no-repeat; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  background: rgba(0,0,0,.6); border: 1px solid #fff4; color: #fff;
  border-radius: 999px; padding: .8rem 1.4rem; font: 600 15px/1 var(--mono);
  letter-spacing: .1em; pointer-events: none;
}
.warn {
  border: 1px solid var(--line); border-left: 2px solid var(--red);
  padding: .9rem 1.1rem; border-radius: var(--radius); color: var(--fg-dim); font-size: .95em;
}

/* -------------------------------------------------------------- sayac */
.counter { font: 600 clamp(2.6rem,12vw,5rem)/1 var(--font); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- final: eylem
   Bu bolum final ekraninin ASIL isi: ziyaretci bilgilendi, geriye ne yapacagi
   kaldi. O yuzden digerlerinden ayrik ve daha yuksek sesle durur. */
.final-section.act { border-top-color: var(--red); gap: 1rem; }
.act-call {
  margin: 0; color: var(--fg);
  font: 600 clamp(1.15rem, 3.6vw, 1.5rem)/1.35 var(--font);
}
a.action.act-primary {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; align-self: flex-start; text-align: center;
}
/* Baglantilar: dar ekranda alt alta, genis ekranda yan yana — sabit sutun yok. */
/* Ust satir uygulamalar (2), alt satir site + sosyal (3). Dar ekranda ikisi de
   kendiliginden alt alta iner: sabit sutun sayisi yok, minmax var. */
.link-grid { display: grid; gap: .5rem; }
.link-grid.apps { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.link-grid.social { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  min-height: 48px; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised); color: var(--fg); text-decoration: none;
  font: 600 14px/1.2 var(--mono); letter-spacing: .08em;
  transition: border-color .15s, color .15s;
}
.link-card:hover { border-color: var(--red-bright); color: var(--red-bright); }
.link-go { color: var(--fg-faint); }
.link-card:hover .link-go { color: var(--red-bright); }
.act-suggest {
  display: flex; flex-direction: column; gap: .8rem;
  padding-top: 1rem; border-top: 1px dashed var(--line);
}
.act-suggest h3 { margin: 0; font-size: 1.05rem; }
.boycott-panel { display: flex; flex-direction: column; gap: .6rem; }
.final-section { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.source-list { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.source-list a { color: var(--fg); }

/* Gizlilik metni ve iletisim formu — ikisi de pencerede acilir. */
.policy-h { margin: .4rem 0 0; font-size: 1rem; color: var(--fg); }
.contact-form { display: flex; flex-direction: column; gap: .7rem; }
.contact-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  color: var(--fg); font: inherit; padding: .8rem .9rem; border-radius: var(--radius);
  resize: vertical; min-height: 7rem;
}
.contact-form textarea:focus, .contact-form input:focus { border-color: var(--fg-faint); }
/* Bal kupu: ekran okuyucudan da, gozden de uzak; yalnizca botlar doldurur. */
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------- acilis sahnesi */
.flag-scene { display: flex; flex-direction: column; gap: 1rem; }
.flag-stage {
  position: relative; width: 100%; height: min(40vh, 320px);
  background: radial-gradient(ellipse at 50% 40%, #151515 0%, #0b0b0b 70%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.flag-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Telefonda bayrak genislikle sinirli (1:2); yuksek kutu bos kalip yazi kutusunu
   asagi itiyordu — klavye acilinca ziyaretci yazarken bayragin cizildigini
   goremiyordu. Kutu bayragin oranina yakin tutulur. */
@media (max-width: 600px) { .flag-stage { height: clamp(180px, 62vw, 260px); } }
.flag-scene input[type="text"] { font-size: 1.15rem; text-align: center; }
.shake { animation: shake .32s ease; }
@keyframes shake {
  20% { transform: translateX(-6px); } 40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); } 80% { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) { .shake { animation: none; border-color: var(--red-bright) !important; } }
.figure-label { margin: -.4rem 0 0; color: var(--fg); font-size: 1rem; }
/* Kapsam satiri uyaridir, dipnot degil: soluk gri degil, kirmizi kenarli. */
.figure-scope {
  margin: 0; padding: .5rem .7rem; color: var(--fg-dim); font-size: .92em;
  border-left: 2px solid var(--red); background: rgba(224,59,69,.07); border-radius: 0 4px 4px 0;
}
.meter { color: var(--fg-dim); font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.progressbar {
  height: 3px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.progressbar i {
  display: block; height: 100%; background: var(--red-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}

/* --------------------------------------------------- dil baglantilari */
.langs a {
  border: 1px solid var(--line); color: var(--fg-faint); text-decoration: none;
  font: 600 13px/1 var(--mono); letter-spacing: .1em;
  padding: .45rem .6rem; border-radius: 4px;
  /* Dokunma hedefi (PRD §22.2): mobilde 44x44'ten kucuk dugme olmaz. */
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
}
.langs a[aria-current="true"] { color: var(--fg); border-color: var(--fg-faint); }

/* Siluet gorunumunde komsu iller arasindaki antialiasing dikisleri gorunmesin:
   stroke'u kalinlastirmak bitisik sekillerin arasindaki sac teli cizgiyi kapatir. */
svg.map[data-view="v-silhouette"] > g { stroke-width: 1.4; }

/* ------------------------------------------------------------- ek quiz
   Kapi bittikten sonra acilan istege bagli soru penceresi. Ilerlemeyi
   etkilemez; bu yuzden gorsel dili de "sinav" degil "devam okumasi"dir. */
.extra-offer {
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-start;
  padding: .9rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius);
}
.extra-offer .msg { margin: 0; }

.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: var(--step);
  background: rgba(4,4,4,.82);
  animation: fadeIn .18s ease both;
}
@keyframes fadeIn { from { opacity: 0 } }
/* Pencerenin arka plani: sorunun gorseli. Panelin ICINDE durur, dis karartinin
   ustunde. Opaklik bilincli olarak dusuk ve uzerine dikey bir perde biner —
   burasi bir galeri degil, okunacak bir metin. */
.modal-figure {
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background-size: cover; background-position: center; /* soru bazli override: extra.js/setFigure */
  opacity: 0; transition: opacity .35s ease;
}
.modal-figure.on { opacity: .22; }
.modal-figure::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(4,4,4,.35), rgba(4,4,4,.85));
}
/* Icerik gorselin USTUNDE kalir */
.modal-panel > *:not(.modal-figure) { position: relative; z-index: 1; }

.modal-panel {
  position: relative;
  width: min(38rem, 100%); max-height: min(86dvh, 52rem); overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem clamp(1rem, 4vw, 2rem) 1.2rem;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  animation: rise .22s ease both;
}
.modal-close {
  position: absolute; top: .5rem; right: .6rem;
  width: 2.2rem; height: 2.2rem; line-height: 1;
  background: transparent; border: 0; border-radius: var(--radius);
  color: var(--fg-dim); font-size: 1.6rem; cursor: pointer;
}
.modal-close:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.modal-body { display: flex; flex-direction: column; gap: 1rem; }
.modal-note { margin: 0; color: var(--fg-dim); font-size: .95em; }
.extra-prompt { margin: 0; font-size: clamp(1.05rem, 3vw, 1.3rem); line-height: 1.4; }
.extra-headline { margin: 0; color: var(--fg-dim); font-weight: 600; }
.msg.good { color: var(--accent-sea); }
/* Arkadaki sahne pencere aciken kaymasin */
body.modal-open { overflow: hidden; }
/* Pencere icindeki harita ekrani doldurmasin */
.modal-panel .map-wrap { max-height: 34vh; }
.link-btn {
  align-self: flex-start; background: none; border: 0; padding: .2rem 0;
  color: var(--fg-dim); font: inherit; font-size: .98em;
  text-decoration: underline; cursor: pointer;
}
.link-btn:hover { color: var(--fg); }

/* --------------------------------------------------------- giris cumleleri
   Yazilacak cumle KOPYALANAMAZ. Amac cumleyi tasimak degil, yazmak; secilemeyen
   metin yumusak bir engeldir. Sert bir kilit degildir ve olmasi da gerekmez —
   refleksle secip yapistirmayi bitirir, o kadar. */
.phrase {
  margin: 0;
  font-family: var(--mono); color: var(--fg);
  font-size: clamp(1rem, 3.4vw, 1.15rem); letter-spacing: .01em;
  padding: .7rem .9rem; border-left: 2px solid var(--red); border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,.03);
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; /* iOS: uzun basinca "Kopyala" cikmasin */
  cursor: default;
}
/* Acilis sahnesinin 2. asamasinda yonergenin ICINDE yazilacak ifade gecer.
   Ayni kural: secilemez, kopyalanamaz. */
.no-copy {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
input[type="text"].solved { border-color: var(--green); color: var(--fg-dim); opacity: .8; }

/* Ikinci cumle aniden zipmasin: birincisi yazilinca yavasca acilir.
   (prefers-reduced-motion kurali bunu da otomatik kisaltir.) */
.reveal { animation: rise .45s ease both; }

/* ------------------------------------------------------- Filistin icin dua
   Davet SESSIZDIR: bir dugme gibi degil, bir satir gibi durur. Giris ekraninda
   basligin ustunde, final ekraninda altbasligin altinda ayni bicimde cikar —
   ayni sey oldugu anlasilsin diye. */
.dua-invite {
  display: inline-flex; align-items: center; gap: .7rem;
  align-self: center; margin: 0 auto .9rem;
  padding: .85rem 1.6rem;
  background: rgba(59,224,196,.07);
  border: 1px solid rgba(59,224,196,.42); border-radius: 999px;
  color: var(--fg); font: inherit; font-size: clamp(1rem, 2.6vw, 1.1rem); font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.dua-invite:hover, .dua-invite:focus-visible {
  background: rgba(59,224,196,.14); border-color: var(--accent-sea); transform: translateY(-1px);
}
.dua-invite-mark { color: var(--accent-sea); font-size: 1.45em; line-height: 1; }
.dua-invite-dur {
  color: var(--fg-dim); font-size: .85em; font-weight: 400;
  font-variant-numeric: tabular-nums;
  padding-left: .7rem; border-left: 1px solid rgba(59,224,196,.28);
}
/* Yumusak bir nefes: goz ONCE buraya gelsin diye. Hareketi azaltilmis
   cihazlarda kapanir — davet kalir, kimildama gider. */
@media (prefers-reduced-motion: no-preference) {
  .dua-invite { animation: duaBreath 3.4s ease-in-out infinite; }
  .dua-invite:hover, .dua-invite:focus-visible { animation: none; }
}
@keyframes duaBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,224,196,.26); }
  50%      { box-shadow: 0 0 0 .5rem rgba(59,224,196,0); }
}

/* Pencere metin ICIN genisler: uc bolum (Arapca, okunus, anlam) alt alta okunur. */
.dua-panel { width: min(52rem, 100%); }
.dua-title { margin: 0; font-size: clamp(1.1rem, 3vw, 1.4rem); }

/* Video + yonlendirme yan yana; dar ekranda yonlendirme videonun ALTINA duser. */
.dua-head { display: flex; gap: 1rem; align-items: flex-start; }
.dua-video {
  flex: 1 1 62%; min-width: 0;
  width: 100%; max-height: 46dvh; aspect-ratio: 16 / 9;
  background: #000; border: 1px solid var(--line); border-radius: var(--radius);
}
.dua-nav { flex: 0 0 auto; display: flex; flex-direction: column; gap: .3rem; }
.dua-nav-link {
  background: none; border: 0; border-left: 2px solid var(--line);
  padding: .35rem .7rem; border-radius: 0;
  color: var(--fg-dim); font: inherit; font-size: .9em; text-align: left; cursor: pointer;
}
.dua-nav-link:hover, .dua-nav-link:focus-visible { color: var(--fg); border-left-color: var(--accent-sea); }
@media (max-width: 42rem) {
  .dua-head { flex-direction: column; }
  .dua-nav { flex-direction: row; flex-wrap: wrap; align-self: stretch; }
  .dua-nav-link { border-left: 0; border-bottom: 2px solid var(--line); }
  .dua-nav-link:hover, .dua-nav-link:focus-visible { border-bottom-color: var(--accent-sea); }
}

.dua-text { display: flex; flex-direction: column; gap: 1.6rem; }
.dua-section { scroll-margin-top: .5rem; }
.dua-section-title {
  margin: 0 0 .6rem; padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg-dim); font-size: .85em; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.dua-line { margin: 0 0 .8rem; line-height: 1.7; color: var(--fg); }
/* Arapca metin SAGDAN SOLA ve daha buyuk: harekeli yazi kucuk puntoda okunmaz. */
.dua-line-ar {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem); line-height: 2.1;
  text-align: right; letter-spacing: 0;
}

/* =====================================================================
   PRD-V2 — cok sayfali site (ust bar, alt bilgi, icerik sayfalari)
   Mobil oncelikli: once 375 px, sonra genisler.
   ===================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .6rem 1rem;
  padding: .7rem var(--step); border-bottom: 1px solid var(--line);
  background: rgba(10,10,10,.92); backdrop-filter: blur(6px);
}
.brand {
  font: 700 15px/1 var(--mono); letter-spacing: .2em; color: var(--fg);
  text-decoration: none; white-space: nowrap;
}
.nav-desk { display: none; gap: 1.2rem; }
.nav-desk a, .nav-mob nav a {
  color: var(--fg-dim); text-decoration: none; font-size: .95em;
}
.nav-desk a:hover, .nav-desk a[aria-current="page"], .nav-mob nav a[aria-current="page"] { color: var(--fg); }
.head-end { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
.langs a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 .5rem;
  border: 1px solid var(--line); border-radius: 4px; text-decoration: none;
  color: var(--fg-faint); font: 600 13px/1 var(--mono); letter-spacing: .1em;
}
.langs a[aria-current="true"] { color: var(--fg); border-color: var(--fg-faint); }
.cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem;
  background: var(--red); color: #fff; text-decoration: none; border-radius: var(--radius);
  font: 600 14px/1 var(--mono); letter-spacing: .08em; white-space: nowrap;
}
.cta:hover { background: var(--red-bright); }
/* Dar telefonda (≤400 px) EN "Enter the gate" + menu + logo sigmiyordu (4 px
   tasma). Logo ve dugme bir kademe sikistirilir. */
@media (max-width: 400px) {
  .brand { letter-spacing: .12em; font-size: 14px; }
  .cta { padding: 0 .7rem; letter-spacing: .03em; font-size: 13px; }
  .site-head { gap: .5rem; }
}
.nav-mob { position: relative; }
.nav-mob summary {
  list-style: none; cursor: pointer; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg);
}
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob nav {
  position: absolute; right: 0; top: calc(100% + .4rem); min-width: 13rem;
  display: flex; flex-direction: column; padding: .4rem;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-mob nav a { padding: .75rem .8rem; min-height: 44px; }
@media (max-width: 380px) { .langs { display: none; } }
@media (min-width: 860px) {
  .nav-desk { display: flex; }
  .nav-mob { display: none; }
}

.crumbs { width: 100%; max-width: 60rem; font-size: .95em; color: var(--fg-dim); margin-bottom: 1rem; }
.crumbs a { color: var(--fg-dim); }

.page:not(.page-gate) #main > * { width: 100%; max-width: 60rem; }
.page-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.page h1 { font-size: clamp(1.6rem, 5.4vw, 2.7rem); line-height: 1.18; }
.band {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.band h2 { color: var(--fg); font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
.more { color: var(--fg); }
a { color: var(--fg); }

/* ------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius);
  margin: 0 0 1rem; min-height: min(78vh, 40rem);
  display: flex; align-items: flex-end;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.45) contrast(1.05) brightness(.6);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.85) 55%, rgba(10,10,10,.98) 100%);
}
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem 1.1rem; }
.hero h1 { font-size: clamp(1.75rem, 7.2vw, 3.2rem); }
.hero-src { margin: 0; font: 500 15px/1.55 var(--font); color: var(--fg-dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-counter { margin: 0; color: var(--fg-dim); }
.hero-counter strong { color: var(--red-bright); font-variant-numeric: tabular-nums; }
.resume { margin: 0; }
.resume-link { background: var(--accent-river) !important; color: #000 !important; }

/* ---------------------------------------------------- rakam kartlari */
.fig-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 620px) { .fig-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .fig-grid { grid-template-columns: 1fr 1fr 1fr; } }
.fig-card, .fig-row, .src-row {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem;
}
.fig-row, .src-row { scroll-margin-top: 5rem; }
.fig-row:target, .src-row:target { border-color: var(--red-bright); }
.fig-value { margin: 0; font: 650 clamp(1.8rem, 7vw, 2.6rem)/1 var(--font); color: var(--red-bright); font-variant-numeric: tabular-nums; }
.fig-label { margin: 0; font-size: 1.02rem; color: var(--fg); font-weight: 600; }
.fig-scope { margin: 0; color: var(--fg-dim); font-size: 1em; }
.fig-src { margin: 0; color: var(--fg-faint); font: 500 15px/1.55 var(--font); }
.fig-src cite { font-style: normal; }
.fig-framing { margin: 0; border-left: 2px solid var(--red); padding-left: .8rem; color: var(--fg); }
.fig-perma { margin: 0; font: 500 13px/1 var(--mono); }
.fig-perma a { color: var(--fg-faint); }
.fig-meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: 0; font-size: 1em; }
.fig-meta dt { color: var(--fg-faint); }
.fig-meta dd { margin: 0; color: var(--fg-dim); }
.src-list { margin: 0; padding-left: 1rem; display: flex; flex-direction: column; gap: .3rem; color: var(--fg-dim); }
.band > .fig-row + .fig-row, .src-wrap > .src-row + .src-row { margin-top: .2rem; }
.src-wrap { gap: .8rem; }
.src-org { font-size: 1.05rem; color: var(--fg); }
.src-title { margin: 0; color: var(--fg-dim); }
.src-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.src-links a {
  border: 1px solid var(--line); border-radius: 4px; padding: .5rem .75rem;
  min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; font: 500 14px/1 var(--mono);
}
.src-used { font-size: 1rem; color: var(--fg-dim); margin-top: .4rem; }
.diff-list { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .7rem; color: var(--fg-dim); }

.points, .rules, .gate-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .55rem; color: var(--fg-dim); }
.rules strong, .gate-list strong { color: var(--fg); }
.org-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.org-strip li { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .98em; color: var(--fg-dim); }
.nakba-nums { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.nakba-nums strong { color: var(--red-bright); font-size: 1.4em; margin-inline-end: .4rem; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .nakba-nums { grid-template-columns: repeat(3, 1fr); } }

/* Bayrak onizlemesi: statik dort parca, dokununca/ustune gelince dalgalanir. */
.flag-preview {
  position: relative; width: 9rem; aspect-ratio: 2 / 1; border-radius: 2px; overflow: hidden;
  display: grid; grid-template-rows: 1fr 1fr 1fr; transform-origin: left center;
}
.flag-preview .fp-k { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.flag-preview .fp-w { background: #fff; }
.flag-preview .fp-g { background: #007a3d; }
.flag-preview .fp-r { position: absolute; inset: 0; width: 33.4%; background: #ce1126; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.flag-preview:hover, .flag-preview:active { animation: flagwave 1.6s ease-in-out infinite; }
@keyframes flagwave {
  0%, 100% { transform: perspective(300px) rotateY(0) skewY(0); }
  33% { transform: perspective(300px) rotateY(-12deg) skewY(1.5deg); }
  66% { transform: perspective(300px) rotateY(8deg) skewY(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) { .flag-preview:hover, .flag-preview:active { animation: none; } }

/* ------------------------------------------------------------ alt bilgi */
.site-foot {
  border-top: 1px solid var(--line); padding: 1.4rem var(--step) 2rem;
  display: flex; flex-direction: column; gap: .5rem; color: var(--fg-dim); font-size: .95em;
}
.site-foot p { margin: 0; }
.site-foot .footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.site-foot a.link-btn { color: var(--fg-dim); font-size: 1em; min-height: 36px; display: inline-flex; align-items: center; }

.gate-progress { width: 100%; max-width: 44rem; min-height: 1em; text-align: center; padding: .4rem 0; }
.gate-intro h2 { margin-top: 1rem; }
.notfound { max-width: 40rem; margin: 0 auto; gap: 1rem; }
.hero .dua-invite { align-self: flex-start; }

/* ------------------------------------------------------------- boykot */
.b-search { display: flex; flex-wrap: wrap; gap: .5rem; }
.b-search input[type="search"] {
  flex: 1 1 14rem; min-height: 48px; background: var(--bg-raised); border: 1px solid var(--line);
  color: var(--fg); font: inherit; padding: .8rem 1rem; border-radius: var(--radius);
}
.b-search input[type="search"]:focus { border-color: var(--fg-faint); }
.b-count:empty { display: none; }
.b-none a { color: var(--accent-river); }
.b-cat { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.b-cat h2 { font-size: 1.1rem; }
.b-n { color: var(--fg-faint); font-weight: 400; }
.brand-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: .4rem;
}
@media (min-width: 620px) { .brand-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .brand-list { grid-template-columns: 1fr 1fr 1fr; } }
.brand-list li {
  /* Ad ustte, link altta: yan yana dizildiginde kisa adlarda link sagda, uzun
     adlarda alta kayiyor ve izgara dalgali gorunuyordu. */
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
  padding: .65rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised);
}
.b-name { color: var(--fg); font-weight: 600; }
.brand-list a { color: var(--fg-dim); font-size: .95em; }

/* ------------------------------------------- coktan secmeli (PRD-V2 §9.4) */
.choices { display: grid; grid-template-columns: 1fr; gap: .55rem; }
@media (min-width: 620px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  text-align: start; background: var(--bg-raised); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; min-height: 52px; font: inherit; cursor: pointer;
  transition: border-color .15s, transform .12s, opacity .15s;
}
.choice:hover:not(:disabled) { border-color: var(--fg-faint); transform: translateY(-1px); }
.choice:disabled { cursor: default; }
.choices .choice:disabled:not(.right):not(.wrong) { opacity: .5; }
.choice.right { border-color: var(--green); background: rgba(0,122,61,.18); box-shadow: inset 3px 0 0 var(--green); }
.choice.wrong { border-color: var(--red-bright); background: rgba(224,59,69,.12); box-shadow: inset 3px 0 0 var(--red-bright); }
.result { margin: 0; font-weight: 600; }
.result.good { color: #3fbf7f; }
.result.bad { color: var(--red-bright); }
.result.skipped { color: var(--fg); }
.outcome { display: flex; flex-direction: column; gap: 1rem; }
.outcome:empty { display: none; }
.skip-btn { min-height: 44px; padding: 0 .4rem; color: var(--fg-dim); text-decoration: underline; text-underline-offset: 3px; }
.other-brand summary { cursor: pointer; color: var(--fg-dim); min-height: 44px; display: flex; align-items: center; }
.other-brand .field { margin-top: .5rem; }
.final-nth { margin: 0; font-size: 1.15em; color: var(--fg); }
.final-score { margin: 0; font-size: 1.3em; font-weight: 600; color: var(--fg); }
.witness-card { display: flex; flex-direction: column; gap: .6rem; }
.choices, .outcome { scroll-margin-top: 5rem; }

/* ------------------------------------------- kapi 5: nehirden denize */
.rts-wrap { position: relative; width: 100%; height: min(58vh, 480px); touch-action: none; }
.rts-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
.rts-start {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-river) 0 22%, rgba(242,194,48,.35) 23% 45%, transparent 46%);
  border: 0; cursor: pointer; animation: pulse 1.6s ease-in-out infinite; pointer-events: none;
}
.rts-start:focus-visible { pointer-events: auto; }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .rts-start { animation: none; } }
.rts-label { position: absolute; top: 40%; font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.rts-river { right: 0; color: var(--accent-river); }
.rts-sea { left: 0; color: var(--accent-sea); }
.rts-phrase { display: flex; flex-direction: column; gap: .5rem; }
.rts-local { margin: 0; font-size: 1.3rem; font-weight: 600; color: var(--fg); }
.rts-original { margin: 0; color: var(--fg-dim); font: 500 15px/1.55 var(--font); }
.share-preview { width: min(100%, 300px); height: auto; aspect-ratio: 1080 / 1350; border: 1px solid var(--line); border-radius: var(--radius); }
.final-flag { animation: flagwave 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .final-flag { animation: none; } }
.final-links { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; color: var(--fg-faint); }

/* Klavye ipucu dokunmatik ekranda anlamsiz: yalnizca fare/klavye cihazlarinda. */
@media (pointer: coarse) { .kbd-hint { display: none; } }
