/* ==========================================================================
   Trip planner. One stylesheet for the form, the admin page and the shared plan.
   Night-sky look: a starry sky behind everything, gold lettering and golden
   tickets, fireworks, and each park with its own color and symbol.
   Cards are "surfaces": they swap the text tokens from sky colors to ink colors.
   ========================================================================== */

@font-face { font-family: 'Sansita Swashed'; src: url('/fonts/sansita-swashed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sansita Swashed'; src: url('/fonts/sansita-swashed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sansita Swashed'; src: url('/fonts/sansita-swashed-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* the sky (same in light and dark mode) */
  --sky-0: #070a2c;
  --sky-1: #13124d;
  --sky-2: #2b176b;
  --sky-3: #47207a;
  --sky-ink: #f6f3ff;
  --sky-ink-2: #cdc7f2;
  --sky-ink-3: #bab4e4;
  --glass: rgba(10, 10, 44, .8);
  --navy: #1b1446;

  /* gold */
  --gold: #ffd76a;
  --gold-2: #f6bf45;
  --gold-3: #e3a432;
  --gold-text: linear-gradient(180deg, #fff6cf 0%, #ffe08a 38%, #f6bf45 72%, #e9a43a 100%);
  --gold-foil: linear-gradient(125deg, #fff0b3 0%, #ffd76a 26%, #f2b63f 50%, #ffe490 72%, #e8a837 100%);
  --gold-btn: linear-gradient(180deg, #ffe592 0%, #f9c851 55%, #eeaf35 100%);

  /* text and lines where they sit right on the sky */
  --ink: var(--sky-ink);
  --ink-2: var(--sky-ink-2);
  --ink-3: var(--sky-ink-3);
  --card: rgba(255, 255, 255, .07);
  --card-2: rgba(255, 255, 255, .12);
  --rule: rgba(255, 255, 255, .14);
  --rule-2: rgba(255, 255, 255, .3);
  --focus: #ffd76a;

  /* card surfaces, light mode */
  --s-card: #ffffff;
  --s-card-2: #f5f2ff;
  --s-ink: #1d1a4a;
  --s-ink-2: #4f4a7d;
  --s-ink-3: #6a6596;
  --s-rule: #e4dff5;
  --s-rule-2: #c3bbe3;
  --s-focus: #5b3fe0;
  --s-edge: rgba(255, 255, 255, 0);
  --sel: #5b3fe0;
  --title-fill: linear-gradient(95deg, #3b2a9e 0%, #74279c 55%, #b21a4f 100%);
  --perf: #e2b54a;
  --star: #ffd76a;

  /* form fields keep their own colors everywhere */
  --field-bg: #ffffff;
  --field-ink: #1d1a4a;
  --field-rule: #c3bbe3;
  --field-scheme: light;

  /* picks: a one-hue ramp (Must do dark, Want to light) plus a neutral Skip. Validated for color blindness. */
  --must: #b21a4f;
  --want: #e77b91;
  --skip: #b8beca;
  --must-on: #ffffff;
  --want-tint: #fce5eb;
  --stamp-want: #a8324f;
  --stamp-skip: #5d6584;

  /* each park: a two-color "ticket stock" plus a glow */
  --mk: #ffc4de; --mk-2: #ffe3a1;
  --ep: #a3ecf0; --ep-2: #bcc8ff;
  --hs: #ffc39b; --hs-2: #ffe08a;
  --ak: #c3eb98; --ak-2: #9fe3bd;
  --bx: #d6c6ff; --bx-2: #a8e2ff;
  --stock-ink: #1b1446;

  --note-bg: #fff4cf;
  --note-ink: #4a3500;
  --note-rule: #f0d27a;
  --good: #1c7543;
  --bad: #b3261e;

  --shadow: 0 18px 40px -26px rgba(0, 0, 0, .8);
  --r: 16px;
  --display: 'Sansita Swashed', Georgia, 'Times New Roman', serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --s-card: #201b4f; --s-card-2: #2a2560; --s-ink: #f1eeff; --s-ink-2: #c4bfe6; --s-ink-3: #a29dcc;
    --s-rule: #36306e; --s-rule-2: #4f4890; --s-focus: #ffd76a; --s-edge: rgba(196, 182, 255, .16); --sel: #ffd76a;
    --title-fill: linear-gradient(180deg, #fff6cf 0%, #ffe08a 40%, #f2b440 100%); --perf: rgba(255, 215, 106, .5); --star: #18203f;
    --field-bg: #16123f; --field-ink: #f1eeff; --field-rule: #4f4890; --field-scheme: dark;
    --must: #fb7d98; --want: #c14d69; --skip: #444a58; --must-on: #18203f; --want-tint: rgba(193, 77, 105, .26);
    --stamp-want: #f6a3b7; --stamp-skip: #a3abca;
    --note-bg: rgba(255, 215, 106, .12); --note-ink: #ffe7a3; --note-rule: rgba(255, 215, 106, .35);
    --good: #6fd39b; --bad: #ff8a80;
  }
}
:root[data-theme="dark"] {
  --s-card: #201b4f; --s-card-2: #2a2560; --s-ink: #f1eeff; --s-ink-2: #c4bfe6; --s-ink-3: #a29dcc;
  --s-rule: #36306e; --s-rule-2: #4f4890; --s-focus: #ffd76a; --s-edge: rgba(196, 182, 255, .16); --sel: #ffd76a;
  --title-fill: linear-gradient(180deg, #fff6cf 0%, #ffe08a 40%, #f2b440 100%); --perf: rgba(255, 215, 106, .5); --star: #18203f;
  --field-bg: #16123f; --field-ink: #f1eeff; --field-rule: #4f4890; --field-scheme: dark;
  --must: #fb7d98; --want: #c14d69; --skip: #444a58; --must-on: #18203f; --want-tint: rgba(193, 77, 105, .26);
  --stamp-want: #f6a3b7; --stamp-skip: #a3abca;
  --note-bg: rgba(255, 215, 106, .12); --note-ink: #ffe7a3; --note-rule: rgba(255, 215, 106, .35);
  --good: #6fd39b; --bad: #ff8a80;
}

/* surfaces: anything card-like reads with ink colors */
.card, .ticket, .ticket-hero .main, dialog.sheet, .day, .rank-row, .cat-row, .park-foot, .seg-ctl, .note, .surface-pill {
  --card: var(--s-card);
  --card-2: var(--s-card-2);
  --ink: var(--s-ink);
  --ink-2: var(--s-ink-2);
  --ink-3: var(--s-ink-3);
  --rule: var(--s-rule);
  --rule-2: var(--s-rule-2);
  --focus: var(--s-focus);
  color: var(--ink);
  color-scheme: var(--field-scheme);
}

.park-mk { --stock: var(--mk); --stock-2: var(--mk-2); --glow: rgba(255, 140, 196, .55); }
.park-ep { --stock: var(--ep); --stock-2: var(--ep-2); --glow: rgba(110, 220, 240, .5); }
.park-hs { --stock: var(--hs); --stock-2: var(--hs-2); --glow: rgba(255, 170, 100, .5); }
.park-ak { --stock: var(--ak); --stock-2: var(--ak-2); --glow: rgba(150, 230, 120, .45); }
.park-bx { --stock: var(--bx); --stock-2: var(--bx-2); --glow: rgba(170, 150, 255, .55); }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--sky-1); }
body {
  position: relative; z-index: 0;
  margin: 0; min-height: 100vh;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; }

/* the night sky behind every page */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 118%, rgba(255, 120, 190, .2), transparent 62%),
    radial-gradient(70% 45% at 88% -6%, rgba(110, 125, 255, .28), transparent 70%),
    radial-gradient(55% 40% at 0% 10%, rgba(160, 90, 255, .16), transparent 70%),
    linear-gradient(180deg, var(--sky-0) 0%, var(--sky-1) 38%, var(--sky-2) 76%, var(--sky-3) 100%);
}
.sky::before, .sky::after {
  content: ''; position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}
.sky::before {
  background-image:
    radial-gradient(1.6px 1.6px at 24px 36px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 112px 142px, rgba(255, 255, 255, .85), transparent),
    radial-gradient(2px 2px at 196px 62px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 64px 214px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.6px 1.6px at 238px 196px, rgba(255, 236, 180, .95), transparent),
    radial-gradient(1px 1px at 150px 250px, rgba(255, 255, 255, .8), transparent);
  background-size: 264px 264px;
  animation: twinkle 5.5s ease-in-out infinite alternate;
}
.sky::after {
  background-image:
    radial-gradient(2.2px 2.2px at 70px 92px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 304px 40px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.6px 1.6px at 182px 322px, rgba(200, 220, 255, .95), transparent),
    radial-gradient(2.6px 2.6px at 346px 252px, rgba(255, 240, 200, .95), transparent),
    radial-gradient(1.2px 1.2px at 26px 380px, rgba(255, 255, 255, .7), transparent);
  background-size: 418px 418px;
  animation: twinkle 7.5s ease-in-out -3s infinite alternate-reverse;
}
@keyframes twinkle { from { opacity: 1; } to { opacity: .3; } }

/* gold lettering on the sky, and title lettering inside cards */
.hero-title, .park-head h2, .panel-head h2, .admin-top h1, .plan-page-head h1, .day-num b, .done-sky h2 {
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .28));
}
.sheet-body h2, .review-body h2, .login h1, .empty h3 {
  background: var(--title-fill);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.done-sky h2 { color: transparent; }

/* fireworks */
.fw { display: block; overflow: visible; }
.fw-burst { transform-box: fill-box; transform-origin: 50% 50%; animation: fw-bloom 1.5s cubic-bezier(.16, .84, .3, 1) both; animation-delay: var(--d, 0s); }
.fw-tips { animation: fw-shimmer 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0s) + 1.5s); }
.fw-spark { transform-box: fill-box; transform-origin: 50% 50%; animation: fw-spark 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes fw-bloom { 0% { transform: scale(.1); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fw-shimmer { from { opacity: 1; } to { opacity: .35; } }
@keyframes fw-spark { 0%, 100% { transform: scale(.55); opacity: .5; } 50% { transform: scale(1.1); opacity: 1; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--rule-2); background: var(--card); color: var(--ink);
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-2); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold-btn); border: 1px solid #d99a26; color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 8px 20px -12px rgba(246, 191, 69, .9);
}
.btn-primary:hover { filter: brightness(1.05) saturate(1.05); border-color: #c98a17; }
.btn-quiet { border-color: transparent; background: transparent; padding-left: 10px; padding-right: 10px; }
.btn-quiet:hover { background: var(--card-2); border-color: transparent; }
.btn-small { min-height: 36px; padding: 6px 13px; font-size: .9375rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-danger { color: var(--bad); }

input[type="text"], input[type="password"], input[type="date"], input[type="time"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 12px;
  border: 1.5px solid var(--field-rule); background: var(--field-bg); color: var(--field-ink);
  color-scheme: var(--field-scheme);
}
select option { background: var(--field-bg); color: var(--field-ink); }
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
::placeholder { color: var(--s-ink-3); opacity: .8; }
label { font-weight: 800; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field .hint { font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.error-text { color: var(--bad); font-weight: 800; margin: 0; }
.note {
  background: var(--note-bg); color: var(--note-ink); border: 1px solid var(--note-rule); border-radius: 14px;
  padding: 12px 14px; font-size: .9375rem;
}

/* ------------------------------------------------------------------ pick badges (shared) */
.stamp {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--body); font-weight: 800; font-size: .875rem; line-height: 1;
  padding: 5px 10px 5px 8px; border-radius: 999px; white-space: nowrap;
}
.stamp::before {
  content: ''; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat;
}
.stamp-must {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17l-5.6 3 1.1-6.3L2.9 9.3l6.3-.9z'/%3E%3C/svg%3E");
  background: var(--must); color: var(--must-on);
}
.stamp-must::before { background: var(--star); }
.stamp-want {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8.6-5-8.6-11.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 8.6 3.1C20.6 16 12 21 12 21z'/%3E%3C/svg%3E");
  background: var(--want-tint); color: var(--stamp-want);
}
.stamp-skip {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background: var(--card-2); color: var(--stamp-skip); box-shadow: inset 0 0 0 1px var(--rule);
}

/* ==================================================================
   FORM
   ================================================================== */
.hero { position: relative; padding-top: 6px; padding-bottom: 6px; }
.hero .fw-hero { position: relative; width: min(330px, 84%); height: auto; margin: 0 -6px -46px auto; z-index: 0; pointer-events: none; }
.hero-title {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 900; font-size: clamp(2.7rem, 11vw, 5.2rem); line-height: 1.04;
  max-width: 12ch; margin: 0 0 10px -.08em; padding: 0 .08em .12em; overflow-wrap: anywhere;
}
.hero .intro { position: relative; z-index: 1; max-width: 56ch; color: var(--ink-2); margin: 0 0 20px; font-size: 1.0625rem; }
@media (min-width: 760px) {
  .hero { padding-top: 22px; }
  .hero .fw-hero { position: absolute; right: 10px; top: 0; width: 340px; margin: 0; }
  .hero-title { margin-top: 30px; }
}

.ticket-hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45)); }
.ticket-hero .main {
  --h1: 0 100%; --h2: 100% 100%;
  min-width: 0; padding: 20px 20px 18px; border-radius: 22px 22px 0 0; background: var(--card);
  -webkit-mask-image: radial-gradient(circle 12px at var(--h1), transparent 95%, #000 100%), radial-gradient(circle 12px at var(--h2), transparent 95%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 12px at var(--h1), transparent 95%, #000 100%), radial-gradient(circle 12px at var(--h2), transparent 95%, #000 100%);
  mask-composite: intersect;
}
.ticket-hero .stub {
  --h1: 0 0; --h2: 100% 0;
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 14px;
  padding: 16px 20px 18px; border-radius: 0 0 22px 22px; background: var(--gold-foil); color: var(--navy);
  -webkit-mask-image: radial-gradient(circle 12px at var(--h1), transparent 95%, #000 100%), radial-gradient(circle 12px at var(--h2), transparent 95%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 12px at var(--h1), transparent 95%, #000 100%), radial-gradient(circle 12px at var(--h2), transparent 95%, #000 100%);
  mask-composite: intersect;
}
.ticket-hero .stub::before { content: ''; position: absolute; left: 16px; right: 16px; top: 0; border-top: 2px dashed rgba(27, 20, 70, .32); }
.admit { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.95rem; line-height: 1; }
.admit small { display: block; font-family: var(--body); font-weight: 800; font-size: .875rem; margin-top: 6px; line-height: 1.3; color: #3b2f63; }
.stub-parks { display: flex; gap: 5px; }
.stub-parks .pk { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--stock); box-shadow: 0 0 0 2px rgba(255, 255, 255, .45); }
.stub-parks .pk .icon { width: 18px; height: 18px; }
@media (min-width: 760px) {
  .ticket-hero { grid-template-columns: minmax(0, 1fr) 250px; }
  .ticket-hero .main { --h1: 100% 0; --h2: 100% 100%; padding: 26px 30px 24px; border-radius: 22px 0 0 22px; }
  .ticket-hero .stub { --h1: 0 0; --h2: 0 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 26px 24px; border-radius: 0 22px 22px 0; }
  .ticket-hero .stub::before { left: 0; right: auto; top: 16px; bottom: 16px; border-top: 0; border-left: 2px dashed rgba(27, 20, 70, .32); }
  .admit { font-size: 2.3rem; }
  .stub-parks .pk { width: 34px; height: 34px; }
  .stub-parks .pk .icon { width: 20px; height: 20px; }
}

.namefield { display: grid; gap: 2px; max-width: 460px; }
.namefield label, .namefield .name-label { font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.invitation-name { margin: 0; padding-bottom: 6px; border-bottom: 2px solid var(--rule-2); font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1.2; overflow-wrap: anywhere; }
.namefield input {
  width: 100%; min-height: 0; border: 0; border-bottom: 2px solid var(--rule-2); border-radius: 0; background: transparent; color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1.15; padding: 2px 0 6px;
}
.namefield input::placeholder { color: var(--ink-3); opacity: .55; }
.namefield input:focus-visible { outline: none; border-bottom-color: var(--focus); box-shadow: 0 2px 0 var(--focus); }
.welcome-back { margin: 10px 0 0; font-size: .9375rem; color: var(--ink-2); }

.how { display: grid; gap: 10px; margin: 18px 0 2px; padding: 0; list-style: none; }
.how li { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 12px; font-size: .9375rem; color: var(--ink-2); }
.how .stamp { justify-self: start; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 26px; } .how li { grid-template-columns: auto auto; } }

/* park tabs */
.parkbar {
  position: sticky; top: 0; z-index: 30; margin-top: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 215, 106, .18);
}
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; max-width: 1140px; margin: 0 auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px; text-align: left;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 15px 6px 6px;
  background: rgba(255, 255, 255, .06); color: var(--ink);
}
.tab:hover { background: rgba(255, 255, 255, .11); }
.tab-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--stock), var(--stock-2)); color: var(--stock-ink); }
.tab-ico .icon { width: 21px; height: 21px; }
.tab-text { display: grid; gap: 3px; }
.tab-name { font-weight: 800; font-size: 1rem; line-height: 1; white-space: nowrap; }
.tab-count { font-size: .78rem; color: var(--ink-2); line-height: 1; white-space: nowrap; }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--stock), var(--stock-2)); color: var(--stock-ink); border-color: transparent;
  box-shadow: 0 0 0 2px var(--gold), 0 6px 22px -6px var(--glow);
}
.tab[aria-selected="true"] .tab-ico { background: var(--navy); color: var(--stock); }
.tab[aria-selected="true"] .tab-count { color: var(--stock-ink); }

.park-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 28px 0 6px; }
.park-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.park-badge {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--stock), var(--stock-2)); color: var(--stock-ink);
  box-shadow: 0 0 0 3px rgba(255, 215, 106, .6), 0 0 30px -2px var(--glow);
}
.park-badge .icon { width: 30px; height: 30px; }
.park-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 7.5vw, 3.3rem); line-height: 1.08; padding: 0 .06em .1em; margin-left: -.06em; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.jump a {
  font-size: .875rem; font-weight: 700; text-decoration: none; padding: 6px 11px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap;
}
.jump a:hover { border-color: var(--gold); color: var(--ink); }

.section-head { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; scroll-margin-top: 80px; }
.section-head h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.section-head .count { font-size: .8125rem; font-weight: 900; color: var(--navy); background: var(--gold); border-radius: 999px; padding: 2px 9px; line-height: 1.4; }
.section-head::after { content: ''; flex: 1 1 auto; height: 1px; margin-left: 6px; background: linear-gradient(90deg, rgba(255, 215, 106, .65), rgba(255, 215, 106, 0)); }

/* activity tickets */
.tickets { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticket {
  --notch: 88px;
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr);
  background: var(--card); border-radius: var(--r);
  -webkit-mask: radial-gradient(circle 9px at var(--notch) 0, transparent 95%, #000 100%) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at var(--notch) 100%, transparent 95%, #000 100%) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at var(--notch) 0, transparent 95%, #000 100%) top / 100% 51% no-repeat,
        radial-gradient(circle 9px at var(--notch) 100%, transparent 95%, #000 100%) bottom / 100% 51% no-repeat;
}
@media (min-width: 560px) { .ticket { --notch: 150px; grid-template-columns: 150px minmax(0, 1fr); } }
.ticket::after { content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px var(--s-edge); transition: box-shadow .2s ease; }
.ticket[data-choice="must"]::after { box-shadow: inset 0 0 0 2px var(--gold-2), inset 0 0 22px -8px rgba(246, 191, 69, .85); }
.ticket[data-choice="want"]::after { box-shadow: inset 0 0 0 2px var(--want); }
.ticket-stub {
  position: relative; border: 0; padding: 0; margin: 0; overflow: hidden; display: block; width: 100%; min-height: 132px;
  border-radius: var(--r) 0 0 var(--r);
  background: linear-gradient(150deg, var(--stock), var(--stock-2)); color: var(--stock-ink);
}
.ticket-stub:focus-visible { outline-offset: -5px; }
.ticket-stub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket-stub .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ticket-stub .ph .icon { width: 42px; height: 42px; opacity: .78; }
.pov-pill {
  position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(12, 10, 44, .8); color: #fff; font-size: .75rem; font-weight: 800; line-height: 1;
  padding: 5px 8px 5px 6px; border-radius: 999px;
}
.pov-pill .icon { width: 12px; height: 12px; color: var(--gold); }
.ticket-body { position: relative; min-width: 0; padding: 12px 12px 12px 14px; border-left: 2px dotted var(--perf); }
.ticket-title { font-family: var(--body); font-weight: 900; font-size: 1.16rem; line-height: 1.15; overflow-wrap: anywhere; }
.ticket-land { margin: 3px 0 0; font-size: .875rem; color: var(--ink-2); }
.ticket-blurb {
  margin: 6px 0 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.chips { display: flex; flex-wrap: wrap; gap: 4px 5px; margin: 7px 0 0; padding: 0; list-style: none; }
.chip {
  font-size: .8125rem; line-height: 1.15; padding: 3px 8px; border-radius: 999px;
  background: var(--card-2); color: var(--ink-2); border: 1px solid var(--rule); white-space: nowrap;
}
.chip-flag { background: var(--note-bg); color: var(--note-ink); border-color: var(--note-rule); }

.picker { display: flex; gap: 5px; margin-top: 10px; }
.pick-btn {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 42px; padding: 6px; border-radius: 999px;
  border: 1.5px solid var(--rule-2); background: var(--card); color: var(--ink);
  font-weight: 800; font-size: .875rem; line-height: 1; white-space: nowrap;
}
.pick-btn .icon { width: 15px; height: 15px; }
.pick-btn:hover { border-color: var(--ink-3); }
.pick-btn[data-choice="must"][aria-pressed="true"] { background: var(--must); border-color: var(--must); color: var(--must-on); }
.pick-btn[data-choice="must"][aria-pressed="true"] .icon { color: var(--star); }
.pick-btn[data-choice="want"][aria-pressed="true"] { background: var(--want-tint); border-color: var(--want); color: var(--stamp-want); }
.pick-btn[data-choice="want"][aria-pressed="true"] .icon path { fill: currentColor; }
.pick-btn[data-choice="skip"][aria-pressed="true"] { background: var(--card-2); border-color: var(--ink-3); color: var(--ink-2); }
@media (max-width: 420px) { .pick-btn .icon { display: none; } .ticket-body { padding-right: 10px; } }

/* the badge that appears on the photo once something is picked */
.stamp-mark {
  position: absolute; left: 6px; top: 6px; z-index: 3; pointer-events: none;
  font-size: .78rem; padding: 4px 9px 4px 7px;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .55);
  opacity: 0; transform: scale(.6); transform-origin: 20% 50%; transition: opacity .15s ease, transform .2s ease;
}
.stamp-mark.stamp-must { background: #b21a4f; color: #fff; }
.stamp-mark.stamp-must::before { background: #ffd76a; }
.stamp-mark.stamp-want { background: #fff; color: #a8324f; }
.stamp-mark.stamp-skip { background: rgba(18, 16, 48, .84); color: #e8e5f7; box-shadow: none; }
.ticket[data-choice] .stamp-mark { opacity: 1; transform: none; }
.ticket[data-choice] .ticket-stub .ph .icon { opacity: .25; }
.ticket[data-choice="skip"] .ticket-stub img { filter: grayscale(1) contrast(.9); opacity: .5; }
.ticket[data-choice="skip"] .ticket-title, .ticket[data-choice="skip"] .ticket-blurb { opacity: .62; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.ticket.just-stamped .stamp-mark { animation: pop .3s cubic-bezier(.2, .9, .3, 1.2); }

/* a burst of sparkles for Must do */
.burst { position: absolute; left: 34px; top: 17px; width: 0; height: 0; z-index: 5; pointer-events: none; }
.burst i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: #ffd76a; opacity: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: rotate(var(--a)) translateX(4px) scale(.4);
  animation: sparkle .75s ease-out forwards;
}
.burst i:nth-child(even) { background: #fff3c4; width: 7px; height: 7px; left: -3.5px; top: -3.5px; }
@keyframes sparkle { 25% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--dist, 36px)) scale(1); opacity: 0; } }

.park-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin: 30px 0 40px; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--s-edge); }

.sendbar {
  position: sticky; bottom: 0; z-index: 35; color: var(--sky-ink);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(255, 215, 106, .28);
}
.sendbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.sendbar .tally { display: flex; align-items: baseline; gap: 4px 10px; font-size: .9375rem; flex-wrap: wrap; margin: 0; }
.sendbar .tally b { font-family: var(--display); font-weight: 900; font-size: 1.85rem; line-height: 1; color: var(--gold); }
.sendbar .tally-sub { color: var(--sky-ink-2); font-size: .875rem; }

.loading { padding: 80px 0; text-align: center; color: var(--ink-2); }
.site-foot { padding-top: 26px; padding-bottom: 92px; color: var(--ink-3); font-size: .8125rem; }
.site-foot a { color: var(--ink-2); }

/* dialogs */
dialog.sheet {
  border: 0; padding: 0; width: min(760px, calc(100% - 32px)); max-height: min(92vh, 900px);
  border-radius: 22px; background: var(--card); color: var(--ink);
  box-shadow: 0 0 0 1px var(--s-edge), 0 40px 90px -30px rgba(0, 0, 0, .85); overflow: auto;
}
dialog.sheet::backdrop { background: radial-gradient(circle at 50% 25%, rgba(46, 24, 110, .6), rgba(4, 5, 22, .82)); }
@media (max-width: 640px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; }
}
.sheet-close {
  position: absolute; top: 10px; right: 10px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(12, 10, 44, .72); color: #fff; display: grid; place-items: center;
}
.sheet-close .icon { width: 20px; height: 20px; }
.sheet-close:focus-visible { outline-color: #ffd76a; }
.sheet-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--stock, var(--card-2)), var(--stock-2, var(--card-2))); overflow: hidden; }
.sheet-media iframe, .sheet-media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.sheet-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--stock-ink); }
.sheet-media .ph .icon { width: 72px; height: 72px; opacity: .75; }
.sheet-media .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0;
  background: rgba(12, 10, 44, .78); color: #ffd76a; display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(255, 215, 106, .55);
}
.sheet-media .play .icon { width: 34px; height: 34px; margin-left: 4px; }
.sheet-body { padding: 18px 20px 22px; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.sheet-body h2 { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1.08; padding: 0 30px .08em .04em; overflow-wrap: anywhere; justify-self: start; }
.sheet-body p { margin: 0; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9375rem; }
.sheet-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0; }
.facts div { background: var(--card-2); border-radius: 12px; padding: 8px 10px; }
.facts dt { font-size: .8125rem; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 800; }
.tip { font-size: .9375rem; color: var(--ink-2); }

.review-body { padding: 22px 20px 24px; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.review-body h2 { font-family: var(--display); font-weight: 800; font-size: 2.3rem; line-height: 1.08; padding: 0 40px .08em .04em; overflow-wrap: anywhere; justify-self: start; }
.review-totals { display: flex; flex-wrap: wrap; gap: 8px; }
.review-park { display: grid; gap: 6px; }
.review-park h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.review-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.review-list li { display: inline-flex; align-items: center; gap: 5px; font-size: .875rem; padding: 4px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--rule); }
.review-list li.must { border-color: var(--must); }
.review-list li.must .icon { color: var(--must); width: 13px; height: 13px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 800; padding: 0; margin-bottom: 4px; }
.choice-cards { display: grid; gap: 8px; }
@media (min-width: 640px) { .choice-cards { grid-template-columns: repeat(3, 1fr); } }
.choice-card { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--rule-2); background: var(--card); font-weight: 400; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card b { font-weight: 800; }
.choice-card span { font-size: .875rem; color: var(--ink-2); }
.choice-card:has(input:checked) { border-color: var(--sel); box-shadow: inset 0 0 0 1.5px var(--sel); background: var(--card-2); }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.kid-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 44px; gap: 8px; align-items: end; }
.kid-row .btn { min-height: 44px; padding: 0; width: 44px; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.done-box { display: grid; gap: 14px; }
.done-sky {
  --ink: var(--sky-ink); --ink-2: var(--sky-ink-2);
  margin: -22px -20px 0; padding: 4px 20px 22px; border-radius: 22px 22px 0 0; color: var(--sky-ink); text-align: center;
  background:
    radial-gradient(90% 120% at 50% 120%, rgba(255, 120, 190, .3), transparent 60%),
    linear-gradient(180deg, var(--sky-0), var(--sky-2));
}
.done-sky .fw { width: min(380px, 100%); margin: 0 auto -6px; height: auto; }
.done-box .done-sky h2 {
  font-family: var(--display); font-weight: 900; font-size: 2.3rem; line-height: 1.08; padding: 0 .2em .1em; display: inline-block; overflow-wrap: anywhere;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 640px) { .done-sky { border-radius: 22px 22px 0 0; } }
.copy-line { display: flex; gap: 8px; align-items: center; }
.copy-line input { font-size: .9375rem; min-width: 0; flex: 1 1 auto; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%); z-index: 60;
  background: rgba(14, 12, 52, .95); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9375rem; font-weight: 700;
  border: 1px solid rgba(255, 215, 106, .45);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7); max-width: calc(100% - 32px);
}

/* ==================================================================
   ADMIN
   ================================================================== */
.admin-top { position: relative; color: var(--sky-ink); }
.admin-top .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 22px; padding-bottom: 16px; }
.admin-top .fw { position: absolute; right: 6px; top: -6px; width: 170px; height: auto; z-index: 0; pointer-events: none; opacity: .8; }
@media (min-width: 900px) { .admin-top .fw { position: relative; right: auto; top: auto; order: 1; flex: 0 1 230px; min-width: 0; width: 230px; margin: -22px 4px -26px auto; opacity: .95; } .top-actions { order: 2; } }
.admin-top h1 { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 6.5vw, 2.8rem); line-height: 1.06; padding: 0 .06em .1em; margin-left: -.06em; }
.admin-top .sub { position: relative; z-index: 1; font-size: .9375rem; color: var(--sky-ink-2); margin: 2px 0 0; }
.top-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.top-actions .btn { background: rgba(14, 12, 52, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.top-actions .btn-quiet { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.admin-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 215, 106, .18);
}
.admin-nav .tabs { padding-top: 0; padding-bottom: 0; gap: 2px; }
.nav-tab {
  flex: 0 0 auto; border: 0; background: transparent; padding: 14px 14px 13px; border-radius: 0;
  font-weight: 800; font-size: 1rem; line-height: 1; color: var(--sky-ink-2); box-shadow: inset 0 -3px 0 transparent;
}
.nav-tab:hover { color: var(--sky-ink); }
.nav-tab[aria-selected="true"] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
.panel { padding-top: 24px; padding-bottom: 80px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.panel-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 6vw, 2.9rem); line-height: 1.06; padding: 0 .06em .1em; margin-left: -.06em; }
.panel-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 70ch; }
.card { min-width: 0; background: var(--card); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--s-edge), var(--shadow); padding: 18px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; margin-bottom: 10px; }
.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.stack { display: grid; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.empty { text-align: center; padding: 40px 18px; }
.empty h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; margin-bottom: 8px; display: inline-block; padding: 0 .08em .08em; }
.empty p { color: var(--ink-2); margin: 0 auto 16px; max-width: 52ch; }

.login { max-width: 430px; margin: 0 auto; padding: 6vh 16px 40px; }
.login .fw { width: min(300px, 80%); height: auto; margin: 0 auto -10px; }
.login .card { display: grid; gap: 14px; padding: 26px 24px; }
.login h1 { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1.05; justify-self: start; padding: 0 .06em .08em; }

/* plan */
.plan-summary { display: grid; gap: 14px; margin-bottom: 18px; align-items: start; }
@media (min-width: 900px) { .plan-summary { grid-template-columns: 1.3fr 1fr; } }
.plan-summary p { margin: 0 0 6px; }
.tips { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: .9375rem; color: var(--ink-2); }
.tips li::marker { color: var(--gold-3); }
.days { display: grid; gap: 20px; }
.day { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--s-edge), var(--shadow); overflow: hidden; break-inside: avoid; }
.day-head {
  --ink: var(--sky-ink); --ink-2: var(--sky-ink-2);
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 4px 14px;
  padding: 16px 18px; color: var(--sky-ink);
  background: linear-gradient(135deg, #1a1352 0%, #2e1a6e 100%);
  background: radial-gradient(120% 160% at 100% 0%, var(--glow, transparent), transparent 58%), linear-gradient(135deg, #1a1352 0%, #2e1a6e 100%);
}
.day-num { display: grid; justify-items: center; line-height: 1; }
.day-num small { font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink-2); margin-bottom: 2px; }
.day-num b { font-family: var(--display); font-weight: 900; font-size: 2.7rem; line-height: .95; padding: 0 .06em .06em; }
.day-badge {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--stock), var(--stock-2)); color: var(--stock-ink);
  box-shadow: 0 0 0 2px rgba(255, 215, 106, .6), 0 0 24px -4px var(--glow, transparent);
}
.day-badge .icon { width: 26px; height: 26px; }
.day-title { min-width: 0; }
.day-head h3 { font-family: var(--display); font-weight: 800; font-size: 1.95rem; line-height: 1.08; overflow-wrap: anywhere; }
.day-meta { margin: 2px 0 0; font-size: .9375rem; color: var(--sky-ink-2); }
.day-book { padding: 14px 18px; background: var(--card-2); border-bottom: 1px solid var(--rule); display: grid; gap: 6px; font-size: .9375rem; }
.day-book h4 { font-size: 1rem; font-weight: 900; }
.day-book ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.day-book li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.day-book .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-3); }
.timeline { list-style: none; margin: 0; padding: 10px 0 6px; position: relative; }
.tl { position: relative; display: grid; grid-template-columns: 74px 28px minmax(0, 1fr); gap: 0 10px; padding: 7px 18px 7px 12px; }
.tl::before {
  content: ''; position: absolute; left: calc(12px + 74px + 10px + 13px); top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--perf) 0 3px, transparent 3px 8px);
}
.tl:first-child::before { top: 18px; }
.tl:last-child::before { bottom: calc(100% - 18px); }
.tl time { font-weight: 800; font-size: 1rem; line-height: 1.5; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-mark { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--rule-2); color: var(--ink-2); }
.tl-mark .icon { width: 15px; height: 15px; }
.tl-rope .tl-mark { background: var(--gold-btn); border-color: var(--gold-3); color: var(--navy); }
.tl-ll .tl-mark, .tl-sp .tl-mark { background: linear-gradient(135deg, var(--stock), var(--stock-2)); border-color: transparent; color: var(--stock-ink); }
.tl-night .tl-mark, .tl-parade .tl-mark { background: var(--navy); border-color: rgba(255, 215, 106, .6); color: var(--gold); }
.tl-break .tl-mark, .tl-return .tl-mark, .tl-free .tl-mark, .tl-arrive .tl-mark, .tl-close .tl-mark { border-style: dashed; }
.tl-main { min-width: 0; padding-top: 1px; }
.tl-title { font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.tl-how { font-size: .9375rem; color: var(--ink-2); line-height: 1.35; }
.tl-land { color: var(--ink-3); }
.tl-extra { margin-top: 5px; display: grid; gap: 4px; font-size: .875rem; }
.tl-extra div { display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: start; }
.tl-extra .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--ink-2); }
.tl-break, .tl-free, .tl-arrive, .tl-close, .tl-return { color: var(--ink-2); }
.tl-break .tl-title, .tl-free .tl-title, .tl-arrive .tl-title, .tl-close .tl-title, .tl-return .tl-title { font-weight: 800; color: var(--ink); }
.day-foot { padding: 12px 18px 16px; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: .9375rem; }
.day-foot details summary { cursor: pointer; font-weight: 800; }
.day-foot ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }
.unplaced { display: grid; gap: 10px; }
.unplaced h4 { font-size: 1rem; font-weight: 900; margin-bottom: 4px; }
.unplaced p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 520px) {
  .tl { grid-template-columns: 62px 26px minmax(0, 1fr); gap: 0 8px; padding-left: 8px; padding-right: 12px; }
  .tl::before { left: calc(8px + 62px + 8px + 12px); }
  .tl time { font-size: .9375rem; }
  .tl-mark { width: 26px; height: 26px; }
  .day-head { gap: 4px 10px; padding: 14px; }
  .day-num b { font-size: 2.2rem; }
  .day-badge { width: 38px; height: 38px; }
  .day-badge .icon { width: 22px; height: 22px; }
  .day-head h3 { font-size: 1.6rem; }
}

/* picks (charts) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters select { width: auto; min-width: 150px; }
.seg-ctl { display: inline-flex; background: var(--card); border: 1.5px solid var(--rule-2); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg-ctl button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .875rem; color: var(--ink-2); min-height: 34px; }
.seg-ctl button[aria-pressed="true"] { background: var(--gold-btn); color: var(--navy); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--ink-2); margin: 0 0 10px; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.surface-pill { display: inline-flex; background: var(--card); border-radius: 999px; padding: 7px 14px; box-shadow: inset 0 0 0 1px var(--s-edge); }
.swatch { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }
.sw-must { background: var(--must); } .sw-want { background: var(--want); } .sw-skip { background: var(--skip); }
.insights { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-bottom: 22px; }
.insights .card h3 { font-size: 1.35rem; }
.insights ol, .insights ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: .9375rem; }
.insights li span { color: var(--ink-2); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 30px 52px minmax(0, 1fr); gap: 4px 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--s-edge); }
.card .rank-row { box-shadow: none; padding-left: 0; padding-right: 0; }
.rank-row .num { font-weight: 900; font-size: 1.1rem; text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank-thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, var(--stock), var(--stock-2)); display: grid; place-items: center; color: var(--stock-ink); }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-thumb .icon { width: 26px; height: 26px; }
.rank-main { min-width: 0; display: grid; gap: 4px; }
.rank-title { font-weight: 800; line-height: 1.25; }
.rank-title small { font-weight: 400; color: var(--ink-2); }
.rank-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.bar { display: flex; gap: 2px; height: 12px; background: transparent; border-radius: 0 4px 4px 0; }
.bar .seg { height: 100%; min-width: 3px; }
.bar .seg:last-child { border-radius: 0 4px 4px 0; }
.bar .seg.must { background: var(--must); } .bar .seg.want { background: var(--want); } .bar .seg.skip { background: var(--skip); }
.bar .seg.none { background: transparent; box-shadow: inset 0 0 0 1px var(--rule-2); }
.bar .seg:hover, .bar .seg:focus-visible { filter: brightness(1.12); }
.rank-count { font-size: .875rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.who { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.who b { color: var(--ink); font-weight: 800; }
@media (min-width: 900px) {
  .rank-row { grid-template-columns: 34px 56px minmax(0, 1.1fr) minmax(0, 1fr); }
  .rank-row .who { grid-column: 4; grid-row: 1; }
}
.tooltip {
  position: fixed; z-index: 70; pointer-events: none; background: rgba(14, 12, 52, .96); color: #fff;
  border: 1px solid rgba(255, 215, 106, .4);
  border-radius: 12px; padding: 8px 10px; font-size: .875rem; max-width: 260px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7);
}
.tooltip strong { display: block; font-size: 1rem; }

.linkish { color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.linkish:hover { text-decoration-color: currentColor; }
.linkish:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
button.rank-thumb, button.cat-thumb { border: 0; padding: 0; cursor: pointer; }

/* people */
.invite-card { margin-bottom: 18px; }
.invite-card form { display: grid; gap: 14px; }
.invite-card h3, .invite-card p { margin: 0; }
.invite-card > p { margin: 8px 0 16px; }
.invitation-row { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule-2); }
.invitation-row .meta { margin-top: 4px; font-size: .875rem; color: var(--ink-2); }
.invitation-row input { width: 100%; min-width: 0; }
.responses-title { margin-bottom: 14px; }
@media (max-width: 760px) {
  .invitation-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
.person h3 { margin-bottom: 4px; overflow-wrap: anywhere; }
.person .meta { font-size: .875rem; color: var(--ink-2); margin: 0 0 10px; }
.person .counts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.person blockquote { margin: 10px 0; padding: 10px 12px; background: var(--card-2); border-radius: 12px; font-size: .9375rem; border-left: 3px solid var(--perf); }
.person ul { margin: 0; padding-left: 18px; font-size: .9375rem; }
.person details summary { cursor: pointer; font-weight: 800; }
.person li .icon { color: var(--must); }

/* settings */
.settings { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.settings .card { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.switch { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.switch input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold-2); flex: none; }
.switch b { display: block; font-weight: 800; }
.switch span { min-width: 0; overflow-wrap: anywhere; color: var(--ink-2); font-size: .9375rem; }
.label-like { font-weight: 800; }
.when { display: grid; gap: 8px; }
.when-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.month-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.month-chip {
  min-width: 52px; min-height: 38px; padding: 6px 10px; border-radius: 999px;
  border: 1.5px solid var(--rule-2); background: var(--card); color: var(--ink); font-weight: 800; font-size: .9375rem;
}
.month-chip:hover { border-color: var(--ink-3); }
.month-chip[aria-pressed="true"] { background: var(--gold-btn); border-color: #d99a26; color: var(--navy); }
.year-field { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.year-field input { width: 104px; }
.day-rows { display: grid; gap: 8px; }
.day-row { display: grid; grid-template-columns: 76px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.day-row .dlabel { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.05; }
.day-row .dlabel small { display: block; font-family: var(--body); font-weight: 400; font-size: .75rem; color: var(--ink-2); margin-top: 2px; }
.day-row .btn { width: 44px; padding: 0; }
.day-row .note-input { grid-column: 2 / -1; }
@media (max-width: 640px) {
  .day-row { grid-template-columns: 48px minmax(0, 1fr) 44px; }
  .day-row .t-open, .day-row .t-close { grid-column: 2 / 3; }
}
.save-state { font-size: .875rem; color: var(--ink-2); }
.links-out { display: grid; gap: 8px; }
.link-row { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.link-row code, .mono-line { font-size: .875rem; overflow-wrap: anywhere; }

/* catalog */
.cat-list { display: grid; gap: 8px; }
.cat-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; background: var(--card); border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--s-edge); align-items: start; }
.cat-row.is-hidden { opacity: .62; }
.cat-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, var(--stock), var(--stock-2)); color: var(--stock-ink); display: grid; place-items: center; position: relative; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-thumb .icon { width: 24px; height: 24px; }
.cat-main { min-width: 0; display: grid; gap: 6px; }
.cat-title { font-weight: 800; line-height: 1.25; }
.cat-title small { font-weight: 400; color: var(--ink-2); }
.cat-media { font-size: .875rem; color: var(--ink-2); display: grid; gap: 4px; }
.cat-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-edit { display: grid; gap: 8px; background: var(--card-2); border-radius: 12px; padding: 10px; }
.yt-results { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.yt-result { border: 1.5px solid var(--rule-2); border-radius: 12px; overflow: hidden; background: var(--card); color: var(--ink); text-align: left; padding: 0; display: grid; }
.yt-result img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yt-result span { padding: 6px 8px 8px; font-size: .8125rem; line-height: 1.3; }
.status-line { font-size: .9375rem; color: var(--ink-2); }

/* shared plan page */
.plan-page-head { position: relative; padding: 26px 0 16px; }
.plan-page-head .fw { position: absolute; right: 0; top: -6px; width: min(240px, 50vw); height: auto; z-index: 0; pointer-events: none; }
.plan-page-head h1 { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1.04; max-width: 14ch; padding: 0 .08em .1em; margin: 18px 0 0 -.08em; }
.plan-page-head > p, .plan-page-head .row { position: relative; z-index: 1; }

/* Phone layouts: keep controls readable without squeezing the card content. */
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  input[type="text"], input[type="password"], input[type="date"], input[type="time"], input[type="number"], input[type="url"], input[type="search"], select, textarea { min-width: 0; max-width: 100%; font-size: 1rem; }
  .btn-small, .jump a { min-height: 44px; }
  .admin-top .wrap { gap: 12px; padding-top: 18px; }
  .admin-top .wrap > div { min-width: 0; }
  .admin-top h1 { font-size: clamp(1.8rem, 7.4vw, 2.6rem); overflow-wrap: anywhere; text-wrap: balance; }
  .admin-top .sub { line-height: 1.45; }
  .admin-top .fw { width: 110px; opacity: .45; }
  .top-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .top-actions .btn { min-width: 0; min-height: 44px; padding: 8px 5px; font-size: .8125rem; }
  .top-actions .icon { display: none; }
  .admin-nav .tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0 12px; overflow: visible; }
  .nav-tab { grid-column: span 2; min-width: 0; min-height: 44px; padding: 10px 4px; font-size: .875rem; line-height: 1.25; }
  .nav-tab:nth-last-child(-n+2) { grid-column: span 3; }
  .panel { padding-top: 20px; }
  .panel-head { gap: 12px; }
  .panel-head > div { min-width: 0; }
  .panel-head h2 { font-size: clamp(1.8rem, 7.8vw, 2.3rem); overflow-wrap: anywhere; }
  .panel-head > .row { width: 100%; }
  .settings .row .btn { max-width: 100%; white-space: normal; text-align: center; }
  .card { padding: 16px; }
  .invitation-row { gap: 10px; }
  .invitation-row > div:first-child { overflow-wrap: anywhere; }
  .invitation-row .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invitation-row .row .btn { min-width: 0; padding-left: 8px; padding-right: 8px; }
  .hero { padding-top: 24px; }
  .hero .fw-hero { position: absolute; right: 6px; top: 0; width: 155px; margin: 0; opacity: .55; }
  .hero-title { max-width: none; font-size: clamp(2.1rem, 8.8vw, 3.25rem); }
  .hero .intro { font-size: 1rem; line-height: 1.5; margin-bottom: 16px; }
  .ticket-hero .main { padding: 18px; }
  .ticket-hero .stub { padding: 14px 18px; gap: 12px; }
  .invitation-name { font-size: clamp(1.4rem, 6.5vw, 1.8rem); }
  .namefield input { font-size: 1.6rem; }
  .how { margin-top: 14px; gap: 8px; }
  .how li { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .admit { font-size: 1.6rem; }
  .stub-parks .pk { width: 26px; height: 26px; }
  .park-head { align-items: flex-start; }
  .chip { white-space: normal; overflow-wrap: anywhere; }
  .jump a { display: inline-flex; align-items: center; }
  .sendbar .wrap { gap: 8px; }
  .sendbar .tally { min-width: 0; gap: 3px 6px; }
  .sendbar .tally-sub { display: none; }
  .sendbar .btn { flex: 0 0 auto; min-height: 44px; padding-left: 16px; padding-right: 16px; }
  dialog.sheet { width: calc(100% - 20px); max-height: 90dvh; }
  .review-body, .sheet-body { padding-left: 16px; padding-right: 16px; }
  .review-body h2, .sheet-body h2 { font-size: 1.8rem; }
  .kid-row { grid-template-columns: minmax(0, 1fr) 82px 40px; gap: 6px; }
  .kid-row .btn { width: 40px; }
  .copy-line { flex-wrap: wrap; }
  .copy-line input { flex-basis: 100%; }
  .done-sky { margin-left: -16px; margin-right: -16px; }
  .day-head { padding: 14px; gap: 8px; }
  .day-head h3 { font-size: 1.55rem; }
  .day-book, .later, .day-notes { overflow-wrap: anywhere; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); border-radius: 16px; text-align: center; width: max-content; }
}
@media (max-width: 559px) {
  .ticket { grid-template-columns: minmax(0, 1fr); -webkit-mask: none; mask: none; }
  .ticket-stub { min-height: 0; aspect-ratio: 16 / 9; border-radius: var(--r) var(--r) 0 0; }
  .ticket-body { border-left: 0; border-top: 2px dotted var(--perf); padding: 14px; }
  .ticket-title { font-size: 1.125rem; line-height: 1.3; }
  .ticket-blurb { display: block; overflow: visible; }
  .pick-btn { min-height: 44px; padding: 8px 5px; }
  .pick-btn .icon { display: block; width: 14px; height: 14px; }
}

/* motion */
@media (prefers-reduced-motion: reduce) {
  .sky::before, .sky::after, .fw-burst, .fw-tips, .fw-spark, .burst, .ticket.just-stamped .stamp-mark { animation: none !important; }
  .burst { display: none; }
  .stamp-mark, .ticket::after { transition: none; }
}

/* high contrast mode: drop the gradient lettering */
@media (forced-colors: active) {
  .hero-title, .park-head h2, .panel-head h2, .admin-top h1, .plan-page-head h1, .day-num b, .done-sky h2,
  .sheet-body h2, .review-body h2, .login h1, .empty h3 { background: none; color: CanvasText; filter: none; }
  .ticket, .ticket-hero .main, .ticket-hero .stub { -webkit-mask: none; mask: none; border: 1px solid CanvasText; }
}

/* print */
@media print {
  :root:not(#_) {
    --ink: #111; --ink-2: #444; --ink-3: #666; --card: #fff; --card-2: #f4f4f4; --rule: #ccc; --rule-2: #999;
    --s-card: #fff; --s-card-2: #f4f4f4; --s-ink: #111; --s-ink-2: #444; --s-ink-3: #666; --s-rule: #ccc; --s-rule-2: #999; --s-edge: transparent;
    --sky-ink: #111; --sky-ink-2: #444; --sky-ink-3: #666; --perf: #bbb;
  }
  html, body { background: #fff !important; color: #111; font-size: 11pt; }
  .sky, .fw, .admin-top, .admin-nav, .no-print, .sendbar, .toast, .panel-head .row, .filters { display: none !important; }
  .hero-title, .park-head h2, .panel-head h2, .admin-top h1, .plan-page-head h1, .day-num b, .done-sky h2,
  .sheet-body h2, .review-body h2, .login h1, .empty h3 { background: none !important; color: #111 !important; filter: none !important; }
  .panel { padding: 0; }
  .day, .card { box-shadow: none; border: 1px solid #ccc; }
  .day { page-break-inside: avoid; margin-bottom: 12pt; }
  .day-head { background: #fff !important; color: #111; border-bottom: 2px solid #111; }
  .day-badge { box-shadow: none; border: 1px solid #999; }
  .tl { padding-top: 3px; padding-bottom: 3px; }
  a { text-decoration: none; }
}
