@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --line: rgba(29, 29, 31, .08);
  --surface: rgba(255, 255, 255, .86);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #f5f5f7; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 3px; }
button:disabled, select:disabled { cursor: default; opacity: .4; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
button svg { flex: none; }

.campus-app { position: relative; width: 100%; height: 100%; height: 100dvh; overflow: hidden; isolation: isolate; color: var(--ink); background: #eef0f3; }
#scene-canvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; }
.scene-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .09), transparent 58%, rgba(145, 153, 168, .045)); }
.glass { background: var(--surface); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 3px 18px rgba(29, 29, 31, .055); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }

/* The scene is the hero. Only a quiet title and one menu float above it. */
.topbar { position: absolute; top: calc(20px + var(--safe-top)); left: 22px; right: 76px; z-index: 20; display: flex; align-items: center; min-height: 44px; pointer-events: none; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand-mark, .brand-copy p, .mode-label, .eyebrow, .gold-dot { display: none; }
.brand-copy { min-width: 0; }
.brand-copy h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.55px; }
.header-actions { position: absolute; top: calc(20px + var(--safe-top)); right: 20px; z-index: 35; }
.round-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; flex: none; color: var(--muted); }
.round-button svg { width: 19px; height: 19px; }
.round-button:hover { background: rgba(29, 29, 31, .045); }
.more-button { color: var(--ink); }
.more-button svg { width: 22px; height: 22px; }
.more-button[aria-expanded="true"] { background: #fff; }
.more-panel { position: absolute; top: 54px; right: 0; width: 236px; padding: 8px; border-radius: 18px; box-shadow: 0 12px 38px rgba(29, 29, 31, .11); }
.menu-button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 46px; padding: 0 12px; background: transparent; border-radius: 10px; text-align: left; font-size: 13px; }
.menu-button:hover { background: rgba(29, 29, 31, .04); }
.menu-button svg { width: 19px; height: 19px; color: var(--muted); }
.menu-note { margin-left: auto; font-size: 11px; color: var(--muted); }
.zoom-controls { display: flex; align-items: center; min-height: 52px; gap: 2px; padding-left: 12px; margin-top: 5px; border-top: 1px solid var(--line); }
.zoom-label { flex: 1; font-size: 13px; }
.zoom-controls button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: transparent; }
.zoom-controls button:hover { background: rgba(29, 29, 31, .04); }
.zoom-controls svg { width: 18px; height: 18px; }

.view-tabs { position: absolute; left: 20px; right: 20px; bottom: calc(20px + var(--safe-bottom)); z-index: 30; display: flex; padding: 4px; gap: 3px; border-radius: 17px; background: rgba(240, 240, 243, .9); }
.view-tab { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 44px; gap: 6px; border-radius: 13px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; transition: background .18s, color .18s; }
.view-tab svg { display: none; }
.view-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 5px rgba(29, 29, 31, .065); }

/* Panels stay small and quiet; one blue action defines the next step. */
.welcome-panel { position: absolute; left: 20px; right: 20px; bottom: calc(88px + var(--safe-bottom)); z-index: 25; padding: 22px; border-radius: 24px; }
.welcome-panel h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.35; font-weight: 600; letter-spacing: -.8px; white-space: normal; }
.welcome-panel h2 br { display: none; }
.opening-panel { position: absolute; inset: 0; z-index: 40; pointer-events: none; background: linear-gradient(0deg, rgba(245, 245, 247, .56), transparent 26%); }
.opening-caption { position: absolute; left: 24px; bottom: calc(32px + var(--safe-bottom)); max-width: calc(100% - 48px); animation: opening-copy-in .4s ease both; }
.opening-caption h2 { margin: 0; color: var(--ink); font-size: 29px; font-weight: 500; line-height: 1.25; letter-spacing: -1px; }
.opening-caption p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.opening-progress { width: 88px; height: 2px; margin-top: 19px; background: rgba(29, 29, 31, .09); overflow: hidden; border-radius: 2px; }
.opening-progress span { display: block; width: 100%; height: 100%; background: rgba(29, 29, 31, .48); transform-origin: left center; }
.opening-skip { position: absolute; right: 20px; top: calc(20px + var(--safe-top)); display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; border-radius: 999px; color: var(--muted); font-size: 12px; pointer-events: auto; }
.opening-skip svg { width: 14px; height: 14px; }
.is-opening :is(.view-tabs, .header-actions, .markers-layer, .scene-toolbar, .view-hint, .place-panel, .tour-panel) { visibility: hidden; opacity: 0; pointer-events: none; }
.place-shot-caption { margin: 4px 0 0; font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1.45; }
@keyframes opening-copy-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.welcome-copy { margin: 0 0 19px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.welcome-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.welcome-route-button, .welcome-footnote { display: none; }
.action-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background .18s, transform .18s; }
.action-button svg { display: none; }
.action-button > span { min-width: 0; }
.action-button:active:not(:disabled) { transform: scale(.98); }
.action-primary, .action-explore { color: #fff; background: var(--blue); }
.action-primary:hover:not(:disabled), .action-explore:hover:not(:disabled) { background: #0077ed; }
.action-secondary { color: var(--blue); background: rgba(0, 113, 227, .055); }
.action-secondary:hover:not(:disabled) { background: rgba(0, 113, 227, .1); }

.place-panel { position: absolute; left: 20px; right: 20px; bottom: calc(88px + var(--safe-bottom)); z-index: 25; padding: 22px; border-radius: 24px; max-height: calc(100% - 220px - var(--safe-top) - var(--safe-bottom)); overflow: auto; scrollbar-width: thin; scrollbar-color: #c8c8cc transparent; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-bottom: 10px; }
.panel-heading > div { min-width: 0; flex: 1; }
.panel-heading h2 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; }
.panel-heading .round-button { margin-right: -8px; }
.panel-heading .round-button svg { transition: transform .18s; }
.panel-heading .round-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-details:not(.tab-route):not(.is-panel-collapsed) .panel-heading { position: absolute; top: 18px; right: 22px; width: 44px; margin: 0; }
.has-details:not(.tab-route):not(.is-panel-collapsed) .panel-heading > div { display: none; }
.place-list { display: flex; gap: 3px; margin: 0 48px 21px 0; padding: 3px; border-radius: 13px; background: rgba(29, 29, 31, .04); overflow-x: auto; scrollbar-width: none; }
.place-list::-webkit-scrollbar { display: none; }
.has-many-places .place-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.place-chip { flex: 1; flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-width: 65px; min-height: 44px; padding: 8px 12px; border-radius: 10px; background: transparent; font-size: 13px; color: var(--muted); white-space: nowrap; }
.place-chip svg { display: none; }
.place-chip.is-selected { color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(29, 29, 31, .06); }
.place-category, .place-highlights, .place-spec { display: none !important; }
.selected-place h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -.8px; }
.selected-place p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }
.place-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 21px; }
.place-detail-actions .action-button { padding: 10px 8px; font-size: 12px; }
.is-panel-collapsed:not(.tab-route) .place-panel { padding: 10px 18px; border-radius: 18px; min-height: 66px; }
.is-panel-collapsed:not(.tab-route) .panel-heading { margin: 0; }
.is-panel-collapsed:not(.tab-route) .panel-heading h2 { font-size: 15px; font-weight: 500; }
.tab-route .panel-heading .round-button { display: none; }
.tab-route .panel-heading { min-height: 28px; margin-bottom: 16px; }
.route-intro { display: none; }
.route-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.route-origin { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.route-origin strong { font-weight: 500; color: var(--ink); }
.route-origin-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .08); }
.route-origin small { margin-left: auto; font-size: 10px; color: #89898e; }
.destination-search { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 13px; border: 1px solid rgba(29, 29, 31, .055); border-radius: 14px; background: rgba(29, 29, 31, .045); }
.destination-search > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.destination-search input { width: 100%; min-width: 0; height: 44px; border: 0; border-radius: 8px; padding: 0; background: transparent; color: var(--ink); font-size: 14px; }
.destination-search input::placeholder { color: #85858b; }
.destination-search input:focus-visible { outline-offset: 5px; }
.destination-search-hint { font-size: 10px; color: var(--muted); flex: none; }
.destination-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.destination-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.destination-chip svg { width: 14px; height: 14px; }
.destination-chip:hover { background: #fff; }
.destination-chip:is(.is-selected, [aria-pressed="true"]) { background: rgba(0, 113, 227, .07); color: var(--blue); border-color: rgba(0, 113, 227, .14); }
.destination-chip:disabled { opacity: .4; background: rgba(29, 29, 31, .025); }
.destination-empty { grid-column: 1 / -1; margin: 0; min-height: 44px; display: flex; align-items: center; font-size: 11px; line-height: 1.6; color: var(--muted); }
.route-stops { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: end; gap: 8px; }
.route-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.route-field > span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.route-stop { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.route-field:last-child .route-stop { background: var(--ink); }
.route-field select { width: 100%; height: 46px; padding: 0 10px; border: 1px solid rgba(29, 29, 31, .08); border-radius: 12px; background: rgba(255, 255, 255, .82); color: var(--ink); font-size: 14px; cursor: pointer; appearance: auto; }
.swap-route-button { display: grid; place-items: center; width: 44px; height: 46px; background: transparent; color: var(--muted); border-radius: 50%; }
.swap-route-button:hover { background: rgba(29, 29, 31, .04); }
.swap-route-button svg { width: 18px; height: 18px; transform: rotate(90deg); }
.route-summary { margin-bottom: 20px; }
.is-route-summary.tab-route .panel-heading { display: none; }
.route-summary-stops { display: flex; align-items: center; gap: 11px; margin: 0 0 9px; font-size: 23px; font-weight: 600; letter-spacing: -.7px; }
.route-summary-stops svg { width: 20px; height: 20px; color: var(--muted); }
.route-summary strong { color: var(--muted); font-size: 12px; font-weight: 400; }
.route-summary p, .route-meta { display: none; }
.route-flight-status { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.route-flight-symbol { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--blue); background: rgba(0, 113, 227, .065); }
.route-flight-symbol svg { width: 23px; height: 23px; stroke-width: 1.8; }
.route-flight-copy { flex: 1; min-width: 0; }
.route-flight-stage { display: block; font-size: 10px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.route-flight-copy h3 { margin: 3px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.4px; }
.route-flight-remaining { flex: none; align-self: end; margin-bottom: 2px; font-size: 11px; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.route-flight-start { width: 100%; margin-top: 14px; }
.route-playback { --route-progress: 0%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.route-playback-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 12px; font-weight: 500; }
#route-playback-percent { color: var(--blue); font-size: 12px; font-variant-numeric: tabular-nums; }
.route-playback-track { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(0, 113, 227, .1); }
#route-playback-fill { position: relative; display: block; width: var(--route-progress); height: 100%; border-radius: inherit; background: var(--blue); }
.route-playback.is-playing #route-playback-fill { box-shadow: 0 0 8px rgba(0, 113, 227, .2); }
.route-playback.is-playing #route-playback-fill:after { content: ""; position: absolute; top: 0; right: 0; width: 24px; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .36)); border-radius: inherit; }
.route-playback-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.route-playback-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11px; line-height: 1.35; }
#route-playback-state { color: var(--ink); }
#route-playback-distance { color: var(--muted); font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.route-playback-controls { display: flex; align-items: center; flex: none; gap: 4px; }
.route-playback-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 11px; border-radius: 999px; color: var(--blue); background: rgba(0, 113, 227, .065); font-size: 11px; font-weight: 500; }
.route-playback-button svg { width: 13px; height: 13px; }
.route-playback-button:hover:not(:disabled) { background: rgba(0, 113, 227, .11); }
.route-playback-replay { background: transparent; color: var(--muted); }
.route-playback-replay:hover:not(:disabled) { background: rgba(29, 29, 31, .04); }
.route-camera-button { background: transparent; color: var(--blue); }
.route-camera-button:hover:not(:disabled) { background: rgba(0, 113, 227, .055); }
.route-playback.is-paused .route-playback-track { background: rgba(29, 29, 31, .07); }
.route-playback.is-complete #route-playback-percent { color: var(--ink); }
.route-playback.is-complete .route-playback-button:disabled { color: var(--muted); background: rgba(29, 29, 31, .04); opacity: .65; }
.mode-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tab-route .mode-actions { grid-template-columns: 1fr 1fr; }
.is-route-summary .mode-actions { grid-template-columns: 1fr 1fr; }
.route-footnote { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.panel-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #b23b30; }
.campus-app:is(.route-flight-active, .route-flight-arrived).tab-route .place-panel { padding: 16px 18px; border-radius: 22px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-summary { margin-bottom: 8px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) :is(.route-summary-stops, #route-distance) { display: none; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback { margin-top: 0; padding-top: 0; border-top: 0; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-flight-status { min-height: 44px; margin-bottom: 12px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-heading { font-size: 10px; color: var(--muted); }
.campus-app:is(.route-flight-active, .route-flight-arrived) #route-playback-percent { font-size: 10px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-track { height: 3px; margin-top: 6px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-footer { margin-top: 5px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-meta { display: none; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-controls { flex: 1; justify-content: space-between; gap: 3px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-button { padding: 0 10px; }
.campus-app:is(.route-flight-active, .route-flight-arrived) .mode-actions .action-button { font-size: 11px; background: rgba(29, 29, 31, .045); color: var(--muted); }
.campus-app:is(.route-flight-active, .route-flight-arrived) .route-footnote { margin-top: 7px; font-size: 10px; }
.route-flight-paused .route-flight-symbol { background: rgba(29, 29, 31, .045); color: var(--muted); }
.route-flight-arrived .route-flight-symbol { color: #21865c; background: rgba(33, 134, 92, .065); }
.route-flight-arrived .route-flight-remaining { color: var(--muted); }

/* One shared control strip replaces the old stack of floating buttons. */
.scene-toolbar { position: absolute; left: 50%; bottom: calc(87px + var(--safe-bottom)); transform: translateX(-50%); display: flex; align-items: center; padding: 3px; border-radius: 16px; z-index: 20; white-space: nowrap; }
.tool-button { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 13px; gap: 6px; border-radius: 12px; background: transparent; color: var(--muted); font-size: 11px; }
.tool-button svg { width: 15px; height: 15px; }
.tool-button + .tool-button { position: relative; }
.tool-button + .tool-button:before { content: ""; position: absolute; left: 0; width: 1px; height: 15px; background: var(--line); }
.tool-button:hover { background: rgba(29, 29, 31, .035); }
.tool-button[aria-pressed="true"] { color: var(--blue); }
.has-welcome .scene-toolbar, .has-details .scene-toolbar { display: none; }
.campus-app:has(#tour-panel:not([hidden])) .scene-toolbar, .campus-app:has(#tour-panel:not([hidden])) .view-hint { display: none; }
.view-hint { position: absolute; bottom: calc(148px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); z-index: 18; display: flex; align-items: center; white-space: nowrap; font-size: 11px; color: var(--muted); pointer-events: none; }
.view-hint svg { display: none; }
.has-details .view-hint { display: none; }
.tour-panel { position: absolute; top: calc(84px + var(--safe-top)); left: 20px; right: 20px; z-index: 24; border-radius: 18px; padding: 12px 14px; }
.tour-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 2px; font-size: 10px; color: var(--muted); }
.tour-heading > span:last-child { margin-left: auto; }
.tour-signal { display: none; }
.tour-main { display: flex; align-items: center; gap: 6px; }
.tour-main > div { min-width: 0; flex: 1; }
.tour-main strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.55; }
.tour-main .round-button { width: 44px; height: 44px; }
.tour-progress { height: 2px; margin-top: 8px; border-radius: 2px; overflow: hidden; background: rgba(29, 29, 31, .08); }
.tour-progress > span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .2s; }
.transition-hint { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; font-size: 12px; white-space: nowrap; z-index: 27; pointer-events: none; }
.tiny-spinner { width: 13px; height: 13px; border: 1.5px solid rgba(0, 113, 227, .2); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
.toast-panel { position: absolute; bottom: calc(88px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); z-index: 43; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 40px); padding: 12px 16px; border-radius: 16px; font-size: 12px; line-height: 1.6; }
.toast-panel svg { flex: none; width: 18px; height: 18px; color: var(--blue); }
.direction-panel { position: absolute; top: 90px; left: 20px; z-index: 20; padding: 12px; border-radius: 16px; display: flex; gap: 8px; font-size: 12px; }

/* One clear blue line remains readable over the captured campus. */
.markers-layer { position: absolute; inset: 0; z-index: 10; overflow: hidden; pointer-events: none; }
.world-marker { --marker-lift: 0px; --marker-shift: 0px; --marker-stem-length: 11px; --marker-stem-angle: 0deg; position: absolute; left: 0; top: 0; min-width: 66px; min-height: calc(48px + var(--marker-lift)); padding: 0; transform: translate(-50%, -100%); background: transparent; pointer-events: none; isolation: isolate; touch-action: manipulation; }
.marker-bob { position: relative; display: flex; align-items: center; flex-direction: column; min-height: calc(43px + var(--marker-lift)); animation: marker-bob 3.5s ease-in-out infinite; }
.marker-label { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 7px 11px; border-radius: 999px; white-space: nowrap; font-size: 11px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 2px 9px rgba(29, 29, 31, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: auto; transform: translateX(var(--marker-shift)); }
.marker-label svg { width: 12px; height: 12px; color: var(--blue); }
.marker-label small { color: var(--muted); font-size: 10px; }
.marker-stem { position: absolute; bottom: 0; left: 50%; width: 1px; height: var(--marker-stem-length); transform-origin: bottom center; transform: rotate(var(--marker-stem-angle)); background: rgba(0, 113, 227, .35); }
.marker-anchor { position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border: 1.5px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px rgba(0, 113, 227, .15); pointer-events: auto; }
.world-marker.is-label-collapsed .marker-bob { visibility: hidden; }
.world-marker.is-active .marker-label, .world-marker.is-selected .marker-label { color: var(--blue); border-color: rgba(0, 113, 227, .18); }
.route-overlay { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; overflow: hidden; display: none; pointer-events: none; }
.route-overlay.is-visible { display: block; }
.has-spatial-route :is(#route-shadow,#route-glow-line,#route-line,#route-progress,#route-flow,#route-traveller) { display: none !important; }
.route-overlay path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.route-shadow { stroke: rgba(255, 255, 255, .86); stroke-width: 6; }
.route-glow-line { display: none; }
.route-line { stroke: #b0caed; stroke-width: 3.7; }
.route-progress { stroke: var(--blue); stroke-width: 3.7; stroke-dasharray: 100; stroke-dashoffset: 100; }
.route-flow { display: inline; pointer-events: none; }
.route-flow path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-overlay #route-flow-reveal-path { stroke-linecap: butt; }
.route-flow-halo { stroke: #17b7ff; stroke-width: 13; filter: url(#route-flow-glow); }
.route-flow-tail { stroke: #159fff; stroke-width: 4.2; }
.route-flow-core { stroke: #77e9ff; stroke-width: 5.4; }
.route-flow-center { stroke: #e1faff; stroke-width: 2.2; }
.route-endpoint { filter: drop-shadow(0 1px 2px rgba(20, 36, 54, .18)); }
.route-endpoint circle:first-of-type { fill: #fff; stroke: #3e83ed; stroke-width: 1.5; }
.route-endpoint circle:nth-of-type(2) { fill: #3e83ed; stroke: none; }
.route-label-background { fill: rgba(255, 255, 255, .96); stroke: rgba(29, 29, 31, .08); stroke-width: .75; }
.route-endpoint text, .route-player text { font-size: 11.5px; font-family: inherit; font-weight: 600; letter-spacing: .1px; stroke: none; fill: var(--ink); }
.route-endpoint-end circle:first-of-type { fill: #3e83ed; stroke: none; }
.route-endpoint-end circle:nth-of-type(2) { fill: #fff; }
.route-overlay .route-destination-pin { fill: #3e83ed; stroke: none; }
.route-player circle:first-child { fill: rgba(0, 113, 227, .1); stroke: var(--blue); stroke-width: 1.5; }
.route-player circle:nth-child(2) { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.route-traveller { filter: drop-shadow(0 1px 3px rgba(20, 36, 54, .2)); }
.route-traveller-halo { fill: rgba(0, 113, 227, .12); stroke: none; transform-box: fill-box; transform-origin: center; }
.route-traveller-ring { fill: #fff; stroke: rgba(0, 113, 227, .18); stroke-width: .75; }
.route-traveller-core { fill: var(--blue); stroke: none; }
.route-overlay .route-traveller-heading path { fill: var(--blue); stroke: #fff; stroke-width: 1; }
.route-overlay:is(.is-playing, .is-paused) .route-traveller-halo { animation: route-traveller-breathe 1.8s ease-in-out infinite; }
.route-overlay.is-paused .route-traveller-halo { animation-play-state: paused; }
.route-overlay.is-complete .route-traveller-halo { opacity: .65; }
.route-endpoint .route-arrival-ring { fill: none; stroke: var(--blue); stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route-endpoint.is-arrived .route-arrival-ring { animation: route-arrival-pulse .8s ease-out 2; }
.route-endpoint .route-origin-ring { fill: none; stroke: var(--blue); stroke-width: 1.1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route-endpoint.is-departing .route-origin-ring { animation: route-arrival-pulse .9s ease-out 2; }

.help-panel { position: absolute; inset: 0; z-index: 45; display: grid; place-items: center; padding: 20px; background: rgba(29, 29, 31, .15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.help-card { width: min(100%, 370px); max-height: calc(100dvh - 40px); padding: 22px 24px 24px; border-radius: 25px; overflow: auto; background: rgba(255, 255, 255, .96); }
.help-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; margin-right: -8px; }
.help-card h2 { margin: 0; font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -.6px; }
.help-step { display: flex; gap: 15px; margin: 0 0 22px; }
.help-step > span { display: none; }
.help-step h3 { margin: 0 0 5px; font-size: 14px; font-weight: 500; }
.help-step p { margin: 0; font-size: 12px; line-height: 1.75; color: var(--muted); }
.help-footnote { margin: 0 0 20px; font-size: 11px; color: var(--muted); }
.help-card > .action-button { width: 100%; }

.loading-screen { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; padding: 25px; background: #f5f5f7; }
.loading-card { width: min(100%, 320px); padding: 28px; border: 0; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 6px 28px rgba(29, 29, 31, .035); }
.loading-card h2 { margin: 0 0 14px; font-size: 24px; font-weight: 600; letter-spacing: -.6px; }
.loading-copy { margin: 0 0 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.loading-progress { height: 3px; border-radius: 3px; overflow: hidden; background: #eeeef0; }
.loading-progress > span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .2s; }
.loading-progress.is-indeterminate > span { width: 28%; animation: loading-slide 1.8s ease-in-out infinite; }
.loading-meta { display: flex; justify-content: space-between; min-height: 14px; margin-top: 10px; font-size: 10px; color: var(--muted); }
#loading-help { margin: 22px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.error-panel { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.error-panel p { margin: 0 0 16px; font-size: 12px; line-height: 1.75; color: #b23b30; overflow-wrap: anywhere; }
.error-panel .action-button { width: 100%; }
.noscript-message { position: absolute; inset: 40% 20px auto; margin: 0; padding: 25px; border-radius: 18px; background: #fff; color: var(--ink); z-index: 70; }
.look-pad { position: absolute; top: 0; right: 0; width: 57%; height: 100%; z-index: 6; display: none; touch-action: none; }
.mode-explore .look-pad { display: block; }
.movement-controls { position: absolute; left: 24px; bottom: 160px; z-index: 21; }
.joystick { width: 100px; height: 100px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .5); display: grid; place-items: center; touch-action: none; }
.joystick-knob { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.is-presentation-only .movement-controls, .is-presentation-only .look-pad { display: none !important; }
.is-clean .topbar, .is-clean .view-tabs, .is-clean .welcome-panel, .is-clean .place-panel, .is-clean .tour-panel, .is-clean .scene-toolbar, .is-clean .view-hint, .is-clean .markers-layer, .is-clean .transition-hint, .is-clean .more-panel { visibility: hidden; pointer-events: none; }
.is-clean .more-button { opacity: .72; }

@keyframes marker-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes route-traveller-breathe { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes route-arrival-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loading-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(460%); } }

@media (min-width: 960px) and (min-height: 500px) {
  .opening-caption { left: 40px; bottom: 40px; }
  .opening-caption h2 { font-size: 38px; letter-spacing: -1.3px; }
  .opening-caption p { font-size: 13px; }
  .opening-skip { right: 32px; top: calc(28px + var(--safe-top)); }
  .topbar { top: calc(28px + var(--safe-top)); left: 32px; right: auto; }
  .brand-copy h1 { font-size: 22px; }
  .header-actions { top: calc(28px + var(--safe-top)); right: 32px; }
  .view-tabs { top: calc(28px + var(--safe-top)); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: 284px; border-radius: 16px; }
  .view-tab { font-size: 13px; min-height: 44px; border-radius: 12px; }
  .welcome-panel { left: 32px; right: auto; bottom: 32px; width: 326px; padding: 25px; }
  .welcome-panel h2 { font-size: 25px; }
  .welcome-copy { font-size: 13px; }
  .place-panel { top: calc(104px + var(--safe-top)); bottom: auto; left: auto; right: 32px; width: 308px; max-height: calc(100% - 136px - var(--safe-top) - var(--safe-bottom)); padding: 22px; }
  .selected-place h3 { font-size: 29px; }
  .scene-toolbar { left: 32px; bottom: 32px; transform: none; }
  .view-hint { bottom: 47px; font-size: 11px; }
  .tour-panel { top: auto; bottom: 32px; left: 50%; right: auto; width: 360px; transform: translateX(-50%); padding: 11px 16px; }
  .toast-panel { bottom: 32px; max-width: 430px; }
}

@media (orientation: landscape) and (max-height: 499px) {
  .opening-caption { left: 24px; bottom: calc(24px + var(--safe-bottom)); }
  .opening-caption h2 { font-size: 26px; letter-spacing: -.8px; }
  .opening-caption p { margin-top: 7px; font-size: 11px; }
  .opening-progress { margin-top: 13px; }
  .opening-skip { top: calc(12px + var(--safe-top)); }
  .topbar { top: calc(12px + var(--safe-top)); left: 20px; right: auto; }
  .brand-copy h1 { font-size: 18px; }
  .header-actions { top: calc(12px + var(--safe-top)); right: 20px; }
  .view-tabs { top: calc(12px + var(--safe-top)); bottom: auto; left: 50%; right: auto; width: 246px; transform: translateX(-50%); padding: 3px; border-radius: 15px; }
  .view-tab { font-size: 12px; border-radius: 12px; }
  .welcome-panel { left: 20px; right: auto; bottom: calc(20px + var(--safe-bottom)); width: 276px; padding: 18px 20px; border-radius: 22px; }
  .welcome-panel h2 { font-size: 21px; letter-spacing: -.6px; margin-bottom: 6px; }
  .welcome-copy { font-size: 11px; line-height: 1.6; margin-bottom: 13px; }
  .welcome-actions { gap: 8px; }
  .action-button { font-size: 12px; padding: 9px 10px; }
  .place-panel { top: calc(80px + var(--safe-top)); bottom: auto; left: auto; right: 20px; width: 260px; padding: 18px; border-radius: 21px; max-height: calc(100% - 100px - var(--safe-top) - var(--safe-bottom)); }
  .has-details:not(.tab-route):not(.is-panel-collapsed) .panel-heading { top: 14px; right: 18px; }
  .place-list { margin-bottom: 15px; }
  .selected-place h3 { font-size: 23px; margin-bottom: 6px; }
  .selected-place p { font-size: 11px; line-height: 1.7; }
  .place-detail-actions { margin-top: 14px; gap: 6px; }
  .place-detail-actions .action-button { font-size: 11px; padding: 9px 5px; }
  .tab-route .panel-heading { margin-bottom: 12px; }
  .panel-heading h2 { font-size: 18px; }
  .route-fields { gap: 8px; margin-bottom: 12px; }
  .route-origin { display: none; }
  .destination-search { min-height: 44px; padding: 0 10px; border-radius: 12px; }
  .destination-search input { font-size: 12px; }
  .destination-search-hint { display: none; }
  .destination-results { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .destination-chip { font-size: 10px; padding: 6px 2px; border-radius: 10px; }
  .destination-chip svg { display: none; }
  .route-stops { gap: 5px; }
  .route-field { gap: 5px; }
  .route-field select { padding: 0 6px; font-size: 12px; }
  .route-field > span { font-size: 10px; }
  .route-summary { margin-bottom: 16px; }
  .route-summary-stops { font-size: 20px; }
  .route-playback { margin-top: 10px; padding-top: 10px; }
  .route-playback-track { margin-top: 8px; }
  .route-playback-footer { margin-top: 5px; gap: 6px; }
  .route-playback-meta { font-size: 10px; gap: 2px; }
  #route-playback-distance { font-size: 9px; }
  .route-playback-button { padding: 0 8px; font-size: 10px; gap: 4px; }
  .route-playback-controls { gap: 1px; }
  .route-flight-copy h3 { font-size: 15px; }
  .route-flight-status { gap: 8px; }
  .route-flight-symbol { width: 34px; height: 38px; border-radius: 11px; }
  .route-flight-remaining { font-size: 10px; }
  .campus-app:is(.route-flight-active, .route-flight-arrived).tab-route .place-panel { padding: 14px 16px; }
  .campus-app:is(.route-flight-active, .route-flight-arrived) .route-playback-button { padding: 0 8px; font-size: 10px; gap: 3px; }
  .is-route-summary .route-summary { margin-bottom: 10px; }
  .is-route-summary .route-summary-stops { margin-bottom: 5px; }
  .route-footnote { font-size: 10px; margin-top: 10px; }
  .scene-toolbar { left: 20px; bottom: calc(20px + var(--safe-bottom)); transform: none; }
  .tool-button { font-size: 11px; padding: 0 12px; }
  .view-hint { display: none; }
  .tour-panel { top: auto; bottom: calc(20px + var(--safe-bottom)); left: 50%; right: auto; width: 314px; transform: translateX(-50%); padding: 10px 13px; }
  .toast-panel { bottom: calc(20px + var(--safe-bottom)); font-size: 11px; }
  .help-card { width: 420px; padding: 17px 22px; }
  .help-heading { margin-bottom: 11px; }
  .help-card h2 { font-size: 20px; }
  .help-step { margin-bottom: 12px; }
  .help-step h3 { font-size: 12px; margin-bottom: 3px; }
  .help-step p { font-size: 11px; line-height: 1.6; }
  .help-footnote { margin-bottom: 12px; }
}

@media (orientation: portrait) and (max-height: 700px) {
  .welcome-panel { padding: 19px; }
  .welcome-panel h2 { font-size: 22px; }
  .welcome-copy { font-size: 12px; margin-bottom: 14px; }
  .place-panel { padding: 18px; max-height: calc(100% - 205px - var(--safe-top) - var(--safe-bottom)); }
  .selected-place h3 { font-size: 25px; }
  .selected-place p { font-size: 12px; }
  .has-details:not(.tab-route):not(.is-panel-collapsed) .panel-heading { top: 14px; right: 18px; }
}

@media (max-width: 359px) {
  .topbar { left: 16px; }
  .brand-copy h1 { font-size: 18px; }
  .header-actions { right: 16px; }
  .view-tabs, .welcome-panel, .place-panel, .tour-panel { left: 16px; right: 16px; }
  .welcome-panel h2 { font-size: 22px; }
  .place-detail-actions .action-button { font-size: 11px; }
  .route-fields { gap: 3px; }
  .route-stops { gap: 3px; }
  .route-field select { font-size: 12px; padding: 0 7px; }
  .route-playback-button { padding: 0 8px; font-size: 10px; gap: 4px; }
  .route-playback-footer { gap: 6px; }
  .tool-button { padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .loading-progress.is-indeterminate > span { width: 100%; opacity: .5; }
}

/* A restrained control layer over the luminous spatial campus. */
:root {
  color-scheme: dark;
  --ink: #eaf6ff;
  --muted: #9db7ca;
  --blue: #67dfff;
  --line: rgba(119, 198, 231, .16);
  --surface: rgba(6, 24, 40, .88);
}
html, body { background: #061522; }
button:focus-visible, select:focus-visible, input:focus-visible { outline-color: #7be8ff; }
.tech-theme { background: #061522; }
.tech-theme .scene-vignette { background: radial-gradient(ellipse at 50% 44%, transparent 36%, rgba(0, 9, 24, .14) 78%, rgba(0, 8, 20, .4)), linear-gradient(180deg, rgba(1, 12, 25, .24), transparent 22%, transparent 80%, rgba(1, 10, 22, .24)); }
.tech-theme .glass { background: linear-gradient(135deg, rgba(15, 42, 62, .93), rgba(4, 20, 36, .91)); border-color: rgba(126, 211, 244, .22); box-shadow: inset 0 1px 0 rgba(169, 234, 255, .07), 0 14px 42px rgba(0, 5, 15, .2); backdrop-filter: blur(24px) saturate(125%); -webkit-backdrop-filter: blur(24px) saturate(125%); }
.tech-theme .scene-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; color: rgba(139, 221, 250, .54); }
.hud-frame { position: absolute; inset: calc(12px + var(--safe-top)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + var(--safe-bottom)) max(12px, env(safe-area-inset-left, 0px)); opacity: .72; background: linear-gradient(currentColor, currentColor) left top / 28px 1px no-repeat, linear-gradient(currentColor, currentColor) left top / 1px 28px no-repeat, linear-gradient(currentColor, currentColor) right top / 28px 1px no-repeat, linear-gradient(currentColor, currentColor) right top / 1px 28px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 28px 1px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 1px 28px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 28px 1px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 1px 28px no-repeat; }
.hud-side-label { position: absolute; left: 13px; top: 44%; font-size: 8px; letter-spacing: 2.4px; writing-mode: vertical-rl; }
.hud-signature { position: absolute; right: 32px; bottom: calc(35px + var(--safe-bottom)); display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1px; }
.hud-signature i { width: 5px; height: 5px; background: #69e6ff; border-radius: 50%; box-shadow: 0 0 9px rgba(89, 213, 255, .8); }
.hud-signature b { font-size: 8px; font-weight: 400; letter-spacing: 2px; margin-left: 4px; opacity: .6; }
.tech-theme .topbar { gap: 10px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tech-theme .brand-mark { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: #85eaff; border: 1px solid rgba(100, 209, 255, .4); border-radius: 12px; background: linear-gradient(145deg, rgba(24, 85, 113, .6), rgba(7, 31, 49, .7)); box-shadow: inset 0 0 15px rgba(64, 195, 255, .1), 0 0 22px rgba(49, 168, 219, .12); }
.tech-theme .brand-mark svg { width: 23px; height: 23px; }
.tech-theme .brand-copy h1 { color: #f0faff; text-shadow: 0 2px 15px rgba(0, 10, 24, .65); font-weight: 600; letter-spacing: .4px; }
.tech-theme .brand-copy p { display: block; margin: 2px 0 0; color: #87bdd7; font-size: 8px; font-weight: 500; line-height: 1.5; letter-spacing: 2px; }
.tech-theme .round-button { color: var(--muted); }
.tech-theme .round-button:hover { color: var(--ink); background: rgba(100, 211, 255, .08); }
.tech-theme .more-button { color: #c1e9fa; }
.tech-theme .more-button[aria-expanded="true"] { color: #9deaff; background: #143d54; border-color: #4c94af; }
.tech-theme .more-panel { box-shadow: 0 18px 55px rgba(0, 4, 12, .4); }
.tech-theme .menu-button:hover, .tech-theme .zoom-controls button:hover { background: rgba(100, 211, 255, .08); }
.tech-theme .menu-button svg { color: #7ebed7; }
.tech-theme .view-tabs { background: rgba(5, 22, 39, .9); border-color: rgba(114, 203, 239, .23); }
.tech-theme .view-tab { color: #94b4c9; }
.tech-theme .view-tab:hover:not(:disabled) { background: rgba(96, 210, 255, .06); color: #dcf6ff; }
.tech-theme .view-tab.is-active { color: #dffaff; background: linear-gradient(145deg, rgba(33, 115, 148, .58), rgba(15, 61, 88, .65)); box-shadow: inset 0 0 0 1px rgba(103, 222, 255, .26), 0 0 18px rgba(19, 137, 196, .08); }
.tech-theme .view-tab.is-active svg { color: #79e5ff; }
.tech-theme .welcome-panel, .tech-theme .place-panel { border-radius: 20px; }
.welcome-kicker { display: block; margin-bottom: 11px; color: #77d6f1; font-size: 8px; font-weight: 600; letter-spacing: 2.4px; }
.tech-theme .welcome-panel h2 { letter-spacing: -.5px; }
.tech-theme .welcome-copy { color: #aac4d3; }
.tech-theme .action-primary, .tech-theme .action-explore { color: #032338; background: linear-gradient(110deg, #78edff, #42c6f2); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 20px rgba(41, 185, 234, .16); }
.tech-theme .action-primary:hover:not(:disabled), .tech-theme .action-explore:hover:not(:disabled) { background: linear-gradient(110deg, #a1f5ff, #67dfff); box-shadow: 0 4px 27px rgba(41, 185, 234, .3); }
.tech-theme .action-secondary { background: rgba(93, 202, 241, .075); color: #b7e6f6; box-shadow: inset 0 0 0 1px rgba(117, 211, 244, .18); }
.tech-theme .action-secondary:hover:not(:disabled) { background: rgba(93, 202, 241, .14); }
.tech-theme .place-panel { scrollbar-color: #2b657d transparent; }
.tech-theme .place-list { background: rgba(0, 8, 22, .32); }
.tech-theme .place-chip.is-selected { color: #b9f0ff; background: rgba(45, 123, 153, .32); box-shadow: inset 0 0 0 1px rgba(105, 213, 243, .24); }
.tech-theme .destination-search { border-color: rgba(110, 196, 230, .2); background: rgba(0, 10, 24, .32); }
.tech-theme .destination-search input::placeholder { color: #91adbf; }
.tech-theme .destination-chip { background: rgba(36, 78, 100, .16); border-color: rgba(113, 197, 230, .16); color: #b8d0df; }
.tech-theme .destination-chip:hover { background: rgba(72, 151, 183, .18); }
.tech-theme .destination-chip:is(.is-selected, [aria-pressed="true"]) { color: #93edff; border-color: rgba(110, 223, 255, .48); background: rgba(60, 176, 211, .15); }
.tech-theme .destination-chip:disabled { background: rgba(0, 9, 20, .2); }
.tech-theme .route-origin small { color: #8daebf; }
.tech-theme .route-origin-dot { box-shadow: 0 0 0 3px rgba(93, 219, 255, .09), 0 0 12px rgba(93, 219, 255, .4); }
.tech-theme .route-field select { color-scheme: dark; background: #0c273b; border-color: rgba(107, 190, 224, .22); }
.tech-theme .route-field:last-child .route-stop { background: #a9edf9; }
.tech-theme .swap-route-button:hover { background: rgba(100, 211, 255, .08); }
.tech-theme .route-flight-symbol { color: #8beaff; background: rgba(65, 193, 234, .12); box-shadow: inset 0 0 0 1px rgba(96, 221, 255, .16); }
.tech-theme .route-playback-track { background: rgba(87, 194, 229, .12); }
.tech-theme #route-playback-fill { background: linear-gradient(90deg, #258df0, #89efff); }
.tech-theme .route-playback.is-playing #route-playback-fill { box-shadow: 0 0 12px rgba(91, 222, 255, .65); }
.tech-theme .route-playback-button { background: rgba(90, 207, 246, .09); color: #9fe9ff; }
.tech-theme .route-playback-button:hover:not(:disabled) { background: rgba(90, 207, 246, .17); }
.tech-theme .route-playback-replay, .tech-theme .route-camera-button { background: transparent; color: var(--muted); }
.tech-theme .route-playback.is-paused .route-playback-track { background: rgba(149, 181, 198, .16); }
.tech-theme .route-playback.is-complete .route-playback-button:disabled { background: rgba(116, 173, 197, .07); }
.tech-theme:is(.route-flight-active, .route-flight-arrived) .mode-actions .action-button { color: #acc8d8; background: rgba(118, 194, 222, .07); box-shadow: inset 0 0 0 1px rgba(117, 211, 244, .14); }
.tech-theme.route-flight-paused .route-flight-symbol { color: var(--muted); background: rgba(135, 174, 193, .1); }
.tech-theme.route-flight-arrived .route-flight-symbol { color: #99f5dc; background: rgba(57, 196, 167, .12); }
.tech-theme .scene-toolbar { border-radius: 15px; }
.tech-theme .tool-button:hover { background: rgba(95, 212, 255, .08); color: #c4efff; }
.tech-theme .view-hint { color: #96bed4; text-shadow: 0 1px 9px #001426; }
.tech-theme .tour-signal { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #66e1ff; box-shadow: 0 0 9px rgba(81, 205, 255, .65); }
.tech-theme .tour-progress { background: rgba(112, 195, 224, .14); }
.tech-theme .tour-progress > span { background: linear-gradient(90deg, #3197eb, #8feeff); }
.tech-theme .tiny-spinner { border-color: rgba(110, 226, 255, .18); border-top-color: #8beaff; }
.tech-theme .marker-label { color: #daf6ff; background: linear-gradient(130deg, rgba(11, 43, 64, .96), rgba(5, 23, 40, .94)); border-color: rgba(119, 216, 248, .4); box-shadow: inset 0 1px 0 rgba(162, 235, 255, .1), 0 3px 16px rgba(0, 10, 25, .4), 0 0 18px rgba(44, 188, 244, .09); border-radius: 12px; }
.tech-theme .marker-label svg { color: #89eaff; }
.tech-theme .marker-stem { background: linear-gradient(0deg, rgba(146, 239, 255, .8), rgba(84, 203, 246, .3)); box-shadow: 0 0 7px rgba(93, 218, 255, .4); }
.tech-theme .marker-anchor { border-color: #c6faff; background: #50d4ff; box-shadow: 0 0 0 3px rgba(41, 177, 238, .2), 0 0 13px rgba(76, 221, 255, .75); }
.tech-theme .world-marker.is-active .marker-label, .tech-theme .world-marker.is-selected .marker-label { color: #d5fbff; border-color: #83eaff; background: linear-gradient(135deg, rgba(20, 87, 116, .98), rgba(8, 39, 62, .98)); box-shadow: 0 0 0 1px rgba(83, 207, 247, .12), 0 0 26px rgba(52, 191, 243, .25); }
.tech-theme .route-shadow { stroke: rgba(0, 30, 63, .8); }
.tech-theme .route-line { stroke: #166493; }
.tech-theme .route-progress { stroke: #88eaff; }
.tech-theme .route-label-background { fill: rgba(6, 30, 48, .96); stroke: rgba(131, 224, 255, .45); }
.tech-theme .route-endpoint circle:first-of-type { fill: #0c4261; stroke: #9bedff; }
.tech-theme .route-endpoint circle:nth-of-type(2) { fill: #a6f2ff; }
.tech-theme .route-endpoint-end circle:first-of-type { fill: #62dbff; stroke: #c7f8ff; stroke-width: 1.5; }
.tech-theme .route-endpoint-end circle:nth-of-type(2) { fill: #06263a; }
.tech-theme .route-overlay .route-destination-pin { fill: #62dbff; }
.tech-theme .route-traveller-ring { fill: #052b47; stroke: #65dfff; }
.tech-theme .route-traveller-core { fill: #c7fbff; }
.tech-theme .help-panel { background: rgba(0, 7, 18, .6); }
.tech-theme .help-card { background: linear-gradient(130deg, #102d43, #061a2c); }
.tech-theme .help-step > span { display: block; padding-top: 2px; color: #6fbcd5; font-size: 10px; font-variant-numeric: tabular-nums; }
.tech-theme .loading-screen { background: radial-gradient(ellipse at 50% 40%, #123c56 0, #081f34 40%, #030d19 100%); }
.tech-theme .loading-card { position: relative; background: linear-gradient(130deg, rgba(16, 48, 68, .94), rgba(4, 19, 34, .96)); border: 1px solid rgba(115, 213, 245, .22); box-shadow: 0 22px 80px rgba(0, 6, 19, .4), inset 0 1px 0 rgba(185, 239, 255, .1); }
.tech-theme .loading-card:before { content: "SPATIAL CAMPUS"; display: block; margin-bottom: 18px; color: #79cce7; font-size: 8px; letter-spacing: 3px; }
.tech-theme .loading-progress { background: rgba(90, 193, 229, .13); }
.tech-theme .loading-progress > span { background: linear-gradient(90deg, #2789d5, #a0f8ff); box-shadow: 0 0 15px rgba(77, 211, 255, .6); }
.tech-theme .error-panel p, .tech-theme .panel-hint { color: #ffc2ad; }
.tech-theme .noscript-message { background: #102d43; }
.tech-theme .opening-panel { background: linear-gradient(0deg, rgba(0, 10, 24, .86), rgba(1, 15, 31, .2) 23%, transparent 45%); }
.opening-kicker { display: block; margin-bottom: 13px; color: #80dbf3; font-size: 8px; letter-spacing: 3px; font-weight: 600; }
.tech-theme .opening-caption h2 { color: #e6faff; text-shadow: 0 0 25px rgba(99, 215, 255, .3); }
.tech-theme .opening-caption p { color: #a0c6da; }
.tech-theme .opening-progress { width: 130px; background: rgba(117, 211, 239, .15); }
.tech-theme .opening-progress span { background: linear-gradient(90deg, #3797ed, #a6f5ff); box-shadow: 0 0 14px rgba(88, 208, 255, .6); }
.tech-theme .opening-skip { color: #c6e6f3; }
.tech-theme.is-opening .hud-frame { opacity: .35; }
.tech-theme.is-opening .hud-signature { opacity: 0; }
.tech-theme:is(.has-details, .is-clean) .hud-signature { display: none; }
.tech-theme.is-clean .scene-hud { visibility: hidden; }

@media (min-width: 960px) and (min-height: 500px) {
  .tech-theme .brand-mark { width: 42px; height: 42px; }
  .tech-theme .view-tab svg { display: block; width: 15px; height: 15px; }
  .tech-theme .opening-caption { left: 42px; bottom: 42px; }
  .tech-theme .opening-caption h2 { font-size: 42px; font-weight: 500; letter-spacing: -.6px; }
  .opening-kicker { font-size: 9px; letter-spacing: 4px; }
}
@media (max-width: 959px) {
  .hud-side-label, .hud-signature { display: none; }
  .hud-frame { opacity: .4; }
  .tech-theme .brand-mark { width: 34px; height: 36px; border-radius: 10px; }
  .tech-theme .brand-mark svg { width: 21px; height: 21px; }
  .tech-theme .brand-copy h1 { font-size: 19px; }
  .tech-theme .brand-copy p { font-size: 7px; letter-spacing: 1.7px; }
}
@media (orientation: landscape) and (max-height: 499px) {
  .hud-side-label, .hud-signature { display: none; }
  .tech-theme .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .tech-theme .brand-copy h1 { font-size: 17px; }
  .tech-theme .brand-copy p { margin-top: 0; font-size: 6px; }
  .welcome-kicker { margin-bottom: 7px; font-size: 7px; letter-spacing: 1.8px; }
  .opening-kicker { font-size: 7px; margin-bottom: 9px; letter-spacing: 2.4px; }
  .tech-theme .opening-caption h2 { font-size: 27px; }
}
@media (max-width: 359px) {
  .tech-theme .brand-mark { display: none; }
  .tech-theme .brand-copy h1 { font-size: 18px; }
  .welcome-kicker { font-size: 7px; letter-spacing: 1.8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-theme *, .tech-theme *:before, .tech-theme *:after { animation: none !important; transition: none !important; }
}

/* The surrounding map shares the original deep-blue control palette. */
.map-theme { color-scheme: dark; --ink:#eaf6ff; --muted:#9db7ca; --blue:#67dfff; --line:rgba(119,198,231,.16); --surface:rgba(6,24,40,.88); background:#050e1a; }
.map-theme .scene-hud { display:none; }
.map-theme .glass { backdrop-filter:blur(22px) saturate(135%); -webkit-backdrop-filter:blur(22px) saturate(135%); }
.map-theme .brand-copy h1 { letter-spacing:-.4px; }
.map-theme .brand-copy p { font-size:9px; letter-spacing:.6px; }
