/* Açık / koyu görünüm düğmesi (sol alt köşe; app/web.php veya inc/layout.php </head> öncesindeki betik ekler) */
.dk-fab { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(127, 127, 127, .35); border-radius: 50%;
  background: #fff; color: #18181b; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); cursor: pointer; transition: transform .2s; }
.dk-fab:hover { transform: rotate(-14deg); }
html.dk .dk-fab { background: #1f1f22; color: #f4f4f5; border-color: rgba(255, 255, 255, .16); }
.dk-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dk-fab .i-sun, html.dk .dk-fab .i-moon { display: none; }
html.dk .dk-fab .i-sun { display: block; }
@media print { .dk-fab { display: none; } }
@media (max-width: 760px) { .dk-fab { width: 40px; height: 40px; left: 12px; bottom: 76px; } }

/* ---------- Koyu görünüm (modern ve klasik tema): SiteKur çekirdeğindeki ek.css koyu değişkenleriyle aynı ---------- */
html.dk body.t-modern, html.dk body.t-soft {
  --bg: #121212; --surface: #1c1c1e; --surface2: #262628; --text: #ececec; --muted: #a3a3a3; --line: #333336; --ink: #0b0b0b; --overlay: 0, 0, 0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -16px rgba(0, 0, 0, .8); --shadow-lg: 0 30px 70px -26px rgba(0, 0, 0, .85);
  --tint: color-mix(in srgb, var(--brand) 18%, transparent); --tint2: color-mix(in srgb, var(--brand) 28%, transparent);
  color-scheme: dark;
}
html.dk body.t-modern input, html.dk body.t-modern select, html.dk body.t-modern textarea,
html.dk body.t-soft input, html.dk body.t-soft select, html.dk body.t-soft textarea { background: var(--surface2); color: var(--text); border-color: var(--line); }
/* Koyu zeminde marka rengi okunur parlaklığa çekilir (koyu lacivert / bordo markalar kaybolmasın) */
html.dk { --brand-hi: color-mix(in oklab, var(--brand) 72%, #fff); }
html.dk body.t-modern, html.dk body.t-soft { --brand: var(--brand-hi); }

/* ---------- Lüks tema açık görünüm: lüks koyu doğar; ziyaretçi açığa geçince fildişi zemin, koyu yazı, koyu altın ---------- */
html:not(.dk) body.t-lux {
  --bg: #f8f4ec; --surface: #fffdf8; --surface2: #f1eadc; --text: #1e1712; --muted: #6d604f; --line: #e5dac6;
  --shadow: 0 1px 2px rgba(30, 23, 18, .05), 0 12px 30px -18px rgba(30, 23, 18, .28); --shadow-lg: 0 30px 70px -32px rgba(30, 23, 18, .4);
  --gold: #9c7330; --tint: color-mix(in srgb, var(--gold) 12%, transparent); --tint2: color-mix(in srgb, var(--gold) 20%, transparent);
  color-scheme: light;
}
html:not(.dk) body.t-lux .sec.alt, html:not(.dk) body.t-lux .tk-head { background: var(--surface2); }
html:not(.dk) body.t-lux .stats-band { background: var(--surface2); color: var(--text); }
html:not(.dk) body.t-lux .stars .st .i { color: #ddd2bf; fill: #ddd2bf; }
html:not(.dk) body.t-lux .cband, html:not(.dk) body.t-lux .qbook { --text: #f5ece2; --muted: #bba998; --line: #3a2d22; --gold: #d4a75a; }
