:root {
  --ink: #2f2037;
  --muted: #766779;
  --pink: #ef5c9d;
  --pink-dark: #b93672;
  --paper: #fffdfb;
  --cream: #fff8f4;
  --line: #312238;
  --yellow: #ffdc72;
  --blue: #cce8ff;
  --green: #c9f1dd;
  --purple: #e4d9ff;
  --orange: #ffd5b5;
  --shadow: 5px 6px 0 var(--line);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 220, 114, .26), transparent 26%),
    radial-gradient(circle at 88% 76%, rgba(239, 92, 157, .18), transparent 27%),
    linear-gradient(145deg, #fffaf5 0%, #fff3f8 56%, #f5f0ff 100%);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #6e52cf;
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite alternate;
}
.ambient-a { width: 260px; height: 260px; left: -100px; top: 12%; background: #ffdcb0; }
.ambient-b { width: 330px; height: 330px; right: -150px; bottom: 3%; background: #e3d4ff; animation-delay: -4s; }
@keyframes drift { to { transform: translate3d(18px, -20px, 0) scale(1.05); } }

.app-shell { min-height: 100dvh; padding: 22px 18px 38px; }
.topbar, .experience { width: min(100%, 1120px); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.brand-heart { display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid var(--line); border-radius: 50%; background: var(--pink); box-shadow: 2px 3px 0 var(--line); font-size: .75rem; }
.progress-wrap { display: flex; align-items: center; gap: 12px; }
.step-label { color: var(--muted); font-size: .83rem; font-weight: 850; white-space: nowrap; }
.progress-track { width: min(250px, 33vw); height: 9px; overflow: hidden; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.progress-fill { width: 20%; height: 100%; border-radius: inherit; background: repeating-linear-gradient(120deg, var(--pink) 0 12px, #ff8cba 12px 22px); transition: width .48s cubic-bezier(.22, 1, .36, 1); }

.experience { position: relative; }
.paper {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 251, .87);
  box-shadow: 9px 10px 0 rgba(49, 34, 56, .96);
  backdrop-filter: blur(14px);
}
.screen { display: none; min-height: 690px; padding: clamp(28px, 5vw, 66px); }
.screen.active { display: block; animation: pageIn .52s cubic-bezier(.2, .82, .22, 1) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-dark); font-size: .79rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: "✦"; font-size: 1.05rem; }
h1, h2, p { margin-top: 0; }
h1 { margin: 18px 0 20px; font-size: clamp(3rem, 7.7vw, 6.7rem); font-weight: 950; line-height: .94; letter-spacing: -.08em; }
h1 span { color: var(--pink-dark); }
h2 { margin: 12px 0 10px; font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 950; line-height: .98; letter-spacing: -.06em; }
.lead { max-width: 590px; margin-bottom: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.7; }

.invite-screen { position: relative; display: none; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(26px, 7vw, 88px); }
.invite-screen.active { display: grid; }
.invite-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; min-height: 62px; }
.btn {
  min-height: 56px;
  padding: 0 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, left .34s cubic-bezier(.18, .84, .2, 1.22), top .34s cubic-bezier(.18, .84, .2, 1.22);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--pink); box-shadow: var(--shadow); }
.btn-primary:hover { background: #fb70aa; }
.btn-ghost { background: #fff; box-shadow: 4px 5px 0 var(--line); }
.btn-yes { --yes-scale: 1; transform: scale(var(--yes-scale)); transform-origin: left center; }
.btn-yes:hover { transform: translateY(-3px) scale(var(--yes-scale)); }
.btn-no { min-width: 136px; max-width: calc(100% - 56px); white-space: nowrap; z-index: 30; }
.btn-no.is-escaping { position: absolute; margin: 0; }
.btn-no.settled { background: #f3eff6; color: var(--muted); box-shadow: 3px 4px 0 var(--line); }
.consent-note { margin: 23px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.consent-note button { padding: 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.decline-note { width: min(100%, 470px); margin-top: 22px; padding: 15px 18px; border: 2px solid var(--line); border-radius: 17px; background: #f3eff6; box-shadow: 3px 4px 0 var(--line); }
.decline-note span, .decline-note strong { display: block; }
.decline-note span { margin-bottom: 4px; color: var(--muted); font-size: .8rem; font-weight: 850; }
.decline-note strong { font-size: .95rem; }

.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; border: 2px dashed #d895ae; border-radius: 50%; animation: orbitSpin 22s linear infinite; }
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 285px; height: 410px; transform: rotate(48deg); animation-direction: reverse; animation-duration: 17s; }
@keyframes orbitSpin { to { rotate: 360deg; } }
.postcard { position: relative; width: min(285px, 72vw); aspect-ratio: .8; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid var(--line); border-radius: 40px; background: linear-gradient(145deg, #ffdcea, #ffbddd); box-shadow: 13px 15px 0 var(--line); transform: rotate(4deg); animation: cardFloat 4.5s ease-in-out infinite; }
@keyframes cardFloat { 50% { transform: translateY(-9px) rotate(2deg); } }
.postcard-kicker { position: absolute; left: 24px; top: 25px; font-size: .72rem; font-weight: 950; letter-spacing: .16em; }
.postcard-heart { color: var(--pink-dark); font-size: 8rem; line-height: 1; text-shadow: 4px 5px 0 #fff; }
.postcard-note { margin-top: 20px; font-size: .92rem; font-weight: 850; line-height: 1.5; text-align: center; }
.sticker { position: absolute; z-index: 2; display: grid; place-items: center; width: 66px; height: 66px; border: 2px solid var(--line); border-radius: 50%; box-shadow: 4px 5px 0 var(--line); font-size: 1.6rem; font-weight: 950; }
.sticker-one { right: 3%; top: 8%; background: var(--yellow); transform: rotate(12deg); }
.sticker-two { left: 0; bottom: 11%; background: var(--green); transform: rotate(-12deg); }
.scribble { position: absolute; right: 0; bottom: 5%; color: var(--pink-dark); font-family: cursive; font-size: 1.35rem; font-weight: 900; transform: rotate(-8deg); }

.question-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.question-head > div { max-width: 780px; }
.question-head p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.back { flex: 0 0 auto; padding: 10px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 850; }
.back:hover { color: var(--ink); }

.schedule-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.schedule-panel { padding: 22px; border: 2px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 5px 6px 0 var(--line); }
.time-panel { background: #fff9e9; }
.field-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.field-heading strong, .field-heading small { display: block; }
.field-heading strong { font-size: 1.08rem; }
.field-heading small { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.field-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--line); border-radius: 14px; background: var(--pink); box-shadow: 2px 3px 0 var(--line); font-size: 1.25rem; font-weight: 900; }
.time-panel .field-icon { background: var(--yellow); }
.date-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.date-chip { min-height: 72px; padding: 10px 7px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.date-chip b, .date-chip small { display: block; }
.date-chip b { margin-bottom: 4px; font-size: .92rem; }
.date-chip small { color: var(--muted); font-size: .77rem; }
.date-chip.selected { background: var(--pink); box-shadow: 3px 4px 0 var(--line); transform: translateY(-2px); }
.flex-choice { width: 100%; min-height: 46px; margin-top: 11px; border: 2px dashed var(--line); border-radius: 14px; background: #fff6fa; cursor: pointer; font-weight: 850; }
.flex-choice.selected { border-style: solid; background: var(--pink); box-shadow: 3px 4px 0 var(--line); transform: translateY(-2px); }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.time-grid button { min-height: 70px; padding: 9px 6px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.time-grid b, .time-grid small { display: block; }
.time-grid b { font-size: 1rem; }
.time-grid small { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.time-grid button.selected { background: var(--yellow); box-shadow: 3px 4px 0 var(--line); transform: translateY(-2px); }
.input-field { display: block; margin-top: 17px; }
.input-field > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.input-field input { width: 100%; height: 51px; padding: 0 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 800; }
.picked-line { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; margin-top: 21px; color: var(--muted); font-size: .94rem; font-weight: 800; }
.picked-line.ready { color: var(--pink-dark); }
.picked-line span { color: var(--pink); font-size: 1.25rem; }

.proposal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.proposal { position: relative; min-height: 185px; padding: 23px; overflow: hidden; border: 2px solid var(--line); border-radius: 23px; background: var(--proposal-tone, #fff); box-shadow: 4px 5px 0 var(--line); cursor: pointer; text-align: left; transition: transform .22s ease, box-shadow .22s ease; }
.proposal:hover { transform: translateY(-5px) rotate(-.5deg); }
.proposal.selected { transform: translateY(-5px); box-shadow: 7px 8px 0 var(--pink-dark); }
.proposal-number { position: absolute; right: 17px; top: 12px; color: rgba(47,32,55,.25); font-size: 2.2rem; font-weight: 950; }
.proposal-emoji, .proposal strong, .proposal small, .proposal i { display: block; }
.proposal-emoji { margin-bottom: 18px; font-size: 1.7rem; letter-spacing: .2em; }
.proposal strong { font-size: 1.2rem; }
.proposal small { margin-top: 7px; font-size: .93rem; font-weight: 800; }
.proposal i { margin-top: 17px; color: var(--muted); font-size: .8rem; font-style: normal; }
.proposal-mark { position: absolute; right: 18px; bottom: 15px; font-size: 1.5rem; }
.proposal.selected .proposal-mark { color: var(--pink-dark); font-weight: 950; }
.proposal-wide { grid-column: 1 / -1; min-height: 145px; }
.proposal-pink { --proposal-tone: #ffe0ec; }
.proposal-yellow { --proposal-tone: #fff0b5; }
.proposal-blue { --proposal-tone: #dceeff; }
.proposal-purple { --proposal-tone: #e9e1ff; }
.proposal-green { --proposal-tone: #d8f3e5; }
.compact-note { margin-top: 22px; }
.compact-note input { width: 100%; height: 54px; padding: 0 100px 0 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 3px 4px 0 var(--line); }

.preference-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.preference-block { padding: 22px; border: 2px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 4px 5px 0 var(--line); }
.preference-block:nth-child(2) { background: #fff9e8; }
.mini-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.mini-heading strong { font-size: 1.08rem; }
.mini-heading span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.compact-food { grid-template-columns: repeat(4, 1fr); gap: 9px; }
.compact-food .food-choice { min-height: 104px; padding: 13px 6px; box-shadow: 2px 3px 0 var(--line); }
.compact-food .food-choice span { margin-bottom: 8px; font-size: 1.6rem; }
.compact-food .food-choice b { font-size: .8rem; }
.simple-field { display: block; margin-top: 17px; }
.simple-field span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .8rem; font-weight: 850; }
.simple-field input { width: 100%; height: 49px; padding: 0 13px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.meet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.meet-grid button { min-height: 70px; padding: 11px; border: 2px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 2px 3px 0 var(--line); cursor: pointer; text-align: left; }
.meet-grid button b { display: block; margin-top: 5px; font-size: .84rem; }
.meet-grid button.selected { background: var(--yellow); transform: translateY(-2px); box-shadow: 4px 5px 0 var(--line); }
.comfort-heading { margin-top: 23px; }
.preference-block .wish-grid { grid-template-columns: repeat(2, 1fr); }
.preference-block .wish { min-height: 54px; font-size: .78rem; box-shadow: 2px 3px 0 var(--line); }

.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.choice { position: relative; min-height: 145px; padding: 20px; border: 2px solid var(--line); border-radius: 22px; background: var(--tone, #fff); box-shadow: 4px 5px 0 var(--line); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; animation: optionIn .46s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes optionIn { from { opacity: 0; transform: translateY(16px) rotate(1deg); } }
.choice:hover { transform: translateY(-5px) rotate(-.7deg); }
.choice.selected { transform: translateY(-5px) rotate(-1deg); box-shadow: 7px 8px 0 var(--pink-dark); filter: saturate(1.08); }
.choice-emoji { display: block; margin-bottom: 17px; font-size: 2rem; }
.choice-title { display: block; font-size: 1.04rem; font-weight: 950; }
.choice-caption { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.choice-mark { position: absolute; right: 15px; top: 14px; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.72); }
.choice.selected .choice-mark { background: var(--pink); box-shadow: inset 0 0 0 4px #fff; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; min-height: 304px; }
.tone-pink { --tone: #ffe1ed; }
.tone-yellow { --tone: #fff0b9; }
.tone-blue { --tone: #dceeff; }
.tone-green { --tone: #d8f3e5; }
.tone-purple { --tone: #e8e0ff; }
.tone-orange { --tone: #ffe2cc; }

.food-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.food-choice { position: relative; min-height: 124px; padding: 17px 9px; border: 2px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 3px 4px 0 var(--line); cursor: pointer; animation: optionIn .4s ease both; animation-delay: calc(var(--i) * 35ms); }
.food-choice:hover { transform: translateY(-4px); }
.food-choice span, .food-choice b { display: block; }
.food-choice span { margin-bottom: 12px; font-size: 2rem; }
.food-choice b { font-size: .94rem; }
.food-choice i { position: absolute; right: 11px; top: 10px; width: 17px; height: 17px; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
.food-choice.selected { background: var(--pink); transform: translateY(-4px) rotate(-1deg); box-shadow: 5px 6px 0 var(--pink-dark); }
.food-choice.selected i { background: var(--yellow); box-shadow: inset 0 0 0 3px #fff; }

.wish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wish { min-height: 64px; padding: 10px 13px; border: 2px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 3px 4px 0 var(--line); cursor: pointer; font-weight: 850; text-align: left; }
.wish span { margin-right: 7px; font-size: 1.15rem; }
.wish:hover { transform: translateY(-3px); }
.wish.selected { background: var(--green); box-shadow: 5px 6px 0 #5d9a7b; transform: translateY(-3px); }
.note-box { position: relative; display: block; margin-top: 25px; }
.note-box > span { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 900; }
.note-box textarea { width: 100%; min-height: 120px; resize: vertical; padding: 16px 18px 30px; border: 2px solid var(--line); border-radius: 20px; background: #fff9e9; color: var(--ink); line-height: 1.6; box-shadow: 4px 5px 0 var(--line); }
.note-box small { position: absolute; right: 14px; bottom: 10px; color: var(--muted); }

.continue-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; }
.selection-hint { color: var(--muted); font-size: .9rem; font-weight: 750; }
.step-submit[disabled] { opacity: .42; box-shadow: none; cursor: not-allowed; transform: none; }

.final-layout { width: min(100%, 760px); margin-inline: auto; text-align: center; }
.final-layout h2 { margin-top: 18px; }
.final-subtitle { color: var(--muted); font-size: 1.06rem; }
.confetti { display: flex; justify-content: center; gap: 16px; margin-bottom: 17px; color: var(--pink); font-size: 1.4rem; }
.confetti span { animation: bob 1.8s ease-in-out infinite alternate; }
.confetti span:nth-child(2n) { color: #e4a91e; animation-delay: -.8s; }
@keyframes bob { to { transform: translateY(-8px) rotate(12deg); } }
.summary-card { position: relative; overflow: hidden; margin: 30px 0; padding: 27px; border: 2px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, #fff 0 67%, #ffe2ed 67%); box-shadow: 8px 9px 0 var(--line); text-align: left; }
.summary-stamp { position: absolute; right: -30px; top: 23px; padding: 7px 42px; background: var(--yellow); border-block: 2px solid var(--line); font-size: .7rem; font-weight: 950; letter-spacing: .14em; transform: rotate(37deg); }
.summary-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 19px; border-bottom: 1px dashed #ceb8c4; }
.summary-top small, .summary-top strong { display: block; }
.summary-top small { margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.summary-top strong { font-size: 1.25rem; }
.summary-top > span { color: var(--pink); font-size: 2.2rem; }
.summary-moment { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 23px 0; border-bottom: 2px solid var(--line); }
.summary-moment span { font-size: clamp(1.25rem, 4vw, 2.1rem); font-weight: 950; }
.summary-moment b { max-width: 48%; color: var(--pink-dark); font-size: clamp(1rem, 3vw, 1.45rem); line-height: 1.35; text-align: right; }
.summary-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid #eadde3; }
.summary-row span { color: var(--muted); font-size: .83rem; font-weight: 850; }
.summary-row strong { text-align: right; line-height: 1.5; }
.summary-card blockquote { display: none; margin: 18px 0 0; padding: 14px 16px; border-left: 4px solid var(--pink); border-radius: 0 12px 12px 0; background: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.6; }
.summary-card blockquote.show { display: block; }
.final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-quiet { min-height: 48px; border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; }
.privacy-note { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.share-status { min-height: 24px; margin-top: 14px; color: var(--pink-dark); font-size: .9rem; font-weight: 850; }

.image-modal[hidden] { display: none; }
.image-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.image-modal-backdrop { position: absolute; inset: 0; background: rgba(35,22,42,.72); backdrop-filter: blur(7px); }
.image-modal-card { position: relative; z-index: 1; width: min(100%, 520px); max-height: 92dvh; overflow: auto; padding: 24px; border: 2px solid var(--line); border-radius: 25px; background: var(--paper); box-shadow: 7px 8px 0 var(--line); text-align: center; }
.image-modal-card > strong { display: block; font-size: 1.1rem; }
.image-modal-card > p { margin: 7px 0 17px; color: var(--muted); font-size: .85rem; }
.image-modal-card img { display: block; width: 100%; border: 2px solid var(--line); border-radius: 17px; }
.image-close { position: absolute; right: 12px; top: 10px; width: 37px; height: 37px; border: 0; background: transparent; cursor: pointer; font-size: 1.8rem; }

.escape-spark { position: fixed; z-index: 29; pointer-events: none; color: var(--pink); font-size: 1.2rem; animation: sparkAway .65s ease-out forwards; }
@keyframes sparkAway { to { opacity: 0; transform: translateY(-30px) rotate(50deg) scale(.4); } }
.toast { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 50; max-width: min(92vw, 430px); padding: 13px 18px; border: 2px solid var(--line); border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 850; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .food-grid { grid-template-columns: repeat(4, 1fr); }
  .wish-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .app-shell { padding: 13px 11px 28px; }
  .topbar { margin-bottom: 13px; }
  .brand span:last-child { display: none; }
  .progress-track { width: 128px; }
  .paper { border-radius: 24px; box-shadow: 5px 6px 0 rgba(49, 34, 56, .96); }
  .screen { min-height: calc(100dvh - 94px); padding: 28px 19px 34px; }
  .invite-screen.active { display: flex; flex-direction: column-reverse; justify-content: center; align-items: stretch; gap: 13px; }
  .hero-art { min-height: 245px; }
  .orbit-one { width: 235px; height: 235px; }
  .orbit-two { width: 190px; height: 260px; }
  .postcard { width: 175px; border-radius: 27px; box-shadow: 8px 9px 0 var(--line); }
  .postcard-kicker { left: 16px; top: 16px; font-size: .58rem; }
  .postcard-heart { font-size: 5rem; }
  .postcard-note { margin-top: 10px; font-size: .71rem; }
  .sticker { width: 48px; height: 48px; font-size: 1.15rem; }
  .sticker-one { right: 8%; }
  .sticker-two { left: 7%; bottom: 7%; }
  .scribble { right: 5%; bottom: 1%; font-size: 1rem; }
  h1 { margin: 12px 0 14px; font-size: clamp(3rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .lead { font-size: .98rem; line-height: 1.58; }
  .invite-actions { margin-top: 24px; gap: 10px; }
  .btn { min-height: 52px; padding-inline: 18px; }
  .btn-no { min-width: 124px; }
  .consent-note { margin-top: 20px; font-size: .82rem; }
  .question-head { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 23px; }
  .question-head p { font-size: .91rem; }
  .schedule-layout { grid-template-columns: 1fr; gap: 15px; }
  .schedule-panel { padding: 17px; border-radius: 20px; box-shadow: 4px 5px 0 var(--line); }
  .date-strip, .time-grid { grid-template-columns: repeat(3, 1fr); }
  .date-chip, .time-grid button { min-height: 68px; }
  .picked-line { text-align: center; font-size: .84rem; }
  .proposal-grid { grid-template-columns: 1fr; gap: 11px; }
  .proposal, .proposal-wide { grid-column: auto; min-height: 160px; padding: 19px; }
  .proposal-emoji { margin-bottom: 13px; }
  .preference-layout { grid-template-columns: 1fr; gap: 15px; }
  .preference-block { padding: 17px; border-radius: 20px; }
  .compact-food { grid-template-columns: repeat(4, 1fr); }
  .compact-food .food-choice { min-height: 96px; }
  .meet-grid button { min-height: 66px; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .choice { min-height: 138px; padding: 16px 14px; border-radius: 18px; box-shadow: 3px 4px 0 var(--line); }
  .choice-emoji { margin-bottom: 13px; font-size: 1.7rem; }
  .choice-title { font-size: .95rem; }
  .choice-caption { font-size: .77rem; }
  .card-wide { grid-column: span 2; }
  .card-tall { grid-row: auto; min-height: 138px; }
  .food-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .food-choice { min-height: 112px; padding: 15px 6px; border-radius: 17px; }
  .food-choice span { font-size: 1.7rem; }
  .food-choice b { font-size: .83rem; }
  .wish-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .wish { min-height: 61px; padding: 9px 10px; font-size: .82rem; }
  .note-box textarea { min-height: 105px; }
  .continue-row { align-items: stretch; flex-direction: column; margin-top: 25px; }
  .continue-row .btn { width: 100%; }
  .selection-hint { order: 2; text-align: center; }
  .summary-card { padding: 21px 18px; }
  .summary-moment { align-items: flex-end; }
  .summary-row { grid-template-columns: 80px 1fr; }
  .final-actions .btn { flex: 1; }
  .final-actions .btn-quiet { flex-basis: 100%; }
  .image-modal { padding: 12px; }
  .image-modal-card { padding: 20px 14px 14px; }
}

@media (max-width: 380px) {
  .date-strip, .time-grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .wish-grid { grid-template-columns: 1fr; }
  .compact-food { grid-template-columns: repeat(2, 1fr); }
  .meet-grid { grid-template-columns: 1fr; }
}

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