/* Park map (pm-). The park from directly above: a real aerial photo with the land outside the
   gates in shadow, and ride flags that read like the homepage split-flap board. North is up. */

.pm {
  --pm-ground: oklch(28% 0.048 277);
  --pm-green: oklch(33% 0.052 168);
  --pm-water: oklch(34% 0.072 236);
  --pm-ring: oklch(47% 0.075 232);
  --pm-lamp: oklch(90% 0.055 84);
  --pm-glow: oklch(80% 0.12 84 / 0.16);
  --pm-bldg: oklch(33% 0.035 285);
  --pm-venue: oklch(43% 0.04 62);
  --pm-cool: var(--heat-low);
  --pm-warm: var(--heat-med);
  --pm-hot: var(--heat-high);
  --pm-down: oklch(66% 0.03 285);
  --pm-ink-dark: oklch(22% 0.04 276);
  --pm-s: 1;
  padding-bottom: 64px;
}

/* ── Hero ───────────────────────────────────────────────── */
.pm-hero { padding-top: 28px; padding-bottom: 22px; }
.pm-crumbs { display: flex; gap: 8px; font: 600 13px/1 var(--ui); color: var(--ink-3); margin-bottom: 18px; }
.pm-crumbs a { color: var(--ink-3); }
.pm-crumbs a:hover { color: var(--brand); }
.pm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.pm-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 7px 13px 7px 11px;
  font: 700 13px/1 var(--ui); letter-spacing: 0.02em; color: var(--ink-2);
  border-radius: 999px; background: oklch(100% 0 0 / 0.06); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.08);
}
.pm-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.pm-kicker.is-open .pm-pulse { background: var(--heat-low); box-shadow: 0 0 0 0 oklch(81% 0.16 152 / 0.6); animation: pm-ping 2.2s ease-out infinite; }
@keyframes pm-ping { 0% { box-shadow: 0 0 0 0 oklch(81% 0.16 152 / 0.55); } 70% { box-shadow: 0 0 0 9px oklch(81% 0.16 152 / 0); } 100% { box-shadow: 0 0 0 0 oklch(81% 0.16 152 / 0); } }
.pm-title {
  font: 800 clamp(40px, 7vw, 84px)/0.92 var(--display);
  letter-spacing: -0.035em; margin: 0; text-wrap: balance;
}
.pm-title span { display: block; margin-top: 12px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.015em; color: var(--brand); }
.pm-answer { font: 400 17px/1.6 var(--ui); color: var(--ink-2); margin: 0; max-width: 56ch; }
.pm-answer a { color: var(--brand); font-weight: 700; }

/* ── Map and the "Right now" rail ───────────────────────── */
.pm-stage-grid {
  display: grid; gap: 20px; align-items: start; justify-content: center;
  grid-template-columns: minmax(0, calc(min(84vh, 980px) * var(--pm-aspect, 0.969))) minmax(280px, 340px);
}
.pm-rail {
  position: sticky; top: 76px;
  border-radius: 20px; padding: 16px;
  background: linear-gradient(180deg, oklch(19% 0.03 280), oklch(15% 0.03 278));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.07), 0 26px 50px -24px oklch(5% 0.03 280 / 0.8);
  max-height: calc(100vh - 96px); overflow: auto;
}
.pm-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 12px; }
.pm-rail-head h2 { font: 800 21px/1.1 var(--display); letter-spacing: -0.015em; margin: 0; }
.pm-stamp { display: inline-flex; align-items: center; gap: 7px; font: 800 11.5px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 6px 10px; border-radius: 999px; background: oklch(100% 0 0 / 0.06); }
.pm-stamp span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.pm-stamp.is-live span { background: var(--heat-low); }
.pm-rail-sec + .pm-rail-sec { margin-top: 14px; padding-top: 14px; border-top: 1px dashed oklch(42% 0.04 280); }
.pm-rail-sec h3 { font: 800 11px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 4px 9px; }
.pm-rail-lede { font: 500 14px/1.45 var(--ui); color: var(--ink-3); margin: 0 4px 12px; }
.pm-board, .pm-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pm-row {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 54px; padding: 8px 10px 8px 14px; border: 0; border-radius: 11px; cursor: pointer;
  font: inherit; text-align: left; color: var(--ink);
  background: oklch(22% 0.028 280); box-shadow: inset 3px 0 0 var(--row-lamp, oklch(40% 0.03 280));
  transition: background .18s;
}
.pm-row:hover { background: oklch(26% 0.04 282); }
.pm-row:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.pm-row.pm-cool { --row-lamp: var(--heat-low); }
.pm-row.pm-warm { --row-lamp: var(--heat-med); }
.pm-row.pm-hot { --row-lamp: var(--heat-high); }
.pm-row.pm-down { --row-lamp: var(--ink-3); }
.pm-row-name { display: grid; min-width: 0; font: 700 15.5px/1.2 var(--display); letter-spacing: -0.01em; }
.pm-row-name small { font: 600 12px/1.3 var(--ui); letter-spacing: 0; color: var(--ink-3); margin-top: 2px; }
.pm-row-tag { font: 800 11px/1 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding: 6px 8px; border-radius: 6px; background: oklch(100% 0 0 / 0.07); }
.pm-flap { display: inline-flex; gap: 3px; }
.pm-flap i {
  position: relative; width: 22px; height: 32px; display: grid; place-items: center; overflow: hidden;
  font-style: normal; font: 700 20px/1 var(--display); color: oklch(96% 0.02 86);
  border-radius: 4px; background: linear-gradient(180deg, oklch(29% 0.012 280) 0 50%, oklch(25% 0.012 280) 50%);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.08), 0 2px 0 oklch(0% 0 0 / 0.55);
}
.pm-flap i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: oklch(8% 0.01 280); }
.pm-row.pm-hot .pm-flap i { color: var(--heat-high); }
.pm-row.pm-warm .pm-flap i { color: var(--heat-med); }
.pm-row.pm-cool .pm-flap i { color: var(--heat-low); }
.pm-plan .pm-row { grid-template-columns: 62px minmax(0, 1fr); --row-lamp: var(--brand); }
.pm-plan-time { font: 800 14px/1 var(--display); color: var(--brand); font-variant-numeric: tabular-nums; }
.pm-quiet { font: 600 14px/1.4 var(--ui); color: var(--heat-low); margin: 0 4px; }
.pm-rail-cta { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 11px; text-align: center; font: 800 14px/1 var(--ui); color: var(--brand-ink); background: var(--brand); text-decoration: none; }
.pm-rail-cta:hover { background: var(--brand-press); }

/* ── Stage ──────────────────────────────────────────────── */
.pm-stage { margin-bottom: 48px; }

.pm-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(16% 0.035 276);
  overflow: hidden;
}
.pm-tools {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.pm-tools[hidden], .pm-zoom[hidden] { display: none; }
.pm-layers, .pm-actions { display: flex; flex-wrap: wrap; gap: 6px; pointer-events: auto; }
.pm-chip, .pm-btn, .pm-zoom button {
  font: 600 13px/1 var(--ui);
  color: var(--ink);
  background: oklch(22% 0.045 276 / 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px;
}
.pm-chip[aria-pressed="false"] { color: var(--ink-3); }
.pm-chip[aria-pressed="false"] .pm-sw { opacity: 0.35; }
.pm-chip[aria-pressed="true"] { border-color: var(--brand); background: oklch(84% 0.130 86 / 0.16); }
.pm-chip:hover, .pm-btn:hover, .pm-zoom button:hover { border-color: var(--brand); }
.pm-chip:focus-visible, .pm-btn:focus-visible, .pm-zoom button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pm-pin:focus, .pm-am-food:focus { outline: none; }
.pm-btn { background: var(--brand); color: var(--pm-ink-dark); border-color: var(--brand); }
.pm-btn:hover { background: var(--brand-press); }
.pm-btn[data-pm-locate] { background: oklch(22% 0.045 276 / 0.86); color: var(--ink); border-color: var(--line); }
.pm-btn[aria-pressed="true"] { border-color: oklch(80% 0.13 230); color: oklch(86% 0.1 230); }

.pm-sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pm-sw-ride { background: linear-gradient(90deg, var(--pm-cool) 33%, var(--pm-warm) 33% 66%, var(--pm-hot) 66%); }
.pm-sw-food { background: oklch(95% 0.03 84); border-radius: 50%; }
.pm-sw-wc { background: oklch(56% 0.13 300); border-radius: 50%; }
.pm-sw-water { background: oklch(58% 0.13 235); border-radius: 50%; }

.pm-viewport {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  aspect-ratio: var(--pm-ratio, 1000 / 1032);
  max-height: min(86vh, 980px);
  margin-inline: auto;
}
.pm-viewport.is-dragging { cursor: grabbing; }
.pm-viewport.is-zoomed { touch-action: none; }
.pm-svg { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; }

/* ── Photo base ─────────────────────────────────────────── */
.pm-photo { image-rendering: auto; }
.pm-dim { fill: oklch(13% 0.04 276 / 0.8); }
.pm-edge { fill: none; stroke: oklch(96% 0.03 84 / 0.55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.pm-label {
  font-family: var(--ui);
  paint-order: stroke;
  stroke: oklch(14% 0.03 276 / 0.82);
  stroke-width: 4.5px;
  stroke-linejoin: round;
  pointer-events: none;
}
.pm-label-pavilion { font-size: calc(12.5px * var(--pm-ls, 1)); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; fill: oklch(98% 0.01 84); }
.pm-label-area { font: 800 calc(21px * var(--pm-ls, 1)) var(--display); letter-spacing: -0.005em; fill: var(--brand); stroke-width: 5.5px; }
.pm-label-gate { font-size: calc(12px * var(--pm-ls, 1)); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; fill: oklch(90% 0.08 230); }

.pm-compass circle { fill: oklch(22% 0.045 276 / 0.8); stroke: var(--line-2); }
.pm-compass path { fill: var(--brand); }
.pm-compass text { font: 800 13px var(--display); fill: var(--brand); text-anchor: middle; }

/* ── Amenity layers ─────────────────────────────────────── */
.pm-am { display: none; }
.layer-food .pm-am-food, .layer-restroom .pm-am-restroom, .layer-water .pm-am-water { display: inline; }
.pm-am > * { transform: scale(calc(var(--pm-s) * 1.25)); }
/* Place badges: a colored disc with a white ring and a plain symbol, about 24px on screen. */
.pm-am-food { cursor: pointer; }
.pm-badge { stroke: oklch(99% 0.01 84); stroke-width: 2; }
.pm-am-food .pm-badge { fill: oklch(95% 0.03 84); stroke: oklch(30% 0.05 60); }
.pm-am-restroom .pm-badge { fill: oklch(56% 0.13 300); }
.pm-am-water .pm-badge { fill: oklch(58% 0.13 235); }
.pm-glyph { fill: none; stroke: oklch(26% 0.05 60); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-glyph-fill { fill: oklch(99% 0.01 84); }
.pm-am-food:hover .pm-badge, .pm-am-food.is-active .pm-badge { fill: var(--brand); }
.pm-am-food:focus-visible { outline: none; }
.pm-am-food:focus-visible .pm-badge { stroke: var(--brand); stroke-width: 3; }

/* ── Ride pins ──────────────────────────────────────────── */
.pm-pins-minor, .pm-pins-major { display: none; }
.layer-food .pm-pins-minor, .layer-restroom .pm-pins-minor, .layer-water .pm-pins-minor { opacity: 0.35; pointer-events: none; }
.layer-rides .pm-pins-minor, .layer-rides .pm-pins-major { display: inline; }
.pm-pin { cursor: pointer; text-decoration: none; }
.pm-pins-major, .pm-pins-minor, .pm-amen { filter: url(#pm-lift); }
.pm-pin-body { transform: scale(var(--pm-s)); transition: transform 0.12s ease; }
/* Wait marker: the homepage live board shrunk onto the map. Dark pill, glowing lamp in the
   wait color, cream split-flap digits, a stem down to a ring at the ride entrance. */
.pm-pill { fill: oklch(16% 0.03 280 / 0.94); stroke: var(--pm-heat, var(--pm-cool)); stroke-width: 2; }
.pm-stem { fill: var(--pm-heat, var(--pm-cool)); }
.pm-lamp { fill: var(--pm-heat, var(--pm-cool)); filter: drop-shadow(0 0 3px var(--pm-heat, var(--pm-cool))); }
.pm-anchor { fill: var(--pm-heat, var(--pm-cool)); stroke: oklch(99% 0.01 84); stroke-width: 2.2; }
.pm-tile-a { fill: oklch(30% 0.012 280); }
.pm-tile-b { fill: oklch(25% 0.012 280); }
.pm-tile-seam { fill: oklch(8% 0.01 280); }
.pm-digit { font: 700 19px var(--display); fill: oklch(97% 0.02 86); text-anchor: middle; dominant-baseline: central; }
.pm-unit { font: 800 9.5px var(--ui); letter-spacing: 0.06em; text-transform: uppercase; fill: var(--ink-3); }
.pm-word { font: 800 12.5px var(--ui); letter-spacing: 0.1em; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.pm-pin.pm-cool { --pm-heat: var(--pm-cool); }
.pm-pin.pm-warm { --pm-heat: var(--pm-warm); }
.pm-pin.pm-hot  { --pm-heat: var(--pm-hot); }
.pm-pin.pm-down { --pm-heat: oklch(70% 0.03 285); }
.pm-pin.pm-closed { --pm-heat: oklch(55% 0.03 285); }
.pm-closed .pm-lamp, .pm-down .pm-lamp { filter: none; }
.pm-closed .pm-pill { fill: oklch(16% 0.03 280 / 0.82); }
.pm-closed .pm-word { fill: var(--ink-3); }
.pm-pin:hover .pm-pill, .pm-pin.is-active .pm-pill { stroke: oklch(99% 0.01 84); }
/* Compact markers for a crowded whole-park view; the full board marker takes over when zoomed. */
.pm-mini { display: none; }
.pm-svg.is-compact .pm-mini { display: inline; }
.pm-svg.is-compact .pm-full { display: none; }
.pm-svg.is-compact .pm-pin.is-active .pm-mini, .pm-svg.is-compact .pm-pin:hover .pm-mini { display: none; }
.pm-svg.is-compact .pm-pin.is-active .pm-full, .pm-svg.is-compact .pm-pin:hover .pm-full { display: inline; }
.pm-mini-pill { fill: var(--pm-heat, var(--pm-cool)); stroke: oklch(99% 0.01 84); stroke-width: 1.6; }
.pm-mini-stem { fill: oklch(99% 0.01 84); }
.pm-mini-num { font: 800 13px var(--display); font-variant-numeric: tabular-nums; text-anchor: middle; dominant-baseline: central; fill: oklch(18% 0.03 276); }
.pm-svg.is-compact .pm-major .pm-name { font-size: 12px; }
.pm-pin:focus-visible .pm-pill { stroke: var(--brand); stroke-width: 3; }
.pm-hit { fill: transparent; }
/* Films, shows and exhibits: a small dot in the wait color, named once zoomed in. */
.pm-dot { fill: var(--pm-cool); stroke: oklch(99% 0.01 84); stroke-width: 1.6; }
.pm-warm .pm-dot { fill: var(--pm-warm); }
.pm-hot .pm-dot { fill: var(--pm-hot); }
.pm-down .pm-dot { fill: var(--pm-down); }
.pm-closed .pm-dot { fill: oklch(58% 0.03 285); }
/* A closed headline ride keeps its flag, muted and empty, so the map still says what is where. */
.pm-name {
  font: 700 11px var(--ui);
  text-anchor: middle;
  fill: oklch(99% 0.01 84);
  paint-order: stroke;
  stroke: oklch(12% 0.03 276 / 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.15s;
}
/* Headline rides are always named. Smaller attractions are named once zoomed in, or when pointed at. */
.pm-major .pm-name, .pm-svg.is-close .pm-name, .pm-pin:hover .pm-name, .pm-pin:focus-visible .pm-name, .pm-pin.is-active .pm-name { opacity: 1; }
.pm-major .pm-name { font-size: 15px; }
.pm-major .pm-name.is-tucked { opacity: 0; }
.pm-pin:hover .pm-name.is-tucked, .pm-pin:focus-visible .pm-name.is-tucked, .pm-pin.is-active .pm-name.is-tucked { opacity: 1; }
.pm-closed.pm-major .pm-name { fill: oklch(92% 0.02 84); }
.pm-pin:hover .pm-pin-body, .pm-pin.is-active .pm-pin-body { transform: scale(calc(var(--pm-s) * 1.1)); }

.pm-you-dot { fill: oklch(78% 0.14 232); stroke: oklch(98% 0.01 84); stroke-width: 2.5; }
.pm-you > * { transform: scale(var(--pm-s)); }
.pm-you-halo { animation: pm-pulse 2.4s ease-out infinite; transform-origin: 0 0; }
@keyframes pm-pulse { 0% { opacity: 0.9; } 100% { opacity: 0.2; } }

/* ── Zoom + card + note ─────────────────────────────────── */
.pm-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.pm-zoom button { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 18px; border-radius: 12px; }
.pm-locate svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pm-locate[aria-pressed="true"] { color: oklch(86% 0.1 230); border-color: oklch(80% 0.13 230); }

.pm-card {
  position: absolute; left: 12px; bottom: 12px; z-index: 4;
  width: min(340px, calc(100% - 76px));
  background: oklch(21% 0.045 276 / 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 52px 12px 16px;
  box-shadow: 0 4px 12px oklch(10% 0.03 276 / 0.4);
}
.pm-card-top { display: flex; gap: 12px; align-items: flex-start; }
.pm-card-wait {
  flex: none; min-width: 58px; text-align: center; border-radius: 10px; padding: 7px 6px 6px;
  font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--pm-ink-dark); background: var(--pm-cool);
}
.pm-card-wait small { display: block; font: 700 10px/1.2 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.pm-card-wait.pm-warm { background: var(--pm-warm); }
.pm-card-wait.pm-hot { background: var(--pm-hot); }
.pm-card-wait.pm-card-eat { background: oklch(93% 0.03 84); font-size: 15px; padding: 12px 6px; }
.pm-card-wait.pm-down, .pm-card-wait.pm-closed { background: var(--pm-down); font-size: 15px; padding: 12px 6px; }
.pm-card h3 { font: 800 19px/1.15 var(--display); margin: 2px 0 4px; }
.pm-card-area { font: 600 12px/1.3 var(--ui); color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.pm-card dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 12px 0; font: 500 14px/1.35 var(--ui); }
.pm-card dt { color: var(--ink-3); }
.pm-card dd { margin: 0; color: var(--ink); }
.pm-card-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 14px/1.3 var(--ui); }
.pm-card-close {
  position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink-3); cursor: pointer; font-size: 18px; line-height: 1;
}
.pm-card-close:hover { color: var(--ink); border-color: var(--line-2); }

.pm-note {
  position: absolute; left: 50%; top: 64px; transform: translateX(-50%); z-index: 4;
  max-width: calc(100% - 24px);
  background: oklch(21% 0.045 276 / 0.95); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 10px 14px; font: 500 14px/1.4 var(--ui); color: var(--ink-2); margin: 0;
}

/* ── Legend ─────────────────────────────────────────────── */
.pm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.pm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 0; font: 600 13px/1.2 var(--ui); color: var(--ink-2); }
.pm-legend li { display: inline-flex; align-items: center; gap: 7px; }
.pm-key { width: 16px; height: 11px; border-radius: 3px; background: var(--pm-cool); border: 1px solid oklch(18% 0.04 276); }
.pm-key.pm-warm { background: var(--pm-warm); }
.pm-key.pm-hot { background: var(--pm-hot); }
.pm-key.pm-down { background: var(--pm-down); font: 800 9px/11px var(--display); text-align: center; color: var(--pm-ink-dark); }
.pm-key.pm-closed { background: oklch(44% 0.035 285); border-color: oklch(62% 0.03 285); }
.pm-key.pm-minor { background: transparent; border: 2px solid var(--ink-2); width: 9px; height: 9px; border-radius: 50%; }
.pm-orient { flex-basis: 100%; margin: 0; font: 500 13px/1.4 var(--ui); color: var(--ink-3); }
.pm-fresh { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 13px/1.2 var(--ui); color: var(--ink-3); }
.pm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pm-cool); }
.pm-fresh.is-closed .pm-live-dot { background: oklch(58% 0.03 285); }
.pm-fresh.is-stale .pm-live-dot { background: var(--pm-warm); }

/* ── Body ───────────────────────────────────────────────── */
.pm-body { display: grid; gap: 64px; padding-top: 24px; }
.pm-eyebrow { font: 800 12px/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }

.pm-gates { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 20px; }
.pm-gate { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.05); }
.pm-gate img { width: 132px; height: 132px; object-fit: cover; border-radius: 12px; display: block; }
.pm-gate h3 { font: 800 19px/1.15 var(--display); letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink); text-transform: none; }
.pm-gate p { font-size: 15px; line-height: 1.55; margin: 0; }

.pm-lands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
@media (max-width: 760px) { .pm-lands { grid-template-columns: 1fr; } }
.pm-land { border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.05); }
.pm-land-photo { position: relative; aspect-ratio: 16 / 8; }
.pm-land-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-land-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, oklch(15% 0.03 278 / 0.92)); }
.pm-land-photo h3 { position: absolute; left: 16px; bottom: 12px; z-index: 1; margin: 0; font: 800 22px/1 var(--display); letter-spacing: -0.015em; text-transform: none; color: oklch(99% 0.01 84); text-shadow: 0 1px 8px oklch(0% 0 0 / 0.6); }
.pm-land .pm-rides { padding: 6px 16px 12px; }
.pm-land .pm-ride:last-child { border-bottom: 0; }

.pm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 22px; }
.pm-tile { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.05); }
.pm-tile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px oklch(84% 0.13 86 / 0.55); }
.pm-tile h3 { font: 800 16px/1.2 var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin: 2px 0 4px; }
.pm-tile p { font-size: 14px; line-height: 1.6; margin: 0; }
.pm-tile p a, .pm-gate p a:not(:hover) { color: var(--ink-2); text-decoration: none; }
.pm-tile p a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pm-sec h2 { font: 800 clamp(24px, 3.4vw, 34px)/1.1 var(--display); letter-spacing: -0.015em; margin: 0 0 12px; text-wrap: balance; }
.pm-sec h3 { font: 800 15px/1.2 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
.pm-sec p { font: 400 17px/1.65 var(--ui); color: var(--ink-2); max-width: 64ch; }
.pm-more { margin-top: 24px; }
.pm-more summary { cursor: pointer; font: 700 15px/1.3 var(--ui); color: var(--ink-2); padding: 10px 0; }
.pm-more summary:hover { color: var(--brand); }
.pm-lede { margin-top: 0; }
.pm-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 32px; margin-top: 24px; }
.pm-rides { list-style: none; padding: 0; margin: 0; }
.pm-ride {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line); font: 500 15px/1.35 var(--ui);
}
.pm-ride a { color: var(--ink); text-decoration: none; }
.pm-ride a:hover { color: var(--brand); text-decoration: underline; }
.pm-ride-meta { font: 500 12px/1 var(--ui); color: var(--ink-3); white-space: nowrap; }
.pm-ride-wait { font: 800 13px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--pm-ink-dark); background: var(--pm-cool); padding: 6px 9px; border-radius: 999px; }
.pm-ride.pm-warm .pm-ride-wait { background: var(--pm-warm); }
.pm-ride.pm-hot .pm-ride-wait { background: var(--pm-hot); }
.pm-ride.pm-down .pm-ride-wait, .pm-ride.pm-closed .pm-ride-wait { color: var(--ink-2); background: oklch(100% 0 0 / 0.07); font-weight: 700; }

.pm-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }


.pm-print { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; }
@media (max-width: 820px) { .pm-print { grid-template-columns: 1fr; } }
.pm-figure { margin: 0; }
.pm-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.pm-figure figcaption { font: 500 13px/1.4 var(--ui); color: var(--ink-3); margin-top: 8px; }
.pm-linkbtn { font: inherit; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pm-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; max-width: 72ch; }
.pm-faq summary { cursor: pointer; font: 700 17px/1.35 var(--ui); color: var(--ink); }
.pm-faq summary:hover { color: var(--brand); }
.pm-faq details p { margin: 8px 0 0; }

.pm-next { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-next a {
  font: 600 14px/1 var(--ui); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px;
}
.pm-next a:hover { border-color: var(--brand); color: var(--brand); }
.pm-credit p { font: 400 13px/1.55 var(--ui); color: var(--ink-3); max-width: 70ch; margin: 0; }
/* The floating tip jar would sit on the map controls; this page keeps that corner clear. */
body:has(.pm) .churro-jar { display: none; }
.pm-credit a { color: var(--ink-2); }

@media (max-width: 1000px) {
  .pm-hero-grid { grid-template-columns: 1fr; }
  .pm-stage-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-mapcol { max-width: calc(min(84vh, 980px) * var(--pm-aspect, 0.969)); width: 100%; margin-inline: auto; }
  .pm-rail { position: static; max-height: none; }
}

@media (max-width: 640px) {
  .pm-hero { padding-top: 16px; padding-bottom: 16px; }
  .pm-crumbs { margin-bottom: 12px; }
  .pm-answer { font-size: 15px; line-height: 1.5; }
  .pm-gate { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .pm-gate img { width: 92px; height: 92px; }
  .pm-stage.wrap { padding-inline: 0; }
  .pm-frame { border-radius: 0; border-inline: 0; }
  .pm-viewport { max-height: none; }
  .pm-chip { min-height: 44px; }
  .pm-chip, .pm-btn { padding: 8px 11px; font-size: 12.5px; }
  .pm-card { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .pm-zoom { right: 8px; bottom: 8px; }
  .pm-frame:has(.pm-card:not([hidden])) .pm-zoom { display: none; }
  .pm-foot { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-you-halo { animation: none; }
  .pm-pin-body, .pm-name { transition: none; }
}

/* ── Print: just the map and the ride list, ink-friendly ─ */
@media print {
  @page { size: letter portrait; margin: 0.4in; }
  body { background: #fff !important; color: #111 !important; }
  .sb-bar, .news-band, .churro-jar, footer.foot, .foot-fine, .site-footer, nav:not(.pm-crumbs), .pm-tools, .pm-zoom, .pm-card, .pm-note,
  .pm-answer, .pm-crumbs, .pm-fresh, .pm-split, #food, .pm-faq, .pm-print, .pm-rail, .pm-kicker, .pm-eyebrow,
  .pm-sec:has(.pm-gates), .pm-land-photo, .pm-next, .bmc-float, footer:not(.pm-credit) { display: none !important; }
  .pm { --pm-ground: #f3f1ea; --pm-green: #d7e6d2; --pm-water: #bcd7ea; --pm-ring: #9cc1dc; --pm-lamp: #8a7a5a;
        --pm-glow: transparent; --pm-bldg: #d9d5e3; --pm-venue: #e8cf9e; color: #111; }
  .pm-title { color: #111; font-size: 24pt; max-width: none; }
  .pm-title span { color: #444; display: inline; font-size: 0.6em; }
  .pm-frame { border: 1px solid #999; background: #fff; break-inside: avoid; }
  .pm-viewport { max-height: none; }
  .pm-dim { fill: rgba(255,255,255,0.55); }
  .pm-label-pavilion, .pm-label-gate { fill: #333; stroke: #fff; }
  .pm-label-area { fill: #7a5a00; stroke: #fff; }
  .pm-name { opacity: 0 !important; }
  .pm-major .pm-name { opacity: 1 !important; fill: #111; stroke: #fff; font-size: 10px; }
  .pm-pill { fill: #fff; }
  .pm-digit, .pm-word { fill: #111; }
  .pm-label-area { fill: #333; }
  .pm-compass circle { fill: #fff; stroke: #999; }
  .pm-compass path, .pm-compass text { fill: #7a5a00; }
  .pm-legend, .pm-sec h2, .pm-sec h3 { color: #111; }
  .pm-sec p, .pm-ride, .pm-ride a, .pm-credit p { color: #222; }
  .pm-ride { border-color: #ccc; font-size: 10pt; padding: 4px 0; }
  .pm-ride-wait { color: #111 !important; }
  #rides { break-before: page; }
}
