/* Rewards hub: Overview, Leaderboard and Terms. The analytics view keeps rewards.css. */
.rh {
  --rh-text: #eeeaf5; --rh-muted: #a29cb2; --rh-faint: #7f7890; --rh-line: #ffffff12; --rh-card: #ffffff06;
  --rh-purple: #a855f7; --rh-violet: #c9a2ff;
  --rh-gold: #f4c76a; --rh-silver: #cdd5e3; --rh-bronze: #e0a173; --rh-live: #5fe3a1; --rh-warn: #f0c27b;
  color: var(--rh-text); font-family: "Clash Grotesk", system-ui, sans-serif; max-width: 1280px; margin: 0 auto; min-width: 0;
}
.rh *, .rh *::before, .rh *::after { box-sizing: border-box; }
.rh [hidden] { display: none !important; }
.rh h1, .rh h2, .rh h3, .rh p, .rh ol, .rh ul, .rh dl, .rh dd { margin: 0; }
.rh ol, .rh ul { list-style: none; padding: 0; }
.rh .rh-icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rh .rh-kicker { color: var(--rh-violet); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.rh .rh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh b { font-weight: 600; }
.rh :is(button, a, input):focus-visible { outline: 2px solid var(--rh-purple); outline-offset: 3px; }

/* Header and tabs. The bar sticks to the top of the scrolling main panel. */
.rh .rh-top { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 24px; position: sticky; top: -2rem; z-index: 5; margin-top: -2rem; padding-top: 2rem; border-bottom: 1px solid var(--rh-line); background: linear-gradient(#08080bf5 75%, #08080bd9); backdrop-filter: blur(10px); }
.rh .rh-title { margin-right: auto; padding-bottom: 16px; }
.rh .rh-eyebrow { color: var(--rh-muted); font-size: 11px; margin-bottom: 6px; }
.rh h1 { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.rh .rh-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 7px 13px 7px 11px; border: 1px solid var(--rh-line); border-radius: 999px; font-size: 12px; color: var(--rh-muted); background: var(--rh-card); }
.rh .rh-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rh-faint); position: relative; }
.rh .rh-pill[data-tone="live"] { color: #d4f7e5; border-color: #5fe3a140; }
.rh .rh-pill[data-tone="live"] .rh-pill-dot { background: var(--rh-live); box-shadow: 0 0 10px var(--rh-live); }
.rh .rh-pill[data-tone="live"] .rh-pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--rh-live); animation: rh-ping 2s ease-out infinite; }
.rh .rh-pill[data-tone="open"] { color: #ead7ff; border-color: #a855f755; }
.rh .rh-pill[data-tone="open"] .rh-pill-dot { background: var(--rh-purple); box-shadow: 0 0 10px var(--rh-purple); }
.rh .rh-pill[data-tone="wait"] .rh-pill-dot { background: var(--rh-warn); }
.rh .rh-pill[data-tone="done"] { color: #fbecc8; border-color: #f4c76a40; }
.rh .rh-pill[data-tone="done"] .rh-pill-dot { background: var(--rh-gold); }
.rh .rh-tabs { flex-basis: 100%; display: flex; gap: 4px; position: relative; overflow-x: auto; scrollbar-width: none; }
.rh .rh-tab { appearance: none; border: 0; background: none; color: var(--rh-muted); font-size: 14px; padding: 12px 16px 14px; min-height: 44px; cursor: pointer; border-radius: 8px 8px 0 0; white-space: nowrap; transition: color .2s, background .2s; }
.rh .rh-tab:hover { color: var(--rh-text); background: #ffffff05; }
.rh .rh-tab[aria-selected="true"] { color: #fff; }
.rh .rh-tab-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: linear-gradient(90deg, #8b5cf6, #d8b4fe); box-shadow: 0 0 12px #a855f7aa; transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }
.rh .rh-panel { padding-top: 32px; }
.rh.rh-motion .rh-panel:not([hidden]) { animation: rh-panel .45s cubic-bezier(.2,.8,.2,1); }

/* Shared buttons, links and cards */
.rh .rh-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid #ffffff24; background: #ffffff08; color: var(--rh-text); font-size: 14px; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.rh .rh-button:hover { background: #a855f714; border-color: #a855f766; transform: translateY(-1px); }
.rh .rh-primary { background: linear-gradient(135deg, #9b4cf0, #7c3aed); border-color: #c084fc66; color: #fff; box-shadow: 0 8px 28px -10px #a855f7; }
.rh .rh-primary:hover { background: linear-gradient(135deg, #ab62f5, #8b4cf2); box-shadow: 0 12px 34px -10px #a855f7; }
.rh .rh-link { appearance: none; border: 0; background: none; padding: 4px 0; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; color: var(--rh-violet); font-size: 13px; cursor: pointer; }
.rh .rh-link:hover { color: #fff; }
.rh :is(.rh-button, .rh-link) .rh-icon { transition: transform .2s; }
.rh :is(.rh-button, .rh-link):hover .rh-icon { transform: translateX(3px); }
.rh [data-glow] { position: relative; isolation: isolate; }
.rh [data-glow]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), #a855f71c, transparent 60%); }
.rh [data-glow]:hover::before { opacity: 1; }
.rh .rh-block { margin-top: 72px; }
.rh .rh-block-head { max-width: 680px; margin-bottom: 28px; }
.rh .rh-block-head h2, .rh .rh-converter h2, .rh .rh-burn h2 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.rh .rh-block-head p:not(.rh-kicker) { color: var(--rh-muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }

/* Scroll reveal, only when motion is allowed and the controller is running. */
.rh.rh-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.rh.rh-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Overview: hero */
.rh .rh-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); align-items: center; gap: 24px; padding: 48px; border: 1px solid #a855f72e; border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, #2a1250 0%, #120a1f 45%, #0b0910 100%); }
.rh .rh-hero-aura { position: absolute; inset: -40%; pointer-events: none; background: conic-gradient(from 0deg at 70% 50%, transparent 0deg, #a855f722 60deg, transparent 120deg, #6366f11a 200deg, transparent 260deg, #ec48991a 320deg, transparent 360deg); filter: blur(40px); }
.rh.rh-motion .rh-hero-aura { animation: rh-spin 26s linear infinite; }
.rh .rh-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 90% at 75% 50%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(70% 90% at 75% 50%, #000 0%, transparent 70%); }
.rh .rh-hero-copy { position: relative; z-index: 1; }
.rh .rh-hero h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; max-width: 14ch; }
.rh .rh-hero h2 span { display: block; background: linear-gradient(90deg, #e9d5ff, #a855f7 45%, #f0abfc, #e9d5ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rh.rh-motion .rh-hero h2 span { animation: rh-shimmer 6s ease-in-out infinite; }
.rh .rh-hero-copy > p:not(.rh-kicker) { color: #cfc6dd; font-size: 15px; line-height: 1.65; max-width: 54ch; margin-top: 18px; }
.rh .rh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rh .rh-orbit { --size: 300px; position: relative; z-index: 1; width: var(--size); max-width: 100%; aspect-ratio: 1; margin: 0 auto; }
.rh .rh-orbit-ring { position: absolute; border-radius: 50%; }
.rh .rh-ring-a { inset: 20%; border: 1px dashed #c9a2ff38; --r: calc(var(--size) * .3); }
.rh .rh-ring-b { inset: 0; border: 1px solid #ffffff12; --r: calc(var(--size) * .5); }
.rh .rh-orbit-ring > span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; display: grid; place-items: center; border-radius: 14px; background: #1a1126; border: 1px solid #a855f740; color: var(--rh-violet); box-shadow: 0 6px 22px -8px #a855f7; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.rh .rh-orbit-ring > span .rh-icon { width: 22px; height: 22px; }
.rh .rh-ring-a > span:nth-child(1) { --a: 0deg; }
.rh .rh-ring-a > span:nth-child(2) { --a: 180deg; }
.rh .rh-ring-b > span:nth-child(1) { --a: 60deg; }
.rh .rh-ring-b > span:nth-child(2) { --a: 180deg; }
.rh .rh-ring-b > span:nth-child(3) { --a: 300deg; }
.rh.rh-motion .rh-ring-a { animation: rh-spin 22s linear infinite; }
.rh.rh-motion .rh-ring-b { animation: rh-spin 34s linear infinite reverse; }
.rh.rh-motion .rh-ring-a > span .rh-icon { animation: rh-spin 22s linear infinite reverse; }
.rh.rh-motion .rh-ring-b > span .rh-icon { animation: rh-spin 34s linear infinite; }
/* The Points coin: polished gold with a reeded rim, a stamped P, a light sweep and a slow tilt. */
.rh .rh-coin { position: absolute; inset: 33%; perspective: 700px; filter: drop-shadow(0 16px 20px #000b); }
.rh .rh-coin::before { content: ""; position: absolute; inset: -45%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #f4c76a40 0%, #a855f726 38%, transparent 68%); }
.rh .rh-coin-body { position: relative; width: 100%; height: 100%; border-radius: 50%; transform-style: preserve-3d; }
.rh .rh-coin-body::before { content: ""; position: absolute; inset: 0; border-radius: 50%; transform: translateY(6%) translateZ(-4px); background: repeating-linear-gradient(90deg, #6e440c 0 3px, #9c6716 3px 6px); box-shadow: inset 0 -3px 4px #0007; }
.rh .rh-coin-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 24%, #fffbe8 0, #fff3c055 16%, transparent 36%), conic-gradient(from 200deg, #fff1b8, #e9b949 10%, #9c6716 22%, #f8d873 35%, #c08524 48%, #ffeeb0 60%, #a8711b 74%, #eec35a 87%, #fff1b8);
  box-shadow: inset 0 2px 2px #fff9, inset 0 -3px 5px #6b420caa; }
.rh .rh-coin-rim { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(#8a5a14 0 1.5deg, #fbe08f 1.5deg 3deg); opacity: .55;
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 89%); mask: radial-gradient(closest-side, transparent 88%, #000 89%); }
.rh .rh-coin-face::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #f0cd78, #cf9932 40%, #a06818 76%, #7a4c10);
  box-shadow: inset 0 4px 6px #6b420cb0, inset 0 -2px 4px #fff3c266, 0 0 0 1.5px #fff2b880, 0 0 0 3.5px #8a5a1499; }
.rh .rh-coin-face b { position: relative; z-index: 1; font-size: calc(var(--size) * .17); font-weight: 600; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(165deg, #fffef4 6%, #ffe692 38%, #f2bf4f 66%, #c88a26 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 -1px 0 #fffbe8) drop-shadow(0 2.5px 0 #5a3709) drop-shadow(0 4px 4px #3d240688); }
.rh .rh-coin-shine { position: absolute; inset: -25%; z-index: 2; pointer-events: none; transform: translateX(-130%) rotate(0.001deg);
  background: linear-gradient(115deg, transparent 38%, #ffffff00 40%, #ffffffc0 48%, #fffbe080 53%, transparent 62%); }
.rh.rh-motion .rh-coin-body { animation: rh-coin-tilt 7s ease-in-out infinite; }
.rh.rh-motion .rh-coin-shine { animation: rh-coin-shine 5s ease-in-out infinite; }

/* Overview: current Epoch card */
.rh .rh-current { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto; align-items: center; gap: 20px 32px; margin-top: 18px; padding: 22px 26px; border: 1px solid var(--rh-line); border-radius: 18px; background: var(--rh-card); }
.rh .rh-current h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.rh .rh-current-head p:last-child { color: var(--rh-muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }
.rh .rh-current-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rh .rh-current-stats dt, .rh .rh-board-stats dt { color: var(--rh-muted); font-size: 12px; margin-bottom: 6px; }
.rh .rh-current-stats dd { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rh .rh-current-stats dd small { color: var(--rh-muted); font-size: 13px; font-weight: 400; }
.rh .rh-current .rh-meter { grid-column: 1 / -1; order: 3; }
.rh .rh-meter { display: block; position: relative; height: 8px; border-radius: 99px; background: #ffffff0d; overflow: hidden; }
.rh .rh-meter > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(90deg, #7c3aed, #c084fc); box-shadow: 0 0 16px #a855f7aa; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.rh.rh-motion .rh-meter > span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff55, transparent); animation: rh-sweep 2.6s ease-in-out infinite; }

/* Overview: steps */
.rh .rh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.rh .rh-steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, #a855f7, #a855f733); transform-origin: left; }
.rh.rh-motion .rh-steps::before { animation: rh-draw 1.6s .2s cubic-bezier(.2,.8,.2,1) both; }
.rh .rh-step { position: relative; }
.rh .rh-step-badge { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 16px; border-radius: 16px; background: #150d22; border: 1px solid #a855f74d; color: var(--rh-violet); box-shadow: 0 10px 30px -14px #a855f7; }
.rh .rh-step-badge .rh-icon { width: 22px; height: 22px; }
.rh .rh-step-badge b { font-family: "JetBrains Mono", monospace; font-size: 12px; color: #fff; opacity: .7; }
.rh .rh-step h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.rh .rh-step p { color: var(--rh-muted); font-size: 13.5px; line-height: 1.6; }
.rh .rh-step p b { color: var(--rh-text); }

/* Overview: ways to earn. Uniform tiles on the left, one fixed detail panel on the right. */
.rh .rh-earn { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rh [data-tag="XP"] { --accent: var(--rh-purple); --accent-ink: #e4ccff; }
.rh [data-tag="Points"] { --accent: var(--rh-gold); --accent-ink: #fbe3ae; }
.rh .rh-earn-list { display: grid; gap: 18px; align-content: start; }
.rh .rh-earn-group { display: grid; gap: 6px; }
.rh .rh-earn-group p { color: var(--rh-faint); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 0 4px 4px; }
.rh .rh-earn-tile { appearance: none; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; height: 60px; padding: 0 14px 0 10px; border: 1px solid var(--rh-line); border-radius: 14px; background: var(--rh-card); color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .25s, background .25s, transform .25s; }
.rh .rh-earn-tile::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.rh .rh-earn-tile:hover { border-color: #ffffff26; background: #ffffff0a; transform: translateX(2px); }
.rh .rh-earn-tile[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 15%, transparent), transparent 85%); }
.rh .rh-earn-tile[aria-pressed="true"]::before { transform: scaleY(1); }
.rh .rh-earn-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-ink); transition: transform .3s, box-shadow .3s; }
.rh .rh-earn-icon .rh-icon { width: 20px; height: 20px; }
.rh .rh-earn-tile[aria-pressed="true"] .rh-earn-icon { transform: scale(1.06); box-shadow: 0 0 20px -3px color-mix(in srgb, var(--accent) 70%, transparent); }
.rh .rh-earn-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh .rh-earn-chip { padding: 3px 9px; border-radius: 99px; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }

.rh .rh-earn-panel { display: grid; min-width: 0; padding: 30px 32px; border: 1px solid var(--rh-line); border-radius: 20px; overflow: hidden; background: radial-gradient(80% 70% at 100% 0%, #a855f714, transparent 60%), var(--rh-card); transition: background .4s; }
.rh .rh-earn-panel:has(.is-active[data-tag="Points"]) { background: radial-gradient(80% 70% at 100% 0%, #f4c76a12, transparent 60%), var(--rh-card); }
.rh .rh-earn-detail { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.rh .rh-earn-detail.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.rh .rh-earn-detail header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.rh .rh-earn-badge { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; color: var(--accent-ink); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: 0 14px 34px -14px var(--accent); }
.rh .rh-earn-badge .rh-icon { width: 30px; height: 30px; }
.rh.rh-motion .rh-earn-detail.is-active .rh-earn-badge { animation: rh-pop .5s cubic-bezier(.2,.8,.2,1.2); }
.rh .rh-earn-detail .rh-kicker { margin-bottom: 4px; color: var(--accent-ink); }
.rh .rh-earn-detail h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.rh .rh-earn-detail header div p:last-child { color: var(--rh-muted); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.rh .rh-earn-value { padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.rh .rh-earn-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rh .rh-earn-facts div { min-width: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--rh-line); background: #ffffff05; }
.rh .rh-earn-facts dt { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rh .rh-earn-facts dd { color: var(--rh-muted); font-size: 12px; line-height: 1.4; margin-top: 4px; }
.rh .rh-earn-rules { display: grid; gap: 10px; }
.rh .rh-earn-rules li { position: relative; padding-left: 18px; color: #d3ccdf; font-size: 13.5px; line-height: 1.55; }
.rh .rh-earn-rules li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.rh .rh-earn-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 20px; border-top: 1px solid var(--rh-line); }
.rh .rh-earn-foot p { display: flex; align-items: center; gap: 10px; color: var(--rh-muted); font-size: 13px; line-height: 1.5; flex: 1 1 260px; }
.rh .rh-earn-foot .rh-icon { width: 18px; height: 18px; color: var(--accent-ink); }
.rh .rh-earn-action { flex: none; }
.rh.rh-motion .rh-earn-detail.is-active :is(.rh-earn-facts > div, .rh-earn-rules li) { animation: rh-panel .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--n, 0) * 60ms + 60ms); }
.rh.rh-motion .rh-earn-detail.is-active .rh-earn-rules li { animation-delay: calc(var(--n, 0) * 60ms + 220ms); }

/* Overview: XP converter and burns */
.rh .rh-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.rh .rh-converter, .rh .rh-burn { padding: 28px; border: 1px solid var(--rh-line); border-radius: 18px; background: var(--rh-card); }
.rh .rh-converter header p:last-child, .rh .rh-burn > p:last-child { color: var(--rh-muted); font-size: 13.5px; line-height: 1.6; margin-top: 10px; }
.rh .rh-range { display: grid; gap: 12px; margin-top: 24px; font-size: 12px; color: var(--rh-muted); }
.rh .rh-range input { appearance: none; -webkit-appearance: none; width: 100%; height: 6px; min-height: 0; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #c084fc); cursor: pointer; }
.rh .rh-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #a855f7; box-shadow: 0 0 0 6px #a855f733, 0 4px 14px #0008; transition: transform .15s; }
.rh .rh-range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid #a855f7; box-shadow: 0 0 0 6px #a855f733; }
.rh .rh-range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.rh .rh-convert-out { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.rh .rh-convert-out > div:not(.rh-next) { display: grid; }
.rh .rh-convert-out > div b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rh .rh-convert-out > div:nth-of-type(2) b { color: var(--rh-violet); }
.rh .rh-convert-out > div span { color: var(--rh-muted); font-size: 12px; }
.rh .rh-convert-out > .rh-icon { width: 26px; height: 26px; color: var(--rh-faint); }
.rh .rh-next { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--rh-muted); font-size: 12px; }
.rh .rh-next svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.rh .rh-next circle { fill: none; stroke: #ffffff14; stroke-width: 3; }
.rh .rh-next circle + circle { stroke: var(--rh-purple); stroke-linecap: round; transition: stroke-dasharray .25s; }
.rh .rh-burn { background: radial-gradient(120% 120% at 100% 0%, #3a1d0f55, transparent 60%), var(--rh-card); }
.rh .rh-burn h2 { display: flex; align-items: center; gap: 10px; }
.rh .rh-burn h2 .rh-icon { color: #ff9b5e; width: 26px; height: 26px; transform-origin: 50% 90%; }
.rh.rh-motion .rh-burn h2 .rh-icon { animation: rh-flicker 2.4s ease-in-out infinite; }

/* Overview: principles */
.rh .rh-principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rh .rh-principles li { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 16px; border: 1px solid var(--rh-line); background: linear-gradient(180deg, #ffffff08, transparent); }
.rh .rh-principles .rh-icon { width: 26px; height: 26px; color: var(--rh-live); margin-bottom: 6px; }
.rh .rh-principles strong { font-size: 15px; font-weight: 600; }
.rh .rh-principles span { color: var(--rh-muted); font-size: 12.5px; line-height: 1.55; }
.rh .rh-more { margin-top: 22px; color: var(--rh-muted); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* Leaderboard: header and stats */
.rh .rh-board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.rh .rh-board-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.rh .rh-board-note { color: var(--rh-muted); font-size: 13px; line-height: 1.5; margin-top: 6px; max-width: 60ch; }
.rh .rh-countdown { display: grid; gap: 4px; text-align: right; padding: 12px 16px; border-radius: 14px; border: 1px solid #a855f74d; background: #a855f712; }
.rh .rh-countdown span { color: var(--rh-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.rh .rh-countdown b { font-family: "JetBrains Mono", monospace; font-size: 20px; font-variant-numeric: tabular-nums; color: #f3e8ff; }
.rh .rh-board-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 1.6fr); gap: 1px; margin-top: 24px; border: 1px solid var(--rh-line); border-radius: 16px; overflow: hidden; background: var(--rh-line); }
.rh .rh-board-stats > div { padding: 16px 18px; background: #0c0b11; min-width: 0; }
.rh .rh-board-stats dd { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rh .rh-board-meter dt { display: flex; justify-content: space-between; gap: 8px; }
.rh .rh-board-meter dt span:last-child { color: var(--rh-violet); }
.rh .rh-board-meter dd { display: grid; gap: 8px; padding-top: 8px; }
.rh .rh-board-meter small { color: var(--rh-muted); font-size: 12px; font-weight: 400; }

/* Leaderboard: podium */
.rh .rh-arena { position: relative; margin-top: 28px; padding: 40px 24px 0; border-radius: 22px; border: 1px solid var(--rh-line); overflow: hidden; background: radial-gradient(60% 80% at 50% 0%, #a855f726, transparent 70%), radial-gradient(40% 50% at 50% 100%, #f4c76a12, transparent 70%), #0b0a10; }
.rh .rh-arena::before { content: ""; position: absolute; left: 50%; top: -30%; width: 70%; height: 90%; transform: translateX(-50%); pointer-events: none; background: conic-gradient(from 180deg at 50% 0%, transparent 155deg, #c9a2ff1f 170deg, #ffffff10 180deg, #c9a2ff1f 190deg, transparent 205deg); }
.rh .rh-podium { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; max-width: 760px; margin: 0 auto; }
.rh .rh-podium-slot { --tone: var(--rh-silver); display: grid; justify-items: center; min-width: 0; }
.rh .rh-podium-slot[data-place="1"] { --tone: var(--rh-gold); }
.rh .rh-podium-slot[data-place="3"] { --tone: var(--rh-bronze); }
.rh .rh-podium-person { position: relative; display: grid; justify-items: center; gap: 6px; padding-bottom: 16px; text-align: center; min-width: 0; max-width: 100%; }
.rh .rh-podium-person strong { font-size: 15px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh .rh-podium-slot[data-empty="true"] .rh-podium-person strong { color: var(--rh-faint); font-weight: 400; }
.rh .rh-podium-points { color: var(--tone); font-size: 13px; font-variant-numeric: tabular-nums; }
.rh .rh-podium-crown { display: none; color: var(--rh-gold); filter: drop-shadow(0 0 10px #f4c76aaa); }
.rh .rh-podium-crown .rh-icon { width: 28px; height: 28px; fill: #f4c76a33; }
.rh .rh-podium-slot[data-place="1"]:not([data-empty="true"]) .rh-podium-crown { display: block; }
.rh.rh-motion .rh-podium-slot[data-place="1"] .rh-podium-crown { animation: rh-bob 3s ease-in-out infinite; }
.rh .rh-avatar { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1b1427; overflow: hidden; flex: none; }
.rh .rh-podium-slot .rh-avatar { box-shadow: 0 0 0 3px #0b0a10, 0 0 0 5px var(--tone), 0 10px 30px -8px var(--tone); }
.rh .rh-podium-slot[data-place="1"] .rh-avatar { width: 84px; height: 84px; }
.rh .rh-avatar[data-empty="true"] { background: transparent; border: 1.5px dashed #ffffff2e; box-shadow: none !important; }
.rh .rh-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh .rh-monogram { font-size: 24px; font-weight: 600; color: var(--tone, var(--rh-violet)); }
.rh.rh-motion .rh-podium-slot[data-place="1"]:not([data-empty="true"]) .rh-avatar { animation: rh-halo 3.2s ease-in-out infinite; }
.rh .rh-podium-slot.is-you strong { color: #f3e8ff; }
.rh .rh-pedestal { width: 100%; height: 120px; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 16px 10px 18px; border-radius: 14px 14px 0 0; border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); border-bottom: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 18%, transparent), color-mix(in srgb, var(--tone) 4%, transparent)); transform-origin: bottom; }
.rh .rh-podium-slot[data-place="1"] .rh-pedestal { height: 168px; }
.rh .rh-podium-slot[data-place="3"] .rh-pedestal { height: 92px; }
.rh .rh-pedestal-rank { font-size: 34px; font-weight: 600; line-height: 1; color: var(--tone); text-shadow: 0 0 22px color-mix(in srgb, var(--tone) 60%, transparent); }
.rh .rh-pedestal-prize { font-size: 12px; color: #f2ecf9; text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.rh.rh-motion .rh-arena.is-in .rh-pedestal { animation: rh-rise .9s cubic-bezier(.2,.8,.2,1) both; }
.rh.rh-motion .rh-arena.is-in .rh-podium-person { animation: rh-drop .8s cubic-bezier(.2,.8,.2,1) both; }
.rh.rh-motion .rh-arena.is-in [data-place="2"] :is(.rh-pedestal, .rh-podium-person) { animation-delay: .12s; }
.rh.rh-motion .rh-arena.is-in [data-place="1"] :is(.rh-pedestal, .rh-podium-person) { animation-delay: .24s; }
.rh.rh-motion .rh-arena.is-in [data-place="3"] :is(.rh-pedestal, .rh-podium-person) { animation-delay: .36s; }
.rh .rh-tie, .rh .rh-board-empty { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; color: var(--rh-muted); font-size: 12.5px; padding: 14px 0; border-top: 1px solid var(--rh-line); }


/* Leaderboard: standings and prize pool */
.rh .rh-board-lower { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.rh .rh-standings, .rh .rh-prizes { min-width: 0; padding: 22px 24px; border: 1px solid var(--rh-line); border-radius: 18px; background: var(--rh-card); }
.rh .rh-standings header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.rh .rh-standings h3, .rh .rh-prizes h3 { font-size: 16px; font-weight: 600; }
.rh .rh-standings header span { color: var(--rh-muted); font-size: 12px; }
.rh .rh-row { position: relative; display: grid; grid-template-columns: 34px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; overflow: hidden; }
.rh .rh-row + .rh-row { margin-top: 2px; }
.rh .rh-row:hover { background: #ffffff06; }
.rh .rh-row.is-you { background: #a855f714; box-shadow: inset 0 0 0 1px #a855f74d; }
.rh .rh-row-rank { font-family: "JetBrains Mono", monospace; color: var(--rh-muted); font-size: 13px; text-align: center; }
.rh .rh-avatar-sm { width: 36px; height: 36px; }
.rh .rh-avatar-sm .rh-monogram { font-size: 15px; }
.rh .rh-row-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh .rh-row-points { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rh .rh-row { isolation: isolate; }
.rh .rh-row-bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; border-radius: 10px; background: linear-gradient(90deg, #a855f714, #a855f700); transform-origin: left; }
.rh.rh-motion .rh-row-bar { animation: rh-grow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 50ms + .15s); }
.rh.rh-motion .rh-row { animation: rh-slide .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 50ms); }
.rh .rh-rows-empty, .rh .rh-you { color: var(--rh-muted); font-size: 13px; line-height: 1.5; padding: 12px 8px; }
.rh .rh-you { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rh-line); color: #e4ccff; }
.rh .rh-prizes { background: radial-gradient(100% 80% at 100% 0%, #f4c76a14, transparent 60%), var(--rh-card); }
.rh .rh-prizes header { margin-bottom: 16px; }
.rh .rh-prize-list { display: grid; gap: 10px; }
.rh .rh-prize-list li { --tone: var(--rh-silver); display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); background: color-mix(in srgb, var(--tone) 7%, transparent); }
.rh .rh-prize-list li[data-place="1"] { --tone: var(--rh-gold); }
.rh .rh-prize-list li[data-place="3"] { --tone: var(--rh-bronze); }
.rh .rh-prize-medal { display: grid; place-items: center; height: 34px; border-radius: 9px; font-size: 12px; font-weight: 600; color: #0b0a10; background: linear-gradient(135deg, #fff, var(--tone)); }
.rh .rh-prize-list b { font-size: 17px; overflow-wrap: anywhere; }
.rh .rh-prizes > p { color: var(--rh-muted); font-size: 12.5px; line-height: 1.55; margin-top: 16px; }

/* Leaderboard: the approved analytics view sits underneath. */
.rh .rh-analytics { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rh-line); }
.rh .rh-signin { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px 24px; border-radius: 18px; border: 1px dashed #a855f74d; background: #a855f70a; }
.rh .rh-signin > .rh-icon { width: 30px; height: 30px; color: var(--rh-violet); }
.rh .rh-signin div { display: grid; gap: 4px; flex: 1; min-width: 200px; }
.rh .rh-signin span { color: var(--rh-muted); font-size: 13px; line-height: 1.5; }
.rh .rh-analytics .rw-view { max-width: none; }
.rh .rh-analytics .rw-view .rw-title { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.rh .rh-analytics .rw-view .rw-header { border-bottom: 0; padding-bottom: 6px; }
.rh .rh-analytics .rw-view .rw-content { padding: 22px; border: 1px solid var(--rh-line); border-radius: 18px; background: var(--rh-card); }

/* Terms */
.rh .rh-terms { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.rh .rh-toc { position: sticky; top: 140px; max-height: calc(100vh - 170px); overflow: auto; scrollbar-width: thin; }
.rh .rh-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--rh-line); }
.rh .rh-toc a { display: flex; gap: 10px; padding: 7px 12px; margin-left: -1px; border-left: 1px solid transparent; color: var(--rh-muted); text-decoration: none; font-size: 13px; line-height: 1.35; transition: color .2s, border-color .2s, background .2s; }
.rh .rh-toc a span { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--rh-faint); min-width: 16px; padding-top: 1px; }
.rh .rh-toc a:hover, .rh .rh-toc a[aria-current="true"] { color: var(--rh-text); border-left-color: var(--rh-purple); background: #a855f70d; }
.rh .rh-terms-body { max-width: 760px; min-width: 0; }
.rh .rh-terms-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.rh .rh-terms-head p:last-child { color: var(--rh-muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.rh .rh-summary { margin: 28px 0 12px; padding: 22px 24px; border-radius: 18px; border: 1px solid #5fe3a133; background: linear-gradient(135deg, #5fe3a10d, transparent 60%); }
.rh .rh-summary h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.rh .rh-summary h3 .rh-icon { color: var(--rh-live); width: 22px; height: 22px; }
.rh .rh-summary ul { display: grid; gap: 10px; }
.rh .rh-summary li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.55; color: #ddd6e8; }
.rh .rh-summary li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--rh-live); border-bottom: 2px solid var(--rh-live); transform: rotate(-45deg); }
.rh .rh-term { padding: 30px 0 4px; border-bottom: 1px solid var(--rh-line); scroll-margin-top: 130px; }
.rh .rh-term:last-child { border-bottom: 0; }
.rh .rh-term h3 { display: flex; align-items: baseline; gap: 12px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.rh .rh-term h3 span { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--rh-violet); padding: 3px 8px; border-radius: 7px; background: #a855f71a; }
.rh .rh-term p { color: #cfc8db; font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.rh .rh-term p b { color: var(--rh-text); }
.rh .rh-term a { color: var(--rh-violet); }
.rh .rh-term.is-flash { animation: rh-flash 1.4s ease-out; }

@keyframes rh-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes rh-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rh-spin { to { transform: rotate(360deg); } }
@keyframes rh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rh-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes rh-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes rh-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rh-flicker { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.08, .94) rotate(-3deg); } 60% { transform: scale(.95, 1.06) rotate(2deg); } }
@keyframes rh-rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes rh-drop { from { transform: translateY(-24px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rh-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(4deg); } }
@keyframes rh-slide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes rh-halo { 0%, 100% { box-shadow: 0 0 0 3px #0b0a10, 0 0 0 5px var(--tone), 0 10px 30px -8px var(--tone); } 50% { box-shadow: 0 0 0 3px #0b0a10, 0 0 0 5px var(--tone), 0 0 46px 2px color-mix(in srgb, var(--tone) 55%, transparent); } }
@keyframes rh-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rh-coin-tilt { 0%, 100% { transform: translateY(0) rotateY(-18deg) rotateX(8deg); } 50% { transform: translateY(-8px) rotateY(18deg) rotateX(-4deg); } }
@keyframes rh-coin-shine { 0%, 50% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }
@keyframes rh-pop { from { transform: scale(.82) rotate(-8deg); } to { transform: none; } }
@keyframes rh-flash { 0% { background: #a855f71f; } 100% { background: transparent; } }

@media (max-width: 1100px) {
  .rh .rh-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rh .rh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .rh .rh-steps::before { display: none; }
  .rh .rh-board-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rh .rh-board-meter { grid-column: 1 / -1; }
  .rh .rh-current { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rh .rh-current > .rh-link { grid-column: 1 / -1; order: 4; justify-self: start; }
}
@media (max-width: 850px) {
  .rh .rh-top { top: -1.5rem; margin-top: -1.5rem; padding-top: 1.5rem; }
  .rh .rh-hero { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .rh .rh-orbit { --size: 220px; order: -1; }
  .rh .rh-split, .rh .rh-board-lower, .rh .rh-current { grid-template-columns: minmax(0, 1fr); }
  .rh .rh-earn { grid-template-columns: minmax(0, 1fr); }
  .rh .rh-earn-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px 6px; }
  .rh .rh-earn-group { display: contents; }
  .rh .rh-earn-group p { display: none; }
  .rh .rh-earn-tile { flex: 0 0 150px; height: 112px; scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; justify-items: start; gap: 8px; padding: 12px; }
  .rh .rh-earn-tile::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; transform: scaleX(0); }
  .rh .rh-earn-tile[aria-pressed="true"]::before { transform: scaleX(1); }
  .rh .rh-earn-tile:hover { transform: none; }
  .rh .rh-earn-icon { width: 34px; height: 34px; border-radius: 10px; }
  .rh .rh-earn-name { max-width: 100%; align-self: center; }
  .rh .rh-terms { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rh .rh-toc { position: static; max-height: none; }
  .rh .rh-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; }
  .rh .rh-toc a { border-left: 0; border-radius: 8px; }
}
@media (max-width: 600px) {
  .rh h1 { font-size: 26px; }
  .rh .rh-title { padding-bottom: 0; }
  .rh .rh-pill { margin-bottom: 0; }
  .rh .rh-tab { padding-inline: 12px; }
  .rh .rh-block { margin-top: 56px; }
  .rh .rh-hero { padding: 28px 18px; }
  .rh .rh-orbit { --size: 180px; }
  .rh .rh-orbit-ring > span { width: 38px; height: 38px; margin: -19px; border-radius: 11px; }
  .rh .rh-steps, .rh .rh-principles { grid-template-columns: minmax(0, 1fr); }
  .rh .rh-earn-panel { padding: 22px 18px; }
  .rh .rh-earn-detail header { grid-template-columns: auto minmax(0, 1fr); }
  .rh .rh-earn-value { grid-column: 1 / -1; justify-self: start; }
  .rh .rh-earn-badge { width: 52px; height: 52px; border-radius: 15px; }
  .rh .rh-earn-facts { gap: 8px; }
  .rh .rh-earn-facts div { padding: 12px; }
  .rh .rh-earn-facts dt { font-size: 18px; }
  .rh .rh-earn-facts dd { font-size: 11px; }
  .rh .rh-board-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh .rh-current { padding: 20px 18px; }
  .rh .rh-current-stats { gap: 10px; }
  .rh .rh-current-stats dd { font-size: 17px; }
  .rh .rh-arena { padding: 28px 10px 0; }
  .rh .rh-podium { gap: 8px; }
  .rh .rh-avatar { width: 48px; height: 48px; }
  .rh .rh-podium-slot[data-place="1"] .rh-avatar { width: 62px; height: 62px; }
  .rh .rh-podium-person strong { font-size: 13px; }
  .rh .rh-pedestal { height: 96px; padding-top: 12px; }
  .rh .rh-podium-slot[data-place="1"] .rh-pedestal { height: 132px; }
  .rh .rh-podium-slot[data-place="3"] .rh-pedestal { height: 74px; }
  .rh .rh-pedestal-rank { font-size: 26px; }
  .rh .rh-pedestal-prize { font-size: 11px; }
  .rh .rh-toc ol { grid-template-columns: minmax(0, 1fr); }
  .rh .rh-converter, .rh .rh-burn, .rh .rh-standings, .rh .rh-prizes { padding: 20px 18px; }
  .rh .rh-convert-out > div b { font-size: 28px; }
  .rh .rh-next { margin-left: 0; }
  .rh .rh-board-head h2, .rh .rh-terms-head h2 { font-size: 26px; }
  .rh .rh-countdown { text-align: left; }
  .rh .rh-analytics .rw-view .rw-content { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rh *, .rh *::before, .rh *::after { animation: none !important; transition: none !important; }
}
