/* Readable command UI: decorative pixel work stays in artwork, not body copy. */
#game-screen.rem-battle--phase4 {
 --battle-body:"Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
 --battle-display:"Bahnschrift","Yu Gothic","Meiryo",sans-serif;
}
#game-screen.rem-battle--phase4 :is(.hud,.boss-hud,.item-btn,.special-skill-btn,.floating-btn) {text-shadow:none!important;font-variant-numeric:tabular-nums;}
#game-screen.rem-battle--phase4 .hud-top .label {color:#bed0d6!important;font-size:9px!important;}
#game-screen.rem-battle--phase4 :is(#hp-text,#dust-text,#weapon-value) {font-size:11px!important;font-weight:700!important;}
#game-screen.rem-battle--phase4 #status-text {font:600 11px/14px var(--battle-body)!important;letter-spacing:0!important;text-shadow:none!important;}
#game-screen.rem-battle--phase4 .rem-battle-sector-code,
#game-screen.rem-battle--phase4 .rem-battle-reticle {display:none!important;}
#game-screen.rem-battle--phase4 .rem-battle-rail {opacity:.15!important;}
#game-screen.rem-battle--phase4 .item-btn {font-family:var(--battle-body)!important;font-weight:750!important;border-radius:5px!important;background-image:linear-gradient(180deg,#ffffff0c,transparent 42%,#00000024)!important;box-shadow:inset 0 1px #ffffff22,inset 0 -3px #0005!important;}
#game-screen.rem-battle--phase4 .item-btn:active:not(:disabled) {transform:translateY(1px)!important;box-shadow:inset 0 2px #0005!important;}
#game-screen.rem-battle--phase4 .floating-btn {font:700 11px/1.3 var(--battle-body)!important;border-radius:5px!important;}
#app>.rem-port {--port-font:"Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;}
#app>.rem-port :is(.primary-btn,.shop-btn,.rem-port-back) {
 font-family:var(--port-font)!important;font-weight:750!important;font-size:14px!important;line-height:1.45!important;letter-spacing:.02em!important;
 border-radius:7px!important;border-bottom-width:3px!important;
 background-image:linear-gradient(180deg,#ffffff10,transparent 42%,#0002)!important;
 box-shadow:inset 0 1px #ffffff25,0 2px 0 #0006!important;text-shadow:none!important;
 transition:transform .1s ease-out,box-shadow .1s ease-out;
}
#app>.rem-port :is(.primary-btn,.shop-btn,.rem-port-back):active:not(:disabled) {transform:translateY(2px)!important;box-shadow:inset 0 2px #0005!important;}
#app>.rem-port :is(.primary-btn,.shop-btn):disabled {background-image:none!important;box-shadow:none!important;}
#app>.rem-port :is(.facility-kicker,.reward-kicker,.final-kicker) {letter-spacing:.05em!important;color:var(--port-muted)!important;}
#app>.rem-port :is(.facility-card p,.choice-description,.shop-item-desc) {font-size:13px!important;line-height:1.7!important;letter-spacing:0!important;text-shadow:none!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul {
 --final-ui:"Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
 font-family:var(--final-ui)!important;
}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul :is(.home-local-state,.home-deck-state,.home-brand-kicker,.menu-subtitle,.home-hangar-readout,.menu-hero-kicker) {display:none!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul :is(.menu-header__value,.home-active-frame,.menu-dock-btn strong,.home-sortie-copy,.menu-btn strong) {font-family:var(--final-ui)!important;text-shadow:none!important;letter-spacing:.025em!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul .home-side-actions .menu-dock-btn>strong {font-size:12px!important;line-height:1.4!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul :is(.home-facility-deck,.home-personnel-deck) .menu-btn {border-radius:8px!important;background-image:linear-gradient(145deg,#ffffff08,transparent 50%)!important;box-shadow:inset 0 1px #ffffff15,0 3px 0 #0004!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul :is(.home-facility-deck,.home-personnel-deck) .menu-btn>span {font-family:var(--final-ui)!important;font-size:12px!important;color:#c7d7df!important;text-shadow:none!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul .menu-hero-play {box-shadow:inset 0 2px #fff5,inset 0 -5px #0004,0 4px 0 #0005!important;}
#menu-screen.main-menu--premium.rem-menu-v3.home-overhaul .menu-hero-play:active {transform:translateY(2px)!important;}
#app :is(.rem-port,#menu-screen,#game-screen) button:focus-visible {outline:2px solid #ecffff!important;outline-offset:3px!important;}
@media(prefers-reduced-motion:reduce){#app>.rem-port button{transition:none!important;}}
