:root {
  --ink: #202124;
  --muted: #5f6368;
  --panel: #ffffff;
  --line: #d9dde3;
  --field: #f8fafc;
  --shadow: 0 20px 45px rgba(25, 30, 40, 0.12);
  --accent: #c7437a;
  --accent-strong: #9f285c;
  --accent-soft: #fff0f6;
  --gold: #c98d36;
  --spark: rgba(255, 255, 255, 0.74);
  --page-a: #fdf2f7;
  --page-b: #eef7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--page-a) 76%, #ffffff), transparent 44%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, var(--page-b), #ffffff 62%);
}

body.theme-sunrise {
  --accent: #c65f2d;
  --accent-strong: #944117;
  --accent-soft: #fff3e9;
  --gold: #b97825;
  --page-a: #fff2dc;
  --page-b: #eaf7ff;
}

body.theme-garden {
  --accent: #317a63;
  --accent-strong: #205947;
  --accent-soft: #ecf8f1;
  --gold: #b68d3a;
  --page-a: #e9f6ef;
  --page-b: #f7f0ff;
}

body.theme-midnight {
  --ink: #f7f8fb;
  --muted: #c8ceda;
  --panel: #151923;
  --line: #343b4c;
  --field: #202637;
  --accent: #88b8ff;
  --accent-strong: #b8d5ff;
  --accent-soft: #1e314d;
  --gold: #f0c36a;
  --spark: rgba(184, 213, 255, 0.52);
  --page-a: #1b2540;
  --page-b: #090d16;
}

body.theme-flirt {
  --accent: #d63384;
  --accent-strong: #aa2166;
  --accent-soft: #fce4ec;
  --gold: #d49b3d;
  --page-a: #fde8ef;
  --page-b: #fff4f8;
}

.romance-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.romance-layer span {
  position: absolute;
  bottom: -12vh;
  left: var(--x);
  color: color-mix(in srgb, var(--accent) 58%, var(--gold));
  font-size: var(--size);
  opacity: 0.28;
  filter: drop-shadow(0 10px 16px color-mix(in srgb, var(--accent) 18%, transparent));
  animation: love-drift var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.romance-layer span::before {
  content: "♡";
}

.romance-layer span:nth-child(1) { --x: 8%; --size: 1.7rem; --duration: 18s; --delay: -4s; }
.romance-layer span:nth-child(2) { --x: 24%; --size: 1rem; --duration: 22s; --delay: -10s; }
.romance-layer span:nth-child(3) { --x: 53%; --size: 1.35rem; --duration: 20s; --delay: -7s; }
.romance-layer span:nth-child(4) { --x: 73%; --size: 0.95rem; --duration: 24s; --delay: -13s; }
.romance-layer span:nth-child(5) { --x: 91%; --size: 1.45rem; --duration: 19s; --delay: -2s; }

.romance-layer span:nth-child(2)::before,
.romance-layer span:nth-child(4)::before {
  content: "✦";
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 24px;
  animation: shell-rise 0.65s ease both;
}

.builder-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.single-shell {
  max-width: 680px;
}

.panel,
.invite-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.panel {
  background: var(--panel);
  padding: 32px;
}

.panel::before,
.invite-card::before,
.load-plan-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 38%, color-mix(in srgb, var(--spark) 55%, transparent) 48%, transparent 58%),
    repeating-linear-gradient(155deg, transparent 0 18px, color-mix(in srgb, var(--accent) 8%, transparent) 18px 19px);
  opacity: 0.44;
}

.panel > *,
.invite-card > *,
.load-plan-panel > * {
  position: relative;
  z-index: 1;
}

.panel:hover,
.invite-card:hover,
.load-plan-panel:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow:
    0 24px 55px rgba(25, 30, 40, 0.14),
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateY(-2px);
}

.form-panel {
  align-self: stretch;
}

.invite-card {
  color: var(--ink);
  min-height: 520px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    var(--accent-soft);
}

.invite-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 70px;
  height: 70px;
  border-top: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  opacity: 0.58;
}

.theme-card.theme-blush {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 250, 0.72)),
    #fff0f6;
}

.theme-card.theme-midnight {
  color: #f7f8fb;
  background:
    linear-gradient(160deg, rgba(20, 26, 38, 0.94), rgba(20, 26, 38, 0.78)),
    #111827;
}

.theme-card.theme-sunrise {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 235, 0.76)),
    #fff3e9;
}

.theme-card.theme-garden {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(236, 248, 241, 0.78)),
    #ecf8f1;
}

.theme-card.theme-flirt {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 230, 240, 0.72)),
    #fce4ec;
}

.preview-card {
  min-height: 480px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: 3rem; }
h2 { font-size: 1.55rem; }

.lede,
.preview-message {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.lede { margin: 14px 0 24px; }
.preview-message { margin: 16px 0 28px; }

.stack { display: grid; gap: 16px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
  text-align: left;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--field);
  font: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: var(--accent);
}

/* ── Error state for validation ───────────── */

input.error,
textarea.error,
select.error {
  border-color: #b3261e;
  background: #fef2f2;
}

input.error:focus-visible,
textarea.error:focus-visible,
select.error:focus-visible {
  outline: 3px solid color-mix(in srgb, #b3261e 22%, transparent);
  border-color: #b3261e;
}

/* ── Teleport button fix ─────────────────────── */

.answer-row .secondary-button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.answer-row .secondary-button.is-teleporting {
  position: fixed !important;
  z-index: 99999 !important;
  margin: 0 !important;
  pointer-events: auto !important;
  transform: none !important;
  animation: none !important;
  will-change: left, top;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: visible !important;
}

/* Ensure response panel doesn't clip the button */
.response-panel {
  overflow: visible !important;
  position: relative;
}

.response-panel > * {
  position: relative;
  z-index: 1;
}

/* ── Flirty touches ───────────────────────── */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent); }
  50% { box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 60%, transparent); }
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.theme-flirt .primary-action {
  border-radius: 24px;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--accent) 28%, transparent);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, white));
  position: relative;
  overflow: hidden;
}

.theme-flirt .primary-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

.theme-flirt .primary-action:hover {
  box-shadow: 0 6px 30px color-mix(in srgb, var(--accent) 50%, transparent);
  transform: translateY(-2px) scale(1.02);
  animation: pulse-glow 1.5s infinite;
}

.theme-flirt .panel,
.theme-flirt .invite-card {
  border-radius: 20px;
  animation: float 4s ease-in-out infinite;
  box-shadow:
    0 20px 45px rgba(25, 30, 40, 0.12),
    0 0 30px color-mix(in srgb, var(--accent) 15%, transparent);
}

.theme-flirt .panel:hover,
.theme-flirt .invite-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 25px 50px rgba(25, 30, 40, 0.15),
    0 0 40px color-mix(in srgb, var(--accent) 25%, transparent);
}

.theme-flirt .eyebrow {
  letter-spacing: 2px;
  animation: sparkle 2s ease-in-out infinite;
}

.theme-flirt h1 {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-flirt .preview-message {
  font-style: italic;
  color: var(--accent);
}

.theme-flirt .secondary-button {
  border-radius: 20px;
  transition: all 0.3s ease;
}

.theme-flirt .secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent) 25%, transparent);
}

.theme-flirt .field input,
.theme-flirt .field textarea,
.theme-flirt .field select {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.theme-flirt .field input:focus,
.theme-flirt .field textarea:focus,
.theme-flirt .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px color-mix(in srgb, var(--accent) 20%, transparent);
}

.theme-flirt .detail-list dd {
  color: var(--accent);
  font-weight: 500;
}

.theme-flirt .status-message[data-tone="success"] {
  animation: sparkle 1s ease-in-out;
}

button,
.secondary-action {
  min-height: 46px;
  min-width: 160px;
  border-radius: 8px;
  padding: 0 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-action {
  border: 1px solid var(--accent);
  color: #ffffff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #ffffff), var(--accent-strong));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 26%, transparent);
}

.primary-action:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent) 34%, transparent);
}

.secondary-action,
.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
}

.secondary-action:hover,
.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.detail-list div {
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  padding-top: 12px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.detail-list div:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  transform: translateX(3px);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 4px 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.share-panel,
.thank-panel {
  text-align: center;
}

.share-panel .field {
  margin: 22px 0 16px;
}

.action-row,
.answer-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.answer-row > * {
  flex: 1 1 190px;
}

.answer-row .secondary-button[value="no"] {
  touch-action: manipulation;
}

.status-message {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.status-message[data-tone="success"] { color: #217348; }
.status-message[data-tone="warning"] { color: #996100; }
.status-message[data-tone="error"] { color: #b3261e; }

button:disabled,
.secondary-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.thank-panel .secondary-action {
  margin-top: 20px;
}

/* ── Load / Saved Plans panel (index.html) ──── */

.load-plan-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--panel);
  padding: 24px 32px;
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.load-plan-lede {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

#savedPlanSelect {
  width: 100%;
  min-height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  color: var(--ink);
  background: var(--field);
  font: inherit;
}

#savedPlanSelect option {
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
}

#savedPlanSelect option:hover {
  background: var(--accent-soft);
}

#savedPlanSelect option:checked {
  background: var(--accent);
  color: #fff;
}

#savedPlanSelect option[data-prebuilt="true"] {
  font-weight: 600;
}

.load-plan-panel .action-row {
  margin-top: 16px;
  justify-content: flex-start;
}

button.danger {
  border-color: #b3261e;
  color: #b3261e;
  background: transparent;
}

button.danger:hover {
  background: #fef2f2;
  border-color: #8b1a13;
  color: #8b1a13;
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0, transparent 35%, rgba(255, 255, 255, 0.36) 48%, transparent 62%, transparent 100%);
  transform: translateX(-130%);
}

.primary-action:hover::after {
  animation: button-sheen 0.85s ease;
}

.secondary-button.is-teleporting {
  border-color: var(--accent);
  color: var(--accent);
  animation: button-dodge 0.26s ease;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 28%, transparent);
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
}

.response-panel {
  align-self: stretch;
}

.share-panel,
.thank-panel,
.response-panel {
  animation: card-arrive 0.58s ease both;
}

.invite-card .eyebrow::after,
.panel .eyebrow::after,
.load-plan-panel .eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--gold) 72%, transparent));
}

body.theme-midnight .panel::before,
body.theme-midnight .invite-card::before,
body.theme-midnight .load-plan-panel::before {
  opacity: 0.25;
}

body.theme-midnight .secondary-action,
body.theme-midnight .secondary-button {
  background: color-mix(in srgb, var(--panel) 82%, #ffffff);
}

body.theme-flirt .panel,
body.theme-flirt .invite-card {
  border-radius: 8px;
  animation: flirt-glow 4.8s ease-in-out infinite;
  box-shadow:
    0 22px 48px rgba(25, 30, 40, 0.13),
    0 0 30px color-mix(in srgb, var(--accent) 14%, transparent);
}

body.theme-flirt .panel:hover,
body.theme-flirt .invite-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 56px rgba(25, 30, 40, 0.15),
    0 0 38px color-mix(in srgb, var(--accent) 24%, transparent);
}

body.theme-flirt .primary-action,
body.theme-flirt .secondary-button,
body.theme-flirt .field input,
body.theme-flirt .field textarea,
body.theme-flirt .field select {
  border-radius: 8px;
}

body.theme-flirt .eyebrow {
  letter-spacing: 0;
}

/* ── Loading spinner ───────────────────────── */

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes love-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 0.3;
  }

  78% {
    opacity: 0.26;
  }

  100% {
    transform: translate3d(24px, -118vh, 0) rotate(24deg);
    opacity: 0;
  }
}

@keyframes shell-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes button-sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

@keyframes button-dodge {
  0%, 100% { transform: translateX(0) scale(1); }
  35% { transform: translateX(-8px) scale(1.05) rotate(-2deg); }
  70% { transform: translateX(8px) scale(0.98) rotate(2deg); }
}

@keyframes flirt-glow {
  0%, 100% {
    box-shadow:
      0 22px 48px rgba(25, 30, 40, 0.13),
      0 0 24px color-mix(in srgb, var(--accent) 12%, transparent);
  }

  50% {
    box-shadow:
      0 24px 50px rgba(25, 30, 40, 0.14),
      0 0 36px color-mix(in srgb, var(--accent) 22%, transparent);
  }
}

@media (max-width: 840px) {
  .builder-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .invite-card {
    min-height: auto;
  }

  h1 { font-size: 2.4rem; }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 16px, 1120px);
    padding: 16px 0;
    gap: 16px;
  }

  .romance-layer span:nth-child(n + 4) {
    display: none;
  }

  .panel,
  .invite-card {
    padding: 20px;
    border-radius: 8px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-row-3 {
    grid-template-columns: 1fr;
  }

  .action-row,
  .answer-row {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .answer-row > * {
    flex: none;
    width: 100%;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }

  .eyebrow { font-size: 0.7rem; }

  .lede,
  .preview-message {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .detail-list {
    gap: 10px;
  }

  .detail-list div {
    padding-top: 10px;
  }

  .detail-list dt {
    font-size: 0.7rem;
  }

  .detail-list dd {
    font-size: 0.95rem;
  }

  button,
  .secondary-action {
    width: 100%;
    min-width: auto;
    padding: 14px 20px;
    font-size: 1rem;
  }

  input,
  textarea,
  select {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 1rem; /* Prevents zoom on iOS */
  }

  textarea {
    min-height: 100px;
  }

  label {
    font-size: 0.85rem;
  }

  .status-message {
    font-size: 0.85rem;
    margin-top: 12px;
  }

  /* Invitation page specific */
  .invitation-shell {
    gap: 16px;
  }

  .invite-card {
    min-height: auto;
  }

  .invite-card h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .invite-card .preview-message {
    font-size: 0.9rem;
    margin: 12px 0 20px;
  }

  /* Builder page specific */
  .builder-shell {
    gap: 16px;
  }

  .form-panel {
    padding: 20px;
  }

  /* Share/Thank page specific */
  .single-shell {
    max-width: 100%;
  }

  .thank-panel,
  .share-panel {
    padding: 24px 20px;
  }

  .thank-panel h1,
  .share-panel h1 {
    font-size: 1.7rem;
  }

  .thank-panel .lede,
  .share-panel .lede {
    font-size: 0.95rem;
    margin: 10px 0 20px;
  }

  .share-panel .field {
    margin: 16px 0 12px;
  }

  .load-plan-panel {
    padding: 20px;
    margin-top: 8px;
  }

  .load-plan-lede {
    font-size: 0.85rem;
    margin: 8px 0 12px;
  }

  #savedPlanSelect {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 1rem;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .page-shell {
    width: 100%;
    padding: 12px 0;
  }

  .panel,
  .invite-card {
    padding: 16px;
    border-radius: 8px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .invite-card h1 {
    font-size: 1.4rem;
  }

  button,
  .secondary-action {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  input,
  textarea,
  select {
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .romance-layer {
    display: none;
  }
}
