.rewards-wrap {
  max-width: 1080px;
}

.rewards-grid {
  display: grid;
  gap: 16px;
}

.rewards-rank-row {
  display: grid;
  gap: 16px;
}

.rewards-card,
.rewards-rank-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: none;
}

.rewards-card {
  padding: 18px 18px 16px;
}

.rewards-card-head,
.rewards-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rewards-card-head h2,
.rewards-history h2,
.rewards-modal h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.rewards-history h2 {
  margin-bottom: 12px;
}

.rewards-note {
  position: relative;
}

.rewards-note summary {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary, #b0b0b0);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rewards-note summary::-webkit-details-marker {
  display: none;
}

.rewards-note p {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 2;
  width: min(280px, 70vw);
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.82rem;
  line-height: 1.4;
}

.rewards-note a {
  color: #e6c15a;
}

.rewards-progress-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.rewards-rank-split {
  display: grid;
  grid-template-columns: minmax(7.5rem, 25%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.rewards-rank-split.rewards-rank-split--open {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

.rewards-rank-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  align-self: stretch;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.rewards-rank-now .rewards-badge,
.rewards-rank-now .rewards-unranked {
  width: 112px;
  height: 112px;
}

.rewards-rank-now .rewards-rank-kicker {
  font-size: 0.82rem;
}

.rewards-rank-now .rewards-unranked.rewards-coin {
  font-size: 2rem;
}

.rewards-rank-now .rewards-rank-name {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.rewards-rank-now .rewards-rank-benefit {
  font-size: 1.05rem;
}

.rewards-rank-kicker {
  margin: 0;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rewards-rank-now .rewards-rank-kicker {
  color: #fff;
}

.rewards-rank-benefit {
  margin: 0;
  color: #e6c97a;
  font-size: 0.86rem;
  font-weight: 700;
}

.rewards-rank-next {
  min-width: 0;
}

.rewards-next-track {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.rewards-rank-next .rewards-rail {
  margin-top: 4px;
}

.rewards-rank-next .rewards-progress-foot {
  margin-top: 10px;
  text-align: left;
}

.rewards-rank-next .rewards-badge,
.rewards-rank-next .rewards-unranked {
  width: 56px;
  height: 56px;
}

.rewards-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.rewards-badge,
.rewards-unranked {
  width: 72px;
  height: 72px;
}

.rewards-badge {
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.rewards-unranked {
  display: block;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  clip-path: polygon(50% 4%, 93% 27%, 93% 73%, 50% 96%, 7% 73%, 7% 27%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.rewards-unranked--small {
  width: 54px;
  height: 54px;
}

.rewards-unranked.rewards-coin {
  display: grid;
  place-items: center;
  color: #e6c97a;
  font-size: 1.15rem;
}

.rewards-unranked--small.rewards-coin {
  font-size: 0.95rem;
}

.rewards-rank-name,
.rewards-rail-item span,
.rewards-state {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary, #b0b0b0);
}

.rewards-end--next .rewards-rank-name {
  color: #e6c97a;
}

.rewards-rail-item.is-current span {
  color: #d0bfff;
}

.rewards-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rewards-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary, #4c6ef5), var(--accent, #7c3aed));
}

.rewards-progress-foot {
  margin-top: 18px;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.92rem;
}

.rewards-path {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.rewards-path .rewards-rail,
.rewards-path .rewards-empty {
  margin-top: auto;
  margin-bottom: auto;
}

.rewards-rail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 2px;
  overflow: visible;
}

.rewards-rail-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.rewards-rail-item span {
  text-decoration: none;
  line-height: 1.15;
}

.rewards-rail-badge {
  position: relative;
  width: min(64px, 100%);
  display: grid;
  place-items: center;
}

.rewards-rail-badge img,
.rewards-rail-badge .rewards-unranked {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.rewards-rail-item.is-locked {
  opacity: 0.32;
}

.rewards-rail-item.is-current span {
  color: #fff;
}

.rewards-rail-item.is-current .rewards-rail-badge {
  filter: drop-shadow(0 0 12px rgba(230, 201, 122, 0.7));
}

.rewards-rail--open {
  gap: 6px;
  padding: 6px 0 4px;
}

.rewards-status .rewards-rail.rewards-rail--open {
  margin-top: 18px;
}

.rewards-rail--open .rewards-rail-item {
  gap: 10px;
}

.rewards-rail--open .rewards-rail-item span {
  font-size: 0.8rem;
}

.rewards-rail--open .rewards-rail-badge {
  width: min(88px, 100%);
}

.rewards-rail--open .rewards-chevron {
  width: 9px;
  height: 9px;
  margin-top: 38px;
}

.rewards-rail-badge .fa-lock {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #121212;
  color: rgba(222, 226, 230, 0.7);
  font-size: 0.5rem;
  display: grid;
  place-items: center;
}

.rewards-chevron {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 7px;
  height: 7px;
  margin-top: 26px;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
  border-right: 2px solid rgba(255, 255, 255, 0.28);
  transform: rotate(45deg);
}

.rewards-history {
  margin-top: 0;
  padding: 0;
}

.rewards-periods,
.rewards-rank-row,
.rewards-cadence-wrap {
  grid-column: 1 / -1;
}

.rewards-cadence-lead {
  margin: 10px 0 14px;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.9rem;
  line-height: 1.45;
}

.rewards-cadence-lead a {
  color: #e6c15a;
}

.rewards-cadence-grid {
  display: grid;
  gap: 12px;
}

.rewards-cadence-grid--benefits {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.rewards-cadence {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #2a2a2a;
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.rewards-cadence-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.rewards-cadence-foot .rewards-cadence-wager,
.rewards-cadence-foot .rewards-cadence-rate,
.rewards-cadence-foot .rewards-cadence-when {
  margin: 0;
}

.rewards-cadence h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.rewards-perk-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e6c97a;
}

.rewards-perk-title .fas {
  font-size: 0.82em;
  line-height: 1;
}

.rewards-cadence-amount {
  margin: 8px 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rewards-cadence-when,
.rewards-cadence-rate {
  margin: 0;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.84rem;
  line-height: 1.4;
}

.rewards-cadence-when {
  color: #e6c97a;
  font-size: 0.8rem;
  font-weight: 650;
}

.rewards-cadence-wager {
  margin: 0;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.84rem;
  line-height: 1.4;
}

.rewards-cadence-wager strong {
  color: #fff;
  font-weight: 650;
}

.rewards-cadence-rate {
  margin-top: 8px;
  color: inherit;
}

.rewards-history-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.rewards-history-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-history-list strong {
  font-weight: 650;
}

.rewards-playable-title {
  margin-top: 8px;
}

.rewards-period + .rewards-period {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-period-head-status {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.86rem;
}

.rewards-balance {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2a2a2a;
}

.rewards-payments {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.rewards-payments li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.rewards-period-head span,
.rewards-period-preview {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.86rem;
}

.rewards-period-preview {
  margin: 8px 0 0;
}

.rewards-period .rewards-progress-foot,
.rewards-lht .rewards-progress-foot {
  margin-top: 8px;
}

.rewards-lht-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
}

.rewards-rail--lht {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 14px;
  margin-top: 16px;
}

.rewards-rail--lht .rewards-rail-item {
  flex: 0 1 84px;
}

.rewards-empty,
.rewards-modal-head p,
.rewards-modal-list span {
  margin: 2px 0 0;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.86rem;
}

.rewards-modal-list span {
  flex: 1;
  text-align: right;
  overflow-wrap: anywhere;
}

.rewards-modal {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: var(--bg-card, #1e1e1e);
  color: var(--text-color, #f0f0f0);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.rewards-modal::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.rewards-edge {
  margin: 16px 0 6px;
}

.rewards-edge strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}

.rewards-edge span,
.rewards-edge-note {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.86rem;
  line-height: 1.45;
}

.rewards-edge-note {
  margin: 0 0 12px;
}

.rewards-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.rewards-modal-head .rewards-badge,
.rewards-modal-head .rewards-unranked {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.rewards-modal h2 {
  text-transform: none;
  letter-spacing: 0;
}

.rewards-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rewards-modal-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-modal-list strong {
  text-transform: capitalize;
}

.rewards-modal-close {
  display: block;
  width: fit-content;
  min-width: 120px;
  margin: 16px auto 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.rewards-carousel {
  position: relative;
  margin: 0 -6px;
}

.rewards-received-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 8px;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.rewards-received-scroll::-webkit-scrollbar {
  height: 7px;
}

.rewards-received-scroll::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 99px;
}

.rewards-received-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 99px;
}

.rewards-received-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.rewards-received {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rewards-gift {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(220px, 72vw, 260px);
  width: clamp(220px, 72vw, 260px);
  scroll-snap-align: start;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-carousel-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 18, 0.92);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.rewards-carousel-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.rewards-carousel-prev { left: 0; }
.rewards-carousel-next { right: 0; }

.rewards-carousel-nav i {
  font-size: 0.85rem;
  pointer-events: none;
}

.rewards-gift-thumb {
  position: relative;
  aspect-ratio: 120 / 68;
  border-radius: 12px;
  overflow: hidden;
  background: #10151d;
}

.rewards-gift-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rewards-type {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.rewards-type--vip {
  background: rgba(76, 45, 140, 0.9);
  border-color: rgba(167, 139, 250, 0.5);
}

.rewards-type--lht {
  background: rgba(74, 52, 12, 0.92);
  border-color: rgba(230, 201, 122, 0.6);
  color: #f6e7c1;
}

.rewards-gift-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 4px 12px;
  flex: 1;
  min-width: 0;
}

.rewards-gift-copy strong {
  font-size: 1rem;
  font-weight: 650;
}

.rewards-gift-copy span {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.86rem;
  line-height: 1.35;
}

.rewards-redeem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: #e6c97a;
  color: #0b0f16;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

body a.rewards-redeem:link,
body a.rewards-redeem:visited,
body a.rewards-redeem:hover,
body a.rewards-redeem:active {
  color: #0b0f16;
  text-decoration: none;
}

.rewards-redeem.is-done,
.rewards-redeem:disabled {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
  cursor: default;
}

.rewards-gift.is-past {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.rewards-gift.is-past .rewards-gift-thumb img {
  filter: grayscale(1);
  opacity: 0.55;
}

.rewards-gift.is-past .rewards-gift-copy strong,
.rewards-gift.is-past .rewards-type {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .vip-page .hero-modern .container,
  .vip-page .rewards-wrap {
    width: 100%;
    max-width: none;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

  .rewards-card {
    padding: 14px 12px 12px;
  }

  .rewards-history-list li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rewards-history-list li span:last-child {
    grid-column: 1 / -1;
    color: var(--text-secondary, #b0b0b0);
  }

  .rewards-progress-row,
  .rewards-lht-row {
    grid-template-columns: minmax(52px, 22%) minmax(0, 1fr) minmax(52px, 22%);
    gap: 8px;
  }

  .rewards-rank-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rewards-rank-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .rewards-rank-now .rewards-badge,
  .rewards-rank-now .rewards-unranked {
    width: 96px;
    height: 96px;
  }

  .rewards-rank-now .rewards-rank-kicker {
    font-size: 0.72rem;
  }

  .rewards-rank-now .rewards-rank-name {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .rewards-rank-now .rewards-rank-benefit {
    font-size: 0.95rem;
  }

  .rewards-next-track {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 8px;
    align-items: start;
  }

  .rewards-rank-next .rewards-progress-mid {
    padding-top: 21px;
  }

  .rewards-rank-next .rewards-badge,
  .rewards-rank-next .rewards-unranked {
    width: 52px;
    height: 52px;
  }

  .rewards-rank-next .rewards-rank-name {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .rewards-rank-next .rewards-progress-foot,
  .rewards-status .rewards-rank-next .rewards-progress-foot {
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    font-size: 0.82rem;
    text-align: center;
  }

  .rewards-rank-next .rewards-status-label {
    margin: 14px 0 6px;
  }

  .rewards-status .rewards-progress-row {
    grid-template-columns: minmax(52px, 1fr) minmax(72px, 2.4fr) minmax(52px, 1fr);
    grid-template-areas:
      "current meter next"
      "foot foot foot";
    row-gap: 10px;
  }

  .rewards-status .rewards-progress-row > .rewards-end:first-child {
    grid-area: current;
  }

  .rewards-status .rewards-progress-row > .rewards-end--next {
    grid-area: next;
  }

  .rewards-status .rewards-progress-row .rewards-progress-mid {
    display: contents;
  }

  .rewards-status .rewards-progress-row .rewards-meter {
    grid-area: meter;
    align-self: center;
  }

  .rewards-status .rewards-progress-row .rewards-progress-foot {
    grid-area: foot;
    flex-direction: column;
    gap: 2px;
  }

  .rewards-status .rewards-progress-figures {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    column-gap: 0.35em;
  }

  .rewards-status .rewards-progress-foot span {
    overflow-wrap: normal;
  }

  .rewards-summary,
  .rewards-switch {
    width: 100%;
    max-width: none;
  }

  .rewards-switch button {
    padding: 0 6px;
    font-size: 0.92rem;
  }

  .rewards-cadence-when,
  .rewards-cadence-rate,
  .rewards-cadence-lead,
  .rewards-progress-foot span {
    overflow-wrap: anywhere;
  }

  .rewards-chevron {
    margin-top: 22px;
  }

  .rewards-status .rewards-rail {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 8px;
  }

  .rewards-status .rewards-chevron {
    display: none;
  }

  .rewards-status .rewards-rail-item {
    flex: 0 0 calc(33.33% - 8px);
    min-width: 0;
    max-width: 110px;
    gap: 6px;
  }

  .rewards-status .rewards-rail--2 .rewards-rail-item,
  .rewards-status .rewards-rail--4 .rewards-rail-item {
    flex-basis: calc(50% - 8px);
    max-width: 120px;
  }

  .rewards-status .rewards-rail-item span {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
  }

  .rewards-status .rewards-rail-badge {
    width: min(52px, 100%);
  }

  .rewards-rank-name {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
  }

  .rewards-badge,
  .rewards-unranked {
    width: min(58px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .rewards-progress-foot,
  .rewards-modal-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .rewards-modal-list span {
    text-align: left;
  }

  .rewards-modal-close {
    width: 100%;
  }
}

@container rewards-status (max-width: 720px) {
  .rewards-rank-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rewards-rank-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .rewards-rank-now .rewards-badge,
  .rewards-rank-now .rewards-unranked {
    width: 96px;
    height: 96px;
  }

  .rewards-rank-now .rewards-rank-kicker {
    font-size: 0.72rem;
  }

  .rewards-rank-now .rewards-rank-name {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .rewards-rank-now .rewards-rank-benefit {
    font-size: 0.95rem;
  }

  .rewards-next-track {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 8px;
    align-items: start;
  }

  .rewards-rank-next .rewards-progress-mid {
    padding-top: 21px;
  }

  .rewards-rank-next .rewards-badge,
  .rewards-rank-next .rewards-unranked {
    width: 52px;
    height: 52px;
  }

  .rewards-rank-next .rewards-rank-name {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .rewards-rank-next .rewards-progress-foot,
  .rewards-status .rewards-rank-next .rewards-progress-foot {
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    font-size: 0.82rem;
    text-align: center;
  }

  .rewards-rank-next .rewards-status-label {
    margin: 14px 0 6px;
  }

  .rewards-rail {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 8px;
  }

  .rewards-chevron {
    display: none;
  }

  .rewards-rail-item {
    flex: 0 0 calc(33.33% - 8px);
    min-width: 0;
    max-width: 110px;
    gap: 6px;
  }

  .rewards-rail-item span {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
  }
}

@media (min-width: 900px) {
  .rewards-grid,
  .rewards-rank-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: stretch;
  }

  .rewards-cadence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rewards-cadence-grid--hourly {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rewards-cadence-grid--benefits {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 2px;
    align-items: center;
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence h3 {
    grid-column: 1;
    grid-row: 1;
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence:has(.rewards-cadence-when) h3 {
    grid-row: 1 / span 2;
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence-rate,
  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence-when {
    grid-column: 2;
    margin-top: 0;
    text-align: right;
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence-rate {
    grid-row: 1;
  }

  .rewards-cadence-grid--benefits:has(> :only-child) .rewards-cadence-when {
    grid-row: 2;
  }

  .rewards-gift {
    flex-basis: 260px;
    width: 260px;
  }
}

.vip-page .hero-description-modern {
  text-align: center;
}

.rewards-summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 460px;
  margin: 2px auto 0;
  text-align: center;
}

.rewards-summary:has(> :nth-child(2))::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.rewards-summary button,
.rewards-switch button {
  font: inherit;
  cursor: pointer;
}

.rewards-summary button {
  display: block;
  width: 100%;
  padding: 2px 16px;
  border: 0;
  background: none;
  color: inherit;
}

.rewards-summary span,
.rewards-status-label {
  display: block;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rewards-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rewards-summary small {
  display: block;
  margin-top: 2px;
  color: #d0bfff;
  font-size: 0.86rem;
}

.rewards-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 440px;
  margin: 18px auto 0;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary, #b0b0b0);
  font-weight: 650;
}

.rewards-switch button[aria-selected="true"] {
  background: rgba(230, 201, 122, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(230, 201, 122, 0.72);
}

.rewards-summary:has(> :only-child),
.rewards-switch:has(> :only-child) {
  grid-template-columns: 1fr;
  max-width: 220px;
}

.rewards-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.rewards-panel > *,
.rewards-history,
.rewards-carousel,
.rewards-received-scroll,
.rewards-cadence,
.rewards-status {
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
  container-name: rewards-status;
}

.rewards-panel[hidden] {
  display: none !important;
}

.rewards-status-label {
  margin: 20px 0 8px;
}

.rewards-status .rewards-rail {
  margin-top: 4px;
}

.rewards-progress-mid {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.rewards-status .rewards-progress-foot {
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  text-align: center;
}

.rewards-status .rewards-rank-next .rewards-progress-foot {
  margin-top: 10px;
  text-align: left;
}

@media (max-width: 720px) {
  .rewards-status .rewards-rank-next .rewards-progress-foot {
    text-align: center;
  }
}

@container rewards-status (max-width: 720px) {
  .rewards-status .rewards-rank-next .rewards-progress-foot {
    text-align: center;
  }
}

.rewards-status .rewards-progress-foot span {
  min-width: 0;
  max-width: 100%;
}

.rewards-progress-figures {
  white-space: nowrap;
}

.rewards-progress-figures > span {
  white-space: nowrap;
}

.vip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--vip-color, #7c3aed);
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
}

.rewards-shop-panel {
  margin-top: 8px;
}

.rewards-shop-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #0b0f16;
  border: 1px solid rgba(230, 201, 122, 0.45);
}

.rewards-shop-entry-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(230, 201, 122, 0.12);
  border: 1px solid rgba(230, 201, 122, 0.38);
  color: #e6c97a;
  font-size: 1.15rem;
}

.rewards-shop-entry-copy {
  flex: 1;
  min-width: 0;
}

.rewards-shop-entry h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-shop-balance {
  margin: 6px 0 0;
  color: #e6c97a;
  font-size: 0.95rem;
  line-height: 1.3;
}

.rewards-shop-balance strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.rewards-shop-entry-tag {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .rewards-shop-entry {
    gap: 12px;
    margin-bottom: 14px;
    padding: 11px 14px;
  }

  .rewards-shop-entry-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .rewards-shop-balance {
    margin-top: 3px;
  }

  .rewards-shop-entry-tag {
    margin-top: 6px;
  }
}

.rewards-shop-confirm h2 {
  margin-bottom: 8px;
}

.rewards-shop-confirm-copy {
  margin: 0;
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.45;
}

.rewards-shop-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.rewards-shop-confirm-actions .rewards-redeem,
.rewards-shop-confirm-actions .rewards-modal-close {
  width: auto;
  min-width: 120px;
  margin: 0;
}

.rewards-periods .rewards-card-head + .rewards-shop,
.rewards-periods .rewards-card-head + .rewards-empty,
.rewards-benefit-body {
  margin-top: 14px;
}

.rewards-benefit-body {
  display: grid;
  gap: 14px;
}

body a.rewards-holder-card:link,
body a.rewards-holder-card:visited,
body a.rewards-holder-card:hover,
body a.rewards-holder-card:active {
  color: inherit;
  text-decoration: none;
}

.rewards-holder-card .rewards-gift-copy {
  align-items: center;
  text-align: center;
}

.rewards-holder-card .rewards-redeem {
  border: 1px solid #e6c97a;
  border-radius: 10px;
  background: #0b0f16;
  color: #e6c97a;
  font-weight: 600;
  text-align: center;
}

.rewards-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.rewards-shop-card .rewards-redeem {
  gap: 0.4rem;
  white-space: nowrap;
}

.rewards-shop-card .rewards-redeem .fa-lock {
  font-size: 0.8em;
}

.rewards-shop-card .rewards-redeem:not(:disabled),
.rewards-shop-confirm-actions .rewards-redeem {
  border: 1px solid #e6c97a;
  border-radius: 10px;
  background: #0b0f16;
  color: #e6c97a;
  font-weight: 600;
}

body .rewards-shop-card button.rewards-redeem:not(:disabled),
body .rewards-shop-confirm-actions button.rewards-redeem {
  color: #e6c97a;
}

.rewards-gift-thumb .rewards-shop-tier {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 16px);
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.rewards-gift-thumb .rewards-shop-tier img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 auto;
}

.rewards-gift-thumb .rewards-shop-tier:not(:has(img)) {
  padding-left: 8px;
}

.rewards-shop-tier span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rewards-shop-card {
  width: auto;
  flex: none;
  margin: 0;
}

.vip-only-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #6b4cff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
