/* Local tablet preview: touch controls remain reachable at every aspect ratio. */
@media(min-width:600px){
 html body #app{width:100%!important;height:100%!important;max-width:1180px!important;margin:auto;border-radius:0!important;}
 #app #world .world-opponents{min-height:0!important;height:100%!important;}
 #app #world .world-encounters{min-height:0!important;overflow-x:auto;overflow-y:hidden;align-items:stretch;}
 #app #world .world-encounter-card{height:min(100%,310px)!important;max-height:310px!important;min-height:0!important;flex-basis:174px!important;max-width:210px!important;}
 #app #world .world-encounter-card :is(.world-monster-attack,.opponent-attack,[data-world-start]){min-height:40px!important;font-size:14px!important;flex-shrink:0;}
 #app #world .world-encounter-card .world-monster-level{font-size:11px!important;}
 #app .bottom-nav{min-height:64px!important;}
 #app .bottom-nav .nav-item{min-height:52px!important;font-size:12px!important;}
 #app #battle-root .battle-console{flex-shrink:0!important;}
 #app #battle-root .combat-action-panel{--combat-panel-height:150px;min-height:150px!important;}
 #app #battle-root .battle-buttons{min-height:60px!important;}
 #app #battle-root .battle-buttons .battle-action{min-height:56px!important;font-size:18px!important;}
 #app #battle-root .battle-buttons .battle-action .icon{font-size:26px!important;}
 #app #battle-root .combat-skill-cast{min-width:60px!important;}
 #app #battle-root .combat-skill-cast .skill-asset{height:50px!important;}
 #app #battle-root .combat-skills-list{min-height:82px!important;}
}
@media(min-width:600px) and (max-height:850px){
 #app #world .destination:not(.is-expanded){height:min(380px,58dvh)!important;max-height:calc(100% - 115px)!important;}
 #app #world .world-encounter-card .world-monster-art{min-height:38px!important;max-height:90px!important;}
 #app #world .world-encounter-card{gap:4px!important;}
 #app #battle-root .combat-action-panel{--combat-panel-height:130px;min-height:130px!important;}
 #app #battle-root .battle-field{min-height:100px!important;}
}
@media(min-width:600px) and (max-height:600px){
 #app #world .destination:not(.is-expanded){height:calc(100% - 100px)!important;}
 #app #battle-root .combat-action-panel{--combat-panel-height:116px;min-height:116px!important;}
 #app #battle-root .battle-buttons .battle-action{min-height:48px!important;}
 #app #battle-root .battle-buttons{min-height:48px!important;}
}
