/* ALERTE 112 V9 — HUD, véhicule, carte, progression : bureau / mobile paysage */
.currency-corner {position:relative!important;z-index:140!important;pointer-events:auto!important;display:flex!important;align-items:center!important;gap:10px!important;padding-top:0!important;}
.currency-hud-bar {display:flex!important;align-items:center!important;gap:10px!important;}
.currency-corner .stat-pill, .currency-capsule {position:relative!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:36px!important;padding:4px 11px!important;border-radius:9999px!important;background:rgba(15,23,42,0.45)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;border:1px solid rgba(255,255,255,0.18)!important;color:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,0.25)!important;white-space:nowrap!important;overflow:visible!important;}
.currency-corner #hud-credits {background:rgba(15,23,42,0.45)!important;border:1px solid rgba(255,255,255,0.18)!important;}
.currency-corner #hud-billets {z-index:140!important;pointer-events:auto!important;background:rgba(15,23,42,0.45)!important;border:1px solid rgba(255,255,255,0.18)!important;}
.currency-val {font-family:inherit;font-size:clamp(13px, 1.4vw, 17px);font-weight:900;letter-spacing:0.03em;color:#ffffff;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px rgba(0,0,0,0.7);}
.currency-icon-badge {display:inline-flex;align-items:center;justify-content:center;flex:none;}
.currency-plus-btn {position:relative;z-index:140;pointer-events:auto;width:20px;height:20px;border-radius:50%;background:#22c55e;border:1.5px solid #ffffff;color:#ffffff;font-size:15px;font-weight:900;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;margin-right:2px;box-shadow:0 1px 4px rgba(0,0,0,0.4);transition:transform 0.15s ease,background 0.15s ease;}
.currency-plus-btn:hover {background:#16a34a;transform:scale(1.1);}
.v9-currency-icon {flex:none;filter:drop-shadow(0 1px 2px #0008);}
.v9-money-celebrate {animation:v9-money-aura 1.25s ease-out;}
.v9-reward-float {position:absolute;left:5px;top:100%;pointer-events:none;font-size:17px;font-weight:900;letter-spacing:.03em;color:#ffe291;text-shadow:0 1px 5px #000,0 0 12px #ffbd3c;animation:v9-gain-rise 2.1s ease-out both;z-index:1;}
@keyframes v9-money-aura {0%,100% {filter:none}20% {filter:drop-shadow(0 0 14px #ffd25a)}60%{filter:drop-shadow(0 0 7px #ffbd3c)}}
@keyframes v9-gain-rise {0%{transform:translateY(0) scale(.7);opacity:0}15%{opacity:1;transform:translateY(-7px) scale(1.08)}80%{opacity:1}100%{transform:translateY(-38px) scale(.9);opacity:0}}
/* Mission active : l'anneau entoure le marqueur et ne masque pas la carte. Toujours ancré en position absolute sur MapLibre. */
.marker-mission.v9-work-active {width:32px!important;height:32px!important;position:absolute!important;top:0!important;left:0!important;margin:0!important;border:none!important;box-shadow:0 0 0 1.5px #101e2d,0 0 10px #10bfae99!important;background:conic-gradient(#22d9aa 0deg,#18bfbd var(--v9-fill,0deg),#1b3240 var(--v9-fill,0deg),#1b3240 360deg)!important;border-radius:50%!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;z-index:1;}
.v9-work-center {display:grid;place-items:center;width:22px;height:22px;background:#122836;border:1px solid #385e70;border-radius:50%;font-size:13px;line-height:1.2;}
.v9-work-percent {position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%);padding:2px 5px;background:#142a37ed;color:#d7fff8;border-radius:4px;font:850 10px/1.2 system-ui;letter-spacing:.02em;white-space:nowrap;text-shadow:none;}
/* Les nouvelles silhouettes vectorielles restent petites sur la carte et sont tournées dans le sens du trajet. */
.vehicle-map-v2 .vehicle-map-body {filter:drop-shadow(0 2px 3px #000a);}
.vehicle-map-v2 .vehicle-topview {width:29px!important;height:47px!important;object-fit:contain;will-change:transform;}
.vehicle-map-v2 .v9-travelling-vehicle {transition:transform 110ms linear;transform-origin:50% 50%;}
.vehicle-marker-name {border:1px solid #ffffff44!important;font-weight:800!important;}
.v42-family-cell img,.v8-family img {object-fit:contain!important;filter:drop-shadow(0 2px 2px #0006);}
/* Zoom : molette de souris et gestes naturels uniquement. */
.maplibregl-ctrl-zoom-in,.maplibregl-ctrl-zoom-out,.leaflet-control-zoom {display:none!important;}
@media (orientation:landscape) and (max-height:480px) {
 .currency-corner {gap:5px!important;}
 .currency-corner .stat-pill {padding:3px 7px 3px 4px!important;min-width:82px!important;min-height:29px!important;gap:4px!important;border-radius:10px!important;}
 .v9-currency-icon {width:26px;height:26px;}
 .v9-money-readout {min-width:45px;}
 .v9-money-value {font-size:11px;}
 .v9-money-readout small {font-size:7px;}
 .marker-mission.v9-work-active {width:26px!important;height:26px!important;}
 .v9-work-center {width:18px;height:18px;font-size:11px;}
}
@media (prefers-reduced-motion:reduce){.v9-reward-float,.v9-money-celebrate{animation:none}.vehicle-map-v2 .v9-travelling-vehicle{transition:none}}

/* Lancement V9 : effet radar contenu, texte toujours lisible et transition rapide. */
.v8-splash-picture {animation:v9-splash-presence 2.1s ease-out both;}
.v8-splash-radar {animation:v9-splash-scan 2.35s ease-out 1 forwards!important;opacity:.7;}
.v8-splash-footer {padding:7px 12px;border-radius:10px;background:linear-gradient(90deg,transparent,#080b12d8,transparent);}
.v8-splash-track span {background:linear-gradient(90deg,#53245c,#bd70d1,#ecd1fa)!important;box-shadow:0 0 12px #c878f199;}
@keyframes v9-splash-presence {0%{filter:brightness(.50);transform:scale(1.025)}80%,100%{filter:brightness(1);transform:scale(1)}}
@keyframes v9-splash-scan {0%{opacity:0;transform:translate(-50%,-50%) scale(.25)}40%{opacity:.8}100%{opacity:0;transform:translate(-50%,-50%) scale(2.1)}}
@media (prefers-reduced-motion:reduce){.v8-splash-picture,.v8-splash-radar{animation:none!important}}
