.public-demo #demoProgress,.public-demo .rotate,
.public-demo .pause-section:first-child,.public-demo .pause-section:last-child {display:none!important}
.public-demo .pause-sections {grid-template-columns:1fr}
.public-demo .live {top:auto;bottom:max(16px,env(safe-area-inset-bottom));letter-spacing:.08em;font-size:12px}
.public-demo .live i {animation:none;background:#ffd83d}
.public-demo .demo-home {display:none}

#demoEnd {box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;color:#f5f7f3;background:#102219ed;border:1px solid #658674;border-radius:16px;text-align:center;overflow:auto;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#demoEnd::backdrop {background:#06130b99}
#demoEnd p {margin:0 0 8px;color:#b6c6ba;font-size:14px;line-height:20px}
#demoEnd h1 {font-size:30px;line-height:36px;margin:0;text-wrap:balance}
#demoEnd strong {display:block;margin:16px 0;font-size:48px;line-height:1;color:#ffd83d}
#demoEnd>div {display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#demoEnd button,#demoEnd a {display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:12px 16px;border-radius:8px;border:1px solid #698373;font:600 16px/24px Barlow,sans-serif;text-decoration:none;color:#f5f7f3;background:#1b3327;cursor:pointer}
#demoEnd button {background:#ffd83d;color:#102219;border-color:#ffd83d}
#demoEnd button:hover,#demoEnd a:hover {filter:brightness(1.1)}
#demoEnd :focus-visible,.demo-home:focus-visible {outline:3px solid #fff;outline-offset:4px}
@media(max-height:400px) {#demoEnd{padding:16px}#demoEnd h1{font-size:24px;line-height:32px}#demoEnd strong{margin:8px 0;font-size:36px}}

/* Spectator setup reuses the existing four-player picker and responsive shell. */
.public-demo #start .prep-field,.public-demo #start .difficulty,.public-demo #start .prep-extras,.public-demo #start .prep-tools,.public-demo #demoBtn {display:none}
.public-demo #start .prep-settings {display:block;margin:0;padding:0;background:none;border:0}
.public-demo #start .prep-layout {grid-template-columns:minmax(0,1fr);gap:16px}
.public-demo #start .prep-hint {display:block;font-size:14px;line-height:20px;max-width:680px}
.public-demo #start .prep-actions {justify-content:flex-end}
.public-demo #start .sGo {font-size:18px;font-weight:700;line-height:28px;letter-spacing:0}
.public-demo #start .slot {transition:background .3s cubic-bezier(.22,1,.36,1),border-color .3s cubic-bezier(.22,1,.36,1)}
.public-demo #start .slot:active {transform:scale(.98)}
@media(max-height:560px) and (min-width:600px){.public-demo #start .prep-layout{gap:8px}.public-demo #start .prep-hint{font-size:12px;line-height:16px}}
@media(prefers-reduced-motion:reduce){.public-demo #start .slot{transition:none}}
