/* VALBLOX Rewards page v2 (pages-v2 preview), on top of styles.css + pages.css. Replaces rewards.css.
   The owner's reference as a pattern, in valblox's own plates and art: a slim level strip, two hero cards that are
   mostly one big render (rakeback; the daily case as a carousel of its three risks), the bonus cases as a centred
   grid, then the rain and promo codes. One type scale (12 labels, 13-14 body, 17-22 card titles, 30 hero titles),
   light plates, the level strip on the heavy tier (the page's one key panel, as live), and the details (perks,
   what's inside, the rules) behind an "i" instead of on the card.
   Saturated accents, each with one meaning: titles in ink; gold = coins; green = act / ready; frost = where you are
   (level, XP, the risk you picked); each risk's own colour (green, gold, hot red-pink) only on its label and the halo
   behind its chest; each rank's colour only on its name (the strip, the perks, the small chip on each case). */

.rw2 {
  /* the accent set and inks: pages.css (.content--page) */
  container: rw2 / inline-size;
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
}
.rw2 > * { min-width: 0; }
.rw2 > .phead { margin-bottom: 0; }
.rw2 [hidden] { display: none !important; }

/* rank colours (economy.md section 3's six ranks) */
.rk-thrall { --rk-rgb: var(--rank-thrall-rgb); }
.rk-karl { --rk-rgb: var(--rank-karl-rgb); }
.rk-huscarl { --rk-rgb: var(--rank-huscarl-rgb); }
.rk-jarl { --rk-rgb: var(--rank-jarl-rgb); }
.rk-konung { --rk-rgb: var(--rank-konung-rgb); }
.rk-einherjar { --rk-rgb: var(--rank-einherjar-rgb); }
/* risk colours */
.rw2-dcase--steady, .rw2-dot--steady { --risk-rgb: var(--v-green-rgb); }
.rw2-dcase--bold, .rw2-dot--bold { --risk-rgb: var(--v-gold-rgb); }
.rw2-dcase--berserk, .rw2-dot--berserk { --risk-rgb: var(--v-hot-rgb); }

/* the plate every card shares (light tier, a deeper face) */
.rw2-level > .plate, .rw2-hero > .plate, .rw2-card > .plate, .rw2-case > .plate, .rw2-dcase > .plate {
  --c: 14px; --n: 5px; --bt: rgba(var(--hi), .26); --bb: rgba(var(--lo), .6);
  --face: linear-gradient(160deg, #232C3B 0%, #1C2330 100%);
}
.rw2-hero > .plate { --c: 20px; --n: 7px; }
.rw2-level.edge-heavy > .plate {
  --c: 18px; --n: 7px;
  --face:
    radial-gradient(46% 110% at 0% 0%, rgba(var(--lilac-rgb), .09) 0%, rgba(var(--lilac-rgb), 0) 100%),
    radial-gradient(40% 90% at 100% 100%, rgba(var(--gold-rgb), .06) 0%, rgba(var(--gold-rgb), 0) 100%),
    linear-gradient(122deg, var(--card) 0%, var(--card-b) 100%);
}

/* shared type */
.rw2-kick { font-size: 13px; line-height: 16px; letter-spacing: 1.3px; color: var(--ink-2); text-transform: uppercase; }
.rw2-line { display: block; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 18px; letter-spacing: .3px; color: var(--ink-3); }
.rw2-line b { font-weight: 400; color: var(--ink); }
/* a line that ends in an "i": the text is one span, the "i" sits after it (a <details> is block-level in some engines) */
.rw2-line:has(> .rw2-pop), .rw2-sec__sub:has(> .rw2-pop) { display: flex; align-items: center; gap: 8px; }
.rw2-sec__sub:has(> .rw2-pop) { justify-content: center; }
.rw2-line > .rw2-pop, .rw2-sec__sub > .rw2-pop { flex: none; margin: -3px 0; }
.rw2 .btn[aria-disabled="true"] { filter: saturate(.3) brightness(.75); cursor: default; }
.rw2 .btn.is-done { filter: none; --rim: rgba(var(--v-green-rgb), .35); color: var(--v-green); }

/* ---------------------------------------------------------------- the "i" popovers (native <details>; rewards.js closes them on an outside click) */
.rw2-pop { position: relative; display: inline-flex; vertical-align: middle; }
.rw2-pop > summary { list-style: none; cursor: pointer; }
.rw2-pop > summary::-webkit-details-marker { display: none; }
.rw2-pop__btn {
  width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink-2);
  background: #2A3445; clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.rw2-pop__btn .ic { width: 15px; height: 15px; }
.rw2-pop__btn--text {
  width: auto; height: 30px; white-space: nowrap; padding: 0 12px 2px 9px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: 1.1px; color: var(--ink-2); text-transform: uppercase;
}
.rw2-pop__btn:hover, .rw2-pop[open] > .rw2-pop__btn { color: var(--v-frost); background: rgba(var(--v-frost-rgb), .12); }
.rw2-pop > summary:focus-visible { outline: 2px solid var(--v-frost); outline-offset: 2px; }
.rw2-pop__panel {
  position: absolute; z-index: 40; top: calc(100% + 10px); left: -10px; width: 300px; max-width: calc(100vw - 32px);
  translate: var(--dx, 0px) 0; padding: 14px 16px 16px; text-align: left; white-space: normal;
  isolation: isolate; filter: drop-shadow(0 18px 28px rgba(3, 6, 10, .55));
  font-family: "Skranji", sans-serif; font-size: 13px; line-height: 19px; letter-spacing: .3px; color: var(--ink-2); text-transform: none;
}
.rw2-pop__panel > .plate { --c: 12px; --n: 4px; --face: linear-gradient(180deg, #273042 0%, var(--dropdown) 100%); }   /* the site's dropdown */
.rw2-pop__panel b { font-weight: 400; color: var(--ink); }
.rw2-pop__panel p + p { margin-top: 8px; }
.rw2-pop--up > .rw2-pop__panel { top: auto; bottom: calc(100% + 10px); }
.rw2-pop__h { margin: 0 0 8px; font-family: "GoldenSmile", sans-serif; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: var(--ink-2); text-transform: uppercase; }
.rw2-pop__panel * + .rw2-pop__h { margin-top: 16px; }
.rw2-pop__fine { font-size: 12px; line-height: 17px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .rw2-pop[open] > .rw2-pop__panel { animation: rw2-pop .2s cubic-bezier(.2, .9, .3, 1.15) both; }
}
@keyframes rw2-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.rw2-raise { position: relative; z-index: 6; }

/* ---------------------------------------------------------------- 1. the level strip */
.rw2-level {
  position: relative; isolation: isolate; display: grid; align-items: center; gap: 0 24px; padding: 14px 18px 14px 14px;
  grid-template-columns: auto minmax(150px, auto) minmax(0, 1fr) auto; grid-template-areas: "badge who xp perks";
}
.rw2-badge {   /* the level medallion of the live page, small: bronze octagon, bevel by facet, dark face */
  grid-area: badge; position: relative; isolation: isolate; width: 60px; height: 60px; display: grid; place-items: center;
  --k: 18px; --ki: calc(var(--k) - 2px * .5858); --kf: calc(var(--k) - 7px * .5858);
  background: var(--bz5);
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k));
}
.rw2-badge::before, .rw2-badge::after { content: ""; position: absolute; z-index: -1; }
.rw2-badge::before {
  inset: 2px;
  background: conic-gradient(from -22.5deg, var(--bz1) 0 45deg, var(--bz2) 45deg 90deg, var(--bz4) 90deg 135deg, var(--bz5) 135deg 225deg,
                             var(--bz4) 225deg 270deg, var(--bz2) 270deg 315deg, var(--bz0) 315deg 360deg);
  clip-path: polygon(var(--ki) 0, calc(100% - var(--ki)) 0, 100% var(--ki), 100% calc(100% - var(--ki)), calc(100% - var(--ki)) 100%, var(--ki) 100%, 0 calc(100% - var(--ki)), 0 var(--ki));
}
.rw2-badge::after {
  inset: 7px;
  background: radial-gradient(70% 70% at 50% 38%, rgba(var(--v-frost-rgb), .22) 0%, rgba(var(--v-frost-rgb), 0) 100%), linear-gradient(180deg, #1A2230 0%, #121823 100%);
  box-shadow: inset 0 2px 0 rgba(5, 8, 12, .55);
  clip-path: polygon(var(--kf) 0, calc(100% - var(--kf)) 0, 100% var(--kf), 100% calc(100% - var(--kf)), calc(100% - var(--kf)) 100%, var(--kf) 100%, 0 calc(100% - var(--kf)), 0 var(--kf));
}
.rw2-badge__n { padding-bottom: 2px; font-family: "Skranji", sans-serif; font-weight: 700; font-size: 24px; line-height: 1; color: var(--v-frost); text-shadow: 0 0 12px rgba(var(--v-frost-rgb), .5), 0 2px 0 rgba(0, 0, 0, .35); }
.rw2-level__who { grid-area: who; min-width: 0; }
.rw2-level__name { font-size: 18px; line-height: 24px; letter-spacing: 1.1px; color: var(--ink); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw2-level__rank { margin-top: 2px; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 18px; letter-spacing: .3px; color: var(--ink-2); white-space: nowrap; }
.rw2-level__rank [class^="rk-"] { font-family: "GoldenSmile", sans-serif; font-size: 12px; letter-spacing: 1.1px; color: rgb(var(--rk-rgb)); text-transform: uppercase; }
.rw2-xp { grid-area: xp; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rw2-xp__top { display: flex; justify-content: space-between; gap: 12px; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 16px; letter-spacing: .3px; color: var(--ink-3); white-space: nowrap; }
.rw2-xp__top > span { overflow: hidden; text-overflow: ellipsis; }
.rw2-xp__top b { font-weight: 400; color: var(--ink); }
.rw2-xp .xp__track { height: 10px; }
.rw2-pop--perks { grid-area: perks; }
.rw2-perks__btn { gap: 8px; color: var(--ink); }
.rw2-perks__btn .ic { width: 16px; height: 16px; color: var(--v-gold); }
.rw2-pop--perks > .rw2-pop__panel { left: auto; right: 0; width: 380px; }
.rw2-perks__t { width: 100%; border-collapse: collapse; }
.rw2-perks__t th, .rw2-perks__t td { padding: 7px 0; text-align: left; font-weight: 400; }
.rw2-perks__t thead th { padding-top: 0; font-family: "GoldenSmile", sans-serif; font-size: 13px; line-height: 16px; letter-spacing: 1.1px; text-transform: uppercase; vertical-align: bottom; }
.rw2-perks__t thead th[class^="rk-"] { color: rgb(var(--rk-rgb)); }
.rw2-perks__t thead th small { display: block; font-family: "Skranji", sans-serif; font-size: 12px; letter-spacing: .3px; color: var(--ink-3); text-transform: none; }
.rw2-perks__t tbody tr { box-shadow: inset 0 1px 0 rgba(var(--hi), .45); }
.rw2-perks__t tbody th { color: var(--ink-2); }
.rw2-perks__t tbody td { color: var(--ink); }
.rw2-perks__t tbody td:last-child { color: var(--v-gold); }
.rw2-ranks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rw2-ranks li { display: grid; grid-template-columns: 18px 1fr auto auto; align-items: center; gap: 10px; padding: 5px 0; color: var(--ink-3); }
.rw2-ranks li + li { box-shadow: inset 0 1px 0 rgba(var(--hi), .3); }
.rw2-ranks b { font-family: "GoldenSmile", sans-serif; font-size: 12px; letter-spacing: 1.1px; color: rgb(var(--rk-rgb)); text-transform: uppercase; }
.rw2-ranks li > span:last-child { min-width: 92px; text-align: right; }
.rw2-ranks li.is-now { color: var(--ink); }
.rw2-ranks li.is-now b::after { content: " \2022  you"; font-family: "Skranji", sans-serif; letter-spacing: .3px; color: var(--ink-3); text-transform: none; }
.rw2-gem { position: relative; width: 14px; height: 14px; }
.rw2-gem i { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: rgb(var(--rk-rgb)); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25); }
.rw2-gem i::before { content: ""; position: absolute; inset: 3.5px; background: rgba(255, 255, 255, .35); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ---------------------------------------------------------------- 2. the two heroes */
.rw2-heroes { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; }
.rw2-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-width: 0; min-height: 316px; padding: 30px 28px 30px 32px; }
.rw2-hero__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.rw2-hero__t { margin-top: 6px; font-size: 30px; line-height: 34px; letter-spacing: 1.4px; color: var(--ink); text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.rw2-kick-row { display: flex; align-items: center; gap: 8px; }
.rw2-hero__foot { margin-top: 20px; }
.rw2-hero__foot .btn { min-width: 220px; height: 48px; gap: 10px; }
.rw2-hero__foot .btn .ic { width: 20px; height: 20px; }
.rw2-hero .rw2-line { margin-top: 12px; }

/* rakeback: the coin stack fills the right half, on a warm glow */
.rw2-hero--rb > .plate {
  --face: radial-gradient(52% 78% at 80% 52%, rgba(var(--v-gold-rgb), .2) 0%, rgba(var(--v-gold-rgb), 0) 100%), linear-gradient(160deg, #262E3C 0%, #1B2230 100%);
}
.rw2-hero--rb .rw2-hero__body { max-width: 56%; }
.rw2-amt {
  display: flex; align-items: center; gap: 12px; margin-top: 10px; font-family: "Skranji", sans-serif; font-weight: 700; font-size: 38px; line-height: 44px; letter-spacing: .5px;
  color: var(--v-gold); text-shadow: 0 0 24px rgba(var(--v-gold-rgb), .28), 0 2px 0 rgba(0, 0, 0, .3); white-space: nowrap;
}
.rw2-amt img { width: 34px; height: auto; flex: none; }
.rw2-hero__art {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 48%; display: grid; place-items: center; pointer-events: none;
  overflow: hidden; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.rw2-hero__img { width: min(270px, 104%); height: auto; filter: drop-shadow(0 18px 22px rgba(4, 7, 12, .5)); }
.rw2-hero.is-spent .rw2-hero__img { filter: saturate(.6) brightness(.82) drop-shadow(0 18px 22px rgba(4, 7, 12, .5)); }
.rw2-hero.is-spent .rw2-amt { color: var(--ink-3); text-shadow: none; }

/* daily case: the copy left, the carousel of the three risks right */
.rw2-hero--daily { --risk-rgb: var(--v-green-rgb); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-right: 18px; }
#daily[data-risk-now="bold"] { --risk-rgb: var(--v-gold-rgb); }
#daily[data-risk-now="berserk"] { --risk-rgb: var(--v-hot-rgb); }
.rw2-hero--daily > .plate {
  --face: radial-gradient(46% 80% at 76% 50%, rgba(var(--risk-rgb), .1) 0%, rgba(var(--risk-rgb), 0) 100%), linear-gradient(160deg, #282B3C 0%, #1C2130 100%);
}
.rw2-line--lead { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.rw2-hero__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rw2-state {
  height: 30px; padding: 0 11px 2px; display: inline-flex; align-items: center; gap: 7px;
  font-family: "Skranji", sans-serif; font-size: 13px; letter-spacing: .3px; color: var(--v-green); background: rgba(var(--v-green-rgb), .1);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.rw2-state::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.rw2-state.is-wait { color: var(--ink-2); background: rgba(var(--hi), .35); }
.rwd-result { margin-top: 12px; font-family: "Skranji", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .3px; color: var(--v-gold); }
.rwd-result:empty { display: none; }
.rwd-req { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--v-green); }
.rwd-req .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.rwd-req.is-todo { color: var(--ink-2); }
.rwd-req.is-todo .ic { color: var(--v-frost); }

.rw2-carousel { --cw: 186px; position: relative; display: flex; flex-direction: column; align-items: center; width: calc(var(--cw) * 1.46); }
.rw2-stage {
  position: relative; display: grid; grid-template-areas: "c"; width: 100%; justify-items: center; outline: none; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.rw2-dcase {
  grid-area: c; position: relative; isolation: isolate; width: var(--cw); min-height: 270px; display: flex; flex-direction: column; padding: 12px 14px 0;
  transform-origin: 50% 60%;
}
.rw2-dcase > .plate {
  --rim: rgba(var(--v-frost-rgb), .4); --glow: inset 0 0 18px rgba(var(--v-frost-rgb), .08);
  --face: radial-gradient(80% 55% at 50% 48%, rgba(var(--risk-rgb), .14) 0%, rgba(var(--risk-rgb), 0) 100%), linear-gradient(175deg, #2C3445 0%, #1F2634 100%);
}
.rw2-dcase.is-cur { z-index: 2; }
.rw2-dcase.is-prev, .rw2-dcase.is-next { z-index: 1; opacity: .42; filter: saturate(.55) brightness(.72); pointer-events: none; }
.rw2-dcase.is-prev .rw2-dcase__top, .rw2-dcase.is-next .rw2-dcase__top { visibility: hidden; }
.rw2-dcase.is-prev { transform: translateX(-30%) scale(.82); }
.rw2-dcase.is-next { transform: translateX(30%) scale(.82); }
@media (prefers-reduced-motion: no-preference) {
  .rw2-dcase { transition: transform .5s cubic-bezier(.22, .8, .24, 1), opacity .5s ease, filter .5s ease; }
}
.rw2-dcase__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rw2-dcase__k { font-size: 14px; line-height: 15px; letter-spacing: 1.1px; color: var(--ink); text-transform: uppercase; }
.rw2-dcase__risk { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.rw2-dcase__risk small { font-family: "Skranji", sans-serif; font-size: 12px; line-height: 15px; letter-spacing: .3px; color: var(--ink-2); }
.rw2-dcase__risk b { font-weight: 400; font-size: 14px; line-height: 17px; letter-spacing: 1.1px; color: rgb(var(--risk-rgb)); text-transform: uppercase; text-shadow: 0 0 12px rgba(var(--risk-rgb), .4); }
.rw2-dcase__art { position: relative; flex: 1; display: grid; place-items: center; margin: 0 -4px 84px; }
.rw2-dcase__glow { position: absolute; inset: 6% 10% 2%; background: radial-gradient(closest-side, rgba(var(--risk-rgb), .42), rgba(var(--risk-rgb), 0)); }
#daily:has([data-daily-open][aria-disabled="true"]) .rw2-dcase__glow { opacity: .4; }
@media (prefers-reduced-motion: no-preference) { .rw2-dcase__glow { transition: opacity .4s ease; } }
.rw2-dcase__img { position: relative; width: 140px; height: auto; filter: drop-shadow(0 12px 14px rgba(4, 7, 12, .5)); }
#daily.is-spent .rw2-dcase.is-cur .rw2-dcase__img { filter: saturate(.55) brightness(.8) drop-shadow(0 12px 14px rgba(4, 7, 12, .5)); }
.rw2-dcase__foot { grid-area: c; z-index: 3; align-self: end; width: var(--cw); display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 14px 14px; }
.rw2-dcase__range, .rw2-wait { text-align: center; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 18px; letter-spacing: .3px; color: var(--ink-2); white-space: nowrap; }
.rw2-dcase__range b, .rw2-wait b { font-weight: 400; color: var(--ink); }
#daily.is-spent .rw2-dcase__range { display: none; }
.rw2-dcase__foot .btn { width: 100%; gap: 8px; }
.rw2-dcase__foot .btn .ic { width: 18px; height: 18px; }
.rw2-nav { position: absolute; z-index: 4; top: 116px; width: 34px; height: 34px; --c: 8px; }
.rw2-nav .ic { width: 18px; height: 18px; }
.rw2-nav--prev { left: 0; }
.rw2-nav--next { right: 0; }
.ic--fwd { transform: scaleX(-1); }
.rw2-dots { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.rw2-dot {
  height: 26px; padding: 0 9px 3px; border: 0; background: none; cursor: pointer;
  font-family: "GoldenSmile", sans-serif; font-size: 12px; letter-spacing: 1.1px; color: var(--ink-3); text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(var(--hi), .5);
}
.rw2-dot:hover { color: var(--ink); }
.rw2-dot[aria-pressed="true"] { color: var(--lilac-light); box-shadow: inset 0 -2px 0 var(--v-frost); }
.rw2-dot:focus-visible { outline: 2px solid var(--v-frost); outline-offset: 2px; }

/* the open: a short rock of the case before the prize shows (none with reduced motion) */
.is-opening { animation: rw2-rock .65s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes rw2-rock {
  0%, 100% { transform: none; }
  15% { transform: translateY(-4px) rotate(-5deg); }
  30% { transform: translateY(-6px) rotate(5deg); }
  45% { transform: translateY(-6px) rotate(-4deg); }
  60% { transform: translateY(-4px) rotate(3deg); }
  75% { transform: translateY(-2px) rotate(-1.5deg); }
}

/* ---------------------------------------------------------------- 3. bonus cases */
.rw2-bonus { display: flex; flex-direction: column; gap: 20px; margin-top: 4px; }
.rw2-sec { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.rw2-sec__t { font-size: 26px; line-height: 32px; letter-spacing: 1.5px; color: var(--ink); text-transform: uppercase; }
.rw2-sec__sub { max-width: 560px; font-family: "Skranji", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .3px; color: var(--ink-2); }
.rw2-sec__sub > b { font-weight: 400; color: var(--ink); }
.rw2-sec__sub .rw2-pop__panel { left: 50%; margin-left: -150px; }
.rw2-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rw2-case { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 14px 14px 18px; text-align: center; }
.rw2-case > .plate {
  --rim: rgba(var(--v-green-rgb), .3);
  --face: radial-gradient(80% 52% at 50% 32%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(180deg, #262F3E 0%, #1C2330 100%);
}
.rw2-case.is-locked > .plate { --rim: rgba(var(--hi), .9); --face: linear-gradient(180deg, #232B38 0%, #1C222D 100%); }
.rw2-case__txt { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bcase__art { position: relative; width: 100%; max-width: 170px; aspect-ratio: 1; display: grid; place-items: center; }
.bcase__img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(4, 7, 12, .45)); }
@media (prefers-reduced-motion: no-preference) { .bcase__img { transition: transform .35s cubic-bezier(.3, 1.3, .4, 1), filter .35s ease; } }
.rw2-case:not(.is-locked):hover .bcase__img { transform: translateY(-4px); }
.rw2-case.is-locked .bcase__img { filter: saturate(.25) brightness(.48); }
.rw2-case.is-spent .bcase__img { filter: saturate(.55) brightness(.8) drop-shadow(0 10px 12px rgba(4, 7, 12, .45)); }
.rw2-case__lock { position: absolute; inset: 0; display: grid; place-items: center; color: #DDE5F0; }
.rw2-case__lock .ic { width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.rw2-case:not(.is-locked) .rw2-case__lock { display: none; }
.rw2-case__rank { margin-top: 6px; }
.rw2-case__rank > span {
  display: inline-block; padding: 2px 8px 3px; font-size: 11px; line-height: 14px; letter-spacing: 1.3px; text-transform: uppercase;
  color: rgb(var(--rk-rgb)); background: rgba(var(--rk-rgb), .12);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.bcase__name { margin-top: 6px; font-size: 17px; line-height: 22px; letter-spacing: 1.1px; color: var(--ink); text-transform: uppercase; }
.rw2-case.is-locked .bcase__name { color: var(--ink-2); }
.bcase__range { margin-top: 2px; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 18px; letter-spacing: .3px; color: var(--ink-3); }
.bcase__foot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.bcase__prog {
  position: relative; display: block; width: 100%; height: 8px; background: var(--track); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .35);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, calc(100% - 4px) 100%, 4px 100%, 0 4px);
}
.bcase__prog i {   /* your level on the way to the case: the XP bar's frost */
  position: absolute; inset: 0 auto 0 0; background: linear-gradient(180deg, #B9E8FE 0 30%, #8FD4F3 30% 70%, #36708F 70% 100%);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, calc(100% - 4px) 100%, 4px 100%, 0 4px);
}
.bcase__prog.is-full { visibility: hidden; }   /* reached: the Open button says it; the bar's place keeps the rows level */
.rw2-pill, .bcase__btn { width: 100%; max-width: 150px; height: 36px; }
.rw2-pill {
  padding: 0 14px 2px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: "Skranji", sans-serif; font-size: 13px; letter-spacing: .3px; color: var(--ink-2); background: rgba(var(--hi), .38);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}
.rw2-pill .ic { width: 14px; height: 14px; color: var(--ink-3); }
.bcase__btn { gap: 8px; }
.bcase__btn .ic { width: 18px; height: 18px; }
.bcase__wait { margin-top: -4px; font-family: "Skranji", sans-serif; font-size: 12px; line-height: 16px; letter-spacing: .3px; color: var(--ink-3); }
.bcase__wait b { font-weight: 400; color: var(--ink); }
.bcase__got { margin-top: 8px; font-family: "Skranji", sans-serif; font-size: 13px; line-height: 18px; color: var(--v-gold); }
.bcase__got:empty { display: none; }
/* what's inside (rewards.js paintInside): on every case, locked or not; the art opens it too. Only opening needs the level */
.rw2-case__in { display: inline-flex; margin-top: 8px; }
.rw2-case__in > .rw2-pop__btn--text { height: 26px; padding: 0 10px 2px 8px; gap: 6px; font-size: 11px; }
.rw2-case__in > .rw2-pop__btn--text .ic { width: 14px; height: 14px; }
.rw2-case:has(.rw2-pop[open]) { z-index: 8; }   /* over the cards after it */
.rw2-case .bcase__art, .rw2-dcase.is-cur .rw2-dcase__art { cursor: pointer; }
/* "What's inside" as a button (it opens the drops modal, case-drops.js VBDrops.show, instead of a popover) */
button.rw2-in { border: 0; margin: 0; font-family: inherit; cursor: pointer; }
button.rw2-in:focus-visible { outline: 2px solid var(--v-frost); outline-offset: 2px; }
/* a prize's coins in the drops modal (rewards.js pile): the site's coin renders heaped, more coins for a bigger prize */
.rw2-pile > img { position: absolute; height: auto; max-width: none; pointer-events: none; }
.rw2-case .rw2-pill { white-space: nowrap; }   /* "Level 30" on one line in the narrow phone rows */

/* ---------------------------------------------------------------- 4. rain + promo, then the questions */
.rw2-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rw2-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px 24px 24px; }
.rw2-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.rw2-card__t { margin-top: -4px; font-size: 22px; line-height: 28px; letter-spacing: 1.3px; color: var(--ink); text-transform: uppercase; }
.rwd-rain > .plate { --face: radial-gradient(70% 90% at 100% 0%, rgba(var(--v-frost-rgb), .12) 0%, rgba(var(--v-frost-rgb), 0) 100%), linear-gradient(160deg, #232C3B 0%, #1C2330 100%); }
.rw2-timer { display: inline-flex; align-items: center; gap: 6px; height: 30px; font-family: "Skranji", sans-serif; font-size: 15px; }
.rw2-timer .ic { width: 15px; height: 15px; }
.rwd-pot { margin-top: 2px; }
.rwd-pot .pot__amt { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--v-gold); }
.rwd-pot [data-rain-join][aria-disabled="true"] { filter: saturate(.5) brightness(.85); cursor: default; }
.rwd-promo > .plate { --face: radial-gradient(70% 90% at 100% 0%, rgba(var(--v-gold-rgb), .1) 0%, rgba(var(--v-gold-rgb), 0) 100%), linear-gradient(160deg, #232C3B 0%, #1C2330 100%); }
.rwd-promo__f { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.rwd-promo__f .fld__msg:empty { display: none; }
.rwd-promo .minput { height: 54px; }
.rwd-promo .minput input { text-transform: uppercase; }
.rwd-promo .minput input::placeholder { text-transform: none; }
.rwd-promo .minput .btn { height: 40px; min-width: 104px; }
.rw2-line--fine { font-size: 12px; line-height: 17px; }
.rw2-line--fine b { color: var(--ink-2); letter-spacing: .6px; }
.rw2-steps { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.rw2-steps li::marker { color: var(--v-frost); font-family: "GoldenSmile", sans-serif; }

/* ---------------------------------------------------------------- 5. the VIP ladder (#vip; rewards.js paintVip)
   The six ranks left to right (top to bottom on a phone), each in its identity colour (rk-<rank>), its first level and
   the three perks it unlocks. Where you stand: the ranks behind you dimmed with "Unlocked", yours raised in a frost ring,
   the ranks ahead in iron with the coins still to wager. Above: the bar to the next rank and the coins it takes.
   Nothing moves on its own. */
.rw2-vip { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px 24px 20px; scroll-margin-top: 96px; }
.rw2-vip:focus { outline: none; }
.rw2-vip > .plate {
  --c: 16px; --n: 6px; --bt: rgba(var(--hi), .26); --bb: rgba(var(--lo), .6);
  --face: radial-gradient(60% 90% at 100% 0%, rgba(var(--v-frost-rgb), .08) 0%, rgba(var(--v-frost-rgb), 0) 100%), linear-gradient(160deg, #232C3B 0%, #1C2330 100%);
}
.rw2-vip [class^="rk-"], .rw2-vip [class*=" rk-"] { --rk: rgb(var(--rk-rgb)); }
.rw2-vip__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 16px 32px; }
.rw2-vip__t { margin-top: 4px; font-size: 22px; line-height: 28px; letter-spacing: 1.3px; color: var(--ink); text-transform: uppercase; }
.rw2-vip__sub { margin-top: 6px; max-width: 470px; font-family: "Skranji", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .3px; color: var(--ink-2); }
/* your place: a carved well */
.rw2-vip__you {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 16px 14px;
  background: linear-gradient(180deg, rgba(8, 11, 16, .34) 0%, rgba(8, 11, 16, .2) 100%);
  box-shadow: inset 0 2px 0 rgba(var(--lo), .7), inset 0 -1px 0 rgba(var(--hi), .35);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.rw2-vip__you:has(> .btn) { flex-direction: row; align-items: center; justify-content: space-between; }
.rw2-vip__you > .btn { flex: none; gap: 8px; }
.rw2-vip__now, .rw2-vip__line { font-family: "Skranji", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .3px; color: var(--ink-2); }
.rw2-vip__now b, .rw2-vip__line b { font-weight: 400; color: var(--ink); }
.rw2-vip__line b[data-money] { color: var(--v-gold); }
.rw2-vip__nw { white-space: nowrap; }
.rw2-vip__now [class^="rk-"], .rw2-vip__line [class^="rk-"], .rw2-vip__ends [class^="rk-"] {
  font-family: "GoldenSmile", sans-serif; font-size: 13px; letter-spacing: 1.1px; color: var(--rk); text-transform: uppercase;
}
.rw2-vip__bar { display: flex; flex-direction: column; gap: 6px; }
.rw2-vip__bar .xp__track { height: 10px; }
.rw2-vip__ends { display: flex; justify-content: space-between; gap: 12px; }
.rw2-vip__ends small { font-family: "Skranji", sans-serif; font-size: 12px; letter-spacing: .3px; color: var(--ink-3); text-transform: none; }

.rw2-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rw2-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 16px 10px 14px; text-align: center;
  background: linear-gradient(180deg, rgba(var(--hi), .2) 0%, rgba(var(--hi), .08) 100%);
  box-shadow: inset 0 1px 0 rgba(var(--hi), .4), inset 0 -2px 0 rgba(var(--lo), .55);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  /* the gem's facets, lit from the top-left: full colour (a guest's view and your rank) */
  --g0: color-mix(in oklab, var(--rk) 55%, var(--white)); --g1: color-mix(in oklab, var(--rk) 78%, var(--white)); --g2: var(--rk);
  --g3: color-mix(in oklab, var(--rk) 62%, var(--iron-lo2)); --g4: color-mix(in oklab, var(--rk) 40%, var(--iron-lo2));
}
.rw2-step__gem { position: relative; width: 28px; height: 28px; flex: none; }
.rw2-step__gem i {
  position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: conic-gradient(var(--g1) 0 90deg, var(--g4) 90deg 180deg, var(--g3) 180deg 270deg, var(--g0) 270deg 360deg);
}
.rw2-step__gem i::before { content: ""; position: absolute; inset: 5.5px; background: var(--g2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.rw2-step__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
.rw2-step__name { font-weight: 400; font-size: 15px; line-height: 18px; letter-spacing: 1.1px; color: var(--rk); text-transform: uppercase; overflow-wrap: anywhere; }
.rw2-step__lv { font-family: "Skranji", sans-serif; font-size: 12px; line-height: 16px; letter-spacing: .3px; color: var(--ink-3); }
.rw2-step__perks { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 0; padding-top: 10px; box-shadow: inset 0 1px 0 rgba(var(--lo), .6), inset 0 2px 0 rgba(var(--hi), .3); }
.rw2-step__perks > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rw2-step__perks dt { font-family: "Skranji", sans-serif; font-size: 12px; line-height: 15px; letter-spacing: .3px; color: var(--ink-3); }
.rw2-step__perks dd { margin: 0; font-family: "Skranji", sans-serif; font-weight: 700; font-size: 15px; line-height: 19px; letter-spacing: .4px; color: var(--ink); }
.rw2-step__perks dd[data-money] { color: var(--v-gold); }
.rw2-step__state {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 18px; margin-top: auto;
  font-family: "Skranji", sans-serif; font-size: 12px; line-height: 16px; letter-spacing: .3px; color: var(--ink-3);
}
.rw2-step__state:empty { display: none; }
.rw2-step__state b { font-weight: 700; color: var(--ink); }
.rw2-step__state .ic { width: 13px; height: 13px; flex: none; }
/* behind you: the gem and name at a lower value, "Unlocked" in green */
.rw2-step.is-done {
  --g0: color-mix(in oklab, var(--rk) 50%, var(--iron-hi2)); --g1: color-mix(in oklab, var(--rk) 44%, var(--iron-hi1));
  --g2: color-mix(in oklab, var(--rk) 40%, var(--iron-hi1)); --g3: color-mix(in oklab, var(--rk) 32%, var(--iron-lo1)); --g4: color-mix(in oklab, var(--rk) 26%, var(--iron-lo2));
}
.rw2-step.is-done .rw2-step__name { color: color-mix(in oklab, var(--rk) 62%, var(--ink-2)); }
.rw2-step.is-done .rw2-step__state { color: var(--v-green); }
/* yours: raised, the frost ring of "where you are", its colour at full strength */
.rw2-step.is-now {
  background: linear-gradient(180deg, rgba(var(--rk-rgb), .16) 0%, rgba(var(--rk-rgb), .05) 100%), rgba(var(--hi), .16);
  box-shadow: inset 0 0 0 2px rgba(var(--v-frost-rgb), .75), inset 0 3px 0 rgba(255, 255, 255, .06);
}
.rw2-step.is-now .rw2-step__gem { filter: drop-shadow(0 0 7px rgba(var(--rk-rgb), .45)); }
.rw2-step.is-now .rw2-step__name { text-shadow: 0 0 10px rgba(var(--rk-rgb), .35); }
.rw2-step.is-now .rw2-step__state { color: var(--v-frost); }
/* ahead: iron gem, the name faintly tinted, the perks still readable */
.rw2-step.is-next { --g0: var(--iron-hi2); --g1: var(--iron-hi1); --g2: var(--raised-b); --g3: var(--iron-lo1); --g4: var(--iron-lo2); }
.rw2-step.is-next .rw2-step__name { color: color-mix(in oklab, var(--rk) 55%, var(--ink-2)); }
.rw2-vip__fine { font-family: "Skranji", sans-serif; font-size: 12px; line-height: 17px; letter-spacing: .3px; color: var(--ink-3); }
.rw2-pop__link { color: var(--v-frost); text-decoration: underline; text-underline-offset: 2px; }
.rw2-pop__link:hover { color: var(--ink); }

@container rw2 (max-width: 1000px) {
  .rw2-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container rw2 (max-width: 760px) {
  .rw2-vip__head { grid-template-columns: minmax(0, 1fr); }
}
@container rw2 (max-width: 600px) {
  .rw2-vip { padding: 18px 16px 16px; gap: 16px; }
  .rw2-vip__t { font-size: 20px; line-height: 26px; }
  .rw2-vip__you:has(> .btn) { flex-direction: column; align-items: stretch; }
  .rw2-vip__you > .btn { justify-content: center; }
  /* one row per rank: gem, name and level, the state; the perks in a row of three under them */
  .rw2-ladder { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rw2-step {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "gem id state" "perks perks perks";
    align-items: center; gap: 10px 12px; padding: 12px 14px; text-align: left;
  }
  .rw2-step__gem { grid-area: gem; }
  .rw2-step__id { grid-area: id; }
  .rw2-step__state { grid-area: state; margin-top: 0; text-align: right; justify-content: flex-end; }
  .rw2-step__perks { grid-area: perks; flex-direction: row; gap: 8px; padding-top: 8px; }
  .rw2-step__perks > div { flex: 1 1 0; }
  .rw2-step__perks > div:nth-child(2) { flex-grow: 1.3; }
  .rw2-step__perks dd { font-size: 14px; line-height: 18px; }
}

/* questions: the shared .pfaq card (pages.css) */

/* ---------------------------------------------------------------- widths (the page column, not the window: the shell's rails take a share) */
@container rw2 (max-width: 1180px) {
  .rw2-hero__t { font-size: 26px; line-height: 30px; }
  .rw2-hero--rb .rw2-hero__body { max-width: 60%; }
}
@container rw2 (max-width: 1000px) {
  .rw2-carousel { --cw: 172px; }
  .rw2-hero { padding-left: 26px; }
}
@container rw2 (max-width: 920px) {
  .rw2-heroes { grid-template-columns: minmax(0, 1fr); }
  .rw2-hero { min-height: 280px; }
  .rw2-carousel { --cw: 196px; }
  .rw2-hero__t { font-size: 30px; line-height: 34px; }
  .rw2-hero { padding-left: 36px; }
  .rw2-cases { display: flex; flex-wrap: wrap; justify-content: center; }
  .rw2-case { flex: 0 0 calc((100% - 2 * 16px) / 3); }
}
@container rw2 (max-width: 760px) {
  .rw2-level { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "badge who perks" "xp xp xp"; gap: 12px 16px; padding: 14px 16px 16px; }
  .rw2-pair { grid-template-columns: minmax(0, 1fr); }
}
@container rw2 (max-width: 600px) {
  .rw2 { gap: 16px; }
  .rw2-heroes { gap: 16px; }
  .rw2-hero { min-height: 0; padding: 22px 20px 22px; }
  .rw2-hero__t { font-size: 24px; line-height: 28px; }
  .rw2-amt { font-size: 28px; line-height: 34px; gap: 8px; }
  .rw2-amt img { width: 26px; }
  .rw2-hero__foot .btn { min-width: 0; height: 44px; }
  /* the coin stack lifts to the top right, beside the title and the amount; the button and the line run full width under it */
  .rw2-hero--rb { align-items: flex-start; padding-bottom: 20px; }
  .rw2-hero--rb .rw2-hero__body { max-width: none; width: 100%; }
  .rw2-hero--rb .rw2-kick-row, .rw2-hero--rb .rw2-amt, .rw2-hero--rb .rw2-line { max-width: 58%; }
  .rw2-hero__art { top: 6px; bottom: auto; right: 4px; width: 44%; height: 150px; }
  .rw2-hero__img { width: min(150px, 100%); }
  .rw2-hero--daily { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-right: 20px; }
  .rw2-carousel { justify-self: center; --cw: 192px; }
  .rw2-bonus { gap: 16px; margin-top: 8px; }
  .rw2-sec__t { font-size: 22px; line-height: 28px; }
  /* the cases as compact rows (art, name, footer): all five visible, none left alone */
  .rw2-cases { gap: 8px; }
  .rw2-case {
    flex-basis: 100%; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "art txt foot" "got got got";
    align-items: center; gap: 0 14px; padding: 10px 14px 10px 10px; text-align: left;
  }
  .rw2-case > .bcase__art { grid-area: art; max-width: 76px; }
  .rw2-case__txt { grid-area: txt; align-items: flex-start; }
  .rw2-case__rank { margin-top: 0; }
  .bcase__name { margin-top: 4px; font-size: 15px; line-height: 20px; }
  .rw2-case > .bcase__foot { grid-area: foot; width: 118px; margin: 0; padding: 0; gap: 8px; }
  .rw2-case .rw2-pill, .rw2-case .bcase__btn { height: 34px; }
  .rw2-case__lock .ic { width: 24px; height: 24px; }
  .bcase__got { grid-area: got; text-align: center; }
  .rw2-case__in { margin-top: 4px; }
  .rw2-case__in > .rw2-pop__btn--text { height: 24px; margin-left: -8px; }
  .rw2-pair { gap: 16px; }
  .rw2-card { padding: 18px 18px 20px; }
  .rwd-pot { padding-left: 12px; gap: 10px; }
  .rwd-pot .pot__amt { font-size: 22px; }
  .rwd-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .aff2-faq { padding: 14px 18px 6px; }
  .rw2-pop--perks > .rw2-pop__panel { width: 340px; }
}
@container rw2 (max-width: 400px) {
  .rw2-case { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 0 10px; padding: 10px 12px 10px 8px; }
  .rw2-case > .bcase__art { max-width: 60px; }
  .rw2-case > .bcase__foot { width: 100px; }
  .rw2-case .rw2-pill { padding: 0 8px 2px; gap: 5px; }
  .rw2-case .bcase__name { font-size: 14px; line-height: 18px; white-space: nowrap; }
  .rw2-case .bcase__range { white-space: nowrap; }
  .rw2-level { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "badge who" "xp xp" "perks perks"; }
  .rw2-pop--perks > summary { width: 100%; justify-content: center; }
  .rw2-pop--perks > .rw2-pop__panel { left: 0; right: auto; }
  .rw2-xp__top > span:last-child { display: none; }
  .rw2-carousel { --cw: 180px; }
  .rw2-nav { width: 34px; height: 34px; }
  .rw2-hero__t { font-size: 22px; line-height: 26px; }
}

/* server mode: the line under the title when rewards.get did not answer, with a retry */
.rw2-status { margin-top: -6px; font-family: "Skranji", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .3px; color: #FF9C8F; }
.rw2-status__retry { border: 0; padding: 0; background: none; color: var(--v-frost); text-decoration: underline; text-underline-offset: 2px; font-family: inherit; font-size: inherit; cursor: pointer; }
.rw2.is-loading .rw2-heroes, .rw2.is-loading .rw2-cases { opacity: .72; }
@media (prefers-reduced-motion: no-preference) { .rw2-heroes, .rw2-cases { transition: opacity .25s ease; } }

/* touch: the risk tabs are a finger's height */
@media (pointer: coarse) { .rw2-dot { height: 36px; } }
