/* VanRast - mobile-first map app. Colours from design/DESIGN-SYSTEM.md (West Coast vibe). */
:root {
  --orange: #F0582B;
  --orange-dark: #C9431C;   /* orange text on light backgrounds (4.6:1 on paper) */
  --navy: #2B337B;
  --forest: #2D5E41;
  --mustard: #E9B853;
  --mustard-ink: #6B4E0A;
  --paper: #F5F4ED;
  --cream: #FBFAF5;
  --sand: #E6E1D3;
  --line: #DAD5C5;
  --ink: #1A1A1A;
  --muted: #5C584F;
  --red: #B8341B;

  --display: 'Space Mono', ui-monospace, monospace;
  --body: 'Work Sans', system-ui, -apple-system, sans-serif;

  --r-sheet: 18px;
  --r-card: 12px;
  --shadow: 0 1px 2px rgba(26, 26, 26, .08), 0 6px 20px rgba(26, 26, 26, .12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --sheet-visible: 180px;   /* set by JS */
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 16px/1.45 var(--body);
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.small { font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---------- map ---------- */
#map { position: fixed; inset: 0; z-index: 0; background: #EDECE8; }
.leaflet-container { font-family: var(--body); }
.leaflet-control-attribution { font-size: 10px; background: rgba(245, 244, 237, .85) !important; }
.leaflet-bottom.leaflet-right { bottom: calc(var(--sheet-visible) - 2px); transition: bottom .35s var(--ease-drawer); }

.pin {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); border: 2.5px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease-out);
}
.pin.k-campsite { background: var(--forest); }
.pin.k-tolerated_parking { background: var(--mustard); }
.pin.k-dump_station { background: var(--navy); border-radius: 4px; }
.pin.official { width: 20px; height: 20px; }
.pin.selected { transform: scale(1.5); box-shadow: 0 0 0 4px rgba(240, 88, 43, .35), 0 2px 6px rgba(0, 0, 0, .4); }
.origin-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(43, 51, 123, .2); }

.cl {
  display: grid; place-items: center; border-radius: 50%;
  background: var(--orange); color: #fff; border: 3px solid #fff;
  font: 700 13px/1 var(--display);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

/* ---------- top bar ---------- */
.top {
  position: fixed; z-index: 10; left: 12px; right: 12px; top: calc(10px + var(--safe-t));
  display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none;
}
.top > * { pointer-events: auto; }
.top-row { width: 100%; display: flex; align-items: center; gap: 8px; }
.logo svg { width: 44px; height: 44px; display: block; }
.logo rect { fill: var(--orange); stroke: none; }
.logo path { fill: var(--paper); stroke: none; }
.logo { border-radius: 12px; box-shadow: var(--shadow); }

.seg {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--cream); border-radius: 14px; box-shadow: var(--shadow); min-width: 0;
}
.seg-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; border: 0; border-radius: 10px; background: transparent;
  font: 700 14px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  transition: background-color .2s ease, color .2s ease, transform .15s var(--ease-out);
}
.seg-btn:active { transform: scale(.97); }
.seg-btn[aria-checked="true"] { background: var(--orange); color: #fff; }
.seg-btn[data-mode="camp"][aria-checked="true"] { background: var(--forest); }

.round-btn {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 0; border-radius: 12px; background: var(--cream); box-shadow: var(--shadow);
  transition: transform .15s var(--ease-out);
}
.round-btn:active { transform: scale(.94); }
.round-btn.small { width: 40px; height: 40px; box-shadow: none; background: var(--sand); }

.mode-info {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 6px;
  max-width: 100%; border: 0; border-radius: 999px; padding: 7px 14px;
  background: rgba(251, 250, 245, .94); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3; text-align: center;
}
.mode-link { color: var(--orange-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* ---------- floating buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .15s var(--ease-out), background-color .2s ease;
}
.pill:active { transform: scale(.97); }
.pill svg { width: 18px; height: 18px; }
.search-here {
  position: fixed; z-index: 9; left: 50%; top: calc(122px + var(--safe-t)); transform: translateX(-50%);
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  animation: pop .25s var(--ease-out);
}
.search-here:active { transform: translateX(-50%) scale(.97); }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } }
/* the pin in the middle of the map while choosing a place; its tip is the search point */
.target { position: fixed; z-index: 8; display: none; width: 0; height: 0; pointer-events: none; }
body.picking .target { display: block; }
.target-pin {
  position: absolute; left: -18px; top: -50px; width: 36px; height: 50px;
  fill: var(--orange); stroke: #fff; stroke-width: 2.5;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
  transition: transform .2s var(--ease-out);
}
.target-pin circle { fill: #fff; stroke: none; }
.target-shadow { position: absolute; left: -7px; top: -3px; width: 14px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .3); transition: transform .2s var(--ease-out), opacity .2s; }
.target-label {
  position: absolute; left: 0; top: -86px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 8px; transition: opacity .2s;
}
body.map-moving .target-pin { transform: translateY(-12px); }
body.map-moving .target-shadow { transform: scale(.7); opacity: .6; }
body.map-moving .target-label { opacity: 0; }
body.picking .leaflet-marker-pane, body.picking .leaflet-overlay-pane { opacity: .55; pointer-events: none; }
body.picking .leaflet-marker-icon { pointer-events: none !important; }

.view-list.is-hidden { display: none; }
.sub-row { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; min-width: 0; }
.sub-row .sub { margin: 0; min-width: 0; }
.change { flex: none; border: 0; background: none; padding: 6px 0; margin: -6px 0; color: var(--orange-dark); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.link.center { display: block; margin: 2px auto 0; }

.pick h2 { font: 700 22px/1.2 var(--display); margin: 0 0 10px; letter-spacing: -.01em; }
.steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.steps span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 12px/1 var(--display); }
.steps p { margin: 0; }
.pick h2:focus, .detail h2:focus { outline: none; }
.pick .chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.pick .chip { min-height: 44px; padding: 0 4px; font-size: 14px; white-space: nowrap; }
.pick .btn-primary { width: 100%; }
.pill-outline { background: var(--cream); border: 1.5px solid var(--line); color: var(--ink); }
.dot-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 0 5px; }

.locate {
  position: fixed; z-index: 9; right: 12px;
  bottom: calc(var(--sheet-visible) + 12px);
  transition: bottom .35s var(--ease-drawer), transform .15s var(--ease-out);
  color: var(--navy);
}

/* ---------- bottom sheet ---------- */
.sheet {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  height: calc(100dvh - 74px - var(--safe-t));
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  box-shadow: 0 -2px 18px rgba(26, 26, 26, .18);
  transform: translateY(calc(100% - var(--sheet-visible)));
  transition: transform .35s var(--ease-drawer);
  will-change: transform;
  outline: none;
}
.sheet.dragging { transition: none; }
.sheet-head { flex: none; padding: 8px 16px 10px; touch-action: none; cursor: grab; }
.grabber { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.view { display: flex; align-items: center; gap: 12px; }
.head-text { flex: 1; min-width: 0; }
.sheet h1 { margin: 0; font: 700 20px/1.15 var(--display); letter-spacing: -.01em; }
.sub { margin: 2px 0 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view-detail .sub { margin: 0; }
.sheet-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 0 16px calc(24px + var(--safe-b));
}

/* welcome */
.welcome { padding: 6px 0 12px; }
.welcome h2 { font: 700 24px/1.15 var(--display); margin: 0 0 8px; letter-spacing: -.02em; }
.welcome p { margin: 0 0 18px; color: var(--muted); }
.welcome .btn { width: 100%; margin-bottom: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 14px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s var(--ease-out), background-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-quiet { background: var(--sand); color: var(--ink); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--orange-dark); }
  .btn-quiet:hover, .pill-outline:hover { background: var(--line); }
  .card:hover { border-color: var(--muted); }
}

/* list */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card {
  width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  padding: 14px; border-radius: var(--r-card); border: 1.5px solid var(--line); background: var(--cream);
  transition: transform .15s var(--ease-out), border-color .2s ease;
}
.card:active { transform: scale(.98); }
.card-name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.card-dist { font: 700 14px/1.3 var(--display); color: var(--ink); text-align: right; }
.card-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.kind { display: inline-flex; align-items: center; gap: 6px; }
.kind::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.kind.k-campsite::before { background: var(--forest); }
.kind.k-tolerated_parking::before { background: var(--mustard); }
.kind.k-dump_station::before { background: var(--navy); border-radius: 2px; }
.price { font-weight: 600; color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font: 700 11px/1.5 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.tag-official { background: #DCE8DF; color: var(--forest); }
.tag-check { background: #F7E6BC; color: var(--mustard-ink); }
.tag-star { background: var(--sand); color: var(--ink); }
.more { margin-top: 4px; width: 100%; }
.empty { padding: 18px; border-radius: var(--r-card); background: var(--sand); color: var(--ink); }
.empty .btn { margin-top: 12px; min-height: 44px; }

/* detail */
.detail h2 { margin: 0 0 6px; font: 700 22px/1.2 var(--display); letter-spacing: -.01em; }
.detail .card-meta { margin-bottom: 14px; }
.drive { width: 100%; margin: 4px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.fact { background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; }
.fact dt { font: 700 11px/1.3 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; line-height: 1.3; }
.fac { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.fac li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--sand); font-size: 14px; }
.fac svg { width: 16px; height: 16px; }
.warn { padding: 12px 14px; border-radius: 10px; background: #F7E6BC; color: var(--mustard-ink); font-size: 14px; margin-bottom: 14px; }
.rule-card { display: flex; gap: 12px; padding: 14px; border-radius: 12px; margin-bottom: 16px; }
.rule-card.green { background: #DCE8DF; }
.rule-card.yellow { background: #F7E6BC; }
.rule-card.red { background: #F6D9CF; }
.rule-card strong { display: block; margin-bottom: 2px; }
.rule-card p { margin: 0; font-size: 14px; }
.light { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 3px; display: inline-block; }
.light.green { background: var(--forest); }
.light.yellow { background: var(--mustard); }
.light.red { background: var(--red); }
.note { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.links { display: flex; gap: 16px; font-size: 14px; margin-bottom: 20px; }
.rate { border-top: 1.5px solid var(--line); padding-top: 16px; }
.rate h3 { margin: 0 0 4px; font: 700 16px/1.3 var(--display); }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; }
.stars { display: flex; }
.star { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--line); }
.star svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.star.on { color: var(--orange); }
textarea { width: 100%; min-height: 72px; margin-top: 6px; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); font: inherit; resize: vertical; }
.rate-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.rate-actions .btn { min-height: 44px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(26, 26, 26, .4); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-card {
  width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto;
  background: var(--paper); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  padding: 10px 20px calc(20px + var(--safe-b)); outline: none;
  animation: up .35s var(--ease-drawer);
}
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
.modal-card h2 { font: 700 22px/1.2 var(--display); margin: 4px 0 14px; }
.modal-head { display: flex; align-items: baseline; justify-content: space-between; }
.link { border: 0; background: none; color: var(--orange-dark); font-weight: 600; padding: 8px 0; min-height: 44px; }
.modal-card > .btn { width: 100%; margin-top: 12px; }
#dlg-location p { margin: 0 0 8px; line-height: 1.5; }
.busy { opacity: .7; pointer-events: none; }
.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cmp { border-radius: 14px; padding: 14px; color: #fff; }
.cmp-sleep { background: var(--orange); }
.cmp-camp { background: var(--forest); }
.cmp svg { width: 28px; height: 28px; }
.cmp h3 { font: 700 18px/1.2 var(--display); text-transform: uppercase; margin: 6px 0 4px; }
.cmp p { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.cmp ul { margin: 0 0 8px; padding-left: 16px; font-size: 13px; line-height: 1.4; }
.cmp .small { color: rgba(255, 255, 255, .9); margin: 0; }

.f-label { font: 700 13px/1.3 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 600; font-size: 15px; transition: transform .15s var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 0; border-top: 1.5px solid var(--line); margin-top: 18px; cursor: pointer; }
.switch + .switch { margin-top: 0; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { flex: none; width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; transition: background-color .2s ease; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease-out); }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 3px solid var(--navy); outline-offset: 2px; }
.switch.disabled { opacity: .45; }

.modal-side { justify-content: flex-end; align-items: stretch; }
.menu { max-width: 320px; height: 100%; max-height: none; border-radius: var(--r-sheet) 0 0 var(--r-sheet); padding-top: calc(20px + var(--safe-t)); animation: side .3s var(--ease-drawer); }
@keyframes side { from { transform: translateX(40px); opacity: .6; } }
.menu-item { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 8px; border: 0; border-bottom: 1.5px solid var(--line); background: none; min-height: 64px; }
.menu-item svg { width: 24px; height: 24px; color: var(--orange-dark); }
.menu-item span { font-weight: 600; font-size: 17px; display: flex; flex-direction: column; }
.menu-item small { font-weight: 400; font-size: 13px; color: var(--muted); }
.menu-note { margin-top: 20px; }

/* ---------- pages ---------- */
.page {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--paper);
  padding: calc(12px + var(--safe-t)) 20px calc(32px + var(--safe-b)); outline: none;
  animation: side .3s var(--ease-drawer);
}
.page > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.page-head h2 { font: 700 24px/1.2 var(--display); margin: 0; }
.lead { color: var(--muted); margin: 0 0 16px; }
.page h3 { font: 700 16px/1.3 var(--display); margin: 22px 0 6px; }
.page p { margin: 0 0 10px; }
.note-box { padding: 14px; border-radius: 12px; background: #F7E6BC; color: var(--mustard-ink); }
.plain { padding-left: 18px; }
.plain li { margin-bottom: 6px; }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; margin-bottom: 14px; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend .light { margin: 0; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { border-bottom: 1.5px solid var(--line); }
.rules button { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 12px; border: 0; background: none; text-align: left; padding: 8px 0; font-weight: 600; }
.rules button .light { margin: 0; }
.rules .code { font: 700 13px/1 var(--display); color: var(--muted); width: 26px; }
.rules .chev { margin-left: auto; transition: transform .2s var(--ease-out); }
.rules button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.rule-body { padding: 0 0 14px 52px; font-size: 15px; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(var(--sheet-visible) + 70px); transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100% - 32px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .25s var(--ease-out);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- desktop: side panel ---------- */
@media (min-width: 900px) {
  :root { --sheet-visible: 0px; }
  .top { left: 432px; right: 16px; align-items: flex-start; }
  .top-row { width: auto; }
  .seg { flex: none; width: 260px; }
  .mode-info { justify-content: flex-start; }
  .logo { display: none; }
  .search-here { left: calc(50% + 208px); }
  .locate { bottom: 32px; right: 16px; }
  .sheet {
    top: 0; bottom: 0; left: 0; right: auto; width: 416px; height: 100dvh;
    border-radius: 0; transform: none !important; box-shadow: 2px 0 18px rgba(26, 26, 26, .12);
  }
  .sheet-head { cursor: default; padding-top: 20px; }
  .sheet-head .grabber { display: none; }
  .sheet-head::before { content: "VANRAST"; display: block; font: 700 22px/1 var(--display); color: var(--orange-dark); margin-bottom: 16px; letter-spacing: .02em; }
  .leaflet-bottom.leaflet-right { bottom: 0; }
  .modal { align-items: center; }
  .modal-card { border-radius: var(--r-sheet); }
  .toast { bottom: 32px; left: calc(50% + 208px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
