/* MAXW1N — new design (from Figma/React export) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@600;700;800&display=swap');

:root {
    --mw-bg: #070B14;
    --mw-s1: #0C1220;
    --mw-s2: #111C2E;
    --mw-s3: #162438;
    --mw-b: rgba(255,255,255,0.06);
    --mw-b-md: rgba(255,255,255,0.11);
    --mw-b-hi: rgba(255,255,255,0.18);
    --mw-blue: #3B82F6;
    --mw-blue-d: #2563EB;
    --mw-blue-li: rgba(59,130,246,0.13);
    --mw-gold: #F59E0B;
    --mw-gold-b: #FBBF24;
    --mw-gold-li: rgba(245,158,11,0.12);
    --mw-cyan: #06B6D4;
    --mw-cyan-li: rgba(6,182,212,0.11);
    --mw-green: #10B981;
    --mw-green-li: rgba(16,185,129,0.11);
    --mw-purp: #A855F7;
    --mw-red: #EF4444;
    --mw-red-li: rgba(239,68,68,0.11);
    --mw-rose: #F43F5E;
    --mw-w: #E2E8F0;
    --mw-silver: #7A90A8;
    --mw-muted: #3D5066;
    --mw-font: 'Inter', system-ui, sans-serif;
    --mw-mono: 'JetBrains Mono', monospace;
    --mw-sidebar: 220px;
    --mw-header: 62px;
    --mw-header-m: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--mw-bg); color: var(--mw-w); font-family: var(--mw-font); }
a { color: inherit; text-decoration: none; }
button { font-family: var(--mw-font); cursor: pointer; border: none; background: none; }
input { font-family: var(--mw-font); }
input::placeholder { color: var(--mw-muted); }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

@keyframes mw-ping { 0%,100%{opacity:1} 50%{opacity:0.25} }

.mw-app { min-height: 100vh; background: var(--mw-bg); }

/* Sidebar */
.mw-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: var(--mw-sidebar); z-index: 30;
    background: var(--mw-s1); border-right: 1px solid var(--mw-b);
    display: flex; flex-direction: column;
}
.mw-sidebar__logo { padding: 20px 18px 16px; border-bottom: 1px solid var(--mw-b); }
.mw-sidebar__brand { display: flex; align-items: center; gap: 10px; }
.mw-sidebar__icon {
    width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--mw-gold), #F97316);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 18px rgba(245,158,11,0.4); font-size: 16px;
}
.mw-sidebar__title { font-weight: 900; font-size: 18px; letter-spacing: -0.04em; }
.mw-sidebar__title span { color: var(--mw-gold); }
.mw-sidebar__nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.mw-nav-item {
    display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
    font-size: 13px; font-weight: 500; color: var(--mw-silver); transition: all 0.14s;
    border: 1px solid transparent; position: relative;
}
.mw-nav-item.is-active {
    background: var(--mw-blue-li); border-color: rgba(59,130,246,0.24); color: var(--mw-w); font-weight: 700;
}
.mw-nav-item.is-active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--mw-blue);
}
.mw-nav-item__badge {
    margin-left: auto; padding: 1px 6px; border-radius: 100px; font-size: 9px; font-weight: 800;
    color: var(--mw-red); background: var(--mw-red-li); border: 1px solid rgba(239,68,68,0.35);
}
.mw-sidebar__online {
    padding: 12px 10px 16px; border-top: 1px solid var(--mw-b);
}
.mw-online-box {
    padding: 11px 14px; border-radius: 11px; background: var(--mw-green-li);
    border: 1px solid rgba(16,185,129,0.22); display: flex; align-items: center; justify-content: space-between;
}
.mw-online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mw-green); animation: mw-ping 2s infinite; display: inline-block; }
.mw-online-box span { font-size: 11px; color: var(--mw-silver); }
.mw-online-box strong { font-family: var(--mw-mono); font-size: 14px; font-weight: 700; }

/* Header */
.mw-header {
    position: fixed; top: 0; left: var(--mw-sidebar); right: 0; height: var(--mw-header); z-index: 20;
    display: flex; align-items: center; padding: 0 28px; gap: 12px;
    background: rgba(7,11,20,0.94); backdrop-filter: blur(22px); border-bottom: 1px solid var(--mw-b);
}
.mw-header__search {
    display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 10px;
    background: var(--mw-s2); border: 1px solid var(--mw-b); flex: 1; max-width: 300px;
}
.mw-header__search input { flex: 1; background: transparent; border: none; outline: none; font-size: 13px; color: var(--mw-w); }
.mw-header__spacer { flex: 1; }
.mw-jackpot-pill {
    display: flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 10px;
    background: var(--mw-gold-li); border: 1px solid rgba(245,158,11,0.28);
}
.mw-jackpot-pill small { display: block; font-size: 9px; font-weight: 700; color: var(--mw-muted); letter-spacing: 0.07em; text-transform: uppercase; }
.mw-jackpot-pill strong { font-family: var(--mw-mono); font-size: 13px; font-weight: 800; color: var(--mw-gold); }
.mw-header__bell {
    width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--mw-s2); border: 1px solid var(--mw-b); position: relative;
}
.mw-header__bell-dot {
    position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%;
    background: var(--mw-gold); box-shadow: 0 0 6px rgba(245,158,11,0.8);
}

/* Mobile header */
.mw-header-m {
    position: fixed; top: 0; left: 0; right: 0; height: var(--mw-header-m); z-index: 20;
    display: none; align-items: center; padding: 0 16px; gap: 10px;
    background: rgba(7,11,20,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--mw-b);
}
.mw-header-m__balance {
    padding: 6px 12px; border-radius: 9px; background: var(--mw-s2); border: 1px solid var(--mw-b);
    font-family: var(--mw-mono); font-size: 13px; font-weight: 700;
}

/* Buttons */
.mw-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 22px; border-radius: 10px; font-size: 13px; font-weight: 700;
    transition: all 0.16s ease; letter-spacing: 0.01em; white-space: nowrap;
}
.mw-btn--sm { padding: 7px 16px; font-size: 12px; }
.mw-btn--lg { padding: 13px 28px; font-size: 15px; }
.mw-btn--full { width: 100%; }
.mw-btn--gold { background: var(--mw-gold); color: #000; box-shadow: 0 0 18px rgba(245,158,11,0.28); }
.mw-btn--gold:hover { background: var(--mw-gold-b); box-shadow: 0 0 32px rgba(245,158,11,0.55); transform: translateY(-1px); }
.mw-btn--blue { background: var(--mw-blue); color: #fff; box-shadow: 0 0 14px rgba(59,130,246,0.22); }
.mw-btn--ghost { background: transparent; color: var(--mw-w); border: 1px solid var(--mw-b-md); }
.mw-btn--ghost:hover { border-color: var(--mw-b-hi); }
.mw-btn--dark { background: var(--mw-s2); color: var(--mw-silver); border: 1px solid var(--mw-b); }

/* Main */
.mw-main-wrap { margin-left: var(--mw-sidebar); }
.mw-main { padding-top: var(--mw-header); }
.mw-content { padding: 32px 36px; max-width: 1180px; margin: 0 auto; }

/* Mobile nav */
.mw-mobile-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
    height: 62px; background: var(--mw-s1); border-top: 1px solid var(--mw-b);
    padding-bottom: env(safe-area-inset-bottom);
}
.mw-mobile-nav a,
.mw-mobile-nav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; color: var(--mw-muted); font-size: 10px; font-weight: 500; position: relative;
}
.mw-mobile-nav button.is-active { color: var(--mw-blue); font-weight: 700; }
.mw-mobile-nav button.is-active::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 24px; height: 2px; border-radius: 0 0 3px 3px; background: var(--mw-blue);
}

/* Live pill */
.mw-live-pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 100px;
    background: var(--mw-red-li); border: 1px solid rgba(239,68,68,0.35);
    font-size: 10px; font-weight: 800; color: var(--mw-red); letter-spacing: 0.07em;
}
.mw-live-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--mw-red); animation: mw-ping 1.4s infinite; display: inline-block; }

/* Section */
.mw-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.mw-section-head h2 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.mw-section-head p { margin: 4px 0 0; font-size: 11px; color: var(--mw-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.mw-section-link { font-size: 12px; font-weight: 700; color: var(--mw-blue); display: inline-flex; align-items: center; gap: 4px; }
.mw-page-title { margin: 0 0 5px; font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.mw-page-sub { margin: 0 0 28px; font-size: 12px; color: var(--mw-muted); }

/* Grids */
.mw-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mw-live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Game card */
.mw-game-card {
    display: block; color: inherit; text-decoration: none;
    border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--mw-s2);
    border: 1px solid var(--mw-b); transition: all 0.2s ease;
}
.mw-live-card { display: block; color: inherit; text-decoration: none; }
.mw-game-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.55); }
.mw-game-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.mw-game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.mw-game-card:hover .mw-game-card__media img { transform: scale(1.07); }
.mw-game-card__grad { position: absolute; inset: 0; pointer-events: none; }
.mw-game-card__badge-hot {
    position: absolute; top: 9px; left: 9px; padding: 3px 9px; border-radius: 100px;
    font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(90deg,#EF4444,#F97316);
}
.mw-game-card__badge-jp {
    position: absolute; top: 9px; right: 9px; padding: 3px 9px; border-radius: 100px;
    font-size: 10px; font-weight: 800; color: #000; background: linear-gradient(90deg,var(--mw-gold),var(--mw-gold-b));
}
.mw-game-card__play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.18s;
}
.mw-game-card:hover .mw-game-card__play { opacity: 1; }
.mw-game-card__body { padding: 11px 13px 13px; }
.mw-game-card__name { font-weight: 700; font-size: 13px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-game-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--mw-muted); }
.mw-game-card__rtp { font-family: var(--mw-mono); font-size: 11px; color: var(--mw-green); font-weight: 600; margin-top: 3px; }

/* Live card — same structure, cyan accent */
.mw-live-card { border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--mw-s2); border: 1px solid var(--mw-b); border-top: 3px solid var(--mw-cyan); transition: all 0.2s; }
.mw-live-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); border-color: rgba(6,182,212,0.27); }
.mw-live-card .mw-game-card__play { opacity: 0; }
.mw-live-card:hover .mw-game-card__play { opacity: 1; }

/* Game player */
.mw-game-player__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.mw-game-player__title { margin: 0; font-size: 18px; font-weight: 800; flex: 1; }
.mw-game-player__balance { font-family: var(--mw-mono); font-size: 14px; font-weight: 700; color: var(--mw-gold); }
.mw-game-player__frame { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--mw-b); }
.mw-game-player__frame iframe { width: 100%; height: 100%; border: 0; }
.mw-game-player__controls { margin-top: 12px; }
.mw-game-player__error { padding: 48px 24px; text-align: center; background: var(--mw-s2); border-radius: 16px; border: 1px solid var(--mw-b); }

/* Wallet deposit */
.mw-wallet-crypto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-bottom: 16px; }
.mw-wallet-crypto-btn { padding: 12px; border-radius: 12px; background: var(--mw-s1); border: 1px solid var(--mw-b); text-align: center; cursor: pointer; }
.mw-wallet-crypto-btn.is-active { border-color: var(--mw-blue); background: var(--mw-blue-li); }
.mw-wallet-invoice { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--mw-s1); border: 1px solid var(--mw-b); font-size: 12px; }
.mw-wallet-invoice code { word-break: break-all; font-family: var(--mw-mono); font-size: 11px; }

/* Hero */
.mw-hero {
    position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 48px;
    background: linear-gradient(135deg,#060D1E 0%,#0A1535 35%,#0D0B28 65%,#060D1E 100%);
    border: 1px solid rgba(59,130,246,0.18);
}
.mw-hero__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; align-items: center; }
.mw-hero__copy { padding: 52px 48px; }
.mw-hero__kicker {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; padding: 6px 14px; border-radius: 100px;
    background: linear-gradient(90deg,rgba(245,158,11,0.16),rgba(249,115,22,0.08));
    border: 1px solid rgba(245,158,11,0.32); font-size: 11px; font-weight: 800; color: var(--mw-gold);
    letter-spacing: 0.08em; text-transform: uppercase;
}
.mw-hero h1 { margin: 0 0 6px; font-size: clamp(2.4rem,4vw,3.8rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; }
.mw-hero h1 .gold { background: linear-gradient(90deg,#F59E0B,#FBBF24,#F97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mw-hero h1 .sub { font-size: 58%; font-weight: 800; color: var(--mw-silver); -webkit-text-fill-color: var(--mw-silver); }
.mw-hero__text { font-size: 14px; color: var(--mw-silver); line-height: 1.75; margin: 22px 0 32px; max-width: 340px; }
.mw-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.mw-hero__stats { display: flex; gap: 0; flex-wrap: wrap; }
.mw-hero__stat { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--mw-b); }
.mw-hero__stat:last-child { border-right: none; }
.mw-hero__stat strong { display: block; font-family: var(--mw-mono); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.mw-hero__stat span { font-size: 10px; color: var(--mw-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; display: block; }
.mw-hero__visual { position: relative; padding: 32px 32px 32px 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 400px; }
.mw-hero__tile { border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 10px 36px rgba(0,0,0,0.55); }
.mw-hero__tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65); }
.mw-hero__tile-info { position: absolute; bottom: 8px; left: 10px; right: 10px; }
.mw-hero__jackpot-float {
    position: absolute; bottom: 24px; right: 16px; z-index: 10; min-width: 200px; padding: 16px 20px;
    border-radius: 16px; background: rgba(8,12,22,0.96); border: 1px solid rgba(245,158,11,0.4);
    backdrop-filter: blur(20px); box-shadow: 0 0 40px rgba(245,158,11,0.18);
}
.mw-hero__trust { border-top: 1px solid var(--mw-b); padding: 14px 48px; display: flex; gap: 32px; flex-wrap: wrap; }
.mw-hero__trust span { font-size: 12px; color: var(--mw-silver); }

/* Dual banner */
.mw-dual-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 48px; }
.mw-banner {
    border-radius: 18px; padding: 32px; position: relative; overflow: hidden;
}
.mw-banner--gold { background: linear-gradient(135deg,#120A00,#1C1200,#111C2E); border: 1px solid rgba(245,158,11,0.28); }
.mw-banner--purp { background: linear-gradient(135deg,#0C0820,#130D2C,#111C2E); border: 1px solid rgba(168,85,247,0.25); }
.mw-banner__label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.mw-banner__amount { font-family: var(--mw-mono); font-weight: 900; font-size: 28px; letter-spacing: -0.03em; margin-bottom: 8px; }
.mw-banner p { font-size: 13px; color: var(--mw-silver); line-height: 1.6; margin: 0 0 20px; }

/* Chips */
.mw-chips { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px; }
.mw-chip {
    flex-shrink: 0; padding: 8px 16px; border-radius: 9px; font-size: 12px; font-weight: 700;
    background: var(--mw-s2); color: var(--mw-silver); border: 1px solid var(--mw-b); white-space: nowrap;
}
.mw-chip.is-active { background: var(--mw-gold); color: #000; border-color: rgba(245,158,11,0.53); box-shadow: 0 0 16px rgba(245,158,11,0.3); }
.mw-chip--blue.is-active { background: var(--mw-blue-li); color: var(--mw-blue); border-color: rgba(59,130,246,0.4); box-shadow: none; }
.mw-chip--cyan.is-active { background: var(--mw-cyan); color: #000; border-color: rgba(6,182,212,0.53); box-shadow: 0 0 14px rgba(6,182,212,0.35); }

.mw-search-bar {
    display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 10px;
    background: var(--mw-s2); border: 1px solid var(--mw-b-md); flex: 1; min-width: 160px; margin-bottom: 18px;
}
.mw-search-bar input { flex: 1; background: transparent; border: none; outline: none; font-size: 13px; color: var(--mw-w); }

/* Modal */
.mw-modal-overlay {
    position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(14px); padding: 16px;
}
.mw-modal-overlay.is-open { display: flex; }
.mw-modal {
    width: 100%; max-width: 440px; border-radius: 20px; background: var(--mw-s2);
    border: 1px solid var(--mw-b-md); padding: 32px; position: relative;
}
.mw-modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px; background: var(--mw-s1); color: var(--mw-silver); }
.mw-field { margin-bottom: 14px; }
.mw-field label { display: block; font-size: 12px; font-weight: 600; color: var(--mw-silver); margin-bottom: 6px; }
.mw-field input {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
    background: var(--mw-s1); border: 1px solid var(--mw-b); color: var(--mw-w); font-size: 14px; outline: none;
}
.mw-field input:focus { border-color: rgba(59,130,246,0.5); }

/* Responsive */
@media (max-width: 1024px) {
    .mw-game-grid { grid-template-columns: repeat(3, 1fr); }
    .mw-vip-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .mw-stat-strip { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .mw-sidebar { display: none; }
    .mw-header { display: none; }
    .mw-header-m { display: flex; }
    .mw-mobile-nav { display: flex; }
    .mw-main-wrap { margin-left: 0; }
    .mw-main { padding-top: var(--mw-header-m); }
    .mw-content { padding: 16px 16px 80px; }
    .mw-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mw-live-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mw-hero__grid { grid-template-columns: 1fr; }
    .mw-hero__visual { display: none; }
    .mw-hero__copy { padding: 28px 22px; }
    .mw-dual-banner { grid-template-columns: 1fr; }
    .mw-hero__trust { padding: 14px 22px; }
    .mw-tour-grid { grid-template-columns: 1fr !important; }
    .mw-vip-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .mw-balance-row { grid-template-columns: 1fr !important; }
    .mw-wallet-main { grid-template-columns: 1fr !important; }
    .mw-promo-card { grid-template-columns: 1fr !important; }
}

/* Wallet */
.mw-balance-card {
    border-radius: 20px; padding: 22px; position: relative; overflow: hidden;
}
.mw-balance-card--blue {
    background: linear-gradient(135deg,#0D1F52,#1A2E6E,#0A1540);
    border: 1px solid rgba(59,130,246,0.30);
    box-shadow: 0 0 36px rgba(59,130,246,0.14);
}
.mw-balance-card--gold {
    background: linear-gradient(135deg,#2A1A04,#3D2608,#1A0F00);
    border: 1px solid rgba(245,158,11,0.34);
}
.mw-balance-card--green {
    background: linear-gradient(135deg,#061A12,#0A2A1A,#040F0A);
    border: 1px solid rgba(16,185,129,0.30);
}
.mw-balance-card__label { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.mw-balance-card__amount { font-family: var(--mw-mono); font-weight: 900; font-size: 30px; letter-spacing: -0.025em; margin-bottom: 4px; }
.mw-balance-card__hint { font-size: 10px; color: rgba(255,255,255,0.38); }

.mw-wallet-tabs { display: flex; border-bottom: 1px solid var(--mw-b); }
.mw-wallet-tabs button {
    flex: 1; padding: 16px; font-size: 13px; font-weight: 700; color: var(--mw-muted);
    border-bottom: 2px solid transparent;
}
.mw-wallet-tabs button.is-active { color: var(--mw-w); border-bottom-color: var(--mw-green); }

.mw-pay-methods { display: flex; flex-direction: column; gap: 8px; }
.mw-pay-method {
    display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: 12px; background: var(--mw-s1); border: 1px solid var(--mw-b); text-align: left;
}
.mw-pay-method.is-active { border-color: rgba(59,130,246,0.45); background: var(--mw-blue-li); }
.mw-pay-method strong { display: block; font-size: 13px; }
.mw-pay-method small { display: block; font-size: 11px; color: var(--mw-muted); }
.mw-pay-method em { font-size: 10px; color: var(--mw-muted); font-style: normal; }
.mw-pay-method__icon { font-size: 22px; text-align: center; }

/* Auth modals */
.mw-modal--auth { max-width: 440px; }
.mw-modal--wide { max-width: 520px; }
.mw-auth-title { margin: 0 0 6px; font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.mw-auth-sub { margin: 0 0 20px; font-size: 13px; color: var(--mw-muted); line-height: 1.5; }
.mw-auth-context { margin: -12px 0 16px; padding: 10px 12px; border-radius: 10px; background: var(--mw-blue-li); border: 1px solid rgba(59,130,246,0.25); font-size: 12px; color: var(--mw-silver); }
.mw-auth-alert { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.mw-auth-alert.is-error { background: var(--mw-red-li); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; }
.mw-auth-alert.is-success { background: var(--mw-green-li); border: 1px solid rgba(16,185,129,0.35); color: #6ee7b7; }
.mw-auth-switch { margin: 16px 0 0; font-size: 12px; color: var(--mw-muted); text-align: center; }
.mw-auth-link { background: none; border: none; color: var(--mw-blue); font-size: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.mw-auth-link:hover { text-decoration: underline; }
.mw-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 12px; }
.mw-auth-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--mw-silver); font-size: 12px; }
.mw-auth-check--block { display: flex; margin-bottom: 16px; line-height: 1.5; }
.mw-auth-check input { accent-color: var(--mw-gold); }
.mw-auth-check a { color: var(--mw-blue); }
.mw-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mw-password-wrap { position: relative; }
.mw-password-wrap input { padding-right: 42px; }
.mw-password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 6px; color: var(--mw-muted); font-size: 14px; }
.mw-select { width: 100%; height: 46px; padding: 0 12px; border-radius: 10px; background: var(--mw-s1); border: 1px solid var(--mw-b); color: var(--mw-w); font-size: 14px; outline: none; }
.mw-recaptcha { min-height: 78px; }
@media (max-width: 540px) {
    .mw-auth-grid { grid-template-columns: 1fr; }
    .mw-modal--wide { max-width: 100%; }
}
