/* Classement façon podium des Padel Quest Awards (27 septembre 2026).

   Chargée après vote.css, sur la seule page /awards/classement. Le modèle
   donné par l'utilisateur est l'arrivée d'un Grand Prix de F1 : trois
   portraits, de grands chiffres, puis les suivants en lignes. La page en
   garde le rythme et la lisibilité, dans la langue des Awards : noir, or,
   et l'univers de couleur de chaque catégorie sur sa carte, comme la couleur
   d'une écurie.

   Préfixe .lb- (leaderboard) : aucune règle de vote.css n'est touchée. */

.lb-page {
    /* Deux cartes de front sur un écran de bureau : la colonne s'élargit un
       peu au-delà de celle des autres écrans du scrutin. */
    max-width: calc(78rem + 2 * 1.25rem);
}

/* Rien ne doit faire défiler la page sur le côté : « clip » et non
   « hidden », qui casserait la barre collante des catégories. */
body.vote:has(.lb-page) {
    overflow-x: clip;
}

.lb-lecteur {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* En-tête ------------------------------------------------------------------ */

.lb-entete {
    position: relative;
    text-align: center;
    padding-top: clamp(0.4rem, 2vw, 1.2rem);
}

.lb-entete::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    /* Borne a la colonne : a 130 %, le halo debordait de l'ecran d'un
       telephone et la page defilait de vingt pixels sur le cote. */
    width: min(46rem, 100%);
    aspect-ratio: 2 / 1;
    translate: -50% 0;
    background: radial-gradient(ellipse at 50% 55%, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.04) 42%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.vote-logo.lb-logo {
    width: clamp(10.5rem, 40vw, 15rem);
    margin-bottom: clamp(0.9rem, 2.4vw, 1.3rem);
}

/* « En direct » : le point rouge des retransmissions, le seul rouge de la
   page. Il bat doucement, comme un voyant. */
.lb-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.75rem;
    padding: 0.38rem 0.85rem 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 12, 12, 0.7);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #fff;
}

.lb-direct-point {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
    animation: lb-pouls 1.8s ease-out infinite;
}

@keyframes lb-pouls {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65); }
    70% { box-shadow: 0 0 0 0.6rem rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.lb-titre {
    margin: 0;
    font-size: clamp(2rem, 7vw, 3.9rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    text-wrap: balance;
    background: linear-gradient(180deg, #ffffff 0%, #f3e6c2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lb-faits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0;
    margin: clamp(0.8rem, 2vw, 1.1rem) 0 0;
    font-size: clamp(0.74rem, 1.8vw, 0.86rem);
    color: var(--texte-doux);
}

.lb-fait + .lb-fait::before {
    content: '';
    display: inline-block;
    width: 0.28rem;
    height: 0.28rem;
    margin: 0 0.85rem 0.18em;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.7);
}

.lb-fait strong {
    font-weight: 800;
    color: var(--gold-clair);
    font-variant-numeric: tabular-nums;
}

/* Partenaires : bandeau de tête ----------------------------------------------- */

.lb-partenaires {
    margin-top: clamp(1.5rem, 3.6vw, 2.3rem);
    text-align: center;
}

.lb-partenaires-titre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.lb-partenaires-titre::before,
.lb-partenaires-titre::after {
    content: '';
    width: clamp(1.5rem, 8vw, 4rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8));
}

.lb-partenaires-titre::after {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), transparent);
}

.lb-partenaires-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.lb-plaque .lb-plaque-logo {
    --logo-h: 2.5rem;
    --logo-max: 9.5rem;
}

.lb-partenaires .vote-plaque {
    padding: 0.5rem 0.95rem;
    border-radius: 0.8rem;
}

.lb-plaque-nom {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.vote-plaque-claire .lb-plaque-nom {
    color: #1b1405;
}

/* Barre des catégories ------------------------------------------------------ */

/* Flottante et collée en haut de l'écran : une puce par catégorie, celle
   qu'on lit s'allume, et la loupe pour trouver un nominé. En pilule plutôt
   qu'en bandeau de bord à bord : elle suit la colonne, et un bandeau pleine
   largeur calculé sur 100vw déborderait de la largeur de la barre de
   défilement sur un ordinateur. */
.lb-nav {
    position: sticky;
    top: 0.6rem;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: clamp(1.6rem, 3.6vw, 2.4rem);
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.26), 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}

/* Au-dessus de la pilule, le contenu qui défile se lisait dans l'interstice :
   un voile sombre le couvre, du haut de l'écran jusque sous la barre. */
.lb-nav::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    right: -1.25rem;
    top: -0.6rem;
    bottom: -0.9rem;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 55%, transparent 100%);
    /* Fondu sur les côtés : sans lui, le voile se lisait comme une bande. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lb-nav.est-collee::before { opacity: 1; }

.lb-rail {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 0.9rem, #000 calc(100% - 1.6rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 0.9rem, #000 calc(100% - 1.6rem), transparent 100%);
    padding-inline: 0.4rem 1.4rem;
}

.lb-rail::-webkit-scrollbar { display: none; }

.lb-puce {
    flex: none;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.lb-puce:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.lb-puce.est-active {
    font-weight: 700;
    color: #1b1405;
    background: linear-gradient(180deg, #f7e7b8 0%, #e2c063 55%, #c89c35 100%);
}

.lb-loupe {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.3rem;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
    color: var(--gold-clair);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.lb-loupe:hover,
.lb-loupe[aria-expanded="true"] { background: rgba(212, 175, 55, 0.14); }

.lb-loupe svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.lb-recherche {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(26rem, 100%);
    padding: 0.6rem;
    border-radius: 1.1rem;
    background: #0e0e0e;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35), 0 30px 60px -20px rgba(0, 0, 0, 0.95);
}

.lb-recherche-champ {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    /* 16 px au moins : en dessous, Safari zoome sur le champ. */
    font: inherit;
    font-size: 1rem;
    outline: none;
}

.lb-recherche-champ:focus { border-color: rgba(212, 175, 55, 0.7); }

.lb-resultats {
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
    max-height: min(22rem, 55vh);
    overflow-y: auto;
}

.lb-resultats button {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: 0.65rem;
    background: none;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lb-resultats button:hover,
.lb-resultats button:focus-visible { background: rgba(212, 175, 55, 0.12); outline: none; }

.lb-resultats strong {
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lb-resultats span {
    font-size: 0.7rem;
    color: var(--texte-doux);
}

.lb-resultats-vide {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    color: var(--texte-doux);
}

/* Familles et grille ----------------------------------------------------------- */

.lb-famille {
    margin-top: clamp(2.3rem, 5vw, 3.6rem);
}

/* L'intertitre de l'accueil du vote : Playfair entre deux filets d'or. */
.lb-famille-titre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.7rem, 2vw, 1.2rem);
    margin: 0 0 clamp(1.1rem, 2.4vw, 1.6rem);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.25rem, 2.8vw, 1.8rem);
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    color: #fff9e9;
}

.lb-famille-titre::before,
.lb-famille-titre::after {
    content: '';
    flex: none;
    width: clamp(1.2rem, 5vw, 3.2rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8));
}

.lb-famille-titre::after {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), transparent);
}

.lb-grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* En haut et non étirées : une carte dépliée ne doit pas allonger sa
       voisine d'un grand vide. */
    align-items: start;
    gap: clamp(1rem, 2.2vw, 1.5rem);
}

@media (min-width: 960px) {
    .lb-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Carte d'une catégorie -------------------------------------------------------- */

/* L'univers de la catégorie, celui de ses visuels de nomination, en fond : la
   carte se reconnaît comme une écurie à sa couleur. */
.lb-carte {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1rem, 2.4vw, 1.4rem) clamp(0.85rem, 2.4vw, 1.4rem) 0.35rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(85% 60% at 50% 42%, color-mix(in srgb, var(--c-accent) 58%, transparent) 0%, transparent 72%),
        linear-gradient(168deg, var(--c-fond) 0%, var(--c-sombre) 70%, #030303 100%);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22), 0 40px 80px -50px rgba(0, 0, 0, 0.95);
    scroll-margin-top: 5.5rem;
}

/* Lignes de vitesse, fines et en biais, dans le coin haut : la touche de
   Grand Prix. Elles s'éteignent avant le podium. */
.lb-carte::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 38%;
    height: 9rem;
    z-index: -1;
    background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 13px);
    -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(200deg, #000 0%, transparent 70%);
    pointer-events: none;
}

.lb-carte-tete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    min-height: 2.9rem;
}

/* Le nom du prix derrière une barre d'or inclinée, comme le nom d'un Grand
   Prix au-dessus d'un classement. */
.lb-carte-titre {
    position: relative;
    margin: 0;
    padding-left: 0.85rem;
    min-width: 0;
    flex: 1 1 12rem;
    font-size: clamp(0.92rem, 2.2vw, 1.12rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}

.lb-carte-titre::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    bottom: 0.1em;
    width: 0.26rem;
    border-radius: 2px;
    background: linear-gradient(180deg, #f5e3b5, #c89c35);
    transform: skewX(-14deg);
}

.lb-remise {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: none;
}

.lb-remise-mention {
    width: min-content;
    font-size: 0.52rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-align: right;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.lb-remise-plaque.vote-plaque {
    padding: 0.32rem 0.62rem;
    border-radius: 0.6rem;
}

.lb-remise-plaque .lb-plaque-logo {
    --logo-h: 1.85rem;
    --logo-max: 7.5rem;
}

/* La place est à prendre : discret, en pointillé, comme un emplacement
   réservé. */
.lb-parrainer {
    flex: none;
    max-width: 10.5rem;
    padding: 0.45rem 0.7rem;
    border: 1px dashed rgba(212, 175, 55, 0.45);
    border-radius: 0.6rem;
    font-size: 0.54rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(245, 227, 181, 0.78);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.lb-parrainer:hover {
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.8);
    color: #fff;
    background: rgba(212, 175, 55, 0.08);
}

.lb-vide {
    margin: 1.4rem 0 1.2rem;
    font-size: 0.82rem;
    color: var(--texte-doux);
    text-align: center;
}

/* Podium ------------------------------------------------------------------------ */

/* Le premier au centre, un peu plus grand, le deuxième à sa gauche et le
   troisième à sa droite. Deux rangées partagées par les trois marches
   (subgrid) : les portraits s'alignent par le bas, les noms par le haut,
   quelle que soit la longueur de chacun. */
.lb-podium,
.lb-finalistes {
    display: grid;
    grid-template-rows: auto auto;
    gap: 0 clamp(0.5rem, 1.8vw, 1rem);
    margin: clamp(0.9rem, 2.4vw, 1.3rem) 0 0;
    padding: 0;
    list-style: none;
}

.lb-podium {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr);
}

.lb-finalistes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lb-marche,
.lb-finaliste {
    position: relative;
    display: grid;
    grid-row: 1 / span 2;
    grid-template-rows: subgrid;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.lb-marche-1 { grid-column: 2; }
.lb-marche-2 { grid-column: 1; }
.lb-marche-3 { grid-column: 3; }

.lb-metal-1 {
    --metal: linear-gradient(180deg, #fff7dc 0%, #f1d27a 36%, #d4af37 62%, #99771c 100%);
    --metal-bord: rgba(222, 186, 72, 0.95);
    --metal-lueur: rgba(212, 175, 55, 0.5);
}

.lb-metal-2 {
    --metal: linear-gradient(180deg, #ffffff 0%, #e4e9f0 40%, #aab4c2 68%, #6c7685 100%);
    --metal-bord: rgba(214, 221, 231, 0.75);
    --metal-lueur: rgba(200, 210, 225, 0.25);
}

.lb-metal-3 {
    --metal: linear-gradient(180deg, #ffe6cc 0%, #e6a672 40%, #bd7840 66%, #7a4720 100%);
    --metal-bord: rgba(214, 150, 96, 0.85);
    --metal-lueur: rgba(205, 127, 50, 0.3);
}

.lb-marche-visuel {
    position: relative;
    align-self: end;
    display: block;
    width: 100%;
}

.lb-marche-2 .lb-marche-visuel,
.lb-marche-3 .lb-marche-visuel {
    width: 92%;
}

.lb-portrait {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: clamp(0.7rem, 1.6vw, 1rem);
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-sombre) 100%);
    box-shadow: 0 0 0 1px var(--metal-bord, rgba(212, 175, 55, 0.5)), 0 24px 40px -26px rgba(0, 0, 0, 0.95);
}

.lb-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}

/* Le bas du portrait s'assombrit : le chiffre s'y pose. */
.lb-portrait::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

.lb-metal-1 .lb-portrait {
    box-shadow: 0 0 0 2px var(--metal-bord), 0 0 46px -8px var(--metal-lueur), 0 28px 46px -26px rgba(0, 0, 0, 0.95);
}

/* Le grand chiffre en italique, à cheval sur le bas du portrait, comme un
   numéro de course. Dégradé du métal de la place : or, argent, bronze. */
.lb-chiffre {
    position: absolute;
    left: -0.06em;
    bottom: -0.2em;
    z-index: 1;
    font-size: clamp(2.9rem, 8.4vw, 5.4rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.04em;
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0.08em 0.12em rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.lb-marche-1 .lb-chiffre {
    font-size: clamp(3.4rem, 10vw, 6.4rem);
}

.lb-initiales {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(1.3rem, 4.6vw, 2.4rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.86);
}

.lb-marche-texte {
    /* Toute la hauteur de la rangée : les pastilles de score se calent en
       bas, alignées d'une marche à l'autre même si un nom tient sur deux
       lignes. */
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.14rem;
    width: 100%;
    min-width: 0;
    padding-top: 0.75rem;
}

.lb-nom {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.lb-prenom {
    font-size: clamp(0.56rem, 1.5vw, 0.7rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.lb-nom strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    font-size: clamp(0.7rem, 2vw, 0.98rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    color: #fff;
}

.lb-marche-1 .lb-nom strong {
    font-size: clamp(0.78rem, 2.3vw, 1.08rem);
}

.lb-club {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(0.54rem, 1.4vw, 0.66rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.55);
}

.lb-score-rangee {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.45rem;
}

/* Finalistes : trois portraits égaux, ni rang ni chiffre, un filet d'or. */
.lb-finaliste .lb-portrait {
    align-self: end;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 24px 40px -26px rgba(0, 0, 0, 0.95);
}

/* Suite du classement ---------------------------------------------------------- */

.lb-suite {
    margin-top: 0.9rem;
}

.lb-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lb-ligne {
    display: grid;
    grid-template-columns: 1.9rem 2.2rem 2.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.4rem;
    border-radius: 0.75rem;
}

.lb-ligne + .lb-ligne {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lb-ligne-rang {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.lb-tendance {
    display: inline-flex;
    align-items: center;
    gap: 0.14rem;
    min-height: 1rem;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lb-tendance svg {
    width: 0.62rem;
    height: 0.62rem;
    fill: currentColor;
}

.lb-tendance-haut { color: #5fe0a0; }
.lb-tendance-bas { color: #ff8f8f; }
.lb-tendance-egal { color: rgba(255, 255, 255, 0.45); font-size: 0.8rem; }
.lb-tendance-entree { color: #e6c76a; }

.lb-score-rangee .lb-tendance:empty { display: none; }

.lb-ligne-vignette {
    position: relative;
    display: block;
    width: 2.4rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.6rem;
    background: linear-gradient(160deg, var(--c-accent) 0%, var(--c-sombre) 100%);
}

.lb-ligne-vignette img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.lb-ligne-vignette .lb-initiales {
    font-size: 0.78rem;
}

.lb-ligne-identite {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.lb-ligne-identite strong,
.lb-ligne-identite span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-ligne-identite strong {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.lb-ligne-identite span {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

/* Le logo du club, comme celui d'une écurie en bout de ligne, sur une
   pastille claire : un logo sombre ne se lirait pas sur l'univers. */
.lb-ligne-logo {
    display: block;
    width: auto;
    height: 1.7rem;
    max-width: 3.4rem;
    padding: 0.14rem 0.2rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.92);
    object-fit: contain;
}

.lb-ligne-logo-clair {
    background: rgba(0, 0, 0, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lb-reste {
    margin: 0.5rem 0 0.2rem;
    font-size: 0.72rem;
    text-align: center;
    color: var(--texte-doux);
}

/* Pied de carte ------------------------------------------------------------------ */

.lb-carte-pied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: auto;
    padding: 0.85rem 0.1rem 0.6rem;
}

.lb-podium + .lb-carte-pied,
.lb-suite + .lb-carte-pied {
    margin-top: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lb-deplier {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-align: left;
    padding: 0.5rem 0.1rem;
    border: 0;
    background: none;
    color: var(--gold-clair);
    font: inherit;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.lb-deplier:hover { color: #fff; }

.lb-deplier svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.lb-deplier svg.est-retourne { transform: rotate(180deg); }

.lb-voter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.1rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #e6c76a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lb-voter:hover { color: #fff; border-color: #d4af37; }

/* Grand encart partenaire ------------------------------------------------------- */

/* Entre deux rangées de cartes, sur toute la largeur, comme une page de
   publicité dans un magazine. Un reflet le traverse de loin en loin. */
.lb-encart {
    grid-column: 1 / -1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "surtitre surtitre surtitre"
        "plaque texte lien";
    align-items: center;
    gap: 0.9rem clamp(1rem, 3vw, 2rem);
    padding: clamp(1.1rem, 3vw, 1.7rem) clamp(1.1rem, 3.4vw, 2.2rem);
    border-radius: 1.5rem;
    background:
        radial-gradient(55% 150% at 0% 50%, rgba(212, 175, 55, 0.18), transparent 70%),
        linear-gradient(100deg, #151007 0%, #0a0a0a 55%, #120d05 100%);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.5), 0 30px 70px -44px rgba(212, 175, 55, 0.4);
}

.lb-encart::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 214, 0.09) 50%, transparent 62%);
    transform: translateX(-100%);
    animation: lb-reflet 7s ease-in-out 1.5s infinite;
    pointer-events: none;
}

@keyframes lb-reflet {
    0% { transform: translateX(-100%); }
    35%, 100% { transform: translateX(100%); }
}

.lb-encart-couronne {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    top: 50%;
    z-index: -1;
    display: flex;
    gap: 0.2rem;
    height: 78%;
    translate: 0 -50%;
    opacity: 0.2;
    pointer-events: none;
}

.lb-encart-palme {
    display: block;
    height: 100%;
}

.lb-encart-palme svg {
    display: block;
    width: auto;
    height: 100%;
}

.lb-encart-palme-miroir { transform: scaleX(-1); }

.lb-encart-surtitre {
    grid-area: surtitre;
    margin: 0;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #e6c76a;
}

.lb-encart-plaque {
    grid-area: plaque;
}

.lb-encart .vote-plaque {
    padding: 0.75rem 1.2rem;
    border-radius: 1rem;
}

.lb-encart-plaque .lb-plaque-logo {
    --logo-h: 3.6rem;
    --logo-max: 14rem;
}

.lb-encart-texte {
    grid-area: texte;
    min-width: 0;
}

.lb-encart-trophee {
    margin: 0;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.lb-encart-categories {
    margin: 0.3rem 0 0;
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

.lb-encart-lien {
    grid-area: lien;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--gold-clair);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lb-encart-lien:hover { background: rgba(212, 175, 55, 0.14); color: #fff; }

/* Bas de page ---------------------------------------------------------------------- */

.lb-maj {
    margin: clamp(2.4rem, 5vw, 3.2rem) 0 0;
    font-size: 0.72rem;
    text-align: center;
    color: var(--texte-doux);
}

.lb-actions {
    display: flex;
    justify-content: center;
    margin: 1.1rem 0 0;
}

.lb-message {
    margin: 3rem auto;
    max-width: 32rem;
    text-align: center;
    color: var(--texte-doux);
}

/* Mouvement ---------------------------------------------------------------------- */

/* Entrée en scène du podium quand sa carte arrive à l'écran : le deuxième,
   puis le premier, puis le troisième. La classe lb-anime n'est posée par
   classement.js que si le visiteur accepte le mouvement ; sans elle, rien
   n'est jamais masqué. */
.lb-anime .lb-carte:not(.est-vue) .lb-marche,
.lb-anime .lb-carte:not(.est-vue) .lb-finaliste {
    opacity: 0;
}

.lb-carte.est-vue .lb-marche,
.lb-carte.est-vue .lb-finaliste {
    animation: lb-monte 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.lb-carte.est-vue .lb-marche-2 { animation-delay: 0.05s; }
.lb-carte.est-vue .lb-marche-1 { animation-delay: 0.18s; }
.lb-carte.est-vue .lb-marche-3 { animation-delay: 0.3s; }
.lb-carte.est-vue .lb-finaliste:nth-child(2) { animation-delay: 0.12s; }
.lb-carte.est-vue .lb-finaliste:nth-child(3) { animation-delay: 0.24s; }

@keyframes lb-monte {
    from { opacity: 0; transform: translateY(1.4rem); }
    to { opacity: 1; transform: none; }
}

/* Un vote qui tombe (27 septembre 2026, à la demande de l'utilisateur, à la
   place d'un reflet qui ne disait rien). classement.js pose lb-vote sur un
   nominé qui vient de recevoir des voix, à un instant tiré au hasard dans la
   demi-minute : le portrait clignote deux fois d'or, et des pouces s'en
   envolent (plus bas). Seulement qui, jamais combien. */
.lb-vote .lb-portrait,
.lb-ligne.lb-vote .lb-ligne-vignette {
    animation: lb-vote 1.5s ease-out;
}

@keyframes lb-vote {
    0% { box-shadow: 0 0 0 2px #fff3cf, 0 0 0 0 rgba(255, 212, 84, 0.85); filter: brightness(1.45); }
    18% { filter: brightness(1); }
    34% { box-shadow: 0 0 0 2px #fff3cf, 0 0 0 0 rgba(255, 212, 84, 0.85); filter: brightness(1.4); }
    52% { filter: brightness(1); }
    100% { box-shadow: 0 0 0 2px rgba(255, 243, 207, 0), 0 0 0 0.9rem rgba(255, 212, 84, 0); }
}

.lb-ligne.lb-vote {
    animation: lb-vote-ligne 1.5s ease-out;
}

/* L'ambiance, plus légère : un seul éclat, et un ou deux pouces. */
.lb-vote-leger .lb-portrait,
.lb-ligne.lb-vote-leger .lb-ligne-vignette {
    animation: lb-vote-leger 1.3s ease-out;
}

@keyframes lb-vote-leger {
    0% { box-shadow: 0 0 0 2px rgba(255, 243, 207, 0.9), 0 0 0 0 rgba(255, 212, 84, 0.6); filter: brightness(1.25); }
    40% { filter: brightness(1); }
    100% { box-shadow: 0 0 0 2px rgba(255, 243, 207, 0), 0 0 0 0.7rem rgba(255, 212, 84, 0); }
}

@keyframes lb-vote-ligne {
    0%, 30% { background-color: rgba(212, 175, 55, 0.16); }
    100% { background-color: transparent; }
}

/* Les pouces d'un live (27 septembre 2026) : ils partent du bas du portrait,
   montent en ondulant et s'effacent. Tout se règle en variables posées par
   classement.js, pouce par pouce : écart, hauteur, rotation, durée,
   instant, taille et teinte. */
.lb-pouces {
    position: absolute;
    right: 12%;
    bottom: 14%;
    z-index: 3;
    width: 0;
    height: 0;
    pointer-events: none;
}

.lb-ligne > .lb-pouces {
    right: 1.4rem;
    bottom: 50%;
}

.lb-pouce {
    position: absolute;
    left: 0;
    top: 0;
    animation: lb-pouce-monte var(--duree) cubic-bezier(0.25, 0.6, 0.35, 1) var(--delai) both;
}

.lb-pouce > span {
    display: grid;
    place-items: center;
    width: var(--taille);
    height: var(--taille);
    margin: calc(var(--taille) / -2) 0 0 calc(var(--taille) / -2);
    border-radius: 50%;
    background: var(--fond);
    color: var(--encre);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 16px -8px rgba(0, 0, 0, 0.85);
    animation: lb-pouce-balance calc(var(--duree) / 3) ease-in-out var(--delai) infinite alternate;
}

.lb-pouce svg {
    width: 56%;
    height: 56%;
    fill: currentColor;
}

@keyframes lb-pouce-monte {
    0% { opacity: 0; transform: translate(0, 0) scale(0.3) rotate(0deg); }
    10% { opacity: 1; transform: translate(0, -0.8rem) scale(1.15) rotate(var(--rot)); }
    75% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.85) rotate(calc(var(--rot) * -1)); }
}

@keyframes lb-pouce-balance {
    from { translate: -0.35rem 0; }
    to { translate: 0.35rem 0; }
}

/* Un chiffre qui vient de changer s'allume un instant. */
.lb-eclat {
    animation: lb-eclat 1.4s ease-out;
}

@keyframes lb-eclat {
    0% { filter: brightness(1.8); transform: scale(1.12); }
    100% { filter: none; transform: none; }
}

/* Le nominé qu'on vient de chercher. */
.lb-ligne.lb-surligne,
.lb-marche.lb-surligne .lb-portrait,
.lb-finaliste.lb-surligne .lb-portrait {
    animation: lb-surligne 2.6s ease-out;
}

@keyframes lb-surligne {
    0%, 55% { box-shadow: 0 0 0 2px #d4af37, 0 0 36px rgba(212, 175, 55, 0.55); background-color: rgba(212, 175, 55, 0.14); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .lb-vote .lb-portrait,
    .lb-ligne.lb-vote .lb-ligne-vignette,
    .lb-vote-leger .lb-portrait,
    .lb-ligne.lb-vote-leger .lb-ligne-vignette,
    .lb-pouces,
    .lb-direct-point,
    .lb-encart::after,
    .lb-carte.est-vue .lb-marche,
    .lb-carte.est-vue .lb-finaliste,
    .lb-eclat {
        animation: none;
    }
}

/* Téléphone ---------------------------------------------------------------------- */

@media (max-width: 639px) {
    .lb-nav { top: 0.45rem; }

    .lb-puce { padding: 0.5rem 0.75rem; font-size: 0.68rem; }

    /* La loupe seule : la place va aux puces. */
    .lb-loupe { width: 2.3rem; padding: 0; justify-content: center; }
    .lb-loupe-texte { display: none; }

    .lb-recherche { width: 100%; }

    .lb-plaque .lb-plaque-logo { --logo-h: 2rem; --logo-max: 7.5rem; }

    .lb-carte { border-radius: 1.25rem; }

    .lb-carte-tete { gap: 0.6rem; }

    .lb-remise { gap: 0.45rem; }
    .lb-remise-mention { font-size: 0.48rem; letter-spacing: 0.1em; }
    .lb-remise-plaque .lb-plaque-logo { --logo-h: 1.5rem; --logo-max: 5.8rem; }

    /* Sur une ligne, sous le nom du prix : en deux, le pointillé prenait la
       hauteur d'une rangée de plus. */
    .lb-parrainer { max-width: none; font-size: 0.5rem; letter-spacing: 0.12em; padding: 0.35rem 0.6rem; }

    .lb-deplier { font-size: 0.6rem; letter-spacing: 0.08em; }
    .lb-voter { font-size: 0.62rem; letter-spacing: 0.1em; }

    .lb-marche-texte { padding-top: 0.6rem; }

    .lb-score { padding: 0.3rem 0.5rem; }

    .lb-ligne { grid-template-columns: 1.6rem 1.9rem 2.2rem minmax(0, 1fr) auto; gap: 0.45rem; padding-inline: 0.2rem; }

    .lb-ligne-vignette { width: 2.2rem; }

    .lb-encart {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "surtitre" "plaque" "texte" "lien";
        justify-items: center;
        text-align: center;
    }

    .lb-encart-plaque .lb-plaque-logo { --logo-h: 3rem; --logo-max: 12rem; }

    .lb-encart-couronne { right: 50%; translate: 50% -50%; height: 88%; opacity: 0.1; }
}

/* Encart de la soirée (21 novembre 2026) ------------------------------------------ */

/* Au milieu des cartes, après les deux premières : la réponse au « Qui
   l'emportera ? » du haut de la page. Même famille que les encarts
   partenaires (cadre doré, coins arrondis), avec la terrasse du Park. Tout
   l'encart est un lien. Voir components/classement/soiree. */
.lb-soiree {
    grid-column: 1 / -1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.4rem 2.5rem;
    min-height: 16rem;
    padding: 2.3rem 2.6rem;
    border-radius: 1.5rem;
    color: #fbf5e6;
    text-decoration: none;
    background: #0b0906;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.6), 0 34px 80px -44px rgba(212, 175, 55, 0.55);
    -webkit-tap-highlight-color: transparent;
}

.lb-soiree-photo {
    position: absolute;
    inset: 0 0 0 30%;
    z-index: -2;
    background: url('/images/awards/soiree/park-terrasse-haut.webp?v=20261121') center 58% / cover no-repeat;
    filter: saturate(1.04) brightness(1.06);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.lb-soiree::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 9, 6, 0.94) 0%, rgba(11, 9, 6, 0.7) 38%, rgba(11, 9, 6, 0.1) 66%, rgba(11, 9, 6, 0.35) 100%),
        linear-gradient(180deg, transparent 50%, rgba(11, 9, 6, 0.55) 100%);
}

.lb-soiree-texte { min-width: 0; }

.lb-soiree-sur {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e6c76a;
}

.lb-soiree-titre {
    display: block;
    margin-top: 0.85rem;
    max-width: 31rem;
    font: 700 clamp(1.55rem, 2.6vw, 2.2rem)/1.12 "Playfair Display", Georgia, serif;
    color: #fffaf0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.lb-soiree-titre em {
    font-style: italic;
    /* L'italique en dégradé déborde de sa boîte : sans cette marge, sa
       dernière lettre sort coupée. */
    padding-right: 0.12em;
    background: linear-gradient(180deg, #fbeec4 0%, #e9cd7a 38%, #d4af37 62%, #a8801f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lb-soiree-detail {
    display: block;
    margin-top: 0.8rem;
    max-width: 31rem;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(251, 245, 230, 0.84);
}

.lb-soiree-bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 1.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #0b0906;
    background: linear-gradient(180deg, #fbeec4 0%, #ecd283 40%, #d4af37 70%, #b58c24 100%);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16), 0 14px 34px -8px rgba(212, 175, 55, 0.75);
    transition: box-shadow 0.35s, filter 0.35s;
}

.lb-soiree-bouton svg { display: block; width: 1rem; height: 1rem; }

.lb-soiree:hover .lb-soiree-photo { transform: scale(1.03); }

.lb-soiree:hover .lb-soiree-bouton,
.lb-soiree:focus-visible .lb-soiree-bouton {
    filter: brightness(1.07);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.24), 0 16px 38px -8px rgba(212, 175, 55, 0.9);
}

.lb-soiree:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }

/* Téléphone : la photo du bassin en haut, le texte dessous. */
@media (max-width: 639px) {
    .lb-soiree {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 10.5rem 1.2rem 1.3rem;
        gap: 1.1rem;
        border-radius: 1.25rem;
    }

    .lb-soiree-photo {
        inset: 0 0 auto 0;
        height: 13rem;
        background-image: url('/images/awards/soiree/park-terrasse-jets.webp?v=20261121');
        background-position: center 60%;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    }

    .lb-soiree::before { background: linear-gradient(180deg, rgba(11, 9, 6, 0) 0%, rgba(11, 9, 6, 0.15) 35%, rgba(11, 9, 6, 0.92) 62%); }

    .lb-soiree-sur { font-size: 0.56rem; letter-spacing: 0.2em; }

    .lb-soiree-titre { margin-top: 0.6rem; font-size: 1.45rem; }

    .lb-soiree-detail { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .lb-soiree-photo { transition: none; }
    .lb-soiree:hover .lb-soiree-photo { transform: none; }
}
