/* Horizons 1.4 — lisibilité vitale, monnaie restaurée et finition multi-écrans. */
:root{--v14-life:#56ee8b;--v14-shield:#57cfff;--v14-panel:rgba(4,24,34,.76);--v14-gold:#ffd37c}
/* Grande jauge solidaire, sans cadre noir : les deux réserves se lisent d’un coup d’œil. */
.health-block{left:max(12px,env(safe-area-inset-left))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:clamp(220px,23vw,310px)!important;padding:0!important;gap:3px!important;border:0!important;border-left:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.health-row{grid-template-columns:20px minmax(0,1fr) 30px!important;gap:6px!important;min-height:19px!important;padding:2px 5px 2px 3px!important;border-radius:5px!important;background:var(--v14-panel)!important;backdrop-filter:blur(4px)}
.health-row>span:first-child{width:17px!important;height:17px!important;border:0!important;border-radius:4px!important;background:rgba(255,255,255,.12)!important;font-size:.68rem!important}.health-row b{font-size:.64rem!important;min-width:27px!important;text-shadow:none!important}
.health-track{height:12px!important;border:0!important;border-radius:4px!important;background:rgba(215,242,238,.18)!important;overflow:hidden!important}.health-track>div{height:100%!important;border-radius:4px!important}.health-row:not(.shield) .health-track>div{background:linear-gradient(90deg,#2dcf69,var(--v14-life))!important}.health-row.shield .health-track>div{background:linear-gradient(90deg,#279fe4,var(--v14-shield))!important}.health-block.low-health{animation:v14-life-pulse .8s ease-in-out infinite!important}.health-block.low-health .health-row:not(.shield){background:rgba(63,21,25,.8)!important}
/* L’écu reste visible même sur téléphone : ce compteur est une information de compte, pas une décoration. */
.account-bar{display:flex!important;min-width:max-content!important}.currency{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:30px;padding:5px 9px!important;border:1px solid rgba(255,211,124,.38);border-radius:7px;background:rgba(6,27,38,.82);color:#ffe4a1!important;font-weight:850!important;box-shadow:0 4px 14px rgba(0,7,13,.22)}.currency:after{content:"ÉCUS";font-size:.44rem;letter-spacing:.11em;color:#fff2c8;opacity:.78}
/* Le panneau de santé est désormais l’ancre visuelle du bas ; l’inventaire ne le chevauche pas. */
.inventory-bar{bottom:max(13px,env(safe-area-inset-bottom))!important}.gamepad-status{bottom:max(4px,env(safe-area-inset-bottom))!important}
@keyframes v14-life-pulse{50%{filter:brightness(1.16)}}
@media(pointer:coarse),(max-width:680px){
 body.touch-ui .health-block{left:max(7px,env(safe-area-inset-left))!important;bottom:max(5px,env(safe-area-inset-bottom))!important;width:170px!important}.touch-ui .health-row{grid-template-columns:16px minmax(0,1fr) 25px!important;gap:4px!important;min-height:17px!important;padding:1px 4px 1px 2px!important}.touch-ui .health-row>span:first-child{width:15px!important;height:15px!important;font-size:.57rem!important}.touch-ui .health-track{height:10px!important}.touch-ui .health-row b{font-size:.55rem!important;min-width:23px!important}
 .touch-ui .inventory-bar{bottom:max(43px,calc(env(safe-area-inset-bottom) + 38px))!important}
 .topbar{height:92px!important;padding:8px 10px 0!important;align-content:space-between!important}.wordmark{font-size:25px!important}.account-bar{gap:5px!important;order:2!important;margin-left:auto!important}.currency{min-height:26px!important;padding:3px 6px!important;font-size:.68rem!important}.currency:after{font-size:.38rem}.xp-chip{display:none!important}.notify-button{display:none!important}
 .navlinks{order:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;height:46px!important;gap:1px!important;overflow:visible!important}.navlinks .btn{min-width:0!important;width:100%!important;height:22px!important;padding:0 2px!important;font-size:.43rem!important;line-height:1!important;white-space:nowrap!important}.navlinks .active:after{left:4px!important;right:4px!important;height:2px!important}
}
@media(max-width:420px){.profile-btn{display:none!important}.currency{font-size:.72rem!important}.touch-ui .health-block{width:min(168px,46vw)!important}}
@media(max-height:560px){body.touch-ui .health-block{bottom:max(4px,env(safe-area-inset-bottom))!important}.touch-ui .inventory-bar{bottom:max(41px,calc(env(safe-area-inset-bottom) + 36px))!important}}
@media(prefers-reduced-motion:reduce){.health-block.low-health{animation:none!important}}
