/* Game-only continuation of the review theme. Pile/card/table rules stay untouched. */
html[data-interface-theme][data-web-scene=game]{background-image:linear-gradient(180deg,#1d102b45,#1008179c),url('./interface-art/loading.webp');background-position:center top}
html[data-interface-theme] #game-screen::before{background:linear-gradient(180deg,#1d102b45,#1008179c),url('./interface-art/loading.webp') center top/cover no-repeat!important}
html[data-interface-theme] #game-screen .game-header{display:grid;grid-template-columns:minmax(0,1fr) 48px auto 48px;align-items:center;gap:16px;padding:8px 4px 14px!important;min-height:68px}
html[data-interface-theme] #game-screen .brand-lockup{grid-column:1;grid-row:1;justify-content:flex-start;gap:10px}
html[data-interface-theme] #game-screen .brand-name{font:500 23px/1.1 Georgia;letter-spacing:.09em;text-shadow:0 2px 10px #08020d}
html[data-interface-theme] #game-screen .brand-caption{font-size:9px;letter-spacing:.09em;color:#d0bdd3}
html[data-interface-theme] #game-screen .header-actions{display:contents}
html[data-interface-theme] #game-screen #pause-button{grid-column:2;grid-row:1}
html[data-interface-theme] #game-screen #menu-button{grid-column:4;grid-row:1}
html[data-interface-theme] #game-screen .game-audio-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;gap:12px}
html[data-interface-theme] #game-screen .header-actions .icon-btn{width:46px;min-width:46px;height:46px;min-height:46px;justify-self:center}
html[data-interface-theme] #game-screen .header-actions :is(.button-glyph,img.game-button-art){width:36px;height:36px;filter:drop-shadow(0 3px 7px #08020da6)}
html[data-interface-theme] #game-screen .game-hud{max-width:740px;gap:0;margin:5px auto 8px}
html[data-interface-theme] #game-screen .hud-card{justify-content:center;gap:12px;padding:7px 8px;min-height:48px}
html[data-interface-theme] #game-screen .hud-card:not(:last-child)::after{right:0}
html[data-interface-theme] #game-screen .hud-label{font-size:10px;letter-spacing:.1em}
html[data-interface-theme] #game-screen .hud-number{font-size:25px}
html[data-interface-theme] #game-screen .game-actions{margin-bottom:12px;padding-inline:2px;gap:9px}
html[data-interface-theme] #game-screen .game-actions .action-btn{padding:3px 7px;text-shadow:0 2px 8px #08020d;font-size:12px}
/* Decisions sit over softly blurred scenery, accented with open filigree. */
html[data-interface-theme] :is(#pause-overlay,#menu-confirm-overlay,#exit-confirm-overlay,#new-game-confirm-overlay,#game-settings-overlay){background:radial-gradient(ellipse at center,#12091ee6 0%,#14091dcc 48%,#10081788)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);padding:max(24px,var(--safe-area-inset-top,env(safe-area-inset-top))) max(22px,var(--safe-area-inset-right,env(safe-area-inset-right))) max(24px,var(--safe-area-inset-bottom,env(safe-area-inset-bottom))) max(22px,var(--safe-area-inset-left,env(safe-area-inset-left)))}
html[data-interface-theme] :is(#pause-overlay,#menu-confirm-overlay,#exit-confirm-overlay,#new-game-confirm-overlay,#game-settings-overlay,#quit-overlay) .room-dialog{
 position:relative;isolation:isolate;display:block;width:min(520px,100%);max-width:100%;height:auto;max-height:calc(100dvh - 48px);overflow:auto;
 padding:12px 18px 14px;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:center;color:#f0e0c3;text-shadow:0 2px 9px #08020d;
}
.room-dialog-flourish{display:block;width:min(100%,370px);height:65px;margin:0 auto 15px;object-fit:contain;pointer-events:none;opacity:.85}
.room-dialog-flourish.bottom{height:45px;margin:17px auto 0;transform:rotate(180deg);opacity:.5}
html[data-interface-theme] .room-dialog .win-icon{display:grid;place-items:center;width:102px;height:105px;margin:0 auto 18px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
html[data-interface-theme] .room-dialog-art{display:block;width:98px;height:98px;object-fit:contain;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 8px 17px #08020d99)}
html[data-interface-theme] .room-dialog h2{margin:0 0 16px;font:500 clamp(25px,4.4vw,34px)/1.3 Georgia;letter-spacing:.035em;color:#f5e1b8;text-shadow:0 3px 12px #08020d}
html[data-interface-theme] .room-dialog p{max-width:420px;margin:0 auto 25px;color:#cdbacf;font:400 14px/1.8 'Segoe UI',sans-serif}
html[data-interface-theme] .room-dialog .confirm-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:23px 0 0}
html[data-interface-theme] .room-dialog .action-btn{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:145px;min-height:49px;height:auto;margin:0;padding:13px 27px;
 border:1px solid #ecd3a19c;border-radius:30px;background:linear-gradient(145deg,#f1dfb6,#c1a16c 62%,#9d7c4f);box-shadow:inset 0 1px #fff1c9a6,0 7px 18px #08020d70;color:#2c1d28;text-shadow:0 1px #fff2ce55;font:750 12px/1.4 'Segoe UI',sans-serif;letter-spacing:.04em;
}
html[data-interface-theme] .room-dialog :is(#exit-yes,#confirm-menu-yes,#confirm-new-game-yes){border-color:#d9b97877;background:linear-gradient(145deg,#4d314b66,#1c102980);box-shadow:inset 0 1px #f6dfb40c;color:#e7cf9d;text-shadow:0 2px 6px #08020d}
html[data-interface-theme] .room-dialog .action-btn:focus-visible{outline:2px solid #f6dfae;outline-offset:5px}
html[data-interface-theme] .room-dialog .action-btn:disabled{opacity:.4;cursor:default}
html[data-interface-theme] #pause-overlay #resume-button{min-width:220px}
html[data-interface-theme] #game-settings-overlay .room-dialog{width:min(640px,100%)}
html[data-interface-theme] #game-settings-overlay .sound-settings{margin:12px 0 26px}
html[data-interface-theme] #game-settings-overlay .sound-row{min-height:65px;grid-template-columns:minmax(90px,auto) minmax(75px,1fr) 38px}
html[data-interface-theme] #quit-overlay{background:linear-gradient(#160b2355,#10081799),url('./interface-art/loading.webp') center/cover no-repeat}
html[data-interface-theme] #quit-overlay .room-dialog-art{width:106px;height:106px;margin:0 auto 20px}
@media(max-width:700px){
 html[data-interface-theme] #game-screen .game-header{grid-template-columns:46px minmax(0,1fr) 46px;gap:3px 9px;min-height:0;padding:3px 0 10px!important}
 html[data-interface-theme] #game-screen .brand-lockup{grid-column:2;grid-row:1;justify-content:center;gap:7px}
 html[data-interface-theme] #game-screen .brand-icon{width:27px;height:34px;flex-basis:27px}
 html[data-interface-theme] #game-screen .brand-name{font-size:19px;letter-spacing:.07em;white-space:nowrap}
 html[data-interface-theme] #game-screen .brand-caption{font-size:8px;letter-spacing:.04em}
 html[data-interface-theme] #game-screen #pause-button{grid-column:1;grid-row:1}
 html[data-interface-theme] #game-screen #menu-button{grid-column:3;grid-row:1}
 html[data-interface-theme] #game-screen .game-audio-actions{grid-column:1/-1;grid-row:2;gap:29px}
 html[data-interface-theme] #game-screen .game-audio-actions :is(.button-glyph,img.game-button-art){width:32px;height:32px}
 html[data-interface-theme] #game-screen .hud-card{gap:6px;padding:5px 3px;min-height:43px}
 html[data-interface-theme] #game-screen .hud-label{font-size:9px;letter-spacing:.045em}
 html[data-interface-theme] #game-screen .hud-number{font-size:22px}
 html[data-interface-theme] #game-screen .game-actions .action-btn{font-size:10px;padding-inline:3px;gap:4px}
 html[data-interface-theme] .room-dialog .confirm-actions{gap:10px}
 html[data-interface-theme] .room-dialog .action-btn{min-width:125px;padding-inline:22px}
}
@media(max-width:360px){html[data-interface-theme] #game-screen .brand-icon{display:none}html[data-interface-theme] #game-screen .brand-name{font-size:18px}}
@media(max-height:520px) and (orientation:landscape){
 html[data-interface-theme] #game-screen .game-header{grid-template-columns:minmax(0,1fr) 46px auto 46px;min-height:52px;gap:10px;padding:1px 4px 7px!important}
 html[data-interface-theme] #game-screen .brand-lockup{grid-column:1;grid-row:1;justify-content:flex-start}
 html[data-interface-theme] #game-screen #pause-button{grid-column:2;grid-row:1}
 html[data-interface-theme] #game-screen .game-audio-actions{grid-column:3;grid-row:1;gap:9px}
 html[data-interface-theme] #game-screen #menu-button{grid-column:4;grid-row:1}
 html[data-interface-theme] .room-dialog-flourish{height:36px;margin-bottom:7px}
 html[data-interface-theme] .room-dialog-flourish.bottom{height:28px;margin-top:8px}
 html[data-interface-theme] .room-dialog .win-icon{width:60px;height:60px;margin-bottom:8px}
 html[data-interface-theme] .room-dialog-art{width:58px;height:58px}
 html[data-interface-theme] .room-dialog h2{font-size:24px;margin-bottom:8px}
 html[data-interface-theme] .room-dialog p{margin-bottom:12px;font-size:12px}
 html[data-interface-theme] .room-dialog .confirm-actions{margin-top:10px}
}
@media(hover:hover){html[data-interface-theme] .room-dialog .action-btn:not(:disabled):hover{filter:brightness(1.1);transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){html[data-interface-theme] .room-dialog .action-btn{transition:none;transform:none!important}}
