/* ============================================================================
   V2 Missions — "Night Route"
   ----------------------------------------------------------------------------
   Missions as a route on a midnight transit map: four stations joined by one
   line that lights emerald as the rider's real progress allows. Built only on
   the Midnight Journey tokens in brandPalette.css (Pantone-anchored). Logo
   Lime is never used here: it belongs to the logo alone.

   Scoped to .v2r. Never touches Home, Wallet or the rest of Profile. Every
   animation is decorative and switches off under prefers-reduced-motion.
   ========================================================================= */

.v2r {
  --v2r-ease: cubic-bezier(.22, 1, .36, 1);
  --v2r-panel: rgba(11, 24, 30, .72);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1040px;
  margin: 24px auto 40px;
  padding: 34px 36px 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink);
  font-family: 'Midnight Manrope', Manrope, system-ui, sans-serif;
  /* The text context the route was drawn in (the Mainnet shell's), set here so
     it holds inside the Astra Profile page too, which would pass down 16px / 1.5. */
  font-size: 14px;
  line-height: normal;
  background:
    radial-gradient(70% 55% at 92% -8%, rgba(var(--brand-emerald-rgb), .17), transparent 62%),
    radial-gradient(60% 45% at -6% 104%, rgba(71, 215, 172, .07), transparent 70%),
    linear-gradient(180deg, var(--bg-1) 0%, #07131a 100%);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* Icons shrink in tight rows as in the Mainnet shell (Astra's svg rule sets 0). */
.v2r svg { flex-shrink: 1; }

/* The night map: a fine street grid and one long light trail, both faded out
   toward the content so they read as atmosphere, never as texture. */
.v2r-atmos {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 46%, rgba(var(--brand-emerald-rgb), .16) 49.6%, rgba(71, 215, 172, .05) 50.4%, transparent 54%),
    repeating-linear-gradient(0deg, rgba(146, 172, 160, .055) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(146, 172, 160, .055) 0 1px, transparent 1px 32px);
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
}

.v2r .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ head */

.v2r-head { max-width: 560px; }
.v2r-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 750; letter-spacing: .16em; color: var(--brand-mint);
}
.v2r-eyebrow > i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(var(--brand-emerald-rgb), .18), 0 0 14px rgba(var(--brand-emerald-rgb), .8);
  animation: v2r-beacon 2.6s ease-in-out infinite;
}
.v2r-head h2 {
  margin: 12px 0 10px;
  font-size: 46px; line-height: .98; font-weight: 760; letter-spacing: -.04em; color: var(--ink);
}
.v2r-head h2 > span { color: var(--brand-emerald); }
.v2r-head p { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

.v2r-label { font-size: 10px; font-weight: 750; letter-spacing: .15em; color: var(--ink-2); }

/* ------------------------------------------------------------------ grid */

.v2r-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

/* ------------------------------------------------------------- mining hero */

.v2r-hero {
  position: sticky; top: 24px;
  display: grid; grid-template-columns: 1fr; justify-items: center; gap: 18px;
  padding: 26px 22px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(var(--brand-emerald-rgb), .14), transparent 70%),
    linear-gradient(165deg, rgba(16, 24, 32, .95), rgba(8, 19, 25, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 50px -30px rgba(0, 0, 0, .9);
}

.v2r-orbit { position: relative; width: 196px; aspect-ratio: 1; }
.v2r-orbit svg { display: block; width: 100%; height: 100%; overflow: visible; }
.v2r-orbit-track,
.v2r-orbit-arc {
  fill: none; stroke-width: 7;
  transform: rotate(-90deg); transform-origin: 70px 70px;
}
.v2r-orbit-track { stroke: var(--line-strong); }
.v2r-orbit-arc {
  stroke: url(#v2r-arc); stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(var(--brand-emerald-rgb), .55));
  transition: stroke-dasharray 1.5s var(--v2r-ease) .15s;
}
.v2r-orbit-headg {
  transform-box: view-box; transform-origin: 70px 70px;
  transition: transform 1.5s var(--v2r-ease) .15s, opacity .3s ease;
}
.v2r-orbit-head { fill: #fff; filter: drop-shadow(0 0 5px var(--brand-emerald)); }
.v2r-ticks line { stroke: var(--line-field); stroke-width: 1; opacity: .55; }
.v2r-ticks line.is-major { stroke: var(--brand-mint); stroke-width: 1.4; opacity: .85; }

/* Ready: an open orbit, a slow dashed sweep inviting the next session. */
.v2r-orbit.is-inactive .v2r-orbit-track,
.v2r-orbit.is-recorded .v2r-orbit-track {
  stroke: rgba(var(--brand-emerald-rgb), .55); stroke-dasharray: 3 7;
  animation: v2r-orbit-drift 30s linear infinite;
}
/* Confirming: the window's time is done but the credit is not yet recorded,
   so the full ring is drawn muted and dashed, never in credited emerald. */
.v2r-orbit.is-reconciling .v2r-orbit-arc { stroke: var(--brand-sage); stroke-dasharray: 4 6 !important; filter: none; opacity: .7; }
.v2r-orbit.is-reconciling .v2r-orbit-head { fill: var(--brand-sage); filter: none; }
.v2r-orbit.is-unavailable,
.v2r-orbit.is-offline { opacity: .65; }

.v2r-orbit-center {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 4px;
  text-align: center;
}
.v2r-orbit-center strong {
  font-size: 30px; line-height: 1; font-weight: 760; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.v2r-orbit-center.is-word strong { font-size: 24px; letter-spacing: -.025em; }
.v2r-orbit-center span { max-width: 82%; justify-self: center; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-wrap: balance; }
.v2r-orbit.is-inactive .v2r-orbit-center strong,
.v2r-orbit.is-recorded .v2r-orbit-center strong { color: var(--brand-mint); }

.v2r-hero-meta { display: grid; justify-items: center; gap: 6px; text-align: center; }
.v2r-hero-meta strong { font-size: 22px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v2r-hero-meta strong small { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.v2r-boost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--brand-mint);
  background: rgba(var(--brand-emerald-rgb), .12); border: 1px solid rgba(var(--brand-emerald-rgb), .3);
}

/* Rhythm: seven days of real ledger credits. A capsule fills when a credit
   landed that day; today's capsule glows while a session runs. */
.v2r-rhythm { width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }
.v2r-rhythm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.v2r-rhythm-total { font-size: 12px; font-weight: 700; color: var(--brand-mint); font-variant-numeric: tabular-nums; }
.v2r-days {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px;
}
.v2r-days li { display: grid; justify-items: center; gap: 7px; }
.v2r-days i {
  position: relative; overflow: hidden;
  width: 100%; height: 38px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02);
  transform-origin: bottom;
  animation: v2r-rise .7s var(--v2r-ease) both;
  animation-delay: calc(var(--d) * 55ms + .2s);
}
.v2r-days li.is-credited i {
  border-color: transparent;
  background: linear-gradient(180deg, var(--brand-mint), var(--brand-emerald) 70%, var(--brand-emerald-deep));
  box-shadow: 0 0 18px -2px rgba(var(--brand-emerald-rgb), .55);
}
.v2r-days li.is-running i { border-color: var(--brand-emerald); }
.v2r-days li.is-running:not(.is-credited) i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(var(--brand-emerald-rgb), .55), rgba(var(--brand-emerald-rgb), 0) 70%);
  animation: v2r-charge 2.4s ease-in-out infinite;
}
/* A day the loaded history does not reach: hatched and dashed, never "empty". */
.v2r-days li.is-unknown i {
  border-style: dashed; border-color: var(--line-field);
  background: repeating-linear-gradient(135deg, rgba(146, 172, 160, .14) 0 2px, transparent 2px 7px);
}
.v2r-days span { font-size: 10.5px; font-weight: 700; color: var(--ink-3); }
.v2r-days li.is-today span { color: var(--brand-mint); }
.v2r-rhythm-note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); text-align: center; }
.v2r-rhythm.is-unknown p { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }

/* ------------------------------------------------------------------ route */

.v2r-route { position: relative; list-style: none; margin: 0; padding: 0; }

.v2r-stop {
  position: relative;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px;
  padding-bottom: 30px;
}
.v2r-stop:last-child { padding-bottom: 0; }

/* The line between this station and the next. Lit once this station is done;
   it draws downward in order, so the route "travels" on first view. */
.v2r-stop:not(:last-child)::before {
  content: ''; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px;
  border-radius: 2px; background: var(--line-strong);
  transform: scaleY(0); transform-origin: top;
  transition: transform .8s var(--v2r-ease);
  transition-delay: calc(var(--i) * 160ms + .25s);
}
.v2r-stop.is-in::before { transform: scaleY(1); }
.v2r-stop.is-complete:not(:last-child)::before {
  background: linear-gradient(180deg, var(--brand-emerald), var(--brand-mint) 70%, rgba(71, 215, 172, .35));
  box-shadow: 0 0 12px rgba(var(--brand-emerald-rgb), .45);
}

.v2r-node {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-field); background: var(--bg-1); color: var(--ink-2);
  opacity: 0; transform: scale(.6);
  transition: opacity .45s ease, transform .6s var(--v2r-ease);
  transition-delay: calc(var(--i) * 160ms);
}
.v2r-stop.is-in .v2r-node { opacity: 1; transform: none; }
.v2r-node-icon { display: grid; place-items: center; }
.v2r-stop.is-done .v2r-node {
  border-color: transparent; color: var(--brand-midnight);
  background: linear-gradient(145deg, var(--brand-mint), var(--brand-emerald) 60%, var(--brand-emerald-deep));
  box-shadow: 0 0 0 5px rgba(var(--brand-emerald-rgb), .1), 0 0 20px rgba(var(--brand-emerald-rgb), .45);
}
.v2r-stop.is-next .v2r-node { border-color: var(--brand-emerald); color: var(--brand-emerald); box-shadow: 0 0 0 5px rgba(var(--brand-emerald-rgb), .1); }
.v2r-stop.is-attention .v2r-node { border-color: var(--brand-champagne); color: var(--brand-champagne); box-shadow: 0 0 0 5px rgba(var(--brand-champagne-rgb), .1); }
.v2r-stop.is-next .v2r-node::after,
.v2r-stop.is-attention .v2r-node::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid currentColor; opacity: 0;
  animation: v2r-halo 2.8s ease-out infinite 1s;
}
.v2r-stop.is-optional .v2r-node { border-style: dashed; }
.v2r-stop.is-live .v2r-node { border-color: rgba(var(--brand-emerald-rgb), .25); color: var(--brand-emerald); }
.v2r-node-ring {
  position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px);
  transform: rotate(-90deg); overflow: visible; pointer-events: none;
}
.v2r-node-ring circle {
  fill: none; stroke: var(--brand-emerald); stroke-width: 2.4; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(var(--brand-emerald-rgb), .6));
  transition: stroke-dasharray 1.4s var(--v2r-ease) .3s;
}
.v2r-stop.is-unknown .v2r-node { opacity: .55; }

.v2r-stop-body {
  min-width: 0; padding-top: 6px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s ease, transform .7s var(--v2r-ease);
  transition-delay: calc(var(--i) * 160ms + .08s);
}
.v2r-stop.is-in .v2r-stop-body { opacity: 1; transform: none; }

/* The one station that wants something from the rider is lifted onto glass.
   Everything else stays on the map. */
.v2r-stop.is-next .v2r-stop-body,
.v2r-stop.is-attention .v2r-stop-body {
  margin-top: -8px; padding: 16px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(var(--brand-emerald-rgb), .38);
  background: linear-gradient(160deg, rgba(15, 42, 36, .92), rgba(11, 24, 30, .94));
  box-shadow: 0 22px 46px -24px rgba(var(--brand-emerald-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.v2r-stop.is-attention .v2r-stop-body {
  border-color: rgba(var(--brand-champagne-rgb), .45);
  background: linear-gradient(160deg, rgba(48, 40, 18, .55), rgba(11, 24, 30, .95) 55%);
  box-shadow: 0 22px 46px -26px rgba(var(--brand-champagne-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.v2r-stop-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.v2r-kicker { font-size: 10px; font-weight: 750; letter-spacing: .15em; color: var(--ink-2); }
.v2r-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 750; letter-spacing: .01em; white-space: nowrap;
}
.v2r-chip.is-good { color: var(--brand-mint); background: rgba(var(--brand-emerald-rgb), .12); }
.v2r-chip.is-live { color: var(--brand-emerald); background: rgba(var(--brand-emerald-rgb), .12); }
.v2r-chip.is-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 8px currentColor; animation: v2r-beacon 1.8s ease-in-out infinite;
}
.v2r-chip.is-warn { color: var(--brand-champagne); background: rgba(var(--brand-champagne-rgb), .13); }
.v2r-chip.is-muted { color: var(--ink-2); border: 1px solid var(--line-strong); }

.v2r-stop h3 {
  margin: 7px 0 6px;
  font-size: 19px; line-height: 1.25; font-weight: 720; letter-spacing: -.02em; color: var(--ink);
}
.v2r-copy { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.v2r-num { color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }

.v2r-rule {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 12px 0 0; font-size: 11px; line-height: 1.45; color: var(--ink-3);
}
.v2r-rule svg { flex: none; margin-top: 1px; color: var(--ink-2); opacity: .8; }

/* Lifetime milestone, shown apart from a newer ride in progress so the newer
   ride's steps can never read as verified. */
.v2r-milestone {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 0; padding: 9px 12px;
  border-radius: 14px; border: 1px solid rgba(var(--brand-emerald-rgb), .28);
  background: rgba(var(--brand-emerald-rgb), .07);
}
.v2r-milestone > span:last-child { display: grid; gap: 1px; min-width: 0; }
.v2r-milestone b { font-size: 13px; font-weight: 700; color: var(--brand-mint); }
.v2r-milestone small { font-size: 11.5px; color: var(--ink-2); }
.v2r-milestone .v2r-num { color: var(--ink); font-weight: 700; }
.v2r-milestone-mark {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  color: var(--brand-midnight);
  background: linear-gradient(145deg, var(--brand-mint), var(--brand-emerald));
}
.v2r-steps-caption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 -4px; font-size: 10px; font-weight: 750; letter-spacing: .14em; color: var(--ink-2);
}
.v2r-steps-caption em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--brand-champagne); }

/* Ride milestone: three steps, each a bar that fills as the server confirms it. */
.v2r-steps {
  list-style: none; margin: 12px 0 12px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.v2r-steps li { display: grid; gap: 8px; min-width: 0; }
.v2r-step-bar {
  position: relative; overflow: hidden;
  height: 4px; border-radius: 4px; background: var(--line-strong);
}
.v2r-steps li.is-done .v2r-step-bar { background: linear-gradient(90deg, var(--brand-emerald), var(--brand-mint)); box-shadow: 0 0 10px rgba(var(--brand-emerald-rgb), .5); }
.v2r-steps li.is-current .v2r-step-bar::after {
  content: ''; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(90deg, transparent, var(--brand-emerald), transparent);
  animation: v2r-scan 2.2s ease-in-out infinite;
}
.v2r-step-label {
  display: inline-flex; align-items: center; gap: 5px; min-width: 0;
  font-size: 11.5px; font-weight: 650; color: var(--ink-3);
}
.v2r-steps li.is-done .v2r-step-label { color: var(--brand-mint); }
.v2r-steps li.is-current .v2r-step-label { color: var(--ink); }

.v2r-due {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 0 2px; padding: 11px 13px;
  border-radius: 14px; border: 1px solid rgba(var(--brand-champagne-rgb), .4);
  background: rgba(var(--brand-champagne-rgb), .09);
  font-size: 13px; line-height: 1.45; color: #f3dfa6;
}
.v2r-due svg { flex: none; color: var(--brand-champagne); }
.v2r-due b { color: var(--brand-champagne); font-variant-numeric: tabular-nums; }

/* Referral terms: the programme's own numbers, stated once, quietly. */
.v2r-terms {
  list-style: none; margin: 12px 0 0; padding: 12px 14px;
  display: grid; gap: 8px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.v2r-terms li { position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.v2r-terms li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-emerald);
}
.v2r-terms b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Referral stats */
.v2r-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin: 14px 0 0;
}
.v2r-stats div {
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.v2r-stats dt { font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.v2r-stats dd { margin: 3px 0 0; font-size: 24px; font-weight: 760; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Community */
.v2r .v2r-community { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.v2r .v2r-community a,
.v2r .v2r-community button,
.v2r .v2r-community .is-locked {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 58px; padding: 11px 14px;
  border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02);
  color: var(--ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.v2r .v2r-community span { display: grid; gap: 2px; min-width: 0; }
.v2r .v2r-community b { font-size: 14px; font-weight: 700; }
.v2r .v2r-community small { font-size: 11.5px; color: var(--ink-2); }
.v2r .v2r-community svg { flex: none; color: var(--brand-mint); }
.v2r .v2r-community a:hover,
.v2r .v2r-community button:hover { border-color: rgba(var(--brand-emerald-rgb), .5); background: rgba(var(--brand-emerald-rgb), .05); }
.v2r .v2r-community .is-locked { cursor: default; opacity: .55; }
.v2r .v2r-community .is-locked svg { color: var(--ink-3); }

/* ---------------------------------------------------------------- actions */

.v2r .v2r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.v2r .v2r-cta,
.v2r .v2r-ghost,
.v2r .v2r-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; cursor: pointer; text-decoration: none;
}
.v2r .v2r-cta {
  margin-top: 14px; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 15px;
  font-size: 14.5px; font-weight: 760; letter-spacing: -.005em;
  color: var(--brand-midnight);
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-emerald) 52%, var(--brand-emerald-deep));
  box-shadow: 0 12px 28px -12px rgba(var(--brand-emerald-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
}
.v2r .v2r-actions .v2r-cta { margin-top: 0; }
.v2r .v2r-cta:hover { filter: brightness(1.06); box-shadow: 0 16px 34px -12px rgba(var(--brand-emerald-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.v2r .v2r-cta:active { transform: translateY(1px) scale(.99); }
.v2r .v2r-cta.is-warn {
  background: linear-gradient(135deg, #f8dc8a, var(--brand-champagne) 55%, #d9a837);
  box-shadow: 0 12px 28px -12px rgba(var(--brand-champagne-rgb), .65), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.v2r .v2r-ghost {
  min-height: 48px; padding: 0 18px; border-radius: 15px;
  border: 1px solid var(--line-field); background: transparent;
  font-size: 14px; font-weight: 700; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.v2r .v2r-ghost:hover { border-color: var(--brand-emerald); background: rgba(var(--brand-emerald-rgb), .06); }
.v2r .v2r-ghost svg { color: var(--brand-mint); }
.v2r .v2r-link {
  min-height: 44px; margin-top: 8px; padding: 0;
  border: 0; background: none;
  font-size: 14px; font-weight: 720; color: var(--brand-mint);
}
.v2r .v2r-link:hover { color: var(--brand-emerald); }
.v2r .v2r-cta:focus-visible,
.v2r .v2r-ghost:focus-visible,
.v2r .v2r-link:focus-visible,
.v2r .v2r-community a:focus-visible,
.v2r .v2r-community button:focus-visible {
  outline: 2px solid var(--brand-mint); outline-offset: 3px;
}

/* ----------------------------------------------------------------- motion */

@keyframes v2r-beacon { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes v2r-halo { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes v2r-rise { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes v2r-charge { 0%, 100% { opacity: .35; transform: translateY(35%); } 50% { opacity: 1; transform: translateY(0); } }
@keyframes v2r-scan { 0% { transform: translateX(-110%); } 100% { transform: translateX(240%); } }
@keyframes v2r-orbit-drift { to { stroke-dashoffset: -200; } }

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

/* ------------------------------------------------------------- responsive */

@media (max-width: 959px) {
  .v2r { margin: 20px 16px 96px; padding: 28px 24px 22px; }
  .v2r-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
  .v2r-hero {
    position: relative; top: auto;
    grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center;
    column-gap: 20px; row-gap: 16px; padding: 20px;
  }
  .v2r-orbit { width: 152px; }
  .v2r-hero-meta { justify-items: start; text-align: left; }
  .v2r-rhythm { grid-column: 1 / -1; }
  .v2r-rhythm-note { text-align: left; }
}

@media (max-width: 600px) {
  .v2r { margin: 14px 12px 96px; padding: 24px 16px 18px; border-radius: 26px; }
  .v2r-head h2 { font-size: 36px; }
  .v2r-head p { font-size: 13.5px; }
  .v2r-hero { padding: 16px; column-gap: 14px; border-radius: 22px; }
  .v2r-orbit { width: 128px; }
  .v2r-orbit-center strong { font-size: 23px; }
  .v2r-orbit-center.is-word strong { font-size: 17px; }
  .v2r-orbit-center span { font-size: 9px; letter-spacing: .12em; }
  .v2r-hero-meta strong { font-size: 19px; }
  .v2r-hero-meta strong small { display: block; margin-top: 2px; font-size: 12px; }
  .v2r-stop { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding-bottom: 26px; }
  .v2r-stop:not(:last-child)::before { left: 16px; top: 38px; }
  .v2r-node { width: 34px; height: 34px; }
  .v2r-stop h3 { font-size: 17.5px; }
  .v2r-stop.is-next .v2r-stop-body,
  .v2r-stop.is-attention .v2r-stop-body { padding: 14px 14px 14px; border-radius: 20px; }
  .v2r-stop.is-next .v2r-cta, .v2r-stop.is-attention .v2r-cta { width: 100%; justify-content: space-between; }
  .v2r-actions > * { flex: 1 1 auto; }
}

@media (max-width: 360px) {
  .v2r { margin: 12px 8px 96px; padding: 22px 13px 16px; border-radius: 22px; }
  .v2r-head h2 { font-size: 32px; }
  .v2r-hero { grid-template-columns: 1fr; justify-items: center; }
  .v2r-hero-meta { justify-items: center; text-align: center; }
  .v2r-orbit { width: 150px; }
  .v2r-orbit-center strong { font-size: 25px; }
  .v2r-orbit-center.is-word strong { font-size: 19px; }
  .v2r-rhythm-note { text-align: center; }
  .v2r-days { gap: 5px; }
  .v2r-days i { height: 32px; border-radius: 9px; }
  .v2r-stop { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
  .v2r-stop:not(:last-child)::before { left: 14px; top: 34px; }
  .v2r-node { width: 30px; height: 30px; }
  .v2r-node svg { width: 13px; height: 13px; }
  .v2r-stop h3 { font-size: 16.5px; }
  .v2r-stop.is-next .v2r-stop-body, .v2r-stop.is-attention .v2r-stop-body { padding: 13px 12px; }
  .v2r-stats { gap: 6px; }
  .v2r-stats div { padding: 9px 9px; }
  .v2r-stats dd { font-size: 21px; }
  .v2r-stats dt { font-size: 9.5px; letter-spacing: .06em; }
  .v2r-steps { gap: 6px; }
  .v2r-step-label { font-size: 10.5px; }
}
