/* Mobile-only layout adapter; all imagery comes from the existing game/Work assets. */
#mobile-hud,#mobile-panel,#mobile-selection,#mobile-bag-seat{display:none}
body.mobile-ui{height:var(--mobile-vh,100dvh);overflow:hidden;overscroll-behavior:none;touch-action:manipulation}
body.mobile-ui #app{height:var(--mobile-vh,100dvh);min-height:0;overflow:hidden}
body.mobile-ui .arena-wrap{position:fixed!important;inset:0!important;width:100%!important;height:var(--mobile-vh,100dvh)!important;min-height:0!important}
body.mobile-ui #battlefield{width:100%!important;height:100%!important}
body.mobile-ui button{touch-action:manipulation}
body.playing.mobile-ui #hud-stats,body.playing.mobile-ui #hud-round,body.playing.mobile-ui #hud-options,body.playing.mobile-ui #hud-left,body.playing.mobile-ui #hud-right,body.playing.mobile-ui #hud-clock,body.playing.mobile-ui #hud-hint,body.playing.mobile-ui #hud-shop-toggle{display:none!important}
body.playing.mobile-ui #mobile-hud{position:fixed;z-index:35;top:env(safe-area-inset-top,0px);left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));display:flex;gap:4px;align-items:center;height:48px;pointer-events:auto}
#mobile-hud button,#mobile-life{box-sizing:border-box;min-height:44px;min-width:44px;padding:3px 6px;border:1px solid #758fa5;background:#172c40ed;border-radius:6px;color:#eef6ee;box-shadow:inset 0 1px #ffffff21;line-height:1.15}
#mobile-hud button{height:44px;font-size:22px;flex-shrink:0}
#mobile-life{display:flex;align-items:center;justify-content:center;gap:4px;width:60px;color:#ffabb8;font-size:18px;font-variant-numeric:tabular-nums}
#mobile-stage{flex:1;min-width:100px!important;text-align:left;overflow:hidden}
.mobile-stage-copy{display:flex;flex-direction:column;gap:3px}.mobile-stage-copy small{color:#b8cddc;font-size:10px}.mobile-stage-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#mobile-hud #mobile-synergy{width:86px;display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;padding:2px}
#mobile-synergy .synergy-vector,#mobile-synergy .synergy-portrait,#mobile-synergy .type-symbol{width:19px;height:19px;flex-basis:19px}#mobile-synergy small{font-size:10px}
#mobile-guide{width:44px;padding:3px!important;background:#16283bd9!important}#mobile-guide svg{width:30px;height:36px}
#mobile-interest-seat{width:116px;flex:none;height:44px;position:relative}
body.mobile-ui #gold-interest-side{position:static!important;display:flex!important;align-items:center;gap:1px;width:116px;height:44px;margin:0;padding:0;background:#162b3ad9;border-radius:6px;pointer-events:none}
body.mobile-ui #gold-interest-side[hidden]{display:none!important}
body.mobile-ui #gold-interest-side{flex-direction:row!important}
body.mobile-ui .interest-coins{flex-direction:row;gap:1px;order:2}body.mobile-ui .interest-coin{width:18px;height:22px;filter:none;box-shadow:none}body.mobile-ui .interest-coin.empty{opacity:.22;filter:grayscale(1)}
body.mobile-ui .interest-badge{position:static;order:3;min-width:22px;font-size:12px;background:none;border:0;padding:0;color:#acffd2}
body.mobile-ui .pika-portrait{order:1;margin:0;width:34px;height:40px;overflow:visible}body.mobile-ui .pika-portrait img{position:static;width:34px;height:40px;object-fit:contain;max-width:100%}
body.mobile-ui .interest-coin::after{display:none!important}body.mobile-ui .side-gold-rise{display:none}
body.playing.mobile-ui #hud-bottom,body.playing.mobile-ui.hud-combat #hud-bottom{position:fixed;left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));bottom:max(4px,env(safe-area-inset-bottom));width:auto;max-width:none;transform:none;pointer-events:none;margin:0}
body.playing.mobile-ui .game-footer{width:100%;padding:0;display:flex;gap:3px;flex-direction:column;pointer-events:auto}
body.playing.mobile-ui .footer-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 100px 112px;grid-template-rows:44px;gap:4px;align-items:stretch;width:100%;height:44px;min-height:44px;padding:0}
body.playing.mobile-ui .bench{display:flex;grid-column:1;grid-row:1;gap:3px;width:auto;min-width:0;height:44px;margin:0;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity}
body.playing.mobile-ui .bench-slot{flex:1 0 44px;min-width:44px;min-height:44px;height:44px;border-radius:5px;scroll-snap-align:start;touch-action:pan-x}
body.playing.mobile-ui .bench-slot img{max-height:35px;max-width:42px;object-fit:contain}
body.playing.mobile-ui #battle-btn.deploy-button{position:static;grid-column:3;grid-row:1;width:112px;height:44px!important;min-height:44px!important;padding:4px;font-size:14px;margin:0;transform:none;display:flex;align-items:center;justify-content:center;gap:3px}
body.playing.mobile-ui #battle-btn small,body.playing.mobile-ui .bench-title{display:none}
body.playing.mobile-ui #hud-deploy-count{position:static;grid-column:2;grid-row:1;min-width:0;width:auto;height:44px;min-height:44px;margin:0;padding:5px;flex-direction:column;justify-content:center;gap:4px;font-size:13px}
body.playing.mobile-ui #hud-deploy-slots{flex:none;width:100%;justify-content:center}
body.playing.mobile-ui #hud-shop-controls{position:relative;display:grid;grid-template-columns:100px 66px 54px minmax(64px,1fr) 44px 44px;gap:4px;align-items:center;padding:2px 4px;height:48px;min-height:48px;width:100%;box-sizing:border-box;overflow:visible}
body.playing.mobile-ui #hud-shop-controls .shop-sidebar,body.playing.mobile-ui #hud-shop-actions{display:contents}
body.playing.mobile-ui #hud-level{grid-column:1;grid-row:1;width:auto;padding:0;display:flex;flex-direction:column;gap:4px}
body.playing.mobile-ui #hud-level-title{display:flex;flex-direction:column;align-items:flex-start;gap:1px;line-height:1.1}
body.playing.mobile-ui #level-label{font-size:12px}body.playing.mobile-ui #xp-label{font-size:10px}
body.playing.mobile-ui .hud-xp-track{width:100%}body.playing.mobile-ui .hud-xp-track .progress{height:6px;min-height:6px}
body.playing.mobile-ui #xp-btn,body.playing.mobile-ui #reroll-btn,body.playing.mobile-ui #lock-btn,body.playing.mobile-ui #hud-shop-gold{position:static!important;grid-row:1;height:44px!important;min-height:44px!important;min-width:44px!important;width:auto!important;padding:3px!important;margin:0;display:flex;align-items:center;justify-content:center;gap:3px;font-size:13px}
body.playing.mobile-ui #xp-btn{grid-column:2}body.playing.mobile-ui #reroll-btn{grid-column:3;font-size:20px}body.playing.mobile-ui #hud-shop-gold{grid-column:4;font-size:20px}body.playing.mobile-ui #lock-btn{grid-column:5}body.playing.mobile-ui #mobile-bag-seat{display:block;grid-column:6;grid-row:1;width:44px;height:44px}
body.playing.mobile-ui #hud-shop-gold{transform:none;inset:auto}
body.playing.mobile-ui #xp-btn .hud-candy{width:16px;height:18px}body.playing.mobile-ui #xp-btn .hud-coin{width:13px;height:13px}
body.playing.mobile-ui .shop-sign,body.playing.mobile-ui .shop-odds{display:none}
body.playing.mobile-ui .shop-area{display:block;width:100%;height:62px;min-height:62px;padding:0;border:0;background:none;margin:0}
body.playing.mobile-ui .shop-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:62px;gap:4px;width:100%;overflow:visible}
body.playing.mobile-ui .shop-card{height:62px;min-height:62px;min-width:44px;position:relative;touch-action:manipulation;overflow:hidden}
body.playing.mobile-ui .shop-top{height:40px;min-height:40px;position:static}body.playing.mobile-ui .shop-top img{height:38px;max-width:64px}
body.playing.mobile-ui .shop-name{font-size:11px;line-height:18px;min-height:18px;padding:1px 29px 1px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.playing.mobile-ui .shop-cost{position:absolute;bottom:1px;right:4px;top:auto;left:auto;font-size:12px}body.playing.mobile-ui .shop-cost::before{width:13px;height:13px}
body.playing.mobile-ui .shop-meta{top:2px;left:3px;gap:1px;pointer-events:none}body.playing.mobile-ui .shop-meta .type-symbol{width:14px;height:14px}
body.playing.mobile-ui .shop-card [data-info]{width:44px!important;height:44px!important;min-width:44px;min-height:44px;right:0!important;top:0!important;font-size:12px;display:flex;align-items:flex-start;justify-content:flex-end;padding:2px 4px;background:transparent;border:0;box-shadow:none}
body.playing.mobile-ui .shop-card.unaffordable{opacity:.55}
body.playing.mobile-ui #hud-items.bc-tray[data-expanded=false]{position:static!important;display:block!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0;border:0;background:none;visibility:visible!important}
body.playing.mobile-ui #hud-items.bc-tray summary{height:44px;min-height:44px;padding:0;margin:0}
body.playing.mobile-ui #hud-items.bc-tray[data-expanded=true]{position:fixed!important;z-index:65;padding:4px 10px;border-image-source:url('assets/equipment-bc/panel.webp')}
body.playing.mobile-ui #equipment-workspace{position:fixed;z-index:66;width:248px;padding:6px 10px;gap:2px}
body.playing.mobile-ui #hud-items.bc-tray #item-inventory{display:grid;grid-template-columns:repeat(4,44px);grid-auto-rows:44px;gap:4px 12px;width:224px;height:92px;max-height:92px;padding:0}
body.playing.mobile-ui #hud-items.bc-tray[data-expanded=false] #item-inventory{display:none}
body.playing.mobile-ui #bc-tools{right:10px;top:4px;bottom:auto;gap:4px}body.playing.mobile-ui #bc-bag-pages{justify-content:space-between;margin-top:4px}body.playing.mobile-ui #bc-bag-pages [data-bc-action=previous]{display:block}body.playing.mobile-ui #bc-page{display:block;line-height:44px;font-size:11px}
body.playing.mobile-ui #hud-items.bc-tray:not([data-mode=bag])[data-expanded=true]{visibility:hidden}
body.playing.mobile-ui #mobile-selection:not([hidden]){position:fixed;z-index:40;right:max(6px,env(safe-area-inset-right));top:calc(env(safe-area-inset-top) + 54px);display:flex;align-items:center;gap:4px;background:#172c40ed;border:1px solid #95bcb9;border-radius:6px;padding:2px 4px;font-size:11px;max-width:calc(100% - 12px)}
#mobile-selection button{min-width:44px;min-height:44px;padding:3px;font-size:12px}#mobile-selected-name{max-width:130px}
body.mobile-ui #placement-readout{display:none!important}
body.mobile-ui #mobile-panel:not([hidden]){position:fixed;z-index:160;inset:0;display:grid;place-items:center;padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#071420aa}
.mobile-panel-card{width:min(460px,100%);max-height:100%;display:flex;flex-direction:column;border:1px solid #92b5bb;border-radius:8px;background:#172c40;color:#eff5ef;overflow:hidden}.mobile-panel-card header{display:flex;align-items:center;justify-content:space-between;padding:2px 8px;border-bottom:1px solid #587487}.mobile-panel-card header button{min-width:44px;min-height:44px;font-size:24px}.mobile-panel-card h3{font-size:16px}.mobile-panel-card p{font-size:13px;line-height:1.5}#mobile-panel-content{overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:8px}.mobile-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mobile-menu-grid button{min-height:44px;font-size:12px;padding:6px}
body.mobile-ui #field-guide{padding:6px;pointer-events:auto;background:#07142088}body.mobile-ui .guide-device{width:100%;height:calc(var(--mobile-vh,100dvh) - 12px);max-height:100%;grid-template-columns:54px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr)}
body.mobile-ui .guide-device>nav{gap:3px;padding:3px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}body.mobile-ui .guide-device>nav button{flex:0 0 44px;min-height:44px}body.mobile-ui .guide-device>header button{min-width:44px;min-height:44px}body.mobile-ui #guide-screen{margin:4px;padding:8px;font-size:12px}
body.mobile-ui #detail-popover:not(.guide-embedded),body.mobile-ui #gold-popover{max-width:calc(100vw - 12px)!important;max-height:calc(var(--mobile-vh,100dvh) - 12px)!important;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
body.mobile-ui #detail-popover .detail-close,body.mobile-ui #gold-popover button,body.mobile-ui .overlay .modal-close,body.mobile-ui #settings-close{min-width:44px;min-height:44px}
body.mobile-ui .overlay{padding:6px;max-height:var(--mobile-vh,100dvh)}body.mobile-ui .overlay .modal-card{max-height:calc(var(--mobile-vh,100dvh) - 12px);max-width:calc(100vw - 12px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
body.mobile-ui input,body.mobile-ui select{font-size:16px;min-height:44px}
body.mobile-ui #battlefield{touch-action:none}
body.mobile-ui .combat-result{max-width:calc(100vw - 24px);max-height:calc(var(--mobile-vh,100dvh) - 24px);overflow:auto}
body.mobile-ui #arena-toast{max-width:65vw;pointer-events:none}
body.mobile-ui #app[inert] #gold-interest-side{visibility:hidden}
/* Portrait keeps core actions visible; the nine bench slots have a local scroll. */
body.playing.mobile-ui.mobile-portrait #mobile-hud{height:96px;flex-wrap:wrap;align-content:flex-start;gap:4px}
body.mobile-portrait #mobile-life{order:1;width:48px}body.mobile-portrait #mobile-stage{order:2;flex:1 0 calc(100% - 100px)}body.mobile-portrait #mobile-menu-toggle{order:3;width:44px}
body.mobile-portrait #mobile-synergy{order:4;flex:1;width:auto}body.mobile-portrait #mobile-interest-seat{order:5}body.mobile-portrait #mobile-guide{order:6}body.mobile-portrait #mobile-sound{order:7}body.mobile-portrait #mobile-hud #speed-btn{order:8}
body.mobile-portrait #mobile-selection:not([hidden]){top:calc(env(safe-area-inset-top) + 102px)}
body.playing.mobile-portrait .footer-head{grid-template-columns:78px minmax(0,1fr);grid-template-rows:44px 48px;height:96px;min-height:96px;gap:4px}
body.playing.mobile-portrait #hud-deploy-count{grid-column:1;grid-row:1}body.playing.mobile-portrait #battle-btn.deploy-button{grid-column:2;grid-row:1;width:100%}
body.playing.mobile-portrait .bench{grid-column:1/-1;grid-row:2;height:48px}body.playing.mobile-portrait .bench-slot{height:48px}
body.playing.mobile-portrait #hud-shop-controls{grid-template-columns:70px 48px 44px minmax(48px,1fr) 44px 44px;gap:3px;padding:2px}
body.playing.mobile-portrait #xp-btn{font-size:10px;flex-wrap:wrap;gap:0;line-height:1}body.playing.mobile-portrait #xp-btn .hud-candy{width:14px}body.playing.mobile-portrait #hud-shop-gold{font-size:16px}body.playing.mobile-portrait #hud-shop-gold .hud-coin{width:16px;height:16px}
body.playing.mobile-portrait .shop-area,body.playing.mobile-portrait .shop-cards,body.playing.mobile-portrait .shop-card{height:86px;min-height:86px}
body.playing.mobile-portrait .shop-top{height:64px;min-height:64px}body.playing.mobile-portrait .shop-top img{height:45px;max-width:50px}body.playing.mobile-portrait .shop-name{font-size:10px;padding-right:18px}body.playing.mobile-portrait .shop-cost{font-size:10px;right:2px}body.playing.mobile-portrait .shop-cost::before{display:none}
@media(max-height:389px){body.playing.mobile-ui #hud-items.bc-tray #item-inventory{height:44px;max-height:44px}}
/* Landscape: the shop occupies the lower right; the board uses the taller left area. */
body.playing.mobile-ui:not(.mobile-portrait) #hud-bottom{height:186px}
body.playing.mobile-ui:not(.mobile-portrait) .game-footer{position:relative;height:186px;pointer-events:none}
body.playing.mobile-ui:not(.mobile-portrait) .footer-head{position:absolute;bottom:0;left:0;right:0;pointer-events:auto}
body.playing.mobile-ui:not(.mobile-portrait) #hud-shop-controls{position:absolute;right:0;top:0;width:356px;grid-template-columns:74px 48px 44px minmax(48px,1fr) 44px 44px;gap:3px;padding:2px;pointer-events:auto}
body.playing.mobile-ui:not(.mobile-portrait) .shop-area{position:absolute;right:0;top:52px;width:356px;height:86px;pointer-events:auto}
body.playing.mobile-ui:not(.mobile-portrait) .shop-cards,body.playing.mobile-ui:not(.mobile-portrait) .shop-card{height:86px}
body.playing.mobile-ui:not(.mobile-portrait) .shop-top{height:64px;min-height:64px}
body.playing.mobile-ui:not(.mobile-portrait) .shop-top img{height:52px;max-width:58px}
body.playing.mobile-ui:not(.mobile-portrait) #xp-btn{font-size:10px;gap:0;flex-wrap:wrap}
body.playing.mobile-ui:not(.mobile-portrait) #sell-drop{left:auto;right:0;top:0;bottom:48px;width:356px;height:auto}
body.playing.mobile-ui::after{display:none!important}
body.playing.mobile-ui .shop-card .merge-hint{max-width:calc(100% - 25px);font-size:8px;line-height:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
body.playing.mobile-ui .shop-card .shop-info{z-index:4;color:#d9f4f1!important;opacity:1}
body.playing.mobile-ui .shop-card.locked{filter:saturate(.35);opacity:.6}
body.playing.mobile-ui .bench,body.playing.mobile-ui .bench-slot{touch-action:none}
body.mobile-ui .pika-portrait img{object-fit:contain!important;transform:none!important;inset:auto!important}
/* Existing nine-slice panel provides responsive mobile dialogs without stretching
   the desktop Pokédex artwork. The desktop machine and its artwork stay intact. */
body.mobile-ui .guide-device,body.mobile-ui .dex-device{display:grid;position:relative;inset:auto;width:100%;height:calc(var(--mobile-vh,100dvh) - 12px);max-height:100%;background:#14283c;border:10px solid transparent;border-image:url('assets/equipment-bc/panel.webp') 20 fill stretch;padding:2px;box-shadow:none;border-radius:8px;overflow:hidden;gap:4px}
body.mobile-ui .guide-device:before,body.mobile-ui .dex-device:before{display:none}
body.mobile-ui .guide-device{grid-template-columns:54px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr)}
body.mobile-ui .guide-device>header,body.mobile-ui .dex-device>header{position:static;inset:auto;grid-column:1/-1;height:44px;padding:0 4px;min-width:0}
body.mobile-ui .guide-device>header h2,body.mobile-ui .dex-device>header h2{font-size:16px}
body.mobile-ui .guide-device>nav[role=tablist]{position:static;inset:auto;grid-column:1;grid-row:2;width:54px;min-height:0;max-height:100%;padding:4px;gap:5px;justify-content:flex-start;overflow-y:auto}
body.mobile-ui .guide-device>nav[role=tablist] button{width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:7px;border-radius:8px}
body.mobile-ui #guide-screen{position:static;inset:auto;grid-column:2;grid-row:2;min-width:0;min-height:0;margin:0;padding:8px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
body.mobile-ui #guide-screen button{min-height:44px}
body.mobile-ui #pokedex{padding:6px}
body.mobile-ui .dex-device{grid-template-columns:minmax(0,1fr);grid-template-rows:44px auto minmax(0,1fr) auto}
body.mobile-ui .dex-device .dex-toolbar{position:static;inset:auto;height:auto;min-width:0;display:flex;flex-wrap:wrap;padding:2px;gap:4px}
body.mobile-ui .dex-device .dex-toolbar strong{flex:1 0 100%;font-size:11px}
body.mobile-ui .dex-device .dex-toolbar input{flex:1;min-width:50px;width:120px}
body.mobile-ui .dex-device .dex-toolbar select{font-size:12px;max-width:105px}
body.mobile-ui .dex-device .dex-panels{position:static;inset:auto;height:auto;min-height:0;grid-template-columns:42% minmax(0,1fr)}
body.mobile-ui #dex-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;max-height:none;overscroll-behavior:contain;touch-action:pan-y}
body.mobile-ui #dex-detail{padding:8px;border-left-width:2px;max-height:none;overscroll-behavior:contain;touch-action:pan-y}
body.mobile-ui #dex-detail .detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
body.mobile-ui #dex-detail .dex-screen{height:125px}body.mobile-ui .dex-screen img{height:70px;max-width:100%}body.mobile-ui .dex-screen h2{font-size:17px}
body.mobile-ui .dex-device>footer{position:static;inset:auto;height:auto;font-size:9px;gap:4px;padding:0;min-width:0}
body.mobile-ui .dex-device button{min-height:44px}body.mobile-ui #dex-close{min-width:44px}
body.mobile-ui #help-close,body.mobile-ui #help-ok{min-width:44px;min-height:44px}
body.playing.mobile-ui #reroll-btn{flex-direction:column;gap:0;font-size:13px;overflow:hidden;line-height:1}
body.playing.mobile-ui #reroll-btn .ball-refresh{font-size:18px;line-height:18px;width:20px;height:18px}
body.playing.mobile-ui #reroll-btn b{display:flex;align-items:center;font-size:11px;line-height:14px;gap:2px}
body.playing.mobile-ui #reroll-btn .hud-coin{width:12px;height:12px}
body.playing.mobile-ui .shop-card .merge-hint,body.playing.mobile-ui .shop-card .shop-price{display:none}
body.playing.mobile-ui .shop-card .shop-stars{top:49px;bottom:auto;left:3px;width:auto;transform:none}
body.playing.mobile-ui .shop-card .shop-name{position:absolute;bottom:0;left:0;right:22px;height:20px;min-height:20px;font-size:11px;line-height:18px;padding:1px 0 1px 3px}
body.playing.mobile-ui .shop-card .shop-cost{bottom:3px;right:3px;font-size:12px;line-height:16px}
body.playing.mobile-ui .shop-card .shop-cost::before{display:none}
body.playing.mobile-ui .shop-card .shop-top>img{margin-top:10px}
body.mobile-ui .guide-device>nav[role=tablist]{position:relative}
body.mobile-ui button,body.mobile-ui [role=button]{-webkit-tap-highlight-color:transparent}
body.playing.mobile-portrait #mobile-life{width:52px;padding:3px 2px;gap:2px;font-size:16px}
body.playing.mobile-portrait #mobile-stage{flex:1 1 calc(100% - 104px)}
body.mobile-ui #mobile-stage{position:relative}
body.mobile-ui #mobile-stage #fight-clock{display:none}
body.mobile-ui.hud-combat #mobile-stage #fight-clock{display:block;position:absolute;right:5px;top:3px;font-size:10px;line-height:12px;background:none;color:#ffe1a5;white-space:nowrap}
body.mobile-ui.hud-combat .mobile-stage-copy small{padding-right:74px}
/* Mobile core controls stay in place during combat; existing disabled states
   still enforce purchase/placement rules. Desktop auto-fold is unchanged. */
body.playing.mobile-ui.hud-combat:not(.hud-shop-open) .shop-area{display:block}
