.vw-root {
  --vw-bg: #0d1222;
  --vw-card: rgba(30, 37, 58, 0.82);
  --vw-line: rgba(255, 255, 255, 0.08);
  --vw-text: #f3f5fa;
  --vw-mute: #8d96ad;
  --vw-gold: #eccea7;
  --vw-ok: #2fd27b;
  --vw-bad: #ff5d6c;
  --vw-wait: #f5b94a;
  position: relative;
  min-height: 100vh;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 12px 40px;
  box-sizing: border-box;
  background: radial-gradient(120% 60% at 50% 0%, #1b2440 0%, var(--vw-bg) 60%);
  color: var(--vw-text);
  font-family: SF_Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
.vw-root *, .vw-root *::before, .vw-root *::after { box-sizing: border-box; }
:where(.vw-root) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; }
:where(.vw-root) input { font: inherit; color: inherit; }

.vw-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px; height: 50px; margin: 0 -12px 10px; padding: 0 12px;
  background: rgba(13, 18, 34, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--vw-line);
}
.vw-head h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 700; }
.vw-back { width: 32px; height: 32px; border-radius: 10px; background: var(--vw-card); position: relative; }
.vw-back::before {
  content: ""; position: absolute; left: 13px; top: 11px; width: 9px; height: 9px;
  border-left: 2px solid var(--vw-text); border-bottom: 2px solid var(--vw-text); transform: rotate(45deg);
}
.vw-link { color: var(--vw-gold); font-weight: 600; }

.vw-balance {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; margin-bottom: 10px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 206, 167, 0.18), rgba(71, 215, 255, 0.08)); border: 1px solid rgba(236, 206, 167, 0.25);
}
.vw-balance span { color: var(--vw-mute); font-size: 12px; }
.vw-balance b { font-size: 26px; font-weight: 800; color: var(--vw-gold); }

.vw-card { padding: 14px; margin-bottom: 10px; border-radius: 14px; background: var(--vw-card); border: 1px solid var(--vw-line); }
.vw-label { margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.vw-hint { margin-top: 8px; color: var(--vw-mute); font-size: 11px; }

.vw-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.vw-chip { height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--vw-line); font-weight: 600; }
.vw-chip.on { color: #1b1f2c; background: linear-gradient(180deg, #f6dfbf, #d9b27f); border-color: transparent; }

.vw-input {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--vw-line);
}
.vw-input:focus-within { border-color: rgba(236, 206, 167, 0.6); }
.vw-input i { font-style: normal; color: var(--vw-gold); font-weight: 700; }
.vw-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; }
.vw-input input::placeholder { color: #5d6680; }
.vw-field { margin-bottom: 10px; }
.vw-field > span { display: block; margin-bottom: 6px; color: var(--vw-mute); font-size: 12px; }

.vw-method {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-top: 8px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--vw-line); text-align: left;
}
.vw-method.on { border-color: rgba(236, 206, 167, 0.7); background: rgba(236, 206, 167, 0.08); }
.vw-mic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #47d7ff, #5b6bff); position: relative; }
.vw-mic::after { content: "UPI"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
.vw-mic.t1::after, .vw-mic.t6::after { content: "BANK"; font-size: 8px; }
.vw-mic.t1, .vw-mic.t6 { background: linear-gradient(135deg, #f6dfbf, #b98a4d); }
.vw-mtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vw-mtxt small { color: var(--vw-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-method > i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #5d6680; }
.vw-method.on > i { border: 5px solid var(--vw-gold); }

.vw-btn {
  display: block; width: 100%; height: 48px; margin: 6px 0 10px; border-radius: 14px;
  background: linear-gradient(180deg, #f6dfbf, #d9b27f); color: #1b1f2c !important; font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 16px rgba(236, 206, 167, 0.25);
}
.vw-btn:disabled { opacity: 0.5; }
.vw-btn.ghost { background: transparent; color: var(--vw-gold) !important; border: 1px solid rgba(236, 206, 167, 0.4); box-shadow: none; }

.vw-pay-amt { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--vw-line); }
.vw-pay-amt span { color: var(--vw-mute); }
.vw-pay-amt b { flex: 1; font-size: 22px; color: var(--vw-gold); }
.vw-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 12px; }
.vw-qr img { width: 200px; height: 200px; object-fit: contain; padding: 8px; border-radius: 12px; background: #fff; }
.vw-qr small { color: var(--vw-mute); }
.vw-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--vw-line); }
.vw-row span { width: 92px; flex: none; color: var(--vw-mute); }
.vw-row b { flex: 1; min-width: 0; word-break: break-all; }
.vw-copy { flex: none; height: 26px; padding: 0 10px; border-radius: 8px; background: rgba(236, 206, 167, 0.14); color: var(--vw-gold); font-size: 12px; font-weight: 700; }
.vw-upload { display: block; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.2); color: var(--vw-mute); text-align: center; cursor: pointer; }
.vw-upload input { display: none; }

.vw-bank { display: flex; align-items: center; gap: 10px; }
.vw-bank > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.vw-bank small { color: var(--vw-mute); }

.vw-seg { display: flex; gap: 4px; padding: 4px; margin-bottom: 10px; background: var(--vw-card); border: 1px solid var(--vw-line); border-radius: 12px; }
.vw-seg button { flex: 1; height: 34px; border-radius: 9px; font-weight: 600; color: var(--vw-mute); }
.vw-seg button.on { color: #1b1f2c; background: linear-gradient(180deg, #f6dfbf, #d9b27f); }
.vw-rec { padding: 12px; margin-bottom: 8px; border-radius: 12px; background: var(--vw-card); border: 1px solid var(--vw-line); }
.vw-rec-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 15px; }
.vw-rec-top em { font-style: normal; font-size: 11px; color: var(--vw-ok); }
.vw-rec-sub { display: flex; justify-content: space-between; color: var(--vw-mute); font-size: 11px; }
.vw-rec-note { margin-top: 6px; color: var(--vw-bad); font-size: 12px; }
.vw-rec .vw-link { margin-top: 8px; font-size: 12px; }
.vw-pill { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.vw-pill.ok { color: var(--vw-ok); background: rgba(47, 210, 123, 0.12); }
.vw-pill.bad { color: var(--vw-bad); background: rgba(255, 93, 108, 0.12); }
.vw-pill.wait { color: var(--vw-wait); background: rgba(245, 185, 74, 0.12); }

.vw-done { text-align: center; padding: 24px 16px; }
.vw-done h3 { margin: 12px 0 6px; font-size: 18px; }
.vw-done p { margin: 0 0 16px; color: var(--vw-mute); }
.vw-done-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: rgba(47, 210, 123, 0.15); position: relative; }
.vw-done-ic::after { content: ""; position: absolute; left: 20px; top: 14px; width: 12px; height: 22px; border-right: 3px solid var(--vw-ok); border-bottom: 3px solid var(--vw-ok); transform: rotate(45deg); }

.vw-tips { margin: 6px 2px 0; color: var(--vw-mute); font-size: 12px; }
.vw-tips b { display: block; margin-bottom: 6px; color: var(--vw-text); }
.vw-tips p { margin: 0 0 4px; }
.vw-empty, .vw-loading { padding: 40px 12px; text-align: center; color: var(--vw-mute); }
.vw-empty.sm { padding: 8px 0; text-align: left; }

.vw-mic.gift { background: linear-gradient(135deg, #ffd27a, #ff7a59); }
.vw-mic.gift::after { content: "%"; font-size: 16px; }
.vw-mic.none { background: rgba(255, 255, 255, 0.08); }
.vw-mic.none::after { content: "—"; font-size: 14px; color: var(--vw-mute); }
.vw-bonus-row b { color: var(--vw-ok); word-break: normal; }
.vw-promo-img { display: block; width: 100%; margin-bottom: 10px; border-radius: 14px; }
.vw-promo-offer b { display: block; font-size: 16px; color: var(--vw-gold); line-height: 1.35; }
.vw-promo-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vw-promo-facts span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--vw-mute); font-size: 11px; }
.vw-promo-facts em { font-style: normal; color: var(--vw-text); font-weight: 600; }
.vw-promo-text p { margin: 0 0 6px; color: #cfd5e4; font-size: 13px; line-height: 1.5; }
.vw-promo-text p:last-child { margin-bottom: 0; }

.vw-wheel-banner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 200px; text-align: center;
}
.vw-wheel-banner b {
  font-size: 22px; font-weight: 800; letter-spacing: 1px; color: #fff3c4;
  text-shadow: 0 2px 0 #b8741a, 0 0 12px rgba(255, 196, 64, 0.55);
}
.vw-wheel-banner span { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: #fff; }

.vw-no-otp .login-content .inputBox:has(.register-code-input) { display: none !important; }

.vw-toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 99999; max-width: 86vw; padding: 10px 16px; border-radius: 12px;
  background: rgba(20, 24, 38, 0.96); color: #fff; font-size: 13px; text-align: center;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.vw-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Admin announcements keep their line breaks. */
.p-popup-box .details-content { white-space: pre-line; max-height: 50vh; overflow-y: auto; }
.issues-item .item-content .content { white-space: pre-line; }

/* The download popup's demo videos and 'Open APP' deep link belong to the original app. */
.android_content .ds, .ios .ds, .android_content .btn2 { display: none !important; }

/* User Agreement set from admin: section headings and paragraph spacing. */
.agreement-content h3 { font-weight: 700 !important; margin: 14px 0 6px !important; }
.agreement-content p { margin: 0 0 8px !important; }
