/* Fixed map label: long map names never resize the HUD. */
body.arcane-layout #battlefield .map-hud{box-sizing:border-box!important;width:220px!important;min-width:220px!important;max-width:220px!important;height:94px!important;min-height:94px!important;max-height:94px!important;padding:10px 12px!important;overflow:hidden!important;border-radius:9px!important}
body.arcane-layout #battlefield .map-hud .battle-kicker{font-size:9px!important;line-height:13px!important;letter-spacing:.7px!important;display:block!important;white-space:nowrap!important}
body.arcane-layout #battlefield .map-hud h2{font-size:16px!important;line-height:19px!important;max-height:38px!important;min-height:38px!important;margin:3px 0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
body.arcane-layout #battlefield .map-hud>small{display:block!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.arcane-layout #battlefield .map-hud .boss-hud{display:none!important}
body.arcane-layout #arcane-shell .account-combat-nick{font:700 13px/18px 'Segoe UI',sans-serif!important;color:#d7f4fa!important;padding:7px 11px 0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.3px}
body.arcane-layout #arcane-shell #arcane-hero-panel #combat-hud{padding-top:15px!important}
.account-xp-gauge{position:relative;height:10px;margin:4px 0 5px 23px;border:1px solid #6a9a9f;border-radius:5px;background:#071521;overflow:hidden;box-sizing:border-box}
.account-xp-gauge>i{display:block;height:100%;background:linear-gradient(#a6ecb5,#43896d);box-shadow:0 0 8px #72d7a855;transition:width .2s}
.account-xp-gauge>span{position:absolute;inset:0;text-align:center;color:#e9fff0;font:700 8px/9px 'Segoe UI',sans-serif;text-shadow:0 1px 2px #000}
body.arcane-layout #arcane-navigation .arcane-signout{display:flex!important;align-items:center;gap:10px;width:100%!important;height:35px!important;min-height:35px!important;padding:5px 12px!important;margin-top:5px!important;border:1px solid #628b9a55!important;border-radius:7px!important;background:linear-gradient(#15344866,#0b213366)!important;color:#cce2ec!important;cursor:pointer}
.arcane-signout>span{font-size:22px;flex:0 0 25px}.arcane-signout>small{font:14px ArcaneText,Georgia,serif}
body.arcane-layout #arcane-shell #game-overlay[data-view=inventory] #overlay-body{flex-direction:column!important;gap:8px!important}
.inventory-character-picker{display:flex;flex:0 0 auto;align-items:center;gap:5px;flex-wrap:wrap;padding:0 0 8px;border-bottom:1px solid #58859955}
.inventory-character-picker>span{font-size:11px;color:#a8ccda;margin-right:4px}.inventory-character-picker>small{font-size:10px;color:#91b8c8}
body.arcane-layout #arcane-shell #overlay-body .inventory-character-picker>button{display:inline-flex!important;align-items:center;gap:5px;padding:3px 7px!important;min-height:29px!important;border-radius:6px!important;font-size:11px!important}
.inventory-character-picker img{width:22px!important;height:25px!important;object-fit:cover;border-radius:4px}.inventory-character-picker button>small{font-size:9px;color:#adcfde}
body.arcane-layout #arcane-shell #game-overlay .inventory-v2{flex:1 1 auto!important;height:auto!important;min-height:0!important}
#modal.defeat-modal{width:min(460px,calc(100vw - 24px))!important;max-width:460px!important;padding:20px!important;border-color:#9aa5c1!important;background:radial-gradient(ellipse at top,#302d4c,#0a1d2d 70%)!important}
.defeat-summary h2{font:600 25px ArcaneText,Georgia,serif;color:#f0d9e2;margin:9px 0}.defeat-summary p{font-size:13px;line-height:1.5;color:#bad1df}.defeat-status{padding:13px;border:1px solid #758b9f77;border-radius:8px;background:#091a2d99;color:#d8e9f5;font-size:13px}.defeat-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.defeat-actions button{flex:1;padding:10px;font-size:13px;background:linear-gradient(#225268,#113449);color:#e1f9ff;border:1px solid #6cabbc;border-radius:8px}.defeat-actions button:disabled{opacity:.5}
@media(max-width:650px){body.arcane-layout #battlefield .map-hud{width:190px!important;min-width:190px!important;max-width:190px!important;height:88px!important;min-height:88px!important;max-height:88px!important;padding:8px 10px!important}body.arcane-layout #battlefield .map-hud h2{font-size:14px!important}body.arcane-layout #arcane-shell #game-overlay .inventory-v2{flex:none!important}.inventory-character-picker>small{flex-basis:100%}}
body.arcane-layout #arcane-shell #overlay-body .character-select-art{display:block!important;width:100%!important;padding:0!important;margin:0!important;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;min-height:0!important;cursor:pointer;overflow:hidden}
body.arcane-layout #arcane-shell #overlay-body .character-select-art:not(:disabled):hover{border-color:#79dfed!important;background:#21546c44!important;box-shadow:0 0 12px #3de5f533!important}
body.arcane-layout #arcane-shell #overlay-body .character-select-art:disabled{opacity:1!important;cursor:default}
.character-switching .character-roster{pointer-events:none;opacity:.65}
