:root {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #fff;
  --soft: #f1f1f3;
  --ink: #202024;
  --muted: #68686f;
  --border: #e7e7eb;
  --orange: #ff6a00;
  --orange-ink: #202024;
  --orange-text: #c84300;
  --orange-soft: #fff0e5;
  --pink: #ffb4d4;
  --pink-soft: #ffeaf3;
  --pink-ink: #a12e65;
  --error: #b0283d;
  --shadow: 0 12px 45px #00000008;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161618;
  --surface: #222225;
  --soft: #2d2d32;
  --ink: #f7f7f8;
  --muted: #aaaab4;
  --border: #37373e;
  --orange: #ff7a1a;
  --orange-ink: #202024;
  --orange-text: #ff954f;
  --orange-soft: #303034;
  --pink: #f7a5cd;
  --pink-soft: #34303a;
  --pink-ink: #f7a5cd;
  --error: #ff9aac;
  --shadow: 0 12px 45px #00000012;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.app-shell { max-width: 520px; min-height: 100dvh; margin: 0 auto; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(22px + env(safe-area-inset-top)) 22px 9px; }
.brand { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--ink); padding: 4px 0; min-height: 44px; font-size: 29px; font-weight: 800; letter-spacing: -1.7px; }
.brand-mark { position: relative; width: 32px; height: 31px; display: block; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; width: 23px; height: 23px; background: var(--orange); top: 0; left: 0; }
.brand-mark::after { top: 8px; left: 10px; background: var(--pink); }
.header-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.city-label { color: var(--muted); font-size: 12px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-button { width: 44px; height: 44px; flex: 0 0 44px; border: 0; background: var(--pink-soft); color: var(--pink-ink); border-radius: 50%; font-size: 13px; font-weight: 700; }
#content { padding: 22px 22px 25px; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 700; color: var(--muted); margin: 0 0 9px; }
h1 { font-size: 34px; font-weight: 750; letter-spacing: -1.4px; line-height: 1.12; margin: 0 0 10px; overflow-wrap: anywhere; }
h2 { font-size: 18px; font-weight: 700; letter-spacing: -.4px; line-height: 1.4; margin: 0 0 10px; }
h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.3px; margin: 0; }
p { line-height: 1.6; }
.subtitle { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.segment { display: flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 14px; margin: 20px 0 25px; }
.segment button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: none; color: var(--muted); font-size: 13px; font-weight: 650; }
.segment button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 7px #00000008; }
.segment .count { display: inline-block; font-size: 10px; margin-left: 6px; opacity: .75; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 20px 0 12px; }
.section-heading h2 { margin: 0; }
.text-button { min-height: 44px; border: 0; padding: 8px 0; background: none; color: var(--orange-text); font-size: 12px; font-weight: 650; }
.primary, .secondary, .quiet { min-height: 48px; padding: 13px 17px; border: 0; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.primary { color: var(--orange-ink); background: var(--orange); }
.secondary { color: var(--ink); background: var(--soft); }
.quiet { color: var(--orange-text); background: none; }
.full-width { width: 100%; }
.actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.actions > * { flex: 1; min-width: 0; }
.actions .full-width { flex-basis: 100%; }
.back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 12px; min-height: 44px; padding: 0 0 12px; }
.icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card { width: 100%; display: block; padding: 0; text-align: left; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); }
.card-main { display: flex; gap: 14px; align-items: center; padding: 15px; }
.card-copy { min-width: 0; flex: 1; }
.card-title { font-size: 16px; line-height: 1.35; font-weight: 700; letter-spacing: -.25px; margin: 0 0 7px; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.meta-line { display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.meta-line .icon { width: 14px; height: 14px; }
.card-footer { padding: 11px 15px 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; padding: 5px 8px; font-size: 11px; font-weight: 650; line-height: 1.4; background: var(--soft); color: var(--muted); }
.pill-orange { color: var(--orange-text); background: var(--orange-soft); }
.pill-pink { color: var(--pink-ink); background: var(--pink-soft); }
.cover { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 166px; background: var(--orange); color: var(--orange-ink); }
.cover::before { content: ""; position: absolute; width: 190px; height: 190px; right: -58px; top: -124px; border: 33px solid var(--pink); border-radius: 50%; z-index: -1; }
.cover::after { content: ""; position: absolute; width: 165px; height: 165px; left: -77px; bottom: -143px; border: 22px solid #ffffff72; border-radius: 50%; z-index: -1; }
.cover .cover-icon { width: 56px; height: 56px; background: #ffffff30; padding: 16px; border-radius: 50%; transform: rotate(-10deg); }
.cover .cover-icon .icon { width: 25px; height: 25px; }
.cover-label { position: absolute; bottom: 18px; left: 18px; font-size: 12px; font-weight: 700; }
.cover .pill { position: absolute; left: 15px; top: 15px; background: var(--surface); color: var(--ink); }
.cover-pink { background: var(--pink); color: #202024; }
.cover-pink::before { border-color: var(--orange); }
.thumb { width: 61px; min-height: 67px; height: 67px; flex: 0 0 61px; border-radius: 13px; }
.thumb .cover-icon { width: 40px; height: 40px; padding: 10px; }
.thumb .cover-icon .icon { width: 20px; height: 20px; }
.featured .card-main { display: block; padding: 18px 18px 16px; }
.featured .card-title { font-size: 23px; letter-spacing: -.7px; margin-bottom: 11px; }
.date-badge { position: absolute; right: 15px; bottom: 15px; display: flex; flex-direction: column; align-items: center; padding: 7px 11px; background: var(--surface); border-radius: 12px; font-size: 10px; font-weight: 650; color: var(--ink); }
.date-badge strong { font-size: 23px; line-height: 1.15; }
.day-heading { margin: 23px 0 11px; color: var(--muted); font-size: 12px; font-weight: 650; }
.details-cover { border-radius: 20px; margin: 0 0 23px; }
.details-title { font-size: 31px; }
.details-list { display: flex; flex-direction: column; gap: 20px; margin: 25px 0; }
.detail-row { display: flex; gap: 13px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.detail-row > .icon { color: var(--muted); margin-top: 1px; }
.detail-row strong { display: block; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.detail-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.body-copy { font-size: 14px; color: var(--muted); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.notice { padding: 13px 15px; background: var(--pink-soft); color: var(--pink-ink); font-size: 13px; line-height: 1.6; border-radius: 13px; margin: 17px 0; }
.notice.neutral { color: var(--muted); background: var(--soft); }
.participant-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 24px; }
.participant { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--border); background: var(--surface); padding: 5px 10px 5px 5px; border-radius: 20px; font-size: 12px; }
.avatar { height: 26px; width: 26px; display: flex; align-items: center; justify-content: center; color: var(--pink-ink); background: var(--pink-soft); border-radius: 50%; font-size: 10px; font-weight: 700; }
.empty { margin: 16px 0; border: 1px solid var(--border); border-radius: 21px; background: var(--surface); padding: 32px 22px 25px; text-align: center; }
.empty-icon { display: inline-flex; width: 66px; height: 66px; background: var(--pink-soft); color: var(--pink-ink); border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 17px; }
.empty-icon .icon { width: 28px; height: 28px; }
.empty p { color: var(--muted); font-size: 13px; margin: 8px 0 21px; }
.empty .actions { justify-content: center; }
.field { margin: 0 0 17px; min-width: 0; }
.field label, .field-label { display: block; font-size: 12px; font-weight: 650; margin: 0 0 8px; }
.input { width: 100%; min-height: 48px; background: var(--surface); color: var(--ink); padding: 12px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; line-height: 1.5; }
textarea.input { min-height: 114px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.helper { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 8px 0 13px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; padding: 14px 0; }
.checkbox-row input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--orange); }
.checkbox-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
fieldset { padding: 0; border: 0; margin: 0 0 15px; min-width: 0; }
legend { font-size: 12px; font-weight: 650; margin: 0 0 9px; }
.radio-option { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin: 8px 0; font-size: 13px; line-height: 1.5; }
.radio-option input { accent-color: var(--orange); margin: 3px 0 0; }
.radio-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.error { color: var(--error); background: var(--surface); padding: 12px; border: 1px solid currentColor; border-radius: 12px; font-size: 13px; line-height: 1.5; margin: 15px 0; overflow-wrap: anywhere; }
.error:empty { display: none; }
.app-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); z-index: 10; }
.nav-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 54px; padding: 8px; border: 0; border-radius: 13px; background: none; color: var(--muted); font-size: 11px; font-weight: 650; }
.nav-button[aria-current="page"] { color: var(--orange-text); background: var(--orange-soft); }
.nav-button[aria-current="page"] .icon { color: var(--orange); }
.toast { position: fixed; bottom: calc(91px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - 44px); max-width: 476px; border: 1px solid var(--border); box-shadow: 0 5px 25px #00000014; background: var(--surface); color: var(--ink); padding: 14px 17px; border-radius: 13px; font-size: 13px; line-height: 1.5; z-index: 20; }
.initial-loading { text-align: center; padding: 70px 15px; color: var(--muted); font-size: 14px; }
.loading-ring { display: inline-block; width: 35px; height: 35px; border: 3px solid var(--soft); border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
.skeleton { background: var(--soft); border-radius: 12px; height: 100px; margin-bottom: 13px; animation: pulse 1.4s ease-in-out infinite; }
.skeleton.short { width: 45%; height: 30px; margin-bottom: 24px; }
.launch-hero { padding: 26px; background: var(--orange); color: var(--orange-ink); border-radius: 22px; position: relative; isolation: isolate; overflow: hidden; margin: 17px 0 23px; }
.launch-hero::after { content: ""; width: 180px; height: 180px; border-radius: 50%; border: 35px solid var(--pink); position: absolute; top: -98px; right: -70px; z-index: -1; }
.launch-hero h1 { margin-top: 27px; max-width: 280px; font-size: 33px; }
.launch-hero p { font-size: 14px; max-width: 250px; }
.launch-hero .eyebrow { color: inherit; }
.noscript-message { padding: 20px; text-align: center; }
.muted { color: var(--muted); }
.saved-heading { margin-bottom: 20px; }
.divider { border: 0; height: 1px; background: var(--border); margin: 24px 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@media (max-width: 360px) { .app-header { padding-left: 17px; padding-right: 17px; } #content { padding-left: 17px; padding-right: 17px; } h1 { font-size: 30px; } .form-row { grid-template-columns: 1fr; gap: 0; } .city-label { max-width: 88px; } .card-main { gap: 11px; padding: 13px; } .card-title { font-size: 15px; } }
