/* Appearance Studio and lightweight background layers. */
.background-canvas {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: var(--background-strength, .7);
}
html[data-background="terrain"] .background-canvas,
html[data-background="flow"] .background-canvas,
html[data-background="shapes"] .background-canvas,
html[data-background="constellation"] .background-canvas,
html[data-background="ribbon"] .background-canvas,
html[data-background="ripple"] .background-canvas { display: block; }
html[data-background]:not([data-background="aurora"]) .bg,
html[data-background]:not([data-background="aurora"]) .grain { display: none; }
html[data-background="aurora"] .bg { opacity: var(--background-strength, .7); }
.bg, .grain { z-index: 0; }
html[data-bg-motion="off"] .orb { animation: none; will-change: auto; }
html[data-bg-visible="off"] .orb { animation-play-state: paused; }
html[data-bg-interactive="off"] .cursor-glow,
html[data-motion="reduced"] .cursor-glow { display: none; }
/* Lite mode keeps a static, inexpensive Aurora instead of a blank screen. */
html[data-background="aurora"][data-lite="on"] .bg {
  display: block !important;
  background: radial-gradient(ellipse at 10% 0%, rgba(99, 103, 222, .22), transparent 44%), radial-gradient(ellipse at 90% 100%, rgba(22, 148, 174, .15), transparent 44%);
}
html[data-background="aurora"][data-lite="on"] .orb { display: none; }

html[data-route="appearance"] .shell { max-width: 1120px; padding-top: 48px; }
html[data-route="appearance"] .span { display: none; }
.appearance-view { display: flex; flex-direction: column; gap: 24px; }
.studio-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 2px 8px; }
.studio-kicker, .studio-overline, .studio-section-meta, .scene-caption-label, .scene-index, .range-ends, .pointer-stage-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}
.studio-kicker { color: #abb6df; margin: 0 0 17px; display: flex; align-items: center; gap: 9px; }
.studio-kicker > span:first-child, .live-badge span, .pointer-stage-label > span:first-child {
  width: 6px; height: 6px; border-radius: 50%; background: #a99aff; box-shadow: 0 0 10px #9384fa; flex: none;
}
.studio-kicker-separator { color: #59617d; }
.studio-intro h1 { color: var(--ink); margin: 0; font-size: clamp(34px, 4.5vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.055em; }
.studio-intro h1 em { color: #b5a7ff; font-style: normal; }
.studio-intro > div > p:last-child { margin: 12px 0 0; max-width: 550px; color: var(--muted); font-size: 14px; }
.studio-saved { color: var(--muted); font-size: 11px; white-space: nowrap; padding-bottom: 5px; }
.studio-saved span { color: #8de0bb; margin-right: 5px; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; align-items: start; gap: 18px; }
.studio-content { display: grid; gap: 18px; min-width: 0; }
.studio-panel.panel {
  gap: 0;
  padding: 22px;
  background: rgba(15, 20, 35, .86);
  border-color: rgba(192, 202, 240, .12);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  animation: none;
  content-visibility: visible;
}
.studio-panel.panel:hover { border-color: rgba(192, 202, 240, .18); box-shadow: 0 18px 50px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025); }
.studio-panel.panel::before { display: none; }
.studio-section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.studio-overline { color: #9099b8; margin: 0 0 6px; }
.studio-section-heading h2, .pointer-copy h2 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.studio-section-meta { color: #737f9f; white-space: nowrap; }
.live-badge { display: flex; align-items: center; gap: 7px; border: 1px solid rgba(166, 153, 255, .25); border-radius: 99px; padding: 6px 9px; color: #c3bbfa; background: rgba(149, 128, 255, .08); font: 600 9px var(--font-mono); letter-spacing: .06em; white-space: nowrap; }
.live-badge span { width: 5px; height: 5px; }

.scene-preview { position: relative; height: 270px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; overflow: hidden; background: #080d1a; isolation: isolate; }
.scene-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--background-strength, .7); }
.scene-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 9, 18, .4), transparent 75%), linear-gradient(0deg, rgba(5, 9, 18, .82), transparent 55%); }
.preview-card { position: absolute; top: 24px; right: 7%; width: min(45%, 236px); min-width: 175px; height: 188px; color: #e9edf9; border: 1px solid rgba(219, 225, 255, .18); border-radius: 9px; background: rgba(20, 25, 41, .78); box-shadow: 0 16px 35px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .07); z-index: 1; }
.preview-card-top { height: 29px; border-bottom: 1px solid rgba(255, 255, 255, .09); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font: 600 7px var(--font-mono); color: #939bb8; letter-spacing: .08em; }
.preview-dots { display: flex; gap: 3px; }
.preview-dots i { width: 4px; height: 4px; border-radius: 50%; background: #7e86a1; }
.preview-card-body { padding: 17px 16px; }
.preview-card-label { font: 600 7px var(--font-mono); color: #a8a2e2; letter-spacing: .1em; }
.preview-card-label span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #a99aff; margin-right: 4px; }
.preview-card-title { margin: 12px 0; font-size: 17px; line-height: 1.15; letter-spacing: -.04em; font-weight: 500; }
.preview-card-title span, .pointer-copy h2 span { color: #b4a2ff; }
.preview-card-lines { display: grid; gap: 5px; }
.preview-card-lines span { width: 80%; height: 3px; background: rgba(186, 193, 216, .18); border-radius: 9px; }
.preview-card-lines span:last-child { width: 55%; }
.preview-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .1); color: #aab2ce; font: 600 7px var(--font-mono); letter-spacing: .06em; }
.scene-caption { position: absolute; left: 20px; bottom: 19px; z-index: 1; display: grid; gap: 1px; color: #fff; }
.scene-caption-label { color: #aaa9cb; font-size: 8px; margin-bottom: 4px; }
.scene-caption strong { font-size: 20px; line-height: 1.1; letter-spacing: -.03em; }
.scene-caption > span:last-child { font-size: 11px; color: #b5bdd1; }
.scene-index { position: absolute; right: 14px; bottom: 14px; color: rgba(213, 219, 242, .55); z-index: 1; font-size: 8px; }
.preview-note { color: var(--muted); font-size: 11px; padding-top: 13px; }
.preview-note span { color: #b6a8ff; margin-right: 5px; font-size: 14px; }

.background-choices { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.background-option { position: relative; min-width: 0; cursor: pointer; }
.background-option input, .studio-toggle input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.background-card { display: block; border: 1px solid rgba(186, 197, 235, .12); border-radius: 10px; background: rgba(255, 255, 255, .025); padding: 5px; transition: border-color .2s; }
.background-card:hover { border-color: rgba(176, 166, 255, .5); }
.background-option input:checked + .background-card { border-color: #a99aff; background: rgba(163, 143, 255, .1); box-shadow: 0 0 0 1px rgba(169, 154, 255, .2); }
.background-option input:focus-visible + .background-card, .studio-toggle input:focus-visible + .toggle-track { outline: 2px solid #b6a8ff; outline-offset: 3px; }
.background-art { display: block; position: relative; height: 76px; overflow: hidden; border-radius: 6px; background-color: #0b1020; }
.art-aurora { background-image: radial-gradient(ellipse at 20% 20%, #5750a4, transparent 56%), radial-gradient(ellipse at 90% 90%, #176577, transparent 55%), linear-gradient(140deg, #151631, #101625); }
.art-terrain { background-image: repeating-radial-gradient(ellipse at 65% 100%, transparent 0 7px, rgba(154, 168, 209, .4) 8px, transparent 9px 13px), radial-gradient(ellipse at 70% 80%, #283753, #0c1425 70%); }
.art-flow { background-image: repeating-radial-gradient(ellipse at 35% -130%, transparent 0 7px, rgba(113, 202, 218, .38) 8px, transparent 9px 13px), linear-gradient(135deg, #0d1c2b, #101a32); }
.art-shapes { background: radial-gradient(ellipse at 60% 90%, #2a2551, #131729 70%); }
.art-ribbon { background: repeating-linear-gradient(172deg, transparent 0 9px, rgba(170, 186, 255, .4) 10px, transparent 11px 19px), #111a33; }
.art-ripple { background: radial-gradient(circle at 30% 45%, transparent 0 22px, rgba(160, 200, 255, .4) 23px, transparent 25px 44px, rgba(160, 200, 255, .2) 45px, transparent 47px), #0d1828; }
.art-shapes i { position: absolute; width: 29px; height: 29px; border: 1px solid rgba(194, 175, 255, .72); background: rgba(159, 135, 255, .25); box-shadow: 0 4px 18px rgba(106, 99, 202, .2); }
.art-shapes i:first-child { border-radius: 50%; left: 15%; top: 18px; }
.art-shapes i:nth-child(2) { width: 35px; height: 35px; border-radius: 10px; left: 47%; top: 25px; transform: rotate(25deg); border-color: rgba(105, 214, 221, .6); background: rgba(60, 164, 190, .2); }
.art-shapes i:nth-child(3) { width: 18px; height: 18px; border-radius: 50%; right: 12%; top: 12px; }
.art-constellation { background-image: radial-gradient(circle, rgba(178, 207, 245, .75) 1px, transparent 1.7px), linear-gradient(35deg, transparent 48%, rgba(111, 151, 196, .18) 49%, transparent 50%), radial-gradient(ellipse at 70% 80%, #253454, #0b1221 70%); background-size: 27px 24px, 50px 40px, auto; }
.art-none { background: linear-gradient(135deg, #171d2e, #0c101b); display: grid; place-items: center; }
.art-none i { width: 24px; height: 24px; border: 1px solid rgba(180, 192, 221, .25); border-radius: 50%; }
.background-card-label { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 8px 5px 5px; }
.background-card-label b, .background-card-label small { display: block; overflow: hidden; text-overflow: ellipsis; }
.background-card-label b { font-size: 12px; font-weight: 600; color: var(--ink); }
.background-card-label small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.background-check { opacity: 0; display: grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 50%; background: #aa9cff; color: #111326; font-size: 10px; font-weight: 700; }
.background-option input:checked + .background-card .background-check { opacity: 1; }

/* Switch text and control backgrounds together so theme changes stay legible. */
.studio-panel input, .studio-panel select { transition: border-color .2s, box-shadow .2s; }
.studio-controls { position: sticky !important; top: 85px; }
.tune-icon { font-size: 19px; color: #a999fb; }
.control-block { padding: 20px 0; border-top: 1px solid rgba(192, 202, 240, .1); }
.control-label { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 12px; font-weight: 600; color: var(--ink); }
.control-label > span { color: #737f9f; font: 600 9px var(--font-mono); letter-spacing: .07em; }
.control-label output { color: #b7aaff; font: 600 11px var(--font-mono); }
.theme-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(4, 8, 18, .45); padding: 4px; border: 1px solid rgba(196, 206, 241, .08); border-radius: 9px; }
.theme-switch button { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 6px; padding: 8px; font: 600 11px var(--font-sans); cursor: pointer; }
.theme-switch button span { margin-right: 5px; font-size: 15px; line-height: 0; }
.theme-switch button[aria-pressed="true"] { background: #30344d; border-color: rgba(199, 189, 255, .15); color: #f4f2ff; }
.theme-switch button:focus-visible, .reset-appearance:focus-visible, .play-demo:focus-visible, #pointer-publish:focus-visible { outline: 2px solid #b6a8ff; outline-offset: 3px; }
.intensity-range { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 99px; padding: 0; margin: 16px 0 10px; background: linear-gradient(90deg, #9182ed, #c0b1ff); box-shadow: none; cursor: pointer; }
.intensity-range::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #e4dfff; border: 3px solid #a393ff; box-shadow: 0 0 0 3px rgba(169, 153, 255, .15); }
.intensity-range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #e4dfff; border: 3px solid #a393ff; }
.intensity-range:focus-visible { outline: 2px solid #b6a8ff; outline-offset: 6px; }
.range-ends { display: flex; justify-content: space-between; color: #73809c; font-size: 9px; }
.control-toggles { display: grid; gap: 19px; }
.studio-toggle { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; cursor: pointer; }
.studio-toggle b, .studio-toggle small { display: block; }
.studio-toggle b { font-size: 12px; font-weight: 600; }
.studio-toggle small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.toggle-track { width: 32px; height: 19px; border-radius: 99px; background: #343d51; position: relative; transition: background .2s; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #d2d8e7; transition: transform .2s; }
.studio-toggle input:checked + .toggle-track { background: #9e8af6; }
.studio-toggle input:checked + .toggle-track::after { transform: translateX(13px); background: #fff; }
.performance-note { display: flex; gap: 10px; padding: 13px; border: 1px solid rgba(164, 151, 242, .14); border-radius: 10px; background: rgba(153, 136, 236, .07); }
.performance-icon { color: #c0b2ff; font-size: 17px; line-height: 1; }
.performance-note b { display: block; font-size: 11px; }
.performance-note p { margin: 4px 0 7px; font-size: 10px; line-height: 1.5; color: var(--muted); }
.performance-note a { font-size: 10px; color: #c0b2ff; font-weight: 600; }
.reset-appearance { margin-top: 18px; padding: 0; color: var(--muted); font: 500 11px var(--font-sans); background: none; border: 0; text-align: left; cursor: pointer; }
.reset-appearance:hover { color: var(--ink); }
.reset-appearance span { font-size: 16px; margin-right: 4px; }
.studio-privacy { margin: 14px 0 0; color: #737f9f; font-size: 10px; line-height: 1.5; }

.pointer-lab { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 35px !important; overflow: hidden; }
.pointer-copy { padding: 4px 8px; }
.pointer-copy h2 { font-size: 23px; }
.pointer-copy > p:not(.studio-overline) { color: var(--muted); max-width: 350px; font-size: 12px; line-height: 1.6; margin: 10px 0 16px; }
.play-demo { border: 1px solid rgba(184, 171, 255, .32); background: rgba(156, 136, 249, .13); color: #ddd7ff; border-radius: 8px; padding: 9px 13px; cursor: pointer; font: 600 11px var(--font-sans); }
.play-demo:hover { background: rgba(156, 136, 249, .24); }
.play-demo span { font-size: 9px; margin-right: 6px; }
.pointer-copy small { display: block; color: #7d88a5; font-size: 10px; margin-top: 11px; }
.pointer-stage { height: 200px; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid rgba(193, 202, 236, .1); background: radial-gradient(ellipse at 80% 20%, rgba(100, 87, 178, .2), transparent 60%), #101626; }
.pointer-stage-label { display: flex; align-items: center; gap: 7px; padding: 13px 15px; font-size: 8px; color: #939fbe; }
.pointer-stage-label > span:first-child { width: 5px; height: 5px; }
.pointer-stage-label > span:last-child { margin-left: auto; font-size: 11px; }
.pointer-message { position: absolute; left: 20%; top: 32%; }
.pointer-message p { color: #bfc7dc; font-size: 16px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.03em; }
.pointer-message strong { color: #f2f3fb; font-weight: 600; }
.pointer-message p.is-selected { background: rgba(242, 78, 156, .22); border-radius: 3px; }
#pointer-publish { background: #e4dcff; color: #23203b; border: 0; border-radius: 6px; padding: 7px 11px; font: 600 10px var(--font-sans); cursor: pointer; }
#pointer-publish span { margin-left: 8px; }
.demo-cursor { position: absolute; z-index: 2; pointer-events: none; width: 20px; color: #0d99ff; }
.demo-cursor svg { width: 20px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.demo-cursor > span, .demo-cursor > i { display: inline-block; position: absolute; top: 18px; left: 14px; white-space: nowrap; border-radius: 4px 4px 4px 0; background: currentColor; padding: 3px 6px; font: normal 600 9px var(--font-sans); }
.demo-cursor > span::first-line, .demo-cursor > i::first-line { color: white; }
.demo-cursor > i { display: none; top: 37px; background: #0d99ff; color: #fff; }
.demo-cursor-one { left: 58%; top: 58%; }
.demo-cursor-two { left: 69%; top: 27%; color: #f24e9c; }
.pointer-stage.is-playing .demo-cursor-one { animation: cursor-one 2.4s ease-in-out both; }
.pointer-stage.is-playing .demo-cursor-two { animation: cursor-two 2.4s ease-in-out both; }
.pointer-stage.is-shipped .demo-cursor-one > i { display: block; }
@keyframes cursor-one { 0% { transform: translate(0, 0); } 40%, 65% { transform: translate(var(--demo-one-x), var(--demo-one-y)); } 100% { transform: translate(calc(var(--demo-one-x) + 20px), calc(var(--demo-one-y) - 12px)); } }
@keyframes cursor-two { 0% { transform: translate(0, 0); } 25%, 80% { transform: translate(var(--demo-two-x), var(--demo-two-y)); } 100% { transform: translate(calc(var(--demo-two-x) + 20px), calc(var(--demo-two-y) - 10px)); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The existing light theme uses the same tokens; lighten formerly dark-only surfaces too. */
html[data-theme="light"] { --primary: #5146bf; --a: #6657c7; --b: #096d82; --bg-elev: #e6eaf6; }
html[data-theme="light"] .topbar, html[data-theme="light"][data-lite="on"] .topbar { background: rgba(248, 249, 254, .94); }
html[data-theme="light"] .brand-name, html[data-theme="light"] .panel-title, html[data-theme="light"] .span-label { background: none; color: #1b2440; }
html[data-theme="light"] .nav-link[aria-current="page"] { color: #332b79; background: #e3e0fa; border-color: #c4bbf0; box-shadow: none; }
html[data-theme="light"] .panel, html[data-theme="light"] .span { background: rgba(255, 255, 255, .82); box-shadow: 0 14px 40px rgba(47, 59, 91, .09); }
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), html[data-theme="light"] select, html[data-theme="light"] textarea,
html[data-theme="light"] .advanced-services, html[data-theme="light"] .advanced-controls, html[data-theme="light"] .cred, html[data-theme="light"] .meta, html[data-theme="light"] .provider-row, html[data-theme="light"] .log li, html[data-theme="light"] .log:empty::before, html[data-theme="light"] .ngrok-cmd { background-color: rgba(244, 246, 252, .96); border-color: rgba(46, 61, 98, .18); }
html[data-theme="light"] .check-row input[type="checkbox"] { background: #f5f6fb; border-color: #9da8c0; }
html[data-theme="light"] .check-row input[type="checkbox"]:checked { background: #6657c7; }
html[data-theme="light"] .seg-opt span { background: #f5f6fb; border-color: #d3d9e8; }
html[data-theme="light"] .seg-opt input:checked + span { background: #e6e3fb; border-color: #8d81dd; }
html[data-theme="light"] .dialog, html[data-theme="light"] .toast { background: #fff; border-color: #d3d9e8; }
html[data-theme="light"] .foot { background: rgba(248, 249, 254, .8); border-color: #d3d9e8; }
html[data-theme="light"] .span-status { background: #f4f6fc; border-color: #ced5e5; }
html[data-theme="light"] .studio-panel.panel, html[data-theme="light"][data-lite="on"] .studio-panel.panel { background: rgba(255, 255, 255, .94); border-color: rgba(58, 72, 110, .14); }
html[data-theme="light"] .studio-kicker, html[data-theme="light"] .studio-overline { color: #655ca1; }
html[data-theme="light"] .studio-intro h1 em, html[data-theme="light"] .pointer-copy h2 span { color: #7060cd; }
html[data-theme="light"] .control-block { border-color: rgba(58, 72, 110, .12); }
html[data-theme="light"] .control-label > span, html[data-theme="light"] .range-ends { color: #596780; }
html[data-theme="light"] .control-label output { color: #5146a6; }
html[data-theme="light"] .background-card { background: #f5f6fb; border-color: #dce0ec; }
html[data-theme="light"] .background-option input:checked + .background-card { background: #efedff; border-color: #8272dd; }
html[data-theme="light"] .theme-switch { background: #eff1f8; border-color: #dce0ec; }
html[data-theme="light"] .theme-switch button[aria-pressed="true"] { color: #322a78; background: #fff; border-color: #d9d5f2; }
html[data-theme="light"] .performance-note { background: #f4f2ff; border-color: #e1ddf6; }
html[data-theme="light"] .performance-note a { color: #5146a6; }
html[data-theme="light"] .play-demo { color: #4b3e99; background: #f0edff; border-color: #d4cbf8; }
html[data-theme="light"] .live-badge { color: #62539e; }
html[data-theme="light"] .scene-preview { background: #eff2f9; }

@media (max-width: 850px) {
  .studio-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .studio-panel.panel { padding: 18px; }
}
@media (max-width: 700px) {
  html[data-route="appearance"] .shell { padding-top: 28px; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-controls { position: static !important; }
  .studio-intro { align-items: flex-start; }
  .studio-saved { padding-top: 4px; }
  .pointer-lab { grid-template-columns: 1fr; gap: 20px !important; }
  .pointer-copy { padding: 0; }
}
@media (max-width: 440px) {
  .studio-intro { flex-direction: column; gap: 12px; }
  .studio-intro h1 { font-size: 35px; }
  .background-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-preview { height: 235px; }
  .preview-card { right: 5%; top: 20px; min-width: 160px; height: 180px; }
  .scene-caption { left: 14px; bottom: 14px; }
  .scene-caption > span:last-child { max-width: 140px; }
}

.scene-advanced { border-top: 1px solid rgba(192, 202, 240, .1); padding: 15px 0; }
.scene-advanced summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; font-size: 11px; font-weight: 600; }
.scene-advanced summary::-webkit-details-marker { display: none; }
.scene-advanced summary span { color: #a99aff; font-size: 14px; }
.scene-advanced-fields { display: grid; gap: 7px; padding-top: 14px; }
.scene-advanced-fields label { color: var(--muted); font-size: 10px; font-weight: 600; }
.scene-advanced-fields select { padding: 8px 30px 8px 9px; font-size: 11px; border-radius: 7px; }
.scene-advanced-fields p { color: var(--muted); font-size: 10px; margin: 4px 0 0; }
html[data-theme="light"] .scene-advanced { border-color: rgba(58, 72, 110, .12); }
html[data-background="none"] .cursor-glow { display: none; }
html[data-bg-speed="slow"] .o1 { animation-duration: 40s; }
html[data-bg-speed="slow"] .o2 { animation-duration: 52s; }
html[data-bg-speed="slow"] .o3 { animation-duration: 46s; }
html[data-bg-speed="fast"] .o1 { animation-duration: 11s; }
html[data-bg-speed="fast"] .o2 { animation-duration: 14s; }
html[data-bg-speed="fast"] .o3 { animation-duration: 13s; }
.art-waves { background: repeating-linear-gradient(176deg, transparent 0 10px, rgba(136, 196, 255, .35) 11px, transparent 12px 20px), #101a33; }
.art-starfield { background-image: radial-gradient(circle, rgba(222, 232, 255, .9) 1px, transparent 1.6px), radial-gradient(circle, rgba(200, 214, 255, .6) .7px, transparent 1.3px), #0b1224; background-size: 23px 19px, 37px 31px, auto; }
.art-prism { background: linear-gradient(115deg, transparent 0 18%, rgba(150, 170, 255, .22) 30%, transparent 44% 52%, rgba(190, 205, 255, .18) 62%, transparent 74%), #111a33; }
.art-mesh { background: radial-gradient(circle at 28% 32%, rgba(110, 96, 220, .85), transparent 55%), radial-gradient(circle at 75% 70%, rgba(52, 176, 196, .7), transparent 55%), radial-gradient(circle at 70% 20%, rgba(196, 120, 220, .5), transparent 50%), #101828; }
