/* Jodi. Cream wedding-card paper, maroon ink, marigold, round friendly letters. */

@font-face { font-family: 'Hind'; src: url('/fonts/hind-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hind'; src: url('/fonts/hind-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url('/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6ead3;
  --paper: #fffaf0;
  --ink: #3d1220;
  --soft: #7d5a62;
  --primary: #8d1c31;
  --primary-deep: #5d0f1e;
  --on-primary: #fff6e6;
  --marigold: #f0a321;
  --accent: #c8871a;
  --line: #dcbb72;
  --bride: #f8dca6;
  --groom: #cfe3c4;
  --both: #f5cfd6;
  --radius: 18px;
  --display: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --body: 'Hind', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lift: 0 10px 20px -14px rgb(61 18 32 / 0.5);
  /* A marigold garland, drawn once and repeated along the top of every page. */
  --garland: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='40' viewBox='0 0 72 40'%3E%3Cpath d='M0 4 Q36 36 72 4' fill='none' stroke='%235b7a2a' stroke-width='1.6'/%3E%3Cg%3E%3Ccircle cx='8' cy='11.5' r='5.6' fill='%23f39a1e'/%3E%3Ccircle cx='19' cy='18' r='5.9' fill='%23f7c531'/%3E%3Ccircle cx='30.5' cy='21.5' r='6.1' fill='%23f39a1e'/%3E%3Ccircle cx='41.5' cy='21.5' r='6.1' fill='%23f7c531'/%3E%3Ccircle cx='53' cy='18' r='5.9' fill='%23f39a1e'/%3E%3Ccircle cx='64' cy='11.5' r='5.6' fill='%23f7c531'/%3E%3C/g%3E%3Cg fill='%23c9690c' opacity='.55'%3E%3Ccircle cx='8' cy='11.5' r='2'/%3E%3Ccircle cx='30.5' cy='21.5' r='2.2'/%3E%3Ccircle cx='53' cy='18' r='2'/%3E%3C/g%3E%3Cg fill='%23e09a12' opacity='.6'%3E%3Ccircle cx='19' cy='18' r='2'/%3E%3Ccircle cx='41.5' cy='21.5' r='2.2'/%3E%3Ccircle cx='64' cy='11.5' r='2'/%3E%3C/g%3E%3Cpath d='M0 2 q-5 11 0 20 q5 -9 0 -20z M72 2 q-5 11 0 20 q5 -9 0 -20z' fill='%233f7a34'/%3E%3C/svg%3E");
  /* A hand-drawn wavy underline. */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='12' viewBox='0 0 132 12'%3E%3Cpath d='M3 7 Q13 0 24 6 T46 6 T68 6 T90 6 T112 6 T129 5' fill='none' stroke='%23f0a321' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  /* A small henna paisley for the corners of paper. */
  --paisley: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23c8871a' stroke-width='2' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M50 8c-16-4-34 6-36 24-1 12 7 21 18 21 9 0 16-7 16-15 0-7-5-12-11-12-5 0-9 4-9 8 0 3 2 6 5 6'/%3E%3Cpath d='M50 8c2 6 1 11-2 15'/%3E%3C/g%3E%3Cg fill='%23c8871a' opacity='.5'%3E%3Ccircle cx='9' cy='40' r='1.6'/%3E%3Ccircle cx='12' cy='50' r='1.6'/%3E%3Ccircle cx='19' cy='58' r='1.6'/%3E%3Ccircle cx='54' cy='40' r='1.6'/%3E%3Ccircle cx='52' cy='50' r='1.6'/%3E%3Ccircle cx='32' cy='38' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  min-height: 100vh;
  min-height: 100dvh;
  /* henna dots */
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgb(141 28 49 / 0.13) 1.4px, transparent 1.8px), radial-gradient(circle, rgb(200 135 26 / 0.2) 1px, transparent 1.4px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
}
[hidden] { display: none !important; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--primary); text-underline-offset: 3px; }

/* ---------- top of the page ---------- */
.deco { height: 40px; background: var(--garland) repeat-x center top / 72px 40px; transform-origin: top center; animation: sway 5s ease-in-out infinite alternate; }
.wrap { max-width: 480px; margin: 0 auto; padding: 8px 20px 40px; }
.wrap.wide { max-width: 680px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; font: 700 26px/1 var(--display); color: var(--primary); text-decoration: none; }
.brand small { font: 400 13.5px/1 var(--body); color: var(--soft); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 9vw, 46px); }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
p { margin: 0.6em 0; }
.lede { font-size: 18px; color: var(--soft); }
.kicker { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.muted { color: var(--soft); font-size: 15px; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.rule { border: 0; height: 12px; margin: 24px auto; width: 132px; background: var(--squiggle) center / 132px 12px no-repeat; }
/* a marigold highlighter stroke behind a few words */
mark { color: inherit; background: linear-gradient(transparent 58%, rgb(240 163 33 / 0.55) 58% 92%, transparent 92%); padding: 0 2px; }

/* The masthead of a wedding's room */
.masthead { text-align: center; padding: 16px 0 6px; }
.masthead h1 { color: var(--primary); }
.masthead h1::after { content: ''; display: block; width: 132px; height: 12px; margin: 4px auto 0; background: var(--squiggle) center / contain no-repeat; }
.amp { display: inline-block; font-style: normal; color: var(--marigold); transform: rotate(-8deg) scale(1.08); margin: 0 0.06em; animation: wiggle 3.4s ease-in-out infinite; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 12px 22px; width: 100%;
  font: 600 18px/1.2 var(--body); color: var(--on-primary); background: var(--primary);
  border: 0; border-radius: 26px 22px 28px 24px / 24px 28px 22px 26px; /* cut by hand, not by ruler */
  box-shadow: 0 4px 0 var(--primary-deep);
  cursor: pointer; text-decoration: none; transition: transform 0.08s ease, box-shadow 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px) rotate(-0.4deg); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--primary-deep); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn.ghost { background: var(--paper); color: var(--primary); box-shadow: 0 3px 0 var(--line); border: 2px solid var(--primary); }
.btn.ghost:active { box-shadow: none; transform: translateY(3px); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; width: auto; }
.btn.danger { background: transparent; color: #a3261c; border: 1.5px solid currentColor; box-shadow: none; }
.btn .ico { fill: currentColor; stroke: none; }
.linkish { background: none; border: 0; padding: 6px 2px; font: inherit; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* ---------- paper panels ---------- */
.paper { position: relative; background: var(--paper); border-radius: var(--radius); padding: 18px; box-shadow: var(--lift); border: 1.5px solid var(--line); }
.paper.henna::after { content: ''; position: absolute; right: 6px; top: 6px; width: 54px; height: 54px; background: var(--paisley) center / contain no-repeat; pointer-events: none; }
.promise { list-style: none; margin: 0; padding: 0; }
.promise li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed var(--line); }
.promise li:last-child { border-bottom: 0; }
.promise .ico { color: var(--primary); width: 22px; height: 22px; padding: 7px; box-sizing: content-box; background: var(--bride); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.promise li:nth-child(2n) .ico { background: var(--both); }
.promise li:nth-child(3n) .ico { background: var(--groom); }
.promise b { display: block; }
.promise span { color: var(--soft); font-size: 15.5px; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 14px 54px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  display: grid; place-items: center; font: 700 22px/1 var(--display); padding-top: 3px;
  color: var(--primary-deep); background: var(--marigold); border-radius: 46% 54% 50% 50% / 54% 46% 54% 46%;
  transform: rotate(-6deg); box-shadow: 0 3px 0 rgb(200 135 26 / 0.6);
}
.steps li:nth-child(even)::before { transform: rotate(5deg); background: #f7c531; }
.steps b { display: block; }
.steps span { color: var(--soft); font-size: 15.5px; }

/* ---------- forms ---------- */
form .field { margin-top: 18px; }
form > .field:first-child { margin-top: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.hint { font-weight: 400; color: var(--soft); font-size: 14.5px; display: block; margin-top: 2px; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
input[type='text'], input[type='number'], input[type='date'], input[type='tel'], textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 50px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--marigold); outline-offset: 1px; border-color: var(--accent); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; font-weight: 400; position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; transition: transform 0.12s ease; }
.choices input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; transform: rotate(-1.5deg) scale(1.04); }
.choices input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 400; margin-top: 20px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.photo-pick { display: flex; align-items: center; gap: 14px; }
.photo-pick .thumb { width: 76px; height: 95px; flex: none; border-radius: 10px; color: var(--soft); }
.photo-pick .thumb .ico { width: 30px; height: 30px; }
.error { color: #a3261c; font-weight: 600; margin-top: 14px; }

/* ---------- people, shown as photo-booth prints stuck up with tape ---------- */
.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; padding: 12px 2px 0; }
.print {
  display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: #fff; border: 1px solid rgb(0 0 0 / 0.08); border-radius: 4px; padding: 8px 8px 10px;
  box-shadow: 0 12px 18px -12px rgb(61 18 32 / 0.6), 0 1px 2px rgb(61 18 32 / 0.15);
  rotate: -1.6deg; position: relative; -webkit-tap-highlight-color: transparent;
  animation: drop-in 0.5s both cubic-bezier(0.2, 0.8, 0.3, 1.3); transition: rotate 0.2s ease, scale 0.2s ease;
}
.print::before { /* the strip of tape */
  content: ''; position: absolute; top: -10px; left: 50%; width: 58px; height: 20px; translate: -50% 0; rotate: -4deg;
  background: rgb(240 163 33 / 0.72); box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
  clip-path: polygon(0 12%, 4% 0, 9% 14%, 14% 0, 96% 0, 100% 16%, 96% 30%, 100% 46%, 96% 62%, 100% 80%, 96% 100%, 4% 100%, 0 84%, 4% 68%, 0 52%, 4% 36%);
}
.print:nth-child(2n) { rotate: 1.4deg; animation-delay: 0.07s; }
.print:nth-child(2n)::before { background: rgb(141 28 49 / 0.5); rotate: 5deg; }
.print:nth-child(3n) { rotate: -0.5deg; animation-delay: 0.14s; }
.print:nth-child(3n)::before { background: rgb(95 140 70 / 0.55); rotate: -2deg; left: 42%; }
.print:nth-child(4n) { rotate: 2.1deg; animation-delay: 0.2s; }
.print:hover, .print:focus-visible { rotate: 0deg; scale: 1.03; z-index: 1; }
.print:active { scale: 0.97; }
.thumb { aspect-ratio: 4 / 5; width: 100%; background-color: var(--tint, var(--bride)); display: grid; place-items: center; overflow: hidden; position: relative; background-image: radial-gradient(circle, rgb(255 255 255 / 0.55) 2px, transparent 2.6px); background-size: 16px 16px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .initial { font: 700 68px/1 var(--display); color: rgb(61 18 32 / 0.5); padding-top: 8px; }
.thumb.s-bride { --tint: var(--bride); }
.thumb.s-groom { --tint: var(--groom); }
.thumb.s-both { --tint: var(--both); }
.print .who { font: 700 20px/1.1 var(--display); margin-top: 9px; overflow-wrap: anywhere; }
.print .who small { font: 400 15px/1 var(--body); color: var(--soft); }
.print .wear { font-size: 14px; color: var(--soft); line-height: 1.3; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-top: 6px; background: var(--bride); color: #4a330a; }
.tag.s-groom { background: var(--groom); color: #1d3319; }
.tag.s-both { background: var(--both); color: #4a1a25; }
.print .liked { position: absolute; z-index: 2; top: -12px; right: -8px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 0.3); animation: pop 0.4s cubic-bezier(0.3, 1.8, 0.5, 1); }
.print .liked .ico { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.count { text-align: center; color: var(--soft); font-size: 15px; margin: 4px 0 10px; }
.empty { text-align: center; padding: 22px 16px; }
.art { width: 150px; height: auto; display: block; margin: 0 auto; }
.art .steam { animation: steam 2.6s ease-in-out infinite alternate; transform-origin: center bottom; }
.art .beat { animation: beat 1.3s ease-in-out infinite; transform-origin: 80px 34px; }

/* ---------- bottom tabs ---------- */
.has-tabs { padding-bottom: 96px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: center; gap: 6px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1.5px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 20px -14px rgb(61 18 32 / 0.5); }
.tabs button { flex: 1; max-width: 150px; display: grid; justify-items: center; gap: 2px; padding: 6px 4px; font: 600 13.5px/1.2 var(--body); color: var(--soft); background: none; border: 0; border-radius: 14px; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.tabs .ico { width: 24px; height: 24px; padding: 5px 16px; box-sizing: content-box; border-radius: 999px; transition: background 0.2s ease; }
.tabs button[aria-current='true'] { color: var(--primary); }
.tabs button[aria-current='true'] .ico { background: var(--bride); animation: pop 0.35s cubic-bezier(0.3, 1.8, 0.5, 1); }
.tabs .badge { position: absolute; top: 2px; left: calc(50% + 12px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12.5px; display: grid; place-items: center; animation: pop 0.4s cubic-bezier(0.3, 1.8, 0.5, 1); }

/* ---------- sheets (dialogs) ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 26px; box-shadow: 0 24px 60px -10px rgb(0 0 0 / 0.55); overflow: auto; }
dialog::backdrop { background: rgb(61 18 32 / 0.62); }
dialog[open] { animation: rise 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
.sheet { padding: 18px 18px 20px; }
.sheet .thumb { border-radius: 14px; max-height: 46vh; }
.sheet .thumb .initial { font-size: 120px; }
.sheet h2 { margin-top: 12px; }
.sheet h2 small { font: 400 18px/1 var(--body); color: var(--soft); }
.sheet .about { margin-top: 10px; }
.sheet .row { display: flex; gap: 10px; margin-top: 16px; }
.close-x { position: sticky; top: 8px; float: right; margin: 8px 8px -46px 0; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); }

/* The match moment */
.match { text-align: center; padding: 26px 20px 22px; position: relative; overflow: hidden; }
.match h2 { font-size: 44px; color: var(--primary); animation: pop 0.6s 0.25s both cubic-bezier(0.3, 1.8, 0.5, 1); }
.match h2::after { content: ''; display: block; width: 132px; height: 12px; margin: 0 auto; background: var(--squiggle) center / contain no-repeat; }
.match .pair { display: flex; justify-content: center; align-items: center; margin: 16px 0 8px; }
.match .pair .thumb { width: 116px; border: 6px solid #fff; box-shadow: 0 8px 16px -8px rgb(0 0 0 / 0.5); border-radius: 4px; }
.match .pair .thumb:first-child { rotate: -7deg; translate: 10px 0; animation: meet-left 0.7s both cubic-bezier(0.2, 1.3, 0.4, 1); }
.match .pair .thumb:last-child { rotate: 6deg; translate: -10px 0; animation: meet-right 0.7s both cubic-bezier(0.2, 1.3, 0.4, 1); }
.match .pair .thumb .initial { font-size: 54px; }
.petal { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 80% 10% 80% 10%; background: #f39a1e; animation: fall 2.8s linear both; pointer-events: none; }
.petal:nth-child(2n) { background: #f7c531; width: 10px; }
.petal:nth-child(3n) { background: #e2572b; }
.reach { margin-top: 16px; }
.contact { font-weight: 600; font-size: 19px; overflow-wrap: anywhere; }

/* Matches list */
.match-row { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.match-row .thumb { border-radius: 4px; border: 4px solid #fff; box-shadow: 0 4px 10px -6px rgb(0 0 0 / 0.5); rotate: -3deg; }
.match-row .thumb .initial { font-size: 40px; }

/* Host page */
.qr { background: #fff; padding: 12px; border-radius: 14px; width: min(260px, 70vw); margin: 0 auto; border: 1px solid rgb(0 0 0 / 0.1); }
.qr svg { display: block; width: 100%; height: auto; }
.linkbox { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.linkbox input { font-size: 15px; min-height: 44px; }
.linkbox .btn { flex: none; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { text-align: center; padding: 14px 8px; }
.stat:first-child { rotate: -1deg; }
.stat:last-child { rotate: 1deg; }
.stat b { display: block; font: 700 46px/1 var(--display); color: var(--primary); font-variant-numeric: tabular-nums; }
.guest { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.guest:last-child { border-bottom: 0; }
.guest .flag, .flag { color: #a3261c; font-size: 14.5px; font-weight: 600; }
.warn { border-left: 6px solid var(--marigold); padding: 10px 14px; background: #fdf0cf; border-radius: 0 var(--radius) var(--radius) 0; }

#toast { position: fixed; left: 50%; bottom: 104px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 15.5px; max-width: calc(100vw - 32px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); z-index: 50; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

footer.foot { text-align: center; color: var(--soft); font-size: 14.5px; padding: 26px 20px 34px; }

@keyframes sway { from { transform: skewX(-2.2deg); } to { transform: skewX(2.2deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-8deg) scale(1.08); } 50% { transform: rotate(7deg) scale(1.16); } }
@keyframes drop-in { from { opacity: 0; translate: 0 18px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pop { from { scale: 0.2; } to { scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fall { from { transform: translateY(-10px) rotate(0); opacity: 1; } to { transform: translateY(600px) rotate(420deg); opacity: 0.2; } }
@keyframes meet-left { from { translate: -120px 0; rotate: -30deg; opacity: 0; } to { translate: 10px 0; rotate: -7deg; opacity: 1; } }
@keyframes meet-right { from { translate: 120px 0; rotate: 30deg; opacity: 0; } to { translate: -10px 0; rotate: 6deg; opacity: 1; } }
@keyframes steam { from { transform: translateY(0) scaleY(1); opacity: 0.9; } to { transform: translateY(-4px) scaleY(1.12); opacity: 0.5; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 50% { transform: scale(0.98); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The table card the couple prints and leaves at the venue */
.table-card { display: none; }
@media print {
  body { background: #fff !important; }
  body > *:not(.table-card) { display: none !important; }
  .table-card { display: block; width: 105mm; margin: 8mm auto; padding: 9mm 8mm; text-align: center; border: 1.2mm double #8d1c31; border-radius: 6mm; color: #3d1220; }
  .table-card h1 { font-size: 30pt; color: #8d1c31; }
  .table-card .qr { width: 58mm; border: 0; padding: 0; margin: 6mm auto; }
  .table-card p { font-size: 11.5pt; margin: 2mm 0; }
  .table-card .tiny { font-size: 9pt; color: #555; }
}
