.rp-picks-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 18% 10%, rgba(126, 34, 206, .14), transparent 34%),
    radial-gradient(circle at 84% 88%, rgba(217, 70, 239, .10), transparent 32%),
    #08070c;
  color: #f5f3f7;
  scroll-margin-top: 96px;
}

.rp-picks-section * { box-sizing: border-box; }

.rp-picks-section__ambient {
  position: absolute;
  z-index: -1;
  inset: -40% 20% auto;
  height: 360px;
  border-radius: 50%;
  background: rgba(147, 51, 234, .12);
  filter: blur(100px);
  pointer-events: none;
}

.rp-picks-container {
  width: min(1680px, calc(100% - clamp(40px, 6vw, 112px)));
  margin: 0 auto;
}

.rp-picks-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.rp-picks-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rp-picks-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, .95);
}

.rp-picks-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
  background: linear-gradient(100deg, #fff 12%, #d8b4fe 58%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rp-picks-heading p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(228, 228, 231, .66);
  font-size: 15px;
  line-height: 1.65;
}

.rp-picks-count {
  display: grid;
  min-width: 92px;
  min-height: 76px;
  place-content: center;
  border: 1px solid rgba(192, 132, 252, .25);
  border-radius: 20px;
  background: rgba(24, 16, 35, .68);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .22);
  text-align: center;
  backdrop-filter: blur(12px);
}

.rp-picks-count span {
  color: #f0abfc;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
}

.rp-picks-count small {
  margin-top: 6px;
  color: rgba(228, 228, 231, .55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rp-picks-grid {
  display: grid;
  gap: 18px;
}

.rp-picks-grid--member {
  --rp-card-column: calc((100% - 54px) / 4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 330px;
  max-height: 1026px;
  padding-right: 9px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(217, 70, 239, .72) rgba(255, 255, 255, .045);
  scrollbar-width: thin;
}

.rp-picks-grid--member::-webkit-scrollbar { width: 7px; }
.rp-picks-grid--member::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}
.rp-picks-grid--member::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(#7dd3fc, #c026d3);
  box-shadow: 0 0 14px rgba(192, 38, 211, .34);
}

.rp-picks-grid--count-1,
.rp-picks-grid--count-2,
.rp-picks-grid--count-3 {
  justify-content: center;
}

.rp-picks-grid--count-1 { grid-template-columns: repeat(1, minmax(0, var(--rp-card-column))); }
.rp-picks-grid--count-2 { grid-template-columns: repeat(2, minmax(0, var(--rp-card-column))); }
.rp-picks-grid--count-3 { grid-template-columns: repeat(3, minmax(0, var(--rp-card-column))); }

.rp-picks-grid--member .rp-pick-card {
  display: flex;
  height: 330px;
  min-height: 330px;
  flex-direction: column;
}

.rp-picks-grid--member .rp-pick-card__selection {
  margin-top: auto;
}

.rp-picks-carousel__controls {
  display: none;
}

.rp-pick-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 20, 33, .94), rgba(10, 9, 14, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 24px 65px rgba(0, 0, 0, .28);
}

.rp-pick-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(147, 51, 234, .11);
  filter: blur(34px);
  content: "";
  pointer-events: none;
}

.rp-pick-card__topline,
.rp-pick-card__footer,
.rp-pick-card__selection > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rp-pick-type,
.rp-pick-rank {
  color: #d8b4fe;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rp-pick-type {
  padding: 7px 10px;
  border: 1px solid rgba(168, 85, 247, .22);
  border-radius: 999px;
  background: rgba(126, 34, 206, .1);
}

.rp-pick-rank { color: rgba(228, 228, 231, .45); }

.rp-pick-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 7px;
  color: #fafafa;
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.rp-pick-league,
.rp-pick-time {
  margin: 0;
  color: rgba(228, 228, 231, .58);
  font-size: 13px;
  line-height: 1.55;
}

.rp-pick-time { margin-top: 3px; color: rgba(216, 180, 254, .72); }

.rp-pick-card__selection {
  position: relative;
  z-index: 1;
  margin: 22px 0 18px;
  padding: 16px;
  border: 1px solid rgba(192, 132, 252, .18);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(126, 34, 206, .14), rgba(217, 70, 239, .06));
}

.rp-pick-card__selection > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(228, 228, 231, .48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rp-pick-card__selection strong { color: #fff; font-size: clamp(17px, 1.15vw, 20px); }
.rp-pick-card__selection b { color: #f0abfc; font-size: clamp(17px, 1.15vw, 20px); }

.rp-pick-card__footer {
  position: relative;
  z-index: 1;
  color: rgba(228, 228, 231, .52);
  font-size: 11px;
}

.rp-pick-card__footer strong { color: rgba(250, 250, 250, .78); }

.rp-pick-outcome {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.rp-pick-outcome > strong {
  padding: 3px 7px;
  border: 1px solid rgba(110, 231, 183, .2);
  border-radius: 7px;
  color: #a7f3d0;
  background: rgba(52, 211, 153, .08);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.rp-pick-outcome > strong[hidden] { display: none; }

.rp-pick-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
}

.rp-pick-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 9px rgba(245, 158, 11, .7);
  content: "";
}

.rp-pick-status--confirmed { color: #6ee7b7; }
.rp-pick-status--confirmed::before { background: #34d399; box-shadow: 0 0 9px rgba(52, 211, 153, .7); }
.rp-pick-status--not_confirmed { color: #fda4af; }
.rp-pick-status--not_confirmed::before { background: #fb7185; box-shadow: 0 0 9px rgba(251, 113, 133, .65); }
.rp-pick-status--void { color: #c4b5fd; }
.rp-pick-status--void::before { background: #a78bfa; }

.rp-pick-card--updated {
  animation: rp-pick-updated 1.6s ease both;
}

.rp-locked-stage {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, .16);
  border-radius: 30px;
  background: rgba(12, 10, 17, .7);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .035);
}

.rp-picks-grid--locked {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px;
  opacity: .48;
  filter: blur(7px) saturate(.65);
  transform: scale(1.025);
  user-select: none;
  pointer-events: none;
}

.rp-pick-card--preview { min-height: 300px; }

.rp-skeleton {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.rp-skeleton::after {
  display: block;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, .24), transparent);
  animation: rp-shimmer 2.4s ease-in-out infinite;
  content: "";
  transform: translateX(-120%);
}

.rp-skeleton--chip { width: 72px; height: 28px; }
.rp-skeleton--rank { width: 28px; height: 10px; }
.rp-skeleton--title { width: 78%; height: 20px; margin-top: 26px; }
.rp-skeleton--league { width: 58%; height: 10px; margin-top: 14px; }
.rp-skeleton--label { width: 45%; height: 8px; margin-top: 28px; }
.rp-skeleton--pick { width: 80%; height: 52px; margin-top: 13px; border-radius: 14px; }
.rp-skeleton--footer { width: 65%; height: 10px; margin-top: 26px; }

.rp-access-panel {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 36px));
  padding: 30px;
  border: 1px solid rgba(216, 180, 254, .28);
  border-radius: 26px;
  background: rgba(13, 10, 19, .88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62), 0 0 55px rgba(147, 51, 234, .16), inset 0 1px rgba(255, 255, 255, .08);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(24px);
}

.rp-access-panel__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border: 1px solid rgba(216, 180, 254, .3);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(147, 51, 234, .28), rgba(217, 70, 239, .14));
  box-shadow: 0 0 28px rgba(168, 85, 247, .2);
  animation: rp-lock-float 3.2s ease-in-out infinite;
}

.rp-access-panel__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #f5d0fe;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rp-access-panel__kicker {
  color: #d8b4fe;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rp-access-panel h3,
.rp-picks-empty h3 {
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.rp-access-panel p,
.rp-picks-empty p {
  max-width: 430px;
  margin: 0 auto;
  color: rgba(228, 228, 231, .67);
  font-size: 14px;
  line-height: 1.65;
}

.rp-access-panel__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.rp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rp-button:hover { transform: translateY(-2px); }
.rp-button:focus-visible { outline: 2px solid #f0abfc; outline-offset: 3px; }

.rp-button--primary {
  color: #fff;
  background: linear-gradient(100deg, #7e22ce, #c026d3);
  box-shadow: 0 12px 35px rgba(168, 85, 247, .25);
}

.rp-button--primary:hover { box-shadow: 0 15px 42px rgba(192, 38, 211, .36); }

.rp-button--secondary {
  border-color: rgba(255, 255, 255, .12);
  color: rgba(250, 250, 250, .82);
  background: rgba(255, 255, 255, .045);
}

.rp-button--secondary:hover { border-color: rgba(216, 180, 254, .28); background: rgba(216, 180, 254, .08); }

.rp-picks-empty {
  padding: 64px 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  background: rgba(255, 255, 255, .025);
  text-align: center;
}

.rp-picks-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #d8b4fe;
  background: rgba(168, 85, 247, .12);
}

.rp-picks-empty > span svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rp-picks-empty .rp-picks-empty__quote {
  color: rgba(216, 180, 254, .62);
  font-size: 12px;
  font-style: italic;
  letter-spacing: .04em;
}

@keyframes rp-shimmer {
  0%, 18% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(250%); }
}

@keyframes rp-lock-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 28px rgba(168, 85, 247, .2); }
  50% { transform: translateY(-5px); box-shadow: 0 0 38px rgba(217, 70, 239, .3); }
}

@keyframes rp-pick-updated {
  0% { border-color: rgba(52, 211, 153, .18); box-shadow: 0 0 0 rgba(52, 211, 153, 0); }
  40% { border-color: rgba(52, 211, 153, .7); box-shadow: 0 0 34px rgba(52, 211, 153, .24); }
  100% { border-color: rgba(255, 255, 255, .08); box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 24px 65px rgba(0, 0, 0, .28); }
}

@media (max-width: 1199px) {
  .rp-picks-container { width: min(100% - 40px, 1120px); }

  .rp-picks-grid--member {
    display: flex;
    gap: 16px;
    max-height: none;
    padding: 2px 1px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .rp-picks-grid--member::-webkit-scrollbar { display: none; }

  .rp-picks-grid--member .rp-pick-card {
    height: 330px;
    min-height: 330px;
    flex: 0 0 calc((100% - 32px) / 3);
    padding: 18px;
    border-radius: 21px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .rp-picks-grid--member .rp-pick-card h3 {
    margin-top: 18px;
    font-size: 17px;
  }

  .rp-picks-grid--member .rp-pick-card__selection {
    padding: 14px;
  }

  .rp-picks-grid--member .rp-pick-card__selection strong,
  .rp-picks-grid--member .rp-pick-card__selection b { font-size: 16px; }

  .rp-picks-carousel__controls {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
  }

  .rp-picks-carousel__controls[hidden] { display: none; }

  .rp-picks-carousel__controls button {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(216, 180, 254, .24);
    border-radius: 50%;
    color: #f5d0fe;
    background: linear-gradient(145deg, rgba(126, 34, 206, .2), rgba(15, 12, 21, .92));
    box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .24);
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, opacity .25s ease, transform .25s ease;
  }

  .rp-picks-carousel__controls button:hover:not(:disabled) {
    border-color: rgba(240, 171, 252, .6);
    box-shadow: 0 0 24px rgba(168, 85, 247, .22);
    transform: translateY(-2px);
  }

  .rp-picks-carousel__controls button:focus-visible {
    outline: 2px solid #f0abfc;
    outline-offset: 3px;
  }

  .rp-picks-carousel__controls button:disabled {
    opacity: .32;
    cursor: default;
  }

  .rp-picks-carousel__controls svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .rp-picks-carousel__position {
    display: flex;
    min-width: 72px;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin: 0;
    color: rgba(228, 228, 231, .46);
    font-size: 12px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
  }

  .rp-picks-carousel__position strong {
    color: #f0abfc;
    font-size: 18px;
  }

  .rp-picks-grid--locked { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-picks-grid--locked .rp-pick-card:nth-child(n + 4) { display: none; }
}

@media (max-width: 767px) {
  .rp-picks-grid--member { gap: 12px; }

  .rp-picks-grid--member .rp-pick-card {
    min-height: 330px;
    flex-basis: 100%;
    padding: 20px;
  }

  .rp-picks-grid--locked { grid-template-columns: 1fr; }
  .rp-picks-grid--locked .rp-pick-card:nth-child(n + 2) { display: none; }
}

@media (max-width: 640px) {
  .rp-picks-section { padding: 58px 0; }
  .rp-picks-container { width: min(100% - 28px, 1680px); }
  .rp-picks-heading { align-items: flex-start; margin-bottom: 26px; }
  .rp-picks-heading p { font-size: 13px; }
  .rp-picks-count { min-width: 68px; min-height: 62px; border-radius: 16px; }
  .rp-picks-count span { font-size: 21px; }
  .rp-locked-stage { min-height: 470px; border-radius: 24px; }
  .rp-picks-grid--locked { padding: 14px; }
  .rp-pick-card--preview { min-height: 430px; }
  .rp-access-panel { width: calc(100% - 28px); padding: 25px 18px; border-radius: 22px; }
  .rp-access-panel__actions { flex-direction: column; }
  .rp-button { width: 100%; }
  .rp-pick-card { padding: 20px; border-radius: 20px; }
  .rp-pick-card__selection strong,
  .rp-pick-card__selection b { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .rp-skeleton::after,
  .rp-access-panel__icon,
  .rp-pick-card--updated { animation: none; }
}

/* Month continuation after the original target is reached */
.rp-hero-metrics__continuation[hidden] {
  display: none;
}

.rp-hero-metrics__continuation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(52, 211, 153, .24);
  border-radius: 17px;
  background:
    linear-gradient(110deg, rgba(16, 185, 129, .09), rgba(14, 10, 24, .78) 48%, rgba(168, 85, 247, .11));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 0 28px rgba(16, 185, 129, .055);
}

.rp-hero-metrics__continuation > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rp-hero-metrics__continuation > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6ee7b7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rp-hero-metrics__continuation > div > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 11px rgba(52, 211, 153, .8);
}

.rp-hero-metrics__continuation > div > strong {
  overflow: hidden;
  color: rgba(244, 244, 245, .86);
  font-size: 11px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-hero-metrics__continuation > p {
  display: grid;
  gap: 3px;
  justify-items: end;
  margin: 0;
  text-align: right;
}

.rp-hero-metrics__continuation > p > b {
  color: #f0abfc;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.rp-hero-metrics__continuation > p > b em {
  color: rgba(244, 244, 245, .72);
  font-size: 13px;
  font-style: normal;
  font-weight: 780;
  letter-spacing: -.015em;
}

.rp-hero-metrics__continuation > p > small {
  color: #6ee7b7;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-hero-metrics__continuation > p > span {
  color: rgba(228, 228, 231, .57);
  font-size: 9px;
  font-weight: 720;
}

@media (max-width: 700px) {
  .rp-hero-metrics__continuation {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rp-hero-metrics__continuation > div > strong {
    white-space: normal;
  }

  .rp-hero-metrics__continuation > p {
    justify-items: start;
    text-align: left;
  }
}

/* Monthly Monopoly goal */
.rp-goal-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, .055);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #f7f4fb;
  font-family: "Inter", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  background:
    radial-gradient(circle at 18% 26%, rgba(126, 34, 206, .12), transparent 31%),
    radial-gradient(circle at 86% 74%, rgba(8, 145, 178, .08), transparent 28%),
    #08070c;
}

.rp-goal-section * { box-sizing: border-box; }

.rp-goal-ambient {
  position: absolute;
  z-index: -1;
  top: 18%;
  left: 50%;
  width: min(940px, 82vw);
  height: 380px;
  border-radius: 50%;
  background: rgba(126, 34, 206, .13);
  filter: blur(110px);
  pointer-events: none;
  transform: translateX(-50%);
}

.rp-goal-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rp-goal-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.rp-goal-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rp-goal-heading > span::before,
.rp-goal-heading > span::after {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9333ea);
  content: "";
}

.rp-goal-heading > span::after { background: linear-gradient(90deg, #9333ea, transparent); }

.rp-goal-heading h2 {
  margin: 11px 0 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
}

.rp-goal-heading h2 b {
  color: transparent;
  background: linear-gradient(100deg, #c4b5fd, #e879f9);
  background-clip: text;
  -webkit-background-clip: text;
}

.rp-goal-heading p {
  margin: 14px 0 0;
  color: rgba(228, 228, 231, .68);
  font-size: 15px;
}

.rp-goal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(440px, 1.55fr);
  gap: 22px 38px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(192, 132, 252, .34);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(25, 17, 39, .94), rgba(8, 8, 14, .97) 52%, rgba(16, 14, 28, .96));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .45), 0 0 42px rgba(126, 34, 206, .13), inset 0 1px rgba(255, 255, 255, .06);
}

.rp-goal-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(216, 180, 254, .09), transparent 28%, transparent 70%, rgba(34, 211, 238, .04));
  content: "";
  pointer-events: none;
}

.rp-goal-card__shine {
  position: absolute;
  top: -140px;
  left: 44%;
  width: 360px;
  height: 280px;
  border-radius: 50%;
  background: rgba(168, 85, 247, .12);
  filter: blur(80px);
  pointer-events: none;
}

.rp-goal-progress {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
}

.rp-goal-progress::before {
  position: absolute;
  width: 236px;
  height: 236px;
  border: 1px dashed rgba(168, 85, 247, .28);
  border-radius: 50%;
  content: "";
  animation: rp-goal-orbit 26s linear infinite;
}

.rp-goal-progress > svg {
  width: 244px;
  height: 244px;
  overflow: visible;
  transform: rotate(-90deg);
}

.rp-goal-progress circle {
  fill: none;
  stroke-width: 11;
}

.rp-goal-progress__track { stroke: rgba(255, 255, 255, .065); }

.rp-goal-progress__value {
  stroke: url(#rp-goal-gradient);
  stroke: #c026d3;
  stroke-linecap: round;
  stroke-dasharray: var(--rp-goal-progress) 100;
  filter: drop-shadow(0 0 8px rgba(192, 38, 211, .55));
  animation: rp-goal-draw 1.2s cubic-bezier(.2, .8, .2, 1) both;
}

.rp-goal-progress__number {
  position: absolute;
  display: flex;
  align-items: baseline;
  color: #ede9fe;
  text-shadow: 0 0 22px rgba(168, 85, 247, .32);
}

.rp-goal-progress__number strong {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.06em;
}

.rp-goal-progress__number span { margin-left: 4px; color: #d8b4fe; font-size: 24px; font-weight: 800; }

.rp-goal-main {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 8px 88px 8px 0;
}

.rp-goal-day {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border: 1px solid rgba(168, 85, 247, .28);
  border-radius: 999px;
  color: rgba(245, 243, 247, .8);
  background: rgba(24, 15, 36, .72);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rp-goal-day svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #d946ef;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rp-goal-day strong { color: #e879f9; }

.rp-goal-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 13px;
  margin: 26px 0 18px;
  line-height: .95;
}

.rp-goal-score strong {
  color: transparent;
  background: linear-gradient(100deg, #22d3ee, #c4b5fd);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -.055em;
}

.rp-goal-score > span { color: rgba(255, 255, 255, .78); font-size: 32px; font-weight: 700; }
.rp-goal-score b { color: #fff; font-size: clamp(32px, 4vw, 54px); font-weight: 850; }
.rp-goal-score em { color: #e879f9; font-size: clamp(20px, 2.5vw, 34px); font-style: normal; font-weight: 850; text-transform: uppercase; }

.rp-goal-bar {
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .25);
}

.rp-goal-bar i {
  display: block;
  width: calc(var(--rp-goal-progress) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #9333ea 58%, #d946ef);
  box-shadow: 0 0 16px rgba(168, 85, 247, .52);
  transition: width .8s cubic-bezier(.2, .8, .2, 1);
}

.rp-goal-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 0;
  color: rgba(228, 228, 231, .78);
  font-size: 14px;
  font-weight: 650;
}

.rp-goal-message > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(74, 222, 128, .62);
  border-radius: 50%;
  color: #4ade80;
  box-shadow: 0 0 13px rgba(74, 222, 128, .2);
}

.rp-goal-message b { font: inherit; }

.rp-goal-token { position: absolute; pointer-events: none; }

.rp-goal-token img { display: block; width: 100%; height: auto; }

.rp-goal-token--money {
  top: 48px;
  right: -24px;
  width: 132px;
  transform: rotate(3deg);
  animation: rp-goal-token-float 6.4s .7s ease-in-out infinite reverse;
}

.rp-goal-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, .16);
  border-radius: 22px;
  background: rgba(15, 10, 23, .64);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.rp-goal-stats > div {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  min-height: 106px;
  align-content: center;
  justify-content: center;
  padding: 18px;
}

.rp-goal-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .08); }

.rp-goal-stat-icon {
  display: grid;
  width: 46px;
  height: 46px;
  grid-row: 1 / 3;
  align-self: center;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, .22));
}

.rp-goal-stat-icon img { display: block; width: 100%; height: 100%; }

.rp-goal-stats strong {
  color: #f5f3ff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.035em;
}

.rp-goal-stats small {
  margin-top: 7px;
  color: #c084fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@keyframes rp-goal-draw {
  from { stroke-dasharray: 0 100; }
  to { stroke-dasharray: var(--rp-goal-progress) 100; }
}

@keyframes rp-goal-orbit { to { transform: rotate(360deg); } }

@keyframes rp-goal-token-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (max-width: 900px) {
  .rp-goal-card { grid-template-columns: 220px minmax(0, 1fr); gap: 20px 28px; }
  .rp-goal-progress { min-height: 245px; }
  .rp-goal-progress::before { width: 198px; height: 198px; }
  .rp-goal-progress > svg { width: 208px; height: 208px; }
  .rp-goal-main { padding-right: 66px; }
  .rp-goal-score { gap: 7px 10px; }
}

@media (max-width: 700px) {
  .rp-goal-section { padding: 62px 0; }
  .rp-goal-container { width: min(100% - 28px, 1180px); }
  .rp-goal-heading { margin-bottom: 26px; }
  .rp-goal-heading p { font-size: 13px; }
  .rp-goal-card { grid-template-columns: 1fr; gap: 6px; padding: 24px 18px 18px; border-radius: 25px; }
  .rp-goal-progress { min-height: 210px; }
  .rp-goal-progress::before { width: 180px; height: 180px; }
  .rp-goal-progress > svg { width: 190px; height: 190px; }
  .rp-goal-progress__number strong { font-size: 50px; }
  .rp-goal-main { align-items: center; padding: 6px 0 12px; text-align: center; }
  .rp-goal-token--money { top: -17px; right: -2px; width: 90px; opacity: .92; }
  .rp-goal-score { justify-content: center; margin: 22px 0 18px; }
  .rp-goal-score strong { font-size: clamp(43px, 16vw, 62px); }
  .rp-goal-score b { font-size: 34px; }
  .rp-goal-score em { width: 100%; font-size: 21px; }
  .rp-goal-bar { width: 100%; }
  .rp-goal-message { font-size: 12px; text-align: left; }
  .rp-goal-stats { margin-top: 12px; }
  .rp-goal-stats > div { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 96px; justify-items: center; padding: 14px 8px; }
  .rp-goal-stat-icon { display: grid; width: 25px; height: 25px; grid-row: auto; margin-bottom: 4px; }
  .rp-goal-stats strong { font-size: clamp(18px, 6vw, 25px); white-space: nowrap; }
  .rp-goal-stats small { font-size: 8px; letter-spacing: .08em; }
}

@media (max-width: 380px) {
  .rp-goal-card { padding-right: 14px; padding-left: 14px; }
  .rp-goal-score strong { font-size: 45px; }
  .rp-goal-score b { font-size: 29px; }
  .rp-goal-day { min-height: 42px; padding: 0 14px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .rp-goal-progress::before,
  .rp-goal-progress__value,
  .rp-goal-token--money { animation: none; }
  .rp-goal-bar i { transition: none; }
}

/* Public settled-results history. */
.rp-history-page-main { min-height: 72vh; background: #07060b; }

.rp-history-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  border-top: 1px solid rgba(255, 255, 255, .055);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #f8f5fb;
  background:
    radial-gradient(circle at 78% 12%, rgba(126, 34, 206, .16), transparent 32%),
    radial-gradient(circle at 8% 86%, rgba(217, 70, 239, .08), transparent 27%),
    #07060b;
  font-family: Inter, Roboto, sans-serif;
  font-synthesis: none;
}

.rp-history-section--detail { min-height: 72vh; padding-top: clamp(54px, 7vw, 90px); }
.rp-history-section * { box-sizing: border-box; }

.rp-history-ambient {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(126, 34, 206, .12);
  filter: blur(125px);
  pointer-events: none;
}

.rp-history-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rp-history-heading {
  display: flex;
  margin-bottom: 36px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.rp-history-heading--month { margin-bottom: 30px; }

.rp-history-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 9px;
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rp-history-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 14px rgba(217, 70, 239, .88);
}

.rp-history-heading h1,
.rp-history-heading h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(102deg, #fff 8%, #e9d5ff 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 850;
  letter-spacing: -.048em;
  line-height: 1;
}

.rp-history-heading p {
  max-width: 710px;
  margin: 15px 0 0;
  color: rgba(228, 228, 231, .64);
  font-size: 15px;
  font-weight: 570;
  line-height: 1.65;
}

.rp-history-all,
.rp-history-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.rp-history-all:hover,
.rp-history-all:focus-visible,
.rp-history-back:hover,
.rp-history-back:focus-visible { color: #fff; transform: translateX(3px); }

.rp-history-back { margin-bottom: 30px; }
.rp-history-back:hover,
.rp-history-back:focus-visible { transform: translateX(-3px); }

.rp-history-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rp-history-month-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(192, 132, 252, .21);
  border-radius: 21px;
  color: #f8f5fb;
  background:
    linear-gradient(145deg, rgba(34, 20, 51, .9), rgba(14, 10, 22, .94) 65%),
    #110b19;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 18px 55px rgba(0, 0, 0, .25);
  flex-direction: column;
  text-decoration: none;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.rp-history-month-card::before {
  content: "";
  position: absolute;
  top: -85px;
  right: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(147, 51, 234, .14);
  filter: blur(35px);
  pointer-events: none;
}

.rp-history-month-card:hover,
.rp-history-month-card:focus-visible {
  border-color: rgba(216, 180, 254, .58);
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 23px 65px rgba(0, 0, 0, .38), 0 0 28px rgba(126, 34, 206, .16);
  transform: translateY(-4px);
}

.rp-history-month-card__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.rp-history-month-card__top > span { display: grid; gap: 5px; }
.rp-history-month-card__top small { color: #c084fc; font-size: 10px; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.rp-history-month-card__top strong { color: #fff; font-size: 24px; font-weight: 820; letter-spacing: -.025em; }
.rp-history-month-card__top i { color: rgba(228, 228, 231, .56); font-size: 20px; font-style: normal; transition: color .2s ease, transform .2s ease; }
.rp-history-month-card:hover .rp-history-month-card__top i { color: #e9d5ff; transform: translate(2px, -2px); }

.rp-history-month-card__stats {
  position: relative;
  display: flex;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.rp-history-month-card__stats > span { color: rgba(228, 228, 231, .62); font-size: 12px; }
.rp-history-month-card__stats > span b { color: #fff; font-size: 22px; font-weight: 830; }
.rp-history-month-card__stats > strong { color: #34d399; font-size: 12px; font-weight: 780; text-align: right; }

.rp-history-month-card__record {
  position: relative;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(228, 228, 231, .46);
  font-size: 10px;
  font-weight: 650;
}

.rp-history-proof {
  display: flex;
  margin: 24px 0 0;
  align-items: center;
  gap: 10px;
  color: rgba(228, 228, 231, .5);
  font-size: 11px;
  font-weight: 650;
}

.rp-history-proof > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(52, 211, 153, .26);
  border-radius: 50%;
  color: #34d399;
  background: rgba(6, 78, 59, .14);
}

.rp-history-empty {
  display: grid;
  min-height: 260px;
  padding: 32px;
  place-content: center;
  border: 1px dashed rgba(192, 132, 252, .24);
  border-radius: 22px;
  color: rgba(228, 228, 231, .6);
  background: rgba(17, 11, 26, .52);
  text-align: center;
}

.rp-history-empty > span { color: #c084fc; font-size: 36px; }
.rp-history-empty h2,
.rp-history-empty h3 { margin: 10px 0 0; color: #fff; font-size: 22px; font-weight: 800; }
.rp-history-empty p { max-width: 520px; margin: 10px auto 0; font-size: 13px; line-height: 1.6; }

.rp-history-summary {
  display: grid;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid rgba(192, 132, 252, .19);
  border-radius: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(14, 9, 22, .78);
}

.rp-history-summary > div {
  display: grid;
  min-height: 108px;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.rp-history-summary > div + div { border-left: 1px solid rgba(255, 255, 255, .075); }
.rp-history-summary span { color: rgba(228, 228, 231, .5); font-size: 9px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.rp-history-summary strong { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }

.rp-history-results { display: grid; gap: 12px; }

.rp-history-result {
  display: grid;
  min-height: 105px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 17px;
  grid-template-columns: minmax(230px, 1.45fr) minmax(180px, .9fr) minmax(80px, auto) minmax(105px, auto);
  align-items: center;
  gap: 20px;
  background: linear-gradient(110deg, rgba(20, 13, 29, .92), rgba(11, 8, 17, .88));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.rp-history-result__match h2 { margin: 0; color: #f8f5fb; font-size: 17px; font-weight: 780; letter-spacing: -.018em; line-height: 1.35; }
.rp-history-result__match p { margin: 7px 0 0; color: rgba(228, 228, 231, .5); font-size: 10px; font-weight: 620; line-height: 1.45; }
.rp-history-result__pick { display: grid; gap: 6px; }
.rp-history-result__pick > span { color: #c084fc; font-size: 8px; font-weight: 790; letter-spacing: .12em; text-transform: uppercase; }
.rp-history-result__pick > strong { color: #fff; font-size: 14px; font-weight: 740; }
.rp-history-result__pick b { color: #e879f9; font: inherit; }
.rp-history-result__score { color: #fff; font-size: 20px; font-weight: 850; white-space: nowrap; text-align: center; }

.rp-history-result__status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 11px;
  font-weight: 770;
  white-space: nowrap;
}

.rp-history-result__status i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  opacity: .9;
}

.rp-history-result__status--confirmed { color: #34d399; }
.rp-history-result__status--not_confirmed { color: #fb7185; }
.rp-history-result__status--void { color: #fbbf24; }

@media (max-width: 900px) {
  .rp-history-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-history-result { grid-template-columns: minmax(220px, 1.25fr) minmax(170px, .9fr) auto; }
  .rp-history-result__status { grid-column: 3; }
  .rp-history-result__score { grid-column: 3; grid-row: 1; }
  .rp-history-result__status { grid-row: 2; }
  .rp-history-result__pick { grid-column: 2; grid-row: 1 / span 2; }
  .rp-history-result__match { grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  .rp-history-section { padding: 62px 0; }
  .rp-history-container { width: min(100% - 28px, 1180px); }
  .rp-history-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .rp-history-heading h1,
  .rp-history-heading h2 { font-size: clamp(34px, 12vw, 48px); }
  .rp-history-heading p { font-size: 13px; }
  .rp-history-months { grid-template-columns: 1fr; }
  .rp-history-month-card { min-height: 170px; padding: 21px; }
  .rp-history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-history-summary > div + div { border-left: 0; }
  .rp-history-summary > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .075); }
  .rp-history-summary > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .075); }
  .rp-history-result {
    min-height: 0;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 15px 12px;
  }
  .rp-history-result__match { grid-column: 1 / -1; grid-row: auto; }
  .rp-history-result__pick { grid-column: 1; grid-row: auto; }
  .rp-history-result__score { grid-column: 2; grid-row: 2; }
  .rp-history-result__status { grid-column: 1 / -1; grid-row: auto; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .065); }
  .rp-history-proof { align-items: flex-start; line-height: 1.5; }
}

@media (max-width: 380px) {
  .rp-history-month-card__stats { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rp-history-month-card__stats > strong { text-align: left; }
  .rp-history-result__pick > strong { font-size: 12px; }
  .rp-history-result__score { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .rp-history-month-card,
  .rp-history-month-card__top i,
  .rp-history-all,
  .rp-history-back { transition: none; }
}
