/* ============ devfbl studio — cinematic dark ============ */
:root {
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --ink: #ece8e1;
  --ink-dim: #8a877f;
  --line: rgba(236, 232, 225, 0.12);
  --accent: #ff5a3c;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: #000; }

body {
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #0a0a0b; }

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 9998; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 50% { transform: translate(-4%, 3%); } 100% { transform: translate(2%, -2%); }
}

/* ---------- background black hole (canvas fallback + optional video) ---------- */
.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* stars ride ABOVE the scrim so constellations stay bright over the black hole */
.stars-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bg-video {
  position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; pointer-events: none; opacity: 0;
  filter: brightness(0.5) contrast(1.05); transition: opacity 1.2s ease;
}
body.has-bg-video .bg-video { opacity: 0.55; }
body.has-bg-video .bg-canvas { opacity: 0; }
/* scrim so the bright core is tamed and text stays readable */
.scrim { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,0.62) 0%, transparent 32%),
    radial-gradient(60% 55% at 50% 48%, rgba(0,0,0,0.42) 0%, transparent 55%),
    radial-gradient(120% 85% at 50% 50%, transparent 35%, rgba(0,0,0,0.7) 100%); }

/* ---------- penguin cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}
.cursor-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; }
@media (hover: none), (pointer: coarse) { .cursor-canvas { display: none; } }
/* the loader sits above the penguin-cursor canvas, so show a normal cursor there */
.loader, .loader * { cursor: auto !important; }
.loader .cinema-skip { cursor: pointer !important; }

/* ---------- cinematic intro loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: #060a12;
  overflow: hidden;
}
.loader.is-hidden { display: none; }

/* the scene */
.cinema { position: absolute; inset: 0; overflow: hidden; }

/* the rendered intro film */
.cinema-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #060a12;
}

.cinema-flash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #fff 0%, #eaf3ff 42%, rgba(232,242,255,0.4) 78%, rgba(232,242,255,0.15) 100%);
}

.cinema-controls {
  position: absolute; right: clamp(16px, 4vw, 34px); bottom: clamp(16px, 4vh, 28px); z-index: 6;
  display: flex; align-items: center; gap: 10px;
}
.cinema-skip {
  background: rgba(8,12,20,0.35); color: rgba(236,232,225,0.72);
  border: 1px solid rgba(236,232,225,0.22); border-radius: 100px;
  font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; backdrop-filter: blur(4px);
  font-size: 0.7rem; padding: 0.55rem 1rem;
  transition: opacity 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.cinema-skip:hover { border-color: rgba(236,232,225,0.6); color: #fff; }

.loader-brand {
  position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%);
  z-index: 4; opacity: 0;
  font-family: var(--display); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 5vw, 2.8rem); color: #14202f;
  text-shadow: 0 1px 18px rgba(255,255,255,0.5);
}
.loader-brand span { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .cinema-snow { display: none; } }

/* keep all content above the background */
main, .footer { position: relative; z-index: 1; }
/* colorful display type, legible over the black hole via drop-shadow */
.hero-title, .section-title, .studio-statement, .contact-big {
  background: linear-gradient(110deg, #eaf2ff 0%, #8ec5ff 26%, #b69cff 52%, #ff9ecb 78%, #eaf2ff 100%);
  background-size: 230% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-user-select: none; user-select: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 30px rgba(0, 0, 0, 0.6));
  animation: hue 16s ease-in-out infinite alternate;
}
@keyframes hue { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* emphasis words keep a solid warm accent for contrast */
.hero-title em, .studio-statement em, .contact-big span {
  -webkit-text-fill-color: #ff9560; color: #ff9560; background: none;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  mix-blend-mode: difference;
}
.nav-logo { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.03em; }
.nav-logo span { font-size: 0.7rem; vertical-align: super; opacity: 0.6; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--ink); transition: width 0.4s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--line); border-radius: 100px; padding: 0.6rem 1.3rem; font-size: 0.85rem; overflow: hidden; position: relative; }
.nav-cta span { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.nav-cta::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta:hover span { color: var(--bg); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; padding: 0 clamp(1.2rem, 4vw, 3rem) 3rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-top: auto; }
.tag { font-size: 0.85rem; color: var(--ink-dim); }
.hero-title { font-family: var(--display); font-weight: 440; font-size: clamp(3rem, 13vw, 12rem); line-height: 0.92; letter-spacing: -0.04em; }
.hero-title em { font-style: normal; font-weight: 600; color: var(--accent); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.hero-title .reveal { display: block; transform: translateY(135%); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.hero-lede { max-width: 40ch; color: var(--ink-dim); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.scroll-hint { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; white-space: nowrap; }
.scroll-hint .arrow { display: inline-block; animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; animation: scroll 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 340; letter-spacing: -0.02em; }
.marquee-track .dot { color: var(--accent); font-size: 1.6rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { position: relative; }
.section-head { padding: clamp(4rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem) 2rem; }
.section-index { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; color: var(--ink-dim); letter-spacing: 0.08em; }
.section-title { font-family: var(--display); font-weight: 360; font-size: clamp(2.5rem, 8vw, 7rem); line-height: 0.95; letter-spacing: -0.03em; margin-top: 1.5rem; }

/* ---------- showreel / motion ---------- */
.reel-canvas { display: block; width: 100%; height: 100%; }

.reel-hero {
  position: relative; margin: 0 clamp(1.2rem, 4vw, 3rem);
  height: clamp(340px, 56vh, 620px); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #060607;
}
.reel-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; pointer-events: none; }
.reel-play {
  width: clamp(76px, 9vw, 110px); height: clamp(76px, 9vw, 110px); border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,10,11,0.35);
  border: 1px solid rgba(236,232,225,0.5); backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), background 0.4s;
}
.reel-play span { font-size: 1.4rem; color: var(--ink); margin-left: 4px; }
.reel-hero:hover .reel-play { transform: scale(1.12); background: var(--accent); }
.reel-hero:hover .reel-play span { color: #0a0a0b; }
.reel-cap { color: var(--ink); opacity: 0.85; }
.reel-ticker { position: absolute; bottom: 0; left: 0; width: 100%; padding: 0.9rem 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(236,232,225,0.1); background: linear-gradient(transparent, rgba(6,6,7,0.6)); }
.reel-ticker-track { display: inline-flex; gap: 1.4rem; font-family: var(--display); font-size: 1.3rem; opacity: 0.7; animation: scroll 22s linear infinite; }

.reel-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 14px clamp(1.2rem, 4vw, 3rem) 0;
}
.reel-tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #060607;
}
.reel-tile .reel-canvas { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.reel-tile:hover .reel-canvas { transform: scale(1.06); }
.reel-tile-label { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; }
.reel-tile-label .mono { color: var(--accent); }
.reel-tile-label h3 { font-family: var(--display); font-weight: 380; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.01em; margin-top: 0.2rem; }
@media (max-width: 900px) { .reel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reel-grid { grid-template-columns: 1fr; } .reel-tile { aspect-ratio: 16 / 10; } }

/* ---------- studio ---------- */
.studio-grid { padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 8rem); }
.studio-statement {
  font-family: var(--display); font-weight: 350;
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
  line-height: 1.42; letter-spacing: 0;
  max-width: 44ch;
  margin: 0 0 clamp(3.5rem, 8vw, 8rem);
}
.studio-statement em { font-style: italic; color: var(--accent); }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.cap-num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.cap h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin: 1rem 0 0.6rem; letter-spacing: -0.01em; }
.cap p { color: var(--ink-dim); font-size: 0.95rem; max-width: 28ch; }
@media (max-width: 720px) { .capabilities { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- contact ---------- */
.contact { padding: clamp(5rem, 12vw, 12rem) clamp(1.2rem, 4vw, 3rem); border-top: 1px solid var(--line); text-align: center; }
.contact .section-index { display: block; margin-bottom: 2rem; }
.contact-big { font-family: var(--display); font-weight: 350; font-size: clamp(3rem, 13vw, 11rem); line-height: 0.92; letter-spacing: -0.04em; display: inline-block; transition: transform 0.5s var(--ease); }
.contact-big span { color: var(--accent); font-style: italic; }
.contact-big:hover { transform: scale(1.02); }
.contact-row { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.contact-row a { font-size: 1.1rem; }
.contact-row .mono { color: var(--ink-dim); }

/* ---------- footer ---------- */
.footer { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem clamp(1.2rem, 4vw, 3rem); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-dim); flex-wrap: wrap; gap: 0.6rem; }

/* ---------- reveal animation states ---------- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-up.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
  .hero-title .reveal { transform: none; }
}

/* ---------- settings ---------- */
.settings-btn {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vh, 26px); z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--ink); background: rgba(20,20,24,0.42);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease), border-color 0.3s, background 0.3s;
}
.settings-btn:hover { border-color: rgba(236,232,225,0.45); }
.settings-btn.on { transform: rotate(40deg); }
.settings-btn svg { display: block; }

.settings-panel {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: calc(clamp(16px, 3vh, 26px) + 56px); z-index: 200;
  width: 248px; padding: 1.1rem 1.2rem 1.2rem; border-radius: 16px;
  background: rgba(16,17,21,0.82); border: 1px solid var(--line);
  backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(10px) scale(0.97); transform-origin: bottom left;
  pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.settings-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.settings-title { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1rem; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; }
.settings-row + .settings-row { border-top: 1px solid var(--line); }
.settings-label { font-size: 0.92rem; color: var(--ink); }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.seg button {
  font-family: var(--sans); font-size: 0.78rem; color: var(--ink-dim);
  background: transparent; border: 0; padding: 0.32rem 0.7rem; cursor: pointer;
  transition: color 0.3s, background 0.3s;
}
.seg button.seg-on { color: var(--bg); background: var(--ink); }

.switch {
  position: relative; width: 46px; height: 26px; border-radius: 100px; cursor: pointer;
  background: rgba(140,140,150,0.3); border: 1px solid var(--line); transition: background 0.3s var(--ease);
}
.switch .knob {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #f3f1ea; transition: transform 0.32s var(--ease);
}
.switch.on { background: var(--accent); }
.switch.on .knob { transform: translateX(20px); }

.vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 92px; height: 4px; border-radius: 100px; cursor: pointer;
  background: rgba(140,140,150,0.35); outline: none;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  border: 2px solid #f3f1ea; cursor: pointer; margin-top: 0;
}
.vol-slider::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  border: 2px solid #f3f1ea; cursor: pointer;
}

/* ---------- ko-fi: a chilly penguin sipping a cold one ---------- */
.kofi-band { display: flex; justify-content: center; padding: clamp(3.5rem,8vw,6rem) 1.2rem 1.5rem; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.kofi { display: flex; flex-direction: row; align-items: center; gap: clamp(1rem,3vw,2.6rem); text-align: left; }
.kofi-text { display: flex; flex-direction: column; gap: 0.35rem; }
.kofi-scene { position: relative; width: 188px; height: 296px; flex-shrink: 0; }
@media (max-width: 560px) { .kofi { flex-direction: column-reverse; text-align: center; gap: 0.5rem; } }
.kofi-snow { position: absolute; inset: 30px 0 34px; overflow: hidden; z-index: 4; pointer-events: none; }
.kofi-snow i {
  position: absolute; top: -6px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 5px rgba(200,225,255,0.85); animation: kofiSnow linear infinite;
}
@keyframes kofiSnow {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.95; } 86% { opacity: 0.85; }
  100% { transform: translateY(155px) translateX(var(--kx,6px)); opacity: 0; }
}
.kofi-glow {
  position: absolute; left: 50%; bottom: 16px; width: 150px; height: 150px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(120,200,255,0.30), transparent 68%);
  filter: blur(7px); z-index: 1;
}
.kofi-label { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem,2vw,1.5rem); letter-spacing: -0.01em; transition: color 0.3s; }
.kofi:hover .kofi-label { color: var(--accent); }
.kofi-sub { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- light theme ---------- */
html[data-theme="light"] {
  --bg: #eef1f7; --bg-soft: #e2e6ef; --ink: #161821; --ink-dim: #585d6a;
  --line: rgba(22,24,33,0.14); --accent: #e0492c;
  background-color: #eaeef6;
  background-image:
    radial-gradient(46% 42% at 16% 10%, rgba(168,200,255,0.60), transparent 62%),
    radial-gradient(44% 40% at 88% 14%, rgba(208,190,255,0.52), transparent 62%),
    radial-gradient(62% 56% at 80% 90%, rgba(176,226,230,0.52), transparent 66%),
    radial-gradient(56% 52% at 20% 92%, rgba(194,214,255,0.52), transparent 66%),
    linear-gradient(180deg, #f3f6fc 0%, #e6ebf4 100%);
  background-attachment: fixed;
}
/* gentle drifting frost light in light mode */
html[data-theme="light"] body::before {
  content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 32% at 30% 28%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(34% 30% at 72% 62%, rgba(210,225,255,0.45), transparent 62%);
  filter: blur(10px); opacity: 0.8;
  animation: frostdrift 26s ease-in-out infinite alternate;
}
@keyframes frostdrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
html[data-theme="light"] body { background: transparent; }
/* the stars canvas stays on in light mode — it renders the daytime winter scene */
html[data-theme="light"] .bg-canvas,
html[data-theme="light"] .bg-video,
html[data-theme="light"] .cursor-canvas { display: none !important; }
/* restore a normal cursor when the penguin canvas is off */
html[data-theme="light"] *, html[data-theme="light"] *::before, html[data-theme="light"] *::after { cursor: auto !important; }
html[data-theme="light"] a, html[data-theme="light"] button, html[data-theme="light"] [data-cursor] { cursor: pointer !important; }
html[data-theme="light"] .scrim { background:
  radial-gradient(120% 80% at 50% 16%, rgba(255,255,255,0.5), transparent 55%),
  radial-gradient(120% 90% at 50% 100%, rgba(190,200,220,0.35), transparent 60%); }
html[data-theme="light"] .grain { opacity: 0.025; mix-blend-mode: multiply; }
html[data-theme="light"] .nav { mix-blend-mode: normal; color: var(--ink); }
/* dark, legible display gradient on light backgrounds */
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .studio-statement,
html[data-theme="light"] .contact-big {
  background: linear-gradient(110deg, #1b2230 0%, #36456a 32%, #6a4ea0 62%, #b1456b 100%);
  background-size: 230% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.6));
}
html[data-theme="light"] .settings-btn { background: rgba(255,255,255,0.7); }
html[data-theme="light"] .settings-panel { background: rgba(250,251,253,0.9); box-shadow: 0 24px 60px rgba(40,50,80,0.18); }
html[data-theme="light"] .switch .knob { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
html[data-theme="light"] ::selection { background: var(--accent); color: #fff; }
