:root {
  --pp-css: 1;
  --measure: 640px;
  --map-you: #1da1f2;
  --paper: #ffffff;
  --bg: var(--paper);
  --ink: #2a2018;
  --brand: #812dab;
  --brand-soft: color-mix(in srgb, var(--brand) 15%, var(--bg));
  --thumb-bg: #efeeeb;
  --thumb-bg-edge: #ddd9d2;
  --line: #e5e0d8;
  --ok: #2e933c;
  --display: "Young Serif", Georgia, serif;
  --numbers: "Vollkorn", Georgia, serif;
  --brand-ink: var(--bg);
  --banner-ink: var(--brand-ink);  
  --danger: #c0392b;
  --hue-cherry: #a81f2d;
  --hue-cherry-line: var(--hue-cherry);
  --hue-cherry-soft: #fbdfdf;
  --hue-cherry-ink: var(--bg);
  --hue-sky: #2f6f9e;
  --hue-sky-line: var(--hue-sky);
  --hue-sky-soft: color-mix(in srgb, var(--hue-sky) 15%, var(--bg));
  --hue-sky-ink: var(--bg);
  --hue-butter: #c8951a;
  --hue-butter-line: #a87d14;
  --hue-butter-soft: color-mix(in srgb, var(--hue-butter) 15%, var(--bg));
  --hue-butter-ink: var(--ink);
  --hue-leaf: #2f6f4a;
  --hue-leaf-line: var(--hue-leaf);
  --hue-leaf-fade: #257d49;
  --hue-leaf-soft: color-mix(in srgb, var(--hue-leaf) 15%, var(--bg));
  --hue-leaf-ink: var(--bg);
  --kind-ride: var(--hue-cherry);
  --kind-ride-line: var(--hue-cherry-line);
  --kind-ride-soft: var(--hue-cherry-soft);
  --kind-ride-ink: var(--hue-cherry-ink);
  --kind-show: var(--hue-butter);
  --kind-show-line: var(--hue-butter-line);
  --kind-show-soft: var(--hue-butter-soft);
  --kind-show-ink: var(--hue-butter-ink);
  --kind-dining: var(--hue-sky);
  --kind-dining-line: var(--hue-sky-line);
  --kind-dining-soft: var(--hue-sky-soft);
  --kind-dining-ink: var(--hue-sky-ink);
  --kind-shop: var(--hue-leaf);
  --kind-shop-fade: var(--hue-leaf-fade);
  --kind-shop-line: var(--hue-leaf-line);
  --kind-shop-soft: var(--hue-leaf-soft);
  --kind-shop-ink: var(--hue-leaf-ink);
  --tier-bronze: #915627;
  --tier-bronze-ink: var(--bg);
  --tier-silver: #918b81;
  --tier-silver-ink: var(--bg);
  --tier-gold: #a38714;
  --tier-gold-ink: var(--ink);
  --tier-cherry: var(--hue-cherry);
  --tier-cherry-ink: var(--hue-cherry-ink);
  --tier-sky: var(--hue-sky);
  --tier-sky-ink: var(--hue-sky-ink);
  --tier-brand: var(--brand);
  --tier-brand-ink: var(--brand-ink);
  --tier-night: var(--ink);
  --tier-night-ink: var(--paper);
  --tier-leaf: var(--hue-leaf);
  --tier-leaf-ink: var(--hue-leaf-ink);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1512; --ink: #f4ead8; --brand: #b864e1; --line: #302722;
    --hue-cherry: #e8556b; --hue-cherry-soft: #3a1f24;
    --danger: #e86b5c;  
    --thumb-bg: #2b2724; --thumb-bg-edge: #201d19;
    --hue-sky: #6fb3dd;
    --hue-butter: #e8b53f;        
    --hue-butter-ink: var(--bg);  
    --hue-leaf: #5cbf85;
    --hue-leaf-fade: var(--hue-leaf);
    --tier-bronze: #cd9f7a;
    --tier-silver: #b1a9a0;
    --tier-gold: #d9b526;
    --tier-gold-ink: var(--bg);    
  }
}
* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 "Nunito Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tip-banner-h, 0px) + env(safe-area-inset-bottom, 0px));
}
main {
  max-width: var(--measure); margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-right, 0px)) 3rem max(1rem, env(safe-area-inset-left, 0px));
}
.park-header {
  position: sticky; top: 0; background: var(--bg); padding: .5rem 0 .5rem; z-index: 10;
  border-bottom: 1px solid var(--line); box-shadow: 0 -1px 0 var(--bg);
}
.header-bar { display: flex; align-items: center; gap: .6rem; }
.park-header h1 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin: 0; flex: 1; min-width: 0; }
.crumb { font-size: .8rem; color: var(--brand); text-decoration: none; display: inline-block; padding: .8rem .35rem; margin: -.5rem 0; white-space: nowrap; }
.crumb-row { margin: 0; }
.home-link {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--brand); text-decoration: none;
  padding: .8rem .5rem; margin: -.5rem 0; flex: none; touch-action: manipulation;
}
.header-map {
  display: inline-block; font-size: .8em; color: var(--brand); text-decoration: none;
  padding: .7rem .5rem; margin: -.7rem 0 -.7rem .1rem; vertical-align: .05em;
  touch-action: manipulation;
}
.ring-wrap { display: flex; align-items: center; gap: .6rem; flex: none; }
.pct-mini {
  display: none; position: relative; flex: none; text-align: center;
  min-width: 2.9em; padding-bottom: .3rem;
  font-family: var(--numbers); font-weight: 900; font-size: 1.2rem;
  font-feature-settings: "onum" 1; color: var(--ink); line-height: 1.1;
}
.pct-mini::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right,
    var(--brand) 0 calc(var(--p, 0) * 1%), var(--line) calc(var(--p, 0) * 1%) 100%);
}
.home-link, .header-map { position: relative; }
.home-link::after { content: ""; position: absolute; inset: 0 -7px; }
.header-map::after { content: ""; position: absolute; inset: -1px -7px; }
.ring-link {
  display: flex; align-items: center; min-height: 44px;
  flex: none; margin-left: auto; text-decoration: none; touch-action: manipulation;
  flex-direction: column; gap: .05rem;
}
.ring-caption {
  display: inline-flex; align-items: center; gap: .15rem;
  font-size: .72rem; font-weight: 700; color: var(--brand); line-height: 1;
}
.ring-caption .bi { font-size: .62rem; }
.park-header.is-condensed .ring-caption { display: none; }
.header-banner {
  display: flex; align-items: center; gap: .5rem;
  margin: .1rem 0 .5rem; padding: .5rem .6rem;
  border-radius: .5rem;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  font-size: .9rem; font-weight: 600;
}
.header-banner .banner-note { flex: 1; margin: 0; color: var(--ink); }
.park-header.is-condensed .header-banner { display: none; }
.header-banner-dismiss {
  position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0;
  border: none; background: none; color: var(--brand);
  font-size: .95rem; cursor: pointer; touch-action: manipulation;
}
.header-banner-dismiss::after { content: ""; position: absolute; inset: -10px; }
.ring { width: 84px; height: 84px; transition: width .15s, height .15s; }
.park-header.is-condensed .search-wrap { display: none; }
.chip-search, .filter-count { display: none; }
.park-header.is-condensed.is-searching .chips .chip-search {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700;
}
.park-header.is-condensed.is-filtered .filter-count {
  display: block; margin: .3rem 0 0; font-size: .8rem; font-weight: 600; opacity: .65;
}
.park-header.is-condensed .chips button {
  min-height: 32px; padding: .3rem .6rem; font-size: .8rem;
}
.park-header.is-condensed h1 { font-size: 1.05rem; display: flex; align-items: center; min-width: 0; }
.park-header.is-condensed .park-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.park-header.is-condensed .ring { display: none; }
.park-header.is-condensed .pct-mini { display: inline-block; }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--line); }
.ring-fg {
  stroke: var(--brand); stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: calc(339.292 * (1 - var(--p, 0) / 100));
  transform: rotate(-90deg); transform-origin: 60px 60px;
  transition: stroke-dashoffset .6s cubic-bezier(.22, 1, .36, 1);
}
.ring-text { font-family: var(--numbers); font-size: 40px; font-weight: 900; fill: var(--ink); font-feature-settings: "onum" 1; }
.ring.is-complete .ring-bg { fill: var(--brand); stroke: var(--brand); }
.ring.is-complete .ring-text { fill: var(--brand-ink); }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: .35rem 0; }
.chips button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: .5rem; padding: .6rem 1rem; font-size: .9rem; min-height: 44px; white-space: nowrap; flex: none; }
.chips button.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 700; }
#park-groups .chips { flex-wrap: wrap; overflow: visible; }
.chip-group { margin-bottom: .9rem; }
.chip-group:last-of-type { margin-bottom: 0; }
.chip-group-title {
  margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: color-mix(in srgb, var(--ink) 65%, var(--bg));
}
.my-parks ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.my-parks li { border-bottom: 1px solid var(--line); }
.my-parks li:last-child { border-bottom: none; }
main .my-parks a:not(.btn):not(.park-card) {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding: .5rem 0; color: var(--ink); text-decoration: none;
  touch-action: manipulation;
}
main .my-parks a:not(.btn):not(.park-card):visited { color: var(--ink); }
.my-parks a:hover .my-parks-name { text-decoration: underline; }
.my-parks-name { color: var(--brand); }
.my-parks-end { display: flex; align-items: center; gap: .55rem; flex: none; }
.my-parks-chevron { color: var(--brand); flex: none; }
.chips button[data-filter="ride"] { border-color: var(--kind-ride-line); }
.chips button[data-filter="show"] { border-color: var(--kind-show-line); }
.chips button[data-filter="dining"] { border-color: var(--kind-dining-line); }
.chips button[data-filter="shop"] { border-color: var(--kind-shop-line); }
.chips button[data-filter="ride"].is-active { background: var(--kind-ride); border-color: var(--kind-ride); color: var(--kind-ride-ink); }
.chips button[data-filter="show"].is-active { background: var(--kind-show); border-color: var(--kind-show); color: var(--kind-show-ink); }
.chips button[data-filter="dining"].is-active { background: var(--kind-dining); border-color: var(--kind-dining); color: var(--kind-dining-ink); }
.chips button[data-filter="shop"].is-active { background: var(--kind-shop); border-color: var(--kind-shop); color: var(--kind-shop-ink); }
#search { width: 100%; min-height: 44px; padding: .65rem 2.9rem .65rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: transparent; color: var(--ink); font-size: 16px; }
.search-wrap { position: relative; }
.search-clear {
  position: absolute; right: 0; top: 0; bottom: 0; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  color: color-mix(in srgb, var(--ink) 55%, var(--bg)); font-size: 18px; line-height: 1; }
.search-clear:hover, .search-clear:focus-visible { color: var(--ink); }
#search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.site-message { background: var(--brand); }
.site-message-inner {
  max-width: var(--measure); margin: 0 auto;
  padding: .55rem max(1rem, env(safe-area-inset-right, 0px)) .55rem max(1rem, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: .75rem;
}
.site-message p { margin: 0; font-size: .9rem; font-weight: 600; flex: 1; color: var(--banner-ink); }
.site-message a { color: var(--banner-ink); text-decoration: underline; text-underline-offset: 2px; }
.site-message-dismiss {
  flex: none; width: 32px; height: 32px; min-height: 32px; position: relative;
  border: none; background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--banner-ink); font-size: 1.25rem; line-height: 1; cursor: pointer;
  touch-action: manipulation;
}
.site-message-dismiss::after { content: ""; position: absolute; inset: -6px; }  
.site-bar { background: var(--brand); margin-bottom: 1px; }
.site-bar-inner { max-width: var(--measure); margin: 0 auto; padding: .1rem 1rem; }
.site-bar.is-home .site-bar-inner { padding: 1.1rem 1rem; }
.site-bar.is-home .wordmark { font-size: 2rem; padding: 0; margin: 0; display: flex; gap: .3em; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: -.01em; color: var(--brand-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; padding: .6rem .3rem; }
.site-logo { height: 1.2em; width: 1.2em; flex: none; transform: translateY(-.03em); }
.site-bar.is-home .site-logo { transform: translateY(-.065em); }
.area summary { list-style: none; cursor: pointer; padding: .9rem 0 .4rem; }
.area-caret { margin-right: .45rem; color: var(--brand); font-size: .85em; }
.area:not([open]) .area-caret-open, .area[open] .area-caret-shut { display: none; }
.area summary h2 { display: inline; font-family: var(--display); font-weight: 400; font-size: 1rem; }
#no-results { padding: 1rem 0; }
#clear-filters, #clear-park-filters { border: 1px solid var(--line); background: transparent; color: var(--brand); border-radius: .5rem; padding: .6rem 1rem; font-size: .9rem; min-height: 44px; cursor: pointer; touch-action: manipulation; }
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp {
  position: relative; display: flex; gap: .75rem; align-items: center;
  min-height: calc(44px + .3rem + 2.6rem + 1.2rem);
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
.exp { scroll-margin-top: 130px; }
.exp:target { background: color-mix(in srgb, var(--brand) 8%, var(--bg)); border-radius: .5rem; }
.exp-thumb {
  width: 64px; height: 64px; flex: none; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, var(--thumb-bg) 38%, var(--thumb-bg-edge) 100%);
}
.exp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.exp-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.exp-thumb-placeholder svg { width: 26px; height: 26px; opacity: .85; }
.exp-thumb-placeholder[data-kind="ride"] svg { color: var(--kind-ride); }
.exp-thumb-placeholder[data-kind="show"] svg { color: var(--kind-show); }
.exp-thumb-placeholder[data-kind="dining"] svg { color: var(--kind-dining); }
.exp-thumb-placeholder[data-kind="shop"] svg { color: var(--kind-shop); }
.exp-open {
  display: flex; gap: .75rem; align-items: center; flex: 1; min-width: 0;
  align-self: stretch; cursor: pointer; touch-action: manipulation;
}
.exp-body {
  flex: 1; min-width: 0; align-self: center;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 64px;
  --name-lead-trim: .3325em;
  --blurb-tail-trim: .4338em;
}
.exp-info {
  display: flex; align-items: center; gap: .4rem; width: 100%;
  border: none; background: none; padding: 0; text-align: left;
  font: inherit; color: inherit; cursor: pointer; touch-action: manipulation;
  margin-top: calc(-1 * var(--name-lead-trim));
}
.exp-name { display: block; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-icon { font-size: .95rem; color: var(--brand); opacity: .7; flex: none; }
.exp-blurb {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: .85rem; line-height: 1.3rem;
  height: 2.6rem; opacity: .75;
  margin: 0 0 calc(-1 * var(--blurb-tail-trim));
}
.exp-blurb-panel {
  position: absolute; top: 100%; left: 52px; right: 0; z-index: 5; margin-top: -8px;
  background: var(--bg); border: 1px solid var(--line); border-radius: .6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14); padding: .6rem .8rem;
}
.exp-panel-name { margin: 0 0 .2rem; font-size: .95rem; font-weight: 700; }
.exp-blurb-panel p { margin: 0; font-size: .9rem; }
.exp-photo { margin: .6rem 0 0; }
.exp-photo img { display: block; width: 100%; max-width: 280px; height: auto; border-radius: .5rem; }
.exp-photo figcaption { margin-top: .25rem; font-size: .72rem; line-height: 1.3; opacity: .65; }
.map-link,
.submit-photo-link,
.popup-link,
.exp-blurb-panel .report-link {
  display: flex; width: fit-content; align-items: center; gap: .4em;
  min-height: 44px; padding: .1rem 0; font-size: .85rem; font-weight: 400;
  touch-action: manipulation;
}
.map-link .bi,
.submit-photo-link .bi,
.popup-link .bi,
.exp-blurb-panel .report-link .bi { color: var(--brand); flex: none; }
.bi::before { line-height: 1; }
.submit-subject { margin: -.2rem 0 1rem; font-size: .95rem; opacity: .75; }
.submit-guidance {
  margin: 1rem 0 1.25rem; padding: .8rem 1rem; border-radius: .6rem;
  background: color-mix(in srgb, var(--brand) 6%, var(--bg));
}
.submit-guidance p { margin: 0 0 .5rem; font-weight: 600; }
.submit-guidance ul { margin: 0; padding-left: 1.2em; }
.submit-guidance li { margin: .25rem 0; }
.submit-guidance li::marker { color: var(--brand); }
.submit-form { margin-top: 1rem; }
.submit-form p { margin: 0 0 1rem; }
.submit-file input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.submit-file-label { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; cursor: pointer; }
.submit-file-caption { font-weight: 600; }
.submit-file-button {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  padding: .5rem 1rem; border: 1px solid var(--brand); border-radius: .6rem;
  background: var(--brand-soft); color: var(--brand); font-weight: 600;
  touch-action: manipulation;
}
.submit-file input[type="file"]:focus-visible ~ .submit-file-label .submit-file-button {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.submit-file-name { display: block; font-size: .9rem; opacity: .75; }
.submit-rights label {
  display: flex; align-items: flex-start; gap: .6rem; min-height: 44px;
  cursor: pointer;
}
.submit-rights input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: .1rem 0 0;
  accent-color: var(--brand);
}
.submit-rights label span { flex: 1; }
.submit-terms { margin: 0 0 1.25rem; font-size: .85rem; opacity: .75; }
.submit-terms a {
  display: inline-block; padding: .8rem .3rem; margin: -.8rem -.3rem;
  touch-action: manipulation;
}
.stats-link a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .1rem .25rem; font-size: .95rem; touch-action: manipulation;
}
.before-badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 65%, var(--bg)); white-space: nowrap;
}
.chips button, .area summary, .crumb { touch-action: manipulation; }
.ride-counter {
  position: relative; width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid color-mix(in srgb, var(--brand) 45%, var(--bg));
  border-radius: 50%; background: transparent;   
  color: color-mix(in srgb, var(--brand) 60%, var(--bg)); line-height: 1;
  touch-action: manipulation;  
  cursor: pointer;
}
.ride-plus { width: 26px; height: 26px; }
.ride-counter.is-logged {
  background: var(--brand); border-color: var(--brand); color: var(--brand-ink);
  animation: pop .3s cubic-bezier(.22, 1.61, .36, 1);
}
.exp[data-kind="ride"] .ride-counter {
  border-color: color-mix(in srgb, var(--kind-ride-line) 45%, var(--bg));
  color: color-mix(in srgb, var(--kind-ride-line) 60%, var(--bg));
}
.exp[data-kind="show"] .ride-counter {
  border-color: color-mix(in srgb, var(--kind-show-line) 70%, var(--bg));
  color: color-mix(in srgb, var(--kind-show-line) 85%, var(--bg));
}
.exp[data-kind="dining"] .ride-counter {
  border-color: color-mix(in srgb, var(--kind-dining-line) 45%, var(--bg));
  color: color-mix(in srgb, var(--kind-dining-line) 60%, var(--bg));
}
.exp[data-kind="shop"] .ride-counter {
  border-color: color-mix(in srgb, var(--kind-shop-fade) 45%, var(--bg));
  color: color-mix(in srgb, var(--kind-shop-fade) 60%, var(--bg));
}
.exp[data-kind="ride"] .ride-counter.is-logged {
  background: var(--kind-ride); border-color: var(--kind-ride); color: var(--kind-ride-ink);
}
.exp[data-kind="show"] .ride-counter.is-logged {
  background: var(--kind-show); border-color: var(--kind-show); color: var(--bg);
}
.exp[data-kind="dining"] .ride-counter.is-logged {
  background: var(--kind-dining); border-color: var(--kind-dining); color: var(--kind-dining-ink);
}
.exp[data-kind="shop"] .ride-counter.is-logged {
  background: var(--kind-shop); border-color: var(--kind-shop); color: var(--kind-shop-ink);
}
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.ride-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px; box-sizing: border-box;
  background: var(--ink); color: var(--bg); border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--numbers); font-weight: 900; font-feature-settings: "onum" 1;
  font-size: .72rem; line-height: 1;
}
.ride-history { margin-top: .6rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.ride-history-heading { margin: 0 0 .35rem; font-size: .85rem; font-weight: 700; }
.ride-history-list { list-style: none; margin: 0; padding: 0; }
.ride-history-list li {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .3rem 0; min-height: 44px;
}
.ride-history-list li + li { border-top: 1px solid var(--line); }
.ride-history-when { font-size: .85rem; opacity: .8; }
.ride-history-remove {
  position: relative; flex: none; display: inline-flex; align-items: center;
  justify-content: center; gap: .35rem; padding: 0;
  min-height: 32px;
  border: none; background: transparent; color: var(--brand);
  font: inherit; font-size: .82rem; font-weight: 600; line-height: 1;
  cursor: pointer; touch-action: manipulation;
}
.ride-history-remove .bi { font-size: 1.05rem; }
.ride-history-remove::after { content: ""; position: absolute; inset: -6px 0; }
#checklist[data-filter="ride"] .exp:not([data-kind="ride"]),
#checklist[data-filter="show"] .exp:not([data-kind="show"]),
#checklist[data-filter="dining"] .exp:not([data-kind="dining"]),
#checklist[data-filter="shop"] .exp:not([data-kind="shop"]) { display: none; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; list-style: none; padding: 0; }
.area-grid li { border: 1px solid var(--line); border-radius: .5rem; padding: .5rem; }
.area-grid .done { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.btn {
  display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink);
  border-radius: .6rem; padding: .7rem 1.2rem; font: inherit; font-weight: 600;
  cursor: pointer; min-height: 44px; touch-action: manipulation; text-decoration: none;
}
.btn-secondary { background: transparent; color: var(--brand); }
.btn-danger { background: #c0392b; border-color: #c0392b; }
.btn-danger-outline { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
input[type="email"], input[type="text"], textarea {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .5rem;
  background: transparent; color: var(--ink); font: inherit; font-size: 16px;
}
.danger-zone { margin-top: 1.5rem; }
.danger-zone summary { list-style: none; cursor: pointer; }
.danger-confirm { margin-top: .75rem; padding: .8rem; border: 1px solid var(--danger); border-radius: .6rem; }
.danger-confirm p { margin: 0 0 .6rem; }
.typebar { margin: 0 0 1rem; max-width: 560px; }
.typebar-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; margin-bottom: .3rem; }
.typebar-label { font-weight: 700; }
.typebar-nums { font-family: var(--numbers); font-weight: 900; font-feature-settings: "onum" 1; }
.typebar-track { height: 8px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; }
.typebar-fill { height: 100%; width: calc(var(--p, 0) * 1%); background: var(--brand); border-radius: 999px; }
.typebar[data-kind="ride"] .typebar-track { background: var(--kind-ride-soft); }
.typebar[data-kind="ride"] .typebar-fill { background: var(--kind-ride); }
.typebar[data-kind="show"] .typebar-track { background: var(--kind-show-soft); }
.typebar[data-kind="show"] .typebar-fill { background: var(--kind-show); }
.typebar[data-kind="dining"] .typebar-track { background: var(--kind-dining-soft); }
.typebar[data-kind="dining"] .typebar-fill { background: var(--kind-dining); }
.typebar[data-kind="shop"] .typebar-track { background: var(--kind-shop-soft); }
.typebar[data-kind="shop"] .typebar-fill { background: var(--kind-shop); }
@media (min-width: 1024px) {
  .stats-page { --measure: 1000px; }
  .stats-page .area-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
main > h1, main > h2, main section > h2, #park-groups h3, .park-card h2 { font-family: var(--display); font-weight: 400; }
.site-footer {
  max-width: 640px; margin: 2rem auto 0; padding: 1rem; font-size: .78rem;
  color: color-mix(in srgb, var(--ink) 70%, var(--bg));
  border-top: 1px solid var(--line);
}
.site-footer a { display: inline-block; padding: .85rem .3rem; }
main a:not(.btn):not(.park-card), .site-footer a { color: var(--brand); }
.tip-link { font-weight: 700; }
.churro { width: 1.15em; height: 1.15em; flex: none; margin-right: .3em; vertical-align: -.2em; }
.churro-sleeve { fill: var(--paper); }
main a:not(.btn):not(.park-card):visited, .site-footer a:visited { color: color-mix(in srgb, var(--brand) 55%, var(--ink)); }
.park-card { display: block; border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; margin: .75rem 0; text-decoration: none; color: inherit; }
.park-card h2 { margin: 0 0 .25rem; }
.continue-card { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--bg)); }
.op-group h3 { font-size: 1.35rem; margin: 1.5rem 0 .25rem; }
.resort-head { font-family: var(--display); font-weight: 400; font-size: .95rem; opacity: .8; margin: .75rem 0 .25rem; }
.park-card h4, .park-card h5 { margin: 0 0 .25rem; font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.num-pct { font-family: var(--numbers); font-weight: 900; font-feature-settings: "onum" 1; }
.park-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: .6rem; }
.park-links a {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; padding: .1rem .25rem; font-size: .95rem;
  touch-action: manipulation;
}
.park-links .bi { color: var(--brand); flex: none; }
.park-page main { padding-bottom: 1rem; }
.park-page .site-footer { margin-top: 1rem; }
.qr { max-width: 220px; }
.link-url-text { overflow-wrap: anywhere; }
.danger { color: var(--danger); }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--tip-banner-h, 0px));
  transform: translateX(-50%);
  width: min(30rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  background: var(--brand); color: var(--brand-ink); border-radius: .5rem;
  padding: .8rem .9rem; font-weight: 600; z-index: 999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  display: flex; align-items: center; gap: .75rem;
}
.toast-message { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast-close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin: -6px -4px -6px 0;
  border: none; background: none; color: var(--brand-ink); opacity: .85;
  font-size: 1rem; cursor: pointer; touch-action: manipulation;
}
.toast-close:hover { opacity: 1; }
.toast-close::after { content: ""; position: absolute; inset: -6px; }
.toast-close { position: relative; }
.toast.has-action { flex-wrap: wrap; row-gap: .1rem; }
.toast.has-action .toast-actions { order: 1; flex: 1 0 100%; display: flex; margin-top: .15rem; }
.toast-action {
  position: relative;
  padding: 8px 16px 6.4px 14.4px;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: none; border-radius: .5rem;
  background: var(--brand-ink); color: var(--brand);
  font: inherit; font-weight: 700; line-height: 1;
  cursor: pointer; touch-action: manipulation;
}
.toast-action:hover { opacity: .9; }
.toast-action::after { content: ""; position: absolute; inset: -7px -8px; }
.toast.has-action .toast-close { align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .25s ease-out; }
  .toast.is-going { transition: opacity .5s; opacity: 0; }
  @keyframes toast-in { from { transform: translate(-50%, 16px); opacity: 0; } }
}
.kind-pref-link {
  margin: .1rem 0 1.4rem;
}
.kind-pref-link a {
  display: flex; width: fit-content; align-items: flex-start; gap: .4em;
  min-height: 44px; font-size: .85rem; color: var(--brand);
  touch-action: manipulation;
}
.kind-pref-link .bi {
  line-height: inherit; flex: none;
  position: relative; top: .125em;
}
.bs-refill-search {
  display: flex; flex-direction: column; gap: .25rem; margin: 0 0 .5rem;
  font-size: .85rem;
}
.bs-refill-search input {
  width: 100%; box-sizing: border-box; min-height: 44px;
  padding: .4rem .6rem; font: inherit;
  border: 1px solid var(--line); border-radius: .4rem;
  background: var(--bg); color: var(--ink);
}
.kind-choices { list-style: none; padding: 0; margin: 0 0 1rem; }
.kind-choices label {
  display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer;
}
.kind-choices input[type="checkbox"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kind-choices .bi { flex: none; font-size: 1.4rem; line-height: 1; }
.kind-choices .kind-box-on { display: none; }
.kind-choices input[type="checkbox"]:checked ~ .kind-box-off { display: none; }
.kind-choices input[type="checkbox"]:checked ~ .kind-box-on { display: inline-block; }
.kind-choices input[type="checkbox"]:focus-visible ~ .bi {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}
.kind-choices li[data-kind="ride"] .bi { color: var(--kind-ride); }
.kind-choices li[data-kind="show"] .bi { color: var(--kind-show); }
.kind-choices li[data-kind="dining"] .bi { color: var(--kind-dining); }
.kind-choices li[data-kind="shop"] .bi { color: var(--kind-shop); }
.restore-file input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.restore-file input[type="file"]:focus-visible ~ label {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.btn-icon { display: inline-flex; align-items: center; gap: .5em; }
.email-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.email-actions form { display: contents; }
.suggest-park { margin: 1.5rem 0 0; }
.suggest-park a {
  display: inline-flex; align-items: center; min-height: 44px;
  touch-action: manipulation;
}
#pp-celebration { display: contents; }
.pp-celebration-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
}
.pp-celebration-card {
  position: fixed; z-index: 1000; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(22rem, calc(100vw - 2rem));
  text-align: center; color: var(--bg);
  opacity: 0; pointer-events: none;
}
.pp-celebration-card.pp-celebration-revealed { opacity: 1; pointer-events: auto; }
.pp-celebration-park { font-family: var(--display); font-size: 1.6rem; margin: 0 0 .25rem; }
.pp-celebration-pct { font-family: var(--display); font-size: 4rem; margin: 0; line-height: 1; }
.pp-celebration-count { margin: .5rem 0 0; font-weight: 700; }
.pp-celebration-date { margin: .25rem 0 0; opacity: .8; }
.pp-celebration-wordmark { font-family: var(--display); margin: 1.25rem 0 0; opacity: .7; }
.pp-celebration-actions { display: flex; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.pp-celebration-card .btn {
  min-height: 44px; touch-action: manipulation;
  background: var(--bg); border-color: var(--bg); color: var(--ink);
}
.pp-celebration-card .btn-secondary {
  background: transparent; border-color: var(--bg); color: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  .pp-celebration-card.pp-celebration-revealed { animation: pp-celebration-in .4s ease-out; }
  @keyframes pp-celebration-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
}
.seasonal-mark { color: var(--brand); flex: none; font-size: .9em; }
.exp-blurb-panel .exp-panel-seasonal {
  display: flex; align-items: center; gap: 0;
  margin: .15rem 0 .5rem; font-weight: 600; color: var(--brand);
}
.exp-panel-seasonal .bi { width: 1em; flex: none; text-align: center; margin-right: .35em; }
.seasonal-note {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.help-plus { color: var(--brand); }
.help-glyph-word {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; list-style: none; padding: 0; }
.badge-card { border: 1px solid var(--brand); border-radius: .75rem; padding: .7rem; display: flex; flex-direction: column; gap: .25rem; background: color-mix(in srgb, var(--brand) 5%, var(--bg)); }
.badge-card[data-tier="bronze"] { border-color: var(--tier-bronze); background: color-mix(in srgb, var(--tier-bronze) 6%, var(--bg)); }
.badge-card[data-tier="silver"] { border-color: var(--tier-silver); background: color-mix(in srgb, var(--tier-silver) 6%, var(--bg)); }
.badge-card[data-tier="gold"] { border-color: var(--tier-gold); background: color-mix(in srgb, var(--tier-gold) 6%, var(--bg)); }
.badge-card[data-tier="cherry"] { border-color: var(--tier-cherry); background: color-mix(in srgb, var(--tier-cherry) 6%, var(--bg)); }
.badge-card[data-tier="sky"] { border-color: var(--tier-sky); background: color-mix(in srgb, var(--tier-sky) 6%, var(--bg)); }
.badge-card[data-tier="brand"] { border-color: var(--tier-brand); background: color-mix(in srgb, var(--tier-brand) 6%, var(--bg)); }
.badge-card[data-tier="night"] { border-color: var(--tier-night); background: color-mix(in srgb, var(--tier-night) 6%, var(--bg)); }
.badge-card[data-tier="leaf"] { border-color: var(--tier-leaf); background: color-mix(in srgb, var(--tier-leaf) 6%, var(--bg)); }
.badge-card strong { font-family: var(--display); font-weight: 400; }
.badge-detail { font-size: .8rem; opacity: .75; }
.badge-date { font-family: var(--numbers); font-weight: 900; font-feature-settings: "onum" 1; font-size: .85rem; }
.badge-download { align-self: flex-start; padding: .5rem .8rem; min-height: 44px; }
.cal-head { font-family: var(--display); font-weight: 400; font-size: .95rem; margin: 1rem 0 .35rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; margin-bottom: .5rem; }
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: .35rem; font-size: .75rem; position: relative;
}
.cal-day.cal-hit { background: var(--brand-soft); }
.cal-day.cal-big { background: var(--brand); color: var(--brand-ink); }
.cal-day.cal-out { opacity: .25; }
.cal-day b { font-family: var(--numbers); font-weight: 900; display: block; font-size: .7rem; }
.map-page { --measure: 1000px; }
#map { height: 70vh; min-height: 420px; border-radius: .75rem; }
.maplibregl-user-location-dot { position: relative; }
.map-heading {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--map-you) 85%, transparent) 0 33%,
    color-mix(in srgb, var(--map-you) 55%, transparent) 48%,
    transparent 60%);
  -webkit-mask-image: conic-gradient(from calc(var(--cone-half, 29deg) * -1),
    #000 0deg calc(var(--cone-half, 29deg) * 2), transparent 0deg);
  mask-image: conic-gradient(from calc(var(--cone-half, 29deg) * -1),
    #000 0deg calc(var(--cone-half, 29deg) * 2), transparent 0deg);
}
.map-pin {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--map-halo); box-shadow: 0 1px 4px rgba(0,0,0,.4);
  cursor: pointer; position: relative;
}
.map-pin::after { content: ""; position: absolute; inset: -14px; }  
.map-pin[data-kind="ride"] { --pin-hue: var(--kind-ride); }
.map-pin[data-kind="show"] { --pin-hue: var(--kind-show); }
.map-pin[data-kind="dining"] { --pin-hue: var(--kind-dining); }
.map-pin[data-kind="shop"] { --pin-hue: var(--kind-shop); }
.map-pin.is-not-logged {
  width: 24px; height: 24px; border-width: 4px;
  background: var(--pin-hue);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}
.map-pin.is-logged {
  width: 20px; height: 20px; border-width: 2px;
  background: var(--pin-hue);
}
.map-attr { font-size: .75rem; color: color-mix(in srgb, var(--ink) 70%, var(--bg)); }
.maplibregl-popup-content { font-family: "Nunito Sans", sans-serif; color: var(--ink); }
.popup-kind { font-size: .8rem; opacity: .75; }
.popup-link { min-height: 0; padding: .25rem 0 0; }
.map-primer {
  position: fixed; inset-inline: 1rem; top: 50%; transform: translateY(-50%);
  max-width: 26rem; margin-inline: auto; z-index: 30;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: .6rem;
  padding: 1rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.map-primer[hidden] { display: none; }
.map-primer-body { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.45; }
.map-primer-body strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.map-primer-actions { display: flex; align-items: center; gap: .75rem; margin: 0; }
.map-primer-actions .btn, .map-primer-cancel { min-height: 44px; }
.map-primer-cancel {
  background: none; border: 0; padding: 0 .25rem; font: inherit;
  color: color-mix(in srgb, var(--ink) 70%, var(--bg)); text-decoration: underline; cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  .maplibregl-popup .maplibregl-popup-content { background: var(--map-halo); }
  .maplibregl-popup .maplibregl-popup-close-button { color: var(--ink); }
  .maplibregl-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,
  .maplibregl-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
  .maplibregl-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
    border-bottom-color: var(--map-halo);
  }
  .maplibregl-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
  .maplibregl-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
  .maplibregl-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
    border-top-color: var(--map-halo);
  }
  .maplibregl-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--map-halo); }
  .maplibregl-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--map-halo); }
}
@media (prefers-color-scheme: dark) {
  .maplibregl-ctrl.maplibregl-ctrl-group { background: var(--map-halo); }
  .maplibregl-ctrl.maplibregl-ctrl-group button + button { border-top-color: rgba(255, 255, 255, .18); }
  .maplibregl-ctrl.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
  .maplibregl-ctrl.maplibregl-ctrl-group button:not(:disabled):hover { background-color: rgba(255, 255, 255, .12); }
}
.map-pin svg { position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; color: var(--map-halo); pointer-events: none; }
.map-pin[data-kind="dining"] svg, .map-legend-swatch[data-kind="dining"] svg { transform: translateX(-.5px); }
.map-pin[data-kind="show"] svg, .map-legend-swatch[data-kind="show"] svg { transform: translateX(-.5px) scale(.8555); }
.map-pin[data-kind="ride"] svg, .map-legend-swatch[data-kind="ride"] svg { transform: scale(.855); }
.map-pin[data-kind="shop"] svg, .map-legend-swatch[data-kind="shop"] svg { transform: translateY(-.5px) scale(.9); }
.popup-kind svg, .exp-panel-kind svg { width: 1em; height: 1em; vertical-align: -.12em; margin-right: .35em; }
.exp-panel-kind { display: flex; align-items: center; gap: 0;
  color: color-mix(in srgb, var(--ink) 75%, var(--bg)); }
.exp-panel-kind svg { flex: none; color: var(--kind-ride); }
.exp-panel-kind[data-kind="ride"] svg, .popup-kind[data-kind="ride"] svg { color: var(--kind-ride); }
.exp-panel-kind[data-kind="show"] svg, .popup-kind[data-kind="show"] svg { color: var(--kind-show); }
.exp-panel-kind[data-kind="dining"] svg, .popup-kind[data-kind="dining"] svg { color: var(--kind-dining); }
.exp-panel-kind[data-kind="shop"] svg, .popup-kind[data-kind="shop"] svg { color: var(--kind-shop); }
.exp-photo .cc-icon,
.photo-page .cc-icon {
  display: inline;
  width: auto;
  height: auto;
  max-width: 1em;
  max-height: 1em;
  margin-left: .2em;
  vertical-align: -.1em;
  border-radius: 0;
}
.photo-page img { display: block; max-width: 100%; height: auto; border-radius: .5rem; }
.photo-page figcaption { margin-top: .5rem; }
.map-legend { display: flex; flex-direction: column; gap: .35rem; margin: .6rem 0 0; font-size: .8rem; }
.map-legend-row { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; }
.map-legend-row span { display: inline-flex; align-items: center; gap: .35rem; }
.map-legend-swatch { position: relative; width: 20px; height: 20px; border-radius: 50%; flex: none; border: 2px solid var(--map-halo); outline: 1px solid var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.map-legend-swatch svg { position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; color: var(--map-halo); }
.map-legend-swatch[data-kind="ride"] { background: var(--kind-ride); }
.map-legend-swatch[data-kind="show"] { background: var(--kind-show); }
.map-legend-swatch[data-kind="dining"] { background: var(--kind-dining); }
.map-legend-swatch[data-kind="shop"] { background: var(--kind-shop); }
.map-legend-swatch.is-not-logged { background: var(--ink); border-width: 4px; width: 24px; height: 24px; }
.map-legend-swatch.is-logged { background: var(--ink); border-width: 2px; }
:root { --tip-banner-h: 0px; }
.footer-tip { font-size: 1.15rem; text-align: center; }
.footer-legal { text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 0 2.5rem; flex-wrap: wrap; margin: 1rem 0; text-align: center; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.footer-nav li a { display: flex; align-items: center; gap: .55em; }
.footer-nav .bi { width: 1.25em; text-align: center; flex: none; }
.footer-disclaimer { text-align: center; }
.tip-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: var(--tip-banner-h);
  background: var(--ink); color: var(--bg);
  font-size: 1.05rem; font-weight: 700; text-align: center;
  padding:
    .6rem
    max(1rem, env(safe-area-inset-right, 0px))
    calc(.6rem + env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
}
.tip-banner .tip-link { color: var(--bg); }
.tip-banner .banner-prompt {
  margin: 0; text-decoration: underline; min-height: 44px; touch-action: manipulation;
}
.tip-link { display: inline-flex; align-items: center; gap: .4em; }
.site-footer .tip-link {
  display: inline-flex; padding: .6rem 1rem;
  border-radius: .75rem;
  background: var(--hue-butter-soft);
}
.tip-link .churro { margin: 0; vertical-align: baseline; }
.tip-banner .churro { width: 1.6em; height: 1.6em; }
.tip-dismiss {
  position: relative; flex: none; width: 24px; height: 24px; padding: 0;
  border: none; background: none; color: var(--bg); font-size: 1.25rem;
  line-height: 1; cursor: pointer; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center;
}
.tip-dismiss::after { content: ""; position: absolute; inset: -10px; }
.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
  z-index: 1001;
}
.skip-link:focus {
  left: .5rem; top: .5rem; width: auto; height: auto; overflow: visible;
  padding: .6rem .9rem; border-radius: .5rem;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 700; text-decoration: none;
}
.lede { font-size: 1.05rem; max-width: 60ch; }
.count-list { list-style: none; padding: 0; margin: .4rem 0 1.2rem; }
.count-list li { display: flex; align-items: baseline; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.count-num { min-width: 3ch; text-align: right; font-weight: 900; font-size: 1.1rem; }
.count-onward { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.count-note { color: color-mix(in srgb, var(--ink) 70%, var(--bg)); font-size: .9rem; max-width: 60ch; }
.rank-list { list-style: none; padding: 0; margin: .6rem 0 1.6rem; counter-reset: rank; }
.rank-row { display: flex; align-items: baseline; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.rank-num { min-width: 2.2ch; text-align: right; font-variant-numeric: tabular-nums;
            color: color-mix(in srgb, var(--ink) 55%, var(--bg)); font-size: .95rem; }
.rank-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.rank-name { font-weight: 700; }
.rank-detail { font-size: .85rem; color: color-mix(in srgb, var(--ink) 65%, var(--bg)); }
.rank-kinds { display: flex; flex-wrap: wrap; gap: .1rem .6rem; font-size: .8rem;
              color: color-mix(in srgb, var(--ink) 60%, var(--bg)); }
.rank-kind + .rank-kind::before { content: "· "; }
.rank-total { min-width: 3.5ch; text-align: right; font-weight: 900; font-size: 1.15rem; }
.print-cta { margin: 1rem 0 1.4rem; }
.print-sheet { max-width: 62rem; }
.print-head { display: flex; align-items: baseline; gap: .6rem; border-bottom: 2px solid var(--ink); padding-bottom: .25rem; margin-bottom: .5rem; }
.print-head strong { font-family: var(--display); font-size: 1.15rem; }
.print-head-total { color: color-mix(in srgb, var(--ink) 65%, var(--bg)); font-size: .8rem; }
.print-head-brand { margin-left: auto; font-family: var(--display); font-size: .85rem; color: var(--brand); }
.print-cols { display: flex; align-items: flex-start; gap: 7mm; }
.print-col { flex: 1 1 0; min-width: 0; }
.print-land { break-inside: auto; }
.print-land-name { display: flex; align-items: baseline; justify-content: space-between; gap: .5em;
  font-family: var(--display); font-size: .78rem; font-weight: 400; margin: .5em 0 .15em; break-after: avoid; border-bottom: 1px solid var(--line); }
.print-land:first-child .print-land-name { margin-top: 0; }
.print-land-count { flex: none; width: 1ch; text-align: center; font-family: var(--numbers); font-weight: 900; font-size: .72em; color: color-mix(in srgb, var(--ink) 55%, var(--bg)); }
.print-list { list-style: none; padding: 0; margin: 0; }
.print-row { display: flex; align-items: flex-start; gap: .35em; font-size: .72rem; line-height: 1.3; break-inside: avoid; }
.print-box { flex: none; width: .8em; height: .8em; border: 1px solid var(--ink); border-radius: 2px; }
.print-name { flex: 1 1 auto; min-width: 0; }
.print-kind { flex: none; width: 1ch; text-align: center; color: color-mix(in srgb, var(--ink) 50%, var(--bg)); }
.print-kind svg { width: .72em; height: .72em; display: inline-block; vertical-align: -.06em; }
.print-foot-key svg { width: .9em; height: .9em; vertical-align: -.12em; }
.print-foot { margin-top: .6rem; padding-top: .25rem; border-top: 1px solid var(--line); font-size: .68rem; color: color-mix(in srgb, var(--ink) 60%, var(--bg)); }
@media print {
  .no-print, .site-bar, .site-footer, .site-message, .tip-banner, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 8pt; }
  main { padding: 0; max-width: none; }
  @page { size: letter portrait; margin: 9mm; }
  .print-sheet { max-width: none; }
  .print-head { border-bottom-color: #000; }
  .print-box { border-color: #000; margin-top: .15em; }
  .print-row { font-size: 7.4pt; line-height: 1.28; }
  .print-land-name { font-size: 8pt; }
  .print-kind { font-size: 6.4pt; }
  .print-cols { gap: 6mm; padding-right: 3mm; }
}
