/* V98 · tablet-only orientation correction (mobile CSS untouched). */
html[data-ui-mode="tablet"] #game{
 width:var(--oe-vw,100vw)!important;
 height:var(--oe-vh,100dvh)!important;
 max-width:none!important;
 overflow:hidden!important;
}
html[data-ui-mode="tablet"] body{min-height:var(--oe-vh,100dvh);}
/* Tablet landscape uses its own play ratio again: full-stage presentation, not portrait shrink. */
html[data-ui-mode="tablet"] #game.tablet-landscape > #canvas,
html[data-ui-mode="tablet"] #game.tablet-landscape #battlePlay #battleCanvas{
 width:100%!important;
 height:100%!important;
 top:0!important;
 left:0!important;
 transform:none!important;
}
html[data-ui-mode="tablet"] #game.tablet-landscape #hud,
html[data-ui-mode="tablet"] #game.tablet-landscape #actions,
html[data-ui-mode="tablet"] #game.tablet-landscape #levelTitle,
html[data-ui-mode="tablet"] #game.tablet-landscape #deadlineHud,
html[data-ui-mode="tablet"] #game.tablet-landscape #footerHint,
html[data-ui-mode="tablet"] #game.tablet-landscape #quotaHud,
html[data-ui-mode="tablet"] #game.tablet-landscape #armPenalty,
html[data-ui-mode="tablet"] #game.tablet-landscape #message{
 left:50%!important;
 right:auto!important;
 transform:translateX(-50%)!important;
}
html[data-ui-mode="tablet"] #game.tablet-landscape #hud{width:min(92vw,980px)!important;}
html[data-ui-mode="tablet"] #game.tablet-landscape #levelTitle{width:min(52vw,620px)!important;}
html[data-ui-mode="tablet"] #game.tablet-landscape #deadlineHud{width:min(66vw,820px)!important;}
html[data-ui-mode="tablet"] #game.tablet-landscape #footerHint{width:min(68vw,840px)!important;}
html[data-ui-mode="tablet"] #game.tablet-landscape #message{width:min(64vw,760px)!important; top:160px!important;}
html[data-ui-mode="tablet"] #game.tablet-landscape #actions{
 width:min(70vw,760px)!important;
 gap:10px!important;
}
html[data-ui-mode="tablet"] #game.tablet-landscape #actions button{
 font-size:13px!important;
}
