/* The game scene keeps its own proportions. The desktop HUD uses the sides. */
.battle-status150{min-width:0}
.battle-power150{min-width:0;padding:14px;border:1px solid #88bdde40;border-radius:9px;background:#182f3d;display:flex;flex-direction:column;gap:14px}
.battle-power150 h2{margin:0;font-size:12px;letter-spacing:.6px;color:#c6e4f1}
.battle-power150>button,.battle-power150 .net-cast-row{width:100%;margin:0}
.battle-power150>button{min-height:52px}
.battle-power150 p{margin:0;font-size:12px;line-height:1.65;color:#a9c9d9;overflow-wrap:anywhere}
.battle-power150 .solo-energy{padding:12px}
.battle-power150 .solo-energy span,.battle-power150 .solo-energy small{font-size:12px;line-height:1.65}
.solo100 #app[data-solo-mode=duel]{max-width:1600px}
.solo100 #app[data-solo-mode=duel] .workspace{width:100%;max-width:none;gap:10px}
.solo100 #app[data-solo-mode=duel] .arena-panel{border-radius:9px}
.solo100 #app[data-solo-mode=duel] .duel-controls{border:1px solid #88bdde40;border-radius:9px}
.solo100 #app[data-solo-mode=duel] .battle-status150{border:1px solid #88bdde40;border-radius:9px;overflow:hidden;background:#182f3d}
.solo100 #app[data-solo-mode=duel] #arena{height:auto;width:100%}
.solo100 #app:not([data-solo-mode=duel]) .workspace{display:flex;flex-direction:column;max-width:720px;margin:auto}
.network98 #app[data-battle142=true]{max-width:1600px}
.network98 #app[data-battle142=true] main{width:100%;max-width:none}
.network98 #app[data-battle142=true] #battle{background:transparent;border:0;border-radius:0;overflow:visible}
.network98 #app[data-battle142=true] .battle-status150{border:1px solid #88bdde40;border-radius:9px;overflow:hidden;background:#182f3d}
.network98 #app[data-battle142=true] .net-deck{border:1px solid #88bdde40;border-radius:9px}
.network98 #app[data-battle142=true] #arena{height:auto;width:100%}
.network98 #app[data-battle142=true] .battle-power150{margin-top:10px}
@media(min-width:1000px){
 .solo100 #app[data-solo-mode=duel],.network98 #app[data-battle142=true]{--scene-height150:max(220px,calc(100dvh - 320px));padding:0 18px}
 .solo100 #app[data-solo-mode=duel] .workspace,.network98 #app[data-battle142=true] #battle{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,calc(var(--scene-height150)*600/555)) minmax(220px,1fr);grid-template-rows:auto auto auto auto;column-gap:18px;row-gap:10px;align-items:start;padding-top:8px;min-height:0;margin:0}
 .solo100 #app[data-solo-mode=duel] .battle-status150,.network98 #app[data-battle142=true] .battle-status150{grid-column:1;grid-row:1;width:100%;max-width:320px;max-height:var(--scene-height150);overflow:auto;justify-self:end}
 .solo100 #app[data-solo-mode=duel] .arena-panel,.network98 #app[data-battle142=true] #stage{grid-column:2;grid-row:1;width:100%;align-self:start}
 .solo100 #app[data-solo-mode=duel] #stage,.network98 #app[data-battle142=true] #stage{height:auto;min-height:0;aspect-ratio:600/555;overflow:hidden;border-radius:8px}
 .solo100 #app[data-solo-mode=duel] #arena,.network98 #app[data-battle142=true] #arena{width:100%;height:auto;aspect-ratio:600/555}
 .solo100 #app[data-solo-mode=duel] .battle-power150,.network98 #app[data-battle142=true] .battle-power150{grid-column:3;grid-row:1;width:100%;max-width:320px;max-height:var(--scene-height150);overflow:auto;justify-self:start;margin:0;padding:18px;gap:18px}
 .solo100 #app[data-solo-mode=duel] .duel-controls,.network98 #app[data-battle142=true] .net-deck{grid-column:2;grid-row:2;width:100%;padding:8px 10px;gap:5px;display:flex;flex-direction:column;max-height:none}
 .solo100 #app[data-solo-mode=duel] .duel-deck-title,.network98 #app[data-battle142=true] .net-own{margin:0;min-height:16px;font-size:11px}
 .solo100 #app[data-solo-mode=duel] .solo-actions button,.network98 #app[data-battle142=true] .net-actions button{min-height:52px;font-size:13px}
 .solo100 #app[data-solo-mode=duel] #upgrade-level,.network98 #app[data-battle142=true] #upgrade-level{margin:0;font-size:11px;line-height:16px}
 .solo100 #app[data-solo-mode=duel] .battle-links147{grid-column:2;grid-row:3;padding:4px 0}
 .solo100 #app[data-solo-mode=duel] #duel-settings{grid-column:2;grid-row:4}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .arena-bar,.network98 #app[data-battle142=true] .battle-status150 .arena-bar{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding:18px;gap:20px}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .wave-info,.network98 #app[data-battle142=true] .battle-status150 .wave-info{display:flex;flex-wrap:wrap;align-items:center;font-size:13px;gap:12px}
 .battle-status150 .wave-info strong{width:100%;font-size:15px;letter-spacing:.5px}
 .battle-status150 .wave-info time{margin-left:auto;font-size:16px;font-variant-numeric:tabular-nums}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .arena-stats,.network98 #app[data-battle142=true] .battle-status150 .arena-stats{font-size:20px;justify-content:space-between}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .arena-stats strong,.network98 #app[data-battle142=true] .battle-status150 .arena-stats strong{font-size:24px}
 .solo100 #app[data-solo-mode=duel] .solo-playback123{display:flex;gap:8px}
 .solo100 #app[data-solo-mode=duel] .solo-playback123 button{flex:1;min-height:40px!important}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .duel-versus,.network98 #app[data-battle142=true] .battle-status150 .net-enemy{display:flex;flex-direction:column;align-items:flex-start;padding:18px;gap:10px;font-size:13px;line-height:1.5;background:#102633}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .duel-versus strong{font-size:14px}
 .network98 #app[data-battle142=true] main>#room{max-width:640px;align-self:center;width:100%}
 .solo100 #app[data-solo-mode=duel]:fullscreen,.network98 #app[data-battle142=true]:fullscreen{--scene-height150:max(220px,calc(100dvh - 240px));padding:0 12px;overflow:auto}
 .solo100 #app[data-solo-mode=duel]:fullscreen .environment-nav,.solo100 #app[data-solo-mode=duel]:fullscreen .mode-tabs100,.network98 #app[data-battle142=true]:fullscreen .environment-nav{display:none}
 .solo100 #app[data-solo-mode=duel]:fullscreen .topbar,.network98 #app[data-battle142=true]:fullscreen .net-header{height:32px}
 .network98 #app[data-battle142=true]:fullscreen{--scene-height150:max(220px,calc(100dvh - 266px))}
}
@media(min-width:1000px) and (max-height:760px){
 .solo100 #app[data-solo-mode=duel] .battle-power150,.network98 #app[data-battle142=true] .battle-power150{padding:12px;gap:12px}
 .battle-power150 h2{font-size:11px}
 .battle-power150 .solo-energy{padding:8px}
 .battle-power150 .solo-energy span,.battle-power150 .solo-energy small{font-size:11px;line-height:1.5}
 .battle-power150 .solo-energy div{margin:6px 0}
 .battle-power150>button{min-height:44px}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .arena-bar,.network98 #app[data-battle142=true] .battle-status150 .arena-bar{padding:12px;gap:12px}
 .solo100 #app[data-solo-mode=duel] .battle-status150 .duel-versus,.network98 #app[data-battle142=true] .battle-status150 .net-enemy{padding:12px;gap:6px;font-size:12px}
}
