.stadium-page { height: 100vh; height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.map-header { display: flex; align-items: center; gap: 22px; min-height: 60px; padding: 6px clamp(12px,4vw,52px); }
.map-header h1 { font-size: clamp(17px,2.5vw,24px); margin: 0; }
.floor-choice { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.floor-choice select { max-width: 135px; padding: 8px; min-height: 44px; border: 1px solid var(--input-line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.stadium-stage { position: relative; flex: 1; min-height: 0; margin: 0; padding: 0; max-width: none; width: 100%; background: #f0f4f5; }
.location-map { padding: 0; width: min(1100px, 94vw); height: min(820px, 90dvh); max-width: 100%; max-height: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); overflow: hidden; }
.location-map[open] { display: flex; flex-direction: column; }
.location-map::backdrop { background: #071822a8; }
body:has(.location-map[open]) { overflow: hidden; }
.location-map #plan { cursor: crosshair; }
.location-map .map-tools { flex-wrap: wrap; }
.map-tools #choose-point { background: var(--accent); color: var(--on-accent); }
.map-room :empty { display: none; }
#plan { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#plan:active { cursor: grabbing; }
.map-room,.map-tools div,.map-status { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 14px #08223425; }
.map-room { position: absolute; top: 12px; left: 12px; max-width: min(420px,calc(100% - 24px)); padding: 10px 15px; display: grid; gap: 2px; pointer-events: none; }
.map-room strong { color: var(--link); }
.map-room span { font-size: 14px; overflow-wrap: anywhere; }
.map-room small { color: var(--muted); }
.map-tools { position: absolute; bottom: max(14px,env(safe-area-inset-bottom)); right: 14px; display: flex; gap: 8px; }
.map-tools div { display: flex; overflow: hidden; }
.map-tools button { font: inherit; font-weight: 600; background: var(--surface); color: var(--ink); border: 0; padding: 9px 14px; min-height: 44px; }
.map-tools button:hover { background: var(--hover); }
.map-tools button+button { border-left: 1px solid var(--line); }
.map-tools button:focus-visible { outline-offset: -3px; }
#more,#less { min-width: 44px; font-size: 22px; }
.map-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 9px 14px; margin: 0; max-width: 85%; }
@media(max-width:560px){
  .location-map { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .location-map .map-header { padding: 5px 8px; }
  .location-map .map-tools { display: grid; grid-template-columns: auto 1fr; gap: 6px; }
  .location-map .map-tools div:nth-child(2) { justify-self: end; }
  .location-map #choose-point { grid-column: 1 / -1; width: 100%; }
  .map-header { gap: 8px; min-height: 52px; flex-wrap: wrap; }
  .map-header .linkbtn,.floor-choice { font-size: 13px; }
  .floor-choice { gap: 3px; }
  .floor-choice select { max-width: 93px; }
  .map-tools { right: 8px; left: 8px; justify-content: space-between; gap: 4px; }
  .map-tools button { padding: 8px 10px; font-size: 14px; }
  .map-room { left: 8px; top: 8px; padding: 7px 10px; }
}
