/* Stadium controls and the seat menu share one live canvas. ID-scoped styles
   continue to work when the fullscreen fallback moves the viewer into body. */
.arena-workspace{display:block;grid-template-columns:minmax(0,1fr)}
.arena-workspace .viewer-column{width:100%;min-width:0}
#stadiumViewer{
  --stadium-left:max(16px,env(safe-area-inset-left,0px));--stadium-right:max(16px,env(safe-area-inset-right,0px));
  --stadium-top:max(16px,env(safe-area-inset-top,0px));--stadium-bottom:max(15px,env(safe-area-inset-bottom,0px));
  --stadium-glass:linear-gradient(132deg,#f5fcff20,#e6f2ff06 45%,#b9d5ec18),#07142150;
  --stadium-menu:linear-gradient(145deg,#daeaff12,#09172308),#0c1924bd;
  position:relative;isolation:isolate;flex:none;width:100%;height:clamp(620px,76vh,850px);min-height:620px;
  overflow:hidden;background:#10212e;border:1px solid #e5f6ff80;border-radius:27px;
  box-shadow:0 24px 65px #0004,0 1px 1px #effbff55,inset 0 1px #fff8;color:#f4f8fb;
}
#stadiumViewer>canvas{display:block;position:absolute;inset:0;width:100%;height:100%;border-radius:inherit}
#stadiumViewer::after{content:"";position:absolute;inset:0;z-index:9;pointer-events:none;border:3px solid #ffffff08;border-radius:inherit;box-shadow:inset 0 2px 1px #fff5,inset 2px 0 3px #cdeaff30,inset -2px -2px 2px #b5dafc40}
#stadiumViewer[data-lighting="day"]{--stadium-glass:linear-gradient(132deg,#ffffff17,#ffffff03 50%,#dbe8f510),#111a25cf;--stadium-menu:linear-gradient(145deg,#ffffff0e,#09101806),#111b27e6}
#stadiumViewer[data-lighting="twilight"]{--stadium-glass:linear-gradient(132deg,#e9f3ff20,#dae7ff06 50%,#adc2e518),#1521328c;--stadium-menu:linear-gradient(145deg,#e9f3ff14,#0b172606),#132135d1}
#stadiumViewer .liquid-panel,#stadiumViewer #seatPanel{
  border:1px solid #e3f4ff6b;background:var(--stadium-glass);color:#f2f8ff;
  box-shadow:inset 0 1px #fff9,inset 1px 0 #ffffff38,inset 0 -1px #d3ebff3c,0 7px 24px #00101b3b;
  -webkit-backdrop-filter:blur(7px) saturate(1.15);backdrop-filter:blur(7px) saturate(1.15);text-shadow:0 1px 3px #00101d80;
}
@media(hover:hover) and (pointer:fine){@supports(backdrop-filter:url("#a")){#stadiumViewer .liquid-panel{backdrop-filter:var(--glass-refraction,blur(3px)) blur(3px) saturate(1.15)}}}
#stadiumViewer .view-tabs{position:absolute;top:var(--stadium-top);left:var(--stadium-left);right:82px;max-width:fit-content;display:flex;flex-wrap:wrap;gap:4px;padding:5px;border-radius:19px;z-index:5}
#stadiumViewer .view-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;padding:10px 13px;border:1px solid transparent;border-radius:13px;color:#f1f7fc;background:transparent;font-size:11px;line-height:1.35;white-space:normal;text-shadow:0 1px 3px #07192d70}
#stadiumViewer .view-tabs button svg{width:16px;height:16px}
#stadiumViewer .view-tabs button.is-active,#stadiumViewer .view-tabs button[aria-pressed="true"],#stadiumViewer #seatPanelToggle[aria-expanded="true"]{color:#fff;border-color:#f0faff85;background:linear-gradient(145deg,#ffffff40,#e9f7ff18);box-shadow:inset 0 1px #ffffffb0,0 2px 5px #00132624}
#stadiumViewer button:focus-visible,#stadiumViewer select:focus-visible,#stadiumViewer input:focus-visible{outline:2px solid #e5f6ff;outline-offset:3px}
#stadiumViewer .view-tools{position:absolute;display:flex;flex-direction:column;top:var(--stadium-top);right:var(--stadium-right);z-index:5;padding:5px;gap:4px;border-radius:21px}
#stadiumViewer .icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border:1px solid #e7f5ff4a;border-radius:14px;background:linear-gradient(145deg,#ffffff25,#e0f3ff09);box-shadow:inset 0 1px #ffffff4d,inset 0 -1px #00000016;color:#f5faff;-webkit-backdrop-filter:none;backdrop-filter:none}
#stadiumViewer .icon-button svg{width:19px;height:19px}
#stadiumViewer .icon-button:hover:not(:disabled){background:linear-gradient(145deg,#ffffff42,#e0f3ff1b);border-color:#f1faff90}
#stadiumViewer .icon-button[aria-pressed="true"]{background:linear-gradient(145deg,#ffffff50,#d4eaff20);border-color:#ffffffa6}
#stadiumViewer #seatPanel{position:absolute;z-index:6;left:var(--stadium-left);top:calc(var(--stadium-top) + 70px);bottom:164px;width:320px;max-width:calc(100% - 94px);max-height:none;display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:22px;background:var(--stadium-menu);text-shadow:none}
#seatPanel[hidden]{display:none!important}
#stadiumViewer .seat-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex:none;padding:15px 13px 12px 17px;border-bottom:1px solid #e4f4ff22;background:linear-gradient(135deg,#ffffff0d,#ffffff02)}
#stadiumViewer .seat-panel-header>div{min-width:0;flex:1}
#stadiumViewer .panel-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#stadiumViewer .panel-top .sub-label{font-size:8px;letter-spacing:.1em;color:#d4e2ec}
#stadiumViewer .catalog-badge{font-size:7px;padding:4px 6px;color:#dfedf5;background:#ffffff08;line-height:1.2}
#stadiumViewer #seatPanel h3{font-size:22px;line-height:1.15;letter-spacing:-.035em;margin:9px 0 0;color:#f7fbff}
#stadiumViewer #seatPanelClose{width:38px;height:38px;border-radius:12px}
#stadiumViewer .seat-panel-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bed8e66b transparent;padding:15px 17px 18px;-webkit-overflow-scrolling:touch}
#stadiumViewer #seatPanel::before{display:none}
#stadiumViewer .seat-search label{font-size:10px;line-height:1.5;margin-bottom:7px;color:#dbe8f1}
#stadiumViewer .seat-search p{font-size:9px;line-height:1.5;margin:8px 0;color:#c3d2df}
#stadiumViewer .search-input-wrap{background:#0a152b4d;border:1px solid #dcefff48;border-radius:13px;padding:3px}
#stadiumViewer .search-input-wrap input{font-size:16px;color:#fff;padding:8px}
#stadiumViewer .search-input-wrap input::placeholder{color:#bdcbd8;font-size:12px}
#stadiumViewer .search-input-wrap button{width:40px;min-height:40px;border-radius:10px}
#stadiumViewer .search-message{font-size:10px;color:#e9f2f9;margin:10px 0;line-height:1.5}
#stadiumViewer .search-message:empty{display:none}
#stadiumViewer .search-results{max-height:180px;overflow:auto;background:#0b17296b}
#stadiumViewer .panel-divider{font-size:8px;color:#c0d1df;margin:14px 0}
#stadiumViewer .vip-shortcuts{gap:6px;margin-bottom:15px}
#stadiumViewer .vip-shortcuts button{min-height:42px;padding:8px 6px;font-size:10px;border-radius:11px;color:#eef5fb;background:linear-gradient(145deg,#ffffff16,#d9f0ff04);border-color:#e8f4ff38;box-shadow:inset 0 1px #ffffff27}
#stadiumViewer .vip-shortcuts button span{font-size:8px;margin-top:3px;color:#c8d9e6}
#stadiumViewer .vip-shortcuts button[aria-pressed="true"]{background:linear-gradient(145deg,#ffffff35,#d1e9fc15);border-color:#f1faff99;color:#fff}
#stadiumViewer .vip-shortcuts #vvipViewButton{grid-column:1/-1;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:2px;min-height:55px;padding:10px 13px;text-align:left}
#stadiumViewer .vip-shortcuts #vvipViewButton svg{grid-row:1/3;width:19px;height:19px}
#stadiumViewer .vip-shortcuts #vvipViewButton strong{font:inherit;font-weight:500}
#stadiumViewer .vip-shortcuts #vvipViewButton small{font-size:9px;font-weight:400;line-height:1.4;color:#b7cddd}
#stadiumViewer .vip-shortcuts #vvipViewButton:disabled{opacity:.45;cursor:wait}
#stadiumViewer .locator-fields{grid-template-columns:minmax(0,1fr) 86px;gap:9px;margin-bottom:14px}
#stadiumViewer .locator-fields .field-label{font-size:8px;color:#cbdde9;margin-bottom:6px}
#stadiumViewer .seat-panel select{width:100%;min-height:42px;padding:9px;border:1px solid #e2f4ff42;border-radius:11px;background:#08172d42;color:#f5faff;font-size:13px}
#stadiumViewer .seat-panel select option,#stadiumViewer .seat-panel select optgroup{background:#172737;color:#fff}
#stadiumViewer .seat-empty{padding:13px 10px;background:#ffffff05;border:1px solid #ffffff18;border-radius:13px}
#stadiumViewer .seat-empty-icon{display:none}
#stadiumViewer .seat-empty strong{font-size:12px;color:#eaf4fc}
#stadiumViewer .seat-empty p{font-size:10px;line-height:1.5;margin-bottom:0;color:#c3d4e1}
#stadiumViewer .row-heading{font-size:10px;margin-bottom:9px;color:#e9f3fa}
#stadiumViewer .row-heading span:last-child{color:#c6d7e5;font-size:9px}
#stadiumViewer .seat-map{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-height:none;overflow:visible;padding:3px}
#stadiumViewer .seat-button{height:37px;min-width:0;font-size:11px}
#stadiumViewer .seat-hint,#stadiumViewer .catalog-note{font-size:9px;line-height:1.6;color:#c6d8e5;margin:10px 0}
#stadiumViewer .current-seat{margin-top:12px;padding:10px;color:#edf7ff}
#stadiumViewer .current-seat strong{font-size:10px;line-height:1.4}
#stadiumViewer .button-full{min-height:43px;margin-top:10px;padding:10px;font-size:11px;border-radius:13px}
#stadiumViewer .stadium-light-control{position:absolute;z-index:4;left:var(--stadium-left);right:var(--stadium-right);bottom:calc(var(--stadium-bottom) + 51px);width:fit-content;max-width:calc(100% - 32px);margin:0 auto;display:flex;gap:4px;padding:5px;border-radius:19px}
#stadiumViewer .stadium-light-control button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:94px;min-height:44px;padding:9px 16px;border:1px solid transparent;border-radius:13px;background:transparent;color:#e4f2fc;font:inherit;font-size:12px;line-height:1.2;cursor:pointer;transition:background .18s,border-color .18s}
#stadiumViewer .stadium-light-control button svg{width:17px;height:17px}
#stadiumViewer .stadium-light-control button[aria-pressed="true"]{color:#fff;border-color:#effaff80;background:linear-gradient(145deg,#ffffff36,#d6edff14);box-shadow:inset 0 1px #ffffff9c,0 2px 6px #00152629}
#stadiumViewer .stadium-light-control button:hover:not(:disabled){background:#e8f7ff20;border-color:#e8f7ff55}
#stadiumViewer .stadium-light-control button:disabled{opacity:.45;cursor:wait}
#stadiumViewer .viewer-status,#stadiumViewer .viewer-hint{position:absolute;bottom:var(--stadium-bottom);z-index:3;padding:9px 12px;border:1px solid #deefff47;border-radius:14px;background:var(--stadium-glass);color:#f1f7fd;font-size:9px;line-height:1.5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#stadiumViewer .viewer-status{left:var(--stadium-left);max-width:55%}
#stadiumViewer .viewer-hint{right:var(--stadium-right);max-width:39%}
#stadiumViewer .seat-perspective{top:calc(var(--stadium-top) + 75px);left:var(--stadium-left);max-width:calc(100% - 108px)}
#stadiumViewer[data-seat-panel="open"] .seat-perspective{left:356px;max-width:calc(100% - 440px)}
#stadiumViewer .stadium-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#0b1925ef;color:#deedf7;font-size:12px;pointer-events:none}
.stadium-loading-orbit{width:31px;height:31px;border:1px solid #cceaff33;border-top-color:#ebf8ff;border-radius:50%;animation:stadium-load-spin .9s linear infinite}
@keyframes stadium-load-spin{to{transform:rotate(360deg)}}
#stadiumViewer .stadium-load-button{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:7;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;max-width:calc(100% - 40px);padding:13px 20px;border-radius:16px;font-size:13px}
#stadiumViewer[data-load-state="ready"] .stadium-loading,#stadiumViewer[data-load-state="ready"] .stadium-load-button{display:none}
#stadiumViewer.is-expanded,#stadiumViewer:fullscreen{position:fixed!important;inset:0!important;top:var(--expanded-top,0px)!important;bottom:auto!important;z-index:10000!important;width:100%!important;height:100vh!important;height:var(--expanded-height,100dvh)!important;max-width:none!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#stadiumViewer.is-expanded>canvas,#stadiumViewer:fullscreen>canvas{border-radius:0}
body.stadium-expanded{overflow:hidden;overscroll-behavior:none}
@media(max-width:900px){#stadiumViewer{height:650px;min-height:650px}#stadiumViewer .viewer-hint{display:none}#stadiumViewer .viewer-status{max-width:calc(100% - 32px)}}
@media(max-width:760px){
  #stadiumViewer{--stadium-left:max(11px,env(safe-area-inset-left,0px));--stadium-right:max(11px,env(safe-area-inset-right,0px));--stadium-top:max(12px,env(safe-area-inset-top,0px));height:600px;min-height:600px;border-radius:22px}
  #stadiumViewer .view-tabs{right:74px;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:4px;border-radius:17px}
  #stadiumViewer .view-tabs button{min-height:48px;padding:7px 3px;font-size:9px;gap:3px}
  #stadiumViewer .view-tabs button svg{display:none}
  #stadiumViewer .view-tools{padding:4px;gap:3px;border-radius:18px}
  #stadiumViewer .view-tools .icon-button{width:44px;height:44px;border-radius:13px}
  #stadiumViewer #seatPanel{top:auto;bottom:var(--stadium-bottom);left:var(--stadium-left);right:var(--stadium-right);width:auto;max-width:none;height:65%;max-height:calc(100% - 92px);border-radius:22px;z-index:7}
  #stadiumViewer .seat-panel-header{padding:12px 12px 10px 15px}
  #stadiumViewer #seatPanel h3{font-size:21px;margin-top:7px}
  #stadiumViewer .seat-panel-scroll{padding:13px 15px 18px}
  #stadiumViewer #seatPanelClose{width:42px;height:42px}
  #stadiumViewer .seat-map{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
  #stadiumViewer .seat-button{height:40px}
  #stadiumViewer[data-seat-panel="open"] .stadium-light-control,#stadiumViewer[data-seat-panel="open"] .viewer-status,#stadiumViewer[data-seat-panel="open"] .viewer-hint,#stadiumViewer[data-seat-panel="open"] .seat-perspective{visibility:hidden;pointer-events:none}
  #stadiumViewer .seat-perspective{left:13px;top:91px;max-width:calc(100% - 88px)}
  #stadiumViewer .stadium-light-control{bottom:calc(var(--stadium-bottom) + 51px);padding:4px;border-radius:18px}
  #stadiumViewer .viewer-status{max-width:calc(100% - 24px);padding:9px 11px;font-size:8px}
}
@media(max-height:520px) and (min-width:761px){#stadiumViewer:is(.is-expanded,:fullscreen) #seatPanel{bottom:20px;width:300px}#stadiumViewer:is(.is-expanded,:fullscreen)[data-seat-panel="open"] .stadium-light-control{left:340px;max-width:240px}#stadiumViewer:is(.is-expanded,:fullscreen)[data-seat-panel="open"] .viewer-status{left:340px;max-width:calc(100% - 370px)}#stadiumViewer:is(.is-expanded,:fullscreen) .viewer-hint{display:none}}
@media(pointer:coarse){#stadiumViewer .liquid-panel,#stadiumViewer #seatPanel{-webkit-backdrop-filter:blur(7px) saturate(1.1);backdrop-filter:blur(7px) saturate(1.1)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#stadiumViewer .liquid-panel,#stadiumViewer #seatPanel{background:linear-gradient(145deg,#243746,#122331)}}
@media(prefers-reduced-transparency:reduce){#stadiumViewer .liquid-panel,#stadiumViewer #seatPanel,#stadiumViewer .viewer-status,#stadiumViewer .viewer-hint{background:linear-gradient(145deg,#203443,#112330);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.stadium-loading-orbit{animation:none}}


#stadiumViewer[data-load-state="error"] .stadium-loading-orbit{display:none}
#stadiumViewer[data-load-state="error"] .stadium-loading{padding-bottom:110px}
#stadiumViewer #seatPanel{max-height:680px}
