/* B2 Club — app skin (wallet, deposit, withdraw, profile, refer, support, history, VIP, auth) */
html body.wv {
  --a: #f0c24b;
  --a2: #c9952c;
  --v: #10b981;
  --v2: #059669;
  --ink: #060d0a;
  --mute: #8ea69b;
  --line: rgba(255, 255, 255, 0.07);
  --vline: rgba(52, 211, 153, 0.24);
  --glass: #0f1c16;
  --card-2: #152620;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --lime-grad: linear-gradient(160deg, #ffe08a 0%, #f0c24b 45%, #c9952c 100%);
  --violet-grad: linear-gradient(140deg, #34d399 0%, #10b981 45%, #047857 100%);
  background:
    radial-gradient(900px 560px at 90% -10%, rgba(16, 185, 129, 0.18), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(240, 194, 75, 0.05), transparent 60%),
    #060d0a !important;
  background-attachment: fixed !important;
}
html body.wv h1, html body.wv h2 { font-family: var(--display) !important; font-weight: 800 !important; text-transform: none; letter-spacing: -0.02em !important; }
html body.wv :is(.wv-pill, .wv-tabs, .wv-tabs button, .wv-top__back) { border-radius: 12px; }

/* Top bar: left logo, square controls */
html body.wv .wv-top {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  height: 66px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(6, 13, 10, 0.86);
  border-bottom: 1px solid var(--line);
}
html body.wv .wv-top > .d3-logo { justify-self: start; font-size: 22px; order: 0; }
html body.wv .wv-top__back {
  order: -1;
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
html body.wv .wv-top__back span { display: none; }
html body.wv .wv-top__back:hover { border-color: var(--vline); background: rgba(16, 185, 129, 0.14); }
html body.wv .wv-top__me,
html body.wv .wv-top > a:last-child:not(.d3-logo):not(.wv-top__back) {
  border-radius: 13px;
  background: var(--violet-grad);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.8);
}
html body.wv .d3-logo__word { font-family: var(--display); font-weight: 800; font-size: 0.5em; letter-spacing: 0.22em; padding-top: 0.28em; transform: none; }

/* No giant outlined background words */
html body.wv .wv-bgword, html body.wv .wv-card__mark, html body.wv .rf-pass__main::after { display: none !important; }

/* Page heading */
html body.wv .wv-eyebrow { letter-spacing: 0.16em; color: #b1c4bb; }
html body.wv .wv-eyebrow::before { border-radius: 3px; transform: rotate(45deg); background: var(--v); box-shadow: 0 0 12px var(--v); }
html body.wv .wv-title {
  font-size: clamp(30px, 8.2vw, 46px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
}
html body.wv .wv-title span {
  -webkit-text-stroke: 0;
  background: linear-gradient(100deg, #ffe08a 0%, #f0c24b 35%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html body.wv .wv-main { padding-top: 26px; }

/* Wallet card: violet club card */
html body.wv .wv-card {
  animation: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(240, 194, 75, 0.32), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(10, 18, 15, 0.7), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px),
    linear-gradient(140deg, #22c58b 0%, #059669 42%, #053d2e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 30px 60px -24px rgba(4, 120, 87, 0.75);
}
html body.wv .wv-card__logo .d3-logo__mark path:last-child { fill: #fff; }
html body.wv .wv-card__shadow { background: rgba(16, 185, 129, 0.55); }
html body.wv .wv-card__vip { border-radius: 10px; background: rgba(6, 13, 10, 0.45); border-color: rgba(240, 194, 75, 0.6); }
html body.wv .wv-card__label { color: rgba(255, 255, 255, 0.75); }
html body.wv .wv-card__amt { font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 4px 20px rgba(22, 39, 32, 0.6); }
html body.wv .wv-rupee { color: var(--a); }
html body.wv .wv-card__foot small { color: rgba(255, 255, 255, 0.65); }
html body.wv .wv-chip { border-radius: 6px; }
html body.wv .wv-eye { background: rgba(6, 13, 10, 0.35); }

/* Wallet actions */
html body.wv .wv-act { min-height: 132px; border-radius: 20px; }
html body.wv .wv-act__name { font-size: clamp(17px, 4.6vw, 21px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-transform: none; }
html body.wv .wv-act--add { background: var(--lime-grad); box-shadow: 0 16px 36px -18px rgba(240, 194, 75, 0.9); }
html body.wv .wv-act--out { background: var(--violet-grad); border: 0; color: #fff; box-shadow: 0 16px 36px -18px rgba(16, 185, 129, 0.95); }
html body.wv .wv-act--out:hover { background: var(--violet-grad); filter: brightness(1.08); }
html body.wv .wv-act__ico { border-radius: 14px; }
html body.wv .wv-act--out .wv-act__ico { background: #fff; color: var(--v2); }

/* Quick links */
html body.wv .wv-quick { border-radius: 20px; background: var(--glass); border-color: var(--line); }
html body.wv .wv-quick a span { border-radius: 13px; background: rgba(16, 185, 129, 0.16); color: #a7f3d0; }
html body.wv .wv-quick a:hover span { background: var(--a); color: var(--ink); }

/* Panels */
html body.wv .wv-panel {
  border-radius: 22px;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), transparent 90px), var(--glass);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html body.wv .wv-panel::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.7), transparent); pointer-events: none; }
html body.wv .wv-panel__head h2 { font-size: clamp(17px, 4.4vw, 21px) !important; line-height: 1.15 !important; }
html body.wv .wv-panel__head h2 span { color: var(--a); }
html body.wv .wv-kicker { color: #a7f3d0; }
html body.wv .wv-ring__bar { stroke: var(--a); }
html body.wv .wv-ring__lvl { font-size: 26px; font-weight: 800; }
html body.wv .wv-stat b { font-size: clamp(14px, 3.8vw, 18px); font-weight: 700; letter-spacing: -0.01em; }
html body.wv .wv-refer { background: var(--violet-grad) !important; color: #fff; }
html body.wv .wv-refer .wv-kicker { color: rgba(255, 255, 255, 0.75); }
html body.wv .wv-refer h3 { font-size: clamp(17px, 4.4vw, 21px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-transform: none; }
html body.wv .wv-tabs button.is-on { background: #f5f2ec; color: #09130f; }

/* Deposit */
html body.wv .dp-figure__cur { font-size: clamp(20px, 5vw, 26px); font-weight: 700; }
html body.wv .dp-figure input {
  width: calc(var(--len) * 0.82em + 0.15em);
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(40px, 12vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
html body.wv .dp-after b { font-size: 17px; font-weight: 700; }
html body.wv .dp-steps li i { font-size: 13px; font-weight: 800; }
html body.wv .dp-bar__sum b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

/* Withdraw */
html body.wv .wd-figure span { font-size: 24px; font-weight: 700; }
html body.wv .wd-figure input { font-size: clamp(32px, 9vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
html body.wv .wd-status h2 { font-size: clamp(18px, 4.8vw, 24px) !important; line-height: 1.15 !important; }
html body.wv .wd-receipt__total b { font-size: clamp(24px, 6.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; }

/* Profile */
html body.wv .pf-lic__ctry { font-size: 10px; font-weight: 800; }
html body.wv .pf-av__img { font-size: clamp(22px, 6vw, 28px); font-weight: 800; }
html body.wv .pf-lic__name dd { font-size: clamp(17px, 4.6vw, 21px); font-weight: 800; letter-spacing: -0.02em; }
html body.wv .pf-money__bal b { font-size: 18px; font-weight: 800; }
html body.wv .pf-log__cell b { font-size: clamp(19px, 5.2vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
html body.wv .pf-game__rank { font-size: 10px; font-weight: 800; }

/* Refer */
html body.wv .rf-route b { font-size: clamp(26px, 8vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
html body.wv .rf-pass__fields b { font-size: clamp(14px, 4vw, 17px); font-weight: 800; }
html body.wv .rf-steps__no { font-size: 26px; font-weight: 800; color: #a7f3d0; }
html body.wv .rf-radar__you { font-size: 10px; font-weight: 800; }
html body.wv .rf-lvl__end b { font-size: 17px; font-weight: 800; }
html body.wv .rf-pax__seat { font-size: 11px; font-weight: 800; }
html body.wv .rf-pax__av { font-size: 13px; font-weight: 800; }

/* History */
html body.wv .tx-sum__net { font-size: clamp(30px, 8.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
html body.wv .tx-sheet__amt { font-size: clamp(28px, 8vw, 36px); font-weight: 800; letter-spacing: -0.02em; }

/* VIP */
html body.wv .vp-pass__num { font-size: clamp(54px, 16vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
html body.wv .vp-pass__rank b { font-size: clamp(19px, 5vw, 25px); font-weight: 800; letter-spacing: -0.02em; text-transform: none; }
html body.wv .vp-tier__badge { font-size: 17px; font-weight: 800; }
html body.wv .vp-game--crown .vp-game__txt b { font-size: 17px; font-weight: 800; text-transform: none; }

/* Auth */
html body.wv .au-sky__mult { font-size: 26px; font-weight: 800; }

/* Bottom dock: flat club tab bar */
html body .d3dock {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  transform: none;
  padding: 6px max(10px, calc((100% - 560px) / 2)) calc(6px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 0;
  background: rgba(7, 14, 11, 0.94);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}
html body .d3dock a { border-radius: 14px; color: #86998f; }
html body .d3dock a:hover, html body .d3dock a.is-on { color: #fff; }
html body .d3dock a.is-on { background: none; }
html body .d3dock a.is-on::after { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: #f0c24b; box-shadow: 0 0 10px #f0c24b; }
html body .d3dock a.is-on svg { color: #f0c24b; }
html body .d3dock a.d3dock__play {
  width: 52px;
  height: 46px;
  margin-top: 0;
  border-radius: 15px;
  background: linear-gradient(160deg, #ffe08a, #f0c24b 50%, #c9952c);
  box-shadow: 0 8px 22px -8px rgba(240, 194, 75, 0.9) !important;
}
html body .d3dock a.d3dock__play::after { display: none; }
html body .d3dock a.d3dock__play svg { color: #060d0a; }
html body .d3dock-space { height: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { html body .d3dock { width: 100%; } }

/* Auth: club showcase beside the form on desktop */
html body.wv .b2-aside { display: none; }
@media (min-width: 1000px) {
  html body.wv .au-main--b2 {
    grid-template-columns: minmax(0, 1fr) 440px;
    grid-template-areas: "aside card";
    column-gap: 56px;
    align-items: center;
    min-height: calc(100vh - 90px);
    padding-top: 32px;
  }
  html body.wv .b2-aside { grid-area: aside; display: grid; gap: 30px; min-width: 0; }
  html body.wv .b2-aside__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 12px;
  }
  html body.wv .b2-aside__tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: #0f1c16 center / cover no-repeat;
  }
  html body.wv .b2-aside__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 13, 10, 0.92)); }
  html body.wv .b2-aside__tile--big { grid-row: span 2; border-color: rgba(240, 194, 75, 0.35); }
  html body.wv .b2-aside__tile figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
  }
  html body.wv .b2-aside__tile--big figcaption { font-size: 26px; }
  html body.wv .b2-aside__tile figcaption small {
    display: block;
    margin-bottom: 4px;
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0c24b;
  }
  html body.wv .b2-aside__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8ea69b; }
  html body.wv .b2-aside__tag i { width: 8px; height: 8px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 10px #2ee59d; }
  html body.wv .b2-aside h2 { margin: 10px 0 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; color: #f5f2ec; }
  html body.wv .b2-aside ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
  html body.wv .b2-aside li { padding: 14px 16px; border: 1px solid rgba(52, 211, 153, 0.18); border-radius: 14px; background: #0f1c16; }
  html body.wv .b2-aside li b { display: block; font-size: 14px; color: #f5f2ec; }
  html body.wv .b2-aside li span { display: block; margin-top: 4px; font-size: 12px; color: #8ea69b; }
}

/* Square-ish CTAs instead of pills */
html body.wv .dp-bar { bottom: calc(env(safe-area-inset-bottom) + 70px); }
html body.wv .dp-bar__in { border-radius: 20px; border-color: rgba(52, 211, 153, 0.35); background: rgba(14, 26, 21, 0.96); }
html body.wv .dp-pay { border-radius: 14px !important; }
html body.wv .dp-pay__ico { border-radius: 10px; }
html body.wv .wd-bar { bottom: calc(env(safe-area-inset-bottom) + 70px); }
html body.wv .wd-slide { border-radius: 18px; }
html body.wv .wd-slide__fill, html body.wv .wd-slide__knob { border-radius: 13px !important; }
html body.wv .sp-go, html body.wv .wd-balpill, html body.wv .dp-balpill { border-radius: 14px !important; }

/* ================= B2 shell ================= */

/* App header: back, page name, account controls */
.b2crumb { display: none; }
html body:has(.b2rail) .wv-top { display: flex; align-items: center; gap: 10px; }
html body:has(.b2rail) .wv-top > .d3-logo { display: none; }
html body:has(.b2rail) .b2crumb {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: "Manrope", system-ui, sans-serif;
}
html body:has(.b2rail) .b2crumb span,
html body:has(.b2rail) .b2crumb svg { display: none; }
html body:has(.b2rail) .b2crumb b {
  overflow: hidden;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #f5f2ec;
}

/* Desktop rail */
.b2rail { display: none; }
@media (min-width: 1000px) {
  html body:has(.b2rail) { padding-left: 264px !important; }
  .b2rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: 264px;
    padding: 22px 16px 18px;
    overflow-y: auto;
    scrollbar-width: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background:
      radial-gradient(260px 220px at 0% 0%, rgba(16, 185, 129, 0.16), transparent 70%),
      #0a1410;
    font-family: "Manrope", system-ui, sans-serif;
    color: #f5f2ec;
    box-sizing: border-box;
  }
  .b2rail *, .b2rail *::before { box-sizing: border-box; }
  .b2rail a { color: inherit; text-decoration: none; }
  .b2rail__logo { margin: 0 6px 20px; font-size: 26px; }
  .b2rail__me { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(52, 211, 153, 0.18); border-radius: 16px; background: #0f1c16; transition: border-color 0.2s; }
  .b2rail__me:hover { border-color: rgba(52, 211, 153, 0.45); }
  .b2rail__av img, html body.wv .wv-top__me img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
  .b2rail__av { overflow: hidden; display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, #34d399, #10b981 45%, #047857); font-family: "Unbounded", sans-serif; font-size: 16px; font-weight: 800; color: #fff; }
  .b2rail__who { min-width: 0; }
  .b2rail__who b { display: block; overflow: hidden; font-size: 14px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
  .b2rail__who small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; font-weight: 700; color: #8ea69b; }
  .b2rail__who i { width: 6px; height: 6px; border-radius: 50%; background: #f0c24b; box-shadow: 0 0 8px #f0c24b; }
  .b2rail__bal { position: relative; margin-top: 8px; padding: 14px 60px 14px 14px; border-radius: 16px; background: linear-gradient(160deg, #ffe08a, #f0c24b 45%, #c9952c); color: #060d0a; box-shadow: 0 14px 30px -18px rgba(240, 194, 75, 0.9); }
  .b2rail__bal small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.65; }
  .b2rail__bal b { display: block; overflow: hidden; margin-top: 3px; font-family: "Unbounded", sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; }
  .b2rail__bal a { position: absolute; top: 50%; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #060d0a; color: #f0c24b; transform: translateY(-50%); }
  .b2rail__bal svg, .b2rail__nav svg, .b2rail__out svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
  .b2rail__group { margin: 20px 12px 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #6a8277; }
  .b2rail__nav { display: grid; gap: 2px; }
  .b2rail__nav a, .b2rail__out { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #a2b5ac; transition: background 0.2s, color 0.2s; }
  .b2rail__nav a:hover, .b2rail__out:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
  .b2rail__nav a.is-on { background: rgba(240, 194, 75, 0.1); color: #fff; }
  .b2rail__nav a.is-on svg { color: #f0c24b; }
  .b2rail__nav a.is-on::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: -16px; width: 3px; border-radius: 0 3px 3px 0; background: #f0c24b; box-shadow: 0 0 10px #f0c24b; }
  .b2rail__out { margin-top: auto; color: #ff8a96; }
  .b2rail__nav + .b2rail__out { margin-top: 18px; }

  html body:has(.b2rail) .d3dock,
  html body:has(.b2rail) .d3dock-space,
  html body:has(.b2rail) .wv-top__back { display: none !important; }
  html body:has(.b2rail) header > .d3-logo { display: none !important; }
  html body:has(.b2rail) .wv-top { height: 72px; padding: 0 32px; }
  html body:has(.b2rail) .b2crumb span { display: inline; font-size: 13px; font-weight: 700; color: #6a8277; }
  html body:has(.b2rail) .b2crumb svg { display: block; width: 14px; height: 14px; fill: none; stroke: #6a8277; stroke-width: 2; }
  html body:has(.b2rail) .b2crumb b { font-size: 18px; }
  html body:has(.b2rail) :is(.dp-bar, .wd-bar) { left: 264px; bottom: 16px; }
}

/* Page heading as a banner */
html body.wv section:has(> .wv-title) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 20px 22px 22px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(16, 185, 129, 0.42), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(240, 194, 75, 0.1), transparent 60%),
    #0c1813;
}
html body.wv section:has(> .wv-title)::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  z-index: -1;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 16px, rgba(255, 255, 255, 0.06) 16px 17px);
}
html body.wv section:has(> .wv-title)::after {
  content: "B2";
  position: absolute;
  right: 16px;
  bottom: -26px;
  z-index: -1;
  font-family: "Unbounded", sans-serif;
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(240, 194, 75, 0.07);
}
html body.wv section:has(> .wv-title) .wv-title { font-size: clamp(26px, 7vw, 38px) !important; }
html body.wv .wv-eyebrow { font-size: 11px; }

/* Wallet: balance hero instead of a bank card */
html body.wv .wv-cardzone { perspective: none; padding-bottom: 0; }
html body.wv .wv-card {
  aspect-ratio: auto;
  min-height: 0;
  gap: 18px;
  grid-template-rows: auto auto auto;
  padding: 20px 22px;
  transform: none !important;
  background:
    repeating-radial-gradient(circle at 105% -10%, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 23px),
    radial-gradient(70% 90% at 100% 0%, rgba(240, 194, 75, 0.3), transparent 60%),
    linear-gradient(140deg, #22c58b 0%, #059669 42%, #053d2e 100%);
}
html body.wv .wv-card__chiprow, html body.wv .wv-card__shadow, html body.wv .wv-card__sheen { display: none; }
html body.wv .wv-card__amt { font-size: clamp(34px, 10vw, 48px); }
html body.wv .wv-card__foot { padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.25); }

/* Profile: violet member card, no passport strip */
html body.wv .pf-lic {
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    repeating-radial-gradient(circle at 105% -10%, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 23px),
    radial-gradient(70% 90% at 100% 0%, rgba(240, 194, 75, 0.28), transparent 60%),
    linear-gradient(140deg, #22c58b 0%, #059669 42%, #053d2e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 30px 60px -26px rgba(4, 120, 87, 0.75);
}
html body.wv .pf-lic::after, html body.wv .pf-lic__holo, html body.wv .pf-lic__mrz { display: none !important; }
html body.wv .pf-lic__title { color: #fff; }
html body.wv .pf-lic__fields dt { color: rgba(255, 255, 255, 0.65); }
html body.wv .pf-lic__ctry, html body.wv .pf-lic__edit { border-radius: 10px; border-color: rgba(255, 255, 255, 0.35); background: rgba(6, 13, 10, 0.35); color: #fff; }
html body.wv .pf-av__img { border-radius: 20px; }

/* Refer invite pass + VIP pass in club violet */
html body.wv .rf-pass__main,
html body.wv .vp-pass {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    repeating-radial-gradient(circle at 105% -10%, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 23px),
    radial-gradient(70% 90% at 100% 0%, rgba(240, 194, 75, 0.26), transparent 60%),
    linear-gradient(140deg, #22c58b 0%, #059669 42%, #053d2e 100%);
}
html body.wv .rf-pass__main .d3-logo__mark path:last-child,
html body.wv .vp-pass .d3-logo__mark path:last-child { fill: #fff; }
html body.wv .vp-pass { border-radius: 22px; }
html body.wv .vp-pass :is(small, p) { color: rgba(255, 255, 255, 0.75); }
html body.wv .vp-pass p b { color: #fff; }
html body.wv .rf-pass__main { border-radius: 22px 22px 0 0; }

/* Panels: dashboard headers */
html body.wv .wv-panel__head { padding-bottom: 14px; border-bottom: 1px dashed rgba(255, 255, 255, 0.09); }
html body.wv .wv-panel__head h2 { display: flex; align-items: center; gap: 10px; }
html body.wv .wv-panel__head h2::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--a); box-shadow: 0 0 10px rgba(240, 194, 75, 0.7); transform: rotate(45deg); }
html body.wv .wv-panel__head h2 span { margin-left: -4px; }
html body.wv .wv-main > section + section, html body.wv .wv-main > section + div, html body.wv .wv-main > div + a { margin-top: 18px; }

/* ================= Network ================= */
html body.wv .nw-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html body.wv .nw-stat { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); }
html body.wv .nw-stat small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
html body.wv .nw-stat b { display: block; margin-top: 6px; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
html body.wv .nw-stat--total { border: 0; background: var(--lime-grad); color: var(--ink); }
html body.wv .nw-stat--total small { color: rgba(6, 13, 10, 0.65); }
html body.wv .nw-levels { display: grid; gap: 14px; }
html body.wv .nw-level { position: relative; }
html body.wv .nw-chip { padding: 6px 10px; border: 1px solid var(--vline); border-radius: 10px; font-size: 11px; font-weight: 800; color: #a7f3d0; white-space: nowrap; }
html body.wv .nw-sub { margin-bottom: 12px !important; font-size: 13px; color: var(--mute); }
html body.wv .nw-list { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
html body.wv .nw-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card-2); }
html body.wv .nw-av { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--violet-grad); font-family: var(--display); font-size: 14px; font-weight: 800; color: #fff; }
html body.wv .nw-who { min-width: 0; }
html body.wv .nw-who b { display: block; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
html body.wv .nw-who small { font-size: 12px; font-weight: 700; color: var(--a); font-variant-numeric: tabular-nums; }
html body.wv .nw-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 10px; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 16px; font-size: 13px; color: var(--mute); text-align: center; }
html body.wv .nw-empty svg { width: 30px; height: 30px; color: #a7f3d0; }
html body.wv .nw-cta,
html body.wv .rs-btn--main,
html body.wv .tf-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--lime-grad);
  color: var(--ink);
  box-shadow: 0 18px 36px -20px rgba(240, 194, 75, 0.9);
  transition: transform 0.2s, filter 0.2s;
}
html body.wv .nw-cta:hover, html body.wv .rs-btn--main:hover, html body.wv .tf-go:hover { filter: brightness(1.05); transform: translateY(-2px); }
html body.wv .nw-cta b { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
html body.wv .nw-cta small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; opacity: 0.7; }
html body.wv .nw-cta svg, html body.wv .rs-btn svg, html body.wv .tf-go svg { flex: none; width: 20px; height: 20px; }
@media (min-width: 700px) {
  html body.wv .nw-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  html body.wv .nw-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}

/* ================= Send money ================= */
html body.wv .tf-main, html body.wv .rs-main { max-width: 560px; }
html body.wv .tf-bal { padding: 18px 20px; border-radius: 18px; background: var(--violet-grad); color: #fff; }
html body.wv .tf-bal small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
html body.wv .tf-bal b { display: block; margin-top: 4px; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
html body.wv .tf-form { display: grid; gap: 14px; margin-top: 18px; }
html body.wv .tf-field { display: grid; gap: 8px; }
html body.wv .tf-field > span:first-child { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
html body.wv .tf-box { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-2); transition: border-color 0.2s; }
html body.wv .tf-box:focus-within { border-color: var(--a); }
html body.wv .tf-box svg { flex: none; width: 18px; height: 18px; color: var(--mute); }
html body.wv .tf-box input { flex: 1; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; font: 700 16px "Manrope", sans-serif; color: #f5f2ec; }
html body.wv .tf-cur { font-family: var(--display); color: var(--a); }
html body.wv .tf-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
html body.wv .tf-chips button { padding: 11px 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 13px; font-weight: 800; }
html body.wv .tf-chips button:hover { border-color: var(--a); color: var(--a); }
html body.wv .tf-msg { padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; }
html body.wv .tf-msg.is-ok { background: rgba(46, 229, 157, 0.12); color: #2ee59d; }
html body.wv .tf-msg.is-bad { background: rgba(255, 107, 122, 0.12); color: #ff8a96; }
html body.wv .tf-go { width: 100%; font-family: var(--display); font-size: 16px; font-weight: 800; }
html body.wv .tf-go:disabled { opacity: 0.6; transform: none; }
html body.wv .tf-note { display: flex; gap: 10px; margin-top: 16px !important; font-size: 12px; line-height: 1.5; color: var(--mute); }
html body.wv .tf-note svg { flex: none; width: 16px; height: 16px; color: #a7f3d0; }

/* ================= Payment result ================= */
html body.wv .rs-main { display: grid; align-content: center; min-height: calc(100vh - 170px); }
html body.wv .rs-card {
  position: relative;
  overflow: hidden;
  padding: 34px 24px 26px;
  border: 1px solid var(--vline);
  border-radius: 24px;
  background:
    repeating-radial-gradient(circle at 50% -20%, transparent 0 26px, rgba(255, 255, 255, 0.04) 26px 27px),
    radial-gradient(80% 60% at 50% 0%, rgba(16, 185, 129, 0.35), transparent 70%),
    #0c1813;
  text-align: center;
}
html body.wv .rs-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; }
html body.wv .rs-ico svg { width: 40px; height: 40px; }
html body.wv .rs-card--ok .rs-ico { background: var(--lime-grad); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(240, 194, 75, 0.9); }
html body.wv .rs-card--bad .rs-ico { background: linear-gradient(160deg, #ff9aa5, #ff5b6e); color: #fff; box-shadow: 0 18px 40px -16px rgba(255, 91, 110, 0.9); }
html body.wv .rs-card .wv-eyebrow { justify-content: center; }
html body.wv .rs-card h1 { margin-top: 10px !important; font-size: clamp(26px, 7vw, 34px); line-height: 1.1; }
html body.wv .rs-desc { max-width: 380px; margin: 12px auto 0 !important; font-size: 14px; line-height: 1.6; color: var(--mute); }
html body.wv .rs-acts { display: grid; gap: 10px; margin-top: 24px; }
html body.wv .rs-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; font-weight: 800; }
html body.wv .rs-btn--main { justify-content: center; border: 0; font-family: var(--display); }
html body.wv .rs-card--bad .rs-btn--main { background: #f5f2ec; box-shadow: none; }

/* Profile photo inside header avatar */
html body.wv .wv-top__me { overflow: hidden; }
html body.wv .wv-top__me img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
