@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 1000; font-display: swap; }
/* Match the hero fallback to Instrument Serif's 99% ascent and 31% descent after scaling. */
@font-face {
  font-family: "Advent Heading Fallback";
  src: local("Georgia"), local("Times New Roman");
  font-style: normal;
  size-adjust: 80%;
  ascent-override: 123.75%;
  descent-override: 38.75%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Advent Heading Fallback";
  src: local("Georgia Italic"), local("Times New Roman Italic");
  font-style: italic;
  size-adjust: 80%;
  ascent-override: 123.75%;
  descent-override: 38.75%;
  line-gap-override: 0%;
}
:root {
  color-scheme: light;
  --paper: #fbf2e3;
  --panel: #fffaf0;
  --ink: #3c2222;
  --muted: #694d47;
  --red: #8f2536;
  --red-hover: #732034;
  --line: #e3cdb4;
  --heading: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  /* Type scale: one display face for headings, one text face; ~1.25 steps. */
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-lg: 1.2rem;
  --title-sm: clamp(1.85rem, 2.6vw, 2.2rem);
  --title-md: clamp(2.1rem, 3.7vw, 3rem);
  --gold: #b07a26;
  --shadow-soft: 0 1px 2px #5a2a2a12, 0 14px 34px -22px #5a2a2a59;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 42% 10%, #fff9ed 0, transparent 52%); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1; }
h2 { font-size: var(--title-md); }
h3 { font-size: 2rem; }
p + p { margin-top: .6rem; }
a { color: var(--red); }
button, input, textarea { font: inherit; }
a, button, input, textarea, summary, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9a3451; outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.nav { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--heading); font-size: 1.85rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { flex: none; }
.nav nav { display: flex; align-items: center; gap: clamp(.65rem, 2.4vw, 2rem); }
.nav nav a { text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.nav nav a:hover { text-decoration: underline; }
.nav nav .nav-join { border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; color: var(--red); }
.hero { display: grid; gap: 1.5rem; padding: 2.9rem 0 2.25rem; align-items: center; }
.eyebrow { font-size: .72rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: var(--red); }
.eyebrow span { margin-right: .22rem; }
.hero h1 { margin-top: .75rem; font-family: "Instrument Serif", "Advent Heading Fallback", Georgia, serif; font-size: clamp(3.7rem, 6.1vw, 6.35rem); line-height: .89; letter-spacing: -.025em; }
.hero h1 em { display: block; color: var(--red); font-weight: 400; }
.hero-description { color: var(--muted); max-width: 30rem; font-size: clamp(1rem, 1.5vw, 1.17rem); margin: 1.15rem 0 1.3rem; }
.hero-cta { min-width: 12.3rem; }
:is([data-home-variant=b], [data-home-variant=c]) .control-hero { display: none; }
:is([data-home-variant=b], [data-home-variant=c]) .example-hero[hidden] { display: grid !important; }
[data-home-variant=b] :is(.split-hero-copy, .split-door),
[data-home-variant=c] :is(.board-hero-copy, .board-door) { display: none; }
.example-hero h1 { margin-top: 0; font-size: clamp(3.05rem, 5.2vw, 5.5rem); line-height: .97; }
.example-hero .hero-cta { max-width: 100%; white-space: normal; text-align: center; }
.example-board {
  min-width: 0;
  padding: clamp(.85rem, 2.4vw, 1.75rem);
  border: 1px solid #dabda0;
  border-radius: 24px;
  background: radial-gradient(ellipse at top, #fff9ed, #f2ddbf);
  box-shadow: var(--shadow-soft);
}
.example-board figcaption { font-family: var(--heading); font-size: 1.85rem; line-height: 1; }
.example-doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 10px);
  margin: .8rem 0;
  padding: 0;
  list-style: none;
}
.example-door {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 44px;
  border: 1px dashed #997757;
  border-radius: 12px 12px 8px 8px;
  background: #fff8e9;
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(1.5rem, 2.7vw, 2.65rem);
  line-height: 1;
}
button.example-door { border: 1px solid var(--red); background: var(--red); color: #fff9ea; cursor: pointer; }
button.example-door:hover { background: var(--red-hover); }
button.example-door span { position: absolute; top: .15rem; right: .25rem; font: .7rem var(--body); }
.board-hero-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; }
[data-home-variant=b] .example-hero { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; }
[data-home-variant=b] .example-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
[data-home-variant=b] .example-doors { grid-template-columns: repeat(8, minmax(0, 1fr)); }
[data-home-variant=b] .example-door { aspect-ratio: auto; min-height: clamp(70px, 10vw, 130px); font-size: clamp(1.7rem, 3.7vw, 3.3rem); }
[data-home-variant=b] a.example-door { text-decoration: none; }
[data-home-variant=b] a.example-door:hover { background: #f5dfbc; border-style: solid; }
[data-home-variant=b] .example-door:active { transform: translateY(2px); }
@media (max-width: 629px) {
  [data-home-variant=b] .example-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.example-door-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.example-legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .78rem; font-weight: 700; }
.example-legend > span:first-child { color: var(--red); }
.example-legend > span:last-child::before {
  display: inline-block;
  width: .62rem;
  height: .62rem;
  margin-right: .3rem;
  border: 1px dashed #997757;
  border-radius: 2px;
  content: "";
}
.micro { margin-top: .63rem; font-size: .82rem; color: var(--muted); }
.hero-art {
  position: relative;
  margin: 0 -5px;
  aspect-ratio: 708 / 600;
  border-radius: 20px;
  overflow: hidden;
  background: #4b1c2c;
  box-shadow: var(--shadow-soft);
}
.hero-art img, .hero-art video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art picture, .hero-art video { position: absolute; inset: 0; }
.hero-motion {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  min-height: 44px;
  padding: .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: var(--text-xs);
  font-weight: 750;
  cursor: pointer;
}
.start { display: grid; gap: .8rem; align-items: start; }
.start-aside { display: grid; gap: .8rem; height: 100%; }
.panel { border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.1rem, 3.4vw, 2rem); background: var(--panel); }
.create { height: 100%; background: #fff9ec; }
.join { background: #f0eddb; }
.join h2, .mine h2 { font-size: 2.2rem; }
.join p:not(.error), .mine p, .share p, .owner-panel p { color: var(--muted); font-size: .93rem; margin: .6rem 0 .8rem; }
.panel h2 + label { margin-top: 1.1rem; }
label, legend { color: var(--ink); font-size: .89rem; font-weight: 750; }
form > label { display: block; margin-bottom: .35rem; }
input:not([type=radio], [type=checkbox]), textarea { width: 100%; min-width: 0; padding: .72rem .85rem; border: 1px solid #bca090; border-radius: 10px; background: #fffdf8; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #80645d; }
textarea { min-height: 103px; resize: vertical; }
fieldset { min-width: 0; border: 0; padding: 0; margin: .95rem 0; }
legend { padding: 0; margin-bottom: .42rem; }
.theme-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.theme-swatch { position: relative; border: 1px solid #ddc4a8; border-radius: 11px; background: #faecd8; cursor: pointer; min-height: 70px; display: grid; gap: .15rem; align-content: center; justify-items: center; text-align: center; font-size: .73rem; }
.theme-swatch[data-theme=snowy] { background: #e7f0f2; border-color: #b2c5c9; }
.theme-swatch[data-theme=candy] { background: #f9e5e8; border-color: #dfbac1; }
.theme-swatch span { font-size: 1.45rem; line-height: 1.12; }
.length-picker .theme-swatch { background: #fff5e6; min-height: 57px; }
.length-picker small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.theme-swatch input, .sticker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.theme-swatch:has(:checked), .sticker:has(:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.theme-swatch:has(:focus-visible), .sticker:has(:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.input-row { display: flex; gap: .55rem; margin-top: .33rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; border-radius: 999px; padding: .63rem 1.1rem; min-height: 45px; font-weight: 750; font-size: .9rem; border: 1px solid transparent; cursor: pointer; transition: background-color .17s, transform .17s; white-space: nowrap; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .65; cursor: progress; }
.button.primary { color: #fff9ea; background: var(--red); }
.button.primary:hover { background: var(--red-hover); }
.button.outline { background: transparent; color: var(--red); border-color: #bd8b83; }
.button.outline:hover, .button.text-button:hover { background: #8f25360d; }
.button.text-button { color: var(--red); background: none; }
.create .button { width: 100%; }
.error { color: #9b1c30; font-size: .88rem; margin-top: .5rem; }
.error:empty { display: none; }
.error:not(:empty) + .button { margin-top: .75rem; }
.saved-list { display: grid; gap: .5rem; padding: 0; margin: .5rem 0 0; list-style: none; }
.saved-list:empty { display: none; }
.saved-list li { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding-top: .48rem; font-size: .86rem; }
.saved-list a { overflow-wrap: anywhere; }
.saved-list li span { color: var(--muted); white-space: nowrap; }
.how { margin: 4rem 0; text-align: center; }
.how ol { list-style: none; display: grid; border: 1px solid var(--line); border-radius: 20px; padding: 0; margin: 1.2rem 0 0; background: #fff9ea; }
.how li { padding: 1.25rem 1.1rem; }
.how li + li { border-top: 1px solid var(--line); }
.how li img, .guide-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.how li img { margin-bottom: .85rem; }
.how li p { margin-top: .45rem; color: var(--muted); }
.faq { width: min(760px, 100%); margin: 0 auto 3rem; }
.faq h2 { margin-bottom: .8rem; }
.faq details { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .4rem 0 .1rem 1rem; color: var(--muted); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.25rem; border-top: 1px solid var(--line); padding: 1rem 0 1.4rem; }
.site-footer .brand { font-size: 1.45rem; margin-inline-end: auto; }
.site-footer > a:not(.brand), .footer-links { font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .45rem .8rem; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.footer-badges a { display: inline-flex; line-height: 0; border-radius: 10px; transition: opacity .17s, transform .17s; }
.footer-badges a:hover { opacity: .9; transform: translateY(-1px); }
.footer-badges img { display: block; max-width: 100%; height: auto; }
.calendar-page { min-height: 70vh; --board: #4b1c2c; --door: #602a3b; --door-hover: #743145; --door-txt: #ffebce; --board-accent: #f2bd78; --filled: #f3d3a6; --filled-ink: #54252a; }
.calendar-page[data-theme=snowy] { --board: #15384e; --door: #21516b; --door-hover: #2a5b74; --door-txt: #e6f8ff; --board-accent: #a8d7eb; --filled: #ddf2f7; --filled-ink: #133d52; }
.calendar-page[data-theme=candy] { --board: #691939; --door: #8c3150; --door-hover: #a43d60; --door-txt: #fff0f4; --board-accent: #ffc5d7; --filled: #ffdde6; --filled-ink: #66183c; }
.calendar-page[data-theme=evergreen] { --board: #173e32; --door: #285443; --door-hover: #35654f; --door-txt: #f5f5dc; --board-accent: #d3e2a3; --filled: #e7edca; --filled-ink: #173e32; }
.calendar-page[data-theme=starlight] { --board: #30244f; --door: #46376a; --door-hover: #59477f; --door-txt: #f5edff; --board-accent: #decaef; --filled: #eddefa; --filled-ink: #30244f; }
.calendar-page[data-theme=cranberry] { --board: #612036; --door: #7c3049; --door-hover: #91415b; --door-txt: #fff0e5; --board-accent: #ffc1a3; --filled: #f8dbcd; --filled-ink: #612036; }
.calendar-heading { padding: 2.25rem 0 1.25rem; }
.calendar-heading h1 { font-size: clamp(3.55rem, 7.3vw, 6.65rem); overflow-wrap: anywhere; margin: .25rem 0 .4rem; }
.long-name .calendar-heading h1 { font-size: clamp(2.35rem, 5.45vw, 5.1rem); }
.calendar-heading p:not(.eyebrow) { color: var(--muted); }
.calendar-heading .mobile-share { margin-top: .9rem; }
.calendar-heading .leave-note { margin-top: .9rem; }
.calendar-heading .make-own { margin-top: .9rem; }
.calendar-heading .fill-nudge { margin-top: .45rem; color: var(--red); font-weight: 750; }
.calendar-layout { display: grid; gap: .85rem; align-items: start; padding-bottom: 2.35rem; }
.door-board { border-radius: 20px; overflow: hidden; padding: clamp(.9rem, 3.5vw, 2rem); color: var(--door-txt); background: radial-gradient(circle at 1px 1px, #fff2ce25 0, #fff2ce25 1px, transparent 1.45px) 0 0 / 29px 29px, var(--board); border: 1px solid #0002; }
[data-theme=snowy] .door-board { background: radial-gradient(circle at 14px 14px, #e8f9fd37 1px, transparent 1.7px) 0 0 / 34px 30px, radial-gradient(ellipse at top, #26617e, var(--board) 62%); }
[data-theme=candy] .door-board { background: repeating-linear-gradient(135deg, transparent 0 19px, #ffc5d712 19px 28px), var(--board); }
.board-header { display: flex; align-items: flex-end; justify-content: space-between; gap: .45rem; margin-bottom: .86rem; }
.door-count { flex: none; text-align: center; color: var(--door-txt); border: 1px solid #fff3; padding: .31rem .62rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 750; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.35rem, 1.2vw, .72rem); }
.door { display: grid; grid-template: 1fr auto / minmax(0, 1fr) auto; text-align: left; align-items: start; position: relative; border: 1px solid #ffedd45a; border-radius: 10px; min-height: 68px; padding: .3rem .37rem; background: var(--door); color: var(--door-txt); cursor: pointer; transition: background .18s, transform .18s; }
.door:focus-visible { outline-color: var(--board-accent); z-index: 1; }
.door:hover { background: var(--door-hover); transform: translateY(-2px); }
.door[data-filled=true] { background: var(--filled); color: var(--filled-ink); }
.door-number { display: block; font-family: var(--heading); font-size: clamp(1.6rem, 3.2vw, 2.65rem); line-height: 1; }
.door-motif { padding-top: 1px; color: var(--board-accent); font-size: clamp(.72rem, 1.65vw, 1.27rem); }
.door-state { grid-column: 1 / -1; align-self: end; overflow-wrap: anywhere; font-size: .77rem; line-height: 1.25; font-weight: 700; }
.board-note { color: var(--door-txt); margin-top: .85rem; font-size: .8rem; }
.fill-status { color: var(--board-accent); margin-top: 0; font-size: .8rem; font-weight: 750; }
.fill-status:not(:empty) { margin-top: .35rem; }
.calendar-aside { display: grid; gap: .8rem; }
.calendar-aside .panel { padding: clamp(1.05rem, 2.85vw, 1.55rem); }
.calendar-aside .button { width: 100%; }
.calendar-aside .button:not([hidden]) ~ .button, .fill-success .button + .button { margin-top: .55rem; }
.holiday-panel { border-top: 3px solid var(--red); }
.holiday-panel p { margin: .35rem 0 .85rem; }
.holiday-panel form { margin: .9rem 0; }
.holiday-panel select {
  display: block;
  width: 100%;
  margin: .35rem 0 .65rem;
  padding: .65rem;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--muted);
  border-radius: 8px;
}
.holiday-panel form .error:empty { display: none; }
.holiday-dialog .holiday-price { color: var(--red); font-weight: 750; }
.holiday-dialog ul { padding: 0 0 0 1.15rem; margin: .9rem 0; }
.holiday-dialog li + li { margin-top: .65rem; }
.holiday-dialog .button { width: 100%; white-space: normal; }
.holiday-dialog .holiday-details { margin: .75rem 0; color: var(--muted); font-size: .9rem; }

/* The sample page shares the printed book's theme and typography. */
.keepsake-sample { text-align: left; margin: .85rem 0; color: var(--book-ink); overflow-wrap: anywhere; }
.keepsake-cover { text-align: center; padding: 1.1rem; border: 4px double var(--book-ink); background: var(--book-paper); }
.keepsake-cover > :first-child { font-size: .75rem; font-weight: 750; letter-spacing: .15em; }
.keepsake-cover :is(h1, h3) { margin: .35em 0; color: inherit; }
.keepsake-note { padding: .9rem 1rem; margin-top: .65rem; border: 1px solid var(--book-trim); border-inline-start: 4px solid var(--book-ink); border-radius: 0 10px 10px 0; background: var(--book-paper); }
.keepsake-note h3 { font-size: 1.1rem; color: inherit; margin: 0 0 .4rem; }
.keepsake-note p { white-space: pre-wrap; margin: 0; }
@media print {
  @page { margin: 15mm; }
  html:has(body.printing-keepsake), body.printing-keepsake { background: white; }
  body.printing-keepsake > :not(#keepsake-print) { display: none !important; }
  body.printing-keepsake #keepsake-print {
    display: block !important;
    color: var(--book-ink);
    overflow-wrap: anywhere;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  #keepsake-print .keepsake-cover { padding: 10mm; break-inside: avoid; break-after: avoid; }
  #keepsake-print h1 { font-size: 32pt; }
  #keepsake-print .keepsake-note { break-inside: avoid; margin-top: 4mm; padding: 4mm 5mm; }
  #keepsake-print .keepsake-note h3 { font-size: 15pt; }
  #keepsake-print .keepsake-note p { font-size: 12pt; }
}
.reminders { margin-top: .9rem; padding-top: .2rem; border-top: 1px solid var(--line); }
.reminders h3 { margin: .55rem 0 0; }
.season-summary { margin-bottom: .85rem; }
.season-summary > p, .reminder-opt-in { margin-top: .7rem; }
.reminder-opt-in form { margin-top: .75rem; }
.season-summary input[type="email"] { max-width: 28rem; }
.reminder-opt-in .removal-note { font-size: .85rem; margin: .4rem 0 .75rem; }
.reminder-opt-in summary { cursor: pointer; font-weight: 750; }
.reminder-opt-in .create-own { margin-top: .65rem; }
.reminder-result { margin-top: .7rem; }
.calendar-aside .reminders .button + .button { margin-top: .15rem; }
.calendar-code { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; justify-content: space-between; border: 1px dashed #c3a38a; border-radius: 10px; padding: .6rem .72rem; margin: .65rem 0 .75rem; background: #f8edd9; }
.calendar-code span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.calendar-code strong { color: var(--red); letter-spacing: .12em; font-size: 1rem; }
.owner-panel h2 { font-size: 2rem; }
.calendar-page:has(.calendar-loading:not([hidden]), #calendar-error:not(:empty)) { min-height: 100svh; }
#calendar-error:not(:empty), .calendar-loading { margin: 0; padding-block: 2rem; }
dialog { position: fixed; width: min(475px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1rem, 4vw, 1.7rem); color: var(--ink); background: var(--panel); box-shadow: 0 20px 80px #32132355; }
dialog::backdrop { background: #3819249c; }
dialog h2 { font-size: clamp(2.05rem, 6vw, 2.65rem); margin: .37rem 2.1rem .8rem 0; }
dialog #dialog-body { min-height: 70px; }
.icon-button { position: absolute; top: .62rem; right: .62rem; width: 44px; height: 44px; cursor: pointer; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: var(--panel); font-size: 1.42rem; line-height: 1; }
.sticker-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .34rem; }
.sticker { display: grid; place-items: center; position: relative; border: 1px solid var(--line); border-radius: 8px; background: #faefdf; min-height: 44px; cursor: pointer; }
.sticker span { font-size: 1.25rem; }
.field-end { display: flex; justify-content: space-between; gap: .6rem; color: var(--muted); font-size: .8rem; margin-bottom: .65rem; }
.note-privacy { max-width: 38ch; }
#note-count { flex: none; font-variant-numeric: tabular-nums; }
.fill-dialog .button { width: 100%; }
.fill-success p { margin-bottom: 1rem; }
.create-own { display: flex; gap: .55rem; align-items: center; margin: .1rem 0 .7rem; min-height: 31px; cursor: pointer; }
.create-own input { flex: none; width: 19px; height: 19px; margin: 0; accent-color: var(--red); }
.own-length { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0 0 .7rem; }
.own-length select { max-width: 100%; padding: .35rem .45rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--panel); font: inherit; }
.retry-create { margin-top: .7rem; }
.gift-dialog { text-align: center; padding: .4rem 0 .55rem; }
.gift-dialog h2 { margin: .5rem 0 .4rem; }
.gift { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 23px; margin: .13rem auto .52rem; background: #f3dec1; border: 1px solid var(--line); font-size: 2.6rem; }
.gift-sender { font-weight: 750; overflow-wrap: anywhere; }
.gift-detail { color: var(--muted); }
.note-text { border-radius: 12px; background: #f9efdd; border: 1px solid var(--line); padding: .8rem; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.extra-sender { margin: .75rem 0 .4rem; }
.scratch-dialog { text-align: center; }
.scratch-dialog h2 { margin: .5rem 0 .4rem; }
.scratch-foil { display: block; width: 100%; border-radius: 14px; margin: .85rem 0; border: 1px dashed #bc8b44; touch-action: none; cursor: crosshair; }
.scratch-dialog .button { width: 100%; }
.locked .gift { animation: shake .55s ease both; }
.unwrapped .gift { animation: unwrap .34s ease both; }
@keyframes shake { 20%, 60% { transform: translateX(-8px) rotate(-8deg); } 40%, 80% { transform: translateX(7px) rotate(7deg); } }
@keyframes unwrap { from { opacity: .2; transform: translateY(6px) scale(.9); } }
.toast { position: fixed; z-index: 10; inset: auto auto max(.75rem, env(safe-area-inset-bottom)) 50%; transform: translateX(-50%); background: #482331; color: #fff7e7; padding: .55rem .95rem; border-radius: 18px; width: max-content; max-width: calc(100% - 24px); text-align: center; font-size: .85rem; box-shadow: 0 4px 18px #0003; pointer-events: none; }
.privacy { max-width: 68ch; padding: 2.75rem 0; }
.privacy h1 { font-size: clamp(3.4rem, 9vw, 4.5rem); }
.privacy h2 { margin: 1.6rem 0 .5rem; font-size: clamp(1.85rem, 5.5vw, 2.15rem); }
.privacy p { color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.lookup { min-height: 65vh; padding: 3rem 0; }
.lookup .join { width: min(560px, 100%); margin-inline: auto; }
.lookup h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.lookup label { margin-top: 1.1rem; }
.guide { max-width: 900px; padding: clamp(2.3rem, 7vw, 5.5rem) 0 2.5rem; }
.guide-intro { margin-bottom: 2rem; }
.guide h1 { max-width: 12ch; font-size: clamp(3.6rem, 9vw, 7.25rem); }
.guide p { max-width: 58ch; margin-top: .7rem; color: var(--muted); }
.guide-intro p { font-size: 1.1rem; margin: .9rem 0 1.25rem; }
.guide-sections { display: grid; gap: .75rem; }
.guide-image { display: block; max-width: 800px; margin-bottom: 1.5rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; margin: 1.6rem 0 1.8rem; }
.guide-links a { font-size: .92rem; font-weight: 700; text-underline-offset: 3px; }
@media (min-width: 630px) {
  .shell { width: min(1160px, calc(100% - 64px)); }
  .hero { grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 4rem); padding: 3.25rem 0 2.75rem; }
  .hero-art { margin: 0; }
  .start { grid-template-columns: 1.12fr 1fr; gap: 1rem; }
  .start-aside { gap: 1rem; }
  .theme-swatch { min-height: 89px; font-size: .85rem; }
  .how ol { grid-template-columns: repeat(3, 1fr); }
  .how li + li { border-top: 0; border-left: 1px solid var(--line); }
  .calendar-heading { padding-top: 3rem; }
  .door { padding: .42rem .55rem; min-height: 82px; }
  .doors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  [data-length="7"] .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 880px) {
  .calendar-layout { grid-template-columns: minmax(0, 1fr) minmax(270px, .38fr); gap: 1rem; }
  .calendar-heading .mobile-share { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: .6rem; flex-wrap: wrap; align-content: center; padding-block: .45rem; }
  .nav .brand { font-size: 1.5rem; gap: 6px; }
  .nav .brand img { width: 28px; height: 28px; }
  .nav nav { gap: .55rem; }
  .nav nav a { font-size: .76rem; }
  .nav nav .nav-join { padding-inline: .55rem; }
  .hero { gap: 1.15rem; padding: 1.65rem 0 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 13.1vw, 3.7rem); line-height: .94; }
  .example-hero h1 { font-size: clamp(2.65rem, 10vw, 3.5rem); line-height: .97; }
  .hero-description { margin: .85rem 0 1rem; }
  .hero-art { margin: 0; }
  .calendar-heading { padding-top: 1.6rem; }
  .calendar-heading h1 { font-size: clamp(3rem, 12vw, 3.55rem); }
  .sticker-picker { grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); }
  .countdown-local { display: block; }
}
@media (max-width: 360px) {
  .nav, .nav nav { gap: .5rem; }
  .nav nav a { font-size: .76rem; }
  .nav nav .nav-join { padding-inline: .45rem; }
  .nav .brand { font-size: 1.3rem; }
  .nav .brand img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.note-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: .75rem 0 0;
}

.note-actions .button {
  min-height: 44px;
  padding: .45rem .85rem;
}

.note-action-status {
  margin: .35rem 0 0;
}

#door-countdown {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 481px) {
  .countdown-local::before { content: " · "; }
  #door-countdown { display: inline-flex; flex-wrap: wrap; column-gap: .25em; }
}

.guide-sections > * {
  min-width: 0;
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.guide-breadcrumb a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.guide-faq details {
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}

.guide-faq details:first-of-type {
  margin-top: .8rem;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.guide-faq details p {
  margin: .45rem 0 .1rem 1rem;
  color: var(--muted);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.guide-intro .guide-actions {
  margin-top: 0;
}

.idea-list,
.guide-list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
}

.idea-list li,
.guide-list li {
  border-top: 1px solid var(--line);
  padding-top: .65rem;
}

.idea-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.idea-list li p {
  margin: 0;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.idea-list .copy-idea {
  flex: none;
  min-height: 44px;
  padding: .45rem .85rem;
  font-size: .84rem;
}

.guide-list li {
  color: var(--muted);
  max-width: 62ch;
}

.guide-list strong {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  margin-top: .9rem;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.guide-table th,
.guide-table td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .55rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.guide-table thead th {
  border-top: 0;
  padding-top: 0;
  color: var(--ink);
  font-size: .82rem;
}

.guide-table tbody th {
  color: var(--ink);
  font-weight: 700;
  width: 26%;
}

/* ── Polish pass: depth, door states, Holiday Plus, dialogs ── */
.panel { box-shadow: var(--shadow-soft); }
.calendar-aside .panel h2, .join h2, .mine h2, .owner-panel h2 { font-size: var(--title-sm); }
.join p:not(.error), .mine p, .share p, .owner-panel p { font-size: var(--text-sm); }
.button.primary { background: linear-gradient(180deg, #9e2d40, var(--red)); box-shadow: inset 0 1px 0 #ffffff2e, 0 8px 16px -10px #8f2536; }
.button.primary:hover { background: var(--red-hover); }
.button.outline { background: #fffdf7; }
.button.outline:hover { background: #fbefe0; }
.theme-swatch { transition: border-color .17s, box-shadow .17s, transform .17s; }
.theme-swatch:hover { transform: translateY(-1px); }
.theme-swatch:has(:checked)::after { content: "✓"; position: absolute; top: .3rem; right: .45rem; color: var(--red); font-size: var(--text-xs); font-weight: 800; }
.calendar-code strong { font-size: 1.15rem; }
.how ol { box-shadow: var(--shadow-soft); }

/* Board frame and optional Holiday Plus artwork. */
.door-board {
  position: relative;
  isolation: isolate;
  box-shadow: inset 0 1px 0 #ffffff1a, 0 28px 48px -30px #2a0c16;
  outline: 1px solid color-mix(in srgb, var(--board-accent) 38%, transparent);
  outline-offset: -9px;
}
.board-header h2 { color: var(--door-txt); }
.calendar-page:is([data-theme=evergreen], [data-theme=starlight], [data-theme=cranberry]) .door-board {
  background: var(--board);
}
.board-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--board-texture, none);
  background-size: cover;
  opacity: .15;
}
.board-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(120px, 25%, 220px);
  aspect-ratio: 1;
  background: var(--corner-art, none) top right / cover;
  mask-image: radial-gradient(circle at top right, black 30%, transparent 72%);
}
@media (max-width: 480px) {
  .calendar-page:is([data-theme=evergreen], [data-theme=starlight], [data-theme=cranberry]) .board-art {
    --board-veil: color-mix(in srgb, var(--board) 85%, transparent);
    opacity: 1;
    background-image: linear-gradient(var(--board-veil), var(--board-veil)), var(--board-texture);
  }
  .board-art::after { opacity: .32; filter: brightness(.65); }
}
[data-theme=evergreen] .board-art {
  --board-texture: image-set(url("/media/evergreen-texture-480.avif") type("image/avif") 1x, url("/media/evergreen-texture-480.webp") type("image/webp") 1x, url("/media/evergreen-texture-960.avif") type("image/avif") 2x, url("/media/evergreen-texture-960.webp") type("image/webp") 2x);
  --corner-art: image-set(url("/media/evergreen-detail-144.avif") type("image/avif") 1x, url("/media/evergreen-detail-144.webp") type("image/webp") 1x, url("/media/evergreen-detail-288.avif") type("image/avif") 2x, url("/media/evergreen-detail-288.webp") type("image/webp") 2x);
}
[data-theme=starlight] .board-art {
  --board-texture: image-set(url("/media/starlight-texture-480.avif") type("image/avif") 1x, url("/media/starlight-texture-480.webp") type("image/webp") 1x, url("/media/starlight-texture-960.avif") type("image/avif") 2x, url("/media/starlight-texture-960.webp") type("image/webp") 2x);
  --corner-art: image-set(url("/media/starlight-detail-144.avif") type("image/avif") 1x, url("/media/starlight-detail-144.webp") type("image/webp") 1x, url("/media/starlight-detail-288.avif") type("image/avif") 2x, url("/media/starlight-detail-288.webp") type("image/webp") 2x);
}
[data-theme=cranberry] .board-art {
  --board-texture: image-set(url("/media/cranberry-texture-480.avif") type("image/avif") 1x, url("/media/cranberry-texture-480.webp") type("image/webp") 1x, url("/media/cranberry-texture-960.avif") type("image/avif") 2x, url("/media/cranberry-texture-960.webp") type("image/webp") 2x);
  --corner-art: image-set(url("/media/cranberry-detail-144.avif") type("image/avif") 1x, url("/media/cranberry-detail-144.webp") type("image/webp") 1x, url("/media/cranberry-detail-288.avif") type("image/avif") 2x, url("/media/cranberry-detail-288.webp") type("image/webp") 2x);
}
.door-count { border-color: color-mix(in srgb, var(--board-accent) 55%, transparent); background: #0000001f; }

/* Door states: empty (closed) · filled · ready to open (owner, today or earlier). */
.door {
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--board-accent) 28%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--door) 86%, #fff) 0, var(--door) 46%);
  box-shadow: inset 0 1px 0 #ffffff1c, inset 0 -3px 0 #00000030, 0 2px 4px #00000030;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.door:hover { background: var(--door-hover); box-shadow: inset 0 1px 0 #ffffff24, inset 0 -3px 0 #00000030, 0 8px 14px -6px #00000070; }
.door-number { letter-spacing: -.01em; }
.door[data-state=empty] .door-motif { opacity: .75; }
.door[data-filled=true] {
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--filled) 55%, #fff) 0, var(--filled) 60%);
  box-shadow: inset 0 1px 0 #ffffffa0, inset 0 -3px 0 #0000001c, 0 8px 16px -8px #000000a0;
}
.door[data-filled=true]:hover { background: var(--filled); }
.door[data-filled=true] .door-motif { font-size: clamp(1rem, 2vw, 1.45rem); line-height: 1; }
.door[data-state=ready] {
  box-shadow: 0 0 0 2px var(--board-accent), 0 0 22px -2px color-mix(in srgb, var(--board-accent) 70%, transparent), inset 0 1px 0 #ffffffa0;
  animation: door-glow 2.6s ease-in-out 1; /* one pulse, then the static glow (WCAG 2.2.2) */
}
@keyframes door-glow { 50% { box-shadow: 0 0 0 2px var(--board-accent), 0 0 30px 2px color-mix(in srgb, var(--board-accent) 80%, transparent), inset 0 1px 0 #ffffffa0; } }
.door:focus-visible { outline: 3px solid var(--door-txt); outline-offset: 3px; }

/* Dialogs */
dialog { border-color: #e8d2b6; box-shadow: 0 30px 90px -20px #32132399, 0 2px 0 #ffffff inset; }
dialog[open] { animation: dialog-in .22s ease-out; }
dialog::backdrop { background: #3819249c; backdrop-filter: blur(2px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } }
.gift { background: radial-gradient(circle at 50% 30%, #fff6e3, #f0d6b0); box-shadow: inset 0 -3px 0 #0000000f, 0 10px 20px -12px #6a3a1a; }
.gift-dialog .note-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.4;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fffaf0, #f8ecd7);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px #6a3a1a;
}
.sticker { transition: transform .15s, border-color .15s; }
.sticker:hover { transform: translateY(-1px); border-color: #cfae8c; }
.sticker:has(:checked) { background: #fff4e2; }

/* Holiday Plus: entry panel and upgrade dialog */
.holiday-panel { border-top: 1px solid #e3c391; background: linear-gradient(165deg, #fff8ea 0, #f8e5c6 100%); }
.holiday-panel h2::before { content: "✦ "; color: var(--gold); font-size: .7em; vertical-align: .2em; }
.holiday-panel #holiday-summary { color: var(--ink); }
.holiday-panel .button.outline { border-color: #c79a5a; }
.preview-bar { margin-bottom: .75rem; scroll-margin-top: .6rem; background: #fff8ea; color: var(--ink); }
.preview-bar p { margin-bottom: .65rem; font-weight: 700; }
.preview-bar .button { margin: .15rem .15rem .15rem 0; }
.preview-bar .button:focus-visible, #preview-invite:focus-visible { outline-offset: 3px; }
.calendar-page[data-preview] .board-header { flex-wrap: wrap; align-items: center; }
.calendar-page[data-preview] .board-header h2 { flex: 1 0 auto; }
.plus-mark { font-size: .7rem; }
@media (max-width: 480px) {
  .calendar-page[data-preview] .board-header { display: grid; grid-template-columns: 1fr auto; }
  .calendar-page[data-preview] .board-header h2 { grid-row: span 2; }
  .calendar-page[data-preview] .board-header .door-count { justify-self: end; }
}
#preview-invite { display: block; width: 100%; padding-inline: 0; white-space: normal; text-align: left; }
#preview-story, #holiday-price { font-size: var(--text-sm); }
#holiday-previews .theme-swatch {
  color: var(--swatch-ink);
  background: radial-gradient(circle at 1px 1px, #fff2ce25 0 1px, transparent 1.45px) 0 0 / 21px 21px, var(--swatch-board);
  font-weight: 750;
  padding: 0 0 .35rem;
  overflow: hidden;
}
.theme-swatch-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: .15rem;
}
.theme-swatch-art picture { position: absolute; inset: 0; }
.theme-swatch-art picture + picture {
  left: 50%;
  mask-image: linear-gradient(to right, transparent, black 55%);
}
.theme-swatch-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#holiday-previews .theme-swatch[aria-pressed=true] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.holiday-dialog h2::before { content: "✦ "; color: var(--gold); font-size: .6em; vertical-align: .25em; }
.holiday-dialog .holiday-price { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: #f8e4c3; color: var(--red); font-size: var(--text-sm); }
.holiday-dialog ul { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.holiday-dialog li + li { margin-top: 0; padding-top: .7rem; border-top: 1px solid var(--line); }
.holiday-dialog li { position: relative; padding-left: 1.6rem; }
.holiday-dialog li::before { content: "✦"; position: absolute; left: 0; top: .05rem; color: var(--gold); }
.holiday-dialog li p { margin: .15rem 0 0; color: var(--muted); font-size: var(--text-sm); }

/* Share view, seal success, reminders and next-year opt-in */
.fill-success { text-align: center; }
.fill-success h2::before { content: "✦"; display: grid; place-items: center; width: 64px; height: 64px; margin: .2rem auto .7rem; border-radius: 20px; color: var(--gold); font-size: 2rem; background: radial-gradient(circle at 50% 30%, #fff6e3, #f0d6b0); box-shadow: 0 10px 20px -12px #6a3a1a; }
.fill-success h2 { margin-right: 0; margin-left: 0; }
.fill-success p { color: var(--muted); }
.fill-success .reminder-opt-in, .fill-success form { text-align: left; }
.reminders h3 { font-size: var(--text-lg); }
.reminders > p { font-size: var(--text-sm); }
.reminder-opt-in { border-top: 1px solid var(--line); padding-top: .7rem; }
.reminder-opt-in summary { color: var(--red); }
.reminder-opt-in label:not(.create-own) { display: block; }
.reminder-opt-in input[type=email] { display: block; margin-top: .35rem; }
.reminder-opt-in .removal-note, .reminder-opt-in .create-own { color: var(--muted); font-size: var(--text-sm); }
.season-summary { background: linear-gradient(165deg, #fff8ea 0, #f8e5c6 100%); border-color: #e3c391; }
.handback-banner { margin: 1rem 0 -.75rem; padding: .75rem 1rem; border: 1px solid #e3c391; border-radius: 14px; background: linear-gradient(165deg, #fff8ea 0, #f8e5c6 100%); color: var(--ink); font-size: .92rem; font-weight: 700; box-shadow: var(--shadow-soft); }
.note-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .5rem; margin-bottom: .25rem; }
.fill-dialog .idea-trigger, .fill-dialog .idea-use { width: auto; min-height: 44px; padding: .25rem 0; font-size: .84rem; }
.idea-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .65rem; margin-bottom: .5rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #f9efdd; }
.idea-box p { flex: 1 1 14rem; color: var(--ink); font-size: .86rem; line-height: 1.4; }
.demo-cta { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.demo-cta .button { margin-top: .55rem; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .door[data-state=ready], dialog[open] { animation: none; }
  .door:hover, .theme-swatch:hover, .sticker:hover, .footer-badges a:hover { transform: none; }
}

.calendar-heading .empty-share { margin-top: .9rem; }
#friend-count { display: block; }
.guestbook { margin-top: 1rem; }
.guestbook form { display: grid; gap: .45rem; margin-top: .85rem; }
.guestbook form .button { justify-self: start; }
.guestbook textarea { min-height: 5rem; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { border-top: 1px solid var(--line); padding-block: .75rem; overflow-wrap: anywhere; }
.comment-list .comment-list { margin: .75rem 0 0 1rem; }
.comment-owner-badge { display: inline-block; margin-inline-start: .45rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 .45rem; color: var(--red); font-size: var(--text-xs); font-weight: 750; }
.comment-message { white-space: pre-wrap; }
.comment-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

.wallpaper-strip { margin-block: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.wallpaper-strip h3 { margin: 0 0 .55rem; }
.wallpaper-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.wallpaper-card {
  min-height: 68px; padding: .55rem .2rem; cursor: pointer; font: inherit; font-size: .78rem;
  overflow-wrap: anywhere;
  font-weight: 750; color: #fff4e4; background: #491624; border: 1px solid #ffffff52; border-radius: 12px;
}
.wallpaper-card[data-style="candles"] { background: #173e32; }
.wallpaper-card[data-style="paper"] { background: #30244f; }
.wallpaper-modes { display: flex; justify-content: center; gap: .4rem; margin-bottom: .8rem; }
.wallpaper-modes [aria-pressed="true"] { color: var(--panel); background: var(--ink); border-color: var(--ink); }
.wallpaper-phone {
  position: relative; aspect-ratio: 1290 / 2796; width: min(176px, 100%); margin-inline: auto;
  overflow: hidden; background: #241d29; border: 5px solid #20171e; border-radius: 25px;
}
.wallpaper-phone[data-format="story-4k"] { aspect-ratio: 9 / 16; border-radius: 12px; border-width: 2px; }
.wallpaper-phone img { width: 100%; height: 100%; object-fit: fill; }
.wallpaper-clock { position: absolute; inset: 8% 0 auto; text-align: center; color: #fff; text-shadow: 0 1px 3px #111; pointer-events: none; }
.wallpaper-clock span { display: block; font: 650 .63rem/1.25 system-ui, sans-serif; }
.wallpaper-clock strong { display: block; font: 650 2.1rem/1.1 system-ui, sans-serif; }
.wallpaper-actions { display: grid; gap: .4rem; }
.wallpaper-hint, .wallpaper-status { margin: .35rem 0; text-align: center; color: var(--muted); font-size: .88rem; }
.wallpaper-status:empty { display: none; }

.plus-choice[data-theme=evergreen] { color: #173e32; background: #e5eddd; border-color: #acbea5; }
.plus-choice[data-theme=starlight] { color: #30244f; background: #eee7f6; border-color: #c6b7d7; }
.plus-choice[data-theme=cranberry] { color: #612036; background: #f8e2da; border-color: #d9b7ad; }
.plus-choice span { font-size: inherit; font-weight: 750; }
.plus-choice small { font-size: .68rem; }
.theme-preview-hint { margin-top: .55rem; font-size: var(--text-sm); }
#season-keepsake { margin-top: .5rem; }
#season-keepsake .button { margin: .65rem .2rem 0 0; white-space: normal; }
#season-summary-count { font-size: var(--text-sm); }
#holiday-sample { white-space: normal; display: block; text-align: left; padding-inline: 0; }
.plus-strip { display: none; }
@media (max-width: 879px) {
  .plus-strip {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    min-height: 54px;
    margin-top: .65rem;
    padding: .55rem .8rem;
    text-align: left;
    font-size: .82rem;
    font-weight: 750;
    color: var(--ink);
    background: #fff4e1;
    border: 1px solid #e3c391;
    border-radius: 12px;
    cursor: pointer;
  }
  .plus-strip > :last-child { margin-inline-start: auto; }
}
.plus-colors { display: flex; padding-inline-start: .15rem; }
.plus-colors i { width: 16px; height: 16px; border: 1px solid #fff4e1; border-radius: 50%; margin-inline-start: -.15rem; background: #173e32; }
.plus-colors i:nth-child(2) { background: #30244f; }
.plus-colors i:nth-child(3) { background: #612036; }
.preview-nudge { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .65rem; padding: .15rem .55rem; background: #fff4e1; border: 1px solid #e3c391; border-radius: 12px; }
.preview-nudge .button { text-align: left; white-space: normal; }
#dismiss-share-preview { min-width: 44px; font-size: 1.25rem; }
.story-plus { margin-top: .5rem; padding: .7rem .8rem 0; border: 1px solid #e3c391; border-radius: 10px; background: #fff8ea; font-size: var(--text-sm); }
.story-plus .button { padding-inline: 0; text-align: left; white-space: normal; }
.note-management { margin-top: .65rem; font-size: var(--text-sm); color: var(--muted); }
.note-management summary { width: fit-content; min-height: 44px; padding: .5rem; margin-inline: auto; cursor: pointer; }
.note-card-actions { margin-top: .85rem; }
.note-card-actions .note-privacy { margin: .4rem 0 0; text-align: center; }
.note-keepsake { white-space: normal; margin-top: .4rem; }
.sticker.locked-sticker { cursor: help; color: var(--ink); background: #f7eee4; }
.locked-sticker span { opacity: .55; }
.locked-sticker small { position: absolute; font-size: .61rem; right: .18rem; bottom: .06rem; }
#locked-sticker-hint { margin: .45rem 0 0; }
