/* =====================================================================
   Horizon Boost - sections for SellAuth
   Black and white. The only colour on the page comes from the rank icons.
   Everything is scoped under .rlb so the base theme is never touched.
   ===================================================================== */

.rlb {
  --rlb-bg: #000000;
  --rlb-panel: #0C0C0C;
  --rlb-line: #262626;
  --rlb-line-soft: rgba(255, 255, 255, 0.07);
  --rlb-fg: #FFFFFF;
  --rlb-mute: #9B9B9B;
  --rlb-btn-bg: #FFFFFF;
  --rlb-btn-fg: #000000;
  --rlb-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rlb-gutter: 24px;
  --rlb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  position: relative;
  background: var(--rlb-bg);
  color: var(--rlb-fg);
  font-family: var(--rlb-font);
  font-stretch: 100%;
  font-size: 16px;
  line-height: 1.55;
  padding: 112px 0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.rlb--light {
  --rlb-bg: #FFFFFF;
  --rlb-panel: #F4F4F4;
  --rlb-line: #DCDCDC;
  --rlb-line-soft: rgba(0, 0, 0, 0.06);
  --rlb-fg: #000000;
  --rlb-mute: #5E5E5E;
  --rlb-btn-bg: #000000;
  --rlb-btn-fg: #FFFFFF;
}
.rlb *, .rlb *::before, .rlb *::after { box-sizing: border-box; }
:where(.rlb) :where(h1, h2, h3, h4, p, ol, ul, fieldset, legend) { margin: 0; padding: 0; }
:where(.rlb) fieldset { border: 0; min-width: 0; }
:where(.rlb) legend { float: none; width: auto; }
:where(.rlb) a { color: inherit; text-decoration: none; }
:where(.rlb) button { font: inherit; }
.rlb :focus-visible { outline: 2px solid var(--rlb-fg); outline-offset: 4px; border-radius: 6px; }

/* the base theme (Bootstrap) adds list padding and paragraph margins: undo them on our elements */
.rlb .rlb-ledger-list, .rlb .rlb-clock { padding-left: 0; margin: 0; }
.rlb .rlb-h2, .rlb .rlb-hero-title { margin: 0; }
.rlb .rlb-lead, .rlb .rlb-hero-sub, .rlb .rlb-fine, .rlb .rlb-total-meta, .rlb .rlb-clock-row p { margin-bottom: 0; }

.rlb-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 var(--rlb-gutter); }

/* ---------- type ---------- */
.rlb-h2 {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.rlb-h3 { font-weight: 600; font-size: 14px; color: var(--rlb-mute); margin-bottom: 14px; }
.rlb-lead { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--rlb-mute); }
.rlb-fine { font-size: 13px; color: var(--rlb-mute); margin-top: 12px; }
.rlb-head { margin-bottom: 48px; }
.rlb-num { font-variant-numeric: tabular-nums; }

/* ---------- buttons: fill wipe, magnetic pull, press, ripple ---------- */
.rlb-btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid var(--rlb-btn-bg);
  cursor: pointer;
  font-family: var(--rlb-font);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 17px;
  letter-spacing: -0.005em;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.35s var(--rlb-ease), color 0.35s var(--rlb-ease), box-shadow 0.35s var(--rlb-ease);
  -webkit-tap-highlight-color: transparent;
}
.rlb-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--rlb-ease);
}
.rlb-btn--solid { background: var(--rlb-btn-bg); color: var(--rlb-btn-fg); }
.rlb-btn--solid::before { background: var(--rlb-bg); }
.rlb-btn--solid:hover { color: var(--rlb-fg); }
.rlb-btn--ghost { background: transparent; color: var(--rlb-fg); border-color: var(--rlb-line); }
.rlb-btn--ghost::before { background: var(--rlb-fg); }
.rlb-btn--ghost:hover { color: var(--rlb-bg); border-color: var(--rlb-fg); }
.rlb-btn:hover::before { transform: scaleX(1); }
.rlb-btn:active { transform: translate3d(var(--mx), calc(var(--my) + 1px), 0) scale(0.97); transition-duration: 0.1s; }
.rlb-btn span { font-variant-numeric: tabular-nums; }
.rlb-btn.is-bump { animation: rlb-bump 0.45s var(--rlb-ease); }
@keyframes rlb-bump { 0% { transform: scale(1); } 35% { transform: scale(1.04); } 100% { transform: scale(1); } }

.rlb-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: currentColor;
  opacity: 0.22;
  transform: scale(0);
  animation: rlb-ripple 0.65s var(--rlb-ease) forwards;
  z-index: 0;
}
@keyframes rlb-ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- scroll reveals ---------- */
.rlb-motion .rlb [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.8s var(--rlb-ease), transform 0.9s var(--rlb-ease), filter 0.8s var(--rlb-ease);
  transition-delay: var(--d, 0s);
}
.rlb-motion .rlb [data-reveal="rise"] { transform: translateY(56px) scale(0.96); }
.rlb-motion .rlb [data-reveal="pop"] { transform: translateY(18px) scale(0.9); filter: blur(4px); }
.rlb-motion .rlb [data-reveal="wipe"] {
  filter: none;
  transform: translateY(0.25em);
  clip-path: inset(-20% 100% -25% -6%);
  transition: clip-path 1s var(--rlb-ease), opacity 0.6s ease, transform 1s var(--rlb-ease);
  transition-delay: var(--d, 0s);
}
.rlb-motion .rlb [data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(-20% -10% -25% -6%); }

/* sections of the base theme fade up too */
.rlb-motion [data-rlb-reveal-ext] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--rlb-ease, ease), transform 1s var(--rlb-ease, ease);
}
.rlb-motion [data-rlb-reveal-ext].is-in { opacity: 1; transform: none; }

/* ---------- smooth scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- scroll progress (top of the page) ---------- */
.rlb-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3000;
  background: #fff;
  mix-blend-mode: difference;
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- rank images (yours) and drawn fallbacks ---------- */
.rlb-rank-img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* =====================================================================
   HERO
   ===================================================================== */
.rlb-hero { padding: 120px 0 0; min-height: 88vh; display: flex; flex-direction: column; }
.rlb-hero-media {
  position: absolute;
  inset: -6% 0 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.15) brightness(0.55);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease;
  will-change: transform;
}
.rlb-hero-media.has-photo { opacity: 1; }
.rlb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(0deg, #000 0%, transparent 30%);
}
.rlb-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--rlb-line-soft);
  stroke-width: 1.5;
  pointer-events: none;
}
.rlb-field .rlb-field-dot { fill: rgba(255, 255, 255, 0.2); }
.rlb-hero .rlb-wrap { z-index: 1; width: 100%; }


.rlb-hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-bottom: 72px;
}
.rlb-hero-title {
  font-weight: 900;
  font-style: italic;
  font-stretch: 115%;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.rlb-hero-title { max-width: 9.2em; }
.rlb-hero-line { display: block; padding-bottom: 0.04em; }
.rlb-hero-line--rank { display: flex; align-items: center; gap: 0.28em; }
.rlb-rotator { display: inline-flex; align-items: center; gap: 0.18em; transition: opacity 0.3s ease, transform 0.35s var(--rlb-ease), filter 0.3s ease; }
.rlb-rotator.is-out { opacity: 0; transform: translateY(-0.25em); filter: blur(8px); }
.rlb-rotator.is-in { animation: rlb-rot-in 0.45s var(--rlb-ease); }
@keyframes rlb-rot-in { from { opacity: 0; transform: translateY(0.3em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.rlb-rotator-icon { width: 0.95em; height: 0.95em; flex: none; font-style: normal; }
.rlb-rotator-icon svg, .rlb-rotator-icon img { width: 100%; height: 100%; display: block; }
.rlb-hero-dot { color: var(--rlb-fg); margin-left: -0.26em; }
.rlb-hero-sub { margin-top: 28px; max-width: 50ch; font-size: 19px; color: #C9C9C9; }
.rlb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.rlb-hero-links {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rlb-line);
  max-width: 640px;
}
.rlb-hero-link { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 4px 0; }
.rlb-hero-link + .rlb-hero-link { padding-left: 16px; border-left: 1px solid var(--rlb-line); }
.rlb-hero-link::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--rlb-fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--rlb-ease);
}
.rlb-hero-link:hover::before { transform: scaleX(1); }
.rlb-hero-link-name { font-size: 14px; color: var(--rlb-mute); }
.rlb-hero-link-price { font-weight: 800; font-stretch: 118%; font-size: 22px; line-height: 1.2; transition: transform 0.35s var(--rlb-ease); }
.rlb-hero-link:hover .rlb-hero-link-price { transform: translateX(4px); }

.rlb-hero-meter { display: flex; justify-content: center; }

/* ticker of every rank */
.rlb-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rlb-line);
  border-bottom: 1px solid var(--rlb-line);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rlb-ticker-track { display: flex; width: max-content; animation: rlb-ticker 60s linear infinite; }
.rlb-ticker:hover .rlb-ticker-track { animation-play-state: paused; }
.rlb-ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; white-space: nowrap; }
.rlb-ticker-item > svg, .rlb-ticker-item > img { width: 30px; height: 30px; }
.rlb-ticker-item b { font-weight: 700; font-stretch: 112%; font-size: 15px; color: #CFCFCF; }
@keyframes rlb-ticker { to { transform: translateX(-50%); } }

/* ---------- boost gauge ---------- */
.rlb-gauge { position: relative; width: 100%; aspect-ratio: 1; color: var(--rlb-fg); }
.rlb-gauge--hero { max-width: 340px; }
.rlb-gauge-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rlb-gauge-core { fill: var(--rlb-bg); stroke: var(--rlb-line); stroke-width: 1.5; }
.rlb-gauge-bg { stroke: var(--rlb-line); }
.rlb-gauge-read { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 4%; }
.rlb-gauge-num {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(56px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.rlb-gauge-unit { font-weight: 600; font-size: 15px; color: var(--rlb-mute); margin-top: 6px; }
.rlb-gauge-unit:empty { display: none; }
.rlb-gauge--hero .rlb-gauge-svg { transition: filter 0.8s ease; }
.rlb-gauge--hero.is-full .rlb-gauge-svg { filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35)); }

/* =====================================================================
   CALCULATOR
   ===================================================================== */
.rlb-calc { border-top: 1px solid var(--rlb-line); }
.rlb-console {
  background: var(--rlb-panel);
  border: 1px solid var(--rlb-line);
  border-radius: 28px;
  padding: 44px 44px 40px;
}
.rlb-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.rlb-end { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rlb-end-label { font-size: 14px; font-weight: 600; color: var(--rlb-mute); }
.rlb-end-name { margin-top: 6px; font-weight: 800; font-stretch: 118%; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.05; min-height: 1em; letter-spacing: -0.01em; }

.rlb-emblem {
  --rlb-tier: #3E8DF0;
  --rlb-tier-light: #CDE8FF;
  position: relative;
  width: clamp(120px, 15vw, 180px);
  aspect-ratio: 1;
  margin: 14px 0 10px;
}
.rlb-emblem::before {
  content: '';
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--rlb-tier), transparent);
  opacity: 0.22;
  transition: background 0.5s ease;
}
.rlb-emblem::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0;
  pointer-events: none;
}
.rlb-emblem.is-tier-change::after { animation: rlb-ring 0.75s var(--rlb-ease); }
.rlb-emblem-layer { position: absolute; inset: 0; }
.rlb-emblem-layer svg, .rlb-emblem-layer img { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55)); }
.rlb-emblem-layer.is-in.from-below { animation: rlb-in-below 0.55s var(--rlb-ease) both; }
.rlb-emblem-layer.is-in.from-above { animation: rlb-in-above 0.55s var(--rlb-ease) both; }
.rlb-emblem-layer.is-out.to-above { animation: rlb-out-above 0.45s ease both; }
.rlb-emblem-layer.is-out.to-below { animation: rlb-out-below 0.45s ease both; }
@keyframes rlb-in-below { from { opacity: 0; transform: translateY(18px) scale(0.78) rotate(-6deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rlb-in-above { from { opacity: 0; transform: translateY(-18px) scale(1.18) rotate(6deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rlb-out-above { to { opacity: 0; transform: translateY(-20px) scale(1.15); filter: blur(8px); } }
@keyframes rlb-out-below { to { opacity: 0; transform: translateY(20px) scale(0.8); filter: blur(8px); } }
@keyframes rlb-ring { 0% { opacity: 0.8; transform: scale(0.65); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rlb-text { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.is-swap { animation: rlb-text 0.38s var(--rlb-ease) both; }

.rlb-nudge { display: flex; gap: 8px; margin-top: 14px; }
.rlb-nudge-btn {
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--rlb-line);
  background: transparent;
  color: var(--rlb-fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.rlb-nudge-btn:hover { background: var(--rlb-fg); color: var(--rlb-bg); border-color: var(--rlb-fg); }
.rlb-nudge-btn:active { transform: scale(0.92); }

.rlb-pair-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rlb-trail { position: relative; width: 100%; height: 26px; }
.rlb-trail i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--rlb-fg)); }
.rlb-trail i:nth-child(1) { top: 3px; left: 18%; right: 8%; opacity: 0.35; }
.rlb-trail i:nth-child(2) { top: 12px; }
.rlb-trail i:nth-child(3) { top: 21px; left: 30%; right: 14%; opacity: 0.35; }
.rlb-trail.is-go i { animation: rlb-whoosh 0.6s var(--rlb-ease); }
.rlb-trail.is-go i:nth-child(1) { animation-delay: 0.04s; }
.rlb-trail.is-go i:nth-child(3) { animation-delay: 0.08s; }
@keyframes rlb-whoosh { 0% { transform: translateX(-40%) scaleX(0.3); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.rlb-climb { font-weight: 700; font-stretch: 112%; font-size: 16px; color: var(--rlb-mute); white-space: nowrap; }

/* dual slider */
.rlb-slider { --thumb: 30px; position: relative; height: 104px; margin: 36px 0 8px; }
.rlb-track { position: absolute; top: 12px; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2); height: 4px; border-radius: 4px; background: var(--rlb-line); }
.rlb-track-tiers i { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #4A4A4A; }
.rlb-track-fill { position: absolute; top: -1px; bottom: -1px; border-radius: 4px; background: var(--rlb-fg); box-shadow: 0 0 18px rgba(255, 255, 255, 0.3); transition: left 0.2s var(--rlb-ease), right 0.2s var(--rlb-ease); }
.rlb-range { position: absolute; top: 0; left: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 3; }
.rlb-range:focus { outline: none; }
.rlb-range::-webkit-slider-runnable-track { background: none; height: 30px; }
.rlb-range::-moz-range-track { background: none; height: 30px; }
.rlb-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  cursor: grab;
  transition: transform 0.15s var(--rlb-ease), box-shadow 0.2s ease;
}
.rlb-range::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #000; border: 3px solid #fff; cursor: grab; }
.rlb-range--to::-webkit-slider-thumb { background: #fff; border-color: #fff; }
.rlb-range--to::-moz-range-thumb { background: #fff; }
.rlb-range:hover::-webkit-slider-thumb { transform: scale(1.1); }
.rlb-range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.18); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12); }
.rlb-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.45); }
.rlb-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.45); }

.rlb-scale { position: absolute; top: 38px; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2); height: 64px; }
.rlb-scale > span { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; width: 86px; text-align: center; font-weight: 600; font-size: 12.5px; line-height: 1.15; color: var(--rlb-mute); }
.rlb-scale > span:last-child { transform: translateX(-72%); }
.rlb-scale-icon { width: 28px; height: 28px; }
.rlb-scale-icon svg, .rlb-scale-icon img { width: 100%; height: 100%; display: block; }
.rlb-scale-tiny { display: none; }

/* bottom: ledger / extras / total */
.rlb-bottom { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 0.9fr); gap: 36px; margin-top: 28px; padding-top: 32px; border-top: 1px solid var(--rlb-line); }
.rlb-ledger-list { list-style: none; }
.rlb-ledger-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--rlb-line); font-size: 15px; animation: rlb-text 0.35s var(--rlb-ease) both; }
.rlb-ledger-row span { min-width: 0; }
.rlb-ledger-row em { display: block; font-style: normal; font-size: 13px; color: var(--rlb-mute); }
.rlb-ledger-row b { font-weight: 800; font-stretch: 118%; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rlb-ledger-row.is-extra span { color: var(--rlb-mute); }
.rlb-to { font-style: normal; color: var(--rlb-mute); }

.rlb-extra { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 8px; margin: 0 -8px; border-bottom: 1px solid var(--rlb-line); border-radius: 10px; cursor: pointer; transition: background-color 0.2s ease; }
.rlb-extra:hover { background: var(--rlb-line-soft); }
.rlb-extra:first-of-type { padding-top: 6px; }
.rlb-extra input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rlb-switch { position: relative; width: 44px; height: 26px; margin-top: 1px; border-radius: 26px; background: transparent; border: 1.5px solid #4A4A4A; transition: background-color 0.25s ease, border-color 0.25s ease; }
.rlb-switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 15px; height: 15px; border-radius: 50%; background: #8A8A8A; transition: transform 0.35s var(--rlb-ease), background-color 0.25s ease, width 0.2s ease; }
.rlb-extra:active .rlb-switch::after { width: 20px; }
.rlb-extra input:checked + .rlb-switch { background: var(--rlb-fg); border-color: var(--rlb-fg); }
.rlb-extra input:checked + .rlb-switch::after { transform: translateX(18px); background: var(--rlb-bg); }
.rlb-extra:active input:checked + .rlb-switch::after { transform: translateX(13px); }
.rlb-extra input:focus-visible + .rlb-switch { outline: 2px solid var(--rlb-fg); outline-offset: 3px; }
.rlb-extra-name { display: block; font-weight: 700; }
.rlb-extra-desc { display: block; font-size: 14px; color: var(--rlb-mute); line-height: 1.45; margin-top: 2px; }
.rlb-extra-price { font-weight: 800; font-stretch: 118%; font-size: 17px; white-space: nowrap; }
.rlb-extra.is-disabled { cursor: default; }
.rlb-extra.is-disabled .rlb-switch, .rlb-extra.is-disabled .rlb-extra-price, .rlb-extra.is-disabled .rlb-extra-name { opacity: 0.35; }

.rlb-total { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.rlb-gauge--price { max-width: 236px; margin: -6px auto 0; }
.rlb-gauge--price .rlb-gauge-num { font-size: 64px; }
.rlb-total-meta { font-size: 14px; color: var(--rlb-mute); margin: 6px 0 16px; }
.rlb-total .rlb-btn { width: 100%; }

/* =====================================================================
   PLAY WITH A BOOSTER (white section)
   ===================================================================== */
.rlb-duo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.rlb-head--side { margin-bottom: 0; }
.rlb-photo {
  margin-top: 36px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background: var(--rlb-panel);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1);
  display: none;
}
.rlb-photo.has-photo { display: block; animation: rlb-text 0.8s var(--rlb-ease) both; }
.rlb-duo-panel { border-left: 2px solid var(--rlb-fg); padding: 4px 0 4px 40px; display: grid; gap: 34px; }
.rlb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rlb-chip { position: relative; cursor: pointer; }
.rlb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rlb-chip-body {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--rlb-line);
  background: var(--rlb-bg);
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.rlb-chip:hover .rlb-chip-body { border-color: var(--rlb-fg); }
.rlb-chip:active .rlb-chip-body { transform: scale(0.96); }
.rlb-chip input:checked + .rlb-chip-body { background: var(--rlb-fg); color: var(--rlb-bg); border-color: var(--rlb-fg); }
.rlb-chip input:focus-visible + .rlb-chip-body { outline: 2px solid var(--rlb-fg); outline-offset: 3px; }
.rlb-chip-emblem { width: 36px; height: 36px; flex: none; }
.rlb--light .rlb-chip-emblem { background: #000; border-radius: 50%; padding: 5px; }
.rlb-chip-emblem svg, .rlb-chip-emblem img { width: 100%; height: 100%; display: block; overflow: visible; }
.rlb-chip--time .rlb-chip-body { padding: 8px 24px; color: var(--rlb-mute); }
.rlb-chip--time b { font-weight: 800; font-stretch: 125%; font-size: 26px; color: var(--rlb-fg); margin-right: 3px; transition: color 0.25s ease; }
.rlb-chip--time input:checked + .rlb-chip-body, .rlb-chip--time input:checked + .rlb-chip-body b { color: var(--rlb-bg); }
.rlb-chip.is-disabled { cursor: not-allowed; }
.rlb-chip.is-disabled .rlb-chip-body { opacity: 0.35; text-decoration: line-through; }

.rlb-duo-buy, .rlb-coach-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 32px; }
.rlb-price { display: flex; align-items: baseline; gap: 6px; }
.rlb-price-num { display: inline-block; font-weight: 900; font-stretch: 125%; font-size: 88px; line-height: 0.85; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rlb-price-cur { font-weight: 800; font-stretch: 118%; font-size: 32px; }
.rlb-price-per { font-size: 15px; color: var(--rlb-mute); margin-left: 8px; }

/* =====================================================================
   COACHING
   ===================================================================== */
.rlb-coach { border-top: 1px solid var(--rlb-line); }
.rlb-coach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.rlb-coach-buy { margin-top: 36px; }
.rlb-clock { list-style: none; position: relative; }
.rlb-clock::before { content: ''; position: absolute; top: 28px; bottom: 28px; left: 55px; width: 1px; background: linear-gradient(var(--rlb-line), var(--rlb-fg)); }
.rlb-clock-row { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; padding: 10px 0 28px; }
.rlb-clock-time {
  position: relative;
  z-index: 1;
  align-self: start;
  text-align: center;
  padding: 8px 0 6px;
  border-radius: 10px;
  background: var(--rlb-bg);
  border: 1px solid var(--rlb-line);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.rlb-clock-row:hover .rlb-clock-time, .rlb-clock-row:last-child .rlb-clock-time { background: var(--rlb-fg); color: var(--rlb-bg); border-color: var(--rlb-fg); }
.rlb-clock-title { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 4px 0 6px; }
.rlb-clock-row p { color: var(--rlb-mute); font-size: 15px; max-width: 48ch; }

/* ---------- setup checklist (theme editor only) ---------- */
.rlb-setup { margin-top: 28px; padding: 20px 22px; border: 1px dashed #555; border-radius: 14px; background: rgba(255, 255, 255, 0.03); font-size: 14px; }
.rlb-setup-title { font-weight: 600; margin-bottom: 14px; }
.rlb-setup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rlb-setup h4 { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.rlb-setup ul { list-style: none; margin: 0; padding: 0; }
.rlb-setup li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--rlb-mute); }
.rlb-setup li b { white-space: nowrap; }
.rlb-setup li.is-ok b { color: #fff; }
.rlb-setup li.is-missing b { color: #ff7a7a; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .rlb { padding: 88px 0; }
  .rlb-hero { padding-top: 72px; min-height: 0; }
  .rlb-hero-grid { grid-template-columns: 1fr; }
  .rlb-hero-meter { display: none; }
  .rlb-bottom { grid-template-columns: 1fr 1fr; }
  .rlb-total { grid-column: 1 / -1; }
  .rlb-duo-grid, .rlb-coach-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .rlb { --rlb-gutter: 16px; padding: 72px 0; }
  .rlb-hero { padding-top: 48px; }
  .rlb-hero-grid { padding-bottom: 48px; }
  .rlb-hero-title { font-size: clamp(34px, 10vw, 46px); }
  .rlb-hero-sub { font-size: 17px; }
  .rlb-hero-actions .rlb-btn { flex: 1 1 100%; }
  .rlb-hero-links { grid-template-columns: 1fr; }
  .rlb-hero-link { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 0; }
  .rlb-hero-link + .rlb-hero-link { padding-left: 0; border-left: 0; border-top: 1px solid var(--rlb-line); }
  .rlb-console { padding: 26px 16px; border-radius: 20px; margin: 0 -4px; }
  .rlb-pair { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 6px; }
  .rlb-emblem { width: 104px; }
  .rlb-end-name { font-size: 19px; }
  .rlb-climb { font-size: 13px; white-space: normal; text-align: center; line-height: 1.15; }
  .rlb-nudge-btn { width: 40px; }
  .rlb-scale-long, .rlb-scale-tiny { display: none !important; }
  .rlb-scale > span { width: auto; }
  .rlb-scale > span:last-child { transform: translateX(-50%); }
  .rlb-scale-icon { width: 22px; height: 22px; }
  .rlb-slider { height: 76px; }
  .rlb-bottom { grid-template-columns: 1fr; gap: 28px; }
  .rlb-duo-panel { padding-left: 18px; }
  .rlb-price-num { font-size: 72px; }
  .rlb-clock-row { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .rlb-clock::before { left: 43px; }
  .rlb-clock-time { font-size: 21px; }
}

/* only when the owner turns on "Respect reduce motion" in the theme editor */
.rlb-reduce-motion .rlb *, .rlb-reduce-motion .rlb *::before, .rlb-reduce-motion .rlb *::after { animation: none !important; transition: none !important; }
.rlb-reduce-motion .rlb-btn { transform: none !important; }

/* checkout */
.rlb-altcha { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.rlb-btn.is-loading { cursor: progress; opacity: 0.75; }
.rlb-checkout-msg { color: var(--rlb-fg); }