@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f4ede1;
  --ink-dim: rgba(238, 231, 218, 0.62);
  --ink-faint: rgba(238, 231, 218, 0.37);
  --hairline: rgba(240, 230, 214, 0.2);
  --glass: rgba(12, 30, 33, 0.2);
  --glass-strong: rgba(8, 22, 25, 0.58);
  --warm: #f2c395;
  --sea: #8cbfc2;
  --sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", serif;
  --edge: clamp(22px, 4.1vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #0a1f23;
  color: var(--ink);
  overflow: hidden;
}

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 34% 44%, rgba(87, 131, 134, 0.22), transparent 58%),
    #0a1f23;
}

#scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  cursor: grab;
}
#scene.is-dragging { cursor: grabbing; }
#scene.is-hovering { cursor: pointer; }

.screen-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 83% 79% at 51% 47%, transparent 42%, rgba(4, 15, 18, 0.12) 76%, rgba(2, 11, 14, 0.38) 122%);
  mix-blend-mode: multiply;
}

.grain {
  position: absolute;
  inset: -20%;
  opacity: 0.048;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: grain-shift 0.9s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-2%, 1%, 0); }
  66% { transform: translate3d(1%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 15%;
  pointer-events: none;
}
.letterbox.top {
  top: 0;
  height: 22%;
  background: linear-gradient(to bottom, rgba(4, 16, 19, 0.54), rgba(4, 16, 19, 0.16) 48%, transparent);
}
.letterbox.bottom {
  bottom: 0;
  height: 31%;
  background: linear-gradient(to top, rgba(4, 15, 18, 0.62), rgba(4, 15, 18, 0.16) 46%, transparent);
}

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--edge) 0;
  pointer-events: none;
}

.brand,
.top-actions { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.94;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--warm);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name i {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--warm);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-dim);
  background: rgba(8, 24, 27, 0.18);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transition: color 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}
.icon-button:hover {
  color: var(--ink);
  border-color: rgba(244, 237, 225, 0.42);
  background: rgba(10, 30, 33, 0.33);
}
.icon-button[aria-pressed="true"] {
  color: var(--warm);
  border-color: rgba(242, 195, 149, 0.42);
}
.icon-button .icon {
  display: block;
  width: 17px;
  height: 17px;
}
.icon-button svg { width: 100%; height: 100%; display: block; }
.icon-button .button-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.icon-button .sound-on { display: none; }
.icon-button[aria-pressed="true"] .sound-on { display: block; }
.icon-button[aria-pressed="true"] .sound-off { display: none; }

.hero {
  position: absolute;
  z-index: 12;
  top: clamp(112px, 17vh, 178px);
  left: var(--edge);
  width: min(560px, 44vw);
  pointer-events: none;
  text-shadow: 0 2px 22px rgba(4, 17, 19, 0.46), 0 1px 2px rgba(4, 17, 19, 0.18);
  user-select: none;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -22% -18% -16%;
  background:
    radial-gradient(ellipse 62% 55% at 24% 38%, rgba(4, 16, 19, 0.46), transparent 70%),
    linear-gradient(100deg, rgba(4, 16, 19, 0.26), transparent 62%);
  filter: blur(13px);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  color: rgba(244, 237, 225, 0.62);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-rule {
  width: 30px;
  height: 1px;
  background: rgba(242, 195, 149, 0.65);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.75vw, 110px);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.036em;
  color: #f5eee3;
}
.hero h1 em {
  font-weight: 300;
  color: #f0c9a0;
}

.hero-note {
  margin: clamp(26px, 4.1vh, 42px) 0 0 3px;
  max-width: 360px;
  color: rgba(246, 240, 230, 0.96);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(3, 14, 16, 0.85), 0 2px 16px rgba(3, 14, 16, 0.66), 0 0 1px rgba(3, 14, 16, 0.5);
}

.coords {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 27px);
  margin-top: clamp(24px, 4.2vh, 40px);
  padding-top: 14px;
  border-top: 1px solid rgba(236, 228, 216, 0.22);
  color: rgba(236, 228, 216, 0.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(3, 14, 16, 0.85), 0 1px 2px rgba(3, 14, 16, 0.7);
}
.coords span:last-child {
  color: rgba(242, 195, 149, 0.95);
}

.side-caption {
  position: absolute;
  z-index: 12;
  right: calc(var(--edge) - 20px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: rgba(239, 231, 217, 0.36);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.23em;
  pointer-events: none;
}
.side-caption i {
  display: block;
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, transparent, rgba(239, 231, 217, 0.45), transparent);
}

.footer {
  position: absolute;
  z-index: 20;
  left: var(--edge);
  right: var(--edge);
  bottom: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(300px, 1fr);
  align-items: end;
  gap: 24px;
}

.mini-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(239, 231, 217, 0.45);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.time-switch,
.view-switch {
  display: flex;
  align-items: center;
  gap: 3px;
}
.time-panel { justify-self: start; }
.view-panel { justify-self: end; }
.view-switch { justify-content: flex-end; }

.time-button,
.view-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  color: rgba(239, 231, 217, 0.48);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  transition: color 260ms var(--ease), background 260ms var(--ease);
}
.time-button::after,
.view-button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--warm);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 260ms var(--ease), transform 360ms var(--ease);
}
.time-button:hover,
.view-button:hover { color: rgba(239, 231, 217, 0.88); }
.time-button.is-active,
.view-button.is-active { color: #f5eee3; }
.time-button.is-active::after,
.view-button.is-active::after { opacity: 0.76; transform: scaleX(1); }

.time-glyph {
  position: relative;
  width: 10px;
  height: 10px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.time-glyph.sun { border-color: rgba(242, 195, 149, 0.8); box-shadow: 0 0 9px rgba(242, 195, 149, 0.35); }
.time-glyph.dusk { border-radius: 50% 50% 2px 50%; transform: rotate(45deg) scale(0.9); }
.time-glyph.moon {
  border: 0;
  border-radius: 50%;
  box-shadow: inset -3px -1px 0 0 currentColor;
  transform: rotate(-16deg);
}

.view-button { padding-left: 8px; padding-right: 8px; }
.view-index {
  color: rgba(242, 195, 149, 0.66);
  font-size: 8px;
  letter-spacing: 0.08em;
  transform: translateY(-1px);
}

.interaction-hint {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: rgba(239, 231, 217, 0.44);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.09em;
  white-space: nowrap;
  transition: opacity 400ms var(--ease);
}
.hint-pulse {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 0 rgba(242, 195, 149, 0.45);
  animation: hint-pulse 2.6s var(--ease) infinite;
}
@keyframes hint-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 195, 149, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(242, 195, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 195, 149, 0); }
}

.hotspots {
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  padding: 0;
  border-radius: 50%;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 500ms var(--ease), transform 400ms var(--ease), visibility 0s linear 500ms;
}
.hotspot.is-visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: scale(1);
  transition: opacity 500ms var(--ease), transform 400ms var(--ease), visibility 0s;
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(255, 230, 195, 0.95);
  box-shadow: 0 0 12px 3px rgba(255, 202, 135, 0.66), 0 0 38px 10px rgba(255, 194, 126, 0.18);
  animation: hotspot-breathe 3.4s ease-in-out infinite;
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 224, 187, 0.5);
  border-radius: 50%;
  animation: hotspot-ring 3.4s var(--ease) infinite;
}
.hotspot span {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%) translateY(3px);
  padding: 6px 9px;
  border: 1px solid rgba(247, 236, 220, 0.22);
  border-radius: 3px;
  background: rgba(7, 21, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(247, 239, 227, 0.85);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 220ms var(--ease);
}
.hotspot:hover span,
.hotspot:focus-visible span { opacity: 1; transform: translateX(-50%) translateY(0); }
.hotspot:focus-visible { outline: 1px solid var(--warm); outline-offset: 5px; }

@keyframes hotspot-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes hotspot-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.85); opacity: 0; }
}

.cursor-label {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  padding: 6px 10px;
  border: 1px solid rgba(247, 236, 220, 0.2);
  border-radius: 3px;
  background: rgba(7, 21, 24, 0.66);
  color: rgba(247, 239, 227, 0.9);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  pointer-events: none;
  opacity: 0;
  transform: translate(16px, 15px);
  transition: opacity 140ms var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cursor-label.is-visible { opacity: 1; }

.toast {
  position: absolute;
  left: 50%;
  bottom: 112px;
  z-index: 25;
  padding: 11px 16px 11px 13px;
  border: 1px solid rgba(247, 236, 220, 0.17);
  border-radius: 4px;
  background: rgba(7, 21, 24, 0.55);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  color: rgba(249, 241, 228, 0.9);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.07em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 300ms var(--ease), transform 360ms var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.debug-panel {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  padding: 6px 9px;
  border: 1px solid rgba(247, 236, 220, 0.14);
  border-radius: 4px;
  background: rgba(4, 16, 19, 0.7);
  color: rgba(247, 239, 227, 0.74);
  font: 10px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.toast::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--warm);
  vertical-align: 2px;
  box-shadow: 0 0 8px rgba(242, 195, 149, 0.8);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 56%, rgba(44, 78, 78, 0.32), transparent 50%),
    #081b1f;
  transition: opacity 1.15s var(--ease), visibility 1.15s var(--ease);
}
.loader::before,
.loader::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background: rgba(237, 226, 209, 0.1);
}
.loader::before { top: 38px; width: calc(100% - 2 * var(--edge)); }
.loader::after { bottom: 38px; width: calc(100% - 2 * var(--edge)); }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(320px, 74vw);
}
.loader-kicker {
  margin: 0 0 25px;
  color: rgba(237, 226, 209, 0.37);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
}
.loader-kicker span { color: rgba(242, 195, 149, 0.62); margin: 0 7px; }
.loader-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f2eadf;
}
.loader-title em { color: var(--warm); font-weight: 300; }
.loader-track {
  width: 100%;
  height: 1px;
  margin: 35px 0 14px;
  background: rgba(239, 230, 215, 0.13);
  overflow: hidden;
}
.loader-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(242, 195, 149, 0.25), #f2c395);
  transition: width 400ms var(--ease);
}
.loader-status {
  margin: 0;
  color: rgba(237, 226, 209, 0.35);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
}
.loader-foot {
  position: absolute;
  bottom: 43px;
  margin: 0;
  color: rgba(237, 226, 209, 0.26);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.26em;
}
body.is-ready .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.is-ready .hero h1,
body.is-ready .eyebrow,
body.is-ready .hero-note,
body.is-ready .coords {
  animation: rise-in 1.5s var(--ease) both;
}
body.is-ready .eyebrow { animation-delay: 0.2s; }
body.is-ready .hero-note { animation-delay: 0.48s; }
body.is-ready .coords { animation-delay: 0.6s; }
body.is-ready .hero h1 { animation-delay: 0.33s; }
body.is-ready .masthead,
body.is-ready .footer,
body.is-ready .side-caption {
  animation: fade-in 1.6s var(--ease) 0.7s both;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fallback {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #081b1f;
  text-align: center;
}
.fallback[hidden] { display: none; }
.fallback .eyebrow { justify-content: center; }
.fallback h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 0.95;
}
.fallback p { color: var(--ink-dim); font-size: 12px; line-height: 1.8; }
.noscript {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #081b1f;
  color: var(--ink);
  font: 14px/1.8 var(--sans);
  text-align: center;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid rgba(242, 195, 149, 0.9);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .footer {
    grid-template-columns: 1fr auto;
  }
  .interaction-hint { display: none; }
  .hero { width: min(500px, 50vw); }
}

@media (max-width: 820px) {
  .hero {
    top: 110px;
    width: min(460px, 64vw);
  }
  .hero h1 { font-size: clamp(52px, 9vw, 78px); }
  .hero-note { font-size: 11px; }
  .side-caption { display: none; }
  .footer {
    left: var(--edge);
    right: var(--edge);
    bottom: 22px;
    gap: 18px;
  }
  .time-button,
  .view-button { font-size: 9px; }
  .icon-button { padding: 0 11px; }
  .icon-button .button-label { display: none; }
  .masthead { padding-top: 20px; }
  .loader-foot { font-size: 6px; }
}

@media (max-width: 620px) {
  :root { --edge: 19px; }
  #app { min-height: 520px; }
  .masthead { padding-top: 17px; }
  .icon-button { min-height: 42px; }
  .brand-name { font-size: 10px; letter-spacing: 0.2em; }
  .brand-mark { width: 25px; height: 25px; }
  .hero {
    top: 96px;
    width: 84vw;
    text-shadow: 0 2px 26px rgba(4, 17, 19, 0.66), 0 1px 2px rgba(4, 17, 19, 0.46);
  }
  .hero::before {
    inset: -10% -18% -16% -16%;
    background:
      radial-gradient(ellipse 70% 62% at 28% 44%, rgba(4, 16, 19, 0.52), transparent 72%),
      linear-gradient(100deg, rgba(4, 16, 19, 0.3), transparent 64%);
  }
  .hero h1 { font-size: clamp(49px, 14.6vw, 72px); line-height: 0.9; }
  .eyebrow { font-size: 8.5px; letter-spacing: 0.18em; margin-bottom: 15px; }
  .hero-note { margin-top: 23px; font-size: 11.5px; line-height: 1.85; max-width: 280px; }
  .hero-note .wide { display: none; }
  .coords { gap: 16px; margin-top: 22px; padding-top: 11px; font-size: 8px; }
  .coords span:nth-child(2) { display: none; }
  .footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    bottom: 15px;
  }
  .time-panel,
  .view-panel { justify-self: stretch; }
  .mini-label { margin-bottom: 6px; font-size: 8px; }
  .time-switch { gap: 0; justify-content: space-between; }
  .time-button { padding: 0 5px; gap: 6px; min-height: 40px; font-size: 9.5px; }
  .view-switch { justify-content: space-between; gap: 0; }
  .view-button { padding: 0 4px; min-height: 40px; font-size: 9.5px; gap: 5px; }
  .view-index { font-size: 7px; }
  .toast { bottom: 186px; font-size: 10px; max-width: calc(100vw - 38px); white-space: normal; text-align: center; line-height: 1.6; }
  .cursor-label { display: none; }
  .hotspot span { display: none; }
  .loader::before { top: 25px; }
  .loader::after { bottom: 25px; }
  .loader-foot { bottom: 29px; letter-spacing: 0.16em; }
  .fallback h2 { font-size: 42px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 46px; }
  .time-button span:last-child,
  .view-button span:last-child { letter-spacing: 0; }
  .time-glyph { display: none; }
}

@media (max-height: 640px) and (min-width: 621px) {
  .hero { top: 88px; }
  .hero h1 { font-size: clamp(48px, 7.4vh, 76px); }
  .hero-note { display: none; }
  .coords { margin-top: 20px; }
  .footer { bottom: 16px; }
  .toast { bottom: 92px; }
  .teaser { display: none; }
}

@media (max-height: 460px) {
  #app { min-height: 0; }
  .hero { top: 70px; }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(38px, 11vh, 58px); }
  .hero-note,
  .coords { display: none; }
  .footer { bottom: 10px; }
  .toast { bottom: 78px; }
}

@media (pointer: coarse) {
  .hotspot { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .hotspot::before { inset: 17px; }
  .hotspot::after { inset: 14px; }
  .time-button,
  .view-button { min-height: 40px; }
  .icon-button { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .loader, .loader-track span { transition-duration: 0.001ms !important; }
  .grain { animation: none !important; }
}