/* The four environments keep all controls on quiet, opaque surfaces. */
.room-stage{position:relative;overflow:hidden;border:1px solid #e1cdb7;border-radius:20px;background:#f4e7df;margin:20px 0 24px;isolation:isolate}
.room-stage canvas{display:block;width:100%;height:auto;aspect-ratio:960/580}
.room-stage-caption{position:absolute;top:15px;left:18px;display:flex;gap:8px;align-items:center;color:#7f6f64;font:13px var(--play-font);pointer-events:none}
.room-stage-caption::before{content:'';width:5px;height:5px;border-radius:50%;background:#c6a597}
.room-stage.court-room{max-width:810px;margin:20px auto 18px;border-color:#d6c3d9;background:#e8e3f0}
.court-room .room-stage-caption{color:#796b84}.court-room .room-stage-caption::before{background:#b8a5c6}
#game .game-main{background:#fffaf2;border-color:#e3cdbb}#game .history-panel{background:#fffcf5;border-color:#e1d5c3}
#card-game .court{background:#fffcf7;border-color:#d6c4d8}#card-game .court-heading{background:#fffcf7}
#card-table{border-radius:20px;background:#eee4ee;border:1px solid #dbcbdd;padding:23px 16px 17px;margin-bottom:14px}
#party-game .party-scene-frame{background:#eef1e6;border-top:1px solid #e9dfce;border-bottom:1px solid #e4d5bd;margin:0;width:100%}
#party-game .party-arena{border-color:#dfcbb1;background:#fffcf5}#party-game .party-arena.water{border-color:#c6d6c7;background:#fbfdf7}
#party-game .scene-caption{display:none}#party-game .party-console{background:#fffaf2}#party-game .water .party-console{background:#f5f9f0}
@media(max-width:700px){.room-stage{border-radius:15px;margin:16px 0 20px}.room-stage-caption{font-size:11px;left:12px;top:10px}.room-stage.court-room{margin:15px -8px 16px}#card-table{padding:19px 9px 14px;border-radius:15px}}
@media(prefers-reduced-motion:reduce){.room-stage *{animation:none!important}}
