.stadium-preview-entry{display:flex;align-items:center;gap:12px;margin:0 20px 14px;padding:12px;border:1px solid #d8e3da;border-radius:14px;background:#fff}
.stadium-entry-art{width:58px;height:58px;flex:0 0 58px;border-radius:9px;background:#102338 url('shanghai-stadium-v1.webp') center/cover}
.stadium-preview-entry>div:nth-child(2){flex:1;min-width:0}.stadium-preview-entry h2{margin:0 0 4px;font-size:14px;color:#194c37}.stadium-preview-entry p,.stadium-preview-entry small{display:block;margin:0;color:#718176;font-size:11px;line-height:17px}
.stadium-preview-entry button,.stadium-preview-dialog button{font:inherit;font-size:12px;min-height:32px;padding:6px 10px;border:1px solid #cbdcd0;border-radius:8px;background:#fff;color:#24523b;cursor:pointer;box-shadow:none}
.stadium-preview-dialog{width:min(1020px,calc(100% - 20px));max-width:1020px;max-height:calc(100dvh - 24px);padding:0;border:1px solid #d1dfd4;border-radius:18px;background:#f6f7f2;color:#20392e;overflow:auto;overscroll-behavior:contain}
.stadium-preview-dialog::backdrop{background:rgba(3,15,20,.72)}
.stadium-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:5;padding:13px 16px;background:#f6f7f2;border-bottom:1px solid #dce4db}.stadium-dialog-header h2{margin:0;font-size:17px}.stadium-dialog-header p{margin:4px 0 0;font-size:11px;color:#718176}.stadium-dialog-header>button{width:32px;font-size:20px;padding:0}
.stadium-dialog-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:16px;padding:14px}.stadium-showroom{min-width:0}
.stadium-mode-tabs{display:flex;gap:5px;margin:0 0 10px;flex-wrap:wrap}.stadium-mode-tabs button{flex:1;padding:6px 7px;white-space:nowrap}.stadium-mode-tabs button.active{background:#254f3b;border-color:#254f3b;color:white}
.stadium-theme-picker{margin-bottom:12px}.stadium-theme-picker>small{display:block;font-size:11px;color:#65786b;margin-bottom:6px}.stadium-theme-tabs{display:flex;gap:6px}.stadium-theme-tabs button{flex:1;min-width:0;font-size:12px}.stadium-theme-tabs button.active{background:#254f3b;border-color:#254f3b;color:#fff}.stadium-theme-picker>p{font-size:10px;line-height:16px;margin:6px 0 0;color:#718176}.stadium-awards{position:absolute;top:23%;left:12px;right:12px;text-align:center;display:grid;justify-items:center;gap:6px;text-shadow:0 2px 8px #001}.stadium-awards>span{font-size:42px}.stadium-awards>small{font-size:11px;color:var(--stadium-gold)}.stadium-awards>strong{font-size:23px;overflow-wrap:anywhere;max-width:100%}.stadium-awards>p{font-size:11px;margin:0;color:#e2dfef}.mode-awards .stadium-sign{display:none}.stadium-scene[data-theme=disney] .stadium-background{object-fit:contain;background:#071b2c}.stadium-scene[data-theme=disney] .stadium-sign{top:61%;font-size:12px}.mode-awards.is-playing .stadium-awards{animation:stadium-content-in 1.2s ease-out both}.stadium-theme-tabs button:focus-visible{outline:2px solid #397958;outline-offset:2px}
.stadium-scene{position:relative;isolation:isolate;overflow:hidden;height:490px;border-radius:13px;background:#071b2c;color:#fff}.stadium-background,.stadium-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.stadium-background{z-index:-4}.stadium-shade{z-index:-3;background:linear-gradient(180deg,rgba(4,16,31,.3),rgba(4,16,31,.02) 38%,rgba(3,16,25,.35) 58%,rgba(3,16,25,.97))}
.stadium-scene-top{position:absolute;top:18px;left:12px;right:12px;display:grid;justify-items:center;gap:8px;text-align:center}.stadium-scene-top>span{font-size:10px;letter-spacing:3px;color:var(--stadium-cyan)}.stadium-scene-top>b{font-size:15px;font-weight:600;letter-spacing:3px}
.stadium-sign{position:absolute;top:50.3%;left:50%;transform:translate(-50%,-50%);max-width:90%;padding:5px 12px;border:1px solid #e9c77855;border-radius:3px;background:#071724b8;color:var(--stadium-gold);text-align:center;font-size:15px;font-weight:700;letter-spacing:1px;text-shadow:0 1px 4px #071321}
.stadium-headline{position:absolute;top:24%;left:14px;right:14px;text-align:center;text-shadow:0 2px 8px #03101f}.stadium-headline h3{color:#fff;font-size:clamp(17px,4.5vw,21px);line-height:1.4;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.stadium-scene-content{position:absolute;bottom:14px;left:18px;right:18px;text-align:center}.stadium-eyebrow{margin:0 0 9px;color:var(--stadium-cyan);font-size:10px;letter-spacing:2px}.stadium-scene-content h3{margin:0 auto 16px;max-width:95%;font-size:23px;line-height:1.45;color:white;font-weight:650;text-wrap:balance}.stadium-versus{display:flex;align-items:center;justify-content:space-around;gap:10px;margin:0 0 16px}.stadium-versus>strong{flex:0 0 auto;font-size:26px;color:var(--stadium-gold);font-weight:600;white-space:nowrap}
.stadium-team{display:grid;justify-items:center;gap:7px;flex:1;min-width:0}.stadium-team>b{font-size:12px;line-height:17px;overflow-wrap:anywhere;font-weight:600}.stadium-crest{display:grid;place-items:center;width:39px;height:44px;clip-path:polygon(0 0,100% 0,95% 75%,50% 100%,5% 75%);background:#347ba4;border:1px solid #b8d9e3;font-weight:800;font-size:19px;color:#fff}.stadium-crest.away{background:#ac5354}
.stadium-venue-plaque{display:grid;gap:5px;padding-top:11px;border-top:1px solid #d9bc6c55}.stadium-venue-plaque b{font-size:14px;letter-spacing:1px;color:var(--stadium-gold)}.stadium-venue-plaque span{font-size:11px;color:#d6e0e0}.stadium-venue-plaque small{font-size:10px;line-height:16px;color:#b3c5ca}.stadium-demo-label{font-size:10px;color:#a6bfc6;margin:9px 0 0}
.stadium-light{position:absolute;z-index:-2;top:41%;width:48%;height:115%;pointer-events:none;opacity:0;transform-origin:50% 0;background:linear-gradient(180deg,#e9f5ff77,transparent 70%);clip-path:polygon(48% 0,52% 0,100% 100%,0 100%)}.stadium-light.left{left:0;--start:-28deg;--end:22deg}.stadium-light.right{right:0;--start:28deg;--end:-22deg}
.stadium-scene.is-playing .stadium-light{animation:stadium-beam 3.2s ease-in-out both}.stadium-scene.is-playing .stadium-sign{animation:stadium-sign-on 3.2s ease-out both}.stadium-scene.is-playing .stadium-scene-content{animation:stadium-content-in 1.3s ease-out both}
@keyframes stadium-beam{0%{opacity:0;transform:rotate(var(--start))}25%{opacity:.5}75%{opacity:.35}100%{opacity:0;transform:rotate(var(--end))}}
@keyframes stadium-sign-on{0%,15%{opacity:.3;filter:brightness(.5)}40%,100%{opacity:1;filter:brightness(1.1)}}
@keyframes stadium-content-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
.stadium-preview-actions,.stadium-controls-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.stadium-preview-note{margin:10px 0 0;font-size:11px;line-height:18px;color:#718176}.stadium-preview-dialog [hidden]{display:none!important}.stadium-preview-dialog button:disabled{opacity:.5;cursor:wait}.stadium-preview-dialog button:focus-visible{outline:2px solid #34765a;outline-offset:2px}
.stadium-controls{padding:13px;background:#fff;border:1px solid #dce5dc;border-radius:12px;align-self:start}.stadium-controls h3{font-size:14px;margin:0 0 5px}.stadium-controls>p{margin:0 0 12px;color:#76857b;font-size:11px;line-height:18px}.stadium-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stadium-fields label{display:grid;gap:5px;min-width:0;font-size:11px;color:#63776a}.stadium-fields label:nth-child(-n+3){grid-column:1/-1}.stadium-fields input,.stadium-fields select{width:100%;min-width:0;min-height:34px;margin:0;padding:6px 8px;border:1px solid #d6e2d8;border-radius:7px;box-sizing:border-box;background:#fafcf9;color:#234936;font:inherit;font-size:12px}.stadium-fields input[type=color]{padding:3px;cursor:pointer}.stadium-controls-actions button:first-child{background:#254f3b;color:#fff}.stadium-controls .stadium-safety{margin:13px 0 0;padding-top:10px;border-top:1px solid #e1e8e0;font-size:10px}
.stadium-scoreboard{position:absolute;top:90px;left:12px;right:12px;display:flex;gap:10px;align-items:center;padding:12px 8px;border:1px solid #e9c77855;border-radius:10px;background:#061a2dcc}.stadium-scoreboard>.stadium-team{display:flex;gap:6px;justify-content:center}.stadium-scoreboard .stadium-crest{width:23px;height:28px;font-size:12px;flex-shrink:0}.stadium-scoreboard .stadium-team>b{font-size:11px}.stadium-scoreboard>span:not(.stadium-team){display:grid;text-align:center;gap:5px;flex-shrink:0}.stadium-scoreboard>span>b{font-size:22px;color:var(--stadium-gold)}.stadium-scoreboard small{font-size:9px;color:#bed5dc}.stadium-live-caption{position:absolute;top:64%;left:15px;right:15px;color:#dcebf0;text-align:center;font-size:14px;text-shadow:0 2px 7px black}.stadium-live-caption small{font-size:10px;line-height:23px}.mode-live .stadium-sign{font-size:15px}.stadium-winner{margin:-4px 0 12px;font-size:14px;color:var(--stadium-gold)}
.stadium-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}.stadium-confetti i{position:absolute;top:-15px;left:var(--x);width:5px;height:10px;background:var(--stadium-gold);opacity:0}.stadium-confetti i:nth-child(3n){background:var(--stadium-cyan)}.is-playing .stadium-confetti i{animation:stadium-confetti 3.2s ease-in both;animation-delay:calc(var(--n)*.025s)}@keyframes stadium-confetti{0%{opacity:0;translate:0 -10px;rotate:0deg}10%{opacity:.9}100%{opacity:0;translate:25px 510px;rotate:var(--r)}}
.mode-poster{height:auto;aspect-ratio:3/4;min-height:470px}.mode-poster .stadium-sign{top:50%;font-size:19px}.mode-poster .stadium-scene-content h3{font-size:25px}.mode-poster .stadium-scene-top{top:25px}
@media(max-width:720px){.stadium-dialog-body{grid-template-columns:1fr;padding:12px;gap:14px}.stadium-scene{height:460px}.mode-poster{height:auto;min-height:470px}.stadium-dialog-header{padding:12px}.stadium-preview-entry{gap:9px}.stadium-entry-art{width:46px;height:52px;flex-basis:46px}.stadium-preview-entry>button{padding:6px 8px;white-space:nowrap}.stadium-preview-entry p{font-size:10px}.stadium-fields label:nth-child(3){grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.stadium-preview-dialog *, .stadium-preview-dialog *::before,.stadium-preview-dialog *::after{animation:none!important;transition:none!important}.stadium-light,.stadium-confetti{display:none}}

/* Admin showroom only: keep the castle and pitch clear. */
.stadium-preview-dialog .disney-clear-scene{height:auto;min-height:0;aspect-ratio:auto;background:#071b30;border:1px solid #cdb77a66}
.disney-clear-heading{display:grid;gap:7px;text-align:center;padding:17px 12px 13px;position:relative;z-index:1}
.disney-clear-heading small{font-size:9px;letter-spacing:2px;color:#c9c6ff}.disney-clear-heading b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.disney-clear-heading>span{font-size:11px;color:#d8d4eb}
.disney-clear-visual{position:relative;isolation:isolate;line-height:0;overflow:hidden}
.stadium-preview-dialog .disney-clear-visual .stadium-background{position:relative;inset:auto;display:block;width:100%;height:auto;object-fit:contain;z-index:0;transform:none}
.disney-clear-footer{padding:12px 14px 16px;text-align:center;background:linear-gradient(#0c2134,#071b30)}
.disney-clear-footer .disney-clear-score{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:0;border:0;border-radius:0;background:none}.disney-clear-score>span>b{font-size:27px;color:var(--stadium-gold);white-space:nowrap}.disney-clear-score>span>small:empty{display:none}
.disney-clear-footer .disney-clear-score .stadium-team{display:block}.disney-clear-score .stadium-crest{display:none}.disney-clear-score .stadium-team>b{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.disney-clear-phase{display:block;font-size:10px;color:#c4d0df;margin:6px 0 12px}.disney-clear-footer .stadium-venue-plaque{padding-top:12px;gap:6px}.disney-clear-footer .stadium-venue-plaque b{font-size:21px;line-height:1.4}.disney-clear-footer .stadium-venue-plaque span{font-size:11px;line-height:1.5}
.disney-clear-visual .stadium-awards{top:20%;background:#071b30a6;border-radius:10px;padding:12px;line-height:1.4;animation:none}.disney-clear-visual .stadium-awards>strong{font-size:21px}
@media(max-width:360px){.disney-clear-heading b{font-size:15px}.disney-clear-heading small{letter-spacing:1px;font-size:8px}.disney-clear-footer{padding:10px 10px 13px}.disney-clear-footer .stadium-venue-plaque b{font-size:19px}}

/* Five-second entrance, limited to the administrator's Disney showroom. */
.disney-entry-beam{position:absolute;top:-35%;left:5%;width:25%;height:155%;background:linear-gradient(90deg,transparent,#d6dcff55,transparent);transform:rotate(-30deg);opacity:0;pointer-events:none;z-index:1;mix-blend-mode:screen}
.disney-entry-beam.beam-right{left:auto;right:5%;transform:rotate(30deg)}
.disney-clear-scene.mode-entrance.is-playing .stadium-background{animation:disney-enter-view 5s ease-out both}
.disney-clear-scene.mode-entrance.is-playing .beam-left{animation:disney-enter-beam-left 5s ease-in-out both}
.disney-clear-scene.mode-entrance.is-playing .beam-right{animation:disney-enter-beam-right 5s ease-in-out both}
.disney-clear-scene.mode-entrance.is-playing .disney-clear-heading{animation:disney-enter-heading 5s ease-out both}
.disney-clear-scene.mode-entrance.is-playing .disney-clear-score>.stadium-team:first-child{animation:disney-enter-home 5s ease-out both}
.disney-clear-scene.mode-entrance.is-playing .disney-clear-score>.stadium-team:last-child{animation:disney-enter-away 5s ease-out both}
.disney-clear-scene.mode-entrance.is-playing .disney-clear-score>span:not(.stadium-team),.disney-clear-scene.mode-entrance.is-playing .disney-clear-phase{animation:disney-enter-score 5s ease-out both}
.disney-clear-scene.mode-entrance.is-playing .stadium-venue-plaque{animation:disney-enter-venue 5s ease-out both}
@keyframes disney-enter-view{0%{opacity:.55;transform:scale(1.035)}40%,100%{opacity:1;transform:scale(1)}}
@keyframes disney-enter-beam-left{0%,8%{opacity:0;transform:translateX(-80%) rotate(-30deg)}24%{opacity:.7}58%,100%{opacity:0;transform:translateX(310%) rotate(15deg)}}
@keyframes disney-enter-beam-right{0%,8%{opacity:0;transform:translateX(80%) rotate(30deg)}24%{opacity:.7}58%,100%{opacity:0;transform:translateX(-310%) rotate(-15deg)}}
@keyframes disney-enter-heading{0%,22%{opacity:0;transform:translateY(-8px)}46%,100%{opacity:1;transform:none}}
@keyframes disney-enter-home{0%,40%{opacity:0;transform:translateX(-20px)}66%,100%{opacity:1;transform:none}}
@keyframes disney-enter-away{0%,40%{opacity:0;transform:translateX(20px)}66%,100%{opacity:1;transform:none}}
@keyframes disney-enter-score{0%,48%{opacity:0;transform:scale(.93)}72%,100%{opacity:1;transform:none}}
@keyframes disney-enter-venue{0%,66%{opacity:0;transform:translateY(8px)}92%,100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.disney-entry-beam{display:none!important}.disney-clear-scene.mode-entrance *{animation:none!important}}
