/* ============================================================
   GANLISH — design system + components
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  --ink-900: #0e1628;
  --ink-800: #131f38;
  --ink-700: #1b2b4d;
  --ink-600: #263a63;
  --ink: #16203a;

  --gold: #f5b60c;
  --gold-deep: #e0870a;
  --gold-soft: #ffd25e;

  --sky: #3e9be0;
  --sky-bright: #5fb0ec;
  --sky-soft: #dceefb;

  --paper: #f4f8fd;
  --paper-2: #e9f1fa;

  --text-dark: #16203a;
  --muted-dark: #5a6b88;
  --text-light: #e9eef8;
  --muted-light: #93a4c4;

  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: #d6e3f2;

  /* playful accents (book + content variety) */
  --c-coral: #ff6b6b;
  --c-mint: #34d3a6;
  --c-violet: #9b7bff;
  --c-amber: #ffb020;
  --c-rose: #ff7eb6;
  --c-teal: #2fc6c0;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  /* Android'in genel monospace yazı tipi IPA harflerini (ɪ ɜ ʒ) kutu çiziyor: yedek yazı tipi sans-serif */
  --mono: "Space Mono", ui-monospace, Menlo, Consolas, "Noto Sans", sans-serif;

  --maxw: 1280px;
  --radius: 18px;

  /* Üst başlığın gerçek yüksekliği: .nav-inner 68px + 1px alt çizgi.
     Yapışkan ikincil çubuklar ve mobil menü panelinin başlangıcı bundan
     hesaplanır — elle 68px yazılınca çizgi bir piksel altında kalıp
     içerik başlığın altından sızıyordu. */
  --nav-h: 69px;

  /* 4px tabanlı dikey ritim — sınav çözümlemesi kartlarında kullanılır */
  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 12px; --sp-lg: 16px; --sp-xl: 24px;
}

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Yapışkan başlık kadar tepe payı: bağlantı/atlama ile gidilen hedef
     başlığın ALTINDA kalmasın (mobilde en çok burada göze batıyordu). */
  scroll-padding-top: calc(var(--nav-h) + 14px);
}

body {
  font-family: var(--body);
  background: var(--ink-900);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
.ik { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--ink-900); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ SCROLLBAR ============ */
/* Native scrollbar görünür ve tutulabilir kalır — kaydırma çubuğunu gizleyip
   yerine dekoratif bir şerit koymak fareyle sürüklemeyi imkânsız kılıyordu. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 7px;
  border: 3px solid var(--ink-900); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }
::-webkit-scrollbar-corner { background: var(--ink-900); }
* { scrollbar-width: thin; scrollbar-color: var(--ink-600) var(--ink-900); }
body.mode-book { scrollbar-color: #b3c4da var(--paper-2); }
body.mode-book ::-webkit-scrollbar-track { background: var(--paper-2); }
body.mode-book ::-webkit-scrollbar-thumb { background: #b3c4da; border-color: var(--paper-2); }

/* ============ READING-PROGRESS LINE ============ */
/* Sayfanın en üstünde ince bir okuma çizgisi. Scrollbar'ın yerini almaz. */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  pointer-events: none; background: transparent; opacity: 0; transition: opacity .3s; }
.read-progress.on { opacity: 1; }
.read-progress-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 10px -1px color-mix(in srgb, var(--gold) 65%, transparent);
  will-change: width; }
@media (prefers-reduced-motion: reduce) { .read-progress { transition: none; } }

.eyebrow {
  font-size: 0.83rem; letter-spacing: 0; color: var(--sky-bright);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; }
.accent-gold { color: var(--gold); }
.accent-sky { color: var(--sky-bright); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--ink-900); box-shadow: 0 8px 22px -8px rgba(245, 182, 12, 0.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-soft); box-shadow: 0 14px 30px -10px rgba(245, 182, 12, 0.8); }
.btn-ghost { background: transparent; color: var(--text-light); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--sky); color: #fff; transform: translateY(-2px); }
.btn-ghost.on-light { color: var(--text-dark); border-color: var(--line-light); }
.btn-ghost.on-light:hover { border-color: var(--sky); color: var(--ink); }

a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 12px; }

/* ============ NAV (persistent shell) ============ */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 22, 40, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  -webkit-user-select: none; user-select: none;   /* header is chrome, not content: no accidental text selection on tap */
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--gold); }
.brand b span { color: #fff; }
.nav-main { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { font-size: 0.9rem; color: var(--muted-light); transition: color .18s; position: relative; padding: 4px 0; }
.nav-links a.link:hover { color: #fff; }
.nav-links a.link.active { color: #fff; }
.nav-links a.link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.nav-auth { display: flex; align-items: center; gap: 16px; }
/* TR/EN düğmesi (basla.ts bağlar): masaüstünde en sağda, mobilde menü düğmesinin solunda */
.dil-sec { order: 5; margin-left: 14px; padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: none; color: var(--text-light); font: 700 0.78rem/1 var(--mono, monospace); letter-spacing: .06em; cursor: pointer; }
.dil-sec:hover, .dil-sec:focus-visible { color: #fff; border-color: var(--gold); }
/* Geri düğmesi (geri.ts): ana sayfa dışında markanın solunda; dokunma hedefi 40px */
.geri-tus { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 6px;
  border: 1px solid var(--line-dark); border-radius: 12px; background: none; color: var(--text-light); cursor: pointer; flex: none; }
.geri-tus[hidden] { display: none; }
.geri-tus svg { width: 20px; height: 20px; }
.geri-tus:hover, .geri-tus:focus-visible { color: #fff; border-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--text-light); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* grouped nav dropdown (Kelimeler → vocab sections) */
.nav-group { position: relative; }
.nav-group > .link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { font-size: 0.6rem; opacity: .75; transition: transform .18s; }
.nav-group:hover .nav-caret, .nav-group:focus-within .nav-caret { transform: rotate(180deg); }
.nav-group:has(.nav-drop a.link.active) > .link { color: #fff; }
.nav-drop { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(-6px);
  display: flex; flex-direction: column; gap: 1px; min-width: 198px; padding: 8px;
  background: rgba(14, 22, 40, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 26px 54px -22px rgba(0, 0, 0, 0.75);
  opacity: 0; pointer-events: none; transition: opacity .17s ease, transform .17s ease; z-index: 70; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop,
.nav-group.acik .nav-drop { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-group.acik .nav-caret { transform: rotate(180deg); }
/* Maddeye tıklanınca (main.ts) fare grubun üstünde kalsa da açılır kapansın */
.nav-group.sustur .nav-drop { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-6px); }
.nav-group.sustur .nav-caret { transform: none; }
.nav-group-link { cursor: pointer; user-select: none; }
.nav-drop a.link { padding: 9px 13px; border-radius: 9px; font-size: 0.9rem; white-space: nowrap; color: var(--muted-light); }
.nav-drop a.link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-drop a.link.active { color: var(--gold); background: rgba(245, 182, 12, 0.09); }
.nav-drop a.link.active::after { display: none; }

/* İki sütunlu mega menü — 13 maddelik tek liste yerine başlıklı öbekler. */
.nav-mega { flex-direction: row; gap: 22px; padding: 16px 18px; min-width: 520px; }
.nav-mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 226px; }
.nav-mega-bas { font-size: 0.74rem; letter-spacing: 0; color: var(--muted-light); font-weight: 600;
  padding: 0 0 7px 4px; margin-bottom: 5px; border-bottom: 1px solid var(--line-dark); }
.nav-drop a.link.nav-mega-link { display: block; white-space: normal; padding: 8px 10px; }
.nav-mega-link b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.nav-mega-link small { display: block; margin-top: 1px; font-size: 0.75rem;
  line-height: 1.4; color: var(--muted-light); }
.nav-mega-link:hover b { color: #fff; }
.nav-mega-link.nav-mega-one { background: rgba(245, 182, 12, 0.07);
  border: 1px solid rgba(245, 182, 12, 0.22); }
.nav-mega-link.nav-mega-one b { color: var(--gold-soft); }
.nav-drop a.link.nav-mega-link.active { background: rgba(245, 182, 12, 0.12); }

@media (max-width: 860px) {
  /* Mobil menü paneli. Menüde 18 madde var; ekrana sığmıyor (390x844'te
     ~1280px). Eskiden yüksekliği serbestti, `overflow` yoktu ve panel
     `fixed` olduğu için taşan kısım KAYDIRILAMIYORDU: Oyunlar / Giriş /
     Üye ol maddelerine hiç ulaşılamıyor, parmak hareketi arkadaki sayfayı
     kaydırıyordu. Panel artık ekranı aşmaz ve kendi içinde kayar. */
  .nav-main { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    /* Panel artık kendi içinde kaydığı için arka planı da içerikle uzamalı:
       `background-attachment: local`. Sabit (varsayılan) arka plan aşağı
       kaydırınca panelin altında kalıyor, sayfa menünün arasından sızıyordu.
       Opak zemin + blur yok — kayan panelde bulanıklık hem gereksiz hem pahalı. */
    background: var(--ink-900); background-attachment: local; border-bottom: 1px solid var(--line-dark);
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));   /* dvh: adres çubuğu açılıp kapanınca doğru kalır */
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;              /* menünün sonuna gelince arkadaki sayfa kaymasın */
    padding: 8px 24px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
  .nav-main.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .2s, visibility 0s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a.link { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links a.link.active::after { display: none; }
  .nav-auth { padding-top: 12px; }
  .nav-toggle { display: block; }
  .dil-sec { order: 0; margin: 0 10px 0 auto; }
  /* Açılırlar mobilde KATLANIR öbek olur: hepsi birden açık durunca menü
     1279px'e çıkıyor, üç bölümün tamamını görmek için uzun uzun kaydırmak
     gerekiyordu. Kapalıyken menü tek ekrana sığar; ok'a dokunmak açar. */
  .nav-group { display: block; }
  .nav-group > .link { display: flex; align-items: center; justify-content: space-between; }
  .nav-caret { display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem; opacity: .8; margin: -13px -14px -13px 0; padding: 13px 14px; /* dokunma hedefi ~38x45 */ }
  .nav-drop { display: none; }
  .nav-group.acik > .link .nav-caret { transform: rotate(180deg); }
  /* Bulunduğun bölümün öbeği menü açılırken açık gelir (navmenu.ts).
     transform: none şart — masaüstünün `.nav-group.acik .nav-drop` kuralı
     (özgüllük 0,3,0) açılır menüyü translateX(-50%) ile ortalıyor; mobilde
     öbek yerinde durduğu için bu, listeyi ekranın soluna taşırıyordu. */
  .nav-group.acik .nav-drop { display: flex; transform: none; }
  .nav-drop { position: static; transform: none; opacity: 1; pointer-events: auto; min-width: 0; z-index: auto;
    background: none; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 0 14px; margin-left: 2px; border-left: 1px solid var(--line-dark); gap: 0; }
  .nav-drop::before { display: none; }
  .nav-drop a.link { padding: 12px 0; border-radius: 0; font-size: 0.9rem; }
  .nav-drop a.link:last-child { border-bottom: none; }
  /* mega menü dar ekranda tek sütuna iner */
  .nav-mega { flex-direction: column; min-width: 0; gap: 0; }
  .nav-mega-col { min-width: 0; }
  .nav-mega-bas { margin-top: 10px; }
  .nav-drop a.link.nav-mega-link { padding: 10px 0; }
  .nav-mega-link.nav-mega-one { background: none; border: 0; }
}

/* Menü açıkken sayfa gövdesi yerinde çakılı kalır. `overflow: hidden` tek
   başına iOS Safari'de dokunmatik kaydırmayı durdurmuyor; gövdeyi `fixed`
   yapıp kaydırma konumunu `top` ile korumak her tarayıcıda çalışır
   (konumu main.ts geri yükler). */
body.menu-acik { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* ============ ROUTER VIEW ============ */
#view { min-height: 60vh; animation: viewIn .34s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============ SECTIONS ============ */
section { position: relative; }
.pad { padding: clamp(56px, 9vw, 110px) 0; }
.pad-sm { padding: clamp(40px, 6vw, 72px) 0; }
.light { background: var(--paper); color: var(--text-dark); }
.light .eyebrow { color: var(--sky); }

.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.sec-head p { color: var(--muted-light); font-size: 1.05rem; }
.light .sec-head p { color: var(--muted-dark); }

/* ============ HERO + MASCOT ============ */
.hero { overflow: hidden; -webkit-user-select: none; user-select: none; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 84px);
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 22px 0 20px; }
.hero-title .u { position: relative; white-space: nowrap; }
.hero-title .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em; background: var(--gold); border-radius: 3px; z-index: -1; opacity: 0.85; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted-light); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stage { position: relative; display: grid; place-items: center; min-height: 360px; perspective: 1000px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bobY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.022); } }
@keyframes glint { 0%,64%,100% { opacity: 0; transform: translateX(-140%) rotate(18deg); } 74% { opacity: .7; } 84% { opacity: 0; transform: translateX(140%) rotate(18deg); } }
.stage .orb { position: relative; z-index: 3; width: min(96%, 420px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 42px 82px -24px rgba(0,0,0,0.72); animation: bobY 6s ease-in-out infinite; isolation: isolate; }
.stage .orb-disc { position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 22%, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 40%, rgba(95,176,236,0.06) 63%, rgba(14,22,40,0.55) 100%), var(--ink-800);
  border: 1px solid rgba(255,255,255,0.13); box-shadow: inset 0 3px 16px rgba(255,255,255,0.16), inset 0 -24px 48px rgba(14,22,40,0.55); }
.stage .orb-tilt { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  transform: perspective(760px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.stage .mascot-img { width: 86%; display: block; filter: drop-shadow(0 16px 26px rgba(0,0,0,0.5)); animation: breathe 5s ease-in-out infinite; -webkit-user-drag: none; -webkit-touch-callout: none; }
.stage .lens-glint { position: absolute; z-index: 3; top: 30%; left: 13%; width: 24%; height: 24%; border-radius: 50%; overflow: hidden; pointer-events: none; opacity: 0.9; }
.stage .lens-glint::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.75) 50%, transparent 58%); mix-blend-mode: screen; opacity: 0; animation: glint 7s ease-in-out infinite; }
.stage .orb-glass { position: absolute; inset: 0; z-index: 4; border-radius: 50%; pointer-events: none; background: radial-gradient(130% 90% at 30% 16%, rgba(255,255,255,0.16), rgba(255,255,255,0) 42%); }
.stage .orb-glass::before { content: ""; position: absolute; top: 8%; left: 14%; width: 40%; height: 28%; border-radius: 50%; background: radial-gradient(circle at 42% 40%, rgba(255,255,255,0.5), rgba(255,255,255,0) 70%); filter: blur(2px); }
.stage .orb::after { content: ""; position: absolute; inset: -3px; z-index: 5; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245,182,12,0.6) 45deg, transparent 130deg, transparent 210deg, rgba(95,176,236,0.55) 265deg, transparent 340deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); animation: spin 12s linear infinite; }
.stage .orb:hover .mascot-img { animation-play-state: paused; }

/* ============ CONTENT CARDS (home + section pages) ============ */
.content-band { padding: clamp(30px, 5vw, 56px) 0; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.band-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.band-head .more { font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--sky-bright); display: inline-flex; align-items: center; gap: 6px; }
.band-head .more:hover { color: #fff; }
.band-head .more svg { width: 16px; height: 16px; }

/* ============ GRAMMAR SHOWCASE (home) ============ */
.gshow { padding: clamp(46px, 6vw, 88px) 0; }
.gshow-head { max-width: 760px; margin-bottom: clamp(26px, 3.6vw, 42px); }
.gshow-title { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.05; letter-spacing: -0.025em; margin: 12px 0 14px; }
.gshow-sub { color: var(--muted-light); font-size: clamp(1rem, 1.4vw, 1.13rem); line-height: 1.6; max-width: 60ch; margin-bottom: 22px; }
.gshow-sub b { color: var(--gold-soft); font-weight: 700; }
.gshow-cta { margin-top: 2px; }

.gshow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 14px; }
.gunit { position: relative; display: flex; flex-direction: column; gap: 7px;
  padding: 16px 18px 18px; border-radius: 16px; background: var(--ink-800);
  border: 1px solid var(--line-dark); overflow: hidden; isolation: isolate;
  transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s, box-shadow .22s; }
.gunit:hover { transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 52%, transparent);
  box-shadow: 0 24px 46px -26px color-mix(in srgb, var(--accent) 62%, #000); }
.gunit-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
.gunit-glyph { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1;
  background: color-mix(in srgb, var(--accent) 15%, var(--ink-700));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  transition: transform .22s cubic-bezier(.16,1,.3,1); }
.gunit:hover .gunit-glyph { transform: scale(1.09) rotate(-4deg); }
.gunit-count { flex: none; margin-top: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 84%, white 10%);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 3px 10px; border-radius: 20px; }
.gunit-title { font-family: var(--display); font-weight: 800; font-size: 1.19rem; letter-spacing: -0.012em; color: var(--text-light); line-height: 1.15; }
.gunit-tag { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gunit-no { flex: none; font-family: var(--mono); font-weight: 700; font-size: 0.72rem; letter-spacing: .02em;
  color: color-mix(in srgb, var(--accent) 68%, var(--muted-light)); }
.gunit-en { font-size: 0.72rem; letter-spacing: 0;
  color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gunit-en::before { content: "· "; opacity: .55; }
.gunit-desc { color: var(--muted-light); font-size: 0.85rem; line-height: 1.5; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* generic learn card (idiom / phrasal / colloquial / word) */
.lcard {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 22px 22px 20px; position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.lcard:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -28px rgba(0,0,0,0.72); border-color: var(--accent, var(--gold)); }
.lcard::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; opacity: .85;
  background: linear-gradient(90deg, var(--accent, var(--gold)), color-mix(in srgb, var(--accent, var(--gold)) 22%, transparent)); }
.lcard:hover::before { opacity: 1; }
.lcard .kind { font-size: 0.76rem; letter-spacing: 0; color: var(--accent, var(--gold)); }
.lcard .term { font-family: var(--display); font-weight: 800; font-size: 1.45rem; margin: 8px 0 4px; color: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lcard .phon { font-family: var(--mono); font-size: 0.82rem; color: var(--muted-light); }
.lcard .mean { color: var(--text-light); font-size: 0.98rem; margin-top: 6px; }
.lcard .mean b { color: var(--gold-soft); }
.lcard .ex { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-dark); font-size: 0.92rem; color: var(--muted-light); }
.lcard .ex .en { color: var(--sky-bright); }
.speak { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.03); color: var(--muted-light); cursor: pointer; display: grid; place-items: center; transition: all .18s; }
.speak:hover { color: var(--ink-900); background: var(--gold); border-color: var(--gold); }
.speak svg { width: 15px; height: 15px; }

/* word of the day — featured */
.wod {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-dark); background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  position: relative;
}
.wod-main { padding: clamp(28px, 4vw, 44px); position: relative; z-index: 2; }
.wod-main .kicker { font-size: 0.83rem; letter-spacing: 0; color: var(--gold); }
.wod-word { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); margin: 10px 0 4px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wod-phon { font-family: var(--mono); color: var(--muted-light); font-size: 1rem; margin-bottom: 14px; }
.wod-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tagchip { font-size: 0.76rem; letter-spacing: 0; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.06); color: var(--sky-bright); }
.wod-mean { font-size: 1.1rem; color: var(--text-light); margin-bottom: 14px; }
.wod-mean b { color: var(--gold-soft); }
.wod-ex { font-size: 0.98rem; color: var(--muted-light); padding: 12px 14px; background: rgba(255,255,255,.035); border-radius: 12px; }
.wod-ex .en { color: var(--sky-bright); display: block; margin-bottom: 3px; }
.wod-side { position: relative; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 60% 30%, rgba(245,182,12,0.18), transparent 60%); }
.wod-side img { width: min(78%, 240px); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); animation: bobY 6s ease-in-out infinite; }
@media (max-width: 760px) { .wod { grid-template-columns: 1fr; } .wod-side { display: none; } }

/* ============ SECTION PAGE HERO ============ */
.page-hero { padding: clamp(44px, 7vw, 84px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 12px; }
.page-hero p { color: var(--muted-light); font-size: 1.08rem; max-width: 54ch; }

/* ============ EVIDENCE / IDIOM GAME (oyunlar) ============ */
.evi-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.evi-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 16px 0 16px; }
.evi-copy p { color: var(--muted-light); margin-bottom: 22px; }
.evi-hint { font-family: var(--mono); font-size: 0.78rem; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 9px; }
.evi-hint svg { width: 18px; height: 18px; }
.evidence { position: relative; background: linear-gradient(180deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark); border-radius: 16px; padding: 30px 30px 34px; overflow: hidden; cursor: crosshair; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); }
.evidence::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(255,255,255,0.03) 27px 28px); pointer-events: none; }
.evi-file { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 2; }
.evi-no { font-size: 0.85rem; color: var(--sky-bright); letter-spacing: 0; }
.stamp { font-weight: 700; font-size: 0.83rem; letter-spacing: 0; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 6px; padding: 4px 9px; transform: rotate(-6deg); opacity: 0.9; }
.stamp.solved { color: #57d99a; border-color: #57d99a; }
.lens-area { position: relative; padding: 22px 0 8px; z-index: 2; user-select: none; }
.idiom-layer { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.01em; }
.idiom-coded { color: var(--sky-bright); filter: blur(5px); opacity: 0.4; }
.idiom-clear { position: absolute; inset: 0; color: var(--gold); clip-path: circle(0px at 50% 50%); transition: clip-path .08s linear; text-shadow: 0 0 24px rgba(245, 182, 12, 0.35); }
.lens-ring { position: absolute; width: 132px; height: 132px; border-radius: 50%; border: 3px solid rgba(245, 182, 12, 0.85); pointer-events: none; box-shadow: 0 0 0 2px rgba(14,22,40,0.6), inset 0 0 30px rgba(245,182,12,0.12), 0 10px 30px -6px rgba(0,0,0,0.6); opacity: 0; transition: opacity .2s ease; transform: translate(-50%, -50%); left: 50%; top: 50%; z-index: 5; }
.lens-ring::after { content: ""; position: absolute; width: 3px; height: 34px; background: rgba(245,182,12,0.85); border-radius: 3px; bottom: -30px; right: -6px; transform: rotate(-40deg); transform-origin: top; }
.evidence.active .lens-ring { opacity: 1; }
.evi-solution { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-dark); position: relative; z-index: 2; min-height: 58px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.evidence.examined .evi-solution { opacity: 1; transform: none; }
.evi-solution .lbl { font-size: 0.83rem; color: #57d99a; letter-spacing: 0; }
.evi-solution .tr { font-size: 1.12rem; color: var(--text-light); margin-top: 5px; font-weight: 500; }
.evi-solution .tr b { color: var(--gold-soft); }
.evi-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; position: relative; z-index: 2; }
.evi-count { font-family: var(--mono); font-size: 0.74rem; color: var(--muted-light); }
.next-btn { font-family: var(--body); font-weight: 600; font-size: 0.88rem; color: var(--ink-900); background: var(--sky-bright); border: none; border-radius: 10px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: transform .18s ease, background .18s ease; }
.next-btn:hover { transform: translateX(3px); background: var(--sky); }
.next-btn svg { width: 16px; height: 16px; }

/* ============ BOOK (sıfırdan öğren — interactive colorful) ============ */
.book-wrap { display: grid; place-items: center; }
.book {
  --page-bg: #fff;
  width: min(100%, 860px); aspect-ratio: 16 / 10.5; max-height: 78vh;
  position: relative; border-radius: 16px;
  background: linear-gradient(135deg, var(--c-violet), var(--sky));
  padding: 14px; box-shadow: 0 50px 90px -40px rgba(0,0,0,0.7);
}
.book-inner { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: var(--page-bg); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.book-page { position: absolute; inset: 0; padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; color: #1f2740; overflow-y: auto;
  opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .45s ease, transform .45s cubic-bezier(0.16,1,0.3,1); }
.book-page.active { opacity: 1; transform: none; pointer-events: auto; }
.book-page.cover { align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 20%, var(--c-amber), transparent 55%), linear-gradient(140deg, var(--c-coral), var(--c-violet)); }
.book-page.cover h2 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); }
.book-page.cover p { color: rgba(255,255,255,0.9); margin: 12px 0 24px; max-width: 40ch; }
.book-page .p-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-violet); }
.book-page h3 { color: #1f2740; font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 8px 0 6px; }
.book-page .lead { color: #55617d; font-size: 1.02rem; margin-bottom: 18px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.letter-chip { font-family: var(--display); font-weight: 800; font-size: 1.4rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; color: #fff; cursor: pointer; transition: transform .16s ease; box-shadow: 0 8px 18px -8px rgba(0,0,0,0.4); }
.letter-chip:hover { transform: translateY(-4px) scale(1.04); }
.wordline { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #f4f6fc; margin-bottom: 10px; }
.wordline .emoji { font-size: 1.8rem; }
.wordline .w { font-weight: 700; color: #1f2740; }
.wordline .m { color: #6b7590; font-size: 0.92rem; }
.wordline .speak { border-color: #e0e6f2; color: #6b7590; }
.wordline .speak:hover { background: var(--c-violet); border-color: var(--c-violet); color: #fff; }
.book-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.book-btn { border: none; cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 0.9rem; padding: 11px 20px; border-radius: 11px; display: inline-flex; align-items: center; gap: 8px; transition: transform .16s ease, opacity .16s; }
.book-btn svg { width: 16px; height: 16px; }
.book-btn.prev { background: #eef1f8; color: #55617d; }
.book-btn.next { background: var(--c-violet); color: #fff; }
.book-btn:hover { transform: translateY(-2px); }
.book-btn:disabled { opacity: .4; cursor: default; transform: none; }
.book-dots { display: flex; gap: 7px; }
.book-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d3d9e8; transition: all .2s; }
.book-dots i.on { background: var(--c-violet); width: 22px; border-radius: 5px; }
.book-cta { background: #fff; color: var(--c-coral); font-weight: 800; padding: 13px 26px; border-radius: 12px; cursor: pointer; border: none; font-size: 1rem; }
@media (max-width: 640px) { .book { aspect-ratio: 3 / 4.4; max-height: none; } }

/* ============ CTA + FOOTER ============ */
.cta { text-align: center; }
.cta .box { background: linear-gradient(135deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark); border-radius: 26px; padding: clamp(44px, 6vw, 76px) 28px; position: relative; overflow: hidden; }
.cta .box::before { content: ""; position: absolute; width: 360px; height: 360px; left: 50%; top: -180px; transform: translateX(-50%); background: radial-gradient(circle, rgba(245,182,12,0.22), transparent 68%); pointer-events: none; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); position: relative; margin-bottom: 16px; }
.cta p { color: var(--muted-light); max-width: 48ch; margin: 0 auto 30px; position: relative; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

footer.foot { background: var(--ink-900); border-top: 1px solid var(--line-dark); padding: 42px 0; margin-top: 40px; -webkit-user-select: none; user-select: none; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand img { width: 34px; height: 34px; }
.foot .brand b { font-size: 1.1rem; }
.foot .meta { font-size: 0.85rem; color: var(--muted-light); }
.foot .meta a { color: var(--sky-bright); }
.foot .meta a:hover { text-decoration: underline; }

/* ============ AUTH ============ */
.auth-open { cursor: pointer; }
.user-chip { display: inline-flex; align-items: center; gap: 10px; }
.user-chip .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink-900); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.user-chip .uname { font-size: 0.9rem; color: var(--text-light); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .logout { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-light); cursor: pointer; border: 1px solid var(--line-dark); border-radius: 8px; padding: 6px 11px; transition: all .18s; background: transparent; }
.user-chip .logout:hover { color: #fff; border-color: var(--sky); }
.auth-overlay { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(6, 11, 22, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.auth-overlay.open { display: grid; }
.auth-card { width: 100%; max-width: 410px; background: linear-gradient(180deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark); border-radius: 20px; padding: 34px 30px 28px; position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85); animation: authIn .35s cubic-bezier(0.16,1,0.3,1); }
@keyframes authIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.auth-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--muted-light); cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 4px; }
.auth-close:hover { color: #fff; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.auth-brand img { width: 36px; height: 36px; }
.auth-brand b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--gold); }
.auth-brand b span { color: #fff; }
.auth-card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--muted-light); font-size: 0.9rem; margin-bottom: 18px; }
.auth-field { margin-bottom: 13px; }
.auth-field label { display: block; font-size: 0.8rem; letter-spacing: 0; color: var(--muted-light); margin-bottom: 6px; }
.auth-field input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; color: var(--text-light); font-family: var(--body); font-size: 0.95rem; transition: border-color .18s; }
.auth-field input:focus { outline: none; border-color: var(--gold); }
.auth-field input::placeholder { color: #5f6f8c; }
.auth-submit { width: 100%; margin-top: 6px; justify-content: center; }
.auth-error { color: #ff8a8a; font-size: 0.85rem; min-height: 20px; margin: 9px 0 2px; }
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--muted-light); margin-top: 14px; }
.auth-switch button { background: none; border: none; color: var(--gold); cursor: pointer; font-weight: 600; font-family: var(--body); font-size: 0.88rem; }
.auth-name-row { display: none; }
.auth-card.mode-signup .auth-name-row { display: block; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted-light); font-size: 0.9rem; letter-spacing: 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.auth-google { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f2430; border: none; border-radius: 12px; padding: 12px 14px; font-family: var(--body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.auth-google:hover { transform: translateY(-1px); opacity: 0.93; }
.auth-google:disabled { opacity: 0.6; cursor: default; }
.auth-google svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ MEMBER PANEL (dashboard) ============ */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 40px; }
.stat { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent, var(--gold)); }
.stat .slab { font-size: 0.8rem; letter-spacing: 0; color: var(--muted-light); }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: #fff; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.stat .num small { font-size: 0.95rem; color: var(--muted-light); font-family: var(--body); font-weight: 600; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.quick { display: flex; align-items: center; gap: 14px; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px; transition: transform .2s, border-color .2s; }
.quick:hover { transform: translateY(-4px); border-color: var(--gold); }
.quick .qi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); background: rgba(245,182,12,.1); flex-shrink: 0; }
.quick .qi .ik { width: 22px; height: 22px; }
.quick .qt b { color: #fff; display: block; }
.quick .qt span { color: var(--muted-light); font-size: 0.85rem; }
.gated { text-align: center; padding: 30px 0 10px; }
.gated p { color: var(--muted-light); margin: 10px auto 0; max-width: 40ch; }
.gated .btn { margin-top: 18px; }
.user-chip-link { display: inline-flex; align-items: center; gap: 10px; }
.user-chip-link:hover .uname { color: var(--gold-soft); }

/* ============ TICKER (shared) ============ */
.ticker { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,0.015); position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; flex-shrink: 0; align-items: center; padding: 15px 0; animation: marq 34s linear infinite; }
.ticker-row span { font-family: var(--mono); font-size: 0.82rem; color: var(--muted-light); padding: 0 26px; letter-spacing: 0.04em; }
.ticker-row span i { color: var(--sky-bright); font-style: normal; }
.ticker-row .dot { color: var(--gold); }
@keyframes marq { to { transform: translateX(-100%); } }

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .stage { order: -1; min-height: 300px; margin-bottom: 8px; }
  .evi-wrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .brand b { font-size: 1.1rem; }
  .foot-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #view { animation: none; }
}

/* ============================================================
   GRAMER — curriculum index
   ============================================================ */
.gramer-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.gramer-stats span { font-family: var(--mono); font-size: 0.82rem; color: var(--muted-light); letter-spacing: .04em; }
.gramer-stats b { font-family: var(--display); font-size: 1.5rem; color: var(--gold); margin-right: 6px; }

.gramer-jump { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(14,22,40,0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
.gramer-jump .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gramer-search { flex: 1 1 240px; min-width: 200px; padding: 11px 16px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--text-light);
  font-family: var(--body); font-size: 0.95rem; outline: none; transition: border-color .18s; }
.gramer-search:focus { border-color: var(--gold); }
.gramer-search::placeholder { color: #5f6f8c; }
.gchip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.gchip { flex-shrink: 0; font-size: 0.83rem; letter-spacing: 0;
  color: var(--muted-light); background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  padding: 7px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; transition: all .16s; white-space: nowrap; }
.gchip:hover { color: #fff; border-color: var(--sky); }
.gramer-empty { padding: 40px 0; text-align: center; color: var(--muted-light); }

.gramer-group { padding: clamp(34px, 5vw, 58px) 0 0; }
.gramer-group:last-child { padding-bottom: clamp(40px, 6vw, 72px); }
.gg-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.gg-emoji { font-size: 2.4rem; line-height: 1; flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.gg-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 8px 0 8px; }
.gg-head p { color: var(--muted-light); max-width: 60ch; font-size: 0.98rem; }

.gcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gcard { display: flex; align-items: flex-start; gap: 14px; background: var(--ink-800);
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 18px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gcard:hover { transform: translateY(-4px); border-color: var(--accent, var(--gold)); box-shadow: 0 22px 40px -26px rgba(0,0,0,0.7); }
.gcard-emoji { font-size: 1.9rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.gcard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gcard-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.gcard-level { font-size: 0.71rem; font-weight: 700; letter-spacing: 0; color: var(--ink-900);
  background: var(--accent, var(--gold)); padding: 2px 7px; border-radius: 5px; }
.gcard-count { font-family: var(--mono); font-size: 0.66rem; color: var(--muted-light); letter-spacing: .04em; }
.gcard-title { font-family: var(--display); font-weight: 800; font-size: 1.16rem; color: #fff; line-height: 1.15; }
.gcard-tr { font-size: 0.9rem; color: var(--sky-bright); }
.gcard-short { font-size: 0.86rem; color: var(--muted-light); margin-top: 4px; line-height: 1.45; }
.gcard-go { align-self: center; color: var(--muted-light); flex-shrink: 0; transition: transform .18s, color .18s; }
.gcard-go svg { width: 18px; height: 18px; }
.gcard:hover .gcard-go { color: var(--accent, var(--gold)); transform: translateX(3px); }

/* ============================================================
   GRAMER — lesson page
   ============================================================ */
.lesson-hero { padding: clamp(30px, 5vw, 56px) 0 clamp(20px, 3vw, 34px); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink-900); }
.lesson-back { font-family: var(--mono); font-size: 0.78rem; letter-spacing: .04em; color: var(--muted-light);
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; transition: color .16s; }
.lesson-back:hover { color: #fff; }
.lesson-title-row { display: flex; align-items: center; gap: 18px; }
.lesson-emoji { font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45)); }
.lesson-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.lesson-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lesson-tr { font-family: var(--body); font-size: 1.05rem; color: var(--sky-bright); margin-top: 4px; display: flex; align-items: center; gap: 10px; }
.lesson-intro { color: var(--text-light); font-size: 1.06rem; line-height: 1.7; margin-top: 20px; max-width: 66ch; }

.lesson-body { max-width: 780px; }
.lesson-block { margin-bottom: 40px; }
.lesson-h { font-size: 1.4rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.lesson-h::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--accent, var(--gold)); display: inline-block; }
.lesson-sub { color: var(--muted-light); font-size: 0.92rem; margin-bottom: 16px; }

.formula-grid { display: grid; gap: 12px; }
.formula { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px 18px; }
.formula-label { font-size: 0.78rem; letter-spacing: 0; color: var(--gold); margin-bottom: 8px; }
.formula-form { font-family: var(--mono); font-size: 0.98rem; color: #fff; background: rgba(255,255,255,0.04);
  border: 1px dashed var(--line-dark); border-radius: 9px; padding: 9px 12px; margin-bottom: 10px; overflow-x: auto; }
.formula-ex { display: flex; align-items: center; gap: 10px; font-size: 0.96rem; color: var(--sky-bright); }

.use { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px 20px 12px; margin-bottom: 14px; }
.use-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.use-no { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--accent, var(--gold));
  background: color-mix(in srgb, var(--accent, var(--gold)) 14%, transparent); border-radius: 9px; width: 38px; height: 38px;
  display: grid; place-items: center; flex-shrink: 0; }
.use-head h3 { font-size: 1.12rem; color: #fff; }
.use-head p { color: var(--muted-light); font-size: 0.92rem; margin-top: 2px; }

.ex-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line-dark); }
.ex-row:first-child { border-top: none; }
.ex-en { color: var(--sky-bright); font-size: 1rem; display: block; }
.ex-tr { color: var(--muted-light); font-size: 0.9rem; display: block; margin-top: 2px; }
.ex-bank { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 6px 20px; }

.signal-row { display: flex; flex-wrap: wrap; gap: 9px; }
.signal { font-family: var(--mono); font-size: 0.82rem; color: var(--gold-soft);
  background: rgba(245,182,12,0.08); border: 1px solid rgba(245,182,12,0.25); padding: 7px 13px; border-radius: 9px; }

.mistake-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mistake { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px 18px; }
.m-wrong, .m-right { display: flex; align-items: flex-start; gap: 9px; font-size: 0.96rem; padding: 4px 0; }
.m-wrong { color: #ff9a9a; }
.m-wrong span:not(.m-tag) { text-decoration: line-through; text-decoration-color: rgba(255,138,138,0.5); }
.m-right { color: #7ee0a8; }
.m-tag { font-weight: 800; flex-shrink: 0; }
.m-note { color: var(--muted-light); font-size: 0.86rem; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-dark); }

.lesson-tip { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, rgba(245,182,12,0.12), rgba(245,182,12,0.03));
  border: 1px solid rgba(245,182,12,0.28); border-radius: 16px; padding: 18px 20px; margin-bottom: 40px; }
.tip-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.lesson-tip b { display: block; font-size: 0.83rem; letter-spacing: 0; color: var(--gold); margin-bottom: 4px; }
.lesson-tip > div { color: var(--text-light); font-size: 0.98rem; }

.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lnav { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 3px; transition: transform .18s, border-color .18s; }
.lnav:hover { transform: translateY(-3px); border-color: var(--gold); }
.lnav.next { text-align: right; align-items: flex-end; }
.lnav-dir { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-light); letter-spacing: .04em; }
.lnav-t { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.02rem; }

/* ============================================================
   OYUNLAR — arcade
   ============================================================ */
.arcade-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 26px; }
.arcade-tab { text-align: left; display: flex; align-items: center; gap: 13px; cursor: pointer;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 15px; padding: 15px 16px;
  color: inherit; transition: transform .18s, border-color .18s, background .18s; }
.arcade-tab:hover { transform: translateY(-3px); border-color: var(--sky); }
.arcade-tab.active { border-color: var(--gold); background: linear-gradient(135deg, var(--ink-700), var(--ink-800)); box-shadow: 0 16px 30px -20px rgba(245,182,12,0.5); }
.at-emoji { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--sky-bright); background: rgba(95,176,236,.12); }
.at-emoji .ik { width: 20px; height: 20px; }
.arcade-tab.active .at-emoji { color: var(--ink-900); background: var(--gold); }
.at-text { display: flex; flex-direction: column; min-width: 0; }
.at-text b { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.02rem; }
.at-text span { color: var(--muted-light); font-size: 0.82rem; }

.game-stage { position: relative; }
.game-panel { display: none; animation: viewIn .3s cubic-bezier(0.16,1,0.3,1); }
.game-panel.active { display: block; }

.game-bar { display: flex; gap: 12px; margin-bottom: 16px; }
.game-stat { flex: 1; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 11px 14px; }
.game-stat span { font-size: 0.74rem; letter-spacing: 0; color: var(--muted-light); display: block; }
.game-stat b { font-family: var(--display); font-size: 1.35rem; color: #fff; }
.game-stat.streak b { color: var(--gold); }
.game-stat.prog b { color: var(--sky-bright); }

.cat-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 4px; scrollbar-width: thin; }
.cat { flex-shrink: 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: .03em; color: var(--muted-light);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); padding: 7px 12px; border-radius: 20px; cursor: pointer; transition: all .16s; white-space: nowrap; }
.cat:hover { color: #fff; }
.cat.active { color: var(--ink-900); background: var(--gold); border-color: var(--gold); font-weight: 700; }

.quiz-card { background: linear-gradient(180deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark);
  border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8); }
.quiz-q { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); color: #fff; line-height: 1.3; margin-bottom: 22px; }
.quiz-q .gap { color: var(--gold); letter-spacing: 2px; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { text-align: left; font-family: var(--body); font-size: 1rem; color: var(--text-light); cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1.5px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; transition: all .15s; }
.opt:hover:not(.done) { border-color: var(--sky); background: rgba(95,176,236,0.08); transform: translateY(-2px); }
.opt.done { cursor: default; }
.opt.correct { border-color: #4fd18a; background: rgba(79,209,138,0.14); color: #bff2d6; }
.opt.wrong { border-color: #ff7a7a; background: rgba(255,122,122,0.12); color: #ffc7c7; }

.game-fb { min-height: 4px; margin-top: 18px; font-size: 0.98rem; color: var(--muted-light); }
.game-fb.ok { color: #9ff0c2; }
.game-fb.no { color: #ffb3b3; }
.game-fb b { color: inherit; }
.fb-explain { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--muted-light); font-family: var(--mono); }

.game-next { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 0.92rem; color: var(--ink-900); background: var(--gold);
  border: none; border-radius: 11px; padding: 12px 20px; transition: transform .16s, background .16s; }
.game-next:hover { transform: translateX(3px); background: var(--gold-soft); }
.game-next svg { width: 16px; height: 16px; }
.game-next.inline { margin-top: 0; }
.game-btn { cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--text-light);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: 11px; padding: 12px 18px; transition: all .16s; }
.game-btn:hover { border-color: var(--sky); color: #fff; }
.game-btn.ghost { background: transparent; }

/* scramble */
.scr-hint { font-family: var(--mono); font-size: 0.78rem; color: var(--muted-light); letter-spacing: .04em; margin-bottom: 14px; }
.scr-answer { min-height: 60px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px;
  border: 2px dashed var(--line-dark); border-radius: 13px; margin-bottom: 16px; background: rgba(255,255,255,0.02); }
.scr-placeholder { color: #55617d; font-size: 0.92rem; font-family: var(--mono); }
.scr-pool { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; min-height: 40px; }
.tile { cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 1rem; color: #fff;
  background: var(--ink-700); border: 1px solid var(--line-dark); border-radius: 10px; padding: 10px 15px; transition: all .14s; }
.tile:hover { transform: translateY(-2px); border-color: var(--sky); }
.tile.in { background: var(--sky); color: var(--ink-900); border-color: var(--sky); }
.scr-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }

/* match */
.match-word { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: #fff;
  display: flex; align-items: center; gap: 14px; justify-content: center; }
.match-phon { font-family: var(--mono); color: var(--muted-light); font-size: 0.9rem; text-align: center; margin: 6px 0 22px; }

.idiom-hint { font-family: var(--mono); font-size: 0.78rem; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; }
.idiom-hint svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 620px) {
  .gramer-jump { top: 0; }
  .lesson-nav { grid-template-columns: 1fr; }
  .game-bar { flex-wrap: wrap; }
  .gramer-jump .wrap { gap: 10px; }
}

/* ============================================================
   KELIMELER — vocabulary browser with collapsible panel
   ============================================================ */
.vocab-shell { display: flex; gap: 24px; align-items: flex-start; position: relative; }
.vocab-main { flex: 1 1 auto; min-width: 0; }

.vocab-panel { flex: 0 0 250px; position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 12px;
  transition: flex-basis .25s ease; scrollbar-width: thin; }
.vocab-panel-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line-dark); }
.vocab-panel-title { font-size: 0.83rem; letter-spacing: 0; color: var(--sky-bright); }
.vocab-collapse { background: none; border: 1px solid var(--line-dark); border-radius: 8px; color: var(--muted-light); cursor: pointer; padding: 5px; display: grid; place-items: center; transition: all .16s; }
.vocab-collapse:hover { color: #fff; border-color: var(--sky); }
.vocab-collapse svg { width: 16px; height: 16px; display: block; transition: transform .25s; }

.vocab-cats { display: flex; flex-direction: column; gap: 4px; }
.vocab-cat { display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; width: 100%;
  background: transparent; border: 1px solid transparent; border-radius: 11px; padding: 9px 11px; color: var(--muted-light); transition: all .15s; }
.vocab-cat:hover { background: rgba(255,255,255,0.04); color: #fff; }
.vocab-cat.active { background: color-mix(in srgb, var(--accent, var(--gold)) 15%, transparent); border-color: color-mix(in srgb, var(--accent, var(--gold)) 45%, transparent); color: #fff; }
.vc-emoji { font-size: 1.25rem; line-height: 1; flex-shrink: 0; width: 24px; text-align: center; }
.vc-label { flex: 1; min-width: 0; font-weight: 600; font-size: 0.94rem; display: flex; flex-direction: column; line-height: 1.15; }
.vc-label small { font-size: 0.69rem; letter-spacing: 0; color: var(--muted-light); font-weight: 400; }
.vocab-cat.active .vc-label small { color: var(--sky-bright); }
.vc-count { flex-shrink: 0; font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); background: rgba(255,255,255,0.06); border-radius: 20px; padding: 2px 9px; }
.vocab-cat.active .vc-count { color: var(--accent, var(--gold)); }

.vocab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.vocab-cat-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 6px; }
.vocab-search { flex: 0 1 300px; min-width: 180px; padding: 11px 15px; border-radius: 12px; border: 1px solid var(--line-dark);
  background: var(--ink-800); color: var(--text-light); font-family: var(--body); font-size: 0.94rem; outline: none; transition: border-color .18s; }
.vocab-search:focus { border-color: var(--sky); }
.vocab-search::placeholder { color: #5f6f8c; }
.vocab-empty { color: var(--muted-light); margin-top: 8px; }

.vocab-fab { display: none; align-items: center; gap: 8px; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 0.9rem;
  color: var(--ink-900); background: var(--sky-bright); border: none; border-radius: 11px; padding: 10px 16px; transition: transform .16s, background .16s; }
.vocab-fab:hover { transform: translateY(-2px); background: var(--sky); }
.vocab-fab svg { width: 18px; height: 18px; }
.vocab-overlay { display: none; }

/* desktop: collapse fully hides the panel; the "Kategoriler" button restores it */
@media (min-width: 861px) {
  .vocab-shell.collapsed .vocab-panel { display: none; }
  .vocab-shell.collapsed .vocab-fab { display: inline-flex; margin-bottom: 18px; }
}

/* ============================================================
   BOOK MODE — education / grammar as a bilingual grammar book.
   Light "paper" theme, no cards, ink-on-paper typography.
   Applied via body.mode-book (router sets it on /gramer routes).
   ============================================================ */
body.mode-book {
  --paper: #e8edf3;      /* açık RENKLİ sayfa — beyaz değil, yumuşak serin */
  --paper-2: #eef2f8; --paper-3: #dde4ef;
  --surface: #fcfdff;    /* içerik yüzeyi (tablo/alıştırma) — sayfadan açık */
  --ink: #202536; --ink-soft: #565f78; --ink-faint: #6b7590;
  --rule2: #dbe1ee; --rule-strong: #c3cbdd;
  --red: #db4b3f; --red-soft: #fbe5e2;
  --marker: rgba(247, 219, 110, 0.72);
  --hl-ink: #8f1d2e;     /* vurgulu (mark) metin — koyu, farklı renk */
  --blue2: #2f6f9e;
  --accent: #3e9be0;     /* üniteye göre view tarafından değiştirilir (renkli) */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(155,123,255,0.06), transparent 60%),
    radial-gradient(120% 60% at 0% 0%, rgba(62,155,224,0.07), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
}
/* faint paper grain — tactile warmth on the reading pages */
body.mode-book::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.mode-book main#view { animation: bookIn .4s cubic-bezier(0.16,1,0.3,1); }
@keyframes bookIn { from { opacity: 0; } to { opacity: 1; } }

/* --- persistent shell (top header + footer) stays IDENTICAL to the rest of the
   site on book pages too — same dark bar, same Bricolage + gold brand. Book mode
   flips body text to dark ink, so re-assert the shell's own light-on-dark text
   (everything else falls back to the global header/footer rules). --- */
body.mode-book header.nav { color: var(--text-light); }
body.mode-book footer.foot { color: var(--text-light); }
body.mode-book ::selection { background: var(--marker); color: var(--ink); }
body.mode-book a:focus-visible, body.mode-book button:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; }

/* ============ BOOK SHELL — full-width reading + collapsible left rail ============ */
.book-shell { display: grid; grid-template-columns: var(--rail-w, 280px) minmax(0, 1fr); align-items: start; }
.book-shell.nav-collapsed { grid-template-columns: minmax(0, 1fr); }
.mode-book main#view { padding-bottom: clamp(40px,6vw,80px); }
.mode-book main#view:has(.book-shell) { padding-bottom: 0; }

/* left navigation rail */
.book-rail {
  display: block; position: sticky; top: var(--nav-h); align-self: start;
  height: calc(100vh - var(--nav-h)); overflow-y: auto; overflow-x: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--paper) 60%);
  border-right: 1px solid var(--rule-strong);
  padding: 18px 12px 48px; scrollbar-width: thin; scrollbar-color: var(--rule-strong) transparent;
}
.book-rail::-webkit-scrollbar { width: 8px; }
.book-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 4px; }
.book-shell.nav-collapsed .book-rail { display: none; }
.bn-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--rule2); }
.bn-home { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.bn-home:hover { color: var(--red); }
.bn-home-ic { color: var(--red); font-size: 1.05rem; }
.bn-collapse { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink-soft); cursor: pointer; font-size: 1.05rem; line-height: 1; display: grid; place-items: center; flex-shrink: 0; transition: border-color .15s, color .15s; }
.bn-collapse:hover { border-color: var(--red); color: var(--red); }
.bn-search-row { padding: 0 4px 10px; }
.bn-search { width: 100%; font-family: var(--body); font-size: 0.85rem; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 9px; padding: 8px 12px; outline: none; transition: border-color .15s; }
.bn-search:focus { border-color: var(--accent, var(--red)); }
.bn-search::placeholder { color: var(--ink-faint); }
.bn-empty { font-family: var(--body); font-size: 0.84rem; color: var(--ink-faint); padding: 12px 10px; }

.bn-unit { --accent: #3e9be0; margin-bottom: 1px; }
.bn-uh { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; background: none; border: none; cursor: pointer; text-align: left; border-radius: 8px; color: var(--ink); transition: background .13s; }
.bn-uh:hover { background: var(--paper-3); }
.bn-num { font-family: var(--serif); font-weight: 800; font-size: 0.8rem; color: var(--accent); min-width: 2.4ch; }
.bn-ut { font-family: var(--serif); font-weight: 600; font-size: 0.97rem; flex: 1; line-height: 1.2; }
.bn-count { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-faint); background: var(--paper-3); border-radius: 20px; padding: 1px 7px; }
.bn-caret { color: var(--ink-faint); transition: transform .18s ease; font-size: 1rem; line-height: 1; }
.bn-unit.open > .bn-uh .bn-caret { transform: rotate(90deg); }
.bn-topics { display: none; padding: 2px 0 8px; margin: 0 0 4px 17px; border-left: 1.5px solid var(--rule2); }
.bn-unit.open > .bn-topics { display: block; }
.bn-topic { display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 12px; font-family: var(--body); font-size: 0.85rem; color: var(--ink-soft); border-radius: 0 7px 7px 0; line-height: 1.3; transition: background .13s, color .13s; }
.bn-topic:hover { background: var(--paper-3); color: var(--ink); }
.bn-topic .bn-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rule-strong); flex-shrink: 0; transition: background .13s; }
.bn-topic:hover .bn-dot { background: var(--accent); }
.bn-topic.active { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.bn-topic.active .bn-dot { background: var(--accent); }

/* reading area — wide book column (no longer an A4 strip) */
.book-read { min-width: 0; position: relative; }
.bn-open { display: none; }
.book-shell.nav-collapsed .bn-open {
  display: inline-flex; align-items: center; gap: 8px; position: sticky; top: 84px; z-index: 6;
  margin: 18px 0 -26px clamp(24px,4vw,72px);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 22px; padding: 8px 15px;
  color: var(--ink-soft); cursor: pointer; box-shadow: 0 10px 24px -14px rgba(20,26,44,.4); transition: border-color .15s, color .15s;
}
.book-shell.nav-collapsed .bn-open:hover { border-color: var(--red); color: var(--red); }

.bk { max-width: 1480px; margin: 0 auto; padding: clamp(26px,3.2vw,54px) clamp(24px,4vw,54px) clamp(64px,8vw,120px); }
.book-read .bk-p, .book-read .bk-list { max-width: none; }
.book-read .bk-standfirst { max-width: 70ch; }
.bk-wide { max-width: 940px; margin: 0 auto; padding: 0 28px; }
.bk-meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .05em; color: var(--ink-faint); margin-left: 14px; }
.gtable-wrap { overflow-x: auto; margin: 22px 0; }
.gtable-wrap .gtable { margin: 0; min-width: 480px; }

/* mobile: rail becomes an off-canvas drawer */
@media (max-width: 980px) {
  .book-shell, .book-shell.nav-collapsed { grid-template-columns: minmax(0, 1fr); }
  .book-rail { position: fixed; top: var(--nav-h); left: 0; bottom: 0; height: auto; width: min(86vw, 320px); z-index: 78;
    transform: translateX(-104%); transition: transform .26s cubic-bezier(.16,1,.3,1); box-shadow: 24px 0 60px -24px rgba(10,16,28,.5); }
  .book-shell.nav-collapsed .book-rail { display: block; }
  .book-shell.nav-open .book-rail { transform: none; }
  .book-shell.nav-open::after { content: ""; position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(12,18,32,.42); z-index: 74; }
  .bn-open, .book-shell.nav-collapsed .bn-open { display: inline-flex; align-items: center; gap: 8px; position: sticky; top: 82px; z-index: 6;
    margin: 16px 0 -22px clamp(20px,4vw,40px); font-family: var(--mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase;
    background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 22px; padding: 8px 15px; color: var(--ink-soft); cursor: pointer;
    box-shadow: 0 10px 24px -14px rgba(20,26,44,.4); }
}
.bk-list .egtr { display: block; margin-top: 2px; font-family: var(--body); font-size: 0.93rem; color: var(--ink-faint); }
.drill-q .wrongq { color: var(--red); text-decoration: line-through; text-decoration-color: rgba(219,75,63,0.5); font-family: var(--serif); }
/* Türkçe karşılık aç/kapa — kapalıyken GİZLİ (bulanık değil); üstüne gelince görünür */
.tr-toggle-row { margin-top: 20px; }
.tr-toggle { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .05em; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 22px; padding: 7px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: border-color .15s, color .15s; }
.tr-toggle:hover { border-color: var(--accent); color: var(--ink); }
.tr-toggle .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f7a4d; flex-shrink: 0; }
body.hide-tr .tr-toggle .dot { background: var(--ink-faint); }
.tr-toggle b { font-weight: 700; color: var(--accent); text-transform: uppercase; }
body.hide-tr .pair .tr, body.hide-tr .egtr { color: transparent; cursor: pointer; user-select: none; }
body.hide-tr .pair .tr:hover, body.hide-tr .egtr:hover { color: var(--ink-soft); user-select: text; }

/* ============ 12-TENSE MATRIX (Zamanların Haritası) ============ */
.tmx { max-width: 960px; margin: clamp(22px,4vw,44px) auto clamp(30px,5vw,58px); padding: 0 28px; }
.tmx-head { margin-bottom: 18px; }
.tmx-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.tmx-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem,3.4vw,2.5rem); color: var(--ink); letter-spacing: -0.02em; margin: 8px 0 6px; }
.tmx-head p { font-family: var(--serif); font-size: clamp(1rem,1.5vw,1.15rem); color: var(--ink-soft); max-width: 62ch; line-height: 1.5; }
.tmx-head p i { color: var(--blue2); font-style: italic; }

.tmx-body { display: grid; grid-template-columns: minmax(0,1fr) 152px; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 16px; padding: 18px; box-shadow: 0 26px 54px -34px rgba(20,26,44,.42); }
.tmx-main { min-width: 0; }
.tmx-colheads { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 10px; }
.tmx-colheads span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; text-align: center; padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.tmx-colheads .past { color: #c9772e; } .tmx-colheads .present { color: #2f8f6b; } .tmx-colheads .future { color: #6b5bd6; }

.tmx-cells { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tmx-cells.swap .tmx-cell { animation: tmxIn .3s cubic-bezier(.16,1,.3,1) backwards; }
.tmx-cells.swap .tmx-cell:nth-child(2) { animation-delay: .05s; }
.tmx-cells.swap .tmx-cell:nth-child(3) { animation-delay: .1s; }
@keyframes tmxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tmx-cell { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--rule2); background: var(--paper); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tmx-cell.past { border-top: 3px solid #d98a3d; } .tmx-cell.present { border-top: 3px solid #34a07a; } .tmx-cell.future { border-top: 3px solid #7b6be0; }
.tmx-cell:not(.soon):hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(20,26,44,.4); border-color: var(--rule-strong); }
.tmx-when { font-family: var(--mono); font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.tmx-when.past { color: #c9772e; } .tmx-when.present { color: #2f8f6b; } .tmx-when.future { color: #6b5bd6; }
.tmx-name { font-family: var(--serif); font-weight: 700; font-size: 1.04rem; color: var(--ink); line-height: 1.15; }
.tmx-form { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-soft); }
.tmx-ex { font-family: var(--serif); font-style: italic; font-size: 0.96rem; color: var(--blue2); margin-top: 4px; }
.tmx-tr { font-family: var(--body); font-size: 0.8rem; color: var(--ink-faint); }
body.hide-tr .tmx-tr { color: transparent; }
.tmx-go { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--red); margin-top: 8px; opacity: 0; transition: opacity .15s; }
.tmx-cell:hover .tmx-go { opacity: 1; }
.tmx-go.soon { color: var(--ink-faint); opacity: .7; }
.tmx-cell.soon { opacity: .72; }

.tmx-axis { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.tmx-axis span:not(.line) { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.tmx-axis .line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #d98a3d, #34a07a, #7b6be0); }

.tmx-toggle { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 84px; }
.tmx-tg { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; text-align: left; cursor: pointer; padding: 11px 13px; border-radius: 11px;
  border: 1px solid var(--rule-strong); background: var(--paper); transition: background .15s, border-color .15s, color .15s; }
.tmx-tg b { font-family: var(--serif); font-weight: 700; font-size: 0.94rem; color: var(--ink); line-height: 1.1; }
.tmx-tg span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: .04em; color: var(--ink-faint); text-transform: uppercase; }
.tmx-tg:hover { border-color: var(--red); }
.tmx-tg.on { background: var(--ink); border-color: var(--ink); }
.tmx-tg.on b { color: var(--paper); } .tmx-tg.on span { color: color-mix(in srgb, var(--paper) 68%, transparent); }
/* Koyu tema: seçili görünüş açık-gri kutu olup alt yazısı kayboluyordu; vurgu renginde dolu düğme */
:where(html:not([data-tema="acik"])) body.mode-book .tmx-tg.on { background: var(--red); border-color: var(--red); }
:where(html:not([data-tema="acik"])) body.mode-book .tmx-tg.on b { color: #fff; }
:where(html:not([data-tema="acik"])) body.mode-book .tmx-tg.on span { color: rgba(255, 255, 255, .78); }

@media (max-width: 760px) {
  .tmx-body { grid-template-columns: 1fr; }
  .tmx-toggle { flex-direction: row; flex-wrap: wrap; position: static; order: -1; margin-bottom: 6px; }
  .tmx-tg { flex: 1 1 42%; }
  .tmx-cells { grid-template-columns: 1fr; }
  .tmx-colheads { display: none; }
}

/* ---- be: eight-form conjugation strip (inside the 'to be' lesson) ---- */
.bmx { margin: clamp(24px,4vw,40px) 0; clear: both; }
.bmx-head { margin-bottom: 16px; }
.bmx-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.bmx-head h3 { font-family: var(--mono); font-weight: 700; font-size: clamp(1rem,2.2vw,1.4rem); color: var(--ink); letter-spacing: .02em; margin: 8px 0 6px; }
.bmx-head p { font-family: var(--serif); font-size: 1.02rem; color: var(--ink-soft); max-width: 62ch; line-height: 1.5; }
.bmx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.bmx-table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 8px 0; table-layout: fixed; }
.bmx-table th, .bmx-table td { text-align: center; vertical-align: top; }
/* merged group header row */
.bmx-grp { --tone: var(--rule-strong); padding: 0 4px 9px; border-bottom: 3px solid var(--tone); }
.bmx-grp b { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.02rem; color: var(--ink); line-height: 1.1; }
.bmx-grp span { font-family: var(--mono); font-size: 0.56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.bmx-grp.base { --tone: #d1a63f; } .bmx-grp.present { --tone: #34a07a; }
.bmx-grp.past { --tone: #d98a3d; } .bmx-grp.participle { --tone: #7b6be0; }
/* the eight forms, side by side */
.bmx-forms td { --tone: var(--rule-strong); padding-top: 14px; }
.bmx-forms td.base { --tone: #d1a63f; } .bmx-forms td.present { --tone: #34a07a; }
.bmx-forms td.past { --tone: #d98a3d; } .bmx-forms td.participle { --tone: #7b6be0; }
.bmx-form { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--tone); line-height: 1; letter-spacing: -.01em; }
/* function subheading: tekil/çoğul + kişi */
.bmx-funcs td { padding-top: 9px; }
.bmx-funcs b { display: block; font-family: var(--body); font-weight: 700; font-size: 0.74rem; color: var(--ink); line-height: 1.25; }
.bmx-funcs span { font-family: var(--mono); font-size: 0.6rem; color: var(--ink-faint); }
/* short highlighted example */
.bmx-egs td { padding-top: 9px; }
.bmx-eg { font-family: var(--serif); font-style: italic; font-size: 0.86rem; color: var(--blue2); line-height: 1.3; }

/* ---- highlight the taught fragment inside an example (*marker* → mark.hl) ---- */
mark.hl { background: var(--marker); color: var(--hl-ink, #8f1d2e); font-weight: 700; padding: 0 3px; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* accent-coloured keyword in prose (~text~) */
.kw { color: var(--accent); font-weight: 700; }
.bk-p .kw { color: var(--accent); }   /* keep the colour over .bk-p b */

/* ---- be: right-floated mind-map — centred 'be' node, two diagonal arrows ---- */
.bmm { float: none; width: 100%; max-width: 600px; margin: 22px auto 26px; font-family: var(--body); }
.bmm-cap { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  padding-bottom: 8px; margin-bottom: 16px; border-bottom: 1.5px solid var(--red-soft); text-align: center; }
.bmm-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.bmm-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.bmm-root { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 58px;
  padding: 10px 18px; font-family: var(--serif); font-weight: 800; font-size: 1.6rem; color: var(--paper); background: var(--ink); border-radius: 13px; letter-spacing: -.01em; }
.bmm-root.stack { flex-direction: column; gap: 0; padding: 9px 16px; font-size: 1.18rem; line-height: 1.06; }
.bmm-cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-top: 34px; }
.bmm-card { position: relative; background: var(--surface); border: 1px solid var(--rule2); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 11px 13px; box-shadow: 0 10px 26px -22px rgba(20,26,44,.5); }
.bmm-card.a { border-left-color: #34a07a; } .bmm-card.b { border-left-color: #6b5bd6; }
.bmm-head { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; color: var(--ink); line-height: 1.15; }
.bmm-head span { font-family: var(--mono); font-size: 0.8rem; color: var(--blue2); font-weight: 700; }
.bmm-tag { font-family: var(--mono); font-size: 0.57rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin: 3px 0 7px; }
.bmm-card p { font-family: var(--serif); font-size: 0.95rem; line-height: 1.5; color: var(--ink); margin: 0; }
.bmm-eg { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--blue2); margin-top: 8px; }
@media (max-width: 560px) { .bmm-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; } .bmm-svg { display: none; } }

/* been ≠ being contrast card (to-be lesson) */
.bb { float: none; width: 100%; max-width: 600px; margin: 22px auto 26px; font-family: var(--body); }
.bb-single { max-width: 468px; }
.bb-cap { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  padding-bottom: 8px; margin-bottom: 16px; border-bottom: 1.5px solid var(--red-soft); text-align: center; }
.bb-cards { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; }
.bb-card { background: var(--surface); border: 1px solid var(--rule2); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 11px 13px; box-shadow: 0 10px 26px -22px rgba(20,26,44,.5); }
.bb-card.be-base { border-left-color: #c0871f; } .bb-card.been { border-left-color: #2f6f9e; } .bb-card.being { border-left-color: #b8506b; }
.bb-head { font-family: var(--serif); font-weight: 800; font-size: 1.28rem; color: var(--ink); line-height: 1.05; }
.bb-hook { font-family: var(--mono); font-size: 0.72rem; color: var(--blue2); margin-top: 4px; }
.bb-hook b { color: var(--ink); }
.bb-tag { font-family: var(--mono); font-size: 0.56rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin: 6px 0 6px; }
.bb-card p { font-family: var(--serif); font-size: 0.92rem; line-height: 1.48; color: var(--ink); margin: 0; }
.bb-eg { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--blue2); margin-top: 7px; }
.bb-eg b { font-style: normal; color: var(--hl-ink); font-weight: 700; }
.bb-vs { align-self: center; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--ink-faint); line-height: 1; }
@media (max-width: 560px) { .bb-cards { grid-template-columns: 1fr; } }

/* ---- be: radial concept-map — central 'be' root, arrows out to the 8 forms.
        Colours reuse the matrix family tones (base/present/past/participle). ---- */
.bfm { clear: both; margin: clamp(28px,4.5vw,46px) auto; max-width: 640px; font-family: var(--body); }
.bfm-cap { text-align: center; margin-bottom: 6px; }
.bfm-kicker { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.bfm-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem,2.7vw,1.65rem); color: var(--ink); letter-spacing: -.01em; margin: 7px 0 6px; }
.bfm-lead { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); max-width: 48ch; margin: 0 auto; }
.bfm-lead b { color: var(--ink); font-weight: 700; }

.bfm-stage { position: relative; width: 100%; aspect-ratio: 1 / 0.82; min-height: 320px; margin-top: 12px; }
.bfm-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }

/* central root */
.bfm-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 98px; height: 98px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 50% 36%, #ffffff, #fbf1da);
  border: 2px solid #caa23f; box-shadow: 0 0 0 6px rgba(201,162,63,.12), 0 16px 32px -16px rgba(120,80,10,.55); }
.bfm-be { font-family: var(--serif); font-weight: 800; font-size: 2rem; line-height: .85; color: #a9741b; letter-spacing: -.02em; }
.bfm-be-sub { font-family: var(--mono); font-size: 0.5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* desktop: family wrappers vanish so nodes position against the stage */
.bfm-fam { display: contents; }

.bfm-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); z-index: 2;
  min-width: 82px; padding: 8px 13px 9px; text-align: center; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--rule2); border-top: 3px solid var(--tone,#8992a8);
  box-shadow: 0 9px 22px -15px rgba(20,30,60,.55);
  opacity: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i,0)*70ms + 120ms); }
.bfm.in .bfm-node { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.bfm-node { transform: translate(-50%,-50%) scale(.86); }
.bfm-node .f { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--tone,#3a4256); letter-spacing: -.01em; }
.bfm-node .w { display: block; font-family: var(--mono); font-size: 0.53rem; letter-spacing: .03em; color: var(--ink-faint); margin-top: 5px; white-space: nowrap; }
.bfm-node[data-fam="present"]    { --tone: #2f8f6d; }
.bfm-node[data-fam="past"]       { --tone: #c9762f; }
.bfm-node[data-fam="participle"] { --tone: #6f5bd6; }

.bfm-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 10px 0 0; padding: 0; }
.bfm-legend li { font-family: var(--mono); font-size: 0.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.bfm-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sw); }
.bfm-legend .base::before       { --sw: #caa23f; }
.bfm-legend .present::before    { --sw: #2f8f6d; }
.bfm-legend .past::before       { --sw: #c9762f; }
.bfm-legend .participle::before { --sw: #6f5bd6; }

/* mobile: reflow into a family-grouped stack (arrows hidden) */
@media (max-width: 600px) {
  .bfm-stage { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .bfm-svg { display: none; }
  .bfm-center { position: static; transform: none; }
  .bfm-fam { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
  .bfm-fam::before { content: attr(data-label); font-family: var(--mono); font-size: 0.57rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
  .bfm-node { position: static; opacity: 1 !important; transform: none !important;
    display: inline-flex; align-items: baseline; gap: 11px; min-width: 210px; justify-content: center; }
  .bfm-node .w { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bfm-node { transition: none; opacity: 1; transform: translate(-50%,-50%); }
}

/* ---- be = Türkçe kişi eki — karşılaştırma gridi (aynı sıfat, değişen ek) ---- */
.beq { clear: both; margin: clamp(24px,4vw,40px) 0; }
.beq-cap { margin-bottom: 14px; }
.beq-kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.beq-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem,2.5vw,1.6rem); color: var(--ink); letter-spacing: -.01em; margin: 6px 0 6px; }
.beq-lead { font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.beq-lead b { color: var(--ink); font-weight: 700; }
.beq-lead i { color: var(--blue2); font-style: italic; }
.beq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 4px; }
.beq-cell { background: var(--surface); border: 1px solid var(--rule2); border-top: 3px solid #2f8f6d; border-radius: 13px;
  padding: 12px 14px 13px; box-shadow: 0 9px 22px -18px rgba(20,30,60,.5); }
.beq-cell.none { border-top-color: var(--ink-faint); }
.beq-pron { font-family: var(--mono); font-size: 0.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.beq-en { font-family: var(--serif); font-size: 1.04rem; color: var(--ink); margin: 5px 0 9px; }
.beq-en b { color: #2f8f6d; font-weight: 800; }
.beq-tr { font-family: var(--serif); font-size: 1.16rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.beq-tr b { background: var(--marker); color: var(--hl-ink); font-weight: 800; padding: 0 3px; border-radius: 3px; }
.beq-ek { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .04em; color: var(--blue2); margin-top: 7px; }
.beq-cell.none .beq-ek { color: var(--ink-faint); }

/* ---- be + adjective = … olmak (centered, spaced) ---- */
.bcx { margin: clamp(26px,4vw,44px) 0; text-align: center; clear: both; }
.bcx-head { margin-bottom: 20px; }
.bcx-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.bcx-head h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink); letter-spacing: -.02em; margin: 8px 0 6px; }
.bcx-head p { font-family: var(--serif); font-size: 1.02rem; color: var(--ink-soft); max-width: 56ch; margin: 0 auto; line-height: 1.5; }
.bcx-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; }
.bcx-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 148px; padding: 13px 20px;
  background: var(--surface); border: 1px solid var(--rule2); border-radius: 13px; box-shadow: 0 9px 24px -21px rgba(20,26,44,.5); transition: transform .15s, box-shadow .15s; }
.bcx-chip:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(20,26,44,.5); }
.bcx-en { font-family: var(--serif); font-size: 1.16rem; color: var(--ink); }
.bcx-be { color: var(--ink-faint); font-style: italic; }
.bcx-en b { color: var(--hl-ink, #8f1d2e); font-weight: 800; }
.bcx-tr { font-family: var(--body); font-size: 0.86rem; color: var(--ink-soft); }
body.hide-tr .bcx-tr { color: transparent; }

/* ============================================================
   TEMEL KAVRAMLAR — glossary (light book theme, no rail)
   ============================================================ */
.kv-wrap { max-width: 1220px; margin: 0 auto; padding: clamp(30px,5vw,64px) clamp(20px,4vw,40px) clamp(60px,8vw,110px); }
.kv-hero { max-width: 760px; margin-bottom: clamp(28px,4vw,48px); }
.kv-kicker { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.kv-hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem,5.5vw,3.8rem); letter-spacing: -.02em; line-height: 1.02; color: var(--ink); margin: 14px 0 16px; }
.kv-hero p { font-family: var(--serif); font-size: clamp(1.05rem,1.6vw,1.24rem); line-height: 1.6; color: var(--ink-soft); }
.kv-hero p b { color: var(--ink); font-weight: 700; }

.kv-cat { margin-top: clamp(30px,4vw,46px); }
.kv-cat-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--accent); }
.kv-cat-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.4rem,2.6vw,1.9rem); color: var(--ink); letter-spacing: -.01em; }
.kv-cat-head span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 16px; }
.kv-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 16px; background: var(--surface); border: 1px solid var(--rule2);
  border-radius: 15px; box-shadow: 0 12px 28px -22px rgba(20,26,44,.5); transition: transform .16s cubic-bezier(.16,1,.3,1), box-shadow .16s, border-color .16s; }
.kv-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .24s cubic-bezier(.16,1,.3,1); }
.kv-card:hover { transform: translateY(-4px); box-shadow: 0 24px 42px -26px rgba(20,26,44,.5); border-color: var(--accent); }
.kv-card:hover::after { transform: scaleX(1); }
.kv-card:hover .kv-term { color: var(--accent); }
.kv-card-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kv-term { font-family: var(--serif); font-weight: 800; font-size: 1.34rem; color: var(--ink); letter-spacing: -.01em; }
.kv-en { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue2); }
.kv-short { font-family: var(--serif); font-size: 0.98rem; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.kv-go { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .06em; color: var(--accent); margin-top: 2px; opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s; }
.kv-card:hover .kv-go { opacity: 1; transform: none; }

/* term page — reuses .bk book styles, narrower column */
.bk.kv-def { max-width: 980px; padding-top: clamp(24px,4vw,48px); }
.kv-def .bk-p { max-width: 78ch; }
.kv-en-big { font-family: var(--mono); font-size: 0.9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue2); margin-left: 12px; font-weight: 400; }
.kv-rels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.kv-rel { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; background: var(--surface); border: 1px solid var(--rule2); border-left: 3px solid var(--accent);
  border-radius: 11px; transition: transform .15s, box-shadow .15s; }
.kv-rel:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(20,26,44,.5); }
.kv-rel b { font-family: var(--serif); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.kv-rel span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }

/* inline cross-reference link (bknz) — used in lessons + concept bodies */
.cref { color: var(--accent, var(--blue2)); text-decoration: none; border-bottom: 1.5px dotted currentColor; font-weight: 600; cursor: pointer; }
.cref::after { content: "›"; font-size: 0.92em; margin-left: 2px; opacity: .6; }
.cref:hover { border-bottom-style: solid; }

/* auxiliary-verbs grid (yardımcı-fiil concept page) */
.auxg { margin: clamp(18px,3vw,30px) 0 4px; }
.auxg-block { margin-bottom: 24px; }
.auxg-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 2px solid var(--accent); }
.auxg-head h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.1rem,2vw,1.35rem); color: var(--ink); letter-spacing: -.01em; }
.auxg-head span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.auxg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 12px; }
.auxg-cell { background: var(--surface); border: 1px solid var(--rule2); border-top: 3px solid var(--tone,#8992a8); border-radius: 13px;
  padding: 13px 15px 14px; box-shadow: 0 9px 22px -18px rgba(20,30,60,.5); }
.auxg-cell.primary { --tone: #2f8f6d; }
.auxg-cell.modal { --tone: #6f5bd6; }
.auxg-cell.semi { --tone: #c9762f; }
.auxg-cell.combo { --tone: #2f6f9e; }
.auxg-verb { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--tone,#3a4256); line-height: 1; letter-spacing: -.01em; }
.auxg-forms { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .01em; color: var(--blue2); margin-top: 7px; line-height: 1.5; }
.auxg-pat { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 0.66rem; letter-spacing: .01em; color: var(--tone,#3a4256);
  background: var(--paper-2,#eef2f8); border: 1px solid var(--rule2); border-radius: 6px; padding: 3px 8px; margin-top: 8px; }
.auxg-job { font-family: var(--serif); font-size: 0.98rem; color: var(--ink); margin-top: 8px; line-height: 1.4; }
.auxg-eg { font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }
.auxg-note { font-family: var(--serif); font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); margin-top: 4px; max-width: 68ch; }
.auxg-note b { color: var(--ink); font-weight: 700; }
.auxg-intro { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); margin: 0 0 12px; max-width: 66ch; }
.auxg-intro b { color: var(--ink); font-weight: 700; }

/* zaman iskeleti matrisi (görünüş × zaman) */
.auxm { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.auxm-grid { display: grid; grid-template-columns: minmax(104px,auto) repeat(3, minmax(134px,1fr)); gap: 8px; min-width: 520px; }
.auxm-h { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); text-align: center; padding: 2px 0 6px; align-self: end; }
.auxm-rl { font-family: var(--serif); font-weight: 800; font-size: 0.95rem; color: var(--ink); display: flex; align-items: center; padding-right: 8px; line-height: 1.15; }
.auxm-cell { background: var(--surface); border: 1px solid var(--rule2); border-top: 2px solid var(--blue2); border-radius: 10px; padding: 10px 10px 11px; text-align: center; }
.auxm-cell b { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .01em; color: var(--blue2); font-weight: 700; line-height: 1.4; }
.auxm-cell span { display: block; font-family: var(--serif); font-style: italic; font-size: 0.82rem; color: var(--ink-soft); margin-top: 5px; }

/* SVO ↔ SOV word-order bridge (renk = öge; fiilin yer değiştirişi görünür) */
.wob { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 6px; overflow-x: auto; padding-bottom: 2px; }
.wob-row { display: flex; align-items: center; gap: 12px; }
.wob-lang { flex: 0 0 auto; width: 76px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.wob-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.wob-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: #fff;
  padding: 8px 13px; border-radius: 11px; box-shadow: 0 8px 18px -12px rgba(20,30,60,.5); }
.wob-pill i { font-family: var(--mono); font-style: normal; font-size: 0.55rem; font-weight: 700; background: rgba(255,255,255,.24); padding: 1px 5px; border-radius: 5px; }
.wob-pill.r-S { background: #3a7ca5; } .wob-pill.r-V { background: #2f8f6d; } .wob-pill.r-O { background: #c9762f; }
.wob-pill.r-M { background: #6f5bd6; } .wob-pill.r-P { background: #b8506b; } .wob-pill.r-T { background: #5a6b88; }

/* inline self-check drill (mini alıştırma) */
.cdrill { background: var(--surface); border: 1px solid var(--rule2); border-radius: 14px; padding: 16px 18px; margin: 12px 0; box-shadow: 0 10px 26px -20px rgba(20,30,60,.5); }
.cdrill-q { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.cdrill-gap { display: inline-block; min-width: 42px; border-bottom: 2px solid var(--accent); }
.cdrill-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cdrill-opt { font-family: var(--body); font-size: 0.96rem; color: var(--ink); background: var(--paper-2,#eef2f8); border: 1px solid var(--rule2);
  border-radius: 10px; padding: 9px 16px; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.cdrill-opt:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-1px); }
.cdrill-opt:disabled { cursor: default; }
.cdrill-opt.correct { background: #e3f3ec; border-color: #2f8f6d; color: #1f6f52; font-weight: 700; }
.cdrill-opt.wrong { background: #fbe6e2; border-color: var(--red); color: #9c3125; text-decoration: line-through; }
.cdrill-fb { font-family: var(--serif); font-size: 0.96rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s, opacity .25s, margin-top .25s; }
.cdrill-fb.show { max-height: 220px; opacity: 1; margin-top: 12px; }
.cdrill-fb.ok { color: #1f6f52; } .cdrill-fb.no { color: var(--ink-soft); }

/* contrastive split cards (Bu ≠ Şu) */
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 8px; align-items: stretch; margin: 6px 0; }
.cmp-card { background: var(--surface); border: 1px solid var(--rule2); border-top: 3px solid var(--tone,#8992a8); border-radius: 14px; padding: 15px 17px; box-shadow: 0 10px 26px -20px rgba(20,30,60,.5); }
.cmp-card.a { --tone: #2f8f6d; } .cmp-card.b { --tone: #c9762f; }
.cmp-head { font-family: var(--serif); font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.01em; }
.cmp-tag { font-family: var(--mono); font-size: 0.58rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tone,#8992a8); margin-top: 3px; }
.cmp-form { font-family: var(--mono); font-size: 0.72rem; color: var(--blue2); background: var(--paper-2,#eef2f8); border-radius: 6px; padding: 4px 8px; display: inline-block; margin: 9px 0; }
.cmp-ex { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink); }
.cmp-note { font-family: var(--serif); font-size: 0.92rem; color: var(--ink-soft); margin: 7px 0 0; line-height: 1.45; }
.cmp-vs { align-self: center; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--ink-faint); }
@media (max-width: 560px) { .cmp { grid-template-columns: 1fr; gap: 8px; } }

/* step-by-step transformation (git-diff) */
.tf { list-style: none; counter-reset: tf; margin: 6px 0; padding: 0; }
.tf-step { counter-increment: tf; position: relative; padding: 0 0 16px 40px; }
.tf-step::before { content: counter(tf); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; }
.tf-step:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--rule2); }
.tf-s { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.5; }
.tf-note { font-family: var(--body); font-size: 0.88rem; color: var(--ink-soft); margin-top: 3px; }
.d-add { background: #dcf1e5; color: #1f6f52; border-radius: 4px; padding: 0 3px; font-weight: 700; }
.d-del { background: #fbe1dc; color: #9c3125; border-radius: 4px; padding: 0 3px; text-decoration: line-through; }
.d-mov { background: var(--marker); color: var(--hl-ink); border-radius: 4px; padding: 0 3px; font-weight: 700; }

/* annotated sentence anatomy */
.anat { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 8px 0 6px; align-items: flex-start; }
.anat-w { display: flex; flex-direction: column; align-items: center; }
.anat-t { font-family: var(--serif); font-weight: 700; font-size: 1.24rem; color: var(--ink); }
.anat-c { width: 1px; height: 12px; background: var(--rule-strong); margin: 3px 0; }
.anat-l { font-family: var(--mono); font-size: 0.56rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue2); background: var(--paper-2,#eef2f8); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.anat-w.nolabel { justify-content: flex-end; padding-bottom: 2px; }
.anat-w.nolabel .anat-c { display: none; }

/* interactive decision tree (flowchart) */
.dt { margin: 6px 0; }
.dt-q { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; color: var(--ink); margin: 12px 0 8px; }
.dt-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-opt { font-family: var(--body); font-size: 0.94rem; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong);
  border-radius: 20px; padding: 8px 15px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.dt-opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.dt-opt.sel { background: var(--accent); color: #fff; border-color: var(--accent); }
.dt-branch { border-left: 2px solid var(--rule2); margin: 10px 0 0 11px; padding-left: 16px; }
.dt-result { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); background: #e3f3ec; border: 1px solid #2f8f6d;
  border-left-width: 4px; border-radius: 10px; padding: 12px 15px; margin-top: 10px; }

/* "Deney Cümleleri" — live sentence lab */
.lab { background: var(--surface); border: 1px solid var(--rule2); border-radius: 16px; padding: 18px 20px 20px; margin: 10px 0; box-shadow: 0 12px 30px -22px rgba(20,30,60,.5); }
.lab-kicker { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.lab-head p { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); margin: 6px 0 14px; max-width: 62ch; }
.lab-head p b { color: var(--ink); font-weight: 700; }
.lab-subjects { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.lab-pill { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); background: var(--paper-2,#eef2f8); border: 1px solid var(--rule-strong);
  border-radius: 11px; padding: 7px 15px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.lab-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.lab-pill.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.lab-input { font-family: var(--serif); font-size: 1rem; color: var(--ink); background: transparent; border: none; border-bottom: 1.5px dashed var(--rule-strong);
  padding: 6px 4px; min-width: 190px; outline: none; }
.lab-input:focus { border-bottom-color: var(--accent); border-bottom-style: solid; }
.lab-num { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 9px; overflow: hidden; }
.lab-num[hidden] { display: none; }
.lab-numbtn { font-family: var(--mono); font-size: 0.64rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: transparent; border: none; padding: 6px 11px; cursor: pointer; transition: background .15s, color .15s; }
.lab-numbtn.on { background: var(--accent); color: #fff; }
.lab-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1.5px solid var(--rule2); }
.lab-tab { font-family: var(--serif); font-weight: 800; font-size: 1.04rem; letter-spacing: -.01em; color: var(--ink-soft);
  background: none; border: none; padding: 8px 15px 11px; cursor: pointer; position: relative; transition: color .15s; }
.lab-tab:hover { color: var(--ink); }
.lab-tab.on { color: var(--accent); }
.lab-tab.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1.5px; height: 2.5px; background: var(--accent); border-radius: 2px; }
.lab-groups { display: flex; flex-direction: column; }
.lab-group { display: flex; flex-direction: column; gap: 12px; }
.lab-group[hidden] { display: none; }
.lab-row { display: flex; flex-direction: column; gap: 3px; }
.lab-tag { align-self: flex-start; font-family: var(--mono); font-size: 0.55rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tone,#8992a8); background: var(--tone-bg, rgba(137,146,168,.12)); padding: 3px 8px; border-radius: 6px; }
.lab-tag.t-pres { --tone: #2f6f9e; --tone-bg: rgba(47,111,158,.13); }
.lab-tag.t-be   { --tone: #2f8f6d; --tone-bg: rgba(47,143,109,.13); }
.lab-tag.t-have { --tone: #c9762f; --tone-bg: rgba(201,118,47,.14); }
.lab-tag.t-cont { --tone: #6f5bd6; --tone-bg: rgba(111,91,214,.13); }
.lab-tag.t-perf { --tone: #b8506b; --tone-bg: rgba(184,80,107,.13); }
.lab-sent { font-family: var(--serif); font-size: clamp(1.15rem,2.4vw,1.34rem); color: var(--ink); line-height: 1.35; }
.lab-chg { display: inline-block; color: var(--hl-ink); font-weight: 600; }
.lab-chg.pop { animation: labPop .5s cubic-bezier(.16,1,.3,1); }
@keyframes labPop {
  0%   { transform: translateX(-9px) scale(.55); background: var(--marker); border-radius: 4px; }
  55%  { transform: none; background: var(--marker); border-radius: 4px; }
  100% { transform: none; background: transparent; }
}
@media (prefers-reduced-motion: reduce) { .lab-chg.pop { animation: none; } }

/* ============ GRAMER HARİTASI (/grammar) ============
   Üniteler sırayla; her ünitede solda yapışkan künye (numara, ad, seviye dağılımı), sağda seviye renkli konu karoları.
   Üstte seviye şeridi: konuların A1→C1 dağılımı, dokununca o seviye öne çıkar. Renkler yalnız --lv/--accent ve kitap
   değişkenlerinden (--surface, --ink, --rule*) — açık ve koyu kitap kipinde aynı kural çalışır. */
.gh-bas, .toc-search-row, .toc-empty, .gh-harita { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; box-sizing: border-box; }
.gh-bas { margin-top: clamp(30px,6vw,64px); margin-bottom: clamp(22px,3vw,34px); }
.toc-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); }
.gh-bas h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem,6.4vw,4.8rem); letter-spacing: -0.025em; line-height: .98; margin: 14px 0 18px; color: var(--ink); }
.gh-bas h1 em { font-style: italic; font-weight: 500; color: var(--red); }
.gh-bas > p { font-family: var(--serif); font-size: clamp(1.05rem,1.6vw,1.25rem); color: var(--ink-soft); max-width: 62ch; line-height: 1.6; margin: 0; }
.toc-stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.toc-stats span { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); }
.toc-stats b { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--red); margin-right: 7px; }

/* seviye şeridi: genişlik = o seviyedeki konu sayısı */
.gh-serit { display: flex; gap: 4px; margin-top: 28px; }
.gh-seg { --c: color-mix(in srgb, var(--lv) 62%, var(--ink)); position: relative; min-width: 118px; display: grid; grid-template-columns: auto 1fr;
  align-items: baseline; column-gap: 8px; text-align: left; padding: 14px 12px 12px; border: 0; border-radius: 6px; cursor: pointer; font: inherit;
  background: color-mix(in srgb, var(--lv) 13%, var(--surface)); color: var(--ink); overflow: hidden;
  transform-origin: left; animation: ghSerit .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--n) * 70ms);
  transition: background .2s, opacity .2s; }
.gh-seg::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--lv); }
.gh-seg b { font: 800 1.15rem/1 var(--serif); color: var(--c); }
.gh-seg span { font: .74rem/1.2 var(--body); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-seg em { grid-column: 1 / -1; font: 500 .7rem/1 var(--mono); font-style: normal; color: var(--ink-faint); margin-top: 6px; }
.gh-seg:hover { background: color-mix(in srgb, var(--lv) 22%, var(--surface)); }
.gh-seg:focus-visible { outline: 2px solid var(--lv); outline-offset: 2px; }
.gh-serit.secili .gh-seg:not(.on) { opacity: .45; }
.gh-seg.on { background: color-mix(in srgb, var(--lv) 26%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--lv); }
.gh-bas > p.gh-ipucu { font: .74rem/1 var(--mono); color: var(--ink-faint); margin: 10px 0 0; letter-spacing: .02em; }
@keyframes ghSerit { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }

.toc-search-row { margin-top: 0; margin-bottom: 6px; }
.toc-search { width: 100%; max-width: 380px; font-family: var(--serif); font-size: 1rem; color: var(--ink); background: transparent;
  border: none; border-bottom: 1.5px solid var(--rule-strong); padding: 9px 2px; outline: none; }
.toc-search:focus { border-bottom-color: var(--red); }
.toc-search::placeholder { color: var(--ink-faint); }
.toc-empty { margin-top: 30px; margin-bottom: 30px; font-family: var(--serif); color: var(--ink-soft); }

/* ünite: künye + karolar */
.gh-harita { padding-bottom: 40px; }
.gh-unite { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--rule2); transition: opacity .25s; }
.gh-unite[hidden] { display: none; }
.gh-unite.soluk { opacity: .5; }
.gh-ray { position: sticky; top: calc(var(--nav-h, 68px) + 18px); align-self: start; display: flex; flex-direction: column; gap: 6px; }
.gh-no { font: 800 2.6rem/1 var(--serif); color: color-mix(in srgb, var(--accent) 60%, var(--ink)); letter-spacing: -0.02em; }
.gh-ray h2 { font: 700 1.4rem/1.15 var(--serif); color: var(--ink); letter-spacing: -0.01em; margin: 4px 0 0; }
.gh-en { font: .68rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.gh-dagilim { display: flex; gap: 2px; height: 6px; margin-top: 12px; border-radius: 3px; overflow: hidden; max-width: 180px; }
.gh-dagilim i { display: block; min-width: 4px; }
.gh-say { font: .72rem/1.3 var(--mono); color: var(--ink-faint); }
.gh-karolar { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; align-content: start; }

.gh-karo { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 104px; padding: 12px 14px 16px; box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--rule2); border-radius: 10px; text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s, opacity .25s, filter .25s; }
.gh-karo[hidden] { display: none; }
.gh-karo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lv);
  transform: scaleX(.16); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gh-karo:hover, .gh-karo:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--lv) 50%, var(--rule2));
  box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--lv) 70%, transparent); outline: none; }
.gh-karo:hover::after, .gh-karo:focus-visible::after { transform: none; }
.gh-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.gh-lv { font: 700 .64rem/1 var(--mono); letter-spacing: .08em; color: color-mix(in srgb, var(--lv) 60%, var(--ink));
  background: color-mix(in srgb, var(--lv) 15%, transparent); padding: 3px 6px; border-radius: 4px; }
.gh-ex { font: .68rem/1 var(--mono); color: var(--ink-faint); }
.gh-ok { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font-size: .66rem; font-weight: 800;
  color: var(--surface); background: color-mix(in srgb, #2f9e6e 80%, var(--ink)); }
.gh-ad { font: 600 1.06rem/1.25 var(--serif); color: var(--ink); }
.gh-tr { font: .8rem/1.3 var(--body); color: var(--ink-faint); }
.gh-karo.okundu { background: color-mix(in srgb, #2f9e6e 7%, var(--surface)); }
.gh-karo.soluk { opacity: .28; filter: saturate(.25); }
.gh-karo.soluk:hover { opacity: .8; filter: none; }

/* açılış: ünite görünür olunca karolar sırayla yerine oturur */
.gh-unite.reveal .gh-karo { opacity: 0; transform: translateY(10px); }
.gh-unite.reveal.in .gh-karo { opacity: 1; transform: none; transition-delay: calc(min(var(--n), 14) * 28ms); }
.gh-unite.reveal.in .gh-karo:hover { transition-delay: 0s; }
.gh-unite.reveal.in .gh-karo.soluk { opacity: .28; }

@media (max-width: 860px) {
  .gh-unite { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .gh-ray { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
  .gh-no { grid-row: span 2; font-size: 2rem; }
  .gh-ray h2 { margin: 0; }
  .gh-dagilim { grid-column: 1 / -1; max-width: none; margin-top: 8px; }
  .gh-say { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .gh-bas, .toc-search-row, .toc-empty, .gh-harita { padding-left: 20px; padding-right: 20px; }
  .gh-serit { flex-wrap: wrap; }
  .gh-seg { flex: 1 1 30% !important; min-width: 0; }
  .gh-karolar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gh-karo { min-height: 92px; padding: 10px 11px 14px; }
  .gh-ad { font-size: .96rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-seg, .gh-unite.reveal .gh-karo { animation: none; opacity: 1; transform: none; }
  .gh-karo, .gh-karo::after { transition: none; }
}

/* ============ LESSON (book page) ============ */
.bk-opener { border-bottom: 1px solid var(--rule2); padding-bottom: clamp(20px,3vw,30px); margin-bottom: clamp(22px,3vw,34px); }
.bk-back { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .04em; color: var(--ink-faint); text-decoration: none; display: inline-flex; gap: 7px; }
.bk-back:hover { color: var(--red); }
.bk-eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 22px 0 14px; display: inline-flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 20px; }
.bk-eyebrow .lvl { color: var(--paper); background: var(--accent); border-radius: 3px; padding: 2px 7px; letter-spacing: .06em; }
.bk-title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.9rem,6.8vw,4.8rem); line-height: 1.0; letter-spacing: -0.025em; color: var(--ink); }
.bk-title .speak2 { vertical-align: middle; }
.bk-subtitle { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem,2vw,1.5rem); color: var(--ink-soft); margin-top: 8px; }
.bk-standfirst { font-family: var(--serif); font-size: clamp(1.1rem,1.7vw,1.32rem); line-height: 1.55; color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }
.bk-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem,3.2vw,2.15rem); line-height: 1.32; color: var(--ink); border-left: 4px solid var(--accent); padding: 4px 0 4px 22px; margin: 24px 0 4px; max-width: 40ch; }
.bk-quote .qtr { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; }
.bk-quote .cite { display: block; font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }

.bk-body { font-family: var(--serif); }
.bk-h { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem,3.4vw,2.5rem); color: var(--ink); letter-spacing: -0.02em; margin: clamp(38px,5vw,60px) 0 6px; }
.bk-h::before { content: ""; display: block; width: 58px; height: 3px; border-radius: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 12%, transparent)); }
.bk-p { font-family: var(--serif); font-size: 1.17rem; line-height: 1.78; color: var(--ink); margin: 14px 0; max-width: 64ch; text-wrap: pretty; overflow-wrap: break-word; }
/* bulleted explanation with example */
.bk-list { list-style: none; margin: 16px 0; max-width: 64ch; }
.bk-list li { position: relative; padding: 0 0 14px 26px; font-family: var(--serif); font-size: 1.13rem; line-height: 1.7; color: var(--ink); }
.bk-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.bk-list li b { font-weight: 700; }
.bk-list .eg { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--blue2); }
.bk-list .eg::before { content: "→ "; font-style: normal; color: var(--ink-faint); }
.bk-subh { font-family: var(--mono); font-size: 0.96rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 34px 0 12px; font-weight: 700; }
.bk-p .mark { background: linear-gradient(var(--marker), var(--marker)); background-size: 100% 62%; background-repeat: no-repeat; background-position: 0 88%; padding: 0 2px; }
.bk-p .term { color: var(--red); font-weight: 600; }
.bk-p b, .bk-body b { color: var(--ink); font-weight: 700; }
.bk-p .en { font-style: italic; color: var(--blue2); }

/* rule / formula box — a ruled block, not a card */
.bk-rule { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; margin: 22px 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; box-shadow: 0 1px 0 var(--rule2); }
.bk-rule .lbl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); grid-column: 1 / -1; font-weight: 700; }
.bk-rule .form { font-family: var(--mono); font-size: 0.98rem; color: var(--ink); }
.bk-rule .ex { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--blue2); display: flex; align-items: center; gap: 10px; }

/* facing bilingual rows */
.bk-use { margin: 18px 0 26px; }
.bk-use-h { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; color: var(--ink); margin-bottom: 3px; }
.bk-use-d { font-family: var(--body); font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule2); }
.pair-group { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); padding: 20px 0 7px; margin-bottom: 1px; border-bottom: 2px solid var(--red-soft); }
.pair-group:first-child { padding-top: 6px; }
.pair-row { display: contents; }
.pair .en, .pair .tr { padding: 13px 18px 13px 2px; border-bottom: 1px solid var(--rule2); transition: background .15s; }
.pair .en { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); display: flex; align-items: baseline; gap: 10px; border-right: 1px solid var(--rule2); padding-right: 24px; }
.pair .tr { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink-soft); padding-left: 24px; }
.pair-row:hover .en, .pair-row:hover .tr { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.pair .speak2 { align-self: center; }

/* comparison table */
.gtable { width: 100%; border-collapse: collapse; margin: 22px 0; font-family: var(--body); }
.gtable caption { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); text-align: left; margin-bottom: 10px; }
.gtable th, .gtable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule2); vertical-align: top; }
.gtable thead th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.gtable tbody th { font-family: var(--body); font-weight: 600; color: var(--ink); width: 22%; }
.gtable td { font-size: 0.98rem; color: var(--ink); }
.gtable td.en { font-family: var(--serif); font-style: italic; color: var(--blue2); }

/* red-pen corrections */
.bk-fixes { margin: 16px 0 8px; }
.bk-fix { padding: 13px 0; border-top: 1px solid var(--rule2); }
.bk-fix .wrong { font-family: var(--serif); font-size: 1.06rem; color: var(--red); text-decoration: line-through; text-decoration-color: rgba(178,58,46,0.5); }
.bk-fix .arrow { color: var(--ink-faint); margin: 0 10px; font-family: var(--mono); }
.bk-fix .right { font-family: var(--serif); font-size: 1.06rem; color: var(--ink); }
.bk-fix .note { font-family: var(--body); font-size: 0.86rem; color: var(--ink-soft); margin-top: 5px; }

/* footnote tip */
.bk-tip { margin: 34px 0; padding-top: 16px; border-top: 1px solid var(--rule-strong); display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.bk-tip .mk { font-family: var(--serif); font-size: 1.3rem; color: var(--red); line-height: 1; }
.bk-tip .txt { font-family: var(--body); font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.bk-tip .txt b { color: var(--ink); font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 3px; }

/* summary — bulleted recap card at the very bottom of a lesson */
.bk-summary { margin: 46px 0 6px; padding: 22px 26px 26px; border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--rule2));
  box-shadow: 0 20px 46px -30px color-mix(in srgb, var(--accent) 55%, #000); }
.bks-head { font-family: var(--serif); font-weight: 800; font-size: 1.34rem; color: var(--ink); letter-spacing: -.01em;
  display: flex; align-items: center; gap: 11px; margin-bottom: 16px; padding-bottom: 13px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 24%, var(--rule2)); }
.bks-head .mk { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); font-size: 0.95rem; }
.bks-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.bks-list li { position: relative; padding-left: 28px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; color: var(--ink); max-width: 78ch; }
.bks-list li::before { content: ""; position: absolute; left: 3px; top: 0.52em; width: 9px; height: 9px; border-radius: 2.5px;
  background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }

/* signals */
.bk-signals { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.bk-signals .s { font-family: var(--mono); font-size: 0.82rem; color: var(--blue2); border-bottom: 2px solid var(--marker); padding: 2px 3px; }

/* ── editorial book polish — treat each lesson like a page from a fine primer ── */
/* Drop cap: the opening paragraph begins with an ornamental initial */
.bk-body > .bk-p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-weight: 800; font-size: 3.4em; line-height: .72;
  color: var(--accent); padding: 6px 13px 0 0; margin-top: 2px;
}
/* Pull-quote: a faint oversized opening quotation mark behind the words */
.bk-quote { position: relative; z-index: 0; }
.bk-quote::before {
  content: "\201C"; position: absolute; z-index: -1; left: 6px; top: -0.34em;
  font-family: var(--serif); font-weight: 800; font-size: 4.6em; line-height: 1; color: var(--accent); opacity: .12;
}
/* Section subheads: a small marginal tick, like a printed marker */
.bk-subh { display: flex; align-items: center; gap: 11px; }
.bk-subh::before { content: ""; flex: 0 0 auto; width: 20px; height: 2px; background: currentColor; border-radius: 2px; opacity: .55; }
/* A closing ornament at the foot of each lesson */
.book-read .bk-body::after {
  content: "❦"; display: block; text-align: center; font-family: var(--serif); font-size: 1.6rem;
  color: var(--accent); opacity: .5; margin: clamp(34px,5vw,54px) 0 0;
}

/* ============ EXERCISES (Sıra sende) ============ */
.drill { margin: clamp(30px,4vw,46px) 0; border: 1px solid var(--rule-strong); border-top: 4px solid var(--accent); background: var(--surface); padding: clamp(20px,3vw,30px); border-radius: 0 0 12px 12px; box-shadow: 0 20px 40px -30px rgba(32,37,54,0.3); }
.drill-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.drill-head .no { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 9px; border-radius: 4px; }
.drill-head h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.drill-q { padding: 16px 0; border-top: 1px solid var(--rule2); }
.drill-q:first-of-type { border-top: none; padding-top: 0; }
.drill-prompt { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.drill-prompt .gap { color: var(--red); font-weight: 600; letter-spacing: 1px; }
.drill-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.drill-opt { font-family: var(--body); font-size: 0.98rem; color: var(--ink); cursor: pointer; background: var(--paper); border: 1px solid var(--rule-strong); padding: 9px 15px; transition: all .14s; }
.drill-opt:hover:not(.done) { border-color: var(--ink); }
.drill-opt.ok { border-color: #2f7a4d; background: #e7f2ea; color: #1e5e39; }
.drill-opt.no { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.drill-opt.done { cursor: default; }
.drill-fill { font-family: var(--mono); font-size: 0.98rem; color: var(--ink); background: var(--paper); border: none; border-bottom: 2px solid var(--rule-strong); padding: 7px 4px; width: 180px; outline: none; }
.drill-fill:focus { border-bottom-color: var(--ink); }
.drill-fill.ok { border-bottom-color: #2f7a4d; color: #1e5e39; }
.drill-fill.no { border-bottom-color: var(--red); color: var(--red); }
.drill-check { font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--paper); background: var(--ink); border: none; padding: 9px 16px; cursor: pointer; margin-left: 10px; }
.drill-check:hover { background: var(--red); }
.drill-hint { font-family: var(--body); font-size: 0.82rem; color: var(--ink-faint); margin-top: 8px; }
.drill-fb { font-family: var(--body); font-size: 0.9rem; margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--rule-strong); display: none; }
.drill-fb.show { display: block; }
.drill-fb.ok { border-left-color: #2f7a4d; color: #1e5e39; }
.drill-fb.no { border-left-color: var(--red); color: var(--red); }
.drill-fb b { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .06em; }

/* page turns */
.bk-turns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(40px,6vw,72px); border-top: 2px solid var(--ink); background: var(--rule2); }
.turn { background: var(--paper); padding: 20px 4px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: background .15s; }
.turn:hover { background: var(--paper-2); }
.turn.next { text-align: right; align-items: flex-end; }
.turn .dir { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.turn .t { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }

/* speaker button (paper) */
.speak2 { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink-faint); cursor: pointer; display: inline-grid; place-items: center; transition: all .15s; }
.speak2:hover { color: var(--paper); background: var(--red); border-color: var(--red); }
.speak2 svg { width: 13px; height: 13px; }

@media (max-width: 680px) {
  .pair { grid-template-columns: 1fr; }
  .pair .en { border-right: none; padding-right: 0; padding-bottom: 4px; border-bottom: none; }
  .pair .tr { padding-left: 0; padding-top: 0; }
  .pair-row { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule2); }
  .pair { border-top: 1px solid var(--rule2); }
  .toc-row .tr { display: none; }
  .bk-turns { grid-template-columns: 1fr; }
  .turn.next { text-align: left; align-items: flex-start; }
}

/* mobile: off-canvas drawer */
@media (max-width: 860px) {
  .vocab-shell { display: block; }
  .vocab-fab { display: inline-flex; margin-bottom: 18px; }
  .vocab-panel { position: fixed; inset: 0 auto 0 0; width: min(84vw, 300px); max-height: none; border-radius: 0 16px 16px 0;
    z-index: 90; transform: translateX(-102%); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
    overscroll-behavior: contain; }   /* çekmecenin sonunda arkadaki sayfa kaymasın */
  .vocab-shell.drawer-open .vocab-panel { transform: none; }
  .vocab-shell.drawer-open .vocab-overlay { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(6,11,22,0.6); backdrop-filter: blur(2px); }
}

/* ============ GANZY (Codenames-style multiplayer) ============ */
/* Feature card on the Oyunlar page */
.ganzy-feat { display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: 20px; border-radius: 18px;
  background: linear-gradient(120deg, var(--ink-800), var(--ink-700)); border: 1px solid var(--line-dark);
  box-shadow: 0 22px 46px -30px rgba(0,0,0,0.6); transition: transform .2s cubic-bezier(.16,1,.3,1), border-color .2s; }
.ganzy-feat:hover { transform: translateY(-4px); border-color: var(--gold); }
.gf-emoji { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  color: var(--gold); background: rgba(245,182,12,.12); }
.gf-emoji .ik { width: 28px; height: 28px; }
.gf-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gf-badge { align-self: flex-start; font-size: 0.76rem; font-weight: 500; color: var(--muted-light); margin-bottom: 1px; }
.gf-txt b { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--text-light); letter-spacing: -.01em; }
.gf-txt > span:last-child { color: var(--muted-light); font-size: 0.92rem; line-height: 1.5; }
.gf-go { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; white-space: nowrap; }
.gf-go svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .ganzy-feat { flex-wrap: wrap; } .gf-go { width: 100%; justify-content: flex-end; } }

/* Game page */
.gz { padding: clamp(20px,4vw,44px) 0 80px; }
.gz-wrap { max-width: 760px; }
.gz-loading, .gz-err { text-align: center; padding: 48px 16px; color: var(--muted-light); }
.gz-err h2 { color: var(--text-light); margin-bottom: 10px; }
.gz-err p { margin: 0 auto 18px; max-width: 46ch; line-height: 1.6; }
.gz-input { width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text-light); background: var(--ink-800);
  border: 1px solid var(--line-dark); border-radius: 11px; padding: 11px 14px; outline: none; transition: border-color .15s; }
.gz-input:focus { border-color: var(--gold); }
.gz-hero { text-align: center; margin-bottom: 26px; }
.gz-logo { font-size: 0.83rem; letter-spacing: 0; color: var(--gold); }
.gz-hero h1 { font-size: clamp(1.8rem,5vw,2.8rem); margin: 8px 0 12px; }
.gz-hero p { color: var(--muted-light); max-width: 54ch; margin: 0 auto; line-height: 1.6; }
.gz-name-row { max-width: 340px; margin: 0 auto 18px; }
.gz-name-row label, .gz-lvl { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: var(--muted-light); }
.gz-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 620px; margin: 0 auto; }
.gz-card { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.gz-card h3 { font-size: 1.05rem; }
.gz-code-in { text-transform: uppercase; letter-spacing: .3em; text-align: center; font-family: var(--mono); font-weight: 700; }
.gz-back { display: inline-block; margin: 24px auto 0; color: var(--muted-light); text-align: center; width: 100%; }
.gz-shake { animation: gzShake .3s; border-color: var(--c-coral) !important; }
@keyframes gzShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
@media (max-width: 560px) { .gz-cards { grid-template-columns: 1fr; } }

/* Lobby */
.gz-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.gz-room { display: flex; align-items: center; gap: 10px; }
.gz-room span { font-size: 0.71rem; letter-spacing: 0; color: var(--muted-light); }
.gz-codebig { font-weight: 700; font-size: 1.5rem; letter-spacing: 0; color: var(--gold); }
.gz-copy { font-size: 0.78rem; color: var(--sky-bright); background: none; border: 1px solid var(--line-dark); border-radius: 20px; padding: 5px 12px; cursor: pointer; }
.gz-lvlbadge { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .06em; color: var(--gold-soft); background: rgba(245,182,12,.12); border-radius: 20px; padding: 5px 12px; }
.gz-hint { color: var(--muted-light); font-size: 0.9rem; line-height: 1.55; margin-bottom: 18px; }
.gz-hint b { color: var(--text-light); }
.gz-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gz-team { border-radius: 16px; padding: 14px; border: 1px solid var(--line-dark); }
.gz-team.red { background: linear-gradient(180deg, rgba(224,85,95,.14), transparent); border-color: rgba(224,85,95,.4); }
.gz-team.blue { background: linear-gradient(180deg, rgba(62,155,224,.14), transparent); border-color: rgba(62,155,224,.4); }
.gz-team-h { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.gz-team.red .gz-team-h { color: #f08a92; } .gz-team.blue .gz-team-h { color: #6db8ec; }
.gz-team ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 4px; min-height: 40px; }
.gz-pl { font-size: 0.92rem; color: var(--text-light); }
.gz-pl.sm { font-weight: 700; }
.gz-pl.empty { color: var(--muted-light); font-style: italic; font-size: 0.82rem; }
.gz-r { font-size: 0.67rem; letter-spacing: 0; color: var(--muted-light); }
.gz-team-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.gz-mini { font-size: 0.74rem; color: var(--text-light); background: var(--ink-700); border: 1px solid var(--line-dark); border-radius: 9px; padding: 6px 10px; cursor: pointer; transition: background .13s, border-color .13s; }
.gz-mini:hover { border-color: var(--gold); }
.gz-mini.go { background: var(--gold); color: var(--ink-900); font-weight: 700; border-color: var(--gold); }
.gz-specs { margin-top: 12px; font-size: 0.82rem; color: var(--muted-light); }
.gz-lobby-actions { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gz-need, .gz-wait { font-size: 0.82rem; color: var(--muted-light); }
.gz-leave { color: var(--muted-light); font-size: 0.85rem; margin-left: auto; }
@media (max-width: 520px) { .gz-teams { grid-template-columns: 1fr; } }

/* Board / play */
.gz-score { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.gz-sc { font-family: var(--display); font-weight: 800; font-size: 1rem; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line-dark); }
.gz-sc b { font-size: 1.3rem; }
.gz-sc.red { color: #f08a92; } .gz-sc.blue { color: #6db8ec; }
.gz-sc.on { box-shadow: 0 0 0 2px currentColor inset; }
.gz-turn { font-family: var(--body); font-size: 0.9rem; color: var(--muted-light); text-align: center; flex: 1; }
.gz-turn b { color: var(--gold-soft); }
.gz-cnum { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink-900); font-weight: 800; font-size: 0.8rem; }
.gz-spytag { text-align: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: .06em; color: var(--gold-soft); margin-bottom: 10px; }
.gz-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 16px; }
.gz-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 62px; padding: 6px 3px; border-radius: 10px; border: 1px solid rgba(0,0,0,.15);
  background: #efe7d3; color: #2a2f3a; font-family: var(--serif); font-weight: 700;
  font-size: clamp(.66rem, 1.7vw, .92rem); text-align: center; line-height: 1.08; cursor: default;
  transition: transform .1s, box-shadow .15s, background .15s; }
.gz-cell .gz-tr { font-size: 0.6rem; font-weight: 600; font-style: italic; opacity: .82; }
.gz-cell .gz-skull { position: absolute; top: 3px; right: 5px; font-size: .8rem; }
.gz-cell.pick { cursor: pointer; }
.gz-cell.pick:hover { transform: translateY(-2px); box-shadow: 0 9px 18px -8px rgba(0,0,0,.55); }
.gz-cell:disabled { }
/* spymaster key (unrevealed, tinted with a colour bar) */
.gz-cell.show.red:not(.done)   { background: #f3dadb; box-shadow: inset 0 -5px 0 #d94452; }
.gz-cell.show.blue:not(.done)  { background: #d8e8f6; box-shadow: inset 0 -5px 0 #2f83c9; }
.gz-cell.show.neutral:not(.done){ background: #eadfc1; box-shadow: inset 0 -5px 0 #c2ad7e; }
.gz-cell.show.assassin:not(.done){ background: #2a2f3b; color: #efe3cf; box-shadow: inset 0 -5px 0 #000; }
/* revealed (covered by an agent) */
.gz-cell.done.red      { background: #d94452; color: #fff; border-color: #b5333f; }
.gz-cell.done.blue     { background: #2f83c9; color: #fff; border-color: #2568a3; }
.gz-cell.done.neutral  { background: #cbb98d; color: #3a3222; border-color: #b6a377; }
.gz-cell.done.assassin { background: #12151d; color: #efe3cf; border-color: #000; }
.gz-cell.done { font-weight: 800; }
.gz-cell.done .gz-tr { opacity: .95; }
/* panels */
.gz-cluebox, .gz-guessbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.gz-cluebox .gz-you { font-weight: 700; color: var(--gold-soft); }
.gz-cluebox .gz-input { width: auto; flex: 1; min-width: 140px; }
.gz-num { width: 68px !important; flex: none !important; text-align: center; }
.gz-guessbar { justify-content: space-between; }
.gz-guessbar b { color: var(--gold-soft); }
.gz-watch { text-align: center; color: var(--muted-light); font-size: 0.9rem; padding: 12px; }
.gz-over { text-align: center; padding: 18px; border-radius: 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.gz-over.red { background: rgba(217,68,82,.16); } .gz-over.blue { background: rgba(47,131,201,.16); }
.gz-over b { font-family: var(--display); font-size: 1.4rem; }
.gz-over.red b { color: #f08a92; } .gz-over.blue b { color: #6db8ec; }
.gz-log { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-light); line-height: 1.7; text-align: center; margin-bottom: 14px; min-height: 20px; }
.gz-log div:first-child { color: var(--text-light); }

/* spymaster-full chip (a second player can't take the crown) */
.gz-mini.locked { cursor: not-allowed; color: var(--muted-light); background: transparent; border-style: dashed; opacity: .8; }
.gz-mini.locked:hover { border-color: var(--line-dark); }

/* in-game room bar (share the link mid-game so friends can hop in) */
.gz-gametop { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.gz-codesm { font-weight: 700; letter-spacing: 0; color: var(--gold); }

/* ❓ word-info mode: toggle on, then tap any board word for its dictionary card */
.gz-qbtn.on { background: var(--gold); color: var(--ink-900); border-color: var(--gold); font-weight: 700; }
.gz-cell.q { cursor: help; }
.gz-cell.q:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--gold) inset; }
.gz-winfo-back { position: fixed; inset: 0; background: rgba(9, 11, 17, .64); display: grid; place-items: center; z-index: 60; padding: 18px; }
.gz-winfo { position: relative; width: min(440px, 94vw); background: var(--ink-800); border: 1px solid var(--line-dark);
  border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7); }
.gz-winfo-x { position: absolute; top: 6px; right: 12px; background: none; border: 0; color: var(--muted-light); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.gz-winfo-x:hover { color: var(--text-light); }
.gz-winfo-word { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--text-light); display: flex; align-items: center; gap: 10px; }
.gz-winfo-phon { font-family: var(--mono); color: var(--sky-bright); font-size: .95rem; margin: 2px 0 10px; }
.gz-winfo-tr { color: var(--gold-soft); font-weight: 700; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-dark); }
.gz-winfo-ex { color: var(--text-light); line-height: 1.55; display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.gz-winfo-ex b { color: var(--gold); }
.gz-winfo-ex .gz-say { flex: none; }
.gz-winfo-extr { color: var(--muted-light); font-size: .88rem; font-style: italic; line-height: 1.5; margin-top: 6px; }

/* ===== Çıkmış Kelimeler (YDS · YÖKDİL · YDT) ===== */
.ck-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ck-tabs { display: flex; gap: 8px; }
.ck-tab { font-family: var(--body); font-size: 0.92rem; color: var(--muted-light); background: var(--ink-800);
  border: 1px solid var(--line-dark); border-radius: 22px; padding: 9px 18px; cursor: pointer; transition: color .13s, border-color .13s; }
.ck-tab:hover { border-color: var(--gold); }
.ck-tab.active { color: var(--ink-900); background: var(--gold); border-color: var(--gold); font-weight: 700; }
.ck-n { font-family: var(--mono); font-size: 0.72rem; opacity: .85; margin-left: 4px; }
.ck-search { max-width: 340px; }
.ck-list { display: flex; flex-direction: column; gap: 6px; }
.ck-item { display: flex; align-items: baseline; gap: 12px; background: var(--ink-800); border: 1px solid var(--line-dark);
  border-radius: 12px; padding: 10px 14px; }
.ck-say { flex: none; background: none; border: 0; cursor: pointer; font-size: 0.95rem; padding: 0; line-height: 1; align-self: center; opacity: .75; }
.ck-say:hover { opacity: 1; }
.ck-en { flex: none; color: var(--text-light); font-size: 1rem; min-width: 170px; }
.ck-tr { color: var(--muted-light); font-size: 0.92rem; line-height: 1.45; }
.ck-loading { color: var(--muted-light); padding: 24px 0; }
/* çıkmış havuz: grup sekmeleri, sınav süzgeci, sıklık rozetleri */
.ck-gruplar { flex-wrap: wrap; margin-bottom: 14px; }
.ck-sinavlar { display: flex; gap: 6px; flex-wrap: wrap; }
.ck-sinavlar.ck-gizli { visibility: hidden; }
.ck-chip { font: inherit; font-size: .82rem; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  color: var(--muted-light); background: transparent; border: 1px solid var(--line-dark); }
.ck-chip.active { color: var(--text-light); border-color: var(--sky-bright); background: rgba(62,155,224,.14); }
.ck-grupnot { color: var(--muted-light); font-size: .86rem; margin: -4px 0 12px; }
.ck-meta { margin-left: auto; display: flex; gap: 8px; align-items: baseline; flex: none; font-family: var(--mono); font-size: .72rem; }
.ck-kac { color: var(--gold); font-weight: 700; }
.ck-dogru { color: #4ade80; }
.ck-sinav { color: var(--muted-light); }
/* Büyük Sözlük ekleri */
.sz-rank { flex: none; font-family: var(--mono); font-size: 0.66rem; color: var(--muted-light); min-width: 52px; align-self: center; }
.sz-note { font-size: 0.8rem; color: var(--muted-light); }
/* Sınav Kelime Analizi */
.az-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.az-note { font-size: 0.82rem; color: var(--muted-light); margin: 0 0 14px; }
.az-count { flex: none; font-family: var(--mono); font-weight: 700; font-size: 0.78rem; color: var(--ink-900);
  background: var(--gold); border-radius: 20px; padding: 2px 9px; min-width: 34px; text-align: center; align-self: center; }
.az-item .ck-en { min-width: 150px; }
@media (max-width: 620px) { .az-item { flex-wrap: wrap; } .az-item .ck-tr { flex-basis: 100%; padding-left: 26px; } }

/* ===== Sınav Soruları ===== */
/* Sınav seçimi (/sorular) — üç kart */
.sq-examgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 900px; }
.sq-examcard { display: block; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 20px; text-decoration: none; transition: border-color .15s, transform .15s; }
.sq-examcard:hover { border-color: var(--gold); transform: translateY(-2px); }
.sq-examcard h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--gold-soft); }
.sq-examnum { font-family: var(--mono); font-size: 0.76rem; color: var(--gold); letter-spacing: .04em; }
.sq-examcard p { margin: 10px 0 12px; font-size: 0.86rem; line-height: 1.5; color: var(--muted-light); }
.sq-examtypes { font-size: 0.8rem; letter-spacing: 0; color: var(--muted-light); }
/* Tip listesi (/sorular/{exam}) */
.sq-crumb { margin-bottom: 14px; font-size: 0.84rem; }
.sq-crumb a { color: var(--muted-light); text-decoration: none; }
.sq-crumb a:hover { color: var(--gold); }
.sq-typelist { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.sq-typerow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 10px; padding: 13px 16px; cursor: pointer; transition: border-color .15s; }
.sq-typerow:hover { border-color: var(--gold); }
.sq-typename { font-size: 0.98rem; color: var(--text-light); }
.sq-badge { font-family: var(--mono); font-size: 0.7rem; color: var(--muted-light); white-space: nowrap; }
.sq-badge.going { color: var(--gold); }
.sq-badge.done { color: #6ec06e; }
/* Kelime & kalıp yardımı — isteğe bağlı açılır panel */
.sq-yardimbtn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 14px;
  background: transparent; border: 1px dashed var(--line-dark); border-radius: 10px; padding: 9px 14px;
  color: var(--muted-light); font-size: 0.85rem; cursor: pointer; transition: border-color .15s, color .15s; }
.sq-yardimbtn:hover { border-color: var(--gold); color: var(--gold-soft); }
.sq-yardimok { font-size: 0.72rem; }
.sq-yardim { margin-top: 10px; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; }
.sq-yardim h4 { margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0; color: var(--gold); }
.sq-yardim h4 + ul + h4 { margin-top: 16px; }
.sq-yardimyuk { margin: 0; font-size: 0.85rem; color: var(--muted-light); }
.sq-yardimliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.sq-yardimliste li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 0.86rem; line-height: 1.45;
  padding: 6px 9px; background: rgba(255,255,255,.03); border-radius: 8px; }
.sq-yardimliste li b { color: var(--text-light); font-weight: 700; }
/* uppercase YOK: sayfa lang="tr" olduğu için "adjective" → "ADJECTİVE" oluyordu */
.sq-yardimliste li i { font-family: var(--mono); font-size: 0.64rem; letter-spacing: .04em;
  color: var(--muted-light); opacity: .75; font-style: normal; }
.sq-yardimliste li span { flex-basis: 100%; color: var(--muted-light); }
.sq-yardimliste.kalip li { background: rgba(245,182,12,.07); }
.sq-yardimliste.kalip li b { color: var(--gold-soft); }
.sq-pick { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.sq-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sq-lbl { font-size: 0.76rem; letter-spacing: 0; color: var(--muted-light); min-width: 70px; }
.sq-exams { display: flex; gap: 10px; flex-wrap: wrap; }
.sq-exam { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--ink-800); border: 1px solid var(--line-dark);
  border-radius: 14px; padding: 10px 20px; cursor: pointer; color: var(--text-light); font-family: var(--display); font-weight: 800; font-size: 1.1rem; transition: border-color .13s; }
.sq-exam span { font-family: var(--body); font-weight: 400; font-size: 0.7rem; color: var(--muted-light); }
.sq-exam:hover { border-color: var(--gold); }
.sq-exam.on { border-color: var(--gold); background: rgba(245,182,12,.1); color: var(--gold-soft); }
.sq-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.sq-chip { font-size: 0.82rem; color: var(--muted-light); background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 20px; padding: 6px 12px; cursor: pointer; }
.sq-chip b { color: var(--muted-light); font-family: var(--mono); font-size: 0.7rem; }
.sq-chip:hover { border-color: var(--gold); }
.sq-chip.on { background: var(--gold); color: var(--ink-900); border-color: var(--gold); font-weight: 700; }
.sq-chip.on b { color: var(--ink-900); }
.sq-lens { display: flex; gap: 6px; }
.sq-len { font-size: 0.85rem; color: var(--muted-light); background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 9px; padding: 6px 12px; cursor: pointer; }
.sq-len.on { background: var(--sky-bright); color: var(--ink-900); border-color: var(--sky-bright); font-weight: 700; }
.sq-start { margin-left: auto; }

/* quiz */
.sq-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sq-prog { font-size: 0.9rem; color: var(--muted-light); } .sq-prog b { color: var(--text-light); }
.sq-score { margin-left: 12px; color: var(--gold-soft); font-weight: 700; }
.sq-bar { height: 4px; background: var(--ink-700); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.sq-bar span { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.sq-meta { font-size: 0.76rem; letter-spacing: 0; color: var(--muted-light); margin-bottom: 10px; }
.sq-passage { position: relative; background: var(--ink-800); border: 1px solid var(--line-dark);
  border-radius: 12px; padding: 14px 44px 14px 16px; margin-bottom: 14px; white-space: pre-wrap; line-height: 1.6; color: var(--text-light);
  max-height: 320px; overflow-y: auto; font-size: 0.95rem; }
.sq-say { position: absolute; top: 10px; right: 10px; }
.sq-q { font-size: 1.05rem; line-height: 1.55; color: var(--text-light); white-space: pre-wrap; margin-bottom: 16px; font-weight: 600; }
.sq-opts { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.sq-opt { display: flex; align-items: flex-start; gap: 12px; text-align: left; background: var(--ink-800); border: 1px solid var(--line-dark);
  border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--text-light); font-size: 0.98rem; line-height: 1.5; transition: border-color .12s, background .12s; }
.sq-opt:hover:not([disabled]) { border-color: var(--gold); }
.sq-let { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-700);
  font-family: var(--mono); font-weight: 700; font-size: 0.8rem; color: var(--muted-light); }
.sq-opt[disabled] { cursor: default; opacity: .96; }
.sq-opt.correct { border-color: #3f9a4f; background: rgba(63,154,79,.14); }
.sq-opt.correct .sq-let { background: #3f9a4f; color: #fff; }
.sq-opt.wrong { border-color: #d94452; background: rgba(217,68,82,.12); }
.sq-opt.wrong .sq-let { background: #d94452; color: #fff; }
.sq-exp { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.sq-verdict { font-weight: 800; font-family: var(--display); margin-bottom: 8px; }
.sq-verdict.ok { color: #6fce7e; } .sq-verdict.no { color: #f08a92; }
.sq-exptext { color: var(--muted-light); line-height: 1.65; white-space: pre-wrap; font-size: 0.92rem; }
.sq-nav { display: flex; justify-content: flex-end; }
.sq-summary { text-align: center; padding: 30px 16px; }
.sq-big { font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--gold-soft); }
.sq-pct { font-size: 1.1rem; color: var(--text-light); margin-top: 4px; }
.sq-summary p { color: var(--muted-light); margin: 10px 0 20px; }
.sq-sumbtn { display: flex; gap: 12px; justify-content: center; align-items: center; }
@media (max-width: 560px) { .sq-start { margin-left: 0; width: 100%; } }
@media (max-width: 620px) {
  .ck-item { flex-wrap: wrap; gap: 4px 10px; }
  .ck-en { min-width: 0; }
  .ck-tr { flex-basis: 100%; padding-left: 26px; }
  .ck-meta { margin-left: 26px; flex-wrap: wrap; }
  .ck-search { max-width: none; flex: 1; }
}

/* mid-game join bar for spectators */
.gz-midjoin { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--ink-800); border: 1px dashed var(--line-dark); border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; }
.gz-mj-t { font-size: 0.82rem; color: var(--muted-light); }
.gz-mj { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.gz-mj.red b { color: #f08a92; } .gz-mj.blue b { color: #6db8ec; }

/* ============ SOLO mode ============ */
/* landing call-to-action */
.gz-solo-cta { max-width: 620px; margin: 0 auto 6px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: center;
  background: linear-gradient(135deg, rgba(245,182,12,.14), rgba(245,182,12,.04)); border: 1px solid rgba(245,182,12,.4);
  border-radius: 18px; padding: 20px 22px; }
.gz-solo-tag { font-size: 0.76rem; letter-spacing: 0; color: var(--gold); }
.gz-solo-cta-txt h3 { font-family: var(--display); font-size: 1.25rem; margin: 5px 0 8px; }
.gz-solo-cta-txt p { color: var(--muted-light); font-size: 0.9rem; line-height: 1.55; margin: 0; }
.gz-solo-cta-txt p b { color: var(--gold-soft); }
.gz-solo-cta-go { display: flex; flex-direction: column; gap: 10px; }
.gz-solo-start { white-space: nowrap; }
.gz-or { max-width: 620px; margin: 20px auto 14px; text-align: center; position: relative; }
.gz-or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line-dark); }
.gz-or span { position: relative; background: var(--ink-900); padding: 0 14px; font-size: 0.76rem; letter-spacing: 0; color: var(--muted-light); }

/* the computer's clue banner */
.gz-solo-clue { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: linear-gradient(135deg, rgba(245,182,12,.16), rgba(245,182,12,.03)); border: 1px solid rgba(245,182,12,.45);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; }
.gz-solo-bot { font-size: 0.74rem; letter-spacing: 0; color: var(--gold); }
.gz-solo-word { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0; color: var(--gold-soft); }
.gz-solo-cnt { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-900); background: var(--gold); border-radius: 20px; padding: 4px 12px; font-weight: 700; }
.gz-solo-left { font-size: 0.82rem; color: var(--muted-light); }
.gz-solo-left b { color: var(--text-light); }
.gz-say { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--gold-soft);
  background: var(--ink-800); border: 1px solid var(--line-dark); cursor: pointer; padding: 0; transition: border-color .13s, color .13s; }
.gz-say svg { width: 16px; height: 16px; }
.gz-say:hover { border-color: var(--gold); color: var(--gold); }

/* status: found + hearts + best */
.gz-solo-status { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.gz-found { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--text-light); }
.gz-found b { color: var(--gold-soft); font-size: 1.25rem; }
.gz-lives { font-size: 1.05rem; letter-spacing: 2px; }
.gz-best { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); }

/* green "your word" tiles (reuses the shared .gz-cell grid) */
.gz-cell.show.target:not(.done) { background: #d7ecd6; box-shadow: inset 0 -5px 0 #4a9d52; }
.gz-cell.done.target { background: #3f9a4f; color: #fff; border-color: #33823f; }

.gz-solo-end.lost { background: rgba(120,130,145,.16); }
.gz-solo-end.lost b { color: #cdd6e2; }
.gz-solo-end span { color: var(--muted-light); font-size: 0.9rem; }
.gz-solo-actions { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gz-solo-actions .gz-lvl { flex-direction: row; align-items: center; gap: 8px; }
.gz-solo-actions .gz-input { width: auto; padding: 7px 10px; }
@media (max-width: 560px) { .gz-solo-cta { grid-template-columns: 1fr; } }

/* ---------- Gerçek Deneme (/deneme) ---------- */
.dn-yukleniyor { padding: 2rem 0; color: var(--muted-light); }
.dn-baslik { display: flex; align-items: baseline; gap: .6rem; margin: 1.6rem 0 .7rem; font-size: 1.15rem; }
.dn-say { font-size: .8rem; font-weight: 400; color: var(--muted-light); }
.dn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.dn-kart { display: flex; flex-direction: column; gap: .2rem; padding: .75rem .9rem;
  border: 1px solid var(--line-dark); border-radius: 10px; background: var(--ink-800); text-decoration: none; }
.dn-kart:hover { border-color: var(--gold); transform: translateY(-1px); }
.dn-kart.dn-bitti { opacity: .72; }
.dn-ad { font-weight: 700; color: var(--text-light); }
.dn-alt { font-size: .78rem; color: var(--muted-light); }

.dn-ust { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
  align-items: center; padding: .55rem 0 .8rem; border-bottom: 1px solid var(--line-dark); }
.dn-ustsol, .dn-ustsag { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.dn-geri { font-size: .85rem; color: var(--muted-light); text-decoration: none; }
.dn-sure { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.05rem;
  padding: .15rem .5rem; border-radius: 6px; background: var(--ink-700); }
.dn-sure.dn-suresonu { color: #fff; background: #c0392b; }
.dn-ilerleme { font-size: .8rem; color: var(--muted-light); }

.dn-govde { display: grid; grid-template-columns: minmax(0, 1fr) 172px; gap: 1.2rem; margin-top: 1rem; }
@media (max-width: 760px) { .dn-govde { grid-template-columns: 1fr; } }
.dn-sorubas { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .5rem; }
.dn-no { font-weight: 700; }
.dn-tip { font-size: .76rem; color: var(--muted-light); border: 1px solid var(--line-dark);
  border-radius: 999px; padding: .05rem .5rem; }
.dn-pasaj { white-space: pre-wrap; color: var(--text-light); line-height: 1.62; padding: .8rem .9rem; margin-bottom: .8rem;
  background: var(--ink-700); border-radius: 10px; font-size: .93rem; }
.dn-metin { line-height: 1.62; color: var(--text-light); font-size: 1rem; margin-bottom: .8rem; white-space: pre-line; }
.dn-siklar { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.dn-sik { display: flex; gap: .6rem; width: 100%; text-align: left; padding: .6rem .8rem;
  border: 1px solid var(--line-dark); border-radius: 10px; background: var(--ink-800);
  color: var(--text-light); font-size: .97rem; line-height: 1.5; cursor: pointer;
  transition: border-color .12s, background .12s; }
.dn-sik:hover { border-color: var(--gold); }
.dn-sik.dn-secili { border-color: var(--gold); background: rgba(245,182,12,.12); }
.dn-sik.dn-secili .dn-harf { background: var(--gold); color: var(--ink-900); }
.dn-harf { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink-700); font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--muted-light); }
.dn-sikmetin { flex: 1; }
.dn-gezinme { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }

.dn-harita { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-content: start; }
@media (max-width: 760px) { .dn-harita { grid-template-columns: repeat(10, 1fr); } }
.dn-h { padding: .32rem 0; font-size: .75rem; border: 1px solid var(--line-dark); border-radius: 6px;
  background: var(--ink-800); color: var(--muted-light); cursor: pointer;
  font-variant-numeric: tabular-nums; font-family: var(--mono); }
.dn-h.dn-hdolu { background: var(--ink-600); border-color: var(--gold); color: var(--text-light); }
.dn-h.dn-haktif { outline: 2px solid var(--gold); font-weight: 700; }

.dn-sonuc { padding: 1rem 0; }
.dn-skor { display: flex; align-items: baseline; gap: 1rem; margin: .8rem 0; }
.dn-buyuk { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.dn-buyuk small { font-size: 1.1rem; font-weight: 500; color: var(--muted-light); }
.dn-puan { font-size: 1.1rem; color: var(--muted-light); }
.dn-ozet { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; font-size: .92rem; }
.dn-d { color: #1e8449; } .dn-y { color: #c0392b; } .dn-b { color: var(--muted-light); }
.dn-tliste { display: grid; gap: .35rem; margin-bottom: 1.2rem; }
.dn-tsatir { display: grid; grid-template-columns: 150px 1fr 52px; gap: .6rem; align-items: center; font-size: .86rem; }
.dn-tbar { height: 7px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.dn-tbar i { display: block; height: 100%; background: var(--gold); }
.dn-tsay { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted-light); }
.dn-butonlar { display: flex; gap: .5rem; flex-wrap: wrap; }
.dn-gk { padding: .8rem; margin-top: .7rem; border: 1px solid var(--line-dark); border-radius: 10px; }
.dn-gkbas { font-size: .8rem; color: var(--muted-light); margin-bottom: .4rem; }
.dn-gksoru { margin-bottom: .5rem; line-height: 1.55; white-space: pre-line; }
.dn-cozum { margin-top: .6rem; padding: .65rem .8rem; border: 1px solid rgba(62, 155, 224, .28); background: rgba(62, 155, 224, .06); border-radius: 10px; font-size: .9rem; line-height: 1.55; }
.dn-cozum b { display: block; font-size: .72rem; letter-spacing: .06em; opacity: .75; margin-bottom: .15rem; }
.dn-gkcevap { display: grid; gap: .2rem; font-size: .88rem; }
.dn-not { color: var(--muted-light); margin-top: .8rem; }
.dn-bos { padding: 1.2rem 0; max-width: 62ch; color: var(--muted-light); line-height: 1.7; }
.dn-bos strong { color: var(--text-light); }
.dn-bos a { color: var(--sky-bright); }

/* ============================================================
   SINAV ÇÖZÜMLEMESİ  (/sinav-analizi)
   Yoğun akademik içerik için ayrı bir katman: sol yapışkan bölüm
   gezgini, renk kodlu soru kartları, kural/tuzak kutuları, parça
   çözümlemesi ve sınav geneli özet tabloları.
   ============================================================ */

.sa-yukleniyor { padding: 2.5rem 0; color: var(--muted-light); }

/* ---- sınav listesi ---- */
.sa-sayfabas { max-width: 74ch; margin-bottom: 1.8rem; }
.sa-sayfabas h1 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15; margin: .35rem 0 .6rem; }
.sa-sayfabas .lede { color: var(--muted-light); line-height: 1.7; }
.sa-telif { display: block; margin-top: .7rem; font-size: .82rem; line-height: 1.6;
  color: var(--muted-light); border-left: 2px solid var(--line-dark); padding-left: .7rem; }

.sa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.sa-kart { position: relative; display: flex; flex-direction: column; gap: .2rem;
  padding: 1.2rem 1.2rem 1.1rem; border: 1px solid var(--line-dark); border-radius: 14px;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
  text-decoration: none; transition: border-color .18s, transform .18s; }
.sa-kart:hover { border-color: var(--gold); transform: translateY(-2px); }
.sa-kart-rozet { align-self: flex-start; font-size: 0.74rem;
  letter-spacing: 0; color: var(--gold);
  background: rgba(245, 182, 12, .12); border: 1px solid rgba(245, 182, 12, .28);
  border-radius: 5px; padding: .12rem .45rem; margin-bottom: .5rem; }
.sa-kad { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--text-light); }
.sa-kalt { font-size: .84rem; color: var(--muted-light); }
.sa-kn { margin-top: .5rem; font-family: var(--mono); font-size: .74rem; color: var(--sky-bright); }

/* ---- sınav künyesi ---- */
.sa-hero { border: 1px solid var(--line-dark); border-radius: 18px; padding: clamp(1.3rem, 3vw, 2.1rem);
  margin-bottom: 1.6rem; background: var(--ink-800); }
.sa-hero-rozet { font-size: 0.78rem; letter-spacing: 0; color: var(--sky-bright); }
.sa-hero h1 { font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15; margin: .35rem 0 .55rem; }
.sa-hero-acik { color: var(--muted-light); line-height: 1.72; max-width: 78ch; }
/* Künye açıklaması dar ekranda katlanır. Kapalı <details> içeriğini geniş
   ekranda açık göstermek için tarayıcının kendi kuralını eziyoruz; böylece
   duruma JS karışmıyor, ekran döndürülünce de doğru davranıyor. */
@media (min-width: 701px) {
  .sa-hero-det > summary { display: none; }
  .sa-hero-det:not([open]) > *:not(summary) { display: block; }
}
.sa-sayilar { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .8rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.sa-sayilar b { display: block; font-family: var(--display); font-size: 1.75rem;
  font-weight: 800; color: var(--gold); line-height: 1.1; }
.sa-sayilar span { font-size: .78rem; color: var(--muted-light); }
.sa-hero-alt { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center;
  margin-top: 1.2rem; }
.sa-hero-alt .sa-telif { flex: 1 1 26ch; margin: 0; border: 0; padding: 0; max-width: 52ch; }

/* ---- iki sütunlu düzen ---- */
.sa-duzen { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 1.6rem;
  align-items: start; }
/* Izgara ögesi varsayılan olarak içeriğinden dar olmayı reddeder; yatay kayan
   çip şeridi sütunu 1800px'e şişiriyordu. min-width:0 taşmayı keser. */
.sa-yan, .sa-ana { min-width: 0; }
/* Yapışkanlık sütunun KENDİSİNE verilir: iç kutuya verilseydi, kutu sütunla aynı
   boyda olduğu için kayacak yer bulamaz ve sabitlenme hiç çalışmazdı. */
.sa-yan { position: sticky; top: 86px; }
.sa-yan-ic { max-height: calc(100vh - 110px); overflow-y: auto;
  padding: 1rem .9rem; border: 1px solid var(--line-dark); border-radius: 14px;
  background: var(--ink-800); }
.sa-yan-bas { font-size: 0.78rem; letter-spacing: 0; color: var(--muted-light); margin-bottom: .7rem; padding-left: .35rem; }
.sa-toc { display: flex; flex-direction: column; gap: 2px; }
.sa-toc-oge { display: grid; grid-template-columns: 1.7rem 1fr auto; align-items: center;
  gap: .5rem; width: 100%; text-align: left; padding: .5rem .55rem; border: 0;
  border-radius: 9px; background: transparent; color: var(--muted-light);
  font-size: .86rem; cursor: pointer; transition: background .15s, color .15s; }
.sa-toc-oge:hover { background: var(--ink-700); color: var(--text-light); }
.sa-toc-oge.aktif { background: color-mix(in srgb, var(--sa-renk) 14%, transparent);
  color: var(--text-light); box-shadow: inset 2px 0 0 var(--sa-renk); }
.sa-toc-no { font-family: var(--mono); font-size: .72rem; color: var(--sa-renk); opacity: .85; }
.sa-toc-ad { line-height: 1.35; }
.sa-toc-aralik { font-family: var(--mono); font-size: .68rem; color: var(--muted-light);
  background: rgba(255, 255, 255, .05); border-radius: 4px; padding: .05rem .3rem; }
.sa-toc-oge.aktif .sa-toc-ad { font-weight: 600; }

/* ---- filtre çubuğu ---- */
.sa-filtre { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.sa-ara { flex: 1 1 auto; max-width: 420px; padding: .55rem .8rem; border: 1px solid var(--line-dark);
  border-radius: 10px; background: var(--ink-900); color: var(--text-light); font-size: .92rem;
  font-family: inherit; }
.sa-ara::placeholder { color: var(--muted-light); }
.sa-ara:focus { outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.sa-filtre-say { font-family: var(--mono); font-size: .78rem; color: var(--muted-light); }

/* ---- bölüm başlığı ---- */
.sa-bbas { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem;
  padding-bottom: .5rem; border-bottom: 2px solid color-mix(in srgb, var(--sa-renk) 45%, transparent); }
.sa-bbas h2 { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.2; }
.sa-baralik { font-family: var(--mono); font-size: .76rem; color: var(--sa-renk); }
.sa-bacik { color: var(--muted-light); max-width: 76ch; line-height: 1.72;
  margin: .8rem 0 1.5rem; font-size: .95rem; }

/* ---- soru kartı ---- */
/* Kart içinde bölüm rengi KULLANILMAZ. Aynı anda tek bölüm görüntülendiği için
   ekrandaki bütün kartlar aynı renk oluyordu; renk ayrım yapmıyor, üstelik
   anlamsal renklerle (doğru=mint, tuzak=mercan, kural=mavi) çakışıyordu.
   Bölüm rengi yalnız gezginde, bölüm başlığında ve parça-soru bağında durur. */
.sa-kart-soru { position: relative; padding: var(--sp-md) var(--sp-lg);
  margin-bottom: var(--sp-md); border: 1px solid var(--line-dark);
  border-radius: 12px; background: var(--ink-800); scroll-margin-top: 84px; }
.sa-kart-soru[hidden] { display: none; }
.sa-kart--vurgu { border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }

.sa-kbas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-sm);
  padding-bottom: var(--sp-sm); margin-bottom: var(--sp-md);
  border-bottom: 1px solid var(--line-dark); }
.sa-qno { flex: none; display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem;
  padding: 0 .35rem; border-radius: 7px; font-family: var(--mono); font-weight: 700;
  font-size: .85rem; color: var(--muted-light); background: var(--ink-700);
  border: 1px solid var(--line-dark); }
.sa-ketiket { flex: 1 1 14ch; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--sp-xs) var(--sp-sm); min-width: 0; }
.sa-qtip { font-weight: 700; font-size: .94rem; color: var(--text-light); }
.sa-qkonu { font-size: .76rem; color: var(--c-amber);
  background: rgba(255, 176, 32, .1); border-radius: 999px; padding: .08rem .55rem; }
.sa-cevap { flex: none; font-size: .8rem; color: var(--muted-light);
  background: rgba(52, 211, 166, .1); border: 1px solid rgba(52, 211, 166, .3);
  border-radius: 7px; padding: .18rem .5rem; }
.sa-cevap b { color: var(--c-mint); font-family: var(--mono); }
.sa-cevap .sa-en { color: var(--c-mint); }

/* iki sütun: solda çözüm-kural-tuzak, sağda şıklar */
.sa-kart-govde { display: grid; gap: var(--sp-md); }
@media (min-width: 1080px) {
  .sa-kart-govde { grid-template-columns: 1.35fr 1fr; align-items: start; gap: var(--sp-lg); }
}
.sa-kart-sol > *:last-child, .sa-kart-sag > *:last-child { margin-bottom: 0; }
.sa-kart-sag .sa-blok { margin-top: 0; }

.sa-brif { font-size: .88rem; line-height: 1.6; color: var(--muted-light);
  max-width: 74ch; margin-bottom: var(--sp-sm); }
.sa-brif b { color: var(--text-light); }

/* ikincil bloklar — varsayılan kapalı akordeon */
.sa-det { margin-top: var(--sp-md); border-top: 1px dashed var(--line-dark);
  padding-top: var(--sp-sm); }
.sa-det-ozet { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-sm); cursor: pointer; list-style: none; font-size: .8rem;
  color: var(--muted-light); padding: .2rem 0; }
.sa-det-ozet::-webkit-details-marker { display: none; }
.sa-det-ozet:hover { color: var(--gold-soft); }
.sa-det-ozet:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 5px; }
.sa-det-ok { transition: transform .18s; }
.sa-det[open] .sa-det-ok { transform: rotate(180deg); }
.sa-det-govde { display: grid; gap: var(--sp-md); padding-top: var(--sp-sm); }
.sa-det-govde .sa-blok { margin-top: 0; }
@media (min-width: 1080px) {
  .sa-det-govde { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

/* ---- hızlı tarama matrisi ---- */
.sa-matris { padding: var(--sp-md) var(--sp-lg); margin-bottom: var(--sp-lg);
  border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink-800); }
.sa-matris-bas { display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.sa-matris-bas .sa-altbas { margin-bottom: 0; }
.sa-matris-dugme { display: flex; gap: var(--sp-sm); }
.sa-matris-dugme button { background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: .78rem; color: var(--sky-bright); }
.sa-matris-dugme button:hover { color: var(--gold-soft); text-decoration: underline; }
.sa-matris-izgara { display: grid; gap: var(--sp-sm);
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
.sa-m-hucre { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-sm) 10px;
  border: 1px solid var(--line-dark); border-radius: 9px; background: var(--ink-900);
  text-decoration: none; transition: border-color .15s, transform .15s; }
.sa-m-hucre:hover { border-color: var(--gold); transform: translateY(-2px); }
.sa-m-ust { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.sa-m-no { font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--muted-light); }
.sa-m-cevap { font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--c-mint); }
.sa-m-tip { font-size: .72rem; line-height: 1.3; color: var(--text-light);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sa-m-tuzak { font-size: .66rem; line-height: 1.3; color: var(--c-coral);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- İngilizce parçalar ----
   Tek sözcük ve kısa kalıp yalnız renkle ayrılır; üç sözcükten uzun ifade mono
   + hafif zeminle kutulanır. Hepsine kutu verilince paragraf alacalı oluyordu. */
.sa-en { color: var(--sky-bright); font-weight: 500; overflow-wrap: anywhere; }
.sa-en--uzun { font-family: var(--mono); font-size: .89em;
  background: rgba(95, 176, 236, .07); border-bottom: 1px dashed rgba(95, 176, 236, .35);
  border-radius: 3px; padding: .05em .3em; }

/* ---- çözüm gövdesi ---- */
.sa-cozum { padding: var(--sp-md) var(--sp-md); margin-bottom: var(--sp-md);
  border-radius: 10px; background: rgba(11, 17, 30, .55); }
.sa-altbas { font-size: 0.76rem; letter-spacing: 0; color: var(--muted-light); margin-bottom: var(--sp-sm);
  font-weight: 600; }
.sa-cozum p { font-size: .92rem; line-height: 1.62; max-width: 68ch;
  margin-bottom: var(--sp-sm); color: var(--text-light); }
.sa-cozum p:last-child { margin-bottom: 0; }
.sa-cozum b { color: var(--gold-soft); font-weight: 600; }
.sa-sinyal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .7rem !important; }
.sa-sinyal span { font-size: 0.76rem; letter-spacing: 0; color: var(--muted-light); }
.sa-sinyal code { font-family: var(--mono); font-size: .86rem; color: var(--gold-soft);
  background: rgba(245, 182, 12, .13); border: 1px solid rgba(245, 182, 12, .25);
  border-radius: 6px; padding: .12rem .5rem; }
.sa-ipucu { color: var(--sky-bright) !important; }

/* ---- kural / tuzak kutuları ---- */
.sa-callout { border: 1px solid; border-radius: 10px;
  padding: 10px var(--sp-md); margin-bottom: var(--sp-sm); }
.sa-callout--kural { background: rgba(95, 176, 236, .06); border-color: rgba(95, 176, 236, .3); }
.sa-callout--tuzak { background: rgba(255, 107, 107, .06); border-color: rgba(255, 107, 107, .3); }
.sa-callout-bas { font-size: 0.78rem; letter-spacing: 0; font-weight: 700; margin-bottom: .35rem; }
.sa-callout--kural .sa-callout-bas { color: var(--sky-bright); }
.sa-callout--tuzak .sa-callout-bas { color: var(--c-coral); }
.sa-callout-govde { font-size: .89rem; line-height: 1.55; color: var(--text-light); max-width: 68ch; }
.sa-callout-govde strong { color: #fff; }

/* ---- şıklar ---- */
.sa-siklar { display: grid; gap: var(--sp-xs); }
.sa-sik { display: flex; gap: var(--sp-sm); padding: 7px 10px; border-radius: 9px;
  background: var(--ink-900); border: 1px solid transparent; }
.sa-sik--dogru { background: rgba(52, 211, 166, .09); border-color: rgba(52, 211, 166, .32); }
.sa-harf { flex: none; width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  border-radius: 6px; background: var(--ink-700); font-family: var(--mono); font-weight: 700;
  font-size: .74rem; color: var(--muted-light); }
.sa-sik--dogru .sa-harf { background: var(--c-mint); color: #06281f; }
.sa-sikgovde { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem; }
.sa-siktr { font-size: .86rem; color: var(--gold-soft); }
.sa-etiket { font-size: 0.74rem; letter-spacing: 0; border-radius: 4px; padding: .1rem .4rem; font-weight: 700; }
.sa-etiket--dogru { color: var(--c-mint); background: rgba(52, 211, 166, .14); }
.sa-etiket--tuzak { color: var(--c-coral); background: rgba(255, 107, 107, .12); }
.sa-siknot { flex-basis: 100%; font-size: .83rem; line-height: 1.5; color: var(--muted-light);
  margin-top: 2px; max-width: 68ch; }

/* ---- kart altı blokları ---- */
.sa-blok { margin-top: var(--sp-md); }
.sa-kalt { display: grid; gap: 1rem; margin-top: 1.1rem; padding-top: .9rem;
  border-top: 1px solid var(--line-dark); }
.sa-kalt .sa-blok { margin-top: 0; }
.sa-liste { margin: 0; padding-left: 1.1rem; }
.sa-liste li { font-size: .88rem; line-height: 1.55; color: var(--text-light);
  margin-bottom: var(--sp-xs); max-width: 70ch; }
.sa-sozluk { display: grid; grid-template-columns: max-content 1fr; gap: var(--sp-xs) var(--sp-md);
  margin: 0; align-items: baseline; }
.sa-sozluk dt { font-size: .89rem; }
.sa-sozluk dd { margin: 0; font-size: .89rem; color: var(--muted-light); line-height: 1.55; }
.sa-sozluk dd em { display: block; color: var(--gold-soft); font-style: normal; font-size: .93em; }
.sa-cipler { display: flex; flex-wrap: wrap; gap: .3rem; }
.sa-cip { font-family: var(--mono); font-size: .78rem; color: var(--text-light);
  background: var(--ink-700); border: 1px solid var(--line-dark); border-radius: 6px;
  padding: .12rem .5rem; }
.sa-not { margin-top: .8rem; font-size: .88rem; line-height: 1.65; color: var(--muted-light);
  font-style: italic; }

/* ---- eş anlam öbekleri ve eşleşme tablosu ---- */
.sa-zincirler { display: grid; gap: .45rem; }
.sa-zincir { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; }
.sa-zgrup { flex: 0 0 auto; min-width: 9ch; font-size: .84rem; font-weight: 600;
  color: var(--gold-soft); }
.sa-esles td { vertical-align: top; }
.sa-esnot { display: block; margin-top: .2rem; font-size: .84rem; line-height: 1.55;
  color: var(--muted-light); }
.sa-blok .sa-tabloalan { margin-bottom: 0; }

/* ---- parça çözümlemesi ---- */
.sa-pobek { margin-bottom: 2rem; }
.sa-pasaj { position: relative; overflow: hidden; padding: 1.2rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--sa-renk) 30%, var(--line-dark));
  border-radius: 14px; background: var(--ink-800); }
.sa-pbas { margin-bottom: .8rem; }
.sa-prozet { font-size: 0.76rem; letter-spacing: 0; color: var(--sa-renk);
  background: color-mix(in srgb, var(--sa-renk) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--sa-renk) 30%, transparent);
  border-radius: 5px; padding: .12rem .45rem; }
.sa-pbas h4 { font-family: var(--display); font-size: 1.2rem; margin-top: .5rem; line-height: 1.3; }
.sa-tez { font-size: .95rem; line-height: 1.72; color: var(--text-light); max-width: 76ch;
  padding: .7rem .9rem; margin-bottom: 1rem; border-left: 3px solid var(--sa-renk);
  border-radius: 0 9px 9px 0; background: rgba(11, 17, 30, .5); }
.sa-tez b { color: var(--sa-renk); }
.sa-akis { list-style: none; counter-reset: sa-akis; padding: 0; margin: 0 0 1rem; position: relative; }
.sa-akis::before { content: ""; position: absolute; left: .78rem; top: .9rem; bottom: .9rem;
  width: 2px; background: color-mix(in srgb, var(--sa-renk) 30%, transparent); }
.sa-akis li { counter-increment: sa-akis; position: relative; padding-left: 2.4rem;
  margin-bottom: .7rem; font-size: .92rem; line-height: 1.65; color: var(--text-light);
  max-width: 74ch; }
.sa-akis li::before { content: counter(sa-akis); position: absolute; left: 0; top: -.05rem;
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink-900); border: 2px solid var(--sa-renk); color: var(--sa-renk);
  font-family: var(--mono); font-weight: 700; font-size: .72rem; }
.sa-pbagli { margin: 1rem 0 0 1rem; padding-left: 1.2rem;
  border-left: 2px dashed color-mix(in srgb, var(--sa-renk) 45%, transparent); }
.sa-pbagli-bas { font-size: 0.76rem; letter-spacing: 0; color: var(--sa-renk); margin-bottom: .7rem; }

/* ---- sınav geneli özet ---- */
.sa-h3 { display: flex; align-items: baseline; gap: .5rem; font-family: var(--display);
  font-size: 1.15rem; margin: 1.8rem 0 .8rem; }
.sa-say { font-family: var(--mono); font-size: .74rem; font-weight: 400; color: var(--muted-light); }
.sa-tabloalan { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 11px;
  margin-bottom: 1rem; }
.sa-tablo { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sa-tablo th { position: sticky; top: 0; text-align: left; padding: 6px 10px;
  background: var(--ink-700); color: var(--gold); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0; }
.sa-tablo td { padding: 6px 10px; border-top: 1px solid var(--line-dark);
  vertical-align: top; color: var(--text-light); line-height: 1.45; }
.sa-tablo tbody tr:hover { background: rgba(255, 255, 255, .025); }
.sa-tablo em { color: var(--muted-light); font-style: normal; }
.sa-tablo .sa-cip { margin: 0 .15rem .15rem 0; display: inline-block; }
.sa-tno { font-family: var(--mono); font-size: .8rem; color: var(--muted-light); white-space: nowrap; }
.sa-soztablo tr[hidden] { display: none; }

/* ---- dar ekran ---- */
@media (max-width: 980px) {
  .sa-duzen { grid-template-columns: 1fr; gap: var(--sp-md); }
  .sa-yan { position: sticky; top: var(--nav-h); z-index: 40; margin: 0 -24px; }
  .sa-yan-ic { max-height: none; border-radius: 0; border-left: 0; border-right: 0;
    padding: var(--sp-sm) 24px; background: rgba(14, 22, 40, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .sa-yan-bas { display: none; }
  /* 11 bölüm yatay kaydırmalı çip şeridine iner; sarma yerine kaydırma, çünkü
     sarınca üç satır tutup ekranın üçte birini yiyordu. */
  .sa-toc { flex-direction: row; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x proximity; gap: var(--sp-sm); padding-bottom: 2px;
    /* şeridin ucuna gelince tarayıcının "geri" kaydırma jesti tetiklenmesin */
    overscroll-behavior-x: contain;
    scrollbar-width: none; }
  .sa-toc::-webkit-scrollbar { height: 0; }
  .sa-toc-oge { flex: 0 0 auto; width: auto; scroll-snap-align: start;
    grid-template-columns: auto auto; gap: var(--sp-xs); padding: 6px 12px;
    border: 1px solid var(--line-dark); border-radius: 999px; font-size: .8rem;
    white-space: nowrap; }
  .sa-toc-oge .sa-toc-aralik { display: none; }
  .sa-toc-oge.aktif { box-shadow: none; border-color: var(--sa-renk);
    background: color-mix(in srgb, var(--sa-renk) 16%, transparent); }
}
@media (max-width: 700px) {
  /* künye: uzun açıklama katlanır, sayılar 2×2 olur — içerik ilk ekranda görünsün */
  .sa-hero { padding: var(--sp-lg); }
  .sa-hero-det > summary { display: block; list-style: none; cursor: pointer;
    font-size: .84rem; color: var(--sky-bright); padding: var(--sp-xs) 0; }
  .sa-hero-det > summary::-webkit-details-marker { display: none; }
  .sa-hero-det[open] > summary { color: var(--muted-light); }
  .sa-sayilar { grid-template-columns: 1fr 1fr; gap: var(--sp-md);
    margin-top: var(--sp-md); padding-top: var(--sp-md); }
  .sa-sayilar b { font-size: 1.45rem; }
  .sa-hero-alt { gap: var(--sp-sm); margin-top: var(--sp-md); }
  .sa-hero-alt .sa-telif { font-size: .78rem; }
}
@media (max-width: 620px) {
  .sa-kart-soru { padding: 10px var(--sp-md); margin-bottom: var(--sp-sm); }
  .sa-kbas { gap: var(--sp-xs) var(--sp-sm); }
  .sa-qtip { font-size: .88rem; }
  .sa-cevap { order: 3; }
  .sa-cozum { padding: 10px; }
  .sa-cozum p, .sa-callout-govde { font-size: .85rem; line-height: 1.5; }
  .sa-liste li, .sa-siknot { font-size: .81rem; line-height: 1.45; }
  .sa-sik { padding: 6px 8px; gap: 6px; }
  .sa-harf { width: 1.25rem; height: 1.25rem; font-size: .7rem; }
  .sa-sikgovde { font-size: .85rem; }
  .sa-sozluk { grid-template-columns: 1fr; gap: 0; }
  .sa-sozluk dd { margin-bottom: var(--sp-sm); }
  .sa-matris { padding: var(--sp-md); }
  .sa-matris-izgara { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
  .sa-zincir { flex-direction: column; gap: var(--sp-xs); }
  .sa-pbagli { margin-left: 0; padding-left: var(--sp-md); }
}

/* ---- yazdırma ---- */
@media print {
  .sa-yan, .sa-filtre, .sa-hero-alt, .nav-main, .site-header, .read-progress { display: none !important; }
  .sa-duzen { display: block; }
  .sa-kart-soru, .sa-pasaj, .sa-callout { break-inside: avoid; page-break-inside: avoid;
    background: #fff !important; color: #000 !important; border: 1px solid #bbb !important; }
  .sa-kart-soru::before { background: #666 !important; }
  .sa-en { background: #eee !important; color: #000 !important; }
  .sa-bbas { break-after: avoid; page-break-after: avoid; }
}

/* ============================================================
   LGS Denemeleri
   ============================================================ */
.lg { padding-top: 28px; padding-bottom: 48px; color: var(--text-light); }
.lg-uno { font-size: 0.83rem; color: var(--gold); letter-spacing: 0; }
.lg-not { color: var(--muted-light); font-size: .86rem; }
.lg-not a, .lg-crumb a { color: var(--gold); text-decoration: none; }
.lg-not a:hover, .lg-crumb a:hover { text-decoration: underline; }
.lg-crumb { margin: 0 0 14px; font-size: .92rem; }

/* başlık */
.lg-hero { position: relative; overflow: hidden; padding: 30px 32px; margin-bottom: 18px; border-radius: 22px; border: 1px solid var(--line-dark);
  background: var(--ink-800); }
.lg-hero h1 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; margin: 10px 0 8px; letter-spacing: -.02em; }
.lg-hero p { margin: 0; max-width: 620px; color: var(--muted-light); font-size: 1.05rem; line-height: 1.55; }
.lg-etk { display: inline-block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0; background: var(--gold); color: var(--ink-900); padding: 4px 11px; border-radius: 999px; }

/* sınıf sekmesi + özet */
.lg-arac { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.lg-sek { display: inline-flex; gap: 4px; padding: 4px; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 999px; }
.lg-sek button { font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--muted-light); cursor: pointer; transition: background .15s, color .15s; }
.lg-sek button:hover { color: var(--text-light); }
.lg-sek button.on { background: var(--gold); color: var(--ink-900); }
.lg-ozet { display: flex; gap: 18px; color: var(--muted-light); font-size: .9rem; }
.lg-ozet b { color: var(--text-light); font-family: var(--display); font-size: 1.15rem; margin-right: 3px; }

/* ilerleme çubuğu */
.lg-ilr { flex: 1; height: 6px; min-width: 50px; background: var(--ink-900); border-radius: 99px; overflow: hidden; }
.lg-ilr i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-mint), #7be3c4); border-radius: 99px; transition: width .3s; }
.lg-ilrs { font-family: var(--mono); font-size: .74rem; color: var(--muted-light); white-space: nowrap; }

/* deneme kutusu */
.lg-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; padding: 6px 2px; border-radius: 12px;
  background: var(--ink-900); border: 1px solid var(--line-dark); color: var(--text-light); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.lg-t:hover { border-color: var(--gold); transform: translateY(-2px); }
.lg-t b { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; color: var(--gold-soft); }
.lg-t small { font-size: .68rem; color: var(--muted-light); white-space: nowrap; }
.lg-t.prova { border-color: rgba(245,182,12,.45); background: linear-gradient(160deg, rgba(245,182,12,.12), var(--ink-900) 60%); }
.lg-t.prova::after { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-top: 14px solid var(--gold); border-left: 14px solid transparent; border-top-right-radius: 11px; }
.lg-t.bitti { border-color: rgba(52,211,166,.55); background: rgba(52,211,166,.1); }
.lg-t.bitti small { color: var(--c-mint); font-weight: 700; }

/* genel denemeler */
.lg-genel { padding: 22px; margin-bottom: 18px; border-radius: 20px; border: 1px solid rgba(245,182,12,.5);
  background: linear-gradient(135deg, rgba(245,182,12,.10), transparent 45%), var(--ink-800); }
.lg-gbas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.lg-gbas h2 { font-family: var(--display); font-size: 1.6rem; margin: 4px 0 4px; }
.lg-gbas p { margin: 0; color: var(--muted-light); font-size: .92rem; }
.lg-gilr { display: flex; align-items: center; gap: 10px; width: min(240px, 100%); }
.lg-gkut { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.lg-gkut .lg-t { min-height: 72px; }
.lg-gkut .lg-t b { font-size: 1.6rem; }

/* analiz */
.lg-analiz { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 18px; padding: 0; margin: 0 0 26px; }
.lg-analiz summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.lg-analiz summary::-webkit-details-marker { display: none; }
.lg-aik { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(62,155,224,.16); color: var(--sky-bright); }
.lg-aik .ik { width: 22px; height: 22px; }
.lg-analiz summary > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.lg-analiz summary b { font-size: 1.05rem; }
.lg-analiz summary small { color: var(--muted-light); font-size: .82rem; }
.lg-analiz summary em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--gold); border: 1px solid rgba(245,182,12,.4); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.lg-analiz[open] summary em { font-size: 0; } .lg-analiz[open] summary em::after { content: "Kapat"; font-size: .82rem; }
.lg-analiz[open] summary { border-bottom: 1px solid var(--line-dark); }
.lg-analiz > :not(summary) { margin-left: 20px; margin-right: 20px; }
.lg-analiz > :last-child { margin-bottom: 18px; }
.lg-analiz h3 { font-size: .9rem; color: var(--gold); margin: 18px 0 10px; }
.lg-agrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lg-agrid section { background: var(--ink-900); border-radius: 14px; padding: 2px 14px 12px; margin-top: 16px; }
.lg-bar { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(60px, 1fr) 3em; align-items: center; gap: 8px; font-size: .84rem; margin: 6px 0; }
.lg-bar span { color: var(--muted-light); line-height: 1.25; }
.lg-bar i { display: block; height: 8px; background: var(--ink-700); border-radius: 99px; overflow: hidden; }
.lg-bar em { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 99px; }
.lg-bar b { font-family: var(--mono); font-size: .8rem; text-align: right; white-space: nowrap; }
.lg-gozlem { margin: 0; padding-left: 18px; line-height: 1.6; font-size: .92rem; }
.lg-gozlem li { margin: 5px 0; }
.lg-gozlem li::marker { color: var(--gold); }

/* ünite kartları */
.lg-bolum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: 0 0 12px; }
.lg-bolum h2 { font-family: var(--display); font-size: 1.45rem; margin: 0; }
.lg-lejant { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: .8rem; color: var(--muted-light); }
.lg-lejant span { display: inline-flex; align-items: center; gap: 6px; }
.lg-lejant i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg-l-p { background: linear-gradient(225deg, var(--gold) 45%, var(--ink-900) 46%); border: 1px solid rgba(245,182,12,.6); }
.lg-l-b { background: rgba(52,211,166,.25); border: 1px solid var(--c-mint); }
.lg-uniteler { display: grid; gap: 14px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.lg-unite { display: flex; flex-direction: column; gap: 10px; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 18px; padding: 16px; transition: border-color .15s; }
.lg-unite:hover { border-color: rgba(255,255,255,.18); }
.lg-ubas { display: flex; align-items: center; gap: 10px; }
.lg-ubas b { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-ubas .lg-ilr { max-width: 90px; margin-left: auto; }
.lg-ubtn { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.lg-tar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text-light);
  background: linear-gradient(90deg, rgba(62,155,224,.16), rgba(62,155,224,.04)); border: 1px solid rgba(62,155,224,.35); transition: border-color .15s; }
.lg-tar:hover { border-color: var(--sky-bright); }
.lg-tar span { display: flex; flex-direction: column; }
.lg-tar b { font-size: .95rem; } .lg-tar small { font-size: .76rem; color: var(--muted-light); }
.lg-tar em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--sky-bright); white-space: nowrap; }
.lg-tar.bitti { border-color: rgba(52,211,166,.55); background: rgba(52,211,166,.08); } .lg-tar.bitti em { color: var(--c-mint); }
.lg-ogrlink { margin-top: 22px; text-align: center; }

/* form */
.lg-fdis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.lg-crumb:has(+ .lg-fdis) { max-width: 980px; margin-left: auto; margin-right: auto; }
.lg-fbilgi { padding: 26px; border-radius: 20px; border: 1px solid rgba(245,182,12,.4); background: linear-gradient(150deg, rgba(245,182,12,.12), transparent 55%), var(--ink-800); }
.lg-fbilgi h2 { font-family: var(--display); font-size: 1.9rem; margin: 8px 0 16px; line-height: 1.1; }
.lg-fcip { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.lg-fcip li { background: var(--ink-900); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 13px; font-size: .85rem; color: var(--muted-light); }
.lg-fcip b { color: var(--text-light); }
.lg-kural { margin: 0; padding-left: 20px; color: var(--muted-light); font-size: .92rem; line-height: 1.55; }
.lg-kural li { margin: 6px 0; } .lg-kural li::marker { color: var(--gold); font-weight: 700; }
.lg-form { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px; color: var(--text-light); }
.lg-form h2, .lg-form h3 { margin: 0 0 4px; font-family: var(--display); font-size: 1.3rem; }
.lg-form > p { margin: 0 0 6px; color: var(--muted-light); font-size: .9rem; }
.lg-form label { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 0; font-size: .84rem; font-weight: 600; color: var(--muted-light); }
.lg-form input, .lg-form select, .lg-filtre select { font: inherit; font-size: 1rem; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-dark); background: var(--ink-900); color: var(--text-light); transition: border-color .15s; }
.lg-form input:hover, .lg-form select:hover { border-color: rgba(255,255,255,.2); }
.lg-form input:focus, .lg-form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.lg-form .lg-bos { border-color: #e05a5a; }
.lg-ikili { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; }
.lg-hata { color: #ff8a8a; min-height: 1.2em; margin: 12px 0 8px; font-weight: 600; font-size: .9rem; }
.lg-basla { width: 100%; justify-content: center; font-size: 1.05rem; padding: 14px; }

/* sınav: üst çubuk */
.lg-ust { position: sticky; top: 64px; z-index: 5; display: flex; flex-direction: column; gap: 10px; background: rgba(19,31,56,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 12px 16px 0; margin-bottom: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.lg-ust1 { display: flex; align-items: center; gap: 16px; }
.lg-ubil { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lg-ubil b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-ubil span { color: var(--muted-light); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-isa { font-size: .85rem; color: var(--muted-light); white-space: nowrap; } .lg-isa b { color: var(--text-light); font-family: var(--mono); font-size: 1rem; }
.lg-sayac { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--ink-900); background: var(--gold); padding: 6px 12px; border-radius: 10px; }
.lg-sayac.az { background: #ff6b6b; color: #fff; animation: lgNabiz 1s infinite; }
@keyframes lgNabiz { 50% { opacity: .65; } }
.lg-gez { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lg-gez button { flex: 1 0 34px; height: 32px; font: inherit; font-size: .85rem; font-weight: 700; border-radius: 9px; border: 1px solid var(--line-dark); background: var(--ink-900); color: var(--muted-light); cursor: pointer; }
.lg-gez button:hover { border-color: var(--gold); color: var(--text-light); }
.lg-gez button.on { background: var(--gold); border-color: var(--gold); color: var(--ink-900); }
.lg-ilr-ust { height: 4px; margin: 0 -16px; border-radius: 0; background: transparent; }
.lg-ilr-ust i { background: var(--gold); border-radius: 0; }

/* sorular */
.lg-sorular { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.lg-soru { background: #fbfaf6; color: #1d2433; border-radius: 18px; padding: 22px 24px; border: 2px solid transparent; box-shadow: 0 6px 24px rgba(0,0,0,.18); scroll-margin-top: 170px; }
.lg-soru.cevapli { border-color: rgba(201,162,39,.35); }
.lg-sbas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.lg-sno { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; background: #16203a; color: #ffd25e; font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.lg-cikmis { font-size: .74rem; font-weight: 800; letter-spacing: .02em; background: #fff1c2; color: #7a5600; border: 1px solid #f0cf6a; padding: 3px 10px; border-radius: 999px; }
.lg-uet { font-size: .74rem; font-weight: 700; background: #e6eefb; color: #24508f; border: 1px solid #c3d4ef; padding: 3px 10px; border-radius: 999px; }
.lg-durum { margin-left: auto; font-weight: 800; font-size: .88rem; padding: 4px 12px; border-radius: 999px; }
.lg-soru.dogru .lg-durum { background: #dff3e1; color: #24733a; } .lg-soru.yanlis .lg-durum { background: #fbe1e1; color: #b13434; } .lg-soru.bos .lg-durum { background: #ecebe5; color: #6a6656; }
.lg-giris { overflow-x: auto; }
.lg-giris p { margin: 0 0 8px; line-height: 1.6; }
.lg-kok { font-weight: 700; margin: 14px 0 12px; line-height: 1.5; font-size: 1.02rem; }
.lg-kart { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin: 8px 0; }
.lg-kart > div { background: #eef3fb; border: 1px solid #cfdcf0; border-radius: 12px; padding: 10px 13px; }
.lg-kart b { color: #24508f; } .lg-kart p { margin: 2px 0 0; font-size: .95rem; }
.lg-dlg { background: #f1f1ec; border-left: 4px solid #c9a227; border-radius: 10px; padding: 10px 16px; margin: 8px 0; }
.lg-dlg p { margin: 4px 0; }
.lg-metin { background: #fff; border: 1px solid #ddd8c8; border-radius: 12px; padding: 12px 18px; margin: 8px 0; }
.lg-metin h4 { margin: 0 0 6px; text-align: center; }
.lg-tab { border-collapse: collapse; margin: 8px 0; min-width: 260px; max-width: 100%; }
.lg-tab th, .lg-tab td { border: 1px solid #c8c3b2; padding: 6px 12px; text-align: left; }
.lg-tab th { background: #ece6d3; }

/* şıklar */
.lg-siklar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lg-sik { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: .97rem; background: #fff; color: #1d2433; border: 2px solid #e2ddcd; border-radius: 12px; padding: 10px 14px 10px 10px; line-height: 1.4; transition: border-color .12s, background .12s; }
button.lg-sik { cursor: pointer; }
button.lg-sik:hover { border-color: #c9a227; background: #fffbea; }
.lg-sik > b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #f1eee3; color: #5d5440; font-weight: 800; font-size: .9rem; transition: background .12s, color .12s; }
.lg-sik > span { flex: 1; }
.lg-sik.on { background: #fff6d3; border-color: #c9a227; box-shadow: 0 0 0 3px rgba(201,162,39,.2); }
.lg-sik.on > b { background: #16203a; color: #ffd25e; }
.lg-sik.dogru { background: #e4f5e6; border-color: #3f9a52; } .lg-sik.dogru > b { background: #3f9a52; color: #fff; }
.lg-sik.yanlis { background: #fde6e6; border-color: #d24c4c; } .lg-sik.yanlis > b { background: #d24c4c; color: #fff; }
.lg-sik em { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.lg-sik.dogru em { color: #24733a; } .lg-sik.yanlis em { color: #b13434; }
.lg-soru.dogru { border-color: #3f9a52; } .lg-soru.yanlis { border-color: #d24c4c; } .lg-soru.bos { border-color: #c9c4b3; }
.lg-coz { margin-top: 14px; background: #f3f7ee; border: 1px solid #cfe0c2; border-radius: 12px; padding: 10px 14px; font-size: .93rem; line-height: 1.55; }
.lg-coz p { margin: 2px 0; } .lg-coz .lg-model { color: #6a6656; font-size: .85rem; }
.lg-alt { margin: 26px 0 40px; text-align: center; }
.lg-alt p { color: var(--muted-light); margin: 0 0 10px; font-size: .92rem; }
.lg-alt .btn { padding: 14px 32px; font-size: 1.05rem; }

/* sonuç */
.lg-sonuc { color: var(--text-light); }
.lg-skart { display: flex; align-items: center; gap: 30px; padding: 26px 30px; border-radius: 22px; border: 1px solid var(--line-dark); margin-bottom: 14px;
  background: var(--ink-800); }
.lg-halka { --p: 0; flex: none; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--ink-900) 0); }
.lg-halka > div { display: grid; place-items: center; align-content: center; width: 120px; height: 120px; border-radius: 50%; background: var(--ink-800); }
.lg-halka b { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--gold); }
.lg-halka span { font-size: .8rem; color: var(--muted-light); }
.lg-sbil { flex: 1; min-width: 0; }
.lg-sbil h2 { font-family: var(--display); font-size: 1.8rem; margin: 6px 0 2px; }
.lg-mesaj { margin: 0 0 14px; color: var(--muted-light); }
.lg-skor { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.lg-skor div { background: var(--ink-900); border: 1px solid var(--line-dark); border-radius: 14px; padding: 8px 18px; text-align: center; min-width: 78px; }
.lg-skor b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.2; } .lg-skor span { color: var(--muted-light); font-size: .78rem; }
.lg-skor .d b { color: var(--c-mint); } .lg-skor .y b { color: #ff7a7a; } .lg-skor .b b { color: var(--muted-light); }
.lg-kayit { font-weight: 600; font-size: .9rem; margin: 0; color: var(--muted-light); } .lg-kayit.ok { color: var(--c-mint); } .lg-kayit.hata { color: #ff8a8a; }
.lg-uyari { color: var(--gold); font-weight: 600; }
.lg-serit { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 0 0 14px; }
.lg-serit button { height: 40px; font: inherit; font-weight: 800; border-radius: 10px; cursor: pointer; border: 1px solid; }
.lg-serit .dogru { background: rgba(52,211,166,.16); border-color: rgba(52,211,166,.6); color: var(--c-mint); }
.lg-serit .yanlis { background: rgba(255,107,107,.14); border-color: rgba(255,107,107,.55); color: #ff8a8a; }
.lg-serit .bos { background: var(--ink-800); border-color: var(--line-dark); color: var(--muted-light); }
.lg-butonlar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.lg-ibas { font-family: var(--display); font-size: 1.35rem; margin: 0 0 14px; }

/* öğretmen paneli */
.lg-ogr { color: var(--text-light); }
.lg-filtre { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; align-items: center; }
.lg-madde { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted-light); margin-bottom: 10px; align-items: center; }
.lg-madde span { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 8px; padding: 3px 8px; }
.lg-tablo { overflow-x: auto; }
.lg-tablo table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.lg-tablo th, .lg-tablo td { border-bottom: 1px solid var(--line-dark); padding: 7px 8px; text-align: left; white-space: nowrap; }
.lg-tablo th { color: var(--gold); font-weight: 600; }
.lg-cv i { font-style: normal; font-family: var(--mono); display: inline-block; width: 1.3em; text-align: center; border-radius: 4px; margin-right: 1px; }
.lg-cv i.d { background: #2f6b3c; } .lg-cv i.y { background: #7a2e2e; } .lg-cv i.b { background: #444; }

/* görseller: çizimli diyalog, kişi kartı, resimli şık */
.lg-av { display: block; flex: none; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.lg-sohbet.lg-g { background: #eef3f8; border-left: 0; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.lg-satir { display: flex; align-items: flex-end; gap: 10px; margin: 0 !important; max-width: 88%; }
.lg-satir.sag { flex-direction: row-reverse; align-self: flex-end; }
.lg-balon { position: relative; display: flex; flex-direction: column; gap: 1px; background: #fff; border: 1px solid #d6e0ec; border-radius: 16px 16px 16px 4px; padding: 8px 13px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lg-satir.sag .lg-balon { background: #fff6d6; border-color: #efdb9c; border-radius: 16px 16px 4px 16px; }
.lg-balon > b { font-size: .78rem; color: #24508f; }
.lg-satir.sag .lg-balon > b { color: #8a6100; text-align: right; }
.lg-kart.lg-g > div.lg-kisi { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; column-gap: 10px; align-items: start; background: transparent; border: 0; padding: 0; }
.lg-kart.lg-g > div.lg-kisi .lg-av { grid-row: 1 / 3; width: 64px; height: 64px; }
.lg-kart.lg-g > div.lg-kisi > b { align-self: end; font-size: .9rem; padding-left: 4px; }
.lg-kart.lg-g > div.lg-kisi > p { position: relative; margin: 4px 0 0; background: #eef3fb; border: 1px solid #cfdcf0; border-radius: 4px 14px 14px 14px; padding: 8px 12px; }
.lg-kart.lg-g { gap: 14px 12px; }
.lg-resimli .lg-sik { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; min-height: 140px; position: relative; }
.lg-resimli .lg-sik > b { position: absolute; top: 10px; left: 10px; }
.lg-resimli { grid-template-columns: repeat(4, 1fr); }
.lg-rs { display: flex; align-items: center; justify-content: center; gap: 4px; }
.lg-rs img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.15)); }
.lg-rs img + img { width: 64px; height: 64px; }
.lg-ryazi { font-size: .82rem; font-weight: 600; color: #5d5440; text-align: center; }
.lg-resimli .lg-sik em { position: absolute; top: 12px; right: 10px; font-size: .62rem; }

/* okuma metni türleri (lgsGorsel.ts metinTuru) */
.lg-metin.lg-g { line-height: 1.6; }
.lg-m-bas { display: flex; align-items: center; gap: 8px; }
/* e-posta / mektup */
.lg-m-posta { padding: 0; overflow: hidden; border-color: #cfdcf0; box-shadow: 0 3px 10px rgba(36,80,143,.08); }
.lg-m-posta .lg-m-bas { background: #24508f; color: #fff; padding: 8px 14px; font-size: .85rem; }
.lg-m-posta .lg-m-ikon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .95rem; }
.lg-m-posta > p { padding: 12px 18px 14px; margin: 0; }
/* sosyal medya gönderisi */
.lg-m-sosyal { max-width: 560px; border-radius: 16px; padding: 12px 16px; box-shadow: 0 3px 12px rgba(0,0,0,.07); }
.lg-m-sosyal .lg-m-bas { margin-bottom: 8px; }
.lg-m-sosyal .lg-m-bas .lg-av { width: 40px; height: 40px; }
.lg-m-sosyal .lg-m-bas span { display: flex; flex-direction: column; line-height: 1.2; }
.lg-m-sosyal .lg-m-bas small { color: #8a8574; font-size: .78rem; }
.lg-m-sosyal .lg-m-bas i { margin-left: auto; font-style: normal; color: #a9a493; letter-spacing: 1px; }
.lg-m-sosyal > p { margin: 0; }
.lg-m-alt { display: flex; gap: 18px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #eee9da; color: #8a8574; font-size: .82rem; }
/* web sayfası / ansiklopedi */
.lg-m-web, .lg-m-ansiklopedi { padding: 0; overflow: hidden; border-color: #cfd6e0; border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,.07); }
.lg-m-web .lg-m-bas, .lg-m-ansiklopedi .lg-m-bas { gap: 6px; background: #e9edf2; border-bottom: 1px solid #d5dbe3; padding: 7px 12px; }
.lg-m-web .lg-m-bas > i, .lg-m-ansiklopedi .lg-m-bas > i { width: 10px; height: 10px; border-radius: 50%; background: #f26b5b; } .lg-m-web .lg-m-bas > i:nth-child(2), .lg-m-ansiklopedi .lg-m-bas > i:nth-child(2) { background: #f5b83d; } .lg-m-web .lg-m-bas > i:nth-child(3), .lg-m-ansiklopedi .lg-m-bas > i:nth-child(3) { background: #4fbf65; }
.lg-m-web .lg-m-bas span, .lg-m-ansiklopedi .lg-m-bas span { flex: 1; margin-left: 8px; background: #fff; border-radius: 999px; padding: 2px 12px; font-size: .78rem; color: #6a7380; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-m-web > h4, .lg-m-ansiklopedi > h4 { text-align: left; margin: 12px 18px 4px; color: #24508f; }
.lg-m-ansiklopedi > h4 { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; color: #1d2433; border-bottom: 1px solid #ddd8c8; padding-bottom: 4px; }
.lg-m-web > p, .lg-m-ansiklopedi > p { margin: 0; padding: 4px 18px 14px; }
/* afiş / davetiye / ilan */
.lg-m-afis { position: relative; max-width: 460px; margin-inline: auto; text-align: center; background: linear-gradient(180deg, #fff8e1, #fff); border: 3px dashed #e0a91b; border-radius: 18px; padding: 16px 20px; }
.lg-m-afis > h4 { font-size: 1.3rem; letter-spacing: .02em; color: #b5420f; text-transform: none; margin-bottom: 8px; }
.lg-m-afis > p { margin: 0; }
/* pano (kurallar, ipuçları) */
.lg-m-pano { position: relative; max-width: 520px; margin: 14px auto 8px; background: #fffdf3; border: 1px solid #e6dcb5; border-radius: 4px; padding: 18px 22px 14px; box-shadow: 0 6px 14px rgba(0,0,0,.08); transform: rotate(-.6deg); }
.lg-m-pano::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #c62f22); box-shadow: 0 2px 3px rgba(0,0,0,.25); }
.lg-m-pano > h4 { color: #7a2e2e; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
/* tarif kartı (çizgili kâğıt) */
.lg-m-tarif { max-width: 520px; margin-inline: auto; background: #fffefa; box-shadow: 0 3px 10px rgba(0,0,0,.06); border-left: 6px solid #e57373; border-radius: 6px; padding: 12px 20px; }
.lg-m-tarif > h4 { font-family: "Segoe Print", "Comic Sans MS", cursive; color: #b23b3b; font-size: 1.15rem; }
/* telefon notu */
.lg-m-not { max-width: 360px; margin-inline: auto; background: #fff59d; border: 0; border-radius: 2px; box-shadow: 0 8px 14px rgba(0,0,0,.12); padding: 14px 18px; transform: rotate(.8deg); font-family: "Segoe Print", "Comic Sans MS", cursive; font-size: .92rem; }
.lg-m-not > h4 { text-decoration: underline; }

/* tablet */
@media (max-width: 900px) {
  .lg-gkut { grid-template-columns: repeat(5, 1fr); }
  .lg-fdis { grid-template-columns: 1fr; }
}
/* telefon */
@media (max-width: 640px) {
  .lg { padding-top: 14px; }
  .lg-hero { padding: 22px 18px; border-radius: 18px; }
  .lg-hero p { font-size: .95rem; }
  .lg-arac { flex-direction: column; align-items: stretch; }
  .lg-sek button { flex: 1; }
  .lg-ozet { justify-content: space-around; font-size: .84rem; }
  .lg-genel { padding: 16px; border-radius: 18px; }
  .lg-gbas h2 { font-size: 1.35rem; }
  .lg-gilr { width: 100%; }
  .lg-gkut .lg-t { min-height: 60px; } .lg-gkut .lg-t b { font-size: 1.35rem; }
  .lg-analiz summary { padding: 14px; gap: 12px; }
  .lg-analiz summary small { font-size: .76rem; }
  .lg-analiz > :not(summary) { margin-left: 14px; margin-right: 14px; }
  .lg-uniteler { grid-template-columns: 1fr; }
  .lg-unite { padding: 14px; }
  .lg-ubtn { grid-template-columns: repeat(4, 1fr); }
  .lg-t { min-height: 54px; }
  .lg-fbilgi, .lg-form { padding: 18px; border-radius: 16px; }
  .lg-fbilgi h2 { font-size: 1.5rem; }
  .lg-form input, .lg-form select { font-size: 16px; }
  .lg-ikili { grid-template-columns: 1fr 1fr; } .lg-ikili label:last-child { grid-column: 1 / -1; }
  .lg-ust { top: 56px; padding: 10px 10px 0; gap: 8px; border-radius: 12px; }
  .lg-ust1 { gap: 10px; }
  .lg-ubil b { font-size: .88rem; } .lg-ubil span { font-size: .74rem; }
  .lg-isa { display: none; }
  .lg-sayac { font-size: 1rem; padding: 5px 9px; }
  .lg-gez { gap: 4px; } .lg-gez button { flex-basis: 28px; height: 28px; font-size: .78rem; border-radius: 7px; }
  .lg-ilr-ust { margin: 0 -10px; }
  .lg-sorular { gap: 14px; }
  .lg-soru { padding: 14px; border-radius: 14px; scroll-margin-top: 150px; }
  .lg-giris p, .lg-kok { font-size: .95rem; }
  .lg-kart { grid-template-columns: 1fr; }
  .lg-kart p, .lg-dlg p { font-size: .92rem; }
  .lg-tab th, .lg-tab td { padding: 4px 6px; font-size: .85rem; }
  .lg-siklar { grid-template-columns: 1fr; gap: 8px; }
  .lg-resimli { grid-template-columns: 1fr 1fr; }
  .lg-resimli .lg-sik { min-height: 120px; }
  .lg-rs img { width: 68px; height: 68px; } .lg-rs img + img { width: 52px; height: 52px; }
  .lg-av { width: 38px; height: 38px; }
  .lg-satir { max-width: 94%; gap: 7px; }
  .lg-sohbet.lg-g { padding: 10px; }
  .lg-kart.lg-g > div.lg-kisi { grid-template-columns: 46px 1fr; } .lg-kart.lg-g > div.lg-kisi .lg-av { width: 46px; height: 46px; }
  .lg-sik { font-size: .93rem; min-height: 48px; }
  .lg-sik > b { width: 26px; height: 26px; }
  .lg-alt .btn { width: 100%; }
  .lg-skart { flex-direction: column; text-align: center; gap: 16px; padding: 22px 16px; }
  .lg-halka { width: 130px; height: 130px; } .lg-halka > div { width: 104px; height: 104px; }
  .lg-sbil h2 { font-size: 1.45rem; }
  .lg-skor { justify-content: center; } .lg-skor div { min-width: 0; flex: 1; padding: 8px 6px; }
  .lg-serit { grid-template-columns: repeat(5, 1fr); }
  .lg-butonlar .btn { flex: 1 1 100%; justify-content: center; }
}

/* ============================================================
   ANALİTİK  (/analizim · /yonetim)
   Üye analizi ile yönetim paneli aynı parçaları paylaşır: KPI şeridi,
   SVG grafikler, başarı çubukları, sıralanabilir tablolar, madde analizi.
   ============================================================ */
.an-sayfa { padding-top: 2.4rem; padding-bottom: 3rem; }
.an-yukleniyor { padding: 2rem 0; color: var(--muted-light); }
.an-bos { padding: 1.2rem 0; max-width: 64ch; color: var(--muted-light); line-height: 1.7; }
.an-bos strong { color: var(--text-light); }
.an-bos .btn { margin: .4rem .4rem 0 0; }
.an-not { color: var(--muted-light); font-size: .86rem; line-height: 1.6; }
.an-uyari { padding: .65rem .85rem; border: 1px solid rgba(245,182,12,.3); background: rgba(245,182,12,.06);
  border-radius: 10px; font-size: .88rem; color: var(--text-light); margin: .6rem 0; }
.an-h1 { font-family: var(--display); font-size: 1.7rem; margin: .2rem 0 .6rem; }
.an-h1 small, .an-h2 small { font-size: .78rem; font-weight: 500; color: var(--muted-light); font-family: var(--body); }
.an-h2 { font-family: var(--display); font-size: 1.15rem; margin: 2rem 0 .7rem; color: var(--text-light); }
.an-geri a { color: var(--muted-light); font-size: .86rem; text-decoration: none; }

.an-kpiler { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: .6rem 0 .4rem; }
.an-kpi { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.an-kpi-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.an-kpi-ik { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.an-kpi-ik .ik { width: 16px; height: 16px; }
.an-kpi-e { font-size: .8rem; font-weight: 500; color: var(--muted-light); line-height: 1.25; }
.an-kpi b { font-family: var(--display); font-size: 1.55rem; color: #fff; font-variant-numeric: tabular-nums; }
.an-kpi small { font-size: .74rem; color: var(--muted-light); }

.an-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin: .4rem 0 .8rem; }
.an-cip { border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--muted-light); border-radius: 999px;
  padding: .3rem .8rem; font-size: .84rem; cursor: pointer; }
.an-cip small { opacity: .7; margin-left: 4px; }
.an-cip.on { border-color: var(--gold); color: var(--ink-900); background: var(--gold); font-weight: 700; }

.an-grafik-kap { overflow-x: auto; padding-bottom: 4px; }
.an-grafik { display: block; max-width: none; }
.an-gd { fill: #27ae60; background: #27ae60; } .an-gy { fill: #e05252; background: #e05252; }
.an-gb { fill: #3a4a6b; background: #3a4a6b; }
.an-gsut { fill: var(--sky); opacity: .85; } .an-gsutl { background: var(--sky); }
.an-gnet { fill: none; stroke: var(--gold); stroke-width: 2; } .an-gnetn { fill: var(--gold); }
.an-gnetl { background: var(--gold); height: 3px !important; }
.an-gk { stroke: rgba(255,255,255,.07); } .an-gt { fill: var(--muted-light); font-size: 9px; font-family: var(--mono); }
.an-lejant { display: flex; flex-wrap: wrap; gap: 14px; font-size: .78rem; color: var(--muted-light); margin-top: 4px; }
.an-lejant i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

.an-tablo-kap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 12px; }
.an-tablo { width: 100%; border-collapse: collapse; font-size: .86rem; }
.an-tablo th { text-align: left; font-size: .78rem; font-weight: 600;
  color: var(--muted-light); padding: .55rem .6rem; border-bottom: 1px solid var(--line-dark); background: var(--ink-800); white-space: nowrap; }
.an-tablo td { padding: .5rem .6rem; border-bottom: 1px solid var(--line-dark); vertical-align: middle; color: var(--text-light); }
.an-tablo tr:last-child td { border-bottom: 0; }
.an-tablo td small { color: var(--muted-light); }
.an-tablo a { color: var(--sky-bright); text-decoration: none; }
.an-s { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.an-d { color: #2ecc71; } .an-y { color: #ff7b7b; } .an-b { color: var(--muted-light); }
.an-art { color: #2ecc71; font-size: .78rem; } .an-azal { color: #ff7b7b; font-size: .78rem; }
.an-barhucre { width: 34%; min-width: 90px; }
.an-tik { cursor: pointer; } .an-tik:hover td { background: rgba(255,255,255,.03); }
.an-sirala { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.an-sirala.on { color: var(--gold); }

.an-bar { display: block; height: 8px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.an-bar i { display: block; height: 100%; background: var(--sky); border-radius: 999px; }
.an-bar.an-zayif i { background: #e05252; } .an-bar.an-orta i { background: var(--gold); } .an-bar.an-iyi i { background: #27ae60; }
.an-zayif-y { color: #ff7b7b; } .an-orta-y { color: var(--gold); } .an-iyi-y { color: #2ecc71; }

.an-altgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.an-altkart { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; display: grid; gap: 7px; align-content: start; }
.an-altkart h4 { margin: 0 0 2px; font-size: .9rem; color: var(--text-light); }
.an-alts { display: grid; grid-template-columns: minmax(0, 150px) 1fr auto; gap: 10px; align-items: center; font-size: .84rem; color: var(--text-light); }
.an-alts > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-alts .an-s { color: var(--muted-light); font-size: .78rem; }
.an-yol { font-family: var(--mono); font-size: .76rem; }

.an-koc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.an-koc li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 14px; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px;
  line-height: 1.6; font-size: .9rem; color: var(--text-light); }
.an-koc-ik { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--k, var(--sky-bright)); background: color-mix(in srgb, var(--k, var(--sky-bright)) 14%, transparent); }
.an-koc-ik .ik { width: 18px; height: 18px; }
.an-koc li > div > b:first-child { display: block; margin-bottom: 1px; }
.an-koc li b { color: #fff; } .an-koc a { color: var(--sky-bright); }

.an-etkinlik { margin-bottom: 10px; }
.an-etk-e { font-size: .76rem; color: var(--muted-light); }
.an-sutunlar { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin-top: 4px; }
.an-sutunlar i { flex: 1; background: var(--c-violet, #8b6cff); border-radius: 2px 2px 0 0; min-width: 4px; }
.an-sutunlar i.an-sifir { background: var(--ink-700); }

.an-iki { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 22px; }
.an-iki > div { min-width: 0; }
.an-ustbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line-dark); margin-bottom: 1rem; }
.an-sekmeler { display: flex; flex-wrap: wrap; gap: 2px; }
.an-sekme { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted-light);
  padding: .6rem .9rem; font-size: .92rem; cursor: pointer; font-weight: 600; }
.an-sekme.on { color: var(--gold); border-bottom-color: var(--gold); }
.an-arac { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.an-ara { flex: 1; min-width: 200px; max-width: 360px; background: var(--ink-800); border: 1px solid var(--line-dark);
  color: var(--text-light); border-radius: 8px; padding: .5rem .7rem; font-size: .9rem; }

.an-madde td { vertical-align: top; }
.an-kok { max-width: 300px; font-size: .8rem; color: var(--muted-light) !important; line-height: 1.45; }
.an-dag { display: flex; gap: 3px; align-items: flex-end; }
.an-sik { position: relative; width: 24px; height: 46px; background: var(--ink-700); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-top: 2px;
  font-family: var(--mono); font-size: .62rem; color: var(--muted-light); }
.an-sik i { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(224,82,82,.55); }
.an-sik.dogru i { background: rgba(39,174,96,.8); } .an-sik.bos i { background: rgba(147,164,196,.35); }
.an-sik small { position: relative; font-size: .58rem; color: #fff; }
.an-bayraklar { min-width: 170px; }
.an-bayraklar span { display: block; margin-bottom: 3px; font-size: .72rem; line-height: 1.35; padding: 2px 6px; border-radius: 4px;
  background: rgba(245,182,12,.12); color: var(--gold-soft, #ffd666); }
tr.an-bayrakli td:first-child { box-shadow: inset 3px 0 0 var(--gold); }

.user-chip-ek { font-family: var(--mono); font-size: .72rem; color: var(--muted-light); border: 1px solid var(--line-dark);
  border-radius: 8px; padding: 6px 10px; text-decoration: none; }
.user-chip-ek:hover { color: #fff; border-color: var(--gold); }
.user-chip-ek.yonetim { color: var(--gold); }
.dn-net { font-weight: 700; color: var(--text-light); }
.dn-net small { font-weight: 400; color: var(--muted-light); }
.dn-kayit { font-size: .86rem; color: var(--muted-light); margin: -.4rem 0 1rem; }
.dn-kayit a { color: var(--sky-bright); }
@media (max-width: 860px) { .user-chip .uname { max-width: 90px; } }
.an-zsatir { display: grid; grid-template-columns: 22px minmax(0, 1.4fr) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.an-zsira { font-family: var(--mono); font-size: .74rem; color: var(--muted-light); text-align: right; }
.an-zad { min-width: 0; display: flex; flex-direction: column; }
.an-zad b, .an-zad small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-zad small { font-family: var(--mono); font-size: .68rem; color: var(--muted-light); }
.an-zsatir .an-s small { color: var(--muted-light); font-size: .72rem; }
.an-zgit { justify-self: start; margin-top: 4px; }
.an-cipara { width: 1px; background: var(--line-dark); margin: 0 4px; }
.an-kpi b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .an-zsatir { grid-template-columns: 18px minmax(0, 1fr) auto; } .an-zsatir .an-bar { display: none; } }

/* Deneme: çözüm kipi (sınav = sonda, çalışma = anlık) */
.dn-kip { background: var(--ink-700); border: 1px solid var(--line-dark); color: var(--muted-light); border-radius: 999px;
  padding: .2rem .7rem; font: inherit; font-size: .8rem; cursor: pointer; }
.dn-kip b { color: var(--gold); }
.dn-sure.dn-gecen { background: rgba(62, 155, 224, .18); }
.dn-sik.dn-dogru { border-color: #27ae60; background: rgba(39, 174, 96, .14); opacity: 1; }
.dn-sik.dn-dogru .dn-harf { background: #27ae60; color: #fff; }
.dn-sik.dn-yanlis { border-color: #e05252; background: rgba(224, 82, 82, .14); opacity: 1; }
.dn-sik.dn-yanlis .dn-harf { background: #e05252; color: #fff; }
.dn-sik.dn-soluk { opacity: .55; }
.dn-sik:disabled { cursor: default; }
.dn-anlik { margin-top: .8rem; padding: .7rem .85rem; border-radius: 10px; border: 1px solid var(--line-dark); }
.dn-anlik > b { display: block; margin-bottom: .2rem; }
.dn-anlik-d { border-color: rgba(39, 174, 96, .5); } .dn-anlik-d > b { color: #2ecc71; }
.dn-anlik-y { border-color: rgba(224, 82, 82, .5); } .dn-anlik-y > b { color: #ff7b7b; }
.dn-anlik .dn-cozum { margin-top: .4rem; }
.dn-h.dn-hd { background: rgba(39, 174, 96, .25); border-color: #27ae60; color: #fff; }
.dn-h.dn-hy { background: rgba(224, 82, 82, .25); border-color: #e05252; color: #fff; }
.dn-kipsec { padding: 1.4rem 0; max-width: 720px; }
.dn-kipsec h1 { margin: .5rem 0 .2rem; }
.dn-kipler { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 1rem 0; }
.dn-kipkart { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: 14px;
  border: 2px solid var(--line-dark); background: var(--ink-800); color: var(--text-light); font: inherit; cursor: pointer; }
.dn-kipkart:hover { border-color: var(--gold); transform: translateY(-1px); }
.dn-kipkart b { font-size: 1.1rem; }
.dn-kipkart span { color: var(--muted-light); font-size: .9rem; line-height: 1.5; }

/* Çözüm: şık şık açıklama */
.dn-ce { margin-top: .5rem; padding-top: .45rem; border-top: 1px dashed var(--line-dark); }
.dn-cozum .dn-ce b, .dn-cozum .dn-celdir summary { display: inline; font-size: .85rem; letter-spacing: 0; opacity: 1; }
.dn-ce-sen b { color: #ff7b7b; }
.dn-celdir { margin-top: .5rem; }
.dn-celdir summary { cursor: pointer; color: var(--sky, #3E9BE0); font-weight: 600; }
.dn-celdir ul { margin: .35rem 0 0; padding-left: 0; list-style: none; display: grid; gap: .3rem; }
.dn-celdir li b { display: inline !important; font-size: inherit !important; opacity: .9 !important; margin: 0 !important; }

/* ═════════════════════ Ganlish Dergi ═════════════════════ */
.dg-liste { display: grid; gap: 12px; max-width: 720px; }
.dg-lk { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px;
  background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--muted-light); text-decoration: none; }
.dg-lk-var { color: var(--text-light); border-color: rgba(233,57,115,.45); transition: transform .15s, background .15s; }
.dg-lk-var:hover { transform: translateY(-2px); background: var(--ink-700); }
.dg-lk-no { font: 700 30px/1 Georgia, serif; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; background: var(--ink-700); color: var(--gold); flex: none; }
.dg-lk-t { flex: 1; display: flex; flex-direction: column; }
.dg-lk-t small { color: var(--muted-light); }
.dg-lk-ok { font-weight: 600; font-size: 14px; }
.dg-lk-var .dg-lk-ok { color: #ff7aa2; }
.dg-yuk { padding: 60px 16px; text-align: center; color: var(--muted-light); }

.dg-okuyucu { --kagit: #fffdf6; --murekkep: #1f1b16; --soluk: #6b6257; --cizgi: #e7dfcf; padding-bottom: 40px; scroll-margin-top: 70px; }
.dg-bar { position: sticky; top: 0; z-index: 20; background: rgba(14,22,40,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.dg-bar-ic { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.dg-geri-l { color: var(--muted-light); text-decoration: none; white-space: nowrap; }
.dg-bar-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-light); }
.dg-bar-ad b { color: var(--text-light); }
.dg-bar-btn { background: var(--ink-700); color: var(--text-light); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; }
.dg-bar-no { color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }

.dg-sahne { padding: 22px 16px; }
.dg-sf { max-width: 860px; margin: 0 auto; background: var(--kagit); color: var(--murekkep); border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2); padding: 40px 48px 40px; position: relative; min-height: 70vh;
  -webkit-touch-callout: none; }
.dg-sf::after { content: "© GANLISH DERGİ · SAYFA " attr(data-sf); position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-size: 10px; letter-spacing: .25em; color: #b6aa94; }
@media (pointer: coarse) { .dg-sf { -webkit-user-select: none; user-select: none; } }
.dg-sf svg { display: block; width: 100%; height: auto; }

.dg-mast { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; border-bottom: 4px solid var(--murekkep); padding-bottom: 6px; }
.dg-mast-ad { font: 900 clamp(46px, 11vw, 96px)/.9 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.dg-mast-alt { font: 700 clamp(14px, 2.6vw, 22px)/1 system-ui, sans-serif; letter-spacing: .5em; color: #e63973; }
.dg-mast-kucuk .dg-mast-ad { font-size: clamp(32px, 7vw, 54px); }
.dg-kapak-ust { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 8px 0 16px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--soluk); border-bottom: 1px solid var(--cizgi); }
.dg-mozaik { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.dg-karo { position: relative; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #ddd;
  aspect-ratio: 480 / 300; transition: transform .15s; }
.dg-karo:hover { transform: scale(1.03); z-index: 1; }
.dg-karo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-karo span { position: absolute; left: 0; bottom: 0; right: 0; padding: 4px 8px; font: 700 11px/1.3 system-ui, sans-serif;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--r); text-align: left; }
.dg-kapak-alt h2 { font: 700 clamp(26px, 5vw, 44px)/1.1 Georgia, serif; margin: 10px 0 8px; }
.dg-kapak-alt p { color: var(--soluk); margin: 0 0 20px; }

.dg-h2 { font: 700 34px/1.1 Georgia, serif; margin: 0 0 14px; }
.dg-ic { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.dg-ic-s { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 4px; border: 0; border-bottom: 1px dashed var(--cizgi); background: none; cursor: pointer; font: inherit; color: inherit; }
.dg-ic-s:hover .dg-ic-bas { text-decoration: underline; }
.dg-ic-no { font: 700 20px Georgia, serif; color: #b6aa94; }
.dg-ic-kat { font: 700 10px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--r);
  padding: 4px 7px; border-radius: 3px; white-space: nowrap; }
.dg-ic-bas { font: 600 15px/1.3 Georgia, serif; }
.dg-ic-sag { background: #f6efe0; border-radius: 8px; padding: 18px 20px; align-self: start; }
.dg-ic-sag h3 { font: 700 13px system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; color: #e63973; }
.dg-ic-sag p { font: 15px/1.6 Georgia, serif; margin: 0 0 10px; }
.dg-ipucu { font-size: 13px; line-height: 1.5; background: #fff; border-left: 4px solid var(--gold); padding: 10px 12px; border-radius: 4px; }
.dg-ipucu b:first-child { display: block; color: var(--gold-deep); }

.dg-kat { display: flex; align-items: center; gap: 10px; font: 700 12px/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--r); border-bottom: 3px solid var(--r); padding-bottom: 8px; margin-bottom: 18px; }
.dg-kat span { background: var(--r); color: #fff; padding: 5px 8px; border-radius: 3px; letter-spacing: .05em; }
.dg-kat i { font-style: normal; opacity: .7; }
.dg-bas { font: 700 clamp(28px, 4.6vw, 42px)/1.08 Georgia, serif; margin: 0 0 10px; letter-spacing: -.01em; }
.dg-spot { font: italic 17px/1.5 Georgia, serif; color: var(--soluk); margin: 0 0 18px; }
.dg-res { margin: 0 0 22px; }
.dg-res img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.dg-res figcaption { font: italic 13px/1.45 Georgia, serif; color: var(--soluk); margin-top: 7px; }
.dg-res figcaption span { display: block; font: 11px system-ui, sans-serif; font-style: normal; color: #9a8f7c; margin-top: 2px; }
.dg-res figcaption a { color: inherit; }
.dg-govde-dik { display: grid; grid-template-columns: minmax(0, 38%) 1fr; gap: 28px; align-items: start; }
.dg-govde-dik .dg-res { position: sticky; top: 70px; }
.dg-govde-dik .dg-res img { max-height: none; object-fit: contain; }
.dg-govde-dik .dg-metin { columns: auto; }
.dg-metin { columns: 2 300px; column-gap: 32px; column-rule: 1px solid var(--cizgi); font: 16.5px/1.68 Georgia, "Times New Roman", serif; }
.dg-metin p { margin: 0 0 12px; text-align: justify; hyphens: auto; break-inside: avoid-column; }
.dg-metin p:first-child::first-letter { float: left; font: 700 58px/.82 Georgia, serif; padding: 6px 8px 0 0; color: var(--r); }
.dg-k { background: color-mix(in srgb, var(--r) 18%, transparent); color: inherit; border-bottom: 2px solid var(--r); padding: 0 2px; cursor: pointer; border-radius: 2px; }
.dg-kaynak-kisa { font-size: 11.5px; color: #9a8f7c; border-top: 1px solid var(--cizgi); padding-top: 8px; margin: 14px 0 0; }

.dg-h3 { font: 700 20px/1.2 Georgia, serif; margin: 22px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.dg-h3 small { font: 13px system-ui, sans-serif; color: var(--soluk); }
.dg-kel-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.dg-kel { border: 1px solid var(--cizgi); border-top: 4px solid var(--r); border-radius: 6px; padding: 10px 12px; background: #fff; }
.dg-kel-ust { display: flex; align-items: center; gap: 8px; }
.dg-kel-ust b { font: 700 17px Georgia, serif; }
.dg-kel-ust i { color: var(--soluk); font-size: 12px; flex: 1; }
.dg-sf .speak { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cizgi); background: #fff; color: var(--murekkep);
  display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; margin: 0; }
.dg-sf .speak svg { width: 15px; height: 15px; }
.dg-kel-tr { font-weight: 600; color: var(--r); margin: 4px 0; font-size: 14px; }
.dg-kel-ex { font: italic 14px/1.45 Georgia, serif; color: #4b443a; }

.dg-soru { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--cizgi); border-radius: 8px; background: #fff; }
.dg-parca { font: 15.5px/1.65 Georgia, serif; white-space: pre-line; margin: 0 0 12px; padding: 12px 14px; background: #f8f3e8; border-radius: 6px; }
.dg-q { display: flex; gap: 10px; font: 600 15.5px/1.5 Georgia, serif; margin-bottom: 10px; }
.dg-q > span:last-child { white-space: pre-line; }
.dg-no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--murekkep); color: #fff; display: grid; place-items: center;
  font: 700 12px system-ui, sans-serif; margin-top: 1px; }
.dg-sec { display: grid; gap: 6px; }
.dg-sec button, .dg-pa-sec button { text-align: left; font: 15px/1.45 system-ui, sans-serif; padding: 8px 12px; border-radius: 6px;
  border: 1px solid var(--cizgi); background: #fdfaf3; color: var(--murekkep); cursor: pointer; transition: background .12s, border-color .12s; }
.dg-sec button:hover:not(:disabled), .dg-pa-sec button:hover:not(:disabled) { border-color: var(--murekkep); }
.dg-sec button b { margin-right: 4px; }
.dg-sec button:disabled, .dg-pa-sec button:disabled { cursor: default; }
.dg-sec .dg-secili { border-color: #118ab2; background: #e3f3fa; }
.dg-sf .dg-dogru { border-color: #2a9d8f; background: #dff3ee; color: #13574f; font-weight: 600; }
.dg-sf .dg-yanlis { border-color: #e63946; background: #fde6e7; color: #8f1d26; }
.dg-cozuldu .dg-sec button:not(.dg-dogru):not(.dg-yanlis) { opacity: .6; }
.dg-coz { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: #f8f3e8; font-size: 14.5px; line-height: 1.55; }
.dg-coz p { margin: 6px 0; }
.dg-coz-ust { font-weight: 700; }
.dg-coz-ust.ok { color: #1e7a6d; }
.dg-coz-ust.no { color: #b42332; }
.dg-sen { border-left: 3px solid #e63946; padding-left: 8px; }
.dg-oteki summary { cursor: pointer; font-weight: 600; color: var(--soluk); margin-top: 4px; }
.dg-oteki ul { margin: 6px 0 0; padding-left: 18px; }
.dg-oteki li { margin: 3px 0; }

.dg-pv-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.dg-pv-foto { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.dg-pv { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--cizgi); }
.dg-pv-ikon { width: 58px; height: 58px; border-radius: 12px; background: #e3f3fa; color: #118ab2; display: grid; place-items: center; }
.dg-pv-ikon svg { width: 34px; height: 34px; }
.dg-pv-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dg-pv-ust b { font: 700 19px Georgia, serif; }
.dg-pv-tr { color: #118ab2; font-weight: 600; font-size: 14px; margin: 2px 0 6px; }
.dg-pv-ex { font: 15px/1.45 Georgia, serif; }
.dg-pv-extr { font-size: 13px; color: var(--soluk); margin-top: 3px; }
.dg-pa { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--cizgi); }
.dg-pa-sec { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-pa-skor { font: 700 15px system-ui, sans-serif; color: #118ab2; margin-bottom: 10px; min-height: 1em; }

.dg-bolum { border-top: 1px solid var(--cizgi); padding-top: 14px; }
.dg-bitir { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.dg-bitir #dgSonuc { flex-basis: 100%; }
.dg-sifirla { background: none; border: 0; color: var(--soluk); text-decoration: underline; cursor: pointer; font: inherit; }
.dg-sonuc { padding: 14px 16px; border-radius: 8px; background: var(--murekkep); color: #fff; font-size: 16px; }
.dg-sonuc b { color: var(--gold); font-size: 22px; }
.dg-sonuc span { display: block; margin-top: 4px; }
.dg-sonuc small { display: block; opacity: .7; margin-top: 4px; }

.dg-ky { margin-bottom: 14px; }
.dg-ky h4 { font: 700 14px system-ui, sans-serif; margin: 0 0 6px; padding-left: 8px; border-left: 4px solid var(--r); }
.dg-ky ul { margin: 0; padding-left: 22px; font: 14px/1.55 Georgia, serif; }
.dg-ky li { margin: 2px 0; }
.dg-not { font-size: 13px; color: var(--soluk); border-top: 1px solid var(--cizgi); padding-top: 10px; }

.dg-sir-ust { margin: 12px 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e63973; }
.dg-sir-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 16px 0; }
.dg-sir-k { padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--cizgi); }
.dg-sir-k span { font: 700 10px system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e63973; }
.dg-sir-k b { display: block; font: 700 17px/1.2 Georgia, serif; margin: 4px 0; }
.dg-sir-k p { margin: 0; font-size: 13.5px; color: var(--soluk); line-height: 1.45; }
.dg-sir-pv { background: #e3f3fa; padding: 10px 12px; border-radius: 6px; }
.dg-sir-son { font: italic 16px/1.5 Georgia, serif; color: var(--soluk); }

.dg-alt { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.dg-ok { background: var(--ink-700); color: var(--text-light); border: 1px solid var(--line-dark); border-radius: 999px; padding: 9px 16px; cursor: pointer; font: inherit; white-space: nowrap; }
.dg-ok:disabled { opacity: .35; cursor: default; }
.dg-noktalar { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.dg-nokta { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--ink-600); cursor: pointer; }
.dg-nokta.on { background: var(--gold); transform: scale(1.3); }

.dg-balon { position: fixed; z-index: 60; max-width: min(320px, calc(100vw - 16px)); background: #0e1628; color: #fff; border-radius: 10px;
  padding: 10px 12px; box-shadow: 0 12px 30px rgba(0,0,0,.45); font-size: 14.5px; line-height: 1.45; border: 1px solid rgba(245,182,12,.5); }
.dg-balon-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.dg-balon-ust b { color: var(--gold); font-size: 16px; }
.dg-balon-ust i { color: var(--muted-light); font-size: 12px; flex: 1; }
.dg-balon .speak { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark); background: var(--ink-700); color: #fff;
  display: inline-grid; place-items: center; cursor: pointer; padding: 0; margin: 0 0 0 auto; }
.dg-balon .speak svg { width: 14px; height: 14px; }
.dg-balon-yok { color: var(--muted-light); }
.dg-balon-etiket { font: 700 10px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #0e1628; background: var(--gold); border-radius: 999px; padding: 4px 7px; }
.dg-balon-alt { margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-light); }
.dg-balon-alt b { color: #fff; margin-right: 4px; }

@media (max-width: 720px) {
  .dg-sahne { padding: 12px 0; }
  .dg-sf { border-radius: 0; padding: 22px 16px 40px; }
  .dg-mozaik { grid-template-columns: repeat(2, 1fr); }
  .dg-govde-dik { grid-template-columns: 1fr; }
  .dg-govde-dik .dg-res { position: static; max-width: 420px; margin-inline: auto; }
  .dg-ic { grid-template-columns: 1fr; gap: 18px; }
  .dg-ic > * { min-width: 0; }
  .dg-ic-s { grid-template-columns: 34px minmax(0, 1fr); row-gap: 4px; }
  .dg-ic-kat { justify-self: start; white-space: normal; line-height: 1.3; }
  .dg-ic-bas { grid-column: 2; }
  .dg-metin { font-size: 16px; }
  .dg-metin p { text-align: left; }
  .dg-pv-izgara { grid-template-columns: 1fr; }
  .dg-bar-btn { display: none; }
  .dg-alt { padding-left: 16px; padding-right: 16px; }
  .dg-noktalar { display: none; }
}

/* ── Dergi v2: kapak rafı, dikey kapak, solan başlık, dağılan görseller, kelime bankası ── */
.dg-raflar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .dg-raflar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 600px) { .dg-raflar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.dg-raf { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--muted-light); }
.dg-raf-kapak { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-800)); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.dg-raf-kapak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Ganlish logosu (maskot + ad, kapsül içinde): raf kapaklarının ve dergi kapak sayfalarının sağ altında */
.dg-raf-kapak, .dg-kpk, .gr-kpk { container-type: inline-size; }
.dg-logo { position: absolute; right: 4cqw; bottom: 4cqw; z-index: 3; display: inline-flex; align-items: center; gap: 1.6cqw;
  padding: 1.2cqw 3.4cqw 1.2cqw 1.4cqw; border-radius: 999px; background: rgba(10, 16, 32, 0.78); border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); pointer-events: none; line-height: 1; }
.dg-raf-kapak .dg-logo img, .dg-logo img { position: static; width: 8cqw; height: 8cqw; object-fit: contain; }
.dg-logo b { font-family: var(--display); font-weight: 800; font-size: 6cqw; letter-spacing: -0.01em; color: var(--gold); }
.dg-logo b span { color: #fff; }
.dg-kpk .dg-logo, .gr-kpk .dg-logo { bottom: 11cqw; right: 3cqw; transform: scale(.72); transform-origin: right bottom; }
.dg-raf-ust { position: absolute; top: 6%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
/* kapak genişliğine göre (container): yatay sırada dar kartta da sığsın */
.dg-raf-mast { text-align: center; font: 900 clamp(16px, 16.5cqw, 34px)/1 Georgia, serif;
  color: #fff; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.dg-raf-no { text-align: center; font: 700 11px system-ui, sans-serif;
  letter-spacing: .3em; text-transform: uppercase; color: #ffd166; }
.dg-raf-yakinda { position: absolute; inset: auto 0 0 0; padding: 10px; text-align: center; font: 700 12px system-ui, sans-serif;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); background: rgba(0,0,0,.35); }
.dg-raf-alt { display: flex; flex-direction: column; }
.dg-raf-alt b { color: var(--text-light); }
.dg-raf-alt small { font-size: 12.5px; line-height: 1.4; }
.dg-raf.var .dg-raf-kapak { transition: transform .2s, box-shadow .2s; }
.dg-raf.var:hover .dg-raf-kapak { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 22px 40px rgba(0,0,0,.55); }
.dg-raf:not(.var) { opacity: .65; }

.dg-sf:has(.dg-kpk) { padding: 0; overflow: hidden; max-width: 640px; min-height: 0; background: #0d1222; }
.dg-sf:has(.dg-kpk)::after { display: none; }
.dg-kpk { position: relative; aspect-ratio: 3 / 4; color: #fff; overflow: hidden; background: #0d1222; }
.dg-kpk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dg-kpk::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(5,8,20,.5), rgba(5,8,20,0) 55%), linear-gradient(to bottom, rgba(5,8,20,.55) 0%, rgba(5,8,20,0) 30%, rgba(5,8,20,0) 62%, rgba(5,8,20,.75) 100%); }
.dg-kpk-ust, .dg-kpk-manset, .dg-kpk-band { position: absolute; z-index: 2; left: 6%; right: 6%; }
.dg-kpk-ust { top: 4%; text-align: center; }
.dg-kpk-mast { font: 900 clamp(48px, 14vw, 104px)/.9 Georgia, "Times New Roman", serif; letter-spacing: -.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,.55); }
.dg-kpk-alt { display: flex; justify-content: space-between; border-top: 2px solid rgba(255,255,255,.85); margin-top: 8px; padding-top: 6px;
  font: 700 clamp(10px, 1.6vw, 13px) system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.dg-kpk-alt span:first-child { color: #ff7aa2; }
.dg-kpk-manset { top: 25%; max-width: 50%; }
.dg-kpk-m { margin: 0 0 14px; text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.dg-kpk-m small { display: block; font: 800 clamp(9px, 1.3vw, 11px)/1 system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: #ffd166; margin-bottom: 3px; }
.dg-kpk-m b { display: block; font: 700 clamp(15px, 2.3vw, 20px)/1.1 Georgia, serif; }
.dg-kpk-m span { display: block; margin-top: 3px; font: italic 400 clamp(11px, 1.6vw, 14px)/1.3 Georgia, serif; color: rgba(255,255,255,.88); }
.dg-kpk-m.ana b { font-size: clamp(26px, 5vw, 44px); line-height: 1; }
.dg-kpk-m.ana small { color: #ff7aa2; }
.dg-kpk-manset.sag { top: auto; bottom: 19%; left: auto; right: 6%; text-align: right; max-width: 40%; }
.dg-kpk-manset.sag .dg-kpk-m { margin-bottom: 10px; }
.dg-kpk-band { bottom: 3.5%; text-align: center; font: 700 clamp(9px, 1.5vw, 12px)/1.4 system-ui, sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: #ffe8b0; }

/* solan (silinik) başlık görseli */
.dg-kahraman { position: relative; margin: -40px -48px 18px; padding: 150px 48px 4px; overflow: hidden; }
.dg-kahraman.yok { padding-top: 40px; }
.dg-kahraman-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.85);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%); }
.dg-kahraman-ic { position: relative; }
.dg-kahraman .dg-kat { border-bottom-color: color-mix(in srgb, var(--r) 70%, transparent); }
.dg-kahraman .dg-bas { text-shadow: 0 1px 0 rgba(255,253,246,.8), 0 0 18px rgba(255,253,246,.9); }

/* metin: tek akış, görseller sağa/sola yaslanır, arada yatay görsel */
.dg-metin { columns: auto; }
.dg-metin::after { content: ""; display: block; clear: both; }
.dg-metin p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.dg-metin > p:first-of-type::first-letter { float: left; font: 700 58px/.82 Georgia, serif; padding: 6px 8px 0 0; color: var(--r); }
.dg-yan { margin: 4px 0 14px; }
.dg-yan img { max-height: none; object-fit: cover; }
.dg-yan.dg-sag { float: right; margin-left: 26px; }
.dg-yan.dg-sol { float: left; margin-right: 26px; }
.dg-yan { width: 40%; }
.dg-yan.dg-yatay { width: 52%; }
.dg-yan.dg-dar { width: 30%; }
.dg-metin p { break-inside: auto; }

/* çalışma sayfası filigranı */
.dg-calisma { position: relative; }
.dg-filigran { position: absolute; top: -40px; left: -48px; right: -48px; width: calc(100% + 96px); height: 260px; object-fit: cover;
  opacity: .22; filter: grayscale(.3); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.dg-calisma > :not(.dg-filigran) { position: relative; }

/* kelime bankası */
.dg-bs { margin: 6px 0 10px; }
.dg-bs-banka { position: sticky; top: 52px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-radius: 8px;
  background: #f6efe0; border: 1px dashed color-mix(in srgb, var(--r) 60%, #d8cdb6); margin-bottom: 10px; }
.dg-bs-k { font: 600 14px system-ui, sans-serif; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cizgi); background: #fff;
  color: var(--murekkep); cursor: pointer; }
.dg-bs-k.secili { background: var(--r); color: #fff; border-color: var(--r); }
.dg-bs-k.kullanildi { opacity: .35; text-decoration: line-through; cursor: default; }
.dg-bs-liste { margin: 0; padding-left: 22px; font: 15.5px/1.9 Georgia, serif; }
.dg-bs-liste li { margin-bottom: 4px; }
.dg-bs-bos { min-width: 120px; padding: 0 8px; margin: 0 4px; border: 0; border-bottom: 2px solid var(--r); background: color-mix(in srgb, var(--r) 8%, #fff);
  font: 600 15px system-ui, sans-serif; color: var(--murekkep); cursor: pointer; border-radius: 4px 4px 0 0; }
.dg-bs-bos.dolu { background: color-mix(in srgb, var(--r) 16%, #fff); }
.dg-bs-bos.dg-dogru { border-bottom-color: #2a9d8f; }
.dg-bs-bos.dg-yanlis { border-bottom-color: #e63946; }
.dg-bs-alt { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.dg-bs-skor { font-weight: 600; color: var(--soluk); }

.dg-ipucu ol { margin: 6px 0 0; padding-left: 18px; }
.dg-ipucu li { margin: 3px 0; }

/* sıfırlama menüsü */
.dg-sifir-kap { position: relative; }
.dg-sifir-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 4px; padding: 6px; min-width: 240px;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.dg-sifir-menu[hidden] { display: none; }
.dg-sifir-menu button { text-align: left; background: none; border: 0; color: var(--text-light); padding: 9px 10px; border-radius: 6px; cursor: pointer; font: inherit; }
.dg-sifir-menu button:hover { background: var(--ink-700); }

@media (max-width: 720px) {
  .dg-kahraman { margin: -22px -16px 14px; padding: 110px 16px 4px; }
  .dg-yan, .dg-yan.dg-yatay { width: 100%; float: none; margin: 6px 0 14px; }
  .dg-yan.dg-dar { width: 70%; margin-inline: auto; }
  .dg-yan.dg-sag, .dg-yan.dg-sol { float: none; margin-left: 0; margin-right: 0; }
  .dg-filigran { left: -16px; right: -16px; width: calc(100% + 32px); top: -22px; }
  .dg-bar-btn { display: inline-block; padding: 5px 9px; }
  #dgIcBtn { display: none; }
  .dg-bs-banka { top: 46px; }
}
.dg-tekrar { margin-top: 6px; background: none; border: 1px solid #d8cdb6; border-radius: 999px; padding: 5px 12px; font: 600 13px system-ui, sans-serif;
  color: var(--murekkep); cursor: pointer; }
.dg-tekrar:hover { background: #efe6d2; }

/* Dergi: kapak, raf, gezinme ve tıklanan öğelerde metin seçimi kapalı (okuma metni seçilebilir kalır) */
.dg-raflar, .dg-raf, .dg-kpk, .dg-kapak, .dg-karo, .dg-mast, .dg-bar, .dg-alt, .dg-ic-s, .dg-ic-sol, .dg-sir,
.dg-kat, .dg-sec, .dg-sec button, .dg-bs-banka, .dg-bs-bos, .dg-bs-alt, .dg-pa, .dg-sifir-menu, .dg-tekrar,
.dg-sf img, .dg-sf figure figcaption, .dg-sf::after {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.dg-sf img { -webkit-user-drag: none; }
/* Dergi bütünüyle seçilemez (kullanıcı isteği); uzun basma sözlüğü seçime değil dokunma noktasına bakar */
.dg-bar, .dg-sahne, .dg-sf, .dg-sf *, .dg-alt, .dg-balon, .dg-raflar { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* yayımlanmamış sayı etiketi: tek satır, okunaklı */
.dg-raf-yakinda { white-space: nowrap; letter-spacing: .06em; font-size: 11.5px; padding: 9px 6px; color: #ffd166; background: rgba(8, 12, 24, .85); }

/* ── Ganlish Gramer Dergisi (/dergi/gramer/<no>) — dergi okuyucusu üstüne ── */
.dg-raf-bas { font: 700 22px/1.2 Georgia, serif; color: var(--text-light); margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.dg-raf-bas small { font: 14px system-ui, sans-serif; color: var(--muted-light); }
.gr-sf::after { content: "© GANLISH GRAMER · SAYFA " attr(data-sf); }
.gr-sf .dg-kat { text-transform: uppercase; }
.gr-p { font: 16.5px/1.7 Georgia, "Times New Roman", serif; margin: 0 0 14px; }
.gr-sf s { color: #b42332; text-decoration-thickness: 2px; }
.gr-sekil { margin: 8px 0 22px; padding: 14px 14px 10px; background: #fff; border: 1px solid var(--cizgi); border-radius: 10px; }
.gr-sekil figcaption { font: italic 14px/1.5 Georgia, serif; color: var(--soluk); margin-top: 6px; }
.gs { display: block; width: 100%; height: auto; overflow: visible; }
.gs-t { font: 600 13px system-ui, sans-serif; }
.gs-b { font-weight: 800; letter-spacing: .04em; }
.gs-h { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.gs-k { font: 700 11px system-ui, sans-serif; letter-spacing: .14em; }
.gs-buyuk { font: 800 20px Georgia, serif; }
/* örnek cümleler */
.gr-ornek { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 6px; }
.gr-ornek li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px 12px; background: #fff; border: 1px solid var(--cizgi); border-radius: 8px; }
.gr-en { font: 16px/1.45 Georgia, serif; }
.gr-en b { color: var(--r); }
.gr-tr { grid-column: 1 / -1; font-size: 13.5px; color: var(--soluk); }
/* kalıplar */
.gr-formul { display: grid; gap: 6px; margin: 4px 0 20px; }
.gr-f { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 9px 12px; border-radius: 8px; background: color-mix(in srgb, var(--r) 8%, #fff); border: 1px solid color-mix(in srgb, var(--r) 25%, transparent); }
.gr-f-ad { font: 700 13px system-ui, sans-serif; color: var(--r); }
.gr-f code, .gr-ozet code { font: 700 14px/1.4 ui-monospace, Consolas, monospace; color: var(--murekkep); background: none; padding: 0; }
.gr-f-ex { font: 15px/1.45 Georgia, serif; }
.gr-f-ex b { color: var(--r); }
/* tablolar */
.gr-tablo-kap { overflow-x: auto; margin: 4px 0 20px; border: 1px solid var(--cizgi); border-radius: 8px; background: #fff; }
.gr-tablo { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.gr-tablo th { background: color-mix(in srgb, var(--r) 14%, #fff); text-align: left; padding: 8px 10px; font: 700 12.5px system-ui, sans-serif; letter-spacing: .04em; }
.gr-tablo td { padding: 8px 10px; border-top: 1px solid var(--cizgi); vertical-align: top; }
.gr-tablo td[lang="en"] { font-family: Georgia, serif; }
.gr-tablo td b { color: var(--r); }
.gr-tablo tr:nth-child(even) td { background: #fdfaf3; }
/* bilgi kutuları: tam çerçeve, üst etiket (yan şerit yok) */
.gr-kutu { margin: 6px 0 22px; padding: 14px 16px 12px; border-radius: 12px; font-size: 15px; line-height: 1.6; border: 1.5px solid; }
.gr-kutu > b { display: block; font: 700 17px/1.3 Georgia, serif; margin: 6px 0 4px; }
.gr-k-et { display: inline-block; font: 800 10.5px system-ui, sans-serif; letter-spacing: .16em; padding: 4px 8px; border-radius: 999px; color: #fff; }
.gr-k-yds { background: #eef3fb; border-color: #b9cbe6; } .gr-k-yds .gr-k-et { background: #1d3557; }
.gr-k-dikkat { background: #fdeeee; border-color: #f0c2c6; } .gr-k-dikkat .gr-k-et { background: #b42332; }
.gr-k-hatirla { background: #fff6dc; border-color: #f0d68f; } .gr-k-hatirla .gr-k-et { background: #a87700; }
.gr-k-tuyo { background: #eaf7ef; border-color: #a9d9b9; } .gr-k-tuyo .gr-k-et { background: #1f7a45; }
/* çözümlü örnek (çeviri ve cümle soruları) */
.gr-coz { margin: 6px 0 22px; padding: 14px 16px 12px; border-radius: 12px; border: 1.5px solid #c9c0e3; background: #f6f3fc; font-size: 15px; line-height: 1.55; }
.gr-coz .gr-k-et { background: #5b4a91; }
.gr-coz > b { display: block; font: 700 17px/1.3 Georgia, serif; margin: 6px 0 8px; }
.gr-coz-kay { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid #ddd5ef; font: 16px/1.5 Georgia, serif; }
.gr-coz-s { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gr-coz-s li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; padding: 8px 10px; border-radius: 8px; border: 1px solid; }
.gr-coz-s li.ok { background: #e7f6ec; border-color: #9fd4b2; } .gr-coz-s li.no { background: #fff; border-color: #e6dfd0; }
.gr-coz-h { font-weight: 800; color: #5b4a91; }
.gr-coz-m { font-family: Georgia, serif; }
.gr-coz-n { grid-column: 2; font-size: 13.5px; color: #5d5440; } .gr-coz-s li.ok .gr-coz-n { color: #1f7a45; font-weight: 600; } .gr-coz-s li.no .gr-coz-n { color: #9a2b36; }
.gr-coz-olc { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed #c9c0e3; } .gr-coz-olc b { color: #5b4a91; }
/* pekiştirme sorusu */
.gr-pek { margin: 6px 0 22px; }
.gr-pek-et { display: inline-block; font: 800 10.5px system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--murekkep); padding: 5px 10px; border-radius: 6px 6px 0 0; }
.gr-pek .dg-soru { border-top-left-radius: 0; border-color: #cfc5ae; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.gr-sf .dg-tekrar { margin-top: 6px; background: none; border: 0; color: var(--soluk); text-decoration: underline; cursor: pointer; font: inherit; }
/* alıştırmalar */
.gr-al { margin: 8px 0 24px; padding: 16px 18px; border-radius: 12px; background: #f6f9f4; border: 1.5px solid #cfe0c2; }
.gr-al-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 10px; }
.gr-al-no { font: 800 11px system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: #2f7d4f; padding: 4px 9px; border-radius: 999px; }
.gr-al-ust b { font: 700 16.5px/1.3 Georgia, serif; }
.gr-al-ust small { flex-basis: 100%; color: var(--soluk); font-size: 13px; }
.gr-al-l { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.gr-al-l > li { padding: 2px 0; }
.gr-al-c { font: 16px/1.6 Georgia, serif; }
.gr-al-c u { text-decoration-color: var(--r); text-decoration-thickness: 2px; }
.gr-bos { display: inline-block; min-width: 70px; border-bottom: 2px solid #8a8070; text-align: center; font-weight: 700; color: #2f7d4f; padding: 0 4px; }
li.gr-kotu .gr-bos { color: #b42332; }
.gr-al-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gr-al-s button, .gr-kv-b button { font: 15px system-ui, sans-serif; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--cizgi); background: #fff; color: var(--murekkep); cursor: pointer; }
.gr-al-s button:hover, .gr-kv-b button:hover { border-color: var(--murekkep); }
.gr-sf .gr-b-dogru { background: #dff3ee; border-color: #2a9d8f; color: #13574f; font-weight: 700; }
.gr-sf .gr-b-yanlis { background: #fde6e7; border-color: #e63946; color: #8f1d26; }
.gr-al-e { font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.gr-iyi .gr-al-e { color: #1e7a6d; }
.gr-kotu .gr-al-e { color: #b42332; }
.gr-al-skor { font: 700 14px system-ui, sans-serif; color: #2f7d4f; }
.gr-al > .gr-al-skor { margin-top: 10px; }
.gr-al-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.gr-goster { background: none; border: 0; color: var(--soluk); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.dg-sf .gr-in { font: 16px Georgia, serif; padding: 3px 8px; margin: 2px 3px; border: 0; border-bottom: 2px solid #8a8070; border-radius: 4px 4px 0 0; background: #fff; color: var(--murekkep); max-width: 100%;
  -webkit-user-select: text; user-select: text; }
.gr-in:focus { outline: 2px solid #118ab2; outline-offset: 1px; }
.dg-sf .gr-in.gr-g-dogru { background: #dff3ee; border-bottom-color: #2a9d8f; color: #13574f; font-weight: 700; }
.dg-sf .gr-in.gr-g-yanlis { background: #fde6e7; border-bottom-color: #e63946; }
.gr-mt { white-space: nowrap; }
.gr-mt small { font: 12.5px system-ui, sans-serif; color: var(--soluk); margin-right: 2px; }
.gr-mt-bas { font: 700 17px Georgia, serif; margin: 4px 0 6px; text-align: center; }
.gr-mt-p { font: 16.5px/2.1 Georgia, serif; margin: 0; background: #fff; border: 1px solid var(--cizgi); border-radius: 8px; padding: 12px 16px; }
.gr-kv { display: grid; gap: 12px; }
.gr-kv-k { background: #fff; border: 1px solid var(--cizgi); border-radius: 10px; padding: 10px 14px; }
.gr-kv-c { font: 700 16.5px/1.5 Georgia, serif; margin: 0 0 6px; }
.gr-kv-s { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 6px 0; border-top: 1px dashed var(--cizgi); font-size: 15px; }
.gr-kv-s .gr-al-e { grid-column: 1 / -1; }
.gr-kv-b { display: flex; gap: 6px; }
.gr-cz { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 12px; }
.gr-cz figure { position: relative; margin: 0; background: #fff; border: 1px solid var(--cizgi); border-radius: 8px; padding: 22px 6px 2px; }
.gr-cz figure > span { position: absolute; top: 6px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--murekkep); color: #fff; display: grid; place-items: center; font: 800 12px system-ui, sans-serif; }
/* tense haritası */
.gr-harita { display: grid; grid-template-columns: 120px repeat(3, minmax(0, 1fr)); gap: 6px; }
.gr-harita-tek { grid-template-columns: 150px minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
.gr-karne { margin-top: 14px; padding: 14px 16px; background: #f6efe0; border-radius: 10px; font: 15px/1.5 system-ui, sans-serif; }
.gr-karne table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.gr-karne td { padding: 5px 6px; border-bottom: 1px solid #e3d8c2; font-size: 14px; }
.gr-karne td:first-child { font-weight: 700; }
.gr-karne td:nth-child(2), .gr-karne td:nth-child(4) { white-space: nowrap; }
.gr-karne td:nth-child(3) { width: 38%; }
.gr-krn-c { display: block; height: 10px; background: #e3d8c2; border-radius: 5px; overflow: hidden; }
.gr-krn-c i { display: block; height: 100%; border-radius: 5px; }
.gr-krn-c i.iyi { background: #2a9d8f; } .gr-krn-c i.orta { background: #edae49; } .gr-krn-c i.zayif { background: #d1495b; }
.gr-karne p { margin: 6px 0 0; }
.gr-sir-ac { text-align: center; margin: 18px 0 6px; }
.gr-h-z { text-align: center; font: 800 13px system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--r); border-radius: 6px; padding: 8px; }
.gr-h-y { display: flex; flex-direction: column; justify-content: center; padding: 6px; font: 700 14px/1.2 Georgia, serif; }
.gr-h-y small { font: 12px system-ui, sans-serif; color: var(--soluk); margin-top: 3px; }
.gr-h-k { display: flex; flex-direction: column; gap: 2px; background: color-mix(in srgb, var(--r) 6%, #fff); border: 1px solid color-mix(in srgb, var(--r) 28%, transparent); border-radius: 8px; padding: 6px 8px 8px; }
.gr-h-ad { font: 700 11px system-ui, sans-serif; letter-spacing: .06em; color: var(--r); text-transform: uppercase; }
.gr-h-k code { font: 700 12.5px ui-monospace, Consolas, monospace; color: var(--murekkep); }
.gr-h-k i { font: italic 13.5px Georgia, serif; color: #4b443a; }
.gs-mini { margin: 2px 0 4px; max-height: 46px; }
.gs-mini path { stroke-width: 6; }
.gr-sf .dg-ipucu { border-left: 0; border: 1.5px solid #f0d68f; border-radius: 10px; }
/* cümle kurucu */
.gr-kurucu { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.gr-kb { font: 800 10.5px system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--r); border-radius: 5px; padding: 6px; text-align: center; }
.gr-kh { font: 15px Georgia, serif; text-align: center; padding: 8px 4px; border-radius: 5px; background: color-mix(in srgb, var(--r) 12%, #fff); border: 1px solid color-mix(in srgb, var(--r) 30%, transparent); }
.gr-kh.bos { color: #b6aa94; background: #faf7ef; }
/* etken → edilgen dönüşümü (gramerCizim donusum) */
/* Koşul cümlesi şeması (gramerCizim.kosul) */
.gr-kosul { display: grid; gap: 10px; }
.gr-ks-satir { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: #faf7ef; border: 1px solid #e8dfcc; border-left: 4px solid var(--r); }
.gr-ks-et { font: 800 11px system-ui, sans-serif; letter-spacing: .08em; color: var(--r); text-transform: uppercase; }
.gr-ks-cumle { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.gr-ks-b { display: inline-flex; flex-direction: column; gap: 2px; flex: 0 1 auto; max-width: 100%; font: 15px/1.35 Georgia, serif; color: #1f1b16; padding: 5px 10px 6px; border-radius: 6px; }
.gr-ks-b small { font: 800 9px system-ui, sans-serif; letter-spacing: .1em; color: #8a8070; }
.gr-ks-b.if { background: color-mix(in srgb, #edae49 18%, #fff); border: 1px solid color-mix(in srgb, #edae49 55%, transparent); }
.gr-ks-b.ana { background: color-mix(in srgb, #00798c 12%, #fff); border: 1px solid color-mix(in srgb, #00798c 40%, transparent); }
.gr-ks-v { align-self: center; font: 700 18px Georgia, serif; color: #8a8070; margin: 0 -3px; font-style: normal; }
.gr-rc-ana { background: color-mix(in srgb, #00798c 12%, #fff); border: 1px solid color-mix(in srgb, #00798c 40%, transparent); }
.gr-rc-isim { background: color-mix(in srgb, #3d5a80 14%, #fff); border: 1px solid color-mix(in srgb, #3d5a80 50%, transparent); font-weight: 700; }
.gr-rc-zamir { background: color-mix(in srgb, #d1495b 14%, #fff); border: 1px solid color-mix(in srgb, #d1495b 55%, transparent); color: #9b2335 !important; font-weight: 700; }
.gr-rc-rc { background: color-mix(in srgb, #edae49 18%, #fff); border: 1px solid color-mix(in srgb, #edae49 55%, transparent); }
.gr-rc-kisa { background: color-mix(in srgb, #6a4c93 13%, #fff); border: 1px solid color-mix(in srgb, #6a4c93 50%, transparent); }
.gr-ks-tr { grid-column: 2; font: italic 13.5px/1.4 Georgia, serif; color: #6b6253; }
@media (max-width: 640px) { .gr-ks-satir { grid-template-columns: minmax(0, 1fr); } .gr-ks-tr { grid-column: 1; } .gr-ks-b { font-size: 13.5px; } }
.gr-donusum { display: grid; gap: 12px; }
.gr-dn-cift { display: grid; gap: 6px; padding: 10px 12px; border-radius: 8px; background: #faf7ef; border: 1px solid #e8dfcc; }
.gr-dn-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gr-dn-et { flex: none; width: 70px; font: 800 10.5px system-ui, sans-serif; letter-spacing: .1em; color: #8a8070; }
.gr-dn-et.pas { color: #d1495b; }
.gr-dn-c { font: 15px Georgia, serif; padding: 5px 10px; border-radius: 6px; background: color-mix(in srgb, var(--r) 13%, #fff); border: 1px solid color-mix(in srgb, var(--r) 40%, transparent); color: #1f1b16; }
.gr-dn-lejant { display: flex; gap: 14px; justify-content: flex-end; font: 700 11px system-ui, sans-serif; color: #8a8070; }
.gr-dn-lejant span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--r); }
@media (max-width: 640px) { .gr-dn-et { width: 100%; } .gr-dn-c { font-size: 13.5px; padding: 4px 8px; } }
/* içindekiler, deneme, özet */
.gr-ic-say { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 14px; }
.gr-ic-say span { background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: var(--soluk); }
.gr-ic-say b { display: block; font: 800 22px Georgia, serif; color: #e63973; }
.gr-devam { text-align: right; font: italic 15px Georgia, serif; color: var(--soluk); }
.gr-kay { font: 14px/1.6 Georgia, serif; padding-left: 20px; }
.gr-kay li { margin: 4px 0; }
.gr-kpk .dg-kpk-alt span:first-child { color: #ffd166; }
@media (max-width: 720px) {
  .gr-f { grid-template-columns: 1fr; gap: 4px; }
  .gr-harita { grid-template-columns: 1fr; }
  .gr-h-bos, .gr-h-z { display: none; }
  .gr-h-y { background: #f6efe0; border-radius: 6px; flex-direction: row; gap: 8px; align-items: baseline; }
  .gr-kurucu { gap: 3px; }
  .gr-kh { font-size: 12px; padding: 6px 2px; overflow-wrap: anywhere; }
  .gr-kb { font-size: 8.5px; letter-spacing: .02em; padding: 5px 2px; overflow-wrap: anywhere; }
  .gr-al { padding: 14px 12px; }
  .gr-mt { white-space: normal; }
  .gr-kv-s { grid-template-columns: 1fr; }
}
.gr-cz .gs path { stroke-width: 5; }

/* Gramer dergisi kapağı (agy CLI önerisi): sağ yarı görsele kalır; ana manşet + kısa liste solda, test alt bantta */
.gr-kpk::before { display: none; }
.gr-kpk { font-family: Inter, system-ui, sans-serif; }
.gr-kpk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gr-kpk-ort { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(180deg, rgba(6,9,18,.85) 0%, rgba(6,9,18,.45) 24%, rgba(6,9,18,0) 38%),
  linear-gradient(90deg, rgba(6,9,18,.88) 0%, rgba(6,9,18,.62) 38%, rgba(6,9,18,.15) 68%, rgba(6,9,18,0) 100%),
  linear-gradient(0deg, rgba(6,9,18,.92) 0%, rgba(6,9,18,.5) 18%, rgba(6,9,18,0) 34%); }
.gr-kpk-ust, .gr-kpk-ana, .gr-kpk-liste, .gr-kpk-bant { position: absolute; z-index: 2; left: 6.5%; }
.gr-kpk-ust { top: 3.8%; right: 6.5%; text-align: center; }
.gr-kpk-mast { font: 900 clamp(44px, 13.5vw, 98px)/.88 "Playfair Display", Georgia, serif; letter-spacing: -.01em; text-shadow: 0 3px 20px rgba(0,0,0,.6); }
.gr-kpk-folio { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.35); font: 700 clamp(9px, 1.4vw, 11.5px)/1 Inter, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.gr-kpk-dept { color: #f3c766; display: inline-flex; align-items: center; gap: 6px; }
.gr-kpk-dept::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #f3c766; }
.gr-kpk-ana { top: 22%; max-width: 58%; text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 4px 18px rgba(0,0,0,.6); }
.gr-kpk-kicker { display: block; font: 800 clamp(9px, 1.3vw, 11px)/1 Inter, system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #f3c766; margin-bottom: 8px; }
.gr-kpk-baslik { font: 700 clamp(28px, 5.2vw, 46px)/1.04 "Playfair Display", Georgia, serif; letter-spacing: -.015em; margin-bottom: 8px; }
.gr-kpk-deck { margin: 0; font: 500 clamp(11px, 1.7vw, 14px)/1.35 Inter, system-ui, sans-serif; color: rgba(255,255,255,.9); }
.gr-kpk-liste { bottom: 11.5%; max-width: 54%; display: flex; flex-direction: column; gap: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 1px 8px rgba(0,0,0,.5); }
.gr-kpk-m { display: flex; flex-direction: column; gap: 4px; }
.gr-kpk-et { font: 800 clamp(8px, 1.1vw, 9.5px)/1.2 Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #f3c766; }
.gr-kpk-m b { font: 700 clamp(13px, 2vw, 17px)/1.15 Georgia, serif; }
.gr-kpk-alt { font: 500 clamp(10px, 1.4vw, 12px)/1.3 Inter, system-ui, sans-serif; color: rgba(255,255,255,.8); }
.gr-kpk-bant { bottom: 2.8%; right: 6.5%; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.35); display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font: 700 clamp(8.5px, 1.3vw, 11px)/1.2 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.gr-kpk-sinav { color: #f3c766; white-space: nowrap; }
.gr-kpk-test { color: #fff; text-align: right; }
@media (max-width: 480px) {
  .gr-kpk-ana { max-width: 58%; top: 22%; }
  .gr-kpk-liste { max-width: 54%; gap: 9px; }
  .gr-kpk-bant { font-size: clamp(8px, 2.2vw, 9.5px); letter-spacing: .08em; }
}

/* ── Dergi kilidi: abonelere özel sayfalar (dergiErisim.ts) ── */
.dg-kilit { max-width: 620px; margin: 24px auto; padding: 28px 24px; text-align: center; background: linear-gradient(160deg, #fff 0%, #fdf3f7 100%); border: 1px solid #f1d3e0; border-radius: 16px; }
.dg-kilit-rozet { display: inline-block; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .12em; color: #fff; background: #e63973; padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; }
.dg-kilit-ne { margin: 0 0 4px; font-size: 14px; color: #6b7280; }
.dg-kilit-bas { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; color: var(--ink); }
.dg-kilit-spot { margin: 0; font-size: 15px; color: #4b5563; }
.dg-kilit .btn-ghost { color: var(--ink); background: #fff; border: 1px solid #d1d5db; }
.dg-kilit .btn-ghost:hover { border-color: var(--ink); }
.dg-kilit-l { list-style: none; padding: 0; margin: 16px auto; max-width: 480px; text-align: left; display: grid; gap: 8px; }
.dg-kilit-l li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.dg-kilit-l li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #2a9d8f; color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.dg-kilit-b { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.dg-kilit-not { font-size: 13px; color: #6b7280; margin: 14px 0 0; }
.dg-abone-bant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; background: rgba(233, 57, 115, 0.12); border: 1px solid rgba(233, 57, 115, 0.38); border-radius: 14px; font-size: 15px; line-height: 1.5; color: var(--text-light); }
.dg-abone-bant b { color: #ff9cbd; }
.dg-abone-bant ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted-light); }
.dg-abone-bant li::marker { color: #ff9cbd; }
.dg-abone-bant li { margin: 2px 0; }
@media (max-width: 700px) { .dg-abone-bant { grid-template-columns: minmax(0, 1fr); } .dg-kilit { padding: 22px 16px; margin: 12px 0; } }

/* ── Dergi gezinmesi: alt çubuk ekrana yapışık (uzun sayfada en alta inmeden önceki/sonraki),
      sayfa sonunda "Sonraki sayfa" kartı ── */
.dg-alt { position: sticky; bottom: 0; z-index: 20; margin-top: 8px; padding-top: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(14,22,40,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); max-width: none; }
.dg-alt .dg-ok { min-width: 104px; }
.dg-alt-ad { display: none; flex: 1; min-width: 0; text-align: center; font-size: 13px; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-sonraki { display: flex; align-items: center; gap: 12px; width: 100%; margin: 28px 0 4px; padding: 14px 18px;
  border: 1px solid var(--cizgi, #e7dfcf); border-radius: 14px; background: rgba(245,182,12,.10); color: var(--murekkep, #1f1b16);
  font: inherit; text-align: left; cursor: pointer; transition: background .15s, transform .15s; }
.dg-sonraki:hover { background: rgba(245,182,12,.2); transform: translateY(-1px); }
.dg-sonraki span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk, #6b6257); white-space: nowrap; }
.dg-sonraki b { flex: 1; min-width: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-sonraki i { font-style: normal; font-size: 22px; color: var(--gold-deep); }
@media (max-width: 700px) {
  .dg-alt { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .dg-alt .dg-ok { min-width: 0; padding: 9px 13px; }
  .dg-alt-ad { display: block; }
  .dg-sonraki { flex-wrap: wrap; gap: 4px 10px; }
  .dg-sonraki b { flex-basis: calc(100% - 40px); white-space: normal; }
}

/* ── Öğreneceğim kelimeler (/kelimeler/listem, app4/kelimeListem.ts) ── */
.dg-balon-ekle { display: block; width: 100%; margin-top: 9px; padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(245,182,12,.5);
  background: rgba(245,182,12,.14); color: var(--gold); font: 600 13px/1.2 inherit; cursor: pointer; }
.dg-balon-ekle:disabled { opacity: .75; cursor: default; color: #4ade80; border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.1); }
.kl-bildirim { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 12px; background: #0e1628; color: var(--text-light);
  border: 1px solid rgba(42,157,143,.6); box-shadow: 0 8px 24px rgba(0,0,0,.35); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.kl-bildirim.acik { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.kl-bildirim b { color: var(--gold); }
.kl-bildirim a { color: #5eead4; font-weight: 600; }
.kl-bos { max-width: 640px; color: var(--text-light); line-height: 1.6; }
.kl-not { font-size: 13px; color: var(--muted-light); }
.kl-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.kl-sayac { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted-light); font-size: 14px; }
.kl-sayac b { color: var(--text-light); font-size: 18px; margin-right: 3px; }
.kl-sekmeler { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); }
.kl-sekme { border: 0; background: none; color: var(--muted-light); font: 600 14px/1 inherit; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.kl-sekme.on { background: var(--gold); color: #0e1628; }
.kl-kart { max-width: 520px; margin: 0 auto; padding: 22px 22px 20px; border-radius: 18px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark); text-align: center; color: var(--text-light); }
.kl-kart-ust { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-light); margin-bottom: 18px; }
.kl-kutu { color: #5eead4; font-weight: 700; }
.kl-kelime { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(26px, 6vw, 36px)/1.2 var(--serif, Georgia, serif); color: var(--gold); }
.kl-kelime .speak { width: 32px; height: 32px; }
.kl-anlam { margin-top: 12px; font-size: 18px; font-weight: 600; }
.kl-ornek { margin: 10px 0 0; font-size: 15px; font-style: italic; color: var(--muted-light); line-height: 1.5; }
.kl-ornek b { color: var(--text-light); font-style: normal; }
.kl-kaynak { margin-top: 8px; font-size: 12px; color: var(--muted-light); }
.kl-kaynak a { color: var(--sky-bright); }
.kl-ipucu { margin: 14px 0 0; color: var(--muted-light); font-size: 14px; }
.kl-butonlar { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.kl-butonlar .btn { min-width: 130px; }
.kl-bilmedim { background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.45); color: #fca5a5; }
.kl-suzgec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.kl-cip { border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: var(--muted-light); font: 600 13px/1 inherit; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.kl-cip.on { border-color: var(--gold); color: var(--gold); background: rgba(245,182,12,.1); }
.kl-ara { flex: 1; min-width: 160px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); color: var(--text-light); font: inherit; }
.kl-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kl-liste li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: var(--text-light); }
.kl-l-ust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kl-l-ust b { font-size: 17px; color: var(--gold); }
.kl-l-tr { flex: 1; min-width: 0; }
.kl-sil { border: 0; background: none; color: var(--muted-light); font-size: 15px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.kl-sil:hover { color: #fca5a5; background: rgba(239,68,68,.12); }
.kl-liste .kl-ornek { font-size: 14px; margin-top: 6px; }

/* ── Kelime Dergisi (/dergi/kelime/<no>, views/kelimeDergi.ts) ── */
.kd-sf::after { content: "© GANLISH VOCABULARY · SAYFA " attr(data-sf); }
.kd-kart { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; margin: 0 0 22px; padding: 14px; background: #fff;
  border: 1px solid var(--cizgi); border-radius: 12px; }
.kd-foto { margin: 0; }
.kd-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: #eee; }
.kd-foto figcaption { margin-top: 4px; font: 11px/1.3 system-ui, sans-serif; color: var(--soluk); }
.kd-foto figcaption a { color: inherit; }
.kd-govde { min-width: 0; }
.kd-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kd-w { display: inline-flex; align-items: center; gap: 8px; }
.kd-w b { font: 700 26px/1.1 var(--serif, Georgia, serif); color: var(--murekkep); }
.kd-w .speak, .kd-cumle .speak { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cizgi); background: #faf7ef; color: var(--murekkep); cursor: pointer;
  display: inline-grid; place-items: center; padding: 0; vertical-align: middle; }
.kd-w .speak svg, .kd-cumle .speak svg { width: 14px; height: 14px; }
.kd-tur { font: 700 11px/1 system-ui, sans-serif; letter-spacing: .06em; color: #fff; background: var(--r, #2a9d8f); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.kd-ipa { margin: 2px 0 6px; font: 13px/1.2 "Lucida Sans Unicode", "Segoe UI", system-ui, sans-serif; color: var(--soluk); letter-spacing: .02em; }
.kd-tr { font: 600 16px/1.4 system-ui, sans-serif; margin-bottom: 8px; }
.kd-cumle { margin: 8px 0; font-size: 15.5px; line-height: 1.55; }
.kd-cumle b { background: rgba(245,182,12,.22); padding: 0 2px; border-radius: 3px; }
.kd-ceviri { display: block; font: italic 14px/1.45 system-ui, sans-serif; color: var(--soluk); margin-top: 2px; }
.kd-ek { padding-top: 8px; border-top: 1px dashed var(--cizgi); }
.kd-etiket { display: inline-block; margin-right: 6px; font: 700 10px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #0e1628; padding: 4px 6px; border-radius: 4px; vertical-align: 2px; }
.kd-es, .kd-aile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 6px 0; font-size: 14px; }
.kd-es span, .kd-aile span { font: 700 11px/1 system-ui, sans-serif; color: var(--soluk); text-transform: uppercase; letter-spacing: .06em; }
.kd-es i { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #eef6f4; border: 1px solid #cfe5e0; }
.kd-osym { margin-top: 8px; font: 12.5px/1.4 system-ui, sans-serif; color: var(--soluk); }
.kd-osym span { display: inline-block; margin-right: 6px; font-weight: 800; color: #e63973; letter-spacing: .06em; }
.kd-ekle { margin-top: 10px; padding: 7px 12px; border-radius: 8px; border: 1px solid #2a9d8f; background: #eef6f4; color: #1d6f66; font: 600 13px/1.2 system-ui, sans-serif; cursor: pointer; }
.kd-ekle:disabled { border-color: #a7d7c5; background: #f3faf7; color: #3a8f72; cursor: default; }
.kd-kaliplar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kd-kalip { padding: 14px; background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; }
.kd-kalip .kd-w b { font-size: 21px; }
.kd-not { font: 13px/1.45 system-ui, sans-serif; background: #f6f1e4; border-radius: 6px; padding: 6px 8px; margin: 4px 0 6px; }
.kd-secim { margin-top: 14px; font-size: 13.5px; line-height: 1.5; background: #fff; border: 1px solid var(--cizgi); border-radius: 8px; padding: 10px 12px; }
.kd-secim ul { margin: 6px 0 0; padding-left: 18px; }
.kd-secim li { margin: 4px 0; }
.kd-sonuc .dg-sonuc small a { color: #1d6f66; font-weight: 600; }
.kd-liste td, .kd-liste th { text-align: left; }
.kd-l-ipa { color: var(--soluk); font-size: 13px; white-space: nowrap; }
.kd-l-ara td { font-weight: 700; background: #f6f1e4; }
.kd-kredi li { font-size: 12.5px; }
/* Alıştırmalar */
.kd-al { margin: 0 0 26px; padding: 14px; background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; }
.kd-al-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.kd-al-skor { font: 600 14px/1.3 system-ui, sans-serif; }
.kd-esle-iz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; margin-top: 10px; }
.kd-esle-sol, .kd-esle-sag { display: grid; gap: 6px; align-content: start; }
.kd-esle button, .kd-kutu button, .kd-bos { font: 15px/1.3 system-ui, sans-serif; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--cizgi);
  background: #faf7ef; color: var(--murekkep); cursor: pointer; text-align: left; }
.kd-esle-sol button { font-weight: 700; }
.kd-esle button.secili, .kd-kutu button.secili { border-color: #118ab2; background: #e3f3fa; box-shadow: 0 0 0 2px rgba(17,138,178,.25); }
.kd-esle button.ok { border-color: #2a9d8f; background: #e6f4f1; color: #1d6f66; cursor: default; }
.kd-esle button.no { border-color: #d94b4b; background: #fde8e8; animation: kd-salla .3s; }
@keyframes kd-salla { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.kd-kutu { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; padding: 10px; background: #f6f1e4; border-radius: 8px; }
.kd-kutu button.kullanildi { opacity: .35; text-decoration: line-through; cursor: default; }
.kd-banka-l, .kd-yaz-l { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.8; }
.kd-bos { display: inline-block; min-width: 110px; padding: 2px 10px; text-align: center; border-style: dashed; vertical-align: baseline; }
.kd-bos.dolu { border-style: solid; font-weight: 600; }
.kd-bos.ok, .kd-girdi.ok { border-color: #2a9d8f; background: #e6f4f1; color: #1d6f66; }
.kd-bos.no, .kd-girdi.no { border-color: #d94b4b; background: #fde8e8; color: #9b2c2c; }
.kd-ipucu { font: 600 13px/1 system-ui, sans-serif; color: var(--soluk); }
.kd-girdi { width: 140px; max-width: 60vw; padding: 3px 8px; font: 15px/1.3 system-ui, sans-serif; border: 1px dashed var(--soluk); border-radius: 6px; background: #faf7ef; color: var(--murekkep); }
.kd-yaz-cvp { margin-left: 6px; font: 600 13px/1 system-ui, sans-serif; color: #1d6f66; }
@media (max-width: 700px) {
  .kd-kart { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .kd-kaliplar { grid-template-columns: minmax(0, 1fr); }
  .kd-esle-iz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  .kd-esle button { font-size: 13.5px; padding: 7px 8px; }
  .kd-w b { font-size: 23px; }
}

/* Telif hakkı notu (dergiErisim.ts › telifHtml) */
.dg-telif { margin-top: 18px; padding: 10px 12px; border-top: 1px solid var(--cizgi, #e7dfcf); font: 12.5px/1.5 system-ui, sans-serif; color: var(--soluk, #6b6257); }
.dg-telif b { color: var(--murekkep, #1f1b16); }
.dg-telif p { margin: 6px 0 0; }
p.dg-telif { padding: 8px 0 0; }

/* Analizim · modül sekmeleri (analizModul.ts) */
.an-sekmeler { margin-bottom: 1rem; }
.an-tablo td .an-bar { display: inline-block; width: 90px; vertical-align: middle; margin-right: 6px; }
.an-bar i { display: block; height: 100%; background: #2ecc71; }
.an-bar i.orta { background: var(--gold); }
.an-bar i.zayif { background: var(--c-coral, #ff6b6b); }
.an-modul-git { border: 0; background: none; padding: 0; color: var(--text-light); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.an-modul-git::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--r); margin-right: 8px; }
.an-modul-git:hover { color: var(--sky-bright); }
.an-oneri { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: 6px; max-width: 640px; }
.an-oneri li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px;
  background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--text-light); }
.an-oneri li > .ik { color: var(--c-coral); width: 18px; height: 18px; }
.an-oneri li > span { flex: 1; min-width: 0; }
.an-oneri b { color: #fff; } .an-oneri small { color: var(--muted-light); margin-left: 4px; }
.an-oneri em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--c-coral); font-weight: 600; font-size: .88rem; }

/* Kelime Dergisi · hızlı seçim (edatlı fiiller) */
.kd-secim-l { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.kd-secim-l li { padding-bottom: 10px; border-bottom: 1px dashed var(--cizgi); }
.kd-secim-bos { display: inline-block; min-width: 46px; text-align: center; color: var(--soluk); font-weight: 700; }
.kd-secim-bos.ok { color: #1d6f66; background: #e6f4f1; border-radius: 4px; padding: 0 4px; }
.kd-secim-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kd-secim-s button { font: 600 14px/1 system-ui, sans-serif; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--cizgi); background: #faf7ef; color: var(--murekkep); cursor: pointer; }
.kd-secim-s button.ok { border-color: #2a9d8f; background: #e6f4f1; color: #1d6f66; }
.kd-secim-s button.no { border-color: #d94b4b; background: #fde8e8; color: #9b2c2c; text-decoration: line-through; }
.kd-secim-s button:disabled:not(.ok) { opacity: .45; cursor: default; }

/* Kelime Dergisi · "Edatlarıyla" (bir kelimenin alabildiği bütün edatlar) */
.kd-edat { margin: 8px 0; padding: 8px 10px; background: #f3f0fa; border: 1px solid #ddd3f0; border-radius: 8px; font-size: 14px; }
.kd-edat > span { font: 700 11px/1 system-ui, sans-serif; color: #6a4c93; text-transform: uppercase; letter-spacing: .06em; }
.kd-edat ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.kd-edat b { color: #4b2f7a; }
.kd-edat i { font-style: normal; color: var(--soluk); font-size: 13px; }
.kd-edat-o { display: block; font-style: italic; color: var(--murekkep); font-size: 13.5px; }

/* ============ OKUL (/okul) — ilkokul + ortaokul kitap kataloğu ============ */
.ok-kapilar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; max-width: 860px; }
.ok-kapi { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  border: 1px solid var(--line-dark); transition: transform .2s cubic-bezier(.16,1,.3,1), border-color .2s, box-shadow .2s; }
.ok-kapi > span { grid-row: 1 / 3; width: 52px; height: 52px; display: grid; place-items: center; color: var(--k);
  border-radius: 14px; background: color-mix(in srgb, var(--k) 15%, transparent); }
.ok-kapi > span .ik { width: 26px; height: 26px; }
.ok-kapi b { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: #fff; align-self: end; }
.ok-kapi small { color: var(--muted-light); font-size: .82rem; align-self: start; }
.ok-kapi.ilk { --k: #ff7eb6; } .ok-kapi.orta { --k: #34d3a6; } .ok-kapi.lgs { --k: #f5b60c; }
.ok-kapi:hover, .ok-kapi:focus-visible { transform: translateY(-3px); border-color: var(--k); box-shadow: 0 18px 40px -24px var(--k); }

.ok-bolum + .ok-bolum { border-top: 1px solid var(--line-dark); }
.ok-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.ok-bas h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 12px 0 8px; }
.ok-bas p { color: var(--muted-light); max-width: 60ch; }
.ok-bas .btn { padding: 11px 18px; font-size: .9rem; }
.ok-bas .btn svg { width: 16px; height: 16px; }

/* İlkokul: dört sınıf kartı */
.ok-ilk-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ok-ilk { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--ink-800);
  border: 1px solid var(--line-dark); box-shadow: inset 0 3px 0 var(--r); transition: border-color .2s, transform .2s cubic-bezier(.16,1,.3,1); }
.ok-ilk:hover { border-color: color-mix(in srgb, var(--r) 60%, transparent); transform: translateY(-3px); }
.ok-ilk-bas { display: flex; align-items: center; gap: 12px; padding: 18px 16px 14px; }
.ok-ilk-no { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink-900); background: var(--r); }
.ok-ilk-bas > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ok-ilk-bas b { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.ok-ilk-bas small { color: var(--muted-light); font-size: .8rem; line-height: 1.35; }
.ok-git { flex: none; color: var(--r); display: inline-flex; transition: transform .2s; }
.ok-git svg { width: 18px; height: 18px; }
.ok-ilk-bas:hover .ok-git { transform: translateX(3px); }
.ok-ilk-uniteler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px 14px; align-content: start; }
.ok-ilk-u { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 7px; border-radius: 11px;
  background: rgba(255,255,255,.035); border: 1px solid transparent; text-align: center; transition: background .15s, border-color .15s; }
.ok-ilk-u .ik { width: 24px; height: 24px; color: var(--r); margin-bottom: 3px; }
.ok-ilk-u small { font-size: .66rem; line-height: 1.2; color: var(--muted-light); overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ok-ilk-u:hover, .ok-ilk-u:focus-visible { background: color-mix(in srgb, var(--r) 14%, transparent); border-color: color-mix(in srgb, var(--r) 45%, transparent); }
.ok-ilk-u:hover small { color: #fff; }

/* Ortaokul: sınıf sekmeleri + arama + tema ızgarası */
.ok-arac { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
  position: sticky; top: var(--nav-h); z-index: 5; padding: 10px 0; background: var(--ink-900); }
.ok-sekmeler { display: flex; gap: 6px; flex-wrap: wrap; }
.ok-sek { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-800);
  color: var(--muted-light); font-weight: 600; font-size: .88rem; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.ok-sek:hover { color: #fff; border-color: var(--sky); }
.ok-sek.on { background: var(--gold); border-color: var(--gold); color: var(--ink-900); }
.ok-ara { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; width: min(300px, 100%);
  border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--muted-light); }
.ok-ara:focus-within { border-color: var(--sky); }
.ok-ara svg { width: 17px; height: 17px; flex: none; }
.ok-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text-light); font: inherit; font-size: .9rem; }
.ok-sinif { margin-top: 26px; }
.ok-sinif[hidden], .ok-tema[hidden] { display: none; }
.ok-sinif-bas { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ok-sinif-bas h3 { font-size: 1.5rem; color: #fff; }
.ok-rozet { font-size: 0.71rem; letter-spacing: 0; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; color: var(--ink-900); background: var(--r); }
.ok-sinif-bas small { color: var(--muted-light); font-size: .85rem; }
.ok-temalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ok-tema { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 14px 14px 18px; border-radius: 15px;
  background: var(--ink-800); border: 1px solid var(--line-dark); overflow: hidden;
  transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s, background .18s; }
.ok-tema:hover, .ok-tema:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--t) 55%, transparent); background: var(--ink-700); }
.ok-tema-ik { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: color-mix(in srgb, var(--t) 70%, #fff); background: color-mix(in srgb, var(--t) 18%, transparent); }
.ok-tema-ik .ik { width: 23px; height: 23px; }
.ok-tema-txt { min-width: 0; display: flex; flex-direction: column; }
.ok-tema-txt em { font-style: normal; font-size: 0.74rem; letter-spacing: 0; font-weight: 700;
  color: color-mix(in srgb, var(--t) 55%, #fff); }
.ok-tema-txt b { font-family: var(--display); font-size: 1.08rem; color: #fff; line-height: 1.2; margin: 2px 0 3px; }
.ok-tema-txt small { color: var(--muted-light); font-size: .8rem; line-height: 1.4; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ok-bos { margin-top: 24px; padding: 28px; text-align: center; color: var(--muted-light); border: 1px dashed var(--line-dark); border-radius: 14px; }

/* Sınıf oyunları */
.ok-oyunlar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ok-oyun { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: var(--ink-800);
  border: 1px solid var(--line-dark); transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s; }
.ok-oyun:hover, .ok-oyun:focus-visible { transform: translateY(-3px); border-color: var(--t); }
.ok-oyun-ik { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 8px;
  color: var(--t); background: color-mix(in srgb, var(--t) 15%, transparent); }
.ok-oyun-ik .ik { width: 24px; height: 24px; }
.ok-oyun b { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.ok-oyun small { color: var(--muted-light); font-size: .84rem; line-height: 1.45; flex: 1; }
.ok-oyun-git { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem;
  color: color-mix(in srgb, var(--t) 60%, #fff); }
.ok-oyun-git svg { width: 15px; height: 15px; transition: transform .2s; }
.ok-oyun:hover .ok-oyun-git svg { transform: translateX(3px); }

@media (max-width: 1080px) {
  .ok-ilk-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ok-oyunlar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ok-kapilar { grid-template-columns: 1fr; }
  .ok-ilk-izgara, .ok-oyunlar { grid-template-columns: 1fr; }
  .ok-ara { margin-left: 0; width: 100%; }
  .ok-sekmeler { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .ok-sek { flex: none; }
  .ok-temalar { grid-template-columns: 1fr; }
}

/* Alt bilgi: Instagram bağlantısı */
.foot-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; font-weight: 600;
  font-size: .9rem; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; transition: color .2s, border-color .2s; }
.foot-ig svg { width: 20px; height: 20px; }
.foot-ig:hover { color: var(--gold); border-color: var(--gold); }

/* Yönetim › Instagram */
.ig-geri { margin: 0 0 .4rem; font-size: .86rem; } .ig-geri a { color: var(--sky-bright); }
a.an-sekme { text-decoration: none; }
.ig-arac { display: flex; gap: 8px; }
.ig-gonderi { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 16px; padding: 18px; margin-bottom: 22px; }
.ig-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.ig-bas h2 { font-size: 1.15rem; margin: 0 6px 0 0; color: #fff; }
.ig-durum { font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--ink-700); color: var(--muted-light); }
.ig-durum.yayinda { background: rgba(39,174,96,.18); color: #5fd894; }
.ig-durum.bekliyor { background: rgba(245,182,12,.18); color: var(--gold); }
.ig-durum.sirada { background: rgba(62,155,224,.18); color: var(--sky-bright); }
.ig-etiket { font-size: .74rem; color: var(--muted-light); background: var(--ink-900); border: 1px solid var(--line-dark); padding: 3px 9px; border-radius: 999px; }
.ig-seri-kap { position: relative; }
.ig-seri { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ig-kart { flex: 0 0 min(300px, 78%); scroll-snap-align: start; margin: 0; }
.ig-gorsel { aspect-ratio: 4 / 5; background: var(--ink-900); border-radius: 10px; overflow: hidden; }
.ig-gorsel img, .ig-gorsel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-kart figcaption { font-size: .76rem; color: var(--muted-light); margin-top: 6px; line-height: 1.4; }
.ig-ok { position: absolute; top: calc(50% - 30px); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: rgba(14,22,40,.85); color: #fff; font-size: 1.3rem; cursor: pointer; }
.ig-ok.sol { left: -8px; } .ig-ok.sag { right: -8px; }
.ig-ok:hover { border-color: var(--gold); color: var(--gold); }
.ig-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; margin-top: 12px; }
.ig-kutu { background: var(--ink-900); border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.ig-kutu h3 { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; letter-spacing: .06em; color: var(--muted-light); margin: 0 0 8px; }
.ig-kutu pre { white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: .86rem; line-height: 1.55; color: var(--text-light); margin: 0; max-height: 340px; overflow: auto; }
.ig-kutu ul { margin: 0; padding-left: 1.1rem; font-size: .86rem; line-height: 1.55; color: var(--text-light); }
.ig-kopya { background: none; border: 1px solid var(--line-dark); color: var(--sky-bright); border-radius: 6px; padding: 3px 9px; font-size: .74rem; cursor: pointer; }
.ig-onay { margin-top: 12px; display: grid; gap: 8px; }
.ig-yorum { width: 100%; background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--text-light); border-radius: 8px; padding: .5rem .6rem; font: inherit; font-size: .86rem; resize: vertical; }
.ig-onay-btn { display: flex; gap: 8px; flex-wrap: wrap; }
.ig-onaylandi { margin: 12px 0 0; color: #5fd894; font-weight: 600; font-size: .88rem; } .ig-onaylandi span { color: var(--text-light); font-weight: 400; }
.ig-plan-grup { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.ig-plan-grup summary { cursor: pointer; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.ig-plan-grup ul { margin: 10px 0 2px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .86rem; color: var(--text-light); }
.ig-plan-grup li small { color: var(--muted-light); font-family: var(--mono); font-size: .7rem; }
.ig-ikonsept { font-family: var(--mono); font-size: .68rem; color: var(--gold); margin-right: 8px; }
.ig-konseptler { display: grid; gap: 12px; margin-top: 10px; }
.ig-kgrup h4 { margin: 0 0 4px; font-size: 0.83rem; letter-spacing: 0; color: var(--sky-bright); }
.ig-kgrup p { margin: 0 0 4px; font-size: .84rem; color: var(--muted-light); line-height: 1.45; } .ig-kgrup b { color: var(--text-light); }
.ig-h3 { font-size: .95rem; color: var(--text-light); margin: 0 0 10px; }
.ig-h3:not(:first-child) { margin-top: 18px; }
.ig-sayfa .an-iki > div > .ig-kutu { margin-bottom: 14px; }
.ig-plan-grup summary small { color: var(--muted-light); font-family: var(--mono); font-size: .7rem; font-weight: 400; }
.ig-hafta { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 14px; }
.ig-hafta div { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 10px; padding: 8px 10px; }
.ig-hafta span { display: block; font-family: var(--mono); font-size: .66rem; color: var(--gold); margin-bottom: 3px; }
.ig-hafta b { font-size: .82rem; color: var(--text-light); font-weight: 600; }
.ig-ara { width: 100%; max-width: 420px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--text-light); font: inherit; }
.ig-tablo { overflow-x: auto; margin-top: 10px; }
.ig-tablo table { width: 100%; border-collapse: collapse; font-size: .82rem; color: var(--text-light); }
.ig-tablo th { text-align: left; font-family: var(--mono); font-size: .66rem; color: var(--muted-light); font-weight: 600; padding: 4px 8px; }
.ig-tablo td { padding: 6px 8px; border-top: 1px solid var(--line-dark); vertical-align: top; }
.ig-tablo td:nth-child(n+3) { color: var(--muted-light); white-space: nowrap; }
.ig-tablo small { color: var(--muted-light); font-size: .72rem; }
.ig-tablo .ig-durum { font-size: .62rem; padding: 2px 7px; }
.ig-kul td { opacity: .85; }
.ig-kel-ac { font: inherit; font-family: var(--mono); font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-700); color: var(--text-light); cursor: pointer; white-space: nowrap; }
.ig-kel-ac b { color: #5fd894; }
.ig-kel-ac.on { border-color: var(--gold); }
.ig-tablo .ig-kel-satir td { border-top: 0; padding: 2px 8px 14px; white-space: normal; color: var(--text-light); opacity: 1; }
.ig-kel-ozet { margin: 0 0 8px; font-size: .78rem; color: var(--muted-light); }
.ig-kel-ozet b { color: var(--text-light); }
.ig-keller { display: flex; flex-wrap: wrap; gap: 5px; }
.ig-kel { font-size: .76rem; padding: 3px 8px; border-radius: 6px; background: var(--ink-700); color: var(--text-light); }
.ig-kel.kul { background: rgba(39,174,96,.22); color: #7ee2a8; text-decoration: line-through; text-decoration-color: rgba(126,226,168,.6); }
.ig-kel.yak { background: rgba(245,182,12,.18); color: var(--gold); }
.ig-kel.bul { outline: 1px solid var(--sky-bright); }

/* İkon ince ayarları (emoji yerine SVG) */
.sq-say .ik { width: 17px; height: 17px; }
.lg-cikmis .ik, .lg-fcip .ik, .lg-lejant .ik, .lg-tar .ik { width: 13px; height: 13px; vertical-align: -2px; color: #c08a00; }
.sa-toc-no .ik { width: 13px; height: 13px; }
.dn-kipkart b .ik { width: 18px; height: 18px; color: var(--gold); margin-right: 2px; }
/* Yalnız yönetici hesaplarına görünen menü maddeleri (auth.ts body.yonetici koyar) */
body:not(.yonetici) .yonetici-ozel { display: none !important; }

/* Ganzy maskotu (rakun ajan, Gemini ile çizildi — assets/ganzy) */
.gf-maskot { flex: none; width: 92px; height: 92px; object-fit: contain; margin: -10px -4px -14px -8px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.gz-maskot { display: block; width: 168px; height: 168px; object-fit: contain; margin: 0 auto 4px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.4)); }
@media (max-width: 640px) { .gf-maskot { width: 72px; height: 72px; } .gz-maskot { width: 128px; height: 128px; } }

/* ============ SINAV (/sinav) — sınav modüllerinin giriş sayfası ============ */
.sn-h2 { font-size: 1.25rem; margin: 6px 0 14px; color: var(--text-light); }
.sn-h2 + .sn-izgara { margin-bottom: 34px; }
.sn-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.sn-kart { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 14px; border-radius: 14px;
  background: var(--ink-800); border: 1px solid var(--line-dark); transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s; }
.sn-kart:hover, .sn-kart:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--t) 55%, transparent); }
.sn-ik { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--t); background: color-mix(in srgb, var(--t) 14%, transparent); }
.sn-ik .ik { width: 22px; height: 22px; }
.sn-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sn-txt b { font-family: var(--display); font-size: 1.05rem; color: #fff; }
.sn-txt small { color: var(--muted-light); font-size: .84rem; line-height: 1.45; }
.sn-git { flex: none; color: var(--muted-light); transition: transform .18s, color .18s; }
.sn-git svg { width: 17px; height: 17px; }
.sn-kart:hover .sn-git { color: var(--t); transform: translateX(3px); }
.oy-harita { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .oy-harita { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .oy-harita { grid-template-columns: 1fr; } }
.ok-ilk-izgara { align-items: start; }

/* ============ SIFIRDAN İNGİLİZCE (/ogren) — A1 kursu ============ */
.og-ilerleme { display: flex; align-items: center; gap: 14px; margin: 22px 0 20px; max-width: 520px; color: var(--muted-light); font-size: .88rem; }
.og-cubuk { flex: 1; height: 8px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.og-cubuk i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .6s cubic-bezier(.16,1,.3,1); }
.og-harita { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 26px 32px; }
.og-bolum h2 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.og-bolum h2 span { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--sky-bright); }
.og-bolum ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.og-satir { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink-800);
  border: 1px solid var(--line-dark); transition: border-color .15s, transform .15s; }
.og-satir:hover { border-color: rgba(95,176,236,.5); transform: translateX(2px); }
.og-no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .88rem;
  color: var(--muted-light); background: var(--ink-700); font-variant-numeric: tabular-nums; }
.og-no .ik { width: 17px; height: 17px; }
.og-satir.ok .og-no { color: var(--ink-900); background: #2ecc71; }
.og-satir.simdi { border-color: var(--gold); }
.og-satir.simdi .og-no { color: var(--ink-900); background: var(--gold); }
.og-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.og-ad b { color: #fff; font-weight: 600; }
.og-ad small { color: var(--muted-light); font-size: .82rem; }
.og-en { flex: none; color: var(--muted-light); font-size: .78rem; text-align: right; max-width: 34%; }

.og-ders { max-width: 860px; padding-top: 34px; padding-bottom: 60px; }
.og-iz { font-size: .86rem; color: var(--muted-light); margin-bottom: 18px; }
.og-iz a { color: var(--sky-bright); } .og-iz span { margin: 0 4px; opacity: .6; }
.og-dno { font-size: .82rem; font-weight: 600; color: var(--gold); }
.og-bas h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: 6px 0 8px; }
.og-alt { color: var(--muted-light); margin-bottom: 26px; }
.og-blok { margin-bottom: 30px; }
.og-blok h2 { font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.og-blok h2 .ik { color: var(--sky-bright); width: 19px; height: 19px; }
.og-anlat p { font-size: 1.04rem; line-height: 1.75; color: var(--text-light); margin-bottom: 12px; }
.og-anlat b { color: var(--gold-soft); font-weight: 600; } .og-anlat i { color: var(--sky-bright); font-style: normal; }
.og-harfler { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 16px; }
.og-harf { height: 52px; border-radius: 12px; border: 1px solid var(--line-dark); background: var(--ink-800); color: #fff;
  font: 700 1.3rem var(--display); cursor: pointer; transition: background .15s, transform .15s; }
.og-harf:hover { background: var(--ink-700); transform: translateY(-2px); } .og-harf:active { background: var(--gold); color: var(--ink-900); }
.og-kalip { width: 100%; border-collapse: collapse; border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; background: var(--ink-800); }
.og-kalip td { padding: 10px 14px; border-bottom: 1px solid var(--line-dark); vertical-align: middle; }
.og-kalip tr:last-child td { border-bottom: 0; }
.og-kalip td:first-child { color: #fff; font-weight: 600; width: 52%; }
.og-kalip td:nth-child(2) { color: var(--muted-light); }
.og-kalip td:last-child { width: 44px; text-align: right; }
.og-ses { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: none; color: var(--sky-bright); cursor: pointer; flex: none; transition: border-color .15s, color .15s; }
.og-ses svg { width: 16px; height: 16px; }
.og-ses:hover { border-color: var(--sky-bright); color: #fff; }
.og-ornek { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.og-ornek li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink-800); border: 1px solid var(--line-dark); }
.og-ornek span { display: flex; flex-direction: column; min-width: 0; }
.og-ornek b { color: #fff; font-weight: 600; font-size: 1.02rem; } .og-ornek small { color: var(--muted-light); font-size: .88rem; }
.og-kelime { display: flex; flex-wrap: wrap; gap: 8px; }
.og-kelime button { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  background: var(--ink-800); border: 1px solid var(--line-dark); color: inherit; font: inherit; }
.og-kelime button:hover { border-color: var(--sky-bright); }
.og-kelime b { color: #fff; } .og-kelime small { color: var(--muted-light); font-size: .8rem; }
.og-dikkat { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 30px; border-radius: 14px;
  background: rgba(245,182,12,.06); border: 1px solid rgba(245,182,12,.28); }
.og-dikkat > .ik { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.og-dikkat b { color: var(--gold-soft); display: block; margin-bottom: 2px; }
.og-dikkat p { color: var(--text-light); line-height: 1.65; margin: 0; }
.og-dikkat p b { display: inline; color: #fff; }
.og-alistirma { display: grid; gap: 12px; }
.og-soru { padding: 16px 18px; border-radius: 14px; background: var(--ink-800); border: 1px solid var(--line-dark); transition: border-color .2s; }
.og-soru.bitti { border-color: rgba(46,204,113,.45); }
.og-q { font-size: 1.08rem; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.og-q .ik { color: var(--sky-bright); }
.og-tr { color: var(--muted-light); font-size: .88rem; margin-top: 2px; }
.og-bosluk { display: inline-block; min-width: 56px; text-align: center; border-bottom: 2px dashed var(--muted-light); color: var(--muted-light); }
.og-bosluk.dolu { border-bottom-color: #2ecc71; color: #2ecc71; }
.og-secenek { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.og-secenek button, .og-havuz button, .og-cevap button { padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line-dark); background: var(--ink-700);
  color: #fff; font: 600 .98rem var(--body); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.og-secenek button:hover, .og-havuz button:hover { border-color: var(--sky-bright); }
.og-secenek button.dogru { background: rgba(46,204,113,.18); border-color: #2ecc71; color: #2ecc71; }
.og-secenek button.yanlis { background: rgba(224,82,82,.12); border-color: rgba(224,82,82,.5); color: #ff9b9b; cursor: default; }
.og-cevap { min-height: 50px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding: 8px 10px;
  border-radius: 12px; border: 1px dashed var(--line-dark); background: rgba(0,0,0,.12); }
.og-cevap button { background: rgba(95,176,236,.16); border-color: rgba(95,176,236,.4); }
.og-havuz { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; min-height: 40px; }
.og-diz-alt { display: flex; gap: 8px; margin-top: 12px; }
.og-kontrol, .og-sil { padding: 8px 16px; border-radius: 10px; font: 600 .9rem var(--body); cursor: pointer; }
.og-kontrol { background: var(--gold); color: var(--ink-900); border: 0; }
.og-sil { background: none; color: var(--muted-light); border: 1px solid var(--line-dark); }
.og-soru.bitti .og-diz-alt, .og-soru.bitti .og-havuz:empty { display: none; }
.og-geri { font-size: .9rem; margin-top: 8px; display: flex; align-items: center; gap: 6px; min-height: 0; }
.og-geri.ok { color: #2ecc71; } .og-geri.no { color: #ff9b9b; }
.og-sonuc { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.35);
  color: #c9f7dc; align-items: center; gap: 8px; }
.og-sonuc.on { display: flex; }
.og-sonuc .ik { color: #2ecc71; }
.og-ayak { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.og-ayak .btn { padding: 12px 18px; font-size: .92rem; white-space: normal; }
.og-gramer { color: var(--sky-bright); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .og-en { display: none; }
  .og-kalip td { padding: 9px 10px; font-size: .92rem; }
  .og-kalip td:first-child { width: auto; }
  .og-ayak { flex-direction: column; align-items: stretch; } .og-ayak .btn { justify-content: center; }
}

/* ============ YÖNETİM — düzen inceltmeleri ============ */
.btn.btn-sm { padding: 8px 14px; font-size: .84rem; border-radius: 10px; gap: 6px; }
.an-ustbar { position: sticky; top: var(--nav-h); z-index: 6; background: var(--ink-900); margin-bottom: 1.2rem; }
.an-ustbar .an-sekmeler { margin-bottom: -1px; }
.an-ustbar .an-sekme { padding: .75rem .95rem; transition: color .15s, border-color .15s; }
.an-ustbar .an-sekme:hover { color: #fff; }
.an-yonetim .page-head { margin-bottom: .6rem; }
.an-yonetim .page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.an-yonetim .page-head .lede { color: var(--muted-light); }
.an-tablo tbody tr { transition: background .12s; }
.an-tik:hover td { background: rgba(95,176,236,.06); }
.an-uye { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.an-uye > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.an-uye small { color: var(--muted-light); font-size: .78rem; }
.an-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .86rem;
  color: hsl(var(--h) 70% 82%); background: hsl(var(--h) 45% 26%); }
.an-ara:focus { outline: none; border-color: var(--sky-bright); }

/* akışkan günlük grafik (yonetim.ts › gunlukGrafik) */
.an-akis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.an-akis-y { display: flex; flex-direction: column; justify-content: space-between; height: 160px; padding-bottom: 2px;
  font-size: .7rem; color: var(--muted-light); text-align: right; font-variant-numeric: tabular-nums; }
.an-akis-g { min-width: 0; }
.an-akis-svg { display: block; width: 100%; height: 160px; border-bottom: 1px solid var(--line-dark);
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px); background-size: 100% 50%; }
.an-akis-svg .an-gsut { fill: var(--sky); opacity: .85; transition: opacity .12s; }
.an-akis-svg .an-gsut:hover { opacity: 1; fill: var(--sky-bright); }
.an-akis-svg .an-gnet { stroke-width: 2; }
.an-akis-x { display: grid; margin-top: 4px; font-size: .68rem; color: var(--muted-light); text-align: center; white-space: nowrap; }
.an-akis-x span { overflow: visible; }

/* ============ KAYDIRMA ÇUBUKLARI ============
   Chrome 121+ `scrollbar-color` tanımlıyken ::-webkit- kurallarını yok sayar; o yüzden
   renkler standart özellikle verilir, ::-webkit- yalnız eski Safari için kalır.
   Sayfanın kendi çubuğu tutulabilir genişlikte; kart içindeki kayan alanlar ince ve
   zeminsiz — eskiden koyu bir şerit gibi görünüyordu. */
* { scrollbar-width: thin; scrollbar-color: rgba(147,164,196,.35) transparent; }
*:hover { scrollbar-color: rgba(245,182,12,.55) transparent; }
::-webkit-scrollbar-track { background: transparent; }
.an-tablo td:not(:first-child) { white-space: nowrap; }

/* ============ GANZY — yeni arayüz (29 Eki 2026): ajan dosyası kartları, maskotlu ipucu balonu, vaka günlüğü ============ */
.gz-wrap { max-width: 1180px; }
.gzx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 18px; border-radius: 11px; border: 0;
  font: 700 .92rem var(--body); cursor: pointer; color: var(--ink-900); background: var(--gold); box-shadow: 0 3px 0 #b38304;
  transition: transform .08s, box-shadow .08s, filter .15s; white-space: nowrap; }
.gzx-btn:hover { filter: brightness(1.06); }
.gzx-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b38304; }
.gzx-btn .ik { width: 17px; height: 17px; }
.gzx-btn.ikincil { color: var(--text-light); background: var(--ink-700); box-shadow: 0 3px 0 #0a1222; }
.gzx-btn.ikincil:active { box-shadow: 0 1px 0 #0a1222; }
.gzx-btn.ikincil.on { color: var(--ink-900); background: var(--sky-bright); box-shadow: 0 3px 0 #2a6da3; }
.gzx-btn.kucuk { padding: 8px 13px; font-size: .84rem; }
.gzx-btn.ana { padding: 13px 22px; font-size: 1rem; }
.gzx-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.gzx-btn small { font-size: .74rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.12); }
.gzx-rozet { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--gold-soft); background: rgba(245,182,12,.1); border: 1px solid rgba(245,182,12,.25); }
.gzx-rozet .ik { width: 15px; height: 15px; }
.gzx-not { color: var(--muted-light); font-size: .9rem; line-height: 1.55; }
.gzx-not b { color: var(--text-light); }
.gzx-dedektif { display: flex; align-items: center; gap: 8px; color: var(--gold-soft); }
.gzx-yuz { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--ink-700);
  border: 2px solid var(--gold); box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.gzx-cik { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-light); font-size: .88rem; margin-left: auto; }
.gzx-cik:hover { color: var(--text-light); }
.gzx-cik .ik { width: 16px; height: 16px; }

/* üst çubuk */
.gzx-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.gzx-ust-sol, .gzx-ust-sag { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gzx-ad { display: block; font-size: .8rem; font-weight: 600; color: var(--gold); }
.gzx-kod { font-family: var(--display); font-size: 1.9rem; letter-spacing: .08em; color: #fff; line-height: 1; }
.gzx-ilerleme { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.gzx-ilerleme span { font-size: .86rem; color: var(--muted-light); }
.gzx-ilerleme b { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.gzx-ilerleme i { display: block; height: 7px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.gzx-ilerleme s { display: block; height: 100%; background: #2fbf71; border-radius: 999px; transition: width .5s cubic-bezier(.16,1,.3,1); }
.gzx-kalpler { display: flex; gap: 4px; }
.gzx-kalp { color: #ff5d6c; display: inline-flex; transition: transform .25s, color .25s; }
.gzx-kalp .ik { width: 22px; height: 22px; fill: currentColor; }
.gzx-kalp.bos { color: #3a4866; transform: scale(.88); }
.gzx-kalp.bos .ik { fill: none; }
.gzx-skor { display: flex; gap: 8px; }
.gzx-skor span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-weight: 600; font-size: .9rem;
  background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--muted-light); transition: all .2s; }
.gzx-skor b { font-family: var(--display); font-size: 1.3rem; }
.gzx-skor .red b { color: #ff7076; } .gzx-skor .blue b { color: #6db6f2; }
.gzx-skor .red.sira { color: #fff; background: rgba(229,72,77,.18); border-color: rgba(229,72,77,.6); }
.gzx-skor .blue.sira { color: #fff; background: rgba(62,143,216,.2); border-color: rgba(62,143,216,.65); }

/* sahne: tahta + vaka günlüğü */
.gzx-sahne { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.gzx-ana { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gzx-alt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gzx-olay { color: var(--muted-light); font-size: .86rem; text-align: center; }

/* ipucu balonu: maskot konuşur */
.gzx-balon, .gzx-ipucu-gir { display: flex; align-items: center; gap: 14px; }
.gzx-balon-ic, .gzx-ipucu-gir-ic { position: relative; flex: 1; min-width: 0; padding: 12px 18px; border-radius: 14px;
  background: linear-gradient(180deg, #17253f, #111b31); border: 1px solid rgba(245,182,12,.32); box-shadow: 0 10px 26px -14px rgba(0,0,0,.7); }
.gzx-balon-ic::before, .gzx-ipucu-gir-ic::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px;
  background: #15223b; border-left: 1px solid rgba(245,182,12,.32); border-bottom: 1px solid rgba(245,182,12,.32); transform: translateY(-50%) rotate(45deg); }
.gzx-balon-kim { display: block; font-size: .8rem; font-weight: 600; color: var(--muted-light); }
.gzx-ipucu { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0; }
.gzx-ipucu b { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--gold); letter-spacing: .01em; }
.gzx-say { padding: 3px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--gold); border: 1px solid rgba(245,182,12,.55); background: rgba(245,182,12,.1); }
.gzx-balon-alt { font-size: .82rem; color: var(--muted-light); }
.gzx-balon.t-red .gzx-balon-ic { border-color: rgba(229,72,77,.5); } .gzx-balon.t-red .gzx-ipucu b { color: #ff8a8e; }
.gzx-balon.t-blue .gzx-balon-ic { border-color: rgba(62,143,216,.55); } .gzx-balon.t-blue .gzx-ipucu b { color: #7cc0f5; }
.gzx-balon.bekle .gzx-balon-kim { font-size: .95rem; color: var(--text-light); }
.gzx-balon.yeni .gzx-balon-ic { animation: gzxBalon .45s cubic-bezier(.2,.9,.25,1.2); }
@keyframes gzxBalon { 0% { transform: scale(.94); opacity: .3; } 100% { transform: none; opacity: 1; } }
.gzx-satir { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gzx-satir .gz-input { flex: 1; min-width: 140px; }
.gzx-satir .gz-num { flex: 0 0 72px; min-width: 0; }
.gzx-baska { flex: none; }

/* ---- kelime kartları: ajan dosyası ---- */
.gzx-tahta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 12px; padding-top: 8px; }
.gk { position: relative; height: 78px; padding: 8px 8px 6px; border-radius: 4px 10px 10px 10px; cursor: default;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 700 1.04rem/1.15 var(--display); color: #1f2533; text-align: center;
  background: linear-gradient(180deg, #f7f0df 0%, #ebdfc2 100%); border: 1px solid #d8c69d;
  box-shadow: 0 2px 0 #c4ad7c, 0 10px 18px -12px rgba(0,0,0,.7);
  transition: transform .16s cubic-bezier(.2,.8,.2,1), box-shadow .16s, border-color .16s; }
/* dosya sekmesi */
.gk::before { content: ""; position: absolute; top: -8px; left: -1px; width: 42%; height: 9px; border-radius: 6px 8px 0 0;
  background: #f1e8d2; border: 1px solid #d8c69d; border-bottom: 0; }
/* iç çerçeve: kâğıt üstüne basılmış form çizgisi */
.gk::after { content: ""; position: absolute; inset: 5px; border-radius: 3px 7px 7px 7px; border: 1px dashed rgba(122,101,58,.28); pointer-events: none; }
.gk-no { position: absolute; top: 7px; right: 10px; font: 600 .66rem var(--body); color: #a3916a; }
.gk-en { position: relative; z-index: 1; max-width: 100%; overflow-wrap: anywhere; }
.gk-tr { position: relative; z-index: 1; font: italic 500 .74rem var(--body); opacity: .9; }
.gk-simge { position: absolute; top: 7px; left: 9px; width: 15px; height: 15px; }
.gk-sec { cursor: pointer; }
.gk-sec:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--gold); box-shadow: 0 2px 0 #c4ad7c, 0 18px 26px -14px rgba(0,0,0,.8); }
.gk-sec:active { transform: translateY(-1px); }
.gk-q { cursor: help; }
.gk-q:hover { border-color: var(--sky-bright); transform: translateY(-2px); }
.gk:disabled { opacity: 1; }
/* dedektifin gördüğü renkler (henüz açılmamış) */
.gk-i-kirmizi { background: linear-gradient(180deg, #fbe1df, #f2c4c0); border-color: #e5484d; }
.gk-i-kirmizi::before { background: #f9d7d4; border-color: #e5484d; }
.gk-i-mavi { background: linear-gradient(180deg, #dfeefb, #c3dcf3); border-color: #3e8fd8; }
.gk-i-mavi::before { background: #d6e8f8; border-color: #3e8fd8; }
.gk-i-suikast { background: linear-gradient(180deg, #4a4f5c, #2c303a); border-color: #11141c; color: #f3f3f3; }
.gk-i-suikast::before { background: #444955; border-color: #11141c; }
/* açılmış kartlar: damgalı dosya */
.gk-acik { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 18px -12px rgba(0,0,0,.8); }
.gk-acik::after { border-color: rgba(255,255,255,.28); }
.gk-acik .gk-no { color: rgba(255,255,255,.6); }
.gk-kirmizi { background: linear-gradient(180deg, #ef5a5f, #d63d43); border-color: #b92f35; }
.gk-kirmizi::before { background: #ec5257; border-color: #b92f35; }
.gk-mavi { background: linear-gradient(180deg, #4d9be2, #2f7dc6); border-color: #2668a8; }
.gk-mavi::before { background: #4794dc; border-color: #2668a8; }
.gk-dogru { background: linear-gradient(180deg, #36c97b, #23a861); border-color: #1d8d51; }
.gk-dogru::before { background: #33c276; border-color: #1d8d51; }
.gk-tarafsiz { color: #3a3426; background: linear-gradient(180deg, #d9cca7, #c4b48a); border-color: #a8976b; }
.gk-tarafsiz::before { background: #d4c6a0; border-color: #a8976b; }
.gk-tarafsiz .gk-no { color: rgba(58,52,38,.55); }
.gk-tarafsiz::after { border-color: rgba(58,52,38,.25); }
.gk-suikast { background: linear-gradient(180deg, #2a2e38, #12151c); border-color: #000; }
.gk-suikast::before { background: #262a33; border-color: #000; }
.gk-suikast .gk-simge { color: var(--gold); }
/* animasyonlar: çevrilerek açılma, doğruda sevinç, yanlışta sallanma */
.gk-yeni { animation: gkCevir .55s cubic-bezier(.2,.9,.25,1.15) both; }
.gk-yeni.gk-dogru-anim { animation: gkCevir .55s cubic-bezier(.2,.9,.25,1.15) both, gkPop .32s .55s ease-out; }
.gk-yeni.gk-yanlis-anim { animation: gkCevir .55s cubic-bezier(.2,.9,.25,1.15) both, gkSalla .36s .55s ease-in-out; }
@keyframes gkCevir { 0% { transform: perspective(700px) rotateY(-90deg) scale(.95); } 65% { transform: perspective(700px) rotateY(10deg); } 100% { transform: none; } }
@keyframes gkPop { 50% { transform: scale(1.07); } }
@keyframes gkSalla { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .gk-yeni, .gzx-balon.yeni .gzx-balon-ic { animation: none; } }

/* vaka günlüğü */
.gzx-gunluk { position: sticky; top: calc(var(--nav-h) + 16px); margin-top: 30px; padding: 18px 16px 16px; border-radius: 16px;
  background: var(--ink-800); border: 1px solid var(--line-dark); max-height: calc(100vh - var(--nav-h) - 60px); overflow-y: auto; }
.gzx-gunluk-maskot { position: absolute; top: -2px; right: 8px; width: 64px; height: 64px; object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.gzx-gunluk h3 { font-size: 1.05rem; color: #fff; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.gzx-gunluk-bos { color: var(--muted-light); font-size: .88rem; line-height: 1.55; }
.gzx-k-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gzx-k { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.gzx-k.son { border-color: rgba(245,182,12,.4); background: rgba(245,182,12,.05); }
.gzx-k.gecildi { opacity: .6; }
.gzx-k-bas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gzx-k-bas b { font-family: var(--display); font-size: 1.05rem; color: var(--gold); }
.gzx-k.t-red .gzx-k-bas b { color: #ff8a8e; } .gzx-k.t-blue .gzx-k-bas b { color: #7cc0f5; }
.gzx-k-say { font-size: .74rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--gold); border: 1px solid rgba(245,182,12,.45); }
.gzx-k-takim, .gzx-k-gec { font-size: .74rem; color: var(--muted-light); display: inline-flex; align-items: center; gap: 4px; }
.gzx-k-gec .ik { width: 12px; height: 12px; }
.gzx-k-t { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.gzx-k-t li { display: flex; align-items: baseline; gap: 6px; font-size: .86rem; color: var(--text-light); }
.gzx-k-t li .ik { width: 14px; height: 14px; flex: none; align-self: center; }
.gzx-k-t small { color: var(--muted-light); font-size: .76rem; }
.gzx-k-t .r-dogru .ik { color: #2fbf71; } .gzx-k-t .r-kirmizi .ik { color: #ff7076; } .gzx-k-t .r-mavi .ik { color: #6db6f2; }
.gzx-k-t .r-tarafsiz .ik { color: #c9b98f; } .gzx-k-t .r-suikast .ik { color: var(--gold); }
.gzx-k-bos { margin-top: 6px; font-size: .8rem; color: var(--muted-light); }

/* oyun sonu */
.gzx-son { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--ink-800);
  border: 1px solid var(--line-dark); flex-wrap: wrap; animation: gzxBalon .45s cubic-bezier(.2,.9,.25,1.2); }
.gzx-son img { width: 64px; height: 64px; object-fit: contain; }
.gzx-son > div { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.gzx-son b { font-family: var(--display); font-size: 1.35rem; color: #fff; }
.gzx-son span { color: var(--muted-light); font-size: .9rem; }
.gzx-son.kazandi { border-color: rgba(47,191,113,.55); background: rgba(47,191,113,.08); }
.gzx-son.kaybetti { border-color: rgba(255,107,107,.45); }
.gzx-son.red { border-color: rgba(229,72,77,.6); background: rgba(229,72,77,.08); }
.gzx-son.blue { border-color: rgba(62,143,216,.6); background: rgba(62,143,216,.08); }

/* izleyici katılım çubuğu */
.gzx-izle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--muted-light); font-size: .88rem; }
.gzx-katil { display: inline-flex; align-items: center; gap: 6px; }
.gzx-katil.red b { color: #ff7076; } .gzx-katil.blue b { color: #6db6f2; }

/* giriş */
.gzx-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin: 10px 0 28px; }
.gzx-hero-maskot { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.gzx-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 4px 0 10px; }
.gzx-hero p { color: var(--muted-light); max-width: 58ch; line-height: 1.65; }
.gzx-giris { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.gzx-giris-kart { padding: 22px; border-radius: 18px; background: var(--ink-800); border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.gzx-giris-kart.tek { border-color: rgba(245,182,12,.4); background: linear-gradient(180deg, rgba(245,182,12,.06), transparent 60%), var(--ink-800); }
.gzx-giris-kart > .gzx-btn { margin-top: auto; width: 100%; }
.gzx-giris-bas { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.gzx-giris-bas h2 { font-size: 1.3rem; color: #fff; }
.gzx-giris-bas p { color: var(--muted-light); font-size: .9rem; line-height: 1.5; margin-top: 3px; }
.gzx-giris-ik { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--sky-bright); background: rgba(95,176,236,.12); }
.gzx-giris-ik .ik { width: 24px; height: 24px; }
.gzx-alan { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.gzx-alan span { font-size: .82rem; font-weight: 600; color: var(--muted-light); }
.gzx-alan.satir { flex-direction: row; align-items: center; margin: 0; }
.gzx-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gzx-iki > div { display: flex; flex-direction: column; }
.gzx-iki .gzx-btn { width: 100%; margin-top: auto; }

/* lobi */
.gzx-takimlar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.gzx-takim { border-radius: 16px; background: var(--ink-800); border: 1px solid var(--line-dark); overflow: hidden; display: flex; flex-direction: column; }
.gzx-takim-bas { padding: 12px 16px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.gzx-takim.red .gzx-takim-bas { background: linear-gradient(180deg, rgba(229,72,77,.35), rgba(229,72,77,.15)); }
.gzx-takim.blue .gzx-takim-bas { background: linear-gradient(180deg, rgba(62,143,216,.38), rgba(62,143,216,.15)); }
.gzx-takim ul { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; flex: 1; }
.gzx-oy { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); color: var(--text-light); }
.gzx-oy .ik { width: 16px; height: 16px; color: var(--muted-light); }
.gzx-oy.dedektif .ik { color: var(--gold); }
.gzx-oy small { margin-left: auto; color: var(--muted-light); font-size: .78rem; }
.gzx-oy.ben { outline: 1px solid rgba(245,182,12,.4); }
.gzx-oy.bos { color: var(--muted-light); font-size: .86rem; background: none; }
.gzx-takim-btn { display: flex; gap: 8px; padding: 0 12px 14px; flex-wrap: wrap; }
.gzx-dolu { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted-light); padding: 8px 4px; }
.gzx-dolu .ik { width: 15px; height: 15px; }
.gzx-eylem { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 960px) {
  .gzx-sahne { grid-template-columns: 1fr; }
  .gzx-gunluk { position: relative; top: auto; max-height: 320px; margin-top: 24px; }
}
@media (max-width: 720px) {
  .gzx-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10px; }
  .gzx-hero-maskot { width: 150px; height: 150px; }
  .gzx-giris, .gzx-takimlar { grid-template-columns: 1fr; }
  .gzx-tahta { gap: 13px 6px; }
  .gk { height: 60px; padding: 6px 3px 4px; font-size: .8rem; border-radius: 3px 7px 7px 7px; }
  .gk::before { top: -6px; height: 7px; }
  .gk::after { inset: 3px; }
  .gk-no { display: none; }
  .gk-tr { font-size: .64rem; }
  .gk-simge { top: 4px; left: 4px; width: 12px; height: 12px; }
  .gzx-balon, .gzx-ipucu-gir { flex-wrap: wrap; }
  .gzx-yuz { width: 44px; height: 44px; }
  .gzx-balon .gzx-baska, .gzx-balon > .gzx-btn { width: 100%; }
  .gzx-ust-sag { width: 100%; }
}

/* Ganzy büyüteç: kartların Türkçesi yalnız mercek dairesinde görünür */
.gzx-tahta-kap { position: relative; --mx: 50%; --my: 50%; --mr: 84px; }
.gzx-tahta-kap.aktif { cursor: zoom-in; }
.gzx-mercek-katman { position: absolute; inset: 0; pointer-events: none; z-index: 3; clip-path: circle(0 at var(--mx) var(--my)); }
.gzx-tahta-kap.aktif .gzx-mercek-katman { clip-path: circle(var(--mr) at var(--mx) var(--my)); }
.gk-mercek { color: var(--gold-soft); background: radial-gradient(circle at 50% 40%, #1d2c4b, #0e1628); border-color: rgba(245,182,12,.55);
  box-shadow: inset 0 0 22px rgba(245,182,12,.12); }
.gk-mercek::before { background: #182644; border-color: rgba(245,182,12,.55); }
.gk-mercek::after { border-color: rgba(245,182,12,.25); }
.gk-mercek-tr { font: 800 1.05rem/1.15 var(--display); color: var(--gold); }
.gk-mercek-en { font: 500 .72rem var(--body); color: var(--muted-light); }
.gzx-mercek-halka { position: absolute; left: var(--mx); top: var(--my); width: calc(var(--mr) * 2); height: calc(var(--mr) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid rgba(245,182,12,.9); pointer-events: none; z-index: 4; opacity: 0;
  box-shadow: 0 0 0 2px rgba(14,22,40,.6), inset 0 0 26px rgba(245,182,12,.15), 0 14px 30px -8px rgba(0,0,0,.6); transition: opacity .15s; }
.gzx-mercek-halka::after { content: ""; position: absolute; width: 5px; height: 44px; border-radius: 3px; background: linear-gradient(#f5b60c, #b38304);
  right: 6px; bottom: -38px; transform: rotate(-42deg); transform-origin: top; }
.gzx-tahta-kap.aktif .gzx-mercek-halka { opacity: 1; }
.gzx-mercek-not { display: flex; align-items: center; gap: 8px; }
.gzx-mercek-not .ik { color: var(--gold); }
@media (max-width: 720px) {
  .gzx-tahta-kap { --mr: 58px; }
  .gk-mercek-tr { font-size: .78rem; }
  .gk-mercek-en { font-size: .6rem; }
}
/* Ganzy: phrasal verb gibi uzun kart yazıları */
.gk.gk-uzun { font-size: .92rem; }
.gk.gk-cokuzun { font-size: .8rem; line-height: 1.1; }
@media (max-width: 720px) { .gk.gk-uzun { font-size: .7rem; } .gk.gk-cokuzun { font-size: .62rem; } }
/* Ganzy — kendi kelime listesi (oda kurarken) */
.gzx-ozel { margin-top: 14px; border-top: 1px solid var(--line, rgba(127,127,127,.2)); padding-top: 4px; }
.gzx-ozel-metin { width: 100%; min-height: 150px; resize: vertical; font: inherit; font-size: .9rem; line-height: 1.5; }
.gzx-ozel .gzx-not { margin: 0; }
.gzx-ozel .gzx-not.tamam { color: #16a34a; }
.gzx-ozel .gzx-not.hata { color: #dc2626; }

/* Ganzy — profesyonel lobi + oyun çubuğu (15 Kas 2026): marka çubuğu, VS'li takım kartları, Inspector yuvası,
   baş harf rozetleri, hazırlık durumu, kalan kelime çubuklu puan tablosu, sıra göstergesi */
.gzx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 16px;
  padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--ink-800);
  box-shadow: 0 14px 30px -22px rgba(0,0,0,.8); }
.gzx-marka { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gzx-marka .gzx-yuz { width: 40px; height: 40px; }
.gzx-marka b { display: block; font: 800 1.15rem/1.05 var(--display); color: var(--text-light); letter-spacing: .01em; }
.gzx-marka span { display: block; font-size: .76rem; color: var(--muted-light); }
.gzx-bar-sag { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gzx-cip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--muted-light); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.gzx-cip b { color: var(--text-light); letter-spacing: .06em; font-family: var(--mono); }
.gzx-cip .ik { width: 14px; height: 14px; color: var(--gold); }
.gzx-lobi-not { margin: 0 2px 4px; }

/* takımlar: kırmızı | VS | mavi */
.gzx-takimlar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.gzx-vs { align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font: 800 .95rem var(--display); color: var(--gold); background: var(--ink-900); border: 2px solid rgba(245,182,12,.45);
  box-shadow: 0 0 0 6px rgba(245,182,12,.06); }
.gzx-takim { position: relative; transition: border-color .2s, box-shadow .2s; }
.gzx-takim.red { border-color: rgba(229,72,77,.35); }
.gzx-takim.blue { border-color: rgba(62,143,216,.38); }
.gzx-takim.benim.red { box-shadow: 0 0 0 1px rgba(229,72,77,.7), 0 18px 34px -24px rgba(229,72,77,.8); }
.gzx-takim.benim.blue { box-shadow: 0 0 0 1px rgba(62,143,216,.75), 0 18px 34px -24px rgba(62,143,216,.8); }
.gzx-takim-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gzx-takim-bas small { font: 600 .76rem var(--body); color: rgba(255,255,255,.75); }
.gzx-takim ul.gzx-takim-dedektif { flex: none; padding-bottom: 2px; }
.gzx-takim-ara { padding: 4px 14px 0; font-size: .76rem; font-weight: 700; color: var(--muted-light); }
.gzx-oy { min-height: 38px; }
.gzx-oy span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gzx-oy.dedektif { background: linear-gradient(90deg, rgba(245,182,12,.12), rgba(245,182,12,.03)); }
.gzx-oy.dedektif small { color: var(--gold-soft); }
.gzx-oy.yuva { border: 1px dashed rgba(245,182,12,.4); background: none; color: var(--muted-light); }
.gzx-oy.yuva .gzx-btn { margin-left: auto; }
.gzx-oy.ben { outline: 0; box-shadow: inset 0 0 0 1px rgba(245,182,12,.45); }
.gzx-av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 800 .78rem var(--display); font-style: normal;
  color: #fff; background: #3a4866; }
.gzx-av .ik { width: 14px; height: 14px; color: var(--gold); }
.gzx-takim.red .gzx-av { background: linear-gradient(180deg, #ef5a5f, #c2353b); }
.gzx-takim.blue .gzx-av { background: linear-gradient(180deg, #4d9be2, #2a6fb2); }
.gzx-takim .gzx-oy.yuva .gzx-av { background: rgba(245,182,12,.12); }
.gzx-sen { font-style: normal; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; color: var(--ink-900); background: var(--gold); }
.gzx-takim-btn .gzx-btn { width: 100%; }

.gzx-izleyen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; font-size: .84rem; color: var(--muted-light); }
.gzx-izleyen > span:first-child { font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.gzx-izleyen-k { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark); color: var(--text-light); }
.gzx-izleyen-k .gzx-av { width: 22px; height: 22px; font-size: .7rem; }
.gzx-izleyen-k.ben { border-color: rgba(245,182,12,.45); }

.gzx-baslat { justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line-dark); }
.gzx-hazirlar { display: flex; gap: 8px; flex-wrap: wrap; }
.gzx-hazir { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--muted-light); border: 1px solid var(--line-dark); }
.gzx-hazir .ik { width: 14px; height: 14px; }
.gzx-hazir.tamam { color: #fff; border-color: transparent; }
.gzx-hazir.tamam.red { background: rgba(229,72,77,.35); }
.gzx-hazir.tamam.blue { background: rgba(62,143,216,.38); }
.gzx-baslat .gzx-cik { margin-left: 0; }
.gzx-baslat .gzx-not { display: inline-flex; align-items: center; gap: 6px; }
.gzx-baslat .gzx-not .ik { width: 15px; height: 15px; }

/* oyun çubuğu: puan tablosu + sıra */
.gzx-bar.oyun { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
.gzx-puan { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.gzx-puan-k { display: flex; flex-direction: column; gap: 5px; min-width: 120px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line-dark);
  font-size: .82rem; color: var(--muted-light); transition: background .25s, border-color .25s; }
.gzx-puan-k b { font: 800 1.3rem/1 var(--display); }
.gzx-puan-k.red b { color: #ff7076; }
.gzx-puan-k.blue b { color: #6db6f2; }
.gzx-puan-k i { display: block; height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.gzx-puan-k s { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.16,1,.3,1); }
.gzx-puan-k.red s { background: #e5484d; }
.gzx-puan-k.blue s { background: #3e8fd8; }
.gzx-puan-k.red.sira { color: #fff; background: rgba(229,72,77,.16); border-color: rgba(229,72,77,.6); }
.gzx-puan-k.blue.sira { color: #fff; background: rgba(62,143,216,.18); border-color: rgba(62,143,216,.65); }
.gzx-sira { flex: none; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; white-space: nowrap; }
.gzx-sira.red { background: #e5484d; animation: gzxNabizK 2s infinite; }
.gzx-sira.blue { background: #3e8fd8; animation: gzxNabizM 2s infinite; }
.gzx-sira.bitti { color: var(--ink-900); background: var(--gold); }
@keyframes gzxNabizK { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(229,72,77,0); } }
@keyframes gzxNabizM { 0% { box-shadow: 0 0 0 0 rgba(62,143,216,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(62,143,216,0); } }
@media (prefers-reduced-motion: reduce) { .gzx-sira { animation: none !important; } }
@media (max-width: 860px) {
  .gzx-bar.oyun { grid-template-columns: 1fr auto; }
  .gzx-bar.oyun .gzx-puan { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 720px) {
  .gzx-takimlar { grid-template-columns: 1fr; }
  .gzx-vs { justify-self: center; width: 38px; height: 38px; font-size: .82rem; }
  .gzx-puan-k { min-width: 0; flex: 1; }
  .gzx-baslat { justify-content: flex-start; }
}

/* Ganzy — resimli kartlar (15 Kas 2026): her kartta sözcüğün anlam çizimi (kelimeCizim.ts). Kapalı kartta
   çizim kâğıt dosyanın içinde; açılınca kart takım rengine döner, çizim beyaz çerçevede kalır; suikastçı
   karartılır, tarafsız solar. Kalemle çizilme girişi kapalı: tahta her güncellemede yeniden çizilmesin. */
.gk { height: 128px; justify-content: flex-end; padding: 7px 7px 8px; gap: 2px; }
.gk-res { position: relative; z-index: 1; display: block; width: 100%; flex: 1 1 auto; min-height: 0; margin-bottom: 3px;
  border-radius: 6px; overflow: hidden; background: #fbf7ee; box-shadow: inset 0 0 0 1px rgba(122,101,58,.18); }
.gk-res:empty { background: none; box-shadow: none; }
.gk-res .kc { display: block; width: 100%; height: 100%; }
.gk-resimsiz { justify-content: center; }
.gk-resimsiz .gk-res { display: none; }
.gk .gk-en { font-size: .98rem; line-height: 1.1; }
.gk.gk-uzun .gk-en { font-size: .86rem; }
.gk.gk-cokuzun .gk-en { font-size: .76rem; }
.gk .gk-tr { font-size: .7rem; line-height: 1.1; }
.gk-no { z-index: 2; top: 10px; right: 12px; padding: 0 4px; border-radius: 4px; background: rgba(251,247,238,.85); }
/* çizimler sakin: giriş animasyonu yok, döngüler sürer */
.gk .kc-cizgi > * { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
.gk .kc-giris { animation: none !important; }
.gk .kc-iliski { opacity: 1 !important; animation: none !important; }
.gk-sec:hover .gk-res { box-shadow: inset 0 0 0 2px rgba(245,182,12,.65); }
/* dedektifin renkli görünümü: çizim kâğıt rengini alır */
.gk-i-kirmizi .gk-res { box-shadow: inset 0 0 0 2px rgba(229,72,77,.55); }
.gk-i-mavi .gk-res { box-shadow: inset 0 0 0 2px rgba(62,143,216,.6); }
.gk-i-suikast .gk-res { filter: grayscale(1) brightness(.8); box-shadow: inset 0 0 0 2px #11141c; }
/* açılmış kartlar */
.gk-acik .gk-res { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 6px 14px -8px rgba(0,0,0,.6); }
.gk-acik.gk-tarafsiz .gk-res { filter: sepia(.45) saturate(.7); box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.gk-acik.gk-suikast .gk-res { filter: grayscale(1) brightness(.5) contrast(1.1); box-shadow: 0 0 0 2px #000; }
.gk-acik.gk-suikast .gk-res::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, transparent 30%, rgba(0,0,0,.55)); }
.gk-acik .gk-simge { z-index: 3; top: 10px; left: 11px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(0,0,0,.45); }
.gk-mercek { height: 128px; }
@media (max-width: 720px) {
  .gk, .gk-mercek { height: 100px; padding: 5px 4px 5px; }
  .gk .gk-en { font-size: .78rem; }
  .gk.gk-uzun .gk-en { font-size: .68rem; }
  .gk.gk-cokuzun .gk-en { font-size: .6rem; }
  .gk .gk-tr { font-size: .6rem; }
  .gk-res { border-radius: 4px; margin-bottom: 1px; }
}

/* Ganzy — oyun arayüzü (16 Kas 2026): dedektif masası (yeşil çuha, maun çerçeve, lamba ışığı), kapalı kartta boş
   delil fotoğrafı yeri, açılınca mühür + CEFR etiketi, sıra bandı, konfeti, "Resimli kartlar" modu, ses düğmesi */
.gz:has(.gzx-masa) { background: radial-gradient(1100px 520px at 50% 0, rgba(245,182,12,.07), transparent 70%); }
.gzx-masa { position: relative; padding: 22px 20px 24px; border-radius: 24px;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(255,222,140,.24), transparent 58%),
    radial-gradient(140% 120% at 50% 120%, rgba(0,0,0,.45), transparent 60%),
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    #1c4a3c;
  border: 12px solid #5a2e1e;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), inset 0 18px 40px rgba(0,0,0,.35), 0 3px 0 #3d1e13, 0 26px 50px -24px rgba(0,0,0,.9); }
.gzx-masa::before { content: ""; position: absolute; left: 50%; top: -12px; width: 180px; height: 6px; transform: translateX(-50%);
  border-radius: 0 0 8px 8px; background: linear-gradient(90deg, transparent, #f5b60c, transparent); opacity: .7; }
.gzx-masa .gzx-tahta { padding-top: 10px; }

/* kapalı kart: delil fotoğrafının yeri boş (büyüteç izi) */
.gk-res.gk-kapali { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8a477' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E") center / 30px no-repeat,
    repeating-linear-gradient(-45deg, rgba(122,101,58,.08) 0 6px, transparent 6px 12px), #efe4c8;
  box-shadow: inset 0 0 0 1px rgba(122,101,58,.25); opacity: .9; }
.gk-sec:hover .gk-res.gk-kapali { opacity: 1; box-shadow: inset 0 0 0 2px rgba(245,182,12,.6); }

/* mühür: açılan kartın üstüne basılır */
.gk-muhur { position: absolute; z-index: 4; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-9deg);
  padding: 2px 8px 1px; border: 2px solid currentColor; border-radius: 5px; font: 700 .7rem/1 'Space Mono', monospace; letter-spacing: .08em;
  color: #fff; background: rgba(255,255,255,.12); mix-blend-mode: normal; pointer-events: none; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset; }
.gk-kirmizi .gk-muhur { color: #fff; background: rgba(200,51,58,.85); }
.gk-mavi .gk-muhur { color: #fff; background: rgba(45,111,182,.88); }
.gk-dogru .gk-muhur { color: #fff; background: rgba(29,141,81,.88); }
.gk-tarafsiz .gk-muhur { color: #4a3f25; background: rgba(241,230,204,.9); }
.gk-suikast .gk-muhur { color: #fff; background: rgba(17,20,28,.92); border-color: #f5b60c; }
.gk-yeni .gk-muhur { animation: gkMuhur .42s .5s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes gkMuhur { 0% { transform: translate(-50%, -50%) rotate(-24deg) scale(2.4); opacity: 0; } 100% { transform: translate(-50%, -50%) rotate(-9deg) scale(1); opacity: 1; } }

/* CEFR etiketi: açılan kartta sağ üst */
.gk-acik .gk-no { display: none; }
.gk-sev { position: absolute; z-index: 5; top: 9px; right: 10px; padding: 2px 7px; border-radius: 6px; font: 800 .72rem/1.2 var(--display);
  color: #fff; background: #3a4866; box-shadow: 0 2px 6px -2px rgba(0,0,0,.6); }
.gk-sev.s-a1, .gk-sev.s-a2 { background: #1d8d51; }
.gk-sev.s-b1, .gk-sev.s-b2 { background: #2d6fb6; }
.gk-sev.s-c1, .gk-sev.s-c2 { background: #7a4bc2; }

/* sıra bandı */
.gzx-band { position: fixed; z-index: 9998; left: 0; right: 0; top: 34%; display: flex; justify-content: center; pointer-events: none;
  animation: gzxBand 1.9s cubic-bezier(.2,.8,.2,1) both; }
.gzx-band span { padding: 16px 46px; transform: skewX(-8deg); font: 800 clamp(1.4rem, 3.6vw, 2.4rem) var(--display); color: #fff;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.8); border-top: 3px solid rgba(255,255,255,.35); }
.gzx-band.red span { background: linear-gradient(90deg, #b92f35, #e5484d); }
.gzx-band.blue span { background: linear-gradient(90deg, #2668a8, #3e8fd8); }
@keyframes gzxBand { 0% { transform: translateX(-110%); opacity: 0; } 18% { transform: translateX(0); opacity: 1; } 78% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }

/* konfeti */
.gzx-konfeti { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.gzx-konfeti i { position: absolute; top: -24px; border-radius: 2px; animation: gzxDus 3.2s cubic-bezier(.3,.6,.5,1) forwards; }
@keyframes gzxDus { to { transform: translate(var(--x), 108vh) rotate(var(--r)); } }

/* "Resimli kartlar" seçimi, lobi çipi, ses düğmesi */
.gzx-onay { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 12px; cursor: pointer; }
.gzx-onay input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.gzx-onay b { display: block; font-size: .9rem; color: var(--text-light); }
.gzx-onay small { display: block; font-size: .8rem; color: var(--muted-light); }
.gzx-cip-dug { cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; }
.gzx-cip-dug.on { color: var(--ink-900); background: var(--gold); border-color: transparent; }
.gzx-cip-dug.on .ik { color: var(--ink-900); }
.gzx-ses { padding: 8px 10px; }
@media (prefers-reduced-motion: reduce) { .gzx-band { animation-duration: 1.2s; } .gk-yeni .gk-muhur { animation: none; } }
@media (max-width: 720px) {
  .gzx-masa { padding: 12px 8px 14px; border-width: 8px; border-radius: 16px; }
  .gk-muhur { font-size: .62rem; padding: 2px 5px 1px; border-width: 2px; }
  .gk-sev { top: 5px; right: 5px; font-size: .58rem; padding: 1px 4px; }
}

/* Büyüteçle Pratik (/words/lens) */
.bp { max-width: 760px; }
.bp-ust { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bp-kaynaklar { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-kaynak, .bp-yon button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--muted-light); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.bp-kaynak svg { width: 15px; height: 15px; }
.bp-kaynak.on, .bp-yon button.on { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.bp-yon { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line-dark); border-radius: 999px; background: var(--ink-800); }
.bp-yon button { border: 0; background: transparent; padding: 6px 12px; }
.bp-kart { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 18px; padding: 22px 24px 24px; }
.bp-bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted-light); font-size: .85rem; font-weight: 600; }
.bp-olcu { display: inline-flex; align-items: center; gap: 8px; }
.bp-olcu-cubuk { width: 110px; height: 7px; border-radius: 99px; background: var(--ink-700); overflow: hidden; }
.bp-olcu-cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22c55e, #f5b60c 55%, #ef4444); transition: width .15s; }
.bp-olcu b { min-width: 38px; text-align: right; color: var(--text-light); font-variant-numeric: tabular-nums; }
.bp-soru { margin: 18px 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.2; color: var(--text-light); }
.bp-soru.uzun { font-size: clamp(1.1rem, 2.6vw, 1.45rem); line-height: 1.4; }
.bp-ses { border: 0; background: none; color: var(--muted-light); cursor: pointer; vertical-align: middle; padding: 2px; }
.bp-ses svg { width: 20px; height: 20px; }
.bp-cevap { position: relative; display: block; padding: 22px 20px; border-radius: 14px; border: 1px dashed var(--line-dark); background: var(--ink-700);
  font-size: clamp(1.1rem, 2.8vw, 1.4rem); font-weight: 700; line-height: 1.45; cursor: zoom-in; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.bp-bulanik { color: var(--muted-light); filter: blur(7px); opacity: .55; }
.bp-net { position: absolute; inset: 22px 20px; color: var(--gold); clip-path: circle(0 at 0 0); }
.bp-halka { position: absolute; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(245,182,12,.15); pointer-events: none; opacity: 0; transition: opacity .15s; }
.bp-cevap.aktif .bp-halka { opacity: 1; }
.bp-cevap.acik { cursor: default; border-style: solid; }
.bp-cevap.acik .bp-bulanik { visibility: hidden; }
.bp-cevap.acik .bp-halka { display: none; }
.bp-ipucu { display: flex; gap: 6px; align-items: center; color: var(--muted-light); font-size: .84rem; margin: 10px 0 0; }
.bp-ipucu svg { width: 15px; height: 15px; flex: none; }
.bp-yorum { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink-700); }
.bp-yorum p { margin: 6px 0 0; color: var(--muted-light); font-size: .92rem; }
.bp-yorum.tam b, .bp-liste li.tam small { color: #22c55e; }
.bp-yorum.iyi b { color: #84cc16; }
.bp-yorum.orta b, .bp-liste li.orta small { color: #f5b60c; }
.bp-yorum.zayif b, .bp-liste li.zayif small { color: #fb923c; }
.bp-yorum.yok b, .bp-liste li.yok small { color: #ef4444; }
.bp-eylem { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bp-eylem .btn svg { width: 17px; height: 17px; vertical-align: -3px; }
.bp-ozet h2 { margin: 0 0 14px; }
.bp-sayilar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bp-sayilar div { background: var(--ink-700); border-radius: 12px; padding: 12px; text-align: center; }
.bp-sayilar b { display: block; font-size: 1.5rem; color: var(--text-light); }
.bp-sayilar span { font-size: .78rem; color: var(--muted-light); }
.bp-liste { list-style: none; padding: 0; margin: 16px 0 0; }
.bp-liste li { display: grid; grid-template-columns: 1fr 1fr 104px; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line-dark); font-size: .9rem; }
.bp-liste li span:first-child { color: var(--text-light); font-weight: 600; }
.bp-liste li span:nth-child(2) { color: var(--muted-light); }
.bp-liste small { font-weight: 700; white-space: nowrap; text-align: right; }
@media (max-width: 600px) {
  .bp-kart { padding: 18px 16px 20px; }
  .bp-sayilar { grid-template-columns: repeat(2, 1fr); }
  .bp-liste li { grid-template-columns: 1fr 96px; }
  .bp-liste li span:nth-child(2) { grid-column: 1; }
  .bp-olcu-ad { display: none; }
  .bp-olcu-cubuk { width: 80px; }
}

/* Ganzy — kayıtlı listeler + Excel; kutu açılınca soldaki kart uzamasın */
.gzx-giris:has(.gzx-ozel:not([hidden])) { align-items: start; }
.gzx-ozel-ust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gzx-ozel-ust .gzx-alan { margin-bottom: 0; }
.gzx-ozel-btn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gzx-ozel-btn .gzx-btn { width: auto; margin: 0; }
.gzx-dosya { cursor: pointer; }
.gzx-ozel-ipucu { font-size: .8rem; opacity: .8; margin-top: 8px !important; }
#gzListeMesaj:empty { display: none; }
#gzListeMesaj { margin-top: 8px; }
#gzListeMesaj.tamam { color: #16a34a; }
#gzListeMesaj.hata { color: #dc2626; }
@media (max-width: 600px) { .gzx-ozel-ust { grid-template-columns: 1fr; } }

/* Yönetim › Ganzy listeleri */
.an-gl { display: flex; flex-direction: column; gap: 8px; }
.an-gl-kart { border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink-800); }
.an-gl-kart summary { display: grid; grid-template-columns: minmax(0, 2fr) 90px minmax(0, 2fr) 130px; gap: 12px; align-items: center; padding: 11px 14px; cursor: pointer; list-style: none; font-size: .9rem; }
.an-gl-kart summary::-webkit-details-marker { display: none; }
.an-gl-kart summary span { color: var(--muted-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-gl-kart[open] summary { border-bottom: 1px solid var(--line-dark); }
.an-gl-kart ol { columns: 3 220px; margin: 0; padding: 12px 14px 14px 36px; font-size: .86rem; color: var(--muted-light); }
.an-gl-kart li b { color: var(--text-light); font-weight: 600; }
@media (max-width: 700px) { .an-gl-kart summary { grid-template-columns: 1fr auto; } .an-gl-kart summary span:nth-child(3), .an-gl-kart summary span:nth-child(4) { display: none; } }

/* Gramer Alıştırması (/grammar/practice) */
.ga { max-width: 820px; }
.ga-alt { margin-top: 18px; font-size: .9rem; }

/* Kelime Alıştırması (/words/practice) */
.ka { max-width: 820px; }
.ka .bp-ust { margin-bottom: 14px; }
/* Gramer Alıştırması: kip sekmeleri */
.ga-kipler { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line, rgba(127,127,127,.25)); margin-bottom: 14px; }
.ga-kip { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; opacity: .7; }
.ga-kip.on { background: #0f6f6a; color: #fff; opacity: 1; }

/* Kelimeler: kategori ikonları (emoji yerine SVG) */
.vc-emoji svg { width: 19px; height: 19px; vertical-align: middle; color: var(--accent, currentColor); }

/* Sınav çözümlemesi: yükleniyor göstergesi + İngilizce arayüz notu */
.sa-yukleniyor { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40vh; font-size: 1rem; }
.sa-donen { width: 26px; height: 26px; border-radius: 50%; border: 3px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: var(--c-teal, #2fc6c0); animation: spin 0.8s linear infinite; flex: none; }
.sa-dilnot { font-size: 0.86rem; color: var(--muted-light); font-style: italic; margin: -4px 0 14px; }

/* Giriş: şifreyi göster/gizle */
.auth-sifre { position: relative; }
.auth-sifre input { padding-right: 46px; }
.auth-goz { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 8px; color: var(--muted-light); cursor: pointer; }
.auth-goz:hover, .auth-goz:focus-visible { color: var(--text-light); }
.auth-goz svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-goz .goz-kapali, .auth-goz[aria-pressed="true"] .goz-acik { display: none; }
.auth-goz[aria-pressed="true"] .goz-kapali { display: block; }
/* Gramer kitabı: okunan dersler */
.toc-row .okundu-isaret { color: var(--c-mint, #34d3a6); font-weight: 700; font-size: 0.9rem; }
.toc-row.okundu .t { color: var(--ink-faint); }
.toc-okunan b { color: var(--c-mint, #34d3a6); }

/* Dil seçici: #dilSec'e basınca açılan liste (basla.ts) */
.dil-menu { position: fixed; z-index: 1200; min-width: 190px; padding: 6px; border-radius: 14px;
  background: var(--navy-2, #142035); border: 1px solid var(--line-dark, rgba(255,255,255,.12));
  box-shadow: 0 18px 40px rgba(0,0,0,.35); display: grid; gap: 2px; }
.dil-menu[hidden] { display: none; }
.dil-menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--text-light, #e8eefc);
  font: inherit; font-size: .95rem; cursor: pointer; text-align: start; }
.dil-menu button b { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted-light, #8fa0bf); font-weight: 600; }
.dil-menu button:hover, .dil-menu button:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.dil-menu button[aria-checked="true"] { background: rgba(255,200,60,.12); color: var(--gold, #f5b60c); }
.dil-menu button[aria-checked="true"] b { color: var(--gold, #f5b60c); }

/* İngilizce arayüz: örnek altındaki Türkçe karşılık kutuları görünmez */
html[lang="en"] .tmx-tr, html[lang="en"] .beq-tr, html[lang="en"] .bcx-tr { display: none; }

/* Yenilikler sayfası + alt bilgi bağlantısı */
.foot-yeni { color: var(--muted-light); font-size: .85rem; text-decoration: none; }
.foot-yeni:hover { color: var(--gold); }
.yn { max-width: 760px; }
.yn-bas h1 { margin: 6px 0 8px; }
.yn-bas p { color: var(--muted-light); margin-bottom: 26px; }
.yn-gun { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.yn-gun h2 { font-size: 1rem; font-family: var(--mono); letter-spacing: .04em; color: var(--gold); margin-bottom: 10px; }
.yn-gun ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.55; }

/* ============ Gramer Rehberi (A1–A2) — /grammar/a1, /grammar/a2 (views/rehber.ts) ============ */
.rh-sayfa { max-width: 900px; margin: 0 auto; padding: 28px 18px 80px; color: var(--ink); }
.rh-bas h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.1; margin: 8px 0 12px; }
.rh-bas p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; max-width: 68ch; }
.rh-kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: block; margin-top: 14px; }
.rh-sekmeler { display: flex; gap: 10px; margin: 22px 0 10px; }
.rh-sekme { display: flex; flex-direction: column; align-items: center; padding: 10px 26px; border-radius: 14px; border: 2px solid var(--paper-3, #dde4ef);
  font: 800 1.35rem/1 var(--display); color: var(--ink-soft); text-decoration: none; background: #fff; }
.rh-sekme small { font: 600 .72rem/1.4 var(--body); color: var(--ink-faint); margin-top: 4px; }
.rh-sekme.on { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.rh-seviye-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 16px; padding: 14px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--paper-3, #dde4ef); }
.rh-seviye-bas b { font: 800 1.1rem var(--display); color: #fff; background: var(--red); border-radius: 8px; padding: 2px 10px; }
.rh-seviye-bas span { color: var(--ink-soft); flex: 1 1 260px; }
.rh-seviye-bas .rh-ilerleme { flex: 0 0 auto; font-family: var(--mono); font-size: .8rem; color: #2a9d6f; }
.rh-kartlar { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rh-kart { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border-radius: 16px;
  border: 1px solid var(--paper-3, #dde4ef); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.rh-kart:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(32,37,54,.1); }
.rh-no { position: absolute; top: 10px; left: 12px; z-index: 1; font: 700 .78rem var(--mono); color: var(--red); background: #fff; border-radius: 6px; padding: 1px 6px; }
.rh-kart-gorsel { display: block; background: #f7f9fc; border-bottom: 1px solid var(--paper-3, #dde4ef); }
.rh-kart-gorsel .rh-svg { display: block; width: 100%; height: 132px; }
.rh-kart-ic { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.rh-kart-baslik { font: 700 1.08rem var(--display); }
.rh-kart-tr { font-size: .86rem; color: var(--red); font-weight: 600; }
.rh-kart-ozet { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; margin-top: 4px; }
.rh-kart.okundu .rh-kart-baslik { color: var(--ink-soft); }
.rh-tik { position: absolute; top: 8px; right: 10px; color: #2a9d6f; font-weight: 800; font-size: 1.1rem; background: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.rh-sonraki-seviye { display: block; margin-top: 22px; padding: 16px; text-align: center; border-radius: 14px; background: var(--red-soft); color: var(--ink); text-decoration: none; }
.rh-sonraki-seviye b { color: var(--red); }
.rh-iz { font-size: .85rem; color: var(--ink-faint); margin-bottom: 14px; }
.rh-iz a { color: var(--ink-soft); }
.rh-rozet { font: 700 .74rem var(--mono); letter-spacing: .1em; color: #fff; background: var(--red); border-radius: 6px; padding: 3px 8px; }
.rh-konu-bas h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); margin: 12px 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rh-konu-tr { font-size: 1.15rem; color: var(--red); font-weight: 600; margin: 0; }
.rh-konu-ozet { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; margin: 12px 0 8px; }
.rh-govde { margin-top: 18px; }
.rh-p { font-size: 1.06rem; line-height: 1.75; margin: 14px 0; }
.rh-h { font-family: var(--serif); font-size: 1.45rem; margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--red); display: inline-block; }
.rh-en { color: #2f6fb3; font-weight: 600; }
.rh-gorsel { margin: 18px 0; }
.rh-gorsel .rh-svg { display: block; width: 100%; height: auto; max-height: 300px; }
.rh-gorsel figcaption { font-size: .92rem; color: var(--ink-soft); text-align: center; margin-top: 8px; line-height: 1.5; }
.rh-tablo-alan { overflow-x: auto; margin: 14px 0; }
.rh-tablo { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .98rem; }
.rh-tablo th { background: var(--ink); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; }
.rh-tablo th .rh-en { color: #9fd0ff; }
.rh-tablo td { padding: 9px 12px; border-top: 1px solid var(--paper-3, #dde4ef); vertical-align: top; }
.rh-tablo tr:nth-child(even) td { background: #f7f9fc; }
.rh-tablo-not { font-size: .9rem; color: var(--ink-soft); margin: 8px 2px 0; }
.rh-ornek { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.rh-ornek li { background: #fff; border-radius: 12px; padding: 10px 14px; border-left: 4px solid #2f6fb3; }
.rh-ornek-en { display: flex; align-items: center; gap: 8px; font-size: 1.04rem; }
.rh-ornek-en .rh-en { color: var(--ink); }
.rh-ornek-tr { font-size: .92rem; color: var(--ink-soft); margin-top: 2px; }
.rh-spk { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #eaf2fb; color: #2f6fb3; display: inline-grid; place-items: center; cursor: pointer; }
.rh-spk svg { width: 16px; height: 16px; }
.rh-kutu { border-radius: 14px; padding: 14px 16px; margin: 16px 0; line-height: 1.6; }
.rh-kutu > b { display: block; font-family: var(--display); margin-bottom: 4px; }
.rh-kutu p { margin: 0; }
.rh-dikkat { background: #fff4e5; border: 1px solid #f2c27a; }
.rh-dikkat > b { color: #b06a00; }
.rh-ipucu { background: #e8f6f0; border: 1px solid #9fd8bf; }
.rh-ipucu > b { color: #1f7a55; }
.rh-hata { background: #fff; border: 1px solid #f0c3be; }
.rh-hata > b { color: var(--red); }
.rh-hata ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.rh-hata li { display: flex; flex-direction: column; gap: 2px; }
.rh-yanlis { color: var(--red); text-decoration: line-through; text-decoration-thickness: 1px; }
.rh-yanlis .rh-en { color: var(--red); }
.rh-dogru { color: #1f7a55; font-weight: 600; }
.rh-dogru .rh-en { color: #1f7a55; }
.rh-hata-not { font-size: .88rem; color: var(--ink-soft); }
.rh-test { margin-top: 34px; padding: 18px; background: #fff; border-radius: 16px; border: 1px solid var(--paper-3, #dde4ef); }
.rh-soru { padding: 12px 0; border-top: 1px solid var(--paper-3, #dde4ef); }
.rh-soru:first-of-type { border-top: 0; }
.rh-soru-q { font-size: 1.04rem; margin: 0 0 8px; }
.rh-soru-no { color: var(--red); font-weight: 700; }
.rh-secenek { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-secenek button { min-height: 42px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--paper-3, #dde4ef); background: #f7f9fc; font: 600 1rem var(--body); color: var(--ink); cursor: pointer; }
.rh-secenek button:hover { border-color: #2f6fb3; }
.rh-secenek button.dogru { background: #e3f6ec; border-color: #2a9d6f; color: #1f7a55; }
.rh-secenek button.yanlis { background: #fde8e6; border-color: var(--red); color: var(--red); }
.rh-soru.bitti button { cursor: default; }
.rh-soru-not { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 0; }
.rh-sonuc { font: 700 1.1rem var(--display); color: #1f7a55; margin: 14px 0 0; }
.rh-gezgin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.rh-gezgin a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--paper-3, #dde4ef); text-decoration: none; color: var(--ink); }
.rh-gezgin a span { font-size: .8rem; color: var(--ink-faint); }
.rh-sonraki { text-align: right; }
@media (max-width: 560px) {
  .rh-sayfa { padding: 18px 14px 70px; }
  .rh-gezgin { grid-template-columns: 1fr; }
  .rh-sonraki { text-align: left; }
  .rh-tablo { font-size: .9rem; }
}

.rh-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.rh-izgara .rh-svg { max-height: 220px; }

/* İçindekiler'deki rehber duyurusu: kitap sütununa hizalı, kutu değil iki ince çizgi arasında bir "ek sayfa" satırı */
.rh-tanitim { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 18px; box-sizing: border-box;
  width: min(1124px, calc(100% - 56px)); margin: 0 auto 26px; padding: 16px 4px; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); transition: border-color .2s; }
.rh-tanitim i { grid-row: span 2; font: 600 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  padding: 6px 8px; border: 1px solid currentColor; border-radius: 3px; }
.rh-tanitim b { font: 700 1.18rem/1.25 var(--serif); color: var(--ink); }
.rh-tanitim span { grid-column: 2; font: italic .98rem/1.4 var(--serif); color: var(--ink-soft); }
.rh-tanitim em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-size: 1.3rem; color: var(--red); transition: transform .25s; }
.rh-tanitim:hover { border-color: var(--red); }
.rh-tanitim:hover em { transform: translateX(5px); }
@media (max-width: 560px) { .rh-tanitim { width: calc(100% - 40px); column-gap: 12px; } .rh-tanitim i { grid-row: auto; grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; } .rh-tanitim b, .rh-tanitim span { grid-column: 1 / 3; } .rh-tanitim em { grid-row: 2 / span 2; } }

.rh-cizgi { background: #f7f9fc; border: 1px solid #c9d3e3; border-radius: 18px; padding: 8px 10px; }
.rh-cizgi svg { display: block; width: 100%; height: auto; }

.foot-uyari { display: block; margin-top: 4px; font-size: .78rem; opacity: .85; }
.sa-bagimsiz { margin-top: 8px; font-size: .82rem; opacity: .75; }

/* Hesap + Talepler (/account) */
.hs { max-width: 760px; }
.hs-bas h1 { margin: 4px 0 14px; }
.hs-kart { background: var(--panel, #fff); border: 1px solid var(--line, #e2e6ee); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.hs-kart h2 { margin: 0 0 6px; font-size: 1.25rem; }
.hs-kart h2 small { font-size: .75rem; opacity: .6; font-weight: 600; margin-left: 6px; }
.hs-kart h3 { margin: 18px 0 8px; font-size: 1rem; }
.hs-bilgi { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; }
.hs-bilgi dt { opacity: .65; }
.hs-bilgi dd { margin: 0; font-weight: 600; word-break: break-all; }
.hs-baglanti { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-not { opacity: .75; font-size: .92rem; }
.hs-form { display: grid; gap: 10px; }
.hs-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.hs-form select, .hs-form textarea, .hs-yon input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #cfd6e2); background: var(--bg, #fff); color: inherit; }
.hs-form textarea { resize: vertical; min-height: 110px; }
.hs-form-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hs-form-alt span { font-size: .8rem; opacity: .6; }
.hs-durum { margin: 0; font-size: .9rem; min-height: 1.2em; }
.hs-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-talep { border: 1px solid var(--line, #e2e6ee); border-left: 4px solid #8a94a6; border-radius: 12px; padding: 10px 14px; }
.hs-talep.d-yeni { border-left-color: #3e9be0; }
.hs-talep.d-inceleniyor { border-left-color: #edae49; }
.hs-talep.d-yapildi { border-left-color: #2f9e6e; }
.hs-talep.d-olmayacak { border-left-color: #b0b6c2; opacity: .85; }
.hs-talep p { margin: 6px 0 0; white-space: pre-wrap; }
.hs-talep-ust { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; }
.hs-tur { font-weight: 700; }
.hs-rozet { padding: 2px 8px; border-radius: 99px; background: rgba(62,155,224,.14); font-weight: 600; }
.hs-tarih { opacity: .6; margin-left: auto; }
.hs-kim { font-size: .8rem; opacity: .65; }
.hs-yanit { background: rgba(47,158,110,.1); border-radius: 8px; padding: 6px 10px; font-size: .9rem; }
.hs-yon { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.hs-yon .btn { padding: 4px 10px; font-size: .8rem; }
.hs-yon .btn.on { outline: 2px solid #3e9be0; }
.hs-yon input { flex: 1 1 200px; padding: 6px 10px; font-size: .85rem; }
@media (max-width: 560px) { .hs-kart { padding: 14px; } .hs-baglanti .btn { flex: 1 1 45%; } }

/* Dergi yayın takvimi */
.dg-takvim-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dg-takvim-kart { border: 1px solid rgba(255,255,255,.12); border-top: 4px solid #e93973; border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.03); }
.dg-takvim-kart.t-gramer { border-top-color: #7a5af8; }
.dg-takvim-kart.t-kelime { border-top-color: #e8743b; }
.dg-takvim-kart b { display: block; font-size: 1.05rem; }
.dg-takvim-siklik { display: block; font-size: .85rem; opacity: .7; margin: 2px 0 10px; }
.dg-takvim-kart ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dg-takvim-kart li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; opacity: .75; }
.dg-takvim-kart li.ilk { opacity: 1; font-weight: 600; }

/* Plus özellik kartı */
.plus-kart { border: 1px solid rgba(233,57,115,.35); background: linear-gradient(135deg, rgba(233,57,115,.08), rgba(122,90,248,.08)); border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
.plus-kart b { display: block; font-size: 1.05rem; margin: 6px 0 4px; }
.plus-kart p { margin: 0 0 12px; opacity: .85; }
.plus-rozet { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #c8245c; color: #fff; }
.plus-dugmeler { display: flex; flex-wrap: wrap; gap: 8px; }

/* Deneme puan tahmini (Plus) */
.dn-tahmin { border: 1px solid rgba(233,57,115,.3); border-radius: 16px; padding: 14px 16px; margin: 14px 0; background: rgba(233,57,115,.05); }
.dn-tahmin-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dn-tahmin-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.dn-tahmin-izgara > div { display: flex; flex-direction: column; }
.dn-tahmin-izgara span { font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.dn-tahmin-izgara span.art { color: #2f9e6e; }
.dn-tahmin-izgara span.eks { color: #d1495b; }
.dn-tahmin-izgara small { opacity: .7; font-size: .8rem; }
.dn-tahmin-not { font-size: .82rem; opacity: .7; margin: 8px 0 0; }
.dn-hedef, .dn-kayip { margin: 10px 0 0; font-size: .92rem; }
.dn-hedef.ok { color: #2f9e6e; }

/* Kelime tekrarı: günlük hedef, seri, sınav destesi */
.kl-seri { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .88rem; margin-top: 8px; width: 100%; }
.kl-seri-bar { flex: 1 1 120px; max-width: 220px; height: 8px; border-radius: 99px; background: rgba(127,127,127,.2); overflow: hidden; }
.kl-seri-bar i { display: block; height: 100%; background: #2a9d8f; border-radius: 99px; }
.kl-deste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid rgba(233,57,115,.3); background: rgba(233,57,115,.05); border-radius: 14px; padding: 12px 16px; margin: 12px 0; }
.kl-deste b { margin-left: 6px; }
.kl-deste p { margin: 6px 0 0; font-size: .9rem; opacity: .8; }
.kl-tost { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1f2937; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 9999; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-weight: 600; }

/* Çalışma planı (/study-plan) */
.cp-form { display: grid; gap: 12px; max-width: 520px; }
.cp-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.cp-form input, .cp-form select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; }
.cp-not { font-size: .85rem; opacity: .7; }
.cp-durum { min-height: 1.2em; margin: 0; }
.cp-ozet { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.cp-ozet > div { border: 1px solid rgba(127,127,127,.25); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.cp-ozet span { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.cp-ozet small { opacity: .7; font-size: .8rem; }
.cp-fark { margin: 6px 0 12px; } .cp-fark.ok { color: #2f9e6e; }
.cp-evre { border-left: 4px solid #e93973; padding: 8px 12px; background: rgba(233,57,115,.06); border-radius: 8px; margin-bottom: 16px; }
.cp-tipler h2, .cp h2 { font-size: 1.15rem; margin: 16px 0 8px; }
.cp-tip { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: center; font-size: .9rem; margin-bottom: 6px; }
.cp-bar { height: 8px; border-radius: 99px; background: rgba(127,127,127,.2); overflow: hidden; }
.cp-bar i { display: block; height: 100%; background: #e8743b; }
.cp-gunler { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.cp-gun { border: 1px solid rgba(127,127,127,.25); border-radius: 14px; padding: 10px 12px; }
.cp-gun h3 { margin: 0 0 6px; font-size: .95rem; }
.cp-gun ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp-gun li { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cp-gun li label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.cp-gun li span { display: flex; flex-direction: column; } .cp-gun li small { opacity: .7; font-size: .78rem; }
.cp-gun li.bitti b { text-decoration: line-through; opacity: .6; }
.cp-gun li a { text-decoration: none; font-weight: 700; padding: 0 4px; }
@media (max-width: 560px) { .cp-tip { grid-template-columns: 1fr; gap: 2px; } }

.rh-ornek-tr:empty { display: none; }

/* Üst menü: Bilgi (?) düğmesi — dil düğmesinin yanında */
.bilgi-sec { order: 5; margin-left: 14px; width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--gold); font-weight: 800; font-size: 16px; text-decoration: none; line-height: 1; }
.bilgi-sec + .dil-sec { margin-left: 8px; }
.bilgi-sec:hover, .bilgi-sec:focus-visible { color: #fff; border-color: var(--gold); }
@media (max-width: 860px) { .bilgi-sec { order: 0; margin: 0 0 0 auto; } .bilgi-sec + .dil-sec { margin: 0 10px 0 8px; } }

/* Hesap menüsü (Hesabım ▾): diğer üst menülerle aynı açılır kutu, sağa hizalı */
.user-menu .user-chip { background: none; border: 0; font: inherit; color: var(--muted-light); padding: 4px 0; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.user-menu .user-chip:hover, .user-menu.acik .user-chip, .user-menu:focus-within .user-chip { color: #fff; }
.user-menu .user-chip .avatar { width: 30px; height: 30px; font-size: .9rem; }
.user-menu .user-chip .uname { color: inherit; font-size: .95rem; }
.user-menu .nav-drop { left: auto; right: 0; transform: translateY(-6px); min-width: 230px; }
.user-menu:hover .nav-drop, .user-menu:focus-within .nav-drop, .user-menu.acik .nav-drop { transform: translateY(0); }
.user-menu.sustur .nav-drop { transform: translateY(-6px); }
.user-drop-bas { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.user-drop-bas b { color: #fff; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-drop-bas small { color: var(--muted-light); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-drop .user-cikis { background: none; border: 0; border-top: 1px solid var(--line-dark); border-radius: 0 0 9px 9px; margin-top: 4px; padding: 11px 13px 9px; font: inherit; font-size: 0.9rem; text-align: left; cursor: pointer; color: #ff9c8f; width: 100%; }
.user-drop .user-cikis:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 860px) { .user-drop a.link, .user-drop .user-cikis { padding: 13px 0; font-size: 1rem; } }
@media (max-width: 860px) {
  .user-menu { width: 100%; }
  .user-menu .user-chip { pointer-events: none; padding: 6px 0; }
  .user-menu .user-chip .nav-caret { display: none; }
  .user-menu .nav-drop, .user-menu.sustur .nav-drop { display: flex; position: static; opacity: 1; pointer-events: auto; transform: none; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .user-drop-bas { display: none; }
}

/* Tema düğmesi (güneş/ay): ? ile dil düğmesinin arasında */
.tema-sec { order: 5; margin-left: 8px; width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 999px;
  background: none; color: var(--muted-light); cursor: pointer; padding: 0; }
.tema-sec svg { width: 17px; height: 17px; }
.tema-sec:hover, .tema-sec:focus-visible { color: var(--gold); border-color: var(--gold); }
.tema-sec .tema-ay { display: none; }
html[data-tema="acik"] .tema-sec .tema-gunes { display: none; }
html[data-tema="acik"] .tema-sec .tema-ay { display: block; }
.tema-sec + .dil-sec { margin-left: 8px; }
@media (max-width: 860px) { .tema-sec { order: 0; margin: 0 0 0 8px; } .bilgi-sec + .tema-sec + .dil-sec { margin: 0 10px 0 8px; } }

/* Metin seçimi kapalı (kullanıcı isteği); yazı alanları ve düzenlenebilir içerik seçilebilir kalır */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"], .secilebilir { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

.dn-kipkart .dn-modul { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .65; margin: -2px 0 6px; }

/* ============ ÜST MENÜ CİLASI (agy önerileri, 8 Kas 2026) ============
   Menü ortada, sağdaki ?, tema ve dil düğmeleri tek grup; yazılar daha tok, hover'da hafif ışıma,
   aktif sayfada menü tabanına oturan altın çizgi. Açık temada da üst menü koyu kalır (tema-acik-ek.css). */
header.nav { background: rgba(14, 22, 40, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (min-width: 861px) {
  .nav-main { margin: 0 auto; }
  .bilgi-sec { margin-left: 0; }
  .bilgi-sec + .tema-sec, .tema-sec + .dil-sec { margin-left: 8px; }
}
.nav-links a.link { font-size: 0.92rem; font-weight: 500; letter-spacing: -0.012em; color: #c2d0e6; padding: 8px 0; transition: color .18s ease, text-shadow .18s ease; }
.nav-links a.link:hover { color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.35); }
.nav-links a.link.active { color: #fff; font-weight: 600; }
.nav-links a.link.active::after { bottom: -16px; height: 2.5px; border-radius: 3px 3px 0 0; box-shadow: 0 -2px 10px rgba(245, 182, 12, 0.65); }
.nav-caret { font-size: 0.62rem; margin-left: 2px; color: rgba(194, 208, 230, 0.65); transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease; }
.nav-group:hover .nav-caret, .nav-group.acik .nav-caret { color: var(--gold); }
.nav-drop { background: rgba(15, 24, 44, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.nav-drop a.link { font-size: 0.88rem; font-weight: 500; color: #b8c8df; padding: 9px 12px; border-radius: 8px; transition: color .16s ease, background .16s ease, transform .16s ease; }
.nav-drop a.link:hover { color: #fff; background: rgba(62, 155, 224, 0.14); transform: translateX(3px); text-shadow: none; }
.nav-drop a.link.active { color: var(--gold); background: rgba(245, 182, 12, 0.12); font-weight: 600; }
.nav-mega-bas { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-bright); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 6px; }
.nav-mega-link b { color: #eaf0fa; font-weight: 600; font-size: 0.9rem; }
.nav-mega-link small { color: #8c9eb9; font-size: 0.76rem; }
.bilgi-sec, .tema-sec, .dil-sec { height: 36px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.bilgi-sec, .tema-sec { width: 36px; border-radius: 50%; }
.bilgi-sec { color: #c2d0e6; font-size: 15px; font-weight: 700; }
.bilgi-sec:hover, .bilgi-sec:focus-visible, .tema-sec:hover, .tema-sec:focus-visible { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px rgba(245, 182, 12, 0.35); }
.tema-sec { color: #c2d0e6; }
.dil-sec { min-width: 44px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: #c2d0e6;
  display: inline-flex; align-items: center; justify-content: center; }
.dil-sec:hover, .dil-sec:focus-visible { color: #fff; border-color: var(--sky); box-shadow: 0 0 10px rgba(62, 155, 224, 0.3); }
.nav-cta.btn-primary { font-size: 0.9rem; font-weight: 700; padding: 9px 22px; border-radius: 999px; background: linear-gradient(135deg, #ffd25e 0%, #f5b60c 100%); color: #0e1628;
  border: none; box-shadow: 0 4px 18px -2px rgba(245, 182, 12, 0.45); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.nav-cta.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 24px -3px rgba(245, 182, 12, 0.65); }
@media (max-width: 860px) { .nav-links a.link.active::after { display: none; } .nav-drop a.link:hover { transform: none; } }

/* Kitap kipi (açık kâğıt) içinde koyu tasarımın soluk yazı rengi okunmuyordu */
body.mode-book .page-hero, body.mode-book .cat-row, body.mode-book .ga-kipler, body.mode-book .wrap.ga > p { --muted-light: #565f78; --sky-bright: #1f6fb2; }

/* ============ DENEME SINAVLARI listesi (8 Kas 2026, Gemini/agy önerileriyle) ============
   Hero (özet çipleri + sınav kâğıdı/kronometre çizimi), sınav türü sekmeleri, YÖKDİL alan hapları,
   türüne göre renkli ve ikonlu kartlar: durum rozeti, ilerleme çubuğu, duruma göre eylem. */
.dn-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: center;
  padding: 26px 28px; margin: 18px 0 22px; border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 120% at 90% 10%, rgba(62, 155, 224, 0.14) 0%, transparent 70%), radial-gradient(50% 80% at 10% 90%, rgba(245, 182, 12, 0.08) 0%, transparent 60%), var(--ink-800); }
.dn-hero h1 { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 8px; }
.dn-hero .lede { max-width: 620px; margin: 0; }
.dn-hero-cizim { width: 100%; height: auto; }
.dn-c-kagit { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; }
.dn-c-cizgi { fill: rgba(255, 255, 255, 0.22); }
.dn-c-bos { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.6; }
.dn-c-dolu { fill: var(--gold); }
.dn-c-saat { fill: var(--sky); }
.dn-c-kadran { fill: var(--ink-900); }
.dn-c-ibre { stroke: #fff; stroke-width: 4; stroke-linecap: round; fill: none; }
.dn-c-yay { stroke: var(--gold); stroke-width: 6; stroke-linecap: round; fill: none; }
.dn-ozet { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.dn-ozet > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; color: var(--muted-light);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.dn-ozet > span b { color: var(--text-light); }
.dn-ozet .ik { width: 15px; height: 15px; color: var(--sky-bright); }
.dn-ozet .dn-ozet-bitti .ik { color: var(--gold); }
.dn-surdur { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: .86rem; }
.dn-surdur .ik { width: 15px; height: 15px; }

.dn-filtre { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.dn-sekmeler { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 13px; background: var(--ink-800); border: 1px solid var(--line-dark); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dn-sekme { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer;
  font: 600 .9rem var(--body); color: var(--muted-light); white-space: nowrap; transition: color .18s, background .18s; }
.dn-sekme small { font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.dn-sekme:hover { color: var(--text-light); }
.dn-sekme.on { background: var(--ink-700); color: #fff; border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.dn-sekme.on small { background: var(--gold); color: var(--ink-900); }
.dn-alanlar { display: flex; flex-wrap: wrap; gap: 8px; }
.dn-alan { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; cursor: pointer; font: 600 .82rem var(--body);
  color: var(--muted-light); background: none; border: 1px solid var(--line-dark); transition: all .18s; }
.dn-alan .ik { width: 15px; height: 15px; color: var(--tur, var(--muted-light)); }
.dn-alan small { font-size: .7rem; opacity: .75; }
.dn-alan:hover { color: var(--text-light); border-color: color-mix(in srgb, var(--tur, #93a4c4) 60%, transparent); }
.dn-alan.on { color: var(--text-light); border-color: var(--tur, var(--gold)); background: color-mix(in srgb, var(--tur, #f5b60c) 16%, transparent); }

.dn-baslik { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-family: var(--display); font-size: 1.3rem; }
.dn-baslik .ik { width: 22px; height: 22px; color: var(--tur); padding: 6px; box-sizing: content-box; border-radius: 9px; background: color-mix(in srgb, var(--tur) 15%, transparent); }
.dn-baslik .dn-say { font-family: var(--body); }
.dn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.dn-kart { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 172px; padding: 16px 16px 18px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tur) 9%, transparent), transparent 55%), var(--ink-800);
  border: 1px solid var(--line-dark); text-decoration: none; color: var(--text-light);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, box-shadow .2s ease; }
.dn-kart:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tur) 55%, transparent); box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35), 0 0 0 1px color-mix(in srgb, var(--tur) 25%, transparent); }
.dn-kart.dn-bitti { opacity: 1; }
.dn-kart-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dn-tur { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.dn-tur .ik { flex: none; width: 18px; height: 18px; padding: 7px; box-sizing: content-box; border-radius: 10px; color: var(--tur); background: color-mix(in srgb, var(--tur) 15%, transparent); }
.dn-tur b { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-rozet { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 7px;
  color: var(--muted-light); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.dn-rozet .ik { width: 13px; height: 13px; }
.dn-rozet.devam { color: var(--gold); background: rgba(245, 182, 12, 0.14); border-color: rgba(245, 182, 12, 0.35); }
.dn-rozet.bitti { color: #34d399; background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.35); }
.dn-no { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--muted-light); }
.dn-no b { font-size: 2rem; font-weight: 800; color: var(--text-light); letter-spacing: -0.02em; margin-left: 2px; }
.dn-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted-light); font-variant-numeric: tabular-nums; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dn-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dn-meta .ik { width: 14px; height: 14px; opacity: .8; }
.dn-eylem { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--tur); transition: gap .15s ease; }
.dn-eylem .ik { width: 14px; height: 14px; }
.dn-kart:hover .dn-eylem { gap: 9px; }
.dn-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.06); }
.dn-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #ffd25e); border-radius: 0 2px 2px 0; }
.dn-kart.dn-bitti .dn-bar i { background: linear-gradient(90deg, #10b981, #34d399); }
.dn-iskelet { height: 172px; border-radius: 16px; border: 1px solid var(--line-dark); background: linear-gradient(90deg, var(--ink-800) 25%, var(--ink-700) 50%, var(--ink-800) 75%);
  background-size: 200% 100%; animation: dnParilti 1.5s infinite linear; }
@keyframes dnParilti { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.dn-bos { text-align: center; padding: 32px 16px; }
.dn-bos-ik { width: 48px; height: 48px; color: var(--muted-light); }
@media (max-width: 760px) {
  .dn-hero { grid-template-columns: 1fr; padding: 20px 18px; }
  .dn-hero-cizim { display: none; }
  .dn-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dn-kart { min-height: 150px; padding: 13px 13px 16px; }
  .dn-no b { font-size: 1.6rem; }
  .dn-rozet:not(.devam):not(.bitti) { display: none; }
}
@media (max-width: 440px) { .dn-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dn-iskelet { animation: none; } .dn-kart, .dn-kart:hover { transform: none; } }
/* Telefonda sağdaki düğmeler sıkışıp logonun altına kaymasın: küçülmezler, dar ekranda bir boy küçük */
.bilgi-sec, .tema-sec, .dil-sec { flex-shrink: 0; }
@media (max-width: 480px) {
  .bilgi-sec, .tema-sec { width: 32px; height: 32px; }
  .dil-sec { height: 32px; min-width: 38px; padding: 0 8px; }
  .tema-sec, .bilgi-sec + .tema-sec { margin-left: 6px; }
  .bilgi-sec + .tema-sec + .dil-sec { margin: 0 8px 0 6px; }
}
@media (max-width: 480px) {
  .nav-inner { gap: 8px; }
  .brand { flex-shrink: 0; gap: 7px; }
}
/* Çok dar telefonda yalnız maskot logosu: yazı sağdaki düğmelerin üstüne taşıyordu */
@media (max-width: 400px) { header.nav .brand > b, header.nav .brand > span:not(:first-child) { display: none; } }
/* Denemeler 5'li dizilir: 10 deneme iki satır, YÖKDİL'de her alan tek satır (1–5) */
@media (min-width: 1100px) { .dn-grid.dn-bes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dn-bes .dn-kart { min-height: 164px; }
.dn-alt-baslik { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .95rem; font-weight: 700; color: var(--text-light); }
.dn-alt-baslik .ik { width: 16px; height: 16px; color: var(--tur); padding: 5px; box-sizing: content-box; border-radius: 8px; background: color-mix(in srgb, var(--tur) 15%, transparent); }
.dn-alt-baslik .dn-say { font-weight: 400; }
.dn-baslik + .dn-alt-baslik { margin-top: 4px; }

/* ============ Phrasal Verbs / Idioms dergileri: çok anlamlı kart, harfî anlam, köken, parçacık haritası (8 Kas 2026) ============ */
.kd-anlamlar { list-style: none; counter-reset: anlam; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.kd-anlamlar li { counter-increment: anlam; position: relative; padding: 8px 10px 8px 40px; background: #fff7ec; border: 1px solid #f3dcb8; border-radius: 10px; font-size: 14px;
  animation: kdAnlam .45s ease both; animation-delay: calc(var(--i) * 90ms); }
.kd-anlamlar li::before { content: counter(anlam); position: absolute; left: 9px; top: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--r, #e76f51); color: #fff; font: 800 12px/1 system-ui, sans-serif; }
.kd-anlamlar .kd-a-tr { display: block; color: #7a3b14; font-size: 13.5px; font-weight: 700; }
.kd-sf[data-dergi="phrasal"]::after { content: "© GANLISH PHRASAL VERBS · SAYFA " attr(data-sf); }
.kd-sf[data-dergi="deyim"]::after { content: "© GANLISH IDIOMS & PROVERBS · SAYFA " attr(data-sf); }
.kd-anlamlar .kd-a-en { display: block; margin-top: 2px; }
.kd-anlamlar .kd-ceviri { display: block; }
@keyframes kdAnlam { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kd-harfi, .kd-koken { margin: 6px 0; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; }
.kd-harfi { background: #eef4fb; border: 1px dashed #b9cde6; }
.kd-koken { background: #f6f3ea; border: 1px solid #e3dac2; }
.kd-harfi span, .kd-koken span { display: block; font: 700 10.5px/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }
.kd-sf .kd-kart { animation: kdGir .5s ease both; }
.kd-sf .kd-kart:nth-of-type(2) { animation-delay: .06s; } .kd-sf .kd-kart:nth-of-type(3) { animation-delay: .12s; }
@keyframes kdGir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pc-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.pc-kart { background: #fff; border: 1px solid #e5e7eb; border-top: 4px solid var(--pc); border-radius: 14px; padding: 10px 12px 12px; box-shadow: 0 6px 18px -14px rgba(20, 30, 60, .5);
  animation: kdGir .5s ease both; animation-delay: calc(var(--i) * 70ms); }
.pc-ad { display: block; font: 900 26px/1.1 "Bricolage Grotesque", system-ui, sans-serif; color: var(--pc); margin: 2px 0 6px; }
.pc-kart ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.pc-kart li span { display: block; font-weight: 700; color: #1f2937; }
.pc-kart li i { font-style: normal; color: #4b5563; }
.pc-anim { width: 100%; height: 84px; display: block; background: color-mix(in srgb, var(--pc) 8%, #fff); border-radius: 10px; }
.pc-anim .pc-kutu { fill: none; stroke: color-mix(in srgb, var(--pc) 45%, #9ca3af); stroke-width: 2.5; stroke-dasharray: 6 4; }
.pc-anim .pc-zemin { stroke: #cbd5e1; stroke-width: 2; }
.pc-anim .pc-duvar { fill: #94a3b8; opacity: 0; }
.pc-anim .pc-top { fill: var(--pc); transform-box: fill-box; transform-origin: center; animation: 2.6s ease-in-out infinite; }
.pc-yukari .pc-top { animation-name: pcYukari; } @keyframes pcYukari { 0%, 15% { transform: translateY(18px); } 60%, 80% { transform: translateY(-36px); } 100% { transform: translateY(18px); } }
.pc-asagi .pc-top { animation-name: pcAsagi; } @keyframes pcAsagi { 0%, 15% { transform: translateY(-38px); } 60%, 80% { transform: translateY(19px); } 100% { transform: translateY(-38px); } }
.pc-disari .pc-top { animation-name: pcDisari; } @keyframes pcDisari { 0%, 15% { transform: translateX(0); opacity: 1; } 60%, 85% { transform: translateX(46px); opacity: 1; } 100% { transform: translateX(0); opacity: 1; } }
.pc-iceri .pc-top { animation-name: pcIceri; } @keyframes pcIceri { 0%, 15% { transform: translateX(-50px); } 60%, 85% { transform: translateX(0); } 100% { transform: translateX(-50px); } }
.pc-kopma .pc-kutu { stroke-dasharray: none; } .pc-kopma .pc-top { animation-name: pcKopma; }
@keyframes pcKopma { 0%, 20% { transform: translate(0, -29px); } 45% { transform: translate(14px, -20px) rotate(20deg); } 75%, 90% { transform: translate(34px, 19px); opacity: .9; } 100% { transform: translate(0, -29px); opacity: 1; } }
.pc-ustunde .pc-kutu { opacity: 0; } .pc-ustunde .pc-top { animation-name: pcUstunde; }
@keyframes pcUstunde { 0%, 100% { transform: translateY(19px) scale(1); } 50% { transform: translateY(19px) scale(1.15); } }
.pc-uzaga .pc-top { animation-name: pcUzaga; } @keyframes pcUzaga { 0%, 10% { transform: translateX(-30px) scale(1); opacity: 1; } 80% { transform: translateX(50px) scale(.4); opacity: 0; } 100% { transform: translateX(-30px); opacity: 0; } }
.pc-geri .pc-top { animation-name: pcGeri; } @keyframes pcGeri { 0%, 10% { transform: translateX(-40px); } 45% { transform: translateX(40px); } 90%, 100% { transform: translateX(-40px); } }
.pc-ustunden .pc-kutu { opacity: 0; } .pc-ustunden .pc-duvar { opacity: 1; } .pc-ustunden .pc-top { animation-name: pcUstunden; }
@keyframes pcUstunden { 0%, 10% { transform: translate(-44px, 19px); } 50% { transform: translate(0, -30px); } 90%, 100% { transform: translate(44px, 19px); } }
.pc-anim .pc-hedef { fill: color-mix(in srgb, var(--pc) 45%, #fff); stroke: var(--pc); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: 2.6s ease-in-out infinite; }
.pc-icinden .pc-kutu { stroke-dasharray: none; } .pc-icinden .pc-top { animation-name: pcIcinden; }
@keyframes pcIcinden { 0% { transform: translateX(-56px); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateX(56px); opacity: 0; } }
.pc-etrafinda .pc-top { animation: pcEtrafinda 3s linear infinite; }
@keyframes pcEtrafinda { 0%, 100% { transform: translate(-38px, 0); } 25% { transform: translate(0, -31px); } 50% { transform: translate(38px, 0); } 75% { transform: translate(0, 29px); } }
.pc-karsiya .pc-kutu { opacity: 0; } .pc-karsiya .pc-duvar { opacity: .8; fill: #7cc4e8; transform: scale(7, .14); transform-box: fill-box; transform-origin: 50% 100%; } .pc-karsiya .pc-top { animation-name: pcKarsiya; }
@keyframes pcKarsiya { 0%, 10% { transform: translate(-50px, 19px); } 45% { transform: translate(0, 2px); } 80%, 92% { transform: translate(50px, 19px); } 100% { transform: translate(-50px, 19px); } }
.pc-boyunca .pc-kutu { opacity: 0; } .pc-boyunca .pc-top { animation: pcBoyunca 3s linear infinite; }
@keyframes pcBoyunca { 0% { transform: translate(-48px, 19px) rotate(0); } 25% { transform: translate(-24px, 13px) rotate(90deg); } 50% { transform: translate(0, 19px) rotate(180deg); } 75% { transform: translate(24px, 13px) rotate(270deg); } 100% { transform: translate(48px, 19px) rotate(360deg); } }
.pc-pesinden .pc-kutu { opacity: 0; } .pc-pesinden .pc-hedef { opacity: 1; animation-name: pcHedef; } .pc-pesinden .pc-top { animation-name: pcPesinden; }
@keyframes pcHedef { 0% { transform: translate(-20px, 22px); } 100% { transform: translate(50px, 22px); } }
@keyframes pcPesinden { 0% { transform: translate(-50px, 19px); } 100% { transform: translate(28px, 19px); } }
@media (prefers-reduced-motion: reduce) { .pc-anim .pc-top, .pc-anim .pc-hedef, .kd-anlamlar li, .kd-sf .kd-kart, .pc-kart { animation: none; } }
.kd-anlam-bas { margin: 10px 0 -2px; font: 700 10.5px/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }

/* ===== Kelime · Phrasal · Deyim · Çıkmış dergileri: editoryal iç sayfa (11.11.2026) =====
   Kart/kutu yerine dergi maddesi: ince çizgiler, büyük serif başlık, alıntı gibi örnek cümle,
   tam genişlik numaralı anlamlar, alt şeritte kenar notları, maddeler arasında süslü ayraç. Hareket yok. */
.kd-sayfa { --kd-cizgi: #ddd3c2; --kd-murekkep: #22201c; --kd-soluk: #6e675c; }
.kd-sayfa .dg-kat { padding-bottom: 10px; border-bottom: 1px solid var(--kd-cizgi); margin-bottom: 18px; }
.kd-sayfa .dg-kat span { border-radius: 0; }
.kd-sayfa .dg-bas { font: 700 clamp(30px, 4.8vw, 46px)/1.06 "Playfair Display", Georgia, serif; letter-spacing: -.015em; }
.kd-sayfa .dg-spot { font: 400 17px/1.6 "Spectral", Georgia, serif; color: var(--kd-soluk); max-width: 62ch; margin-bottom: 28px; }
.kd-sayfa .dg-spot::first-letter { float: left; font: 700 54px/.86 "Playfair Display", Georgia, serif; color: var(--r); padding: 4px 8px 0 0; }

.kd-kart { display: block; margin: 0 0 8px; padding: 0 0 26px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.kd-kart + .kd-kart { padding-top: 34px; position: relative; }
.kd-kart + .kd-kart::before { content: "✦"; position: absolute; top: 0; left: 0; right: 0; text-align: center; font-size: 13px; line-height: 1; color: var(--r);
  background: linear-gradient(var(--kd-cizgi), var(--kd-cizgi)) left 50% / calc(50% - 18px) 1px no-repeat, linear-gradient(var(--kd-cizgi), var(--kd-cizgi)) right 50% / calc(50% - 18px) 1px no-repeat; }
.kd-ust { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 26px; align-items: start; }
.kd-foto img { border-radius: 2px; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 24px -14px rgba(0,0,0,.45); }
.kd-foto figcaption { margin-top: 7px; font: italic 11.5px/1.35 "Spectral", Georgia, serif; letter-spacing: .01em; }
.kd-bas { justify-content: flex-start; }
.kd-w b { font: 700 clamp(34px, 4.6vw, 48px)/1 "Playfair Display", Georgia, serif; letter-spacing: -.02em; color: var(--kd-murekkep); }
.kd-w .speak, .kd-cumle .speak { width: 26px; height: 26px; border-color: var(--kd-cizgi); background: transparent; }
.kd-ipa { margin: 8px 0 12px; font: 14px/1.3 "Lucida Sans Unicode", "Segoe UI", system-ui, sans-serif; color: var(--kd-soluk); }
.kd-ipa .kd-tur { margin-left: 8px; font: italic 600 14px/1 "Spectral", Georgia, serif; color: var(--r, #8a3f4c); background: none; padding: 0; border-radius: 0; letter-spacing: 0; }
.kd-tr { font: 600 18px/1.45 "Spectral", Georgia, serif; color: var(--kd-murekkep); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--kd-cizgi); }
.kd-harfi { font: 14px/1.4 system-ui, sans-serif; color: var(--kd-soluk); margin: -4px 0 12px; background: none; border: 0; padding: 0; }
.kd-harfi span { font: 700 10.5px/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-right: 8px; color: var(--r); }
.kd-alinti { margin: 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--r, #8a3f4c); font: 500 19px/1.5 "Spectral", Georgia, serif; color: var(--kd-murekkep); }
.kd-cumle b { background: none; padding: 0; border-radius: 0; color: var(--r, #8a3f4c); font-weight: 700; box-shadow: inset 0 -.32em 0 rgba(245,182,12,.28); }
.kd-ceviri { font: italic 14.5px/1.5 "Spectral", Georgia, serif; color: var(--kd-soluk); margin-top: 4px; }

.kd-anlam-bas { display: flex; align-items: center; gap: 12px; margin: 26px 0 6px; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--r, #8a3f4c); }
.kd-anlam-bas::after { content: ""; flex: 1; height: 1px; background: var(--kd-cizgi); }
.kd-anlamlar { margin: 0; padding: 0; list-style: none; display: block; gap: 0; columns: 2; column-gap: 34px; column-rule: 1px solid var(--kd-cizgi); counter-reset: kd-a; }
.kd-anlamlar li { break-inside: avoid; display: grid; position: static; font-size: inherit; animation: none; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; padding: 12px 0; margin: 0; border: 0; border-bottom: 1px solid var(--kd-cizgi);
  background: none; border-radius: 0; box-shadow: none; counter-increment: kd-a; }
.kd-anlamlar li::before { content: counter(kd-a); grid-row: span 3; font: 700 26px/1 "Playfair Display", Georgia, serif; color: var(--r, #8a3f4c); background: none; width: auto; height: auto; position: static; display: block; border-radius: 0; box-shadow: none; }
.kd-anlamlar li > * { grid-column: 2; }
.kd-anlamlar .kd-a-tr { font: 700 15px/1.35 "Spectral", Georgia, serif; color: var(--kd-murekkep); }
.kd-anlamlar .kd-a-en { font: 15px/1.5 system-ui, sans-serif; margin-top: 3px; }
.kd-anlamlar .kd-ceviri { font-size: 13.5px; }

.kd-ek { margin-top: 18px; padding: 12px 0 0; border-top: 1px solid var(--kd-cizgi); font: 16px/1.55 "Spectral", Georgia, serif; }
.kd-etiket { background: none; color: var(--r, #8a3f4c); padding: 0; margin-right: 10px; font: 700 10.5px/1 system-ui, sans-serif; letter-spacing: .16em; }

.kd-alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin-top: 18px; padding-top: 4px; border-top: 2px solid var(--kd-murekkep); }
.kd-alt > * { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--kd-cizgi); font-size: 14px; }
.kd-alt > .kd-koken, .kd-alt > .kd-edat, .kd-alt > .kd-alt-son { grid-column: 1 / -1; }
.kd-es span, .kd-aile span, .kd-koken span, .kd-edat > span { display: block; margin: 0 0 5px; font: 700 10.5px/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--r, #8a3f4c); }
/* etiket kendi satırını kaplamasın: sözcükler hemen yanında akar */
.kd-es > span, .kd-aile > span, .kd-koken > span { display: inline-block; margin: 0 10px 0 0; vertical-align: 1px; }
.kd-es { display: block; }
.kd-es i { font: italic 15px/1.5 "Spectral", Georgia, serif; padding: 0; margin-right: 4px; border: 0; background: none; border-radius: 0; color: var(--kd-murekkep); }
.kd-es i + i::before { content: "· "; font-style: normal; color: var(--kd-soluk); }
.kd-aile { display: block; font: 15px/1.5 "Spectral", Georgia, serif; }
.kd-koken { font: 15px/1.6 "Spectral", Georgia, serif; background: none; border: 0; border-radius: 0; padding: 10px 0; }
.kd-alt .kd-edat { background: none; border: 0; border-bottom: 1px solid var(--kd-cizgi); border-radius: 0; padding: 10px 0; }
.kd-alt-son { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 0 !important; }
.kd-osym { margin: 0; font: 12.5px/1.4 system-ui, sans-serif; }
.kd-ekle { margin: 0; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; color: var(--r, #1d6f66); font: 600 13px/1.2 system-ui, sans-serif; }
.kd-ekle:disabled { border: 0; background: none; color: var(--kd-soluk); }

/* edatlı / kalıp sayfaları: kutusuz iki sütun */
.kd-kaliplar { gap: 0 34px; }
.kd-kalip { padding: 18px 0; background: none; border: 0; border-top: 1px solid var(--kd-cizgi); border-radius: 0; }
.kd-kalip .kd-w b { font-size: 28px; }
.kd-not { background: none; border-left: 2px solid var(--r, #8a3f4c); border-radius: 0; padding: 2px 0 2px 10px; font: italic 14px/1.5 "Spectral", Georgia, serif; }

/* içindekiler: "nasıl seçildi" sayfa genişliğinde editoryal blok */
.dg-ic:has(.kd-secim) { --kd-cizgi: #ddd3c2; --kd-murekkep: #22201c; }
.dg-ic .kd-secim { grid-column: 1 / -1; margin-top: 8px; padding: 18px 0 0; background: none; border: 0; border-top: 3px double var(--kd-murekkep); border-radius: 0; font-size: 15px; }
.kd-secim h3 { margin: 0 0 14px; font: 700 26px/1.1 "Playfair Display", Georgia, serif; }
.kd-secim-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 34px; padding: 0; margin: 0; }
.kd-secim-l p:last-child:nth-child(odd) { grid-column: 1 / -1; }
.kd-secim-l p { margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid var(--kd-cizgi); font: 15px/1.6 "Spectral", Georgia, serif; }
.kd-secim-no { display: block; font: 700 22px/1 "Playfair Display", Georgia, serif; color: #8a3f4c; margin-bottom: 4px; }

@media (max-width: 700px) {
  .kd-ust { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kd-anlamlar { columns: 1; }
  .kd-secim-l { grid-template-columns: minmax(0, 1fr); }
  .kd-alt { grid-template-columns: minmax(0, 1fr); }
  .kd-w b { font-size: 34px; }
  .kd-alinti { font-size: 17px; }
}

/* hareketsiz: giriş animasyonları kapalı (kullanıcı: "hareketli yapma") */
.kd-sf .kd-kart, .kd-sf .kd-kart:nth-of-type(n) { animation: none; }
.kd-harfi, .kd-koken { border-radius: 0; }
.kd-ust .kd-harfi { border: 0; background: none; padding: 0; }

/* ===== Test ve alıştırma sayfaları: editoryal (Kelime ailesi + Gramer dergisi, .gr-sf) — 12.11.2026 =====
   Soru kutusu yok: üstte ince çizgi, büyük serif numara, şıklar çizgili satırlar; seçim/doğru/yanlış soldaki renk çizgisiyle. */
.gr-sf { --kd-cizgi: #ddd3c2; --kd-murekkep: #22201c; --kd-soluk: #6e675c; }
.gr-sf .dg-soru { margin: 0; padding: 22px 0 18px; border: 0; border-top: 1px solid var(--kd-cizgi); border-radius: 0; background: none; box-shadow: none; }
.gr-sf .dg-q { gap: 14px; margin-bottom: 12px; font: 500 17.5px/1.55 "Spectral", Georgia, serif; }
.gr-sf .dg-no { display: block; width: auto; min-width: 30px; height: auto; border-radius: 0; background: none; color: var(--r, #8a3f4c); font: 700 28px/1 "Playfair Display", Georgia, serif; }
.gr-sf .dg-sec { gap: 0; margin-left: 44px; border-top: 1px solid var(--kd-cizgi); }
.gr-sf .dg-sec button { border: 0; border-bottom: 1px solid var(--kd-cizgi); border-radius: 0; background: none; padding: 10px 10px; font: 16px/1.45 "Spectral", Georgia, serif; color: var(--kd-murekkep); }
.gr-sf .dg-sec button b { margin-right: 10px; font: 700 15px/1 "Playfair Display", Georgia, serif; color: var(--r, #8a3f4c); }
.gr-sf .dg-sec button:hover:not(:disabled) { background: rgba(138, 63, 76, .06); }
.gr-sf .dg-sec .dg-secili { background: #e8f3f8; box-shadow: inset 3px 0 0 #118ab2; }
.gr-sf .dg-sec .dg-dogru { background: #e3f3ee; box-shadow: inset 3px 0 0 #2a9d8f; }
.gr-sf .dg-sec .dg-yanlis { background: #fbe9ea; box-shadow: inset 3px 0 0 #e63946; }
.gr-sf .dg-coz { margin: 12px 0 0 44px; padding: 10px 14px; border: 0; border-left: 3px solid var(--r, #8a3f4c); border-radius: 0; background: rgba(138, 63, 76, .05); font: 15px/1.6 "Spectral", Georgia, serif; }

/* alıştırmalar: kutu yerine çizgiyle açılan bölüm, sakin düğmeler */
.gr-sf .kd-al { margin: 0 0 30px; padding: 20px 0 8px; background: none; border: 0; border-top: 2px solid var(--kd-murekkep); border-radius: 0; }
.gr-sf .gr-al-ust { gap: 6px 12px; margin-bottom: 14px; }
.gr-sf .gr-al-no { background: none; color: var(--r, #2f7d4f); padding: 0; border-radius: 0; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .18em; }
.gr-sf .gr-al-ust b { font: 700 24px/1.2 "Playfair Display", Georgia, serif; }
.gr-sf .gr-al-ust small { font: italic 14.5px/1.5 "Spectral", Georgia, serif; color: var(--kd-soluk); }
.gr-sf .kd-esle button, .gr-sf .kd-kutu button, .gr-sf .kd-bos { border-radius: 2px; background: transparent; border-color: var(--kd-cizgi); font-family: "Spectral", Georgia, serif; font-size: 15.5px; }
.gr-sf .kd-esle-sol button { font-family: "Playfair Display", Georgia, serif; }
.gr-sf .kd-kutu { background: none; border: 1px dashed var(--kd-cizgi); border-radius: 0; }
.gr-sf .kd-banka-l, .gr-sf .kd-yaz-l { font: 16px/1.9 "Spectral", Georgia, serif; }
@media (max-width: 700px) { .gr-sf .dg-sec, .gr-sf .dg-coz { margin-left: 0; } }
/* içindekiler etiketleri: renkli hap yerine editoryal küçük büyük harf (yalnız Kelime ailesi; Okuma'ya dokunmaz) */
.kd-sf .dg-ic-kat { background: none; color: var(--r); padding: 0; border-radius: 0; font: 700 10px/1.35 system-ui, sans-serif; letter-spacing: .16em; white-space: normal; }
.kd-sf .dg-ic-s { grid-template-columns: 40px 150px 1fr; }
@media (max-width: 700px) { .kd-sf .dg-ic-s { grid-template-columns: 40px minmax(0, 1fr); } }

/* ===== Dergi kelime çizimi (12.11.2026): fotoğraf yerine kitchen words üslubunda kare resim kutusu ===== */
.kd-ust { grid-template-columns: 196px minmax(0, 1fr); gap: 28px; align-items: center; }
.kd-ciz { margin: 0; width: 196px; aspect-ratio: 1; }
.kd-ciz svg { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .kd-ust { grid-template-columns: minmax(0, 1fr); }
  .kd-ciz { width: 168px; justify-self: center; }
}
/* yön ipuçları (dergiCizim): okun gösterdiği yöne hafif salınım */
.kd-ciz .dc-ok { transform-box: fill-box; animation: 1.8s ease-in-out infinite; }
.kd-ciz .dc-yuk { animation-name: dcYuk; } .kd-ciz .dc-in { animation-name: dcIn; }
.kd-ciz .dc-sag { animation-name: dcSag; } .kd-ciz .dc-sol { animation-name: dcSol; }
@keyframes dcYuk { 50% { transform: translateY(-4px); } } @keyframes dcIn { 50% { transform: translateY(4px); } }
@keyframes dcSag { 50% { transform: translateX(4px); } } @keyframes dcSol { 50% { transform: translateX(-4px); } }
@media (prefers-reduced-motion: reduce) { .kd-ciz .dc-ok { animation: none; } }
/* her anlamın yanında küçük çizim (dergiCizim.anlamCizimi) */
.kd-anlamlar li { grid-template-columns: 26px 80px minmax(0, 1fr); }
.kd-anlamlar li::before { grid-column: 1; }
.kd-anlamlar li > .kd-a-ciz { grid-column: 2; grid-row: 1 / span 3; align-self: start; width: 72px; height: 72px; margin-top: -2px; overflow: visible; }
.kd-anlamlar li > .kd-a-ciz:empty { visibility: hidden; }
.kd-anlamlar li > :not(.kd-a-ciz) { grid-column: 3; }
.kd-a-ciz svg { display: block; width: 100%; height: 100%; }
/* çizimler kutusuz (12.11.2026): leke biçimli sahne, çerçeve/gölge/zemin yok */
.kd-ciz { border-radius: 0; box-shadow: none; background: none; }
.kd-ciz svg, .kd-a-ciz svg { overflow: visible; }
/* koyu temada arka plansız çizimler (Open Peeps konturu koyu) zemine karışmasın: ince açık çıkartma kenarı */
:root:not([data-tema="acik"]) .kd-ciz svg, :root:not([data-tema="acik"]) .kd-a-ciz svg { filter: drop-shadow(0 0 .8px rgba(255, 250, 240, .7)) drop-shadow(0 0 2px rgba(255, 250, 240, .18)); }

/* ============================================================
   TELEFON UYGULAMA KABUĞU (≤860px) — alt sekme çubuğu, sade üst çubuk,
   seri rozeti, telefon ana sayfası (.mh). altCubuk.ts · seri.ts · views/home.ts
   ============================================================ */
.alt-cubuk, .mh, .seri-rozet { display: none; }
.nav-ayar { display: none; }

/* Seri rozeti (üst çubuk) */
.seri-rozet { align-items: center; gap: 5px; height: 36px; padding: 0 12px 0 9px; margin-left: auto; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); color: var(--muted-light);
  font: 800 0.95rem/1 var(--display); font-variant-numeric: tabular-nums; }
.seri-rozet .ik { width: 18px; height: 18px; }
.seri-rozet.yandi { color: #ffb020; border-color: rgba(255, 176, 32, 0.38); background: rgba(255, 140, 20, 0.12); }
.seri-rozet.yandi .ik { fill: rgba(255, 176, 32, 0.35); }
.seri-rozet.parla { animation: rozetParla .9s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes rozetParla { 0% { transform: scale(1); } 35% { transform: scale(1.22); box-shadow: 0 0 0 6px rgba(255, 176, 32, 0.18); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }

/* Seri kutlaması (bildirim) */
.seri-kutlama { position: fixed; left: 50%; top: calc(var(--nav-h) + 12px); z-index: 120; display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px 12px 12px; border-radius: 18px;
  background: #1b2b4d; color: #fff; border: 1px solid rgba(255, 176, 32, 0.35); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -16px) scale(.96); opacity: 0; transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s; pointer-events: none; }
.seri-kutlama.acik { transform: translate(-50%, 0) scale(1); opacity: 1; }
.seri-kutlama .sk-alev { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #ffb020, #ff6b2c); color: #fff; }
.seri-kutlama .sk-alev .ik { width: 24px; height: 24px; fill: rgba(255, 255, 255, 0.3); animation: alevOyna 1.2s ease-in-out infinite; }
.seri-kutlama .sk-yazi { display: flex; flex-direction: column; line-height: 1.25; }
.seri-kutlama .sk-yazi b { font: 800 1.05rem/1.2 var(--display); }
.seri-kutlama .sk-yazi span { font-size: 0.85rem; color: #c9d5ec; }
.seri-kutlama.buyuk { padding: 16px 22px 16px 16px; }
.seri-kutlama.buyuk .sk-alev { width: 52px; height: 52px; }
@keyframes alevOyna { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.12) rotate(3deg); } }

@media (max-width: 860px) {
  :root { --nav-h: 61px; --alt-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .nav-inner { height: 60px; gap: 8px; }
  .wrap.nav-inner { padding-left: 14px; padding-right: 14px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  header.nav .brand > b { display: inline; font-size: 1.12rem; }
  .geri-tus { width: 38px; height: 38px; margin-right: 2px; border-radius: 12px; }
  .seri-rozet { display: inline-flex; }
  /* tema · dil · bilgi menüye taşınır (main.ts); taşınmadan önceki ilk karede üst çubukta görünmesin */
  .nav-inner > .tema-sec, .nav-inner > .dil-sec, .nav-inner > .bilgi-sec { display: none; }
  .nav-toggle { padding: 7px; border-radius: 12px; }
  .dil-sec { margin: 0; }

  /* Menünün başındaki ayar satırı: tema · dil · bilgi */
  .nav-ayar { display: flex; align-items: center; gap: 10px; padding: 12px 0 14px; border-bottom: 1px solid var(--line-dark); }
  .nav-ayar-ad { margin-right: auto; font-size: 0.85rem; font-weight: 600; color: var(--muted-light); }
  .nav-ayar > *:not(.nav-ayar-ad) { margin: 0 !important; order: 0 !important; }
  .nav-ayar .tema-sec, .nav-ayar .bilgi-sec { width: 40px; height: 40px; }
  .nav-ayar .dil-sec { height: 40px; padding: 0 14px; }
  /* Tema: menüde üçlü seçici (tema.ts); simge düğmesi burada gizli */
  .nav-ayar { flex-wrap: wrap; row-gap: 10px; }
  .nav-ayar-ad { flex-basis: auto; }
  .nav-ayar > .tema-secim { order: 10 !important; flex: 1 1 100%; }
  .nav-ayar .tema-sec { display: none; }
  .tema-secim { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); min-width: 0; }
  .ts-dugme { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 6px; border: 0; border-radius: 9px;
    background: none; color: var(--muted-light); font: 600 0.82rem/1 var(--body); cursor: pointer; min-width: 0; }
  .ts-dugme .ik { width: 16px; height: 16px; flex: none; }
  .ts-dugme span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ts-dugme.on { background: var(--gold); color: var(--ink-900); }
  .nav-main { max-height: calc(100dvh - var(--nav-h) - var(--alt-h)); }
  /* Menüdeki açılan öbekler: masaüstü açılır kutusunun (cam zemin, çerçeve, BÜYÜK HARF başlık) yerine sade liste */
  .nav-links .nav-drop, .nav-group.acik .nav-drop { background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 2px 0 12px; margin: 0; }
  .nav-links .nav-mega-bas { text-transform: none; letter-spacing: 0; font-size: 0.78rem; font-weight: 600; color: var(--muted-light);
    border: 0; padding: 10px 12px 4px; margin: 0; }
  .nav-links .nav-drop a.link, .nav-links .nav-drop a.link.nav-mega-link { padding: 10px 12px; border-radius: 12px; border-bottom: 0; }
  .nav-links .nav-drop a.link.active { background: rgba(245, 182, 12, 0.1); }
  .nav-links .nav-drop a.link.active b { color: var(--gold); }
  .nav-group.acik > .link { color: #fff; }

  /* Alt sekme çubuğu */
  body.alt-cubuklu { padding-bottom: var(--alt-h); }
  .alt-cubuk { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 22, 40, 0.95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line-dark); transition: transform .25s ease; -webkit-user-select: none; user-select: none; }
  body.klavye-acik .alt-cubuk { transform: translateY(110%); }
  .ac-sekme { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 0; min-width: 0;
    color: var(--muted-light); font-size: 0.68rem; font-weight: 600; letter-spacing: 0; -webkit-tap-highlight-color: transparent; }
  .ac-sekme[hidden] { display: none; }
  .ac-ik { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 999px; transition: background .2s, color .2s, transform .15s; }
  .ac-ik .ik { width: 22px; height: 22px; }
  .ac-ad { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ac-sekme.on { color: #fff; }
  .ac-sekme.on .ac-ik { background: rgba(245, 182, 12, 0.16); color: var(--gold); }
  .ac-sekme:active .ac-ik { transform: scale(.92); }

  /* Alt çubukla çakışan yapışkan/sabit öğeler */
  .kl-tost { bottom: calc(var(--alt-h) + 14px); }
  .kl-bildirim { bottom: calc(var(--alt-h) + 12px); }
  .dg-alt { bottom: var(--alt-h); }
  .book-rail { bottom: var(--alt-h); }
  .th-fab { bottom: calc(var(--alt-h) + 14px); }
  footer.foot { padding: 28px 0 22px; margin-top: 28px; }
  footer.foot .meta { font-size: 0.8rem; }

  /* Sayfa başlıkları telefonda kısa: içerik ilk ekranda görünsün */
  .page-hero { padding: 22px 0 14px; }
  .page-hero h1 { font-size: clamp(1.6rem, 7.4vw, 2rem); margin: 8px 0 8px; line-height: 1.1; }
  .page-hero p { font-size: 0.95rem; line-height: 1.5; }

  /* Bölüm şeridi (altCubuk.ts) */
  .bolum-serit { position: relative; border-bottom: 1px solid var(--line-dark); background: var(--ink-900); }
  .bs-ic { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
  .bs-ic::-webkit-scrollbar { display: none; }
  .bs-cip { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; white-space: nowrap;
    color: var(--text-light); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
  .bs-cip[hidden] { display: none; }
  .bs-cip.on { background: var(--gold); border-color: var(--gold); color: var(--ink-900); }

  /* Ana sayfa: kahraman alanı yerine telefon düzeni */
  .hero, .wod-masa { display: none; }
  .mh { display: block; padding: 18px 0 6px; }
}

/* ---------------- telefon ana sayfası ---------------- */
.mh .wrap { display: flex; flex-direction: column; gap: 14px; }
.mh-selam { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 4px; }
.mh-selam small { display: block; color: var(--muted-light); font-size: 0.85rem; font-weight: 500; }
.mh-selam h1 { font-size: 1.7rem; line-height: 1.15; margin-top: 2px; }
.mh-maskot { width: 54px; height: 54px; border-radius: 50%; flex: none; box-shadow: 0 8px 22px -10px rgba(245, 182, 12, 0.7); }

.mh-seri { position: relative; padding: 16px; border-radius: 22px; background: var(--ink-800); border: 1px solid var(--line-dark); overflow: hidden; }
.mh-seri-ust { display: flex; align-items: center; gap: 12px; }
.mh-alev { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.05); color: var(--muted-light); }
.mh-alev .ik { width: 28px; height: 28px; }
.mh-seri.yandi .mh-alev { background: linear-gradient(160deg, #ffb020, #ff6b2c); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 120, 30, 0.8); }
.mh-seri.yandi .mh-alev .ik { fill: rgba(255, 255, 255, 0.28); }
.mh-seri.simdi .mh-alev { animation: rozetParla .9s cubic-bezier(.34, 1.56, .64, 1); }
.mh-seri-sayi { display: flex; align-items: baseline; gap: 7px; }
.mh-seri-sayi b { font: 800 2.1rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.mh-seri.yandi .mh-seri-sayi b { color: #ffb020; }
.mh-seri-sayi span { color: var(--muted-light); font-weight: 600; font-size: 0.92rem; }
.mh-seri-rekor { margin-left: auto; text-align: right; line-height: 1.2; }
.mh-seri-rekor small { display: block; color: var(--muted-light); font-size: 0.75rem; }
.mh-seri-rekor b { font: 700 0.95rem/1.2 var(--display); color: var(--text-light); }
.mh-hafta { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 16px 0 12px; }
.mh-gun { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mh-gun small { font-size: 0.72rem; font-weight: 600; color: var(--muted-light); }
.mh-nokta { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, 0.1); color: #fff; }
.mh-nokta .ik { width: 16px; height: 16px; stroke-width: 3; }
.mh-gun.dolu .mh-nokta { background: #ff8a1f; border-color: #ff8a1f; }
.mh-gun.bugun .mh-nokta { border-color: var(--gold); }
.mh-gun.bugun small { color: var(--gold); }
.mh-gun.gelecek .mh-nokta { border-style: dashed; opacity: .55; }
.mh-seri-not { color: var(--muted-light); font-size: 0.88rem; line-height: 1.45; }

.mh-hatirlat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: -4px; border-radius: 18px;
  background: var(--ink-800); border: 1px solid var(--line-dark); }
.mh-hatirlat[hidden] { display: none; }
.mh-hatirlat-ik { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.05); color: var(--muted-light); }
.mh-hatirlat.acik .mh-hatirlat-ik { background: rgba(255, 138, 31, 0.16); color: #ffb020; }
.mh-hatirlat-ik .ik { width: 20px; height: 20px; }
.mh-hatirlat-yazi { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.3; cursor: pointer; }
.mh-hatirlat-yazi b { font-size: 0.92rem; color: var(--text-light); }
.mh-hatirlat-yazi small { font-size: 0.76rem; color: var(--muted-light); }
.mh-hatirlat select { flex: none; height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05); color: var(--text-light); font: 600 0.85rem/1 var(--body); }
.mh-anahtar { flex: none; position: relative; width: 48px; height: 28px; border-radius: 99px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.16); transition: background .2s; }
.mh-anahtar span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.mh-anahtar[aria-checked="true"] { background: #ff8a1f; }
.mh-anahtar[aria-checked="true"] span { transform: translateX(20px); }

.mh-kelime { padding: 18px 18px 16px; border-radius: 22px; color: #fff;
  background: linear-gradient(155deg, #213a6b 0%, #172a4f 55%, #131f38 100%); border: 1px solid rgba(95, 176, 236, 0.22);
  box-shadow: 0 22px 40px -26px rgba(62, 155, 224, 0.7); }
.mh-kelime-ust { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mh-kelime-ust span { font-weight: 700; font-size: 0.85rem; color: var(--gold); }
.mh-kelime-ust small { color: #a9bad6; font-size: 0.8rem; }
.mh-kelime-soz { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.mh-kelime-soz h2 { font-size: clamp(1.9rem, 9vw, 2.4rem); line-height: 1.05; color: #fff; overflow-wrap: anywhere; }
.mh-ses { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--gold); color: var(--ink-900); box-shadow: 0 8px 20px -8px rgba(245, 182, 12, 0.8); }
.mh-ses svg { width: 22px; height: 22px; }
.mh-ses:active { transform: scale(.94); }
.mh-kelime-ok { margin-top: 6px; color: #a9bad6; font-family: var(--mono); font-size: 0.88rem; }
.mh-seviye { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1);
  font: 700 0.72rem/1.6 var(--body); color: #dfe8f7; vertical-align: 1px; }
.mh-kelime-anlam { margin-top: 12px; font-size: 1.12rem; font-weight: 700; color: #fff; }
.mh-kelime-ornek { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); color: #b8c6de; font-size: 0.9rem; line-height: 1.45; }
.mh-kelime-ornek span { display: block; color: #8fd0ff; font-weight: 500; margin-bottom: 2px; }
.mh-kelime-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.mh-ogrendim { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 14px; border: 0; cursor: pointer;
  background: #fff; color: var(--ink-900); font: 700 0.95rem/1 var(--body); transition: background .2s, color .2s; }
.mh-ogrendim .ik { width: 18px; height: 18px; stroke-width: 3; }
.mh-ogrendim.tamam { background: rgba(52, 211, 166, 0.16); color: #4be3b8; }
.mh-arsiv { display: inline-flex; align-items: center; gap: 6px; color: #a9d6ff; font-weight: 600; font-size: 0.88rem; }
.mh-arsiv svg { width: 16px; height: 16px; }
.mh-widgetlar[hidden] { display: none; }
.mh-widget-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mh-widget { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line-dark); background: var(--ink-800); color: var(--text-light); text-align: left; font-family: var(--body); }
.mh-widget > .ik { width: 22px; height: 22px; color: var(--gold); }
.mh-widget b { display: block; font-size: 0.92rem; }
.mh-widget small { display: block; color: var(--muted-light); font-size: 0.78rem; line-height: 1.35; margin-top: 2px; }
.mh-widget:active { transform: scale(.98); }
.mh-widget-not { margin-top: 8px; color: var(--muted-light); font-size: 0.82rem; }

.mh-devam { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--ink-800); border: 1px solid var(--line-dark); }
.mh-devam-ik { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(52, 211, 166, 0.14); color: #34d3a6; }
.mh-devam-ik .ik { width: 20px; height: 20px; fill: currentColor; }
.mh-devam-yazi { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; margin-right: auto; }
.mh-devam-yazi small { color: var(--muted-light); font-size: 0.78rem; }
.mh-devam-yazi b { color: #fff; font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-devam > svg { width: 18px; height: 18px; color: var(--muted-light); flex: none; }

.mh-baslik { font-size: 1.15rem; margin: 8px 2px -2px; }
.mh-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; padding: 14px 8px; border-radius: 22px; background: var(--ink-800); border: 1px solid var(--line-dark); }
.mh-hizli { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-size: 0.74rem; font-weight: 600; line-height: 1.2; color: var(--text-light); -webkit-tap-highlight-color: transparent; }
.mh-hizli[hidden] { display: none; }
.mh-hizli-ik { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--r) 16%, transparent); color: var(--r); transition: transform .15s; }
.mh-hizli-ik .ik { width: 24px; height: 24px; }
.mh-hizli:active .mh-hizli-ik { transform: scale(.92); }

@media (prefers-reduced-motion: reduce) {
  .seri-rozet.parla, .mh-seri.simdi .mh-alev, .seri-kutlama .sk-alev .ik { animation: none; }
}

/* Tema menüsü (üst çubuk düğmesi, tema.ts): simge + ad */
.tema-menu button { justify-content: flex-start; }
.tema-menu button .ik { width: 17px; height: 17px; color: var(--muted-light, #8fa0bf); }
.tema-menu button[aria-checked="true"] .ik { color: var(--gold, #f5b60c); }

/* ============================================================
   MENÜ SAYFASI (telefon, ≤860px): hamburger menü yarım açılan panel değil, sağdan kayan tam ekran
   bir sayfa. Başlık (logo · Menü · kapat) main.ts'te eklenir; açıp kapama navmenu.ts. Sıra: hesap,
   bölüm kartları (Gramer · Kelimeler · Sınav · Okul, hepsi açık), görünüm ve dil. Üst menü gibi her temada koyu.
   ============================================================ */
.menu-ust, .menu-bolum-ik { display: none; }
@media (max-width: 860px) {
  .nav-main { position: fixed; inset: 0 !important; height: 100vh; height: 100dvh; max-height: none;
    display: flex; flex-direction: column; gap: 14px; padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--ink-900); border: 0; overflow-y: auto; overscroll-behavior: contain; z-index: 5;
    opacity: 1; transform: translateX(100%); visibility: hidden; pointer-events: none;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s; }
  .nav-main.open { transform: none; visibility: visible; pointer-events: auto;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  body.menu-acik .alt-cubuk { transform: translateY(110%); }
  /* Kapalı menü ekranın sağında bekliyor: sayfayı yatayda genişletmesin (scrollWidth 780 oluyordu).
     Menünün kapsayıcısı üst çubuk (backdrop-filter); yalnız yatayda kırpılır, dikeyde taşabilir. */
  header.nav { overflow-x: clip; }

  .menu-ust { position: sticky; top: 0; z-index: 2; flex: none; display: flex; align-items: center; gap: 10px;
    height: 60px; margin: 0 -16px; padding: 0 14px 0 16px; background: rgba(14, 22, 40, 0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
  .menu-ust img { width: 32px; height: 32px; }
  .menu-ust b { margin-right: auto; font: 800 1.2rem/1 var(--display); color: #fff; }
  .menu-kapat { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
    border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); color: var(--text-light); }
  .menu-kapat .ik { width: 20px; height: 20px; }
  .menu-kapat:active { transform: scale(.94); }

  .nav-auth { order: 1; } .nav-links { order: 2; } .nav-ayar { order: 3; }

  /* Bölüm kartları */
  .nav-links { gap: 12px; }
  .nav-links .nav-group { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 20px; padding: 6px; }
  .nav-links .nav-group > .nav-group-link { pointer-events: none; display: flex; align-items: center; justify-content: flex-start; gap: 10px;
    padding: 8px 8px 6px; border: 0; font: 800 1.08rem/1.2 var(--display); color: #fff; }
  .nav-links .nav-caret { display: none !important; }
  .menu-bolum-ik { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex: none;
    background: rgba(245, 182, 12, 0.14); color: var(--gold); }
  .menu-bolum-ik .ik { width: 19px; height: 19px; }
  .nav-links .nav-drop, .nav-links .nav-group.acik .nav-drop { display: flex !important; flex-direction: column; gap: 2px; padding: 0; margin: 0; border: 0; }
  .nav-links .nav-mega-bas { padding: 10px 12px 4px; margin: 0; font-size: 0.76rem; }
  .nav-links .nav-mega-col:first-child .nav-mega-bas { padding-top: 4px; }
  .nav-links .nav-drop a.link, .nav-links .nav-drop a.link.nav-mega-link { position: relative; padding: 11px 38px 11px 12px; border-radius: 14px;
    border: 0; color: var(--text-light); font-size: 0.95rem; }
  .nav-links .nav-drop a.link::after { content: ""; display: block !important; position: absolute; left: auto; right: 16px; top: 50%; bottom: auto;
    width: 7px; height: 7px; border-right: 2px solid var(--muted-light); border-top: 2px solid var(--muted-light);
    background: none; box-shadow: none; border-radius: 1px; transform: translateY(-50%) rotate(45deg); opacity: .55; }
  .nav-links .nav-drop a.link:active { background: rgba(255, 255, 255, 0.06); }
  .nav-links .nav-drop a.link.active { background: rgba(245, 182, 12, 0.1); color: var(--gold); }
  .nav-links .nav-mega-link small { margin-top: 2px; }
  .nav-links .nav-mega-link.nav-mega-one { background: none; border: 0; }
  .nav-links .nav-mega-link.nav-mega-one:not(.active) b { color: var(--text-light); }
  .nav-links .nav-drop a.link.active b { color: var(--gold); }
  /* Tek başına bağlantı (Oyunlar): kart satırı */
  .nav-links > a.link { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-dark) !important;
    border-radius: 20px; background: var(--ink-800); font: 800 1.05rem/1.2 var(--display); color: #fff; }

  /* Hesap: giriş yapmamışsa iki düğme, yapmışsa kart */
  .nav-auth { display: flex; gap: 10px; padding: 14px 0 0; }
  .nav-auth > a.auth-open { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; padding: 0;
    border-radius: 14px; font-weight: 700; font-size: 0.98rem; }
  .nav-auth > a.link.auth-open { border: 1px solid var(--line-dark); color: #fff; background: rgba(255, 255, 255, 0.04); }
  .nav-auth .user-menu { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 20px; padding: 6px; }
  .nav-auth .user-menu .user-chip { padding: 8px; color: #fff; font-weight: 700; }
  .nav-auth .user-menu .user-chip .avatar { width: 36px; height: 36px; }
  .nav-auth .user-menu .nav-drop a.link, .nav-auth .user-menu .user-cikis { position: relative; padding: 11px 38px 11px 12px; border-radius: 14px; border: 0;
    font-size: 0.95rem; font-weight: 500; color: var(--text-light); text-align: left; }
  .nav-auth .user-menu .nav-drop a.link::after { content: ""; display: block !important; position: absolute; left: auto; right: 16px; top: 50%; bottom: auto;
    width: 7px; height: 7px; border-right: 2px solid var(--muted-light); border-top: 2px solid var(--muted-light);
    background: none; box-shadow: none; transform: translateY(-50%) rotate(45deg); opacity: .55; }
  .nav-auth .user-menu .user-cikis { color: #ff8f80; margin-top: 2px; }
  .nav-auth .user-menu .nav-drop a.link:active, .nav-auth .user-menu .user-cikis:active { background: rgba(255, 255, 255, 0.06); }

  /* Görünüm ve dil: kart */
  .nav-ayar { background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 20px; padding: 12px 12px 14px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .nav-main, .nav-main.open { transition: none; }
}

/* ============================================================
   DERGİ VİTRİNİ (/magazine): bu sayı + merak kancaları + yatay raflar (views/dergiVitrin.ts)
   ============================================================ */
.dv-vitrin { position: relative; overflow: hidden; padding: clamp(22px, 5vw, 56px) 0 clamp(18px, 3vw, 30px);
  background: radial-gradient(120% 90% at 85% 0%, rgba(233, 57, 115, 0.16), transparent 55%),
              radial-gradient(90% 80% at 0% 100%, rgba(62, 155, 224, 0.14), transparent 60%); }
.dv-ic { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.dv-kapak { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg); transition: transform .5s cubic-bezier(.16, 1, .3, 1);
  animation: dvSuz 6s ease-in-out infinite; }
.dv-kapak:hover { transform: perspective(900px) rotateY(0) rotateX(0) translateY(-4px); }
.dv-kapak img { width: 100%; height: 100%; object-fit: cover; }
.dv-kapak-isik { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 60%);
  transform: translateX(-120%); animation: dvIsik 5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes dvSuz { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes dvIsik { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.dv-ust { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: #ff8fb1; }
.dv-nokta { width: 8px; height: 8px; border-radius: 50%; background: #ff4f8b; box-shadow: 0 0 0 0 rgba(255, 79, 139, 0.6); animation: dvNabiz 1.8s infinite; }
@keyframes dvNabiz { 70% { box-shadow: 0 0 0 9px rgba(255, 79, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 79, 139, 0); } }
.dv-baslik { font: 700 clamp(1.6rem, 3.6vw, 2.6rem)/1.15 Georgia, "Spectral", serif; color: #fff; margin: 12px 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
.dv-konular { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dv-konular span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark);
  font-size: 0.8rem; color: var(--text-light); }
.dv-bilgi { color: var(--muted-light); font-size: 0.9rem; margin-bottom: 18px; }
.dv-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.dv-oku .ik { width: 18px; height: 18px; }
.dv-siradaki { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.86rem; color: var(--muted-light); }
.dv-siradaki .ik { width: 16px; height: 16px; color: var(--gold); }
.dv-siradaki b { color: var(--text-light); }

.dv-kancalar { padding: 18px 0 8px; }
.dv-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dv-bas h2 { font: 700 1.35rem/1.2 Georgia, serif; color: var(--text-light); }
.dv-bas span { font-size: 0.82rem; color: var(--muted-light); }
.dv-serit { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 12px; overflow-x: auto; align-items: start;
  scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dv-serit::-webkit-scrollbar { display: none; }
.dv-kanca { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none;
  background: var(--ink-800); border: 1px solid var(--line-dark); transition: transform .2s, box-shadow .2s; }
.dv-kanca:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.8); }
.dv-kanca:active { transform: scale(.98); }
.dv-kanca-gorsel { position: relative; display: grid; place-items: center; height: 140px; overflow: hidden;
  background: linear-gradient(150deg, var(--r), color-mix(in srgb, var(--r) 45%, #0e1628)); }
.dv-kanca-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.dv-kanca:hover .dv-kanca-gorsel img { transform: scale(1.06); }
.dv-kanca-gorsel::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(14, 22, 40, 0.55)); }
.dv-kanca-gorsel b { position: relative; z-index: 1; padding: 0 14px; text-align: center; font: italic 700 1.55rem/1.15 Georgia, "Spectral", serif; color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.dv-kanca-yazi { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.dv-kanca-yazi small { font-size: 0.72rem; font-weight: 700; color: color-mix(in srgb, var(--r) 55%, #fff); }
.dv-kanca-yazi > span { color: var(--text-light); font-weight: 600; font-size: 0.95rem; line-height: 1.38; }
.dv-kanca-yazi em { padding-top: 4px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; font-size: 0.84rem; color: var(--gold); }
.dv-kanca-yazi em .ik { width: 14px; height: 14px; }

/* Raflar: yatay kaydırmalı sıra (uzun ızgara yerine) */
.dg-raflar.dg-sira { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(170px, 200px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: thin; }
.dg-sira .dg-raf { scroll-snap-align: start; }
.dg-rozet { position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: 3px 9px; border-radius: 99px; background: #ff4f8b; color: #fff;
  font: 800 0.7rem/1.4 var(--body); letter-spacing: .02em; box-shadow: 0 6px 14px -6px rgba(255, 79, 139, 0.8); }

@media (max-width: 700px) {
  .dv-ic { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .dv-kapak { transform: none; border-radius: 8px; }
  .dv-baslik { font-size: 1.32rem; margin: 6px 0 10px; }
  .dv-yazi { display: contents; }
  .dv-ust { grid-column: 1 / -1; order: -1; }
  .dv-kapak { grid-row: 2; }
  .dv-baslik { grid-row: 2; grid-column: 2; align-self: center; }
  .dv-konular, .dv-bilgi, .dv-dugmeler, .dv-siradaki { grid-column: 1 / -1; margin-top: 0; }
  .dv-bilgi { margin-bottom: 0; font-size: 0.84rem; }
  .dv-dugmeler .btn { flex: 1; justify-content: center; padding: 13px 14px; }
  .dv-serit { grid-auto-columns: 78%; }
  .dg-raflar.dg-sira { grid-auto-columns: 42%; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dv-kapak, .dv-kapak-isik, .dv-nokta { animation: none; }
}
/* Raf sıraları arasında aşırı boşluk olmasın */
.pad-sm:has(> .wrap > .dg-sira) { padding: clamp(14px, 2.5vw, 28px) 0; }

/* ============================================================
   ALIŞTIRMA EKRANLARI (telefon): soru ilk ekrana sığsın — açıklama gizli, kaynak seçimi tek kayan satır,
   istatistikler ince tek satır, şıklar alt alta (kelime / gramer alıştırması, büyüteç)
   ============================================================ */
@media (max-width: 860px) {
  .page-hero:has(+ .pad-sm .bp-ust), .page-hero:has(+ .pad-sm .game-bar) { padding: 14px 0 0; }
  .page-hero:has(+ .pad-sm .bp-ust) p, .page-hero:has(+ .pad-sm .game-bar) p { display: none; }
  .page-hero:has(+ .pad-sm .bp-ust) h1, .page-hero:has(+ .pad-sm .game-bar) h1 { font-size: 1.45rem; margin: 4px 0 0; }
  .pad-sm:has(.bp-ust), .pad-sm:has(.game-bar) { padding-top: 12px; }
  .bp-ust { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 10px; }
  .bp-kaynaklar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .bp-kaynaklar::-webkit-scrollbar { display: none; }
  .bp-kaynak { flex: none; padding: 7px 12px; font-size: 0.85rem; }
  .bp-yon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; border-radius: 12px; }
  .bp-yon button { justify-content: center; min-width: 0; white-space: nowrap; font-size: 0.82rem; padding: 7px 4px; border-radius: 9px; }
  .game-bar { gap: 6px; margin-bottom: 10px; }
  .game-stat { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 6px 8px; border-radius: 10px; }
  .game-stat span { display: inline; font-size: 0.74rem; }
  .game-stat b { font-size: 1.02rem; }
  .quiz-card { padding: 18px 16px 16px; border-radius: 16px; }
  .match-word { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .match-phon { margin: 4px 0 14px; }
  .quiz-opts { grid-template-columns: 1fr; gap: 8px; }
  .opt { min-height: 48px; padding: 12px 14px; }
  .game-fb { margin-top: 12px; }
  .game-next { margin-top: 12px; }
}

/* Gramer haritası (telefon): kısa giriş, tek satır seviye şeridi, arama ilk ekranda */
@media (max-width: 860px) {
  .gh-bas { margin-top: 16px; margin-bottom: 12px; }
  .gh-bas h1 { font-size: 2.1rem; margin: 0 0 8px; }
  .gh-bas > p:not(.gh-ipucu) { display: none; }
  .gh-bas > p.gh-ipucu { display: none; }
  .gh-bas .toc-stats { margin-top: 0; }
  .gh-serit { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin: 14px -20px 0; padding: 0 20px 2px; gap: 6px; }
  .gh-serit::-webkit-scrollbar { display: none; }
  .gh-seg { flex: none !important; min-width: 0; grid-template-columns: auto auto; column-gap: 6px; padding: 8px 12px 8px; }
  .gh-seg em { grid-column: auto; margin-top: 0; align-self: center; }
  .gh-seg span { display: none; }
  .toc-search-row.gh-ara { margin-top: 4px; }
}

/* ============================================================
   GANLISH İKON DİLİ (ikon.ts): .v = anlamı taşıyan parça. Varsayılan tek renk; marka alanlarında altın.
   ============================================================ */
.ik .v { stroke: var(--ikon-vurgu, currentColor); }
.ac-sekme.on .ac-ik { color: #fff; --ikon-vurgu: var(--gold); }
.menu-bolum-ik, .quick .qi, .mh-widget > .ik, .seri-kutlama .sk-alev { --ikon-vurgu: #fff; }
.mh-hizli-ik, .sn-ik, .ok-oyun-ik { --ikon-vurgu: color-mix(in srgb, currentColor 35%, #fff); }
.seri-rozet.yandi { --ikon-vurgu: #fff3c4; }
.mh-seri.yandi .mh-alev { --ikon-vurgu: #fff3c4; }
.mh-seri:not(.yandi) .mh-alev, .seri-rozet:not(.yandi) { --ikon-vurgu: currentColor; }
.bs-cip .ik, .dv-oku .ik { --ikon-vurgu: currentColor; }

/* Profil (giriş yapılmamış) */
.pg-kart { max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.pg-seri { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 138, 31, 0.1); border: 1px solid rgba(255, 176, 32, 0.3); color: var(--text-light); font-size: 0.9rem; }
.pg-seri .ik { width: 22px; height: 22px; color: #ffb020; flex: none; --ikon-vurgu: #fff3c4; }
.pg-seri b { color: #ffb020; }
.pg-faydalar { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 6px; margin: 0 0 4px; border-radius: 18px;
  background: var(--ink-800); border: 1px solid var(--line-dark); }
.pg-faydalar li { display: flex; align-items: center; gap: 12px; padding: 8px; }
.pg-ik { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(245, 182, 12, 0.12); color: var(--gold); --ikon-vurgu: #fff; }
.pg-ik .ik { width: 21px; height: 21px; }
.pg-faydalar b { display: block; color: var(--text-light); font-size: 0.95rem; }
.pg-faydalar small { display: block; color: var(--muted-light); font-size: 0.82rem; line-height: 1.35; }
.pg-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 14px; border: 0; cursor: pointer;
  background: #fff; color: #1f2937; font: 700 0.98rem/1 var(--body); }
.pg-google svg { width: 20px; height: 20px; }
.pg-uye { justify-content: center; height: 50px; padding: 0; border-radius: 14px; }
.pg-giris { text-align: center; color: var(--muted-light); font-size: 0.9rem; padding: 6px; }
.pg-giris b { color: var(--sky-bright); }
html[data-tema="acik"] .pg-faydalar { background: #fff; border-color: #dbe4f0; }
html[data-tema="acik"] .pg-faydalar b { color: #16203a; }
html[data-tema="acik"] .pg-faydalar small, html[data-tema="acik"] .pg-giris { color: #5a6b88; }
html[data-tema="acik"] .pg-google { border: 1px solid #dbe4f0; }
html[data-tema="acik"] .pg-seri { color: #16203a; }

@media (max-width: 860px) {
  body:not(.sayfa-profil) footer.foot { display: none; }
  /* Ana sayfa sıkılaştırma: seri kartı daha kısa, ses düğmesi sakin, Öğrendim ana eylem (altın) */
  .mh-seri { padding: 12px 14px; }
  .mh-alev { width: 42px; height: 42px; border-radius: 13px; }
  .mh-alev .ik { width: 24px; height: 24px; }
  .mh-seri-sayi b { font-size: 1.8rem; }
  .mh-hafta { margin: 10px 0 8px; }
  .mh-nokta { width: 26px; height: 26px; }
  .mh-seri-not { font-size: 0.84rem; }
  .mh-ses { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); color: var(--gold); box-shadow: none; }
  .mh-ses svg { width: 20px; height: 20px; }
  .mh-ogrendim:not(.tamam) { background: var(--gold); color: var(--ink-900); }
  .mh-kelime { box-shadow: none; }
  .mh-maskot { box-shadow: none; }
}
/* Parlamalar (glow) kalkar: ayrım düz yüzey + ince kenarlıkla (Codex/Antigravity önerisi) */
.btn-primary, .btn-primary:hover, .nav-cta.btn-primary, .nav-cta.btn-primary:hover { box-shadow: none; }

/* ===== Ganzy oyun masası v2 (17 Kas 2026): solda kırmızı, sağda mavi takım paneli, ortada ipucu + 5×5 yatay kart.
   Tahta ekran yüksekliğine sığar (--gzv-pay: tahta dışındaki dikey alan). Kart yazısı kartın genişliğine göre büyür. */
.gzv { --gzv-pay: 300px; display: grid; grid-template-columns: 212px minmax(0, 1fr) 252px; grid-template-rows: auto auto minmax(0, 1fr);
  grid-template-areas: "ust ust ust" "sol orta sag" "sol orta gunluk"; gap: 12px 18px; align-items: start; }
.gzv-ust { grid-area: ust; margin-bottom: 0; }
.gzv .gzx-bar.oyun { grid-template-columns: auto minmax(0, 1fr) auto; }
.gzv .gzx-bar.oyun > .gzx-sira, .gzv .gzx-bar.oyun > .gzx-rozet { justify-self: center; }
.gzv .gzx-sira.red, .gzv .gzx-sira.blue { animation: none; padding: 7px 16px; font-size: .86rem; }
.gzv .gzx-bar-sag .gzx-cik { margin: 0; padding: 7px 10px; }
.gzv-orta { grid-area: orta; grid-row: 2 / 4; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gzv-alt-not { margin: 0; display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center; }
.gzv > .gzx-gunluk { grid-area: gunluk; position: relative; top: auto; margin: 0; max-height: calc(100dvh - var(--gzv-pay) + 40px); overflow: auto; }
.gzv > .gzx-gunluk .gzx-gunluk-maskot { width: 48px; height: 48px; }

/* takım panelleri */
.gzv-takim { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; border-radius: 16px;
  border: 1px solid var(--line-dark); border-top: 5px solid var(--gzv-renk, var(--gold)); background: var(--ink-800); min-width: 0; }
.gzv-takim.red { --gzv-renk: #e5484d; }
.gzv-takim.blue { --gzv-renk: #3e8fd8; }
.gzv-takim.sen { --gzv-renk: #2fbf71; }
.gzv-takim.ayar { --gzv-renk: var(--ink-600); gap: 8px; }
.gzv-takim.sira { box-shadow: 0 0 0 2px var(--gzv-renk), 0 12px 28px -14px var(--gzv-renk); }
.gzv-skor { display: flex; align-items: center; gap: 10px; }
.gzv-skor b { font: 900 2.7rem/1 var(--display); color: var(--gzv-renk); min-width: 1.2ch; }
.gzv-skor span { display: flex; flex-direction: column; font-weight: 700; color: var(--text-light); font-size: 1rem; }
.gzv-skor small { font-weight: 500; font-size: .76rem; color: var(--muted-light); }
.gzv-cubuk { display: block; height: 6px; border-radius: 9px; background: var(--ink-700); overflow: hidden; }
.gzv-cubuk s { display: block; height: 100%; border-radius: inherit; background: var(--gzv-renk); transition: width .4s; }
.gzv-takim h4 { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.gzv-takim h4 .ik { width: 13px; height: 13px; color: var(--gold); }
.gzv-takim ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.gzv-takim li { font-size: .92rem; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gzv-takim li.ben { font-weight: 700; color: var(--gzv-renk); }
.gzv-takim li small { color: var(--muted-light); font-weight: 500; }
.gzv-takim li.bos { color: var(--muted-light); }
.gzv-katil { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.gzv-takim .gzx-kalpler { margin-top: 6px; }
.gzv-takim.ayar .gzx-alan { margin: 0; }
.gzv-takim.ayar .gzx-btn { width: 100%; justify-content: flex-start; }

/* tahta */
.gzv-masa { width: min(100%, calc((100dvh - var(--gzv-pay)) * var(--gzv-oran, 1.62))); margin: 0 auto; padding: var(--gzv-masa-p, 12px); border-radius: 18px;
  background: var(--ink-900); border: 1px solid var(--line-dark); box-shadow: inset 0 2px 18px rgba(0,0,0,.25); }
.gzv-tahta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gzv-ara, 10px); padding: 0; }

/* kart: arşiv dosyası. ::before sekme, ::after dosya gövdesi; içindeki kâğıtta kırmızı "gizli belge" çerçevesi.
   Renkler değişkenle: --d1/--d2 gövde, --dk alt kenar, --sk sekme. Durumlar yalnız bu değişkenleri değiştirir. */
.gkv { --d1: #f1dba5; --d2: #dcb86e; --dk: #a7823d; --sk: #e5c47f;
  container-type: inline-size; position: relative; aspect-ratio: var(--gzv-oran, 1.62); display: flex; flex-direction: column; justify-content: center;
  align-items: stretch; gap: 0; min-width: 0; min-height: 0; padding: 9% 0 0; border: 0; border-radius: 0; overflow: visible; font: inherit; cursor: default;
  color: #1d2233; background: none; box-shadow: none; transition: transform .12s ease; }
.gkv::before { content: ""; position: absolute; top: 0; left: 6%; width: 38%; height: 14%; border-radius: 7px 9px 0 0; background: var(--sk);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.gkv::after { content: ""; position: absolute; inset: 9% 0 0; z-index: 0; border-radius: 3px 10px 9px 9px;
  background: linear-gradient(172deg, var(--d1), var(--d2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 var(--dk), 0 9px 14px -10px rgba(0,0,0,.6);
  transition: box-shadow .12s ease; }
.gkv > * { position: relative; z-index: 1; }
/* çizimli kart (açılmış ya da resimli mod): çizim solda, kelime sağda */
.gkv:has(.gkv-res) { flex-direction: row; align-items: stretch; justify-content: flex-start; }
.gkv:has(.gkv-res) .gkv-res { flex: 0 0 34%; margin: 6% 0 7% 5%; }
.gkv:has(.gkv-res) .gkv-etiket { flex: 1 1 auto; min-width: 0; justify-content: center; margin: 6% 5% 7% 4%; padding: 2% 3%; }
.gkv:has(.gkv-res) .gkv-en { --gkv-enbuyuk: 1.1rem; }
.gkv:has(.gkv-res) .gkv-tr { font-size: clamp(.46rem, 13cqw, .78rem); white-space: normal; line-height: 1.1; }
/* dosyanın içindeki kâğıt: kırmızı şeritli gizli belge */
.gkv-etiket { container-type: inline-size; display: flex; flex-direction: column; align-items: stretch; gap: 1px; margin: 0 6% 7%; padding: 7% 4% 6%;
  border-radius: 2px; text-align: center; background: #fffdf6; border-top: 4px solid #c41e2c;
  box-shadow: inset 0 0 0 2px #fffdf6, inset 0 0 0 3px rgba(196,30,44,.75), 0 1px 2px rgba(60,40,10,.25); }
.gkv:not(:has(.gkv-res)) .gkv-etiket { margin: 2% 7% 0; padding: 9% 4% 8%; }
.gkv-en { --gkv-enbuyuk: 1.45rem; display: block; max-width: 100%; letter-spacing: 0; text-transform: uppercase; overflow-wrap: normal; word-break: keep-all;
  font: 800 clamp(.5rem, calc(92cqw / (var(--n, 6) * .74)), var(--gkv-enbuyuk))/1.08 var(--display); }
.gkv-tr { display: block; max-width: 100%; font-size: clamp(.5rem, 11cqw, .8rem); font-weight: 600; color: #5d6474; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.gkv-res { display: flex; justify-content: center; flex: 1 1 auto; min-height: 0; margin: 5% 10% 3%; border-radius: 3px; background: #fffdf6;
  box-shadow: 0 1px 2px rgba(60,40,10,.25); }
.gkv-res .kc { display: block; width: auto; height: 100%; max-width: 100%; }
/* tahtadaki küçük çizimler durgun: 25 kartın sürekli canlanması Discord'da takılmaya yol açıyordu */
.gkv-res .kc, .gkv-res .kc * { animation: none !important; transition: none !important; }
.gkv-res .kc-cizgi > * { stroke-dashoffset: 0; }
.gkv-res .kc-iliski { opacity: 1; }
.gkv-simge { position: absolute; top: 13%; left: 4%; z-index: 2; width: clamp(12px, 11cqw, 20px); height: clamp(12px, 11cqw, 20px); color: #fff; }
.gkv-sev { position: absolute; top: 1%; right: 4%; z-index: 2; padding: 0 5px; border-radius: 4px; font-size: clamp(.5rem, 7cqw, .66rem);
  font-weight: 800; color: #1d2233; background: rgba(255,255,255,.88); }

/* uzun sözcük: kâğıt kenar boşluğu azalır, harfler sıkışır; kalan sığdırmayı kelimeSigdir yapar */
.gkv-uzun .gkv-etiket, .gkv-cokuzun .gkv-etiket { padding-left: 1.5%; padding-right: 1.5%; }
.gkv-cokuzun:not(:has(.gkv-res)) .gkv-etiket { margin-left: 4%; margin-right: 4%; }
.gkv-cokuzun .gkv-en { letter-spacing: -.02em; }

/* seçilebilir kart */
.gkv-sec { cursor: pointer; }
.gkv-sec:hover, .gkv-sec:focus-visible { transform: translateY(-3px); outline: none; }
.gkv-sec:hover::after, .gkv-sec:focus-visible::after { box-shadow: 0 0 0 3px var(--gold), 0 3px 0 var(--dk), 0 14px 20px -12px rgba(0,0,0,.6); }
.gkv-sec:active { transform: translateY(0); }
.gkv-q { cursor: help; }
.gkv:disabled { opacity: 1; }

/* Inspector'ın gördüğü (açılmamış) renkler: dosya takımın renginde, kâğıt kapalı */
.gkv-i-kirmizi { --d1: #f4b9b4; --d2: #e2766f; --dk: #a33a35; --sk: #ea8d86; }
.gkv-i-mavi { --d1: #c3dbf6; --d2: #7fb0e8; --dk: #3f6fa8; --sk: #98c1ee; }
.gkv-i-suikast { --d1: #50535e; --d2: #2a2c33; --dk: #000; --sk: #3d4049; }

/* açılmış kartlar: dosya takımın rengine boyanır, kâğıt üstünde kalır */
.gkv-kirmizi { --d1: #ee5d61; --d2: #c3343a; --dk: #8a1f24; --sk: #d9474d; }
.gkv-mavi { --d1: #5aa2e6; --d2: #2d6bb6; --dk: #1c4a80; --sk: #4a8fd6; }
.gkv-dogru { --d1: #47d28b; --d2: #23955a; --dk: #16663c; --sk: #36b873; }
.gkv-tarafsiz { --d1: #cdb07a; --d2: #a2834b; --dk: #6c5328; --sk: #b99b62; }
.gkv-suikast { --d1: #3d4049; --d2: #15171c; --dk: #000; --sk: #2a2c33; }
.gkv-acik .gkv-etiket { border-top-color: rgba(29,34,51,.55); box-shadow: inset 0 0 0 2px #fffdf6, inset 0 0 0 3px rgba(29,34,51,.25), 0 1px 2px rgba(0,0,0,.3); }
.gkv-tarafsiz .gkv-etiket { background: #f4ecda; color: #4f4128; box-shadow: inset 0 0 0 2px #f4ecda, inset 0 0 0 3px rgba(79,65,40,.25); }
.gkv-suikast .gkv-etiket { background: #2a2d35; color: #fff; border-top-color: #c41e2c; box-shadow: inset 0 0 0 2px #2a2d35, inset 0 0 0 3px rgba(255,107,107,.6); }
.gkv-suikast .gkv-tr { color: #b7bdc9; }
.gkv-suikast .gkv-simge { color: #ff6b6b; }

/* açılma canlandırması: yalnız yeni açılan kart */
.gkv-yeni { animation: gkvCevir .38s cubic-bezier(.2,.8,.3,1.1); }
.gkv-yanlis-anim { animation: gkvCevir .38s cubic-bezier(.2,.8,.3,1.1), gkvSalla .4s .38s ease; }
@keyframes gkvCevir { from { transform: perspective(500px) rotateX(80deg); filter: brightness(1.5); } }
@keyframes gkvSalla { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .gkv-yeni, .gkv-yanlis-anim { animation: none; } }

/* büyüteç katmanı: alttaki dosyalarla aynı boy (eski .gk-mercek yüksekliklerini ezer) */
.gzv .gzv-tahta .gk-mercek { --d1: #1d2c4b; --d2: #0e1628; --dk: #070b14; --sk: #1a2744; height: auto; min-height: 0; padding: 9% 0 0;
  justify-content: center; align-items: center; gap: 2px; background: none; box-shadow: none; }
.gzv .gzv-tahta .gk-mercek::after { box-shadow: inset 0 0 0 2px rgba(245,182,12,.6); }
.gzv-tahta .gk-mercek-tr { font-size: clamp(.6rem, 12cqw, 1.2rem); text-align: center; padding: 0 4%; }
.gzv-tahta .gk-mercek-en { font-size: clamp(.5rem, 7cqw, .75rem); }
html[data-tema="acik"] .gzv .gzv-tahta .gk-mercek { --d1: #eef1f6; --d2: #dfe4ee; --dk: #b9c2d3; --sk: #e4e8f0; }

/* ipucu balonu tahtanın üstünde ince kalsın */
.gzv-orta .gzx-balon-ic, .gzv-orta .gzx-ipucu-gir-ic { padding: 8px 16px; }
.gzv-orta .gzx-son { margin: 0; }

@media (max-width: 1180px) {
  .gzv { grid-template-columns: 180px minmax(0, 1fr) 200px; }
  .gzv-skor b { font-size: 2.2rem; }
}
/* telefon / dar pencere: takımlar yan yana üstte, tahta tam genişlik, günlük en altta */
@media (max-width: 860px) {
  .gzv { --gzv-pay: 0px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "ust ust" "sol sag" "orta orta" "gunluk gunluk"; gap: 10px; }
  .gzv-orta { grid-row: auto; }
  .gzv-solo { grid-template-areas: "ust ust" "sol sol" "orta orta" "sag sag" "gunluk gunluk"; }
  .gzv-takim { padding: 10px 12px 12px; gap: 4px; border-top-width: 4px; }
  .gzv-skor b { font-size: 1.9rem; }
  .gzv-skor span { font-size: .9rem; }
  .gzv-takim h4 { margin-top: 4px; }
  .gzv-takim ul { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; }
  .gzv-takim li { font-size: .8rem; }
  .gzv-takim.sen { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
  .gzv-takim.sen .gzv-cubuk { order: 9; flex: 1 0 100%; }
  .gzv-takim.sen .gzx-kalpler { margin: 0; }
  .gzv-takim.ayar { flex-direction: row; flex-wrap: wrap; }
  .gzv-takim.ayar .gzx-alan { flex: 1 0 100%; }
  .gzv-takim.ayar .gzx-btn { width: auto; flex: 1 1 auto; justify-content: center; }
  .gzv { --gzv-masa-p: 6px; --gzv-ara: 5px; }
  .gzv-masa { width: 100%; border-radius: 12px; }
  .gkv { aspect-ratio: 1.12; }
  .gkv-etiket { margin: 0 4% 6%; padding: 6% 3%; border-radius: 5px; }
  .gkv:not(:has(.gkv-res)) .gkv-etiket { margin: 0 4%; }
  .gkv-en { --gkv-enbuyuk: 1.05rem; font-size: clamp(.4rem, calc(96cqw / (var(--n, 6) * .74)), var(--gkv-enbuyuk)); }
  .gkv-etiket, .gkv:not(:has(.gkv-res)) .gkv-etiket { margin-left: 3%; margin-right: 3%; padding-left: 1%; padding-right: 1%; }
  .gzv .gzx-bar.oyun { grid-template-columns: minmax(0, 1fr) auto; }
  .gzv .gzx-bar.oyun > .gzx-sira { grid-column: 1 / -1; order: 3; justify-self: stretch; text-align: center; }
  .gzv .gzx-bar.oyun > .gzx-rozet { display: none; }
  .gkv-tr { font-size: clamp(.42rem, 12cqw, .66rem); }
  .gzv > .gzx-gunluk { max-height: none; }
  .gkv:has(.gkv-res) { flex-direction: column; }
  .gkv:has(.gkv-res) .gkv-res { flex: 1 1 auto; margin: 6% 10% 2%; }
  .gkv:has(.gkv-res) .gkv-etiket { flex: none; margin: 0 3% 5%; }
  .gkv:has(.gkv-res) .gkv-tr { display: none; }
  .gkv:has(.gkv-res) .gkv-en { --gkv-enbuyuk: .85rem; }
}

/* ===== Ganzy bekleme odası v2: oyun masasıyla aynı düzen; takımlar iki yanda, ortada oda kartı */
.gzv-lobi-g { grid-template-rows: auto auto; grid-template-areas: "ust ust ust" "sol orta sag"; grid-template-columns: 252px minmax(0, 1fr) 252px; }
.gzv-lobi-g .gzv-orta { grid-row: auto; }
.gzv-lobi-g .gzx-bar.oyun > .gzx-cip { justify-self: center; }
.gzv-takim .gzv-oyuncular li { display: flex; align-items: center; gap: 8px; }
.gzv-takim .gzv-oyuncular .gzx-av { flex: none; }
.gzv-takim .gzv-oyuncular span { overflow: hidden; text-overflow: ellipsis; }
.gzv-takim > .gzx-btn { margin-top: 8px; }
.gzv-yuva { width: 100%; justify-content: center; }
.gzv-lobi { position: relative; display: flex; justify-content: center; padding: 26px 22px; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 8px), rgba(255,255,255,.025) calc(20% - 8px) 20%), var(--ink-900); }
.gzv-lobi-ic { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 460px; text-align: center; }
.gzv-lobi-et { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.gzv-kod { margin-top: -8px; font: 900 clamp(2.2rem, 6vw, 3.4rem)/1 var(--display); letter-spacing: .14em; color: var(--gold); }
.gzv-cipler { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gzv-adim { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: adim; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.gzv-adim li { counter-increment: adim; position: relative; padding-left: 34px; font-size: .92rem; line-height: 1.45; color: var(--text-light); }
.gzv-adim li::before { content: counter(adim); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--ink-900); background: var(--gold); }
.gzv-lobi-ic .gzx-hazirlar { justify-content: center; flex-wrap: wrap; }
.gzv-basla { min-width: 220px; font-size: 1.05rem; padding: 13px 26px; }
.gzv-lobi-ic > .gzx-not { margin: 0; }
.gzv-orta > .gzx-izleyen { justify-content: center; margin: 0; }
@media (max-width: 1180px) { .gzv-lobi-g { grid-template-columns: 200px minmax(0, 1fr) 200px; } }
@media (max-width: 860px) {
  .gzv-lobi-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "ust ust" "orta orta" "sol sag"; }
  .gzv-lobi { padding: 18px 12px; }
  .gzv-adim li { font-size: .84rem; }
  .gzv-takim .gzv-oyuncular { flex-direction: column; }
  .gzv-lobi-g .gzx-bar.oyun > .gzx-cip { display: none; }
}

/* ===== Sosyal bağlantılar (17 Kas 2026): alt bilgide simge sırası, telefon/uygulama menüsünde "Bizi takip et" düğmeleri */
.foot-sosyal { display: flex; align-items: center; gap: 8px; }
.foot-sos { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--text-light);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); transition: color .15s, border-color .15s, background .15s; }
.foot-sos svg { width: 20px; height: 20px; }
.foot-sos:hover { color: #fff; border-color: transparent; background: var(--sos, var(--gold)); }
.s-ig { --sos: linear-gradient(45deg, #f9a825, #e1306c 45%, #833ab4); }
.s-tt { --sos: #111; }
.s-yt { --sos: #e62117; }
.s-tg { --sos: #229ed9; }
.s-dc { --sos: #5865f2; }
.nav-sosyal { display: none; }
@media (max-width: 860px) {
  .foot-sosyal { flex-wrap: wrap; justify-content: center; }
  .nav-sosyal { order: 4; display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 6px; }
  .nav-sosyal-bas { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); padding: 0 4px; }
  .ns { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 12px;
    border-radius: 16px; border: 1px solid var(--line-dark); background: var(--ink-800); color: #fff; text-decoration: none; }
  .ns i { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; background: var(--sos); }
  .ns i svg { width: 22px; height: 22px; }
  .ns b { font-size: .98rem; font-weight: 700; line-height: 1.2; }
  .ns small { font-size: .8rem; color: var(--muted-light); }
  .ns:active { transform: scale(.98); }
}
/* Ganzy oyuncu rozeti: Discord profil fotoğrafı */
.gzx-av.foto { padding: 0; overflow: hidden; background: var(--ink-700); }
.gzx-av.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gzv-takim li { display: flex; align-items: center; gap: 8px; }
.gzv-takim li > span { overflow: hidden; text-overflow: ellipsis; }

/* ===== Uygulama daveti (Android tarayıcıda alttan açılan pencere) */
.ud-perde { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(6, 10, 20, 0); transition: background .25s; }
.ud-perde.acik { background: rgba(6, 10, 20, .62); }
.ud { position: relative; width: min(100%, 460px); margin: 0 auto; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0; background: var(--ink-800); border: 1px solid var(--line-dark); border-bottom: 0;
  box-shadow: 0 -18px 40px -20px rgba(0,0,0,.7); transform: translateY(100%); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ud-perde.acik .ud { transform: none; }
.ud-kapat { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--ink-700); color: var(--muted-light); }
.ud-kapat .ik { width: 18px; height: 18px; }
.ud-ust { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.ud-ust img { width: 64px; height: 64px; border-radius: 18px; flex: none; }
.ud-ust h3 { margin: 0; font: 800 1.35rem/1.15 var(--display); color: var(--text-light); }
.ud-ust p { margin: 4px 0 0; font-size: .9rem; color: var(--muted-light); }
.ud-liste { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ud-liste li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; line-height: 1.4; color: var(--text-light); }
.ud-liste .ik { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }
.ud-liste b { font-weight: 700; }
.ud-indir { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; font-size: 1.02rem; }
.ud-indir .ik { width: 20px; height: 20px; }
.ud-sonra { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; background: none; color: var(--muted-light); font: inherit; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .ud, .ud-perde { transition: none; } }
/* bekleme odası kartı dar sütunda taşmasın */
.gzv-lobi-g .gzv-orta, .gzv-lobi { min-width: 0; }
.gzv-lobi-ic { width: 100%; min-width: 0; }
.gzv-kod { max-width: 100%; letter-spacing: .08em; font-size: clamp(1.6rem, 4.2vw, 3rem); overflow-wrap: anywhere; }
.gzv-lobi-ic .gzx-hazirlar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ===== Masaüstü alt bilgi: uygulama şeridi (QR → Google Play) */
.foot-uygulama { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.foot-qr { flex: none; width: 124px; height: 124px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px -10px rgba(0,0,0,.6); }
.foot-uyg-metin { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot-uyg-metin b { font: 800 1.1rem var(--display); color: var(--text-light); }
.foot-uyg-metin span { font-size: .9rem; line-height: 1.45; color: var(--muted-light); max-width: 520px; }
.foot-uyg-btn { margin-left: auto; flex: none; }
@media (max-width: 860px) { .foot-uygulama { display: none; } }
/* Uygulamanın içinde "uygulamayı indir" bölümü (QR + mağaza düğmesi) hiç çizilmez:
   <html>.yerel index.html'de kuruluyor. Genişlik kuralı tablet yatayda yetmiyordu;
   iOS'ta Google Play anılması Apple'ın inceleme kuralına aykırı. */
.yerel .foot-uygulama { display: none; }

/* ===== Panel: topluluk kartı (Discord + Telegram) */
.tk { position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 30px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(88,101,242,.22), rgba(34,158,217,.14)), var(--ink-800); border: 1px solid rgba(88,101,242,.4); }
.tk-metin { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; min-width: 0; padding-right: 30px; }
.tk-metin b { font: 800 1.12rem var(--display); color: var(--text-light); }
.tk-metin span { font-size: .92rem; line-height: 1.45; color: var(--muted-light); }
.tk-dug { display: flex; gap: 10px; flex-wrap: wrap; }
.tk-b { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; color: #fff; text-decoration: none;
  background: var(--sos); }
.tk-b:hover { filter: brightness(1.08); }
.tk-kapat { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted-light); cursor: pointer; }
.tk-kapat .ik { width: 16px; height: 16px; }
@media (max-width: 600px) { .tk-dug { width: 100%; } .tk-b { flex: 1; justify-content: center; } }

/* Kademe seçimi (birleşik uygulama: ilk açılışta ve ana sayfadaki çipten) — kademeSec.ts */
.kd-perde { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 20px 16px;
  background: rgba(6, 10, 20, 0); transition: background .2s; overflow-y: auto; }
.kd-perde.acik { background: rgba(6, 10, 20, .78); }
.kd { width: min(100%, 420px); padding: 26px 20px 20px; border-radius: 26px; text-align: center;
  background: var(--ink-800, #141c30); border: 1px solid var(--line-dark, #26324d); color: var(--text-light, #eef2fb);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.kd-perde.acik .kd { opacity: 1; transform: none; }
.kd-logo { width: 72px; height: 72px; border-radius: 20px; }
.kd h2 { margin: 12px 0 6px; font: 800 1.45rem/1.15 var(--display, system-ui); }
.kd p { margin: 0 0 18px; color: var(--muted-light, #a8b3cc); font-size: .95rem; line-height: 1.45; }
.kd-liste { display: grid; gap: 10px; }
.kd-sec { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 14px 16px 14px 18px;
  border-radius: 16px; border: 1px solid var(--line-dark, #26324d); border-left: 5px solid var(--r); text-align: left;
  background: var(--ink-700, #1b2540); color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kd-sec b { font-size: 1.05rem; }
.kd-sec small { color: var(--muted-light, #a8b3cc); font-size: .82rem; }
.kd-sec.on, .kd-sec:hover { border-color: var(--r); background: color-mix(in srgb, var(--r) 14%, var(--ink-700, #1b2540)); }
.kd-vazgec { margin-top: 14px; border: 0; background: none; color: var(--muted-light, #a8b3cc); font: inherit; text-decoration: underline; }
.mh-baslik-satir { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mh-kademe { flex: none; padding: 5px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--r) 55%, transparent);
  background: color-mix(in srgb, var(--r) 14%, transparent); color: var(--text-light); font: 600 .74rem/1.2 var(--sans, system-ui); }

/* Ganzy · Rastgele oyun bul (ganzyEslesme.ts) */
.gzx-rastgele { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-dark); }
.gzx-rastgele .gzx-btn { width: 100%; justify-content: center; }
.gzx-rastgele small { color: var(--muted-light); font-size: .8rem; line-height: 1.4; }
.gzx-arama { display: grid; justify-items: center; gap: 10px; max-width: 460px; margin: 30px auto; padding: 28px 22px; text-align: center;
  border-radius: 24px; background: var(--ink-800); border: 1px solid var(--line-dark); }
.gzx-arama h2 { margin: 4px 0 0; }
.gzx-arama p { margin: 0; color: var(--muted-light); line-height: 1.5; }
.gzx-arama-maskot { animation: gzx-arama-sallan 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.gzx-arama-sure { font: 700 1.6rem/1 var(--mono, ui-monospace, monospace); color: var(--brand-gold, #f5b60c); }
@keyframes gzx-arama-sallan { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .gzx-arama-maskot { animation: none; } }
.gzx-discord { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(88,101,242,.14); border: 1px solid rgba(88,101,242,.45); color: inherit; text-decoration: none; transition: background .15s; }
.gzx-discord:hover { background: rgba(88,101,242,.24); }
.gzx-discord svg { width: 30px; height: 30px; flex: none; color: #8891f7; }
.gzx-discord span { display: grid; gap: 2px; }
.gzx-discord small { color: var(--muted-light); font-size: .8rem; line-height: 1.35; }
/* Telegram Mini App (@GanzyOyunBot): yalnız Ganzy; site menüleri, alt çubuk, altbilgi ve siteye çıkışlar gizli */
.telegram header.nav, .telegram footer.foot, .telegram .alt-cubuk, .telegram .ud-perde, .telegram .read-progress { display: none !important; }
.telegram body.alt-cubuklu { padding-bottom: 0; }
.telegram #ganzy-root a[href="/games"] { display: none !important; }
.telegram .gz { padding-top: 12px; }
.gzx-telegram { margin-top: 8px; background: rgba(41,169,235,.12); border-color: rgba(41,169,235,.45); }
.gzx-telegram:hover { background: rgba(41,169,235,.22); }
.gzx-telegram svg { color: #3fb4ee; }

/* ============================================================
   ÖNE ÇIKANLAR VİTRİNİ (app4/vitrin.ts): Ganzy + Ganlish Dergi, oyun menüsü kartları; resim kutudan taşar.
   .ov-menu telefon menüsünün başı · .ov-ana telefon ana sayfası · .ov-genis masaüstü ana sayfası
   ============================================================ */
.ov { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ov-k { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 190px; margin-top: 34px; padding: 104px 12px 12px; border-radius: 22px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.75);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .25s; }
.ov-k::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ov-bg); }
.ov-ganzy { --ov-bg: radial-gradient(120% 75% at 50% 0%, rgba(245, 182, 12, 0.34), transparent 62%), linear-gradient(160deg, #2c2668, #141c3d 72%); }
.ov-dergi { --ov-bg: radial-gradient(120% 75% at 50% 0%, rgba(233, 57, 115, 0.34), transparent 62%), linear-gradient(160deg, #4b1a47, #141c3d 72%); }
.ov-res { position: absolute; left: 50%; top: -38px; height: 132px; width: auto; transform: translateX(-50%); pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ov-dergi .ov-res { top: -24px; height: 112px; }
.ov-k:hover, .ov-k:focus-visible { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }
.ov-k:hover .ov-res, .ov-k:focus-visible .ov-res { transform: translateX(-50%) translateY(-6px) scale(1.06) rotate(-2deg); }
.ov-k:active { transform: scale(.98); }
.ov-yazi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-yazi small { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd65c; }
.ov-dergi .ov-yazi small { color: #ff9cbd; }
.ov-yazi b { font: 800 1.18rem/1.1 var(--display); color: #fff; }
.ov-not { font-style: normal; font-size: .78rem; line-height: 1.3; color: rgba(255, 255, 255, 0.72); }
.ov-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 7px 14px;
  border-radius: 999px; background: var(--gold); color: #0e1628; font-weight: 800; font-size: .86rem; }
.ov-dergi .ov-cta { background: #e93973; color: #fff; }
.ov-cta .ik { width: 15px; height: 15px; }
.ov-menu { display: none; }
@media (max-width: 860px) {
  .ov-menu { display: grid; order: 1; }
  .ov-menu .ov-k { min-height: 164px; padding-top: 88px; }
  .ov-menu .ov-res { height: 114px; }
  .ov-menu .ov-dergi .ov-res { height: 98px; }
  .ov-menu .ov-not { display: none; }
  .ov-bolum { display: none; }
}
.ov-genis { gap: 22px; margin-top: 6px; }
.ov-genis .ov-k { min-height: 230px; margin-top: 0; padding: 30px 46% 30px 34px; justify-content: center; border-radius: 28px; }
.ov-genis .ov-res { left: auto; right: 14px; top: 50%; height: 240px; transform: translateY(-56%); }
.ov-genis .ov-dergi .ov-res { right: 2px; height: 218px; }
.ov-genis .ov-k:hover .ov-res, .ov-genis .ov-k:focus-visible .ov-res { transform: translateY(-62%) scale(1.05) rotate(-2deg); }
.ov-genis .ov-yazi b { font-size: 1.9rem; }
.ov-genis .ov-not { font-size: .98rem; margin-top: 4px; }
.ov-genis .ov-cta { margin-top: 14px; padding: 10px 20px; font-size: .95rem; }

/* ============================================================
   YÜZEN KISAYOLLAR (app4/yuzen.ts): sağ altta süzülen Ganzy (üstüne gelince oynat) ve dergi destesi
   ============================================================ */
.yz { position: fixed; right: 20px; bottom: 26px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 16px; pointer-events: none; }
.yz-d { position: relative; display: grid; place-items: center; pointer-events: auto; text-decoration: none; animation: yzSuz 4.4s ease-in-out infinite; }
.yz-ganzy { width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3b4192, #151c3f);
  border: 3px solid var(--gold); box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(245, 182, 12, 0.16); }
.yz-ganzy img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform .3s, filter .2s; }
.yz-oynat { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 14, 30, 0.55); color: #fff;
  opacity: 0; transition: opacity .2s; }
.yz-oynat .ik { width: 28px; height: 28px; fill: currentColor; }
.yz-ganzy:hover .yz-oynat, .yz-ganzy:focus-visible .yz-oynat { opacity: 1; }
.yz-ganzy:hover img { transform: scale(1.08); filter: blur(1px); }
.yz-dergi { width: 96px; height: 82px; animation-delay: -2.2s; }
.yz-dergi img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55)); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.yz-dergi:hover img, .yz-dergi:focus-visible img { transform: scale(1.12) rotate(-4deg); }
.yz-ad { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
  padding: 6px 12px; border-radius: 999px; background: #18223f; border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font-weight: 700; font-size: .82rem;
  opacity: 0; transition: opacity .2s, transform .2s; }
.yz-d:hover .yz-ad, .yz-d:focus-visible .yz-ad { opacity: 1; transform: translate(0, -50%); }
@keyframes yzSuz { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.yz.ganzyde .yz-ganzy, .yz.dergide .yz-dergi { display: none; }
body.menu-acik .yz { display: none; }
@media (max-width: 860px) {
  .yz { right: 12px; bottom: calc(var(--alt-h, 64px) + 14px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .yz-ganzy { width: 54px; height: 54px; }
  .yz-dergi { width: 76px; height: 66px; }
  .yz-ad { display: none; }
  .yz.anasayfa { display: none; }
}
@media (prefers-reduced-motion: reduce) { .yz-d { animation: none; } }
@media print { .yz { display: none; } }

/* ============================================================
   TELEFON MENÜSÜ SADE (21.11): bölümler kapalı gelir, başlığa dokununca açılır (aç/kapa main.ts; menuAc
   bulunduğun bölümü açık getirir). Açık bölümde maddeler iki sütunlu çip; alt yazılar ve sütun başlıkları yok.
   Sosyal hesaplar tek satır yuvarlak simge.
   ============================================================ */
@media (max-width: 860px) {
  .nav-links .nav-group { padding: 4px; }
  .nav-links .nav-group > .nav-group-link { position: relative; pointer-events: auto; cursor: pointer; padding: 8px 44px 8px 8px; }
  .nav-links .nav-group > .nav-group-link::after { content: ""; display: block !important; position: absolute; left: auto; right: 20px; top: 50%; bottom: auto;
    width: 8px; height: 8px; background: none; box-shadow: none; border: 0; border-right: 2px solid var(--muted-light); border-bottom: 2px solid var(--muted-light);
    border-radius: 1px; opacity: .85; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  .nav-links .nav-group.acik > .nav-group-link::after { transform: translateY(-25%) rotate(-135deg); }
  .nav-links .nav-group .nav-drop { display: none !important; }
  .nav-links .nav-group.acik .nav-drop { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 4px 6px; }
  .nav-links .nav-mega-col { display: contents; }
  .nav-links .nav-mega-bas, .nav-links .nav-mega-link small { display: none; }
  .nav-links .nav-drop a.link, .nav-links .nav-drop a.link.nav-mega-link { display: flex; align-items: center; min-height: 46px; padding: 10px 12px;
    border-radius: 12px; background: rgba(255, 255, 255, 0.045); font-size: .9rem; font-weight: 600; line-height: 1.25; }
  .nav-links .nav-drop a.link b { font-weight: 600; }
  .nav-links .nav-drop a.link::after { display: none !important; }
  .nav-links .nav-mega-link.nav-mega-one { grid-column: 1 / -1; background: rgba(245, 182, 12, 0.1); }
  .nav-links > a.link { gap: 10px; min-height: 56px; padding: 0 10px; }

  .nav-sosyal { grid-template-columns: repeat(5, 1fr); justify-items: center; gap: 8px; }
  .nav-sosyal-bas { grid-column: 1 / -1; justify-self: start; }
  .ns { display: block; padding: 0; border: 0; background: none; }
  .ns b, .ns small { display: none; }
  .ns i { width: 50px; height: 50px; border-radius: 50%; }
}

/* ============================================================
   TANITIM ŞERİDİ (app4/slayt.ts): kaydırmalı büyük slaytlar (scroll-snap). .slyt-tel telefon ana sayfası,
   .slyt-genis masaüstü kahraman alanı. Slayt zemini her temada koyu (tema dönüştürücü .sly atlar).
   ============================================================ */
.slyt { position: relative; }
.sly-iz { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.sly-iz::-webkit-scrollbar { display: none; }
.sly { position: relative; isolation: isolate; flex: none; scroll-snap-align: center; overflow: hidden; color: #fff;
  border-radius: 26px; border: 1px solid rgba(255, 255, 255, 0.1); background: var(--sly-bg);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.8); }
.sly::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
.sly-ganzy  { --sly-bg: radial-gradient(90% 90% at 75% 20%, rgba(245, 182, 12, 0.28), transparent 60%), linear-gradient(150deg, #2d2670 0%, #151c41 60%, #0f1530 100%); --sly-v: #f5b60c; --sly-vy: #0e1628; }
.sly-dergi  { --sly-bg: radial-gradient(90% 90% at 75% 20%, rgba(233, 57, 115, 0.3), transparent 60%), linear-gradient(150deg, #4d1a4a 0%, #1b1a42 60%, #0f1530 100%); --sly-v: #e93973; --sly-vy: #fff; }
.sly-gramer { --sly-bg: radial-gradient(90% 90% at 75% 20%, rgba(34, 197, 94, 0.26), transparent 60%), linear-gradient(150deg, #123d3a 0%, #13213f 60%, #0f1530 100%); --sly-v: #22c55e; --sly-vy: #062012; }
.sly-sinav  { --sly-bg: radial-gradient(90% 90% at 75% 20%, rgba(62, 155, 224, 0.3), transparent 60%), linear-gradient(150deg, #173a6b 0%, #13213f 60%, #0f1530 100%); --sly-v: #3e9be0; --sly-vy: #fff; }
.sly-res img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.sly-yazi small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sly-v); }
.sly-yazi h2 { margin: 6px 0 0; font: 800 1.35rem/1.15 var(--display); color: #fff; letter-spacing: -.01em; }
.sly-yazi p { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.sly-dugme { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 20px; border-radius: 999px;
  background: var(--sly-v); color: var(--sly-vy); font-weight: 800; font-size: .95rem; text-decoration: none;
  box-shadow: 0 10px 22px -10px var(--sly-v); transition: transform .2s, filter .2s; }
.sly-dugme .ik { width: 17px; height: 17px; }
.sly-dugme:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sly-dugme:active { transform: scale(.97); }
.sly-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.sly-noktalar { display: flex; gap: 6px; }
.sly-nokta { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(140, 155, 190, 0.45); cursor: pointer; transition: width .3s, background .3s; }
.sly-nokta.on { width: 26px; background: var(--gold); }
.sly-oklar { display: flex; gap: 8px; }
.sly-ok { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); color: var(--text-light); transition: background .2s; }
.sly-ok:hover { background: rgba(255, 255, 255, 0.1); }
.sly-ok .ik { width: 18px; height: 18px; }
.sly-ok[data-yon="-1"] .ik { transform: rotate(180deg); }

/* Telefon: yandaki slayt kenardan görünür; görsel üstte, yazı altta */
.slyt-tel .sly-iz { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.slyt-tel .sly { width: 86%; display: flex; flex-direction: column; }
.slyt-tel .sly-res { height: 210px; padding: 14px 10px 0; }
.slyt-tel .sly-yazi { padding: 6px 18px 18px; }
.slyt-tel .sly-yazi p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slyt-tel .sly-oklar { display: none; }
.slyt-tel .sly-alt { justify-content: center; margin-top: 10px; }
.slyt-tel .sly { opacity: .72; transform: scale(.97); transition: opacity .3s, transform .3s; }
.slyt-tel .sly.on { opacity: 1; transform: none; }

/* Masaüstü: tam genişlik büyük slayt, yazı solda, görsel sağda taşar */
.slyt-bolum { padding: clamp(18px, 3vw, 34px) 0 8px; }
.slyt-genis .sly { width: 100%; min-height: 440px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; border-radius: 34px; }
.slyt-genis .sly-yazi { order: -1; padding: 48px 0 48px 56px; max-width: 520px; }
.slyt-genis .sly-yazi small { font-size: .8rem; }
.slyt-genis .sly-yazi h2 { margin-top: 12px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
.slyt-genis .sly-yazi p { margin-top: 14px; font-size: 1.08rem; max-width: 440px; }
.slyt-genis .sly-dugme { margin-top: 26px; padding: 14px 26px; font-size: 1.02rem; }
.slyt-genis .sly-res { height: 440px; padding: 18px 24px 0 0; }
.slyt-genis .sly-res img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); transform: translateY(14px) scale(.98); }
.slyt-genis .sly.on .sly-res img { transform: none; }
.slyt-genis .sly-alt { margin-top: 16px; }
.slyt-genis .sly-yazi > * { transition: opacity .5s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.slyt-genis .sly:not(.on) .sly-yazi > * { opacity: 0; transform: translateY(12px); }

@media (max-width: 860px) { .slyt-bolum { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .slyt-tel .sly, .slyt-genis .sly-res img, .slyt-genis .sly-yazi > * { transition: none; }
}

/* Yüzen kısayollar telefonda kapalı: okuma/oyun sayfalarının alt düğmelerini (dergide "Sonraki") örtüyordu;
   telefonda Ganzy ve Dergi ana sayfa şeridinde ve menüde öne çıkıyor. */
@media (max-width: 860px) { .yz { display: none !important; } }
.sly-sosyal { --sly-bg: radial-gradient(90% 90% at 75% 20%, rgba(88, 101, 242, 0.32), transparent 60%), linear-gradient(150deg, #23296b 0%, #13213f 60%, #0f1530 100%); --sly-v: #3fb4ee; --sly-vy: #06202e; }
