body{background:var(--pink)}
.gate-reaction-dialog{width:min(390px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:30px 24px 24px;background:var(--paper);color:var(--ink);border:1.5px solid var(--ink);border-radius:22px;text-align:center;overflow:auto;box-shadow:0 18px 50px #382d3b30}
.gate-reaction-dialog::backdrop{background:#382d3b85}
.gate-reaction-close{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;background:transparent;border-radius:50%;color:var(--ink)}
.gate-reaction-close:hover{background:var(--pink)}
.gate-reaction-art{display:block;width:min(230px,80%);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 12px}
.gate-reaction-dialog h2{font-family:'Date Display',var(--font);font-weight:400;font-size:clamp(24px,6.4vw,29px);line-height:1.45;margin:0 0 11px;color:var(--red);text-wrap:balance}
.gate-reaction-dialog>p{margin:0 auto 22px;max-width:29ch;font-size:15px;line-height:1.85;color:var(--ink)}
.gate-reaction-dialog>.button{width:100%;min-height:50px;font-size:15px;justify-content:center}
.gate-reaction-dialog>small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:14px}
.birthday-gate[data-mood=cry] .gate-couple{background:url('assets/gate-cry.png') center/contain no-repeat}
.birthday-gate[data-mood=heartbreak] .gate-couple{background:url('assets/gate-heartbreak.png') center/contain no-repeat}
.birthday-gate[data-mood=angry] .gate-couple{background:url('assets/gate-angry.png') center/contain no-repeat}
@keyframes gate-reaction-enter{0%{transform:translateY(12px) rotate(-5deg) scale(.92)}65%{transform:translateY(-3px) rotate(2deg) scale(1.02)}100%{transform:none}}
@media(prefers-reduced-motion:no-preference){.gate-reaction-dialog[open] .gate-reaction-art{animation:gate-reaction-enter .5s cubic-bezier(.16,1,.3,1) both}}
@media(max-height:620px){.gate-reaction-dialog{padding-top:25px;padding-bottom:20px}.gate-reaction-art{width:min(175px,65%)}.gate-reaction-dialog>p{margin-bottom:16px}}
.site-header{height:94px;border-bottom:1.5px solid var(--ink)}
.brand{font-size:25px}.brand-mark{width:48px;height:48px;border-radius:15px;transform:rotate(-10deg)}
.hero{position:relative;margin-top:28px;padding:40px 48px 43px;background:var(--red);border:2px solid var(--ink);border-radius:26px;gap:32px;isolation:isolate}
.hero h1{font-size:clamp(48px,5.2vw,72px);line-height:1.25;color:var(--paper);letter-spacing:0;margin-bottom:24px}
.underlined,.red-dot{color:var(--yellow)}.underlined svg{stroke:var(--yellow);opacity:.7;bottom:-9px}
.hero-copy>p{color:#fff;font-size:17px;line-height:1.9;margin-bottom:24px}
.hero .primary{color:var(--ink);background:var(--yellow);border:1.5px solid var(--ink);font-size:17px;min-height:55px;box-shadow:0 5px 12px #482a361a}
.hero .primary:hover{background:#f4de91}.hero-note{color:#fff;font-size:13px;max-width:330px;line-height:1.8}
.hero-art{height:390px}.couple-postcard{width:86%;padding:13px 13px 9px;transform:rotate(7deg);box-shadow:0 14px 28px #41283230}
.love-sticker{width:108px;height:108px;top:0;right:-14px;border-width:5px;font-size:15px;transform:rotate(12deg)}
.little-note{bottom:-4px;left:-22px;padding:17px 22px;transform:rotate(-11deg);font-size:13px}.little-note strong{font-size:17px}
.spark-one{color:var(--yellow);font-size:74px;left:-14px;top:-16px}.spark-two{color:var(--yellow);font-size:66px;bottom:-4px;right:-4px}
.planner{padding-top:42px}.section-intro{margin-bottom:23px}.section-intro h2{font-size:34px;line-height:1.4}.section-intro p{font-size:15px;margin-top:6px}.section-aside{font-size:14px}
.workspace{grid-template-columns:minmax(0,1fr) 295px;gap:28px}
.choices-panel{border:1.5px solid var(--ink);border-radius:21px;background:#fffdfa}
.step-tabs{background:var(--yellow);border-bottom:1.5px solid var(--ink)}
.step{padding:19px 13px;gap:8px;font-size:15px;font-weight:600}.step+.step{border-left:1px solid #33493f25}.step>.icon{display:none}
.step-no{width:28px;height:28px;background:#fffdfa;border:1px solid #33493f44;font-size:14px;color:var(--ink)}
.step.active{background:#fffdfa}.step.active .step-no{border-color:var(--red)}.step.active:after{left:13px;right:13px;height:4px}.step small{font-size:11px;font-weight:400;margin-top:4px}
#choice-panel{padding:29px 24px 23px}.choice-heading{margin-bottom:25px;align-items:start}.choice-heading h3{font-size:23px;line-height:1.5}.choice-heading p{font-size:14px;line-height:1.8;margin-top:5px}.choice-heading>span{font-size:11px;padding-top:7px}
.options{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.option{min-height:0;padding:7px 9px 15px;border:1.5px solid #d5d8c7;border-radius:16px;background:var(--paper);overflow:hidden}
.option:hover{border-color:var(--ink);transform:translateY(-4px) rotate(-1deg)}.option[aria-checked=true]{border:2px solid var(--red);background:#fbe8e7;padding:6.5px 8.5px 14.5px}
.choice-art{display:block;aspect-ratio:1;width:100%;flex-shrink:0;background-repeat:no-repeat;background-size:300% 300%;margin-bottom:5px}
.place-art{background-image:url('assets/place-scenes.png')}.activity-art{background-image:url('assets/activity-stickers-v2.png')}.food-art{background-image:url('assets/food-scenes.png')}
.food-extra-art{background-image:url('assets/food-extra-scenes.png')}
.meal-sticker{background-size:300% 300%;background-repeat:no-repeat}
.option strong{font-size:16px;line-height:1.5}.option small{font-size:13px;line-height:1.65;max-width:11em;text-align:center;margin-top:4px}
.selected-mark{z-index:1;top:9px;right:9px;width:24px;height:24px;border:2px solid #fffdfa}.selected-mark .icon{width:16px;height:16px}
.random-choice{padding:16px;border:1px dashed #9b9e86;background:var(--green);margin-top:18px}.random-choice strong{font-size:15px}.random-choice small{font-size:13px}
.step-actions{margin-top:24px}.step-actions .button{font-size:15px;min-height:49px;padding-inline:24px}.step-actions p{font-size:12px;max-width:190px}
.ticket-preview{background:#fff9ed;border:1.5px solid var(--ink);border-radius:15px;box-shadow:0 10px 24px #5a3d3610;padding:22px}
.ticket-preview h3{font-size:25px;line-height:1.4;margin-top:10px}.ticket-total strong{font-size:39px}.ticket-date{display:flex;flex-wrap:wrap;gap:7px;align-items:center;border-top:1px dashed #dcd7c5;padding-top:16px;margin-top:20px}
.ticket-date>span{font-size:13px;display:flex;align-items:center;gap:7px;color:var(--muted)}.ticket-date strong{display:block;flex-basis:100%;font-size:14px;font-weight:600;line-height:1.8}.ticket-date button{background:none;border:0;font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:32px;padding:0;color:var(--red)}
.ticket-preview:after{display:none}.ticket-preview .perforation:before{left:-30px}.ticket-preview .perforation:after{right:-30px}
.date-panel{max-width:480px;margin:0 auto;padding:13px 5px 8px}.date-panel[hidden],#choice-group[hidden],.food-filters[hidden]{display:none!important}
.calendar-art{position:relative;width:240px;margin:0 auto 28px;background:var(--paper);border:2px solid var(--ink);border-radius:15px;transform:rotate(-5deg);box-shadow:0 10px 20px #394f3c12;text-align:center;overflow:visible}
.calendar-month{display:block;padding:13px 8px 10px;border-bottom:2px solid var(--ink);border-radius:12px 12px 0 0;background:var(--red);color:white;font-size:15px;font-weight:600;min-height:49px}
.calendar-art strong{font-size:85px;font-family:'Date Display',var(--font);font-weight:400;line-height:1.2;display:block;padding-block:10px 0;color:var(--red)}
#calendar-caption{font-size:12px;display:block;padding:8px 10px 16px;color:var(--muted)}
.calendar-ring{position:absolute;top:-12px;width:12px;height:27px;border:2px solid var(--ink);background:var(--yellow);border-radius:5px;z-index:1}.ring-one{left:42px}.ring-two{right:42px}
.date-label{display:block;font-size:15px;font-weight:600;margin-bottom:8px}
/* Constrain native date controls, including Safari's intrinsic date-value width. */
.date-panel{width:100%;min-width:0;min-inline-size:0}
.date-field{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;background:#fffdfa;border:1.5px solid var(--ink);border-radius:12px}
.date-field:focus-within{outline:3px solid var(--red);outline-offset:3px}
.date-panel input{display:block;box-sizing:border-box;appearance:none;-webkit-appearance:none;width:100%;inline-size:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;height:55px;background:transparent;border:0;border-radius:0;padding:11px 14px;font-size:19px;color:var(--ink);font-family:var(--font);color-scheme:light;caret-color:var(--red);text-align:left}
.date-panel input::-webkit-date-and-time-value{min-width:0;min-inline-size:0;text-align:left}
.date-panel input::-webkit-datetime-edit{min-width:0;min-inline-size:0;padding:0}
.date-shortcuts{display:flex;gap:9px;margin:12px 0 17px}.date-shortcuts button{flex:1;min-width:0;min-height:45px;padding:9px 6px;border:1px solid #c3cab5;border-radius:10px;background:var(--green);font-size:14px;white-space:nowrap}
.date-shortcuts button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.date-undecided{width:100%;border:1px dashed #a1a88f;border-radius:12px;background:var(--paper);display:flex;gap:8px;align-items:center;justify-content:center;padding:14px 8px;font-size:14px;min-height:49px}.date-undecided .icon{width:18px;height:18px;color:var(--red)}.date-undecided[aria-pressed=true]{background:var(--pink);border-color:var(--red);color:var(--red)}
.food-filters{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 21px}.food-filters button{min-height:41px;border:1px solid #c9ccb9;border-radius:9px;background:var(--paper);padding:9px 10px;font-size:13px;font-weight:500;display:flex;gap:6px;align-items:center}.food-filters button span{font-size:11px;opacity:.8}.food-filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}
.food-current{flex-basis:100%;font-size:13px;margin:3px 0 0;color:var(--red)}
.closing{padding-block:65px 40px}.closing p{font-family:'Date Display',var(--font);font-size:26px}.closing-sticker{width:210px;height:185px}.closing small{font-size:14px}footer{border-top:1.5px solid var(--ink)}
.gate-card{border:1.5px solid var(--ink);box-shadow:0 12px 25px #74424e12}.birthday-gate{background:var(--pink)}
.birthday-field input::placeholder{color:var(--muted)}
@media(max-width:1050px) and (min-width:621px){.hero{padding:33px 30px;gap:20px}.hero h1{font-size:48px}.hero-art{height:320px}.love-sticker{width:85px;height:85px;font-size:12px;right:-8px}.little-note{left:-6px;padding:12px 16px}.little-note strong{font-size:14px}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.step{padding-inline:9px;font-size:13px;gap:6px}.step small{font-size:10px}.step-no{width:23px;height:23px;font-size:12px}#choice-panel{padding-inline:18px}.choice-heading h3{font-size:20px}.choice-heading>span{display:none}.option strong{font-size:14px}.option small{font-size:12px}.step-actions p{display:none}}
@media(max-width:620px){
  .wrap{width:calc(100% - 32px)}.site-header{height:75px}.brand{font-size:20px;gap:9px}.brand-mark{width:38px;height:38px;border-radius:12px}.saved-nav{font-size:12px;gap:5px}
  .hero{margin-top:18px;padding:25px 21px 24px;display:block;border-radius:23px;min-height:0;overflow:visible}
  .hero h1{font-size:38px;line-height:1.3;max-width:none;letter-spacing:0;margin-bottom:17px}.underlined svg{height:13px;bottom:-7px}
  .hero-copy>p{font-size:13px;max-width:52%;line-height:1.9;margin-bottom:17px;min-height:49px}
  .hero .button{font-size:14px;min-height:47px;padding:12px 14px;gap:7px;position:relative;z-index:2}.hero .button .icon{width:19px;height:19px}
  .hero-note{font-size:11px;line-height:1.7;max-width:100%;margin-top:16px;position:relative;z-index:2}
  .hero-art{position:absolute;width:136px;height:166px;right:-3px;top:98px;margin:0;z-index:1}
  .couple-postcard{width:100%;padding:7px 7px 5px;transform:rotate(8deg)}.postcard-caption{display:none}
  .love-sticker{width:64px;height:64px;font-size:11px;right:-3px;top:-18px;border-width:3px}.love-sticker svg{width:15px;height:15px;margin-bottom:2px}
  .tape{width:48px;height:17px}.little-note{display:none}.spark-one{left:-10px;top:-7px;font-size:31px}.spark-two{right:0;bottom:-9px;font-size:33px}
  .planner{padding-top:32px;padding-bottom:22px}.section-intro h2{font-size:28px}.section-intro p{font-size:14px;margin-top:6px}.section-intro{margin-bottom:20px}.section-aside{display:none}
  .workspace{display:block}.ticket-preview{margin-top:25px;padding:23px}.choices-panel{border-radius:18px;overflow:visible}.step-tabs{border-radius:16px 16px 0 0;overflow:hidden}
  .step{flex-direction:column;justify-content:center;gap:6px;text-align:center;font-size:14px;padding:13px 4px;line-height:1.3}.step small{display:none}.step-no{width:25px;height:25px;font-size:13px}.step.active:after{left:10px;right:10px;height:3px}
  #choice-panel{padding:23px 14px 91px;border-radius:0 0 16px 16px}.choice-heading{margin-bottom:23px}.choice-heading h3{font-size:20px;line-height:1.5}.choice-heading p{font-size:13px;margin-top:5px}.choice-heading>span{display:none}
  .options{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.option{padding:5px 7px 13px;border-radius:14px;min-height:0}.option[aria-checked=true]{padding:4.5px 6.5px 12.5px}
  .option strong{font-size:16px;line-height:1.5}.option small{font-size:12px;line-height:1.7;max-width:10em;margin-top:4px}.choice-art{margin-bottom:3px}.selected-mark{width:23px;height:23px;top:7px;right:7px}
  .random-choice{margin-top:16px;padding:15px 11px;gap:8px}.random-choice strong{font-size:14px}.random-choice small{font-size:12px}
  .step-actions{min-height:52px;margin-top:22px}.step-actions .button{font-size:14px;min-height:47px;padding:12px 18px;flex:1}.step-actions #previous{font-size:14px;padding:10px 12px;min-height:44px;margin:0}.step-actions p{display:none}
  .planning-view .step-actions{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:16px;right:16px;z-index:8;display:flex;margin:0;padding:9px;min-height:68px;background:#fff9ed;border:1.5px solid var(--ink);border-radius:15px;box-shadow:0 7px 24px #364a3b24;gap:8px}
  .planning-view .toast{bottom:96px}
  .date-panel{padding:12px 2px 0}.calendar-art{width:208px;margin-bottom:28px}.calendar-month{font-size:14px;padding:12px 8px 9px;min-height:45px}.calendar-art strong{font-size:78px;padding-top:9px}#calendar-caption{font-size:11px;padding-bottom:14px}.date-label{font-size:14px}.date-panel input{height:55px;font-size:18px;padding-inline:11px}
  .date-shortcuts{gap:7px}.date-shortcuts button{font-size:13px;padding:9px 3px;min-height:44px}.date-undecided{font-size:13px;min-height:48px;padding:12px 5px}
  .food-filters{gap:7px;margin-bottom:20px}.food-filters button{font-size:12px;padding:9px 9px;min-height:40px;gap:5px}.food-filters button span{font-size:11px}.food-current{font-size:12px}
  .ticket-preview h3{font-size:25px}.ticket-preview .perforation:before{left:-31px}.ticket-preview .perforation:after{right:-31px}.ticket-date strong{font-size:15px}.ticket-total strong{font-size:40px}
  .closing{padding-block:45px 30px}.closing p{font-size:22px}.closing small{font-size:13px}.closing-sticker{width:190px;height:165px}.sticker-download{font-size:13px}footer{font-size:10px;padding-bottom:25px}
}
@media(max-width:359px){.hero{padding:22px 17px}.hero h1{font-size:33px}.hero-art{width:115px;height:143px;top:91px;right:-2px}.hero-copy>p{font-size:12px;max-width:55%}.hero .button{font-size:12px;padding:11px 10px;gap:5px}.hero-note{font-size:11px}.love-sticker{width:64px;height:64px;font-size:11px}.option strong{font-size:14px}.option small{font-size:12px}.section-intro h2{font-size:25px}.date-shortcuts button{font-size:12px}.choice-heading h3{font-size:18px}.calendar-art{width:190px}.food-filters button{padding-inline:7px}}
