/* Keep the header's layout stable: only the room/round plaque slides away. */
#gameScreen .game-round-info{translate:0 0;opacity:1;transition:translate .65s cubic-bezier(.4,0,.2,1),opacity .5s;will-change:translate}
#gameScreen .game-round-info.mp-round-away{translate:0 -180px;opacity:0;pointer-events:none}
#gameScreen #phaseToggle{position:absolute;z-index:21001;top:clamp(76px,11vh,108px);right:max(14px,env(safe-area-inset-right,0px));width:56px;height:56px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid #d9bd79;background:radial-gradient(circle at 40% 30%,#476671,#18152e 65%,#0d1320);color:#ffe6a6;font:32px/1 Georgia,serif;cursor:pointer;box-shadow:0 0 18px #cfb46c38,inset 0 0 16px #c8e2e52a}
#gameScreen #phaseToggle[aria-expanded=true]{border-color:#f9df96;box-shadow:0 0 18px #cfb46c77,inset 0 0 16px #c8e2e52a}
#gameScreen #phasePanel[hidden]{display:none!important}
#gameScreen > #phasePanel.phase-panel.phase-panel-top-right-v24:not([hidden]){display:block!important;top:clamp(76px,11vh,108px)!important;right:80px!important;width:250px!important;max-width:calc(100% - 100px)!important;max-height:calc(100% - 110px)!important;box-sizing:border-box;overflow:auto;pointer-events:auto!important;z-index:21001!important;padding:18px 20px!important;animation:mp-phase-reveal .2s ease-out}
#gameScreen #phasePanelClose{position:absolute;top:4px;right:6px;width:32px;height:32px;padding:0;border:0;background:transparent;color:#f3dfb8;font-size:23px;cursor:pointer}
#gameScreen #phaseToggle:focus-visible,#gameScreen #phasePanelClose:focus-visible{outline:2px solid #d7c1ff;outline-offset:3px}
#gameScreen #phasePanel .phase-panel-kicker{padding-right:12px}
@keyframes mp-phase-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:1099px){#gameScreen #phaseToggle{width:44px;height:44px;right:max(9px,env(safe-area-inset-right,0px));top:66px;font-size:27px}#gameScreen > #phasePanel.phase-panel.phase-panel-top-right-v24:not([hidden]){top:66px!important;right:62px!important;width:235px!important;max-width:calc(100% - 76px)!important;max-height:calc(100% - 82px)!important}}
@media(prefers-reduced-motion:reduce){#gameScreen .game-round-info{transition:none}#gameScreen > #phasePanel.phase-panel.phase-panel-top-right-v24:not([hidden]){animation:none}}
.reduce-motion #gameScreen .game-round-info,.no-animations #gameScreen .game-round-info{transition:none}.reduce-motion #gameScreen #phasePanel,.no-animations #gameScreen #phasePanel{animation:none!important}

#gameScreen #phasePanel #phasePanelClose{pointer-events:auto!important}
