:root {
  --bg: #fbf4ec;
  --card: #fffaf5;
  --ink: #2a1a1f;
  --muted: #75605f;
  --primary: #c8324b;
  --primary-dark: #a52339;
  --accent: #2f6b4f;
  --line: #ead9c8;
  --soft: #f6ebdf;
  --field: #d9c3ae;
  --primary-soft: #fbe8ea;
  --accent-soft: #e2efe7;
  --shade: rgba(0, 0, 0, .12);
  --shade-strong: rgba(0, 0, 0, .25);
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .08);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, .08);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-dark); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: var(--radius); z-index: 50; }
.skip-link:focus { left: 8px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 22px; }
.wordmark .gf-site-icon { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.site-nav a[aria-current="page"] { background: var(--soft); }
.site-nav .nav-cta { background: var(--ink); color: #fff; }
.site-nav .nav-cta:hover { background: var(--primary); color: #fff; }
/* Pages that end on a full-width band meet the footer directly, without a blank strip. */
main:has(> .band:last-child, > :last-child > .band:last-child) + .site-footer { margin-top: 0; }
.site-footer { margin-top: 64px; padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.footer-note { color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* Buttons and fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; text-align: center; text-wrap: balance;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); font: 600 14px var(--sans); text-decoration: underline; cursor: pointer; }
.link-btn.danger { color: var(--primary-dark); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.field { display: grid; gap: 4px; margin-bottom: 16px; }
.field > span, .date-control label, .code-box label, legend { font-weight: 600; font-size: 14px; color: var(--ink); }
input[type="text"], input[type="date"], textarea, .code-row input {
  width: 100%; min-height: 48px; padding: 12px; border: 1.5px solid var(--field); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans);
}
/* iOS WebKit gives date inputs a wide intrinsic size that ignores width:100%. */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-datetime-edit { padding: 0; }
textarea { resize: vertical; min-height: 112px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 79, .18); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { margin-bottom: 8px; padding: 0; }
.form-msg { min-height: 0; margin: 8px 0 0; font-size: 14px; color: var(--primary-dark); }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--accent); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 16px; }

/* Hero */
.hero { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
.eyebrow { font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.lede { font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* Countdown tool */
.counter { padding: 24px; }
.counter h1 { font-size: 32px; }
.date-control { display: grid; gap: 4px; max-width: 320px; margin-bottom: 16px; }
.date-error { color: var(--primary-dark); font-size: 14px; margin: 0; }
.count-out { padding: 16px 0 8px; border-top: 1px dashed var(--line); }
.day-result { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.day-number { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.day-label { font-weight: 600; font-size: 18px; }
.date-line { color: var(--muted); margin: 8px 0 4px; }
.clock-line { font-size: 14px; color: var(--muted); }
.clock { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.counter-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Creator */
.creator { padding: 24px; }
.creator-kicker { font-size: 14px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.creator-title { font-size: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label, .swatches label { position: relative; cursor: pointer; }
.chips input, .swatches input, .stickers input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--field); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; }
.chips input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.chips input:focus-visible + span, .swatches input:focus-visible + .sw, .stickers input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; gap: 0 12px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.swatches legend { grid-column: 1 / -1; }
.swatches label { display: grid; justify-items: center; gap: 4px; font-size: 12px; }
.swatches b { font-weight: 600; }
.sw { width: 100%; height: 44px; border-radius: var(--radius); border: 3px solid transparent; box-shadow: inset 0 0 0 1px var(--shade); }
.swatches input:checked + .sw { border-color: var(--ink); }
.sw { background: linear-gradient(135deg, var(--b-bg) 50%, var(--sw2, var(--b-door)) 50%); }
.sw-berry { --b-bg: #8e1f35; --b-door: #f6e7d8; }
.sw-midnight { --sw2: var(--b-accent); }
.creator-plan { font-size: 14px; color: var(--muted); background: var(--soft); border-radius: var(--radius); padding: 12px; }
.creator-plan:empty { display: none; }
.creator-alt { font-size: 14px; color: var(--muted); margin: 16px 0 0; text-align: center; }

/* Calendar board and doors (the signature: paper doors that swing open) */
.cal-board {
  --b-bg: #8e1f35; --b-door: #f6e7d8; --b-ink: #4a1420; --b-accent: #e3a33b; --b-in: #fff6ea;
  background: var(--b-bg); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-2);
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 16px 16px;
}
.style-pine, .sw-pine { --b-bg: #1f4d39; --b-door: #f1ead8; --b-ink: #173426; --b-accent: #d9a441; --b-in: #fffaf0; }
.style-frost, .sw-frost { --b-bg: #cfe3f0; --b-door: #fff; --b-ink: #1d3a52; --b-accent: #5b8fd6; --b-in: #eef6fc; }
.style-midnight, .sw-midnight { --b-bg: #1b1f3a; --b-door: #2b3157; --b-ink: #e8ecff; --b-accent: #ffcf5c; --b-in: #12152b; }
.door-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.door { position: relative; aspect-ratio: 5 / 6; perspective: 600px; min-width: 0; }
.door-btn { all: unset; position: absolute; inset: 0; cursor: pointer; border-radius: 8px; }
.door-btn:focus-visible { outline: 3px solid var(--b-accent); outline-offset: 2px; }
.door-inside {
  position: absolute; inset: 0; border-radius: 8px; background: var(--b-in); color: var(--b-ink);
  display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; padding: 4px;
  box-shadow: inset 0 2px 6px var(--shade-strong);
}
.door-face {
  position: absolute; inset: 0; border-radius: 8px; background: var(--b-door); color: var(--b-ink);
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; padding: 6px 4px;
  transform-origin: left center; transition: transform .7s cubic-bezier(.2,.7,.2,1); backface-visibility: hidden;
  box-shadow: 0 1px 0 var(--shade), 0 3px 8px var(--shade);
  border: 1px dashed color-mix(in srgb, var(--b-ink) 25%, transparent);
}
.door-num {
  font-family: var(--serif); font-size: 18px; line-height: 1; padding: 2px 8px; border-radius: 4px;
  background: color-mix(in srgb, var(--b-accent) 70%, transparent); color: var(--b-ink);
  transform: rotate(-3deg);
}
.door-sticker { font-size: 26px; line-height: 1; }
.door-name, .door-when { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.door-when { opacity: .75; font-weight: 400; }
.door.empty .door-face { background: color-mix(in srgb, var(--b-door) 55%, transparent); border-style: dashed; }
.door.empty .door-sticker { font-size: 20px; opacity: .6; }
.door.today .door-face { box-shadow: 0 0 0 3px var(--b-accent), 0 6px 14px var(--shade-strong); animation: nudge 2.4s ease-in-out infinite; }
.door.opened .door-face { transform: rotateY(-108deg); box-shadow: none; }
.door.mine .door-face::after { content: "you"; position: absolute; top: 4px; right: 4px; font-size: 12px; line-height: 1.3; font-weight: 700; background: var(--b-ink); color: var(--b-door); padding: 0 4px; border-radius: 4px; }
.door.skipped { opacity: .45; }
.door.skipped .door-btn { cursor: default; }
@keyframes nudge { 0%, 85%, 100% { transform: rotateY(0); } 90% { transform: rotateY(-14deg); } }
@media (prefers-reduced-motion: reduce) {
  .door-face { transition: none; }
  .door.today .door-face { animation: none; }
}
.board-hint { color: #fff; font-size: 14px; text-align: center; margin: 16px 0 0; }
.style-frost .board-hint { color: var(--b-ink); }
.demo { margin-top: 8px; }
.demo-board { max-width: 520px; }
.demo-title { color: #fff; font-family: var(--serif); font-size: 22px; text-align: center; margin-bottom: 12px; }

/* Calendar app */
.app { padding-top: 32px; }
.app-home-grid { display: grid; gap: 32px; align-items: start; }
.code-box { padding: 16px; margin: 24px 0; }
.code-row { display: flex; gap: 8px; margin-top: 4px; }
.code-row .btn { flex: none; }
.mine { margin-bottom: 16px; }
.mine h2 { font-size: 22px; }
.mine-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.mine-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.mine-list a span { color: var(--muted); font-weight: 400; font-size: 14px; }
.mine-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.passkey-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.loading { color: var(--muted); padding: 48px 0; text-align: center; }
.cal-missing { padding: 32px; max-width: 560px; margin: 32px auto; text-align: center; }
.cal-head { text-align: center; margin-bottom: 24px; }
.cal-eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.cal-title { font-size: 36px; overflow-wrap: anywhere; }
.cal-sub { color: var(--muted); margin: 0; }
.cal-layout { display: grid; gap: 24px; align-items: start; }
.panel { padding: 24px; margin-bottom: 16px; }
.panel h2 { font-size: 22px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.share-row .btn { flex: 1 1 140px; }
.code-chip { font-size: 14px; color: var(--muted); }
.code-chip b { font-family: ui-monospace, Menlo, monospace; color: var(--ink); background: var(--soft); padding: 2px 8px; border-radius: 4px; letter-spacing: .06em; }
.owner-key { border-top: 1px dashed var(--line); padding-top: 12px; margin-bottom: 8px; font-size: 14px; }
.owner-key summary { cursor: pointer; font-weight: 600; }
.key-warn { font-size: 14px; background: var(--primary-soft); border-radius: var(--radius); padding: 12px; }
.notes-all { margin-top: 32px; }
.notes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.notes-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.notes-list .n-head { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.notes-list .n-text { font-family: var(--serif); font-size: 18px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Sheets (dialogs) */
.sheet { border: 0; padding: 0; border-radius: 16px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-2); }
dialog.sheet:focus { outline: none; }
.sheet::backdrop { background: rgba(42, 26, 31, .55); }
.sheet-body { padding: 24px; position: relative; }
.sheet-close { position: absolute; z-index: 3; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.sheet-sub { color: var(--muted); font-size: 14px; }
.stickers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stickers legend { grid-column: 1 / -1; }
.stickers label { position: relative; cursor: pointer; }
.stickers span { display: grid; place-items: center; height: 44px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--field); font-size: 22px; }
.stickers input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.note-meta { display: flex; justify-content: space-between; align-items: center; margin: -8px 0 12px; font-size: 14px; color: var(--muted); }
.note-card { text-align: center; padding: 24px 8px 16px; }
.note-sticker { font-size: 48px; margin: 0; line-height: 1.2; }
.note-door { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 8px 0; }
.note-text { font-size: 22px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-from { color: var(--accent); font-weight: 600; }
.open-sheet[open] .note-card { animation: pop .4s ease-out; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* Content sections */
.page-body { padding-top: 16px; }
.band { padding: 48px 0; }
.band-alt { background: var(--soft); }
.section-head { max-width: 70ch; margin-bottom: 24px; }
.prose p, .prose li { max-width: 70ch; }
.prose h2 { margin-top: 48px; }
/* A section's first heading sits on the band's own padding, not on top of it. */
.band .wrap > :first-child, .band .section-head > :first-child, .prose > h2:first-child { margin-top: 0; }
.band .wrap > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 16px 16px 16px 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); }
.split { display: grid; gap: 32px; align-items: center; }
.idea-grid { display: grid; gap: 16px; }
.idea { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.idea h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.idea p { margin: 0; color: var(--muted); font-style: italic; }
.occasions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.occasions li { border-bottom: 1px solid var(--line); }
.occasions a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; color: var(--ink); text-decoration: none; }
.occasions .o-icon { font-size: 28px; }
.occasions b { display: block; font-size: 18px; }
.occasions span span { color: var(--muted); font-size: 14px; }
.occasions .o-go { color: var(--primary); font-weight: 700; }
.occasions a:hover b { color: var(--primary); }
.faq-band details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-band summary { cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.35; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.faq-band summary::-webkit-details-marker { display: none; }
.faq-band summary::marker { content: ""; }
.faq-band summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font: 600 20px/1 var(--sans); transition: transform .2s; }
.faq-band details[open] summary::after { transform: rotate(45deg); }
.faq-band details p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 24px; }
.legal { padding-top: 32px; }
.policy-date { color: var(--muted); font-size: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.4; text-align: center; z-index: 60; box-shadow: var(--shadow-2); width: max-content; max-width: min(440px, calc(100vw - 32px)); text-wrap: balance; }

@media (max-width: 640px) {
  .band { padding: 36px 0; }
  .hero { padding-bottom: 32px; }
  .occasions a { grid-template-columns: 40px 1fr; row-gap: 4px; }
  .occasions .o-go { grid-column: 2; font-size: 15px; }
  .prose th:last-child, .prose td:last-child { white-space: nowrap; }
  h1, .cal-title { font-size: 30px; }
  .counter h1 { font-size: 28px; }
  .day-number { font-size: 48px; }
  .site-nav a { padding: 8px 10px; white-space: nowrap; }
  .wordmark { font-size: 19px; }
  .site-nav .nav-hide-sm { display: none; }
  .counter-actions .btn, .share-row .btn { width: 100%; }
  .stickers { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 640px) {
  .door-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .idea-grid { grid-template-columns: repeat(2, 1fr); }
  .door-sticker { font-size: 30px; }
}

@media (min-width: 960px) {
  h1 { font-size: 48px; }
  .hero { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 48px; }
  .app-home-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .cal-layout { grid-template-columns: 1.6fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 16px 16px; }
  .idea-grid { grid-template-columns: repeat(3, 1fr); }
}

.door-grid.is-loading .door { animation: door-wait 1.2s ease-in-out infinite alternate; }
.door-grid.is-loading .door-sticker, .door-grid.is-loading .door-when { visibility: hidden; }
@keyframes door-wait { from { opacity: 1; } to { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .door-grid.is-loading .door { animation: none; opacity: .75; } }
.code-field .field input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.code-hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.code-hint.ok { color: var(--accent); }
.code-hint.bad { color: var(--primary); }
.footer-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.footer-link:hover { text-decoration: underline; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-actions .btn { min-width: 96px; }
@media (max-width: 600px) { .consent { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; } .consent-actions .btn { flex: 1; } }

/* growth loop: in-app browser strip, code text, friends with calendars, fill-back sheet */
.inapp-bar { display: flex; gap: 12px; align-items: center; margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); }
.inapp-bar[hidden], .inapp-bar [hidden] { display: none; }
.inapp-bar p { margin: 0; font-size: 14px; line-height: 1.45; flex: 1; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 14px; flex: none; }
.code-text { margin: 4px 0 12px; }
.code-tip { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.backs { margin: 8px 0 12px; }
.backs h3 { font-size: 16px; margin: 0 0 8px; }
.backs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.backs-list a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; }
.backs-list a span { color: var(--primary-dark); font-size: 14px; }
.back-sheet .sheet-body { text-align: left; }
.back-burst { font-size: 44px; line-height: 1; margin: 0 0 8px; }
.back-sheet .chips { margin: 12px 0; border: 0; padding: 0; }
.back-sheet .btn-wide { margin-top: 8px; }
.back-skip { display: block; margin: 8px auto 0; }
.open-sheet [data-open-actions] { flex-wrap: wrap; }

/* owner password */
.pw-opt, .claim { margin: 8px 0 12px; }
.pw-opt summary, .claim summary { cursor: pointer; font-weight: 600; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.pw-hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.pw-hint .link-btn { font-size: 13px; padding: 4px 0; }
.pw-box { margin: 12px 0; padding: 14px; border-radius: 12px; background: var(--soft); }
.pw-box h3 { font-size: 16px; margin: 0 0 4px; }
.pw-state { margin: 0 0 8px; font-size: 14px; }
.pw-row { display: flex; gap: 8px; }
.pw-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--field); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; }
.pw-box[data-set] .pw-row, .pw-box[data-set] .pw-hint { display: none; }
.pw-box[data-set][data-edit] .pw-row, .pw-box[data-set][data-edit] .pw-hint { display: flex; }

/* two-tap confirm for risky buttons */
.is-armed { color: #fff !important; background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; text-decoration: none !important; padding: 8px 14px !important; border-radius: 999px; }

/* Paid wraps: gold foil, gift ribbon, birthday confetti, watercolor bloom, starry night, golden calendar */
:root { --gold-hi: #ffcf5c; --gold: #d9a441; --gold-lo: #b0821f; --gold-ink: #4a1420; --gold-soft: color-mix(in srgb, var(--gold-hi) 25%, #fff); --aur-1: #1b1f3a; --aur-2: #3fb99a; --aur-3: #7b5cd6; }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-hi)); color: var(--gold-ink); border-color: var(--gold-lo); }
.btn-gold:hover { filter: brightness(1.05); color: var(--gold-ink); }
.btn-gold[disabled] { opacity: .6; cursor: progress; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pay-note { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--gold); font-weight: 600; text-align: center; }
.pay-note[hidden] { display: none; }
.back-sheet [data-back-wrap] { margin: 4px 0 16px; }
.back-sheet [data-back-wrap][hidden], .gold-box[hidden] { display: none; }
.gold-box { margin: 16px 0; padding: 12px; border-radius: var(--radius); background: linear-gradient(135deg, var(--gold-soft), var(--gold-soft)); border: 1px solid var(--gold); }
.gold-box h3 { margin: 0 0 4px; font-size: 16px; }
.gold-box p { margin: 0 0 10px; font-size: 14px; }
.wrap-opts { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.wrap-opt { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1.5px solid var(--field); border-radius: var(--radius); background: #fff; cursor: pointer; }
.wrap-opt[hidden] { display: none; }
.wrap-opt input { position: absolute; opacity: 0; pointer-events: none; }
.wrap-opt:has(input:checked) { border-color: var(--gold-lo); box-shadow: 0 0 0 2px var(--gold-hi); }
.wrap-opt:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.wrap-txt { display: grid; }
.wrap-txt small { color: var(--muted); font-size: 13px; }
.wrap-cost { font-weight: 700; white-space: nowrap; }
.wrap-swatch { width: 36px; height: 42px; border-radius: 8px; box-shadow: 0 2px 6px var(--shade); }
.wrap-bal { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.wrap-bal[hidden] { display: none; }
.wrap-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
/* Paid wraps: each style paints the door face, the picker swatch and the opened note card */
.wrap-swatch, .note-card[class*="wrap-"] { position: relative; overflow: hidden; }
.door[class*="wrap-"] .door-face, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face { overflow: hidden; }
.door[class*="wrap-"] .door-face > *, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face > *, .note-card[class*="wrap-"] > * { position: relative; z-index: 1; }
.wrap-swatch::before, .door[class*="wrap-"] .door-face::before, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face::before, .note-card[class*="wrap-"]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; }
.door[class*="wrap-"] .door-name { padding: 0 6px; border-radius: 5px; background: rgba(255, 255, 255, .88); color: var(--ink); }
.door[class*="wrap-"] .door-num, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-num { background: rgba(255, 255, 255, .7); color: #4a1420; }
.cal-board.is-golden { box-shadow: 0 0 0 3px var(--gold), var(--shadow-2); }
.cal-board.is-golden .door.empty .door-face { border-color: var(--gold); background: linear-gradient(160deg, #fffaf0, #fbe9bd); }
.cal-board.is-golden .door.empty .door-num { background: linear-gradient(120deg, var(--gold-lo), var(--gold-hi)); color: var(--gold-ink); }
.note-card[class*="wrap-"] { border-radius: 16px; padding: 24px 14px 18px; }
.note-paper { display: grid; }
.note-card[class*="wrap-"] .note-paper { color: var(--ink); background: rgba(255, 252, 247, .94); border-radius: 12px; padding: 12px 14px 14px; margin-top: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.note-card[class*="wrap-"] .note-sticker { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.wrap-swatch.wrap-gold, .door.wrap-gold .door-face, .note-card.wrap-gold, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face{background:linear-gradient(115deg,#b0821f 0%,#ffcf5c 22%,#d9a441 40%,#fff1b8 50%,#d9a441 62%,#ffcf5c 80%,#b0821f 100%);background-size:250% 100%;animation:wr-foil 6s ease-in-out infinite alternate;border:1px solid #b0821f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 0 12px rgba(255,207,92,.6),0 3px 8px rgba(0,0,0,.2)}
.wrap-swatch.wrap-gold::before, .door.wrap-gold .door-face::before, .note-card.wrap-gold::before, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face::before{background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.75) 50%,transparent 60%);background-size:300% 100%;animation:wr-sheen 3.6s ease-in-out infinite}
.door.wrap-gold .door-name{background:rgba(255,255,255,.55);color:#4a1420}

.wrap-swatch.wrap-ribbon, .door.wrap-ribbon .door-face, .note-card.wrap-ribbon{color:#fff;border:1px solid #5e0d1f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 3px 10px rgba(0,0,0,.28);
 background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66'%3E %3Cdefs%3E %3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff6d6'/%3E%3Cstop offset='.35' stop-color='%23f3cd6a'/%3E%3Cstop offset='.75' stop-color='%23c9962f'/%3E%3Cstop offset='1' stop-color='%238a6418'/%3E%3C/linearGradient%3E %3ClinearGradient id='d' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238a6418'/%3E%3Cstop offset='1' stop-color='%23c9962f'/%3E%3C/linearGradient%3E %3ClinearGradient id='k' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23b5862a'/%3E%3Cstop offset='.45' stop-color='%23fff0bf'/%3E%3Cstop offset='1' stop-color='%23a8781c'/%3E%3C/linearGradient%3E %3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E %3C/defs%3E %3Cellipse cx='50' cy='40' rx='36' ry='14' fill='%233a0812' opacity='.35' filter='url(%23s)'/%3E %3Cg id='L'%3E %3Cpath d='M47 37 C43 45 37 54 31 63 L37.5 60 L40 65.5 C45 56 49 46 51 38Z' fill='url(%23g)' stroke='%237a5512' stroke-width='.6'/%3E %3Cpath d='M47 37 C44 44 41 49 38 54 L40.5 55 C43 50 46 44 49 38Z' fill='%238a6418' opacity='.35'/%3E %3Cpath d='M50 31 C42 15 25 4 12 7 C3 9 1 22 6 31 C12 41 33 40 50 31Z' fill='url(%23g)' stroke='%237a5512' stroke-width='.7'/%3E %3Cpath d='M48 30.5 C39 21 26 15 17 17 C12 18.5 11.5 24 15 28 C22 33.5 36 33.5 48 30.5Z' fill='url(%23d)' opacity='.85'/%3E %3Cpath d='M47 30.5 C39 26 30 24.5 22 26' stroke='%23fff3c4' stroke-width='.8' fill='none' opacity='.5'/%3E %3Cpath d='M11 9.5 C21 7 34 13 44 23' stroke='%23fffbe8' stroke-width='1.6' fill='none' opacity='.8' stroke-linecap='round'/%3E %3C/g%3E %3Cg transform='translate(100 0) scale(-1 1)'%3E %3Cpath d='M47 37 C44 45 39 53 34 61 L40 58.5 L42 64 C46 55 49 46 51 38Z' fill='url(%23g)' stroke='%237a5512' stroke-width='.6'/%3E %3Cpath d='M47 37 C45 43 42 48 40 52 L42.5 53 C44.5 49 46.5 44 49 38Z' fill='%238a6418' opacity='.35'/%3E %3Cpath d='M50 31 C42 15 25 4 12 7 C3 9 1 22 6 31 C12 41 33 40 50 31Z' fill='url(%23g)' stroke='%237a5512' stroke-width='.7'/%3E %3Cpath d='M48 30.5 C39 21 26 15 17 17 C12 18.5 11.5 24 15 28 C22 33.5 36 33.5 48 30.5Z' fill='url(%23d)' opacity='.85'/%3E %3Cpath d='M47 30.5 C39 26 30 24.5 22 26' stroke='%23fff3c4' stroke-width='.8' fill='none' opacity='.5'/%3E %3Cpath d='M11 9.5 C21 7 34 13 44 23' stroke='%23fffbe8' stroke-width='1.6' fill='none' opacity='.6' stroke-linecap='round'/%3E %3C/g%3E %3Cpath d='M43.5 23.5 C46.5 20.5 53.5 20.5 56.5 23.5 C58.5 28.5 58.5 34.5 56.5 39 C53.5 42 46.5 42 43.5 39 C41.5 34.5 41.5 28.5 43.5 23.5Z' fill='url(%23k)' stroke='%237a5512' stroke-width='.7'/%3E %3Cpath d='M46.5 23.5 C47.5 29 47.5 34 46.5 39.5 M53.5 23.5 C52.5 29 52.5 34 53.5 39.5' stroke='%238a6418' stroke-width='.6' fill='none' opacity='.55'/%3E %3Cpath d='M48.5 22.5 C49.5 26 49.5 29 49 32' stroke='%23fffbe8' stroke-width='1.1' fill='none' opacity='.75' stroke-linecap='round'/%3E %3C/svg%3E") 50% 54%/86% auto no-repeat,
  linear-gradient(90deg,transparent 43.5%,#7a5512 43.5% 44%,#c9962f 44%,#f3cd6a 47%,#fff6d6 50%,#f3cd6a 53%,#c9962f 56%,#7a5512 56% 56.5%,transparent 56.5%),
  linear-gradient(180deg,transparent 44%,#7a5512 44% 44.5%,#c9962f 44.5%,#f3cd6a 47%,#fff6d6 49%,#f3cd6a 51%,#c9962f 53.5%,#7a5512 53.5% 54%,transparent 54%),
  repeating-linear-gradient(45deg,rgba(255,255,255,.05) 0 1px,transparent 1px 7px),
  repeating-linear-gradient(-45deg,rgba(255,255,255,.05) 0 1px,transparent 1px 7px),
  radial-gradient(120% 90% at 30% 15%,#d8455f 0%,#a81f3a 45%,#6e0f24 100%)}
.wrap-swatch.wrap-ribbon::before, .door.wrap-ribbon .door-face::before, .note-card.wrap-ribbon::before{background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.35) 50%,transparent 58%);background-size:300% 100%;animation:wr-sheen 4.2s ease-in-out infinite}
.door.wrap-ribbon .door-num{background:rgba(255,248,230,.92);color:#8e1530}
.door.wrap-ribbon .door-sticker{filter:drop-shadow(0 1px 2px rgba(60,10,20,.5))}
.wrap-swatch.wrap-ribbon::before, .door.wrap-ribbon .door-face::before, .note-card.wrap-ribbon::before{background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.28) 50%,transparent 58%);background-size:300% 100%}

.wrap-swatch.wrap-confetti, .door.wrap-confetti .door-face, .note-card.wrap-confetti{border:1.5px solid #ffc23d;box-shadow:0 0 0 2px rgba(255,194,61,.35),0 3px 8px rgba(0,0,0,.18);
 background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Cg transform='translate(16 14) rotate(-20)'%3E%3Cpath d='M-10 -4.5 L-5 0 L-10 4.5Z' fill='%23ff5d73'/%3E%3Cpath d='M10 -4.5 L5 0 L10 4.5Z' fill='%23ff5d73'/%3E%3Cellipse rx='6' ry='4.4' fill='%23ff5d73'/%3E%3Cpath d='M-2.5 -4 L-0.5 4 M1.5 -4 L3.5 4' stroke='%23fff' stroke-width='1.1' opacity='.75'/%3E%3Cellipse cx='-2' cy='-2' rx='1.6' ry='.8' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(46 40) rotate(18)'%3E%3Crect x='-.8' y='3.5' width='1.6' height='10' rx='.8' fill='%23fff6e6' stroke='%23d9c3ae' stroke-width='.4'/%3E%3Ccircle r='5.6' fill='%237b5cd6'/%3E%3Cpath d='M0 0 m-3.6 0 a3.6 3.6 0 1 0 3.6 -3.6 a2.4 2.4 0 1 0 -2.4 2.4' fill='none' stroke='%23fff' stroke-width='1.3'/%3E%3C/g%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 56' width='52' height='56'%3E%3Cg transform='translate(36 14) rotate(-10)'%3E%3Cpath d='M-5 4 Q-5.5 -5 0 -5 Q5.5 -5 5 4 Q0 5.5 -5 4Z' fill='%23ffc23d'/%3E%3Ccircle cx='-2' cy='-1' r='.6' fill='%23fff'/%3E%3Ccircle cx='1.5' cy='-2.5' r='.5' fill='%23fff'/%3E%3Ccircle cx='2' cy='1' r='.6' fill='%23fff'/%3E%3Cellipse cx='-2' cy='-3' rx='1.4' ry='.7' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Cg transform='translate(14 40) rotate(35)'%3E%3Cpath d='M-10 -4.5 L-5 0 L-10 4.5Z' fill='%2336c1a5'/%3E%3Cpath d='M10 -4.5 L5 0 L10 4.5Z' fill='%2336c1a5'/%3E%3Cellipse rx='6' ry='4.4' fill='%2336c1a5'/%3E%3Cpath d='M-2.5 -4 L-0.5 4 M1.5 -4 L3.5 4' stroke='%23fff' stroke-width='1.1' opacity='.75'/%3E%3Cellipse cx='-2' cy='-2' rx='1.6' ry='.8' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 46' width='44' height='46'%3E%3Cg transform='translate(14 12) rotate(-15) scale(1.1)'%3E%3Cpath d='M0 4 C-6 0 -4 -5 0 -2.2 C4 -5 6 0 0 4Z' fill='%23ff8a3d'/%3E%3Cellipse cx='-2' cy='-1.6' rx='1.2' ry='.6' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(32 34) rotate(12)'%3E%3Cpath d='M-5 4 Q-5.5 -5 0 -5 Q5.5 -5 5 4 Q0 5.5 -5 4Z' fill='%23ff7eb6'/%3E%3Ccircle cx='-2' cy='-1' r='.6' fill='%23fff'/%3E%3Ccircle cx='1.5' cy='-2.5' r='.5' fill='%23fff'/%3E%3Ccircle cx='2' cy='1' r='.6' fill='%23fff'/%3E%3Cellipse cx='-2' cy='-3' rx='1.4' ry='.7' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3C/svg%3E"),
  linear-gradient(180deg,#fffaf0,#ffeef3);
 background-size:46px 46px,37px 40px,31px 33px,100% 100%;
 animation:wr-fall 6s linear infinite}
@keyframes wr-fall{from{background-position:0 0,10px 0,20px 0,0 0}to{background-position:0 92px,10px 120px,20px 66px,0 0}}

.wrap-swatch.wrap-bloom, .door.wrap-bloom .door-face, .note-card.wrap-bloom{border:1px solid rgba(200,120,150,.45);
 background:
  radial-gradient(circle at 20% 22%,rgba(240,98,140,.85) 0,rgba(240,98,140,.35) 14%,transparent 24%),
  radial-gradient(circle at 78% 30%,rgba(150,112,235,.8) 0,rgba(150,112,235,.3) 15%,transparent 26%),
  radial-gradient(circle at 30% 78%,rgba(255,176,80,.8) 0,rgba(255,176,80,.3) 15%,transparent 26%),
  radial-gradient(circle at 80% 80%,rgba(70,190,165,.75) 0,rgba(70,190,165,.3) 14%,transparent 24%),
  radial-gradient(circle at 55% 50%,rgba(255,150,190,.5) 0,transparent 30%),
  #fff8f4;
 background-size:200% 200%;animation:wr-flow 12s ease-in-out infinite alternate}
.wrap-swatch.wrap-bloom::before, .door.wrap-bloom .door-face::before, .note-card.wrap-bloom::before{background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.55),transparent 60%);animation:wr-breathe 4s ease-in-out infinite}
@keyframes wr-flow{0%{background-position:0% 0%,100% 0%,0% 100%,100% 100%,50% 50%,0 0}100%{background-position:30% 20%,70% 30%,25% 70%,65% 75%,40% 60%,0 0}}

.wrap-swatch.wrap-starry, .door.wrap-starry .door-face, .note-card.wrap-starry{color:#fff;border:1px solid #7b6be0;box-shadow:0 0 14px rgba(123,92,214,.6),0 3px 8px rgba(0,0,0,.25);
 background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 30'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M60 2 L9 22 L11 26 Z' fill='url(%23t)'/%3E%3Cpath d='M10 17 L11.4 22.6 L17 24 L11.4 25.4 L10 31 L8.6 25.4 L3 24 L8.6 22.6Z' fill='%23fff8d6'/%3E%3Ccircle cx='10' cy='24' r='3.2' fill='%23fff' opacity='.35'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3CradialGradient id='h'%3E%3Cstop offset='0' stop-color='%23ffe9a8' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23ffe9a8' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Ccircle cx='25' cy='16' r='8' fill='%23000'/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='20' cy='20' r='19' fill='url(%23h)'/%3E%3Ccircle cx='20' cy='20' r='9' fill='%23fff3c4' mask='url(%23m)'/%3E%3C/svg%3E"),
  radial-gradient(circle at 25% 30%,#fff 0 .8px,transparent 1.5px),
  radial-gradient(circle at 65% 70%,#cfd6ff 0 .7px,transparent 1.4px),
  linear-gradient(180deg,#0b1030 0%,#1a1f5c 50%,#43378a 82%,#8e5fae 100%);
 background-size:46px auto,34px 34px,37px 41px,53px 47px,100% 100%;
 background-repeat:no-repeat,no-repeat,repeat,repeat,no-repeat;
 background-position:calc(100% + 60px) -40px,right 4px top 4px,0 0,0 0,0 0;
 animation:wr-shoot 8s linear infinite}
.wrap-swatch.wrap-starry::before, .door.wrap-starry .door-face::before, .note-card.wrap-starry::before{background:
  radial-gradient(circle at 15% 22%,#fff 0 1.4px,rgba(255,255,255,.4) 2px,transparent 3.5px),
  radial-gradient(circle at 40% 48%,#ffe9a8 0 1.2px,transparent 3px),
  radial-gradient(circle at 70% 40%,#fff 0 1.3px,rgba(255,255,255,.4) 2px,transparent 3.5px),
  radial-gradient(circle at 25% 62%,#fff 0 1px,transparent 2.6px),
  radial-gradient(circle at 88% 58%,#d9ddff 0 1.2px,transparent 3px);
 animation:wr-twinkle2 2.6s ease-in-out infinite}
@keyframes wr-shoot{0%{background-position:calc(100% + 60px) -40px,right 4px top 4px,0 0,0 0,0 0}30%{background-position:-60px 50px,right 4px top 4px,0 0,0 0,0 0}100%{background-position:-60px 50px,right 4px top 4px,0 0,0 0,0 0}}
@keyframes wr-twinkle2{0%,100%{opacity:.25}50%{opacity:1}}
.door.wrap-starry .door-num{background:rgba(255,255,255,.2);color:#fff}

.wrap-swatch.wrap-snow, .door.wrap-snow .door-face, .note-card.wrap-snow{color:#fff;border:1px solid #9fd3f0;box-shadow:0 0 12px rgba(160,215,245,.55),0 3px 8px rgba(0,0,0,.2);
 background:
  radial-gradient(ellipse 70% 16% at 25% 102%,#fff 96%,transparent),
  radial-gradient(ellipse 70% 14% at 85% 104%,#f2f8ff 96%,transparent),
  radial-gradient(circle at 30% 30%,#fff 0 2.2px,transparent 2.8px),
  radial-gradient(circle at 70% 60%,rgba(255,255,255,.85) 0 1.6px,transparent 2.2px),
  radial-gradient(circle at 50% 20%,rgba(255,255,255,.6) 0 1px,transparent 1.6px),
  linear-gradient(180deg,#24456e 0%,#3d72a3 60%,#8fc3e3 100%);
 background-size:100% 100%,100% 100%,43px 47px,31px 29px,19px 23px,100% 100%;
 background-repeat:no-repeat,no-repeat,repeat,repeat,repeat,no-repeat;
 animation:wr-snow 7s linear infinite}
@keyframes wr-snow{from{background-position:0 0,0 0,0 0,0 0,0 0,0 0}to{background-position:0 0,0 0,14px 94px,-10px 87px,6px 69px,0 0}}
.door.wrap-snow .door-num{background:rgba(255,255,255,.25);color:#fff}

.wrap-swatch.wrap-holo, .door.wrap-holo .door-face, .note-card.wrap-holo{border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 0 12px rgba(200,180,255,.6),0 3px 8px rgba(0,0,0,.18);
 background:linear-gradient(125deg,#ffc6d9,#e0c8ff,#bfe9ff,#c9ffe0,#fff2b3,#ffc6d9,#e0c8ff);background-size:300% 300%;animation:wr-holo 6s linear infinite}
.wrap-swatch.wrap-holo::before, .door.wrap-holo .door-face::before, .note-card.wrap-holo::before{background:
  repeating-linear-gradient(125deg,rgba(255,255,255,0) 0 6px,rgba(255,255,255,.18) 6px 7px),
  linear-gradient(105deg,transparent 40%,rgba(255,255,255,.8) 50%,transparent 60%);
 background-size:auto,300% 100%;animation:wr-sheen2 3.4s ease-in-out infinite}
@keyframes wr-holo{from{background-position:0% 50%}to{background-position:100% 50%}}
@keyframes wr-sheen2{0%{background-position:0 0,130% 0}60%,100%{background-position:0 0,-30% 0}}

.wrap-swatch.wrap-lights, .door.wrap-lights .door-face, .note-card.wrap-lights{color:#fff;border:1px solid #2f6b4f;
 background:
  linear-gradient(180deg,transparent 30%,#0b1f15 30% 31.5%,transparent 31.5%),
  radial-gradient(circle at 50% 50%,rgba(255,255,255,.12),transparent 70%),
  linear-gradient(180deg,#1d4a36,#12301f)}
.wrap-swatch.wrap-lights::before, .door.wrap-lights .door-face::before, .note-card.wrap-lights::before{
 background:
  radial-gradient(circle at 8px 36%,#ff5d73 0 3.2px,rgba(255,93,115,.45) 4.5px,transparent 9px),
  radial-gradient(circle at 24px 36%,#ffcf5c 0 3.2px,rgba(255,207,92,.45) 4.5px,transparent 9px),
  radial-gradient(circle at 40px 36%,#5fd0ff 0 3.2px,rgba(95,208,255,.45) 4.5px,transparent 9px);
 background-size:48px 100%;animation:wr-chase 1.8s steps(1) infinite}
@keyframes wr-chase{0%{background-position:0 0}33.3%{background-position:16px 0}66.6%{background-position:32px 0}}
.door.wrap-lights .door-num{background:rgba(255,255,255,.2);color:#fff}
.door.wrap-lights .door-sticker{margin-top:12%}

@keyframes wr-foil{from{background-position:0% 50%}to{background-position:100% 50%}}
@keyframes wr-sheen{0%{background-position:130% 0}60%,100%{background-position:-30% 0}}
@keyframes wr-breathe{0%,100%{opacity:.3;transform:scale(.9)}50%{opacity:.8;transform:scale(1.05)}}
.note-card.wrap-ribbon { background-position: 50% 4px, 0 0, 0 0, 0 0, 0 0, 0 0; background-size: 170px auto, auto, auto, auto, auto, auto; }
@media (prefers-reduced-motion: reduce) {
  .wrap-swatch, .wrap-swatch::before, .door[class*="wrap-"] .door-face, .door[class*="wrap-"] .door-face::before, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face, .cal-board.is-golden .door.filled:not([class*="wrap-"]) .door-face::before, .note-card[class*="wrap-"], .note-card[class*="wrap-"]::before { animation: none !important; }
}
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--field); vertical-align: top; }
.prose th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
/* A sheet turned non-modal so the human-check box at the bottom right can be clicked */
dialog.sheet.is-open-plain[open] { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 1000; overflow: auto; box-shadow: 0 0 0 100vmax rgba(42, 26, 31, .55), var(--shadow-2); }
.footer-credit { margin-top: 8px; }
.footer-credit a { color: var(--ink); }
/* Wrap preview inside the wrap sheet */
.wrap-preview { margin: 4px 0 12px; text-align: center; }
.wrap-preview-board { padding: 10px; border-radius: 12px; max-width: 260px; margin: 0 auto; }
.wrap-preview-board .door-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wrap-preview-board .door { pointer-events: none; }
.wrap-preview-board .door.mine .door-face { transform: scale(1.06); }
.wrap-preview-cap { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* Wrap showcase on landing pages */
.footer-copy { color: var(--muted); font-size: 13px; margin-top: 24px; }
.wraps-head { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.wrap-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wrap-card { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px 14px; box-shadow: var(--shadow-1); }
.wrap-card .door { width: 76px; margin: 0 0 4px; }
.gold-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; align-items: center; border: 1px solid var(--gold); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-1); }
.gold-card .mini-gold { grid-row: 1 / 3; width: 64px; max-width: none; margin: 0; }
.gold-card .wc-txt { align-self: end; }
.gold-card .wc-price { align-self: start; justify-self: start; }
.wrap-card .door-sticker { font-size: 22px; }
.wrap-card .door-name { font-size: 11px; }
.wrap-card .door-num { font-size: 14px; padding: 1px 6px; }
.wc-txt b { display: block; font-size: 15px; line-height: 1.25; }
.wc-txt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.wc-price { font-size: 13px; font-weight: 700; background: var(--gold-soft); color: var(--gold-ink); padding: 1px 10px; border-radius: 99px; }
.gold-card { max-width: 980px; margin: 12px auto 0; background: linear-gradient(120deg, var(--gold-soft), var(--card) 70%); }
.mini-gold { aspect-ratio: 5 / 6; padding: 5px; border-radius: 10px; box-shadow: 0 0 0 2px var(--gold), 0 3px 8px var(--shade); }
.mini-gold .door-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; height: 100%; align-content: stretch; }
.mini-gold .door { aspect-ratio: auto; max-width: none; margin: 0; }
.mini-gold .door-face { padding: 2px; grid-template-rows: 1fr; }
.mini-gold .door-sticker { font-size: 13px; }
.shelf-foot { text-align: center; margin-top: 18px; }
@media (min-width: 760px) { .wrap-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wrap-card .door { width: 84px; } }

/* The big day: wrap-up card for the owner */
.finale { position: relative; overflow: hidden; padding-top: 44px; border-color: #e9c46a; background: linear-gradient(160deg, #fff8e6 0%, var(--card) 55%); }
.finale::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34px; pointer-events: none; opacity: .9;
  background:
    radial-gradient(circle, #e3a33b 0 3px, transparent 4px) 12% 30% / 44px 40px,
    radial-gradient(circle, var(--primary) 0 2.5px, transparent 3.5px) 40% 10% / 56px 46px,
    radial-gradient(circle, var(--accent) 0 2.5px, transparent 3.5px) 75% 60% / 50px 38px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
  animation: fin-drift 9s linear infinite; }
.finale > * { position: relative; }
.finale-eyebrow { font-weight: 700; color: var(--primary-dark); font-size: 15px; margin-bottom: 6px; }
.finale h2 { font-size: 26px; margin-bottom: 8px; }
.finale-text { color: var(--muted); }
.finale-names { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.finale-names li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.finale-actions { display: grid; gap: 8px; margin-bottom: 20px; }
.finale-next { border-top: 1px dashed var(--field); padding-top: 16px; }
.finale-next p { font-size: 15px; color: var(--ink); }
.finale-next .btn { width: 100%; }
@keyframes fin-drift { from { background-position: 12% 0, 40% 0, 75% 0; } to { background-position: 12% 90px, 40% 92px, 75% 76px; } }
@media (prefers-reduced-motion: reduce) { .finale::before { animation: none; } }
.notes-all-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.notes-all-head h2 { margin: 0; font-size: 24px; }
.finale-jump { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 999px; background: #fff3d6; border: 1px solid #e9c46a; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; text-wrap: balance; }
.finale-jump:hover { background: #ffecbf; }
.finale { scroll-margin-top: 16px; }

/* Keepsakes: note cards, thank-you picture, keepsake book */
.notes-all-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.notes-list .n-card { margin-top: 8px; font-size: 14px; }
.keeps-head { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.keep-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 16px; }
@media (min-width: 760px) { .keep-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.keep-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 18px; }
.keep-card h3 { font-size: 19px; margin: 14px 0 4px; }
.keep-card p { margin: 0; color: var(--muted); font-size: 15px; }
.kc-art { height: 230px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.mk-note, .mk-thanks { position: relative; display: flex; flex-direction: column; align-items: center; background: #8e1f35; color: #fff; border-radius: 10px; box-shadow: var(--shadow-2); overflow: hidden; }
.mk-note { width: 168px; height: 210px; padding: 22px 12px 8px; }
.mk-thanks { width: 120px; height: 212px; padding: 24px 8px 8px; }
.mk-dots { position: absolute; inset: 0 0 auto; height: 20px; opacity: .85; background: radial-gradient(circle, #e3a33b 0 2px, transparent 2.6px) 0 -3px / 22px 20px repeat-x, radial-gradient(circle, #e9b85c 0 1.4px, transparent 2px) 11px 4px / 31px 20px repeat-x; }
.mk-paper { flex: 1; width: 100%; background: #f6e7d8; color: #4a1420; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; text-align: center; }
.mk-pill { background: #e3a33b; border-radius: 99px; font: 700 7px/1 var(--sans); padding: 4px 7px; letter-spacing: .04em; }
.mk-stk { font-size: 22px; line-height: 1.1; }
.mk-txt { font: 400 11px/1.3 var(--serif); }
.mk-from { font: 600 8px/1 var(--sans); }
.mk-url { font: 700 7px/1 var(--sans); margin-top: 6px; }
.mk-thanks .mk-url { margin-top: auto; }
.mk-ty { font: 400 17px/1.1 var(--serif); }
.mk-sub { font: 600 6.5px/1.2 var(--sans); margin: 4px 0 8px; text-align: center; }
.mk-names { display: grid; gap: 3px; width: 100%; }
.mk-names span { background: #f6e7d8; color: #4a1420; border-radius: 4px; font: 600 8px/1 var(--sans); padding: 4px 6px; }
.mk-book { position: relative; width: 170px; height: 200px; }
.mk-page { position: absolute; width: 132px; height: 176px; border-radius: 6px; background: #fffdf8; box-shadow: var(--shadow-2); display: flex; flex-direction: column; }
.mk-back { right: 0; top: 0; transform: rotate(6deg); padding: 22px 14px; gap: 9px; }
.mk-line { height: 5px; border-radius: 3px; background: #ead9c8; }
.mk-line.s { width: 60%; }
.mk-cover { left: 0; bottom: 0; transform: rotate(-4deg); border: 3px solid #d4a63a; background: linear-gradient(160deg, #fff6dc, #fffdf8 60%); align-items: center; justify-content: center; text-align: center; padding: 10px; gap: 6px; }
.mk-eb { font: 700 7px/1 var(--sans); color: #a67c00; }
.mk-bt { font: 400 16px/1.1 var(--serif); color: var(--ink); }
.mk-bs { font-size: 9px; white-space: nowrap; }
.mk-bc { font: 600 7px/1 var(--sans); color: var(--muted); }

/* Keepsake book: only shown when printing (or saving as PDF) */
.print-book { display: none; }
@media print {
  @page { margin: 14mm; }
  body.printing-book { background: #fff; }
  body.printing-book > *:not(.print-book) { display: none !important; }
  body.printing-book .print-book { display: block; color: #2a1a1f; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pb-cover { break-after: page; page-break-after: always; min-height: 240mm; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 2px solid #ead9c8; border-radius: 16px; padding: 24mm 14mm; background: linear-gradient(160deg, #fbe8ea 0%, #fffaf5 50%); }
  .pb-eyebrow { font: 700 12pt/1.2 var(--sans); color: #a52339; letter-spacing: .04em; margin: 0 0 6mm; }
  .pb-title { font: 400 34pt/1.1 var(--serif); margin: 0 0 4mm; }
  .pb-date { font: 400 13pt/1.3 var(--sans); color: #75605f; margin: 0 0 10mm; }
  .pb-stickers { font-size: 22pt; line-height: 1.5; letter-spacing: 4px; margin: 0 0 8mm; max-width: 140mm; }
  .pb-count { font: 700 14pt/1.3 var(--sans); margin: 0 0 2mm; }
  .pb-names { font: 400 11pt/1.5 var(--sans); color: #75605f; max-width: 140mm; margin: 0; }
  .pb-foot { margin: 16mm 0 0; font: 600 10pt/1 var(--sans); color: #75605f; }
  .pb-notes { display: block; }
  .pb-note { break-inside: avoid; page-break-inside: avoid; border: 1.5px solid #ead9c8; border-radius: 12px; padding: 7mm 8mm; margin: 0 0 7mm; background: #fffaf5; }
  .pb-door { font: 700 10pt/1.2 var(--sans); color: #75605f; margin: 0 0 3mm; }
  .pb-text { font: 400 16pt/1.45 var(--serif); margin: 0 0 3mm; white-space: pre-wrap; overflow-wrap: anywhere; }
  .pb-from { font: 600 11pt/1.2 var(--sans); margin: 0; text-align: right; }
  .pb-end { text-align: center; font: 600 9pt/1 var(--sans); color: #75605f; margin: 10mm 0 0; }
  .print-book.is-gold .pb-cover { border: 3px solid #d4a63a; background: linear-gradient(160deg, #fff4d6 0%, #fffdf8 55%); }
  .print-book.is-gold .pb-eyebrow { color: #a67c00; }
  .print-book.is-gold .pb-title { color: #8a6400; }
  .print-book.is-gold .pb-note { border-color: #e2c26b; }
  .pb-note.is-wrapped { border-color: #d4a63a; background: #fffaf0; }
}

/* Owner's daily card above the board */
.today-card { max-width: 720px; margin: 0 auto 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-1); }
.tc-eyebrow { margin: 0 0 2px; font-weight: 700; font-size: 14px; color: var(--accent); }
.tc-title { margin: 0; font: 400 21px/1.25 var(--serif); text-wrap: balance; }
.tc-text { margin: 4px 0 0; color: var(--muted); }
.tc-nudge { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--primary-soft); font-size: 14px; line-height: 1.45; }
.tc-remind { flex-basis: 100%; text-align: left; font-size: 14px; margin-top: 2px; }
.tc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 640px) { .today-card { padding: 14px 16px; } .tc-actions .btn { flex: 1 1 auto; } }

/* Calendar shelf on /calendar/ */
.shelf { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.shelf .shelf-year { font: 700 13px/1 var(--sans); color: var(--muted); letter-spacing: .06em; margin: 10px 0 2px; }
.shelf .shelf-year:first-child { margin-top: 0; }
.shelf-item a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; }
.shelf-item a:hover { border-color: var(--field); }
.shelf-swatch { flex: none; width: 40px; height: 48px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; background: #8e1f35; }
.shelf-item.style-pine .shelf-swatch { background: #1f4d39; }
.shelf-item.style-frost .shelf-swatch { background: #cfe3f0; }
.shelf-item.style-midnight .shelf-swatch { background: #1b1f3a; }
.shelf-item.is-gold .shelf-swatch { box-shadow: 0 0 0 3px #d4a63a; }
.shelf-body { display: grid; min-width: 0; }
.shelf-body b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-body span { font-size: 14px; color: var(--muted); }
.year-card { border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; background: linear-gradient(150deg, #1b1f3a, #2b3157); color: #e8ecff; }
.year-title { margin: 0; font: 400 20px/1.2 var(--serif); color: #ffcf5c; }
.year-text { margin: 4px 0 10px; font-size: 15px; }
.shelf-item a { justify-content: flex-start; font-weight: 400; }
.mine-list .shelf-body b { color: var(--ink); font-size: 16px; }
.shelf-swatch.wrote-swatch { background: var(--primary-soft); }
.footer-ver { color: inherit; margin-left: 6px; }

/* Homepage guestbook (engine comments) */
.guest-band { border-top: 1px solid var(--line); }
.guest-head p { color: var(--muted); }
.guest-stats { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; font-size: 14px; }
.guest-like { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--field); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; }
.guest-like span[aria-hidden] { color: var(--primary); }
.guest-like[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); }
.guest-form { padding: 16px; margin: 20px 0 24px; }
.guest-form .field:last-of-type { margin-bottom: 8px; }
.guest-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.guest-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.guest-actions [data-gf-reply-cancel], .guest-replying { display: none; }
.guest-form[data-gf-replying] [data-gf-reply-cancel] { display: inline-block; }
.guest-form[data-gf-replying] .guest-replying { display: block; margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.guest-msg { margin: 8px 0 0; font-size: 14px; color: var(--accent); }
.guest-msg:empty { display: none; }
.guest-list, .guest-replies { list-style: none; padding: 0; margin: 0; }
.guest-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.guest-replies .guest-item { padding: 10px 0 0 14px; margin-top: 8px; border-bottom: 0; border-left: 3px solid var(--line); }
.guest-replies:empty { display: none; }
.guest-meta { margin: 0 0 2px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.guest-meta b { color: var(--ink); font-size: 15px; }
.guest-owner { display: none; }
.guest-item[data-gf-owner] > .guest-meta .guest-owner { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12px; }
.guest-text { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.guest-to { color: var(--muted); font-weight: 600; }
.guest-to:empty { display: none; }
.guest-item .link-btn { padding: 4px 0 0; font-size: 13px; }
.guest-empty { display: none; color: var(--muted); }
.guest-list[data-gf-empty] + .guest-empty { display: block; }
.guest-list[data-gf-off], .guest-list[data-gf-off] ~ .guest-empty { display: none; }
