/* ══════════════════════════════════
   USER TOP 10 PUBLIC – VERSION COMPLÈTE FOND SOMBRE
   ══════════════════════════════════ */
:root {
    /* Couleurs texte (adaptées au fond sombre) */
    --utp-text: #e8e6f0;
    --utp-text-secondary: #b8b5c8;
    --utp-border: rgba(255, 255, 255, .12);
    --utp-card: rgba(20, 18, 30, .95);
    --utp-shadow: 0 4px 20px rgba(0, 0, 0, .45);
    --utp-primary: #e91e84;
    --utp-primary-rgb: 233, 30, 132;
    --utp-secondary: #c850b9;
    --utp-secondary-rgb: 200, 80, 185;
    --utp-gold: #FFD700;
    --utp-silver: #C8C8C8;
    --utp-bronze: #CD7F32;
    /* Fond global sombre */
    --utp-bg: #0f0e15;
    --utp-bg-secondary: #1a1825;
    /* 👇 Fond semi-transparent pour textes */
    --utp-text-bg: rgba(15, 14, 21, .88);
    --utp-text-bg-light: rgba(15, 14, 21, .75);
}

/* ════════════���═════════════════════
   PAGE WRAPPER – FOND SOMBRE GLOBAL
   ══════════════════════════════════ */
.utp-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: var(--utp-bg);
    min-height: 100vh;
}

/* Conteneur interne pour le contenu (après le hero) */
.utp-content-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem clamp(.5rem, 2vw, 1.25rem) 5.5rem;
    background: transparent;
}

/* ══════════════════════════════════
   HERO HEADER – FULL WIDTH AVEC FONDS TEXTE
   ══════════════════════════════════ */
.utp-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Fond sombre + overlay rose */
    background: linear-gradient(135deg, rgba(20, 17, 30, .98) 0%, rgba(28, 24, 42, .96) 100%), radial-gradient(ellipse 80% 50% at 50% -15%, rgba(var(--utp-primary-rgb), .22) 0%, transparent 70%);
    border-bottom: 3px solid rgba(var(--utp-primary-rgb), .30);
    padding: 2.8rem clamp(1rem, 3vw, 2rem);
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

    /* Effet de lueur décoratif */
    .utp-hero::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -40px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(var(--utp-secondary-rgb), .12) 0%, transparent 65%);
        pointer-events: none;
    }

.utp-hero-body {
    max-width: 1120px;
    margin: 0 auto;
    margin-bottom: 1rem;
    /* 👇 FOND SOMBRE POUR TOUT LE BLOC TEXTE */
    background: var(--utp-text-bg);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.utp-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 .4rem;
    position: relative;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .50);
}

.utp-hero-username {
    color: #f4bde8;
    font-weight: 950;
    text-shadow: 0 0 24px rgba(var(--utp-primary-rgb), .65);
}

.utp-hero-signature {
    font-size: .94rem;
    color: rgba(255, 255, 255, .82);
    font-style: italic;
    margin: .4rem 0 0;
    letter-spacing: .01em;
}

.utp-hero-intro {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .90);
    margin: .9rem 0 0;
    max-width: 700px;
}

.utp-hero-actions {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    padding-top: 1.1rem;
}

.utp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    padding: .50rem .95rem;
    /* 👇 FOND SOMBRE RENFORCÉ */
    background: var(--utp-text-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .30);
}

    .utp-badge i {
        font-size: .92rem;
        opacity: .90;
    }

.utp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .90rem;
    font-weight: 600;
    color: #ffffff;
    /* 👇 FOND SOMBRE AVEC ACCENT ROSE */
    background: linear-gradient(135deg, rgba(var(--utp-primary-rgb), .80) 0%, rgba(var(--utp-secondary-rgb), .75) 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    padding: .55rem 1.1rem;
    cursor: pointer;
    transition: all .30s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 14px rgba(var(--utp-primary-rgb), .35);
}

    .utp-share-btn:hover {
        background: linear-gradient(135deg, rgba(var(--utp-primary-rgb), .95) 0%, rgba(var(--utp-secondary-rgb), .90) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(var(--utp-primary-rgb), .50);
    }

    .utp-share-btn.copied {
        background: rgba(76, 175, 80, .85);
        border-color: rgba(76, 175, 80, .55);
    }

/* Préférences (graphiques bar / Top 10) */
.up-pref-card {
    background: linear-gradient(165deg, rgba(188,112,164,.12), rgba(18,17,26,.55));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 14px 16px 16px;
}

.up-pref-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.up-pref-card__title {
    font-weight: 850;
    font-size: 1.05rem;
    color: rgba(255,255,255,.95);
}

.up-pref-card__subtitle {
    font-size: .82rem;
    margin-top: 2px;
}

.up-pref-card__badge {
    font-size: .75rem;
    font-weight: 750;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
    white-space: nowrap;
}

.up-pref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

@media (max-width: 1050px) {
    .up-pref-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 680px) {
    .up-pref-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.up-pref-chart {
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 10px 12px 12px;
    min-width: 0;
}

.up-pref-chart--empty {
    min-height: 120px;
}

.up-pref-chart__heading {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255,255,255,.72);
    margin-bottom: 8px;
}

.up-pref-chart__body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.up-pref-donut {
    flex: 0 0 148px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    -webkit-mask: radial-gradient(farthest-side, transparent 56%, #000 57%);
    mask: radial-gradient(farthest-side, transparent 56%, #000 57%);
}

.up-pref-legend {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.up-pref-legend--scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.up-pref-legend__row {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 10px;
    align-items: start;
    font-size: .88rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    cursor: help;
}

.up-pref-legend__row:hover {
    background: rgba(255,255,255,.04);
}

.up-pref-legend__row:last-child {
    border-bottom: none;
}

.up-pref-legend__swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-top: 5px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}

.up-pref-legend__label {
    color: rgba(255,255,255,.9);
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
    hyphens: auto;
}

.up-pref-legend__pct {
    font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    white-space: nowrap;
    align-self: start;
    padding-top: 2px;
}

@media (max-width: 520px) {
    .up-pref-chart__body {
        flex-direction: column;
        align-items: center;
    }

    .up-pref-legend {
        width: 100%;
    }

    .up-pref-donut {
        flex-basis: 140px;
        width: 140px;
        height: 140px;
    }
}

/* ══════════════════════════════════
   PODIUM (positions 1, 2, 3) – FOND SOMBRE COMPLET
   ══════════════════════════════════ */
.utp-podium {
    display: flex;
    gap: clamp(18px, 2.8vw, 36px);
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    padding: 1rem 0 1.75rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.utp-podium-card {
    flex: 1;
    max-width: 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* 👇 FOND SOMBRE POUR TOUS LES CARDS */
    background: rgba(20, 18, 30, .95);
    border: 1px solid var(--utp-border);
    border-radius: 26px;
    padding: 26px 18px 22px;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    transition: transform .38s cubic-bezier(.34, 1.56, .64, 1), box-shadow .38s ease, border-color .38s ease, filter .38s ease, opacity .38s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .55);
}

    /* Réordonnancement : 🥈 | 🥇 | 🥉 */
    .utp-podium-card[data-pos="2"] {
        order: 1;
        animation-delay: 0.1s;
    }

    .utp-podium-card[data-pos="1"] {
        order: 2;
        animation-delay: 0.3s;
    }

    .utp-podium-card[data-pos="3"] {
        order: 3;
        animation-delay: 0.2s;
    }

    /* ──── #1 : centre, dominant, premium ──── */
    .utp-podium-card[data-pos="1"] {
        flex: 1.6;
        max-width: 440px;
        z-index: 2;
        border-color: rgba(255, 215, 0, .60);
        background: radial-gradient(ellipse 140% 75% at 50% -12%, rgba(255, 215, 0, .18) 0%, transparent 54%), linear-gradient(180deg, rgba(42, 36, 58, .98) 0%, rgba(20, 18, 30, .97) 100%);
        box-shadow: 0 0 0 2px rgba(255, 215, 0, .32), 0 14px 48px rgba(255, 215, 0, .14), 0 36px 90px rgba(0, 0, 0, .70), 0 0 70px rgba(255, 215, 0, .18);
        transform: translateY(-48px) scale(1.22);
        padding-top: 34px;
        padding-bottom: 32px;
    }

        /* Reflet doré en haut de #1 */
        .utp-podium-card[data-pos="1"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 90px;
            background: linear-gradient(180deg, rgba(255, 215, 0, .14) 0%, transparent 100%);
            pointer-events: none;
        }

    /* ──── #2 : argent ──── */
    .utp-podium-card[data-pos="2"] {
        z-index: 1;
        border-color: rgba(200, 200, 200, .70);
        transform: translateY(10px) scale(0.96);
        box-shadow: 0 6px 26px rgba(0, 0, 0, .50);
        /* 👇 FOND SOMBRE EXPLICITE */
        background: rgba(20, 18, 30, .95);
    }

        .utp-podium-card[data-pos="2"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 65px;
            background: linear-gradient(180deg, rgba(200, 200, 200, .10) 0%, transparent 100%);
            pointer-events: none;
        }

    /* ──── #3 : bronze ──── */
    .utp-podium-card[data-pos="3"] {
        z-index: 1;
        border-color: rgba(205, 127, 50, .36);
        transform: translateY(10px) scale(0.96);
        box-shadow: 0 6px 26px rgba(0, 0, 0, .50);
        /* 👇 FOND SOMBRE EXPLICITE */
        background: rgba(20, 18, 30, .95);
    }

        .utp-podium-card[data-pos="3"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 65px;
            background: linear-gradient(180deg, rgba(205, 127, 50, .10) 0%, transparent 100%);
            pointer-events: none;
        }

    /* ── Hover states ── */
    .utp-podium-card[data-pos="1"]:hover {
        transform: translateY(-54px) scale(1.26);
        box-shadow: 0 0 0 2px rgba(255, 215, 0, .42), 0 18px 54px rgba(255, 215, 0, .20), 0 40px 100px rgba(0, 0, 0, .75), 0 0 80px rgba(255, 215, 0, .25);
    }

    .utp-podium-card[data-pos="2"]:hover {
        transform: translateY(4px) scale(0.99);
        box-shadow: 0 0 32px rgba(200, 200, 220, .16), 0 18px 56px rgba(0, 0, 0, .58);
    }

    .utp-podium-card[data-pos="3"]:hover {
        transform: translateY(4px) scale(0.99);
        box-shadow: 0 0 32px rgba(205, 127, 50, .18), 0 18px 56px rgba(0, 0, 0, .58);
    }

/* Médaille */
.utp-podium-medal {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .30));
}

.utp-podium-card[data-pos="1"] .utp-podium-medal {
    font-size: 2.35rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 3px 12px rgba(255, 215, 0, .40));
}

.utp-podium-card[data-pos="2"] .utp-podium-medal,
.utp-podium-card[data-pos="3"] .utp-podium-medal {
    font-size: 1.60rem;
    opacity: .94;
}

/* ── Thumb podium : IMAGES ENCORE PLUS GRANDES ── */
.utp-podium-thumb {
    /* 👇 FOND BLANC comme la liste */
    background: linear-gradient(180deg, #ffffff, #f8f8f8);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    /* 👇 Ombre adaptée au fond blanc */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 8px 30px rgba(0, 0, 0, .50);
    transition: transform .38s ease, box-shadow .38s ease;
    margin-bottom: 20px;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

/* #1 : beaucoup plus grand */
.utp-podium-card[data-pos="1"] .utp-podium-thumb {
    width: 280px;
    height: 280px;
    padding: 18px;
    /* 👇 FOND BLANC avec léger hint doré (subtil) */
    background: linear-gradient(180deg, rgba(255, 248, 220, 0.15), #ffffff, #f8f8f8);
    /* 👇 Ombre dorée conservée pour le prestige */
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .15), 0 10px 38px rgba(255, 215, 0, .18), 0 14px 54px rgba(0, 0, 0, .55);
}

.utp-podium-card:hover .utp-podium-thumb {
    transform: scale(1.06);
    /* 👇 Ombre adaptée au fond blanc */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 10px 34px rgba(0, 0, 0, .52);
}

.utp-podium-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.utp-podium-placeholder {
    font-size: 2.2rem;
    opacity: .32;
    color: var(--utp-text-secondary);
}

/* ── Infos podium avec fond sombre ── */
.utp-podium-info {
    width: 100%;
    /* 👇 FOND SOMBRE SEMI-TRANSPARENT */
    background: var(--utp-text-bg);
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: blur(8px);
}

.utp-podium-name {
    font-size: 1rem;
    font-weight: 850;
    color: var(--utp-text);
    line-height: 1.35;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.utp-podium-card[data-pos="1"] .utp-podium-name {
    font-size: 1.15rem;
    font-weight: 900;
}

.utp-podium-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .92rem;
    font-weight: 700;
    color: rgba(255, 220, 80, .92);
    margin-bottom: 6px;
}

.utp-podium-note {
    font-size: .84rem;
    font-style: italic;
    color: var(--utp-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 7px;
    opacity: .82;
}

/* ══════════════════════════════════
   LISTE (positions 4-10) – FOND SOMBRE COMPLET
   ══════════════════════════════════ */
.utp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .utp-list li {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }

        .utp-list li:nth-child(1) {
            animation-delay: 0.5s;
        }

        .utp-list li:nth-child(2) {
            animation-delay: 0.6s;
        }

        .utp-list li:nth-child(3) {
            animation-delay: 0.7s;
        }

        .utp-list li:nth-child(4) {
            animation-delay: 0.8s;
        }

        .utp-list li:nth-child(5) {
            animation-delay: 0.9s;
        }

        .utp-list li:nth-child(6) {
            animation-delay: 1.0s;
        }

        .utp-list li:nth-child(7) {
            animation-delay: 1.1s;
        }

/* ── item cliquable AVEC FOND SOMBRE ── */
.utp-item-link {
    display: grid;
    grid-template-columns: 42px 130px 1fr 24px;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    /* 👇 FOND SOMBRE POUR LA LISTE */
    background: rgba(20, 18, 30, .95);
    border: 1px solid var(--utp-border);
    border-radius: 20px;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    transition: all .30s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .40);
}

    .utp-item-link:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, .55);
        border-color: rgba(var(--utp-primary-rgb), .35);
        background: rgba(25, 23, 38, .98);
    }

/* ── Rang avec fond sombre ── */
.utp-rank {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--utp-text-secondary);
    text-align: center;
    /* 👇 FOND SOMBRE */
    background: var(--utp-text-bg);
    border-radius: 8px;
    padding: 8px 6px;
    backdrop-filter: blur(6px);
}

/* ── Thumb liste ── */
.utp-thumb {
    width: 108px;
    height: 108px;
    background: linear-gradient(180deg, #ffffff, #f8f8f8);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 14px rgba(0, 0, 0, .20);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /*box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);*/
    transition: transform .30s ease;
}

.utp-item-link:hover .utp-thumb {
    transform: scale(1.10);
}

.utp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.utp-placeholder {
    font-size: 1.8rem;
    opacity: .28;
    color: var(--utp-text-secondary);
}

/* ── Infos gin avec fond sombre ── */
.utp-info {
    min-width: 0;
    /* 👇 FOND SOMBRE */
    background: var(--utp-text-bg);
    border-radius: 12px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
}

.utp-name {
    font-size: 1.02rem;
    font-weight: 750;
    color: var(--utp-text);
    line-height: 1.45;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.utp-meta {
    font-size: .86rem;
    color: var(--utp-text-secondary);
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.utp-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: rgba(255, 190, 70, .94);
}

/* ── Flèche ── */
.utp-arrow {
    font-size: 1.05rem;
    color: var(--utp-text-secondary);
    opacity: .55;
    transition: all .30s ease;
}

.utp-item-link:hover .utp-arrow {
    transform: translateX(5px);
    opacity: 1;
    color: var(--utp-primary);
}

/* ══════════════════════════════════
   CTA CONVERSION
   ══════════════════════════════════ */
.utp-cta-block {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(28, 24, 42, .98) 0%, rgba(35, 30, 50, .96) 100%);
    border: 1px solid rgba(var(--utp-primary-rgb), .26);
    border-radius: 26px;
    padding: 2.5rem 2.2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.utp-cta-icon {
    font-size: 2.4rem;
    margin-bottom: .85rem;
}

.utp-cta-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: .6rem;
}

.utp-cta-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    margin: 0 0 1.6rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.utp-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--utp-primary-rgb), .88) 0%, rgba(var(--utp-secondary-rgb), .82) 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    padding: .78rem 1.75rem;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
}

    .utp-cta-link:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 34px rgba(var(--utp-primary-rgb), .50);
        background: linear-gradient(135deg, rgba(var(--utp-primary-rgb), .98) 0%, rgba(var(--utp-secondary-rgb), .92) 100%);
    }

/* ══════════════════════════════════
   FOOTER BRANDING
   ══════════════════════════════════ */
.utp-footer {
    margin-top: 4.5rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--utp-border);
    text-align: center;
    font-size: .92rem;
    color: var(--utp-text-secondary);
}

.utp-footer-label {
    margin-bottom: .7rem;
}

.utp-footer-link {
    color: var(--utp-primary);
    font-weight: 600;
    text-decoration: none;
    transition: opacity .26s ease;
}

    .utp-footer-link:hover {
        opacity: .78;
        text-decoration: underline;
    }

/* ══════════════════════════════════
   ÉTATS (loading, empty, private)
   ══════════════════════════════════ */
.utp-state-card {
    background: var(--utp-card);
    border: 1px solid var(--utp-border);
    border-radius: 22px;
    padding: 4rem 2.2rem;
    text-align: center;
    box-shadow: var(--utp-shadow);
}

.utp-state-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    opacity: .45;
    color: var(--utp-text-secondary);
}

.utp-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--utp-text);
    margin-bottom: .6rem;
}

.utp-state-desc {
    font-size: .96rem;
    color: var(--utp-text-secondary);
    margin: 0;
}

/* ════════════════════════���═════════
   DARK MODE (déjà appliqué par défaut)
   ══════════════════════════════════ */
[data-theme="dark"] .utp-item-link {
    background: rgba(20, 18, 30, .95);
    border-color: var(--utp-border);
}

    [data-theme="dark"] .utp-item-link:hover {
        background: rgba(25, 23, 38, .98);
    }

[data-theme="dark"] .utp-podium-card {
    background: rgba(20, 18, 30, .95);
}

/* ══════════════════════════════════
   RESPONSIVE – tablette (≤ 768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .utp-hero {
        padding: 2.2rem 1.5rem;
    }

    .utp-hero-body {
        padding: 1.25rem 1.5rem;
    }

    .utp-hero-title {
        font-size: 1.9rem;
    }

    .utp-content-wrapper {
        padding: 2rem 1rem 4rem;
    }

    .utp-podium {
        gap: 16px;
        margin-bottom: 2.75rem;
    }

    .utp-podium-card[data-pos="1"] {
        transform: translateY(-34px) scale(1.15);
    }

        .utp-podium-card[data-pos="1"]:hover {
            transform: translateY(-38px) scale(1.18);
        }

    .utp-podium-card[data-pos="2"],
    .utp-podium-card[data-pos="3"] {
        transform: translateY(14px) scale(0.94);
    }

        .utp-podium-card[data-pos="2"]:hover,
        .utp-podium-card[data-pos="3"]:hover {
            transform: translateY(8px) scale(0.97);
        }

    .utp-podium-thumb {
        width: 170px;
        height: 170px;
    }

    .utp-podium-card[data-pos="1"] .utp-podium-thumb {
        width: 220px;
        height: 220px;
    }

    .utp-thumb {
        width: 92px;
        height: 92px;
    }

    .utp-cta-block {
        padding: 2rem 1.75rem;
    }
}

/* ══════════════════════════════════
   RESPONSIVE – mobile (≤ 576px)
   ══════════════════════════════════ */
@media (max-width: 576px) {
    .utp-hero {
        padding: 1.8rem 1rem;
        margin-bottom: 2rem;
    }

    .utp-hero-body {
        padding: 1rem 1.25rem;
    }

    .utp-hero-title {
        font-size: 1.6rem;
    }

    .utp-content-wrapper {
        padding: 1rem .75rem 3rem;
    }

    /* Podium en colonne sur mobile */
    .utp-podium {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .utp-podium-card,
    .utp-podium-card[data-pos="1"],
    .utp-podium-card[data-pos="2"],
    .utp-podium-card[data-pos="3"] {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px 18px;
        max-width: 100%;
        transform: none;
        order: unset;
    }

        .utp-podium-card[data-pos="1"] {
            order: 1;
        }

        .utp-podium-card[data-pos="2"] {
            order: 2;
        }

        .utp-podium-card[data-pos="3"] {
            order: 3;
        }

            .utp-podium-card:hover,
            .utp-podium-card[data-pos="1"]:hover,
            .utp-podium-card[data-pos="2"]:hover,
            .utp-podium-card[data-pos="3"]:hover {
                transform: translateY(-2px);
            }

    .utp-podium-medal {
        margin-bottom: 0;
        margin-right: 14px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .utp-podium-thumb {
        width: 92px;
        height: 92px;
    }

    .utp-podium-card[data-pos="1"] .utp-podium-thumb {
        width: 108px;
        height: 108px;
    }

    .utp-podium-thumb,
    .utp-podium-card[data-pos="1"] .utp-podium-thumb {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 16px;
        padding: 9px;
    }

    .utp-podium-info {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
    }

    /* Liste */
    .utp-item-link {
        grid-template-columns: 36px 100px 1fr 20px;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 16px;
    }

    .utp-thumb {
        width: 80px;
        height: 80px;
        padding: 7px;
    }

    .utp-rank {
        font-size: .96rem;
        padding: 6px 4px;
    }

    .utp-info {
        padding: 8px 12px;
    }

    .utp-name {
        font-size: .94rem;
    }

    .utp-cta-block {
        padding: 1.75rem 1.5rem;
        border-radius: 20px;
    }

    .utp-cta-title {
        font-size: 1.2rem;
    }
}
/* 👇 NOUVEAU : Score moyen du Top 10 */
.utp-hero-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd166;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .utp-hero-score i {
        font-size: 1rem;
        opacity: 0.9;
    }

    .utp-hero-score strong {
        color: #ffd700;
        font-size: 1.2rem;
    }

/* ══════════════════════════════════
   Comparer avec mon Top 10
   ══════════════════════════════════ */
.utp-hero-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    justify-content: flex-end;
}

.utp-compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    padding: .52rem 1rem;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease, transform .18s ease, box-shadow .22s ease;
    backdrop-filter: blur(8px);
}

.utp-compare-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .32);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.utp-compare-btn:disabled {
    opacity: .75;
    cursor: wait;
}

.utp-compare-error {
    font-size: .82rem;
    color: #ffb4b4;
    margin: .6rem 0 0;
    padding: 0 2px;
}

.utp-compare-summary {
    margin-top: .85rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .78);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem;
}

.utp-compare-summary__num {
    font-weight: 800;
    font-size: 1rem;
    color: #7dcea0;
}

.utp-compare-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-top: 6px;
    margin-bottom: 2px;
    width: fit-content;
    max-width: 100%;
}

.utp-compare-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-left: 4px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 650;
}

.utp-compare-delta {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    background: rgba(255, 255, 255, 0.12);
}

.utp-compare-pill--common .utp-compare-delta {
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
}

.utp-compare-pill--common {
    color: #1a3d2a;
    background: linear-gradient(135deg, #7dcea0 0%, #52b788 100%);
    border: 1px solid rgba(82, 183, 136, .5);
    box-shadow: 0 1px 6px rgba(82, 183, 136, .25);
}

.utp-compare-pill--unique {
    color: rgba(255, 255, 255, .92);
    background: linear-gradient(135deg, rgba(138, 99, 168, .55) 0%, rgba(90, 62, 118, .75) 100%);
    border: 1px solid rgba(188, 112, 164, .35);
    box-shadow: 0 1px 6px rgba(90, 62, 118, .3);
}

@media (max-width: 576px) {
    .utp-hero-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .utp-compare-btn,
    .utp-share-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }
}

/* ══════════════════════════════════
   Score de compatibilité (match %)
   ══════════════════════════════════ */
.utp-match-score {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
}

.utp-match-percent {
    font-size: 1.2rem;
    font-weight: 850;
    color: rgba(255, 255, 255, .96);
    line-height: 1.25;
    margin-bottom: .4rem;
}

.utp-match-label {
    font-size: .92rem;
    font-weight: 650;
    color: rgba(255, 255, 255, .82);
    line-height: 1.4;
}

/* Badges comparaison : texte lisible sur 2 lignes */
.utp-compare-pill--rich {
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    text-align: left;
    gap: 5px;
    padding: 8px 11px;
    text-transform: none;
    letter-spacing: 0;
    max-width: 100%;
}

.utp-compare-pill__line1 {
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.utp-compare-pill__line2 {
    font-size: .74rem;
    font-weight: 650;
    line-height: 1.4;
    opacity: .95;
}

/* ══════════════════════════════════
   Analyse aromatique (insights Top 10)
   ══════════════════════════════════ */
.utp-insight-card {
    max-width: 1120px;
    margin: 1.25rem auto 0;
    padding: 1.15rem 1.35rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--utp-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

.utp-insight-profile {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--utp-text);
    margin-bottom: .65rem;
    letter-spacing: .02em;
}

.utp-insight-text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--utp-text-secondary);
    font-weight: 550;
}

.utp-insight-hybrid {
    margin: .65rem 0 0;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--utp-text);
    font-weight: 650;
    font-style: italic;
    opacity: .92;
}

.utp-insight-signature {
    margin: .75rem 0 0;
    font-size: .82rem;
    line-height: 1.4;
    color: rgba(232, 230, 240, .72);
    font-weight: 600;
    letter-spacing: .02em;
}

/* Quantités bar (listes publiques favoris / wishlist / bar) */
.utp-bar-qty {
    font-weight: 800;
    font-size: .88rem;
    color: rgba(var(--utp-primary-rgb), .95);
    letter-spacing: .02em;
}

/* Toolbar / search / display controls for public lists */
.utp-public-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.utp-public-search {
    position: relative;
    width: min(520px, 100%);
}

.utp-search-input-wrap {
    position: relative;
}

.utp-search-input-wrap i.fa-magnifying-glass {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.6);
}

.utp-search-input-wrap .form-control {
    padding-left: 34px;
    padding-right: 34px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--utp-border);
    color: var(--utp-text);
}

.utp-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: rgba(255,255,255,.75);
}

.utp-suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border: 1px solid var(--utp-border);
    border-radius: 10px;
    overflow: hidden;
    background: #181624;
    box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.utp-suggestion-item {
    width: 100%;
    border: none;
    text-align: left;
    background: transparent;
    color: var(--utp-text);
    padding: 10px 12px;
}

.utp-suggestion-item:hover {
    background: rgba(255,255,255,.06);
}

.utp-public-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.utp-view-btn {
    border: 1px solid var(--utp-border);
    background: rgba(255,255,255,.05);
    color: var(--utp-text);
    min-width: 36px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.utp-view-btn.active {
    border-color: rgba(var(--utp-primary-rgb), .55);
    background: rgba(var(--utp-primary-rgb), .20);
}

.utp-page-size {
    width: 76px;
    background: rgba(255,255,255,.05);
    color: var(--utp-text);
    border: 1px solid var(--utp-border);
}

.utp-grid {
    display: grid;
    gap: 12px;
}

.utp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.utp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.utp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.utp-grid-card {
    background: var(--utp-text-bg);
    border: 1px solid var(--utp-border);
    border-radius: 14px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
}

.utp-grid-rank {
    color: rgba(255,255,255,.66);
    font-size: .78rem;
    margin-bottom: 6px;
}

.utp-grid-thumb {
    height: 132px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.utp-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.utp-grid-name {
    margin-top: 8px;
    font-weight: 700;
    color: var(--utp-text);
    min-height: 38px;
}

.utp-grid-meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.utp-pagination {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.utp-page-indicator {
    color: rgba(255,255,255,.78);
}