@font-face{font-family:"Invite Serif";src:url("/common/invite-font/5dc5cba5febf78894dd15737.woff") format("woff");font-style:normal;font-weight:200 900;font-display:swap}
/* Guest pages use one vertical column at every screen width. */
body main {
  display:block;
  width:100%;
  max-width:480px;
  min-height:0;
  padding:0;
  margin-inline:auto;
}
body main > article:is(#cover,#invite,#album,#rsvp) {
  min-height:100svh;
  margin-top:0;
  scroll-margin-top:0;
}
body main .toalbum span {transform:none}
html.defer-backgrounds body main > article:not(#cover):not(.background-ready) {background-image:none}
body.blue #cover .invite-brush-title {top:-35px}
body .controls .thumbs {min-width:0;flex:1;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
body .controls :is(.thumb,.arrow) {flex-shrink:0}
body .controls .thumbs::-webkit-scrollbar {display:none}

/* One locally served face for Chinese, dates, buttons and form text. */
body {--invite-font:"Invite Serif","Songti SC","Noto Serif CJK SC","SimSun",serif}
body, body * {font-family:var(--invite-font)!important}
body.blue {--entry-ink:#8b9cab;--entry-hint:#a0aeba}
body.brown {--entry-ink:#b8a08b;--entry-hint:#ad957f}
body #rsvp :is(input:not([type=radio]),textarea,select) {
  color:var(--entry-ink);
  font-weight:400;
  font-size:16px!important;
}
body #rsvp :is(input,textarea)::placeholder {color:var(--entry-hint);opacity:1}

/* Match the existing coffee form's compact spacing on short phones. */
@media(max-width:390px) and (max-height:710px) {
  body.blue main #rsvp {padding:12px 18px 16px}
  .blue #rsvp [data-step=initial] {gap:11px}
  .blue #rsvp .rsvpdate p {margin:4px 0 0}
  .blue #rsvp .attendance legend {margin-bottom:6px}
  .blue #rsvp .attendance-note {line-height:1.5}
  body.blue #rsvp .summary-btn {margin-top:16px}
  .blue #rsvp .draft-note {margin-top:8px;line-height:1.4}
  body.blue #rsvp :is(input:not([type=radio]),textarea,select) {padding:7px 6px!important}
  .blue #rsvp textarea {margin-top:5px}
}

/* Name and party size share the first row. */
body #rsvp select{display:block;width:100%;max-width:100%;min-height:44px;margin-top:5px;padding:9px 7px;border:1px solid var(--line);border-radius:2px;background:transparent;line-height:1.4}
body #rsvp select option{background:var(--paper);color:var(--ink)}
#rsvp .attendee-pair:has(.attendee-count[hidden]){grid-template-columns:1fr}
