/* A dedicated layout row on portrait, and a HUD-free strip on fullscreen PC. */
#gameActions{display:flex;gap:6px;align-items:stretch;justify-content:center;flex:none;grid-area:actions;padding:6px 8px;background:linear-gradient(#2e3021,#121b16);border-bottom:1px solid #99804a;z-index:7;min-width:0}
#gameActions button{display:flex;flex:1 1 0;max-width:110px;min-width:0;min-height:50px;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:4px;border:1px solid #ad9156;border-radius:6px;background:linear-gradient(#57482d,#201d16);color:#ffe6ac;cursor:pointer;touch-action:manipulation}
#gameActions button>span{font-size:22px;line-height:24px}#gameActions button>small{font-size:10px;line-height:13px;white-space:normal;text-align:center}#gameActions button:hover{filter:brightness(1.18)}#gameActions button:focus-visible{outline:2px solid #ffe095;outline-offset:2px}
body.game-actions-ready #top #giftBtn,body.game-actions-ready #top #ktcBtn,body.game-actions-ready #hpSongKimMobile,body.game-actions-ready #u20r,body.game-actions-ready #idleRail,body.game-actions-ready:not(.vinarpg) #quickBar [data-quick="0"],body.game-actions-ready:not(.vinarpg) #quickBar [data-quick="10"],body.game-actions-ready:not(.vinarpg) #quickBar [data-quick="11"],body.vinarpg.game-actions-ready #quickBar [data-quick="1"]{display:none!important}
@media(orientation:landscape){body.vinarpg.game-actions-ready #app{grid-template-rows:auto auto 1fr auto;grid-template-areas:"top top" "actions actions" "battle panel" "tabs panel"}body.vinarpg.compact.game-actions-ready #app{grid-template-areas:"top" "actions" "battle" "tabs"}}
body.u20 #gameActions{position:fixed;top:72px;left:8px;right:auto;width:min(430px,calc(100vw - 180px));border:1px solid #99804a;border-radius:8px;background:#1b2017ed;box-shadow:0 2px 8px #0006}
body.u2s #gameActions{top:64px;width:min(380px,calc(100vw - 150px));padding:4px;gap:4px}body.u2s #gameActions button{min-height:46px}
@media(max-width:400px){#gameActions{gap:4px;padding:5px}#gameActions button>small{font-size:9px}#gameActions button{min-height:60px}}
/* The classic mobile app is scaled to 80%; 60 CSS px keeps a 48px touch target. */
body.mob #gameActions button{min-height:60px}
/* PC: the existing trophy is followed by four shortcuts; reserve enough HUD
   space for the strip and keep the minimap on its own right-hand column. */
body.u20.game-actions-ready #hud{right:426px!important}
body.u20 #gameActions{width:248px;padding:4px;gap:4px;top:4px}
body.u20 #gameActions button{min-height:46px}
body.u20 #gameActions button>small{font-size:9px;line-height:12px}
body.u20 #u20rank{width:32px;min-width:32px;height:28px;padding:0;line-height:26px;font-size:18px;flex:none}
body.u20.u2s.game-actions-ready #hud{width:min(460px,calc(100vw - 384px))!important;right:auto!important}
@media(pointer:coarse){body.u20 #u20rank{width:44px;min-width:44px;height:44px;line-height:42px}body.u20 #gameActions button{min-height:44px}}
body.u20 #u20boss{left:calc((100vw - 236px)/2)}
body.u20.u2s #topCtl{top:84px!important;left:4px!important;bottom:auto!important}
body.u20.u2s #u20boss{top:130px;left:50%}
