/* Jua Invite — démonstration d'invitation (vue invité, pensée pour le téléphone)
   Chaque modèle définit ses propres jetons ; la structure est commune. */
.inv {
  --bg: #FBF7F0; --paper: #FFFDF9; --ink: #2B2620; --soft: #7A6E60; --accent: #B08D57; --line: #E8DCC8;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
.inv-tradition {
  --bg: #2A1A0E; --paper: #F6EBDA; --ink: #2A1A0E; --soft: #6E5640; --accent: #B4462A; --line: #E3CDAE;
  --display: "Marcellus", Georgia, serif;
}
.inv-festif {
  --bg: #1B1036; --paper: #241548; --ink: #FFF6EC; --soft: #CBB9F2; --accent: #FFB547; --line: #3B2A6B;
  --display: "Fredoka", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 var(--body); min-height: 100vh; padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }

.demo-bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: #0A0F1A; color: #E6EEF8; font-size: .85rem; }
.demo-bar a { color: #FFB547; font-weight: 700; text-decoration: none; }

.card { max-width: 480px; margin: 0 auto; background: var(--paper); min-height: 100vh; padding: 0 0 32px; box-shadow: 0 0 60px rgba(0, 0, 0, .18); }
.is-embed .card { box-shadow: none; }

/* Couverture */
.cover { position: relative; text-align: center; padding: 64px 28px 44px; overflow: hidden; }
.ornament { height: 46px; margin: 0 auto 18px; width: 180px;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 4px, transparent 5px),
    linear-gradient(var(--accent), var(--accent)) center / 70px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left center / 40px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / 40px 1px no-repeat; }
.kicker { margin: 0; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hosts { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1.05; margin: 14px 0 16px; text-wrap: balance; }
.intro { margin: 0 auto; max-width: 30ch; color: var(--soft); font-size: 1.02rem; }
.date { margin: 26px 0 2px; font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.hour { margin: 0; color: var(--soft); }

/* Blocs */
.block { margin: 0 20px; padding: 26px 4px; border-top: 1px solid var(--line); text-align: center; }
.block h2 { font-family: var(--display); font-weight: 600; font-size: 1.55rem; margin: 0 0 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { display: grid; }
.countdown b { font-family: var(--display); font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.countdown span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.program { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 10px; max-width: 320px; text-align: left; }
.program li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.program time { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.place p { margin: 0 0 14px; }
.note { color: var(--soft); font-size: .9rem; margin-top: 16px !important; }

.inv-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 700 .95rem var(--body); text-decoration: none; cursor: pointer; }
.inv-btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.inv-festif .inv-btn { color: #1B1036; }
.inv-festif .inv-btn.ghost { color: var(--accent); }

.rsvp { display: grid; gap: 10px; text-align: left; max-width: 340px; margin: 0 auto; }
.rsvp label { font-weight: 600; font-size: .9rem; }
.rsvp input:not([type="radio"]) { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: #222; font: inherit; }
.rsvp fieldset { border: 0; padding: 0; margin: 4px 0; display: grid; gap: 6px; }
.rsvp legend { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.choice { display: flex; gap: 10px; align-items: center; font-weight: 500 !important; }
.rsvp .inv-btn { margin-top: 6px; }
.rsvp small, .qr-block small, .thanks small { color: var(--soft); font-size: .78rem; display: block; }
.thanks { font-size: 1.05rem; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.qr-block p { color: var(--soft); margin: 0 auto 16px; max-width: 32ch; }
.qr { display: inline-grid; padding: 12px; background: #fff; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; }
.qr img, .qr canvas { display: block; }
.greeting { margin: 0 0 18px; font-family: var(--display); font-size: 1.35rem; font-style: italic; color: var(--ink); }
.cal-link { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.muted-p { color: var(--soft); margin: 0 auto 14px; max-width: 34ch; }
.answer { display: inline-block; margin: 0 0 14px; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.answer-yes { background: rgba(16, 150, 100, .12); color: #0F7A55; }
.answer-no { background: rgba(120, 120, 120, .14); color: var(--soft); }
.inv-festif .answer-yes { color: #6EE7B7; }
.table-badge { margin: 0 0 16px; font-size: 1.05rem; }
.table-badge b { color: var(--accent); font-size: 1.3rem; }
.err { color: #C0392B; font-size: .88rem; margin: 0; }
.inv-festif .err { color: #FCA5A5; }
.rsvp select, .rsvp textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: #222; font: inherit; }
.inv-festif .rsvp select, .inv-festif .rsvp textarea { background: #2E1D5C; color: var(--ink); }
.guest-name { font-weight: 700; margin: 4px 0 0 !important; color: var(--ink) !important; }
.thanks { margin-bottom: 18px !important; }
.made { text-align: center; color: var(--soft); font-size: .8rem; margin-top: 18px; }

/* Touches propres à chaque modèle */
.inv-tradition .cover {
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(180, 70, 42, .08) 14px 16px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(42, 26, 14, .06) 14px 16px);
  border-bottom: 10px solid transparent;
  border-image: repeating-linear-gradient(90deg, #B4462A 0 18px, #E2A23B 18px 36px, #2A1A0E 36px 54px) 10;
}
.inv-festif .cover { background: radial-gradient(60% 60% at 50% 0%, rgba(255, 92, 138, .35), transparent 70%), radial-gradient(40% 40% at 90% 30%, rgba(255, 181, 71, .25), transparent 70%); }
.inv-festif .hosts { background: linear-gradient(90deg, #FFB547, #FF5C8A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-festif .rsvp input:not([type="radio"]) { background: #2E1D5C; color: var(--ink); border-color: var(--line); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Jua Invite 2 : nouveaux modèles ---------- */
.inv-moderne {
  --bg: #EEF1F5; --paper: #FFFFFF; --ink: #111827; --soft: #6B7280; --accent: #F06449; --line: #E5E7EB;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
}
.inv-moderne .cover { text-align: left; padding-left: 32px; background: linear-gradient(135deg, rgba(240, 100, 73, .10), transparent 60%); }
.inv-moderne .ornament { margin-left: 0; width: 60px; background: linear-gradient(var(--accent), var(--accent)) left center / 60px 4px no-repeat; }
.inv-moderne .intro { margin-left: 0; }
.inv-prestige {
  --bg: #050505; --paper: #0E0D0B; --ink: #F5EBD7; --soft: #BFAF8C; --accent: #D4AF37; --line: #2E2a20;
  --display: "Playfair Display", Georgia, serif;
  color-scheme: dark;
}
.inv-prestige .cover { background: radial-gradient(70% 60% at 50% 0%, rgba(212, 175, 55, .22), transparent 70%); border-bottom: 1px solid rgba(212, 175, 55, .4); }
.inv-prestige .hosts { background: linear-gradient(180deg, #F7E7A6, #D4AF37 60%, #A8842A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-prestige .inv-btn { color: #0E0D0B; }
.inv-corporate {
  --bg: #0A0F1A; --paper: #0F1729; --ink: #E6EEF8; --soft: #95A6C2; --accent: #22D3EE; --line: #22304D;
  --display: "Exo 2", "Segoe UI", sans-serif;
  color-scheme: dark;
}
.inv-corporate .cover { background: linear-gradient(#121B2E 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, #121B2E 1px, transparent 1px) 0 0 / 32px 32px, radial-gradient(60% 60% at 80% 10%, rgba(59, 108, 255, .3), transparent 70%); }
.inv-corporate .hosts { background: linear-gradient(90deg, #22D3EE, #3B6CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-corporate .inv-btn { color: #0A0F1A; }
.inv-hommage {
  --bg: #E9ECEF; --paper: #FAFAF8; --ink: #2D3436; --soft: #6C757D; --accent: #5C6B73; --line: #DEE2E6;
  --display: "Cormorant Garamond", Georgia, serif;
}
.inv-hommage .cover { background: linear-gradient(180deg, #F1F3F5, transparent); }
.inv-prestige .rsvp input:not([type="radio"]):not([type="checkbox"]), .inv-prestige .rsvp select, .inv-prestige .rsvp textarea,
.inv-corporate .rsvp input:not([type="radio"]):not([type="checkbox"]), .inv-corporate .rsvp select, .inv-corporate .rsvp textarea { background: #161B26; color: var(--ink); border-color: var(--line); }

/* ---------- Jua Invite 2 : éléments de l'espace invité ---------- */
.announce { margin: 0; padding: 12px 18px; background: var(--accent); color: #fff; font-weight: 700; text-align: center; font-size: .92rem; }
.cover.has-photo { padding-top: 0; }
.cover-photo { display: block; width: calc(100% + 56px); max-width: none; margin: 0 -28px 26px; aspect-ratio: 4 / 3; object-fit: cover; }
.media-row, .btn-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.inv-btn.small { padding: 8px 14px; font-size: .85rem; }
.pills { position: sticky; top: 0; z-index: 4; display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.pills a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; }
.pills a:hover { border-color: var(--accent); color: var(--accent); }
.seq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.seq-list li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.seq-list b { font-family: var(--display); font-size: 1.2rem; }
.seq-list span { color: var(--soft); font-size: .9rem; }
.seq-list a { color: var(--accent); font-weight: 700; font-size: .85rem; text-decoration: none; }
.seq-answers { list-style: none; padding: 0; margin: 0 0 14px; color: var(--soft); }
.contacts { list-style: none; padding: 0; margin: 16px auto 0; max-width: 340px; display: grid; gap: 6px; text-align: left; }
.contacts li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.contacts a { color: var(--accent); font-weight: 700; text-decoration: none; }
.gifts { margin: 18px auto 0; max-width: 360px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .03); text-align: left; }
.gifts p { margin: 6px 0 0; color: var(--soft); }
.if-coming { display: grid; gap: 10px; }
.seq-pick .seq-q { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seq-pick select { width: auto; }
.comps { display: grid; gap: 8px; }
.comp-row { display: flex; gap: 8px; align-items: center; }
.comp-row input { flex: 1; }
.sub { margin: 6px 0 0; font-weight: 700; font-size: .9rem; }
.prefs { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; }
.prefs[open] { padding-bottom: 14px; }
.prefs summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--accent); }
.prefs > * + * { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500 !important; font-size: .85rem !important; }
.choice.small { font-size: .85rem !important; }
.short-code { color: var(--soft); margin: 4px 0 12px !important; }
.short-code b { font-family: Consolas, monospace; letter-spacing: .15em; color: var(--ink); }
.comp-qrs { margin-top: 18px; }
.comp-qr { display: inline-grid; gap: 4px; margin: 6px; font-size: .85rem; font-weight: 600; }
.qr-small { padding: 6px; }
.mini-plan { width: 100%; height: auto; background: rgba(0, 0, 0, .03); border-radius: 12px; }
.mini-plan .tb { fill: none; stroke: var(--soft); stroke-width: 2; }
.mini-plan .mine { fill: var(--accent); stroke: var(--accent); }
.mini-plan .tl { font: 600 18px var(--body); text-anchor: middle; fill: var(--soft); }
.mini-plan .mine-l { fill: #fff; }
.mini-plan .pi { fill: rgba(0, 0, 0, .06); }
.mini-plan .pl { font: 500 16px var(--body); text-anchor: middle; fill: var(--soft); }
.rec { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rec audio { width: 100%; }
.rec-time { font-variant-numeric: tabular-nums; color: #C0392B; font-weight: 700; }
.linkish { background: none; border: 0; color: var(--soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.book-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; text-align: left; }
.book-list li { padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .03); }
.book-list blockquote { margin: 0 0 6px; font-family: var(--display); font-size: 1.1rem; }
.book-list audio { width: 100%; margin: 6px 0; }
.book-list img { width: 100%; border-radius: 8px; margin: 6px 0; }
.book-list cite { color: var(--soft); font-size: .85rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 16px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.stars input { position: absolute; opacity: 0; }
.stars label { font-size: 2rem; color: var(--line); cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--accent); }
.answer-maybe { background: rgba(255, 181, 71, .16); color: #A86A00; }
.rsvp input[type="file"] { padding: 8px; }
.rsvp input[type="checkbox"] { width: auto !important; padding: 0 !important; }

/* ---------- Modèles « scène » : ciel en dégradé, médaillon, carte de verre, prénoms calligraphiés ---------- */
.scene {
  --sky1: #0B1230; --sky2: #4A0F2E; --sky3: #8E1538;
  --gold: linear-gradient(180deg, #FBE9B0 0%, #E3B95A 55%, #B98A2C 100%); --gold-solid: #E8C26A;
  --med: radial-gradient(circle at 35% 30%, #F0508A, #B0124F 70%); --med-ink: #F4CD63;
  --panel: rgba(255, 255, 255, .07); --glass: rgba(255, 255, 255, .09); --glass-bd: rgba(255, 255, 255, .22);
  --dc-bg: #FBF9F5; --dc-ink: #1C1A18; --pin: #E5484D; --swash: #8A5A1E;
  --script: "Great Vibes", cursive; --display: "Cinzel", Georgia, serif;
  --ink: #FFFFFF; --soft: #EBCBD6; --accent: #D63A72; --line: rgba(255, 255, 255, .18); --paper: transparent;
  color-scheme: dark;
  background: linear-gradient(180deg, var(--sky1) 0, var(--sky2) 900px, var(--sky3) 1800px, var(--sky3) 100%);
}
.scene .card { background: transparent; box-shadow: none; padding-bottom: 110px; }
.scene-cover { position: relative; padding: 34px 16px 6px; text-align: center; isolation: isolate; }
.scene-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene-sky .orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; }
.scene-sky .o1 { width: 260px; height: 260px; left: -80px; top: 40px; background: var(--accent); animation: orb 14s ease-in-out infinite alternate; }
.scene-sky .o2 { width: 220px; height: 220px; right: -70px; top: 260px; background: var(--gold-solid); opacity: .25; animation: orb 18s ease-in-out infinite alternate-reverse; }
.scene-sky .motif { position: absolute; inset: 0; opacity: .14;
  background: radial-gradient(circle at 50% 22%, transparent 120px, var(--gold-solid) 121px, transparent 123px, transparent 160px, var(--gold-solid) 161px, transparent 162px); }
.scene-sky .sparkles { position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 64% 40%, #fff, transparent),
    radial-gradient(1px 1px at 28% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 70%, #fff, transparent), radial-gradient(1px 1px at 8% 84%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translate(40px, 30px) scale(1.15); } }
@keyframes twinkle { to { opacity: .25; } }
.scene-photo { display: block; width: calc(100% + 32px); margin: -34px -16px -40px; aspect-ratio: 4 / 5; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.medallion { position: relative; z-index: 2; width: 128px; height: 128px; margin: 10px auto -64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--med); color: var(--med-ink); border: 4px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .06); animation: medal 5s ease-in-out infinite; }
.medallion .emblem { width: 66px; height: 66px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
@keyframes medal { 50% { transform: translateY(-6px); } }
.glass { position: relative; padding: 80px 18px 22px; border-radius: 30px; background: var(--glass); border: 1px solid var(--glass-bd);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.guest-pill { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; margin-bottom: 18px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-bd); }
.gp-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.gp-ico svg { width: 22px; height: 22px; }
.guest-pill small { display: block; font: 800 .62rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-solid); }
.guest-pill b { display: block; font: 600 1.2rem var(--display); color: var(--ink); line-height: 1.2; }
.scene .kicker { color: var(--gold-solid); font-family: var(--display); letter-spacing: .28em; }
.scene .hosts { font-family: var(--script); font-weight: 400; font-size: clamp(3.1rem, 15vw, 4.3rem); line-height: 1.1; margin: 6px 0 10px;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em; }
.scene .intro { color: var(--ink); max-width: 28ch; font-size: 1rem; }
.date-card { margin: 22px 4px 0; padding: 20px 16px 22px; border-radius: 26px; background: var(--dc-bg); color: var(--dc-ink); box-shadow: 0 20px 40px rgba(0, 0, 0, .22); display: grid; justify-items: center; gap: 6px; }
.dc-day { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.25rem; line-height: 1.25; }
.dc-day svg { width: 26px; height: 26px; flex: none; }
.dc-day b { font-weight: 800; }
.dc-hour { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; font: 800 2.1rem var(--body); letter-spacing: -.01em; }
.dc-hour svg { width: 26px; height: 26px; }
.dc-swash { width: 62%; height: 3px; margin: 6px 0 8px; border-radius: 50%; background: linear-gradient(90deg, transparent, var(--swash), transparent); }
.dc-pin { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pin); color: #fff; box-shadow: 0 8px 18px rgba(229, 72, 77, .35); }
.dc-pin svg { width: 24px; height: 24px; }
.dc-place { margin: 4px 0 0; font: 800 1.05rem var(--body); text-transform: uppercase; letter-spacing: .02em; }
.dc-addr { margin: 0; font-size: .82rem; color: #6B655E; max-width: 30ch; }
.date-card .cal-link { color: var(--accent); }
.scene .media-row .inv-btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--glass-bd); }
.scene .block { margin: 18px 14px; padding: 26px 18px; border: 1px solid var(--glass-bd); border-radius: 26px; background: var(--panel);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.scene .block h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; color: var(--ink); }
.scene .countdown { gap: 8px; }
.scene .countdown div { padding: 10px 2px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-bd); }
.scene .countdown b { color: var(--gold-solid); font-family: var(--display); }
.scene .countdown span, .scene .muted-p, .scene .note, .scene .seq-list span { color: var(--soft); }
.scene .program time, .scene .seq-list a, .scene .contacts a, .scene .cal-link, .scene .prefs summary { color: var(--gold-solid); }
.scene .date-card .cal-link { color: var(--accent); }
.scene .seq-list li, .scene .book-list li, .scene .gifts { background: rgba(255, 255, 255, .06); border-color: var(--glass-bd); }
.scene .seq-list b { font-family: var(--display); }
.scene .inv-btn { background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.scene .inv-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--glass-bd); }
.scene .pills { background: rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--glass-bd); }
.scene .pills a { color: var(--ink); border-color: var(--glass-bd); }
.scene .rsvp label, .scene .rsvp legend { color: var(--ink); }
.scene .qr { border-color: transparent; }
.swatches { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.swatches small { font: 800 .62rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-left: 4px; }
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
/* Boutons flottants : musique et menu */
.dock { position: fixed; z-index: 20; left: max(14px, calc(50% - 226px)); right: max(14px, calc(50% - 226px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; pointer-events: none; }
.dock-btn { pointer-events: auto; width: 62px; height: 62px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 1px; color: #fff; background: linear-gradient(160deg, var(--accent), var(--sky2));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.dock-menu { margin-left: auto; border-radius: 50%; }
.dk-ico { font-size: 1.25rem; line-height: 1; }
.dk-txt { font: 800 .5rem var(--body); letter-spacing: .12em; text-transform: uppercase; }
.dock-btn.on .dk-ico { animation: beat 1s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.25); } }
.dock-sheet { position: fixed; z-index: 21; right: max(14px, calc(50% - 226px)); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); width: min(280px, calc(100vw - 28px));
  max-height: 60vh; overflow-y: auto; display: grid; padding: 8px; border-radius: 20px; background: rgba(15, 12, 24, .82); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.dock-sheet a { padding: 11px 14px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.dock-sheet a:hover { background: rgba(255, 255, 255, .1); }

/* Thèmes des modèles « scène » */
.inv-emeraude { --sky1: #03110C; --sky2: #0A3A2B; --sky3: #0F513D; --med: radial-gradient(circle at 35% 30%, #1B7A5C, #0B3D2E 72%); --med-ink: #E7C65C;
  --gold: linear-gradient(180deg, #FFF2C2, #D4AF37 60%, #9C7A22); --gold-solid: #D9B64A; --accent: #B8902E; --soft: #CFE0D6; --script: "Pinyon Script", cursive; --swash: #B8902E; }
.inv-emeraude .scene-sky .motif { opacity: .1; background:
  repeating-linear-gradient(60deg, transparent 0 22px, var(--gold-solid) 22px 23px), repeating-linear-gradient(-60deg, transparent 0 22px, var(--gold-solid) 22px 23px); }
.inv-royal { --sky1: #050B26; --sky2: #0F2275; --sky3: #1D3FA8; --med: radial-gradient(circle at 35% 30%, #2C55D6, #10237A 72%); --med-ink: #F2C94C;
  --gold: linear-gradient(180deg, #FFF0B8, #E6B941 60%, #A97F1E); --gold-solid: #EBC251; --accent: #E0A82E; --soft: #C9D5FF; --script: "Cinzel Decorative", serif; --dc-bg: #FFF8E8; --swash: #B07A10; }
.inv-royal .scene-sky .motif { opacity: .12; background: repeating-conic-gradient(from 45deg, var(--gold-solid) 0 25%, transparent 0 50%) 0 0 / 26px 26px; }
.inv-royal .hosts { font-size: clamp(2.2rem, 10vw, 2.9rem); font-weight: 700; letter-spacing: .02em; }
.inv-royal .inv-btn { color: #0B1440; }
.inv-aurore { --sky1: #FFF6F1; --sky2: #FBE3DD; --sky3: #F5CFC4; --ink: #4A2C2A; --soft: #8A6560; --accent: #D27C6B; --line: rgba(160, 90, 80, .2);
  --gold: linear-gradient(180deg, #E7A07F, #C0646B); --gold-solid: #C9786A; --med: radial-gradient(circle at 35% 30%, #fff, #FBDCD4 75%); --med-ink: #C9786A;
  --panel: rgba(255, 255, 255, .62); --glass: rgba(255, 255, 255, .55); --glass-bd: rgba(190, 120, 110, .25); --script: "Parisienne", cursive; --display: "Cormorant Garamond", serif;
  color-scheme: light; }
.inv-aurore .scene-sky .motif { opacity: .5; background:
  radial-gradient(circle at 10% 8%, rgba(255, 255, 255, .9) 0 40px, transparent 41px), radial-gradient(circle at 92% 30%, rgba(240, 170, 150, .5) 0 70px, transparent 71px),
  radial-gradient(circle at 15% 70%, rgba(240, 170, 150, .35) 0 90px, transparent 91px); }
.inv-aurore .scene-sky .sparkles, .inv-jardin .scene-sky .sparkles { display: none; }
.inv-aurore .guest-pill, .inv-aurore .countdown div, .inv-jardin .guest-pill, .inv-jardin .countdown div { background: rgba(255, 255, 255, .6); }
.inv-aurore .dock-sheet, .inv-jardin .dock-sheet { background: rgba(255, 255, 255, .92); }
.inv-aurore .dock-sheet a, .inv-jardin .dock-sheet a { color: var(--ink); }
.inv-neon { --sky1: #04040A; --sky2: #0D0A1E; --sky3: #1A0B33; --ink: #F5F3FF; --soft: #B8B2D9; --accent: #A855F7; --gold-solid: #22D3EE;
  --gold: linear-gradient(90deg, #22D3EE, #A855F7 55%, #F472B6); --med: radial-gradient(circle at 35% 30%, #1D1440, #07060F 72%); --med-ink: #22D3EE;
  --script: "Syne", sans-serif; --display: "Syne", sans-serif; --dc-bg: #0F0D1E; --dc-ink: #F5F3FF; --swash: #A855F7; --pin: #A855F7; }
.inv-neon .scene-sky .motif { opacity: .18; background: linear-gradient(#A855F7 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, #22D3EE 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.inv-neon .hosts { font-weight: 800; font-size: clamp(2.3rem, 11vw, 3rem); letter-spacing: -.02em; filter: drop-shadow(0 0 18px rgba(168, 85, 247, .55)); }
.inv-neon .medallion { border-color: #22D3EE; box-shadow: 0 0 30px rgba(34, 211, 238, .55), 0 0 0 10px rgba(168, 85, 247, .12); }
.inv-neon .date-card { border: 1px solid rgba(168, 85, 247, .5); box-shadow: 0 0 40px rgba(168, 85, 247, .25); }
.inv-neon .dc-addr { color: var(--soft); }
.inv-jardin { --sky1: #F6F2E8; --sky2: #E8EEE2; --sky3: #D3DFCD; --ink: #2F3B2E; --soft: #6B7A68; --accent: #6F8F6B; --line: rgba(80, 110, 80, .2);
  --gold: linear-gradient(180deg, #7FA27A, #4E6B4B); --gold-solid: #5E7E5A; --med: radial-gradient(circle at 35% 30%, #fff, #E3ECDD 75%); --med-ink: #5E7E5A;
  --panel: rgba(255, 255, 255, .68); --glass: rgba(255, 255, 255, .55); --glass-bd: rgba(94, 126, 90, .22); --script: "Allura", cursive; --display: "Cormorant Garamond", serif;
  --swash: #6F8F6B; color-scheme: light; }
.inv-jardin .scene-sky .motif { opacity: .3; background:
  radial-gradient(ellipse 60px 20px at 8% 12%, #8FA98C 98%, transparent), radial-gradient(ellipse 20px 60px at 92% 22%, #8FA98C 98%, transparent),
  radial-gradient(ellipse 70px 22px at 90% 64%, #A9BFA6 98%, transparent), radial-gradient(ellipse 22px 70px at 6% 78%, #A9BFA6 98%, transparent); }
.scene .answer-yes { background: rgba(110, 231, 183, .16); color: #A7F3D0; }
.scene .table-badge b, .scene .qr-block b, .scene .short-code b { color: var(--gold-solid); }
.inv-aurore .answer-yes, .inv-jardin .answer-yes { color: #0F7A55; background: rgba(16, 150, 100, .12); }
.inv-aurore .short-code b, .inv-jardin .short-code b { color: var(--ink); }

/* Carte des boissons illustrée */
.drink-pick { border: 0; padding: 0; margin: 6px 0; }
.drink-pick legend { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.drink-pick legend small { font: 500 .75rem var(--body); color: var(--soft); }
.drink-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.drink-card { position: relative; display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); cursor: pointer; font-weight: 500 !important; transition: transform .2s, box-shadow .2s; }
.drink-card input { position: absolute; opacity: 0; }
.drink-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.drink-ph { display: grid; place-items: center; aspect-ratio: 1; font-size: 2.6rem; background: rgba(255, 255, 255, .06); }
.drink-name { display: grid; padding: 8px 10px; text-align: left; line-height: 1.2; }
.drink-name b { font-size: .92rem; }
.drink-name small { color: var(--soft); font-size: .72rem; }
.drink-card:has(input:checked) { box-shadow: 0 0 0 3px var(--accent); transform: translateY(-2px); }
.drink-card:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.drink-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
