/* Not My Event: the look of "The Golden Hour" (public/templates/christmas-eve-golden-hour.html). One page that scrolls DOWN through five scenes. Scene 1 has a pinned picture
   behind its words (.stage); scenes 2, 3 and 4 are whole-screen pictures in the flow (.full) with the things to touch laid over them, so a button always sits on what it
   belongs to. Nothing has to be finished to go on. The scroll frame in goldenhour.js writes only transform and opacity on a few layers.
   The palette is strict: ivory and white, champagne and gold, silver, and neutral shadow. No red, green, blue or pink. */
:root { --ac: #D0B078; --ac2: #F3E1B8; --night: #1C1B18; --dusk: #3A3832; --plum: #3A3832; --cran: #A78650; --cream: #FFFEFB; --ink: #2A2823; --ed: 'Cormorant Garamond', Georgia, serif; --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--sans); line-height: 1.45; overflow-x: clip; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 9100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #F3E1B8; outline-offset: 3px; }

/* ---------- the two controls at the top, the details pill, the sound hint ---------- */
#menu-wrap { position: fixed; left: 10px; top: 10px; z-index: 9040; }
#b-menu { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid rgba(255, 254, 251, .4); background: rgba(28, 27, 24, .92); color: #fff; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
#menu { margin-top: 8px; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(28, 27, 24, .98); border: 1px solid rgba(255, 254, 251, .25); min-width: 230px; }
#menu button { min-height: 44px; text-align: left; padding: 0 12px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 15px; }
#menu button[aria-pressed="true"] { background: var(--ac); color: var(--ink); }
#ev-pill { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9030; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid rgba(255, 254, 251, .45); background: rgba(28, 27, 24, .94); color: #fff; font-size: 13px; letter-spacing: .04em; }
#snd-hint { position: fixed; left: 50%; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 48px); transform: translateX(-50%); z-index: 9030; padding: 6px 12px; border-radius: 14px; background: rgba(28, 27, 24, .94); color: #fff; font-size: 12px; white-space: nowrap; transition: opacity .4s; pointer-events: none; }
#snd-hint.gone { opacity: 0; }

/* ---------- a scene: a pinned picture, and the words in front ---------- */
.sc { position: relative; background: var(--night); }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; z-index: 0; }
.flow { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100lvh; }
.flow, .beat { pointer-events: none; }
.beat > * { pointer-events: auto; }
.ly, .ov { position: absolute; inset: 0; pointer-events: none; }
.ly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ov { opacity: 0; z-index: 4; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 76px 16px 96px; text-align: center; }
.beat.tall { min-height: 120vh; justify-content: flex-start; padding-top: 15vh; }
.beat.top { justify-content: flex-start; padding-top: 84px; }
.beat.out { min-height: 70vh; justify-content: flex-end; padding-bottom: 24vh; }
.cue { font-weight: 900; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 16px; background: rgba(28, 27, 24, .9); color: #fff; }
.cue::after { content: '  ↓'; }
.linkish { background: none; border: 0; padding: 10px 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: inherit; opacity: .9; }
.linkish.light { color: #fff; background: rgba(28, 27, 24, .85); border-radius: 12px; }
.minor { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; }
.fine { font-size: 12.5px; opacity: .85; }
.fine.light { padding: 4px 12px; border-radius: 12px; background: rgba(28, 27, 24, .8); }
.plate { font-weight: 900; letter-spacing: .16em; font-size: clamp(11px, 3.1vw, 14px); padding: 8px 16px; border-radius: 20px; background: rgba(28, 27, 24, .9); color: var(--ac2); border: 1px solid var(--ac); }
.pre { font-family: var(--ed); font-weight: 600; letter-spacing: .5em; font-size: clamp(14px, 4vw, 20px); color: var(--ac2); margin-bottom: -10px; padding-left: .5em; }
.order { font-family: var(--ed); font-weight: 700; font-size: clamp(44px, 13vw, 104px); line-height: .98; max-width: 8em; color: var(--ac2); text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 34px rgba(243, 225, 184, .55); overflow-wrap: anywhere; }
/* the storyteller's lines */
.narr { font-family: var(--ed); font-style: italic; font-weight: 500; font-size: clamp(19px, 5.2vw, 26px); line-height: 1.25; max-width: 24em; padding: 9px 16px; border-radius: 14px; background: rgba(28, 27, 24, .8); color: var(--cream); overflow-wrap: anywhere; }
.narr.big { font-size: clamp(24px, 6.8vw, 40px); font-weight: 600; line-height: 1.15; max-width: 16em; }
.narr:empty { display: none; }
body.nonarr .narr:not(.key) { display: none; }
.btn-big { min-height: 56px; padding: 10px 26px; border-radius: 30px; border: 2px solid var(--ac2); background: linear-gradient(180deg, #5C5952, #3A3832); color: #fff; font-weight: 900; font-size: clamp(15px, 4.2vw, 19px); line-height: 1.2; letter-spacing: .05em; box-shadow: 0 5px 0 #1C1B18, 0 0 24px rgba(243, 225, 184, .35); touch-action: manipulation; max-width: 100%; }
.btn-big:active { transform: translateY(3px); box-shadow: 0 2px 0 #1C1B18; }
.btn-big.champ { background: linear-gradient(180deg, #F3E1B8, #D0B078); color: var(--ink); border-color: var(--ink); box-shadow: 0 5px 0 #A78650; }
.unit { width: 100%; max-width: 520px; padding: 20px 14px 14px; border-radius: 20px; display: grid; gap: 12px; justify-items: center; }
.unit h2 { font-family: var(--ed); font-weight: 700; font-size: clamp(25px, 6.6vw, 34px); line-height: 1.1; color: var(--ac2); }
.unit.glass { background: linear-gradient(180deg, rgba(58, 56, 50, .92), rgba(28, 27, 24, .96)); border: 1px solid rgba(243, 225, 184, .5); box-shadow: 0 16px 44px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); }

/* ---------- 5. the invitation ---------- */
#s5 .beat { padding-top: 120px; }
.invite { position: relative; width: 100%; max-width: 600px; padding: clamp(50px, 11vw, 62px) clamp(16px, 5vw, 40px) clamp(20px, 5vw, 34px); display: grid; gap: 11px; justify-items: center; color: var(--ink); background: linear-gradient(180deg, #FFFDF6, #F4E8CE); border-radius: 8px; box-shadow: inset 0 0 0 2px #FFFDF6, inset 0 0 0 4px #D0B078, inset 0 0 0 7px #FFFDF6, inset 0 0 0 8px #A78650, 0 26px 50px rgba(0, 0, 0, .55); }
.s-seal { position: absolute; left: 50%; top: -62px; width: 92px; margin-left: -46px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); transform-origin: 50% 0; } .s-seal svg { display: block; width: 100%; height: auto; }
#s5.open .s-seal { animation: hang 1.8s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes hang { from { transform: translateY(-120px) rotate(-18deg); opacity: 0; } 55% { transform: rotate(8deg); opacity: 1; } 80% { transform: rotate(-4deg); } to { transform: none; } }
#s5.open .invite { animation: bloom 1.1s ease .2s both; }
@keyframes bloom { from { opacity: 0; transform: scale(.94); } }
.s-top { font-weight: 900; font-size: clamp(11px, 3.1vw, 13px); letter-spacing: .22em; color: var(--cran); }
#t-title { font-family: var(--ed); font-style: italic; font-weight: 700; font-size: clamp(27px, 7.6vw, 42px); line-height: 1.08; overflow-wrap: anywhere; }
.invite .rule { width: 60%; height: 3px; background: linear-gradient(90deg, transparent, #D0B078, transparent); }
.invite .event { font-family: var(--ed); font-weight: 700; font-size: clamp(22px, 6vw, 30px); line-height: 1.15; overflow-wrap: anywhere; min-height: 1.1em; }
.invite .when { font-weight: 900; font-size: clamp(16px, 4.6vw, 20px); }
.invite .where { font-size: clamp(15px, 4.3vw, 18px); overflow-wrap: anywhere; }
.invite .dress, .invite .with { font-size: 15px; overflow-wrap: anywhere; }
.invite .note { font-family: var(--ed); font-style: italic; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.3; max-width: 26em; overflow-wrap: anywhere; }
.invite .closing { font-family: var(--ed); font-style: italic; font-weight: 600; font-size: clamp(18px, 5vw, 22px); color: var(--cran); overflow-wrap: anywhere; }
.acts, .row-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; border-radius: 24px; border: 2px solid var(--ac); background: var(--ac); color: var(--ink); font-weight: 900; font-size: 15px; letter-spacing: .03em; }
.btn.ghost { background: transparent; color: var(--ac); }
.invite .btn { border-color: var(--plum); background: var(--plum); color: var(--cream); } .invite .btn.ghost { background: transparent; color: var(--plum); }
.btn:disabled { opacity: .5; }

/* ---------- the details, the reply, the Golden Place Card ---------- */
.after { position: relative; z-index: 2; background: #23221E; color: var(--cream); padding: 30px 16px calc(96px + env(safe-area-inset-bottom)); display: grid; gap: 34px; justify-items: center; }
.after section { width: 100%; max-width: 560px; display: grid; gap: 14px; }
.after h2 { font-family: var(--ed); font-weight: 700; font-size: 30px; color: var(--ac); }
.det { display: grid; gap: 11px; }
.det div { display: grid; gap: 1px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 254, 251, .2); }
.det dt { font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.det dd { font-size: 17px; overflow-wrap: anywhere; }
.row-acts { justify-content: flex-start; }
.going { font-size: 14px; color: var(--ac2); }
#rsvp-form { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; font-size: 14px; color: #E6E7E9; }
.f input[type="text"], .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 254, 251, .5); background: var(--night); color: #fff; font: inherit; font-size: 16px; }
.ans { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ans label { display: flex; gap: 10px; align-items: center; min-height: 54px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(255, 254, 251, .35); background: var(--night); font-size: 15px; cursor: pointer; overflow-wrap: anywhere; }
.ans label:has(input:checked) { border-color: var(--ac); background: #3A3832; box-shadow: inset 0 0 0 1px var(--ac); }
.ans input { width: 20px; height: 20px; accent-color: var(--ac); flex: none; }
.ans b { color: var(--ac2); }
.step { display: flex; align-items: center; gap: 14px; }
.step button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ac); background: transparent; color: var(--ac); font-size: 22px; }
.step output { min-width: 1.5em; text-align: center; font-size: 20px; color: #fff; }
#err { min-height: 1.3em; font-size: 14px; color: #E6E7E9; } #err.err { color: #FFFEFB; }
#done { display: grid; gap: 8px; padding: 18px; border-radius: 14px; border: 1px solid var(--ac); background: var(--night); justify-items: start; }
#done-t { font-family: var(--ed); font-weight: 700; font-size: 28px; color: var(--ac2); } #done-t:focus { outline: none; }
#r-closed { padding: 14px; border-radius: 10px; background: var(--night); }
#card { text-align: center; justify-items: center; padding: 24px 16px; border-radius: 22px; background: var(--night); border: 1px solid var(--ac); }
#card .c-top { font-weight: 900; letter-spacing: .2em; font-size: 12.5px; color: var(--ac); }
.after .c-h { font-family: var(--ed); font-style: italic; font-weight: 700; font-size: clamp(28px, 8vw, 40px); line-height: 1.1; color: #fff; max-width: 12em; overflow-wrap: anywhere; }
#card-cv { display: block; width: min(100%, 300px); height: auto; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.c-acts { justify-content: center; }
.foot { font-size: 12px; opacity: .65; text-align: center; max-width: 30em; }


/* ---------- strictly ivory, gold, silver and neutral shadow: the few things the shared frame coloured otherwise ---------- */
#err.err { font-weight: 900; text-decoration: underline; text-decoration-color: var(--ac); text-underline-offset: 4px; }
.invite :focus-visible { outline-color: #5C5952; }
.beat.first { justify-content: flex-start; padding-top: 72px; gap: 10px; }
.beat.first .order { font-style: italic; font-size: clamp(40px, 12vw, 92px); color: #FFFEFB; text-shadow: 0 2px 0 rgba(0, 0, 0, .4), 0 0 34px rgba(243, 225, 184, .5); }
.beat.first .narr.big { font-size: clamp(20px, 5.6vw, 32px); }
.beat.short { min-height: 56vh; }
.sub { font-family: var(--ed); font-style: italic; font-size: clamp(17px, 4.6vw, 24px); color: var(--ac2); margin-top: -6px; }
a.linkish { display: inline-flex; align-items: center; }
.btn-big.champ { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #F3E1B8, #D0B078); color: #2A2823; border-color: #FFFEFB; }
.fl-ico { width: 20px; flex: none; } .fl-ico svg { display: block; width: 100%; height: auto; }
.progress { font-weight: 900; font-size: 14px; color: var(--ac2); padding: 4px 12px; border-radius: 12px; background: rgba(28, 27, 24, .82); }

/* ---------- 1. the room: dark until the candles are lit, front to back, then the tree ---------- */
#s1 .dim { background: #0E0D0B; opacity: .8; transition: opacity 2.6s ease .3s; }
#s1 .glow, #s1 .lights { opacity: 0; transition: opacity 2s ease; }
#s1 .crystal { transition: opacity 1.6s ease; }
#s1 .fl { opacity: 0; transition: opacity .7s ease; }
#s1.lit .dim { opacity: 0; } #s1.lit .crystal { opacity: .25; }
#s1.lit .fl { opacity: 1; } #s1.lit .fl.k1 { transition-delay: .4s; } #s1.lit .fl.k2 { transition-delay: .8s; } #s1.lit .fl.k3 { transition-delay: 1.3s; } #s1.lit .fl.k4 { transition-delay: 1.8s; }
#s1.lit .glow { opacity: 1; transition-delay: .6s; } #s1.lit .lights { opacity: 1; transition-delay: 2.8s; }
#s1.quiet * { transition: none !important; }
#s1.lit #b-light { display: none; }

/* ---------- 2, 3 and 4: the whole screen is the picture, and what can be touched is laid over it ---------- */
.full { position: relative; width: 100%; height: max(100vh, 620px); overflow: hidden; pointer-events: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
@supports (height: 100svh) { .full { height: max(100svh, 620px); } }
.full-art, .full-art svg { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.full-head { position: absolute; left: 0; right: 0; top: 72px; z-index: 4; display: grid; justify-items: center; gap: 7px; padding: 0 14px; pointer-events: none; text-align: center; }
.full-cap { position: absolute; left: 50%; bottom: 60px; z-index: 5; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px); padding: 10px 18px; border-radius: 14px; background: rgba(28, 27, 24, .9); color: #FFFEFB; font-family: var(--ed); font-style: italic; font-size: clamp(19px, 5.2vw, 26px); line-height: 1.25; text-align: center; overflow-wrap: anywhere; pointer-events: none; }
.full-cap:empty { display: none; }

/* the place card: a real button over the drawn table */
#setting .spot, #setting .neigh { opacity: 0; transition: opacity 1.6s ease; } #setting .neigh { transition-delay: 1s; }
#setting.claimed .spot { opacity: 1; } #setting.claimed .neigh { opacity: .8; }
#setting .chairg { transition: transform 1.4s cubic-bezier(.3, 1, .4, 1) .3s; } #setting.claimed .chairg { transform: translateY(4%); }
.pcard { position: absolute; z-index: 3; display: grid; align-content: center; justify-items: center; gap: 2px; padding: 6px 10px; border: 0; border-radius: 3px; background: linear-gradient(180deg, #FFFEFB, #F8F6F0); color: #2A2823; box-shadow: 0 0 0 2px #D0B078, 0 0 0 5px #FFFEFB, 0 0 0 6px #D0B078, 0 14px 24px rgba(0, 0, 0, .28); touch-action: manipulation; overflow: hidden; }
.pc-mark { width: 44%; max-width: 120px; } .pc-mark svg { display: block; width: 100%; height: auto; }
.pc-name { font-family: 'Pinyon Script', 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 7.4vw, 44px); line-height: 1.05; color: #A78650; white-space: nowrap; max-width: 100%; overflow: hidden; }
.pc-name:empty { display: none; }
.pc-tap { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #5C5952; }
#setting.claimed .pc-tap { display: none; }
#setting.claimed .pc-name { animation: write 1.6s ease both; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.namebox { position: absolute; left: 50%; bottom: 112px; z-index: 5; transform: translateX(-50%); width: min(calc(100% - 28px), 380px); display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: rgba(28, 27, 24, .9); color: #FFFEFB; font-size: 13.5px; }
.nb-row { display: flex; gap: 8px; } .nb-row input { flex: 1; min-width: 0; min-height: 46px; padding: 8px 12px; border-radius: 10px; border: 1px solid #D0B078; background: #FFFEFB; color: #2A2823; font: inherit; font-size: 16px; }

/* the dinner: three things to touch, and the room warms as they are found */
#dinner .warm { opacity: 0; transition: opacity 1.4s ease; mix-blend-mode: multiply; }
#dinner.w1 .warm { opacity: .07; } #dinner.w2 .warm { opacity: .13; } #dinner.w3 .warm { opacity: .2; }
.mh { position: absolute; z-index: 3; border: 2px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.mh::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #FFFEFB; box-shadow: 0 0 0 5px rgba(208, 176, 120, .55), 0 0 22px #F3E1B8; animation: beacon 2.6s ease-in-out infinite alternate; }
.mh.on { border-color: #D0B078; } .mh.on::after { animation: none; background: #D0B078; box-shadow: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
@keyframes beacon { from { opacity: 1; } to { opacity: .45; } }

/* the presents: the ribbon lets go, the lid lifts, light comes out; then the little dining room grows until it fills the screen */
.gift { position: absolute; z-index: 3; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
.gift svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gift .g-light { opacity: 0; transition: opacity 1s ease .9s; }
.gift .g-rib { stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease; }
.gift .g-lid { transition: transform 1.1s cubic-bezier(.3, 1.2, .5, 1) .7s; transform-box: fill-box; transform-origin: 0% 100%; }
.gift .g-bow { transition: transform .8s ease, opacity .8s ease; transform-box: fill-box; transform-origin: 50% 100%; }
.gift.open .g-rib { stroke-dashoffset: 100; } .gift.open .g-bow { transform: translateY(-14px) scale(.6); opacity: 0; } .gift.open .g-lid { transform: translate(-6%, -70%) rotate(-16deg); } .gift.open .g-light { opacity: 1; }
#gifts.opened .gift:not(.open) { opacity: .45; transition: opacity 1s ease; }
.mini { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; opacity: 0; transform: scale(.06); transform-origin: var(--gx, 50%) var(--gy, 80%); transition: transform 2.6s cubic-bezier(.5, 0, .2, 1) 2s, opacity 1.2s ease 2s; }
.mini svg { display: block; width: 100%; height: 100%; }
#gifts.opened .mini { opacity: 1; transform: none; }
.g-lines { position: absolute; left: 0; right: 0; top: 30%; z-index: 5; display: none; justify-items: center; gap: 12px; padding: 0 14px; text-align: center; }
#gifts.opened .g-lines { display: grid; }
#gifts.opened #g1 { animation: fadeup 1s ease 4.6s both; } #gifts.opened #g2 { animation: fadeup 1s ease 7.2s both; } #gifts.opened #g3 { animation: fadeup 1.2s ease 9.8s both; } #gifts.opened #b-reveal { animation: fadeup .8s ease 12s both; }
#gifts.opened .full-head { opacity: 0; transition: opacity .8s ease 2s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } }
#gifts.quiet *, #gifts.quiet { transition: none !important; animation: none !important; }
#s4 .dark { background: var(--night); }

/* ---------- 5. the stationery ---------- */
.invite { background: linear-gradient(180deg, #FFFEFB, #F8F6F0); border-radius: 4px; box-shadow: 0 0 0 2px #D0B078, 0 0 0 8px #FFFEFB, 0 0 0 9px #C5C8CD, 0 24px 60px rgba(0, 0, 0, .35); }
.s-mark { width: 150px; } .s-mark svg { display: block; width: 100%; height: auto; }
.s-top { color: #A78650; }
#t-title { background: linear-gradient(100deg, #A78650, #D0B078 40%, #F3E1B8 50%, #A78650 62%, #A78650); -webkit-background-clip: text; background-clip: text; color: #A78650; -webkit-text-fill-color: transparent; }
.invite .msg { font-family: var(--ed); font-style: italic; font-size: clamp(19px, 5.2vw, 24px); line-height: 1.25; max-width: 22em; }
.invite .closing { color: #A78650; }
#s5.open .invite { animation: foil 1.4s ease .2s both; }
@keyframes foil { from { opacity: 0; transform: translateY(18px); filter: brightness(1.6); } }
.favs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.fav { min-height: 50px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 254, 251, .4); background: var(--night); color: #FFFEFB; font-weight: 700; font-size: 14.5px; }
.fav[aria-pressed="true"] { border-color: var(--ac); background: #3A3832; box-shadow: inset 0 0 0 1px var(--ac); color: var(--ac2); }
.addname { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14.5px; text-align: left; } .addname input { width: 20px; height: 20px; accent-color: #D0B078; flex: none; }

/* ---------- the small motion in the pictures (slow, and never a strobe) ---------- */
.tw { animation: shimmer 3.2s ease-in-out infinite alternate; } .tw.t1 { animation-delay: -.8s; } .tw.t2 { animation-delay: -1.6s; } .tw.t3 { animation-delay: -2.4s; }
@keyframes shimmer { from { opacity: 1; } to { opacity: .5; } }
.flick { animation: flick 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flick { from { transform: scale(1, 1); } 50% { transform: scale(.94, 1.06); } to { transform: scale(1.03, .96); } }
/* a scene off the screen rests */
.sc.off .stage *, .sc.off .flow * { animation-play-state: paused !important; }

/* ---------- reduced motion: every word and control stays; the camera and the performances go ---------- */
body.rm *, body.rm *::before, body.rm *::after { animation: none !important; transition: none !important; }
body.rm .ov { display: none; }
@media (max-width: 420px) { .beat { padding-left: 10px; padding-right: 10px; } .full-head { top: 64px; } .favs { grid-template-columns: 1fr; } }
