/* prairie.css — Pulsarun / Wolf Gold: Totem Hunt */

@font-face {
  font-family: 'Anton';
  src: url('/assets/fonts/display-anton.woff2?v2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PRBody';
  src: url('/assets/fonts/body-inter.woff2?v2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --plum-950: #170E1D;
  --plum-900: #211529;
  --plum-800: #2D1D37;
  --plum-700: #3E2A4A;
  --line: rgba(239, 227, 203, 0.14);
  --sand: #EFE3CB;
  --sand-dim: #C3B39C;
  --gold: #F4C542;
  --gold-deep: #C98F22;
  --gold-ink: #3A2508;
  --rose: #F29A8E;
  --sky: #9DB0FF;
  --teal: #5AD8E6;
  --lilac: #F2A8FF;
  --sage: #A8BC8F;

  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'PRBody', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--plum-900);
  color: var(--sand);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #FFE08A; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.pr-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pr-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.pr-skip:focus { top: 12px; }

.pr-ic { flex: none; }

kbd {
  display: inline-grid; place-items: center;
  min-width: 2em; height: 2em; padding: 0 0.45em; margin: 0 0.15em;
  font: 600 0.82em/1 var(--body);
  color: var(--sand);
  background: var(--plum-700);
  border: 1px solid rgba(239, 227, 203, 0.28);
  border-bottom-width: 3px;
  border-radius: 5px;
}

/* ---------- buttons ---------- */

.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0.6em 1.15em;
  font: 700 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.pr-btn--gold { background: var(--gold); color: var(--gold-ink); }
.pr-btn--gold:hover { background: #FFD65E; color: var(--gold-ink); }
.pr-btn--ghost { background: transparent; color: var(--sand); border-color: rgba(239, 227, 203, 0.35); }
.pr-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.pr-btn--big { font-size: 1.15rem; min-height: 52px; padding: 0.7em 1.6em; }

/* ---------- header ---------- */

.pr-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 14, 29, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.pr-bar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.pr-bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sand); }
.pr-bar__mark { color: var(--gold); }
.pr-bar__word { font: 400 1.5rem/1 var(--display); letter-spacing: 0.02em; }
.pr-nav { display: flex; gap: 4px; margin-left: auto; }
.pr-nav__link {
  color: var(--sand-dim); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 10px; border-radius: var(--radius);
}
.pr-nav__link:hover, .pr-nav__link[aria-current="page"] { color: var(--sand); background: rgba(239, 227, 203, 0.07); }
.pr-bar__cta { min-height: 40px; padding: 0.45em 1em; }
.pr-burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; color: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.pr-burger__close { display: none; }
.pr-burger[aria-expanded="true"] .pr-burger__open { display: none; }
.pr-burger[aria-expanded="true"] .pr-burger__close { display: inline; }
.pr-mobilenav { display: none; }

@media (max-width: 900px) {
  .pr-nav, .pr-bar__cta { display: none; }
  .pr-burger { display: inline-flex; }
  .pr-mobilenav[data-open] {
    display: grid; padding: 8px var(--gutter) 16px; border-top: 1px solid var(--line);
  }
  .pr-mobilenav a {
    color: var(--sand); text-decoration: none; padding: 12px 4px; font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- hero + stage ---------- */

.pr-hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) 16px;
}
.pr-hero__head {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px 48px; align-items: center; margin-bottom: clamp(28px, 4vw, 44px);
}
.pr-hero__text { display: grid; gap: 18px; justify-items: start; }
.pr-hero__title {
  margin: 0;
  font: 400 clamp(3.6rem, 8vw, 6.6rem)/0.86 var(--display);
  color: var(--gold);
  letter-spacing: 0.005em;
}
.pr-hero__sub {
  display: block;
  font-size: 0.52em; line-height: 1.1;
  color: var(--sand);
  margin-top: 0.12em;
}
.pr-hero__lead { margin: 0; color: var(--sand); font-size: 1.08rem; }
.pr-hero__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pr-hero__facts li {
  font-size: 0.88rem; font-weight: 600; color: var(--sand-dim);
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.pr-hero__keys { margin: 14px 2px 0; color: var(--sand-dim); font-size: 0.92rem; }

.pr-hero__art { align-self: center; }
.pr-hero__artlink { display: block; border-radius: 10px; }
.pr-hero__art .pr-art__img { box-shadow: 0 0 0 3px var(--gold-deep), 0 20px 50px rgba(0, 0, 0, 0.45); }
.pr-hero__art .pr-art__cap { margin-top: 12px; }
.pr-stage { scroll-margin-top: 76px; }
@media (max-width: 800px) {
  .pr-hero__head { grid-template-columns: 1fr; }
}

/* the stage: a carved gold frame with notched corners */
.pr-stage {
  --notch: 18px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 120px);
  min-height: 320px;
  background: var(--plum-950);
  border: 3px solid var(--gold-deep);
  clip-path: polygon(var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, 0 calc(100% - var(--notch)), 0 var(--notch));
  box-shadow: inset 0 0 0 3px var(--plum-950), inset 0 0 0 5px rgba(244, 197, 66, 0.4);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pr-stage::before, .pr-stage::after {
  content: ''; position: absolute; z-index: 3; pointer-events: none;
  width: calc(var(--notch) * 1.42); height: 3px; background: var(--gold-deep);
}
.pr-stage::before { top: calc(var(--notch) / 2 - 2px); left: -4px; transform: rotate(-45deg); }
.pr-stage::after { bottom: calc(var(--notch) / 2 - 2px); right: -4px; transform: rotate(-45deg); }
.pr-stage:focus-visible { outline: none; border-color: var(--gold); }
.pr-stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 700px) and (orientation: portrait) {
  .pr-stage { aspect-ratio: 3 / 4; --notch: 12px; max-height: calc(100svh - 96px); }
  .pr-hero { padding-left: 12px; padding-right: 12px; }
  .pr-hero__head, .pr-hero__keys { padding: 0 4px; }
}

/* HUD */
.pr-hud {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto 1fr auto;
  padding: clamp(10px, 2vw, 18px);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 0 rgba(23, 14, 29, 0.6);
}
.pr-hud[hidden] { display: none; }
.pr-hud__num { display: block; font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1 var(--display); color: var(--sand); }
.pr-hud__label { display: block; font-size: 0.72rem; font-weight: 600; color: var(--sand-dim); letter-spacing: 0.02em; }
.pr-hud__score { grid-column: 1; grid-row: 1; }
.pr-hud__dist { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; margin-right: 96px; }
.pr-hud__combo { grid-column: 2; grid-row: 1; text-align: center; min-width: 150px; }
.pr-hud__mult {
  display: inline-block;
  font: 400 clamp(1.9rem, 4.6vw, 3rem)/1 var(--display);
  color: var(--gold);
  transition: transform 0.15s;
}
.pr-hud__mult[data-level="1"] { color: var(--sand); }
.pr-hud__mult[data-level="5"] { color: #FFE27A; text-shadow: 0 0 18px rgba(255, 214, 102, 0.8), 0 2px 0 rgba(23, 14, 29, 0.6); }
.pr-hud__meter {
  display: block; width: 120px; height: 6px; margin: 4px auto 3px;
  background: rgba(23, 14, 29, 0.55); border-radius: 3px; overflow: hidden;
}
.pr-hud__meter i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.pr-hud__banner {
  grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 10px;
  display: flex; align-items: stretch; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
  background: rgba(23, 14, 29, 0.72); border: 1px solid rgba(244, 197, 66, 0.45);
  text-shadow: none;
}
.pr-hud__banner[hidden] { display: none; }
.pr-fork { display: grid; gap: 1px; }
.pr-fork b { font: 400 1.05rem/1.1 var(--display); color: var(--gold); letter-spacing: 0.02em; }
.pr-fork small { font-size: 0.75rem; color: var(--sand-dim); }
.pr-fork--right { text-align: right; }
.pr-fork--solo { text-align: center; padding: 0 12px; }
.pr-fork__mid { align-self: center; font-size: 0.72rem; font-weight: 700; color: var(--sand); padding: 2px 8px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.pr-hud__powers {
  grid-column: 1 / -1; grid-row: 4; align-self: end;
  list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap;
}
.pr-power {
  position: relative; overflow: hidden;
  padding: 6px 12px 9px; border-radius: var(--radius);
  background: rgba(23, 14, 29, 0.72);
  font-size: 0.82rem; font-weight: 700;
  border: 1px solid currentColor;
}
.pr-power { display: flex; align-items: center; gap: 6px; padding-left: 6px; }
.pr-power span { color: var(--sand); }
.pr-power__icon { width: 26px; height: 26px; }
.pr-power i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; transform-origin: left; }
.pr-power--sprint { color: var(--teal); }
.pr-power--shield { color: var(--sky); }
.pr-power--howl { color: var(--lilac); }
.pr-hud__tools {
  position: absolute; top: clamp(10px, 2vw, 18px); right: clamp(10px, 2vw, 18px);
  display: flex; gap: 6px; pointer-events: auto;
}
.pr-tool {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(23, 14, 29, 0.66); color: var(--sand);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.pr-tool:hover { border-color: var(--gold); color: var(--gold); }
.pr-ic__off { display: none; }
[aria-pressed="true"] .pr-ic__waves { display: none; }
[aria-pressed="true"] .pr-ic__off { display: inline; }

@media (max-width: 600px) {
  .pr-hud { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto 1fr auto; }
  .pr-hud__score { grid-column: 1; grid-row: 1; }
  .pr-hud__dist { grid-column: 2; grid-row: 1; margin-right: 92px; }
  .pr-hud__combo { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .pr-hud__banner { grid-row: 3; }
  .pr-hud__powers { grid-row: 5; }
  .pr-fork b { font-size: 0.92rem; }
  .pr-fork small { display: none; }
}

/* panels over the stage */
.pr-panel {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center; padding: 16px;
  background: linear-gradient(180deg, rgba(23, 14, 29, 0.35), rgba(23, 14, 29, 0.78));
  overflow: auto;
}
.pr-panel[hidden] { display: none; }
.pr-panel__card {
  width: min(440px, 100%);
  padding: clamp(18px, 3vw, 28px);
  background: rgba(33, 21, 41, 0.94);
  border: 1px solid rgba(244, 197, 66, 0.4);
  border-radius: 10px;
  text-align: center;
}
.pr-panel__card--wide { width: min(560px, 100%); }
.pr-panel__kicker { margin: 0 0 4px; font-size: 0.9rem; font-weight: 600; color: var(--sand-dim); }
.pr-panel__title { margin: 0 0 8px; font: 400 clamp(2rem, 5vw, 2.8rem)/1 var(--display); color: var(--gold); }
.pr-panel__text { color: var(--sand); font-size: 0.98rem; }
.pr-panel__text:empty { display: none; }
.pr-panel__small { margin: 14px 0 0; font-size: 0.85rem; color: var(--sand-dim); }
.pr-panel__keys {
  list-style: none; padding: 0; margin: 4px 0 18px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
  font-size: 0.9rem; color: var(--sand-dim);
}
.pr-panel__touch { display: none; }
@media (pointer: coarse) {
  .pr-panel__keys li { display: none; }
  .pr-panel__keys .pr-panel__touch { display: list-item; list-style: none; }
}
.pr-panel__row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pr-panel__score { margin: 0; font: 400 clamp(2.6rem, 8vw, 4rem)/1 var(--display); color: var(--gold); }
.pr-panel__badge {
  display: inline-block; margin: 8px 0 4px; padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); font-size: 0.82rem; font-weight: 700;
}
.pr-panel__badge[hidden] { display: none; }
.pr-results {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin: 14px 0 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.pr-results div { background: var(--plum-900); padding: 8px 6px; }
.pr-results dt { font-size: 0.74rem; color: var(--sand-dim); }
.pr-results dd { margin: 2px 0 0; font-weight: 700; font-size: 0.98rem; }
@media (max-width: 480px) {
  .pr-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-panel__card { padding: 16px; }
}

/* ---------- sections ---------- */

.pr-section {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 0;
}
.pr-section__head { margin-bottom: 28px; }
.pr-section__title {
  margin: 0 0 10px;
  font: 400 clamp(2.1rem, 4.6vw, 3.1rem)/1.02 var(--display);
  color: var(--sand);
  letter-spacing: 0.005em;
}
.pr-section__lead { color: var(--sand-dim); font-size: 1.08rem; margin: 0; }
.pr-note { margin-top: 16px; color: var(--sand-dim); }
.pr-note--strong {
  color: var(--sand); padding: 14px 16px; border-left: 3px solid var(--gold);
  background: rgba(244, 197, 66, 0.06);
}

/* tables */
.pr-table__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.pr-table table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.pr-table th, .pr-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pr-table thead th { font-size: 0.82rem; font-weight: 700; color: var(--sand-dim); background: var(--plum-800); }
.pr-table tbody th { font-weight: 600; color: var(--sand); }
.pr-table tbody tr:last-child > * { border-bottom: 0; }
.pr-table td { color: var(--sand-dim); }
.pr-or { margin: 0 8px; font-size: 0.85rem; color: var(--sand-dim); }
.pr-table--controls td { white-space: nowrap; }

/* trail guide */
.pr-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pr-group__title {
  margin: 0 0 12px; padding-bottom: 8px;
  font: 400 1.5rem/1 var(--display); letter-spacing: 0.01em;
  border-bottom: 3px solid currentColor;
}
.pr-group:nth-child(1) .pr-group__title { color: var(--gold); }
.pr-group:nth-child(2) .pr-group__title { color: var(--rose); }
.pr-group:nth-child(3) .pr-group__title { color: var(--sky); }
.pr-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pr-card {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px; background: var(--plum-800); border-radius: 10px;
}
.pr-card__art {
  width: 84px; height: 84px; border-radius: 8px;
  background: radial-gradient(circle at 50% 70%, rgba(242, 162, 71, 0.28), rgba(242, 162, 71, 0) 70%), var(--plum-700);
}
.pr-card__title { margin: 0; font-size: 1.05rem; font-weight: 700; }
.pr-card__note { margin: 2px 0 6px; font-size: 0.86rem; font-weight: 600; }
.pr-card--take .pr-card__note { color: var(--gold); }
.pr-card--dodge .pr-card__note { color: var(--rose); }
.pr-card--bonus .pr-card__note { color: var(--sky); }
.pr-card__text { margin: 0; font-size: 0.94rem; color: var(--sand-dim); line-height: 1.5; }
@media (max-width: 980px) { .pr-groups { grid-template-columns: 1fr; } }

/* forks */
.pr-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pr-route {
  padding: 0 16px 16px; border-radius: 10px; background: var(--plum-800); overflow: hidden;
}
.pr-route::before {
  content: ''; display: block; height: 56px; margin: 0 -16px 14px;
  background: linear-gradient(180deg, var(--top), var(--low));
  -webkit-mask: linear-gradient(#000, #000);
}
.pr-route--prairie { --top: #8E4F6E; --low: #F2A247; }
.pr-route--canyon { --top: #8A3A3E; --low: #F08A4B; }
.pr-route--mesa { --top: #5F4A86; --low: #D98FA3; }
.pr-route--riverbed { --top: #4F7F87; --low: #EBC77E; }
.pr-route__name { margin: 0; font: 400 1.45rem/1.05 var(--display); letter-spacing: 0.01em; }
.pr-route__hint { margin: 4px 0 8px; font-size: 0.88rem; font-weight: 700; color: var(--gold); }
.pr-route__text { margin: 0; font-size: 0.94rem; color: var(--sand-dim); }
@media (max-width: 980px) { .pr-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pr-routes { grid-template-columns: 1fr; } }

/* scoring ladder */
.pr-score { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.pr-ladder {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end;
  height: 270px;
}
.pr-ladder__step { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.pr-ladder__bar {
  height: calc(28% + var(--step) * 16%);
  padding: 10px 8px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) calc(40% + var(--step) * 15%), var(--plum-700)), var(--plum-700));
  color: var(--gold-ink);
}
.pr-ladder__mult { font: 400 clamp(1.6rem, 3.4vw, 2.4rem)/1 var(--display); }
.pr-ladder__chain { font-size: 0.8rem; font-weight: 600; line-height: 1.25; color: var(--sand-dim); }
@media (max-width: 800px) { .pr-score { grid-template-columns: 1fr; } .pr-ladder { height: 230px; } }

/* FAQ */
.pr-qa { border-top: 1px solid var(--line); }
.pr-qa__item { border-bottom: 1px solid var(--line); }
.pr-qa__q { margin: 0; }
.pr-qa__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; background: none; border: 0; color: var(--sand); cursor: pointer;
  font: 600 1.06rem/1.4 var(--body); text-align: left;
}
.pr-qa__btn:hover { color: var(--gold); }
.pr-qa__mark { transition: transform 0.2s; color: var(--gold); }
.pr-qa__btn[aria-expanded="true"] .pr-qa__mark { transform: rotate(45deg); }
.pr-qa__a { padding: 0 2px 18px; color: var(--sand-dim); }
.pr-qa__a p { margin: 0; }

/* maker */
.pr-section--maker { padding-bottom: clamp(56px, 8vw, 96px); }
.pr-maker {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center;
  padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 12px;
  background: var(--plum-800);
}
.pr-maker__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .pr-maker { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */

.pr-trail {
  max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 0;
  font-size: 0.9rem; color: var(--sand-dim);
}
.pr-trail__link { color: var(--sand-dim); }
.pr-trail__sep { margin: 0 8px; opacity: 0.6; }
.pr-article {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px var(--gutter) clamp(56px, 8vw, 96px);
}
.pr-article__title { margin: 0 0 14px; font: 400 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); color: var(--gold); }
.pr-article__lead { font-size: 1.12rem; color: var(--sand); }
.pr-article h2 { margin: 2em 0 0.5em; font: 700 1.3rem/1.3 var(--body); color: var(--sand); }
.pr-article p, .pr-article li { color: var(--sand-dim); }
.pr-article ul { padding-left: 1.2em; }
.pr-article li { margin-bottom: 0.4em; }
.pr-article .pr-table { margin: 1em 0; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */

.pr-base { background: var(--plum-950); border-top: 1px solid var(--line); }
.pr-base__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
}
.pr-base__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--sand); text-decoration: none; font: 400 1.4rem/1 var(--display); }
.pr-base__brand span { color: var(--gold); }
.pr-base__about { color: var(--sand-dim); font-size: 0.92rem; margin: 10px 0 0; }
.pr-base__head { font-size: 0.85rem; font-weight: 700; color: var(--sand); margin: 0 0 8px; }
.pr-base__col { display: flex; flex-direction: column; gap: 6px; }
.pr-base__col a:not(.pr-base__brand) { color: var(--sand-dim); text-decoration: none; font-size: 0.94rem; }
.pr-base__col a:not(.pr-base__brand):hover { color: var(--gold); }
.pr-base__legal {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 0.85rem; color: var(--sand-dim);
}
.pr-base__legal p { margin: 0; }
@media (max-width: 800px) { .pr-base__inner { grid-template-columns: 1fr 1fr; } .pr-base__col--wide { grid-column: 1 / -1; } }

/* ---------- cookie notice ---------- */

.pr-notice {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  max-width: 760px; margin: 0 auto;
  background: var(--plum-800); border: 1px solid rgba(244, 197, 66, 0.4); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.pr-notice[hidden] { display: none; }
.pr-notice__inner { display: flex; gap: 16px; align-items: center; padding: 14px 16px; }
.pr-notice__text { margin: 0; font-size: 0.88rem; color: var(--sand-dim); }
.pr-notice__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .pr-notice__inner { flex-direction: column; align-items: stretch; } .pr-notice__actions > * { flex: 1; } }
.pr-results div:last-child { grid-column: 1 / -1; }

/* concept art */
.pr-art { margin: 0; }
.pr-art__img {
  width: 100%; height: auto; aspect-ratio: 1200 / 896; object-fit: cover;
  border-radius: 10px; background: var(--plum-800);
}
.pr-art__cap { margin-top: 10px; font-size: 0.9rem; color: var(--sand-dim); }
.pr-art__tag {
  display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; color: var(--sand); border: 1px solid rgba(239, 227, 203, 0.3);
}
.pr-art--wide { margin-bottom: 22px; }
.pr-art--wide .pr-art__img { aspect-ratio: 12 / 5; object-position: 50% 58%; }
.pr-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 800px) {
  .pr-art--wide .pr-art__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) { .pr-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pr-gallery { grid-template-columns: 1fr; } }

/* fork bonus callout in the hero */
.pr-hero__bonus {
  display: flex; align-items: center; gap: 14px; margin: 0;
  padding: 12px 16px; border-radius: 10px;
  background: rgba(244, 197, 66, 0.08); border: 1px solid rgba(244, 197, 66, 0.45);
  color: var(--sand); font-size: 0.98rem; line-height: 1.4;
}
.pr-hero__bonusnum { flex: none; font: 400 2.4rem/1 var(--display); color: var(--gold); }
