.status.permanent{border-color:#b99158;background:#2c192c}.status.permanent b{color:#ffe2a5}.battle-target-layer{position:absolute;bottom:0;left:0;width:100%;aspect-ratio:16/9;pointer-events:none;z-index:2}.battle-target-layer .scene-target{position:absolute;pointer-events:auto;background:transparent;border:0;border-radius:18%;padding:0;min-height:44px;min-width:44px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.battle-target-layer .scene-target:hover{background:#fff2b00a}.battle-target-layer .scene-target:focus-visible{outline:2px solid #ffe3a1;outline-offset:-2px;background:#fff2b012}.enemy-readout{position:absolute;bottom:-16px;left:50%;transform:translateX(-50%);min-width:72px;width:max-content;max-width:115px;pointer-events:none;text-align:center;font:12px/1.15 system-ui;color:#fff3cf;text-shadow:0 1px 3px #000,0 0 4px #000}.enemy-readout:empty{display:none}.enemy-readout>span{display:block;white-space:nowrap}.enemy-readout b{display:block;font-weight:700;font-variant-numeric:tabular-nums;color:#e3f2d7}.enemy-health{display:block;height:3px;margin-top:2px;background:#151c19;border:1px solid #06100d}.enemy-health>i{display:block;height:100%;background:#c88864}.target-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.command-tools{display:flex;gap:6px;align-items:center}.command-tools button{font-size:14px;min-height:36px}.command-brief{display:none}.battle-active:not(.chase-active) .scene-message{inset:6px auto auto 8px;max-width:72%;padding:5px 9px;font:12px/1.3 system-ui;pointer-events:none;box-shadow:none}.battle-active .statuses:empty{display:flex;visibility:hidden}@media(max-width:700px){.battle-active:not(.chase-active) .shell{padding:0 max(5px,env(safe-area-inset-left)) 0 max(5px,env(safe-area-inset-right))}.battle-active:not(.chase-active) .topbar{height:44px;min-height:44px;padding:0 3px;gap:6px;flex-wrap:nowrap}.battle-active:not(.chase-active) .wordmark{font-size:12px;letter-spacing:2px;gap:5px}.battle-active:not(.chase-active) .wordmark small{display:none}.battle-active:not(.chase-active) .wordmark .diamond{font-size:20px}.battle-active:not(.chase-active) .topbar nav{width:auto;flex-wrap:nowrap;justify-content:flex-end;gap:4px}.battle-active:not(.chase-active) .topbar button{min-height:40px;padding:5px 9px;font-size:14px}.battle-active:not(.chase-active) #party-button,.battle-active:not(.chase-active) #ranking-button,.battle-active:not(.chase-active) #sound span{display:none}.battle-active:not(.chase-active) .chapter-strip,.battle-active:not(.chase-active) footer{display:none}.battle-active:not(.chase-active) .game-frame{border-radius:5px;overflow:clip}.battle-active:not(.chase-active) .game-frame>.boss-hud{position:relative;top:auto;padding:7px 9px}.battle-active:not(.chase-active) .boss-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px}.battle-active:not(.chase-active) .boss-head .eyebrow{grid-column:1/-1;font-size:12px!important;letter-spacing:.3px}.battle-active:not(.chase-active) .boss-head strong{font-size:17px!important;letter-spacing:.6px;line-height:1.1}.battle-active:not(.chase-active) #boss-info{padding:0;min-height:25px;font-size:inherit}.battle-active:not(.chase-active) #boss-hp{font-size:12px;white-space:nowrap}.battle-active:not(.chase-active) .game-frame>.boss-hud .boss-bar{margin-top:5px;height:5px}.battle-active:not(.chase-active) .game-frame>.boss-hud .boss-action-row{font-size:12px;margin:5px 0;gap:7px}.battle-active:not(.chase-active) .game-frame>.boss-hud #boss-intent{font:14px/1.25 system-ui;margin-top:4px}.battle-active:not(.chase-active) .game-frame>.boss-hud .statuses{margin:0;padding:0;gap:4px}.battle-active:not(.chase-active) .game-frame>.boss-hud .status{min-height:30px;min-width:32px;padding:2px}.battle-active:not(.chase-active) .game-frame>.boss-hud .status img{width:23px;height:21px}.battle-active:not(.chase-active) .game-frame>.boss-hud .status b{font-size:12px}.battle-active:not(.chase-active) .battle-time{margin-top:3px;padding:0;border:0;gap:6px;font-size:12px;justify-content:flex-end}.battle-active:not(.chase-active) .battle-time>span,.battle-active:not(.chase-active) .battle-time>small{display:none}.battle-active:not(.chase-active) .battle-time strong{font-size:12px}.battle-active:not(.chase-active) .scene{aspect-ratio:1280/608}.battle-active:not(.chase-active) #game{position:absolute;bottom:0;left:0;width:100%;height:auto;aspect-ratio:16/9}.battle-active:not(.chase-active) .enemy-readout{bottom:0}.battle-active:not(.chase-active) .hero-card{padding:5px 5px 4px}.battle-active:not(.chase-active) .hero-select{grid-template-columns:25px minmax(0,1fr);gap:4px;min-height:58px}.battle-active:not(.chase-active) .hero-select img{width:25px;height:40px}.battle-active:not(.chase-active) .hero-name{display:block;font-size:14px;line-height:1.1;margin:0 0 3px}.battle-active:not(.chase-active) .hero-name small{font:12px/1.1 system-ui;letter-spacing:0;margin-top:3px}.battle-active:not(.chase-active) .hero-hp{font:12px/1.1 system-ui;margin:3px 0}.battle-active:not(.chase-active) .hero-hp>span:first-child{display:none}.battle-active:not(.chase-active) .hero-card .bar{height:5px}.battle-active:not(.chase-active) .hero-card .atb{height:4px;margin-top:3px}.battle-active:not(.chase-active) .hero-card .statuses{flex-wrap:nowrap;overflow-x:auto;gap:3px;margin-top:4px;scrollbar-width:none}.battle-active:not(.chase-active) .hero-card .status{flex:none;min-height:32px;min-width:34px;padding:2px}.battle-active:not(.chase-active) .hero-card .status img{width:22px;height:22px}.battle-active:not(.chase-active) .hero-card .status b{font-size:12px}.battle-active:not(.chase-active) .jackpot-power{font-size:12px;line-height:1.15;max-height:28px;overflow:auto}.battle-active:not(.chase-active) .battle-bottom{display:block}.battle-active:not(.chase-active) .command-area{padding:4px 6px max(6px,env(safe-area-inset-bottom))}.battle-active:not(.chase-active) .command-title{gap:4px;min-height:32px;margin:0 0 4px}.battle-active:not(.chase-active) .command-title .eyebrow{font:12px/1.2 system-ui;letter-spacing:.4px}.battle-active:not(.chase-active) .command-tools{gap:3px}.battle-active:not(.chase-active) .command-tools button{font-size:14px;min-height:32px;padding:4px 6px}.battle-active:not(.chase-active) .commands{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.battle-active:not(.chase-active) .command{min-height:78px;padding:7px 6px;justify-content:flex-start;gap:5px}.battle-active:not(.chase-active) .command strong{font:600 14px/1.16 system-ui;overflow-wrap:anywhere}.battle-active:not(.chase-active) .command small,.battle-active:not(.chase-active) .summon-use{display:none}.battle-active:not(.chase-active) .command-brief{display:block;font:12px/1.3 system-ui;color:#c8d6bd}.battle-active:not(.chase-active) #command-tip,.battle-active:not(.chase-active) .combat-journal{display:none}.battle-active:not(.chase-active) .ultimate-warning{padding:5px 7px;margin-top:5px}.battle-active:not(.chase-active) .ultimate-warning>b{font-size:12px}.battle-active:not(.chase-active) .ultimate-warning>p{display:none}.battle-active:not(.chase-active) .ultimate-forecast{gap:3px;font-size:12px;margin-top:4px}.battle-active:not(.chase-active) .ultimate-forecast>span{padding:3px 5px}}@media(max-width:700px)and (orientation:portrait){.battle-active:not(.chase-active) .game-frame{height:auto;max-height:none;display:block}.battle-active:not(.chase-active) .scene{width:100%;height:auto;min-height:0;aspect-ratio:1280/608;flex:none}.battle-active:not(.chase-active) #game,.battle-active:not(.chase-active) .battle-target-layer{width:100%;height:auto;left:0;transform:none}.battle-active:not(.chase-active) .enemy-readout{min-width:54px}}@media(max-width:370px){.battle-active:not(.chase-active) .hero-select{grid-template-columns:1fr}.battle-active:not(.chase-active) .hero-select>img{display:none}.battle-active:not(.chase-active) .wordmark{letter-spacing:1px;font-size:11px}.enemy-readout{min-width:54px;font-size:11px}}@media(orientation:landscape)and (max-height:560px){.battle-active:not(.chase-active) .topbar,.battle-active:not(.chase-active) footer,.battle-active:not(.chase-active) .chapter-strip{display:none}.battle-active:not(.chase-active) .shell{padding:0 max(5px,env(safe-area-inset-left));max-width:1100px}.battle-active:not(.chase-active) .game-frame{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);align-items:start}.battle-active:not(.chase-active) .game-frame>.boss-hud{grid-column:1;grid-row:1;position:relative;padding:6px 9px}.battle-active:not(.chase-active) .scene{grid-column:1;grid-row:2;aspect-ratio:1280/608}.battle-active:not(.chase-active) #game{position:absolute;bottom:0;left:0;height:auto;width:100%}.battle-active:not(.chase-active) .battle-panel{grid-column:2;grid-row:1/3;min-height:100dvh}.battle-active:not(.chase-active) .battle-bottom{display:block}.battle-active:not(.chase-active) .combat-journal,.battle-active:not(.chase-active) #command-tip{display:none}.battle-active:not(.chase-active) .hero-card{padding:5px}.battle-active:not(.chase-active) .hero-select{grid-template-columns:1fr;min-height:60px}.battle-active:not(.chase-active) .hero-select>img{display:none}.battle-active:not(.chase-active) .hero-name{font-size:14px}.battle-active:not(.chase-active) .hero-hp{font-size:12px}.battle-active:not(.chase-active) .command-area{padding:5px}.battle-active:not(.chase-active) .command-title{margin-bottom:5px}.battle-active:not(.chase-active) .commands{gap:5px}.battle-active:not(.chase-active) .command{min-height:65px;padding:7px}.battle-active:not(.chase-active) .command strong{font-size:14px}.battle-active:not(.chase-active) .command small,.battle-active:not(.chase-active) .summon-use{display:none}.battle-active:not(.chase-active) .command-brief{display:block;font-size:12px;line-height:1.3;color:#c8d6bd}}.battle-active:not(.chase-active) #boss-statuses{min-height:34px;flex-wrap:nowrap;overflow-x:auto}.battle-active:not(.chase-active) #boss-intent{height:2.5em;overflow-y:auto;line-height:1.25}.battle-active:not(.chase-active) .battle-panel{min-width:0}.battle-active:not(.chase-active) .party-hud{grid-template-columns:repeat(3,minmax(0,1fr))}.battle-active:not(.chase-active) .hero-card .statuses{width:100%;min-width:0;max-width:100%;min-height:36px;flex-wrap:wrap;overflow:visible;align-content:flex-start}.battle-active:not(.chase-active) .hero-card .status{flex:0 0 auto;max-width:100%}.battle-active:not(.chase-active) .hero-card .status span{min-width:0;overflow-wrap:anywhere}.hp-stack{position:relative;overflow:visible!important}.hp-stack .barrier-overlay{position:absolute;left:0;bottom:100%;height:4px;background:#55c9ff!important;box-shadow:0 0 5px #239bdb;transition:width .18s linear;pointer-events:none}.hero-preparation{display:block;min-height:15px;font:600 11px/15px system-ui;color:#abc9be;white-space:nowrap}.hero-preparation.pending{color:#ffdf83}@media(max-width:700px),(orientation:landscape)and (max-height:560px){.battle-active:not(.chase-active) .commands{height:clamp(214px,32svh,258px);grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;overflow:auto}.battle-active:not(.chase-active) .command{min-height:0;min-width:0;overflow:hidden}.battle-active:not(.chase-active) .command strong{flex:none}.battle-active:not(.chase-active) .command-brief{min-height:0;overflow-y:auto;scrollbar-width:thin}.battle-active:not(.chase-active) .commands[data-mode=target] .command{grid-row:1/-1;justify-content:center}.battle-active:not(.chase-active) .hero-card .statuses{min-height:32px}.battle-active:not(.chase-active) .jackpot-power{height:28px;margin:0}.battle-active:not(.chase-active) .jackpot-power:empty{height:0}}@media(max-aspect-ratio:1/1){.finale{justify-content:flex-start;padding:0 0 max(12px,env(safe-area-inset-bottom));gap:0}.finale-top{position:relative;inset:auto;flex:none;width:100%;box-sizing:border-box;padding:10px 12px;min-height:58px}.finale-stage{margin:0 auto;flex:0 0 auto;display:block;width:100%;aspect-ratio:auto}#finale-canvas{width:100%;height:auto;aspect-ratio:16/9}.finale-story{min-height:0;padding:12px 16px 0}.finale-story:empty{display:none}.finale-dialogue p{font-size:clamp(18px,5vw,22px);line-height:1.25;margin:6px 0 12px}.finale-buttons button{padding:10px;min-height:76px}.finale-choices>.eyebrow{margin-bottom:6px}}.practice-exit{margin:8px 14px;min-height:40px}.battle-active:not(.chase-active) .commands[data-mode=ally]{display:block;height:auto;min-height:0;grid-template-rows:none;overflow:visible}.ally-target-help{margin:0;padding:10px 12px;border-left:3px solid #83d7c8;background:#142c25;color:#e2efde;font:14px/1.4 system-ui;min-height:0}.ally-target-help strong,.ally-target-help span{display:block}.ally-target-help strong{font-weight:600;color:#baf4df}.ally-target-help span{margin-top:3px;color:#c0cfbd}.hero-card.ally-targetable .hero-select{cursor:pointer}.hero-card.ally-target-unavailable .hero-select{opacity:.5;cursor:default}@media(max-width:700px),(orientation:landscape)and (max-height:560px){.ally-target-help{font-size:13px;padding:7px 9px}}img[src*="status/explosiveBarrier.png"]{filter:hue-rotate(65deg) saturate(1.25)}.barrier-overlay.explosive{background:linear-gradient(90deg,#a766e9,#e4b0ff)}
