/* The game owns a portrait viewport; native browser chrome remains host-owned. */
html[data-mobile="true"],body[data-mobile="true"]{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body[data-mobile="true"]{position:fixed;inset:0;margin:0}
.app[data-mobile="true"]{position:fixed;left:50%;top:50%;width:var(--game-width,100vw);height:var(--game-height,100dvh);transform:translate(-50%,-50%);overflow:hidden}
.app[data-mobile="true"] #main-game{width:100%;height:100%}
body[data-mobile="true"] #portrait-guard{position:fixed;inset:0;z-index:1000;display:grid;place-content:center;justify-items:center;gap:18px;padding:calc(24px + env(safe-area-inset-top)) calc(28px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(28px + env(safe-area-inset-left));background:#14100d;color:#efe6d2;text-align:center;touch-action:none;overscroll-behavior:none;outline:none}
body[data-mobile="true"] #portrait-guard h2{margin:0;font-size:clamp(32px,7vw,52px);line-height:1.05}
body[data-mobile="true"] #portrait-guard p{max-width:34ch;margin:0;font-size:16px;line-height:1.5}
body[data-mobile="true"] #portrait-guard svg{width:56px;height:56px;color:#f75bb6;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#portrait-guard[hidden]{display:none!important}
