/* ============================================================
   Hero Now v3 — Hero centre immersif (2026-05-04)
   ============================================================ */

/* ── Section racine — pleine largeur comme les autres blocs ── */
.hero-now-v3 {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    overflow: visible;
    width: 100%;
}

.hero-now-v3 [data-initial-hidden="1"] {
    display: none;
}

/* ── Elements caches pour compat home.js ── */
.hero-compat-hidden,
.hero-compat-hidden * { display: none !important; }

/* ============================================================
   MODE AUTO PLAY — Hero immersif (quand aucun DJ n'est en onde)
   ============================================================ */
.hero-auto {
    position: relative;
    border-radius: var(--r-md, 16px);
    overflow: hidden;
    background: linear-gradient(180deg, #0f0c1e 0%, #0d1220 100%);
    display: none; /* JS passe à 'block' via setLiveMode() */
}

/* Fond radial dynamique — couleur suit le ton de vote */
.hero-auto-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(255,107,0,0.12) 0%, transparent 65%);
    transition: background 1.2s ease;
}
.hero-auto[data-pulse-tone="super-hot"] .hero-auto-bg {
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(255,71,87,0.22) 0%, transparent 65%);
}
.hero-auto[data-pulse-tone="hot"] .hero-auto-bg {
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(255,107,0,0.18) 0%, transparent 65%);
}
.hero-auto[data-pulse-tone="warm"] .hero-auto-bg {
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(255,195,0,0.14) 0%, transparent 65%);
}
.hero-auto[data-pulse-tone="cold"] .hero-auto-bg {
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(0,180,216,0.14) 0%, transparent 65%);
}
.hero-auto[data-pulse-tone="frozen"] .hero-auto-bg {
    background: radial-gradient(ellipse 80% 55% at 50% 25%, rgba(0,217,255,0.18) 0%, transparent 65%);
}

/* Pill auditeurs (coin haut-droit) */
.hero-auto-pill {
    position: absolute; top: 12px; right: 14px; z-index: 10;
    font-size: 0.68rem; color: rgba(255,255,255,0.35);
    font-weight: 600; font-feature-settings: "tnum";
}

/* Contenu centré */
.hero-auto-inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 28px 20px 26px;
}

.hero-auto-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    max-width: 1080px;
}

.hero-auto-stage,
.hero-auto-copy {
    min-width: 0;
}

.hero-auto-stage {
    display: flex;
    justify-content: center;
}

.hero-auto-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Badge mode */
.hero-auto-badge {
    font-size: 0.62rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
    margin-bottom: 18px;
    transition: color 0.4s, text-shadow 0.4s;
}
/* Mode succès : beaucoup d'auditeurs connectés */
.hero-auto-badge--success {
    color: #ff9f43;
    text-shadow: 0 0 12px rgba(255,107,0,0.6);
    animation: hero-badge-pulse 2s ease-in-out infinite;
}
@keyframes hero-badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.65; }
}

/* Pochette vinyle tournante (mode auto) */
.hero-auto-cover-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}
.hero-auto-cover {
    width: clamp(210px, 24vw, 300px); height: clamp(210px, 24vw, 300px);
    border-radius: 50%;
    background: #0a0d14 center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; overflow: hidden;
    box-shadow:
        0 0 0 8px #000,
        0 0 0 9px rgba(0,240,255,0.55),
        0 24px 70px rgba(0,240,255,0.18),
        0 12px 40px rgba(0,0,0,0.8);
    animation: wow-spin 22s linear infinite;
}

/* Point central du vinyl (ne tourne pas — positionné sur le wrapper) */
.hero-auto-vinyl-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #000;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18), 0 0 8px rgba(0,0,0,0.9);
    z-index: 2;
    pointer-events: none;
}

.hero-auto-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.74);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Titre & artiste */
.hero-auto-title {
    font-size: clamp(2rem, 3.8vw, 3.5rem); font-weight: 900; color: #fff;
    margin: 0 0 8px; line-height: 0.96;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    max-width: 100%;
}
.hero-auto-artist {
    font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.62);
    margin: 0 0 18px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%;
}

/* À venir */
.hero-auto-next {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 800; color: rgba(0,229,255,0.85);
    margin-bottom: 22px; max-width: 100%; overflow: hidden;
}
.hero-auto-next-icon { flex-shrink: 0; font-size: 0.9rem; }
.hero-auto-next-text {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hero-auto-metrics {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Gros boutons de vote ── */
.hero-auto-votes-row {
    display: flex; gap: 10px; justify-content: center;
    margin-bottom: 0; width: 100%; max-width: 520px;
}
.hero-auto-vote {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 18px 14px; border-radius: 18px;
    font-family: var(--font-text, system-ui);
    cursor: pointer; border: 1px solid;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.hero-auto-vote:active { transform: scale(0.95); }
.hero-auto-vote--up {
    background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #4ade80;
}
.hero-auto-vote--down {
    background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #f87171;
}
.hero-auto-vote-emoji { font-size: 1.8rem; line-height: 1; }
.hero-auto-vote-label {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.7px;
    text-transform: uppercase; opacity: 0.65;
}
.hero-auto-vote-count {
    font-size: 1.8rem; font-weight: 900; line-height: 1;
    font-feature-settings: "tnum";
}
@media (hover: hover) and (pointer: fine) {
    .hero-auto-vote--up:hover {
        background: rgba(34,197,94,0.2);
        box-shadow: 0 0 22px rgba(34,197,94,0.22);
        transform: translateY(-2px);
    }
    .hero-auto-vote--down:hover {
        background: rgba(239,68,68,0.2);
        box-shadow: 0 0 22px rgba(239,68,68,0.22);
        transform: translateY(-2px);
    }
}

/* ── Thermomètre pulse auto ── */
.hero-auto-pulse {
    width: 100%; max-width: 520px; box-sizing: border-box;
    padding: 14px 18px; border-radius: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0; transition: background 0.4s, border-color 0.4s;
}
.hero-auto-pulse-meta {
    display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}
#auto-pulse-emoji { font-size: 1rem; flex-shrink: 0; }
#auto-pulse-label {
    font-size: 0.78rem; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255,255,255,0.5); flex: 1;
}
#auto-pulse-score {
    font-weight: 900; font-size: 1.05rem; color: #fff;
    font-feature-settings: "tnum";
}
.hero-auto-pulse-bar {
    height: 9px; border-radius: 999px; overflow: hidden; margin-bottom: 8px;
    background: rgba(255,255,255,0.07);
}
.hero-auto-pulse-fill {
    height: 100%; width: 0%; border-radius: 4px;
    background: linear-gradient(90deg, #00d2ff 0%, #2ed573 50%, #ff8533 80%, #ff4757 100%);
    transition: width 0.7s cubic-bezier(0.25,0.1,0.25,1);
    box-shadow: 0 0 8px rgba(255,107,0,0.3);
}
.hero-auto-pulse-counts {
    font-size: 0.78rem; color: rgba(255,255,255,0.38); font-weight: 700;
    font-feature-settings: "tnum";
}

/* Tons dynamiques du pulse auto */
.hero-auto-pulse[data-tone="super-hot"] { background: rgba(255,71,87,0.08); border-color: rgba(255,71,87,0.35); }
.hero-auto-pulse[data-tone="super-hot"] #auto-pulse-label,
.hero-auto-pulse[data-tone="super-hot"] #auto-pulse-score { color: #ff4757; }
.hero-auto-pulse[data-tone="super-hot"] #auto-pulse-emoji { animation: hero-pulse-fire 1.2s ease-in-out infinite; }
.hero-auto-pulse[data-tone="hot"] { background: rgba(255,107,0,0.06); border-color: rgba(255,107,0,0.3); }
.hero-auto-pulse[data-tone="hot"] #auto-pulse-label,
.hero-auto-pulse[data-tone="hot"] #auto-pulse-score { color: #ff8533; }
.hero-auto-pulse[data-tone="warm"] { background: rgba(255,195,0,0.05); border-color: rgba(255,195,0,0.25); }
.hero-auto-pulse[data-tone="warm"] #auto-pulse-label,
.hero-auto-pulse[data-tone="warm"] #auto-pulse-score { color: #ffc300; }
.hero-auto-pulse[data-tone="cold"] { background: rgba(0,180,216,0.05); border-color: rgba(0,180,216,0.25); }
.hero-auto-pulse[data-tone="cold"] #auto-pulse-label,
.hero-auto-pulse[data-tone="cold"] #auto-pulse-score { color: #00b4d8; }
.hero-auto-pulse[data-tone="frozen"] { background: rgba(0,217,255,0.06); border-color: rgba(0,217,255,0.3); }
.hero-auto-pulse[data-tone="frozen"] #auto-pulse-label,
.hero-auto-pulse[data-tone="frozen"] #auto-pulse-score { color: #00d9ff; }
.hero-auto-pulse[data-tone="unknown"] {
    background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, rgba(0,180,216,0.04) 100%);
    border-color: rgba(167,139,250,0.25);
    animation: hero-pulse-cta 2.5s ease-in-out infinite;
}
.hero-auto-pulse[data-tone="unknown"] #auto-pulse-emoji { animation: hero-pulse-cta-emoji 1.6s ease-in-out infinite; }
.hero-auto-pulse[data-tone="unknown"] #auto-pulse-label { color: #a78bfa; }
.hero-auto-pulse[data-tone="unknown"] .hero-auto-pulse-fill { width: 0% !important; opacity: 0; }

@media (min-width: 1100px) {
    .hero-auto-inner {
        padding: 36px 34px 34px;
    }
    .hero-auto-layout {
        gap: 44px;
        grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-auto-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hero-auto-copy {
        align-items: center;
        text-align: center;
    }
}

/* Focus visible */
.hero-auto-vote:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 2px;
}

/* Responsive mobile */
@media (max-width: 479px) {
    .hero-auto-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hero-auto-copy {
        align-items: center;
        text-align: center;
    }
    .hero-auto-cover { width: 130px; height: 130px; }
    .hero-auto-vinyl-dot { width: 18px; height: 18px; }
    .hero-auto-title { font-size: 1.1rem; }
    .hero-auto-votes-row { max-width: 100%; }
    .hero-auto-vote-emoji { font-size: 1.5rem; }
    .hero-auto-vote-count { font-size: 1.2rem; }
}

/* ============================================================
   MODE DJ LIVE (cache par defaut, JS affiche)
   ============================================================ */
.hero-live {
    position: relative;
    border-radius: var(--r-md, 12px);
    overflow: hidden;
    background: linear-gradient(180deg, #12071f 0%, #0d1220 100%);
}

/* Fond radial lumineux */
.hero-live-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255,107,0,0.22) 0%, transparent 65%);
}

/* Particules */
.hero-live-particles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-particle {
    position: absolute; border-radius: 50%;
    animation: hero-particle-rise var(--dur, 5s) var(--delay, 0s) ease-in infinite;
    opacity: 0;
}
@keyframes hero-particle-rise {
    0%   { transform: translateY(0) scale(1); opacity: 0.7; }
    80%  { opacity: 0.2; }
    100% { transform: translateY(-120px) scale(0.6); opacity: 0; }
}

/* Contenu centre */
.hero-live-inner {
    position: relative; z-index: 2;
    padding: 28px 24px 24px;
}

.hero-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.hero-live-copy,
.hero-live-media {
    min-width: 0;
}

.hero-live-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    text-align: left;
}

.hero-live-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-live-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,244,231,0.86);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-live-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7a1a;
    box-shadow: 0 0 0 6px rgba(255,122,26,0.14);
    animation: hero-live-blink 1.2s ease-in-out infinite;
}

.hero-track-shell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0 2px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-track-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,226,200,0.72);
}

.hero-cover-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 18px 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top center, rgba(0,229,255,0.18), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 26px 56px rgba(0,0,0,0.2);
}

/* ── Pochette vinyle ── */
.hero-cover-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}
.hero-cover {
    display: block;
    width: 130px; height: 130px;
    border-radius: 50%;
    object-fit: cover;
    background: #0a0d14;
    box-shadow:
        0 0 0 6px #000,
        0 0 0 7px rgba(0,240,255,0.6),
        0 20px 60px rgba(0,240,255,0.2),
        0 8px 32px rgba(0,0,0,0.7);
    animation: wow-spin 25s linear infinite;
    animation-play-state: paused;
}
body.wow-playing .hero-cover {
    animation-play-state: running;
}

/* Point central du vinyl (label du disque) */
.hero-vinyl-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #000;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15), 0 0 6px rgba(0,0,0,0.8);
    z-index: 2;
    pointer-events: none;
}

.hero-cover-live-badge {
    position: absolute; top: -7px; right: -12px;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; border-radius: 999px;
    background: rgba(239,68,68,0.9);
    font-size: 0.6rem; font-weight: 800; letter-spacing: 1.2px;
    color: #fff; text-transform: uppercase;
    animation: hero-live-badge-pop 1.8s ease-in-out infinite;
    z-index: 3;
}
@keyframes hero-live-badge-pop {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}
.hero-cover-live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #fff;
    animation: hero-live-blink 1.2s ease-in-out infinite;
    display: inline-block;
}
@keyframes hero-live-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}
@media (max-width: 479px) {
    .hero-cover { width: 110px; height: 110px; }
    .hero-vinyl-dot { width: 15px; height: 15px; }
}

/* ── Card DJ horizontale ── */
.hero-dj-card {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    width: fit-content; max-width: 100%; box-sizing: border-box;
    margin-bottom: 0;
    animation: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
@keyframes hero-dj-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
    50%       { box-shadow: 0 0 18px rgba(255,107,0,0.2); }
}
.hero-dj-photo-wrap {
    display: flex; align-items: center; flex-shrink: 0;
}
.hero-dj-avatar {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #ff6b00, #a78bfa);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; overflow: hidden; color: #fff; font-weight: 900;
    border: 2px solid rgba(0,0,0,0.4);
    animation: hero-ring-pulse 2.5s ease-in-out infinite;
}
.hero-dj-avatar + .hero-dj-avatar {
    margin-left: -12px;
    width: 40px; height: 40px; font-size: 1rem;
    animation: none;
}
.hero-dj-avatar:nth-child(n+3) {
    width: 34px; height: 34px; font-size: 0.85rem;
    margin-left: -10px;
}
@keyframes hero-ring-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0.5), 0 0 0 4px rgba(255,107,0,0.1); }
    50%       { box-shadow: 0 0 0 5px rgba(255,107,0,0.0), 0 0 0 10px rgba(255,107,0,0.0); }
}
.hero-dj-photo-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.hero-dj-info { flex: 1; min-width: 0; text-align: left; }
.hero-dj-live-row {
    display: flex; align-items: center; gap: 5px;
    margin-bottom: 2px;
}
.hero-dj-dot {
    width: 5px; height: 5px; border-radius: 50%; background: #ef4444;
    display: inline-block;
    animation: hero-live-blink 1.2s ease-in-out infinite;
}
.hero-dj-live-label {
    font-size: 0.6rem; font-weight: 800; letter-spacing: 0.8px;
    text-transform: uppercase; color: #fca5a5;
}
.hero-dj-name {
    font-size: 1rem; font-weight: 900; color: #fff; line-height: 1.1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-dj-since {
    font-size: 0.65rem; color: rgba(255,255,255,0.38); margin-top: 2px;
}
.hero-dj-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-dj-count {
    font-size: 0.92rem; font-weight: 900; color: #ffb067; line-height: 1;
    font-feature-settings: "tnum";
}
.hero-dj-count-label {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.48);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}
@media (max-width: 767px) {
    .hero-live-grid { grid-template-columns: 1fr; }
    .hero-live-copy { order: 2; }
    .hero-live-media { order: 1; }
    .hero-btn-sondage { display: none !important; }
}
@media (max-width: 479px) {
    .hero-dj-card { padding: 9px 12px; gap: 10px; max-width: 100%; }
    .hero-dj-photo-wrap { width: 44px; height: 44px; font-size: 1.1rem; }
    .hero-dj-name { font-size: 0.9rem; }
}

/* ── Titre & artiste ── */
.hero-track-title {
    font-size: clamp(1.8rem, 2.8vw, 3.2rem); font-weight: 900; color: #fff;
    margin: 0; line-height: 0.96;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-track-artist {
    font-size: 1rem; color: rgba(255,255,255,0.68);
    margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
@media (max-width: 479px) {
    .hero-track-title { font-size: 1.15rem; }
}

/* ── A venir ── */
.hero-next-up {
    display: inline-flex; align-items: center; gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #98f6ff;
    font-size: 0.72rem; font-weight: 800;
    max-width: 100%; overflow: hidden;
}
.hero-next-icon { font-size: 0.95rem; flex-shrink: 0; }
.hero-next-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(152,246,255,0.72);
}
.hero-next-text {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: #dffcff;
}

/* ── Votes ── */
.hero-votes-row {
    display: flex; gap: 10px; justify-content: center;
    margin-bottom: 0;
    width: 100%;
}
.hero-vote-btn {
    display: flex; align-items: center; gap: 6px;
    min-width: 132px;
    justify-content: center;
    padding: 12px 20px; border-radius: 999px;
    font-size: 0.85rem; font-weight: 800; cursor: pointer;
    border: 1px solid; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    font-family: var(--font-text, system-ui);
}
.hero-vote-btn:active { transform: scale(0.95); }
.hero-vote-up {
    background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.35); color: #4ade80;
}
.hero-vote-down {
    background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.35); color: #f87171;
}
.hero-vote-emoji { font-size: 1rem; }
.hero-vote-count { font-feature-settings: "tnum"; }
@media (hover: hover) and (pointer: fine) {
    .hero-vote-up:hover   { background: rgba(34,197,94,0.18); box-shadow: 0 0 10px rgba(34,197,94,0.2); }
    .hero-vote-down:hover { background: rgba(239,68,68,0.18); box-shadow: 0 0 10px rgba(239,68,68,0.2); }
}

/* ── Track pulse / thermometre ── */
.hero-pulse {
    width: 100%; max-width: 760px; box-sizing: border-box;
    padding: 16px 16px 18px; border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0; transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 24px 52px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-pulse-meta {
    display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}
#track-pulse-emoji { font-size: 1rem; flex-shrink: 0; }
#track-pulse-label {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255,255,255,0.5); flex: 1;
}
#track-pulse-score {
    font-weight: 900; font-size: 0.95rem; color: #fff;
    font-feature-settings: "tnum";
}
.hero-pulse-bar {
    height: 7px; border-radius: 4px; overflow: hidden; margin-bottom: 6px;
    background: rgba(255,255,255,0.07);
}
.hero-pulse-bar-fill {
    height: 100%; width: 0%; border-radius: 4px;
    background: linear-gradient(90deg, #00d2ff 0%, #2ed573 50%, #ff8533 80%, #ff4757 100%);
    transition: width 0.7s cubic-bezier(0.25,0.1,0.25,1);
    box-shadow: 0 0 8px rgba(255,107,0,0.3);
}
.hero-pulse-counts {
    font-size: 0.72rem; color: rgba(255,255,255,0.4); font-weight: 700;
    font-feature-settings: "tnum";
    margin-bottom: 10px;
}

.hero-pulse-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 10px auto 0;
}

.hero-pulse-insight {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 24px rgba(0,0,0,0.16);
    position: relative;
    overflow: hidden;
}

.hero-pulse-insight::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: rgba(255,255,255,0.18);
}

.hero-pulse-insight-kicker {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.56);
}

.hero-pulse-insight-value {
    font-size: 0.96rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 900;
}

.hero-pulse-insight-meta {
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255,255,255,0.68);
}

.hero-pulse-insight--votes::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(245,197,24,0.9));
}

.hero-pulse-insight--trend::before,
.hero-pulse-insight--up::before {
    background: linear-gradient(90deg, rgba(34,197,94,0.15), rgba(34,197,94,0.95));
}

.hero-pulse-insight--down::before {
    background: linear-gradient(90deg, rgba(239,68,68,0.15), rgba(239,68,68,0.95));
}

.hero-pulse-insight--signal::before,
.hero-pulse-insight--hot::before {
    background: linear-gradient(90deg, rgba(255,107,0,0.15), rgba(255,107,0,0.95));
}

.hero-pulse-insight--hot {
    background: radial-gradient(circle at top right, rgba(255,107,0,0.18), transparent 52%), rgba(255,255,255,0.045);
}

.hero-pulse[data-tone="super-hot"] .hero-pulse-insight--up,
.hero-pulse[data-tone="super-hot"] .hero-pulse-insight--hot {
    background: radial-gradient(circle at top right, rgba(255,71,87,0.22), transparent 54%), rgba(255,255,255,0.05);
}

.hero-pulse[data-tone="hot"] .hero-pulse-insight--up,
.hero-pulse[data-tone="hot"] .hero-pulse-insight--hot {
    background: radial-gradient(circle at top right, rgba(255,107,0,0.2), transparent 56%), rgba(255,255,255,0.05);
}

/* Tons data-tone */
.hero-pulse[data-tone="super-hot"] { background: rgba(255,71,87,0.08); border-color: rgba(255,71,87,0.35); }
.hero-pulse[data-tone="super-hot"] #track-pulse-label,
.hero-pulse[data-tone="super-hot"] #track-pulse-score { color: #ff4757; }
.hero-pulse[data-tone="super-hot"] #track-pulse-emoji { animation: hero-pulse-fire 1.2s ease-in-out infinite; }
.hero-pulse[data-tone="hot"] { background: rgba(255,107,0,0.06); border-color: rgba(255,107,0,0.3); }
.hero-pulse[data-tone="hot"] #track-pulse-label,
.hero-pulse[data-tone="hot"] #track-pulse-score { color: #ff8533; }
.hero-pulse[data-tone="warm"] { background: rgba(255,195,0,0.05); border-color: rgba(255,195,0,0.25); }
.hero-pulse[data-tone="warm"] #track-pulse-label,
.hero-pulse[data-tone="warm"] #track-pulse-score { color: #ffc300; }
.hero-pulse[data-tone="cold"] { background: rgba(0,180,216,0.05); border-color: rgba(0,180,216,0.25); }
.hero-pulse[data-tone="cold"] #track-pulse-label,
.hero-pulse[data-tone="cold"] #track-pulse-score { color: #00b4d8; }
.hero-pulse[data-tone="frozen"] { background: rgba(0,217,255,0.06); border-color: rgba(0,217,255,0.3); }
.hero-pulse[data-tone="frozen"] #track-pulse-label,
.hero-pulse[data-tone="frozen"] #track-pulse-score { color: #00d9ff; }
.hero-pulse[data-tone="unknown"] {
    background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, rgba(0,180,216,0.04) 100%);
    border-color: rgba(167,139,250,0.25);
    animation: hero-pulse-cta 2.5s ease-in-out infinite;
}
.hero-pulse[data-tone="unknown"] #track-pulse-emoji { animation: hero-pulse-cta-emoji 1.6s ease-in-out infinite; }
.hero-pulse[data-tone="unknown"] #track-pulse-label { color: #a78bfa; }
.hero-pulse[data-tone="unknown"] .hero-pulse-bar-fill { width: 0% !important; opacity: 0; }

@keyframes hero-pulse-fire {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255,71,87,0.4)); }
    50%       { transform: scale(1.18); filter: drop-shadow(0 0 12px rgba(255,71,87,0.7)); }
}
@keyframes hero-pulse-cta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
    50%       { box-shadow: 0 0 0 4px rgba(167,139,250,0.12); }
}
@keyframes hero-pulse-cta-emoji {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.18); }
}

/* ── Boutons d'action ── */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-btn-req, .hero-btn-chat, .hero-btn-sondage {
    display: inline-flex; align-items: center; gap: 8px;
    width: auto;
    min-height: 44px;
    padding: 10px 14px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 800; cursor: pointer;
    border: 1px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    font-family: var(--font-text, system-ui);
    text-align: center;
}
.hero-btn-req:active, .hero-btn-chat:active, .hero-btn-sondage:active {
    transform: scale(0.96);
}
.hero-btn-req {
    background: linear-gradient(135deg, #ff7a1a, #ffb067); color: #180c02;
    box-shadow: 0 18px 30px rgba(255,122,26,0.2);
}
.hero-btn-chat {
    background: rgba(104,91,255,0.16); border-color: rgba(167,139,250,0.24);
    color: #e3dcff;
}
.hero-btn-sondage {
    background: rgba(0,180,216,0.14); border-color: rgba(0,180,216,0.24);
    color: #d9fbff;
}
.hero-btn-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.95rem;
}
.hero-btn-copy {
    display: inline-flex;
    min-width: 0;
}
.hero-btn-copy strong {
    font-size: 0.82rem;
    line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
    .hero-btn-req:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,0.4); }
    .hero-btn-chat:hover { background: rgba(167,139,250,0.2); transform: translateY(-2px); }
    .hero-btn-sondage:hover { background: rgba(0,180,216,0.2); transform: translateY(-2px); }
}
@media (max-width: 479px) {
    .hero-live-grid { grid-template-columns: 1fr; }
    .hero-live-copy { order: 2; }
    .hero-live-media { order: 1; }
    .hero-live-inner { padding: 22px 16px 20px; }
    .hero-next-up,
    .hero-auto-next {
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.68rem;
        box-sizing: border-box;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .hero-btn-req, .hero-btn-chat {
        justify-content: center;
        width: 100%;
        padding: 10px 12px;
        min-height: 44px;
    }
    .hero-btn-sondage { display: none !important; }
    .hero-btn-copy strong { font-size: 0.76rem; }
    .hero-pulse-insights { grid-template-columns: 1fr; }
    /* Votes row mobile — les 2 boutons vote côte à côte, partager dessous en pleine largeur */
    .hero-votes-row { flex-wrap: wrap; gap: 8px; }
    .hero-vote-btn  { min-width: 0; flex: 1; padding: 10px 14px; font-size: 0.82rem; min-height: 44px; }
    .hero-votes-row .rpv-share-btn { order: 3; width: 100%; justify-content: center; padding: 8px 14px; }
}
/* Très petits écrans (iPhone SE, Galaxy A series) */
@media (max-width: 360px) {
    .hero-btn-req, .hero-btn-chat {
        padding: 10px 8px;
        font-size: 0.73rem;
        gap: 5px;
    }
    .hero-next-up,
    .hero-auto-next {
        font-size: 0.64rem;
    }
    .hero-vote-btn { padding: 8px 10px; font-size: 0.78rem; }
    .hero-track-title { font-size: 1rem; }
    .hero-auto-title  { font-size: 1rem; }
}

/* Accessibilite clavier — focus visible */
.hero-vote-btn:focus-visible,
.hero-btn-req:focus-visible,
.hero-btn-chat:focus-visible,
.hero-btn-sondage:focus-visible,
.hero-auto-vpill:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 2px;
}

/* Auditeurs (coin haut-droit du hero live) */
.hero-live-listeners-pill {
    position: absolute; top: 12px; right: 14px; z-index: 10;
    font-size: 0.68rem; color: rgba(255,255,255,0.35);
    font-weight: 600; font-feature-settings: "tnum";
}
.hero-live-listeners-pill--compact {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}
