@font-face { font-family: "Lilita One"; src: url("/static/fonts/lilita-one-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #F4F2FA;
  --card: #FFFFFF;
  --ink: #1B1A3A;
  --ink-2: #55537A;
  --rule: #E1DEF0;
  --cobalt: #2340C8;
  --cobalt-2: #1A2F96;
  --gold: #D9AE3F;
  --gold-2: #9C7420;
  --sun: #FFD25A;
  --enamel: #55537A;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 500 16px/1.45 var(--text);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -9999px; top: 8px; }
.skip-link:focus { left: 16px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; z-index: 30; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.lanyard :focus-visible, .toast :focus-visible { outline-color: var(--sun); }

button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: progress; }
input { font: inherit; color: inherit; }
a { color: var(--cobalt-2); text-underline-offset: 3px; }

/* lanyard header */
.lanyard {
  position: relative; color: #fff; padding: 14px 0 20px;
  background-color: var(--cobalt);
  background-image: radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.14) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.lanyard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, var(--gold-2) 10px 12px);
}
.lanyard-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.brand-block { grid-column: 1; grid-row: 1; min-width: 0; }
.brand { display: flex; align-items: center; gap: 8px; margin: 0; font: 400 26px/1 var(--display); letter-spacing: 0.01em; }
.mark { width: 34px; height: 24px; flex: none; }
.tagline { margin: 4px 0 0; font: 600 14px/1.2 var(--text); color: #DCE2FF; }

.mode {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--cobalt-2); border-radius: 999px;
}
.seg {
  min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; font: 700 15px/1 var(--text);
}
.seg[aria-pressed="true"] { background: #fff; color: var(--cobalt); }

.round-btn {
  grid-column: 2; grid-row: 1; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px;
  border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 999px;
  background: transparent; color: #fff; font: 700 15px/1 var(--text);
}
.round-btn .icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn-text { display: none; }

.strip {
  grid-column: 1 / -1; grid-row: 3;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.strip-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.clock { margin: 0; font: 400 44px/1 var(--display); font-variant-numeric: tabular-nums; }
.strip-side { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.date-field { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.date-field input {
  min-height: 44px; padding: 0 8px; border: 2px solid #fff; border-radius: 12px;
  background: #fff; color: var(--ink);
}
.ghost-btn {
  min-height: 44px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  background: transparent; color: #fff; font: 700 15px/1 var(--text);
}
.ghost-btn:disabled { opacity: 0.6; }
.refresh-btn { display: inline-flex; align-items: center; gap: 6px; }
.refresh-btn .icon { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Plan ahead on phones: keep date + refresh on one line beside the clock */
@media (max-width: 479px) {
  .date-field span,
  .strip-side:has(.date-field:not([hidden])) .refresh-btn .btn-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .strip-side:has(.date-field:not([hidden])) .refresh-btn { width: 44px; padding: 0; justify-content: center; }
}

/* one status line: live freshness · plan time */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: -2px 0 0; font-size: 15px; color: #fff; }
.fresh { display: inline-flex; align-items: center; }
.fresh::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: #7CF0A6;
}
.fresh.is-stale { color: var(--sun); font-weight: 600; }
.fresh.is-stale::before { background: var(--sun); }
.plan-time { color: #C9D1FF; }
.plan-time:empty { display: none; }
.plan-time::before { content: "·"; margin: 0 8px; }

/* where the plan starts from, with the location toggle inline */
.origin-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 4px 4px 4px 14px; background: var(--cobalt-2); border-radius: 24px; min-width: 0;
}
.origin-bar:not(:has(> :not([hidden]))) { display: none; }
.origin-bar:has(> .origin[hidden]) { padding-left: 4px; }
.origin { margin: 0; min-width: 0; font: 600 14px/1.25 var(--text); color: #E6E9FF; }
.origin[hidden] { display: none; }
.locate-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto;
  min-height: 40px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  background: transparent; color: #fff; font: 700 14px/1 var(--text); white-space: nowrap;
}
.locate-btn[hidden] { display: none; }
.locate-btn .icon { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.locate-btn[aria-pressed="true"] { background: #fff; color: var(--cobalt); border-color: #fff; }
.locate-msg { margin: -4px 0 0; padding-left: 14px; font-size: 13px; color: #E6E9FF; }
.locate-msg[hidden] { display: none; }
.locate-msg.is-warn { color: var(--sun); font-weight: 600; }

/* layout */
.app { max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter) 96px; }
.layout { display: block; }
.now, .plan { min-width: 0; }
.plan { margin-top: 28px; }
@media (min-width: 720px) {
  .lanyard-inner { grid-template-columns: minmax(0, 1fr) auto auto; }
  .brand-block { grid-column: 1; grid-row: 1; }
  .mode { grid-column: 2; grid-row: 1; width: 260px; }
  .round-btn { grid-column: 3; grid-row: 1; }
  .round-btn .btn-text { display: inline; }
  .strip { grid-row: 2; }
  .origin-bar { align-self: flex-start; min-width: 360px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .plan { margin-top: 16px; position: sticky; top: 16px; }
}

/* hero: the next pin on its card */
.hero {
  position: relative; margin: 0; padding: 30px 16px 18px;
  background: var(--card); color: var(--ink); text-align: center;
  border: 1px solid var(--rule); border-radius: 18px;
  outline: 4px solid transparent; outline-offset: 4px;
}
.hero::before {
  content: ""; position: absolute; top: 10px; left: 50%; width: 34px; height: 10px; margin-left: -17px;
  border-radius: 10px; background: var(--ground); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.kicker { margin: 0; font: 700 13px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

.pin {
  position: relative; overflow: hidden; margin: 10px auto 12px;
  width: clamp(112px, min(56vw, 17svh), 190px); height: clamp(112px, min(56vw, 17svh), 190px); border-radius: 50%;
  display: grid; place-items: center; background: var(--enamel); color: #fff;
  box-shadow: 0 0 0 6px var(--gold), 0 0 0 8px var(--gold-2), 0 10px 18px rgba(27, 26, 58, 0.18);
}
.pin::after {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  animation: shine 3.5s ease-in-out infinite;
}
.pin.is-empty { background: transparent; box-shadow: none; border: 2.5px dashed #8E8BB0; }
.pin.is-empty::after { display: none; }
.pin.is-departing { visibility: hidden; }

.enamel { display: grid; place-items: center; width: 100%; height: 100%; }
.enamel svg { display: block; width: 52%; height: 52%; fill: currentColor; }
.is-break-pin .enamel svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

.land-tomorrowland { --enamel: #1A8DA8; }
.land-fantasyland { --enamel: #E2557F; }
.land-adventureland { --enamel: #2E8B4E; }
.land-frontierland { --enamel: #C2622D; }
.land-new-orleans { --enamel: #6A3FA0; }
.land-main-street { --enamel: #C8323C; }
.land-galaxys-edge { --enamel: #5E6B78; }
.land-critter-country { --enamel: #8A6A2B; }
.land-bayou-country { --enamel: #2F7F7A; }
.land-toontown { --enamel: #B9600C; }
.land-misc { --enamel: #2340C8; }
.is-break-pin { --enamel: #55537A; }

.hero-title { margin: 0; font: 400 clamp(30px, 9vw, 40px)/1.05 var(--display); overflow-wrap: anywhere; }
.hero-land { margin: 6px 0 0; font-weight: 600; color: var(--ink-2); }
.hero-land:empty { display: none; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 0; }
.hero-tags:empty { display: none; }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px;
  border: 1.5px solid var(--gold); border-radius: 999px; background: #FFF4D6; color: #6A4B00;
  font: 700 13px/1 var(--text);
}
.tag-tier.is-headliner { background: var(--sun); border-color: var(--gold-2); color: var(--ink); }
.tag-water { background: #DDF1FA; border-color: #1E6FA8; color: #0B4A78; }

.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0;
}
.grid > div { padding: 8px 4px; border-radius: 12px; background: var(--ground); }
.grid dt {
  margin: 0; font: 700 12px/1.2 var(--text); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2);
}
.grid dd { margin: 4px 0 0; font: 400 22px/1 var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 379px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero-reason { margin: 12px 0 0; font-weight: 600; }
.hero-reason:empty { display: none; }
.hero.is-dim > * { opacity: 0.6; }
.hero.is-changed { animation: flash 2.2s steps(2, end) 1; }
@keyframes flash {
  0%, 100% { outline-color: transparent; }
  20%, 80% { outline-color: var(--cobalt); }
}

/* actions */
.actions { display: grid; gap: 10px; margin-top: 14px; }
.btn {
  min-height: 52px; padding: 0 16px; display: grid; place-items: center;
  border: 2px solid var(--cobalt); border-radius: 999px; background: var(--card); color: var(--cobalt);
  font: 700 17px/1 var(--text);
}
.btn.primary {
  min-height: 60px; background: var(--cobalt); color: #fff;
  font: 400 24px/1 var(--display); letter-spacing: 0.01em; box-shadow: 0 4px 0 var(--cobalt-2);
}
.btn.outline { background: var(--card); }
.btn:disabled { border-color: #B8B5CF; color: #5B5880; background: var(--ground); }
.btn.primary:disabled { background: #8E8BB0; border-color: #8E8BB0; color: #fff; box-shadow: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.section-h { margin: 26px 0 10px; font: 400 22px/1.1 var(--display); color: var(--ink); }

/* or instead */
.alts { margin-top: 26px; }
.alt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alt-btn {
  width: 100%; min-height: 64px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 10px 12px; text-align: left;
  background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px;
}
.alt-btn .ghost { width: 40px; height: 40px; }
.alt-body { min-width: 0; }
.alt-name { display: block; font: 400 20px/1.1 var(--display); }
.alt-meta { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.alt-go {
  min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center;
  border: 2px solid var(--cobalt); border-radius: 999px; color: var(--cobalt); font: 700 14px/1 var(--text);
}

/* your lanyard */
.today { margin-top: 26px; }
.strap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 14px;
  background-color: var(--cobalt);
  background-image: radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.14) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.mini {
  position: relative; overflow: hidden;
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--enamel); color: #fff;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 4px var(--gold-2);
}
.mini .enamel svg { width: 56%; height: 56%; }
.mini::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
}
.mini.is-arriving { visibility: hidden; }
.mini.is-snap { animation: snap 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.mini.is-snap::after { animation: sheen 0.7s ease-out 0.3s both; }
.mini.is-pop { animation: pop 0.35s ease-out both; }
.slot { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, 0.6); }
.count { margin: 0 0 0 auto; color: #fff; text-align: right; font: 400 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.count small { display: block; font: 600 12px/1.2 var(--text); }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 0 0;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
}
.stats > div { padding: 10px 8px; text-align: center; border-right: 1px solid var(--rule); }
.stats > div:last-child { border-right: 0; }
.stats dt { margin: 0; font: 700 12px/1.2 var(--text); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.stats dd { margin: 4px 0 0; font: 400 32px/1 var(--display); font-variant-numeric: tabular-nums; }

.done-list { list-style: none; margin: 10px 0 0; padding: 0; }
.done-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.done-row .t { font: 400 16px/1.4 var(--display); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.done-row .name { font-weight: 600; }
.today-notes { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.today-notes:empty { display: none; }
.text-danger {
  display: block; margin-top: 10px; min-height: 44px; padding: 0 2px; border: 0; background: none;
  color: #B42318; font: 600 16px/1 var(--text); text-decoration: underline; text-underline-offset: 3px;
}

/* then: timeline rows */
.timeline { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 62px 40px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
}
.row .t { font: 400 19px/1 var(--display); font-variant-numeric: tabular-nums; }
.row .body { min-width: 0; }
.row .name, .row .meta { display: block; }
.row .name { font: 400 18px/1.15 var(--display); }
.row .meta { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.row.is-break .name { color: var(--ink-2); }
.ghost {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 2.5px dashed var(--enamel); color: var(--enamel); background: transparent;
}
.ghost .enamel svg { width: 50%; height: 50%; }
.body .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px;
  border-radius: 999px; font: 700 12px/1 var(--text);
}
.chip.tier { background: #FFF4D6; border: 1.5px solid var(--gold); color: #6A4B00; }
.chip.tier.is-headliner { background: var(--sun); border-color: var(--gold-2); color: var(--ink); }
.chip.water { background: #DDF1FA; border: 1.5px solid #1E6FA8; color: #0B4A78; }
.note { padding: 12px 0; font-size: 14px; color: var(--ink-2); }
#show-all { width: 100%; margin-top: 12px; }
.missing { margin: 12px 0 0; font-weight: 600; }

/* not in today's plan */
.unplanned { margin-bottom: 28px; }
.unplanned[hidden] { display: none; }
.unplanned-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.unplanned-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px;
  padding: 10px 12px; background: var(--card); border: 1.5px dashed var(--gold-2); border-radius: 14px;
}
.unplanned-body { min-width: 0; }
.unplanned-row .name { display: block; font: 400 20px/1.1 var(--display); overflow-wrap: anywhere; }
.unplanned-row .meta { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.unplanned-row .meta:empty { display: none; }
.add-must {
  min-height: 44px; padding: 0 14px; border: 2px solid var(--cobalt); border-radius: 999px;
  background: var(--card); color: var(--cobalt); font: 700 14px/1 var(--text); white-space: nowrap;
}
.add-must:hover { background: var(--cobalt); color: #fff; }

/* footer */
.foot {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-2);
}
.foot p { margin: 0 0 6px; }

/* settings dialog */
dialog {
  width: min(560px, calc(100vw - 24px)); max-height: 90vh; margin: auto; padding: 0; border: 0; border-radius: 18px;
  background: var(--card); color: var(--ink); box-shadow: 0 20px 50px rgba(20, 20, 60, 0.3);
}
dialog::backdrop { background: rgba(27, 26, 58, 0.55); }
@media (max-width: 719px) {
  dialog { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; }
}
#settings-form { padding: 18px; overflow: auto; }
#settings-h { margin: 0 0 6px; }
fieldset {
  min-width: 0; margin: 14px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--rule);
  display: grid; gap: 10px;
}
legend {
  padding: 0; margin-bottom: 4px; font: 700 13px/1 var(--text); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
}
fieldset label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-weight: 600; }
fieldset label.check { justify-content: flex-start; align-items: flex-start; }
fieldset label.check input { flex: none; margin-top: 3px; }
.hint { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.range { flex-direction: column; align-items: stretch !important; }
.range > span { display: flex; justify-content: space-between; }
.range-ends { display: flex; justify-content: space-between; margin: -4px 0 0; font-size: 14px; color: var(--ink-2); }
input[type="time"], input[type="text"] {
  min-height: 44px; min-width: 0; padding: 0 12px; border: 2px solid #C9C5E0; border-radius: 12px;
  background: #fff; color: var(--ink);
}
input[type="checkbox"] { width: 22px; height: 22px; margin: 0 8px 0 0; accent-color: var(--cobalt); }
input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--cobalt); }
.row-input { display: flex; gap: 8px; }
.row-input input { flex: 1; }
.field-error { margin: 0; color: #B42318; font-size: 14px; font-weight: 600; }
.field-error:empty { display: none; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px 0 12px;
  border: 1.5px solid var(--cobalt); border-radius: 999px; background: #EEF1FF; font-weight: 600;
}
.chips button {
  min-width: 44px; min-height: 40px; border: 0; background: none; color: var(--cobalt-2);
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.dialog-actions { margin-top: 16px; display: flex; justify-content: flex-end; }
.dialog-actions .btn { min-width: 140px; }

/* notice */
.notice {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 10px 12px; border: 1.5px solid var(--gold); border-radius: 14px; background: #FFF4D6;
  color: #3D2C00; font-weight: 600;
}
.notice button {
  min-height: 44px; padding: 0 14px; border: 2px solid var(--cobalt); border-radius: 999px;
  background: var(--cobalt); color: #fff; font: 700 15px/1 var(--text);
}

/* toast */
.toast {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(27, 26, 58, 0.35);
}
.toast[hidden] { display: none; }
.toast span { flex: 1; font-weight: 600; }
.toast button {
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: var(--sun); color: var(--ink); font: 700 15px/1 var(--text);
}

.mock-banner {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40; padding: 4px 10px;
  background: var(--sun); color: var(--ink); font: 700 13px var(--text); text-align: center;
}

@keyframes shine {
  0% { transform: translateX(-60%); }
  45%, 100% { transform: translateX(60%); }
}
@keyframes sheen {
  0% { opacity: 1; transform: translateX(-60%); }
  100% { opacity: 0; transform: translateX(60%); }
}
@keyframes snap {
  0% { transform: translateY(-10px) scale(1.2); opacity: 0.4; }
  60% { transform: scale(0.94); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-contrast: more) {
  :root { --ink-2: #2B2950; --rule: #6F6C8F; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero.is-changed { outline-color: var(--cobalt); }
}
