/* Only the instruction adapts to portrait; the game retains its landscape UI. */
.orientation-guard { border:0; padding:0; color:#493b2e; background:rgba(250,244,231,.94); }
.orientation-guard[open] {
 position:fixed; inset:0; margin:0; width:100vw; height:100dvh; max-width:none; max-height:none;
 box-sizing:border-box; display:grid; place-items:center;
 padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left));
}
.orientation-guard::backdrop { background:rgba(49,34,20,.24); }
.orientation-guidance { display:grid; justify-items:center; gap:24px; text-align:center; }
.orientation-guidance svg { width:clamp(64px,12vw,84px); height:auto; fill:none; stroke:#947345; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.orientation-guidance p { margin:0; font-size:clamp(18px,4vw,24px); line-height:1.7; letter-spacing:.06em; outline:none; }
html[data-mobile-portrait='true'] { overflow:hidden; }
html[data-mobile-portrait='true'] main dialog { visibility:hidden!important; pointer-events:none!important; }
html[data-mobile-portrait='true'] main dialog::backdrop { background:transparent!important; pointer-events:none!important; }
