:root{font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25243a;background:#faf8f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding:40px 20px}main{max-width:520px;margin:auto}header{display:flex;align-items:center;gap:5px;color:#6260d9;font-weight:800;font-size:40px;letter-spacing:-1.5px}header svg{width:65px;height:65px}.tagline{margin:0 0 32px;font-size:15px}section{background:#fff;padding:30px;border-radius:26px;border:1px solid #ebe9f5;margin:18px 0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:3px;color:#6260d9}h1{font-size:clamp(30px,7vw,42px);line-height:1.12;letter-spacing:-1.2px;margin:18px 0}p{line-height:1.6}.muted,footer{color:#626174;font-size:14px}.note{white-space:pre-wrap;overflow-wrap:anywhere}label{display:block;font-size:15px;font-weight:600;margin-bottom:10px}input:not([type=radio]){width:100%;padding:15px;font:inherit;border:1px solid #bbb8ce;border-radius:12px;background:#fff;color:#25243a}fieldset{border:0;padding:0;margin:24px 0}legend{font-weight:700;margin-bottom:12px}.option{padding:14px;background:#f5f4fc;border-radius:12px;font-weight:500;display:flex;gap:12px;align-items:center}input[type=radio]{accent-color:#6260d9;width:18px;height:18px}button{font:inherit;font-weight:700;padding:16px 22px;background:#6260d9;color:#fff;border:0;border-radius:14px;cursor:pointer;width:100%}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid #69b3e7;outline-offset:3px}hr{border:0;border-top:1px solid #ebe9f5;margin:28px 0}footer{line-height:1.65;margin:25px 8px}#status{font-weight:600;white-space:pre-wrap}#status.error{color:#a52b42}[hidden]{display:none!important}@media(max-width:400px){body{padding:24px 12px}section{padding:22px}}

#confirmation{text-align:center;padding:24px 0 12px}#confirmation h2{font-size:clamp(32px,8vw,44px);line-height:1.1;letter-spacing:-1px;margin:20px 0 12px}#confirmation p{margin:8px 0;font-size:18px}.confirmation-check{display:inline-grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#eeedf9;color:#6260d9;font-size:38px;font-weight:700}#confirmation #confirmedAnswer{font-weight:700;color:#6260d9}#changeAnswer{margin-top:24px;background:transparent;color:#6260d9;width:auto;padding:10px 16px;font-size:14px}#confirmation:focus{outline:none}

.invite-heading{display:flex;gap:16px;align-items:flex-start;margin:20px 0}.invite-heading h1{flex:1;min-width:0;margin:4px 0;overflow-wrap:anywhere}.event-cover{width:100px;height:116px;flex:none;border-radius:23px;background:radial-gradient(circle at 90% 90%,#fecb96 0 22%,transparent 23%),linear-gradient(135deg,#6260d9,#94a5e3);transform:rotate(5deg);display:grid;place-items:center;overflow:hidden;color:#faf8f3;font-size:68px}.event-cover img{width:100%;height:100%;object-fit:cover}.attendees{display:flex;align-items:center;margin:18px 0;min-height:0}.avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;margin-left:-6px;background:#e9e7fa;border:2px solid white;border-radius:50%;color:#6260d9;font-size:12px;font-weight:700;overflow:hidden}.avatar:first-child{margin-left:0}.avatar img{width:100%;height:100%;object-fit:cover}.attendee-count{font-size:13px;color:#626174;margin-left:12px}.event-links{display:grid;gap:12px;margin:20px 0}.event-links a,.app-link{color:#6260d9;font-size:15px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}.app-link{display:inline-flex;padding:12px 18px;border-radius:50px;background:#eeedf9}.option,button{border-radius:30px}#date{color:#6260d9;font-weight:700}#place{font-weight:600}section{box-shadow:0 8px 40px #25243a04}@media(max-width:400px){.event-cover{width:80px;height:96px}.invite-heading{gap:12px}}

.date-row,.location-row{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.date-row{margin:16px 0 6px}.date-row .muted{font-size:13px;color:#91909e}.location-row p{margin:4px 0}.location-row a{color:#6260d9;text-decoration:none;font-size:20px;line-height:1;padding:4px}.cancel-banner{padding:16px;border-radius:18px;background:#eeedf9;color:#6260d9;font-weight:700;margin:18px 0}#eventEnd{font-size:12px;margin:4px 0}

.reminder-option{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:14px;line-height:1.5}.reminder-option input{width:auto;flex:0 0 auto;margin:4px 0 0;accent-color:#6260D9}

.privacy-note{font-size:13px;line-height:1.6;color:#6558de;padding:14px 16px;background:#f1effb;border-radius:16px}.option:has(input[value="going"]:checked){background:#6558de;color:#fff}.option:has(input[value="declined"]:checked){background:#f1bca3;color:#553347}.option:has(input[value="maybe"]:checked){background:#73b9e5;color:#173b60}

.profile-preview{text-align:center;padding:40px 28px}.profile-photo{width:132px;height:132px;border-radius:50%;background:linear-gradient(135deg,#eee9ff,#ffe5d1);margin:0 auto 22px;display:grid;place-items:center;overflow:hidden;font-size:40px;font-weight:800;color:#6558de}.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-preview h1{font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,sans-serif;font-weight:800;margin:0 0 8px;font-size:32px;overflow-wrap:anywhere}.profile-username{font-size:18px;color:#848190;margin:0 0 28px}.profile-preview .app-link{display:flex;justify-content:center;margin:12px 0;padding:15px}.profile-preview .profile-primary{background:#6558de;color:white}

/* Guest invitation layout mirrors the compact native plan page. */
body{padding:24px 16px}header{justify-content:center;font-size:34px;margin:0 0 22px;letter-spacing:-1px}section{padding:22px;border:0;margin:16px 0}#intro h1{margin:14px 0 22px}#intro .eyebrow{margin-top:0}#intro #open{margin:0}#event{padding:18px}#event h1{margin:20px 0 14px;font-size:34px}.event-cover{display:grid;place-items:center;width:100%;height:190px;border-radius:22px;transform:none;padding:0;cursor:default;opacity:1!important}.event-cover:enabled{cursor:zoom-in}.event-cover span{font-size:94px}.event-cover img{width:100%;height:100%;object-fit:cover}.note:empty,.event-links:empty{display:none}.note{margin:0 0 18px}.detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:20px 0}.detail-text{min-width:0;flex:1;font-size:15px;line-height:1.5}.detail-text>div{overflow:hidden;text-overflow:ellipsis}#date,.address-title{font-weight:750;color:#6558de}#zone,#eventEnd,#address{font-size:13px;color:#91909e}.address-title{color:#73b9e5;white-space:nowrap}#address{white-space:nowrap}.detail-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:126px;flex:0 0 126px;min-height:43px;padding:11px 10px;border-radius:30px;background:#6558de;color:#fff;font-size:14px;font-weight:700;text-decoration:none}.directions{background:#73b9e5}#host{font-size:13px;margin:12px 0}.privacy-note{background:none;padding:0;color:#91909e;font-size:12px;line-height:1.45;margin:14px 0}#responsesArea details{margin-top:12px}summary{cursor:pointer;font-size:17px;font-weight:750;color:#6558de}#responseList{margin-top:12px}.response-person{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #f0edf7;font-size:14px}.response-person span:last-child{font-size:12px;color:#91909e}fieldset{margin:18px 0 22px}.option{padding:14px 17px;min-height:48px}.option:has(input:checked){font-weight:700}.name-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:18px}label{font-size:14px}input:not([type=radio]):not([type=checkbox]){background:#faf8f3;border:1px solid transparent;border-radius:14px;padding:14px 12px;min-width:0}input[aria-invalid=true]{border-color:#bd354d!important}.field-error{font-size:12px;color:#bd354d;margin:7px 0}.reminders{margin:20px 0}.reminder-option{display:flex;align-items:center;gap:10px;margin:12px 0;font-weight:500;white-space:nowrap;line-height:1.3}.reminder-option input{width:21px;height:21px;flex:0 0 21px;margin:0;accent-color:#6558de}.reminder-option span{font-size:clamp(13px,3.7vw,16px)}#send{margin:0}.bottom-app{display:flex;justify-content:center;margin:24px 0 4px;width:100%;font-size:14px}#moreTogether h2{font-size:24px;line-height:1.2}#moreTogether p{margin-bottom:0}footer{font-size:12px;margin:18px 8px}#photoDialog{padding:16px;border:0;border-radius:22px;max-width:94vw;max-height:92vh;background:#faf8f3}#photoDialog::backdrop{background:#161322b3}#photoDialog button{width:auto;display:block;margin-left:auto;margin-bottom:12px;padding:10px 18px}#fullPhoto{display:block;max-width:86vw;max-height:75vh;object-fit:contain}#confirmation{padding-top:12px}
@media(max-width:360px){body{padding:18px 10px}#event{padding:16px}.detail-button{width:112px;flex-basis:112px;font-size:13px}.detail-row{gap:9px}.event-cover{height:170px}}

.rsvp-instruction{color:#6558de;font-family:inherit;font-size:18px;font-weight:750;line-height:1.35;margin:24px 0 14px}#rsvp fieldset{margin:0}#rsvp .privacy-note{margin:10px 0 24px}.option:has(input[value="going"]){background:#efecfc;color:#453a91}.option:has(input[value="maybe"]){background:#eaf4fc;color:#173b60}.option:has(input[value="declined"]){background:#fff0e5;color:#694632}.option:has(input[value="going"]:checked){background:#6558de;color:#fff}.option:has(input[value="maybe"]:checked){background:#73b9e5;color:#173b60}.option:has(input[value="declined"]:checked){background:#f1bca3;color:#553347}

/* Keep emoji artwork centered independently of saved native cover snapshots. */
.event-cover span{display:block;line-height:1;text-align:center;align-self:center;justify-self:center}
#intro .intro-cover{height:190px;margin:0 0 22px}
.event-cover[hidden]{display:none}

.field-optional{font-size:12px;font-weight:400;color:#91909e}.email-purpose{font-size:12px;margin:8px 0 0}.add-guest{background:#eeebfc;color:#6558de;margin:0 0 20px;padding:12px 16px;font-size:14px}.additional-guest{padding:14px;margin:0 0 12px;background:#f7f5fc;border-radius:18px}.additional-guest .name-fields{margin:0}.remove-guest{width:auto;background:transparent;color:#bd354d;font-size:12px;padding:8px 0 0}.response-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.response-name small{font-size:11px;color:#91909e}.reminder-option:has(input:disabled){opacity:.5}

/* Shared native/web response treatment. Explicit image bounds avoid intrinsic grid
   sizing pushing artwork below the visible cover on wide desktop layouts. */
:root{font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.event-cover{position:relative;display:block;min-width:0;isolation:isolate}
.event-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;object-position:50% 50%}
.event-cover.stock-cover img{object-fit:contain}
.event-cover>span{position:absolute;inset:0;display:grid;place-items:center;margin:0;font-size:94px;line-height:1;text-align:center}
.attendance-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:16px 0 10px}
.attendance-preview{flex:1;min-width:35px}
.attendee-count{margin:0 0 6px;font-size:12px;line-height:1.3;color:#91909e;text-align:left}
.attendees{margin:0;min-height:35px;overflow:hidden}
.avatar{width:35px;height:35px;font-size:11px}
.responses-toggle{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;width:auto;min-height:31px;padding:7px 12px;margin-bottom:2px;background:#6260d9;color:#fff;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.responses-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.avatar-more{padding:0;margin-bottom:0;background:#eeebfc;color:#6260d9;font-size:18px;cursor:pointer}
.response-section-title{font-size:15px;margin:18px 0 5px;font-weight:700;color:#25243a}
#responseList{margin:0 0 12px}
#rsvp .option{position:relative;display:flex;justify-content:center;align-items:center;width:100%;min-height:54px;padding:17px;margin:0 0 12px;font-family:inherit;font-size:17px;font-weight:700;line-height:1.2;text-align:center;border-radius:999px;cursor:pointer}
#rsvp .option input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;margin:0;left:50%;top:50%}
.option-content{display:inline-flex;justify-content:center;align-items:center;gap:9px}
.rsvp-check{display:none;flex:none}
.option:has(input:checked) .rsvp-check{display:block}
.rsvp-check path{stroke:var(--choice-fill)}
.option:has(input:focus-visible){outline:3px solid #76b9ec;outline-offset:3px}
#rsvp .option:has(input[value=going]){background:#6260d93d;color:#25243a;--choice-fill:#6260d9}
#rsvp .option:has(input[value=maybe]){background:#76b9ec3d;color:#25243a;--choice-fill:#76b9ec}
#rsvp .option:has(input[value=declined]){background:#ffc3943d;color:#25243a;--choice-fill:#ffc394}
#rsvp .option:has(input[value=going]:checked){background:#6260d9;color:white}
#rsvp .option:has(input[value=maybe]:checked){background:#76b9ec;color:#173b60}
#rsvp .option:has(input[value=declined]:checked){background:#ffc394;color:#553347}

.response-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.response-avatar{margin:0;width:32px;height:32px;font-size:11px}
.response-person .response-name{font-size:14px;color:#25243a;font-weight:600}
#rsvp .option:has(input[value=going]:not(:checked)){background:#d6d4ed}
#rsvp .option:has(input[value=maybe]:not(:checked)){background:#dae9f1}
#rsvp .option:has(input[value=declined]:not(:checked)){background:#fbebdc}
