/* ==========================================================================
   Black Sphère Awards — page de vote (noir & or, complète styles.css + Tailwind)
   ========================================================================== */
:root { --ease: cubic-bezier(.4, 0, .2, 1); --line: rgba(212, 175, 55, .22); }

/* (pas « .container » : Tailwind le redéfinit et écraserait ces largeurs) */
.vwrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.vwrap-narrow { width: min(780px, 100% - 2rem); }
.center { text-align: center; }
.big { font-size: 1.1rem; color: #a3a3a3; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 5px; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: all .3s ease; }
.btn-primary { color: #0a0a0a; background: linear-gradient(135deg, #f5e3a1, #d4af37 50%, #a8841a); box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .7); }
.btn-primary:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost, .btn-dark { color: #f5e3a1; background: rgba(0, 0, 0, .3); border-color: rgba(212, 175, 55, .5); }
.btn-ghost:hover, .btn-dark:hover { background: #d4af37; color: #0a0a0a; }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.6rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- En-tête et chiffres clés ---------- */
.vote-hero { position: relative; padding: 8.5rem 0 1.5rem; background: radial-gradient(60% 120% at 85% 0, rgba(212, 175, 55, .22), transparent 70%), #050505; }
.vote-hero-sm { padding-bottom: 2.5rem; }
.vote-hero h1 { margin-top: 1rem; font-size: 2.2rem; font-weight: 700; color: #fff; }
.breadcrumb { display: flex; gap: .6rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #a3a3a3; }
.breadcrumb a:hover { color: #f5e3a1; }
.breadcrumb [aria-current] { color: #d4af37; }

.stats-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--line); border: 1px solid var(--line); }
.vote-stats { background: #050505; padding-bottom: 2rem; }
.vote-stats .stat { padding: 1.5rem 1rem; }
.vote-stats .stat span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #a3a3a3; }
.vote-stats .stat strong { display: block; margin-top: .4rem; font-size: 2rem; font-weight: 700; color: #f5e3a1; line-height: 1.1; }
.vote-stats .stat small { font-size: .9rem; color: #a3a3a3; }
.countdown { display: flex; justify-content: center; gap: .6rem; margin-top: .6rem; }
.countdown b { display: grid; justify-items: center; min-width: 58px; padding: .5rem .4rem; background: rgba(10, 10, 10, .55); border: 1px solid var(--line); border-radius: .75rem; font-weight: 400; }
.countdown i { font-style: normal; font-size: 1.5rem; font-weight: 700; color: #f5e3a1; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown em { font-style: normal; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #a3a3a3; }

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
  .vote-hero { padding-top: 7rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-timer { grid-column: 1 / -1; }
  .vote-stats .stat strong { font-size: 1.6rem; }
  .countdown { gap: .4rem; }
  .countdown b { min-width: 0; flex: 1 1 0; max-width: 72px; padding: .45rem .2rem; }
  .countdown i { font-size: 1.3rem; }
  .vote-tools { padding: 1rem 0; }
  .tools { gap: .6rem; }
  .tools select, .seg { width: 100%; }
  .seg button { flex: 1; }
  .section { padding: 2.5rem 0; }
  .vcard-count { min-width: 2.8rem; padding: .25rem .5rem .3rem; }
  .vcard-count strong { font-size: 1.25rem; }
  .vcard-count small { font-size: .5rem; }
  .vcard-rank { font-size: .7rem; padding: .2rem .45rem; }
  .vcard-body { padding: .5rem; }
  .vcard-actions .btn { padding: .55rem .3rem; font-size: .65rem; letter-spacing: .04em; }
  .vcard-share { width: 34px; }
  .pager button { min-width: 38px; height: 38px; padding: 0 .55rem; }
  .pager { gap: .3rem; }
}

/* ---------- Outils ---------- */
.vote-tools { background: #0a0a0a; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; translate: 0 -50%; fill: #d4af37; }
.search input, .tools select, .vfield input, .vfield select, .stepper input, .copy input {
  width: 100%; padding: .85rem 1rem; border-radius: .8rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; outline: none; font-size: 1rem; transition: border-color .3s, background .3s;
}
.search input { padding-left: 2.8rem; }
.tools select { width: auto; min-width: 220px; }
.search input:focus, .tools select:focus, .vfield input:focus, .vfield select:focus, .stepper input:focus { border-color: #d4af37; background: rgba(212, 175, 55, .07); }
select option { background: #121212; color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.seg button { padding: .8rem 1.1rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.seg button.is-on { background: #d4af37; color: #0a0a0a; }

/* ---------- Cartes de nominés : tuile photo plein cadre, voile dégradé, bordure or ---------- */
.section { padding: 4rem 0; }
.vote-board { background: #0a0a0a; }
.notice { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(212, 175, 55, .08); color: #f5e3a1; font-size: .9rem; }
.vgrid { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }
.vgrid.vsolo { grid-template-columns: minmax(0, 420px); justify-content: center; }
.vote-solo { padding: 1.5rem 0 0; }
.vote-solo-foot { background: #0a0a0a; padding: 0 0 4rem; }
.solo-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
/* Page d'un seul nominé : le modal devient le contenu de la page */
.modal.modal-inline { position: static; inset: auto; display: grid; z-index: auto; padding: 0 1rem; background: #0a0a0a; backdrop-filter: none; opacity: 1; }
.modal.modal-inline .modal-close { display: none; }
.solo-info { margin: 2rem auto 0; max-width: 420px; text-align: center; display: grid; gap: 1.25rem; justify-items: center; color: #a3a3a3; font-size: .9rem; }
.solo-info strong { color: #f5e3a1; }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2rem; }
.pager button { min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: .7rem; border: 1px solid var(--line); color: #f5e3a1; font-weight: 600; transition: all .25s; }
.pager button:hover:not([disabled]):not(.is-on) { background: rgba(212, 175, 55, .15); border-color: #d4af37; }
.pager button.is-on { background: #d4af37; color: #0a0a0a; border-color: #d4af37; }
.pager button[disabled] { opacity: .35; cursor: not-allowed; }
.pager span { color: #737373; padding: 0 .2rem; }

.vcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(212, 175, 55, .4); background: #0a0a0a; animation: fadeUp .6s ease both; transition: border-color .4s, box-shadow .4s; }
.vcard:hover { border-color: #d4af37; box-shadow: 0 20px 40px -18px rgba(212, 175, 55, .55); }
.vcard-head { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.vcard-avatar { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; cursor: zoom-in; background: radial-gradient(circle at 30% 25%, #3a2f10, #121212 70%); }
.vcard-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.vcard:hover .vcard-avatar img { transform: scale(1.06); }
.vcard-initials { font-size: 3rem; font-weight: 700; color: #d4af37; letter-spacing: .05em; }
.vcard-rank { position: absolute; z-index: 2; top: .6rem; left: .6rem; padding: .25rem .55rem; border-radius: 9999px; background: rgba(5, 5, 5, .75); border: 1px solid var(--line); backdrop-filter: blur(6px); font-size: .8rem; font-weight: 700; color: #f5e3a1; }
.vcard-rank small { margin-right: .2rem; font-size: .6rem; color: #a3a3a3; }
.no-rank .vcard-rank { display: none; }
.vcard.top-1 { border-color: #f5e3a1; }
.vcard.top-1 .vcard-rank { background: linear-gradient(135deg, #f5e3a1, #d4af37); color: #0a0a0a; }
.vcard.top-1 .vcard-rank small { color: #0a0a0a; }
.vcard-body { padding: .6rem; }
.vcard-cat { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: #d4af37; font-weight: 600; line-height: 1.3; }
.vcard h3 { margin-top: .2rem; font-size: 1rem; font-weight: 700; line-height: 1.2; color: #fff; }
/* L'affiche porte déjà le nom, la catégorie et le pays : on ne les répète pas (restent lus par les lecteurs d'écran) */
.vcard.has-photo .vcard-cat, .vcard.has-photo h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vcard-count { position: absolute; z-index: 2; top: .5rem; right: .5rem; display: grid; justify-items: center; min-width: 3.4rem; padding: .3rem .65rem .35rem; border-radius: .7rem; background: #fff; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .7); line-height: 1; }
.vcard-count strong { display: inline-block; font-size: 1.5rem; font-weight: 800; color: #0a0a0a; font-variant-numeric: tabular-nums; }
.vcard-count small { margin-top: .2rem; font-size: .55rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #737373; }
@media (min-width: 640px) { .vcard-count { top: .7rem; right: .7rem; padding: .4rem .85rem .45rem; } .vcard-count strong { font-size: 1.9rem; } }
.vcard-actions { display: flex; gap: .4rem; margin-top: .6rem; }
.vcard.has-photo .vcard-actions { margin-top: 0; }
.vcard-actions .btn { flex: 1; padding: .6rem .5rem; font-size: .7rem; }
.vcard-share { flex: none; width: 38px; display: grid; place-items: center; border: 1px solid rgba(212, 175, 55, .5); border-radius: 5px; background: rgba(0, 0, 0, .4); transition: background .3s; }
.vcard-share svg { width: 16px; height: 16px; fill: #f5e3a1; }
.vcard-share:hover { background: #d4af37; }
.vcard-share:hover svg { fill: #0a0a0a; }
.vcard.is-target { border-color: #f5e3a1; box-shadow: 0 0 0 3px rgba(212, 175, 55, .5); }
.vcard.is-updated { border-color: #f5e3a1; box-shadow: 0 0 0 4px rgba(212, 175, 55, .4); }
.vcard.is-updated .vcard-count strong { animation: bump .7s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .vcard-body { padding: .75rem; } .vcard h3 { font-size: 1.1rem; } .vcard-initials { font-size: 4rem; } }

/* ---------- Fenêtres ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.modal.is-open { opacity: 1; }
.modal-panel { position: relative; width: min(460px, 100%); max-height: 100%; overflow: auto; padding: 1.75rem; border-radius: 1.25rem; background: #121212; border: 1px solid var(--line); }
.modal-close { position: absolute; z-index: 5; top: .75rem; right: .75rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .6); border: 1px solid var(--line); color: #f5e3a1; font-size: 1.4rem; line-height: 1; }
.modal-close:hover { background: #d4af37; color: #0a0a0a; }
.vsheet { width: min(980px, 100%); padding: 0; display: grid; overflow: auto; background: #0a0a0a; isolation: isolate; }
@media (min-width: 820px) { .vsheet { grid-template-columns: 1fr 1fr; } }
.vs-bg { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid #d4af37; background: #0a0a0a center / cover no-repeat; display: grid; place-items: center; }
.vs-bg:not(.no-photo) { background-size: 220% auto; background-position: 50% 46.4%; } /* zoom sur le médaillon de l'affiche */
.vs-bg.no-photo { background: radial-gradient(circle at 30% 25%, #3a2f10, #0a0a0a 70%); }
.vs-initials { font-size: 6rem; font-weight: 700; color: rgba(212, 175, 55, .5); }
.vs-bg:not(.no-photo) .vs-initials { display: none; }
/* Colonne du formulaire : la même affiche en fond, assombrie pour garder le texte lisible */
.has-photo .vs-body { background: var(--vs-photo) center / cover no-repeat; }
@media (min-width: 820px) {
  .has-photo .vs-body { background: none; }
  .has-photo::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 50%; background: var(--vs-photo) center / cover no-repeat; }
}
.vs-hero { padding: 5rem 1.5rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
@media (min-width: 820px) { .vs-hero { padding: 7rem 2rem 2.5rem; } }
.vs-rank { display: inline-block; margin-bottom: .6rem; padding: .25rem .7rem; border-radius: 9999px; background: #d4af37; color: #0a0a0a; font-size: .75rem; font-weight: 700; }
.vs-eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #d4af37; }
.vs-hero h2 { margin-top: .4rem; font-size: 2rem; font-weight: 700; line-height: 1.1; color: #fff; }
.vs-cat { margin-top: .4rem; color: #d4d4d4; }
.vs-score { display: flex; justify-content: center; align-items: baseline; gap: .5rem; margin-top: 1rem; }
.vs-score strong { font-size: 2.4rem; font-weight: 700; color: #f5e3a1; }
.vs-score span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #a3a3a3; }
.vs-body { padding: 1rem 1.5rem 1.75rem; }
@media (min-width: 820px) { .vs-body { padding: 3rem 3rem 3rem 0; align-self: center; } }

/* ---------- Feu autour du nominé (CSS seul ; coupé si l'utilisateur réduit les animations) ---------- */
.vs-flame { --s: 270px; position: relative; flex: none; width: var(--s); max-width: 100%; aspect-ratio: 1; margin-bottom: 1.5rem; }
@media (min-width: 820px) { .vs-flame { --s: 290px; } .vs-hero { padding-top: 7rem; } }
@media (max-width: 420px) { .vs-flame { --s: 220px; } }
.vs-fire { position: absolute; inset: 0; pointer-events: none; }
.vs-fire { filter: drop-shadow(0 0 3px rgba(255, 110, 0, .6)); }
.vs-fire i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); }
.vs-fire svg { position: absolute; width: calc(var(--s) * .21); height: calc(var(--s) * .294); left: calc(var(--s) * -.105); top: calc(var(--s) * -.47 - var(--s) * .294); overflow: visible; transform-origin: 50% 100%; animation: flame var(--t) ease-in-out infinite alternate; animation-delay: var(--d); }
.vs-fire b { position: absolute; bottom: 62%; left: var(--x); width: 4px; height: 4px; border-radius: 50%; background: #ffd54a; box-shadow: 0 0 8px 2px #ff8a00; opacity: 0; animation: ember var(--t) ease-out infinite; animation-delay: var(--d); }
.vs-bg { border-color: #ffb347; animation: none; transition: none; transform: none; } /* le cercle de l'image reste immobile : seul le feu autour bouge */
@keyframes flame {
  0%   { transform: rotate(var(--b)) skewX(var(--sk)) scale(.9, calc(.85 * var(--h))); }
  50%  { transform: rotate(calc(var(--b) + 4deg)) skewX(calc(var(--sk) * -1)) scale(1, calc(1.1 * var(--h))); }
  100% { transform: rotate(calc(var(--b) - 4deg)) skewX(var(--sk)) scale(.85, calc(1.3 * var(--h))); }
}
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -110px) scale(.2); } }

/* ---------- Formulaire ---------- */
.sheet-form { display: grid; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: rgba(10, 10, 10, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.sheet-form legend { margin-bottom: .5rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #d4af37; font-weight: 600; }
.sheet-form fieldset { border: 0; padding: 0; margin: 0; }
.vfield label { display: block; margin-bottom: .4rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #a3a3a3; }
.vfield label small { text-transform: none; letter-spacing: 0; }
.vfield .iti { width: 100%; }
.stepper { display: flex; gap: .5rem; }
.stepper button { flex: none; width: 48px; border-radius: .8rem; border: 1px solid var(--line); color: #f5e3a1; font-size: 1.4rem; }
.stepper button:hover { background: #d4af37; color: #0a0a0a; }
.stepper input { text-align: center; font-weight: 700; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 1rem; border-radius: .8rem; background: rgba(212, 175, 55, .1); border: 1px solid var(--line); }
.total span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #a3a3a3; }
.total strong { font-size: 1.5rem; color: #f5e3a1; }
.total i { font-style: normal; }
.total small { font-size: .8rem; color: #a3a3a3; }
.vpanel { display: grid; gap: 1rem; }
.vsteps { display: flex; gap: 1.25rem; justify-content: center; }
.vsteps li { display: flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #737373; transition: color .3s; }
.vsteps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #525252; font-style: normal; font-size: .75rem; transition: all .3s; }
.vsteps li.is-on { color: #f5e3a1; }
.vsteps li.is-on i { background: #d4af37; border-color: #d4af37; color: #0a0a0a; }
.total-sm { padding: .6rem 1rem; }
.total-sm span { letter-spacing: .04em; text-transform: none; font-size: .9rem; color: #f5e3a1; font-weight: 600; }
.link-btn { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #d4af37; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: #f5e3a1; }
.hint { font-size: .78rem; color: #a3a3a3; }
.hint.center { text-align: center; }

/* ---------- Suivi de paiement : frise + reçu tamponné ---------- */
.sheet-status { display: grid; gap: .5rem; padding: 1.25rem; border-radius: 1rem; background: rgba(10, 10, 10, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.sheet-status h3 { font-size: 1.3rem; font-weight: 700; color: #fff; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .5rem; }
.status-card { margin-top: 0; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 1rem; }
.track li { position: relative; display: grid; justify-items: center; gap: .55rem; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: #737373; transition: color .3s; }
.track li i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #3a3a3a; box-shadow: 0 0 0 4px #0a0a0a; transition: background .3s; }
.track li:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: calc(50% + 14px); right: calc(-50% + 14px); height: 4px; border-radius: 4px; background: #3a3a3a; transition: background .4s; }
.track li:nth-child(1) { color: #fff; }
.track li:nth-child(1) i { background: #d4af37; }
.track:is([data-state="checking"], [data-state="pending"], [data-state="error"]) li:nth-child(1)::after { background: #d4af37; }
.track:is([data-state="checking"], [data-state="pending"]) li:nth-child(2) { color: #fff; }
.track:is([data-state="checking"], [data-state="pending"]) li:nth-child(2) i { background: #d4af37; animation: ping 1.4s ease-out infinite; }
.track[data-state="success"] li { color: #fff; }
.track[data-state="success"] li i { background: #d4af37; box-shadow: 0 0 0 4px #0a0a0a, 0 0 18px rgba(212, 175, 55, .7); }
.track[data-state="success"] li::after, .track[data-state="cancelled"] li:nth-child(1)::after { background: #d4af37; }
.track[data-state="cancelled"] li:nth-child(2) { color: #ff9c94; }
.track[data-state="cancelled"] li:nth-child(2) i { background: #ff6b60; }
@keyframes ping { 0% { box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 4px rgba(212, 175, 55, .7); } 100% { box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 16px rgba(212, 175, 55, 0); } }

.receipt { --stamp: #d4af37; position: relative; margin: 1rem 0 .5rem; padding: 1.25rem 1rem .5rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); border-radius: .9rem; transition: border-color .4s; }
.receipt[data-tone="ok"] { --stamp: #7be0aa; border-color: rgba(123, 224, 170, .6); }
.receipt[data-tone="ko"] { --stamp: #ff9c94; border-color: rgba(255, 156, 148, .6); }
.receipt-head { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 2px dashed rgba(255, 255, 255, .18); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #a3a3a3; }
.recap { margin: 0; }
.recap div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: .88rem; }
.recap dt { color: #a3a3a3; }
.recap dd { margin: 0; text-align: right; color: #fff; word-break: break-word; }
.stamp { position: absolute; top: .9rem; right: .8rem; z-index: 2; padding: .3rem .8rem; border: 3px double var(--stamp); border-radius: 8px; color: var(--stamp); font-size: .85rem; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; rotate: -8deg; background: rgba(10, 10, 10, .55); }
.stamp.is-new { animation: stampIn .55s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes stampIn { from { opacity: 0; scale: 2.6; rotate: -22deg; } 60% { opacity: 1; } to { opacity: .96; scale: 1; rotate: -8deg; } }

/* ---------- Aperçu photo ---------- */
.modal-preview .pv { position: relative; width: min(520px, 100%); max-height: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: radial-gradient(circle at 30% 25%, #3a2f10, #121212 70%); display: grid; place-items: center; }
.pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-initials { font-size: 7rem; font-weight: 700; color: rgba(212, 175, 55, .5); }
.pv-bar { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 1.25rem; background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent); }
.pv-id strong { display: block; font-size: 1.2rem; color: #fff; }
.pv-id span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #d4af37; }

/* ---------- Partage ---------- */
.modal-sm .modal-panel { width: min(420px, 100%); }
.share-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; padding-right: 2.5rem; }
.share-head h2 { font-size: 1.15rem; font-weight: 700; color: #fff; }
.share-head p { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #d4af37; }
.sheet-photo { position: relative; flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; border: 2px solid #d4af37; background: radial-gradient(circle at 30% 25%, #3a2f10, #121212 70%); display: grid; place-items: center; color: #d4af37; font-weight: 700; }
.sheet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-photo .vcard-initials { font-size: 1.2rem; }
.copy { display: flex; gap: .5rem; }
.share-nets { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.share-nets .btn { flex: 1 1 auto; }

.vtoast { position: fixed; z-index: 95; bottom: 1.5rem; left: 50%; translate: -50% 0; padding: .9rem 1.5rem; border-radius: 9999px; background: #1a1a1a; border: 1px solid var(--line); color: #fff; font-size: .9rem; }

/* SweetAlert2 aux couleurs du site */
.swal2-popup { background: #121212; color: #e5e5e5; border: 1px solid var(--line); font-family: Montserrat, sans-serif; }
.swal2-title, .swal2-html-container { color: #fff; }
.swal2-container { z-index: 120; }
.iti__dropdown-content { background: #121212; color: #fff; }
.iti__country-name, .iti__dial-code { color: #fff; }

/* ---------- Mobile : modal et page d'un nominé plus compacts (la colonne image passe au-dessus du formulaire) ---------- */
@media (max-width: 819px) {
  .vs-hero { padding: 4.25rem 1rem .75rem; }
  .vs-flame { --s: 200px; margin-bottom: 1rem; }
  .vs-hero h2 { margin-top: .2rem; font-size: 1.5rem; }
  .vs-eyebrow { font-size: .65rem; letter-spacing: .24em; }
  .vs-cat { margin-top: .2rem; font-size: .85rem; }
  .vs-score { margin-top: .5rem; }
  .vs-score strong { font-size: 1.7rem; }
  .vs-body { padding: .5rem 1rem 1.25rem; }
  .sheet-form { padding: 1rem; }
  .modal { padding: .5rem; }
  .modal-panel { max-height: 100%; }
}
@media (max-width: 420px) {
  .vs-hero { padding-top: 3.75rem; }
  .vs-flame { --s: 170px; }
  .stepper input { min-width: 0; font-size: 1rem; }
}
/* Boutons − / + dédiés : on masque les flèches natives du champ nombre (elles mangent la place du texte) */
.stepper input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
