/* Responsive presentation only; trading and transport are unchanged. */
html body.portfolio-live .wrap{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
html body.portfolio-live .stage{width:100%!important;max-width:none!important;margin:0!important;border-radius:0;min-width:0}
@media(min-width:701px) and (orientation:landscape){
 html body.portfolio-live:not(.normal-ui) .stage{height:100dvh!important;min-height:0!important;display:block!important;--dock-height:clamp(46px,7dvh,64px)}
 html body.portfolio-live:not(.normal-ui) .stage #scene{width:100%!important;height:100%!important;aspect-ratio:auto!important}
 html body.portfolio-live:not(.normal-ui) .stage .game-dock.icon-dock{height:var(--dock-height)!important;min-height:0!important;bottom:0!important}
 html body.portfolio-live:not(.normal-ui) .stage .battle-hud.reference-neon-host{width:54%!important;max-width:none!important;left:49%!important;bottom:calc(var(--dock-height) + 14px)!important;top:auto!important}
 html body.portfolio-live:not(.normal-ui) .stage .intel-stack.tactical-console{width:22%!important;min-width:0!important;max-width:none!important;right:1%!important;left:auto!important;top:auto!important;bottom:calc(var(--dock-height) + 14px)!important}
 html body.portfolio-live:not(.normal-ui) .stage .lumi-panel{width:20%!important;min-width:0!important;max-width:none!important;left:1%!important;bottom:calc(var(--dock-height) + 14px)!important;min-height:0!important}
 html body.portfolio-live:not(.normal-ui) .stage .lumi-speech{width:100%!important;min-width:0!important;padding:clamp(6px,1vw,14px)!important}
 html body.portfolio-live:not(.normal-ui) .stage .lumi-speech p{font-size:clamp(10px,1vw,14px)!important;line-height:1.4!important}
 html body.portfolio-live:not(.normal-ui) .stage #playerProfile{width:clamp(125px,18vw,280px)!important;right:1%!important}
 html body.portfolio-live:not(.normal-ui) .stage #goldQuotePanel{width:24%!important;min-width:0!important;left:1%!important}
 html body.portfolio-live:not(.normal-ui) .stage #battlePowerBar{left:26%!important;width:48%!important;max-width:none!important;transform:none!important}
}
@media(max-width:700px) and (orientation:portrait),(max-width:540px){
 html body.portfolio-live.portfolio-redesign:not(.normal-ui) .stage:has(.reference-neon){height:100dvh!important;min-height:700px!important;padding:3px!important;width:100%!important;max-width:none!important;grid-template-rows:42px 36px 0px minmax(140px,1fr) 160px 96px 30px 64px!important}
 html body.portfolio-live.portfolio-redesign:not(.normal-ui) .stage .lumi-panel{margin:0!important;top:auto!important;bottom:auto!important;transform:none!important;align-self:stretch!important;min-height:0!important;height:30px!important}
 html body.portfolio-live .stage>*{min-width:0}
}
/* Wide display: smaller centered controls and edge-to-edge battlefield. */
@media(min-width:701px) and (orientation:landscape){
 html body.portfolio-live.portfolio-redesign:not(.normal-ui) .stage .battle-hud.reference-neon-host{width:min(720px,42vw,88dvh)!important;left:50%!important;transform:translateX(-50%)!important;bottom:calc(var(--dock-height) + 14px)!important}
}
