@font-face {
  font-family: "Mluvka Venue Capacity";
  src: url("./assets/fonts/Mluvka-ExtraBoldItalic-BF65518ac8b0001.otf") format("opentype");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "A2 Gothic Light";
  src: url("./assets/fonts/A2Gothic-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

.venue-page .site-header,
.venue-page .background-layer,
.venue-page .watermark-layer,
.venue-page .skip-link,
.venue-page .prototype-shell,
.venue-page .panel-backdrop,
.venue-page .photo-lightbox,
.venue-page .back-to-top,
.venue-page .site-toast {
  --page: #090b0e; --surface: #111419; --surface-soft: #1d2229;
  --ink: #f4f4f2; --ink-soft: #b1b5bc; --ink-faint: #747b85;
  --line: rgb(255 255 255 / 11%); --line-strong: rgb(255 255 255 / 20%); --accent: #f1e5c7;
  --brand-red: var(--red); --brand-red-hover: var(--red-dark);
  --header-accent: #eb78e0;
  --venue-background-image: none;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --z-toolbar: 2; --z-backdrop: 20; --z-panel: 30; --z-watermark: 90; --z-lightbox: 100;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --body-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: var(--body-font);
  color: var(--ink);
  color-scheme: dark;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; }
body.venue-page { min-width: 320px; overflow-x: hidden; background: #090b0e; color: #f4f4f2; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
html.sheet-scroll-locked, body.sheet-scroll-locked { overflow: hidden; overscroll-behavior: none; }
html.lightbox-open, body.lightbox-open { overflow: hidden; overscroll-behavior: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: calc(var(--z-lightbox) + 1); padding: 10px 14px; color: var(--page); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.background-layer {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(7 9 12 / 76%), rgb(7 9 12 / 94%)), var(--venue-background-image), radial-gradient(circle at 50% 8%, #242a33 0, #0d1014 42%, #08090c 78%);
  background-position: center; background-size: cover;
}
button { font: inherit; }
[hidden] { display: none !important; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.prototype-shell { width: min(100%, 1680px); min-height: 100vh; margin: 0 auto; padding: 0 var(--space-8); }
.venue-page-topline { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); }
.venue-back-link { display: inline-flex; min-height: 44px; align-items: center; gap: var(--space-2); color: var(--ink-soft); font-size: .8125rem; font-weight: 650; }
.venue-back-link:hover, .venue-back-link:focus-visible { color: var(--ink); }
.venue-page-state { display: grid; min-height: calc(100dvh - 48px); place-content: center; justify-items: center; gap: var(--space-2); text-align: center; }
.venue-page-state strong { font-size: 1rem; }
.venue-page-state p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }
.venue-page-state button { min-height: 44px; margin-top: var(--space-3); padding: 0 var(--space-4); border: 0; border-radius: 999px; color: #fff; background: var(--brand-red); cursor: pointer; }
.venue-loading-indicator { width: 28px; height: 28px; margin-bottom: var(--space-2); border: 2px solid var(--line-strong); border-top-color: var(--header-accent); border-radius: 50%; animation: venue-spin 760ms linear infinite; }
.venue-page-state:not([data-state="loading"]) .venue-loading-indicator { display: none; }
[data-venue-detail][hidden] { display: none; }
@keyframes venue-spin { to { transform: rotate(360deg); } }
.venue-name-en, .venue-intro h1, .venue-instruction, .venue-facts,
.section-total, .interaction-hint, .panel-context, .eyebrow, .all-views-heading h2,
.all-views-heading p, .group-heading h3, .group-heading p { margin: 0; }
.venue-name-en, .eyebrow { color: var(--ink-faint); font-size: .6875rem; font-weight: 650; letter-spacing: .14em; }

.venue-intro { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: end; gap: clamp(var(--space-12), 8vw, 136px); padding: var(--space-12) 0 var(--space-8); border-bottom: 1px solid var(--line); }
.venue-name-en { display: inline-flex; min-height: 26px; align-items: center; margin-bottom: var(--space-2); padding: 3px 9px; border: 1px solid var(--red); border-radius: 999px; color: var(--red); font-family: "A2 Gothic Light", "A2 Gothic", var(--body-font); font-size: .75rem; font-weight: 300; letter-spacing: .12em; }
.venue-intro h1 { font-size: clamp(2rem, 3.4vw, 3.75rem); font-weight: 650; line-height: 1.02; letter-spacing: -.045em; }
.venue-instruction { max-width: 46ch; margin-top: var(--space-4); color: var(--red); font-size: .9375rem; line-height: 1.7; }
.venue-location { max-width: 62ch; margin: var(--space-2) 0 0; color: var(--ink-faint); font-size: .75rem; line-height: 1.6; }
.venue-basic-detail { padding: var(--space-12) 0; border-bottom: 1px solid var(--line); }
.venue-basic-detail-heading { max-width: 52ch; }
.venue-basic-detail-heading h2 { margin: var(--space-2) 0; font-size: 1.5rem; }
.venue-basic-detail-heading p:last-child { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.venue-basic-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); margin-top: var(--space-8); }
.venue-basic-media-grid h3 { margin: 0 0 var(--space-3); font-size: 1rem; }
.venue-basic-media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); }
.venue-basic-media-list img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.venue-basic-empty { margin: 0; color: var(--ink-faint); font-size: .875rem; }
.venue-facts { display: flex; align-self: center; justify-content: flex-end; padding-right: clamp(var(--space-2), 2vw, var(--space-8)); }
.capacity-fact { width: max-content; }
.capacity-fact dd { display: grid; grid-template-areas: "label" "mark"; align-items: baseline; justify-content: end; row-gap: var(--space-1); margin: 0; white-space: nowrap; }
.capacity-mark { grid-area: mark; color: var(--red); font-family: "Mluvka Venue Capacity", "Bahnschrift SemiCondensed", "Aptos Narrow", "Segoe UI", sans-serif; font-size: 2.75rem; font-style: italic; font-stretch: condensed; font-weight: 800; line-height: .95; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.capacity-mark strong { font: inherit; }
#venueCapacityLabel { grid-area: label; justify-self: end; color: var(--ink-faint); font-size: .75rem; line-height: 1.4; }
.capacity-context { font-family: var(--body-font); font-size: .8em; font-style: normal; font-weight: 400; letter-spacing: 0; }
.venue-map-empty-state { min-height: 22rem; display: grid; place-items: center; color: var(--ink-faint); letter-spacing: .04em; }
.venue-map-empty-state p { margin: 0; }

.venue-workspace { padding-top: var(--space-6); }
.map-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-3); }
.filter-group { display: inline-flex; gap: var(--space-1); padding: var(--space-1); border: 1px solid var(--line); border-radius: 999px; background: rgb(10 12 15 / 64%); }
.filter-button, .gallery-toggle, .text-button, .icon-button { min-height: 44px; border: 0; color: var(--ink-soft); background: transparent; cursor: pointer; }
.filter-button { padding: 0 var(--space-4); border-radius: 999px; color: var(--ink); font-size: .875rem; font-weight: 650; }
.filter-button:hover { color: var(--ink); background: var(--surface-soft); }
.filter-button.is-active { color: #fff; background: var(--brand-red); }
.filter-button.is-active:hover { background: var(--brand-red-hover); }
.gallery-toggle { padding: 0 var(--space-4); border-radius: 999px; color: #fff; font-size: .8125rem; font-weight: 650; background: var(--brand-red); }
.gallery-toggle:hover { color: #fff; background: var(--brand-red-hover); }

.venue-canvas { position: relative; display: grid; min-height: 620px; height: 70vh; height: clamp(620px, 70dvh, 860px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgb(12 15 19 / 72%); }
.map-toolbar { position: absolute; top: var(--space-4); left: var(--space-4); z-index: var(--z-toolbar); display: flex; align-items: center; gap: var(--space-3); }
.interaction-hint, .section-total { min-height: 36px; padding: var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .75rem; line-height: 18px; background: rgb(13 16 20 / 88%); }
.section-total { color: var(--ink-faint); }
.section-total strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.text-button { min-width: 44px; padding: 0 var(--space-3); color: var(--ink-soft); font-size: .75rem; }
.text-button:hover { color: var(--ink); }
.text-button:disabled { color: var(--ink-faint); cursor: default; opacity: .55; }
.venue-svg { display: block; align-self: center; width: 100%; height: 100%; padding: var(--space-8) var(--space-6) var(--space-3); cursor: grab; touch-action: pan-y; user-select: none; }
.canvas-brandmark { position: absolute; right: var(--space-4); bottom: var(--space-3); z-index: var(--z-toolbar); margin: 0; color: rgb(255 255 255 / 30%); font-size: .625rem; font-weight: 650; letter-spacing: .14em; pointer-events: none; }
.venue-svg [data-section-id] { outline: none; cursor: pointer; transform-box: fill-box; transform-origin: center; transition: filter 160ms var(--ease-out), opacity 160ms ease; }
.venue-svg [data-section-id][data-has-photos="false"] { cursor: default; }
.venue-svg [data-section-id][data-has-photos="false"]:hover,
.venue-svg [data-section-id][data-has-photos="false"]:focus-visible { filter: brightness(1.08) saturate(1.08); }
.venue-svg [data-section-id][data-has-photos="true"]:hover,
.venue-svg [data-section-id][data-has-photos="true"]:focus-visible { filter: brightness(1.12) saturate(1.16); }
.venue-svg.is-panning,
.venue-svg.is-panning [data-section-id] { cursor: grabbing; }
.venue-svg.is-panning [data-section-id], .venue-svg.is-panning [data-aux-region] { transition: none !important; }
.venue-svg [data-aux-region] { transition: filter 160ms var(--ease-out), opacity 160ms ease; }
body.photos-only .venue-svg [data-section-id][data-has-photos="false"],
body.photos-only .venue-svg [data-aux-region] { opacity: .34; filter: grayscale(1) saturate(.08) brightness(.62); pointer-events: none; cursor: default; }
body.panel-open .venue-svg [data-section-id],
body.panel-open .venue-svg [data-aux-region] { opacity: .3; filter: grayscale(.92) saturate(.12) brightness(.64); }
body.panel-open .venue-svg [data-section-number="STAGE"] { opacity: .48; filter: grayscale(.82) saturate(.2) brightness(.76); }
body.panel-open .venue-svg [data-section-id].is-selected { opacity: 1; filter: brightness(1.4) saturate(1.5) contrast(1.06); }

.loading-state { display: flex; align-self: center; justify-self: center; flex-direction: column; align-items: center; gap: var(--space-3); color: var(--ink-faint); font-size: .875rem; }
.loading-line { width: 96px; height: 2px; overflow: hidden; background: var(--line-strong); }
.loading-line::after { display: block; width: 40%; height: 100%; content: ""; background: var(--accent); animation: loading 900ms ease-in-out infinite alternate; }
@keyframes loading { to { transform: translateX(145%); } }

.panel-backdrop { position: fixed; inset: 0; z-index: var(--z-backdrop); visibility: hidden; border: 0; opacity: 0; pointer-events: none; background: rgb(0 0 0 / 46%); transition: opacity 180ms ease, visibility 180ms; }
.view-panel { position: absolute; right: var(--space-6); bottom: var(--space-6); z-index: var(--z-panel); display: flex; flex-direction: column; width: min(380px, calc(100% - var(--space-12))); max-height: min(60vh, 620px); overflow: hidden; visibility: hidden; border: 1px solid var(--line-strong); border-radius: 12px; opacity: 0; background: rgb(18 21 26 / 96%); transform: translateY(var(--space-3)); pointer-events: none; transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 180ms; }
body.panel-open .view-panel { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.sheet-handle { display: none; }
.panel-header { position: sticky; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); padding: var(--space-6); border-bottom: 1px solid var(--line); background: var(--surface); }
.panel-context { margin-bottom: var(--space-2); color: var(--ink-faint); font-size: .75rem; }
.panel-header h2 { margin: 0; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.035em; }
.icon-button { display: grid; flex: 0 0 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.icon-button:hover { color: var(--ink); background: var(--surface-soft); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.panel-body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-6); -webkit-overflow-scrolling: touch; }
.view-gallery { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }

.photo-card { display: grid; gap: var(--space-3); width: 100%; margin: 0; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; }
.photo-card-button { cursor: pointer; }
.photo-placeholder { position: relative; display: flex; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; padding: var(--space-4); flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; color: inherit; font: inherit; text-align: left; background: linear-gradient(135deg, rgb(255 255 255 / 5%), transparent 45%), var(--surface-soft); }
.photo-placeholder > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.photo-lightbox-trigger { cursor: zoom-in; }
.photo-lightbox-trigger:hover { border-color: var(--line-strong); }
.photo-card-button:hover .photo-placeholder { border-color: var(--line-strong); background-color: #242a31; }
.photo-number, .photo-disclosure { color: var(--ink-faint); font-size: .6875rem; letter-spacing: .08em; }
.photo-caption { display: grid; gap: var(--space-1); }
.photo-caption strong { font-size: .875rem; font-weight: 600; }
.photo-caption span { color: var(--ink-faint); font-size: .75rem; line-height: 1.6; }
.empty-view-state { display: grid; gap: var(--space-2); min-height: 180px; align-content: center; padding: var(--space-8) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-view-state strong { font-size: 1rem; font-weight: 600; }
.empty-view-state p { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.location-map { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.location-map-label { color: var(--ink-soft); font-size: .75rem; }
.location-map-frame { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #0c0f13; }
.location-map-trigger { display: block; width: 100%; padding: 0; border: 1px solid transparent; color: inherit; background: transparent; cursor: pointer; }
.location-map-trigger:hover, .location-map-trigger:focus-visible { border-color: var(--red); }
.location-map-svg { display: block; width: 100%; height: 100%; padding: var(--space-2); pointer-events: none; }
.location-map-svg [data-section-id] { opacity: .2; filter: grayscale(1) saturate(0) brightness(.58); }
.location-map-svg [data-section-id].is-location-target { opacity: 1; filter: brightness(1.58) saturate(1.7) contrast(1.08) drop-shadow(0 0 2px rgb(241 229 199 / 28%)); }
.location-map-svg [data-aux-region] { opacity: .2; filter: grayscale(1) saturate(0) brightness(.58); }

.all-views { padding: var(--space-16) 0; scroll-margin-top: var(--space-6); }
.all-views-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: end; gap: var(--space-12); padding-bottom: var(--space-8); border-bottom: 1px solid var(--line); }
.eyebrow { margin-bottom: var(--space-2); }
.all-views-heading h2 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); letter-spacing: -.035em; }
.all-views-heading > p { color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }
.all-views-groups { display: grid; }
.all-views-group { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-8); padding: var(--space-12) 0; border-bottom: 1px solid var(--line); }
.group-heading h3 { font-size: 1.25rem; }
.group-heading p { margin-top: var(--space-2); color: var(--ink-faint); font-size: .75rem; }
.all-views-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 320px)); gap: var(--space-8); }
.error-state { align-self: center; justify-self: center; max-width: 520px; padding: var(--space-8); color: var(--ink-soft); line-height: 1.7; text-align: center; }

.back-to-top { position: fixed; right: max(var(--space-6), env(safe-area-inset-right)); bottom: max(var(--space-6), env(safe-area-inset-bottom)); z-index: var(--z-toolbar); display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-soft); background: rgb(17 20 25 / 94%); box-shadow: 0 4px 8px rgb(0 0 0 / 22%); cursor: pointer; opacity: 0; translate: 0 8px; transition: opacity 160ms ease, translate 160ms var(--ease-out), color 160ms ease, border-color 160ms ease; }
.back-to-top:not([hidden]) { opacity: 1; translate: 0 0; }
.back-to-top:hover, .back-to-top:focus-visible { color: var(--ink); border-color: var(--accent); }
.back-to-top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.photo-lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; color: var(--ink); background: rgb(3 4 6 / 97%); }
.lightbox-stage { display: grid; min-width: 0; min-height: 0; place-items: center; padding: max(72px, env(safe-area-inset-top)) clamp(54px, 6vw, 96px) var(--space-4); }
.lightbox-viewport { display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: none; user-select: none; }
.lightbox-viewport.is-zoomed { cursor: grab; }
.lightbox-viewport.is-zoomed:active { cursor: grabbing; }
.lightbox-media { position: relative; display: grid; max-width: 100%; max-height: 100%; grid-template: 1fr / 1fr; place-items: stretch; transform-origin: center; will-change: transform; }
.lightbox-media > img { display: block; grid-area: 1 / 1; max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; pointer-events: none; user-select: none; }
.lightbox-watermark { z-index: 1; display: grid; grid-area: 1 / 1; place-items: center; overflow: hidden; pointer-events: none; }
.lightbox-watermark span { position: absolute; color: rgb(255 255 255 / 10%); font-size: clamp(.625rem, 1.2vw, .8125rem); font-weight: 650; letter-spacing: .12em; white-space: nowrap; transform: rotate(-24deg); }
.lightbox-watermark span:first-child { translate: -28% -34%; }
.lightbox-watermark span:last-child { translate: 28% 34%; }
.lightbox-close, .lightbox-nav, .lightbox-tools button { border: 1px solid var(--line-strong); color: var(--ink-soft); background: rgb(15 17 21 / 82%); cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover, .lightbox-tools button:hover { color: var(--ink); border-color: rgb(255 255 255 / 32%); }
.lightbox-close { position: absolute; top: max(var(--space-4), env(safe-area-inset-top)); right: max(var(--space-4), env(safe-area-inset-right)); z-index: 3; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 56px; border-radius: 999px; font-size: 2rem; line-height: 1; transform: translateY(-50%); }
.lightbox-nav-previous { left: max(var(--space-4), env(safe-area-inset-left)); }
.lightbox-nav-next { right: max(var(--space-4), env(safe-area-inset-right)); }
.lightbox-footer { z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 78px; padding: var(--space-3) max(var(--space-6), env(safe-area-inset-right)) max(var(--space-3), env(safe-area-inset-bottom)) max(var(--space-6), env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgb(7 8 11 / 92%); }
.lightbox-meta { display: flex; align-items: baseline; gap: var(--space-3); min-width: 0; }
.lightbox-meta strong { font-size: .9375rem; font-weight: 650; }
.lightbox-meta span { overflow: hidden; color: var(--ink-faint); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-tools { display: flex; flex: 0 0 auto; gap: var(--space-2); }
.lightbox-tools button { min-width: 44px; min-height: 40px; padding: 0 var(--space-3); border-radius: 999px; font-size: .75rem; }
.lightbox-tools button:disabled { cursor: default; opacity: .38; }

@media (max-width: 1199px) {
  .prototype-shell { padding-right: var(--space-6); padding-left: var(--space-6); }
  .view-panel { position: fixed; top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(76vh, 680px); max-height: min(76svh, 680px); max-height: min(76dvh, 680px); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 12px 12px 0 0; transform: translateY(100%); }
  body.panel-open .view-panel { transform: translateY(0); }
  body.panel-open .panel-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }
  .sheet-handle { display: block; width: 40px; height: 4px; margin: var(--space-2) auto 0; border-radius: 999px; background: var(--line-strong); }
  .sheet-handle { height: 28px; padding: var(--space-3) 0; background-clip: content-box; cursor: grab; touch-action: none; }
  .view-panel.is-dragging { transition: none; }
}

@media (max-width: 760px) {
  .prototype-shell { padding-right: max(var(--space-4), env(safe-area-inset-right)); padding-bottom: max(var(--space-8), env(safe-area-inset-bottom)); padding-left: max(var(--space-4), env(safe-area-inset-left)); }
  .venue-page-topline { min-height: 44px; }
  .venue-intro { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-4); padding: var(--space-6) 0 var(--space-4); }
  .venue-identity { min-width: 0; }
  .venue-facts { align-self: end; padding-right: 0; }
  .capacity-fact { width: auto; min-width: 0; }
  .capacity-fact dd { display: flex; align-items: baseline; gap: 6px; }
  .capacity-mark { font-size: 2rem; }
  #venueCapacityLabel { font-size: .6875rem; }
  .venue-intro h1 { font-size: 2rem; }
  .venue-instruction { display: none; }
  .venue-workspace { padding-top: var(--space-4); }
  .map-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
  .filter-group { display: flex; min-width: 0; gap: 2px; padding: 2px; }
  .filter-button { flex: 1 1 auto; min-width: 0; padding: 0 10px; font-size: .75rem; white-space: nowrap; }
  .gallery-toggle { min-height: 44px; padding: 0 12px; font-size: .75rem; white-space: nowrap; }
  .venue-canvas { min-height: 500px; height: 64vh; height: 64svh; height: 64dvh; border-right: 0; border-left: 0; border-radius: 0; }
  .map-toolbar { top: var(--space-3); right: var(--space-3); left: var(--space-3); flex-wrap: wrap; gap: var(--space-2); }
  .interaction-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .section-total { order: 3; }
  .venue-svg { padding: var(--space-16) 0 var(--space-2); }
  .panel-header, .panel-body { padding: var(--space-4); }
  .all-views { padding: var(--space-12) 0; }
  .all-views-heading, .all-views-group { grid-template-columns: 1fr; gap: var(--space-6); }
  .all-views-group { min-width: 0; overflow: hidden; }
  .all-views-grid { display: flex; width: 100%; max-width: 100%; gap: var(--space-4); overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: var(--space-2); scroll-padding-inline: 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .all-views-grid .photo-card-button { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
  .canvas-brandmark { right: var(--space-3); bottom: var(--space-2); }
  .lightbox-stage { padding: max(64px, env(safe-area-inset-top)) var(--space-3) var(--space-2); }
  .lightbox-media > img { max-height: calc(100dvh - 150px); }
  .lightbox-nav { top: auto; bottom: calc(74px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
  .lightbox-footer { min-height: 68px; padding-right: max(var(--space-3), env(safe-area-inset-right)); padding-left: max(var(--space-3), env(safe-area-inset-left)); }
  .lightbox-tools { gap: var(--space-1); }
  .lightbox-tools button { min-width: 40px; min-height: 40px; padding: 0 10px; }
}

@media (max-width: 360px) {
  .prototype-shell { padding-right: max(var(--space-3), env(safe-area-inset-right)); padding-left: max(var(--space-3), env(safe-area-inset-left)); }
  .venue-intro { gap: var(--space-3); }
  .venue-intro h1 { font-size: 1.75rem; }
  .capacity-fact { min-width: 0; }
  .capacity-mark { font-size: 1.75rem; }
  .map-actions { gap: var(--space-1); }
  .filter-button { padding: 0 7px; }
  .gallery-toggle { padding: 0 9px; }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 1199px) {
    .view-panel { max-height: min(76svh, calc(100dvh - env(safe-area-inset-top) - var(--space-3))); }
    .panel-body { padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
  }
}

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

.venue-golden-page .site-header { position: relative; z-index: 5; }
.venue-golden-page .prototype-shell { min-height: calc(100vh - 78px); }
.venue-identity { position: relative; }
.venue-title-trigger { display: inline-flex; max-width: 100%; align-items: baseline; gap: 12px; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.venue-title-trigger span { overflow-wrap: anywhere; }
.venue-title-trigger svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .62; transition: transform 180ms var(--ease-out), opacity 180ms ease; }
.venue-title-trigger:hover svg, .venue-title-trigger:focus-visible svg { opacity: 1; transform: translateY(2px); }
.venue-title-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
.venue-picker-panel { position: absolute; top: calc(100% - 24px); left: 0; z-index: 8; display: grid; width: min(420px, calc(100vw - 48px)); max-height: min(720px, calc(100dvh - 96px)); gap: var(--space-3); overflow: auto; padding: var(--space-4); border: 1px solid var(--line-strong); border-radius: 10px; background: rgb(17 20 25 / 98%); box-shadow: 0 4px 8px rgb(0 0 0 / 22%); }
.venue-picker-panel .venue-selector-list { min-height: 0; max-height: none; overflow-y: auto; }
.venue-picker-search { position: relative; display: flex; align-items: center; }
.venue-picker-search > svg { position: absolute; left: 12px; width: 17px; height: 17px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; pointer-events: none; }
.venue-picker-search input { width: 100%; min-height: 44px; padding: 0 42px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface-soft); }
.venue-picker-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.venue-picker-search button { position: absolute; right: 5px; min-width: 34px; min-height: 34px; border: 0; color: var(--ink-faint); background: transparent; cursor: pointer; }
.venue-picker-result { min-height: 18px; color: var(--ink-faint); font-size: .75rem; }
.venue-region-filters { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 2px 0; border-bottom: 1px solid var(--line); }
.venue-region-filter { min-height: 36px; padding: 0 2px; border: 0; border-bottom: 1px solid transparent; color: var(--ink-faint); background: transparent; font-size: .75rem; cursor: pointer; }
.venue-region-filter:hover, .venue-region-filter:focus-visible { color: var(--ink); }
.venue-region-filter[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.venue-explorer-bar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); margin: var(--space-4) 0 var(--space-3); padding: 10px 14px; border-block: 1px solid var(--line); }
.venue-explorer-current { min-width: 0; }
.venue-explorer-current .eyebrow { margin: 0 0 3px; }
.venue-explorer-current > p:last-child { margin: 0; overflow: hidden; color: var(--ink); font-size: .875rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.venue-explorer-bar .venue-selector-toggle { width: auto; min-width: 132px; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.venue-explorer-bar .venue-selector-panel { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 5; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
.map-actions .region-search-row { flex: 1 1 280px; grid-template-columns: minmax(180px, 320px); margin: 0; }
.map-actions .region-search-field { width: 100%; }
.venue-selector { margin: 0 0 var(--space-3); border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--surface) 90%, transparent); }
.venue-selector-toggle { width: 100%; min-height: 44px; padding: 0 var(--space-4); border: 0; color: var(--ink-soft); background: transparent; font-size: .8125rem; text-align: left; cursor: pointer; }
.venue-selector-toggle::after { float: right; content: "＋"; }
.venue-selector-toggle[aria-expanded="true"]::after { content: "－"; }
.venue-selector-panel { display: grid; gap: var(--space-3); padding: 0 var(--space-4) var(--space-4); }
.venue-selector-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); }
.venue-selector-heading h2 { margin: 0; font-size: 1.1rem; }
.venue-selector-heading > span { color: var(--ink-faint); font-size: .75rem; }
.venue-selector-panel .venue-search-field { color: var(--ink-faint); font-size: .75rem; }
.venue-selector-panel .venue-search-field input, .region-search-field input { min-height: 42px; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface-soft); }
.venue-selector-list { display: grid; max-height: 190px; margin: 0; padding: 0; overflow: auto; border-top: 1px solid var(--line); list-style: none; }
.venue-selector-list a { display: block; padding: 10px var(--space-2); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .8125rem; }
.venue-selector-list a:hover, .venue-selector-list a:focus-visible, .venue-selector-list a.is-current { color: var(--accent); background: var(--surface-soft); }
.venue-city-group { list-style: none; }
.venue-city-group + .venue-city-group { border-top: 1px solid var(--line); }
.venue-city-heading { margin: 0; padding: 12px var(--space-2) 6px; color: var(--ink-faint); font-size: .6875rem; font-weight: 650; letter-spacing: .08em; }
.venue-city-items { margin: 0; padding: 0; list-style: none; }
.venue-selector-empty, .region-search-empty { margin: 0; color: var(--ink-faint); font-size: .75rem; }
.region-search-row { position: relative; display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); align-items: end; gap: var(--space-3); margin: 0 0 var(--space-3); }
.region-search-field { position: relative; display: flex; min-width: 0; align-items: center; }
.region-search-field > svg { position: absolute; left: 12px; width: 17px; height: 17px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; pointer-events: none; }
.region-search-field input { width: 100%; padding-left: 38px; }
.region-search-candidates { position: absolute; top: calc(100% - 2px); left: 0; z-index: 4; width: min(320px, 100%); margin: 0; padding: 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); list-style: none; }
.region-search-candidates button { width: 100%; min-height: 40px; padding: 0 10px; border: 0; color: var(--ink-soft); background: transparent; text-align: left; cursor: pointer; }
.region-search-candidates button:hover, .region-search-candidates button:focus-visible { color: var(--ink); background: var(--surface-soft); }
@media (max-width: 760px) { .region-search-row { grid-template-columns: 1fr; } .venue-picker-panel .venue-region-filters { overflow-x: auto; flex-wrap: nowrap; } }
@media (max-width: 760px) { .map-actions { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); } .map-actions .region-search-row { grid-column: 1 / -1; } }
@media (max-width: 760px) { .venue-picker-panel { position: fixed; top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(76dvh, 620px); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 12px 12px 0 0; padding-bottom: max(var(--space-6), env(safe-area-inset-bottom)); } .venue-title-trigger { gap: 8px; } .venue-title-trigger svg { flex-basis: 18px; width: 18px; height: 18px; } }
@media (min-width: 761px) { .venue-picker-panel { max-height: min(70vh, 680px); grid-template-rows: auto auto auto minmax(0, 1fr); overflow: hidden; } }
@media (max-width: 760px) { .back-to-top { right: max(var(--space-4), env(safe-area-inset-right)); bottom: max(var(--space-4), env(safe-area-inset-bottom)); } }

/* Venue is a deliberately fixed dark surface, independent of the public-site theme. */
.venue-page {
  background: #090b0e;
  color: #f4f4f2;
}

.venue-page .site-header,
.venue-page .prototype-shell,
.venue-page .panel-backdrop,
.venue-page .photo-lightbox,
.venue-page .back-to-top,
.venue-page .watermark-layer {
  color-scheme: dark;
}

html[data-theme="light"] body.venue-page {
  background: #090b0e;
  color: #f4f4f2;
}

html[data-theme="light"] .venue-page .site-header {
  border-bottom-color: transparent;
  background: rgba(5, 5, 5, 0.76);
  box-shadow: none;
}

html[data-theme="light"] .venue-page .site-nav a,
html[data-theme="light"] .venue-page .venue-back-link,
html[data-theme="light"] .venue-page .venue-selector-list a {
  color: var(--ink-soft);
}

html[data-theme="light"] .venue-page .site-nav a:hover,
html[data-theme="light"] .venue-page .site-nav a.is-active,
html[data-theme="light"] .venue-page .venue-back-link:hover,
html[data-theme="light"] .venue-page .venue-back-link:focus-visible {
  color: var(--ink);
}

/* Keep the accepted desktop overlay and mobile sheet geometry stable under theme rules. */
.venue-page .venue-picker-panel {
  width: min(420px, calc(100vw - 48px));
  max-height: min(70vh, 680px);
  overflow: hidden;
}

.venue-page .venue-picker-panel .venue-selector-list {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

@media (max-width: 760px) {
  .venue-page .venue-intro { grid-template-columns: minmax(0, 1fr) minmax(72px, max-content); gap: 6px; }
  .venue-page .venue-intro h1 { font-size: clamp(1.1rem, 4.5vw, 1.35rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
  .venue-page .capacity-fact dd { gap: 4px; }
  .venue-page .capacity-mark { font-size: clamp(1.125rem, 5vw, 1.25rem); line-height: .95; }
  .venue-page #venueCapacityLabel { font-size: .625rem; line-height: 1.3; }
  .venue-page .map-actions { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 6px; }
  .venue-page .map-actions .filter-group { grid-row: 1; grid-column: 1; min-width: 0; }
  .venue-page .map-actions .gallery-toggle { grid-row: 1; grid-column: 2; min-width: 0; padding-inline: 8px; font-size: .6875rem; }
  .venue-page .map-actions .region-search-row { grid-row: 2; grid-column: 1 / -1; }
  .venue-page .filter-button { padding-inline: 10px; font-size: .875rem; white-space: nowrap; }
}

@media (max-width: 760px) {
  .venue-intro h1 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-wrap: pretty;
  }

  .venue-title-trigger span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .all-views-grid .photo-card {
    flex: 0 0 min(70vw, 280px);
    width: min(70vw, 280px);
    min-width: min(70vw, 280px);
    scroll-snap-align: start;
  }

  .all-views-grid .photo-caption strong,
  .all-views-grid .photo-caption span {
    overflow-wrap: break-word;
    word-break: normal;
  }
}

@media (max-width: 760px) {
  .venue-page .venue-picker-panel {
    width: 100%;
    max-height: min(76dvh, 620px);
    overflow: hidden;
  }
}
