/* VALBLOX shell v2 (layout-v2 preview). Loads after styles.css and only adds to it. Both layouts load it (index.html
   and every page with the shared shell; index-alt.html too, for the sub-header and the header's middle).
   - The sub-header (.vsub): a slim, darker strip above the header, in small caps: Redeem affiliates and Promo codes on
     the left; Fairness, Affiliates, Terms, Support, the socials and the sound on the right. The socials have no
     addresses yet, so they show as quiet marks ("coming soon"), never as a link to nowhere. From 900px down there is
     no sub-header: the drawer (index) or the More menu (rablox) carries all of it.
   - The header: Games and Rewards on the left; the wallet (the balance and Deposit as one unit) in the true centre
     (server mode, signed in; assets/js/shell-v2.js measures it and steps parts down to keep it there, with air on both
     sides); the race plaque (the live one) and the player chip (level, XP bar, avatar) or Sign in on the right. No
     Withdraw button: the cashier modal has a Withdraw tab.
   - The games leave the sidebar entirely: the sidebar (and the drawer) is the logo block, then the chat, whose head
     is a plain title now (it no longer folds).
   Same plates, fonts and tokens as styles.css. */

/* ---------------------------------------------------------------- the sub-header */
.vsub {
  display: flex; align-items: center; gap: 24px; height: 38px; padding: 0 24px 1px var(--pad); min-width: 0;
  background: linear-gradient(180deg, #151A23 0%, #181E28 100%);
  box-shadow: inset 0 -1px 0 var(--rim-iron);
  font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
  container: vsub / inline-size;
}
.vsub__l, .vsub__r { display: flex; align-items: center; gap: 22px; min-width: 0; }
.vsub__r { margin-left: auto; gap: 20px; }
.vsub__a { display: inline-flex; align-items: center; gap: 7px; height: 30px; color: #8590A5; transition: color .15s, filter .15s; }
.vsub__a .ic { width: 14px; height: 14px; flex: none; }
.vsub__a:hover { color: var(--lilac-light); }
.vsub__a:focus-visible { outline: none; color: var(--lilac-light); }
.vsub__a:focus-visible > span:not(.vsub__time) { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 3px; }
.vsub__a[aria-current="page"] { color: var(--lilac-light); }
.vsub__race, .vsub__race:hover { color: var(--gold); }
.vsub__green, .vsub__green:hover { color: rgba(var(--green-rgb), .86); }
.vsub__gold, .vsub__gold:hover { color: var(--gold); }
:is(.vsub__race, .vsub__green, .vsub__gold):hover { filter: brightness(1.18); }
.vsub__race .ic { width: 15px; height: 15px; }
.vsub__time {
  margin-left: 2px; padding: 2px 7px 3px; font-family: "Skranji", sans-serif; font-size: 12px; line-height: 14px; letter-spacing: .5px;
  color: var(--muted); font-variant-numeric: tabular-nums; background: rgba(var(--gold-rgb), .09);
  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);
}
.vsub__sep { flex: none; width: 1px; height: 16px; background: #2A3242; }
.vsub__socs { display: flex; gap: 6px; }
.vsub__soc, .vsub__sfx {
  width: 24px; height: 24px; flex: none; display: grid; place-items: center; padding: 0; border: 0; color: var(--gray-link);
  background: linear-gradient(180deg, #1E2531 0%, #1B212C 100%); box-shadow: inset 0 0 0 1px #252D3B;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}
.vsub__soc .ic, .vsub__sfx .ic { width: 13px; height: 13px; }
.vsub__soc { opacity: .62; cursor: default; }   /* coming soon: no address yet */
.vsub__sfx { color: var(--muted); cursor: pointer; transition: color .15s; }
.vsub__sfx:hover, .vsub__sfx:focus-visible { outline: none; color: var(--lilac-light); box-shadow: inset 0 0 0 1px rgba(var(--lilac-rgb), .45); }
html.sfx-muted .vsub__sfx { color: var(--gray-link); }
html:not(.has-sfx) .vsub__sfx { display: none; }
/* where the strip runs short (a narrow window, or the column beside the sidebar): the quiet parts go first */
@container vsub (max-width: 1040px) { .vsub__l, .vsub__r { gap: 16px; } .vsub__socs, .vsub__sep { display: none; } }
@container vsub (max-width: 900px) { .vsub__a .ic { display: none; } .vsub__race .ic { display: block; } }
@container vsub (max-width: 800px) { .vsub__l, .vsub__r { gap: 13px; } .vsub { letter-spacing: 1px; } }
@media (max-width: 900px) { .vsub { display: none; } }

/* ---------------------------------------------------------------- the chat's head: a title, not a fold */
.sb__toggle--static { cursor: default; }
.sb__toggle--static:hover { color: var(--muted); }
.sb__toggle--static .online { margin-right: 0; }

/* ---------------------------------------------------------------- the header */
@media (min-width: 601px) { .bar > :not(.bar__spacer) { flex-shrink: 0; } }   /* shell-v2.js fits the parts; nothing squeezes */
.bar > :is(.gpick, .bar__rewards) { flex-shrink: 0; }
/* the wallet in the middle (session.js puts it just before the player; shell-v2.js sets the balance's left margin to
   the true centre, these auto margins are the fallback) */
.bar > :is(.bar__bal, .bar__dep) { order: 1; }
.bar > :is(.bar__race, .bar__socials, .bar__sfx, .bar__more, .bar__user, .bar__login) { order: 2; }   /* (a header that still carries socials or More keeps them on the right) */
.bar > .bar__bal { margin-left: auto; }
.bar > .bar__dep { margin-right: auto; }
.bar:has(> .bar__bal:not([hidden])) > .bar__spacer { display: none; }
.bar:not(:has(> .bar__bal:not([hidden]))) > .bar__race { margin-left: auto; }   /* a guest: the race joins Sign in on the right */

/* the wallet: the balance's well and the green Deposit as one unit, the seam a single iron line (the balance's
   right side and Deposit's left side are straight; shell-v2.js closes the gap between them) */
.bar__bal { --c: 9px; --rim: #3A3426; padding-right: 15px; }   /* a warm iron rim round the coin's well */
.bar__bal { clip-path: polygon(var(--k) 0, 100% 0, 100% 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.bar__bal::before { right: 0; clip-path: polygon(var(--ci) 0, 100% 0, 100% 100%, var(--ci) 100%, 0 calc(100% - var(--ci)), 0 var(--ci)); }
.bar__bal::after { right: 0; clip-path: polygon(var(--na) var(--kn), 100% var(--kn), 100% calc(100% - var(--kn)), var(--na) calc(100% - var(--kn)), 0 calc(100% - var(--nb)), 0 var(--nb)); }
.bar__bal[aria-current] { --rim: rgba(var(--gold-rgb), .5); }
.bar__dep { --c: 9px; margin-left: -12px; }
.bar__dep { clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, 0 100%); }
.bar__dep::before { clip-path: polygon(0 0, calc(100% - var(--ci)) 0, 100% var(--ci), 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, 0 100%); }
.bar__dep::after { clip-path: polygon(0 var(--kn), calc(100% - var(--na)) var(--kn), 100% var(--nb), 100% calc(100% - var(--nb)), calc(100% - var(--na)) calc(100% - var(--kn)), 0 calc(100% - var(--kn))); }

/* the race plaque: exactly the live one (styles.css: the hoard on its gold-rimmed plate, 1M RACE and the time left,
   the prize), only moved to the right group. Where the header runs short (shell-v2.js), it steps down: without the
   time; the hoard (smaller) and the prize; the hoard alone on its plate; gone, as the very last step */
.fit-race-notime .bar__race-time { display: none; }
.fit-race-short .bar__race { height: 44px; padding: 0 12px 2px 52px; }
.fit-race-short .bar__race-art { left: 2px; width: 48px; height: 48px; margin-top: -25px; }
.fit-race-short .bar__race-art img { width: 48px; height: 48px; }
.fit-race-short .bar__race-kicker { display: none; }
.fit-race-icon .bar__race { width: 50px; height: 44px; padding: 0; }
.fit-race-icon .bar__race-art { left: 50%; width: 46px; height: 46px; margin: -24px 0 0 -23px; }
.fit-race-icon .bar__race-art img { width: 46px; height: 46px; }
.fit-race-icon .bar__race-text { display: none; }
.fit-race-off .bar__race { display: none; }
@media (max-width: 900px) { .bar__race { display: none; } }   /* phones and tablets: the drawer's 1M Race link and the home's race card */

/* the other steps, in both layouts */
:is(.bar, .x-top).fit-rewards-icon :is(.bar__rewards, .x-btn-rewards) { width: 44px; padding: 0 0 4px; }
:is(.bar, .x-top).fit-rewards-icon :is(.bar__rewards .lbl, .x-btn-rewards__lbl) { display: none; }
:is(.bar, .x-top).fit-dep-icon .bar__dep { width: 46px; padding: 0 0 4px; }
:is(.bar, .x-top).fit-dep-icon .bar__dep span { display: none; }
:is(.bar, .x-top).fit-games-icon .gpick__t { display: none; }
:is(.bar, .x-top).fit-games-icon .gpick__btn { gap: 4px; padding: 0 6px 4px 11px; }
/* styles.css gives Rewards and Deposit their icons at fixed widths (signed in, under 1300 and 1041px): the fitting
   decides that now, so above phones they keep their words while there is room */
@media (min-width: 601px) {
  .bar:has(> .bar__bal:not([hidden])):not(.fit-rewards-icon) > .bar__rewards { width: auto; padding: 0 24px 4px; }
  .bar:has(> .bar__bal:not([hidden])):not(.fit-rewards-icon) > .bar__rewards .lbl { display: inline; }
  .bar:has(> .bar__bal:not([hidden])):not(.fit-dep-icon) > .bar__dep { width: auto; padding: 0 18px 4px 14px; }
  .bar:has(> .bar__bal:not([hidden])):not(.fit-dep-icon) > .bar__dep span { display: inline; }
}

/* the player chip (site.js's .bar__user, dressed by shell-v2.js): level badge, XP bar, avatar, chevron */
.bar__user.vchip { gap: 9px; padding: 0 9px 4px 8px; }
.vchip .vchip__lvl { width: 26px; height: 26px; font-size: 12px; margin: 0; }
.vchip__xp {
  position: relative; display: block; width: var(--xp-w, 92px); height: 10px; flex: none; background: var(--track);
  box-shadow: inset 0 0 0 1px rgba(16, 21, 29, .7);
  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);
}
.vchip__xp i {
  position: absolute; inset: 1px auto 1px 1px; width: min(var(--xp, 0%), calc(100% - 2px)); overflow: hidden;
  background: linear-gradient(180deg, var(--lilac-light) 0 35%, var(--lilac) 35% 70%, var(--lilac-deep) 70% 100%);
}

/* ---------------------------------------------------------------- living XP bars
   The header chip's bar (.vchip__xp) and the shared XP track (pages.css .xp__track: rewards, profile, the account
   window). Built on what each already draws (the recessed track, the frost bands), and added with pseudo-elements
   only, so pages.css and vb-pages.css keep their shapes and the account window keeps its own fill colour:
   - the track is a carved channel: a shadow cast down from its top lip, a faint light on its bottom lip, and rune
     notches cut across it (every quarter on the chip, every tenth on the wide bars) that show over the fill too;
   - the fill has a hot leading edge, frost-white at the very end and fading back into the bands, so the bar reads as
     moving toward the next level even standing still;
   - a slow sheen crosses the fill once every ~9s (1.8s across, eased in and out) and rests in between;
   - a change of value eases over 1.1s; a gain (shell-v2.js .is-gain) brightens the edge and sends one sheen
     across; a level up (.is-level) lights the whole fill and lets it settle;
   - the wide bars grow in from empty once, when they first show.
   Reduced motion: the static parts only (channel, notches, edge); no sheen, no easing, no grow-in. */
.xp__track::after, .vchip__xp::after {   /* the channel's lips and notches, over the fill */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .55) 0, rgba(5, 8, 12, 0) 3px),
    linear-gradient(0deg, rgba(var(--hi), .55) 0 1px, rgba(var(--hi), 0) 1px),
    repeating-linear-gradient(90deg, rgba(10, 14, 20, 0) 0 calc(10% - 1px), rgba(10, 14, 20, .42) calc(10% - 1px) 10%);
}
.vchip__xp::after {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .5) 0, rgba(5, 8, 12, 0) 2px),
    linear-gradient(0deg, rgba(var(--hi), .5) 0 1px, rgba(var(--hi), 0) 1px),
    repeating-linear-gradient(90deg, rgba(10, 14, 20, 0) 0 calc(25% - 1px), rgba(10, 14, 20, .45) calc(25% - 1px) 25%);
}
.xp__track i::before, .vchip__xp i::before {   /* the hot leading edge */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 26px; max-width: 100%; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) calc(100% - 3px), rgba(255, 255, 255, .95) calc(100% - 2px)),
    linear-gradient(90deg, color-mix(in srgb, var(--lilac-lighter) 0%, transparent) 0%, color-mix(in srgb, var(--lilac-lighter) 70%, transparent) 100%);
  transition: filter .9s cubic-bezier(.2, .7, .2, 1);
}
.vchip__xp i::before { width: 16px; }
.xp__track i::after, .vchip__xp i::after {   /* the sheen, parked off the left end between crossings */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .28) 44%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, .28) 56%, rgba(255, 255, 255, 0) 66%);
  mix-blend-mode: screen;
  transform: translateX(-66%);
}
.vchip__xp.is-gain i::before, .xp__track.is-gain i::before { filter: brightness(1.5) drop-shadow(0 0 3px var(--lilac-lighter)); }
@media (prefers-reduced-motion: no-preference) {
  .vchip__xp i, .xp__track i { transition: width 1.1s cubic-bezier(.22, .7, .18, 1), filter .9s cubic-bezier(.2, .7, .2, 1); }
  .xp__track i { animation: vbxp-grow 1.3s cubic-bezier(.22, .7, .18, 1) .25s backwards; }
  /* the sheen: one crossing (the old 9s loop's moving 22%), run again every 9s by site.js glints(); between crossings
     nothing ticks (fps pass, 27 Nov 2026) */
  .xp__track i::after { animation: vbxp-sheen 1.98s cubic-bezier(.45, 0, .2, 1) 1.8s both; }
  .vchip__xp i::after { animation: vbxp-sheen 1.98s cubic-bezier(.45, 0, .2, 1) 3.2s both; }
  .vchip__xp.is-gain i::after, .xp__track.is-gain i::after { animation: vbxp-sweep 1.5s cubic-bezier(.45, 0, .2, 1) .5s 1 both; }
  .vchip__xp.is-level i { animation: vbxp-level 1.6s cubic-bezier(.2, .7, .2, 1) 1 both; }
}
@keyframes vbxp-grow { from { width: 0; } }   /* to: the width the page set */
@keyframes vbxp-sheen {
  0% { transform: translateX(-66%); opacity: 0; }
  13.6364% { opacity: 1; }   /* 3% of the old 9s loop */
  90.9091% { transform: translateX(66%); opacity: 1; }   /* 20% */
  100% { transform: translateX(66%); opacity: 0; }   /* 22% */
}
@keyframes vbxp-sweep { 0% { transform: translateX(-66%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(66%); opacity: 0; } }
@keyframes vbxp-level { 0% { filter: brightness(1); } 30% { filter: brightness(1.55) saturate(.8); } 100% { filter: brightness(1); } }
.vchip .bar__user-n { display: none; }
.vchip__chev { width: 14px; height: 14px; margin-left: -4px; color: var(--muted); }
.vchip:hover .vchip__chev { color: var(--lilac-light); }
/* styles.css squares the chip to 44px on narrow bars (the old avatar-and-name chip): this one keeps its badge */
.bar:has(> .bar__bal:not([hidden])) > .bar__user.vchip, .x-top .bar__user.vchip { width: auto; padding: 0 9px 4px 8px; }
/* compact under 1700px: a shorter bar, no chevron, tighter (about 150px), so the race plaque keeps its room; where
   the header is shorter still, shell-v2.js shortens the bar again (fit-xp-short) or leaves the badge and the avatar
   (fit-xp-off); under 1100px the badge and the avatar only */
@media (max-width: 1699px) {
  .vchip__xp { --xp-w: 70px; }
  .vchip__chev { display: none; }
  .bar:has(> .bar__bal:not([hidden])) > .bar__user.vchip, .x-top .bar__user.vchip { gap: 6px; padding: 0 7px 4px 6px; }
}
:is(.bar, .x-top).fit-xp-short .vchip__xp { --xp-w: 48px; }
:is(.bar, .x-top).fit-xp-off .vchip__xp { display: none; }
@media (max-width: 1100px) { .vchip__xp { display: none; } }
@media (max-width: 600px) {
  .vchip__chev { display: none; }
  .bar:has(> .bar__bal:not([hidden])) > .bar__user.vchip, .x-top .bar__user.vchip, .bar__user.vchip { gap: 6px; padding: 0 7px 4px 6px; width: auto; }
}

/* ---------------------------------------------------------------- phones */
/* guest: the lockup keeps its shield (the drawer still carries the full logo block); on the narrowest phones Sign in
   keeps its word only, as styles.css already does under 360px */
@media (max-width: 440px) {
  .bar:not(:has(> .bar__bal:not([hidden]))) .bar__logo img { width: 24px; object-fit: cover; object-position: 0 50%; }
}
@media (max-width: 380px) {
  .bar:not(:has(> .bar__bal:not([hidden]))) { gap: 7px; }
  .bar:not(:has(> .bar__bal:not([hidden]))) > .bar__login > .ic { display: none; }
  .bar:not(:has(> .bar__bal:not([hidden]))) > .bar__login { padding: 0 14px 4px; }
}
/* signed in: the chip keeps its level badge (styles.css squared it to the avatar), so the lockup turns to its shield
   a little sooner, under 501px instead of 461px; under 420px the lockup and Rewards go into the drawer as well */
@media (max-width: 500px) {
  .bar:has(> .bar__bal:not([hidden])) .bar__logo img { width: 24px; object-fit: cover; object-position: 0 50%; }
}
@media (max-width: 420px) {
  .bar:has(> .bar__bal:not([hidden])) > :is(.bar__logo, .bar__rewards) { display: none; }
}
/* the drawer's extra rows: Sound once the sub-header has gone (900px and under), Rewards once the header has let it go */
.sb-links__sfx, .sb-links__rewards { display: none !important; }
@media (max-width: 900px) {
  html.has-sfx .sb-links__sfx {
    display: flex !important; align-items: center; gap: 12px; height: 40px; width: 100%; padding: 0 12px 2px; border: 0; background: none;
    font-size: 14px; letter-spacing: 1.12px; color: var(--muted); text-transform: uppercase; text-align: left;
    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);
  }
  .sb-links__sfx .ic { width: 18px; height: 18px; }
  .sb-links__sfx:hover, .sb-links__sfx:focus-visible { outline: none; color: var(--lilac-light); background: rgba(var(--lilac-rgb), .1); }
  html.sfx-muted .sb-links__sfx { color: var(--gray-link); }
}
@media (max-width: 520px) {
  .is-signed-in .sb-links a.sb-links__rewards { display: flex !important; color: var(--green); }
}

/* money in (shell-v2.js gain): the "+amount" pill that drops out of the wallet, and the count-up laid over the balance */
.vbg-pill {
  position: fixed; z-index: 9; display: none; align-items: center; gap: 7px; height: 30px; padding: 0 12px 1px 9px;
  border-radius: 9px; pointer-events: none;
  background: linear-gradient(180deg, #19202B 0%, #1D2531 100%);
  box-shadow: inset 0 1px 0 rgba(var(--hi), .22), inset 0 0 0 1px rgba(var(--green-rgb), .2), 0 8px 18px rgba(4, 7, 11, .5);
}
.vbg-pill.is-on { display: inline-flex; }
.vbg-pill img { width: 16px; height: 17px; flex: none; }
.vbg-pill b {
  display: inline-block; font-family: "Skranji", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bar__bal-n.vbg-hide { visibility: hidden; }
.vbg-roll { position: absolute; z-index: 1; pointer-events: none; white-space: nowrap; }
.vbg-roll[hidden] { display: none; }
@media (max-width: 600px) {
  .vbg-pill { height: 26px; gap: 6px; padding: 0 10px 1px 7px; }
  .vbg-pill b { font-size: 13px; }
}

/* ---------------------------------------------------------------- the balance's display currency (shell-v2.js, cur)
   The balance is its own button: it opens a small picker anchored under it (Coins or US Dollar), and a hover or
   keyboard focus shows the other value in a tip. In dollars the coin in the well turns to the green $ token. The
   picker is a raised plate like the Games panel's, a step lighter than the header, with a notch pointing at the
   balance; each option is one of the site's own buttons (plate, rim, bevel), the chosen one rimmed in frost with a
   check in a carved well. Phones: a near-full-width sheet under the header, as the Games panel is. */
.bar__bal .vcur-ic { display: none; width: 20px; height: 21px; flex: none; }
.bar__bal .vcur-ic svg { width: 20px; height: 21px; }
.bar__bal[data-cur="usd"] > img { display: none; }
.bar__bal[data-cur="usd"] > .vcur-ic { display: block; }
.bar__bal.is-open { --rim: rgba(var(--lilac-rgb), .55); }

.vcur {
  position: absolute; z-index: 7; top: calc(100% + 8px); left: 0; width: 304px; padding: 16px 14px 14px; isolation: isolate;
  filter: drop-shadow(0 16px 26px rgba(4, 7, 12, .48)) drop-shadow(0 2px 3px rgba(4, 7, 12, .3));
}
.vcur[hidden] { display: none; }
.vcur > .plate {
  --c: 12px; --n: 4px; --rim: #34405A; --bt: rgba(var(--hi), .55); --bb: rgba(var(--lo), .45);
  --face: linear-gradient(180deg, #2A3346 0%, #252D3E 100%);
}
/* the notch: the rim's colour, then the face a pixel inside it */
.vcur::before, .vcur::after {
  content: ""; position: absolute; left: var(--ax, 50%); width: 16px; height: 8px; margin-left: -8px; pointer-events: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.vcur::before { top: -7px; background: #34405A; }
.vcur::after { top: -5.6px; width: 13px; height: 7px; margin-left: -6.5px; background: #2E384B; }
.vcur__t { padding: 0 4px; font-size: 15px; line-height: 20px; letter-spacing: 1.2px; color: var(--white); text-transform: uppercase; }
.vcur__s { padding: 0 4px; margin-top: 3px; font-family: "Skranji", sans-serif; font-size: 12px; line-height: 17px; letter-spacing: .3px; color: var(--muted); }
.vcur__list { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; }
.vcur__opt {
  --c: 10px; height: 60px; width: 100%; justify-content: flex-start; gap: 12px; padding: 0 12px 3px 10px;
  text-transform: none; letter-spacing: 0; text-align: left;
  --face: linear-gradient(180deg, #222A38 0%, #1E2531 100%);
}
.vcur__opt:focus-visible { outline-offset: -2px; outline-width: 0; }   /* the frost rim and glow say it inside the plate */
.vcur__opt.is-on {
  --rim: rgba(var(--lilac-rgb), .6); --glow: inset 0 0 16px rgba(var(--lilac-rgb), .2);
  --face: linear-gradient(180deg, #26324A 0%, #212B3D 100%);
}
/* the token in a round carved well: the site's coin, or the green dollar */
.vcur__tok {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #1A212C 0%, #141A23 100%);
  box-shadow: inset 0 2px 0 rgba(var(--lo), .8), inset 0 -1px 0 rgba(var(--hi), .4), inset 0 0 0 1px var(--rim-iron);
}
.vcur__tok img { width: 30px; height: 31px; }
.vcur__usd svg { width: 30px; height: 31px; display: block; }
.vcur__opt[data-cur="coins"] .vcur__tok { box-shadow: inset 0 2px 0 rgba(var(--lo), .8), inset 0 -1px 0 rgba(var(--gold-hi), .5), inset 0 0 0 1px var(--rim-iron); }
.vcur__opt[data-cur="usd"] .vcur__tok { box-shadow: inset 0 2px 0 rgba(var(--lo), .8), inset 0 -1px 0 rgba(var(--green-bevel), .55), inset 0 0 0 1px var(--rim-iron); }
.vcur__l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vcur__n { font-size: 15px; line-height: 19px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--white); }
.vcur__v {
  font-family: "Skranji", sans-serif; font-size: 13px; line-height: 17px; letter-spacing: .4px; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcur__opt[data-cur="coins"] .vcur__v { color: var(--gold); }
.vcur__opt[data-cur="usd"] .vcur__v { color: var(--green); }
.vcur__mark {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center; color: transparent;
  background: linear-gradient(180deg, #1A212C 0%, #1E2632 100%);
  box-shadow: inset 0 2px 0 rgba(var(--lo), .7), inset 0 -1px 0 rgba(var(--hi), .38), inset 0 0 0 1px rgba(16, 21, 29, .8);
  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);
}
.vcur__opt.is-on .vcur__mark { color: var(--lilac-light); }
.vcur__opt:not(.is-on):hover .vcur__n { color: var(--lilac-lighter); }

/* the tip: the other value, a slim plate under the balance */
.vcur-tip {
  position: absolute; z-index: 7; left: 0; top: 100%; display: inline-flex; align-items: center; gap: 7px; height: 30px;
  padding: 0 12px 1px 9px; isolation: isolate; pointer-events: none; white-space: nowrap;
  filter: drop-shadow(0 8px 14px rgba(4, 7, 12, .5));
}
.vcur-tip[hidden] { display: none; }
.vcur-tip > .plate { --c: 8px; --n: 3px; --rim: rgba(var(--lilac-rgb), .4); --face: linear-gradient(180deg, #273042 0%, var(--dropdown) 100%); }
.vcur-tip::before {
  content: ""; position: absolute; left: var(--ax, 50%); top: -6px; width: 12px; height: 7px; margin-left: -6px;
  background: rgba(var(--lilac-rgb), .4); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.vcur-tip__ic, .vcur-tip__ic img, .vcur-tip__ic svg { display: block; width: 14px; height: 15px; flex: none; }
.vcur-tip b { font-family: "Skranji", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .4px; font-variant-numeric: tabular-nums; }
.vcur-tip[data-cur="usd"] b { color: var(--green); }
.vcur-tip[data-cur="coins"] b { color: var(--gold); }

@media (max-width: 600px) {
  .vcur { left: 8px !important; right: 8px; width: auto; padding: 14px 12px 12px; }
  .vcur__opt { height: 58px; }
}
@media (prefers-reduced-motion: reduce) { .vcur, .vcur-tip { animation: none; transition: none; } }