.weapon-state{display:block;max-width:360px;font-size:13px;color:#ffe0a2}.intent[role=button]{cursor:help;min-height:44px}.intent:focus-visible{outline:3px solid #fff}.upgrade-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:300px;overflow:auto}.upgrade-list button{min-height:105px;display:grid;grid-template-columns:65px 1fr;text-align:left;gap:5px;padding:8px}.upgrade-list img{width:60px;height:90px;object-fit:cover;grid-row:span 3}.upgrade-list span{font-size:15px}.upgrade-list [aria-pressed=true]{outline:3px solid #f7d794}.upgrade-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px auto;max-width:800px}.upgrade-card{background:#14343d;border:2px solid #c8ab72;border-radius:14px;padding:15px;font-size:18px}.upgrade-card img{width:100%;max-height:240px;object-fit:contain}.upgrade-change{color:#ffe49f;border-left:4px solid #ebc678;padding:12px;font-size:18px}.experimental-art{position:absolute;bottom:0;background:#172a34;color:#fff;font-size:12px}.selection-panel{max-height:55dvh;overflow:auto}.modal p{line-height:1.6}.game-shell{max-width:100vw}.intent-detail{pointer-events:none}@media(max-width:600px){.upgrade-list{grid-template-columns:1fr;max-height:220px}.upgrade-compare{grid-template-columns:1fr}.upgrade-card img{max-height:160px}.upgrade-card{font-size:17px}.weapon-state{font-size:11px;max-width:155px}.rest-compare{padding:12px}.service-buttons{position:sticky;bottom:0;background:#102a32;padding:10px;z-index:4}.selection-panel{max-height:45dvh}.selection-panel .selection-art{display:none}}
.upgrade-card mark{background:#ffe39a;color:#172b32;padding:2px 4px;border-radius:4px;font-weight:800}
.weapon-state[role=button]{cursor:help;border:1px solid #748f8f;border-radius:5px;padding:3px}.art-label{display:block;font-size:11px}@media(max-width:600px){.weapon-hint,.art-label{display:none}.weapon-state[role=button]{white-space:normal;min-height:44px;display:flex;align-items:center;justify-content:center;line-height:1.15;max-width:138px}.actor-title strong{white-space:normal;font-size:14px}}
@media(max-width:650px){.combat-screen .player-status .weapon-hint,.combat-screen .player .art-label{display:none}.combat-screen .player-status .weapon-state{white-space:normal;font-size:12px;min-height:44px;max-width:100px;margin-top:2px}.combat-screen .player .actor-title{height:18px;line-height:18px}.combat-screen .player .actor-title strong{font-size:13px}}
.intent-overlay .modal{position:fixed;top:105px;left:50%;transform:translateX(-50%);width:min(430px,90vw);max-height:42dvh;font-size:16px;padding:16px}.intent-overlay .modal h2{font-size:20px}.intent-overlay .modal p{font-size:16px}.intent-overlay .modal>button{min-height:44px}@media(max-width:650px){.intent-overlay .modal{top:auto;bottom:0;left:0;transform:none;width:100%;max-height:52dvh;border-radius:16px 16px 0 0}}
@media(max-width:650px){.combat-screen .player-status>span:not(.weapon-state){display:inline;white-space:normal}.combat-screen .player .actor-health{margin:2px 0}.combat-screen .combat-title{justify-content:flex-end}.combat-screen .player .weapon-state{margin-top:0}}
.combat-screen .weapon-hint{display:none}.combat-screen .weapon-state[role=button]{min-height:44px;display:flex;align-items:center;justify-content:center;white-space:normal;line-height:1.2}.combat-screen .player-status{white-space:normal}@media(max-width:650px) and (max-height:700px){.combat-screen .player-art{height:70px;width:84px}.combat-screen .player-art img{max-height:70px}}
/* Keep complete actor stacks inside the arena, including long preparation intents. */
.combat-screen .actors{inset:34px 7% 14px;align-items:stretch}
.combat-screen .player{align-self:stretch;display:grid;grid-template-rows:20px minmax(45px,1fr) 52px 64px;max-height:100%;min-height:0}
.combat-screen .player .actor-title{margin:0;height:20px;line-height:20px}
.combat-screen .player .art-label{display:none}
.combat-screen .player-art{height:100%;min-height:0;max-height:150px;align-self:center}
.combat-screen .player-art img{max-height:100%}
.combat-screen .player .actor-health{margin:0;min-height:0}
.combat-screen .player-status{align-self:end;line-height:1.1}
.combat-screen .enemy-team{align-self:stretch;align-items:stretch;max-height:100%;min-height:0}
.combat-screen .enemy{display:grid;grid-template-rows:minmax(44px,auto) minmax(35px,1fr) 24px 52px;height:100%;max-height:100%;min-height:0;padding:3px}
.combat-screen .enemy .intent{max-height:76px;overflow:auto;min-height:44px}
.combat-screen .enemy .enemy-art{height:100%;min-height:0;max-height:160px;align-self:center}
.combat-screen .enemy .approved-monster-art{height:100%;max-height:100%;width:auto;object-fit:contain}
.combat-screen .enemy .actor-title{margin:0;height:24px;line-height:24px}
.combat-screen .enemy .actor-health{margin:0}
@media(max-width:650px){.combat-screen .actors{inset:28px 8px 12px}.combat-screen .player{grid-template-rows:18px minmax(40px,1fr) 48px 64px}.combat-screen .player-art{height:100%;max-height:94px;width:94px}.combat-screen .enemy{grid-template-rows:minmax(44px,auto) minmax(35px,1fr) 22px 48px}.combat-screen .enemy .intent{max-height:70px}.combat-screen .enemy .enemy-art{height:100%;max-height:94px}.combat-screen .enemy .actor-title{height:22px;line-height:22px}}
.combat-screen .intent{scrollbar-width:thin}.combat-screen .intent::-webkit-scrollbar{width:4px}.combat-screen .intent::-webkit-scrollbar-button{display:none}.combat-screen .intent::-webkit-scrollbar-thumb{background:#809c9a;border-radius:4px}
