.encounter-guide{position:fixed;left:26px;top:205px;width:228px;z-index:12;display:grid;gap:7px;color:#c9d8e2;text-shadow:0 2px 8px #030a12;font:11px/1.5 system-ui;pointer-events:none}
.encounter-guide[hidden]{display:none}.encounter-guide>small{font-size:8px;letter-spacing:.22em;color:#cfb983}.encounter-guide>strong{font:17px/1.2 Georgia,serif;color:#e4e9e7}.encounter-guide>div{display:flex;align-items:center;gap:9px;color:#e0ca96}.encounter-guide i{font:23px Georgia,serif;display:inline-block;width:20px;text-align:center;font-style:normal}.encounter-purpose{color:#aabaca}.encounter-guide.near i{color:#f4e3b5}
.encounter-title{position:fixed;left:50%;top:23%;transform:translate(-50%,8px);width:min(620px,65vw);text-align:center;color:#e9efef;pointer-events:none;z-index:24;opacity:0;transition:opacity 1s,transform 1.5s;text-shadow:0 2px 20px #02080f}
.encounter-title.shown{opacity:1;transform:translate(-50%,0)}.encounter-title small{display:block;font:8px system-ui;letter-spacing:.28em;color:#d9c28d}.encounter-title strong{display:block;font:34px/1.4 Georgia,serif;letter-spacing:.04em}.encounter-title p{font:12px/1.5 system-ui;color:#c6d7e3;margin:7px 0}.encounter-title strong:after{content:'';display:block;margin:8px auto;width:170px;height:1px;background:linear-gradient(90deg,transparent,#d6bf82,transparent)}
/* Keep the arena readable; controls remain available in the foldout. */
body .combat-hud{left:24px;bottom:25px;top:auto;width:240px;padding:0;gap:5px;background:none;border:0;backdrop-filter:none;transform:none}
body .combat-hud .weapon-name{font-size:12px;letter-spacing:.04em}body .combat-hud .open-forge{font-size:10px;justify-self:start;padding:5px 9px;background:#102031b8;border-color:#b7c3d333}
.combat-help{pointer-events:auto;font-size:10px;color:#9cafbd}.combat-help summary{cursor:pointer;list-style:none;padding:4px 0}.combat-help[open]{background:#08121fe8;padding:8px;border:1px solid #afc8d333}.combat-help .combat-controls{line-height:1.7}
body .combat-hud .move-preview{font-size:10px}body .combat-hud .quick-bar{font-size:9px}body .combat-hud .stamina-track{height:3px}body .combat-hud .weapon-xp{height:2px}
body .art-deck{right:24px;bottom:27px;width:270px;gap:5px}body .art-deck header{font-size:8px;letter-spacing:.16em}body .art-slot{padding:5px 7px;background:linear-gradient(120deg,#112337df,#07111ee0);border-radius:1px;box-shadow:inset 2px 0 0 var(--art)}body .art-slot .name{font-size:10px}body .art-slot .meta{font-size:8px}body .art-slot kbd{font-size:10px}
body .combo-counter{right:29px;bottom:250px}body .ambient-meter{left:24px;bottom:235px;opacity:.6;transform:scale(.85);transform-origin:left bottom}body:has(.chant-readout.active) .ambient-meter{opacity:1}
body .corner-footer{display:none}body .interaction-log{display:none}body .bottom-hud{bottom:24px;width:min(550px,45vw)}
.in-reliquary .encounter-guide{border-left:1px solid #d2b77866;padding-left:12px;left:24px}
@media(max-width:1050px){body .art-deck{width:220px;right:12px}body .combat-hud{width:200px;left:12px}body .bottom-hud{width:43vw}.encounter-guide{left:16px;width:200px;font-size:10px}.encounter-guide>strong{font-size:15px}}
@media(max-height:650px){.encounter-guide{top:180px}.encounter-title{top:24%}.encounter-title strong{font-size:27px}body .ambient-meter{display:none}body .combat-hud .move-preview{display:none}body .combat-help[open]{position:absolute;bottom:0;width:260px}body .art-slot{padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.encounter-title{transition:none}.art-slot.ready,.flourish,.lock-reticle svg{animation:none}}

.in-dungeon .frontier-hud,.in-dungeon .world-tools,.in-dungeon .region-banner{display:none}body:not(.in-dungeon) .encounter-guide{top:300px}body .combat-hud .loot-feed{max-width:240px}.in-dungeon .ambient-meter{opacity:.35;bottom:270px}body:has(.boss-bar:not([hidden])) .topbar .region{opacity:0}
