/* ============================================================
   PADEL SAAS — styles des espaces Club & Services / Joueur
   + badges calendrier + thème par club (surcharge variables)
   ============================================================ */

/* ---------- Blocs génériques ---------- */
.padel-flash { margin: 10px 0 18px; }
.padel-flash-ok, .padel-flash-ko {
    padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; font-weight: 600;
}
.padel-flash-ok { background: #e5f6ef; color: #14532d; border: 1px solid #bfe8d6; }
.padel-flash-ko { background: #fdeeee; color: #7f1d1d; border: 1px solid #f5c6c6; }

.padel-player, .padel-admin { max-width: 960px; margin: 0 auto; padding: 18px 16px 40px; }
.padel-player h1, .padel-admin h1 { margin: 0 0 16px; }
.padel-player h2, .padel-admin h2 { margin: 26px 0 10px; font-size: 1.15em; }
.padel-hint { color: #667; font-size: .92em; margin-top: -4px; }
.padel-note { color: #889; font-size: .82em; }
.padel-backlink { display: inline-block; margin-top: 22px; }

/* ---------- Cartes de badges joueur ---------- */
.padel-badges-row { display: flex; gap: 12px; flex-wrap: wrap; }
.padel-badge-card {
    flex: 1 1 150px; background: #fff; border: 2px solid #e4e2d8; border-radius: 16px;
    padding: 16px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.padel-badge-card small { color: #889; }
.padel-badge-card.is-vip { border-color: #d4af37; background: linear-gradient(180deg, #fffdf3, #fdf6dc); }
.padel-badge-card.is-level { border-color: var(--brand-primary); background: linear-gradient(180deg, #f2fbf8, #e2f6f0); }
.padel-badge-card.is-jeton { border-color: #7c5cbf; background: linear-gradient(180deg, #f7f4fd, #efe9fb); }
.padel-badge-card.is-off { opacity: .55; }
.padel-badge-ico { font-size: 1.7em; }

/* ---------- Analyse IA joueur ---------- */
.padel-analyse-box { background: #fff; border: 2px solid #e4e2d8; border-radius: 16px; padding: 18px; }
.padel-price-flag { margin-top: 0; }
.padel-price-flag.is-free { color: #14532d; font-weight: 700; }
.padel-upload-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0 6px; }
.padel-upload-form input[type="file"] { max-width: 100%; }
.padel-btn {
    display: inline-block; border: 0; border-radius: 10px; padding: 11px 20px; font-weight: 700;
    background: linear-gradient(180deg, var(--brand-light), var(--brand-primary)); color: var(--brand-btntext) !important; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.15); text-decoration: none;
}
.padel-btn:hover { filter: brightness(1.05); }
.padel-btn.is-small { padding: 5px 10px; font-size: .85em; box-shadow: none; }
.padel-analyses { display: flex; flex-direction: column; gap: 10px; }
.padel-analysis { background: #fff; border: 1.5px solid #e4e2d8; border-radius: 12px; padding: 12px 14px; }
.padel-analysis.is-done { border-color: var(--brand-primary); }
.padel-analysis.is-failed { border-color: #f0b4b4; background: #fffafa; }
.padel-analysis.is-processing, .padel-analysis.is-queued { border-color: #e9d9a0; background: #fffcf2; }
.padel-analysis p { margin: 6px 0; }
.pa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pa-head small { color: #99a; }
.pa-confidence { color: #57806f; font-size: .88em; }
.pa-error { color: #8a1f1f; }

/* ---------- Abonnements joueur ---------- */
.padel-subs { display: flex; flex-direction: column; gap: 8px; }
.padel-sub { background: #fff; border: 1.5px solid #e4e2d8; border-radius: 12px; padding: 10px 14px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.padel-sub-left { font-weight: 800; color: var(--brand-primary); }

/* ---------- Espace admin ---------- */
.padel-wallet-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.padel-wallet-card {
    flex: 1 1 140px; background: linear-gradient(180deg, #f2fbf8, #fff); border: 2px solid #bfe8d6;
    border-radius: 16px; padding: 14px; text-align: center;
}
.pwc-num { display: block; font-size: 1.7em; font-weight: 800; color: #1f6f5e; }
.pwc-label { color: #668; font-size: .85em; }
.padel-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .padel-admin-grid { grid-template-columns: 1fr; } }
.padel-card { background: #fff; border: 2px solid #e4e2d8; border-radius: 16px; padding: 16px 18px; }
.padel-card h2 { margin-top: 0; }
.padel-form label, .padel-inline-form label { display: block; margin: 8px 0; font-size: .93em; }
.padel-form input, .padel-inline-form input, .padel-form select {
    padding: 8px 10px; border: 1.5px solid #d8d5c8; border-radius: 8px; margin-left: 6px;
}
.padel-form fieldset { border: 1.5px dashed #d8d5c8; border-radius: 10px; margin: 10px 0; }
.padel-form legend { font-size: .88em; color: #668; padding: 0 6px; }
.padel-table { width: 100%; border-collapse: collapse; font-size: .88em; margin-top: 10px; }
.padel-table th, .padel-table td { border-bottom: 1px solid #eee; padding: 6px 8px; text-align: left; }
.padel-table th { color: #778; font-weight: 600; }
.is-plus { color: #177245; font-weight: 700; }
.is-minus { color: #b02a2a; font-weight: 700; }
.padel-sub-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #f1efe6; padding: 8px 0; }
.padel-sub-row form { margin: 0; }

/* ---------- Badges dans le calendrier ---------- */
.cell-vip .calendar-booking, td.cell-vip { box-shadow: inset 0 0 0 2.5px #d4af37; border-radius: 4px; }
.padel-mini-badge {
    display: inline-block; font-size: .78em; font-weight: 800; line-height: 1;
    padding: 2px 5px; border-radius: 8px; margin-right: 4px; vertical-align: middle;
}
.padel-mini-badge.is-vip { background: #f6e7b3; color: #6b4e00; }
.padel-mini-badge.is-level { background: #d2f1e8; color: #0c5b4b; }


/* --- 06/10 (patron) : alignement & respiration de la page joueur --- */
.padel-player { max-width: 640px; margin: 0 auto; padding: 0 2px; }
.padel-player > h1 { text-align: center; }
.padel-player .padel-matchs-link {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin: 16px 0 10px !important;
}
.padel-player > p:last-child { text-align: center; margin: 6px 0 26px; }
.padel-player .padel-flash { margin: 0 0 14px; }
.padel-player .padel-flash-ok, .padel-player .padel-flash-ko {
    background: #eaf6f2; border: 1px solid var(--brand-light, #bfe0d8); border-left: 4px solid var(--brand-primary);
    color: #17614f; border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; font-weight: 600; text-align: center;
}
.padel-player .padel-flash-ko { background: #fdf0ef; border-color: #f0cccc; border-left-color: #d9534f; color: #a33a3a; }

/* ============================================================
   PADEL SAAS 07/10 (patron) : upload par morceaux + progression +
   animation d analyse — la page vit au lieu de rester figee.
   ============================================================ */
.padel-uprog { margin: 14px 0 6px; }
.padel-uprog-bar {
    height: 14px; background: #eef0ea; border-radius: 999px;
    overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
}
.padel-uprog-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--brand-primary, #41b9a2), #63d3ba);
    border-radius: 999px;
    transition: width .35s ease;
    background-size: 200% 100%;
    animation: padel-uprog-shine 1.4s linear infinite;
}
@keyframes padel-uprog-shine {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}
.padel-uprog-txt { font-size: 13px; color: #567; margin-top: 6px; font-weight: 600; text-align: center; }

/* etapes d analyse animees */
.padel-steps {
    display: flex; flex-direction: column; gap: 8px;
    margin: 16px 0 8px; padding: 14px;
    background: #f8faf7; border: 1px solid #e3ece7; border-radius: 14px;
}
.padel-steps[hidden] { display: none !important; }
.padel-uprog[hidden] { display: none !important; }
.padel-step { display: flex; align-items: center; gap: 10px; opacity: .45; transition: opacity .4s; }
.padel-step.is-done { opacity: 1; }
.padel-step.is-active { opacity: 1; }
.padel-step .ps-dot {
    width: 26px; height: 26px; border-radius: 50%;
    background: #dde4de; color: #6a776f; font-weight: 700; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto; transition: all .4s;
}
.padel-step.is-done .ps-dot { background: var(--brand-primary, #41b9a2); color: #fff; }
.padel-step.is-done .ps-dot::after { content: '✓'; }
.padel-step.is-active .ps-dot {
    background: var(--brand-primary, #41b9a2); color: #fff;
    animation: padel-step-pulse 1.2s ease-in-out infinite;
}
.padel-step.is-active .ps-lab::after { content: '…'; }
.padel-step.is-active .ps-lab { font-weight: 700; color: #17614f; }
@keyframes padel-step-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(65,185,162,.45); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(65,185,162,0); }
}
@media (prefers-reduced-motion: reduce) {
    .padel-uprog-fill { animation: none; }
    .padel-step.is-active .ps-dot { animation: none; }
}

/* ============================================================
   PADEL SAAS 07/10 v2 (patron) : page compacte, contraste boutons,
   resultat festif (confettis, partage, coachs), « comment ca marche »
   replie. Le texte reste lisible sur tous les themes.
   ============================================================ */
.padel-player h1 { font-size: 1.35em; margin: 8px 0 10px; text-align: center; }
.padel-player h2 { font-size: 1.1em; margin: 14px 0 8px; }

/* contraste (regle patron 07/10) : TOUJOURS texte blanc sur bouton
   colore — plus jamais de texte fonce sur fond fonce */
.padel-btn {
    color: var(--vd-btntext, #ffffff) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .20) !important;
}
.padel-btn:hover { filter: brightness(1.06); }

/* comment ca marche : replie par defaut */
.padel-howto {
    margin: 10px 0 4px; padding: 8px 12px;
    background: #f7faf8; border: 1px solid #e3ece7; border-radius: 10px;
    font-size: .92em; color: #3c4a44;
}
.padel-howto summary { cursor: pointer; font-weight: 700; color: #17614f; }
.padel-howto p { margin: 6px 0 2px; }

/* resultat festif.
   PADEL 08/10 (patron, photo 1) : les confettis ne tombaient que sur une
   petite bande tout en haut du certificat — on veut qu'ils soient
   ÉPARPILLÉS autour du certificat, sur toute la hauteur. Le nombre de
   confettis est passé à 16 (voir la vue) et chaque pièce tombe de haut en
   bas en dérivant légèrement sur le côté. */
.padel-analysis { position: relative; overflow: hidden; }
.pa-party { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pa-conf {
    position: absolute; top: -14px; width: 7px; height: 11px; border-radius: 2px;
    opacity: .8; animation: pa-fall 3.4s linear infinite;
    background: var(--brand-primary, #41b9a2);
    will-change: transform;
}
@keyframes pa-fall {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(var(--drift, 12px), 620px) rotate(420deg); opacity: 0; }
}
/* positions + rythmes variés : chaque pièce est unique */
.pa-conf:nth-child(1)  { left: 4%;  animation-delay: 0s;    animation-duration: 3.2s; --drift: 22px;  }
.pa-conf:nth-child(2)  { left: 11%; animation-delay: .5s;  animation-duration: 3.8s; --drift: -14px; background: #f4c542; }
.pa-conf:nth-child(3)  { left: 19%; animation-delay: 1.1s; animation-duration: 3.0s; --drift: 18px;  background: #e86a7a; }
.pa-conf:nth-child(4)  { left: 27%; animation-delay: 1.7s; animation-duration: 4.1s; --drift: -20px; background: #63b3e8; }
.pa-conf:nth-child(5)  { left: 34%; animation-delay: .3s;  animation-duration: 3.5s; --drift: 12px;  background: #9b7ede; }
.pa-conf:nth-child(6)  { left: 41%; animation-delay: 2.0s; animation-duration: 3.3s; --drift: -10px; background: #5cc9b3; }
.pa-conf:nth-child(7)  { left: 48%; animation-delay: .8s;  animation-duration: 4.0s; --drift: 24px;  background: #f08a3c; }
.pa-conf:nth-child(8)  { left: 55%; animation-delay: 1.4s; animation-duration: 3.1s; --drift: -16px; }
.pa-conf:nth-child(9)  { left: 62%; animation-delay: 2.4s; animation-duration: 3.7s; --drift: 14px;  background: #f4c542; }
.pa-conf:nth-child(10) { left: 69%; animation-delay: .2s;  animation-duration: 3.4s; --drift: -22px; background: #e86a7a; }
.pa-conf:nth-child(11) { left: 76%; animation-delay: 1.0s; animation-duration: 3.9s; --drift: 18px;  background: #63b3e8; }
.pa-conf:nth-child(12) { left: 83%; animation-delay: 2.7s; animation-duration: 3.2s; --drift: -12px; background: #9b7ede; }
.pa-conf:nth-child(13) { left: 90%; animation-delay: .6s;  animation-duration: 4.2s; --drift: 20px;  background: #5cc9b3; }
.pa-conf:nth-child(14) { left: 96%; animation-delay: 1.9s; animation-duration: 3.6s; --drift: -18px; background: #f08a3c; }
.pa-conf:nth-child(15) { left: 23%; animation-delay: 3.1s; animation-duration: 4.3s; --drift: 16px;  background: #f4c542; width: 6px; height: 9px; }
.pa-conf:nth-child(16) { left: 66%; animation-delay: 2.9s; animation-duration: 3.0s; --drift: -24px; background: #e86a7a;  width: 6px; height: 9px; }
.pa-cheer { font-size: 1.08em; color: #17614f; }
/* Boutons de partage du certificat : centrés sous le certificat et texte
   bien centré DANS le bouton (patron, photo 1). */
.pa-share { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0 2px; }
.pa-share .padel-btn {
    display: inline-flex !important; align-items: center; justify-content: center;
    text-align: center !important; line-height: 1.25; padding: 8px 14px;
}
.pa-coaches { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #cfd8d2; font-size: .92em; }
.pa-coach-link {
    display: inline-block; margin: 4px 6px 0 0; padding: 5px 10px;
    background: #eef6f2; border: 1px solid #cfe3d9; border-radius: 999px;
    color: #17614f !important; font-weight: 600; text-decoration: none !important;
}
.pa-live { color: #7a6a2f; }
@media (prefers-reduced-motion: reduce) {
    .pa-conf { animation: none; display: none; }
}

/* bandeau prix + promo sur le calendrier */
.padel-shop-line {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center;
    padding: 10px 12px 4px; font-size: .95em;
}
.padel-shop-price { color: #234; }
.padel-shop-promo {
    background: linear-gradient(180deg, #fff3d6, #ffe9b3);
    border: 1px solid #eccf8e; color: #6b4d0e;
    padding: 4px 12px; border-radius: 999px; font-weight: 700;
}


/* ============================================================
   PADEL SAAS 07/10 v3 (patron) : l'analyse IA = element MAITRE.
   Hero en tete de page avec liseré lumineux, onglets fichier/lien,
   badges compactes en dessous, resultat en CERTIFICAT partageable.
   ============================================================ */

/* ---- hero analyse : visible des l'ouverture, mis en avant ---- */
.padel-analyse-box.is-hero {
    position: relative;
    margin: 4px 0 16px;
    padding: 16px 14px 14px;
    border: 2px solid var(--brand-primary);
    border-radius: 16px;
    background: var(--vd-card, #fff);
    box-shadow: 0 6px 24px rgba(47, 134, 200, .18), 0 0 0 4px rgba(47, 134, 200, .08);
}
.pa-hero-flag {
    position: absolute;
    top: -12px; left: 14px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent, var(--brand-primary)));
    color: var(--vd-btntext, #fff);
    font-size: .72em;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.pa-hero-title { margin: 4px 0 4px; font-size: 1.3em; text-align: center; }
.pa-hero-sub { margin: 0 0 10px; text-align: center; color: #5c6a75; font-size: .92em; }

/* ---- onglets fichier / lien ---- */
.pa-tabs { display: flex; gap: 8px; margin: 0 0 12px; }
.pa-tab {
    flex: 1;
    padding: 10px 8px;
    border: 1.5px solid var(--vd-line, #e3e3da);
    border-radius: 10px;
    background: #fafaf6;
    color: #5c6a75;
    font-weight: 700;
    font-size: .95em;
    cursor: pointer;
}
.pa-tab.is-active {
    background: linear-gradient(180deg, var(--brand-light, #4da0dc), var(--brand-primary));
    border-color: var(--brand-primary);
    color: var(--vd-btntext, #fff);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}
.pa-link-form input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1.5px solid var(--vd-line, #dcdcd2);
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 8px;
    background: #fff;
}
.pa-link-hint { display: block; margin-top: 6px; color: #8a968f; font-size: .8em; }

/* ---- badges compactes, sur une ligne, sous le hero ---- */
.padel-badges-row { display: flex; gap: 8px; margin: 0 0 14px; }
.padel-badge-card { flex: 1 1 0; min-width: 0; padding: 8px 4px; text-align: center; }
.padel-badge-card strong { font-size: .88em; display: block; }
.padel-badge-card small { font-size: .68em; display: block; margin-top: 2px; }
.padel-badge-ico { font-size: 1.2em; }

/* ---- bouton « Choisir ma vidéo » : joli et en francais ---- */
#padel-file-input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
#padel-file-input + label.padel-file-label {
    display: block;
    margin: 0 0 8px;
    padding: 12px;
    border: 2px dashed var(--brand-primary);
    border-radius: 12px;
    background: #f4fafe;
    color: var(--brand-primary);
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}
#padel-file-input:focus-visible + label.padel-file-label { outline: 2px solid var(--brand-primary); }

/* ---- certificat de niveau ---- */
.pa-section-title { margin: 18px 0 8px; }
.pa-cert {
    position: relative;
    margin: 6px auto 12px;
    padding: 20px 14px 16px;
    max-width: 420px;
    text-align: center;
    border: 3px double #b98a2f;
    border-radius: 16px;
    background:
      radial-gradient(circle at 50% 0%, rgba(185, 138, 47, .08), transparent 60%),
      linear-gradient(180deg, #fffdf6 0%, #fdf6e4 100%);
    box-shadow: 0 8px 22px rgba(120, 90, 20, .14);
}
.pa-cert::before, .pa-cert::after {
    content: "❦";
    position: absolute;
    top: 10px;
    color: #c9a95c;
    font-size: 14px;
}
.pa-cert::before { left: 12px; }
.pa-cert::after { right: 12px; }
.pa-cert-club {
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a6d1a;
}
.pa-cert-title {
    font-size: .68em;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #a09880;
    margin: 3px 0 8px;
}
.pa-cert-seal {
    width: 52px; height: 52px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: radial-gradient(circle at 32% 28%, #ffe9a8, #d9a92f 70%);
    box-shadow: 0 3px 10px rgba(160, 120, 30, .35), inset 0 0 0 3px rgba(255, 255, 255, .5);
}
.pa-cert-level {
    font-size: 2.5em;
    font-weight: 800;
    line-height: 1;
    color: #2c2413;
}
.pa-cert-level small { font-size: .42em; font-weight: 700; color: #8a6d1a; }
.pa-cert-name { margin-top: 8px; font-size: 1.02em; color: #4a4232; }
.pa-cert-meta { margin-top: 4px; font-size: .82em; color: #8a8370; }
.pa-cert-detail {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #d8c89a;
    text-align: left;
    font-size: .92em;
    color: #55503f;
}
.pa-cert-detail p { margin: 6px 0; }

@media screen and (max-width: 640px) {
    .pa-cert { padding: 16px 10px 14px; }
    .pa-cert-level { font-size: 2.2em; }
}


/* FIX 07/10 patron : nom de fichier long ne depasse plus de la case */
#padel-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.pa-refund { margin: 6px 0 0; font-size: .82em; color: #3d7a4f; }


/* ============================================================
   PADEL 07/10 (patron) : verification publique des certificats
   ============================================================ */
.padel-verify { max-width: 460px; margin: 30px auto; text-align: center; }
.pv-card {
    padding: 26px 18px 20px;
    border: 3px double #b98a2f;
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 0%, rgba(185, 138, 47, .09), transparent 60%),
      linear-gradient(180deg, #fffdf6 0%, #fdf6e4 100%);
    box-shadow: 0 10px 26px rgba(120, 90, 20, .16);
}
.pv-notfound h1 { margin: 8px 0 6px; font-size: 1.25em; }
.pv-notfound .pv-ico { font-size: 2em; }
.pv-club { font-size: .8em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a6d1a; }
.pv-title { font-size: .7em; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #a09880; margin: 4px 0 8px; }
.pv-stamp {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 14px;
    border: 2px solid #2e7d46;
    border-radius: 8px;
    color: #2e7d46;
    font-weight: 800;
    letter-spacing: .12em;
    transform: rotate(-3deg);
    background: rgba(46, 125, 70, .06);
}
.pv-seal {
    width: 56px; height: 56px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    background: radial-gradient(circle at 32% 28%, #ffe9a8, #d9a92f 70%);
    box-shadow: 0 3px 10px rgba(160, 120, 30, .35), inset 0 0 0 3px rgba(255, 255, 255, .5);
}
.pv-level { font-size: 2.6em; font-weight: 800; line-height: 1; color: #2c2413; }
.pv-level small { font-size: .42em; font-weight: 700; color: #8a6d1a; }
.pv-name { margin-top: 8px; font-size: 1.05em; color: #4a4232; }
.pv-meta { margin-top: 6px; font-size: .88em; color: #8a8370; }
.pv-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #d8c89a; font-size: .92em; color: #55503f; }
.pv-small { font-size: .85em; color: #9a9280; }
.pv-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--brand-light, #4da0dc), var(--brand-primary));
    color: var(--vd-btntext, #fff) !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.pa-cert-verify { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #d8c89a; font-size: .8em; color: #6b6250; }
.pa-cert-verify a { color: var(--brand-primary); word-break: break-all; }


/* ============================================================
   PADEL 07/10 (patron) — DESIGN « CONCURRENT » (4everpadel)
   1. barre de raccourcis sombre en haut (accueil/réserver/coachs/contact/avatar)
   2. la bannière ne porte que le logo, qui chevauche son bord bas
   3. le nom du club + le service sont posés SOUS la bannière
   4. espacements aérés entre les blocs (respiration, cartes arrondies)
   Ce bloc est dans padel.css : chargé APRÈS default.css ET après les
   thèmes → il a le dernier mot (règle « last wins »).
   ============================================================ */

/* ---------- 1. Barre de raccourcis (haut) ---------- */
/* la barre colle au bord haut de l'écran : on annule le rembourrage
   du haut du body, et la barre déborde horizontalement à ras bord */
body { padding-top: 0 !important; }
#vamos-topnav {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    margin: 0 -16px 0 -16px;
    padding: 0 10px;
    padding-top: env(safe-area-inset-top, 0px);
    background: #2b2b2b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
#vamos-topnav .vtn-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 4px 10px;
    color: #d6d6d6 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
    border: none !important;
    background: transparent;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
#vamos-topnav .vtn-item svg { width: 24px; height: 24px; display: block; }
#vamos-topnav .vtn-item span { line-height: 1; }
#vamos-topnav .vtn-item.is-active {
    color: var(--brand-primary) !important;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 -3px 0 var(--brand-primary);
}
#vamos-topnav .vtn-avatar-wrap { flex: 0 0 auto; display: flex; align-items: center; padding: 0 2px; }
#vamos-topnav .vtn-avatar-btn { flex: 0 0 auto; padding: 6px 6px; }
#vamos-topnav .vtn-avatar {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #4a4a4a;
    color: #efefef;
    font-weight: 800; font-size: 16px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
/* PADEL 07/10 (patron) : l'avatar porte la TEXTURE poils de balle (teinte
   turquoise du club, meme matiere que la vignette de l'application), lettre
   blanche, liseré blanc comme le logo rond de la banniere = meme famille
   visuelle que la page d'accueil. */
#vamos-topnav .vtn-avatar.is-user {
    background: var(--brand-primary) url("../imgs-client/texture-ball.jpg?v=20261007b") center / 56px 56px no-repeat;
    color: #ffffff;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, .92);
    box-shadow: 0 2px 7px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
#vamos-topnav .vtn-avatar-btn:hover .vtn-avatar.is-user {
    box-shadow: 0 3px 9px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .06);
}
#vamos-topnav .vtn-avatar.is-guest svg { width: 22px; height: 22px; }

/* ---------- 2. La bannière ne porte que le logo ---------- */
#header {
    position: relative !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
    padding-bottom: 34px !important;
}
#header #label {
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: left !important;
}
/* le logo chevauche le bord bas de la bannière (moitié dedans / moitié dehors) */
#logo {
    position: absolute !important;
    left: 18px !important;
    top: auto !important;
    bottom: -48px !important;
    right: auto !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 30 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .24) !important;
}
#header #branding { display: none !important; }

/* ---------- 3. Titre du club SOUS la bannière ---------- */
#hero-title {
    position: relative;
    z-index: 5;
    padding: 60px 18px 0 18px;
    margin: 0 0 18px 0;
}
#hero-title { text-align: left !important; }
#hero-title #label-client, #hero-title #label-service {
    text-align: left !important;
    text-indent: 0 !important;
}
#hero-title #label-client {
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: var(--vd-ink) !important;
    text-shadow: none !important;
    margin: 0 !important;
}
#hero-title #label-service {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: var(--vd-ink-2) !important;
    text-shadow: none !important;
    margin-top: 4px !important;
}
/* halo crème de l'ancien en-tête : plus nécessaire, le titre est sur fond clair */
#hero-title #label-client, #hero-title #label-service { text-shadow: none !important; }

/* ---------- 4. Respiration entre les blocs ---------- */
#content { margin-top: 6px !important; }
#calendar-toolbar { margin-top: 0 !important; }
#calendar-toolbar-datepicker,
#calendar-toolbar-userpanel { margin-bottom: 14px !important; }
.vamos-meteo { margin-bottom: 16px !important; }
#vamos-past-toggle { margin: 4px 0 16px 0 !important; }
#calendar { margin-top: 4px !important; }
.content-panel { border-radius: 16px !important; }
#calendar-toolbar-datepicker.panel,
#calendar-toolbar-userpanel.panel { border-radius: 16px !important; }

/* ---------- 4bis. Grand écran : la barre reste compacte et centrée ---------- */
@media screen and (min-width: 641px) {
    #vamos-topnav { justify-content: center; gap: 6px; padding: 0 14px; }
    #vamos-topnav a.vtn-item { flex: 0 0 auto; min-width: 132px; }
    #vamos-topnav .vtn-avatar-wrap { margin-left: 10px; }
    /* le bouton avatar reste un CERCLE : il ne prend pas la largeur des onglets */
    #vamos-topnav .vtn-avatar-btn { min-width: 0 !important; flex: 0 0 auto !important; padding: 6px 8px !important; }
}

/* ---------- 5. Mobile : ajustements fins ---------- */
@media screen and (max-width: 640px) {
    #vamos-topnav { margin: 0 -16px 0 -16px; padding: 0 4px; padding-top: env(safe-area-inset-top, 0px); }
    #vamos-topnav .vtn-item { padding: 10px 2px 9px; font-size: 10.5px; }
    #vamos-topnav .vtn-item svg { width: 22px; height: 22px; }
    #vamos-topnav .vtn-avatar { width: 34px; height: 34px; font-size: 15px; }
    #header { padding-bottom: 30px !important; }
    #logo { left: 16px !important; bottom: -42px !important; width: 84px !important; height: 84px !important; }
    #hero-title { padding: 52px 16px 0 16px; margin-bottom: 16px; }
    #hero-title #label-client { font-size: 21px !important; }
    #hero-title #label-service { font-size: 14px !important; }
}
@media screen and (max-width: 380px) {
    #logo { width: 74px !important; height: 74px !important; bottom: -37px !important; left: 12px !important; }
    #hero-title { padding-top: 46px; }
    #hero-title #label-client { font-size: 19px !important; }
    #vamos-topnav .vtn-item span { font-size: 9.5px; }
}


/* le menu du compte, ancre sur l'avatar de la barre du haut */
.vamos-usermenu.vamos-usermenu-top {
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    z-index: 120;
    max-width: calc(100vw - 24px);
}
#vamos-topnav .vtn-avatar-wrap { position: relative; }
#calendar-toolbar-userpanel.has-chip { display: none !important; }


/* ============================================================
   PADEL 07/10 (patron) — Bouton « Réserver » SOBRE et FIN
   (l'ancien : fond bleu clair + relief 3D en bas = « vulgaire »)
   Nouveau : contour fin de la couleur du club, fond blanc, texte
   net, coins doux. Passe en plein quand on survole.
   ============================================================ */
#calendar a.calendar-cell.cc-free,
#calendar .calendar-cell.cc-free {
    background: #ffffff !important;
    background-image: none !important;
    border: 1.5px solid var(--brand-primary) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    animation: none !important;
    padding: 0 6px !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
#calendar a.calendar-cell.cc-free .cc-label,
#calendar a.cc-free .cc-label {
    color: var(--brand-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-size: 11.5px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    /* bien CENTRE : le texte ne touche plus les bords et n'est jamais coupe */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}
@media (hover: hover) {
    #calendar a.calendar-cell.cc-free:hover {
        background: var(--brand-primary) !important;
        border-color: var(--brand-primary) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .14) !important;
        transform: none !important;
    }
    #calendar a.calendar-cell.cc-free:hover .cc-label {
        color: var(--vd-btntext, #fff) !important;
    }
}
#calendar a.calendar-cell.cc-free:active {
    transform: scale(.98) !important;
    filter: none !important;
}
/* mobile : un cran plus petit pour tenir dans les colonnes etroites */
@media screen and (max-width: 640px) {
    #calendar a.calendar-cell.cc-free .cc-label,
    #calendar a.cc-free .cc-label {
        font-size: 10.5px !important;
        padding: 0 1px !important;
        letter-spacing: -.1px !important;
    }
}


/* ============================================================
   PADEL 07/10 v2 (patron)
   ============================================================ */

/* 1. Le bouton de l'avatar devient un VRAI CERCLE : padding égal des 4
      cotés (avant : plus haut que large -> pastille ovale iOS au toucher),
      plus d'étiquette grise d'iPhone quand on tape dessus. */
#vamos-topnav .vtn-avatar-btn {
    padding: 4px !important;
    border-radius: 50% !important;
    -webkit-tap-highlight-color: transparent;
}

/* 2. Cases Tournoi / occupées / votre réservation (08/10, patron) :
      « le gris est mieux que le jaune » — même pilule sobre que « Réserver »
      et que « Passé » (fond gris clair, UNE seule ligne, nom coupé par des
      points de suspension, pas de gros bloc coloré). Le détail complet
      s'ouvre au clic (page de l'événement / fiche du joueur). */
a.cc-event:link, a.cc-event:visited,
a.cc-single:link, a.cc-single:visited,
a.cc-multiple:link, a.cc-multiple:visited,
#calendar a.calendar-cell.cc-event,
#calendar a.calendar-cell.cc-single,
#calendar a.calendar-cell.cc-multiple,
#calendar a.calendar-cell.cc-own {
    background: #ececdf !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
    color: #55554a !important;
}
a.cc-event .cc-label, a.cc-single .cc-label, a.cc-multiple .cc-label,
#calendar a.calendar-cell.cc-event .cc-label,
#calendar a.calendar-cell.cc-single .cc-label,
#calendar a.calendar-cell.cc-multiple .cc-label,
#calendar a.calendar-cell.cc-own .cc-label {
    color: #55554a !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    /* UNE ligne : ce qui dépasse devient « ... » */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
    line-height: 1.15 !important;
}
/* votre propre réservation : même gris, texte de la couleur du club */
#calendar a.calendar-cell.cc-own { color: var(--brand-primary) !important; }
#calendar a.calendar-cell.cc-own .cc-label { color: var(--brand-primary) !important; font-weight: 700 !important; }
/* le nom / le nom d'événement : coupé, jamais plus long que le cadre */
a.calendar-cell .padel-occ-name,
a.calendar-cell .padel-evt-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
}
/* les mini-badges : de simples petites icônes, plus de pastilles colorées */
.padel-mini-badge {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 1px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #55554a !important;
    flex: 0 0 auto !important;
}
.padel-mini-badge .padel-verify { width: 11px; height: 11px; display: block; flex: 0 0 auto; }
.padel-mini-badge.is-vip { font-size: 10px !important; }
.padel-evt-ic { font-size: 9.5px; line-height: 1; flex: 0 0 auto; }
/* mêmes assises verticales que « Réserver » : hauteur 26px sur mobile.
   Cases étroites (56px) : la couronne VIP passe dans la fiche, on la cache
   ici pour laisser la place au NOM du joueur. */
@media screen and (max-width: 640px) {
    #calendar a.calendar-cell.cc-single,
    #calendar a.calendar-cell.cc-multiple,
    #calendar a.calendar-cell.cc-event,
    #calendar a.calendar-cell.cc-own {
        height: 26px !important;
        padding: 0 2px !important;
    }
    #calendar a.calendar-cell .cc-label { gap: 2px !important; padding: 0 1px !important; }
    #calendar a.calendar-cell.cc-single .padel-mini-badge.is-vip,
    #calendar a.calendar-cell.cc-multiple .padel-mini-badge.is-vip { display: none !important; }
}
@media (hover: hover) {
    a.cc-event:hover, a.cc-single:hover, a.cc-multiple:hover,
    #calendar a.calendar-cell.cc-own:hover {
        background: #e2e2d0 !important;
        transform: none !important;
        box-shadow: none !important;
    }
}


/* ============================================================
   PADEL 08/10 (patron) — Harmonie & corrections de coquille
   ============================================================ */

/* 1. Le menu du compte doit passer AU-DESSUS de tout : l'ancienne peau
      laisse un calque de bannière (z-index 1024) qui bloquait les CLICS
      sur les premières entrées du menu. La barre du haut gagne le duel. */
#vamos-topnav { z-index: 1100 !important; }
#vamos-topnav .vamos-usermenu-top { z-index: 60; }

/* 2. Bannière PLEINE LARGEUR sur mobile : bord à bord comme la barre du
      haut (fini les bandes de fond visibles sur les côtés). */
@media screen and (max-width: 640px) {
    #header {
        margin-left: -16px !important;
        margin-right: -16px !important;
        border-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

/* ============================================================
   9. Modales (squarebox) — 08/10 (patron) : diagnostic sur les
      captures mobiles.
      - la modale était DÉCALÉE à droite (collée au bord, marges
        inégales) : le positionnement JS est ignoré, le CSS centre
        toujours (left 50% + translation) ;
      - l'icône « + » du bouton de réservation était un rond noir
        posé sur le bouton vert (noir sur foncé, contraste nul) :
        cercle translucide blanc à la place ;
      - le X de fermeture chevauchait les longs titres (modale
        tournoi) : réserve d'espace latérale pour le titre ;
      - la modale ADMIN de réservation (tableau 4 colonnes) n'a
        PAS backend.css dans sa réponse ajax : elle débordait de
        l'écran sur mobile. Les mêmes règles d'empilement sont
        reprises ici, limitées aux modales (body > .panel form).
   ============================================================ */
body > div.panel {
    left: 50vw !important;
    transform: translateX(-50%) !important;
    max-width: calc(100vw - 16px) !important;
    min-width: min(320px, calc(100vw - 16px));
    box-sizing: border-box;
}
body > div.panel .large-text {
    padding-left: 44px;
    padding-right: 44px;
}
/* + : le rond noir « prop » de css-client/default.css (span.symbolic-plus::before,
   pensé pour l'ancien bouton jaune) est illisible sur les boutons pleine
   couleur — noir sur foncé (patron, 08/10). Dans un bouton de réservation,
   il devient un cercle translucide blanc, comme une pastille « verre ». */
a.default-button span.symbolic-plus::before {
    background: rgba(255, 255, 255, .28);
    color: inherit;
}

@media screen and (max-width: 700px) {
    body > div.panel form table.default-table,
    body > div.panel form table.default-table > tbody,
    body > div.panel form table.default-table > tbody > tr,
    body > div.panel form table.default-table > tbody > tr > td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
    }
    body > div.panel form table.default-table tbody tr { margin: 0 0 16px; }
    body > div.panel form table.default-table tbody tr:last-child { margin: 0; }
    body > div.panel form table.default-table tbody tr:last-child > td {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 12px;
    }
    body > div.panel form .sandbox {
        padding: 12px !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    body > div.panel form input[type="text"],
    body > div.panel form input[type="number"],
    body > div.panel form input[type="email"],
    body > div.panel form input[type="tel"],
    body > div.panel form select,
    body > div.panel form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
    }
    body > div.panel form input[type="submit"].default-button,
    body > div.panel form button.default-button,
    body > div.panel form a.default-button {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

/* ============================================================
   PADEL 08/10 v2 (patron) — cases occupées épurées en mobile.
   Dans une case de 56px, « Tournoi interne (démo) » devenait
   « Tour... » et « Votre réservation » « Votre ré... » : illisibles.
   Icône seule en mobile (le nom complet reste au tap, dans la
   fiche, et à l'écran large).
   ============================================================ */
@media screen and (max-width: 640px) {
    /* tournoi : 🏆 seul, VRAIMENT centré — le label ne faisait que 10px
       de haut et collait en haut de la case de 26px (patron : « mal fait ») */
    #calendar a.calendar-cell.cc-event .cc-label,
    #calendar a.calendar-cell.cc-own .cc-label {
        height: 100% !important;
    }
    #calendar a.calendar-cell.cc-event .padel-evt-name { display: none !important; }
    #calendar a.calendar-cell.cc-event .padel-evt-ic {
        font-size: 15px !important;
        line-height: 1 !important;
    }
    /* ta réservation : texte masqué, ✋ à la place, même taille */
    #calendar a.calendar-cell.cc-own .padel-own-name { display: none !important; }
    #calendar a.calendar-cell.cc-own .cc-label::before {
        content: "✋";
        font-size: 14px;
        line-height: 1;
    }
}

/* ============================================================
   Page PUBLIQUE d'une annonce (08/10, patron) — partageable
   dans les groupes WhatsApp, lisible sans compte. Même coquille
   que la page de vérification (padel-verify), teinte annonce.
   ============================================================ */
.pa-annonce .an-type {
    display: inline-block; font-size: 12px; font-weight: 700;
    color: #7a6210; background: #fff8e8; border: 1px solid #e6cb82;
    border-radius: 999px; padding: 5px 12px; margin: 6px 0 4px;
}
.pa-annonce .an-title { font-size: 21px; line-height: 1.25; margin: 4px 0 8px; color: #22302a; font-family: 'Poppins', sans-serif; }

/* Photos d'une annonce sur la page publique (WebP léger, 08/10 patron) */
.pa-annonce .an-photos { display: flex; gap: 8px; margin: 6px 0 10px; justify-content: center; }
.pa-annonce .an-photos-main {
    width: 62%; max-width: 320px; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 14px; border: 1.5px solid #e2ece7;
}
.pa-annonce .an-photos-thumbs { display: flex; flex-direction: column; gap: 8px; }
.pa-annonce .an-photos-thumbs img {
    width: 74px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1.5px solid #e2ece7;
}
.pa-annonce .an-body { font-size: 14.5px; color: #44534b; line-height: 1.5; margin: 0 0 10px; }
.pa-annonce .an-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 13px; color: #55645c; margin: 0 0 12px; }
.pa-annonce .an-meta small { opacity: .7; }
.pa-annonce .an-owner {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    font-size: 13.5px; color: #3c4a43; margin: 0 0 14px;
}
.pa-annonce .an-owner-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--brand-primary, #41b9a2); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.pa-annonce .an-owner-name { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pa-annonce .an-owner-v { font-size: 12.5px; color: #d9b01f; font-weight: 700; }
.pa-annonce .an-owner-l { font-size: 12px; color: #7a8a81; }
.pa-annonce .an-owner-ago { font-size: 12px; color: #9aa8a0; }
.pa-annonce .an-actions { display: flex; flex-direction: column; gap: 8px; margin: 0 0 10px; }
.pa-annonce .an-btn {
    display: block; text-align: center; text-decoration: none;
    border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 14.5px;
}
.pa-annonce .an-btn.is-wa { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .35); }
.pa-annonce .an-btn.is-app { background: var(--brand-primary, #41b9a2); color: #fff; }

/* ============================================================
   PADEL 08/10 (patron, photo 1) : bouton « créneaux terminés »
   rangé en petite pastille discrète à droite + historique MASQUÉ
   par défaut (fantômes 12 %, presque invisibles) — un clic fait
   tout réapparaître (60 % de fondu, lisible).
   ============================================================ */
#vamos-past-toggle.is-subtle {
    display: block !important;
    margin: 2px 0 10px auto !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: color-mix(in srgb, var(--brand-primary, #41b9a2) 78%, #555) !important;
    background: #fbfdfc !important;
    border: 1px solid #e6eeeb !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    opacity: .85;
    white-space: nowrap;
}
@media (hover: hover) {
    #vamos-past-toggle.is-subtle:hover { opacity: 1; background: #f2faf7 !important; border-color: color-mix(in srgb, var(--brand-primary, #41b9a2) 40%, #fff) !important; }
}
/* masqué = fantômes à peine là (12 %) : l'historique ne « parle » plus */
#calendar.hide-past .cc-over { opacity: .12 !important; visibility: visible !important; }

/* ============================================================
   PADEL 08/10 (patron, photo 2) : formulaire « quel joueur ?
   (analyse YouTube à plusieurs joueurs) — champ de précision
   + bouton relancer, dans la carte d'analyse.
   ============================================================ */
.pa-hint-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.pa-hint-form input[type="text"] {
    flex: 1 1 200px; min-width: 0;
    background: #fff !important; border: 1.4px solid color-mix(in srgb, var(--brand-primary, #41b9a2) 45%, #fff) !important;
    border-radius: 10px !important; padding: 10px 12px !important; font-size: 13.5px !important;
}
.pa-hint-form input[type="text"]:focus { border-color: var(--brand-primary, #41b9a2) !important; }
.pa-hint-form .padel-btn { flex: 0 0 auto; }
#pa-link-hint { width: 100%; margin-top: 8px; }

/* ============================================================
   PADEL 08/10 (patron, photo 2) — l'en-tête du jour « Jeudi 8 octobre »
   n'était ni centré ni joli sur le smartphone : la mini-météo décalait tout
   à gauche et le bloc restait collé en haut, étroit.
   → SUR MOBILE SEULEMENT (aucun effet sur l'ordinateur) : le bloc est
   centré, le jour est plus grand, la mini-météo est posée à gauche sans
   déranger, et une petite balle de padel va et vient doucement de chaque
   côté du titre. Pur CSS : rien à charger en plus, pas de ralentissement.
   ============================================================ */
@media screen and (max-width: 640px) {
    #calendar tr.calendar-date-row td {
        position: relative !important;
        text-align: center !important;
        padding: 12px 46px 10px !important;
        height: auto !important;
    }
    #calendar tr.calendar-date-row .day-label {
        font-size: 19px !important;
        font-weight: 800 !important;
        letter-spacing: .2px;
        text-align: center !important;
    }
    #calendar tr.calendar-date-row .date-label {
        font-size: 12.5px !important;
        text-align: center !important;
        margin-top: 1px;
    }
    /* PADEL 08/10 : la mini-météo reprend sa place à GAUCHE (elle porte l'info
       des autres jours) et devient elle-même animée ; elle remplace la balle
       de gauche sur la ligne qui la porte (:has → plus de chevauchement). */
    .calendar-date-row .vamos-wx-mini {
        position: absolute !important; left: 8px; top: 50%;
        margin: 0 !important; display: inline-flex; align-items: center;
        animation: vamos-wx-bob 3.4s ease-in-out infinite alternate;
    }
    .calendar-date-row .vamos-wx-mini svg { width: 34px !important; height: 34px !important; }
    @keyframes vamos-wx-bob {
        from { transform: translateY(-50%) rotate(-7deg); }
        to   { transform: translateY(-50%) rotate(7deg); }
    }
    /* la balle de gauche s'efface quand la météo occupe le côté gauche */
    #calendar tr.calendar-date-row td:has(.vamos-wx-mini)::after { content: none; }
    /* deux balles de padel qui vont et viennent, une de chaque côté */
    #calendar tr.calendar-date-row td::before,
    #calendar tr.calendar-date-row td::after {
        content: "\1F3BE";           /* 🎾 */
        position: absolute; top: 50%; font-size: 17px; line-height: 1;
        transform: translateY(-50%);
        animation: vamos-ball 2.6s ease-in-out infinite alternate;
        pointer-events: none; opacity: .9;
    }
    #calendar tr.calendar-date-row td::before { right: 10px; }
    #calendar tr.calendar-date-row td::after  { left: 10px; animation-delay: -1.3s; }
    @keyframes vamos-ball {
        from { transform: translateY(-50%) translateX(0)     rotate(-12deg); }
        to   { transform: translateY(-50%) translateX(-26px) rotate(14deg);  }
    }
    /* le 1er <td> (colonne horaire, vide) ne porte pas de balle */
    #calendar tr.calendar-date-row td.vamos-time::before,
    #calendar tr.calendar-date-row td.vamos-time::after { content: none; }
}
@media screen and (max-width: 640px) and (prefers-reduced-motion: reduce) {
    #calendar tr.calendar-date-row td::before,
    #calendar tr.calendar-date-row td::after { animation: none; }
}
