/* Classic Apple Luminous Frosted Silver-White Glass UI System
   Unified across Home, all five panoramic rooms, HUDs, docks, toasts, and dialogs,
   with subtle per-scene Apple jewel/Aqua accent harmonies. */
:root {
  --control-ink: #1d1d1f;
  --control-muted: #55606e;
  --control-accent: #1e73d6;
  --control-rim: rgba(255, 255, 255, 0.94);
  --control-rim-btn: rgba(154, 166, 182, 0.54);
  --control-rim-hover: rgba(114, 130, 152, 0.72);
  --control-focus: #3b99fc;
  --control-shell: linear-gradient(180deg, rgba(252, 253, 255, 0.90) 0%, rgba(238, 243, 249, 0.84) 100%);
  --control-face: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 251, 0.92) 49%, rgba(230, 236, 244, 0.90) 51%, rgba(241, 245, 250, 0.94) 100%);
  --control-face-hover: linear-gradient(180deg, #ffffff 0%, rgba(246, 249, 253, 0.96) 49%, rgba(236, 241, 248, 0.94) 51%, rgba(247, 250, 253, 0.98) 100%);
  --control-selected: linear-gradient(180deg, #62b5ff 0%, #378ee8 49%, #1d73d6 51%, #2f84e3 100%);
  --control-selected-hover: linear-gradient(180deg, #74bfff 0%, #4498ef 49%, #257ce0 51%, #3a8ee9 100%);
  --control-selected-rim: #1b65bf;
  --control-led: radial-gradient(circle at 36% 28%, #ffffff 4%, #7ec4ff 38%, #1d73d6 82%);
  --control-led-glow: 0 0 6px rgba(38, 128, 230, 0.55);
  --control-pill-bg: rgba(29, 36, 43, 0.06);
  --control-pill-rim: rgba(29, 36, 43, 0.12);
  --control-sep: rgba(29, 36, 43, 0.14);
  --control-edge: inset 0 1px 0 #ffffff, 0 2px 6px rgba(15, 23, 34, 0.12);
  --control-panel-edge: inset 0 1px 0 #ffffff, 0 14px 36px rgba(10, 16, 24, 0.28), 0 2px 6px rgba(10, 16, 24, 0.12);
  --control-font: -apple-system, BlinkMacSystemFont, "PingFang SC", system-ui, sans-serif;
}

/* ── Per-Scene Tailored Apple Frosted Glass Harmonies ── */

/* 1. Darkroom: Warm pearl-blush frosted glass + safelight ruby accent */
body.scene-darkroom {
  --control-accent: #c43242;
  --control-shell: linear-gradient(180deg, rgba(254, 250, 251, 0.90) 0%, rgba(245, 236, 239, 0.84) 100%);
  --control-face: linear-gradient(180deg, rgba(255, 253, 253, 0.96) 0%, rgba(248, 240, 242, 0.92) 49%, rgba(239, 229, 232, 0.90) 51%, rgba(247, 239, 241, 0.94) 100%);
  --control-selected: linear-gradient(180deg, #ef6876 0%, #d44252 49%, #b82c3c 51%, #ca3b4b 100%);
  --control-selected-hover: linear-gradient(180deg, #f47885 0%, #dd4d5d 49%, #c43343 51%, #d64454 100%);
  --control-selected-rim: #a42434;
  --control-focus: #e45666;
  --control-led: radial-gradient(circle at 36% 28%, #fff2f4 4%, #ff8290 38%, #c42e3e 82%);
  --control-led-glow: 0 0 6px rgba(212, 66, 82, 0.55);
}

/* 2. Tea Room: Celadon-mist frosted glass + serene jade-teal accent */
body.scene-tea {
  --control-accent: #257a6b;
  --control-shell: linear-gradient(180deg, rgba(249, 253, 252, 0.90) 0%, rgba(234, 244, 241, 0.84) 100%);
  --control-face: linear-gradient(180deg, rgba(253, 255, 254, 0.96) 0%, rgba(239, 247, 245, 0.92) 49%, rgba(227, 239, 236, 0.90) 51%, rgba(238, 246, 244, 0.94) 100%);
  --control-selected: linear-gradient(180deg, #54b8a6 0%, #349685 49%, #237c6d 51%, #2f8e7d 100%);
  --control-selected-hover: linear-gradient(180deg, #62c4b2 0%, #3fa291 49%, #2a8777 51%, #389a88 100%);
  --control-selected-rim: #1d6b5d;
  --control-focus: #389e8c;
  --control-led: radial-gradient(circle at 36% 28%, #f0fffc 4%, #7be0cd 38%, #247d6e 82%);
  --control-led-glow: 0 0 6px rgba(48, 150, 133, 0.52);
}

/* 3. Rooftop: Crisp sky-silver frosted glass + twilight sapphire accent */
body.scene-rooftop {
  --control-accent: #246fd0;
  --control-shell: linear-gradient(180deg, rgba(250, 252, 255, 0.90) 0%, rgba(235, 241, 250, 0.84) 100%);
  --control-face: linear-gradient(180deg, rgba(254, 255, 255, 0.96) 0%, rgba(240, 245, 252, 0.92) 49%, rgba(228, 235, 246, 0.90) 51%, rgba(239, 244, 251, 0.94) 100%);
  --control-selected: linear-gradient(180deg, #64aaf6 0%, #3a85e2 49%, #226ac8 51%, #347cd8 100%);
  --control-selected-hover: linear-gradient(180deg, #76b6fa 0%, #4791eb 49%, #2a74d4 51%, #3e87e2 100%);
  --control-selected-rim: #1c5ab0;
  --control-focus: #4290ee;
  --control-led: radial-gradient(circle at 36% 28%, #f2f8ff 4%, #80beff 38%, #226ac8 82%);
  --control-led-glow: 0 0 6px rgba(56, 132, 226, 0.55);
}

/* 4. Roam: Classic iPod cool-white frosted glass + Apple Aqua blue accent */
body.scene-roam {
  --control-accent: #1e73d6;
  --control-shell: linear-gradient(180deg, rgba(252, 253, 255, 0.90) 0%, rgba(238, 243, 249, 0.84) 100%);
  --control-selected: linear-gradient(180deg, #62b5ff 0%, #378ee8 49%, #1d73d6 51%, #2f84e3 100%);
  --control-selected-hover: linear-gradient(180deg, #74bfff 0%, #4498ef 49%, #257ce0 51%, #3a8ee9 100%);
  --control-selected-rim: #1b65bf;
  --control-focus: #3b99fc;
}

/* 5. Workshop: Pearl-titanium frosted glass + iridescent nacre-blue accent */
body.scene-workshop {
  --control-accent: #3d68c8;
  --control-shell: linear-gradient(180deg, rgba(251, 252, 255, 0.91) 0%, rgba(237, 240, 248, 0.86) 100%);
  --control-face: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 244, 250, 0.92) 49%, rgba(230, 234, 244, 0.90) 51%, rgba(240, 243, 250, 0.94) 100%);
  --control-selected: linear-gradient(180deg, #7ba4f2 0%, #527de0 49%, #3862c8 51%, #4a74d6 100%);
  --control-selected-hover: linear-gradient(180deg, #8ab0f6 0%, #5f89e8 49%, #426dd2 51%, #5680e0 100%);
  --control-selected-rim: #2f54b0;
  --control-focus: #5a86e8;
  --control-led: radial-gradient(circle at 36% 28%, #f5f8ff 4%, #9ab8ff 38%, #3a64c8 82%);
  --control-led-glow: 0 0 6px rgba(82, 125, 224, 0.55);
}

/* ── Focus Ring ── */
:is(.site-controls, .scene-controls) :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--control-focus);
  outline-offset: 2px;
}

/* ── All Interactive Buttons, Pills & Hotspots ── */
.site-controls :is(.hero-wish-link, .room-home-btn, .lock-step-btn, .portrait-pat-hint,
  .monkey-talk, .monkey-next, .monkey-close, .reason-cloud button, #wishDialog .close),
.scene-controls :is(.hotspot, .hs, .hs-pin, .btn, .sw-btn, .chip-btn, .dock-btn,
  .chip, .edc-tab-btn, .spin-btn, .close-btn, .fire-pin, .lamp-pin, .solo-home,
  .controls button, .bass-actions button, #seat-actions button, #records-dialog button) {
  color: var(--control-ink) !important;
  font-family: var(--control-font) !important;
  background: var(--control-face) !important;
  background-image: var(--control-face) !important;
  border: 1px solid var(--control-rim-btn) !important;
  box-shadow: var(--control-edge) !important;
  backdrop-filter: blur(16px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(175%) !important;
  text-shadow: none !important;
}

.site-controls :is(.hero-wish-link, .room-home-btn, .lock-step-btn, .monkey-talk, .monkey-next):hover,
.scene-controls :is(.hotspot, .hs, .hs-pin, .btn, .sw-btn, .chip-btn, .dock-btn,
  .chip, .edc-tab-btn, .spin-btn, .close-btn, .fire-pin, .lamp-pin, .solo-home,
  .controls button, .bass-actions button, #seat-actions button, #records-dialog button):hover {
  background: var(--control-face-hover) !important;
  border-color: var(--control-rim-hover) !important;
  color: #111827 !important;
}

.site-controls :is(button, a):active:is(.portal-card, .hero-wish-link, .room-home-btn, .lock-step-btn),
.scene-controls button:active:is(.hotspot, .hs, .hs-pin, .btn, .sw-btn, .chip-btn, .chip, .dock-btn, .edc-tab-btn, .spin-btn) {
  box-shadow: inset 0 2px 4px rgba(15, 23, 34, 0.2) !important;
}

/* ── Active / Selected / Primary CTA Buttons (Classic Apple Aqua / Jewel Gloss) ── */
.scene-controls :is(.btn.active, .sw-btn.on, .dock-btn.is-on, .chip-btn.active, .chip.active,
  .edc-tab-btn.active, .spin-btn, .controls button[aria-pressed="true"], #bass-camera),
.site-controls :is(.lock-step-btn.done, .reason-cloud button.popped) {
  background: var(--control-selected) !important;
  background-image: var(--control-selected) !important;
  color: #ffffff !important;
  border-color: var(--control-selected-rim) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 2px 8px rgba(15, 35, 65, 0.24) !important;
}

.scene-controls :is(.btn.active, .sw-btn.on, .dock-btn.is-on, .chip-btn.active, .chip.active,
  .edc-tab-btn.active, .spin-btn, .controls button[aria-pressed="true"], #bass-camera):hover {
  background: var(--control-selected-hover) !important;
  color: #ffffff !important;
}

/* ── All Floating Panels, HUDs, Docks, Popups, Dialogs, Toasts & Letter Cards ── */
.scene-controls :is(.dock, .controls.glass, .intro.glass, .intro, .notice.glass,
  .hud-top .badge, .hud-bottom, .hud-bottom .controls, .topbar .brand, .brew-hud,
  .gift-card, .alien-speech, .fortune-dialog, .edc-topbar, .edc-controls,
  #status, #seat-actions, #bass-dialog, #records-dialog),
.site-controls :is(.portrait-reply:not(:empty), .monkey-card, #wishDialog,
  .workshop-lock-veil, #progressToast, .fortune-bubble) {
  color: var(--control-ink) !important;
  background: var(--control-shell) !important;
  background-image: var(--control-shell) !important;
  border: 1px solid var(--control-rim) !important;
  box-shadow: var(--control-panel-edge) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  font-family: var(--control-font) !important;
}

/* ── Top-Left Scene Title Cards (Darkroom, Tea Room, Rooftop, Roam) ── */
.scene-controls :is(.hud-top .badge, .topbar .brand, .intro) {
  max-width: min(320px, calc(100vw - 28px));
  padding: 9px 14px !important;
  border-radius: 14px !important;
}

.scene-controls :is(.hud-top .badge, .topbar .brand, .intro) h1 {
  color: var(--control-ink) !important;
  font: 600 13.5px/1.25 var(--control-font) !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
}

.scene-controls :is(.hud-top .badge, .topbar .brand, .intro) p {
  color: var(--control-muted) !important;
  font: 400 11.5px/1.45 var(--control-font) !important;
  margin: 3px 0 0 !important;
  letter-spacing: 0 !important;
}

/* ── Secondary Text, Pills, Dividers & Indicators Inside Panels ── */
.scene-controls :is(.hs-state, .intro p, .edc-hint, .gift-desc, .alien-text, .ctrl-label,
  #bass-status, .brew-caption, .hud-bottom),
.site-controls :is(.lock-desc, .panel-label) {
  color: var(--control-muted) !important;
}

.scene-controls :is(.gift-title, .alien-salutation, .edc-title, .fortune-zh,
  #bass-dialog h2, #records-dialog h2, .hud-bottom strong),
.site-controls :is(.lock-title, #fortune) {
  color: var(--control-ink) !important;
}

.scene-controls :is(.alien-speaker, .fortune-badge) {
  color: var(--control-accent) !important;
}

.scene-controls .fortune-badge {
  background: var(--control-pill-bg) !important;
  border: 1px solid var(--control-pill-rim) !important;
}

.scene-controls :is(.prog-pill, .rpm-pill) {
  background: var(--control-pill-bg) !important;
  border: 1px solid var(--control-pill-rim) !important;
  color: var(--control-ink) !important;
}

.scene-controls .hud-bottom select {
  background: var(--control-face) !important;
  color: var(--control-ink) !important;
  border: 1px solid var(--control-rim-btn) !important;
}

.scene-controls .dock-sep {
  background: var(--control-sep) !important;
}

.scene-controls .alien-footer {
  border-top: 1px solid var(--control-sep) !important;
}

.scene-controls .alien-actions span {
  color: var(--control-muted) !important;
}

.scene-controls .gift-card::before {
  display: none !important;
}

.scene-controls .edc-topbar {
  border-radius: 0 0 18px 18px !important;
  border-top: 0 !important;
}

.scene-controls .edc-controls {
  border-radius: 18px 18px 0 0 !important;
  border-bottom: 0 !important;
}

.scene-controls .hs.is-off .hs-state,
.scene-controls .hs-pin.is-off .hs-state {
  opacity: 0.72;
}

.scene-controls :is(.sw-btn.on .led, .hs:not(.is-off) .hs-dot, .hs-pin:not(.is-off) .hs-dot,
  .topbar .brand .dot, .hud-top .badge .dot) {
  background: var(--control-led) !important;
  box-shadow: var(--control-led-glow) !important;
}

.scene-controls .sw-btn.on .led {
  background: radial-gradient(circle at 36% 28%, #ffffff 10%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.45) 100%) !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.75) !important;
}

.scene-controls .mini-ring {
  border-color: rgba(29, 36, 43, 0.42) !important;
}

.scene-controls .btn.active .mini-ring {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.scene-controls .lamp-pin[aria-pressed="true"] {
  color: var(--control-accent) !important;
}

/* ── Top-Right Floating "Home" Return Pill in Every Room ── */
body.site-controls.leeroy-stage .room-home-btn {
  background: var(--control-face) !important;
  border: 1px solid var(--control-rim) !important;
  color: var(--control-ink) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 22px rgba(10, 16, 24, 0.24) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
}

body.site-controls.leeroy-stage .room-home-btn:hover {
  background: var(--control-face-hover) !important;
  color: #111827 !important;
}

/* ── Top Progress Toast (Home & Unlock Notifications) ── */
body.site-controls.leeroy-stage #progressToast {
  color: var(--control-ink) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

/* ── Legacy Nav Music Symbol (kept functional behind hidden .nav on Home) ── */
body.site-controls.leeroy-stage .nav .music-circle-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 11px;
}

.media-symbol {
  display: block;
  width: 11px;
  height: 12px;
  margin-left: 2px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.music-circle-btn.is-playing .media-symbol {
  width: 11px;
  margin-left: 0;
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

/* Five scene links base layout (overridden by home-player.css on cover) */
.site-controls .portal-orbit {
  width: min(448px, 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--control-rim);
  border-radius: 13px;
  background: var(--control-shell);
  box-shadow: var(--control-panel-edge);
}

.site-controls .portal-orbit .portal-card {
  width: auto;
  min-width: 0;
  min-height: 43px;
  aspect-ratio: auto;
  gap: 2px;
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  box-shadow: none;
}

.site-controls .portal-title {
  font: 550 13px/1.2 var(--control-font);
  letter-spacing: 0.035em;
}

.site-controls .portal-pill { font-size: 9px; letter-spacing: 0; line-height: 1.15; }
.site-controls .portal-pill:empty { display: none; }
.site-controls .portal-card.is-locked { opacity: 0.64; }
.site-controls .portal-card:focus-visible { outline-offset: -3px; }
.site-controls .hero-micro-bar { max-width: min(448px, 100%); }
.site-controls .hero-wish-link { flex: none; }

/* ── Classic Apple Frosted Sheet Wish Dialog ── */
body.site-controls.leeroy-stage #wishDialog {
  color: #1d1d1f !important;
  background: linear-gradient(180deg, rgba(253, 254, 255, 0.96) 0%, rgba(239, 243, 249, 0.94) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 24px 64px rgba(0, 0, 0, 0.42),
    0 2px 8px rgba(0, 0, 0, 0.14) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-radius: 20px !important;
  padding: 30px 24px 22px !important;
}

body.site-controls.leeroy-stage #wishDialog h3 {
  color: #1d1d1f !important;
  font: 600 18px/1.3 var(--control-font) !important;
  letter-spacing: 0.01em !important;
}

body.site-controls.leeroy-stage #wishDialog p {
  color: #55606e !important;
  font: 400 12.5px/1.45 var(--control-font) !important;
  letter-spacing: 0 !important;
}

body.site-controls.leeroy-stage #wishDialog .close {
  width: 28px !important;
  height: 28px !important;
  color: #4b5563 !important;
  background: linear-gradient(180deg, #ffffff 0%, #e4e9f0 100%) !important;
  border: 1px solid rgba(154, 164, 178, 0.56) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.site-controls.leeroy-stage #wishDialog .close:hover {
  background: linear-gradient(180deg, #ffffff 0%, #d8e0ea 100%) !important;
  color: #111827 !important;
}

body.site-controls.leeroy-stage #wishDialog .wish-monkey-aura {
  background: radial-gradient(ellipse, rgba(90, 158, 240, 0.22), transparent 68%);
}

body.site-controls.leeroy-stage #wishDialog .wish-tap-hint {
  background: linear-gradient(180deg, #62b5ff 0%, #378ee8 49%, #1d73d6 51%, #2f84e3 100%);
  color: #ffffff;
  border: 1px solid #1b65bf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 3px 10px rgba(24, 102, 198, 0.32);
  font-weight: 500;
  letter-spacing: 0.03em;
}

body.site-controls.leeroy-stage #wishDialog .wish-monkey-btn:hover .wish-tap-hint {
  background: linear-gradient(180deg, #74bfff 0%, #4498ef 49%, #257ce0 51%, #3a8ee9 100%);
}

body.site-controls.leeroy-stage #wishDialog .wish-result {
  color: #2563a8 !important;
  font-weight: 500 !important;
}

body.site-controls.leeroy-stage #wishDialog :is(.close, .wish-monkey-btn):focus-visible {
  outline: 2px solid #3b99fc !important;
  outline-offset: 3px;
}

.site-controls .portrait-pat:focus-visible { outline: none; }
.site-controls .portrait-pat:focus-visible .portrait-pat-hint {
  outline: 2px solid #3b99fc;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   APPLE DARK MODE COMPARISON THEME (?ui=dark)
   macOS Dark Mode / visionOS Smoked Obsidian Frosted Glass + Per-Scene Accents
   ═══════════════════════════════════════════════════════════════════════════ */
body.ui-dark {
  --control-ink: #f5f7fa;
  --control-muted: rgba(216, 224, 236, 0.72);
  --control-accent: #6cb8ff;
  --control-rim: rgba(255, 255, 255, 0.18);
  --control-rim-btn: rgba(255, 255, 255, 0.16);
  --control-rim-hover: rgba(255, 255, 255, 0.36);
  --control-focus: #5eb0ff;
  --control-shell: linear-gradient(180deg, rgba(36, 40, 48, 0.82) 0%, rgba(18, 21, 27, 0.88) 100%);
  --control-face: linear-gradient(180deg, rgba(64, 70, 82, 0.80) 0%, rgba(44, 49, 58, 0.84) 49%, rgba(33, 37, 45, 0.88) 51%, rgba(42, 47, 56, 0.86) 100%);
  --control-face-hover: linear-gradient(180deg, rgba(78, 86, 100, 0.86) 0%, rgba(54, 60, 72, 0.88) 49%, rgba(42, 47, 56, 0.90) 51%, rgba(54, 60, 72, 0.88) 100%);
  --control-pill-bg: rgba(255, 255, 255, 0.08);
  --control-pill-rim: rgba(255, 255, 255, 0.14);
  --control-sep: rgba(255, 255, 255, 0.14);
  --control-edge: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 10px rgba(0, 0, 0, 0.34);
  --control-panel-edge: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 18px 44px rgba(0, 0, 0, 0.54), 0 2px 8px rgba(0, 0, 0, 0.28);
}

body.ui-dark.scene-darkroom {
  --control-accent: #ff7a86;
  --control-shell: linear-gradient(180deg, rgba(38, 28, 32, 0.84) 0%, rgba(20, 14, 17, 0.90) 100%);
  --control-face: linear-gradient(180deg, rgba(66, 48, 54, 0.82) 0%, rgba(46, 34, 38, 0.86) 49%, rgba(34, 24, 28, 0.89) 51%, rgba(44, 32, 36, 0.87) 100%);
  --control-face-hover: linear-gradient(180deg, rgba(82, 60, 67, 0.86) 0%, rgba(58, 43, 48, 0.88) 49%, rgba(44, 32, 36, 0.90) 51%, rgba(56, 42, 47, 0.88) 100%);
}

body.ui-dark.scene-tea {
  --control-accent: #7ce2ce;
  --control-shell: linear-gradient(180deg, rgba(24, 36, 35, 0.82) 0%, rgba(13, 21, 21, 0.89) 100%);
  --control-face: linear-gradient(180deg, rgba(44, 62, 60, 0.80) 0%, rgba(30, 44, 43, 0.85) 49%, rgba(22, 33, 33, 0.88) 51%, rgba(29, 43, 42, 0.86) 100%);
  --control-face-hover: linear-gradient(180deg, rgba(56, 78, 75, 0.86) 0%, rgba(38, 56, 54, 0.88) 49%, rgba(28, 42, 41, 0.90) 51%, rgba(38, 55, 53, 0.88) 100%);
}

body.ui-dark.scene-rooftop {
  --control-accent: #82bfff;
  --control-shell: linear-gradient(180deg, rgba(24, 31, 46, 0.82) 0%, rgba(13, 18, 29, 0.89) 100%);
  --control-face: linear-gradient(180deg, rgba(44, 55, 78, 0.80) 0%, rgba(30, 39, 58, 0.85) 49%, rgba(22, 29, 44, 0.88) 51%, rgba(30, 38, 56, 0.86) 100%);
  --control-face-hover: linear-gradient(180deg, rgba(56, 70, 98, 0.86) 0%, rgba(40, 50, 72, 0.88) 49%, rgba(29, 37, 56, 0.90) 51%, rgba(39, 49, 71, 0.88) 100%);
}

body.ui-dark.scene-workshop {
  --control-accent: #9bbbff;
  --control-shell: linear-gradient(180deg, rgba(28, 33, 43, 0.84) 0%, rgba(16, 19, 26, 0.90) 100%);
  --control-face: linear-gradient(180deg, rgba(52, 59, 74, 0.82) 0%, rgba(36, 42, 54, 0.86) 49%, rgba(27, 32, 42, 0.89) 51%, rgba(36, 41, 52, 0.87) 100%);
  --control-face-hover: linear-gradient(180deg, rgba(66, 75, 92, 0.86) 0%, rgba(46, 54, 68, 0.88) 49%, rgba(35, 41, 54, 0.90) 51%, rgba(46, 53, 67, 0.88) 100%);
}

body.ui-dark.site-controls :is(.hero-wish-link, .room-home-btn, .lock-step-btn, .monkey-talk, .monkey-next):hover,
body.ui-dark.scene-controls :is(.hotspot, .hs, .hs-pin, .btn, .sw-btn, .chip-btn, .dock-btn,
  .chip, .edc-tab-btn, .spin-btn, .close-btn, .fire-pin, .lamp-pin, .solo-home,
  .controls button, .bass-actions button, #seat-actions button, #records-dialog button):hover {
  color: #ffffff !important;
}

body.ui-dark.scene-controls .mini-ring {
  border-color: rgba(255, 255, 255, 0.62) !important;
}

body.ui-dark.site-controls.leeroy-stage .room-home-btn {
  background: var(--control-face) !important;
  border-color: var(--control-rim) !important;
  color: #f5f7fa !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.44) !important;
}

body.ui-dark.site-controls.leeroy-stage #wishDialog {
  color: #f5f7fa !important;
  background: linear-gradient(180deg, rgba(38, 42, 50, 0.94) 0%, rgba(20, 23, 30, 0.96) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 28px 72px rgba(0, 0, 0, 0.72) !important;
}

body.ui-dark.site-controls.leeroy-stage #wishDialog h3 {
  color: #f5f7fa !important;
}

body.ui-dark.site-controls.leeroy-stage #wishDialog p {
  color: rgba(216, 224, 236, 0.72) !important;
}

body.ui-dark.site-controls.leeroy-stage #wishDialog .close {
  color: rgba(240, 244, 250, 0.86) !important;
  background: linear-gradient(180deg, rgba(72, 78, 90, 0.9), rgba(46, 51, 60, 0.92)) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 6px rgba(0, 0, 0, 0.36) !important;
}

body.ui-dark.site-controls.leeroy-stage #wishDialog .wish-result {
  color: #7ec2ff !important;
}
