/* Radar fonctionnel Foxeet (01/12/2026) — posé sur fond bleu nuit, accents de la famille logiciels.
   Charte : nuit #0F172A / #131C33, orange sur sombre #FF6B55 / #FFA08F, ardoise #94A3B8 → #E2E8F0. */
.fxrd { --o: #FF4A32; --o-s: #FF6B55; --o-l: #FFA08F; --nuit: #0F172A; --carte: #131C33; --filet: rgba(148, 163, 184, .16);
    margin: 0; display: grid; gap: 20px; align-items: center; color: #E2E8F0; font-family: Poppins, sans-serif; }
/* Deux colonnes seulement quand la place du composant le permet (requête de conteneur, pas d'écran) */
.fxrd-boite { container-type: inline-size; }
@container (min-width: 580px) { .fxrd { grid-template-columns: minmax(240px, 320px) minmax(240px, 1fr); gap: 28px; } }

/* Scène : le radar et sa lecture centrale */
.fxrd-scene { display: none; }
.fxrd-js .fxrd-scene { display: block; }
.fxrd-scene { position: relative; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 1; }
.fxrd-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fxrd-faisceau { position: absolute; inset: 6.5%; border-radius: 50%; pointer-events: none; opacity: 0;
    background: conic-gradient(from 0deg, rgba(255, 107, 85, 0) 0deg 290deg, rgba(255, 107, 85, .08) 320deg, rgba(255, 107, 85, .5) 359deg, rgba(255, 160, 143, .9) 360deg);
    -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%);
    transition: opacity .4s ease-out; will-change: transform; }
.fxrd-intro .fxrd-faisceau { opacity: 1; }

.fxrd-anneau { fill: none; stroke: var(--filet); stroke-width: 1; stroke-dasharray: 2 5; }
.fxrd-anneau-ext { stroke: rgba(148, 163, 184, .32); stroke-dasharray: none; }
.fxrd-rayon { stroke: var(--filet); stroke-width: 1; transition: stroke .2s ease-out, stroke-width .2s ease-out; }
.fxrd-rayon.on { stroke: var(--o-s); stroke-width: 1.5; }
.fxrd-forme { stroke: var(--o-s); stroke-width: 2; stroke-linejoin: round; }
.fxrd-halo { fill: none; stroke: var(--o); stroke-width: 10; opacity: .4; transition: opacity .5s ease-out; }
.fxrd-intro .fxrd-halo { opacity: 0; }
.fxrd-num .fxrd-cible, .fxrd-num.on .fxrd-cible, .fxrd-sommet .fxrd-cible { fill: transparent; stroke: none; }
.fxrd-coeur { fill: var(--nuit); stroke: rgba(255, 107, 85, .35); stroke-width: 1; }

.fxrd-sommet { cursor: pointer; }
.fxrd-point { fill: var(--nuit); stroke: var(--o-l); stroke-width: 2; transition: transform .25s cubic-bezier(.2, 0, 0, 1), fill .2s; transform-box: fill-box; transform-origin: center; }
.fxrd-sommet.on .fxrd-point { fill: var(--o-s); stroke: #FFF3F0; transform: scale(1.5); }
.fxrd-ping { fill: none; stroke: var(--o-s); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fxrd-pret .fxrd-sommet.on .fxrd-ping { animation: fxrd-ping 2.4s cubic-bezier(.2, 0, 0, 1) 3; }
@keyframes fxrd-ping { 0% { opacity: .9; transform: scale(.3); } 70%, 100% { opacity: 0; transform: scale(1.6); } }

.fxrd-num { cursor: pointer; }
.fxrd-num circle { fill: var(--carte); stroke: rgba(148, 163, 184, .35); stroke-width: 1; transition: fill .2s, stroke .2s; }
.fxrd-num text { fill: #CBD5E1; font: 600 18px Poppins, sans-serif; }
.fxrd-num.on circle { fill: var(--o); stroke: var(--o); }
.fxrd-num.on text { fill: var(--nuit); }

.fxrd-lecture { margin: 0; pointer-events: none; }
.fxrd-lecture-val { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 800;
    font-size: clamp(22px, 7vw, 32px); line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.fxrd-lecture-val small { font-size: .5em; font-weight: 700; color: var(--o-l); margin-left: 1px; }
.fxrd-lecture-nom { position: absolute; left: 8%; right: 8%; bottom: -6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: var(--o-l); }

/* Classement : les mêmes chiffres en texte, chaque ligne pilote le radar */
.fxrd-legende { min-width: 0; }
.fxrd-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: none; }
.fxrd-plus { display: none; }
.fxrd-ouvert .fxrd-plus { display: block; }
.fxrd-axe { width: 100%; min-height: 44px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "n nom pc" "n barre pc";
    align-items: center; gap: 5px 12px; padding: 7px 12px 8px 8px; border: 0; border-radius: 10px; background: transparent; color: #CBD5E1; text-align: left; cursor: pointer;
    font: 500 14px/1.25 Poppins, sans-serif; transition: background-color .2s ease-out, color .2s ease-out; }
.fxrd-axe:hover, .fxrd-axe.on { background: rgba(255, 107, 85, .1); color: #fff; }
.fxrd-axe:focus-visible { outline: 2px solid var(--o-l); outline-offset: 1px; }
.fxrd-n { grid-area: n; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
    background: var(--carte); border: 1px solid rgba(148, 163, 184, .3); color: #CBD5E1; }
.fxrd-axe.on .fxrd-n { background: var(--o); border-color: var(--o); color: var(--nuit); }
.fxrd-nom { grid-area: nom; overflow-wrap: break-word; }
.fxrd-barre { grid-area: barre; height: 4px; border-radius: 3px; background: rgba(148, 163, 184, .18); overflow: hidden; }
.fxrd-barre i { display: block; height: 100%; border-radius: 3px; background: var(--o-s); transform-origin: left; transform: scaleX(var(--v)); }
.fxrd-intro .fxrd-barre i { animation: fxrd-barre 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.fxrd-intro .fxrd-ligne:nth-child(2) .fxrd-barre i { animation-delay: .05s; }
.fxrd-intro .fxrd-ligne:nth-child(3) .fxrd-barre i { animation-delay: .1s; }
.fxrd-intro .fxrd-ligne:nth-child(4) .fxrd-barre i { animation-delay: .15s; }
.fxrd-intro .fxrd-ligne:nth-child(5) .fxrd-barre i { animation-delay: .2s; }
.fxrd-intro .fxrd-ligne:nth-child(6) .fxrd-barre i { animation-delay: .25s; }
@keyframes fxrd-barre { from { transform: scaleX(0); } }
.fxrd-pc { grid-area: pc; text-align: right; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.fxrd-tout { margin-top: 6px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(148, 163, 184, .3); border-radius: 22px; background: transparent;
    color: #E2E8F0; font: 600 14px Poppins, sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
.fxrd-tout:hover { border-color: var(--o-s); color: #fff; }
.fxrd-tout:focus-visible { outline: 2px solid var(--o-l); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .fxrd-faisceau { display: none; }
    .fxrd-pret .fxrd-sommet.on .fxrd-ping, .fxrd-intro .fxrd-barre i { animation: none; }
}
