/* ============================================================================
   which-ride.css — "Which Disney World Ride Are You" quiz (Arcade cabinet).
   Loads on top of site.css + arcade.css; reuses the .rd-sh / .rd-social / .rd-soc
   share styling and the Nightfall tokens. Everything here is namespaced .wr-*.
   ========================================================================== */

.wr-app { max-width: 560px; margin: 0 auto; padding-bottom: 24px; }

.wr-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 6px 4px 10px; border-bottom: 1px solid var(--hair); }
.wr-back { justify-self: start; white-space: nowrap; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.wr-back:hover { color: var(--gold); }
.wr-title { font-family: var(--pixel); font-size: clamp(9px, 2.5vw, 14px); line-height: 1.5; color: var(--gold); text-align: center; text-shadow: 0 0 12px oklch(84% 0.13 86 / 0.4); }

/* ---------------------------------------------------------------- Intro */
.wr-intro { text-align: center; padding: clamp(20px, 6vw, 44px) 6px; }
.wr-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.wr-h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(30px, 7vw, 46px); color: var(--ink); margin: 0 0 14px; }
.wr-lede { color: var(--ink-soft); font-size: clamp(15px, 1.8vw, 17px); line-height: 1.55; max-width: 44ch; margin: 0 auto 26px; }
.wr-start {
  font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 15px; color: oklch(24% 0.045 78); background: var(--gold); border: 0; border-radius: 12px;
  padding: 15px 30px; cursor: pointer; box-shadow: 0 0 26px oklch(70% 0.13 84 / 0.3); transition: transform .05s, filter .15s;
}
.wr-start:hover { filter: brightness(1.04); }
.wr-start:active { transform: scale(0.97); }

/* ---------------------------------------------------------------- Question stage */
.wr-stage { padding: clamp(16px, 4vw, 30px) 4px 0; }
.wr-progress { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--hair); }
.wr-progress span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width .35s ease; }
.wr-qnum { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 700; color: var(--muted); margin: 18px 0 6px; }
.wr-q { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.12; font-size: clamp(22px, 4.6vw, 30px); color: var(--ink); margin: 0 0 20px; }
.wr-answers { display: grid; gap: 10px; }
.wr-answer {
  text-align: left; font-family: var(--text); font-size: 16px; line-height: 1.4; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rd-edge); border-radius: 12px; padding: 16px 18px;
  cursor: pointer; transition: border-color .14s, transform .05s, background .14s;
}
.wr-answer:hover { border-color: var(--gold); background: oklch(31% 0.05 278); }
.wr-answer:active { transform: scale(0.99); }

/* ---------------------------------------------------------------- Result */
.wr-result { text-align: center; padding: clamp(10px, 3vw, 22px) 4px 0; }
.wr-rkicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.wr-card-img {
  display: block; width: min(360px, 82%); aspect-ratio: 2 / 3; object-fit: cover; margin: 0 auto 18px;
  border-radius: 16px; border: 1px solid var(--rd-edge); box-shadow: 0 24px 60px oklch(8% 0.03 280 / 0.55);
}
.wr-name { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(28px, 6.4vw, 42px); color: var(--ink); margin: 0 0 8px; }
.wr-tagline { color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); line-height: 1.5; max-width: 40ch; margin: 0 auto 16px; font-style: italic; }
.wr-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 16px; }
.wr-chip { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; font-weight: 700; color: var(--gold); background: var(--paper-2); border: 1px solid var(--hair); border-radius: 99px; padding: 6px 12px; }
.wr-line { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; max-width: 46ch; margin: 0 auto 22px; }

.wr-share { max-width: 380px; margin: 0 auto; }
.wr-social { margin-top: 8px; grid-template-columns: repeat(3, 1fr); }
.rd-soc-pin:hover { border-color: #e60023; color: #ff5a73; background: oklch(40% 0.12 18 / 0.3); }

/* ---------------------------------------------------------------- On-ramp */
.wr-onramp { max-width: 420px; margin: 30px auto 0; text-align: left; border-top: 1px solid var(--hair); padding-top: 20px; }
.wr-onramp-h { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.wr-onramp-links { display: grid; gap: 8px; margin-bottom: 22px; }
.wr-onramp-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--text); font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rd-edge); border-radius: 10px; padding: 12px 14px; text-decoration: none;
  transition: border-color .14s, color .14s;
}
.wr-onramp-link::after { content: "→"; color: var(--gold); font-weight: 700; }
.wr-onramp-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.wr-sibs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wr-sib { display: flex; flex-direction: column; border: 1px solid var(--rd-edge); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .14s, transform .14s; }
.wr-sib:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.wr-sib img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.wr-sib span { padding: 9px 11px; font-family: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.3; }

.wr-retake { display: block; text-align: center; margin: 26px auto 0; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.wr-retake:hover { color: var(--gold); }

.wr-toast { position: sticky; bottom: 16px; z-index: 30; display: block; width: max-content; max-width: 90%; margin: 16px auto 0; background: var(--ink); color: var(--paper); font-family: var(--label); font-weight: 700; letter-spacing: 0.03em; font-size: 13px; padding: 10px 16px; border-radius: 8px; box-shadow: 0 8px 24px oklch(8% 0.03 280 / 0.5); }
.wr-toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { .wr-progress span { transition: none; } }
