﻿@import url('data:text/css,');

:root {
  --ink: #17130f;
  --paper: #ead9c2;
  --paper-soft: rgba(234, 217, 194, 0.72);
  --paper-dim: rgba(234, 217, 194, 0.46);
  --gold: #c7a269;
  --gold-bright: #e0bc82;
  --vermilion: #9d3425;
  --line: rgba(218, 190, 151, 0.2);
  --line-strong: rgba(218, 190, 151, 0.38);
  --panel: rgba(22, 19, 16, 0.66);
  --panel-deep: rgba(25, 21, 17, 0.9);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #14120f;
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body { cursor: default; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }

#stage, #scene {
  position: absolute;
  inset: 0;
}

#scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  cursor: grab;
}

#scene canvas:active { cursor: grabbing; }

.vignette,
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vignette {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.58) 0%, rgba(8, 7, 6, 0.12) 31%, transparent 53%, rgba(8, 7, 6, 0.12) 79%, rgba(8, 7, 6, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.44) 0%, transparent 17%, transparent 76%, rgba(8, 7, 6, 0.65) 100%),
    radial-gradient(ellipse at 56% 49%, transparent 33%, rgba(7, 6, 5, 0.34) 100%);
  transition: opacity 1.2s ease;
}

.grain {
  opacity: 0.09;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  background-size: 190px 190px;
}

.app-shell {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.app-shell.hidden {
  opacity: 0;
  filter: blur(2px);
}

.app-shell button,
.app-shell a,
.hotspots { pointer-events: auto; }

/* Top bar */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 42px 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.36), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  color: var(--paper);
  background: rgba(16, 14, 12, 0.26);
  box-shadow: inset 0 0 0 4px rgba(197, 161, 108, 0.04);
  position: relative;
}

.seal::before,
.seal::after {
  content: "";
  position: absolute;
  background: var(--gold);
  opacity: 0.62;
}

.seal::before { width: 20px; height: 1px; bottom: -1px; left: 12px; }
.seal::after { width: 1px; height: 12px; top: 8px; right: -1px; }

.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-copy strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.32em;
  line-height: 1;
}
.brand-copy small {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.19em;
  color: var(--paper-dim);
}

.top-center {
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0.74;
}
.top-center p {
  margin: 0;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.36em;
  white-space: nowrap;
}
.hairline { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.hairline:last-child { transform: scaleX(-1); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--paper-dim);
}
.live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9d3a5;
  box-shadow: 0 0 0 4px rgba(185, 211, 165, 0.09);
  animation: livePulse 2.6s ease forwards infinite;
}
@keyframes livePulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.icon-btn {
  border: 1px solid rgba(222, 195, 155, 0.19);
  background: rgba(23, 20, 17, 0.32);
  height: 36px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--paper-soft);
  backdrop-filter: blur(12px);
  transition: 0.24s ease;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--paper); background: rgba(51, 42, 32, 0.46); }
.icon-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
#soundBtn svg path:first-child { fill: currentColor; stroke: none; }
.sound-off, .moon-icon { display: none; }
body.sound-on .sound-off { display: none; }
body.sound-on .sound-wave { display: block; }
body:not(.sound-on) .sound-wave { display: none; }
body:not(.sound-on) .sound-off { display: block; }
body.night .sun-icon { display: none; }
body.night .moon-icon { display: block; }

/* Information panel */
.info-panel {
  position: absolute;
  left: 42px;
  top: 116px;
  width: clamp(330px, 24vw, 376px);
  padding: 21px 22px 20px;
  background:
    linear-gradient(135deg, rgba(237, 217, 188, 0.035), transparent 36%),
    var(--panel);
  border: 1px solid rgba(224, 195, 150, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(0.86);
  z-index: 12;
  overflow: hidden;
  transition: background 0.7s ease, border-color 0.7s ease, opacity 0.35s ease;
}
.info-panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 201, 155, 0.45), transparent);
}
.info-panel::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(210, 164, 88, 0.08);
  filter: blur(40px);
  right: -40px;
  top: -65px;
  pointer-events: none;
}
.info-panel.changing .panel-content-inner,
.info-panel.changing .panel-meta,
.info-panel.changing .crumb,
.info-panel.changing .title-block,
.info-panel.changing .description,
.info-panel.changing .stats,
.info-panel.changing .panel-foot { animation: panelSwap 0.48s ease both; }
@keyframes panelSwap {
  0% { opacity: 1; transform: translateY(0); }
  45% { opacity: 0; transform: translateY(5px); }
  46% { opacity: 0; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.scene-count { color: var(--gold-bright); font-size: 10px; }
.scene-type { font-family: var(--sans); letter-spacing: 0.18em; }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--paper-dim);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.crumb-line { width: 22px; height: 1px; background: var(--gold); opacity: 0.68; }

.title-block {
  position: relative;
  margin: 15px 0 14px;
  min-height: 92px;
}
#sceneTitle {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(45px, 4.1vw, 60px);
  line-height: 1.06;
  letter-spacing: 0.08em;
  color: #eadac5;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.28);
}
.title-order {
  position: absolute;
  right: 1px;
  top: 5px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  opacity: 0.78;
}
.title-order::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  background: var(--line-strong);
  left: -34px;
  top: 21px;
}
.en-title {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.74;
}

.description {
  margin: 0;
  min-height: 91px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(234, 219, 200, 0.68);
  text-align: justify;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 17px 0 16px;
  padding: 11px 0;
}
.stats div {
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid var(--line);
}
.stats div:first-child { padding-left: 0; }
.stats div:last-child { padding-right: 0; border-right: 0; }
.stats span {
  display: block;
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--paper-dim);
}
.stats strong {
  display: block;
  color: rgba(237, 222, 201, 0.86);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.panel-foot { display: flex; align-items: center; gap: 14px; }
.cta {
  height: 38px;
  min-width: 122px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 14px;
  border: 1px solid rgba(224, 194, 146, 0.4);
  background: rgba(215, 178, 117, 0.09);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.13em;
  transition: 0.25s ease;
}
.cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.cta:hover { background: var(--gold); border-color: var(--gold); color: #211a12; }
.cta:hover svg { transform: translateX(3px); }
.drag-note { font-size: 8px; letter-spacing: 0.08em; color: rgba(234, 219, 200, 0.32); white-space: nowrap; }

/* Right nav */
.scene-nav {
  position: absolute;
  z-index: 12;
  top: 174px;
  right: 43px;
  width: 136px;
  display: flex;
  flex-direction: column;
}
.nav-heading {
  padding: 0 0 15px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}
.nav-heading strong { display: block; font-family: var(--serif); font-size: 11px; font-weight: 400; letter-spacing: 0.2em; }
.nav-heading span { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 7px; letter-spacing: 0.18em; color: var(--paper-dim); }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 39px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(234, 219, 200, 0.52);
  text-align: left;
  transition: color 0.3s ease;
}
.nav-item span {
  width: 16px;
  font-family: var(--serif);
  font-size: 9px;
  color: var(--gold);
  opacity: 0.34;
  transition: 0.3s ease;
}
.nav-item b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  transition: 0.3s ease;
}
.nav-item i {
  position: absolute;
  right: 0;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: 0.35s ease;
}
.nav-item:hover { color: rgba(234, 219, 200, 0.8); }
.nav-item:hover span { opacity: 0.72; }
.nav-item.active { color: var(--paper); }
.nav-item.active span { opacity: 1; }
.nav-item.active b { transform: translateX(3px); }
.nav-item.active i { opacity: 0.9; transform: scaleX(1); }

/* Hotspots */
.hotspots { position: absolute; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(238, 224, 204, 0.7);
  opacity: 0;
  transform: translate(-8px, -8px);
  transition: opacity 0.55s ease, color 0.3s ease;
  pointer-events: auto;
  white-space: nowrap;
}
.hotspot.visible { opacity: 1; }
.hotspot:hover { color: #fff2dc; }
.hotspot-ring {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(229, 201, 158, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(216, 180, 123, 0.05);
  transition: 0.25s ease;
}
.hotspot-ring::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-bright); }
.hotspot:hover .hotspot-ring { border-color: var(--gold-bright); transform: scale(1.18); box-shadow: 0 0 0 7px rgba(216, 180, 123, 0.08); }
.hotspot-label {
  padding: 4px 7px;
  border: 1px solid rgba(218, 190, 151, 0.14);
  background: rgba(20, 17, 14, 0.36);
  backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.hotspot.active .hotspot-ring { border-color: var(--gold-bright); box-shadow: 0 0 0 5px rgba(216, 180, 123, 0.09); }
.hotspot.active .hotspot-ring::after { background: #fff0d2; box-shadow: 0 0 8px rgba(242, 211, 161, 0.8); }

/* Tour dock */
.tour-dock {
  position: absolute;
  z-index: 13;
  left: 50%;
  bottom: 27px;
  transform: translateX(-50%);
  width: min(420px, 39vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border: 1px solid rgba(218, 190, 151, 0.18);
  background: rgba(18, 16, 13, 0.42);
  backdrop-filter: blur(14px);
}
.tour-play {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(218, 190, 151, 0.38);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: 0.25s ease;
}
.tour-play:hover { background: var(--gold); color: #1b1610; }
.tour-play svg { width: 11px; height: 11px; fill: currentColor; }
.pause-icon { display: none; }
body.touring .pause-icon { display: block; }
body.touring .play-icon { display: none; }
.tour-body { flex: 1; min-width: 0; }
.tour-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; font-family: var(--serif); font-size: 8px; letter-spacing: 0.12em; color: var(--paper-dim); }
.tour-label time { font-family: Georgia, serif; letter-spacing: 0.08em; }
.tour-track { position: relative; height: 1px; background: rgba(218, 190, 151, 0.2); }
.tour-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--gold-bright); box-shadow: 0 0 8px rgba(219, 178, 113, 0.5); }
.tour-thumb { position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-bright); transform: translate(-50%, -50%); left: 0%; box-shadow: 0 0 7px rgba(232, 193, 129, 0.8); }

/* Corner elements */
.coords {
  position: absolute;
  left: 45px;
  bottom: 25px;
  display: flex;
  gap: 14px;
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: rgba(235, 220, 199, 0.48);
}
.utilities {
  position: absolute;
  right: 43px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 14;
}
.utilities button {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 0.07em;
  color: rgba(235, 220, 199, 0.46);
  transition: 0.22s ease;
}
.utilities button:hover { color: var(--paper); }
.utilities svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.utilities kbd { font: 7px/1 Georgia, serif; border: 1px solid rgba(239, 218, 187, 0.22); padding: 2px 3px; color: rgba(235, 220, 199, 0.4); }
.axis-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.18;
  z-index: 4;
  pointer-events: none;
}
.axis-mark span { font-family: var(--serif); font-size: 8px; }
.axis-mark i { width: 1px; height: 16px; background: var(--paper); }

.cinema-caption {
  position: absolute;
  left: 50%;
  top: 95px;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(245, 222, 190, 0.72);
  opacity: 0;
  animation: captionIn 2.4s 1.4s ease forwards;
  pointer-events: none;
  z-index: 9;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}
.cinema-caption span { font-size: 13px; }
.cinema-caption strong { font-size: 25px; font-weight: 400; color: #f3ddbd; }
@keyframes captionIn { 0% { opacity: 0; transform: translate(-50%, 9px); } 100% { opacity: .84; transform: translate(-50%, 0); } }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #15120f;
  display: grid;
  place-items: center;
  transition: opacity 1s ease, visibility 1s ease;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: 260px; text-align: center; }
.loader-seal {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border: 1px solid rgba(212, 175, 112, 0.55);
  font-family: var(--serif);
  font-size: 28px;
  color: #e7d2b3;
  position: relative;
  animation: sealBreath 2.4s ease-in-out infinite;
}
@keyframes sealBreath { 0%,100% { border-color: rgba(212, 175, 112, 0.3); } 50% { border-color: rgba(232, 195, 132, 0.7); } }
.loader-inner p { margin: 0 0 18px; font-family: var(--serif); font-size: 12px; letter-spacing: 0.32em; color: rgba(234, 215, 189, 0.7); }
.loader-line { height: 1px; background: rgba(218, 190, 151, 0.16); overflow: hidden; }
.loader-line i { display: block; width: 0%; height: 100%; background: #d8b67e; transition: width 0.3s ease; }
.loader-inner small { display: block; margin-top: 15px; font-family: Georgia, serif; font-size: 7px; letter-spacing: 0.18em; color: rgba(234, 215, 189, 0.28); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translate(-50%, 8px);
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  background: rgba(24, 20, 16, 0.86);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: 0.35s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.night .vignette {
  background:
    linear-gradient(90deg, rgba(2, 5, 9, 0.72) 0%, rgba(2, 5, 9, 0.18) 32%, transparent 55%, rgba(2, 5, 9, 0.18) 79%, rgba(2, 5, 9, 0.5) 100%),
    linear-gradient(180deg, rgba(1, 4, 8, 0.5) 0%, transparent 18%, transparent 76%, rgba(2, 5, 8, 0.72) 100%);
}
body.night .info-panel { background: rgba(12, 15, 18, 0.72); border-color: rgba(172, 193, 208, 0.17); }
body.night .brand-copy strong { color: #e2e1d8; }

/* Responsive */
@media (max-width: 1180px) {
  .topbar { padding-left: 26px; padding-right: 26px; }
  .info-panel { left: 26px; width: 326px; }
  .scene-nav { right: 26px; width: 120px; }
  .utilities { right: 26px; gap: 10px; }
  .utilities button { font-size: 0; }
  .utilities kbd { display: none; }
  .utilities svg { width: 14px; height: 14px; }
  .coords { left: 29px; }
  .top-center { display: none; }
}

@media (max-height: 760px) {
  .topbar { height: 70px; padding-top: 18px; }
  .brand .seal { width: 38px; height: 38px; font-size: 21px; }
  .info-panel { top: 82px; padding: 15px 18px 16px; width: 330px; }
  .panel-meta { padding-bottom: 10px; }
  .crumb { margin-top: 11px; }
  .title-block { margin: 10px 0; min-height: 73px; }
  #sceneTitle { font-size: 45px; }
  .description { font-size: 11px; line-height: 1.65; min-height: 73px; }
  .stats { margin: 10px 0 11px; padding: 8px 0; }
  .stats strong { font-size: 9px; }
  .panel-foot .cta { height: 33px; }
  .scene-nav { top: 123px; }
  .nav-item { height: 33px; }
  .tour-dock { bottom: 17px; height: 36px; }
  .coords, .utilities { bottom: 16px; }
  .cinema-caption { top: 68px; }
}

@media (max-width: 760px) {
  .topbar { padding: 16px 18px 0; }
  .brand-copy { display: none; }
  .live { display: none; }
  .top-actions { gap: 6px; }
  .icon-btn span { display: none; }
  .icon-btn { width: 34px; padding: 0; justify-content: center; }
  .info-panel {
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 76px;
    width: auto;
    padding: 14px 16px;
    max-height: 43vh;
    overflow: auto;
  }
  .panel-meta, .crumb, .title-order, .drag-note, .stats, .description { display: none; }
  .title-block { min-height: 0; margin: 10px 0; }
  #sceneTitle { font-size: 36px; }
  .en-title { font-size: 8px; }
  .panel-foot .cta { width: 100%; height: 34px; }
  .scene-nav { top: 80px; right: 18px; width: 96px; }
  .nav-heading { padding-bottom: 8px; margin-bottom: 4px; }
  .nav-item { height: 30px; gap: 7px; }
  .nav-item b { font-size: 10px; }
  .hotspot-label { display: none; }
  .tour-dock { bottom: 16px; width: calc(100% - 28px); }
  .coords { display: none; }
  .utilities { right: 18px; bottom: 64px; }
  .utilities #resetBtn, .utilities #uiBtn { display: none; }
  .cinema-caption { top: 64px; }
  .cinema-caption span { font-size: 10px; }
  .cinema-caption strong { font-size: 18px; }
}

.restore-ui {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 60;
  padding: 9px 14px;
  border: 1px solid rgba(218, 190, 151, 0.32);
  background: rgba(20, 17, 14, 0.72);
  color: var(--paper-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.ui-hidden .restore-ui { opacity: 1; pointer-events: auto; }

body.ui-hidden .cinema-caption { opacity: 0 !important; }
.nav-heading strong { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85); }
.nav-item.active b { color: #f6e4c8; }

.nav-heading span, .brand-copy small { color: rgba(234, 217, 194, 0.6); }
.scene-type { color: rgba(234, 217, 194, 0.65); }

