.spin-page {
  --ui-bg: #0d0d10;
  --ui-panel: rgba(20, 20, 19, 0.78);
  --ui-card: rgba(32, 32, 30, 0.74);
  --ui-card-strong: rgba(43, 41, 37, 0.82);
  --ui-line: rgba(255, 255, 255, 0.10);
  --ui-line-strong: rgba(255, 255, 255, 0.18);
  --ui-text: #ffffff;
  --ui-muted: #a1a1aa;
  --ui-gold: #d6b46c;
  --ui-green: #58d987;
  --ui-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --ui-soft-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
  --gold: var(--ui-gold);
  --text: var(--ui-text);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  overflow: hidden;
  background: var(--ui-bg);
  color: var(--ui-text);
  font-family: Inter, "SF Pro Display", Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.spin-page * {
  box-sizing: border-box;
}

.spin-page button {
  font: inherit;
}

.spin-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ui-bg);
}

.spin-stage,
.spin-viewport {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 100svh;
}

.spin-stage {
  background: var(--ui-bg);
}

.spin-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 16, 0.12), rgba(13, 13, 16, 0.36)),
    #111;
}

.spin-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 33;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(42, 41, 37, 0.92), rgba(8, 8, 9, 0.97) 62%, #050506 100%),
    #050506;
  -webkit-backdrop-filter: blur(10px) saturate(0.84);
  backdrop-filter: blur(10px) saturate(0.84);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.spin-page.is-scene-loading .spin-viewport::before {
  visibility: visible;
  opacity: 1;
}

.spin-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), transparent 32%, transparent 70%, rgba(0, 0, 0, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 40%, rgba(0, 0, 0, 0.50));
}

.spin-viewport.is-dragging {
  cursor: grabbing;
}

.spin-viewport.is-dragging .tracking-overlay {
  opacity: 0;
  pointer-events: none;
}

.spin-viewport.is-orbiting {
  cursor: grabbing;
}

.spin-viewport.is-orbiting .tracking-overlay {
  opacity: 0;
  pointer-events: none;
}

.spin-canvas,
.overview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.spin-canvas {
  z-index: 0;
  opacity: 1;
  transition: opacity 220ms ease;
}

.overview-video {
  z-index: 1;
  opacity: 0;
  transition: opacity 220ms ease;
}

.spin-viewport.is-overview .spin-canvas {
  opacity: 0;
}

.spin-viewport.is-overview .overview-video {
  opacity: 1;
}

.spin-viewport.is-flyin .spin-canvas {
  opacity: 0;
}

.spin-viewport.is-flyin .overview-video {
  opacity: 1;
}

.spin-viewport.is-park-walk {
  cursor: default;
  touch-action: auto;
}

.spin-viewport.is-park-walk .spin-canvas {
  opacity: 0;
}

.spin-viewport.is-park-walk .overview-video {
  opacity: 1;
}

.spin-viewport.is-park-walk .tracking-overlay {
  opacity: 0;
  pointer-events: none;
}

.spin-viewport.is-park-walk.is-park-walk-fallback .spin-canvas {
  opacity: 1;
}

.spin-viewport.is-park-walk.is-park-walk-fallback .overview-video {
  opacity: 0;
}

.spin-viewport.is-flyin-loading .spin-canvas {
  opacity: 1;
}

.spin-viewport.is-flyin-loading .overview-video {
  opacity: 0;
}

.spin-viewport.is-flyin .tracking-overlay {
  opacity: 0;
  pointer-events: none;
}

.spin-page.is-focus-mode .spin-viewport::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 46%, rgba(0, 0, 0, 0.20));
}

.spin-page.is-scene-loading .spin-panel,
.spin-page.is-scene-loading .floating-controls,
.spin-page.is-scene-loading .quick-panel,
.spin-page.is-scene-loading .floor-drawer,
.spin-page.is-scene-loading .tracking-card {
  opacity: 0;
  pointer-events: none;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ui-panel);
  box-shadow: var(--ui-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(1.16);
  backdrop-filter: blur(30px) saturate(1.16);
}

.spin-panel {
  position: absolute;
  left: clamp(16px, 2vw, 32px);
  top: clamp(16px, 2vw, 32px);
  z-index: 20;
  width: min(376px, 28vw, calc(100% - 64px));
  max-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 28px;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.spin-panel::-webkit-scrollbar {
  width: 6px;
}

.spin-panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 180, 108, 0.54) transparent;
}

.spin-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(214, 180, 108, 0.54);
}

.back-link {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(214, 180, 108, 0.52);
  background: rgba(214, 180, 108, 0.10);
  color: var(--ui-text);
  outline: none;
  transform: translateY(-2px);
}

.spin-brand {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spin-brand__logo {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: min(238px, 100%);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.spin-brand__badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 40px;
  height: 30px;
  border: 1px solid rgba(214, 180, 108, 0.42);
  border-radius: 999px;
  background: rgba(214, 180, 108, 0.12);
  color: #fff4c5;
  font-size: 12px;
  font-weight: 850;
}

.panel-toggle {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.panel-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.panel-toggle:hover,
.panel-toggle:focus-visible {
  border-color: rgba(214, 180, 108, 0.56);
  background: rgba(214, 180, 108, 0.12);
  color: #fff4c5;
  outline: none;
}

.spin-page.is-panel-collapsed .spin-panel {
  width: min(196px, calc(100% - 24px));
  max-height: 74px;
  padding: 10px;
  overflow: hidden;
  border-radius: 22px;
}

.spin-page.is-panel-collapsed .spin-brand {
  min-height: 52px;
  padding: 0 2px 0 6px;
  border-bottom: 0;
}

.spin-page.is-panel-collapsed .spin-brand__logo {
  width: 118px;
}

.spin-page.is-panel-collapsed .spin-brand__badge,
.spin-page.is-panel-collapsed .spin-heading,
.spin-page.is-panel-collapsed .flow-menu,
.spin-page.is-panel-collapsed .playback-panel,
.spin-page.is-panel-collapsed .view-presets {
  display: none;
}

.spin-page.is-panel-collapsed .panel-toggle {
  transform: rotate(180deg);
}

.spin-heading {
  display: grid;
  gap: 5px;
  padding: 0 4px;
}

.eyebrow {
  margin: 0;
  padding-right: 0;
  color: var(--ui-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spin-title {
  max-width: 100%;
  margin: 0;
  color: var(--ui-text);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.03;
}

.spin-subtitle {
  margin: -7px 0 2px;
  color: var(--ui-muted);
  font-size: 18px;
  line-height: 1.4;
}

.flow-menu {
  display: none;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.flow-menu__title {
  margin: 0 0 3px;
  padding: 0 4px;
  color: var(--ui-gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flow-step {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease, opacity 200ms ease;
}

.flow-step span,
.flow-step small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-step span {
  font-size: 14px;
  font-weight: 820;
}

.flow-step small {
  color: var(--ui-muted);
  font-size: 12px;
}

.flow-step:hover,
.flow-step:focus-visible,
.flow-step.is-active {
  border-color: rgba(214, 180, 108, 0.40);
  background: rgba(214, 180, 108, 0.10);
  color: #fffaf0;
  outline: none;
  transform: translateX(2px);
}

.flow-step.is-active {
  box-shadow: inset 3px 0 0 var(--ui-gold);
}

.flow-step.is-locked,
.flow-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.playback-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.playback-panel__head {
  display: grid;
  gap: 3px;
  padding: 0 4px;
}

.playback-panel__head span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.playback-panel__head small {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ui-gold);
  font-size: 11px;
  font-weight: 820;
  white-space: nowrap;
}

.playback-panel__head small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ui-green);
  box-shadow: 0 0 14px rgba(88, 217, 135, 0.55);
}

.playback-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.playback-toggle {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.playback-toggle svg,
.control-button svg,
.info-card__cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.playback-toggle span {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playback-toggle:hover,
.playback-toggle:focus-visible {
  border-color: rgba(214, 180, 108, 0.35);
  color: var(--ui-text);
  outline: none;
  transform: translateY(-2px);
}

.playback-toggle.is-active {
  border-color: rgba(214, 180, 108, 0.68);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 48%),
    linear-gradient(135deg, rgba(214, 180, 108, 0.34), rgba(214, 180, 108, 0.80));
  color: #fffaf0;
  box-shadow:
    0 0 0 1px rgba(214, 180, 108, 0.20),
    0 14px 34px rgba(214, 180, 108, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.playback-toggle .icon-play {
  display: block;
  fill: currentColor;
  stroke: none;
}

.playback-toggle .icon-pause {
  display: none;
}

.playback-toggle.is-active .icon-play {
  display: none;
}

.playback-toggle.is-active .icon-pause {
  display: block;
}

.park-walk-launcher {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid rgba(214, 180, 108, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(214, 180, 108, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  color: var(--ui-text);
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.park-walk-launcher:hover,
.park-walk-launcher:focus-visible {
  border-color: rgba(214, 180, 108, 0.56);
  background:
    linear-gradient(135deg, rgba(214, 180, 108, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.055);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.park-walk-launcher.is-active {
  border-color: rgba(214, 180, 108, 0.68);
  background:
    linear-gradient(135deg, rgba(214, 180, 108, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  outline: none;
  transform: none;
  box-shadow:
    inset 3px 0 0 rgba(214, 180, 108, 0.85),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.park-walk-launcher__signal {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ui-green);
  box-shadow: 0 0 0 4px rgba(88, 217, 135, 0.1), 0 0 14px rgba(88, 217, 135, 0.48);
}

.park-walk-launcher.is-active .park-walk-launcher__signal {
  box-shadow: 0 0 0 5px rgba(88, 217, 135, 0.12), 0 0 18px rgba(88, 217, 135, 0.58);
}

.park-walk-launcher__copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.park-walk-launcher__copy strong,
.park-walk-launcher__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.park-walk-launcher__copy strong {
  font-size: 12px;
  font-weight: 820;
}

.park-walk-launcher__copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.park-walk-launcher svg {
  width: 16px;
  height: 16px;
  color: var(--ui-gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.spin-page.is-interaction-locked .playback-panel {
  border-color: rgba(214, 180, 108, 0.36);
  background:
    linear-gradient(180deg, rgba(214, 180, 108, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.spin-page.is-interaction-locked .playback-panel__head small {
  color: #fff4c5;
}

.spin-page.is-interaction-locked .playback-panel__head small::before {
  background: var(--ui-gold);
  box-shadow: 0 0 18px rgba(214, 180, 108, 0.68);
}

.spin-page.is-interaction-locked .playback-toggle {
  opacity: 0.64;
  cursor: wait;
}

.spin-page.is-interaction-locked .park-walk-launcher {
  opacity: 0.64;
  cursor: wait;
}

.view-presets {
  display: grid;
  gap: 10px;
}

.panel-kicker {
  margin: 0;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.view-stack {
  display: grid;
  gap: 10px;
}

.view-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.050), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.020);
}

.view-group--overview {
  background:
    linear-gradient(180deg, rgba(214, 180, 108, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
}

.view-group__head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.view-group__head span,
.view-group__head small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.view-group__head span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.view-group__head small {
  color: var(--ui-gold);
  font-size: 11px;
  font-weight: 820;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.view-grid--featured {
  grid-template-columns: 1fr;
}

.preset-button {
  width: 100%;
  min-width: 0;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.view-card {
  position: relative;
  min-height: 58px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 10px 42px 10px 46px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 50%, rgba(214, 180, 108, 0.15), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.view-card--wide {
  min-height: 64px;
}

.view-card img,
.view-card__scrim {
  display: none;
}

.view-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 3;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(214, 180, 108, 0.58);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(214, 180, 108, 0.42) 46%, rgba(214, 180, 108, 0.42) 54%, transparent 55%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0 2px, transparent 2px 6px),
    rgba(214, 180, 108, 0.10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20);
  transform: translateY(-50%);
}

.view-card::after {
  content: ">";
  inset: auto 14px auto auto;
  z-index: 3;
  width: auto;
  color: rgba(214, 180, 108, 0.82);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  box-shadow: none;
  transform: translateY(1px);
}

.view-card__copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 4;
}

.view-card strong {
  font-size: 14px;
}

.view-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.view-card:hover,
.view-card:focus-visible,
.view-card.is-active {
  background:
    radial-gradient(circle at 0% 50%, rgba(214, 180, 108, 0.32), transparent 42%),
    linear-gradient(180deg, rgba(214, 180, 108, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.055);
}

.view-card.is-active::before {
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 250, 240, 0.70) 46%, rgba(255, 250, 240, 0.70) 54%, transparent 55%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0 2px, transparent 2px 6px),
    rgba(214, 180, 108, 0.56);
  box-shadow: 0 0 22px rgba(214, 180, 108, 0.30);
}

.park-walk-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.park-walk-controls[hidden] {
  display: none;
}

.park-walk-control {
  min-width: 0;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.park-walk-control:hover,
.park-walk-control:focus-visible {
  border-color: rgba(88, 217, 135, 0.48);
  background: rgba(88, 217, 135, 0.12);
  color: #effff1;
  outline: none;
  transform: translateY(-1px);
}

.park-walk-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.park-walk-control--exit {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
}

.park-stop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.park-stop-button {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ui-text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.park-stop-button img {
  display: block;
  width: 48px;
  height: 34px;
  object-fit: cover;
  border-radius: 7px;
  filter: saturate(0.92) contrast(1.02);
}

.park-stop-button__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.park-stop-button__copy strong,
.park-stop-button__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.park-stop-button__copy strong {
  font-size: 11px;
  font-weight: 820;
}

.park-stop-button__copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.park-stop-button__index {
  padding-right: 5px;
  color: rgba(214, 180, 108, 0.82);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.park-stop-button:hover,
.park-stop-button:focus-visible,
.park-stop-button.is-active {
  border-color: rgba(88, 217, 135, 0.56);
  background:
    linear-gradient(90deg, rgba(88, 217, 135, 0.14), rgba(214, 180, 108, 0.05)),
    rgba(255, 255, 255, 0.055);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.park-stop-button.is-active img {
  box-shadow: 0 0 0 2px rgba(88, 217, 135, 0.55);
}

.view-grid,
.view-grid--featured {
  grid-template-columns: 1fr;
}

.view-grid {
  gap: 7px;
}

.view-card {
  min-height: 54px;
}

.view-card--wide {
  min-height: 58px;
}

.view-card strong,
.view-card small {
  white-space: nowrap;
}

.spin-page.is-interaction-locked .preset-button,
.spin-page.is-interaction-locked .search-option {
  cursor: wait;
}

.spin-page.is-interaction-locked .view-card:not(.is-active) {
  opacity: 0.52;
  filter: saturate(0.72);
}

.spin-page.is-interaction-locked .view-card {
  transform: none;
}

.spin-page.is-interaction-locked .view-presets {
  pointer-events: none;
}

.floating-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.56);
  box-shadow: var(--ui-soft-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.scene-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 34;
  width: min(320px, calc(100% - 48px));
  min-height: 142px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(18, 18, 20, 0.76);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  backdrop-filter: blur(26px) saturate(1.18);
  transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
}

.scene-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.96);
  pointer-events: none;
}

.scene-loader__logo {
  display: block;
  width: min(250px, 100%);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.22));
}

.scene-loader span {
  color: var(--ui-gold);
  font-size: 13px;
  font-weight: 850;
}

.control-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ui-text);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.control-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.control-button--compass {
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 180, 108, 0.20), transparent 58%),
    rgba(255, 255, 255, 0.08);
}

.control-button:hover,
.control-button:focus-visible,
.control-button.is-active {
  border-color: rgba(214, 180, 108, 0.62);
  background: rgba(214, 180, 108, 0.12);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(214, 180, 108, 0.20);
  color: #fffaf0;
  outline: none;
  transform: translateY(-2px);
}

.quick-panel {
  position: absolute;
  top: 98px;
  right: 28px;
  z-index: 22;
  width: min(330px, calc(100% - 56px));
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background: rgba(24, 24, 27, 0.74);
  box-shadow: var(--ui-soft-shadow);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  backdrop-filter: blur(26px) saturate(1.18);
}

.quick-panel[hidden] {
  display: none;
}

.search-panel {
  padding: 12px;
}

.search-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.search-field svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ui-text);
  font: inherit;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.search-results {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.search-option,
.settings-option {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ui-text);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.search-option {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 15px;
  text-align: left;
}

.search-option[hidden] {
  display: none;
}

.search-option span,
.search-option small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-option span {
  font-size: 14px;
  font-weight: 800;
}

.search-option small {
  color: var(--ui-muted);
  font-size: 12px;
}

.search-option:hover,
.search-option:focus-visible,
.search-option.is-active {
  border-color: rgba(214, 180, 108, 0.42);
  background: rgba(214, 180, 108, 0.10);
  outline: none;
  transform: translateY(-1px);
}

.settings-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  width: min(240px, calc(100% - 56px));
}

.settings-option {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px 0 14px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
}

.settings-option:hover,
.settings-option:focus-visible,
.settings-option.is-active {
  border-color: rgba(214, 180, 108, 0.36);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px var(--ui-line);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.switch::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 220ms ease, background 220ms ease;
}

.settings-option.is-active .switch {
  background: rgba(214, 180, 108, 0.32);
  box-shadow: inset 0 0 0 1px rgba(214, 180, 108, 0.46), 0 0 22px rgba(214, 180, 108, 0.16);
}

.settings-option.is-active .switch::after {
  transform: translateX(16px);
  background: #fff4c5;
}

.info-card {
  position: absolute;
  right: 28px;
  bottom: 104px;
  z-index: 20;
  width: min(360px, calc(100% - 64px));
  display: none;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 24px;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.spin-viewport:not(.is-overview) .tracking-card {
  display: grid;
}

.spin-page.has-floor-drawer .info-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
}

.info-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.info-card__topline strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ui-text);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.02;
}

.info-card__topline span,
.info-card__topline small {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.35;
}

.info-card__topline small {
  color: var(--ui-muted);
  font-size: 14px;
}

.info-card__mark {
  width: 68px;
  min-width: 68px;
  height: 68px;
  color: rgba(255, 255, 255, 0.36);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.info-card__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.info-card__status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ui-green);
  box-shadow: 0 0 0 6px rgba(88, 217, 135, 0.12), 0 0 24px rgba(88, 217, 135, 0.32);
}

.info-card__cta {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  padding: 0 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 50%),
    var(--ui-gold);
  color: #1f1608;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(214, 180, 108, 0.23);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.info-card__cta:hover,
.info-card__cta:focus-visible {
  outline: none;
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(214, 180, 108, 0.30);
}

.info-card__selection {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tracking-card__eyebrow {
  color: var(--ui-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.info-card__selection strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
}

.info-card__selection small {
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.35;
}

.floor-drawer {
  position: absolute;
  right: 28px;
  bottom: 104px;
  z-index: 21;
  width: min(420px, calc(100% - 56px));
  max-height: min(600px, calc(100svh - 132px));
  display: grid;
  gap: 14px;
  padding: 22px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 180, 108, 0.54) transparent;
  border-radius: 26px;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.floor-drawer::-webkit-scrollbar {
  width: 6px;
}

.floor-drawer::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(214, 180, 108, 0.54);
}

.floor-drawer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floor-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ui-text);
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.floor-drawer__close:hover,
.floor-drawer__close:focus-visible {
  border-color: rgba(214, 180, 108, 0.48);
  background: rgba(214, 180, 108, 0.10);
  outline: none;
  transform: translateY(-1px);
}

.floor-drawer__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.9;
}

.floor-drawer h2 {
  margin: 0;
  padding-right: 42px;
  color: var(--ui-text);
  font-size: 26px;
  font-weight: 850;
  line-height: 1.04;
}

.floor-drawer p {
  margin: -4px 0 0;
  color: var(--ui-muted);
  font-size: 14px;
  line-height: 1.45;
}

.demo-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(214, 180, 108, 0.26);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(214, 180, 108, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.demo-notice__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(214, 180, 108, 0.42);
  border-radius: 999px;
  color: #fff1bd;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-notice p {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
}

.demo-notice p strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 820;
}

.demo-notice p span {
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.35;
}

.demo-notice[data-state="preparing"] {
  border-color: rgba(157, 184, 222, 0.32);
  background:
    linear-gradient(135deg, rgba(157, 184, 222, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.demo-notice[data-state="preparing"] .demo-notice__badge {
  border-color: rgba(157, 184, 222, 0.46);
  color: #d8e8ff;
}

.demo-notice[data-state="ready"] {
  border-color: rgba(133, 205, 161, 0.3);
  background:
    linear-gradient(135deg, rgba(133, 205, 161, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.demo-notice[data-state="ready"] .demo-notice__badge {
  border-color: rgba(133, 205, 161, 0.46);
  color: #d9ffe4;
}

.floor-plan-preview {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 34px 34px;
}

.floor-plan-preview__core,
.floor-apartment {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(214, 180, 108, 0.14);
}

.floor-plan-preview__core {
  left: 39%;
  top: 31%;
  width: 22%;
  height: 38%;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.floor-apartment {
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 3px;
  padding: 10px;
  color: var(--ui-text);
  text-align: left;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.floor-apartment span,
.floor-apartment small {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floor-apartment span {
  font-size: 14px;
  font-weight: 850;
}

.floor-apartment small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 720;
}

.floor-apartment::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 44%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 32%);
  pointer-events: none;
}

.floor-apartment:hover,
.floor-apartment:focus-visible,
.floor-apartment.is-selected {
  border-color: rgba(255, 250, 240, 0.82);
  background: rgba(214, 180, 108, 0.22);
  box-shadow: 0 0 28px rgba(214, 180, 108, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.floor-apartment.is-selected {
  border-color: rgba(214, 180, 108, 0.92);
  background: rgba(214, 180, 108, 0.30);
}

.floor-apartment.status-reserved {
  background: rgba(214, 180, 108, 0.12);
}

.floor-apartment.status-sold {
  background: rgba(255, 255, 255, 0.055);
  opacity: 0.62;
}

.floor-apartment.status-available {
  background: rgba(88, 217, 135, 0.12);
}

.floor-apartment.status-available.is-selected {
  background: rgba(88, 217, 135, 0.22);
}

.floor-apartment--a {
  left: 8%;
  top: 14%;
  width: 31%;
  height: 32%;
}

.floor-apartment--b {
  left: 61%;
  top: 14%;
  width: 31%;
  height: 32%;
}

.floor-apartment--c {
  left: 8%;
  bottom: 14%;
  width: 31%;
  height: 32%;
}

.floor-apartment--d {
  right: 8%;
  bottom: 14%;
  width: 31%;
  height: 32%;
}

.floor-drawer__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.floor-drawer__stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.floor-drawer__stats dt,
.floor-drawer__stats dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floor-drawer__stats dt {
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.floor-drawer__stats dd {
  margin-top: 4px;
  color: var(--ui-text);
  font-size: 14px;
  font-weight: 820;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.apartment-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apartment-summary span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(214, 180, 108, 0.25);
  border-radius: 999px;
  background: rgba(214, 180, 108, 0.08);
  color: rgba(255, 250, 240, 0.90);
  font-size: 12px;
  font-weight: 780;
}

.floor-tour-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(214, 180, 108, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(214, 180, 108, 0.34), rgba(214, 180, 108, 0.72)),
    rgba(214, 180, 108, 0.18);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(214, 180, 108, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.floor-tour-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.floor-tour-button.is-unavailable {
  border-color: rgba(214, 180, 108, 0.38);
  background: rgba(214, 180, 108, 0.12);
  box-shadow: none;
}

.floor-tour-button:hover,
.floor-tour-button:focus-visible {
  border-color: rgba(255, 250, 240, 0.86);
  filter: brightness(1.04);
  outline: none;
  transform: translateY(-1px);
}

.floor-tour-button:disabled,
.floor-tour-button[aria-disabled="true"] {
  opacity: 0.54;
  cursor: not-allowed;
  pointer-events: none;
}

.tracking-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.tracking-overlay.is-disabled {
  opacity: 0;
  pointer-events: none;
}

.overview-selection-cta {
  position: absolute;
  left: calc(50% + 150px);
  bottom: 92px;
  z-index: 19;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid rgba(255, 250, 240, 0.30);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 48%),
    rgba(31, 26, 19, 0.78);
  color: #fffaf0;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(214, 180, 108, 0.10) inset;
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
  backdrop-filter: blur(22px) saturate(1.16);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.overview-selection-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ui-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.spin-viewport.is-overview .overview-selection-cta,
.spin-viewport.is-building-selection .overview-selection-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.overview-selection-cta:hover,
.overview-selection-cta:focus-visible {
  outline: none;
  border-color: rgba(255, 244, 197, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 48%),
    rgba(45, 35, 22, 0.88);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38), 0 0 28px rgba(214, 180, 108, 0.22);
  transform: translate(-50%, -2px);
}

.overview-selection-cta.is-return {
  background: rgba(24, 24, 27, 0.68);
}

.overview-selection-cta:disabled {
  cursor: wait;
  opacity: 0.48;
}

.tracking-zone-shell {
  pointer-events: auto;
  outline: none;
  animation: none;
}

.tracking-zone {
  pointer-events: auto;
  fill: rgba(214, 180, 108, 0.018);
  stroke: rgba(255, 250, 240, 0.20);
  stroke-width: 0.9;
  cursor: pointer;
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease, opacity 180ms ease, filter 180ms ease;
  vector-effect: non-scaling-stroke;
}

.tracking-overlay.is-revealing .tracking-zone-shell {
  pointer-events: none;
  opacity: 0;
  animation: trackingZoneReveal 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--zone-index, 0) * 22ms + 220ms);
}

.tracking-overlay.is-revealing .tracking-label {
  opacity: 0;
}

.tracking-zone-shell:hover .tracking-zone,
.tracking-zone-shell:focus-visible .tracking-zone,
.tracking-zone-shell.is-active .tracking-zone,
.tracking-zone-shell.is-selected .tracking-zone {
  fill: rgba(214, 180, 108, 0.20);
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.45;
  filter: drop-shadow(0 0 10px rgba(214, 180, 108, 0.22));
}

.tracking-zone--floor {
  fill: rgba(214, 180, 108, 0.024);
}

.tracking-zone--building {
  fill: rgba(214, 180, 108, 0.012);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.1;
}

.spin-viewport.is-building-selection .tracking-zone--building {
  fill: rgba(214, 180, 108, 0.07);
  stroke: rgba(255, 250, 240, 0.62);
  stroke-width: 1.55;
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.22));
}

.spin-viewport.is-building-selection .tracking-zone-shell:hover .tracking-zone--building,
.spin-viewport.is-building-selection .tracking-zone-shell:focus-visible .tracking-zone--building,
.spin-viewport.is-building-selection .tracking-zone-shell.is-active .tracking-zone--building {
  fill: rgba(214, 180, 108, 0.28);
  stroke: rgba(255, 250, 240, 0.96);
  stroke-width: 2;
  filter: drop-shadow(0 0 18px rgba(214, 180, 108, 0.34));
}

.spin-viewport.is-building-selection .tracking-label {
  fill: #fffaf0;
  font-size: 22px;
  stroke-width: 6px;
  opacity: 0.96;
}

.tracking-zone-shell:hover .tracking-zone--floor,
.tracking-zone-shell:focus-visible .tracking-zone--floor,
.tracking-zone-shell.is-active .tracking-zone--floor,
.tracking-zone-shell.is-selected .tracking-zone--floor,
.tracking-zone-shell:hover .tracking-zone--building,
.tracking-zone-shell:focus-visible .tracking-zone--building,
.tracking-zone-shell.is-active .tracking-zone--building,
.tracking-zone-shell.is-selected .tracking-zone--building {
  fill: rgba(214, 180, 108, 0.22);
}

.tracking-zone--hotspot,
.tracking-zone-shell--hotspot:hover .tracking-zone--hotspot,
.tracking-zone-shell--hotspot:focus-visible .tracking-zone--hotspot,
.tracking-zone-shell--hotspot.is-active .tracking-zone--hotspot {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  stroke-width: 0;
}

.tracking-zone--building-tag {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  stroke-width: 0;
}

.tracking-zone-shell--building-tag:hover .tracking-zone--building-tag,
.tracking-zone--building-tag:hover,
.tracking-zone-shell--building-tag:focus-visible .tracking-zone--building-tag,
.tracking-zone-shell--building-tag.is-active .tracking-zone--building-tag {
  fill: rgba(214, 180, 108, 0.08);
  stroke: rgba(214, 180, 108, 0.46);
  stroke-width: 1.15;
  filter: drop-shadow(0 0 12px rgba(214, 180, 108, 0.18));
}

.tracking-label {
  pointer-events: none;
  fill: #fffaf0;
  font-size: 15px;
  font-weight: 850;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.86);
  stroke-linejoin: round;
  stroke-width: 4.2px;
  opacity: 0;
  transition: opacity 180ms ease, fill 180ms ease;
}

.tracking-scan {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(214, 180, 108, 0) 43%,
      rgba(255, 244, 197, 0.76) 49%,
      rgba(214, 180, 108, 0.30) 50%,
      rgba(214, 180, 108, 0) 57%,
      transparent 100%
    );
  mix-blend-mode: screen;
  transform: translateY(-58%);
}

.tracking-scan.is-running {
  animation: trackingScanSweep 1080ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.spin-page.is-tracking-revealing .spin-viewport::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 32%, transparent 70%, rgba(0, 0, 0, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 38%, rgba(0, 0, 0, 0.58));
}

@keyframes trackingScanSweep {
  0% {
    opacity: 0;
    transform: translateY(-62%);
  }
  14% {
    opacity: 0.92;
  }
  72% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateY(62%);
  }
}

@keyframes trackingZoneReveal {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.tracking-zone-shell:hover .tracking-label,
.tracking-zone-shell:focus-visible .tracking-label,
.tracking-zone-shell.is-active .tracking-label,
.tracking-zone-shell.is-selected .tracking-label {
  opacity: 1;
}

.tracking-zone-shell.is-selected .tracking-label {
  fill: var(--ui-gold);
}

.tracking-zone-shell--always-label .tracking-label {
  opacity: 0.94;
}

.tracking-zone-shell--hotspot .tracking-label {
  font-size: 18px;
  stroke-width: 5.5px;
}

.tracking-zone-shell--hotspot:hover .tracking-label,
.tracking-zone-shell--hotspot:focus-visible .tracking-label,
.tracking-zone-shell--hotspot.is-active .tracking-label {
  fill: var(--ui-gold);
}

.tracking-zone-shell--building-tag .tracking-label {
  fill: #fff8df;
  font-size: 22px;
  font-weight: 850;
  opacity: 0;
  stroke: rgba(0, 0, 0, 0.88);
  stroke-width: 5.4px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.38));
}

.tracking-zone-shell--building-tag .tracking-label::selection {
  background: transparent;
}

.tracking-zone-shell--building-tag:hover .tracking-label,
.tracking-zone--building-tag:hover ~ .tracking-label,
.tracking-zone-shell--building-tag:focus-visible .tracking-label,
.tracking-zone-shell--building-tag.is-active .tracking-label {
  fill: var(--ui-gold);
  opacity: 1;
}

.tracking-edit-point {
  pointer-events: auto;
  fill: #fffaf0;
  stroke: var(--ui-gold);
  stroke-width: 2.4;
  cursor: grab;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.42));
  vector-effect: non-scaling-stroke;
}

.tracking-edit-point:hover,
.tracking-edit-point:focus-visible {
  fill: var(--ui-gold);
  stroke: #fffaf0;
}

.tracking-editor-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 42;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(214, 180, 108, 0.34);
  border-radius: 18px;
  background: rgba(22, 22, 18, 0.88);
  color: #fffaf0;
  box-shadow: var(--ui-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
}

.tracking-editor-panel__head,
.tracking-editor-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tracking-editor-panel strong {
  font-size: 15px;
}

.tracking-editor-panel span,
.tracking-editor-panel small {
  color: var(--ui-gold);
  font-size: 12px;
  font-weight: 800;
}

.tracking-editor-panel label {
  display: grid;
  gap: 6px;
}

.tracking-editor-panel select,
.tracking-editor-panel button,
.tracking-editor-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf0;
  font: inherit;
}

.tracking-editor-panel select,
.tracking-editor-panel button {
  min-height: 38px;
  padding: 0 10px;
}

.tracking-editor-panel button {
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.tracking-editor-panel button:hover,
.tracking-editor-panel button:focus-visible {
  border-color: rgba(214, 180, 108, 0.7);
  background: rgba(214, 180, 108, 0.16);
  outline: none;
}

.tracking-editor-panel textarea {
  min-height: 138px;
  padding: 10px;
  resize: vertical;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
}

.spin-page.is-tracking-editor .tracking-zone--building-tag {
  fill: rgba(214, 180, 108, 0.04);
  stroke: rgba(214, 180, 108, 0.30);
  stroke-width: 1.1;
}

.spin-page.is-muted-tracking .tracking-zone-shell:hover .tracking-zone,
.spin-page.is-muted-tracking .tracking-zone-shell:focus-visible .tracking-zone,
.spin-page.is-muted-tracking .tracking-zone-shell.is-active .tracking-zone {
  fill: rgba(214, 180, 108, 0.08);
  stroke: rgba(255, 255, 255, 0.56);
}

.spin-page.is-muted-tracking .tracking-label {
  opacity: 0;
}

.spin-page.is-focus-mode .spin-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px) scale(0.98);
}

.spin-page.is-focus-mode .info-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
}

.spin-page.is-focus-mode .floor-drawer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
}

.spin-page.is-focus-mode .floating-controls {
  opacity: 0.76;
}

.drag-hint,
.spin-bottom {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .spin-panel,
  .info-card {
    width: min(360px, calc(100% - 48px));
  }

  .spin-panel {
    left: 24px;
    top: 24px;
    width: min(360px, 30vw, calc(100% - 48px));
    padding: 18px;
  }

  .back-link {
    top: 22px;
    right: 22px;
  }

  .info-card {
    right: 24px;
    bottom: 96px;
  }

  .floor-drawer {
    right: 24px;
    bottom: 96px;
    width: min(390px, calc(100% - 48px));
  }

  .floating-controls {
    top: 24px;
    right: 24px;
  }

  .quick-panel {
    top: 90px;
    right: 24px;
  }
  .overview-selection-cta {
    left: calc(50% + 120px);
  }
}

@media (max-width: 900px) {
  .spin-panel {
    width: min(340px, 34vw, calc(100% - 40px));
    padding: 16px;
  }

  .spin-title {
    font-size: 28px;
  }

  .view-card {
    min-height: 54px;
  }

  .view-card--wide {
    min-height: 58px;
  }

  .flow-step {
    min-height: 40px;
  }

  .info-card {
    width: min(330px, calc(100% - 40px));
    padding: 18px;
  }

  .info-card__mark {
    width: 60px;
    min-width: 60px;
    height: 60px;
  }
  .overview-selection-cta {
    left: calc(50% + 88px);
  }
}

@media (max-width: 840px) {
  .spin-page.has-floor-drawer .spin-panel {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .spin-viewport::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 34%, rgba(0, 0, 0, 0.58)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 52%, rgba(0, 0, 0, 0.22));
  }

  .spin-panel {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-height: 44svh;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .back-link {
    top: 20px;
    right: 20px;
  }

  .back-link {
    min-height: 32px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .spin-title {
    max-width: none;
    font-size: 26px;
  }

  .spin-brand {
    min-height: 48px;
    padding: 4px 6px 7px;
  }

  .spin-brand__logo {
    width: min(210px, 100%);
  }

  .spin-brand__badge {
    min-width: 36px;
    height: 28px;
  }

  .playback-panel {
    grid-template-columns: minmax(0, 1fr) 98px;
    border-radius: 14px;
  }

  .playback-toggle {
    min-height: 40px;
    border-radius: 10px;
  }

  .playback-toggle svg {
    width: 20px;
    height: 20px;
  }

  .playback-toggle span {
    font-size: 12px;
  }

  .park-walk-launcher {
    min-height: 42px;
    padding: 6px 9px;
  }

  .view-grid {
    grid-template-columns: 1fr;
  }

  .park-stop-list {
    grid-template-columns: 1fr;
  }

  .view-card {
    min-height: 54px;
    border-radius: 8px;
  }

  .view-card--wide {
    min-height: 58px;
  }

  .floating-controls {
    top: 12px;
    right: 12px;
    gap: 6px;
    padding: 6px;
  }

  .quick-panel {
    top: 74px;
    right: 12px;
    width: min(310px, calc(100% - 24px));
    border-radius: 20px;
  }

  .search-panel {
    max-height: 300px;
    overflow: hidden;
  }

  .search-results {
    max-height: 228px;
    overflow-y: auto;
    padding-right: 2px;
  }

  .control-button {
    width: 40px;
    height: 40px;
  }

  .control-button svg {
    width: 20px;
    height: 20px;
  }

  .info-card {
    display: none;
  }

  .spin-viewport:not(.is-overview) .tracking-card {
    display: none;
  }

  .flow-menu {
    display: none;
  }

  .scene-loader {
    min-height: 152px;
    border-radius: 26px;
  }

  .floor-drawer {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 24px;
  }

  .floor-drawer h2 {
    font-size: 22px;
  }

  .floor-plan-preview {
    min-height: 142px;
  }

  .floor-drawer__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-selection-cta {
    left: 50%;
    bottom: calc(44svh + 88px);
    min-height: 48px;
    max-width: calc(100% - 32px);
    padding: 0 18px;
    font-size: 13px;
  }

  .spin-viewport.is-building-selection .tracking-label {
    font-size: 18px;
    stroke-width: 5px;
  }
}

@media (max-height: 760px) and (min-width: 841px) {
  .spin-panel {
    left: 20px;
    top: 20px;
    width: min(340px, 34vw, calc(100% - 40px));
    gap: 9px;
    max-height: calc(100svh - 40px);
    padding: 13px;
  }

  .back-link {
    display: none;
  }

  .spin-title {
    font-size: 24px;
  }

  .playback-toggle {
    min-height: 36px;
  }

  .view-card {
    min-height: 46px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .view-card--wide {
    min-height: 50px;
  }

  .view-group {
    gap: 6px;
    padding: 8px;
  }

  .view-stack {
    gap: 7px;
  }

  .info-card {
    padding: 18px 20px;
  }

  .flow-menu {
    gap: 5px;
    padding: 8px;
  }

  .flow-step {
    min-height: 38px;
  }

  .info-card__selection {
    display: none;
  }
}

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