:root {
  --paper: #f7f6f2;
  --ink: #262d28;
  --muted: #616c63;
  --accent: #40594a;
  --line: #dbded6;
  --bar: 65px;
  --gutter: clamp(24px, 3.6vw, 62px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overscroll-behavior: none; }
body { font-size: 14px; }
button { color: inherit; font: inherit; background: none; border: 0; cursor: pointer; padding: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #8daa98; outline-offset: 3px; }
[hidden] { display: none !important; }
img, .app { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
img { display: block; }
button, img { -webkit-user-drag: none; }
h1, h2, h3, p { margin: 0; }
.icon-defs { position: absolute; pointer-events: none; }
.ico { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; pointer-events: none; }
.app { position: relative; height: 100vh; height: 100dvh; width: 100%; overflow: hidden; background: var(--paper); }
.header { height: var(--bar); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 24px; letter-spacing: -.055em; }
.header-project, .overline { text-transform: uppercase; font-size: 10px; font-weight: 500; letter-spacing: .13em; }
.header-project { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.header-project i { display: inline-block; width: 22px; height: 1px; background: #b6beb5; }
main { position: relative; height: calc(100% - var(--bar)); }
.screen { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.screen.is-transitioning { visibility: visible; }
.screen.is-active { visibility: visible; pointer-events: auto; }
.screen-home { display: grid; grid-template-columns: minmax(230px, .4fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 52px; align-content: center; column-gap: var(--gutter); padding: clamp(16px, 3.2vh, 35px) var(--gutter) 10px; color: var(--ink); background: var(--paper); overflow: auto; }
.hero-photo { position: relative; grid-column: 2; grid-row: 1; min-height: 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-content { grid-column: 1; grid-row: 1; align-self: center; padding-bottom: 12px; }
.home-content h1 { font-size: clamp(36px, 3.75vw, 82px); font-weight: 400; letter-spacing: -.065em; line-height: 1.06; margin-bottom: 26px; }
.enter-button { height: 56px; border: 1px solid var(--line); border-radius: 3px; display: inline-flex; align-items: center; gap: 26px; padding: 0 8px 0 18px; background: white; color: var(--ink); font-size: 13px; }
.enter-button span { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: white; border-radius: 2px; }
.enter-button:hover span { background: #2c4435; }
.home-bottom { grid-column: 2; grid-row: 2; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
.photo-nav { display: flex; align-items: center; gap: 14px; }
.photo-nav button, .mini-map-head button, .still-top button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.photo-nav button:hover { background: #40594a12; }
.still-top button:hover { background: #ffffff26; }
.photo-nav span { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .1em; white-space: pre; }
.screen-plans { display: grid; grid-template-columns: clamp(250px, 23vw, 375px) minmax(0, 1fr); background: var(--paper); }
.map-intro { display: flex; flex-direction: column; padding: clamp(27px, 3.2vw, 54px) clamp(24px, 3vw, 50px); background: #fff; border-right: 1px solid var(--line); min-height: 0; overflow: auto; }
.back-text { display: inline-flex; align-items: center; gap: 10px; align-self: start; min-height: 36px; color: var(--muted); font-size: 12px; }
.map-intro h2 { font-size: clamp(32px, 3.2vw, 53px); letter-spacing: -.063em; line-height: 1.05; font-weight: 400; margin: clamp(26px, 7vh, 85px) 0 35px; }
.level-list { border-top: 1px solid var(--line); }
.level-btn { display: flex; align-items: center; width: 100%; height: clamp(44px, 7vh, 68px); gap: 18px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; }
.level-no { min-width: 40px; font-size: 18px; font-variant-numeric: tabular-nums; }
.level-name { flex: 1; font-size: 13px; }
.level-btn::after { content: ""; height: 6px; width: 6px; border-radius: 50%; border: 1px solid #b9c3b9; }
.level-btn[aria-pressed="true"], .level-btn:hover { color: #1f3528; }
.level-btn[aria-pressed="true"]::after { background: var(--accent); border-color: var(--accent); }
.map-help { margin-top: auto; padding-top: 25px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.map-help::before { content: ""; display: block; width: 29px; height: 1px; background: #9ca89f; margin-bottom: 15px; }
.map-content { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 24px var(--gutter) 18px; }
.plan-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.plan-topline h3 { font-size: 15px; font-weight: 500; letter-spacing: -.016em; }
.plan-topline .overline { font-size: 9px; color: var(--muted); }
.plan-region { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.plan-stage, .mini-map-stage { position: relative; aspect-ratio: 1400 / 1061; width: 100%; }
.plan-stage { max-width: 1050px; }
.plan-stage img, .mini-map-stage img { width: 100%; height: 100%; pointer-events: none; }
.pins { position: absolute; inset: 0; }
.map-pin, .mini-pin { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; color: #4d5c51; background: #fffffff5; border: 1px solid #7f8e83; font-variant-numeric: tabular-nums; }
.map-pin { width: 39px; height: 39px; font-size: 12px; box-shadow: 0 2px 8px #1e32211c; }
.mini-pin { width: 29px; height: 29px; font-size: 10px; }
.pins button[data-status="panorama"] { color: var(--accent); border: 2px solid var(--accent); }
.pins button[data-status="panorama"]::before { content: ""; position: absolute; inset: -5px; border: 1px solid #526e5b85; border-radius: 50%; }
.pins button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); z-index: 1; }
.pins button[data-status="pending"][aria-pressed="true"] { background: #fff; color: var(--accent); font-weight: 600; box-shadow: 0 0 0 4px #40594a25; }
.pins button:focus-visible { z-index: 3; }
.pin-photo { position: absolute; bottom: -4px; right: -6px; display: grid; place-items: center; width: 18px; height: 16px; background: #fff; color: var(--accent); border: 1px solid #869689; border-radius: 3px; }
.pin-photo .ico { width: 12px; height: 12px; }
.plan-info { border: 1px solid var(--line); background: #fff; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 88px; }
.selection-info .overline, .selection-info p { color: var(--muted); }
.selection-info h3 { margin: 4px 0; font-size: 21px; font-weight: 400; letter-spacing: -.035em; }
.selection-info p { font-size: 12px; }
.selection-actions { display: flex; align-items: center; gap: 14px; }
.scene-cta, .still-button, .light-button, .pano-icon { border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.scene-cta { background: var(--accent); color: white; padding: 0 15px; }
.scene-cta:hover { background: #243d30; }
.still-button { color: var(--accent); padding: 0 4px; }
.plan-foot { display: flex; gap: 22px; padding-top: 13px; align-items: center; font-size: 10px; color: var(--muted); }
.plan-foot span { display: inline-flex; gap: 6px; align-items: center; }
.key-pano, .key-pending { height: 9px; width: 9px; border-radius: 50%; border: 1px solid #78867b; }
.key-pano { border: 2px solid var(--accent); outline: 1px solid #526e5b85; outline-offset: 1px; }
.plan-foot .ico { width: 13px; height: 13px; }
.screen-pano { color: #fff; overflow: hidden; }
.pano-viewport { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.pano-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #10171080, transparent 27%, transparent 88%, #10171026); }
.pano-back, .pano-map-toggle { position: absolute; top: 24px; z-index: 2; }
.pano-back { left: var(--gutter); }
.pano-map-toggle { right: var(--gutter); }
.light-button { padding: 0 16px; background: #fffffff2; color: var(--ink); box-shadow: 0 4px 18px #151b1417; }
.pano-hotspot { position: absolute; z-index: 1; width: 46px; height: 46px; transform: translate(-50%, -50%); color: var(--ink); }
.hotspot-core { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fffffff0; border: 2px solid white; box-shadow: 0 0 0 5px #ffffff50, 0 3px 15px #18211433; }
.hotspot-label { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fffffff0; padding: 8px 11px; border-radius: 2px; font-size: 11px; }
.pano-caption { position: absolute; left: var(--gutter); bottom: 36px; pointer-events: none; text-shadow: 0 2px 12px #0006; }
.pano-caption h2 { margin-top: 8px; font-size: clamp(28px, 3vw, 48px); font-weight: 400; letter-spacing: -.045em; }
.pano-views { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; background: #19251dd9; border: 1px solid #ffffff55; border-radius: 3px; }
.view-pill { height: 40px; min-width: 43px; padding: 0 8px; color: #fff; font-variant-numeric: tabular-nums; font-size: 12px; }
.view-pill[aria-pressed="true"] { color: #233426; background: #fff; border-radius: 2px; }
.pano-bottom-right { position: absolute; bottom: 34px; right: var(--gutter); display: flex; gap: 5px; }
.pano-icon { width: 44px; color: #fff; background: #19251dd9; border: 1px solid #ffffff55; }
.pano-icon.with-label { width: auto; padding: 0 12px; }
.pano-icon:hover, .view-pill:hover:not([aria-pressed="true"]) { background: #36473a; }
dialog { color: var(--ink); border: 0; }
.pano-mini-map { position: fixed; left: auto; bottom: auto; top: calc(var(--bar) + 80px); right: var(--gutter); margin: 0; width: min(365px, calc(100% - 24px)); padding: 16px; max-height: calc(100dvh - var(--bar) - 92px); box-shadow: 0 12px 50px #10191445; background: var(--paper); border: 1px solid #e3e4dc; border-radius: 3px; }
.pano-mini-map::backdrop { background: #17221914; }
.mini-map-head, .still-top, .still-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-map-head h2 { font-size: 20px; font-weight: 400; letter-spacing: -.035em; }
.mini-map-head button { color: var(--muted); }
.mini-map-floors { display: grid; grid-template-columns: repeat(5, 1fr); margin: 8px 0 14px; gap: 4px; }
.mini-floor { height: 38px; border: 1px solid var(--line); }
.mini-floor[aria-pressed="true"] { color: #fff; background: var(--accent); }
.mini-map-stage { border: 0; }
.mini-map-status { margin-top: 14px; min-height: 1.5em; color: var(--muted); font-size: 11px; line-height: 1.5; }
.still-overlay { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; background: #1d221e; padding: 0 var(--gutter); }
.still-overlay[open] { display: grid; grid-template-rows: 68px minmax(0, 1fr) 84px; }
.still-overlay::backdrop { background: #1d221e; }
.still-frame { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; }
.still-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.still-frame p { position: absolute; text-align: center; }
.still-bottom h2 { font-size: 23px; letter-spacing: -.04em; font-weight: 400; margin-top: 5px; }
.still-bottom .overline, .still-top .overline { color: #d1d6cf; }
#panoToast { position: absolute; z-index: 5; top: calc(var(--bar) + 26px); left: 50%; transform: translateX(-50%); box-shadow: 0 4px 20px #1b231823; color: var(--ink); background: #fffffff2; border-radius: 2px; padding: 10px 15px; font-size: 12px; text-align: center; pointer-events: none; }
@media (max-width: 900px) {
  .screen-plans { grid-template-columns: 210px minmax(0, 1fr); }
  .map-intro { padding: 24px; }
  .pano-caption { bottom: 100px; }
  .pano-views { left: var(--gutter); transform: none; }
}
@media (max-width: 700px) {
  :root { --bar: 56px; --gutter: 18px; }
  .wordmark { font-size: 21px; }
  .header-project { display: none; }
  .screen-plans { display: flex; flex-direction: column; }
  .map-intro { display: block; flex: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 0; overflow: visible; }
  .back-text { min-height: 29px; font-size: 11px; }
  .map-intro h2 { font-size: 28px; margin: 9px 0 12px; }
  .level-list { display: grid; grid-template-columns: repeat(5, 1fr); border: 0; gap: 3px; }
  .level-btn { height: 48px; display: grid; place-content: center; justify-items: center; gap: 2px; border: 0; border-bottom: 2px solid transparent; }
  .level-btn[aria-pressed="true"] { border-color: var(--accent); }
  .level-no { font-size: 16px; min-width: 0; }
  .level-name { font-size: 10px; }
  .level-btn::after, .map-help { display: none; }
  .map-content { flex: 1; padding: 15px 14px max(12px, env(safe-area-inset-bottom)); }
  .map-pin { width: 31px; height: 31px; font-size: 10px; }
  .plan-info { padding: 12px; gap: 6px; min-height: 90px; }
  .selection-info h3 { font-size: 18px; } .selection-info .overline { font-size: 8px; }
  .selection-info p { font-size: 10px; }
  .selection-actions { flex-direction: column-reverse; align-items: stretch; gap: 1px; }
  .scene-cta, .still-button { min-height: 36px; font-size: 11px; gap: 6px; }
  .scene-cta { padding: 0 9px; }
  .selection-actions .ico { width: 15px; }
  .plan-foot { gap: 17px; padding-top: 10px; }
  .pano-back, .pano-map-toggle { top: 14px; }
  .light-button { padding: 0 12px; }
  .pano-caption { left: 16px; bottom: 80px; }
  .pano-caption .overline { font-size: 9px; }
  .pano-views, .pano-bottom-right { bottom: max(16px, env(safe-area-inset-bottom)); }
  .pano-views { left: 12px; padding: 2px; gap: 1px; }
  .view-pill { min-width: 36px; }
  .pano-bottom-right { right: 12px; gap: 3px; }
  .pano-icon { width: 39px; }
  .pano-icon.with-label { padding: 0 8px; gap: 5px; }
  .hotspot-label { display: none; }
  .pano-mini-map { right: 12px; top: calc(var(--bar) + 65px); max-height: calc(100dvh - var(--bar) - 78px); }
  .still-overlay { padding: 0 14px; }
  .still-overlay[open] { grid-template-rows: 58px minmax(0, 1fr) 80px; }
  .still-bottom h2 { font-size: 20px; }
  .photo-nav { gap: 5px; }
  #panoToast { top: calc(var(--bar) + 66px); }
}
@media (max-width: 365px) {
  .pano-icon.with-label { width: 39px; font-size: 0; gap: 0; padding: 0; }
}
@media (max-height: 540px) and (orientation: landscape) {
  :root { --bar: 42px; --gutter: 16px; }
  .screen-plans { display: grid; grid-template-columns: 160px 1fr; }
  .map-intro { display: flex; padding: 8px 16px; overflow: auto; }
  .map-intro h2 { margin: 6px 0 8px; font-size: 23px; }
  .level-list { display: block; }
  .level-btn { display: flex; gap: 10px; min-height: 31px; height: 6vh; }
  .level-no { min-width: 32px; font-size: 14px; } .level-name { font-size: 11px; }
  .map-help { display: none; }
  .map-content { padding: 7px 16px; }
  .plan-info { min-height: 46px; padding: 5px 10px; }
  .selection-info h3 { font-size: 15px; margin: 1px 0; }
  .selection-actions { flex-direction: row; }
  .plan-foot { padding-top: 4px; }
  .home-content h1 { margin-bottom: 14px; font-size: 34px; }
  .screen-home { grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 44px; padding-top: 8px; padding-bottom: 2px; }
  .enter-button { height: 46px; }
  .pano-back, .pano-map-toggle { top: 8px; }
  .pano-views, .pano-bottom-right { bottom: 9px; }
  .pano-caption { bottom: 66px; }
  .pano-mini-map { top: calc(var(--bar) + 8px); max-height: calc(100dvh - var(--bar) - 16px); }
}
@media (max-aspect-ratio: 1/1), (max-width: 840px) and (min-height: 541px) {
  .screen-home { grid-template-columns: 100%; grid-template-rows: auto auto auto auto; gap: 0; align-content: safe center; padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); }
  .home-content { display: contents; }
  .home-content h1 { grid-area: 1 / 1; margin: 0 0 clamp(16px, 3vh, 34px); font-size: clamp(40px, 8vw, 70px); }
  .hero-photo { grid-area: 2 / 1; aspect-ratio: 2048 / 1364; width: 100%; }
  .home-bottom { grid-area: 3 / 1; min-height: 50px; border-top: 0; }
  .enter-button { grid-area: 4 / 1; justify-self: start; margin-top: clamp(14px, 3vh, 38px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
