:root { color-scheme: dark; --pink: #F53291; --blue: #32C5F4; --blue-bright: #7BE0FA; --white: #FFFFFF; --black: #101010; --surface: #17191F; --rainbow: linear-gradient(90deg, var(--pink), #ff8054, #f2d55c, #9D75FF, var(--blue), #717BFF); background: var(--black); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.event-page { padding: 16px clamp(12px, 2vw, 28px); color: var(--white); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.event-shell { width: min(100%, 1280px); margin: 0 auto; position: relative; border: 1px solid #363636; border-radius: 13px; background: var(--black); }
.event-shell::before, .event-shell::after { content: ''; position: absolute; height: 4px; inset: 0 7px auto; background: var(--rainbow); border-radius: 8px 8px 0 0; }
.event-shell::after { inset: auto 7px 0; border-radius: 0 0 8px 8px; }
.event-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; padding: 8px clamp(14px, 3vw, 36px); }
.event-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; text-decoration: none; color: var(--white); padding-block: 8px; }
.event-brand img { object-fit: contain; }
.event-menu { min-inline-size: 0; }
.event-menu-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 8px; margin: 0; padding: 0; list-style: none; }
.event-menu a { display: flex; align-items: center; min-block-size: 44px; padding: 8px 10px; border-radius: 4px; color: var(--white); text-decoration: none; }
.event-menu a[aria-current="page"] { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.event-content { padding: 0 clamp(14px, 4vw, 52px) 28px; }
.event-title { margin: 4px 0 8px; text-align: center; font-size: clamp(20px, 4.4vw, 24px); font-weight: 500; line-height: 1.6; }
.event-title span { display: block; color: var(--pink); }
.event-title span + span { color: var(--blue); }
.event-subtitle { font-size: 16px; text-align: center; margin: 0 0 8px; }
.event-intro { text-align: center; font-size: 12px; margin: 0 0 18px; }
.party-faces { display: flex; justify-content: center; gap: 8px; margin: 0 0 17px; }
.party-faces img { object-fit: contain; width: 44px; height: 44px; }
.party-faces img:nth-child(2) { filter: hue-rotate(75deg); }
.event-form { display: grid; gap: 14px; width: min(100%, 760px); margin-inline: auto; }
.event-field { display: grid; gap: 7px; }
.event-field label, .event-form legend { font-size: 12px; }
.field-hint { font-size: 11px; color: #c8c8c8; }
.event-field input:not([type=hidden]), .event-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 9px 12px; border: 1px solid #767676; border-radius: 6px; background: transparent; color: var(--white); font: inherit; font-size: 16px; }
.event-field textarea { min-height: 70px; resize: vertical; }
.event-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.event-form legend { margin-bottom: 8px; }
.attendance-options { display: grid; gap: 10px; }
.attendance-option { display: flex; align-items: center; gap: 9px; min-height: 65px; padding: 10px 12px; border: 1px solid #767676; cursor: pointer; }
.attendance-option strong { font-size: 15px; }
.attendance-option small { display: block; color: #e0e0e0; font-size: 12px; }
.attendance-yes { color: var(--blue); }
.attendance-no { color: var(--pink); }
.attendance-option input { margin: 0; width: 17px; height: 17px; flex: 0 0 auto; accent-color: currentColor; }
.attendance-option:has(input:checked) { border-color: currentColor; box-shadow: inset 3px 0 currentColor; }
.attendance-option:focus-within { outline: 2px solid var(--white); outline-offset: 3px; }
.event-button { display: inline-flex; width: auto; max-width: 100%; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: #101010; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center; cursor: pointer; }
.event-button--secondary { border-color: #767676; background: transparent; color: var(--white); }
.event-button:disabled, .event-button[aria-disabled="true"] { opacity: .55; cursor: default; }
.event-form .event-button { justify-self: center; }
.event-note { margin: 0; font-size: 12px; color: #c8c8c8; }
.event-footer { margin: 14px 0 0; text-align: center; color: #dedede; font-size: 11px; }
.text-link { color: var(--blue); font-size: 12px; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.event-status:empty { display: none; }
.event-status { margin: 0; padding: 10px; border-left: 3px solid var(--blue); font-size: 13px; }
.event-status[data-error=true] { border-color: var(--pink); }
.event-form :user-invalid { border-color: var(--pink); }
.event-page :where(a, button, input, textarea):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.venue-map-wrap { background: #222; margin: 10px 0 18px; }
.venue-map { display: block; width: 100%; height: clamp(280px, 38vw, 520px); border: 0; }
.venue-pending { min-height: clamp(280px, 38vw, 520px); display: grid; align-content: center; justify-items: center; position: relative; overflow: hidden; padding: 30px 12px; isolation: isolate; }
.map-streets { position: absolute; z-index: -1; inset: -20%; opacity: .45; transform: rotate(-12deg); background: repeating-linear-gradient(90deg, transparent 0 92px, #555 92px 116px, transparent 116px 140px), repeating-linear-gradient(0deg, transparent 0 57px, #454545 57px 75px, transparent 75px 90px); }
.map-streets::after { content: ''; position: absolute; width: 140%; height: 15px; background: #aaa; top: 60%; left: -20%; transform: rotate(-8deg); }
.map-pin { display: grid; place-items: center; margin-bottom: 16px; }
.map-pin img { width: 112px; height: 112px; object-fit: contain; }
.venue-pending strong { background: var(--black); padding: 6px 36px; border-radius: 5px; font-size: 17px; }
.venue-pending p { padding: 3px 8px; margin: 8px 0 0; font-size: 12px; background: #101010d9; }
.venue-details { text-align: center; margin-bottom: 16px; }
.venue-details h2 { font-size: 17px; margin: 0 0 4px; }
.venue-details p { margin: 3px 0; }
.venue-details address { font-size: 12px; font-style: normal; white-space: pre-line; }
.venue-date { color: var(--blue); font-size: 12px; font-weight: 700; }
.next-rsvp { display: flex; justify-content: center; margin-top: 6px; }
.confirmation-shell { width: min(100%, 1280px); max-width: 1280px; padding: clamp(18px, 4vw, 48px); }
.confirmation-shell::before, .confirmation-shell::after { display: none; }
.confirmation-status { margin: 8px 0 16px; text-align: center; font-size: 15px; }
.confirmation-panel { display: grid; min-height: clamp(320px, 40vh, 520px); align-content: center; justify-items: center; gap: 14px; padding: clamp(24px, 5vw, 72px); border: 1px solid #454a56; border-radius: 9px; background: var(--surface); text-align: center; }
.confirmation-panel img { object-fit: contain; }
.confirmation-panel h1 { margin: 0; color: var(--blue); font-size: clamp(28px, 4vw, 48px); line-height: 1.15; text-wrap: balance; }
.confirmation-panel p { margin: 0; font-size: clamp(14px, 1.5vw, 18px); }
.page-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.rsvp-actions { grid-column: 1 / -1; }
.page-navigation .event-button { font-size: 12px; }
.missed-panel { text-align: center; padding: 32px 8px; }.missed-panel h1 { color: var(--pink); font-size: clamp(25px, 7vw, 36px); }.missed-panel img { object-fit: contain; }.missed-panel > p { font-size: 13px; }
@supports not (accent-color: #32C5F4) {
  .attendance-option { position: relative; padding-left: 40px; }
  .attendance-option input { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .attendance-option input + span::before { content: ''; position: absolute; left: 12px; top: 22px; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; }
  .attendance-option input:checked + span::before { background: currentColor; box-shadow: inset 0 0 0 3px #101010; }
}
@media (max-width: 640px) { .event-header { justify-content: center; }.event-brand { justify-content: center; }.event-menu { flex-basis: 100%; }.event-menu-list { justify-content: center; gap: 0 2px; }.event-menu a { padding-inline: 8px; } }
@media (min-width: 600px) { .event-page { padding-block: 20px; }.event-title { font-size: clamp(24px, 3vw, 38px); } }
@media (hover: hover) { .event-button:not(:disabled):not([aria-disabled="true"]):hover { color: #101010; background: var(--blue-bright); border-color: var(--blue-bright); }.event-menu a:hover { background: #303030; } }
@media (forced-colors: active) { .attendance-option:has(input:checked) { outline: 2px solid Highlight; }.event-page :focus-visible { outline-color: Highlight; } }
.event-menu .event-home-link { inline-size: 44px; aspect-ratio: 1; justify-content: center; padding: 8px; border: 1px solid #767676; border-radius: 50%; }
.event-menu .event-home-link svg { inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.rsvp-actions { justify-content: space-between; }
