*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#171716}body{display:grid;place-items:center;min-height:100svh;color:#151514;font-family:Arial,Helvetica,sans-serif}.film{width:min(100vw,56.25svh);aspect-ratio:9/16;position:relative;overflow:hidden;background:#ece8dd;container-type:inline-size;box-shadow:0 0 90px #0007}.scene{position:absolute;inset:0;visibility:hidden;overflow:hidden}.scene.active{visibility:visible}.cut{display:inline-block;padding:.07em .2em .12em;box-shadow:2px 3px 0 #1113}.grain{position:absolute;inset:0;pointer-events:none;z-index:20;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");mix-blend-mode:multiply}.sticker{position:absolute;width:50%;aspect-ratio:1;background-image:url('collage.webp');background-size:200% 200%;background-repeat:no-repeat;filter:drop-shadow(3px 5px 0 #17171618)}.ball{background-position:0 0}.cocktail{background-position:100% 0}.cat{background-position:0 100%}.control{position:fixed;right:max(12px,calc((100vw - 56.25svh)/2 + 12px));top:12px;z-index:50;padding:9px 13px;border:1px solid #fff9;border-radius:0;color:#fff;background:#151515e8;font:14px Arial;cursor:pointer}.control:hover{background:#ff4d8c;color:#111}.control:focus-visible,a:focus-visible{outline:3px solid #ff4887;outline-offset:3px}.progress{position:absolute;left:5%;right:5%;bottom:1.6%;display:flex;gap:4px;z-index:30}.progress i{height:2px;flex:1;background:#15151525}.progress i.passed{background:#151515}
.intro{background:#ece8dd}.smallprint{position:absolute;top:11%;left:7%;font:700 2.7cqw/1 Arial;letter-spacing:.1em}.intro-me{position:absolute;top:22%;left:9%;font:900 19cqw/.9 Arial;background:#151515;color:#efeee5;transform:rotate(-7deg);z-index:2}.intro-number{position:absolute;top:32%;left:3%;font:900 82cqw/.9 Georgia,serif;letter-spacing:-.13em}.intro-number span{display:inline-block}.intro-number span:first-child{transform:rotate(-7deg)}.intro-number span:nth-child(2){color:#ed4280;transform:rotate(8deg) translateY(3%)}.intro-number i{font-style:normal;font-size:.44em;letter-spacing:-.2em}.intro-stamp{position:absolute;top:74%;right:8%;font:900 8cqw/1 Arial;transform:rotate(6deg);background:#ed4280}.intro-bottom{position:absolute;bottom:9%;left:8%;font:700 3cqw Arial;letter-spacing:.18em}.intro.active .intro-me{animation:slam .26s both}.intro.active .intro-number span:first-child{animation:cutin .2s .35s both}.intro.active .intro-number span:nth-child(2){animation:cutin .2s .62s both}.intro.active .intro-stamp{animation:cutin .18s 1.15s both}
.attitude{background:#ee4d89}.attitude-question{position:absolute;top:12%;left:6%;font:900 12.6cqw/.9 Arial;letter-spacing:-.065em;transform:rotate(-4deg)}.attitude-cat{width:93%;left:3%;top:24%;transform:rotate(6deg)}.attitude-answer{position:absolute;left:7%;top:63%;display:flex;align-items:flex-start;flex-direction:column;z-index:3;font:900 13.8cqw/.94 Arial;letter-spacing:-.045em;transform:rotate(-6deg)}.attitude-answer span{background:#151515;color:#f0ede4}.attitude-answer span+span{margin-top:.08em;margin-left:.16em}.attitude-note{position:absolute;bottom:8%;right:8%;font:italic 6cqw Georgia;transform:rotate(4deg)}.attitude.active .attitude-cat{animation:slidecut .28s both}.attitude.active .attitude-answer{animation:cutin .18s .4s both}
.party{background:#171716;color:#eee8df}.party-ball{top:-13%;right:-17%;width:92%;transform:rotate(-20deg)}.party-type{position:absolute;top:22%;left:5%;display:flex;flex-direction:column;align-items:flex-start;z-index:2;font:900 23cqw/.9 Arial;letter-spacing:-.06em;transform:rotate(-5deg)}.party-type span{background:#ee4d89;color:#171716}.party-type span:nth-child(2){margin:.1em 0 .1em .6em;background:#eee8df;transform:rotate(9deg)}.party-type span:nth-child(3){font-family:Georgia,serif;font-size:.49em;letter-spacing:-.06em;transform:rotate(3deg)}.party-drink{width:76%;left:27%;top:51%;transform:rotate(-13deg)}.party-note{position:absolute;bottom:11%;left:5%;font:700 6cqw Arial;background:#eee8df;color:#171716;transform:rotate(6deg)}.party.active .party-type span{animation:cutin .18s both}.party.active .party-type span:nth-child(2){animation-delay:.26s}.party.active .party-type span:nth-child(3){animation-delay:.52s}.party.active .party-drink{animation:slidecut .3s .6s both}
.final{background:#ece8dd}.final-top{position:absolute;top:5%;left:6%;font:700 2.7cqw Arial;letter-spacing:.1em}.name{position:absolute;top:8%;left:5%;margin:0;font:italic 700 10cqw/1 Georgia,serif;transform:rotate(-5deg);background:#151515;color:#eee8df;z-index:5}.final-ball{top:2%;right:-22%;width:66%;transform:rotate(12deg)}.age{position:absolute;top:14%;left:13%;font:900 60cqw/.97 Georgia,serif;letter-spacing:-.13em;z-index:2}.age span{display:inline-block;transform:rotate(-7deg)}.age span:nth-child(2){transform:rotate(7deg);color:#e8407b}.age i{font-size:.46em;font-style:normal;display:inline-block;transform:rotate(10deg) translateY(-13%);letter-spacing:-.3em}.final-cat{top:34%;left:-6%;width:44%;transform:rotate(-12deg);z-index:3}.final-drink{top:31%;right:-10%;width:51%;transform:rotate(13deg);z-index:3}.final-title{position:absolute;top:46%;left:16%;display:flex;align-items:flex-start;flex-direction:column;z-index:6;font:900 9cqw/.93 Arial;letter-spacing:-.055em;transform:rotate(-5deg)}.final-title span{background:#ed4280;color:#151515}.final-title span+span{background:#151515;color:#eee8df;margin-top:.09em;margin-left:-.3em;font-family:Georgia,serif;font-size:.9em;letter-spacing:-.035em}.date-ticket{position:absolute;left:7%;right:7%;top:60.5%;display:flex;align-items:center;justify-content:space-between;border-top:2px solid #171716;border-bottom:2px solid #171716;padding:1.6cqw 0}.date-ticket>div{display:flex;align-items:center;gap:2cqw}.date-day strong{font:900 8cqw/1 Arial;letter-spacing:-.02em}.date-day span{font:900 8cqw/1 Arial;letter-spacing:-.02em}.date-ticket time{font:900 8cqw/1 Arial;letter-spacing:-.02em;border-left:1px dashed #171716;padding-left:4cqw}.links{position:absolute;top:74%;left:7%;right:7%;display:grid;gap:1.5cqw}.links a{min-height:44px;padding:2.8cqw 3cqw;display:flex;align-items:center;justify-content:space-between;text-decoration:none;background:#171716;color:#f3eee6;border:1px solid #171716}.links a:nth-child(2){background:#ed4280;color:#171716}.links a span{font:900 max(14px,3.8cqw)/1 Arial;letter-spacing:-.02em}.links a small{font:italic max(12px,3.1cqw) Georgia;opacity:.85}.links a:hover{background:#fff;color:#171716}.final-note{position:absolute;top:92%;width:100%;text-align:center;margin:0;font:700 2.7cqw Arial;letter-spacing:.12em}.final.active .name{animation:cutin .22s both}.final.active .age{animation:cutin .22s .12s both}.final.active .final-cat,.final.active .final-drink{animation:slidecut .3s .2s both}.final.active .final-title{animation:cutin .2s .35s both}.final.active .date-ticket{animation:cutin .2s .6s both}.final.active .links{animation:cutin .25s 1s both}.final.active .final-note{animation:cutin .2s 1.15s both}.progress.light i{background:#ffffff33}.progress.light i.passed{background:#fff}
@keyframes cutin{from{opacity:0;translate:0 15px}to{opacity:1;translate:0 0}}@keyframes slam{from{opacity:0;scale:1.4}to{opacity:1;scale:1}}@keyframes slidecut{from{opacity:0;translate:20% 12%;rotate:12deg}to{opacity:1;translate:0 0;rotate:0deg}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Personal portrait and dress-code continuation. */
body{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.film{flex:none}.final{isolation:isolate}.final-ball{width:53%;right:-24%;top:6%;opacity:.9}.age{top:22%;left:5%;font-size:39cqw;z-index:1}.age::before{content:'МНЕ';position:absolute;top:-.8em;left:.2em;font:900 5cqw Arial;letter-spacing:.03em}.portrait{position:absolute;top:15%;right:-3%;width:70%;height:43%;object-fit:contain;object-position:center bottom;z-index:3;filter:drop-shadow(3px 4px 0 #fff) drop-shadow(-2px -2px 0 #fff)}.final-title{top:48.5%;left:8%;font-size:8.4cqw}.final.active .portrait{animation:portrait-enter .6s .15s both}.dress-peek{position:absolute;top:92%;left:7%;right:7%;text-align:center;min-height:32px;padding:4px 0;color:#171716;font:700 14px/1.3 Arial;text-decoration:underline;text-underline-offset:4px;z-index:8}.hero-glints{position:absolute;inset:0;pointer-events:none;z-index:7}.hero-glints i,.dress-glints i{position:absolute;width:18px;height:18px;background:#fff9de;clip-path:polygon(50% 0,58% 40%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);opacity:0;animation:glint 4.8s ease-in-out infinite;filter:drop-shadow(0 0 5px white)}.hero-glints i:nth-child(1){left:10%;top:40%;animation-delay:.7s}.hero-glints i:nth-child(2){left:86%;top:17%;animation-delay:2.1s}.hero-glints i:nth-child(3){left:28%;top:22%;animation-delay:3.2s;width:12px;height:12px}.hero-glints i:nth-child(4){left:93%;top:48%;animation-delay:1.6s}.hero-glints i:nth-child(5){left:57%;top:51%;animation-delay:4s;width:12px;height:12px}.dresscode{width:min(100vw,56.25svh);background:#ed4280;color:#171716;position:relative;container-type:inline-size;overflow:hidden;padding-bottom:24px}.dresscode[hidden]{display:none}.dress-head{padding:9% 7% 7%;position:relative;background:linear-gradient(125deg,#ec4280,#f077a0,#ed4280);background-size:200% 200%;animation:color-wash 14s ease-in-out infinite}.dress-eyebrow{font:700 12px/1.5 Arial;letter-spacing:.08em;margin:0 0 20px;max-width:90%}.dress-head h2{margin:0;display:flex;flex-direction:column;align-items:flex-start;font:900 17cqw/.95 Arial;letter-spacing:-.07em;transform:rotate(-4deg)}.dress-head h2 span:first-child{background:#171716;color:#eee8df;padding:0 .13em .05em}.dress-head h2 span:nth-child(2){margin:.07em 0 0 .45em;background:#eee8df;color:#171716;padding:0 .2em .05em}.dress-motto{font:italic 700 max(20px,6cqw)/1.3 Georgia;margin:25px 0 0}.dress-visual{position:relative;margin:0 4%;transform:rotate(1.3deg);border:7px solid #eee8df;box-shadow:4px 6px 0 #171716;isolation:isolate;overflow:hidden}.dress-visual>img{display:block;width:100%;height:auto}.dress-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#fff5 49%,#fff8 50%,transparent 68%);transform:translateX(-150%);animation:shine-pass 9s 2s ease-in-out infinite;mix-blend-mode:screen}.dress-glints{position:absolute;inset:0;pointer-events:none}.dress-glints i:nth-child(1){left:18%;top:5%;animation-delay:.5s}.dress-glints i:nth-child(2){left:42%;top:30%;animation-delay:1.7s;width:24px;height:24px}.dress-glints i:nth-child(3){left:81%;top:24%;animation-delay:3s}.dress-glints i:nth-child(4){left:67%;top:49%;animation-delay:4.2s}.dress-glints i:nth-child(5){left:17%;top:63%;animation-delay:2.8s}.dress-glints i:nth-child(6){left:38%;top:79%;animation-delay:.9s;width:24px;height:24px}.dress-glints i:nth-child(7){left:83%;top:85%;animation-delay:2s}.dress-glints i:nth-child(8){left:62%;top:96%;animation-delay:3.8s}.dress-stamp{position:absolute;bottom:5%;right:4%;font:900 6.6cqw/.95 Arial;background:#e6fa6c;color:#171716;padding:.25em .3em;transform:rotate(-9deg);box-shadow:3px 3px 0 #171716}.dress-details{padding:8% 7% 3%}.dress-materials{font:700 17px/1.4 Arial;margin:0 0 18px}.swatches{display:flex;gap:12px;margin:0 0 22px}.swatches i{width:34px;height:34px;display:block;border:2px solid #171716;border-radius:50%;box-shadow:2px 2px 0 #171716}.swatches i:nth-child(1){background:#ef137c}.swatches i:nth-child(2){background:linear-gradient(130deg,#707071,#fff,#a6a6ab,#fff)}.swatches i:nth-child(3){background:#264dd9}.swatches i:nth-child(4){background:#0b8d61}.swatches i:nth-child(5){background:linear-gradient(130deg,#ad7132,#ffe795,#d39946)}.dress-details>p:not(.dress-materials){font:16px/1.55 Arial;margin:0 0 30px}.dress-signoff{font:900 12cqw/.95 Arial;letter-spacing:-.055em;display:flex;align-items:flex-start;flex-direction:column;transform:rotate(-3deg);margin:8% 0 12%}.dress-signoff span{padding:0 .15em .06em;background:#171716;color:#eee8df}.dress-signoff span:nth-child(2){margin-left:.5em;color:#e6fa6c}.dress-signoff span:nth-child(3){margin-left:1em}.back-invite{display:block;color:#171716;font:700 14px/1.4 Arial;text-underline-offset:4px;min-height:44px;padding:12px 0}.date-ticket{scroll-margin-top:15px}.dresscode{scroll-margin-top:0}@keyframes portrait-enter{from{opacity:0;translate:12% 8%;rotate:3deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes glint{0%,55%,100%{opacity:0;scale:.35;rotate:-20deg}66%{opacity:.95;scale:1;rotate:0deg}78%{opacity:0;scale:.45;rotate:20deg}}@keyframes shine-pass{0%,65%,100%{transform:translateX(-150%)}85%{transform:translateX(150%)}}@keyframes color-wash{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
/* Keep the replay control with the invitation, clear of the dress-code text. */
.control{position:absolute}
html{scroll-behavior:smooth;scroll-padding-top:12px}.final-actions{position:absolute;top:90.8%;left:7%;right:7%;display:flex;gap:10px;z-index:10}.final-actions a{flex:1;padding:12px 5px;text-align:center;border:1px solid #171716;color:#171716;font:700 14px Arial;text-decoration:none;background:#ece8dd}.final-actions a:last-child{background:#171716;color:#fff}.dress-head{background:linear-gradient(180deg,#ece8dd 0%,#f0bacb 30%,#ee5791 100%);animation:none;padding-top:16%}.dresscode{background:#ee5791}.intro.active .intro-me{animation-duration:.65s}.intro.active .intro-number span:first-child{animation-duration:.65s;animation-delay:.9s}.intro.active .intro-number span:nth-child(2){animation-duration:.65s;animation-delay:1.6s}.intro.active .intro-stamp{animation-duration:.65s;animation-delay:2.7s}.attitude.active .attitude-cat{animation-duration:.8s}.attitude.active .attitude-answer{animation-duration:.7s;animation-delay:1s}.party.active .party-type span{animation-duration:.65s}.party.active .party-type span:nth-child(2){animation-delay:.9s}.party.active .party-type span:nth-child(3){animation-delay:1.8s}.party.active .party-drink{animation-duration:.8s;animation-delay:2.6s}.final.active .name,.final.active .age,.final.active .final-title,.final.active .date-ticket,.final.active .links{animation-duration:.65s}.final.active .age{animation-delay:.5s}.final.active .portrait{animation-duration:1s;animation-delay:.6s}.final.active .final-title{animation-delay:1.1s}.final.active .date-ticket{animation-delay:1.7s}.final.active .links{animation-delay:2.4s}.final.active .final-actions{animation:cutin .7s 3s both}.rsvp{width:min(100vw,56.25svh);padding:10% 7%;background:#ece8dd;color:#171716;container-type:inline-size;box-sizing:border-box}.rsvp[hidden]{display:none}.rsvp{padding:42px max(24px,4cqw)}.rsvp-eyebrow{font:700 12px/1.5 Arial;letter-spacing:.08em}.rsvp h2{font:900 clamp(42px,8vw,64px)/.95 Arial;letter-spacing:-.06em;margin:28px 0;transform:rotate(-3deg)}.rsvp>p{font:16px/1.55 Arial}.rsvp form{display:grid;gap:20px;margin-top:30px}.rsvp form label{display:grid;gap:9px;font:700 16px/1.3 Arial}.rsvp input:not([type=radio]){width:100%;min-width:0;border:1px solid #171716;border-radius:0;padding:13px;font:18px Arial;background:#fff;color:#171716}.rsvp fieldset{margin:0;padding:15px 12px;border:1px solid #777}.rsvp legend{font:700 16px Arial}.rsvp form .choice{display:flex;align-items:center;margin:10px 0;font-weight:400}.choice input{width:20px;height:20px;accent-color:#c92c68}.count-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.count-fields[hidden]{display:none}.form-privacy{font:14px/1.5 Arial;margin:0;color:#49413f}.submit-rsvp{width:100%;border:1px solid #171716;background:#ed4280;color:#171716;padding:15px;font:700 17px Arial;cursor:pointer}.submit-rsvp:disabled{opacity:.5;cursor:wait}#rsvp-message{font:16px/1.5 Arial;margin:0;min-height:24px}.error{color:#a12032}.success{color:#17643e}.rsvp input:focus-visible,.submit-rsvp:focus-visible{outline:3px solid #ed4280;outline-offset:3px}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Medium pace: 3.6 / 3.6 / 3.8 seconds per opening scene. */
.intro.active .intro-me{animation-duration:.42s}
.intro.active .intro-number span:first-child{animation-duration:.42s;animation-delay:.55s}
.intro.active .intro-number span:nth-child(2){animation-duration:.42s;animation-delay:.95s}
.intro.active .intro-stamp{animation-duration:.42s;animation-delay:1.75s}
.attitude.active .attitude-cat{animation-duration:.55s}
.attitude.active .attitude-answer{animation-duration:.45s;animation-delay:.65s}
.party.active .party-type span{animation-duration:.42s}
.party.active .party-type span:nth-child(2){animation-delay:.55s}
.party.active .party-type span:nth-child(3){animation-delay:1.1s}
.party.active .party-drink{animation-duration:.55s;animation-delay:1.65s}
.final.active .name,.final.active .age,.final.active .final-title,.final.active .date-ticket,.final.active .links{animation-duration:.45s}
.final.active .age{animation-delay:.3s}
.final.active .portrait{animation-duration:.7s;animation-delay:.35s}
.final.active .final-title{animation-delay:.7s}
.final.active .date-ticket{animation-delay:1.1s}
.final.active .links{animation-delay:1.6s}
.final.active .final-actions{animation:cutin .45s 2s both}

/* Viewport-sized detail panels: no page-length sections. */
.film{width:min(100vw,56.25svh);height:auto;min-height:0;aspect-ratio:9/16}
.final-actions button{flex:1;min-height:44px;padding:8px 4px;border:1px solid #171716;background:#ece8dd;color:#171716;font:700 14px Arial;cursor:pointer}
.final-actions button:last-child{background:#171716;color:#fff}
body.panel-open{overflow:hidden}
.detail-dialog{padding:0;border:0;width:min(460px,calc(100vw - 24px));height:min(740px,calc(100dvh - 24px));max-width:none;max-height:none;overflow:hidden;background:#ece8dd;color:#171716;box-shadow:0 20px 100px #0009}
.detail-dialog::backdrop{background:#171716cc;backdrop-filter:blur(8px)}
.detail-dialog[open]{animation:panel-enter .28s ease-out}
.panel-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px;padding:20px}
.panel-header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-shrink:0}
.panel-header p{margin:0 0 7px;font:700 10px/1.2 Arial;letter-spacing:.12em}
.panel-header h2{margin:0;font:900 clamp(27px,7vw,36px)/1 Arial;letter-spacing:-.06em}
.panel-close{align-self:flex-start;border:1px solid #171716;background:transparent;width:44px;height:44px;flex:none;font:32px/1 Arial;cursor:pointer}
.dress-panel{background:#ed548b}
.panel-motto{margin:0;font:italic 700 22px/1.2 Georgia;flex-shrink:0}
.panel-picture{position:relative;flex:1;min-height:0;display:flex;justify-content:center;overflow:hidden}
.panel-picture img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.panel-materials{margin:0;text-align:center;font:700 13px/1.2 Arial;flex-shrink:0}
.panel-actions{display:flex;gap:8px;margin-top:auto;flex-shrink:0}
.panel-actions button{flex:1;min-height:44px;border:1px solid #171716;background:transparent;color:#171716;font:700 13px Arial;padding:8px 4px;cursor:pointer}
.panel-actions button:last-child{background:#171716;color:#fff}
.panel-glints{position:absolute;inset:0;pointer-events:none}
.panel-glints i{position:absolute;width:18px;height:18px;background:#fff;clip-path:polygon(50% 0,58% 40%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);opacity:0;animation:glint 4.8s infinite}
.panel-glints i:nth-child(1){left:22%;top:24%}.panel-glints i:nth-child(2){left:70%;top:53%;animation-delay:1.6s}.panel-glints i:nth-child(3){left:42%;top:80%;animation-delay:3.2s}
.reply-panel{height:min(620px,calc(100dvh - 24px))}
.reply-panel form{display:grid;gap:14px;margin:6px 0 0;min-height:0}
.reply-panel form>label,.reply-panel .count-fields label{display:grid;gap:6px;font:700 14px/1.2 Arial;min-width:0}
.reply-panel input:not([type=radio]){width:100%;min-width:0;height:44px;padding:10px;border:1px solid #171716;border-radius:0;background:#fff;color:#171716;font:16px Arial}
.reply-panel fieldset{margin:0;padding:0;border:0;display:flex;gap:6px}
.reply-panel legend{padding:0;margin:0 0 5px;font:700 14px Arial}
.reply-panel .choice{flex:1;display:flex;align-items:center;gap:6px;min-height:40px;font:14px Arial;white-space:nowrap}
.reply-panel .choice input{margin:0;width:20px;height:20px}
.reply-panel .count-fields{gap:12px}
.reply-panel .form-privacy{font:12px/1.4 Arial}
.reply-panel .submit-rsvp{min-height:44px;padding:10px;font-size:16px}
.reply-panel .submit-rsvp:disabled{cursor:default}
.reply-panel #rsvp-message{font:12px/1.4 Arial;min-height:17px}
button:focus-visible,input:focus-visible{outline:3px solid #2164db;outline-offset:2px}
@keyframes panel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:500px){.detail-dialog{width:100vw;height:100dvh;margin:0}.panel-shell{padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}.reply-panel .panel-shell{max-width:460px;margin:auto}.reply-panel form{gap:16px}}
@media(max-height:620px){.panel-shell{padding:12px;gap:8px}.panel-header h2{font-size:28px}.panel-motto{font-size:19px}.reply-panel form{gap:9px;margin:0}.reply-panel .panel-shell{gap:10px}.panel-header p{margin-bottom:5px}}
@media(max-height:450px){.reply-panel{overflow:auto}.reply-panel .panel-shell{height:auto;min-height:100%}.reply-panel .panel-actions{margin-top:12px}}
/* Matching panels and a moving nightclub light treatment. */
.detail-dialog,.reply-panel{height:min(740px,calc(100dvh - 24px));width:min(460px,calc(100vw - 24px))}
.dress-panel{background:#211321;color:#fff0df}
.dress-panel .panel-close,.dress-panel .panel-actions button{border-color:#f6c6d9;color:#fff0df}
.dress-panel .panel-actions button:last-child{background:#ee4d89;color:#171716;border-color:#ee4d89}
.dress-panel .panel-motto{color:#ffa7cd}
.panel-picture{isolation:isolate;background:radial-gradient(ellipse at 50% 80%,#92325d55,transparent 70%)}
.panel-picture img{animation:velvet-sway 9s ease-in-out infinite;transform-origin:50% 70%;will-change:transform}
.panel-picture::before,.panel-picture::after{content:'';position:absolute;inset:-25% -30%;pointer-events:none;z-index:2;mix-blend-mode:screen;transform-origin:50% 0;opacity:.65}
.panel-picture::before{background:conic-gradient(from 156deg at 30% 0%,transparent 0deg,#ff63b522 9deg,#ffd7ee99 15deg,#ff83cb22 23deg,transparent 30deg);animation:spotlight-left 7s ease-in-out infinite alternate}
.panel-picture::after{background:conic-gradient(from 167deg at 72% 0%,transparent 0deg,#92c6ff33 8deg,#fff1ce99 14deg,#e1c4ff22 21deg,transparent 27deg);animation:spotlight-right 8.5s ease-in-out infinite alternate}
.panel-glints{z-index:3;inset:0;background:linear-gradient(115deg,transparent 35%,#fff1c900 44%,#fff1c940 50%,#fff1c900 56%,transparent 65%);background-size:300% 100%;animation:satin-light 6s ease-in-out infinite}
.panel-glints i{width:24px;height:24px;filter:drop-shadow(0 0 6px #fff);animation-duration:3.8s}
.panel-glints i:nth-child(4){left:63%;top:16%;animation-delay:.7s;width:13px;height:13px}
.panel-glints i:nth-child(5){left:31%;top:63%;animation-delay:2.5s;width:14px;height:14px}
.panel-glints i:nth-child(6){left:78%;top:77%;animation-delay:1.2s;width:12px;height:12px}
@keyframes velvet-sway{0%,100%{transform:translateY(2px) rotate(-.6deg) scale(.97)}50%{transform:translateY(-2px) rotate(.6deg) scale(.995)}}
@keyframes spotlight-left{from{transform:rotate(-17deg);opacity:.35}to{transform:rotate(15deg);opacity:.8}}
@keyframes spotlight-right{from{transform:rotate(19deg);opacity:.7}to{transform:rotate(-16deg);opacity:.4}}
@keyframes satin-light{0%,20%{background-position:100% 0}80%,100%{background-position:0% 0}}
@media(max-width:500px){.detail-dialog,.reply-panel{width:100vw;height:100dvh}}
@media(prefers-reduced-motion:reduce){.panel-picture img,.panel-picture::before,.panel-picture::after,.panel-glints,.panel-glints i{animation:none!important}.panel-picture::before,.panel-picture::after{opacity:.3}}
/* All invitation screens share the same frame. */
.detail-dialog,.reply-panel{width:min(100vw,56.25svh);height:100svh;max-height:none;max-width:none;margin:0 auto;top:0;bottom:auto}
.detail-dialog .panel-shell{padding:16px;gap:10px}
.detail-dialog .panel-header h2{font-size:clamp(25px,7vw,32px)}
.detail-dialog .panel-motto{font-size:20px}
.reply-panel form{gap:12px;margin:0}
@media(max-height:620px){.detail-dialog .panel-shell{padding:12px;gap:8px}.detail-dialog .panel-header h2{font-size:26px}.reply-panel form{gap:9px}}
.detail-dialog,.reply-panel{height:min(100svh,177.77778vw)}

.date-ticket{flex-direction:column;align-items:stretch;gap:.8cqw}
.date-row{display:flex;align-items:center;justify-content:space-between;width:100%}
.date-day{display:flex;align-items:baseline;gap:2cqw}
.date-ticket .countdown{display:flex;flex-direction:column;align-items:center;gap:.4cqw;width:100%;border-top:1px dashed #171716;padding-top:.8cqw}
.cd-label{font:700 3cqw Arial;letter-spacing:.12em;white-space:nowrap}
.cd-row{display:flex;align-items:center;justify-content:space-between;width:100%;white-space:nowrap}
.cd-days{font:700 3.5cqw Arial;letter-spacing:.06em;white-space:nowrap}
.cd-days b{font:900 10cqw/1 Arial;letter-spacing:-.02em;color:#ed4280;margin-right:.8cqw}
.cd-clock{font:900 10cqw/1 Arial;letter-spacing:-.02em;color:#171716;font-variant-numeric:tabular-nums;white-space:nowrap}
.cd-clock i{font-style:normal;color:#ed4280}
.cd-clock b{color:#ed4280}
.cd-live{font-size:4.5cqw;color:#ed4280;letter-spacing:.03em}
.links{top:76.4%}
.final-actions{top:91.4%}
.confetti-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.panel-shell{overflow-y:auto}
.film{width:min(100vw,calc(var(--app-h,100svh)*.5625))}
.detail-dialog{max-height:calc(var(--app-h,100dvh) - 8px)}
.bottom-stack{position:absolute;left:7%;right:7%;bottom:4%;display:flex;flex-direction:column;gap:6px;z-index:10}
.bottom-stack .date-ticket{position:static;padding:1cqw 0}
.bottom-stack .links{position:static}
.bottom-stack .final-actions{position:static}
.bottom-stack .countdown{padding-top:.5cqw}
.cd-label{font-size:2.8cqw}
.cd-days b,.cd-clock{font-size:9.2cqw}
.links a{min-height:40px;padding:2cqw 3cqw}
.final-title{top:45.5%;font-size:8cqw}
html,body{touch-action:manipulation}
.bottom-stack .date-ticket{background:#ece8dd}
.intro-number i{display:inline-block}
.intro.active .intro-number i{animation:cutin .18s .85s both}
html{height:100%}
body{min-height:100%}
@media(max-width:500px){
.detail-dialog,.reply-panel{width:auto;height:auto;left:0;right:0;top:0;bottom:0;margin:0}
}
