:root { color-scheme: dark; font-family: "Segoe UI", Arial, sans-serif; color: #fff; background: #14252d; }
* { box-sizing: border-box; }
body { margin: 0; }
html, body, #stadium-app { width: 100%; height: 100%; overflow: hidden; }
#stadium-app { position: relative; height: 100dvh; }
#pano { position: absolute; inset: 0; }
#pano:focus-visible { outline: 3px solid #76e9ec; outline-offset: -3px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
button:disabled { opacity: .45; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #46cbd2; outline-offset: 3px; }
button svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
[hidden] { display: none !important; }
.glass, .location-label { background: rgba(15, 28, 36, .86); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 4px 20px #0003; backdrop-filter: blur(12px); }
.topbar { position: absolute; top: max(20px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); right: max(20px, env(safe-area-inset-right)); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; pointer-events: none; }
.location-label { padding: 12px 17px; border-radius: 8px; }
h1 { font: 600 25px/1.1 Georgia, "Times New Roman", serif; margin: 0 0 5px; }
.location-label p { font-size: 14px; line-height: 1.35; margin: 0; color: #e2e9ec; }
.about-button { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 12px 15px; min-height: 48px; font-size: 15px; font-weight: 600; pointer-events: auto; }
.about-button:hover { background: #223d4b; }
.bottom-bar { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none; }
.controls { display: flex; flex: 0 0 auto; align-items: center; padding: 3px; border-radius: 7px; background: rgba(15,28,36,.72); box-shadow: none; pointer-events: auto; }
.controls button { min-width: 46px; min-height: 46px; display: flex; justify-content: center; align-items: center; gap: 9px; background: transparent; border-radius: 5px; font-size: 15px; }
.controls button:hover:not(:disabled) { background: #ffffff20; }
.controls button:active:not(:disabled) { background: #ffffff35; }
#reset-view { padding: 0; }
.divider { height: 24px; width: 1px; background: #ffffff36; margin: 0 5px; }
.creator-credit { min-width: 0; margin: 0 0 4px; font-size: 14px; line-height: 1.4; text-shadow: 0 1px 3px #000, 0 0 8px #000; }
.credit-label { display: block; color: #eef2f4; font-size: 12px; }
.creator-credit a { color: #fff; font-weight: 650; text-decoration: none; pointer-events: auto; }
.creator-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.clean-view-restore { position: absolute; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border-radius: 8px; }
.clean-view-restore:hover { background: #223d4b; }
#load-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 15px 20px; border-radius: 8px; background: #14252def; font-size: 16px; text-align: center; max-width: 90%; }
dialog { color-scheme: light; position: fixed; inset: 20px 20px 20px auto; margin: 0; width: 440px; max-width: calc(100% - 40px); height: fit-content; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #d5dce0; border-radius: 12px; background: #fff; color: #1c2c35; box-shadow: 0 14px 60px #0006; overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #07151b66; }
.dialog-header { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px 17px 24px; border-bottom: 1px solid #e1e6e9; background: #fff; }
.dialog-header h2 { font: 600 25px/1.2 Georgia, "Times New Roman", serif; margin: 0; }
#close-about { display: grid; place-items: center; background: #edf2f4; border-radius: 50%; min-width: 44px; min-height: 44px; }
#close-about:hover { background: #dce7eb; }
.dialog-body { padding: 20px 24px 24px; font-size: 16px; line-height: 1.55; }
.dialog-body p { margin: 0 0 13px; }
.dialog-body .intro { color: #53626a; margin-bottom: 22px; }
.dialog-body section + section { border-top: 1px solid #e1e6e9; margin-top: 23px; padding-top: 20px; }
.dialog-body h3 { font-size: 17px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.dialog-body a { color: #135969; text-underline-offset: 3px; }
.source-link { font-size: 14px; white-space: normal; }
.dialog-body .plans-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; margin-top: 16px; border-radius: 6px; background: #173d4b; color: #fff; font-weight: 600; text-decoration: none; }
.dialog-body .plans-link:hover { background: #235666; }
.dialog-body .checked-date { font-size: 13px; color: #607078; margin: 23px 0 0; }
@media (max-width: 560px) {
  .topbar { top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); gap: 8px; }
  .location-label { padding: 10px 12px; }
  h1 { font-size: 22px; }
  .location-label p { font-size: 12px; }
  .about-button { padding: 10px; gap: 6px; font-size: 14px; }
  .about-button svg { width: 19px; height: 19px; }
  .bottom-bar { left: max(12px, env(safe-area-inset-left)); gap: 10px; }
  #zoom-in, #zoom-out, .controls .divider { display: none; }
  .controls button { min-width: 44px; font-size: 14px; gap: 7px; }
  .divider { margin: 0 3px; }
  dialog { inset: max(12px, env(safe-area-inset-top)) 12px auto; width: auto; max-width: none; max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .dialog-header { padding: 13px 14px 13px 20px; }
  .dialog-header h2 { font-size: 24px; }
  .dialog-body { padding: 18px 20px 22px; }
}
@media (max-width: 350px) { .about-button svg { display: none; } .about-button { font-size: 13px; } .location-label { padding: 10px; } }
@media (max-height: 450px) { .topbar { top: 10px; } .location-label { padding: 8px 12px; } .bottom-bar { bottom: 10px; } }
