/* Not My Event: the look of "The Great Plate Debate" (public/templates/great-plate-debate.html). Two scenes, scrolled down.
   1. A dinner table that fills the screen: the plate in the middle, the buffet under it, the fork, the napkin, the gravy boat and the examiner's badge around it.
   2. A food-critic awards chamber (velvet, one spotlight), then the report, the dining-room doors, the invitation and the reply.
   The lettering (from the font library): Ranchers (a fat diner-menu face for every headline), Bungee Shade (the score machine's marquee numbers),
   Sansita Swashed (the critic: a gravy boat with a monocle talks in swashes), Sniglet (the dishes: round and a little silly), Sometype Mono (the official report),
   Albert Sans (everything plain). Everything is centred, and sized from the screen so it stays in proportion on a phone and on a desk. */
:root { --ink: #3A2214; --cream: #FFF6DC; --paper: #FFF8E7; --gold: #E8B93C; --wine: #7A1626; --wine2: #4A0E18; --wood: #6B3F1D; --night: #14060C; --gravy: #7A4A1E;
  --head: 'Ranchers', 'Arial Black', Impact, sans-serif; --marq: 'Bungee Shade', 'Arial Black', sans-serif; --crit: 'Sansita Swashed', Georgia, serif; --dish: 'Sniglet', 'Trebuchet MS', sans-serif; --mono: 'Sometype Mono', 'Courier New', monospace; --sans: 'Albert 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; }
[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 #7FD4F5; outline-offset: 3px; }
.pic, .pic svg { display: block; width: 100%; }
.pic svg { height: auto; overflow: visible; }

/* ---------- the two controls at the top, 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: 2px solid var(--gold); background: rgba(42, 20, 8, .94); color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
#menu { margin-top: 8px; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(42, 20, 8, .98); border: 2px solid var(--gold); 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(--gold); color: var(--ink); }
#snd-hint { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 9030; padding: 6px 12px; border-radius: 14px; background: rgba(42, 20, 8, .94); color: #fff; font-size: 12px; white-space: nowrap; transition: opacity .4s; pointer-events: none; }
#snd-hint.gone { opacity: 0; }

/* ---------- shared words ---------- */
.tag { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; font-size: clamp(10.5px, 2.9vw, 13.5px); padding: 6px 14px; border-radius: 3px; background: var(--cream); color: var(--wine); border: 2px solid var(--wine); }
.tag.gold { background: var(--night); color: var(--gold); border-color: var(--gold); }
.huge { font-family: var(--head); font-weight: 400; font-size: clamp(27px, 7.6vw, 58px); line-height: .98; letter-spacing: .01em; color: var(--cream); text-shadow: 0 3px 0 var(--ink); max-width: 12em; text-wrap: balance; overflow-wrap: anywhere; }
.narr { font-family: var(--crit); font-style: italic; font-weight: 500; font-size: clamp(14.5px, 4vw, 19px); line-height: 1.3; max-width: 30em; color: var(--cream); text-wrap: balance; overflow-wrap: anywhere; }
.narr.crit { font-size: clamp(17px, 4.7vw, 24px); font-weight: 700; padding: 8px 16px; border-radius: 14px; background: rgba(20, 6, 12, .82); border: 1px solid rgba(232, 185, 60, .5); }
.modeline { font-family: var(--mono); font-weight: 500; font-size: clamp(11.5px, 3.1vw, 14px); color: #FFE9B0; text-wrap: balance; }
.fine { font-size: 12.5px; opacity: .88; max-width: 34em; text-align: center; }
.fine.light { padding: 5px 14px; border-radius: 12px; background: rgba(20, 6, 12, .8); font-size: 14px; opacity: 1; }
.linkish { background: none; border: 0; padding: 8px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: #fff; }
.minor { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; }
.btn-big { min-height: 54px; padding: 8px 30px; border-radius: 30px; border: 3px solid var(--ink); background: linear-gradient(180deg, #FFD966, var(--gold)); color: var(--ink); font-family: var(--head); font-size: clamp(19px, 5.4vw, 25px); letter-spacing: .04em; line-height: 1.1; box-shadow: 0 5px 0 var(--ink); touch-action: manipulation; max-width: 100%; }
.btn-big:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; border-radius: 24px; border: 2px solid var(--gold); background: var(--gold); color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn:disabled { opacity: .5; }
.acts, .row-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.chal { font-family: var(--mono); font-weight: 500; font-size: clamp(12px, 3.3vw, 14.5px); padding: 8px 12px; border: 2px dashed var(--gold); border-radius: 8px; color: #FFE9B0; max-width: 34em; text-wrap: balance; }

/* ---------- 1. the table ---------- */
.sc { position: relative; }
#s1 { background: radial-gradient(ellipse 90% 60% at 50% 34%, #A66A33 0, #6B3F1D 55%, #3D2210 100%); }
#s1::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 46px, rgba(255, 220, 160, .04) 46px 48px, transparent 48px 120px); pointer-events: none; }
.table { position: relative; width: 100%; max-width: 900px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 64px 10px 0; display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 1.5svh, 16px); text-align: center; }
.head { display: grid; justify-items: center; gap: clamp(4px, 1svh, 9px); }
.bench { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(4px, 2vw, 22px); margin-top: clamp(8px, 2.4svh, 26px); }
.tools { display: grid; gap: clamp(8px, 2svh, 18px); justify-items: center; }
.tool { width: clamp(56px, 16vw, 104px); padding: 0; border: 0; background: none; display: grid; justify-items: center; gap: 2px; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
#b-undo .pic { width: 44%; } #b-wipe .pic { width: 78%; }
.tool b, .dish b, .badge b { font-family: var(--dish); font-weight: 800; font-size: clamp(10.5px, 2.9vw, 13px); line-height: 1.1; padding: 3px 9px; border-radius: 10px; background: var(--ink); color: var(--cream); white-space: nowrap; }
.tool:active .pic { transform: scale(.94); }
.tool:disabled { opacity: .45; }
.tool.boat .pic { transform-origin: 70% 80%; }
.tool.boat.pour .pic { animation: tilt .5s ease; }
@keyframes tilt { 40% { transform: rotate(-32deg) translate(-8%, -6%); } }
.pl-drip { opacity: 0; } .tool.boat.pour .pl-drip { animation: drip .5s ease; }
@keyframes drip { 30%, 70% { opacity: 1; } }
.platebox { position: relative; width: min(58vw, 42svh, 400px); aspect-ratio: 1; }
.plate-art, .plate-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.platebox.over .plate-art { filter: drop-shadow(0 0 14px #FFE38A); }
.platebox.nope { animation: wob .4s ease; }
.platebox.spin { animation: spin .9s cubic-bezier(.5, 0, .3, 1); }
@keyframes spin { to { transform: rotate(720deg) scale(.5); opacity: .3; } }
.empty { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--dish); font-size: clamp(13px, 3.6vw, 17px); color: #B9A98A; pointer-events: none; }
.piles { position: absolute; inset: 0; }
.pile { position: absolute; padding: 0; border: 0; background: none; transform: translateX(-50%); touch-action: manipulation; animation: plop .32s cubic-bezier(.3, 1.6, .5, 1) both; }
.pile svg { display: block; width: 100%; height: auto; overflow: visible; }
.pile.old { animation: none; }
/* the gravy lies over everything on the plate; it is only a picture, so a tap goes through it to the dish underneath */
.gravy-over { position: absolute; inset: 0; z-index: 400; pointer-events: none; }
.gravy-over svg { display: block; width: 100%; height: 100%; }
@keyframes plop { from { transform: translateX(-50%) translateY(-40%) scale(.6); opacity: 0; } }
.pile.talk, .dish.talk .pic, .tool.talk .pic { animation: wob .5s ease; }
@keyframes wob { 25% { rotate: -7deg; } 60% { rotate: 6deg; } }
/* the examiner's badge hovers over the corner of the plate: it keeps count, and it speaks */
.badge { position: absolute; z-index: 500; right: -9%; top: -11%; width: 27%; min-width: 54px; padding: 0; border: 0; background: none; display: grid; justify-items: center; touch-action: manipulation; animation: hover 3.4s ease-in-out infinite alternate; }
.badge b { margin-top: -18%; position: relative; background: var(--wine); border: 2px solid var(--gold); font-family: var(--mono); font-size: clamp(11px, 3vw, 14px); }
@keyframes hover { from { translate: 0 -4px; } to { translate: 0 5px; } }
.badge.talk .pic { animation: wob .5s ease; }
.hint { font-size: clamp(12px, 3.3vw, 14.5px); color: #FFE9B0; max-width: 30em; text-wrap: balance; }
/* the buffet: each dish on its own serving plate */
.buffet { width: 100%; max-width: 640px; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(6px, 1.4svh, 12px) clamp(4px, 1.6vw, 12px); }
.dish { position: relative; width: clamp(60px, 17.6vw, 96px); padding: 0; border: 0; background: none; display: grid; justify-items: center; gap: 3px; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.dish .pic { aspect-ratio: 1; border-radius: 50%; padding: 9%; background: radial-gradient(circle, #FFFDF6 0 58%, #E9DFC6 59% 66%, #FFFDF6 67%); border: 3px solid var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .3); }
.dish b { white-space: normal; text-align: center; font-weight: 400; background: none; color: var(--cream); padding: 0 2px; font-size: clamp(10.5px, 2.8vw, 13px); }
.dish:active .pic { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.dish .n { position: absolute; right: 2%; top: -3%; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--wine); border: 2px solid var(--gold); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; line-height: 18px; }
.dish.dragging { opacity: .45; }
/* steam: these dishes are hot */
.dish.hot::before, .dish.hot::after { content: ''; position: absolute; left: 38%; top: -2%; width: 9%; height: 22%; border-radius: 50%; border-left: 3px solid rgba(255, 255, 255, .65); animation: steam 2.6s ease-in-out infinite; pointer-events: none; }
.dish.hot::after { left: 56%; animation-delay: 1.3s; }
@keyframes steam { from { transform: translateY(30%) scaleY(.6); opacity: 0; } 40% { opacity: .9; } to { transform: translateY(-70%) scaleY(1.2); opacity: 0; } }
.ghost-dish { position: fixed; z-index: 9000; width: 84px; margin: -42px 0 0 -42px; pointer-events: none; filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .4)); will-change: transform; left: 0; top: 0; }
.ghost-dish svg { display: block; width: 100%; height: auto; }
/* the bar that stays in reach: the defense, the submit, the way out */
.bar { position: sticky; bottom: 0; z-index: 6; width: 100%; margin-top: auto; padding: 14px 6px calc(8px + env(safe-area-inset-bottom)); display: grid; gap: 6px; justify-items: center; background: linear-gradient(180deg, rgba(61, 34, 16, 0), rgba(42, 20, 8, .96) 26%); }
.defend { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.defend::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 4px 11px; border-radius: 20px; border: 2px solid var(--cream); background: rgba(42, 20, 8, .9); color: var(--cream); font-family: var(--dish); font-size: clamp(11.5px, 3.2vw, 14.5px); white-space: nowrap; touch-action: manipulation; }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

/* a speech bubble, right at whoever is speaking */
.bubble { position: absolute; z-index: 20; left: 0; top: 0; width: max-content; max-width: min(80vw, 330px); padding: 9px 14px; border-radius: 18px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .28); font-family: var(--dish); font-size: clamp(14.5px, 4vw, 17.5px); line-height: 1.22; text-align: center; pointer-events: none; animation: bub .26s cubic-bezier(.3, 1.5, .5, 1) both; }
.bubble::after { content: ''; position: absolute; left: var(--tx, 50%); bottom: -11px; width: 16px; height: 16px; margin-left: -8px; background: var(--cream); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.bubble.below::after { bottom: auto; top: -11px; transform: rotate(225deg); }
.bubble b { display: block; margin-top: 4px; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: var(--wine); text-transform: uppercase; }
.bubble b:empty { display: none; }
.bubble.crit { font-family: var(--crit); font-style: italic; font-weight: 500; }
@keyframes bub { from { transform: scale(.6); opacity: 0; } }

/* ---------- 2. the chamber ---------- */
#s2 { background: var(--night); }
.full { position: relative; min-height: max(100vh, 680px); min-height: max(100svh, 680px); overflow: hidden; display: grid; }
.full-art, .full-art svg { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.court { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.8svh, 16px); padding: 82px 12px 34px; text-align: center; }
.dais { width: min(100%, 620px); display: grid; grid-template-columns: 1fr 1.9fr 1fr; align-items: end; gap: clamp(4px, 2vw, 16px); padding: 0 clamp(26px, 9vw, 60px); }
.critic, .stand, .machine { position: relative; padding: 0; border: 0; background: none; display: block; touch-action: manipulation; }
.critic .pic { transform-origin: 50% 90%; } .critic.talk .pic { animation: wob .6s ease; }
.stand .ped { display: block; width: 78%; margin: -9% auto 0; } .stand .ped svg { display: block; width: 100%; height: clamp(34px, 9vw, 60px); }
.stand .pic { position: relative; z-index: 1; }
#s2.judged .stand .pic { animation: land .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes land { from { transform: translateY(-60%) rotate(-200deg) scale(.5); opacity: 0; } }
#score-n { position: absolute; left: 13.3%; width: 60%; top: 27.4%; height: 29.4%; display: grid; place-items: center; font-family: var(--marq); font-size: clamp(17px, 5.6vw, 38px); line-height: 1; color: #FFD23F; }
.machine.roll #score-n { animation: flick .12s steps(2) infinite; }
@keyframes flick { 50% { opacity: .5; transform: translateY(-6%); } }
.pl-lever { transform-box: view-box; transform-origin: 122px 104px; transition: transform .25s ease; }
.machine.roll .pl-lever, .machine:active .pl-lever { transform: rotate(70deg); }
.pl-bulb.b0 { animation: bulb 1s steps(2) infinite; } .pl-bulb.b1 { animation: bulb 1s steps(2) .5s infinite; }
@keyframes bulb { 50% { fill: #7A5A1E; } }
#chamber:not(.judged) .machine { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 80%, 100% { transform: none; } 88% { transform: rotate(-3deg); } 94% { transform: rotate(3deg); } }
.vbox { display: grid; justify-items: center; gap: clamp(6px, 1.4svh, 12px); width: min(100%, 620px); }
.vscore { font-family: var(--mono); font-weight: 700; letter-spacing: .1em; font-size: clamp(12px, 3.3vw, 15px); color: var(--gold); }
.verdict { font-family: var(--head); font-weight: 400; font-size: clamp(32px, 9.4vw, 66px); line-height: .96; color: var(--gold); text-shadow: 0 3px 0 var(--wine2), 0 0 26px rgba(232, 185, 60, .45); text-wrap: balance; overflow-wrap: anywhere; }
.verdict.slam { animation: slam .4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes slam { from { transform: scale(2.2) rotate(-4deg); opacity: 0; } }
.vline { font-family: var(--crit); font-style: italic; font-weight: 700; font-size: clamp(18px, 5vw, 26px); line-height: 1.2; color: var(--cream); text-wrap: balance; }
.vwhy, .vdef { font-family: var(--mono); font-weight: 500; font-size: clamp(12.5px, 3.4vw, 15px); color: #FFE9B0; max-width: 32em; text-wrap: balance; }

/* the report and the card to share */
.mono { font-family: var(--mono); font-size: 14px; max-width: 34em; overflow-wrap: anywhere; } .mono.pre { white-space: pre-line; } .mono:empty { display: none; }

/* the hall: the critic's last word, then the dining-room doors. The doors are the thing to touch; the invitation is behind them. */
.hall { display: grid; justify-items: center; gap: 18px; padding: 30px 14px 56px; background: linear-gradient(180deg, var(--night), #2A0F1A 40%, #3D2210); }
.doorway { position: relative; width: 100%; max-width: 600px; }
.doors { position: absolute; inset: -8px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; padding: 0; border: 0; background: none; perspective: 1400px; touch-action: manipulation; }
.door { position: relative; display: block; background: linear-gradient(90deg, #5A3318, #7A4A24 50%, #5A3318); border: 4px solid var(--ink); box-shadow: inset 0 0 0 10px #6B3F1D, inset 0 0 0 13px rgba(0, 0, 0, .35), inset 0 0 0 30px #7A4A24, inset 0 0 0 33px rgba(0, 0, 0, .3); transition: transform 1.1s cubic-bezier(.5, 0, .2, 1); backface-visibility: hidden; }
.door.l { transform-origin: 0 50%; border-radius: 12px 0 0 4px; } .door.r { transform-origin: 100% 50%; border-radius: 0 12px 4px 0; }
.door i { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF1B8, var(--gold) 55%, #9A7417); border: 2px solid var(--ink); }
.door.l i { right: 12px; } .door.r i { left: 12px; }
.knock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin-top: 46px; padding: 8px 18px; border-radius: 20px; background: var(--ink); color: var(--cream); border: 2px solid var(--gold); font-family: var(--dish); font-weight: 800; font-size: 16px; white-space: nowrap; animation: hover 1.6s ease-in-out infinite alternate; }
.doors.open { pointer-events: none; } .doors.open .door.l { transform: rotateY(-104deg); } .doors.open .door.r { transform: rotateY(104deg); } .doors.open .knock { display: none; }
.doors.gone { display: none; }
.invite { position: relative; width: 100%; padding: clamp(26px, 7vw, 44px) clamp(16px, 5vw, 40px) clamp(22px, 5vw, 34px); display: grid; gap: 11px; justify-items: center; text-align: center; color: var(--ink); background: var(--paper); border-radius: 6px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--wine), inset 0 0 0 9px var(--paper), inset 0 0 0 10px var(--gold), 0 26px 50px rgba(0, 0, 0, .55); }
.invite .s-top { font-family: var(--mono); font-weight: 700; font-size: clamp(10.5px, 2.9vw, 13px); letter-spacing: .1em; text-transform: uppercase; color: var(--paper); background: var(--wine); padding: 5px 12px; border-radius: 3px; text-wrap: balance; }
.invite h1 { font-family: var(--head); font-weight: 400; font-size: clamp(32px, 9vw, 54px); line-height: 1; color: var(--wine); text-wrap: balance; overflow-wrap: anywhere; }
.invite .msg { font-family: var(--crit); font-style: italic; font-weight: 500; font-size: clamp(16px, 4.4vw, 20px); line-height: 1.3; max-width: 26em; text-wrap: balance; } .invite .msg:empty { display: none; }
.invite .rule { width: 60%; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.invite .event { font-family: var(--head); font-size: clamp(23px, 6.2vw, 32px); line-height: 1.1; overflow-wrap: anywhere; min-height: 1.1em; }
.invite .when { font-weight: 800; font-size: clamp(16px, 4.6vw, 20px); text-wrap: balance; }
.invite .where { font-size: clamp(15px, 4.3vw, 18px); overflow-wrap: anywhere; text-wrap: balance; }
.invite .dress, .invite .with { font-size: 15px; overflow-wrap: anywhere; }
.invite .note { font-family: var(--crit); font-style: italic; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.3; max-width: 26em; overflow-wrap: anywhere; }
.invite .closing { font-family: var(--head); font-size: clamp(20px, 5.6vw, 26px); color: var(--wine); overflow-wrap: anywhere; }
.invite .btn { border-color: var(--wine); background: var(--wine); color: var(--paper); } .invite .btn.ghost { background: transparent; color: var(--wine); }

/* ---------- the details and the reply ---------- */
.after { position: relative; z-index: 2; background: #2A1408; color: var(--cream); padding: 34px 16px calc(60px + 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(--head); font-weight: 400; font-size: 32px; color: var(--gold); text-align: center; }
.det { display: grid; gap: 11px; }
.det div { display: grid; gap: 1px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 246, 220, .2); text-align: center; }
.det dt { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.det dd { font-size: 17px; overflow-wrap: anywhere; }
.going { font-size: 14px; color: var(--gold); text-align: center; }
#rsvp-form { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; font-size: 14px; color: #F1E4C8; }
.f input[type="text"], .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 246, 220, .5); background: #1A0C05; 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, 246, 220, .35); background: #1A0C05; font-size: 15px; cursor: pointer; overflow-wrap: anywhere; }
.ans label:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.ans input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.ans b { color: var(--gold); }
.step { display: flex; align-items: center; gap: 14px; }
.step button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-size: 22px; }
.step output { min-width: 1.5em; text-align: center; font-size: 20px; color: #fff; }
#r-send { justify-self: center; min-width: 220px; }
#err { min-height: 1.3em; font-size: 14px; color: #F1E4C8; text-align: center; } #err.err { color: #FFB0B8; }
#done { display: grid; gap: 8px; padding: 20px; border-radius: 14px; border: 2px solid var(--gold); background: #1A0C05; justify-items: center; text-align: center; }
#done-t { font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1.05; color: var(--gold); text-wrap: balance; } #done-t:focus { outline: none; }
#r-closed { padding: 14px; border-radius: 10px; background: #1A0C05; text-align: center; }
.foot { font-size: 12px; opacity: .65; text-align: center; max-width: 34em; }

/* ---------- paused when off screen; reduced motion: every word and control stays, the performances go ---------- */
.sc.off * { animation-play-state: paused !important; }
body.rm *, body.rm *::before, body.rm *::after { animation: none !important; transition: none !important; }
body.rm .dish.hot::before, body.rm .dish.hot::after { display: none; }
body.rm .doors.open { display: none; }
@media (min-width: 760px) { .buffet { max-width: 860px; } .dish { width: clamp(70px, 8.4vw, 92px); } }
@media (max-height: 560px) and (orientation: landscape) { .table { padding-top: 56px; } .platebox { width: min(40vw, 62svh); } .head .narr, .hint { display: none; } }
