/* ═══════════════════════════════════════════════════════════════════
   LidEngine.css — Leben in Deutschland  |  v7.0  "Northern Warmth / Ultra Sharp"
   DÜZELTMELER (v7.0):
   1. Specificity bug: :where(#lid-root) * reset → sıfır specificity, class kuralları artık kazanıyor
   2. ~50 eksik sınıf eklendi: loading, modal, results, stats, timer, save-prompt, vb.
   3. Keyframe ismi: lid-fadein alias eklendi (toast animasyonu artık çalışıyor)
═══════════════════════════════════════════════════════════════════ */

/* ── 0. BODY/HTML OVERRIDE ── */
html, body {
  background: #fdfcf9 !important;
  color: #1f2937 !important;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif !important;
  min-height: 100vh;
  margin: 0;
}

/* ── 1. TOKEN SİSTEMİ ──────────────────────────────────────────── */
#lid-root {
  --bg:          #f4f2e9;
  --surface:     #ffffff;
  --surface-alt: #f3f4f6;

  --border:      #e5e7eb;
  --border-hover:#d1d5db;

  --shadow-sm:   0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 10px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-float:0 15px 30px -10px rgba(0,0,0,0.12);

  --txt:         #111827;
  --txt-2:       #4b5563;
  --txt-3:       #9ca3af;

  --pri:         #10b981;
  --pri-hover:   #059669;
  --pri-dim:     #ecfdf5;

  --accent:      #f97316;
  --accent-hover:#ea580c;
  --accent-dim:  #fff7ed;

  --err:         #ef4444;
  --err-hover:   #dc2626;
  --err-dim:     #fef2f2;

  --info:        #3b82f6;
  --info-hover:  #2563eb;
  --info-dim:    #eff6ff;

  --warn:        #f59e0b;
  --warn-dim:    #fffbeb;

  --r-sm:        8px;
  --r:           12px;
  --r-lg:        20px;

  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.lid-screen {
  width: 100%; min-height: 100vh;
}
.lid-screen--fixed {
  position: fixed; inset: 0; z-index: 50;
  height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg);
}

/* ── 2. RESET & ANIMATIONS ─────────────────────────────────────── */
/*
   DÜZELTME #1 — Specificity Bug:
   Eski: #lid-root * { margin:0; padding:0 }  → specificity (1,0,1) → tüm class padding'lerini eziyordu
   Yeni: :where(#lid-root) *                  → specificity (0,0,1) → class kuralları (0,1,0) artık kazanıyor
   :where() içindeki seçiciler specificity'ye katkı sağlamaz.
*/
:where(#lid-root) *, :where(#lid-root) *::before, :where(#lid-root) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lid-screen {
  display: flex; flex-direction: column; min-height: 100vh;
  animation: lid-fade-in 0.3s ease-out forwards;
}

@keyframes lid-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* DÜZELTME #3 — Keyframe alias: JS'teki lid-fadein (tiresiz) artık çalışıyor */
@keyframes lid-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 3. HEADER ─────────────────────────────────────────────────── */
.lid-hdr {
  position: sticky; top: 0; z-index: 100;
  height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 24px;
  background: var(--accent); /* Daha yüksek kontrast için turuncu */
  border-bottom: 1px solid var(--accent-hover);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.lid-hdr-left  { display: flex; align-items: center; gap: 12px; }
.lid-hdr-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lid-hdr-title {
  font-size: 1.1rem; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
}

.lid-hdr-bl {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--txt-2);
  background: var(--surface); padding: 6px 12px;
  border-radius: var(--r); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.lid-hdr-flag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

.lid-hdr-user {
  font-size: 0.85rem; font-weight: 700; color: var(--txt-2);
  background: var(--surface); padding: 6px 12px;
  border-radius: var(--r); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: all 0.2s;
}
.lid-hdr-user:hover { border-color: var(--txt-3); background: var(--surface-alt); }

.lid-login-btn {
  appearance: none; border: 1px solid var(--pri); background: var(--pri-dim);
  color: var(--pri-hover); padding: 6px 14px; border-radius: var(--r);
  font-size: 0.85rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.lid-login-btn:hover { background: var(--pri); color: #fff; }

.lid-lang-sel {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--txt);
  border: 1px solid var(--border); padding: 6px 12px;
  border-radius: var(--r); outline: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.lid-lang-sel:hover { border-color: var(--txt-3); }

/* Custom Dropdown Styling */
.lid-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.lid-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--r);
  width: max-content;
  min-width: 160px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  /* Premium Glassmorphism Feel */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lid-dropdown-menu--bl { max-width: 250px; }
@media (max-width: 600px) {
  .lid-dropdown-menu--bl { right: -60px; }
}
.lid-dropdown-menu--lang { min-width: 140px; }
.lid-dropdown--open .lid-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lid-dd-header {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.lid-dd-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.lid-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--txt);
  transition: all 0.15s ease;
}
.lid-dd-item:hover {
  background: var(--surface-alt);
}
.lid-dd-item--active {
  background: var(--pri-dim);
  color: var(--pri-hover);
  font-weight: 800;
}
.lid-dd-item--danger {
  color: var(--err);
  font-weight: 700;
}
.lid-dd-item--danger:hover {
  background: var(--err-dim);
  color: var(--err-hover);
}
.lid-dropdown-menu--profile { min-width: 180px; }
.lid-dd-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.lid-hdr-flag-placeholder {
  font-size: 1.1rem;
}

.lid-btn-icon {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--txt);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.lid-btn-icon:hover { background: var(--surface-alt); transform: scale(1.05); }

/* ── 4. DASHBOARD & CARDS ──────────────────────────────────────── */
.lid-main {
  flex: 1; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 40px 24px 80px 24px;
  display: flex; flex-direction: column; gap: 32px;
}

.lid-dash-grid {
  display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 900px) {
  .lid-dash-grid {
    display: grid; grid-template-columns: minmax(500px, 520px) 1fr; gap: 32px; align-items: start;
  }
  .lid-dash-col-left { 
    display: flex; flex-direction: column; gap: 32px; 
    padding-right: 32px; border-right: 1px solid var(--border);
    position: sticky; top: 80px; 
  }
  .lid-dash-col-right { 
    display: flex; flex-direction: column; gap: 32px; 
    padding-left: 16px; 
  }
}

.lid-guest-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  padding: 24px; padding-top: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  animation: lid-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: center;
}
@media (min-width: 600px) {
  .lid-guest-bottom {
    flex-direction: row; padding: 20px 48px 20px 24px; text-align: left;
  }
}
@keyframes lid-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.lid-gb-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: none; font-size: 1.4rem; color: var(--txt-3); cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: all 0.2s;
}
.lid-gb-close:hover { background: var(--surface-alt); color: var(--txt); }
.lid-gb-content { flex: 1; }
.lid-gb-content strong { font-size: 1rem; color: var(--txt); display: block; margin-bottom: 4px; font-weight: 800; }
.lid-gb-content p { font-size: 0.85rem; color: var(--txt-2); margin: 0; line-height: 1.4; }
.lid-gb-btn { flex-shrink: 0; background: var(--pri); color: #fff; padding: 10px 24px; border-radius: var(--r-sm); font-weight: 700; white-space: nowrap; box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2); width: 100%; max-width: 250px; }
@media (min-width: 600px) { .lid-gb-btn { width: auto; } }
.lid-gb-btn:hover { background: var(--pri-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3); }

.lid-welcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.lid-welcome-content {
  padding: 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
@media (min-width: 600px) {
  .lid-welcome-content {
    flex-direction: row; text-align: left; justify-content: space-between;
  }
}

.lid-welcome-left { flex: 1; }
.lid-meta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 600px) {
  .lid-meta-row { justify-content: flex-start; }
}
.lid-welcome-lid-title {
  font-size: 1.3rem; font-weight: 900; color: var(--pri);
  letter-spacing: 0.05em; display: block; margin-bottom: 4px;
  white-space: nowrap;
}
.lid-welcome-eyebrow {
  font-size: 0.85rem; font-weight: 800; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px;
}
.lid-welcome-title {
  font-size: 2.1rem; font-weight: 800; color: var(--txt); margin-bottom: 12px;
  line-height: 1.1; letter-spacing: -0.03em;
}
.lid-welcome-title em { font-style: normal; color: var(--pri); }
.lid-welcome-sub { font-size: 1rem; color: var(--txt-2); margin-bottom: 24px; }

.lid-meta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lid-meta-pill {
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 700; color: var(--txt);
  display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm);
}
.lid-meta-streak  { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-dim); }
.lid-meta-progress{ color: var(--pri);    border-color: var(--pri-dim);    background: var(--pri-dim); }
.meta-icon { font-size: 1.1em; }

/* Donut Chart */
.lid-welcome-right {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lid-donut-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lid-donut {
  width: 140px; height: 140px; border-radius: 50%;
  position: relative; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}
.lid-donut-hole {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.lid-donut-num { font-size: 2rem; font-weight: 800; color: var(--txt); line-height: 1; }
.lid-donut-lbl { font-size: 0.65rem; font-weight: 700; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.lid-donut-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 0.75rem; color: var(--txt-2);
  background: var(--surface-alt); padding: 8px 16px; border-radius: 20px;
}
.lid-legend-item { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.lid-dot { width: 10px; height: 10px; border-radius: 50%; }
.lid-dot--green { background: var(--pri); }
.lid-dot--red   { background: var(--err); }
.lid-dot--gray  { background: #d1d5db; }

/* ── 5. SECTIONS & GRIDS ───────────────────────────────────────── */
.lid-section { margin-top: 16px; }
.lid-section-header { margin-bottom: 20px; }
.lid-section-title {
  font-size: 1.25rem; font-weight: 800; color: var(--txt); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em;
}
.lid-section-sub { font-size: 0.95rem; color: var(--txt-2); }

/* Bundesland Cards */
.lid-bl-scroll-outer {
  display: flex; align-items: center; gap: 8px; position: relative; width: 100%;
}
.lid-bl-scroll-wrap {
  flex: 1; width: 100%; overflow-x: auto; padding-bottom: 20px; margin-bottom: -20px;
  scrollbar-width: none; scroll-behavior: auto; position: relative;
  scroll-snap-type: x mandatory;
}
.lid-bl-scroll-wrap::-webkit-scrollbar { display: none; }
.lid-bl-scroll-wrap:has(.lid-bl-card--active) .lid-bl-card:not(.lid-bl-card--active) {
  opacity: 0.6;
  filter: grayscale(40%);
}

.lid-bl-track { display: flex; gap: 16px; padding: 4px; }
.lid-bl-card {
  flex: 0 0 auto; width: 130px; height: 120px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Seçilmemiş eyaletlerde gölgelendirme */
  cursor: pointer; transition: all 0.2s ease;
  color: var(--txt); overflow: hidden;
  scroll-snap-align: center;
}
.lid-bl-card-inner {
  padding: 16px; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.lid-bl-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hover);
}
.lid-bl-card--active {
  border-color: var(--accent); background: #fed7aa; 
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35); 
  transform: scale(1.08); 
  z-index: 10;
}
.lid-bl-card--active .lid-bl-name {
  color: #9a3412; font-weight: 900;
}
.lid-bl-flag { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.lid-bl-name { font-size: 0.8rem; font-weight: 700; text-align: center; line-height: 1.2; transition: color 0.2s; }

/* Çalışma Modları */
.lid-modes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px;
}
.lid-mode-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  transition: all 0.2s ease; display: flex; flex-direction: column;
}
.lid-mode-card-inner {
  padding: 32px; display: flex; flex-direction: column; flex: 1;
}
.lid-mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

.lid-mode-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--surface-alt); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px; border: 1px solid var(--border);
}

.lid-mode-text { flex: 1; }
.lid-mode-text h3 { font-size: 1.3rem; font-weight: 800; color: var(--txt); margin-bottom: 12px; letter-spacing: -0.02em; }
.lid-mode-text p  { font-size: 0.85rem; color: var(--txt-2); line-height: 1.5; margin-bottom: 24px; }

.lid-mode-action { margin-top: auto; }

.lid-mode-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.2);
}
.lid-mode-card--featured:hover { box-shadow: 0 14px 32px rgba(249, 115, 22, 0.3); }
.lid-mode-card--featured .lid-mode-icon { background: var(--accent-dim); border-color: rgba(249, 115, 22, 0.2); }

.lid-mode-card--bl {
  border: 1px solid var(--info);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}
.lid-mode-card--bl:hover { box-shadow: 0 12px 28px rgba(59, 130, 246, 0.25); }
.lid-mode-card--bl .lid-mode-icon { background: var(--info-dim); border-color: rgba(59, 130, 246, 0.2); }

.lid-mode-card--all {
  border: 1px solid var(--pri);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
.lid-mode-card--all:hover { box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25); }
.lid-mode-card--all .lid-mode-icon { background: var(--pri-dim); border-color: rgba(16, 185, 129, 0.2); }

/* Butonlar */
.lid-btn {
  appearance: none; border: none; font-family: inherit; cursor: pointer;
  padding: 14px 24px; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s ease; width: 100%; text-align: center;
}
.lid-btn--primary { background: var(--pri); color: #fff; box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2); }
.lid-btn--primary:hover { background: var(--pri-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3); }

.lid-btn--secondary { background: var(--surface-alt); color: var(--txt); border: 1px solid var(--border); }
.lid-btn--secondary:hover { background: #e5e7eb; border-color: var(--txt-3); }

.lid-btn--accent { background: var(--accent); color: #fff; box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2); }
.lid-btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(249, 115, 22, 0.3); }

.lid-btn--ghost { background: transparent; color: var(--txt-2); width: auto; padding: 10px 16px; }
.lid-btn--ghost:hover { color: var(--txt); background: var(--surface-alt); border-radius: var(--r-sm); }
.lid-btn--sm { padding: 8px 16px; font-size: 0.85rem; width: auto; }
.lid-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Aksiyon Karoları */
.lid-section--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lid-action-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); display: flex; align-items: center;
  cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadow-sm);
  color: var(--txt); font-size: 1.05rem; font-weight: 700; text-align: left;
}
.lid-action-inner { padding: 16px; display: flex; align-items: center; gap: 16px; width: 100%; }
.lid-action-tile:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--txt-3);
}
.lid-tile-icon  { font-size: 1.6rem; background: var(--surface-alt); padding: 10px; border-radius: var(--r-sm); border: 1px solid var(--border); }
.lid-tile-label { font-size: 1.05rem; font-weight: 700; color: var(--txt); }

.lid-action-tile--danger {
  background: #ef4444;
  border-color: #dc2626;
  color: #ffffff;
}
.lid-action-tile--danger:hover {
  background: #f87171;
  border-color: #ef4444;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}
.lid-action-tile--danger .lid-tile-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}
.lid-action-tile--danger .lid-tile-label {
  color: #ffffff;
}

/* Günün Sorusu */
.lid-daily-card {
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  border-radius: var(--r); cursor: pointer; transition: all 0.2s;
}
.lid-daily-inner  { padding: 24px; }
.lid-daily-action { margin-top: 8px; }
.lid-daily-card:hover { border-color: var(--pri); box-shadow: var(--shadow-md); }
.lid-daily-num { font-size: 0.75rem; font-weight: 800; color: var(--pri); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.lid-daily-q   { font-size: 0.95rem; font-weight: 500; color: var(--txt); line-height: 1.5; margin-bottom: 16px; }
.lid-daily-cta { font-size: 0.9rem; font-weight: 700; color: var(--pri); }

/* Mock Listesi */
.lid-mock-list {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.lid-mock-list-inner { overflow: hidden; }
.lid-mock-row {
  display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 16px; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--txt);
}
.lid-mock-row:last-child { border-bottom: none; }
.lid-mock-date  { font-size: 0.85rem; color: var(--txt-2); }
.lid-mock-bl    { font-size: 0.85rem; color: var(--txt-2); font-weight: 600; }
.lid-mock-score { font-weight: 800; font-size: 1.1rem; }
.lid-mock-badge-wrap { display: flex; align-items: center; }
.lid-pass { color: var(--pri); }
.lid-fail { color: var(--err); }
.lid-mock-badge {
  padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
}
.lid-pass-badge { background: var(--pri-dim); color: var(--pri-hover); }
.lid-fail-badge { background: var(--err-dim); color: var(--err-hover); }
.lid-empty { padding: 32px; text-align: center; color: var(--txt-3); font-weight: 500; }

/* ── 6. SORU EKRANI (Pratik / Test) ────────────────────────────── */
.lid-progress-wrap {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.lid-progress-num, .lid-progress-total {
  font-size: 0.9rem; font-weight: 800; color: var(--txt-2); min-width: 24px; text-align: center;
}
.lid-progress-bar {
  flex: 1; height: 8px; background: var(--surface-alt); border-radius: 4px; overflow: hidden;
}
.lid-progress-fill {
  height: 100%; background: var(--pri); border-radius: 4px;
  transition: width 0.4s ease;
}

.lid-q-main {
  flex: 1; width: 100%; max-width: 800px; margin: 0 auto;
  padding: 16px 20px 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lid-q-card {
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; flex: 1 0 auto;
}
@media (min-width: 600px) {
  .lid-q-card { padding: 24px; }
}
.lid-q-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
  flex-wrap: nowrap; overflow: hidden;
}
.lid-q-num { font-size: 0.75rem; font-weight: 800; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.1em; flex-shrink: 0; }
.lid-q-cat {
  padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  background: var(--surface-alt); border: 1px solid var(--border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0; text-align: center;
}
.lid-xl-btn {
  background: var(--surface); color: var(--txt); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm);
  flex-shrink: 0; white-space: nowrap;
}


.lid-q-text { font-size: 1.05rem; font-weight: 700; color: var(--txt); line-height: 1.4; margin-bottom: 16px; }
.lid-q-img  { max-width: 100%; height: auto; border-radius: var(--r-sm); margin-bottom: 16px; border: 1px solid var(--border); max-height: 150px; object-fit: contain; }

/* Seçenekler */
.lid-opts { display: flex; flex-direction: column; gap: 8px; }
.lid-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 12px; min-height: 48px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r);
  cursor: pointer; text-align: left;
  transition: all 0.2s ease;
}
.lid-opt:hover:not(:disabled) {
  border-color: var(--txt-3); background: var(--surface-alt);
}
.lid-opt-key {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); border-radius: 8px;
  font-size: 0.85rem; font-weight: 800; color: var(--txt-2);
}
.lid-opt-text { font-size: 0.95rem; color: var(--txt); font-weight: 500; line-height: 1.3; }

.lid-opt--correct { background: var(--pri-dim) !important; border-color: var(--pri) !important; }
.lid-opt--correct .lid-opt-key  { background: var(--pri); color: #fff; }
.lid-opt--correct .lid-opt-text { color: var(--pri-hover); font-weight: 700; }

.lid-opt--wrong { background: var(--err-dim) !important; border-color: var(--err) !important; }
.lid-opt--wrong .lid-opt-key  { background: var(--err); color: #fff; }
.lid-opt--wrong .lid-opt-text { color: var(--err-hover); font-weight: 700; }

.lid-opt--dim { opacity: 0.5; filter: grayscale(1); }

/* Geri Bildirim */
.lid-feedback {
  margin-top: 24px; padding: 16px 20px; border-radius: var(--r);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1.05rem; font-weight: 600; line-height: 1.5;
  animation: lid-fade-in 0.3s ease;
}
.lid-fb--ok  { background: var(--pri-dim); color: var(--pri-hover); border: 1px solid rgba(16, 185, 129, 0.2); }
.lid-fb--err { background: var(--err-dim); color: var(--err-hover); border: 1px solid rgba(239, 68, 68, 0.2); }
.lid-fb-icon { font-size: 1.4rem; }

.lid-q-nav {
  margin-top: auto; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lid-btn--prev, .lid-btn--next {
  background: var(--accent); color: #fff; border: 1px solid var(--accent-hover);
  width: max-content; padding: 10px 24px; min-width: 120px;
}
.lid-btn--prev:hover, .lid-btn--next:hover {
  background: var(--accent-hover);
}
.lid-btn--prev[disabled], .lid-btn--next[disabled] {
  opacity: 0.5; pointer-events: none;
}

/* ── 7. TIMER ──────────────────────────────────────────────────── */
.lid-timer {
  text-align: center; padding: 10px 24px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  font-size: 1rem; font-weight: 800; color: var(--txt-2);
  letter-spacing: 0.05em;
}
.lid-timer--warn {
  background: var(--err-dim); color: var(--err); border-color: rgba(239, 68, 68, 0.2);
  animation: lid-pulse 1s ease-in-out infinite;
}
@keyframes lid-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* ── 8. NAVIGASYON BARI ─────────────────────────────────────────── */
.lid-nav-bar {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  display: flex; align-items: center; padding: 12px 20px; gap: 12px; z-index: 90;
}
.lid-rnd-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-sm); background: var(--surface-alt); border: 1px solid var(--border);
  font-size: 1.4rem; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lid-rnd-btn:hover { background: #e5e7eb; }

.lid-nav-scroll-wrapper {
  flex: 1; display: flex; align-items: center; overflow: hidden; position: relative; gap: 4px;
}
.lid-chips-scroll {
  flex: 1; display: flex; align-items: center; gap: 8px; position: relative;
  overflow-x: auto; height: 100%; padding-bottom: 5px; margin-bottom: -5px;
  scrollbar-width: none; scroll-behavior: auto;
}
.lid-chips-scroll::-webkit-scrollbar { display: none; }
.lid-scroll-btn {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  font-size: 1.2rem; font-weight: bold; color: var(--txt-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.lid-scroll-btn:hover { background: var(--surface-alt); color: var(--txt); transform: scale(1.05); }
.lid-scroll-btn:active { transform: scale(0.95); }

.lid-chip {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--txt-2);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lid-chip:hover          { background: var(--surface-alt); color: var(--txt); }
.lid-chip--active        { border: 4px solid #111827 !important; transform: scale(1.1); font-weight: 900; }
.lid-chip--ok1           { border-color: var(--pri); color: var(--pri-hover); background: var(--pri-dim); }
.lid-chip--ok2           { border-color: var(--pri-hover); color: #fff; background: var(--pri); }
.lid-chip--warn          { border-color: #f59e0b; color: #fff; background: #fbbf24; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.lid-chip--err1          { border-color: var(--err); color: var(--err-hover); background: var(--err-dim); }
.lid-chip--err2          { border-color: var(--err-hover); color: #fff; background: var(--err); }

/* ── 9. LOADING EKRANI ──────────────────────────────────────────── */
.lid-loading-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 60px 20px; color: var(--txt-2); font-weight: 600;
}

.lid-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--surface-alt);
  border-top-color: var(--pri);
  border-radius: 50%;
  animation: lid-spin 0.8s linear infinite;
}
@keyframes lid-spin {
  to { transform: rotate(360deg); }
}

/* ── 10. MODAL SİSTEMİ ──────────────────────────────────────────── */
.lid-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: lid-fade-in 0.2s ease;
}

.lid-modal {
  background: var(--surface); border-radius: var(--r-lg);
  padding: 40px 32px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-float);
  position: relative; text-align: center;
}

.lid-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-alt); border: 1px solid var(--border);
  font-size: 1rem; cursor: pointer; color: var(--txt-2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lid-modal-close:hover { background: var(--err-dim); color: var(--err); border-color: var(--err); }

.lid-modal-icon  { font-size: 3rem; margin-bottom: 16px; }
.lid-modal-title { font-size: 1.4rem; font-weight: 800; color: var(--txt); margin-bottom: 12px; }
.lid-modal-sub   { font-size: 0.95rem; color: var(--txt-2); line-height: 1.6; margin-bottom: 24px; }
.lid-modal-btns  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.lid-modal-note  { font-size: 0.8rem; color: var(--txt-3); line-height: 1.5; }

/* ── 11. SONUÇ EKRANI ───────────────────────────────────────────── */
.lid-results-main {
  max-width: 720px;
}

.lid-result-hero {
  border-radius: var(--r-lg); padding: 40px 32px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.lid-result-hero--pass {
  background: var(--pri-dim); border-color: rgba(16, 185, 129, 0.3);
}
.lid-result-hero--fail {
  background: var(--err-dim); border-color: rgba(239, 68, 68, 0.2);
}
.lid-result-hero h1 {
  font-size: 1.5rem; font-weight: 900; letter-spacing: 0.05em;
}
.lid-result-hero--pass h1 { color: var(--pri-hover); }
.lid-result-hero--fail h1 { color: var(--err-hover); }

.lid-result-medal { font-size: 3.5rem; line-height: 1; }

.lid-result-score {
  font-size: 3rem; font-weight: 900; color: var(--txt); line-height: 1;
}
.lid-result-score span { font-size: 1.5rem; font-weight: 600; color: var(--txt-2); }

.lid-result-bar-bg {
  width: 100%; height: 12px; background: rgba(0,0,0,0.08);
  border-radius: 6px; overflow: hidden; margin-top: 4px;
}
.lid-result-bar-fill {
  height: 100%; background: var(--pri); border-radius: 6px;
  transition: width 0.8s ease;
}
.lid-result-hero--fail .lid-result-bar-fill { background: var(--err); }

.lid-result-time {
  font-size: 0.9rem; color: var(--txt-2); font-weight: 600;
}

.lid-result-cats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
}
.lid-res-cat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.9rem; color: var(--txt); font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.lid-result-actions {
  display: flex; flex-direction: column; gap: 12px;
}

/* ── 12. İSTATİSTİK EKRANI ──────────────────────────────────────── */
.lid-page-title {
  font-size: 1.6rem; font-weight: 800; color: var(--txt);
  letter-spacing: -0.02em;
}

.lid-stats-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.lid-sum-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 16px;
  text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--txt-2); font-weight: 600;
}
.lid-sum-card span {
  font-size: 2rem; font-weight: 900; color: var(--txt); line-height: 1;
}

.lid-stat-list {
  display: flex; flex-direction: column; gap: 12px;
}
.lid-stat-row {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.lid-stat-meta {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
.lid-stat-icon  { font-size: 1.2rem; flex-shrink: 0; }
.lid-stat-label { font-size: 0.9rem; font-weight: 700; color: var(--txt); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lid-stat-nums  { font-size: 0.8rem; color: var(--txt-2); font-weight: 600; flex-shrink: 0; }

.lid-stat-bar-bg {
  width: 120px; height: 8px; background: var(--surface-alt);
  border-radius: 4px; overflow: hidden; flex-shrink: 0;
}
.lid-stat-bar-fill {
  height: 100%; border-radius: 4px;
  transition: width 0.5s ease;
}
.lid-stat-pct {
  font-size: 0.85rem; font-weight: 800; color: var(--txt-2);
  min-width: 40px; text-align: right; flex-shrink: 0;
}

/* ── 13. KAYDET PROMPT ──────────────────────────────────────────── */
.lid-save-prompt {
  position: fixed; bottom: 72px; left: 0; right: 0; z-index: 150;
  padding: 0 16px;
  animation: lid-fade-in 0.3s ease;
}
.lid-sp-inner {
  max-width: 600px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px;
  box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.lid-sp-icon { font-size: 1.5rem; flex-shrink: 0; }
.lid-sp-text {
  flex: 1; min-width: 160px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 0.9rem; color: var(--txt-2);
}
.lid-sp-text strong { color: var(--txt); font-weight: 800; font-size: 0.95rem; }
.lid-sp-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ── 14. BİTİŞ BANNER ───────────────────────────────────────────── */
.lid-finish-banner {
  background: var(--pri-dim); color: var(--pri-hover);
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
  padding: 12px 24px;
  font-size: 0.95rem; font-weight: 700; text-align: center;
  animation: lid-fade-in 0.3s ease;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* ── 15. HATA EKRANI ────────────────────────────────────────────── */
.lid-error {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center; gap: 16px;
  color: var(--txt-2);
}
.lid-error h2 { font-size: 1.3rem; font-weight: 800; color: var(--err); }
.lid-error p  { font-size: 0.95rem; line-height: 1.6; max-width: 400px; }

/* ── 16. RESPONSIVE YAPI ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Mobilde alan kazanmak ve daha çok panel göstermek için boşluklar azaltıldı */
  .lid-main             { padding: 16px 12px 80px 12px; gap: 20px; }
  .lid-welcome-content  { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; gap: 20px; }
  .lid-meta-row         { justify-content: center; }
  .lid-welcome-title    { font-size: 1.8rem; margin-bottom: 8px; }
  .lid-welcome-sub      { font-size: 1rem; margin-bottom: 16px; }
  .lid-donut-wrap       { margin-top: 8px; }
  
  /* Soru Ekranı - Tek Ekrana Sığması İçin Maksimum Sıkıştırma */
  .lid-screen--fixed .lid-q-main { padding: 4px; }
  .lid-progress-wrap    { padding: 4px 8px; flex-shrink: 0; height: auto; }
  .lid-q-main           { padding: 4px; gap: 8px; }
  .lid-q-card           { padding: 10px 12px; flex: 1; overflow-y: auto; border-radius: var(--r); margin-bottom: 0; }
  .lid-q-meta           { margin-bottom: 8px; padding-bottom: 6px; gap: 6px; }
  .lid-q-num            { font-size: 0.7rem; }
  .lid-q-cat            { padding: 2px 8px; font-size: 0.7rem; }
  .lid-xl-btn           { padding: 2px 8px; font-size: 0.7rem; }
  
  /* Soru metni maksimum küçültüldü */
  .lid-q-text           { font-size: 0.95rem; margin-bottom: 10px; line-height: 1.3; }
  .lid-q-img            { margin-bottom: 10px; max-height: 90px; object-fit: contain; }
  
  /* Seçenekler çok daha dar ve metinler küçültüldü */
  .lid-opts             { gap: 6px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; margin-bottom: 4px; }
  .lid-opt              { padding: 6px 10px; gap: 8px; border-width: 1px; min-height: 40px; }
  .lid-opt-key          { width: 24px; height: 24px; font-size: 0.8rem; border-radius: 6px; }
  .lid-opt-text         { font-size: 0.85rem; line-height: 1.2; }
  
  /* Alt navigasyon ve butonlar */
  .lid-feedback         { margin-top: 10px; padding: 10px; font-size: 0.85rem; gap: 6px; }
  .lid-q-nav            { margin-top: auto; padding-top: 8px; gap: 8px; display: flex; justify-content: space-between; align-items: center; }
  .lid-btn              { padding: 8px 12px; font-size: 0.85rem; }
  .lid-btn--prev, .lid-btn--next { padding: 8px 16px; width: max-content; min-width: auto; }
  
  .lid-hdr              { padding: 0 16px; }
  .lid-hdr-title        { display: none; }
  
  /* Soru Listesi Navigasyonu Mobilde Daraltıldı */
  .lid-nav-bar          { padding: 8px 10px; gap: 6px; }
  .lid-rnd-btn          { width: 34px; height: 34px; font-size: 1.1rem; }
  .lid-scroll-btn       { width: 28px; height: 28px; font-size: 1.1rem; }
  .lid-chips-scroll     { gap: 4px; padding-bottom: 2px; margin-bottom: -2px; }
  .lid-chip             { width: 30px; height: 30px; font-size: 0.85rem; }
  .lid-nav-scroll-wrapper { gap: 4px; }
  
  .lid-section--row     { grid-template-columns: 1fr; gap: 12px; }
  
  /* Eyalet Seçimi - Yarı yarıya küçültüldü, görsel kenarlara yakınlaştırıldı */
  .lid-bl-card          { width: 75px; height: 95px; }
  .lid-bl-card-inner    { padding: 8px 4px; gap: 6px; }
  .lid-bl-flag          { width: 48px; height: 48px; }
  .lid-bl-name          { font-size: 0.7rem; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Mode Kartları - Yan yana ikon ve metin (Uzunluktan kazanç) */
  .lid-modes-grid       { gap: 12px; }
  .lid-mode-card-inner  { padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
  .lid-mode-icon        { width: 48px; height: 48px; font-size: 1.6rem; margin-bottom: 0; border-radius: 12px; }
  .lid-mode-text        { display: flex; flex-direction: column; gap: 4px; }
  .lid-mode-text h3     { font-size: 1.2rem; margin-bottom: 0; }
  .lid-mode-text p      { margin-bottom: 0; font-size: 0.8rem; line-height: 1.3; }
  .lid-mode-action      { grid-column: 1 / -1; margin-top: 8px; }
  
  .lid-action-inner     { padding: 16px; gap: 12px; }
  .lid-tile-icon        { font-size: 1.5rem; padding: 10px; }
  
  .lid-daily-inner      { padding: 16px; }
  .lid-daily-q          { font-size: 1.1rem; margin-bottom: 12px; }
  
  .lid-stats-summary    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lid-result-hero      { padding: 24px 16px; }
  .lid-result-medal     { font-size: 2.5rem; }
  .lid-result-score     { font-size: 2.2rem; }
  .lid-result-cats      { grid-template-columns: 1fr; }
  .lid-stat-row         { flex-wrap: wrap; padding: 12px 16px; }
  .lid-guest-bottom {
    flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px;
  }
  .lid-gb-btn { width: 100%; }
  .lid-stat-bar-bg      { width: 100%; }
  .lid-modal            { padding: 24px 16px; }
  .lid-sp-inner         { flex-direction: column; text-align: center; gap: 12px; padding: 12px; }
}

/* ── Soru Görseli (has_image sorular: Wappen, Karte, fotoğraf) ── */
.lid-q-image-wrap {
  margin: 12px 0 20px;
  display: flex;
  justify-content: center;
}

.lid-q-image {
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  display: block;
  animation: lid-img-fadein 0.3s ease;
}

@keyframes lid-img-fadein {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 599px) {
  .lid-q-image { max-height: 220px; border-radius: 8px; }
}

/* ── 17. ÇEVİRİ DISCLAIMER BALONU ──────────────────────────────── */
.lid-xl-disclaimer {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 180;
  display: flex; justify-content: center;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.lid-xl-disclaimer--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lid-xl-disclaimer-bubble {
  max-width: 800px; width: 100%;
  background: var(--surface);
  border: 1.5px solid #f59e0b;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(245, 158, 11, 0.15);
  padding: 20px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  position: relative;
  animation: lid-disclaimer-glow 2s ease-in-out;
}

@keyframes lid-disclaimer-glow {
  0%   { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50%  { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 20px 4px rgba(245, 158, 11, 0.2); }
  100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(245, 158, 11, 0.15); }
}

.lid-xl-disclaimer-icon {
  font-size: 1.8rem; line-height: 1;
}

.lid-xl-disclaimer-text {
  font-size: 0.9rem; font-weight: 600;
  color: var(--txt); line-height: 1.55;
  margin: 0;
}

.lid-xl-disclaimer-btn {
  appearance: none; border: none; font-family: inherit; cursor: pointer;
  padding: 10px 28px;
  border-radius: var(--r-sm);
  background: #f59e0b;
  color: #fff;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  transition: all 0.2s ease;
}
.lid-xl-disclaimer-btn:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.4);
}

/* Çevir butonu aktif vurgusu */
.lid-xl-btn:hover {
  background: var(--surface-alt);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .lid-xl-disclaimer { padding: 4px 8px; }
  .lid-xl-disclaimer-bubble { padding: 14px 16px; gap: 10px; border-radius: 0 0 var(--r) var(--r); }
  .lid-xl-disclaimer-icon { font-size: 1.4rem; }
  .lid-xl-disclaimer-text { font-size: 0.82rem; line-height: 1.45; }
  .lid-xl-disclaimer-btn { padding: 8px 22px; font-size: 0.85rem; }
}
