/* ==========================================================================
   ARTSONIC CAMP — Design System
   Fond nuit, accent orange unique, typo display condensée bold.
   Fichier partagé par toutes les pages (production + aperçu autonome).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* --- Couleurs : nuit bleu-violet quasi noir + UN SEUL accent orange --- */
  --void:        #07060d;
  --night:       #0d0b1a;
  --surface:     #151228;
  --surface-hi:  #1d1836;
  --surface-glass: rgba(21, 18, 40, 0.72);
  --hairline:    rgba(255, 255, 255, 0.09);
  --hairline-hi: rgba(255, 255, 255, 0.16);

  --orange:      #ff5b1f;
  --orange-2:    #ff8c4a;
  --orange-dim:  rgba(255, 91, 31, 0.14);
  --orange-glow: rgba(255, 91, 31, 0.45);
  --on-orange:   #1a0d05;

  --ink:         #f6f4ff;
  --ink-dim:     #a9a4c7;
  --ink-faint:   #635e82;

  --ok:   #46d18a;
  --bad:  #ff5c73;

  /* --- Typo --- */
  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'Space Mono', 'SF Mono', monospace;

  /* --- Rythme --- */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --nav-h: 76px;
  --shell-max: 480px;

  color-scheme: dark;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fond nuit : dégradé profond + halo orange discret en haut */
body::before{
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255,91,31,0.16), transparent 60%),
    radial-gradient(90% 50% at 85% 10%, rgba(120,70,220,0.10), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, var(--void) 55%, #050409 100%);
}

h1,h2,h3,h4{ margin: 0; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; font-weight: 400; line-height: 0.95; }
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

/* Focus visible clavier — accessibilité, ne pas retirer */
:focus-visible{
  outline: 2px solid var(--orange-2);
  outline-offset: 2px;
  border-radius: 8px;
}

::selection{ background: var(--orange); color: var(--on-orange); }

/* ==========================================================================
   Starfield — étoiles scintillantes discrètes en fond
   ========================================================================== */
.starfield{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.starfield span{
  position: absolute;
  width: var(--s, 2px);
  height: var(--s, 2px);
  background: #fff;
  border-radius: 50%;
  top: var(--y);
  left: var(--x);
  opacity: var(--o, 0.5);
  animation: twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
.starfield span.warm{ background: var(--orange-2); }
@keyframes twinkle{
  0%, 100%{ opacity: var(--o, 0.5); transform: scale(1); }
  50%{ opacity: calc(var(--o, 0.5) * 0.15); transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce){
  .starfield span{ animation: none; }
}

/* ==========================================================================
   Layout / shell
   ========================================================================== */
.shell{
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 20px 18px calc(var(--nav-h) + 28px);
  min-height: 100vh;
}

.page-head{
  padding: 6px 2px 18px;
}
.eyebrow{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
}
.page-title{
  font-size: clamp(30px, 9vw, 40px);
  margin-top: 4px;
}
.page-sub{
  color: var(--ink-dim);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ==========================================================================
   Cartes
   ========================================================================== */
.card{
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: 20px;
  position: relative;
}
.card + .card{ margin-top: 14px; }
.card-hi{ background: var(--surface-hi); }

/* ==========================================================================
   Boutons — forme pilule
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active{ transform: scale(0.96); }
.btn:disabled{ opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary{
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: var(--on-orange);
  box-shadow: 0 8px 22px -8px var(--orange-glow);
}
.btn-primary:hover{ filter: brightness(1.05); }

.btn-ghost{
  background: transparent;
  border-color: var(--hairline-hi);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--orange-2); color: var(--orange-2); }

.btn-outline-orange{
  background: var(--orange-dim);
  border-color: rgba(255,91,31,0.4);
  color: var(--orange-2);
}

.btn-block{ width: 100%; }
.btn-sm{ min-height: 40px; padding: 0 18px; font-size: 13.5px; }

.icon-btn{
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-hi);
  border: 1px solid var(--hairline);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn:active{ transform: scale(0.92); }

/* ==========================================================================
   Nav basse fixe
   ========================================================================== */
.tabbar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(7,6,13,0) 0%, rgba(7,6,13,0.92) 28%, var(--void) 100%);
  backdrop-filter: blur(6px);
}
.tabbar-inner{
  width: 100%;
  max-width: var(--shell-max);
  display: flex;
  background: var(--surface-glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  padding: 6px;
  gap: 2px;
}
.tab-item{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 2px;
  border-radius: var(--radius-pill);
  color: var(--ink-faint);
  min-height: 48px;
  justify-content: center;
  transition: color .15s ease, background .15s ease;
}
.tab-item svg{ width: 20px; height: 20px; stroke: currentColor; fill: none; }
.tab-item span{ font-size: 9.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-family: var(--f-body); }
.tab-item.active{ color: var(--on-orange); background: linear-gradient(180deg, var(--orange-2), var(--orange)); }
.tab-item:not(.active):hover{ color: var(--ink); }

/* ==========================================================================
   Pass festivalier — élément signature
   ========================================================================== */
.pass{
  position: relative;
  border-radius: var(--radius-l);
  padding: 22px 22px 18px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,140,74,0.35), transparent 55%),
    linear-gradient(155deg, #241c3f 0%, #16112a 55%, #100c20 100%);
  border: 1px solid var(--hairline-hi);
  overflow: hidden;
  isolation: isolate;
}
.pass-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pass-brand{
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.pass-brand b{ color: var(--orange-2); }
.pass-dates{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-faint);
  border: 1px solid var(--hairline-hi);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pass-name-label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 2px;
}
.pass-name{
  font-family: var(--f-display);
  font-size: clamp(30px, 11vw, 42px);
  line-height: 1;
  word-break: break-word;
}
.pass-barcode{
  margin-top: 22px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
  opacity: 0.85;
}
.pass-barcode i{
  display: block;
  width: 3px;
  background: rgba(255,255,255,0.5);
  border-radius: 1px;
}
.pass-id{
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ==========================================================================
   Badge artiste (initiales) — utilisé partout où une photo manque
   ========================================================================== */
.artist-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange) 0%, #7a3bd8 130%);
  color: #fff;
  font-family: var(--f-display);
  flex-shrink: 0;
  overflow: hidden;
}
.artist-badge img{ width: 100%; height: 100%; object-fit: cover; }
.artist-badge.size-lg{ width: 92px; height: 92px; font-size: 30px; }
.artist-badge.size-md{ width: 52px; height: 52px; font-size: 18px; }
.artist-badge.size-sm{ width: 38px; height: 38px; font-size: 13px; }

/* ==========================================================================
   Compte à rebours prochain concert
   ========================================================================== */
.next-gig{ margin-top: 14px; }
.next-gig-label{ font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.next-gig-row{ display: flex; align-items: center; gap: 14px; }
.next-gig-info{ min-width: 0; flex: 1; }
.next-gig-name{ font-family: var(--f-display); font-size: clamp(20px,6vw,26px); }
.next-gig-time{ font-family: var(--f-mono); color: var(--ink-dim); font-size: 13px; margin-top: 2px; }

.countdown{
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cd-cell{
  flex: 1;
  background: var(--void);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-s);
  padding: 8px 4px;
  text-align: center;
}
.cd-num{ font-family: var(--f-mono); font-weight: 700; font-size: clamp(18px,6vw,24px); color: var(--orange-2); }
.cd-lbl{ font-family: var(--f-mono); font-size: 9px; color: var(--ink-faint); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

.upnext-list{ margin-top: 10px; }
.upnext-item{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid var(--hairline);
}
.upnext-item:first-child{ border-top: none; }
.upnext-name{ font-weight: 600; font-size: 14.5px; }
.upnext-time{ font-family: var(--f-mono); font-size: 12px; color: var(--ink-faint); margin-top: 1px; }

/* ==========================================================================
   Classement général
   ========================================================================== */
.podium{
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}
.podium-slot{
  flex: 1;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m) var(--radius-m) 10px 10px;
  padding: 14px 8px 12px;
  position: relative;
}
.podium-slot.rank-1{ order: 2; padding-top: 22px; border-color: rgba(255,91,31,0.5); box-shadow: 0 10px 30px -14px var(--orange-glow); }
.podium-slot.rank-2{ order: 1; }
.podium-slot.rank-3{ order: 3; }
.podium-rank{
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: var(--on-orange);
  font-family: var(--f-mono); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--void);
}
.podium-slot.rank-2 .podium-rank, .podium-slot.rank-3 .podium-rank{ background: var(--surface-hi); color: var(--ink-dim); border-color: var(--void); }
.podium-avatar{ margin: 0 auto 8px; }
.podium-name{ font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-score{ font-family: var(--f-mono); color: var(--orange-2); font-size: 15px; margin-top: 2px; }

.rank-row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  border-top: 1px solid var(--hairline);
}
.rank-row:first-child{ border-top: none; }
.rank-index{
  font-family: var(--f-mono);
  color: var(--ink-faint);
  width: 22px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}
.rank-body{ flex: 1; min-width: 0; }
.rank-name{ font-weight: 700; font-size: 15px; }
.rank-name .me-tag{ font-family: var(--f-mono); font-size: 9px; color: var(--orange-2); border: 1px solid rgba(255,91,31,.4); padding: 1px 6px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle; }
.rank-breakdown{ font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }
.rank-score{ font-family: var(--f-mono); font-weight: 700; color: var(--orange-2); font-size: 16px; flex-shrink: 0; }

.stat-actions{ display: flex; gap: 10px; margin-top: 4px; }
.stat-action{
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.stat-action:active{ transform: scale(0.97); }
.stat-action:hover{ border-color: rgba(255,91,31,.4); }
.stat-action-icon{ font-size: 22px; }
.stat-action-label{ font-weight: 700; font-size: 11.5px; margin-top: 6px; line-height: 1.2; }
.stat-action-sub{ font-size: 10px; color: var(--ink-faint); margin-top: 2px; }
.stat-action-undo{
  display: block;
  width: 100%;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 0 0;
}
.stat-action-undo:hover{ color: var(--bad); }

/* ==========================================================================
   Liste des défis (liste unique fusionnée, avec ou sans photo en preuve)
   ========================================================================== */
.task-card{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}
.task-card.done{ opacity: 0.55; }
.task-check{
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--hairline-hi);
  display: flex; align-items: center; justify-content: center;
}
.task-card.done .task-check{ background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.task-body{ flex: 1; min-width: 0; }
.task-title{ font-weight: 600; font-size: 14.5px; }
.task-points{ font-family: var(--f-mono); font-size: 12px; color: var(--orange-2); margin-top: 3px; }
.task-thumb{ width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--void); }

.progress-pill{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim);
  background: var(--surface); border: 1px solid var(--hairline);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.progress-pill b{ color: var(--orange-2); }

/* ==========================================================================
   Défis cumulables — boutons +/- et lien "annuler"
   ========================================================================== */
.task-repeat-actions{ display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.task-repeat-actions .icon-btn{ width: 38px; height: 38px; }
.task-undo-btn:disabled{ opacity: 0.3; cursor: not-allowed; }
.task-undo-link{
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 4px;
}
.task-undo-link:hover{ color: var(--bad); }

/* ==========================================================================
   Livre d'or
   ========================================================================== */
.guestbook-entry{ display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.guestbook-entry:first-child{ border-top: none; padding-top: 0; }
.gb-body{ flex: 1; min-width: 0; }
.gb-name{ font-weight: 700; font-size: 14px; }
.gb-time{ font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-faint); margin-left: 6px; }
.gb-text{ font-size: 14px; color: var(--ink); margin-top: 4px; }
.gb-photo{ margin-top: 10px; border-radius: 14px; max-height: 220px; object-fit: cover; width: 100%; cursor: zoom-in; }

/* ==========================================================================
   Formulaires / modale bottom-sheet
   ========================================================================== */
.field{ margin-bottom: 14px; }
.field label{ display: block; font-size: 12px; color: var(--ink-dim); margin-bottom: 6px; font-weight: 600; }
.input, textarea.input{
  width: 100%;
  background: var(--void);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  resize: vertical;
}
.input:focus{ border-color: var(--orange); }
.input::placeholder{ color: var(--ink-faint); }

.file-drop{
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1.5px dashed var(--hairline-hi);
  border-radius: var(--radius-m);
  padding: 20px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
}
.file-drop:hover{ border-color: var(--orange-2); }
.file-drop input{ display: none; }
.file-preview{ display: block; margin-top: 10px; border-radius: var(--radius-m); max-height: 200px; object-fit: cover; width: 100%; }

.modal-backdrop{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,4,9,0.72);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.modal-backdrop.open{ opacity: 1; pointer-events: auto; }
.modal-sheet{
  width: 100%; max-width: var(--shell-max);
  background: var(--surface-hi);
  border: 1px solid var(--hairline-hi);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom,0px));
  transform: translateY(16px);
  transition: transform .22s ease;
  max-height: 86vh;
  overflow-y: auto;
}
.modal-backdrop.open .modal-sheet{ transform: translateY(0); }
.modal-handle{ width: 40px; height: 4px; background: var(--hairline-hi); border-radius: 2px; margin: 6px auto 16px; }
.modal-title{ font-family: var(--f-display); font-size: 24px; margin-bottom: 4px; }
.modal-sub{ color: var(--ink-dim); font-size: 13px; margin-bottom: 18px; }

.hour-picker{ display: flex; align-items: center; justify-content: center; gap: 22px; margin: 20px 0 26px; }
.hour-picker .val{ font-family: var(--f-mono); font-size: 44px; color: var(--orange-2); min-width: 90px; text-align: center; }
.hour-picker .val small{ font-size: 16px; color: var(--ink-faint); }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast-wrap{
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--nav-h) + 14px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 200;
  pointer-events: none;
  padding: 0 20px;
}
.toast{
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-hi);
  border: 1px solid var(--hairline-hi);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
  animation: toast-in .25s ease;
  max-width: var(--shell-max);
}
.toast .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.toast.err .dot{ background: var(--bad); }
@keyframes toast-in{ from{ opacity: 0; transform: translateY(10px);} to{ opacity: 1; transform: translateY(0);} }

/* ==========================================================================
   Skeleton loaders
   ========================================================================== */
.skel{
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-hi) 50%, var(--surface) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-s);
}
@keyframes shimmer{ 0%{ background-position: 160% 0; } 100%{ background-position: -60% 0; } }
.skel-row{ height: 54px; margin-top: 10px; border-radius: var(--radius-m); }

/* ==========================================================================
   Divers
   ========================================================================== */
.section-title{ font-family: var(--f-display); font-size: 20px; margin: 26px 0 10px; }
.empty-state{ text-align: center; padding: 34px 14px; color: var(--ink-dim); }
.empty-state .glyph{ font-size: 30px; margin-bottom: 8px; }
.empty-state h4{ font-family: var(--f-body); font-weight: 700; font-size: 15px; color: var(--ink); text-transform: none; }
.empty-state p{ font-size: 13px; margin-top: 4px; }

.lightbox{
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,3,8,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.lightbox.open{ opacity: 1; pointer-events: auto; }
.lightbox img{ max-height: 82vh; border-radius: 16px; }
.lightbox-close{ position: absolute; top: 20px; right: 20px; }

.badge-count{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--orange); color: var(--on-orange);
  border-radius: var(--radius-pill);
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
}

.dev-note{
  margin-top: 30px;
  border: 1px dashed var(--hairline-hi);
  border-radius: var(--radius-m);
  padding: 12px 14px;
  font-size: 11.5px;
  color: var(--ink-faint);
  font-family: var(--f-mono);
  line-height: 1.5;
}

@media (min-width: 560px){
  body::before{ background-attachment: fixed; }
}

/* ==========================================================================
   Identity gate — écran de saisie du prénom (bloque l'accès tant que non fait)
   ========================================================================== */
.identity-gate{
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--void);
}
.ig-inner{ width: 100%; max-width: 380px; }
.ig-brand{
  font-family: var(--f-display); font-size: 15px; letter-spacing: .08em;
  color: var(--ink-dim); margin-bottom: 26px;
}
.ig-brand b{ color: var(--orange-2); }
.ig-title{ font-size: clamp(34px, 11vw, 46px); margin-bottom: 12px; }
.ig-sub{ color: var(--ink-dim); font-size: 14px; margin-bottom: 26px; }
.ig-suggestions{
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--surface-hi);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius-m);
  overflow: hidden;
  z-index: 5;
  display: none;
}
.ig-suggestions.show{ display: block; }
.ig-suggestions button{
  display: block; width: 100%; text-align: left;
  background: none; border: none; color: var(--ink);
  padding: 12px 16px; font-size: 14px; font-family: var(--f-body); cursor: pointer;
  border-top: 1px solid var(--hairline);
}
.ig-suggestions button:first-child{ border-top: none; }
.ig-suggestions button:hover{ background: var(--orange-dim); color: var(--orange-2); }
.ig-error{ color: var(--bad); font-size: 12.5px; margin-top: 8px; min-height: 16px; }
