/* =========================================================
   ZX THEME — navy + yellow redesign (inspired by zxearn.com)
   Loaded after style.css, so rules here win.
   ========================================================= */
:root {
    --zx-navy-950: #071425;
    --zx-navy-900: #081e2e;
    --zx-navy-850: #081e2e;
    --zx-navy-800: #0a2539;
    --zx-navy-700: #14324f;
    --zx-navy-600: #0a263b;
    --zx-navy-500: #24476e;
    --zx-yellow: #ffc928;
    --zx-yellow-600: #f5b800;
    --zx-yellow-glow: 0 8px 28px rgba(255, 201, 40, 0.28);
    --zx-text: #ffffff;
    --zx-muted: #8fa3bf;
    --zx-green: #22c55e;
    --zx-radius: 14px;
    --zx-radius-lg: 20px;
    --header-height: 72px;
    --sidebar-width: 0px;
}

html { scroll-behavior: smooth; }

html, body { background-color: #081e2e; }
body {
    background: #081e2e;
    color: var(--zx-text);
    font-family: 'Rubik', system-ui, sans-serif;
}

* { font-family: 'Rubik', system-ui, sans-serif; }
.fas, .far, .fab, .fa, .fa-solid, .fa-brands, .fa-regular { font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; }

h1, h2, h3, h4 { letter-spacing: -0.01em; }

::selection { background: var(--zx-yellow); color: var(--zx-navy-900); }
::-webkit-scrollbar-thumb { background: var(--zx-navy-500); }

.zx-yellow { color: var(--zx-yellow); }
.zx-muted { color: var(--zx-muted); }
.zx-center { display: flex; justify-content: center; margin-top: 28px; }
.zx-center-text { text-align: center; }

/* ---------- Layout: top menu instead of side menu ---------- */
@media (min-width: 993px) {
    .app-container > .sidebar { display: none !important; }
    .main-content { margin-left: 0 !important; width: 100% !important; }
}
.main-content { min-height: 100vh; }

.dashboard-view {
    max-width: 1320px;
    padding: 24px 28px 0;
}
.container-fluid { max-width: 1320px; margin: 0 auto; width: 100%; padding: 28px !important; }

/* ---------- Buttons ---------- */
.zx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
    line-height: 1.1;
}
.zx-btn:active { transform: scale(.97); }
.zx-btn-yellow { background: var(--zx-yellow); color: var(--zx-navy-900); box-shadow: var(--zx-yellow-glow); }
.zx-btn-yellow:hover { background: #ffd451; transform: translateY(-1px); }
.zx-btn-outline { background: transparent; color: var(--zx-text); border-color: var(--zx-yellow); }
.zx-btn-outline:hover { background: rgba(255, 201, 40, .1); }
.zx-btn-white { background: #fff; color: #111827; }
.zx-btn-white:hover { background: #f3f4f6; }
.zx-btn-block { width: 100%; padding: 14px 22px; font-size: 16px; }
.zx-btn-caps { text-transform: uppercase; font-size: 14px; letter-spacing: .02em; font-weight: 800; }

.btn { border-radius: 10px; font-weight: 700; }
.btn-primary, button.btn-primary, a.btn-primary {
    background: var(--zx-yellow) !important;
    color: var(--zx-navy-900) !important;
    box-shadow: var(--zx-yellow-glow);
    border: none;
}
.btn-primary:hover { background: #ffd451 !important; }

/* ---------- Header ---------- */
.top-header.zx-header {
    height: var(--header-height);
    background: rgba(8, 30, 46, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 18px 18px;
    padding: 0 32px 0 52px;
    gap: 16px;
}
.zx-header-left { display: flex; align-items: center; gap: 26px; min-width: 0; }
.zx-brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.zx-brand-img { height: 46px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.zx-brand-text { font-size: 28px; font-weight: 900; color: var(--zx-yellow); font-style: italic; letter-spacing: -.02em; }

/* Nav tabs, ZXEarn style: plain icon + word, no box, no underline bar.
   Active = gold icon + white bold word, inactive = muted grey. */
.zx-nav { display: flex; align-items: center; gap: 4px; }
.zx-nav-link {
    display: inline-flex; align-items: center; gap: 9px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    color: #8c99ad;
    font-weight: 700; font-size: 16px; line-height: 1;
    letter-spacing: .01em;
    text-decoration: none;
    position: relative;
    border: 1px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}
.zx-nav-link i { font-size: 19px; width: 21px; text-align: center; }
.zx-nav-svg { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.zx-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .06);
}
.zx-nav-link:active { transform: scale(.97); }
.zx-nav-link.active {
    color: #fff; font-weight: 800;
    background: rgba(255, 201, 40, .10);
    border-color: rgba(255, 201, 40, .28);
}
.zx-nav-link.active i, .zx-nav-link.active .zx-nav-svg { color: var(--zx-yellow); }

.top-header .user-controls { gap: 12px; }
.zx-balance {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--zx-navy-800);
    border: 1px solid var(--zx-navy-600);
    color: #fff; text-decoration: none; font-weight: 700;
}
.zx-balance-icon { font-size: 16px; }
.zx-balance-name { color: var(--zx-muted); font-size: 12px; font-weight: 600; }
.zx-icon-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--zx-navy-800) !important;
    border: 1px solid var(--zx-navy-600) !important;
    color: var(--zx-muted) !important;
    font-size: 17px !important;
    cursor: pointer;
    padding: 0 !important;
    transition: color .2s, border-color .2s;
    position: relative;
}
.zx-icon-btn:hover { color: var(--zx-yellow) !important; border-color: rgba(255, 201, 40, .5) !important; }
.notification-bell { margin-right: 0; }
.notif-badge { background: var(--zx-yellow); color: var(--zx-navy-900); top: -4px; right: -4px; }
.zx-avatar-link { position: relative; display: inline-flex; text-decoration: none; }
.zx-avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--zx-yellow); display: block; }
.top-header .user-controls a img.zx-avatar { width: 42px; height: 42px; border-radius: 50%; }
.zx-avatar-lvl {
    position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
    background: var(--zx-navy-900); color: var(--zx-yellow);
    border: 1px solid var(--zx-yellow);
    font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 6px; white-space: nowrap;
}
.notification-dropdown { background: var(--zx-navy-850); border-color: var(--zx-navy-600); top: calc(100% + 10px); }
.chat-sidebar { top: var(--header-height); height: calc(100vh - var(--header-height)); background: var(--zx-navy-850); }

.mobile-menu-btn { color: #fff; }

@media (max-width: 1180px) {
    .zx-nav-link span { display: none; }
    .zx-nav-link { padding: 0 12px; height: 40px; }
    .zx-nav-link i { font-size: 19px; }
    .zx-header-left { gap: 16px; }
}
@media (max-width: 992px) {
    .zx-nav { display: none; }
    .top-header.zx-header { padding: 0 14px; border-radius: 0 0 14px 14px; }
    .zx-header-left { gap: 10px; }
    .zx-brand-img { height: 36px; max-width: 130px; }
    .zx-balance-name, .zx-cashout-btn span { display: none; }
    .zx-cashout-btn { padding: 11px 13px; }
    .chat-toggle-btn { display: none !important; }
    .dashboard-view { padding: 18px 14px 0; }
    .container-fluid { padding: 18px 14px !important; }
}
@media (max-width: 480px) {
    .zx-brand-img { height: 30px; max-width: 100px; }
    .zx-btn { padding: 10px 14px; font-size: 14px; }
    .top-header .user-controls { gap: 8px; }
    .zx-balance { padding: 8px 10px; }
    .zx-cashout-btn { display: none; }
}

/* ---------- Mobile drawer (old sidebar) ---------- */
.sidebar { background: var(--zx-navy-850); border-right: 1px solid var(--zx-navy-600); }
.nav-link { border-radius: 10px; color: var(--zx-muted); }
.nav-link:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.nav-link.active { background: rgba(255, 201, 40, .1) !important; color: var(--zx-yellow) !important; }
.nav-link.active i { color: var(--zx-yellow) !important; }
.nav-label { color: #5f7899; }
.sidebar-profile-box { background: var(--zx-navy-800); border-color: var(--zx-navy-600); }

/* ---------- Live ticker ---------- */
.ticker-wrap {
    background: transparent !important;
    border: none !important;
    margin: 4px 0 26px;
    padding: 0 !important;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-item {
    background: var(--zx-navy-800) !important;
    border: 1px solid var(--zx-navy-600) !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    gap: 10px !important;
    min-width: 0;
    align-items: center;
}
.ticker-avatar { width: 32px !important; height: 32px !important; border-radius: 50% !important; border: none !important; }
.ticker-user { color: #fff !important; font-weight: 700 !important; font-size: 13px !important; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-action { color: var(--zx-muted) !important; font-size: 11px !important; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block !important; }
.ticker-value { font-weight: 800; font-size: 14px; color: var(--zx-yellow); white-space: nowrap; margin-left: 4px; }
.ticker-value i { font-size: 12px; }
.ticker-withdraw { color: var(--zx-green) !important; }

/* ---------- Section titles ---------- */
.section-title { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.zx-title-icon { color: var(--zx-yellow); font-size: 22px; }
.zx-dash-section { margin-top: 36px; }

/* ---------- Featured offers ---------- */
.featured-section .horizontal-scroll-view { gap: 14px; }
.featured-offer-card {
    background: var(--zx-navy-800) !important;
    border: 1px solid var(--zx-navy-600) !important;
    border-radius: 14px !important;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.featured-offer-card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 40, .55) !important; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.featured-offer-name { color: #fff !important; font-weight: 700 !important; }
.featured-offer-points {
    background: rgba(255, 201, 40, .12) !important;
    border: 1px solid rgba(255, 201, 40, .35) !important;
    color: var(--zx-yellow) !important;
    border-radius: 999px !important;
}
.featured-offer-points i { color: var(--zx-yellow) !important; }
.os-badge, .country-badge { background: rgba(10, 26, 46, .7) !important; color: #fff !important; border-radius: 999px !important; }

/* ---------- Offerwall cards (grid like zxearn) ---------- */
.zx-wall-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px !important;
    overflow: visible !important;
    padding: 4px 0 8px !important;
    scroll-snap-type: none !important;
}
.zx-wall-grid .partner-card, .partner-card {
    width: 100% !important;
    height: 168px !important;
    border-radius: 16px !important;
    padding: 14px !important;
    background:
        linear-gradient(180deg, rgba(15, 42, 68, .0) 0%, rgba(10, 26, 46, .85) 100%),
        var(--card-bg, var(--zx-navy-800)) !important;
    border: 1.5px solid rgba(255, 201, 40, .22) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28) !important;
    gap: 10px !important;
    justify-content: space-between !important;
}
.partner-card::after {
    content: '' !important;
    position: absolute; left: 14px; right: 14px; bottom: 12px; top: auto !important;
    height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--zx-yellow), #ff9f1c) !important;
    opacity: .9;
}
.partner-card:hover { transform: translateY(-5px) !important; border-color: var(--zx-yellow) !important; box-shadow: 0 18px 36px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 201, 40, .2) !important; }
.partner-logo-bg {
    height: 84px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
    border-radius: 12px !important;
}
.partner-logo { max-width: 120px !important; max-height: 58px !important; }
.partner-info { padding-bottom: 12px; }
.partner-name { font-size: 15px !important; }
.partner-rating { font-size: 11px !important; color: var(--zx-muted) !important; }
.network-bonus-tag {
    background: var(--zx-yellow) !important;
    color: var(--zx-navy-900) !important;
    border: none !important;
    font-weight: 900 !important;
    border-radius: 8px !important;
    box-shadow: var(--zx-yellow-glow) !important;
}
.partner-lock-wrap { background: rgba(7, 20, 37, .78) !important; }
@media (max-width: 600px) {
    .zx-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
    .zx-wall-grid .partner-card { height: 150px !important; }
}

/* ---------- Generic cards & pages ---------- */
.withdraw-card, .history-section, .settings-card, .profile-card, .account-stat-card,
.leader-list-container, .modal-content, .faq-item, .support-card, .ticket-card {
    background: var(--zx-navy-800) !important;
    border: 1px solid var(--zx-navy-600) !important;
    border-radius: var(--zx-radius) !important;
}
.withdraw-card:hover { border-color: rgba(255, 201, 40, .55) !important; transform: translateY(-3px); }
.withdraw-icon-wrapper { border-radius: 12px !important; }
.withdraw-name { color: #fff; }
.custom-table th { color: var(--zx-muted) !important; border-color: var(--zx-navy-600) !important; }
.custom-table td { border-color: rgba(255, 255, 255, .05) !important; }
.form-control, input.form-control, select.form-control, textarea.form-control {
    background: var(--zx-navy-700) !important;
    border: 1px solid var(--zx-navy-600) !important;
    color: #fff !important;
    border-radius: 10px !important;
}
.form-control:focus { border-color: var(--zx-yellow) !important; box-shadow: 0 0 0 3px rgba(255, 201, 40, .15) !important; outline: none; }
.amount-option { background: var(--zx-navy-700) !important; border-color: var(--zx-navy-600) !important; border-radius: 10px !important; }
.amount-option.selected { border-color: var(--zx-yellow) !important; background: rgba(255, 201, 40, .12) !important; color: var(--zx-yellow) !important; }
.leader-row { border-color: rgba(255, 255, 255, .05) !important; }
.leader-row:hover { background: rgba(255, 201, 40, .05) !important; }
.podium-bar { background: linear-gradient(180deg, var(--zx-navy-700) 0%, rgba(15, 42, 68, .4) 100%) !important; }
.place-1 .podium-bar { border-top-color: var(--zx-yellow) !important; }
.modal-overlay { background: rgba(4, 12, 24, .75) !important; }
.modal-content-wrap { background: var(--zx-navy-850) !important; border: 1px solid var(--zx-navy-600) !important; }
.network-modal .modal-header { background: var(--zx-navy-800) !important; border-color: var(--zx-navy-600) !important; }
.toast { background: var(--zx-navy-800) !important; border: 1px solid var(--zx-navy-600) !important; }
.faq-item:hover { border-color: rgba(255, 201, 40, .45) !important; }
.faq-question i { color: var(--zx-yellow) !important; }
.faq-category { color: var(--zx-yellow) !important; border-color: var(--zx-navy-600) !important; }
.text-success { color: var(--zx-yellow) !important; }
.status-completed, .status-pill.status-completed { background: rgba(34, 197, 94, .12) !important; color: #4ade80 !important; }

/* =========================================================
   GUEST LANDING
   ========================================================= */
.zx-h2 { font-size: 34px; font-weight: 800; text-align: center; margin: 0 0 30px; line-height: 1.2; }
.zx-h2.zx-left { text-align: left; }
.zx-section { margin-top: 80px; }

/* Hero */
.zx-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0 10px;
}
.zx-hero-title { font-size: 52px; line-height: 1.12; font-weight: 800; margin: 0 0 22px; }
.zx-hero-sub { font-size: 18px; color: var(--zx-muted); margin: 0 0 10px; }
.zx-hero-art { position: relative; max-width: 460px; }
.zx-hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); animation: zxFloat 6s ease-in-out infinite; }
@keyframes zxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.zx-signup-card {
    background: linear-gradient(180deg, var(--zx-navy-800), var(--zx-navy-850));
    border: 1px solid rgba(255, 201, 40, .25);
    border-radius: 22px;
    padding: 40px 34px;
    box-shadow: 0 0 0 1px rgba(255, 201, 40, .08), 0 0 70px rgba(255, 201, 40, .22), 0 30px 60px rgba(0, 0, 0, .4);
    text-align: center;
    scroll-margin-top: 100px;
}
.zx-signup-card h2 { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.zx-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--zx-yellow); color: var(--zx-navy-900);
    font-weight: 800; font-size: 13px;
    padding: 7px 16px; border-radius: 999px;
    margin-bottom: 26px;
}
.zx-signup-form { display: flex; flex-direction: column; gap: 14px; }
.zx-field {
    display: flex; align-items: center; gap: 12px;
    background: var(--zx-navy-600);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0 16px;
    height: 50px;
    transition: border-color .2s, background .2s;
    cursor: text;
}
.zx-field:focus-within { border-color: var(--zx-yellow); background: #1f4268; }
.zx-field > i { color: #c9d6e8; font-size: 16px; width: 18px; text-align: center; }
.zx-field input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; font-size: 15px; font-weight: 500; }
.zx-field input::placeholder { color: #9fb2cc; }
.zx-field-btn { background: none; border: none; color: #c9d6e8; cursor: pointer; font-size: 17px; padding: 6px; }
.zx-field-btn:hover { color: var(--zx-yellow); }
.zx-signup-form .zx-btn-block { margin-top: 6px; }
.zx-signup-alt { color: var(--zx-muted); font-size: 14px; margin: 20px 0 0; }
.zx-signup-alt a { color: var(--zx-yellow); font-weight: 700; text-decoration: none; }
.zx-or { display: flex; align-items: center; gap: 16px; margin: 20px 0; color: #fff; font-weight: 700; }
.zx-or::before, .zx-or::after { content: ''; flex: 1; height: 1px; background: var(--zx-navy-600); }

/* Brand strip */
.zx-brands { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.zx-brands-track { display: flex; gap: 22px; width: max-content; animation: zxMarquee 30s linear infinite; }
.zx-brands:hover .zx-brands-track { animation-play-state: paused; }
@keyframes zxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.zx-brand-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: var(--zx-navy-800);
    border: 1px solid var(--zx-navy-600);
    border-radius: 14px;
    flex-shrink: 0;
}
.zx-brand-item img { height: 32px; width: 32px; object-fit: contain; border-radius: 6px; }
.zx-brand-item span { font-weight: 700; font-size: 16px; }

/* Stats */
.zx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.zx-stat {
    background: var(--zx-navy-800);
    border: 1px solid var(--zx-navy-600);
    border-radius: 18px;
    padding: 34px 20px;
    text-align: center;
}
.zx-stat-value { font-size: 36px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 14px; }
.zx-stat-value i { color: #fff; font-size: 30px; }
.zx-stat-label { color: var(--zx-muted); margin-top: 10px; font-size: 16px; }

/* How it works */
.zx-how { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 80px; }
.zx-how .zx-muted { margin: -14px 0 26px; font-size: 16px; max-width: 360px; }
.zx-steps { display: flex; flex-direction: column; gap: 14px; }
.zx-step {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px;
    background: var(--zx-navy-800);
    border: 1px solid var(--zx-navy-600);
    border-radius: 12px;
    font-weight: 700; font-size: 16px;
}
.zx-step span {
    width: 30px; height: 30px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--zx-yellow); color: var(--zx-navy-900);
    border-radius: 8px; font-weight: 800; font-size: 14px;
}
.zx-how-art { position: relative; border-radius: 22px; overflow: visible; }
.zx-how-art img { width: 100%; display: block; border-radius: 22px; border: 1px solid var(--zx-navy-600); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.zx-how-tag {
    position: absolute; z-index: 2;
    background: var(--zx-yellow); color: var(--zx-navy-900);
    font-weight: 800; font-size: 15px;
    padding: 10px 18px; border-radius: 10px;
    box-shadow: var(--zx-yellow-glow);
}
.zx-how-tag-1 { top: 22px; left: -18px; }
.zx-how-tag-2 { bottom: 22px; right: -18px; }

/* Top ways */
.zx-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zx-way {
    background: var(--zx-navy-800);
    border: 1px solid var(--zx-navy-600);
    border-radius: 16px;
    padding: 10px;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: transform .2s ease, border-color .2s ease;
}
.zx-way:hover { transform: translateY(-5px); border-color: rgba(255, 201, 40, .55); }
.zx-way-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.zx-way-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.zx-way:hover .zx-way-img img { transform: scale(1.05); }
.zx-way-body { background: var(--zx-navy-700); border-radius: 12px; padding: 16px 14px; margin-top: 10px; flex: 1; display: flex; flex-direction: column; }
.zx-way-body h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.zx-way-body p { color: var(--zx-muted); font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; flex: 1; }
.zx-way-tag { align-self: flex-start; font-weight: 800; font-size: 14px; color: var(--zx-yellow); background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .3); padding: 5px 12px; border-radius: 999px; }

/* Earn even more (KashFlash style: one full-card picture, text centred on the left) */
.zx-more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zx-more-card {
    position: relative; overflow: hidden;
    box-sizing: border-box;
    min-height: 300px;
    border-radius: 16px;
    padding: 32px 24px 32px 40px;
    background-color: #04304a;
    background-size: cover; background-repeat: no-repeat; background-position: right center;
    display: flex; align-items: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.zx-more-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.zx-more-copy { position: relative; z-index: 2; max-width: 58.33%; }
.zx-more-card h3 { font-size: 30px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.zx-more-card p { font-size: 16px; font-weight: 400; color: #dbe7f5; margin: 0 0 24px; line-height: 1.5; }
.zx-more-copy .zx-btn { display: inline-flex; padding: 10px 20px; font-size: 16px; font-weight: 600; border-radius: 8px; }

/* Live cashouts */
.zx-live { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-top: 30px; }
.zx-live-total {
    position: relative; overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--zx-navy-600);
    background:
        radial-gradient(360px 260px at 90% 0%, rgba(255, 201, 40, .25), transparent 60%),
        linear-gradient(180deg, #17395b 0%, var(--zx-navy-850) 100%);
    padding: 36px 24px;
    text-align: center;
    min-height: 320px;
}
.zx-pill-dot {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255, 201, 40, .4);
    color: var(--zx-yellow); font-weight: 800; font-size: 12px; letter-spacing: .08em;
    padding: 6px 14px; border-radius: 999px;
}
.zx-pill-dot span { width: 7px; height: 7px; border-radius: 50%; background: var(--zx-yellow); }
.zx-live-label { font-size: 22px; font-weight: 700; color: #c9d6e8; margin-top: 22px; }
.zx-live-amount { font-size: 64px; font-weight: 900; color: var(--zx-yellow); margin-top: 6px; text-shadow: 0 6px 30px rgba(255, 201, 40, .35); }
.zx-live-coin { position: absolute; width: 150px; bottom: -30px; left: 50%; transform: translateX(-50%) rotate(-12deg); opacity: .9; animation: zxFloat 6s ease-in-out infinite; }
.zx-live-list { border-radius: 22px; border: 1px solid var(--zx-navy-600); background: var(--zx-navy-800); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.zx-live-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.zx-live-head strong { display: block; font-size: 16px; }
.zx-live-head small { color: var(--zx-muted); font-size: 12px; }
.zx-live-badge { color: #4ade80; border: 1px solid rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .1); font-weight: 800; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.zx-live-row { display: flex; align-items: center; gap: 12px; background: var(--zx-navy-700); border: 1px solid var(--zx-navy-600); border-radius: 12px; padding: 10px 14px; }
.zx-live-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, #ffe08a, var(--zx-yellow)); color: var(--zx-navy-900); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.zx-live-user { flex: 1; min-width: 0; }
.zx-live-user strong { display: block; font-size: 14px; }
.zx-live-user small { color: var(--zx-muted); font-size: 12px; }
.zx-live-amt { color: var(--zx-yellow); font-weight: 800; font-size: 16px; }

/* FAQ */
.zx-faq-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.zx-faq { display: flex; flex-direction: column; gap: 12px; }
.zx-faq-item { background: var(--zx-navy-800); border: 1px solid var(--zx-navy-600); border-radius: 12px; transition: border-color .2s; }
.zx-faq-item[open] { border-color: rgba(255, 201, 40, .45); }
.zx-faq-item summary {
    list-style: none; cursor: pointer;
    padding: 20px; font-weight: 700; font-size: 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.zx-faq-item summary::-webkit-details-marker { display: none; }
.zx-faq-item summary::after {
    content: '+'; flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--zx-yellow); color: var(--zx-navy-900);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 18px; transition: transform .2s;
}
.zx-faq-item[open] summary::after { content: '−'; }
.zx-faq-item p { color: var(--zx-muted); padding: 0 20px 20px; margin: 0; line-height: 1.6; font-size: 14px; }
.zx-faq-art { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.zx-faq-img { width: 100%; max-width: 440px; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.zx-faq-card { position: absolute; width: 62%; border-radius: 18px; border: 3px solid rgba(255, 201, 40, .5); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.zx-faq-card-1 { top: 30px; right: 4%; transform: rotate(14deg); opacity: .55; filter: blur(1px); }
.zx-faq-card-2 { bottom: 30px; left: 10%; transform: rotate(-6deg); }

/* CTA */
.zx-cta {
    position: relative; overflow: hidden;
    margin-top: 80px;
    border-radius: 22px;
    border: 1px solid var(--zx-navy-600);
    background:
        radial-gradient(600px 300px at 50% 110%, rgba(255, 201, 40, .25), transparent 65%),
        linear-gradient(180deg, #1d2a2f 0%, #14222e 100%);
    padding: 80px 20px;
    text-align: center;
}
.zx-cta h2 { font-size: 42px; font-weight: 800; margin: 0 0 22px; position: relative; z-index: 2; }
.zx-cta .zx-btn { position: relative; z-index: 2; }
.zx-cta-coin { position: absolute; width: 110px; opacity: .95; }
.zx-cta-coin-1 { top: -20px; left: 20px; transform: rotate(-20deg); }
.zx-cta-coin-2 { top: 40%; right: -20px; transform: rotate(18deg); width: 120px; }
.zx-cta-coin-3 { bottom: -30px; left: 30%; width: 80px; transform: rotate(40deg); opacity: .6; }

/* ---------- Footer ---------- */
.app-footer.zx-footer {
    margin-top: 80px;
    padding: 0;
    border-top: none;
    text-align: left;
    color: var(--zx-muted);
    font-size: 15px;
    background:
        radial-gradient(700px 260px at 50% 120%, rgba(255, 201, 40, .1), transparent 70%),
        linear-gradient(180deg, var(--zx-navy-800) 0%, var(--zx-navy-850) 100%);
    border-radius: 28px 28px 0 0;
    border: 1px solid var(--zx-navy-600);
    border-bottom: none;
}
.zx-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 48px 40px 30px; }
.zx-footer-brand p { margin: 16px 0 20px; line-height: 1.6; color: #c9d6e8; max-width: 360px; }
.zx-footer-brand .zx-brand-img { height: 48px; }
.zx-footer-col { display: flex; flex-direction: column; gap: 14px; }
.zx-footer-col h4 { color: #fff; font-size: 17px; font-weight: 800; margin: 6px 0 6px; }
.zx-footer-col a { color: #c9d6e8; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: color .2s; word-break: break-all; }
.zx-footer-col a i { color: var(--zx-muted); width: 16px; text-align: center; }
.zx-footer-col a:hover { color: var(--zx-yellow); }
.zx-socials { display: flex; gap: 10px; }
.zx-social { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 17px; transition: transform .2s; }
.zx-social:hover { transform: translateY(-3px); }
.zx-social.tg { background: #229ed9; } .zx-social.dc { background: #5865f2; } .zx-social.fb { background: #1877f2; }
.zx-social.tw { background: #000; border: 1px solid #333; } .zx-social.ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.zx-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 40px 26px; border-top: 1px solid var(--zx-navy-600); font-size: 14px; }
.zx-footer-legal a { color: var(--zx-muted); text-decoration: none; }
.zx-footer-legal a:hover { color: var(--zx-yellow); }

/* ---------- Responsive landing ---------- */
@media (max-width: 1100px) {
    .zx-hero-title { font-size: 42px; }
    .zx-ways { grid-template-columns: repeat(2, 1fr); }
    .zx-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .zx-hero, .zx-how, .zx-live, .zx-faq-grid, .zx-more { grid-template-columns: 1fr; }
    .zx-hero { gap: 30px; padding-top: 10px; }
    .zx-hero-art { display: none; }
    .zx-hero-copy { text-align: center; }
    .zx-faq-art { display: none; }
    .zx-stats { grid-template-columns: 1fr; gap: 14px; }
    .zx-how-tag-1 { left: 10px; } .zx-how-tag-2 { right: 10px; }
}
@media (max-width: 600px) {
    .zx-hero-title { font-size: 32px; }
    .zx-hero-sub { font-size: 15px; }
    .zx-signup-card { padding: 28px 18px; }
    .zx-h2 { font-size: 26px; }
    .zx-section, .zx-how { margin-top: 56px; }
    .zx-ways { grid-template-columns: 1fr; }
    .zx-more-card { min-height: 164px; padding: 16px; border-radius: 14px; }
    .zx-more-copy { max-width: 64%; }
    .zx-more-card h3 { font-size: 20px; margin-bottom: 4px; }
    .zx-more-card p { font-size: 12px; margin-bottom: 12px; }
    .zx-more-copy .zx-btn { padding: 8px 12px; font-size: 12px; }
    .zx-live-amount { font-size: 44px; }
    .zx-cta { padding: 56px 16px; }
    .zx-cta h2 { font-size: 28px; }
    .zx-stat-value { font-size: 28px; }
    .zx-footer-inner { grid-template-columns: 1fr; padding: 36px 22px 20px; }
    .zx-footer-bottom { padding: 18px 22px 24px; }
    .app-footer.zx-footer { border-radius: 22px 22px 0 0; }
}

/* ---------- Tweaks ---------- */
/* Light outline so a dark/blue logo stays readable on navy */
.zx-brand-img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .85)) drop-shadow(0 0 6px rgba(255, 255, 255, .18)); }
.zx-brand-item img { background: #fff; padding: 3px; border-radius: 8px; height: 34px; width: 34px; }
.zx-live-total { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 150px; }
.zx-live-coin { width: 170px; bottom: -36px; }

/* ---------- Auth pages (login / register / forgot / reset / verify) ---------- */
.auth-backdrop {
    background:
        radial-gradient(700px 400px at 50% 0%, rgba(255, 201, 40, .1), transparent 60%),
        rgba(7, 20, 37, .88) !important;
}
.auth-card {
    background: linear-gradient(180deg, var(--zx-navy-800), var(--zx-navy-850)) !important;
    border: 1px solid rgba(255, 201, 40, .25) !important;
    border-radius: 22px !important;
    box-shadow: 0 0 0 1px rgba(255, 201, 40, .08), 0 0 70px rgba(255, 201, 40, .18), 0 30px 60px rgba(0, 0, 0, .45) !important;
}
.auth-card h1 { font-weight: 800; }
.auth-card .form-control { background: var(--zx-navy-600) !important; border: 1px solid transparent !important; height: 50px; }
.auth-card .form-control:focus { border-color: var(--zx-yellow) !important; background: #1f4268 !important; }
.auth-card .form-group label { color: var(--zx-muted) !important; }
.btn-submit {
    background: var(--zx-yellow) !important;
    color: var(--zx-navy-900) !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    box-shadow: var(--zx-yellow-glow) !important;
}
.btn-submit:hover { background: #ffd451 !important; }
.btn-google { border-radius: 10px !important; }
.zx-auth-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.zx-auth-logo .zx-brand-img { height: 52px; max-width: 220px; }
.close-btn { background: var(--zx-navy-700) !important; }
.app-footer.zx-footer { border-radius: 28px !important; border-bottom: 1px solid var(--zx-navy-600) !important; margin-bottom: 28px; overflow: hidden; }

/* =========================================================
   AUTH POPUP (Sign Up / Sign In / Password reset) - zxearn style
   ========================================================= */
body.zx-auth-lock { overflow: hidden; }
.zx-auth {
    position: fixed; inset: 0; z-index: 5000;
    display: none; align-items: center; justify-content: center;
    padding: 24px 16px; overflow-y: auto;
    background: rgba(5, 14, 28, .62);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.zx-auth.open { display: flex; animation: zxAuthFade .2s ease; }
@keyframes zxAuthFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zxAuthPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.zx-auth-box {
    position: relative; margin: auto;
    width: 100%; max-width: 920px;
    display: grid; grid-template-columns: 482px 1fr;
    background: #0b283e;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 30px; overflow: hidden;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .6);
    animation: zxAuthPop .35s cubic-bezier(.34, 1.4, .64, 1);
}
.zx-auth-main {
    padding: 32px 25px 24px;
    background:
        radial-gradient(70% 40% at 100% 0%, rgba(255, 201, 40, .13), transparent 60%),
        #0b283e;
}
.zx-auth-close {
    position: absolute; top: 18px; right: 18px; z-index: 3;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #0b2038; color: #fff; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .28); font-size: 15px;
    transition: transform .2s, background .2s;
}
.zx-auth-close:hover { background: #17324f; transform: rotate(90deg); }

.zx-auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: #08182b; border-radius: 999px; padding: 4px;
    margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, .06);
}
.zx-auth-tab {
    border: 0; background: transparent; color: #fff; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 15px;
    height: 40px; border-radius: 999px; transition: background .2s, color .2s;
}
.zx-auth-tab:hover { color: var(--zx-yellow); }
.zx-auth[data-view="signup"] .zx-auth-tab[data-auth="signup"],
.zx-auth[data-view="login"] .zx-auth-tab[data-auth="login"],
.zx-auth[data-view="forgot"] .zx-auth-tab[data-auth="login"],
.zx-auth[data-view="reset"] .zx-auth-tab[data-auth="login"] {
    background: linear-gradient(180deg, #ffd84d, #ffc928); color: #0a1a2e;
}

.zx-auth-pane { display: none; }
.zx-auth[data-view="signup"] .zx-auth-pane[data-pane="signup"],
.zx-auth[data-view="login"] .zx-auth-pane[data-pane="login"],
.zx-auth[data-view="forgot"] .zx-auth-pane[data-pane="forgot"],
.zx-auth[data-view="reset"] .zx-auth-pane[data-pane="reset"] { display: block; animation: zxAuthFade .25s ease; }

.zx-auth-center { text-align: center; }
.zx-auth-chip {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
    background: linear-gradient(180deg, #ffd84d, #ffc928); color: #0a1a2e;
    font-size: 12.5px; font-weight: 700; line-height: 1;
}
.zx-auth-chip img { width: 16px; height: 16px; object-fit: contain; }
.zx-auth-title { margin: 0 0 22px; text-align: center; color: #fff; font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.zx-auth-sub { margin: -8px 0 20px; text-align: center; color: #9fb0c3; font-size: 14px; line-height: 1.5; }
.zx-auth-form { display: flex; flex-direction: column; gap: 15px; }
.zx-auth .zx-field {
    height: 50px; border-radius: 12px; padding: 0 14px 0 16px; gap: 12px;
    background: #2f4760; border: 1px solid transparent; box-shadow: none;
}
.zx-auth .zx-field:focus-within { border-color: rgba(255, 201, 40, .7); background: #334d68; }
.zx-auth .zx-field > i { color: #c3ccd6; font-size: 16px; width: 18px; text-align: center; }
.zx-auth .zx-field input { color: #fff; font-size: 15px; font-weight: 500; }
.zx-auth .zx-field input::placeholder { color: #a4b1bf; font-weight: 400; }
.zx-auth .zx-field-btn { color: #c3ccd6; font-size: 17px; }
.zx-auth .zx-field-btn:hover { color: #fff; }
.zx-auth-check { display: flex; align-items: center; gap: 8px; color: #b7c3d0; font-size: 12.5px; line-height: 1.45; cursor: pointer; margin: -2px 0 0 4px; }
.zx-auth-check input { width: 14px; height: 14px; accent-color: var(--zx-yellow); flex-shrink: 0; }
.zx-auth-check a { color: #fff; font-weight: 700; text-decoration: none; }
.zx-auth-check a:hover { color: var(--zx-yellow); }
.zx-auth-linkrow { text-align: right; margin-top: -5px; }
.zx-auth-linkrow a { color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; }
.zx-auth-linkrow a:hover { color: var(--zx-yellow); }
.zx-auth .zx-btn-yellow {
    height: 50px; border-radius: 10px; font-size: 16px; font-weight: 700;
    background: linear-gradient(180deg, #ffd84d 0%, #ffc928 100%); color: #0a1a2e;
    box-shadow: 0 8px 26px rgba(255, 201, 40, .28);
}
.zx-auth-note { margin: 18px 0 0; text-align: center; color: #93a3b5; font-size: 12px; }
.zx-auth-back { margin: 16px 0 0; text-align: center; }
.zx-auth-back a { color: var(--zx-yellow); font-weight: 700; font-size: 14px; text-decoration: none; }
.zx-auth-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; line-height: 1.45; }
.zx-auth-alert i { margin-top: 2px; }
.zx-auth-alert.error { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); color: #fca5a5; }
.zx-auth-alert.success { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: #86efac; }

/* Right panel */
.zx-auth-side {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: 112px 40px 36px; text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(255, 214, 90, .14), transparent 80%),
        #0b283e;
}
.zx-auth-side::before {
    content: ""; position: absolute; left: 50%; top: -120px; width: 520px; height: 420px; transform: translateX(-50%);
    pointer-events: none; border-radius: 50%; filter: blur(40px);
    background: radial-gradient(closest-side, rgba(255, 210, 80, .22), rgba(255, 210, 80, .08) 55%, transparent 100%);
}
.zx-auth-side > * { position: relative; }
.zx-auth-gift { position: relative; width: 96px; height: 96px; margin-bottom: 24px; animation: zxAuthFloat 3.6s ease-in-out infinite; }
.zx-auth-gift-box { width: 76px; height: 76px; position: absolute; left: 4px; bottom: 0; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.zx-auth-gift-astro { width: 38px; height: 38px; position: absolute; right: -6px; top: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
@keyframes zxAuthFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.zx-auth-ribbon {
    margin: 0 0 20px; padding: 9px 36px;
    background: linear-gradient(180deg, #ffd84d, #ffc928); color: #0a1a2e;
    font-weight: 700; font-size: 13.5px;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}
.zx-auth-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; max-width: 280px; }
.zx-auth-steps li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; font-size: 14.5px; }
.zx-auth-steps span {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #ffc928; color: #0a1a2e; font-size: 12px; font-weight: 700;
}
.zx-auth-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; width: 100%; max-width: 280px; }
.zx-auth-tile {
    height: 70px; border-radius: 10px; padding: 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: #fff; border: 1px solid rgba(255, 255, 255, .14);
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 9px, transparent 9px 18px);
}
.zx-auth-tile img { width: 20px; height: 20px; object-fit: contain; }
.zx-auth-tile b { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.zx-auth-tile.gold { background-color: #c9a227; border-color: rgba(255, 214, 90, .55); }
.zx-auth-tile.green { background-color: #237a51; border-color: rgba(74, 222, 128, .38); }
.zx-auth-tile.blue { background-color: #243f5a; }
.zx-auth-tile.dark { background-color: #172a3e; }

@media (max-width: 900px) {
    .zx-auth { align-items: flex-start; }
    .zx-auth-box { grid-template-columns: 1fr; max-width: 480px; }
    .zx-auth-side { display: none; }
    .zx-auth-main { padding: 62px 18px 22px; }
    .zx-auth-title { font-size: 28px; }
}
@media (max-width: 380px) {
    .zx-auth { padding: 12px 8px; }
    .zx-auth-title { font-size: 24px; }
}


/* ---------- Live feed (zxearn style) ---------- */
.ticker-wrap.zx-live {
    display: flex; align-items: center; gap: 10px;
    overflow: visible; white-space: nowrap;
    mask-image: none !important; -webkit-mask-image: none !important;
    margin: 6px 0 28px;
}
/* Live badge: dark circle, thin gold ring, gold cube outline, green dot on the rim */
.zx-live-badge {
    position: relative; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--zx-navy-900); border: 1px solid rgba(255, 201, 40, .38);
    color: #d9b13b; font-size: 16px;
    box-shadow: 0 0 14px rgba(255, 201, 40, .12);
}
.zx-live-cube { width: 20px; height: 20px; display: block; }
.zx-live-dot {
    display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    animation: zxLivePulse 1.8s ease-out infinite;
}
.zx-live-badge .zx-live-dot { position: absolute; top: 1px; right: 1px; border: 2px solid var(--zx-navy-900); width: 11px; height: 11px; }
@keyframes zxLivePulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.zx-live-viewport {
    flex: 1; min-width: 0; overflow: hidden;
    mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent);
}
.zx-live .ticker-track { gap: 8px; animation: ticker-scroll 60s linear infinite; }
.zx-live .ticker-item {
    display: flex; align-items: center; gap: 10px !important;
    min-width: 0 !important;
    padding: 7px 12px 7px 8px !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #132f4f, #0f2742) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}
.zx-live-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1;
    background: radial-gradient(circle at 35% 30%, #fff3c4, #f5c34a);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.zx-live .ticker-info { line-height: 1.15; gap: 1px; display: flex; flex-direction: column; }
.zx-live .ticker-user { font-size: 13px !important; font-weight: 700 !important; color: #fff !important; max-width: 96px; }
.zx-live .ticker-action { font-size: 10.5px !important; font-weight: 500 !important; color: #7f97b5 !important; max-width: 96px; }
.zx-live .ticker-value {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: 8px; font-size: 14px; font-weight: 800;
    color: var(--zx-yellow) !important;
}
.zx-feed-coin {
    width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #ffd84d, #f5b800); color: #7a5600;
    font-size: 10px !important; font-weight: 900;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
}
.zx-feed-coin i { font-size: 9px !important; color: #7a5600; }
@media (max-width: 600px) {
    .zx-live-badge { width: 38px; height: 38px; font-size: 14px; }
    .ticker-wrap.zx-live { margin: 2px 0 20px; }
}

/* ---------- Floating chat + support buttons ---------- */
.zx-float-btns {
    position: fixed; right: 22px; bottom: 22px; z-index: 1500;
    display: flex; flex-direction: column; gap: 10px;
}
.zx-float-btn {
    width: 52px; height: 52px; border-radius: 14px; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #ffd84d, #ffc928); color: #0a1a2e;
    font-size: 21px; text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .15) inset;
    transition: transform .15s ease, box-shadow .2s ease;
}
.zx-float-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 201, 40, .35); color: #0a1a2e; }
.zx-float-btn .zx-fab-close { display: none; }
.zx-float-btn.is-open .zx-fab-open { display: none; }
.zx-float-btn.is-open .zx-fab-close { display: inline-block; }
.top-header .chat-toggle-btn { display: none !important; }

/* ---------- Chat panel ---------- */
.chat-sidebar {
    position: fixed !important;
    top: auto !important; bottom: 22px; right: 88px !important;
    width: 360px; height: min(560px, calc(100vh - var(--header-height) - 110px)) !important;
    border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, #10294a, #0b1d34) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5) !important;
    z-index: 1490 !important;
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.chat-sidebar.active { opacity: 1; visibility: visible; transform: none; right: 88px !important; }
.chat-sidebar .online-count::before, .chat-sidebar .online-count::after { display: none !important; content: none !important; }
.chat-sidebar .online-count { text-transform: none !important; letter-spacing: 0 !important; }
.chat-sidebar .chat-input-wrapper { background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important; gap: 8px !important; }
.chat-header { padding: 16px 18px !important; background: rgba(255, 255, 255, .03) !important; border-bottom: 1px solid rgba(255, 255, 255, .06) !important; }
.zx-chat-title-row { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #fff; }
.zx-chat-title-row i { color: var(--zx-yellow); }
.chat-sidebar .online-count { display: inline-flex; align-items: center; gap: 6px; color: #8aa3c2 !important; font-size: 11.5px !important; font-weight: 500 !important; }
.chat-sidebar .online-count .zx-live-dot { width: 7px; height: 7px; }
.close-chat-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, .06) !important; color: #c9d6e6 !important;
    display: inline-flex; align-items: center; justify-content: center;
}
.close-chat-btn:hover { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
.chat-messages { padding: 16px 18px !important; gap: 14px !important; }
.chat-avatar { width: 34px !important; height: 34px !important; border-radius: 50% !important; border: 2px solid rgba(255, 201, 40, .45); }
.chat-user { color: #fff !important; font-size: 12.5px !important; }
.chat-user.admin { color: var(--zx-yellow) !important; }
.chat-text {
    background: #17375c !important; color: #dbe6f3 !important;
    border-radius: 4px 14px 14px 14px !important; padding: 9px 12px !important; font-size: 13.5px !important;
}
.chat-input-area { padding: 14px 16px 12px !important; background: rgba(0, 0, 0, .15) !important; border-top: 1px solid rgba(255, 255, 255, .06) !important; }
#chatInput {
    background: #17375c !important; border: 1px solid transparent !important; border-radius: 12px !important;
    padding: 12px 14px !important; font-size: 14px !important; color: #fff !important;
}
#chatInput::placeholder { color: #7f97b5; }
#chatInput:focus { border-color: rgba(255, 201, 40, .6) !important; }
.chat-send-btn {
    width: 46px !important; border-radius: 12px !important;
    background: linear-gradient(180deg, #ffd84d, #ffc928) !important; color: #0a1a2e !important; font-size: 15px !important;
}
.zx-chat-signin {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: 12px; text-decoration: none; font-weight: 700;
    background: linear-gradient(180deg, #ffd84d, #ffc928); color: #0a1a2e;
}
.zx-chat-signin:hover { color: #0a1a2e; filter: brightness(1.05); }
@media (max-width: 600px) {
    .zx-float-btns { right: 14px; bottom: 14px; }
    .zx-float-btn { width: 48px; height: 48px; font-size: 19px; }
    .chat-sidebar { right: 10px !important; left: 10px; width: auto; bottom: 10px; height: calc(100vh - 86px) !important; }
    .chat-sidebar.active { right: 10px !important; }
    .zx-float-btns.chat-open { display: none; }
}

/* ======================================================
   v6 polish: header stays navy, zxearn-style cards, profile menu
   ====================================================== */
.top-header.zx-header,
.top-header.zx-header.is-scrolled {
    background: rgba(8, 30, 46, .96) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28) !important;
}

/* --- Recommended offers: tall cards like zxearn --- */
.featured-section .horizontal-scroll-view { gap: 12px !important; padding: 6px 2px 12px !important; }
.featured-offer-card {
    width: 134px !important; height: auto !important; min-height: 0 !important;
    flex-direction: column !important; align-items: stretch !important;
    gap: 0 !important; padding: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #14365c 0%, #0f2742 100%) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}
.featured-offer-card:hover { background: linear-gradient(180deg, #17406b 0%, #10294a 100%) !important; }
.featured-offer-img-box {
    position: relative;
    width: 100% !important; height: 100px !important; min-width: 0 !important;
    border-radius: 14px 14px 0 0 !important; overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #234f80, #10294a) !important;
    display: flex; align-items: center; justify-content: center;
}
.featured-offer-img-box img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
.featured-offer-fallback { display: none; font-size: 30px; color: var(--zx-yellow); opacity: .85; }
.featured-offer-img-box.no-img .featured-offer-fallback { display: block; }
.featured-offer-info {
    position: static !important;
    padding: 10px 8px 12px !important; gap: 8px !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center;
}
.featured-offer-top {
    position: absolute !important; top: 7px; right: 7px; left: auto !important;
    display: flex; gap: 4px; margin: 0 !important; z-index: 2;
}
.featured-offer-top .os-badge, .featured-offer-top .country-badge {
    width: 22px; height: 22px; padding: 0 !important; font-size: 11px !important;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .92) !important; color: #0a1a2e !important; border-radius: 50% !important;
}
.featured-offer-top .country-badge { display: none !important; }
.featured-offer-name {
    font-size: 12.5px !important; line-height: 1.2 !important; width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.featured-offer-cat { display: none !important; }
.featured-offer-points {
    display: inline-flex !important; align-items: center; gap: 6px;
    padding: 4px 12px !important; font-size: 13px !important; font-weight: 800 !important;
    background: rgba(255, 201, 40, .1) !important; border: 1px solid rgba(255, 201, 40, .4) !important;
    color: #fff !important; width: auto !important; margin: 0 !important;
}

/* --- Offerwall / survey cards: navy with colored accent like zxearn --- */
.zx-wall-grid .partner-card { --acc: #ffc928; }
.zx-wall-grid .partner-card, .partner-card {
    background:
        radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--acc, #ffc928) 18%, transparent), transparent 70%),
        linear-gradient(180deg, #143559 0%, #0d2440 100%) !important;
    border: 1.5px solid color-mix(in srgb, var(--acc, #ffc928) 55%, transparent) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}
.zx-wall-grid .partner-card:hover, .partner-card:hover {
    border-color: var(--acc, #ffc928) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .45), 0 0 22px color-mix(in srgb, var(--acc, #ffc928) 25%, transparent) !important;
}
.partner-card::after { background: linear-gradient(90deg, var(--acc, #ffc928), color-mix(in srgb, var(--acc, #ffc928) 60%, #ffffff)) !important; }
.partner-logo-bg { background: transparent !important; border: none !important; }
.partner-logo { max-width: 150px !important; max-height: 62px !important; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.partner-name { color: #fff !important; font-weight: 800 !important; }
.network-bonus-tag { background: var(--acc, #ffc928) !important; color: #0a1a2e !important; }

/* --- Profile menu --- */
.zx-profile { position: relative; }
.zx-avatar-link { background: none; border: none; padding: 0; cursor: pointer; }
.zx-profile-menu {
    position: absolute; right: 0; top: calc(100% + 14px); width: 290px; z-index: 1600;
    padding: 16px; border-radius: 16px;
    background: linear-gradient(180deg, #10294a, #0c2039);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.zx-profile-menu::before {
    content: ""; position: absolute; top: -7px; right: 16px; width: 12px; height: 12px;
    background: #10294a; border-left: 1px solid rgba(255, 255, 255, .08); border-top: 1px solid rgba(255, 255, 255, .08);
    transform: rotate(45deg);
}
.zx-profile.open .zx-profile-menu { opacity: 1; visibility: visible; transform: none; }
.zx-pm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.zx-pm-avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--zx-yellow); flex-shrink: 0; }
.zx-pm-name { color: #fff; font-weight: 800; font-size: 16px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-pm-lvl { color: #8aa3c2; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.zx-pm-balance {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 10px;
    border-radius: 12px; text-decoration: none;
    background: #0a1c33; border: 1px solid rgba(255, 255, 255, .07);
}
.zx-pm-balance:hover { border-color: rgba(255, 201, 40, .45); }
.zx-pm-coin { font-size: 18px; }
.zx-pm-bal-val { color: var(--zx-yellow); font-weight: 800; font-size: 16px; }
.zx-pm-bal-name { margin-left: auto; color: #8aa3c2; font-size: 12px; font-weight: 600; }
.zx-pm-links { display: flex; flex-direction: column; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.zx-pm-links a, .zx-pm-logout {
    display: flex; align-items: center; gap: 14px; padding: 10px 10px; border-radius: 10px;
    color: #e3ecf6; font-weight: 600; font-size: 14.5px; text-decoration: none;
    transition: background .15s, color .15s;
}
.zx-pm-links a i, .zx-pm-logout i { width: 18px; text-align: center; color: #8aa3c2; transition: color .15s; }
.zx-pm-links a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.zx-pm-links a:hover i { color: var(--zx-yellow); }
.zx-pm-logout { color: #8aa3c2; }
.zx-pm-logout:hover { background: rgba(239, 68, 68, .1); color: #fca5a5; }
.zx-pm-logout:hover i { color: #fca5a5; }
@media (max-width: 480px) {
    .zx-profile-menu { position: fixed; right: 10px; left: 10px; width: auto; top: calc(var(--header-height) + 8px); }
    .zx-profile-menu::before { right: 26px; }
}
.top-header.zx-header { z-index: 1200 !important; }
.network-bonus-tag { z-index: 3 !important; }


/* ======================================================
   v7: wall colours from admin + recommended offer popup
   ====================================================== */
/* Wall card uses the colour set in Admin > Networks (--acc / --card-bg) */
.zx-wall-grid .partner-card, .partner-card {
    background:
        radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--acc, #ffc928) 45%, transparent), transparent 75%),
        linear-gradient(180deg, color-mix(in srgb, var(--acc, #ffc928) 38%, #0d2440) 0%, color-mix(in srgb, var(--acc, #ffc928) 14%, #0b1f38) 100%) !important;
    border: 1.5px solid color-mix(in srgb, var(--acc, #ffc928) 70%, transparent) !important;
}
.partner-card .partner-name { text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }

/* Recommended offer images: show the real picture */
.featured-offer-img-box img { display: block; background: #0f2742; }
.featured-offer-card { cursor: pointer; }
.featured-offer-card:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 2px; }
.featured-offer-top .os-badge { box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }

/* ---- Offer popup ---- */
.zx-om {
    position: fixed; inset: 0; z-index: 3000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(4, 12, 24, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.zx-om.open { opacity: 1; visibility: visible; }
.zx-om-box {
    position: relative; width: 100%; max-width: 700px; max-height: calc(100vh - 40px); overflow-y: auto;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, #0f2a47 0%, #0b1f37 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    transform: translateY(14px) scale(.98); transition: transform .22s ease;
    scrollbar-width: thin; scrollbar-color: #24496f transparent;
}
.zx-om.open .zx-om-box { transform: none; }
.zx-om-hero { position: relative; min-height: 210px; padding: 14px 16px 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 18px 18px 0 0; }
.zx-om-hero-bg {
    position: absolute; inset: -20px; background-size: cover; background-position: center;
    filter: blur(18px) saturate(1.2); opacity: .45; transform: scale(1.1);
}
.zx-om-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 55, .2) 0%, rgba(11, 31, 55, .65) 60%, #0d2643 100%); }
.zx-om-hero > .zx-om-chips, .zx-om-hero > .zx-om-head { position: relative; z-index: 1; }
.zx-om-chips { display: flex; gap: 8px; align-items: center; padding-right: 50px; }
.zx-om-os { display: flex; gap: 6px; }
.zx-om-chip {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 32px; height: 32px; padding: 0 10px; border-radius: 10px;
    background: rgba(10, 26, 46, .75); border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px;
}
.zx-om-chip i { font-size: 15px; }
.zx-om-net { border-radius: 999px; color: var(--zx-yellow); }
.zx-om-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
    background: rgba(10, 26, 46, .8); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 14px;
    transition: background .15s ease, transform .15s ease;
}
.zx-om-close:hover { background: var(--zx-yellow); color: #0a1a2e; transform: rotate(90deg); }
.zx-om-head { display: flex; align-items: center; gap: 12px; }
.zx-om-thumb {
    width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
    background: #0f2742; border: 1px solid rgba(255, 255, 255, .15);
    display: flex; align-items: center; justify-content: center;
}
.zx-om-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zx-om-thumb i { display: none; color: var(--zx-yellow); font-size: 20px; }
.zx-om-thumb.no-img i { display: block; }
.zx-om-title { margin: 0; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.25; }
.zx-om-mini {
    width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; cursor: pointer;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 12px;
}
.zx-om-mini:hover { background: rgba(255, 201, 40, .2); color: var(--zx-yellow); }
.zx-om-body { padding: 6px 18px 18px; }
.zx-om-prize { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #dbe6f3; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.zx-om-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 201, 40, .1); border: 1.5px solid rgba(255, 201, 40, .45); color: #fff; font-size: 16px;
}
.zx-om-pill i, .zx-om-step-pts i { color: var(--zx-yellow); }
.zx-om-h { color: #fff; font-weight: 800; font-size: 15px; margin: 10px 0 6px; display: flex; align-items: center; gap: 6px; }
.zx-om-desc { color: var(--zx-muted, #9fb3c8); font-size: 13.5px; line-height: 1.55; margin: 0 0 6px; }
.zx-om-know { margin: 6px 0 12px; }
.zx-om-know summary {
    list-style: none; cursor: pointer; color: #fff; font-weight: 800; font-size: 14px;
    display: flex; justify-content: space-between; align-items: center; padding: 6px 0;
}
.zx-om-know summary::-webkit-details-marker { display: none; }
.zx-om-know summary i { color: var(--zx-muted, #9fb3c8); font-size: 12px; transition: transform .15s ease; }
.zx-om-know[open] summary i { transform: rotate(180deg); }
.zx-om-know ul { margin: 4px 0 0; padding-left: 18px; color: var(--zx-muted, #9fb3c8); font-size: 13px; line-height: 1.6; }
.zx-om-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zx-om-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; border-radius: 10px; cursor: pointer; text-decoration: none;
    background: linear-gradient(180deg, #1d4068 0%, #15304f 100%); border: 1px solid rgba(255, 255, 255, .12);
    color: #fff; font-weight: 800; font-size: 14px; font-family: inherit;
}
.zx-om-btn:hover { border-color: rgba(255, 201, 40, .5); color: #fff; }
.zx-om-regions {
    margin-top: 10px; padding: 10px 12px; border-radius: 10px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
    color: #dbe6f3; font-size: 13px; font-weight: 600; line-height: 1.6;
}
.zx-om-start {
    display: flex; align-items: center; justify-content: center; margin-top: 12px; height: 46px; border-radius: 12px;
    background: linear-gradient(180deg, #ffd54f 0%, #ffc928 55%, #f5b301 100%);
    color: #0a1a2e !important; font-weight: 900; font-size: 16px; text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 201, 40, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.zx-om-start:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 201, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.zx-om-tabs { display: flex; align-items: center; gap: 4px; margin: 16px 0 10px; }
.zx-om-tab {
    padding: 6px 12px; border-radius: 8px; cursor: pointer; border: none; background: transparent;
    color: var(--zx-muted, #9fb3c8); font-weight: 800; font-size: 14px; font-family: inherit;
}
.zx-om-tab:hover { color: #fff; }
.zx-om-tab.active { background: rgba(255, 201, 40, .16); color: var(--zx-yellow); }
.zx-om-count { margin-left: auto; color: var(--zx-muted, #9fb3c8); font-size: 12px; font-weight: 700; }
.zx-om-pane { display: none; }
.zx-om-pane.active { display: block; }
/* Steps: 2-column grid of compact rows (1 column on phones) */
.zx-om-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zx-om-steps.is-single { grid-template-columns: minmax(0, 1fr); }
.zx-om-step {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 50px; padding: 10px 14px;
    border-radius: 12px; background: linear-gradient(180deg, #17375a 0%, #10284a 100%); border: 1px solid rgba(255, 255, 255, .12);
    transition: border-color .15s ease;
}
.zx-om-step:hover { border-color: rgba(255, 201, 40, .35); }
.zx-om-radio {
    width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .75); font-size: 10.5px; font-weight: 900; line-height: 1;
}
.zx-om-step-text {
    flex: 1; min-width: 0; color: #fff; font-weight: 700; font-size: 13.5px; line-height: 1.35;
    overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.zx-om-step-pts { flex-shrink: 0; color: var(--zx-yellow); font-weight: 900; font-size: 14px; white-space: nowrap; }
.zx-om-empty, .zx-om-rating {
    padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .12);
    color: var(--zx-muted, #9fb3c8); font-size: 13.5px; font-weight: 600;
}
.zx-om-rating b { color: #fff; font-size: 16px; margin: 0 4px; }
.zx-om-stars { color: var(--zx-yellow); letter-spacing: 2px; }
.zx-om-support { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.zx-om-support .zx-om-h { margin-top: 0; font-size: 14px; }
.zx-om-support p { margin: 0; color: var(--zx-muted, #9fb3c8); font-size: 12.5px; }
.zx-om-support a { color: #fff; font-weight: 800; text-decoration: underline; }
@media (max-width: 600px) {
    .zx-om { padding: 0; align-items: flex-end; }
    .zx-om-box { max-height: 92vh; border-radius: 18px 18px 0 0; }
    .zx-om-hero { min-height: 170px; }
    .zx-om-title { font-size: 16px; }
    .zx-om-steps { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Site avatars (assets/img/avatars) ===== */
img.zx-avatar, img.zx-pm-avatar, img.sidebar-avatar, img.profile-avatar-big,
img.podium-avatar, img.chat-avatar, .list-avatar img, img.zx-live-avatar.zx-avatar-img {
    object-fit: cover;
    background: #fde9b0;
}
img.zx-live-avatar.zx-avatar-img { padding: 0; display: block; }


/* React widget roots: let the chat / leaderboard layout pass straight through */
.zx-react-root { display: contents; }
.chat-send-btn:disabled { opacity: .7; cursor: default; }

/* ===== React pages (assets/js/react-app.js): Rewards, Cashout, Account, Support, FAQ ===== */
.zx-r-card { background: var(--bg-card, var(--zx-navy-800)); border-radius: 16px; padding: 30px; }
.zx-r-lock { position: absolute; inset: 0; background: rgba(10, 26, 46, .7); backdrop-filter: blur(8px); z-index: 100; display: flex; align-items: center; justify-content: center; border-radius: 20px; }
.zx-r-lock-box { text-align: center; background: var(--zx-navy-800); padding: 40px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .05); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); max-width: 92%; }
.zx-r-lock-box h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.zx-r-lock-box p { color: var(--text-muted, var(--zx-muted)); margin-bottom: 30px; }
.zx-r-lock-icon { width: 80px; height: 80px; background: rgba(255, 201, 40, .1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; color: var(--primary, var(--zx-yellow)); }
.zx-r-days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; justify-content: center; }
@media (max-width: 700px) { .zx-r-days { justify-content: flex-start; } }
.zx-r-day { min-width: 80px; height: 100px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; transition: transform .2s ease; }
.zx-r-day-active { animation: zxRPulse 1.8s ease-in-out infinite; }
@keyframes zxRPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.zx-r-bonus { background: linear-gradient(135deg, var(--zx-navy-700) 0%, var(--zx-navy-800) 100%); border: 1px solid rgba(255, 201, 40, .3); border-radius: 16px; padding: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 0; }
.zx-r-bonus-row { display: flex; gap: 10px; flex: 1; max-width: 400px; min-width: 240px; }
.zx-r-input { flex: 1; width: 100%; padding: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); outline: none; background: rgba(0, 0, 0, .3); color: #fff; font-size: 14px; }
.zx-r-input:focus { border-color: var(--zx-yellow); box-shadow: 0 0 0 3px rgba(255, 201, 40, .15); }
.zx-r-btn-yellow { background: var(--zx-yellow) !important; color: var(--zx-navy-900) !important; font-weight: 800; }
.zx-r-btn-yellow:disabled { opacity: .6; cursor: default; }
.zx-r-balance { background: linear-gradient(135deg, var(--zx-navy-700), var(--zx-navy-800)); border: 1px solid rgba(255, 201, 40, .35); box-shadow: 0 0 40px rgba(255, 201, 40, .08); padding: 20px; border-radius: 15px; margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.zx-r-balance-label { color: var(--text-muted, var(--zx-muted)); font-size: 14px; margin-bottom: 5px; }
.zx-r-balance-value { font-size: 24px; font-weight: 800; color: #fff; }
.zx-r-modal .modal-content { max-height: 92vh; overflow-y: auto; }
.zx-r-box { background: rgba(255, 255, 255, .05); padding: 15px; border-radius: 12px; margin-bottom: 20px; }
.zx-r-bar { width: 100%; height: 10px; background: rgba(0, 0, 0, .3); border-radius: 5px; overflow: hidden; }
.zx-r-bar > div { height: 100%; transition: width .3s ease; }
.zx-r-convert { background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .3); padding: 15px; border-radius: 12px; margin-bottom: 20px; }
.zx-r-label { display: block; font-size: 12px; color: var(--text-muted, var(--zx-muted)); margin-bottom: 8px; font-weight: 600; }
.withdraw-card:focus-visible, .partner-card:focus-visible, .featured-offer-card:focus-visible, .zx-r-tab:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 2px; }
.zx-r-pass { position: relative; }
.zx-r-pass .form-control { padding-right: 44px; }
.zx-r-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--zx-muted); cursor: pointer; padding: 6px; }
.zx-r-tabs { display: flex; gap: 10px; margin: 30px 0 14px; flex-wrap: wrap; }
.zx-r-tab { background: rgba(255, 255, 255, .05); color: var(--zx-muted); border: 1px solid rgba(255, 255, 255, .08); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.zx-r-tab.active { background: rgba(255, 201, 40, .12); color: var(--zx-yellow); border-color: rgba(255, 201, 40, .4); }
.zx-r-row { display: flex; gap: 20px; flex-wrap: wrap; }
.zx-r-row > .form-group { flex: 1; min-width: 250px; }
.zx-r-counter { text-align: right; font-size: 11px; color: var(--zx-muted); margin-top: 6px; }
.zx-r-chat-icon { width: 60px; height: 60px; background: rgba(255, 193, 7, .15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; box-shadow: 0 0 20px rgba(255, 193, 7, .2); font-size: 24px; color: #ffc107; }
.zx-r-search { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; max-width: 520px; }
.zx-r-search i { color: var(--zx-muted); }
.zx-r-search input { flex: 1; background: none; border: 0; outline: none; color: #fff; padding: 14px 0; font-size: 15px; }
.zx-r-search:focus-within { border-color: var(--zx-yellow); }
.zx-r-faq-q { width: 100%; background: none; border: 0; text-align: left; font-family: inherit; }
.zx-r-empty { padding: 30px; text-align: center; color: var(--zx-muted); }
.zx-r-empty a { color: var(--zx-yellow); font-weight: 700; }

/* =========================================================
   v5: Hero offer fan (auto-sliding cards) + sign-up card polish
   ========================================================= */
.zx-fan-wrap { position: relative; max-width: 540px; margin-top: 44px; overflow-x: clip; user-select: none; -webkit-user-select: none; }
.zx-fan-glow { position: absolute; inset: -40px 0 -30px; pointer-events: none; z-index: 0; }
.zx-fan-glow-img {
    position: absolute; left: 50%; top: 45%; width: 70%; height: 80%;
    transform: translate(-50%, -50%); object-fit: cover; border-radius: 50%;
    filter: blur(70px) saturate(1.4); opacity: 0; transition: opacity 1s ease;
}
.zx-fan-glow-img.is-on { opacity: .38; }
.zx-fan { position: relative; height: 290px; z-index: 1; }
.zx-fan-card {
    position: absolute; left: 50%; top: 50%;
    width: 244px; border-radius: 14px; overflow: hidden;
    background: #0c2b3d;
    border: 1.5px solid rgba(160, 184, 210, .28);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    transition: transform .7s cubic-bezier(.22, .8, .24, 1), opacity .7s ease, filter .7s ease;
    will-change: transform, opacity;
    cursor: pointer;
    text-align: left;
}
.zx-fan-card--center { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; z-index: 3; }
.zx-fan-card--left { transform: translate(-108%, -50%) scale(.86) rotate(-5.5deg); opacity: .62; filter: blur(1.2px) brightness(.88); z-index: 2; }
.zx-fan-card--right { transform: translate(8%, -50%) scale(.86) rotate(5.5deg); opacity: .62; filter: blur(1.2px) brightness(.88); z-index: 2; }
.zx-fan-card--hidden { transform: translate(-50%, -50%) scale(.7) rotate(0deg); opacity: 0; z-index: 1; pointer-events: none; }
.zx-fan-card--center:hover { box-shadow: 0 28px 56px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 201, 40, .35); }

.zx-fan-visual { position: relative; height: 166px; overflow: hidden; background: linear-gradient(160deg, #1b3a5c, #0c2b3d); }
.zx-fan-bg { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(16px) saturate(1.3); transform: scale(1.1); }
.zx-fan-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 40, .15) 0%, rgba(8, 24, 40, .45) 60%, #0c2b3d 100%); }
.zx-fan-icon {
    position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; object-fit: cover; border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.zx-fan-os { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.zx-fan-os span {
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(6, 14, 24, .75); color: #fff; font-size: 12px;
}
.zx-fan-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; background: #0c2b3d; border-top: 1px solid rgba(255, 255, 255, .05); }
.zx-fan-meta { min-width: 0; }
.zx-fan-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.zx-fan-tag { display: inline-block; background: #22c55e; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 999px; line-height: 1.2; }
.zx-fan-price { margin: 0; font-size: 18px; font-weight: 800; color: #fff; white-space: nowrap; }
.zx-fan-price span { color: var(--zx-yellow); margin-right: 2px; }

.zx-fan-dots { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; }
.zx-fan-dot { width: 6px; height: 6px; padding: 0; border: none; border-radius: 999px; background: #5b6b7b; cursor: pointer; transition: width .35s ease, background .35s ease; }
.zx-fan-dot.is-on { width: 18px; background: var(--zx-yellow); }
.zx-fan-dot:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .zx-fan-card, .zx-fan-glow-img, .zx-fan-dot { transition: none; }
}
@media (max-width: 900px) {
    .zx-fan-wrap { margin: 26px auto 0; }
}
@media (max-width: 600px) {
    .zx-fan { height: 250px; }
    .zx-fan-card { width: 200px; }
    .zx-fan-visual { height: 136px; }
    .zx-fan-icon { width: 64px; height: 64px; border-radius: 14px; }
    .zx-fan-title { font-size: 13px; max-width: 100px; }
    .zx-fan-price { font-size: 15px; }
    .zx-fan-card--left { transform: translate(-96%, -50%) scale(.82) rotate(-5.5deg); }
    .zx-fan-card--right { transform: translate(-4%, -50%) scale(.82) rotate(5.5deg); }
}

/* Fixed offer frames: only the offer content inside each frame moves. */
.zx-fan-fixed .zx-fan-card { height: 245px; transition: box-shadow .3s ease; will-change: auto; }
.zx-fan-fixed .zx-fan-content { height: 100%; display: flex; flex-direction: column; animation: zx-fan-offer-in .5s ease both; }
.zx-fan-fixed .zx-fan-visual { flex-shrink: 0; }
.zx-fan-fixed .zx-fan-foot { flex: 1; min-height: 0; }
@keyframes zx-fan-offer-in {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 600px) { .zx-fan-fixed .zx-fan-card { height: 209px; } }
@media (prefers-reduced-motion: reduce) {
    .zx-fan-fixed .zx-fan-content { animation: none; transform: none !important; }
    .zx-fan-fixed .zx-fan-card { transition: none; }
}

/* Sign-up card: same look as the reference (flat navy, strong yellow glow) */
.zx-hero .zx-signup-card {
    background: #0b283e;
    border: none;
    border-radius: 18px;
    padding: 46px 28px 40px;
    box-shadow: 0 0 0 1px rgba(255, 201, 40, .08), 0 0 46px rgba(255, 201, 40, .42), 0 0 110px rgba(255, 201, 40, .14), 0 30px 60px rgba(0, 0, 0, .35);
}
.zx-hero .zx-signup-card h2 { font-size: 24px; font-weight: 700; margin: 0 0 18px; }
.zx-hero .zx-chip { font-size: 12px; font-weight: 700; padding: 7px 16px; gap: 10px; margin-bottom: 32px; }
.zx-chip-gift { color: #e5262c; font-size: 14px; }
.zx-hero .zx-signup-form { gap: 16px; }
.zx-hero .zx-field { background: #2f485b; border: 1px solid transparent; border-radius: 6px; height: 44px; padding: 0 16px 0 18px; gap: 14px; }
.zx-hero .zx-field:focus-within { background: #35506a; border-color: rgba(255, 201, 40, .65); }
.zx-hero .zx-field > i { color: #c5ced6; font-size: 17px; }
.zx-hero .zx-field input { font-size: 16px; font-weight: 400; color: #fff; }
.zx-hero .zx-field input::placeholder { color: #a9b4bf; }
.zx-hero .zx-field-btn { color: #c5ced6; font-size: 18px; }
.zx-hero .zx-field-btn:hover { color: #fff; }
.zx-hero .zx-signup-form .zx-btn-block { margin-top: 4px; border-radius: 6px; height: 44px; padding: 0 22px; font-size: 16px; font-weight: 700; box-shadow: 0 6px 22px rgba(255, 201, 40, .35); }
.zx-hero .zx-signup-alt { color: #8a9099; font-size: 14px; margin: 38px 0 0; }
.zx-hero .zx-or { margin: 26px 0 24px; font-weight: 400; font-size: 18px; gap: 24px; }
.zx-hero .zx-or::before { background: linear-gradient(90deg, transparent, #435a6b); }
.zx-hero .zx-or::after { background: linear-gradient(90deg, #435a6b, transparent); }
.zx-hero .zx-btn-white { border-radius: 6px; height: 44px; padding: 0 22px; font-size: 14px; font-weight: 700; color: #1f2937; }
@media (max-width: 600px) {
    .zx-hero .zx-signup-card { padding: 32px 18px 28px; }
}

/* Bottom "Join now" banner: flying app pictures on both sides */
.zx-cta-fly { position: absolute; top: 50%; height: 118%; width: auto; transform: translateY(-50%); pointer-events: none; z-index: 1; opacity: .95; }
.zx-cta-fly-l { left: 2%; animation: zxFlyL 7s ease-in-out infinite; }
.zx-cta-fly-r { right: 2%; animation: zxFlyR 7s ease-in-out infinite; }
@keyframes zxFlyL { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-54%); } }
@keyframes zxFlyR { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-46%); } }
@media (max-width: 900px) {
    .zx-cta-fly { height: 90%; opacity: .35; }
    .zx-cta-fly-l { left: -40px; } .zx-cta-fly-r { right: -40px; }
}
@media (prefers-reduced-motion: reduce) { .zx-cta-fly { animation: none; } }

/* =========================================================
   v6: no old-design flash + draggable offer cards + icon tile
   ========================================================= */
html.zx-js:not(.zx-no-react):not(.zx-js-late) .zx-react-root:not(.zx-ready),
html.zx-js:not(.zx-no-react):not(.zx-js-late) .zx-react-root:not(.zx-ready) > * { visibility: hidden; }
@media (scripting: none) { .zx-react-root, .zx-react-root > * { visibility: visible !important; } }

.zx-fan-wrap { cursor: grab; touch-action: pan-y; outline: none; }
.zx-fan-wrap.is-dragging { cursor: grabbing; }
.zx-fan-wrap.is-dragging .zx-fan-card { cursor: grabbing; }
.zx-fan-wrap:focus-visible .zx-fan-card--center { box-shadow: 0 0 0 2px var(--zx-yellow), 0 24px 48px rgba(0, 0, 0, .45); }
.zx-fan { transition: transform .45s cubic-bezier(.22, .8, .24, 1); }
.zx-fan-wrap.is-dragging .zx-fan { transition: none; }
.zx-fan-card img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.zx-fan-tile {
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--zx-yellow), #f59e0b);
    color: #0b283e; font-weight: 900; font-size: 34px;
}
@media (max-width: 600px) { .zx-fan-tile { font-size: 28px; } }
.zx-fan-icon.is-small { object-fit: contain; padding: 14px; background: #10304a; image-rendering: auto; }
.zx-fan-bg.is-small, .zx-fan-glow-img.is-small { image-rendering: auto; }
/* keep the coloured glow soft (no straight cut edges) */
.zx-fan-glow-img { width: 46%; height: 62%; filter: blur(56px) saturate(1.5); }
.zx-fan-glow-img.is-on { opacity: .5; }

/* ===== Offer fan — smooth glide + premium look ===== */
.zx-fan-fixed .zx-fan-card {
    background: #0b2941; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 26px 54px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: box-shadow .4s ease, opacity .4s ease, filter .4s ease;
    contain: paint; transform-style: flat; backface-visibility: hidden;
}
.zx-fan-fixed .zx-fan-card--left, .zx-fan-fixed .zx-fan-card--right { filter: brightness(.72) saturate(.85); opacity: .78; }
.zx-fan-fixed .zx-fan-card--left:hover, .zx-fan-fixed .zx-fan-card--right:hover { filter: brightness(.9) saturate(1); }
.zx-fan-fixed .zx-fan-card--center {
    box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 201, 40, .18), 0 0 40px -10px rgba(255, 201, 40, .28);
}
.zx-fan-fixed .zx-fan-card--center::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 6; pointer-events: none;
    background: linear-gradient(150deg, rgba(255, 228, 138, .9), rgba(255, 201, 40, .25) 30%, rgba(255, 255, 255, .05) 55%, rgba(255, 201, 40, .55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.zx-fan-fixed .zx-fan-card--center::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: 5; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .13), transparent);
    transform: skewX(-18deg); animation: zxFanSheen 5.5s ease-in-out 1.2s infinite;
}
@keyframes zxFanSheen { 0%, 70% { left: -70%; } 100% { left: 140%; } }

/* layers: old offer glides out, new offer glides in (no jump, no blink) */
.zx-fan-fixed .zx-fan-content {
    position: absolute; inset: 0; animation: none;
    will-change: transform, opacity; backface-visibility: hidden;
}
.zx-fan-fixed .zx-fan-content.is-out { z-index: 1; pointer-events: none; }
.zx-fan-fixed .zx-fan-content.is-in { z-index: 2; }
.zx-fan-fixed .zx-fan-content.is-in.dir-next { animation: zxFanInNext .76s cubic-bezier(.65, 0, .35, 1) both; }
.zx-fan-fixed .zx-fan-content.is-out.dir-next { animation: zxFanOutNext .76s cubic-bezier(.65, 0, .35, 1) both; }
.zx-fan-fixed .zx-fan-content.is-in.dir-prev { animation: zxFanInPrev .76s cubic-bezier(.65, 0, .35, 1) both; }
.zx-fan-fixed .zx-fan-content.is-out.dir-prev { animation: zxFanOutPrev .76s cubic-bezier(.65, 0, .35, 1) both; }
/* the icon trails a little behind for a soft parallax glide */
.zx-fan-fixed .zx-fan-content.is-in.dir-next .zx-fan-icon { animation: zxFanIconNext .76s cubic-bezier(.65, 0, .35, 1) both; }
.zx-fan-fixed .zx-fan-content.is-in.dir-prev .zx-fan-icon { animation: zxFanIconPrev .76s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes zxFanInNext { from { transform: translate3d(100%, 0, 0); opacity: .35; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes zxFanOutNext { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(-100%, 0, 0); opacity: .35; } }
@keyframes zxFanInPrev { from { transform: translate3d(-100%, 0, 0); opacity: .35; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes zxFanOutPrev { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(100%, 0, 0); opacity: .35; } }
@keyframes zxFanIconNext { from { translate: 26px 0; scale: .9; } to { translate: 0 0; scale: 1; } }
@keyframes zxFanIconPrev { from { translate: -26px 0; scale: .9; } to { translate: 0 0; scale: 1; } }

/* premium colours inside the card */
.zx-fan-fixed .zx-fan-visual { background: linear-gradient(160deg, #123a5c, #0b2941); }
.zx-fan-fixed .zx-fan-shade { background: linear-gradient(180deg, rgba(11, 41, 65, .05) 0%, rgba(11, 41, 65, .45) 58%, #0b2941 100%); }
.zx-fan-fixed .zx-fan-icon {
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 14px 30px -6px rgba(0, 0, 0, .6), 0 0 0 4px rgba(255, 255, 255, .06);
}
.zx-fan-fixed .zx-fan-os span {
    background: rgba(11, 41, 65, .7); border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.zx-fan-fixed .zx-fan-foot {
    align-items: center; padding: 13px 14px 14px;
    background: linear-gradient(180deg, #0d2f4b 0%, #0b2941 100%);
    border-top: 1px solid rgba(255, 201, 40, .14);
}
.zx-fan-fixed .zx-fan-title { font-weight: 800; letter-spacing: .01em; margin-bottom: 7px; }
.zx-fan-fixed .zx-fan-tag {
    background: linear-gradient(180deg, #34d27a, #16a34a); color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 4px 12px -3px rgba(34, 197, 94, .55);
    padding: 3px 11px; letter-spacing: .02em;
}
.zx-fan-fixed .zx-fan-price {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 6px 11px; border-radius: 11px;
    background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .38);
    color: #ffe48a; box-shadow: 0 0 18px -6px rgba(255, 201, 40, .55);
    text-shadow: 0 0 12px rgba(255, 201, 40, .35);
}
.zx-fan-fixed .zx-fan-price span { color: var(--zx-yellow); }
.zx-fan-fixed .zx-fan-tile { background: linear-gradient(145deg, #ffe48a, #ffc928 55%, #f5a800); }
.zx-fan-fixed .zx-fan-icon.is-small { background: #0f3150; }

.zx-fan-fixed .zx-fan-dots { gap: 7px; }
.zx-fan-fixed .zx-fan-dot { background: rgba(255, 255, 255, .22); transition: width .5s cubic-bezier(.65, 0, .35, 1), background .4s ease, box-shadow .4s ease; }
.zx-fan-fixed .zx-fan-dot:hover { background: rgba(255, 255, 255, .45); }
.zx-fan-fixed .zx-fan-dot.is-on { width: 22px; background: linear-gradient(90deg, #ffe48a, #ffc928); box-shadow: 0 0 10px rgba(255, 201, 40, .55); }
.zx-fan-fixed .zx-fan-glow-img { transition: opacity 1.2s ease; }

@media (max-width: 600px) {
    .zx-fan-fixed .zx-fan-price { padding: 5px 9px; font-size: 14px; border-radius: 9px; }
    .zx-fan-fixed .zx-fan-foot { padding: 11px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-fan-fixed .zx-fan-content.is-in, .zx-fan-fixed .zx-fan-content.is-in .zx-fan-icon { animation: zxFanFade .3s ease both !important; }
    .zx-fan-fixed .zx-fan-content.is-out { animation: none !important; opacity: 0; }
    .zx-fan-fixed .zx-fan-card--center::after { animation: none; display: none; }
}
@keyframes zxFanFade { from { opacity: 0; } to { opacity: 1; } }

/* CoinyCash landing page adjustments based on the supplied ZXEarn screenshot */
@supports selector(body:has(.zx-hero)) {
    body:has(.zx-hero) {
        background:
            radial-gradient(820px 520px at 23% 46%, rgba(106, 101, 42, .34), transparent 72%),
            radial-gradient(760px 540px at 69% 47%, rgba(255, 201, 40, .24), transparent 72%),
            linear-gradient(180deg, #071d2b 0%, #071d2b 100%);
        background-attachment: fixed;
    }
}

.zx-hero {
    width: min(1272px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 50px;
    align-items: center;
}
.zx-hero-copy { min-width: 0; }
.zx-hero-title {
    max-width: 660px;
    font-size: 52px;
    line-height: 1.12;
}
.zx-hero .zx-signup-card {
    width: 100%;
    max-width: 514px;
    justify-self: end;
}
/* Match the reference card height only when its Google sign-up option is enabled. */
@supports selector(.zx-signup-card:has(.zx-btn-white)) {
    .zx-hero .zx-signup-card:has(.zx-btn-white) { min-height: 590px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .zx-hero { width: min(100% - 40px, 1000px); gap: 32px; }
    .zx-hero-title { font-size: 42px; }
    .zx-hero .zx-signup-card { max-width: 480px; }
}
@media (max-width: 900px) {
    .zx-hero {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .zx-hero-copy { text-align: center; }
    .zx-hero-title { margin-left: auto; margin-right: auto; font-size: 32px; }
    .zx-hero .zx-signup-card { max-width: 514px; justify-self: center; }
}
@media (max-width: 600px) {
    .zx-hero { width: calc(100% - 28px); gap: 24px; }
    .zx-hero-title { font-size: 30px; }
}


/* Follow-up refinements from the latest CoinyCash screenshot */
.top-header.zx-header {
    background: #081e2e !important;
}
.ticker-wrap.zx-live {
    margin-top: -7px !important;
}
.zx-hero-title {
    font-size: 46px;
}
.zx-hero-sub {
    font-size: 16px;
}
.zx-h2 {
    font-size: 30px;
}
@media (max-width: 1100px) and (min-width: 901px) {
    .zx-hero-title { font-size: 42px; }
}
@media (max-width: 900px) {
    .zx-hero-title { font-size: 32px; }
    .zx-hero-sub { font-size: 15px; }
}
@media (max-width: 600px) {
    .zx-hero-title { font-size: 30px; }
    .zx-h2 { font-size: 26px; }
}

/* Follow-up: move the How section slightly lower, as requested */
.zx-how { margin-top: 100px; }
@media (max-width: 600px) {
    .zx-how { margin-top: 68px; }
}


/* ===== How it works: ZXEarn style (clean picture, no extra yellow tags) ===== */
.zx-how {
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}
.zx-how-copy { max-width: 660px; }
.zx-how .zx-h2.zx-left {
    font-size: 28px;
    line-height: 1.2;
    max-width: 300px;
    margin-bottom: 26px;
}
.zx-how .zx-h2.zx-left br { display: none; }
.zx-how .zx-muted { margin: 0 0 28px; font-size: 14px; max-width: 320px; line-height: 1.5; }
.zx-steps { gap: 12px; }
.zx-step {
    padding: 15px 16px;
    font-size: 15px;
    gap: 14px;
    border-radius: 12px;
}
.zx-step span { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; }
.zx-how-art {
    justify-self: end;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}
.zx-how-art img { border-radius: 20px; box-shadow: none; }
.zx-how-tag, .zx-how-tag-1, .zx-how-tag-2 { display: none !important; }
@media (max-width: 900px) {
    .zx-how { grid-template-columns: 1fr; gap: 36px; }
    .zx-how .zx-h2.zx-left { max-width: none; font-size: 26px; }
    .zx-how-art { justify-self: center; }
}


/* ===== Rewards strip: ZXEarn style (plain logos, no boxes) ===== */
.zx-brands-section .zx-h2 { margin-bottom: 34px; }
.zx-brands { padding: 6px 0; }
.zx-brands-track { gap: 64px; align-items: center; animation-duration: 40s; }
.zx-brand-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 12px;
    opacity: .92;
    transition: opacity .2s, transform .2s;
}
.zx-brand-item:hover { opacity: 1; transform: translateY(-2px); }
.zx-brand-item img {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    height: 36px !important;
    width: auto !important;
    max-width: 110px;
    object-fit: contain;
}
.zx-brand-item span:empty { display: none; }
.zx-brand-item span { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 600px) {
    .zx-brands-track { gap: 40px; }
    .zx-brand-item img { height: 28px !important; }
    .zx-brand-item span { font-size: 18px; }
}


/* ===== Stat cards: ZXEarn style, polished ===== */
.zx-stats { gap: 32px; margin-top: 64px; }
.zx-stat {
    position: relative;
    background: linear-gradient(180deg, #0f2a45 0%, #0c2239 100%);
    border: 1px solid #1c3a5a;
    border-radius: 16px;
    padding: 36px 24px 34px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.zx-stat::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}
.zx-stat:hover {
    transform: translateY(-3px);
    border-color: #27507a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.zx-stat-value {
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    gap: 18px;
    color: #fff;
}
.zx-stat-value i { font-size: 32px; color: #fff; }
.zx-stat-label { margin-top: 16px; font-size: 16px; font-weight: 400; color: #a9b8cc; }
@media (max-width: 900px) {
    .zx-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
    .zx-stat { padding: 28px 20px; }
    .zx-stat-value { font-size: 30px; }
    .zx-stat-value i { font-size: 26px; }
    .zx-stat-label { font-size: 15px; margin-top: 12px; }
}

/* ===== How it works picture: gentle up-and-down float (ZXEarn style) ===== */
@keyframes zxFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
/* The box no longer clips, so the phone picture can move freely; the shadow rides along with it. */
.zx-how-art {
    overflow: visible;
    box-shadow: none;
    animation: none;
    padding-top: 12px;
}
.zx-how-art img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    animation: zxFloat 4.5s ease-in-out infinite;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .zx-how-art img { animation: none; }
}

/* ===== Brand logo marquee: smooth, balanced logos ===== */
.zx-brands-track { animation: zxMarquee 40s linear infinite; will-change: transform; }
.zx-brand-item img { filter: saturate(.9) brightness(1.05); }
@media (prefers-reduced-motion: reduce) {
    .zx-brands-track { animation-duration: 120s; }
}

/* ===== Top ways to earn: ZXEarn style cards ===== */
.zx-ways { gap: 14px; }
.zx-way {
    background: #0f2235;
    border: 1px solid #1f3a52;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.zx-way:hover {
    transform: translateY(-4px);
    border-color: #2d5275;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
}
.zx-way-img {
    border-radius: 10px;
    aspect-ratio: 295 / 220;
    background: linear-gradient(160deg, #2bb3d1 0%, #1d6fa8 100%);
}
.zx-way:hover .zx-way-img img { transform: scale(1.03); }
.zx-way-body {
    background: #233a50;
    border-radius: 10px;
    padding: 14px 12px 14px;
    margin-top: 10px;
}
.zx-way-body h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
    line-height: 1.15;
    margin: 0 0 8px;
}
.zx-way-body p {
    color: #8fa3b8;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 14px;
}
.zx-way-earn { margin-top: auto; }
.zx-way-earn small {
    display: block;
    color: #8fa3b8;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 4px;
}
.zx-way-earn strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
    white-space: nowrap;
}
.zx-way-tag { display: none; }
@media (max-width: 1100px) and (min-width: 901px) {
    .zx-way-earn strong { font-size: 19px; }
}
@media (max-width: 600px) {
    .zx-way-body h3 { font-size: 22px; }
    .zx-way-earn strong { font-size: 20px; }
}

/* =========================================================
   REVIEWS - "What our users say" (Admin > Reviews)
   ========================================================= */
.zx-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zx-reviews--marquee {
    height: 520px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.zx-reviews-col { overflow: hidden; min-width: 0; }
.zx-reviews-track { display: flex; flex-direction: column; gap: 16px; animation: zxReviewsUp 40s linear infinite; will-change: transform; }
.zx-reviews-col.is-reverse .zx-reviews-track { animation-name: zxReviewsDown; }
.zx-reviews--marquee:hover .zx-reviews-track { animation-play-state: paused; }
/* -50% minus half the gap keeps the loop seamless */
@keyframes zxReviewsUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes zxReviewsDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }

.zx-review {
    background: linear-gradient(180deg, var(--zx-navy-800), var(--zx-navy-850));
    border: 1px solid var(--zx-navy-700);
    border-radius: var(--zx-radius-lg);
    padding: 24px 26px;
}
.zx-review-stars { display: flex; gap: 6px; color: var(--zx-text); font-size: 14px; margin-bottom: 16px; }
.zx-review-text { color: var(--zx-muted); font-size: 14px; line-height: 1.65; margin: 0 0 20px; word-wrap: break-word; }
.zx-review-user { display: flex; align-items: center; gap: 12px; }
.zx-review-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--zx-navy-950); color: var(--zx-text); font-size: 13px; font-weight: 700;
}
.zx-review-user strong { display: block; color: var(--zx-text); font-size: 16px; font-weight: 700; line-height: 1.2; }
.zx-review-user small { display: block; color: var(--zx-muted); font-size: 11px; margin-top: 3px; }

@media (max-width: 900px) {
    .zx-reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .zx-reviews { grid-template-columns: 1fr; }
    .zx-reviews--marquee { height: 460px; }
    .zx-review { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-reviews-track { animation: none; }
    .zx-reviews--marquee { height: auto; max-height: 560px; overflow-y: auto; }
}

/* Bottom "Join now" banner: ZXEarn-style picture (coins + reward cards) */
.zx-cta.zx-cta--rewards {
    background-color: #1a2530;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    border: 0;
    aspect-ratio: 1300 / 373;
    padding: 0 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: clamp(60px, 7.5vw, 100px);
}
.zx-cta--rewards h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
    .zx-cta.zx-cta--rewards { aspect-ratio: auto; min-height: 300px; padding-top: 56px; background-size: auto 100%; }
}
@media (max-width: 600px) {
    .zx-cta.zx-cta--rewards { min-height: 260px; padding-top: 44px; }
}

/* =========================================================
   LEADERBOARD RACE (leaderboard.php + LeaderboardApp in react-app.js)
   ========================================================= */
.zx-lb-page .ticker-wrap { margin-bottom: 22px; }
.zx-lb { --lb-card: #0b2941; --lb-card-2: #0b2941; --lb-line: rgba(255, 255, 255, .06); position: relative; padding-bottom: 40px; isolation: isolate; }

/* Background: full-width glow, light beams, dotted grid and sparkles behind the race */
.main-content:has(.zx-lb-page) { overflow-x: clip; }
.zx-lb::before, .zx-lb::after {
    content: ''; position: absolute; z-index: -2; pointer-events: none;
    left: 50%; width: 100vw; transform: translateX(-50%);
}
.zx-lb::before {
    top: -150px; height: 1180px;
    background:
        radial-gradient(520px 300px at 50% 330px, rgba(255, 201, 40, .16), transparent 70%),
        radial-gradient(620px 420px at 12% 300px, rgba(38, 140, 255, .16), transparent 70%),
        radial-gradient(620px 420px at 88% 340px, rgba(150, 60, 255, .15), transparent 70%),
        radial-gradient(900px 260px at 50% 820px, rgba(255, 201, 40, .08), transparent 70%),
        conic-gradient(from 180deg at 50% -6%, transparent 160deg, rgba(255, 255, 255, .045) 168deg, transparent 174deg, transparent 186deg, rgba(255, 255, 255, .045) 192deg, transparent 200deg),
        radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 62%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 62%, transparent 100%);
}
.zx-lb::after {
    top: 40px; height: 620px; z-index: -1;
    background:
        radial-gradient(2px 2px at 18% 12%, rgba(255, 225, 120, .9), transparent),
        radial-gradient(1.5px 1.5px at 32% 64%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(2px 2px at 44% 6%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1.5px 1.5px at 57% 78%, rgba(255, 225, 120, .8), transparent),
        radial-gradient(2px 2px at 69% 18%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 81% 58%, rgba(160, 200, 255, .9), transparent),
        radial-gradient(2px 2px at 92% 30%, rgba(255, 225, 120, .8), transparent),
        radial-gradient(1.5px 1.5px at 7% 46%, rgba(160, 200, 255, .9), transparent),
        radial-gradient(2px 2px at 26% 88%, rgba(255, 255, 255, .6), transparent),
        radial-gradient(1.5px 1.5px at 74% 92%, rgba(255, 255, 255, .6), transparent);
    animation: zxLbTwinkle 4.5s ease-in-out infinite;
}
@keyframes zxLbTwinkle { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Tabs + info */
.zx-lb-bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.zx-lb-tabs { display: flex; gap: 8px; }
.zx-lb-tab {
    background: #0b2941; color: #c9d6e8; border: 0; cursor: pointer;
    padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 15px;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.zx-lb-tab:hover { background: var(--zx-navy-700); color: #fff; }
.zx-lb-tab.active { background: var(--zx-yellow); color: var(--zx-navy-900); box-shadow: var(--zx-yellow-glow); }
.zx-lb-tab:active { transform: scale(.97); }
.zx-lb-info-btn { background: transparent; border: 0; color: #c9d6e8; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; }
.zx-lb-info-btn:hover { color: var(--zx-yellow); background: rgba(255, 255, 255, .04); }

/* Hero */
.zx-lb-hero { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; margin: 4px 0 18px; isolation: isolate; }
.zx-lb-hero::before {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(640px, 80%); height: 320px; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 201, 40, .16), rgba(255, 201, 40, .05) 60%, transparent 100%);
    filter: blur(8px);
}
/* Race art: transparent portrait images (about 244x402). Sized by height so they never cover the tabs. */
.zx-lb-art {
    position: absolute; top: 50%; height: 410px; width: auto; max-width: 26%; object-fit: contain;
    z-index: -1; pointer-events: none; user-select: none;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
    animation: zxLbFloat 6s ease-in-out infinite;
}
.zx-lb-art-left { left: 5%; transform: translateY(-50%); }
.zx-lb-art-right { right: 5%; transform: translateY(-50%); animation-delay: -3s; }
@keyframes zxLbFloat { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }

.zx-lb-hero-center { text-align: center; position: relative; }
.zx-lb-pool {
    font-size: clamp(54px, 8vw, 86px); font-weight: 900; line-height: 1; color: var(--zx-yellow);
    text-shadow: 0 6px 34px rgba(255, 201, 40, .38); letter-spacing: -.01em;
    animation: zxLbPop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.zx-lb-title { font-size: clamp(32px, 5vw, 58px) !important; font-weight: 900; text-transform: uppercase; color: #fff; margin: 14px 0 0 !important; line-height: 1.05; letter-spacing: .01em; }
@keyframes zxLbPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.zx-lb-countdown { display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); margin-top: 34px; }
.zx-lb-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zx-lb-digits { display: flex; gap: 6px; }
.zx-lb-digit {
    width: 40px; height: 46px; display: flex; align-items: center; justify-content: center;
    background: var(--zx-navy-950); border: 2px solid var(--zx-yellow); border-radius: 9px;
    color: #fff; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums;
    box-shadow: inset 0 -10px 18px rgba(255, 201, 40, .06), 0 6px 16px rgba(0, 0, 0, .3);
}
.zx-lb-unit-label { color: #c9d6e8; font-size: 13px; font-weight: 700; }

/* Podium */
.zx-lb-podium { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: flex-end; gap: 32px; margin: 10px 0 60px; padding-top: 24px; }
/* Stage glow and floor under the top 3 */
.zx-lb-podium::before {
    content: ''; position: absolute; z-index: -1; left: 50%; bottom: -26px; width: min(760px, 100%); height: 70%; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 201, 40, .14), rgba(56, 120, 220, .08) 55%, transparent 100%);
    filter: blur(10px);
}
.zx-lb-podium::after {
    content: ''; position: absolute; z-index: -1; left: 50%; bottom: -22px; width: min(700px, 96%); height: 34px; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 201, 40, .22), rgba(255, 201, 40, .06) 60%, transparent 100%);
    border-top: 1px solid rgba(255, 201, 40, .18);
}
.zx-lb-card {
    position: relative; width: 186px; text-align: center; padding: 34px 14px 14px;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%),
        linear-gradient(180deg, var(--lb-card) 0%, var(--lb-card-2) 100%);
    border: 1.5px solid rgba(201, 214, 232, .35); border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: zxLbRise .5s ease both;
}
.zx-lb-card:hover { transform: translateY(-6px); }
.zx-lb-card-1 { padding-top: 38px; margin-bottom: 34px; border-color: var(--zx-yellow); box-shadow: 0 0 0 1px rgba(255, 201, 40, .15), 0 22px 50px rgba(255, 201, 40, .12), 0 18px 40px rgba(0, 0, 0, .4); animation-delay: .08s; }
.zx-lb-card-3 { border-color: rgba(230, 140, 80, .55); animation-delay: .16s; }
.zx-lb-card.is-me { outline: 2px dashed rgba(255, 201, 40, .6); outline-offset: 4px; }
@keyframes zxLbRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.zx-lb-card-top { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); }
.zx-lb-ava {
    width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: #1d3b60; color: #fff; font-weight: 800; font-size: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
}
.zx-lb-ava img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fde9b0; }
.zx-lb-ava-big { width: 42px; height: 42px; border-radius: 10px; font-size: 17px; border: 2px solid rgba(201, 214, 232, .5); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.zx-lb-card-1 .zx-lb-ava-big { border-color: var(--zx-yellow); background: var(--zx-yellow); color: var(--zx-navy-900); }
.zx-lb-card-3 .zx-lb-ava-big { border-color: rgba(230, 140, 80, .8); }

.zx-lb-card-name { font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx-lb-card-earned { margin-top: 8px; color: var(--zx-yellow); font-weight: 800; font-size: 15px; }
.zx-lb-card-earned i { font-size: 12px; margin-right: 2px; }
.zx-lb-medal { display: block; width: 96px; max-width: 80%; height: auto; aspect-ratio: 92 / 57; object-fit: contain; margin: 18px auto 20px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.zx-lb-card-1 .zx-lb-medal { width: 110px; animation: zxLbShine 3.2s ease-in-out infinite; }
@keyframes zxLbShine { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.05); } }
.zx-lb-card-prize { border-radius: 8px; padding: 13px 10px; font-size: 19px; font-weight: 800; background: rgba(201, 214, 232, .1); color: #e2e9f3; }
.zx-lb-card-1 .zx-lb-card-prize { background: rgba(255, 201, 40, .14); color: var(--zx-yellow); }
.zx-lb-card-3 .zx-lb-card-prize { background: rgba(230, 140, 80, .14); color: #f0a26b; }

/* Table */
.zx-lb-table { display: flex; flex-direction: column; gap: 6px; }
.zx-lb-thead, .zx-lb-row { display: grid; grid-template-columns: 15% 1fr 26% 14%; align-items: center; padding: 0 14px; }
.zx-lb-thead { color: #c9d6e8; font-size: 14px; font-weight: 700; padding-bottom: 10px; }
.zx-lb-thead span:last-child, .zx-lb-prize { text-align: right; }
.zx-lb-row {
    min-height: 56px; background: var(--lb-card-2); border-radius: 8px; border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    animation: zxLbRow .4s ease both;
}
.zx-lb-row:hover { background: #12305a; border-color: rgba(255, 201, 40, .25); transform: translateX(3px); }
.zx-lb-row.is-me { border-color: var(--zx-yellow); background: rgba(255, 201, 40, .07); }
@keyframes zxLbRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.zx-lb-place { color: #8fa3bf; font-weight: 800; font-size: 15px; }
.zx-lb-row.top-1 .zx-lb-place { color: var(--zx-yellow); }
.zx-lb-row.top-2 .zx-lb-place { color: #dfe7f1; }
.zx-lb-row.top-3 .zx-lb-place { color: #f0a26b; }
.zx-lb-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zx-lb-name { font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx-lb-you { background: var(--zx-yellow); color: var(--zx-navy-900); font-size: 11px; font-weight: 900; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.zx-lb-earned, .zx-lb-prize { color: #fff; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.zx-lb-earned b, .zx-lb-prize b { color: var(--zx-yellow); margin-right: 2px; }
.zx-lb-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 46px 20px; text-align: center; color: #c9d6e8; background: var(--lb-card-2); border-radius: 12px; font-weight: 600; }
.zx-lb-empty i { font-size: 34px; color: var(--zx-yellow); }

/* Info modal */
.zx-lb-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 12, 24, .78); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: zxLbFade .2s ease; }
.zx-lb-modal-box { position: relative; width: 100%; max-width: 460px; background: var(--zx-navy-850); border: 1px solid var(--zx-navy-600); border-radius: 18px; padding: 30px 28px 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); animation: zxLbPop .3s ease; }
.zx-lb-modal-box h3 { font-size: 22px; font-weight: 800; margin: 12px 0 14px; color: #fff; }
.zx-lb-modal-box ul { margin: 0 0 22px; padding-left: 18px; color: #c9d6e8; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.5; }
.zx-lb-modal-box li::marker { color: var(--zx-yellow); }
.zx-lb-modal-box .zx-btn { width: 100%; }
.zx-lb-modal-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 201, 40, .12); color: var(--zx-yellow); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.zx-lb-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .05); color: #c9d6e8; cursor: pointer; }
.zx-lb-modal-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@keyframes zxLbFade { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 900px) {
    .zx-lb-hero { min-height: 330px; }
    .zx-lb-art { height: 320px; max-width: 28%; opacity: .75; }
    .zx-lb-art-left { left: 0; }
    .zx-lb-art-right { right: 0; }
    .zx-lb-podium { gap: 14px; }
    .zx-lb-card { width: 31%; max-width: 186px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 600px) {
    .zx-lb-hero { min-height: 290px; margin-top: 10px; }
    .zx-lb-art { top: 50%; height: 260px; max-width: 34%; opacity: .32; }
    .zx-lb-art-left { left: -6%; }
    .zx-lb-art-right { right: -6%; }
    .zx-lb::before { top: -60px; height: 900px; }
    .zx-lb-countdown { gap: 10px; margin-top: 24px; }
    .zx-lb-digits { gap: 4px; }
    .zx-lb-digit { width: 30px; height: 38px; font-size: 19px; border-radius: 7px; }
    .zx-lb-unit-label { font-size: 11px; }
    .zx-lb-podium { gap: 8px; margin-bottom: 40px; }
    .zx-lb-card { width: 32%; padding: 28px 6px 8px; }
    .zx-lb-card-1 { margin-bottom: 22px; }
    .zx-lb-card-name { font-size: 13px; }
    .zx-lb-card-earned { font-size: 12.5px; }
    .zx-lb-medal { width: 66px; margin: 12px auto 14px; }
    .zx-lb-card-1 .zx-lb-medal { width: 76px; }
    .zx-lb-card-prize { font-size: 15px; padding: 9px 4px; }
    .zx-lb-thead, .zx-lb-row { grid-template-columns: 44px 1fr 78px 58px; padding: 0 10px; }
    .zx-lb-thead { font-size: 12px; }
    .zx-lb-row { min-height: 50px; }
    .zx-lb-name, .zx-lb-earned, .zx-lb-prize, .zx-lb-place { font-size: 13px; }
    .zx-lb-ava { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-lb-art, .zx-lb-card-1 .zx-lb-medal, .zx-lb-row, .zx-lb-card, .zx-lb-pool, .zx-lb::after { animation: none !important; }
}

/* =========================================================
   CASHOUT (withdraw.php) — premium redesign
   ========================================================= */
/* ---- Page background ---- */
.zx-co-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
    background:
        radial-gradient(900px 520px at 85% -8%, rgba(255, 201, 40, .13), transparent 62%),
        radial-gradient(760px 520px at -6% 28%, rgba(46, 104, 170, .42), transparent 64%),
        radial-gradient(700px 480px at 60% 110%, rgba(255, 140, 40, .08), transparent 60%),
        #081e2e; }
.zx-co-bg::before { content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); }
.zx-co-bg::after { content: ""; position: absolute; left: 50%; top: -340px; width: 1400px; height: 700px; transform: translateX(-50%);
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 201, 40, .07) 40deg, transparent 90deg, rgba(80, 150, 255, .07) 200deg, transparent 260deg);
    filter: blur(40px); animation: zxCoSpin 40s linear infinite; }
.zx-co-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: zxCoDrift 18s ease-in-out infinite alternate; }
.zx-co-orb.o1 { width: 420px; height: 420px; right: -120px; top: 120px; background: rgba(255, 190, 30, .16); }
.zx-co-orb.o2 { width: 520px; height: 520px; left: -200px; bottom: -120px; background: rgba(40, 110, 200, .28); animation-duration: 24s; }
.zx-co-coin { position: absolute; width: 46px; height: 46px; background: url("../img/zx/coin.webp") center / contain no-repeat; opacity: .22; filter: blur(.4px) drop-shadow(0 8px 18px rgba(0, 0, 0, .4)); animation: zxCoFloat 9s ease-in-out infinite; }
.zx-co-coin.c1 { left: 6%;  top: 22%; animation-delay: -1s; }
.zx-co-coin.c2 { right: 7%; top: 58%; width: 62px; height: 62px; animation-delay: -4s; opacity: .18; }
.zx-co-coin.c3 { left: 14%; bottom: 10%; width: 34px; height: 34px; animation-delay: -6s; }
.zx-co-coin.c4 { right: 22%; top: 12%; width: 28px; height: 28px; animation-delay: -2.5s; opacity: .16; }
@keyframes zxCoSpin { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes zxCoDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes zxCoFloat { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-22px) rotate(10deg); } }
@keyframes zxCoIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes zxCoShine { 0% { transform: translateX(-130%) skewX(-20deg); } 60%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes zxCoBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

.zx-co-page { position: relative; padding-bottom: 40px; animation: zxCoFade .45s ease both; }
@keyframes zxCoFade { from { opacity: 0; } to { opacity: 1; } }
.zx-co-page .ticker-wrap, .dashboard-view .zx-co-ticker { margin-bottom: 18px; }

/* ---- Hero ---- */
.zx-co-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 28px 28px; border-radius: 22px; margin-bottom: 22px;
    background: #0b2941;
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); }
.zx-co-hero::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 201, 40, .55), rgba(255, 201, 40, 0) 35%, rgba(90, 150, 230, 0) 65%, rgba(90, 150, 230, .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.zx-co-hero-glow { position: absolute; right: 18%; top: -60%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 40, .22), transparent 65%); pointer-events: none; }
.zx-co-hero-chest { position: absolute; right: 270px; bottom: -26px; width: 170px; opacity: .95; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); animation: zxCoBob 5s ease-in-out infinite; }
.zx-co-hero-main { position: relative; display: flex; gap: 18px; align-items: flex-start; z-index: 1; min-width: 0; }
.zx-co-hero-icon { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
    color: var(--zx-navy-900); background: linear-gradient(145deg, #ffe07a, #ffc928 45%, #f0a500);
    box-shadow: 0 12px 30px -6px rgba(255, 201, 40, .55), inset 0 -3px 0 rgba(0, 0, 0, .15), inset 0 2px 0 rgba(255, 255, 255, .5); }
.zx-co-title { margin: 2px 0 6px; font-size: 30px; font-weight: 800; line-height: 1.15; }
.zx-co-title span { background: linear-gradient(90deg, #ffe07a, #ffc928 50%, #ff9f1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zx-co-sub { margin: 0 0 14px; color: var(--zx-muted); font-size: 15px; line-height: 1.5; max-width: 460px; }
.zx-co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zx-co-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
    color: var(--zx-yellow); background: rgba(255, 201, 40, .08); border: 1px solid rgba(255, 201, 40, .35); }
.zx-co-chip.is-hot { color: #ffd76a; background: rgba(255, 140, 40, .12); border-color: rgba(255, 160, 60, .45); }
.zx-co-chip.is-safe { color: #7ee2a8; background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); }

.zx-co-wallet { position: relative; z-index: 1; flex: 0 0 auto; min-width: 230px; text-align: right; padding: 18px 22px; border-radius: 18px;
    background: linear-gradient(160deg, rgba(10, 26, 46, .75), rgba(20, 50, 79, .55));
    border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 30px -14px rgba(0, 0, 0, .6); }
.zx-co-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zx-yellow); }
.zx-co-wallet-usd { font-size: 15px; font-weight: 800; color: var(--zx-yellow); margin-top: 4px; }
.zx-co-wallet-pts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.zx-co-wallet-pts img { width: 26px; height: 26px; filter: drop-shadow(0 4px 8px rgba(255, 201, 40, .4)); }
.zx-co-wallet-pts strong { font-size: 32px; font-weight: 900; line-height: 1; color: #fff; }
.zx-co-wallet-pts span { font-size: 14px; font-weight: 700; color: var(--zx-yellow); align-self: flex-end; padding-bottom: 3px; }
.zx-co-wallet-next { margin-top: 12px; }
.zx-co-wallet-next small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--zx-muted); }
.zx-co-wallet.is-guest { text-align: left; max-width: 280px; }
.zx-co-wallet.is-guest p { margin: 6px 0 12px; color: var(--zx-muted); font-size: 14px; }

.zx-co-bar { height: 7px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.zx-co-bar > div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff9f1a, #ffc928 60%, #ffe07a); box-shadow: 0 0 12px rgba(255, 201, 40, .5); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* ---- Tabs ---- */
.zx-co-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 18px; border-radius: 999px;
    background: rgba(10, 26, 46, .6); border: 1px solid rgba(255, 255, 255, .07); backdrop-filter: blur(8px); }
.zx-co-tab { display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px;
    background: transparent; color: var(--zx-muted); font-weight: 700; font-size: 14px; transition: color .2s, background .2s, box-shadow .2s, transform .15s; }
.zx-co-tab i { font-size: 12px; opacity: .8; }
.zx-co-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.zx-co-tab.active { color: var(--zx-navy-900); background: linear-gradient(145deg, #ffe07a, #ffc928 55%, #f5b800); box-shadow: 0 8px 22px -6px rgba(255, 201, 40, .6); }
.zx-co-tab.active i { opacity: 1; }
.zx-co-tab:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 2px; }

/* ---- Method tiles ---- */
.zx-co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 34px; }
.zx-co-card { position: relative; cursor: pointer; border-radius: 16px; overflow: hidden; outline: none; isolation: isolate;
    background: var(--co-deep); animation: zxCoIn .45s ease both;
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
.zx-co-card:hover, .zx-co-card:focus-visible { transform: translateY(-5px);
    box-shadow: 0 22px 40px -14px var(--co-to), 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.zx-co-card:focus-visible { box-shadow: 0 0 0 2px var(--zx-yellow), 0 22px 40px -14px var(--co-to); }
.zx-co-card-top { position: relative; height: 116px; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(160deg, var(--co-from), var(--co-to)); }
.zx-co-card-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .25); }
.zx-co-card-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-130%) skewX(-20deg); pointer-events: none; }
.zx-co-card:hover .zx-co-card-shine { animation: zxCoShine 1.1s ease; }
.zx-co-card-logo { position: relative; z-index: 1; transition: transform .3s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.zx-co-card:hover .zx-co-card-logo { transform: scale(1.1) rotate(-3deg); }
.zx-co-brand-icon { display: block; object-fit: contain; }
.zx-co-brand-icon.is-white { filter: brightness(0) invert(1); }
.zx-co-logo-tile { display: grid; place-items: center; border-radius: 16px; background: #fff; overflow: hidden; padding: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.zx-co-logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.zx-co-logo-tile i { color: var(--zx-navy-700); font-size: 22px; }
.zx-co-badge { position: absolute; top: 9px; right: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 6px;
    font-size: 10px; font-weight: 900; letter-spacing: .04em; line-height: 1.3; }
.zx-co-badge.is-ready { color: var(--zx-navy-900); background: linear-gradient(145deg, #ffe07a, #ffc928); box-shadow: 0 4px 12px rgba(255, 201, 40, .5); }
.zx-co-badge.is-hot { color: var(--zx-navy-900); background: #ffc928; }
.zx-co-badge.is-lock { color: #fff; background: rgba(0, 0, 0, .38); backdrop-filter: blur(4px); }
.zx-co-badge i { font-size: 9px; }
.zx-co-card-bottom { padding: 12px 14px 13px; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .3)), var(--co-deep); }
.zx-co-card-name { font-weight: 800; font-size: 15px; text-align: center; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.zx-co-card-meta { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 7px; font-size: 11.5px; color: rgba(255, 255, 255, .72); font-weight: 600; }
.zx-co-card-go { color: #fff; font-weight: 800; opacity: .85; transition: opacity .2s; }
.zx-co-card-go i { font-size: 10px; transition: transform .2s; }
.zx-co-card:hover .zx-co-card-go { opacity: 1; }
.zx-co-card:hover .zx-co-card-go i { transform: translateX(3px); }
.zx-co-card-bar { height: 4px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.zx-co-card-bar > div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb52b, #ffe07a); }
.zx-co-card.is-locked .zx-co-card-logo { opacity: .92; }

.zx-co-empty { text-align: center; padding: 40px 20px; margin-bottom: 30px; border-radius: 18px; color: var(--zx-muted); background: rgba(15, 42, 68, .5); border: 1px dashed rgba(255, 255, 255, .1); }
.zx-co-empty i { font-size: 30px; color: var(--zx-yellow); margin-bottom: 10px; }

/* ---- History ---- */
.zx-co-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.zx-co-history-head h2 { margin: 0; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.zx-co-history-head h2 i { color: var(--zx-yellow); font-size: 17px; }
.zx-co-table-wrap, .zx-co-history-empty { border-radius: 18px; background: #0b2941;
    border: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); backdrop-filter: blur(8px); }
.zx-co-table-wrap { overflow-x: auto; }
.zx-co-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.zx-co-table th { text-align: left; padding: 15px 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zx-muted); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.zx-co-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.zx-co-table tbody tr { transition: background .15s; }
.zx-co-table tbody tr:hover { background: rgba(255, 201, 40, .04); }
.zx-co-table tbody tr:last-child td { border-bottom: 0; }
.zx-co-hmethod { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.zx-co-hdot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, var(--co-from), var(--co-to)); }
.zx-co-hdot .zx-co-logo-tile { width: 30px !important; height: 30px !important; padding: 4px; border-radius: 9px; box-shadow: none; }
.zx-co-hamount { font-weight: 800; color: var(--zx-yellow); }
.zx-co-hacc { font-size: 12px !important; color: var(--zx-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
.zx-co-hdate { color: var(--zx-muted); font-size: 13px !important; }
.zx-co-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.zx-co-status.is-completed { color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); }
.zx-co-status.is-pending { color: #ffd76a; background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .3); }
.zx-co-status.is-rejected { color: #ff7a7a; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .3); }
.zx-co-history-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 20px; text-align: center; }
.zx-co-history-empty img { width: 54px; height: 54px; margin-bottom: 6px; opacity: .9; filter: drop-shadow(0 8px 16px rgba(255, 201, 40, .3)); animation: zxCoBob 4s ease-in-out infinite; }
.zx-co-history-empty strong { font-size: 15px; }
.zx-co-history-empty span { color: var(--zx-muted); font-size: 13px; }

/* ---- Modal ---- */
.zx-co-modal .zx-co-modal-box { padding: 0 !important; max-width: 470px; overflow: hidden auto; background: linear-gradient(180deg, #11304f, #0c2540) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 22px !important; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8) !important; }
.zx-co-modal-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 20px 20px 22px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .25), transparent 50%), linear-gradient(135deg, var(--co-from), var(--co-to) 60%, var(--co-deep)); }
.zx-co-modal-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); animation: zxCoShine 3.2s ease-in-out infinite; pointer-events: none; }
.zx-co-modal-logo { position: relative; width: 60px; height: 60px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.zx-co-modal-logo .zx-co-logo-tile { width: 52px !important; height: 52px !important; border-radius: 13px; }
.zx-co-modal-title { position: relative; flex: 1; min-width: 0; }
.zx-co-modal-title strong { display: block; font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.zx-co-modal-title span { font-size: 12.5px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.zx-co-modal-close { position: relative; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; border: 0; cursor: pointer; color: #fff; background: rgba(0, 0, 0, .25); transition: background .2s, transform .2s; }
.zx-co-modal-close:hover { background: rgba(0, 0, 0, .45); transform: rotate(90deg); }
.zx-co-modal-body { padding: 20px; }
.zx-co-progress { padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .06); }
.zx-co-progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; font-size: 13px; color: var(--zx-muted); }
.zx-co-progress-top strong { color: #fff; font-size: 13.5px; }
.zx-co-progress.is-ready .zx-co-progress-top span { color: #4ade80; font-weight: 700; }
.zx-co-progress-need { margin-top: 9px; font-size: 12.5px; color: #ff9a9a; }
.zx-co-progress-need b { color: #fff; }
.zx-co-amount { padding: 16px; border-radius: 16px; margin-bottom: 16px;
    background: radial-gradient(100% 120% at 100% 0%, rgba(255, 201, 40, .16), transparent 55%), rgba(255, 201, 40, .05);
    border: 1px solid rgba(255, 201, 40, .3); }
.zx-co-amount-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.zx-co-amount-value { font-size: 34px; font-weight: 900; line-height: 1.05; margin-top: 4px; background: linear-gradient(90deg, #ffe07a, #ffc928 60%, #ff9f1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zx-co-amount-pts { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); font-weight: 800; }
.zx-co-amount-pts img { width: 20px; height: 20px; }
.zx-co-amount-pts small { color: var(--zx-muted); font-weight: 700; }
.zx-co-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #ffb52b 0, #ffc928 var(--co-fill, 100%), rgba(0, 0, 0, .35) var(--co-fill, 100%)); }
.zx-co-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #ffc928; box-shadow: 0 0 0 4px rgba(255, 201, 40, .2), 0 4px 10px rgba(0, 0, 0, .4); cursor: grab; }
.zx-co-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid #ffc928; box-shadow: 0 0 0 4px rgba(255, 201, 40, .2); cursor: grab; }
.zx-co-range:disabled { opacity: .6; cursor: default; }
.zx-co-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.zx-co-quick-btn { border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .2); color: #fff; font-weight: 800; font-size: 12.5px; padding: 8px 0; border-radius: 9px; cursor: pointer; transition: all .15s; }
.zx-co-quick-btn:hover { border-color: rgba(255, 201, 40, .5); }
.zx-co-quick-btn.active { background: rgba(255, 201, 40, .15); border-color: var(--zx-yellow); color: var(--zx-yellow); }
.zx-co-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zx-muted); margin-bottom: 8px; }
.zx-co-input { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, box-shadow .2s; margin-bottom: 14px; }
.zx-co-input:focus-within { border-color: var(--zx-yellow); box-shadow: 0 0 0 3px rgba(255, 201, 40, .15); }
.zx-co-input i { color: var(--zx-muted); }
.zx-co-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 14px 0; font-size: 14.5px; }
.zx-co-input input:disabled { opacity: .55; }
.zx-co-summary { border-radius: 12px; padding: 4px 14px; margin-bottom: 16px; background: rgba(0, 0, 0, .18); }
.zx-co-summary > div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.zx-co-summary > div:last-child { border-bottom: 0; }
.zx-co-summary span { color: var(--zx-muted); }
.zx-co-green { color: #4ade80; }
.zx-co-cta { position: relative; overflow: hidden; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; cursor: pointer;
    padding: 15px 18px; border-radius: 13px; font-size: 16px; font-weight: 900; color: var(--zx-navy-900);
    background: linear-gradient(145deg, #ffe07a, #ffc928 50%, #f5a800);
    box-shadow: 0 14px 30px -10px rgba(255, 201, 40, .65), inset 0 -3px 0 rgba(0, 0, 0, .15), inset 0 2px 0 rgba(255, 255, 255, .45);
    transition: transform .15s, box-shadow .2s, filter .2s; }
.zx-co-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-130%) skewX(-20deg); }
.zx-co-cta:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.zx-co-cta:hover:not(:disabled)::after { animation: zxCoShine 1s ease; }
.zx-co-cta:disabled { cursor: not-allowed; color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); box-shadow: none; }
.zx-co-cta.is-small { width: auto; padding: 11px 20px; font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) { .zx-co-hero-chest { display: none; } }
@media (max-width: 860px) {
    .zx-co-hero { flex-direction: column; align-items: stretch; padding: 22px 18px; }
    .zx-co-wallet { text-align: left; min-width: 0; }
    .zx-co-wallet-pts { justify-content: flex-start; }
    .zx-co-title { font-size: 24px; }
}
@media (max-width: 560px) {
    .zx-co-hero-main { flex-direction: column; gap: 12px; }
    .zx-co-hero-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 13px; }
    .zx-co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .zx-co-card-top { height: 96px; }
    .zx-co-card-meta { font-size: 10.5px; }
    .zx-co-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; scrollbar-width: none; }
    .zx-co-tab { padding: 9px 14px; white-space: nowrap; }
    .zx-co-table { min-width: 0; }
    .zx-co-table thead { display: none; }
    .zx-co-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
    .zx-co-table td { padding: 0; border: 0; }
    .zx-co-table td:nth-child(3), .zx-co-table td:nth-child(4) { grid-column: 1; }
    .zx-co-table td:nth-child(2), .zx-co-table td:nth-child(5) { justify-self: end; }
    .zx-co-amount-value { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-co-bg::after, .zx-co-orb, .zx-co-coin, .zx-co-hero-chest, .zx-co-history-empty img, .zx-co-modal-shine, .zx-co-page, .zx-co-card { animation: none !important; }
}


/* =========================================================
   Rewards page v4 (zxearn style): Daily Tasks, Daily Streak,
   Bonus Code, Today stats. Page bg #081e2e.
   ========================================================= */
.zx-rw-view { padding-bottom: 10px; }
.zx-rw-view .ticker-wrap { margin-bottom: 20px; }
.zx-rw-card {
    position: relative;
    background: linear-gradient(160deg, #0f3049 0%, #0b2539 100%);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .03);
    margin: 0;
}
.zx-rw-tasks { margin-bottom: 18px; border-color: rgba(255, 201, 40, .16); }
.zx-rw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.zx-rw-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.zx-rw-title { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.zx-rw-sub { margin: 0; font-size: 13px; color: var(--zx-muted); }
.zx-rw-sub b { color: var(--zx-yellow); font-weight: 800; }
.zx-rw-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--zx-yellow); color: #081e2e;
    font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(255, 201, 40, .25); white-space: nowrap;
}
.zx-rw-reset { font-size: 12px; color: var(--zx-muted); white-space: nowrap; }
.zx-rw-reset b { color: var(--zx-yellow); font-size: 15px; font-weight: 800; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Task rows */
.zx-rw-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zx-rw-task {
    display: flex; align-items: center; gap: 14px;
    background: rgba(4, 18, 30, .45);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px; padding: 16px;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.zx-rw-task:hover { border-color: rgba(255, 201, 40, .25); transform: translateY(-1px); }
.zx-rw-task.is-ready { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .06); }
.zx-rw-task.is-claimed { opacity: .72; }
.zx-rw-num {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; color: #081e2e;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.zx-rw-num-1 { background: linear-gradient(135deg, #ffd65a, #f5a700); }
.zx-rw-num-2 { background: linear-gradient(135deg, #b7a6ff, #6f7dff); color: #fff; }
.zx-rw-num-3 { background: linear-gradient(135deg, #ff9fb4, #f0506e); color: #fff; }
.zx-rw-num-4 { background: linear-gradient(135deg, #6ff0b8, #18b67a); }
.zx-rw-task-body { flex: 1; min-width: 0; }
.zx-rw-task-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.zx-rw-task-top b { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx-rw-reward { display: inline-flex; align-items: center; gap: 5px; color: var(--zx-yellow); font-weight: 800; font-size: 13px; white-space: nowrap; }
.zx-rw-coin {
    width: 15px; height: 15px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #ffe27a, #f5b800); color: #7a5300;
    font-size: 9px; font-weight: 900;
}
.zx-rw-bar { height: 6px; background: rgba(255, 255, 255, .07); border-radius: 999px; overflow: hidden; }
.zx-rw-bar > div { height: 100%; background: linear-gradient(90deg, var(--zx-yellow), #ff9f1c); border-radius: inherit; transition: width .5s ease; }
.zx-rw-task.is-ready .zx-rw-bar > div, .zx-rw-task.is-claimed .zx-rw-bar > div { background: linear-gradient(90deg, #34d399, #16a34a); }
.zx-rw-task-body small { display: block; margin-top: 7px; font-size: 11px; color: var(--zx-muted); }
.zx-rw-go {
    flex-shrink: 0; min-width: 72px; height: 36px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 10px; border: 1px solid var(--zx-yellow);
    background: transparent; color: var(--zx-yellow);
    font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.zx-rw-go:hover { background: rgba(255, 201, 40, .12); color: var(--zx-yellow); }
.zx-rw-go.is-ready { background: var(--zx-yellow); color: #081e2e; box-shadow: var(--zx-yellow-glow); animation: zxRwPulse 1.8s ease-in-out infinite; }
.zx-rw-go.is-ready:hover { background: #ffd451; }
.zx-rw-go.is-claimed { border-color: rgba(34, 197, 94, .5); color: #34d399; cursor: default; }
.zx-rw-go:disabled { cursor: default; }
@keyframes zxRwPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 40, .45); } 50% { box-shadow: 0 0 0 8px rgba(255, 201, 40, 0); } }

/* Bottom grid */
.zx-rw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-bottom: 30px; }
.zx-rw-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Daily Streak */
.zx-rw-streak { text-align: center; }
.zx-rw-streak .zx-rw-head { text-align: left; }
.zx-rw-chest-wrap { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; margin: 4px 0 14px; }
.zx-rw-chest-glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 40, .28), transparent 65%); filter: blur(4px); }
.zx-rw-chest { position: relative; width: 150px; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }
.zx-rw-chest.is-ready { animation: zxRwFloat 3.2s ease-in-out infinite; }
@keyframes zxRwFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.zx-rw-chest-label {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    background: rgba(4, 18, 30, .85); border: 1px solid rgba(255, 201, 40, .35); color: var(--zx-yellow);
    font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.zx-rw-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; margin-bottom: 18px; }
.zx-rw-day {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px; border-radius: 12px;
    background: rgba(4, 18, 30, .45); border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .2s ease;
}
.zx-rw-day-n { font-size: 11px; font-weight: 700; color: var(--zx-muted); }
.zx-rw-day-v { font-size: 14px; font-weight: 800; color: #fff; }
.zx-rw-day-i { font-size: 11px; color: var(--zx-muted); }
.zx-rw-day.is-locked { opacity: .5; }
.zx-rw-day.is-claimed { background: rgba(255, 201, 40, .1); border-color: rgba(255, 201, 40, .3); }
.zx-rw-day.is-claimed .zx-rw-day-i { color: var(--zx-yellow); }
.zx-rw-day.is-active { border: 2px solid var(--zx-yellow); background: rgba(255, 201, 40, .12); box-shadow: 0 0 18px rgba(255, 201, 40, .25); animation: zxRPulse 1.8s ease-in-out infinite; }
.zx-rw-day.is-active .zx-rw-day-i { color: var(--zx-yellow); }
.zx-rw-day.is-waiting { border-color: rgba(255, 255, 255, .14); }
.zx-rw-cta {
    width: 100%; max-width: 260px; height: 46px; border: 0; border-radius: 12px;
    background: linear-gradient(180deg, #ffd34d, #f5b800); color: #081e2e;
    font-weight: 800; font-size: 15px; cursor: pointer;
    box-shadow: 0 10px 26px rgba(255, 201, 40, .3);
    transition: transform .15s ease, filter .15s ease;
}
.zx-rw-cta:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.zx-rw-cta:disabled { background: rgba(255, 255, 255, .08); color: var(--zx-muted); box-shadow: none; cursor: default; font-variant-numeric: tabular-nums; }

/* Bonus code */
.zx-rw-bonus { border-color: rgba(52, 211, 153, .18); }
.zx-rw-gift {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #34d399, #16a34a); color: #fff; font-size: 18px;
    box-shadow: 0 8px 20px rgba(34, 197, 94, .3);
}
.zx-rw-code-row { display: flex; gap: 10px; }
.zx-rw-input {
    flex: 1; min-width: 0; height: 46px; padding: 0 14px;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(4, 18, 30, .6); color: #fff;
    font-size: 14px; font-weight: 700; letter-spacing: .06em; outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.zx-rw-input::placeholder { color: rgba(143, 163, 191, .7); }
.zx-rw-input:focus { border-color: var(--zx-yellow); box-shadow: 0 0 0 3px rgba(255, 201, 40, .15); }
.zx-rw-btn {
    height: 46px; padding: 0 24px; border: 0; border-radius: 12px;
    background: var(--zx-yellow); color: #081e2e; font-weight: 800; font-size: 14px; cursor: pointer;
    box-shadow: var(--zx-yellow-glow); transition: filter .15s ease, opacity .15s ease;
}
.zx-rw-btn:hover:not(:disabled) { filter: brightness(1.06); }
.zx-rw-btn:disabled { opacity: .5; cursor: default; box-shadow: none; }

/* Today stats */
.zx-rw-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.zx-rw-stat {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    padding: 12px; border-radius: 12px; background: rgba(4, 18, 30, .45); border: 1px solid rgba(255, 255, 255, .05);
}
.zx-rw-stat-i { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.zx-rw-stat-i.is-blue { background: rgba(96, 165, 250, .15); color: #60a5fa; }
.zx-rw-stat-i.is-green { background: rgba(52, 211, 153, .15); color: #34d399; }
.zx-rw-stat-i.is-orange { background: rgba(251, 146, 60, .15); color: #fb923c; }
.zx-rw-stat-i.is-yellow { background: rgba(255, 201, 40, .15); color: var(--zx-yellow); }
.zx-rw-stat b { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.1; }
.zx-rw-stat small { font-size: 11px; color: var(--zx-muted); }
.zx-rw-earn {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px;
    border-radius: 12px; border: 1px solid rgba(255, 201, 40, .5); color: var(--zx-yellow);
    font-weight: 800; font-size: 14px; text-decoration: none; transition: background .2s ease;
}
.zx-rw-earn:hover { background: rgba(255, 201, 40, .1); color: var(--zx-yellow); }

@media (max-width: 900px) {
    .zx-rw-task-grid, .zx-rw-grid { grid-template-columns: minmax(0, 1fr); }
}
.zx-rw-bonus .zx-rw-head { flex-wrap: nowrap; }
@media (max-width: 520px) {
    .zx-rw-card { padding: 16px; border-radius: 16px; }
    .zx-rw-task { padding: 12px; gap: 10px; }
    .zx-rw-num { width: 32px; height: 32px; font-size: 14px; }
    .zx-rw-go { min-width: 60px; padding: 0 10px; }
    .zx-rw-code-row { flex-direction: column; }
    .zx-rw-input { flex: none; width: 100%; }
    .zx-rw-btn { width: 100%; }
    .zx-rw-task-top { flex-direction: column; align-items: flex-start; gap: 4px; }
    .zx-rw-task-top b { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-rw-chest, .zx-rw-go.is-ready, .zx-rw-day.is-active { animation: none !important; }
}

/* =========================================================
   FAQ page v2 (polished): hero + search, chips, accordion, help CTA
   ========================================================= */
.zx-fq-view { padding-bottom: 10px; }
.zx-fq { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.zx-fq-hero {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 24px;
    padding: 30px 40px; border-radius: 22px;
    background:
        radial-gradient(520px 260px at 85% 50%, rgba(255, 201, 40, .16), transparent 70%),
        linear-gradient(150deg, #0f3049 0%, #0a2335 100%);
    border: 1px solid rgba(255, 201, 40, .18);
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
}
.zx-fq-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 201, 40, .12); color: var(--zx-yellow);
    font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.zx-fq-hero h1 { font-size: 38px; font-weight: 900; line-height: 1.1; margin: 14px 0 10px; color: #fff; }
.zx-fq-hero h1 span { color: var(--zx-yellow); }
.zx-fq-hero p { color: var(--zx-muted); font-size: 15px; line-height: 1.6; margin: 0 0 22px; max-width: 520px; }
.zx-fq-search {
    display: flex; align-items: center; gap: 12px; max-width: 520px; height: 52px; padding: 0 18px;
    border-radius: 14px; background: rgba(4, 18, 30, .7); border: 1px solid rgba(255, 255, 255, .08);
    color: var(--zx-muted); transition: border-color .2s ease, box-shadow .2s ease; margin: 0;
}
.zx-fq-search:focus-within { border-color: var(--zx-yellow); box-shadow: 0 0 0 4px rgba(255, 201, 40, .14); }
.zx-fq-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; }
.zx-fq-search input::placeholder { color: rgba(143, 163, 191, .75); }
.zx-fq-hero-art { width: 100%; max-width: 250px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); animation: zxRwFloat 5s ease-in-out infinite; }

.zx-fq-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.zx-fq-chip {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08);
    background: #0d2a40; color: #c9d6e8; font-weight: 700; font-size: 14px; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.zx-fq-chip:hover { border-color: rgba(255, 201, 40, .4); color: #fff; }
.zx-fq-chip.is-active { background: var(--zx-yellow); color: #081e2e; border-color: var(--zx-yellow); box-shadow: var(--zx-yellow-glow); }

.zx-fq-group { display: flex; flex-direction: column; gap: 12px; }
.zx-fq-group-head { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.zx-fq-group-head h2 { font-size: 19px; font-weight: 800; margin: 0; color: #fff; }
.zx-fq-group-icon {
    width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 201, 40, .12); color: var(--zx-yellow); font-size: 15px;
}
.zx-fq-count { font-size: 12px; font-weight: 800; color: var(--zx-muted); background: rgba(255, 255, 255, .06); padding: 3px 9px; border-radius: 999px; }
.zx-fq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.zx-fq-item {
    border-radius: 16px; background: linear-gradient(160deg, #0f3049 0%, #0b2539 100%);
    border: 1px solid rgba(255, 255, 255, .07); overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.zx-fq-item:hover { border-color: rgba(255, 201, 40, .3); }
.zx-fq-item.is-open { border-color: rgba(255, 201, 40, .5); box-shadow: 0 14px 34px -20px rgba(255, 201, 40, .35); }
.zx-fq-q {
    width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px;
    background: none; border: 0; text-align: left; color: #fff; cursor: pointer; font-family: inherit;
}
.zx-fq-num { flex-shrink: 0; font-size: 13px; font-weight: 900; color: var(--zx-yellow); opacity: .8; font-variant-numeric: tabular-nums; }
.zx-fq-q-text { flex: 1; font-size: 15px; font-weight: 700; line-height: 1.35; }
.zx-fq-toggle {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); color: var(--zx-yellow); font-size: 12px;
    transition: transform .3s ease, background .2s ease, color .2s ease;
}
.zx-fq-item.is-open .zx-fq-toggle { transform: rotate(45deg); background: var(--zx-yellow); color: #081e2e; }
.zx-fq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.zx-fq-item.is-open .zx-fq-a { grid-template-rows: 1fr; }
.zx-fq-a-inner { overflow: hidden; padding: 0 18px 0 49px; color: var(--zx-muted); font-size: 14px; line-height: 1.65; }
.zx-fq-item.is-open .zx-fq-a-inner { padding-bottom: 18px; }
.zx-fq-a-inner p { margin: 0; }
.zx-fq-a-inner ul { margin: 10px 0 0; padding-left: 18px; }
.zx-fq-a-inner li { margin-bottom: 6px; }
.zx-fq-a-inner li::marker { color: var(--zx-yellow); }

.zx-fq-empty { text-align: center; padding: 40px 20px; border-radius: 16px; background: #0d2a40; color: var(--zx-muted); }
.zx-fq-empty i { font-size: 32px; color: var(--zx-yellow); margin-bottom: 10px; }
.zx-fq-empty p { margin: 0 0 14px; }

.zx-fq-help {
    display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px;
    background: linear-gradient(120deg, rgba(255, 201, 40, .14), rgba(255, 201, 40, .03) 60%), #0d2a40;
    border: 1px solid rgba(255, 201, 40, .25);
}
.zx-fq-help-icon {
    width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--zx-yellow); color: #081e2e; font-size: 20px; box-shadow: var(--zx-yellow-glow);
}
.zx-fq-help-text { flex: 1; min-width: 0; }
.zx-fq-help-text h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #fff; }
.zx-fq-help-text p { margin: 0; font-size: 14px; color: var(--zx-muted); }
.zx-fq-help-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px;
    background: var(--zx-yellow); color: #081e2e; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
    transition: filter .15s ease, transform .15s ease;
}
.zx-fq-help-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #081e2e; }

@media (max-width: 900px) {
    .zx-fq-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
    .zx-fq-hero-art { display: none; }
    .zx-fq-hero h1 { font-size: 30px; }
    .zx-fq-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .zx-fq-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .zx-fq-chips::-webkit-scrollbar { display: none; }
    .zx-fq-chip { flex-shrink: 0; }
    .zx-fq-help { flex-direction: column; text-align: center; }
    .zx-fq-help-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .zx-fq-hero-art { animation: none; } }


/* =========================================================
   MOBILE ZXEARN STYLE (phones + tablets)
   Header, bottom menu, fold-out footer and landing spacing.
   Kept at the end of the file so it wins over older rules.
   ========================================================= */
:root { --zx-bnav-h: 66px; }

/* Footer sections: desktop shows them open, heading is plain text */
.zx-acc-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; padding: 0; margin: 0; background: none; border: none;
    color: inherit; text-align: left; cursor: default;
}
.zx-acc-head h4 { margin: 6px 0; }
.zx-acc-chev { display: none; }
.zx-acc-body { display: flex; flex-direction: column; gap: 14px; }
.zx-footer-sep { margin: 0 10px; color: var(--zx-navy-500); }

/* Bottom menu hidden on desktop */
.zx-bnav { display: none; }

@media (max-width: 992px) {
    /* ---------- Header ---------- */
    :root { --header-height: 62px; }
    .top-header.zx-header {
        height: var(--header-height);
        padding: 0 14px !important;
        border-radius: 0 0 16px 16px !important;
        background: #0a2237 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important;
    }
    .top-header .mobile-menu-btn { display: none !important; }
    .zx-header-left { gap: 0; min-width: 0; flex: 1 1 auto; }
    .zx-brand { min-width: 0; }
    .zx-brand-img { height: 36px; max-width: 150px; }
    .zx-brand-text { font-size: 24px; }
    .top-header .user-controls { gap: 8px; flex-shrink: 0; }
    .top-header .user-controls .zx-btn { padding: 9px 13px; font-size: 13.5px; border-radius: 9px; box-shadow: none; }
    .top-header .user-controls .zx-btn-outline { border-width: 1.5px; }
    /* Signed in: balance, avatar, bell (like zxearn) */
    .top-header .zx-balance { order: 1; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
    .top-header .zx-profile { order: 2; }
    .top-header .notification-bell { order: 3; }
    .top-header .zx-cashout-btn, .top-header .zx-balance-name { display: none !important; }
    .top-header .zx-icon-btn.bell-btn { background: transparent !important; border-color: transparent !important; color: #fff !important; font-size: 20px !important; width: 38px; height: 38px; }
    .top-header .notif-badge { top: 0; right: 0; }
    .zx-avatar, .top-header .user-controls a img.zx-avatar { width: 38px; height: 38px; }
    .notification-dropdown { position: fixed; top: calc(var(--header-height) + 8px); left: 10px; right: 10px; width: auto; }

    /* ---------- Bottom menu ---------- */
    .zx-bnav {
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400;
        height: calc(var(--zx-bnav-h) + env(safe-area-inset-bottom));
        padding: 0 6px env(safe-area-inset-bottom);
        background: #0b2a42;
        border-top: 1px solid rgba(255, 255, 255, .06);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
    }
    .zx-bnav-item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        height: var(--zx-bnav-h); padding: 0; margin: 0;
        background: none; border: none; cursor: pointer;
        color: #fff; text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: color .2s ease, transform .15s ease;
    }
    .zx-bnav-item:active { transform: scale(.94); }
    .zx-bnav-item > i { font-size: 21px; line-height: 1; height: 22px; }
    .zx-bnav-label { font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .01em; }
    .zx-bnav-item.active, .zx-bnav-item.active .zx-bnav-label { color: var(--zx-yellow); }
    .zx-bnav-svg { width: 26px; height: 26px; display: block; }

    .zx-bnav-center { justify-content: flex-end; padding-bottom: 11px; }
    .zx-bnav-bubble {
        display: flex; align-items: center; justify-content: center;
        width: 58px; height: 58px; margin-top: -30px; margin-bottom: 1px;
        border-radius: 50%;
        background: #0b2a42;
        border: 1.5px solid var(--zx-yellow);
        color: var(--zx-yellow);
        box-shadow: 0 -6px 18px rgba(0, 0, 0, .3), 0 0 18px rgba(255, 201, 40, .18);
    }
    .zx-bnav-bubble i { font-size: 24px; }
    .zx-bnav-center .zx-bnav-label { color: #fff; }
    .zx-bnav-center.active .zx-bnav-label { color: var(--zx-yellow); }

    /* Room for the bottom menu so nothing hides behind it */
    body.has-zx-bnav .main-content { padding-bottom: calc(var(--zx-bnav-h) + env(safe-area-inset-bottom)); }
    .zx-float-btns { right: 12px !important; bottom: calc(var(--zx-bnav-h) + env(safe-area-inset-bottom) + 14px) !important; }
    .chat-sidebar { bottom: calc(var(--zx-bnav-h) + env(safe-area-inset-bottom) + 10px) !important; height: calc(100dvh - var(--header-height) - var(--zx-bnav-h) - 30px) !important; }

    /* Side drawer (opened by "Menu") sits above the bottom menu */
    .sidebar { z-index: 1600 !important; }
    .sidebar-overlay { z-index: 1550 !important; }
}

/* ---------- Footer: phones ---------- */
@media (max-width: 768px) {
    .app-footer.zx-footer {
        width: 100vw;
        margin: 56px 0 0 calc(50% - 50vw) !important;
        border-radius: 22px 22px 0 0 !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, .06) !important;
        background: linear-gradient(180deg, #0b2a42 0%, #081e2e 100%) !important;
    }
    .zx-footer-inner { display: block; padding: 30px 18px 6px; }
    .zx-footer-brand { padding-bottom: 22px; }
    .zx-footer-brand .zx-brand-img { height: 42px; max-width: 170px; }
    .zx-footer-brand p { font-size: 15px; line-height: 1.6; color: #dbe5f1; margin: 18px 0 22px; max-width: none; }
    .zx-socials { gap: 12px; }
    .zx-social { width: 40px; height: 40px; }

    .zx-footer-col.zx-acc { gap: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
    .zx-acc-head { cursor: pointer; padding: 17px 0; -webkit-tap-highlight-color: transparent; }
    .zx-acc-head h4 { margin: 0; font-size: 16px; font-weight: 700; }
    .zx-acc-chev { display: inline-block; color: #fff; font-size: 15px; transition: transform .25s ease; }
    .zx-acc.open .zx-acc-chev { transform: rotate(180deg); }
    .zx-acc-body { display: none; gap: 14px; padding: 0 0 18px 2px; }
    .zx-acc.open .zx-acc-body { display: flex; animation: zxAccIn .22s ease; }
    .zx-acc-body a { font-size: 15px; }

    .zx-footer-bottom {
        flex-direction: column; align-items: center; text-align: center; gap: 12px;
        margin: 0 18px; padding: 24px 0 26px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        color: #c9d6e8; font-size: 15px;
    }
    .zx-footer-legal { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; }
    .zx-footer-legal a { color: #a9b8cc; }
}
@keyframes zxAccIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Landing page: phones ---------- */
@media (max-width: 600px) {
    .dashboard-view { padding: 14px 14px 0 !important; }
    .ticker-wrap.zx-live { margin: 0 0 14px !important; }

    .zx-hero { width: 100% !important; gap: 22px !important; padding-top: 6px !important; }
    .zx-hero-title { font-size: 28px !important; line-height: 1.22 !important; margin-bottom: 14px !important; }
    .zx-hero-sub { font-size: 14.5px !important; line-height: 1.5; padding: 0 6px; }
    .zx-fan-wrap { margin-top: 26px !important; }

    .zx-signup-card { padding: 26px 16px 22px !important; border-radius: 16px !important; scroll-margin-top: 80px; }
    .zx-signup-card h2 { font-size: 21px !important; margin-bottom: 12px !important; }
    .zx-chip { margin-bottom: 20px !important; font-size: 12.5px; padding: 7px 14px; }
    .zx-field { height: 48px; padding: 0 14px; }
    .zx-field input { font-size: 15px; }
    .zx-signup-alt { margin-top: 16px !important; }

    .zx-h2 { font-size: 23px !important; line-height: 1.25 !important; margin-bottom: 20px !important; padding: 0 4px; }
    .zx-section, .zx-how { margin-top: 46px !important; }
    .zx-stats { margin-top: 40px !important; gap: 12px !important; }
    .zx-stat { padding: 20px 16px !important; border-radius: 14px !important; }
    .zx-stat-value { font-size: 26px !important; }
    .zx-stat-label { font-size: 13.5px !important; }

    .zx-how { gap: 22px !important; }
    .zx-step { font-size: 14px !important; padding: 13px 14px !important; }
    .zx-way { border-radius: 16px !important; }
    .zx-way-body h3 { font-size: 20px !important; }
    .zx-way-body p { font-size: 13.5px !important; }

    .zx-brand-item { padding: 10px 14px !important; }
    .zx-brand-item span { font-size: 14px !important; }

    .zx-faq-item summary { font-size: 14.5px !important; }
    .zx-cta { margin-top: 46px !important; padding: 44px 18px !important; border-radius: 18px !important; }
    .zx-cta h2 { font-size: 24px !important; line-height: 1.25; }
}
@media (max-width: 360px) {
    .zx-brand-img { height: 30px; max-width: 112px; }
    .top-header .user-controls .zx-btn { padding: 8px 10px; font-size: 12.5px; }
    .zx-hero-title { font-size: 25px !important; }
    .zx-bnav-label { font-size: 11px; }
}
@media (max-width: 600px) {
    .zx-float-btns { gap: 8px !important; }
    .zx-float-btn { width: 44px !important; height: 44px !important; font-size: 18px !important; border-radius: 12px !important; }
}

/* =========================================================
   LANDING POLISH v2 (zxearn.com match)
   ========================================================= */
.zx-eyebrow {
    text-align: center; color: var(--zx-yellow);
    font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    margin: 0 0 10px;
}
.zx-payout .zx-h2 { margin-bottom: 14px; }
.zx-payout-sub { text-align: center; color: #b9c7da; font-size: 16px; line-height: 1.55; max-width: 560px; margin: 0 auto 34px; }

.zx-payout-grid { display: grid; grid-template-columns: 1.17fr 1fr; gap: 24px; align-items: stretch; }
.zx-payout-total {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
    padding: 36px 26px 26px; border-radius: 26px; text-align: center;
    border: 1px solid rgba(255, 255, 255, .07);
    background: #0b2941;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
}
.zx-payout-total .zx-pill-dot { background: rgba(8, 30, 46, .55); border-color: rgba(255, 201, 40, .35); }
.zx-payout-label { font-size: 22px; font-weight: 800; color: #c9d6e8; margin-top: 22px; }
.zx-payout-amount {
    font-size: 66px; font-weight: 900; line-height: 1.05; margin-top: 8px;
    background: linear-gradient(180deg, #ffe48a 0%, #ffc928 55%, #f5a800 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 8px 26px rgba(255, 201, 40, .3));
}
.zx-payout-chip {
    margin-top: 18px; padding: 8px 14px; border-radius: 999px;
    background: rgba(8, 30, 46, .6); border: 1px solid rgba(255, 255, 255, .08);
    color: #dbe5f1; font-size: 12.5px; font-weight: 700;
}
.zx-payout-methods { margin-top: auto; padding-top: 30px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; width: 100%; }
.zx-payout-method {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 54px; border-radius: 12px; text-decoration: none;
    background: #1c2430; border: 1px solid rgba(255, 255, 255, .1);
    color: var(--zx-yellow); font-weight: 800; font-size: 14px;
    transition: transform .15s ease, filter .2s ease;
}
.zx-payout-method.is-first { background: linear-gradient(180deg, #4a7fd0, #2f5fae); color: #fff; border-color: rgba(255, 255, 255, .18); }
.zx-payout-method:hover { transform: translateY(-2px); filter: brightness(1.08); }
.zx-payout-method img { width: 22px; height: 22px; object-fit: contain; }

.zx-payout-list {
    display: flex; flex-direction: column; gap: 10px;
    padding: 20px; border-radius: 26px;
    background: #0b2941;
    border: 1px solid rgba(255, 255, 255, .07);
}
.zx-payout-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 8px; }
.zx-payout-head-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.zx-payout-head strong { display: block; font-size: 16px; color: #fff; }
.zx-payout-head small { display: block; color: var(--zx-muted); font-size: 12px; margin-top: 2px; }
.zx-payout-live {
    flex-shrink: 0; color: #4ade80; font-weight: 800; font-size: 11px; letter-spacing: .06em;
    padding: 5px 12px; border-radius: 999px;
    background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .45);
}
.zx-payout-row {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 16px; border-radius: 14px;
    background: #183552; border: 1px solid rgba(255, 255, 255, .06);
    transition: background .2s ease;
}
.zx-payout-row:hover { background: #1c3c5d; }
.zx-payout-ini {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #ffe9a3, #ffc928);
    color: #0a1a2e; font-weight: 900; font-size: 13px;
}
.zx-payout-user { flex: 1; min-width: 0; }
.zx-payout-user strong { display: block; font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx-payout-user small { display: block; color: var(--zx-muted); font-size: 12px; margin-top: 2px; }
.zx-payout-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.zx-payout-amt img { width: 18px; height: 18px; object-fit: contain; }
.zx-payout-amt small { color: var(--zx-muted); font-size: 11px; font-weight: 600; }
.zx-payout-amt b { color: var(--zx-yellow); font-size: 16px; font-weight: 800; }

@media (max-width: 900px) {
    .zx-payout-grid { grid-template-columns: 1fr; }
    .zx-payout-total { padding-top: 30px; }
}
@media (max-width: 600px) {
    .zx-payout-sub { font-size: 14px; margin-bottom: 22px; padding: 0 6px; }
    .zx-payout-total { border-radius: 18px; padding: 26px 16px 16px; }
    .zx-payout-label { font-size: 18px; margin-top: 16px; }
    .zx-payout-amount { font-size: 44px; }
    .zx-payout-methods { padding-top: 22px; }
    .zx-payout-method { height: 48px; font-size: 13px; }
    .zx-payout-list { padding: 14px; border-radius: 18px; gap: 8px; }
    .zx-payout-row { padding: 10px 12px; gap: 12px; }
}

/* Live cashouts — premium polish (cards stay #0b2941). */
.zx-payout-total, .zx-payout-list {
    position: relative; isolation: isolate;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 26px 60px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.zx-payout-total::before, .zx-payout-list::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
    background: linear-gradient(160deg, rgba(255, 201, 40, .45), rgba(255, 255, 255, .04) 38%, rgba(255, 255, 255, 0) 62%, rgba(255, 201, 40, .18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.zx-payout-total::after {
    content: ""; position: absolute; left: 50%; top: 42%; width: 340px; height: 180px; z-index: -1; pointer-events: none;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 201, 40, .13), transparent);
    filter: blur(6px);
}
.zx-payout-total:hover, .zx-payout-list:hover {
    transform: translateY(-3px); border-color: rgba(255, 201, 40, .2);
    box-shadow: 0 32px 70px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 201, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.zx-payout-total .zx-pill-dot { background: rgba(255, 201, 40, .08); border-color: rgba(255, 201, 40, .4); box-shadow: 0 0 18px rgba(255, 201, 40, .1); }
.zx-payout-label { letter-spacing: -.01em; color: #dbe5f1; }
.zx-payout-amount { letter-spacing: -.02em; filter: drop-shadow(0 10px 30px rgba(255, 201, 40, .35)); }
.zx-payout-chip { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.zx-payout-method { position: relative; overflow: hidden; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.zx-payout-method.is-first {
    background: linear-gradient(180deg, #4f86d8 0%, #2f5fae 100%);
    box-shadow: 0 12px 26px -10px rgba(47, 95, 174, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.zx-payout-method::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.zx-payout-method:hover::after { left: 120%; }

.zx-payout-head { padding: 4px 4px 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.zx-payout-head strong { font-size: 16.5px; letter-spacing: -.01em; }
.zx-payout-live { display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 0 16px rgba(74, 222, 128, .15); }
.zx-payout-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: zxLivePulse 1.8s ease-out infinite; }
.zx-payout-row {
    position: relative; overflow: hidden;
    background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .06);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
    animation: zxPayRowIn .5s ease both;
}
.zx-payout-row::before {
    content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #ffe48a, #ffc928); opacity: 0; transition: opacity .25s ease;
}
.zx-payout-row:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 201, 40, .22); transform: translateX(3px); }
.zx-payout-row:hover::before { opacity: 1; }
.zx-payout-row:nth-of-type(2) { animation-delay: .06s; }
.zx-payout-row:nth-of-type(3) { animation-delay: .12s; }
.zx-payout-row:nth-of-type(4) { animation-delay: .18s; }
.zx-payout-row:nth-of-type(5) { animation-delay: .24s; }
.zx-payout-row:nth-of-type(n+6) { animation-delay: .3s; }
.zx-payout-ini { box-shadow: 0 0 0 3px rgba(255, 201, 40, .14), 0 6px 14px -4px rgba(255, 201, 40, .45); }
.zx-payout-amt b { text-shadow: 0 0 14px rgba(255, 201, 40, .3); }
@keyframes zxPayRowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (hover: none) {
    .zx-payout-total:hover, .zx-payout-list:hover, .zx-payout-row:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-payout-row, .zx-payout-live::before { animation: none; }
    .zx-payout-total, .zx-payout-list, .zx-payout-row, .zx-payout-method::after { transition: none; }
}

/* Footer on computers: full width like zxearn, content lined up with the page */
@media (min-width: 769px) {
    .app-footer.zx-footer {
        width: 100vw;
        margin: 90px 0 0 calc(50% - 50vw) !important;
        border-radius: 32px 32px 0 0 !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, .05) !important;
        background:
            radial-gradient(800px 300px at 50% 115%, rgba(255, 201, 40, .1), transparent 70%),
            linear-gradient(180deg, #0b2a42 0%, #081e2e 100%) !important;
    }
    .zx-footer-inner { max-width: 1305px; width: calc(100% - 56px); margin: 0 auto; padding: 56px 0 40px; grid-template-columns: 1.45fr 1fr 1fr 1fr; }
    .zx-footer-brand .zx-brand { margin-left: -4px; }
    .zx-footer-bottom { max-width: 1305px; margin: 0 auto; padding: 22px 0 28px; width: calc(100% - 56px); border-top: 1px solid rgba(255, 255, 255, .08); }
}


/* ===== Live feed v2 (zxearn cards, no auto-scroll, drag to move) ===== */
.zx-live .ticker-track,
.zx-live .ticker-track:hover { animation: none !important; transform: none !important; }
.zx-live .zx-live-scroll {
    display: flex; gap: 8px; width: auto; max-width: 100%;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    cursor: grab; user-select: none; -webkit-user-select: none;
    padding: 2px 28px 2px 0;
}
.zx-live .zx-live-scroll::-webkit-scrollbar { display: none; }
.zx-live .zx-live-scroll.is-dragging { cursor: grabbing; }
.zx-live .zx-live-scroll.is-dragging .ticker-item { pointer-events: none; }

.zx-live .ticker-item {
    flex: 0 0 auto;
    height: 44px; box-sizing: border-box;
    display: flex; align-items: center; gap: 9px !important;
    padding: 6px 12px 6px 8px !important;
    border-radius: 10px !important;
    background: #102b47 !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    transition: border-color .2s ease, background .2s ease;
}
.zx-live .ticker-item:hover { background: #133353 !important; border-color: rgba(255, 201, 40, .25) !important; }
.zx-live .ticker-item.is-new { animation: zxLiveIn .55s cubic-bezier(.2, .8, .2, 1) both; border-color: rgba(255, 201, 40, .55) !important; }
@keyframes zxLiveIn {
    0% { opacity: 0; transform: translateX(-18px) scale(.96); }
    100% { opacity: 1; transform: none; }
}

.zx-live .zx-live-avatar { width: 30px; height: 30px; }
.zx-live .ticker-info { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.1; min-width: 0; }
.zx-live .ticker-user {
    font-size: 13px !important; font-weight: 800 !important; color: #fff !important;
    max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.zx-live .ticker-action {
    display: flex !important; align-items: center; max-width: 118px;
    font-size: 10.5px !important; font-weight: 600 !important; color: #8ea4bf !important;
    white-space: nowrap; overflow: hidden;
}
.zx-live .zx-live-offer { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.zx-live .zx-live-ago { flex: 0 0 auto; }

.zx-live .ticker-value {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: 6px; font-size: 14px; font-weight: 800;
    color: var(--zx-yellow) !important; white-space: nowrap;
}
.zx-live .zx-feed-coin {
    width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 40% 35%, #ffe27a, #f5b800 70%);
    border: 1.5px solid #c98d00;
    color: #8a5d00; font-size: 10px !important; font-weight: 900; line-height: 1;
    box-shadow: 0 0 0 1px rgba(255, 201, 40, .25);
}
.zx-live .zx-feed-coin.is-cash { background: radial-gradient(circle at 40% 35%, #7ef0a8, #22c55e 70%); border-color: #15803d; color: #064e2b; }
.zx-live .ticker-withdraw { color: #4ade80 !important; }

.zx-live .zx-live-empty {
    display: flex; align-items: center; height: 44px; padding: 0 14px;
    border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .12);
    color: #8ea4bf; font-size: 12px; font-weight: 600;
}
@media (max-width: 600px) {
    .zx-live .ticker-item { height: 42px; padding: 5px 10px 5px 6px !important; }
    .zx-live .ticker-user { max-width: 80px; }
    .zx-live .ticker-action { max-width: 96px; }
}

.zx-live .ticker-item[role="button"] { cursor: pointer; }
.zx-live .ticker-item[role="button"]:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 1px; }
.zx-live .zx-live-scroll.is-dragging .ticker-item[role="button"] { cursor: grabbing; }

/* ===== Public profile popup (opens from the live feed, zxearn style) ===== */
.zx-up-backdrop {
    position: fixed; inset: 0; z-index: 3000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(3, 12, 22, .72);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    animation: zxUpFade .18s ease both;
}
@keyframes zxUpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zxUpPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.zx-up-modal {
    position: relative; display: grid; grid-template-columns: 205px 1fr;
    width: 100%; max-width: 760px; max-height: min(600px, calc(100vh - 40px));
    border-radius: 20px; overflow: hidden;
    background: linear-gradient(180deg, #123250, #0d2640);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    color: #fff; font-family: inherit;
    animation: zxUpPop .22s cubic-bezier(.2, .8, .2, 1) both;
}
.zx-up-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #163a5c; color: #fff; border: 1px solid rgba(255, 201, 40, .35);
    cursor: pointer; font-size: 14px; transition: background .15s ease;
}
.zx-up-close:hover { background: #1d4670; }

.zx-up-left {
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 16px 16px; border-right: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .015); min-height: 0;
}
.zx-up-avatar-wrap { position: relative; }
.zx-up-avatar {
    width: 92px; height: 92px; border-radius: 22px; object-fit: cover; display: block;
    background: #fde9b0; border: 2px solid rgba(0, 0, 0, .35);
}
.zx-up-left > .zx-up-avatar { margin-bottom: 0; }
.zx-up-flag {
    position: absolute; top: -6px; right: -10px; width: 26px; height: 26px;
    border-radius: 50%; object-fit: cover; border: 2px solid #0d2640; background: #fff;
}
.zx-up-name { margin-top: 12px; font-size: 16px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-up-level { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 16px; }
.zx-up-star { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; }
.zx-up-star i { font-size: 22px; color: var(--zx-yellow); }
.zx-up-star.is-next i { color: #7fb0f5; }
.zx-up-star b { position: absolute; font-size: 8px; font-weight: 900; color: #3a2a00; top: 8px; }
.zx-up-star.is-next b { color: #0d2640; }
.zx-up-bar { flex: 1; height: 6px; border-radius: 999px; background: #0a1e33; overflow: hidden; }
.zx-up-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd84d, var(--zx-yellow)); }
.zx-up-level-nums { display: flex; justify-content: space-between; width: 100%; margin-top: 6px; font-size: 11px; font-weight: 700; color: #a8bad0; }
.zx-up-joined { margin-top: 14px; font-size: 12px; color: #8ea4bf; font-weight: 600; }
.zx-up-mute {
    margin-top: auto; width: 100%; padding: 10px 12px; border-radius: 10px;
    background: #163a5c; border: 1px solid rgba(255, 255, 255, .1);
    color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit;
    transition: background .15s ease, border-color .15s ease;
}
.zx-up-left .zx-up-joined + .zx-up-mute { margin-top: auto; }
.zx-up-left { gap: 0; }
.zx-up-left .zx-up-mute { margin-top: 28px; }
.zx-up-mute:hover { background: #1b4468; }
.zx-up-mute.is-on { border-color: rgba(248, 113, 113, .5); color: #fca5a5; }

.zx-up-right { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 16px 0 0 20px; }
.zx-up-tabs { display: flex; gap: 8px; padding-right: 60px; margin-bottom: 8px; }
.zx-up-tabs button {
    padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; cursor: pointer; font-family: inherit;
    background: #102b47; color: #c5d3e3; border: 1px solid rgba(255, 255, 255, .12);
}
.zx-up-tabs button.is-active { background: var(--zx-yellow); color: #1a1300; border-color: transparent; box-shadow: 0 6px 18px rgba(255, 201, 40, .25); }
.zx-up-scroll { overflow-y: auto; padding: 4px 18px 18px 0; min-height: 0; scrollbar-width: thin; scrollbar-color: #3b5878 transparent; }
.zx-up-scroll::-webkit-scrollbar { width: 6px; }
.zx-up-scroll::-webkit-scrollbar-thumb { background: #3b5878; border-radius: 6px; }
.zx-up-state { display: flex; align-items: center; justify-content: center; min-height: 240px; color: #a8bad0; font-weight: 600; font-size: 14px; padding-right: 20px; }

.zx-up-h { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; font-size: 15px; font-weight: 800; color: #fff; }
.zx-up-h i { color: var(--zx-yellow); font-size: 13px; }
.zx-up-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zx-up-stat {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
    background: #143656; border: 1px solid rgba(255, 255, 255, .08);
}
.zx-up-stat-ic {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: var(--zx-yellow); font-size: 13px;
}
.zx-up-stat strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.zx-up-stat small { display: block; font-size: 11px; color: #a8bad0; font-weight: 600; }

.zx-up-table { display: flex; flex-direction: column; gap: 6px; }
.zx-up-row {
    display: grid; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 10px; font-size: 12.5px;
    background: #143656; border: 1px solid rgba(255, 255, 255, .07);
}
.zx-up-row.is-head { background: none; border: none; padding: 0 10px 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #8ea4bf; }
.zx-up-cols-offer { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) 82px 86px; }
.zx-up-cols-cash { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) 82px 86px; }
.zx-up-offer { display: flex; align-items: center; gap: 9px; min-width: 0; }
.zx-up-offer b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-up-offer-img {
    position: relative; width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: #0b2137; color: var(--zx-yellow); font-size: 12px;
}
.zx-up-offer-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.zx-up-muted, .zx-up-method { color: #c5d3e3; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-up-pts { color: var(--zx-yellow); font-weight: 800; white-space: nowrap; }
.zx-up-time { color: #a8bad0; font-size: 11.5px; white-space: nowrap; }
.zx-up-status { font-weight: 800; font-size: 12px; }
.zx-up-status.is-paid { color: #4ade80; }
.zx-up-status.is-pending { color: var(--zx-yellow); }
.zx-up-empty { padding: 14px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .12); color: #8ea4bf; font-size: 12.5px; font-weight: 600; }

.zx-up-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.zx-up-badge {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
    padding: 14px 8px; border-radius: 12px;
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06);
    opacity: .5;
}
.zx-up-badge.is-done { opacity: 1; background: #17406a; border-color: rgba(255, 201, 40, .4); }
.zx-up-badge-ic {
    width: 34px; height: 34px; border-radius: 50%; margin-bottom: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #8ea4bf; font-size: 13px;
}
.zx-up-badge.is-done .zx-up-badge-ic { background: rgba(255, 201, 40, .16); color: var(--zx-yellow); }
.zx-up-badge strong { font-size: 13px; font-weight: 800; }
.zx-up-badge small { font-size: 10.5px; color: #a8bad0; font-weight: 600; }

@media (max-width: 720px) {
    .zx-up-backdrop { padding: 10px; align-items: flex-end; }
    .zx-up-modal { grid-template-columns: 1fr; max-height: calc(100vh - 20px); overflow-y: auto; }
    .zx-up-left { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .07); padding: 18px 16px 14px; }
    .zx-up-left .zx-up-mute { margin-top: 14px; }
    .zx-up-right { padding: 14px 0 0 14px; }
    .zx-up-scroll { overflow: visible; padding-right: 14px; }
    .zx-up-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zx-up-cols-offer, .zx-up-cols-cash { grid-template-columns: minmax(0, 1.8fr) 70px 70px; }
    .zx-up-cols-offer > :nth-child(2), .zx-up-cols-cash > :nth-child(2) { display: none; }
    .zx-up-cols-cash > :nth-child(2) { display: block; }
    .zx-up-cols-cash > :nth-child(3) { display: none; }
}

/* ===== Live feed + profile popup colour: #0d2e43 (zxearn) ===== */
.zx-live .ticker-item { background: #0d2e43 !important; border-color: rgba(255, 255, 255, .07) !important; }
.zx-live .ticker-item:hover { background: #113650 !important; }
.zx-up-modal { background: #0d2e43; border-color: rgba(255, 255, 255, .1); }
.zx-up-left { background: #0d2e43; border-right-color: rgba(255, 255, 255, .08); }
.zx-up-close { background: #0d2e43; }
.zx-up-close:hover { background: #143a55; }
.zx-up-tabs button { background: #0d2e43; border-color: rgba(255, 255, 255, .14); }
.zx-up-stat, .zx-up-row:not(.is-head) { background: #123850; border-color: rgba(255, 255, 255, .08); }
.zx-up-offer-img { background: #0d2e43; }
.zx-up-mute { background: #123850; }
.zx-up-mute:hover { background: #17425d; }
.zx-up-badge { background: rgba(255, 255, 255, .03); }
.zx-up-badge.is-done { background: #123850; }
.zx-up-bar { background: #08202f; }
.zx-up-flag { border-color: #0d2e43; }
@media (max-width: 720px) { .zx-up-left { border-bottom-color: rgba(255, 255, 255, .08); } }

/* Private profile box */
.zx-up-private {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    margin: 8px 0 4px; padding: 36px 24px 34px; border-radius: 14px;
    background: #123850; border: 1px solid rgba(255, 255, 255, .1);
}
.zx-up-private-ic {
    width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: var(--zx-yellow); font-size: 16px;
}
.zx-up-private strong { font-size: 16px; font-weight: 800; }
.zx-up-private p { margin: 18px 0 0; max-width: 300px; color: #b6c6d8; font-size: 13px; line-height: 1.5; }
.zx-up-selfnote {
    margin: 2px 18px 4px 0; padding: 8px 12px; border-radius: 10px;
    background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .3);
    color: #ffe08a; font-size: 12px; font-weight: 700;
}

/* Account page: Public / Private switch */
.zx-privacy-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.zx-privacy-label { font-size: 14px; font-weight: 700; color: #8ea4bf; transition: color .15s ease; }
.zx-privacy-label.is-on { color: #fff; }
.zx-switch {
    position: relative; width: 44px; height: 24px; border-radius: 999px; padding: 0; cursor: pointer;
    background: #2a4a63; border: 1px solid rgba(255, 255, 255, .14); transition: background .2s ease;
}
.zx-switch.is-on { background: var(--zx-yellow); border-color: transparent; }
.zx-switch:disabled { opacity: .7; cursor: wait; }
.zx-switch-knob {
    position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
    background: #e8eef5; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s ease;
}
.zx-switch.is-on .zx-switch-knob { transform: translateX(20px); background: #fff; }
.zx-privacy-help { margin: 10px 0 0; color: #8ea4bf; font-size: 12.5px; line-height: 1.5; max-width: 460px; }

/* =========================================================
   MY ACCOUNT PAGE (account.php -> AccountApp in react-app.js)
   Everything is scoped to .zx-account-page so no other page changes.
   ========================================================= */
.zx-account-page {
    --acc-bg: #0d2e43;
    --acc-inner: #123850;
    --acc-hover: #113650;
    --acc-border: #1e4b6c;
    --acc-line: rgba(255, 255, 255, .08);
    --acc-text: #f1f6fb;
    --acc-muted: #93aec6;
    --acc-gold: #f59e0b;
    --acc-gold-2: #fbbf24;
    --acc-green: #10b981;
    --acc-cyan: #06b6d4;
    --acc-red: #ef4444;
    --acc-radius: 16px;
    display: flex; flex-direction: column; gap: 18px;
    max-width: 1200px; margin: 0 auto; padding-bottom: 28px;
    color: var(--acc-text);
}
.zx-account-page *, .zx-account-page *::before, .zx-account-page *::after { box-sizing: border-box; }
.zx-account-page .zx-acc-card {
    background: var(--acc-bg); border: 1px solid var(--acc-border); border-radius: var(--acc-radius);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.zx-account-page .zx-acc-h { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
.zx-account-page .zx-acc-h i { color: var(--acc-gold-2); font-size: 14px; }
.zx-account-page .zx-acc-muted { color: var(--acc-muted); margin: 4px 0 0; font-size: 14px; }

/* alerts */
.zx-account-page .zx-acc-alert { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid; }
.zx-account-page .zx-acc-alert.is-error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #fca5a5; }
.zx-account-page .zx-acc-alert.is-success { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .35); color: #6ee7b7; }

/* buttons */
.zx-account-page .zx-acc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
    border-radius: 11px; border: 1px solid transparent; font-weight: 800; font-size: 14px; text-decoration: none;
    cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap;
}
.zx-account-page .zx-acc-btn:active { transform: translateY(1px); }
.zx-account-page .zx-acc-btn:disabled { opacity: .6; cursor: default; }
.zx-account-page .zx-acc-btn.is-primary { background: var(--acc-cyan); color: #032633; }
.zx-account-page .zx-acc-btn.is-primary:hover { background: #22d3ee; }
.zx-account-page .zx-acc-btn.is-gold { background: linear-gradient(135deg, var(--acc-gold-2), var(--acc-gold)); color: #2a1a00; box-shadow: 0 8px 22px -10px rgba(245, 158, 11, .7); }
.zx-account-page .zx-acc-btn.is-gold:hover { box-shadow: 0 10px 26px -8px rgba(245, 158, 11, .8); }
.zx-account-page .zx-acc-btn.is-ghost { background: var(--acc-inner); color: #fff; border-color: var(--acc-border); }
.zx-account-page .zx-acc-btn.is-ghost:hover { background: var(--acc-hover); border-color: #2b6390; }
.zx-account-page button:focus-visible, .zx-account-page a:focus-visible, .zx-account-page input:focus-visible { outline: 2px solid var(--acc-cyan); outline-offset: 2px; }

/* ---------- hero ---------- */
.zx-account-page .zx-acc-hero {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px 28px;
    align-items: center; padding: 26px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(6, 182, 212, .14), transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(245, 158, 11, .10), transparent 60%),
        var(--acc-bg);
}
.zx-account-page .zx-acc-hero-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.zx-account-page .zx-acc-avatar-wrap { position: relative; flex-shrink: 0; }
.zx-account-page .zx-acc-avatar {
    width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block;
    border: 3px solid var(--acc-inner); box-shadow: 0 0 0 2px var(--acc-cyan), 0 12px 28px -10px rgba(6, 182, 212, .55); background: var(--acc-inner);
}
.zx-account-page .zx-acc-flag { position: absolute; left: -2px; bottom: 4px; width: 28px; height: 20px; border-radius: 4px; object-fit: cover; border: 2px solid var(--acc-bg); }
.zx-account-page .zx-acc-lvl {
    position: absolute; right: -6px; bottom: -2px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px;
    border-radius: 999px; background: linear-gradient(135deg, var(--acc-gold-2), var(--acc-gold)); color: #2a1a00;
    font-size: 12px; font-weight: 900; border: 2px solid var(--acc-bg);
}
.zx-account-page .zx-acc-lvl i { font-size: 9px; }
.zx-account-page .zx-acc-who { min-width: 0; }
.zx-account-page .zx-acc-name { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 900; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-email { margin: 6px 0 0; color: var(--acc-muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zx-account-page .zx-acc-rank, .zx-account-page .zx-acc-since {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: var(--acc-inner); border: 1px solid var(--acc-line); color: var(--acc-muted);
}
.zx-account-page .zx-acc-rank { color: var(--rank, var(--acc-cyan)); border-color: color-mix(in srgb, var(--rank, #06b6d4) 45%, transparent); background: color-mix(in srgb, var(--rank, #06b6d4) 12%, transparent); }

/* XP bar */
.zx-account-page .zx-acc-xp { background: var(--acc-inner); border: 1px solid var(--acc-line); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.zx-account-page .zx-acc-xp-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.zx-account-page .zx-acc-xp-lv { color: #fff; }
.zx-account-page .zx-acc-xp-lv i { color: var(--acc-gold-2); }
.zx-account-page .zx-acc-xp-next { color: var(--acc-muted); }
.zx-account-page .zx-acc-xp-track {
    position: relative; display: block; width: 100%; height: 22px; margin: 10px 0 8px; padding: 0; border: 0; border-radius: 999px;
    background: #0a2537; overflow: hidden; cursor: pointer; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4);
}
.zx-account-page .zx-acc-xp-fill {
    position: absolute; inset: 0 auto 0 0; border-radius: inherit; transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
    background: linear-gradient(90deg, #0891b2, var(--acc-cyan) 60%, #67e8f9);
    box-shadow: 0 0 18px rgba(6, 182, 212, .55);
}
.zx-account-page .zx-acc-xp-fill::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); background-size: 200% 100%;
    animation: zxAccShine 2.6s linear infinite;
}
@keyframes zxAccShine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.zx-account-page .zx-acc-xp-label { position: relative; z-index: 1; display: block; text-align: center; font-size: 12px; font-weight: 800; color: #fff; line-height: 22px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.zx-account-page .zx-acc-xp-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--acc-muted); }
.zx-account-page .zx-acc-xp-foot b { color: var(--acc-cyan); }
.zx-account-page .zx-acc-xp-pct { font-weight: 800; color: #fff; }

/* quick actions */
.zx-account-page .zx-acc-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--acc-line); }
.zx-account-page .zx-acc-actions .is-gold { margin-left: auto; }
.zx-account-page .zx-acc-vis-chip {
    display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; border: 1px solid;
}
.zx-account-page .zx-acc-vis-chip.is-public { color: #6ee7b7; background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .4); }
.zx-account-page .zx-acc-vis-chip.is-private { color: var(--acc-gold-2); background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .4); }

/* ---------- stats ---------- */
.zx-account-page .zx-acc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.zx-account-page .zx-acc-stat { --tone: var(--acc-cyan); display: flex; align-items: flex-start; gap: 12px; padding: 16px; min-width: 0; transition: transform .2s ease, border-color .2s ease; }
.zx-account-page .zx-acc-stat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tone) 55%, var(--acc-border)); }
.zx-account-page .zx-acc-stat.is-gold { --tone: var(--acc-gold); }
.zx-account-page .zx-acc-stat.is-amber { --tone: var(--acc-gold-2); }
.zx-account-page .zx-acc-stat.is-green { --tone: var(--acc-green); }
.zx-account-page .zx-acc-stat.is-blue { --tone: #60a5fa; }
.zx-account-page .zx-acc-stat-ic {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
    color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); font-size: 16px;
}
.zx-account-page .zx-acc-stat-body { display: flex; flex-direction: column; min-width: 0; }
.zx-account-page .zx-acc-stat small { font-size: 12px; font-weight: 700; color: var(--acc-muted); text-transform: uppercase; letter-spacing: .03em; }
.zx-account-page .zx-acc-stat strong { margin-top: 4px; font-size: 19px; font-weight: 900; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-stat-sub { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--tone); }

/* ---------- tabs ---------- */
.zx-account-page .zx-acc-tabs {
    display: flex; gap: 8px; padding: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    background: var(--acc-bg); border: 1px solid var(--acc-border); border-radius: 14px; scroll-snap-type: x proximity;
}
.zx-account-page .zx-acc-tabs::-webkit-scrollbar { display: none; }
.zx-account-page .zx-acc-tab {
    flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px;
    border: 0; border-radius: 10px; background: transparent; color: var(--acc-muted); font-size: 14px; font-weight: 800; cursor: pointer;
    white-space: nowrap; scroll-snap-align: center; transition: background .15s ease, color .15s ease;
}
.zx-account-page .zx-acc-tab:hover { background: var(--acc-hover); color: #fff; }
.zx-account-page .zx-acc-tab.is-active { background: var(--acc-inner); color: #fff; box-shadow: inset 0 -2px 0 var(--acc-cyan); }
.zx-account-page .zx-acc-tab.is-active i { color: var(--acc-cyan); }
.zx-account-page .zx-acc-tab-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; color: #fff; }
.zx-account-page .zx-acc-tabpanel { animation: zxAccFade .25s ease; }
@keyframes zxAccFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* panels */
.zx-account-page .zx-acc-panel { padding: 20px; min-width: 0; }
.zx-account-page .zx-acc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.zx-account-page .zx-acc-count { font-size: 12px; font-weight: 700; color: var(--acc-muted); background: var(--acc-inner); padding: 5px 10px; border-radius: 999px; }
.zx-account-page .zx-acc-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }

/* badges */
.zx-account-page .zx-acc-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.zx-account-page .zx-acc-badge {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px;
    background: var(--acc-inner); border: 1px solid var(--acc-line); border-radius: 14px; min-width: 0; transition: background .15s ease, transform .15s ease;
}
.zx-account-page .zx-acc-badge:hover { background: var(--acc-hover); transform: translateY(-2px); }
.zx-account-page .zx-acc-badge-ic {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 4px;
    border-radius: 50%; font-size: 18px; color: #5b7a95; background: #0b2638; border: 2px dashed #2a5578;
}
.zx-account-page .zx-acc-badge.is-done { border-color: rgba(245, 158, 11, .35); background: linear-gradient(180deg, rgba(245, 158, 11, .10), var(--acc-inner)); }
.zx-account-page .zx-acc-badge.is-done .zx-acc-badge-ic { color: #2a1a00; background: linear-gradient(135deg, var(--acc-gold-2), var(--acc-gold)); border: 0; box-shadow: 0 6px 18px -6px rgba(245, 158, 11, .8); }
.zx-account-page .zx-acc-badge-lock { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc-bg); color: var(--acc-muted); font-size: 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--acc-border); }
.zx-account-page .zx-acc-badge strong { font-size: 13px; color: #fff; }
.zx-account-page .zx-acc-badge.is-locked strong { color: #c3d3e2; }
.zx-account-page .zx-acc-badge small { font-size: 11px; color: var(--acc-muted); line-height: 1.35; }
.zx-account-page .zx-acc-badge-state { margin-top: 4px; font-size: 11px; font-weight: 800; color: var(--acc-gold-2); }
.zx-account-page .zx-acc-badge-prog { width: 100%; margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.zx-account-page .zx-acc-mini-bar { display: block; height: 5px; border-radius: 999px; background: #0a2537; overflow: hidden; }
.zx-account-page .zx-acc-mini-bar span { display: block; height: 100%; border-radius: inherit; background: var(--acc-cyan); }
.zx-account-page .zx-acc-badge-num { font-size: 10px; font-weight: 700; color: var(--acc-muted); }

/* activity feed */
.zx-account-page .zx-acc-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.zx-account-page .zx-acc-feed-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--acc-inner); border-radius: 12px; border: 1px solid transparent; transition: background .15s ease; }
.zx-account-page .zx-acc-feed-item:hover { background: var(--acc-hover); border-color: var(--acc-line); }
.zx-account-page .zx-acc-feed-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; font-size: 14px; color: var(--acc-gold-2); background: rgba(245, 158, 11, .12); }
.zx-account-page .zx-acc-feed-item.is-cashout .zx-acc-feed-ic { color: var(--acc-green); background: rgba(16, 185, 129, .12); }
.zx-account-page .zx-acc-feed-item.is-rejected .zx-acc-feed-ic { color: #f87171; background: rgba(239, 68, 68, .12); }
.zx-account-page .zx-acc-feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zx-account-page .zx-acc-feed-body b { font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-feed-body small { font-size: 12px; color: var(--acc-muted); }
.zx-account-page .zx-acc-feed-val { font-size: 13px; font-weight: 800; color: var(--acc-gold-2); white-space: nowrap; }
.zx-account-page .zx-acc-feed-item.is-cashout .zx-acc-feed-val { color: var(--acc-green); }
.zx-account-page .zx-acc-feed-item.is-rejected .zx-acc-feed-val { color: #f87171; text-decoration: line-through; }

/* earnings filters + list */
.zx-account-page .zx-acc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.zx-account-page .zx-acc-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 44px; background: var(--acc-inner); border: 1px solid var(--acc-border); border-radius: 12px; color: var(--acc-muted); }
.zx-account-page .zx-acc-search:focus-within { border-color: var(--acc-cyan); }
.zx-account-page .zx-acc-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 14px; }
.zx-account-page .zx-acc-search input::placeholder { color: #6f8ba4; }
.zx-account-page .zx-acc-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.zx-account-page .zx-acc-chips::-webkit-scrollbar { display: none; }
.zx-account-page .zx-acc-chip { flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--acc-border); background: var(--acc-inner); color: var(--acc-muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.zx-account-page .zx-acc-chip:hover { background: var(--acc-hover); color: #fff; }
.zx-account-page .zx-acc-chip.is-active { color: #032633; background: var(--acc-cyan); border-color: transparent; }
.zx-account-page .zx-acc-list { display: flex; flex-direction: column; gap: 8px; }
.zx-account-page .zx-acc-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--acc-inner); border-radius: 12px; transition: background .15s ease; }
.zx-account-page .zx-acc-row:hover { background: var(--acc-hover); }
.zx-account-page .zx-acc-thumb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #0b2638; color: var(--acc-cyan); font-size: 17px; border: 1px solid var(--acc-line); }
.zx-account-page .zx-acc-thumb.is-bonus { color: var(--acc-gold-2); }
.zx-account-page .zx-acc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zx-account-page .zx-acc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.zx-account-page .zx-acc-row-main b { max-width: 100%; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-net { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #7dd3fc; background: rgba(6, 182, 212, .12); border: 1px solid rgba(6, 182, 212, .3); }
.zx-account-page .zx-acc-net.is-bonus { color: var(--acc-gold-2); background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .3); }
.zx-account-page .zx-acc-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.zx-account-page .zx-acc-coin { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #2a1a00; background: linear-gradient(135deg, var(--acc-gold-2), var(--acc-gold)); }
.zx-account-page .zx-acc-time { font-size: 12px; color: var(--acc-muted); }

/* cashouts table */
.zx-account-page .zx-acc-table { display: flex; flex-direction: column; gap: 6px; }
.zx-account-page .zx-acc-tr { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; background: var(--acc-inner); border-radius: 12px; font-size: 14px; transition: background .15s ease; }
.zx-account-page .zx-acc-tr:not(.is-head):hover { background: var(--acc-hover); }
.zx-account-page .zx-acc-tr.is-head { background: transparent; padding-top: 0; padding-bottom: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--acc-muted); }
.zx-account-page .zx-acc-method { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zx-account-page .zx-acc-method b { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-account-page .zx-acc-method-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; color: var(--acc-green); background: rgba(16, 185, 129, .12); }
.zx-account-page .zx-acc-amount { display: flex; flex-direction: column; font-weight: 900; color: #fff; }
.zx-account-page .zx-acc-amount small { font-size: 11px; font-weight: 600; color: var(--acc-muted); }
.zx-account-page .zx-acc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid; }
.zx-account-page .zx-acc-pill.is-paid { color: #34d399; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .4); }
.zx-account-page .zx-acc-pill.is-pending { color: var(--acc-gold-2); background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); }
.zx-account-page .zx-acc-pill.is-rejected { color: #f87171; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .4); }

/* empty state */
.zx-account-page .zx-acc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 16px; background: var(--acc-inner); border-radius: 14px; border: 1px dashed var(--acc-border); }
.zx-account-page .zx-acc-empty-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #0b2638; color: var(--acc-cyan); font-size: 20px; }
.zx-account-page .zx-acc-empty strong { color: #fff; font-size: 15px; }
.zx-account-page .zx-acc-empty p { margin: 0 0 6px; color: var(--acc-muted); font-size: 13px; }

/* settings */
.zx-account-page .zx-acc-settings { display: flex; flex-direction: column; gap: 18px; }
.zx-account-page .zx-acc-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.zx-account-page .zx-acc-vis-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.zx-account-page .zx-acc-vis {
    position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; text-align: left; cursor: pointer;
    background: var(--acc-inner); border: 2px solid var(--acc-line); border-radius: 14px; color: var(--acc-text); transition: border-color .15s ease, background .15s ease;
}
.zx-account-page .zx-acc-vis:hover { background: var(--acc-hover); }
.zx-account-page .zx-acc-vis:disabled { cursor: progress; }
.zx-account-page .zx-acc-vis-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; font-size: 16px; background: #0b2638; color: var(--acc-muted); }
.zx-account-page .zx-acc-vis-body { display: flex; flex-direction: column; gap: 4px; padding-right: 22px; }
.zx-account-page .zx-acc-vis-body b { font-size: 15px; color: #fff; }
.zx-account-page .zx-acc-vis-body small { font-size: 12px; line-height: 1.45; color: var(--acc-muted); }
.zx-account-page .zx-acc-vis-dot { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3a6488; }
.zx-account-page .zx-acc-vis.is-on.is-public { border-color: var(--acc-green); }
.zx-account-page .zx-acc-vis.is-on.is-public .zx-acc-vis-ic { color: var(--acc-green); background: rgba(16, 185, 129, .14); }
.zx-account-page .zx-acc-vis.is-on.is-public .zx-acc-vis-dot { border-color: var(--acc-green); box-shadow: inset 0 0 0 3px var(--acc-inner); background: var(--acc-green); }
.zx-account-page .zx-acc-vis.is-on.is-private { border-color: var(--acc-gold); }
.zx-account-page .zx-acc-vis.is-on.is-private .zx-acc-vis-ic { color: var(--acc-gold-2); background: rgba(245, 158, 11, .14); }
.zx-account-page .zx-acc-vis.is-on.is-private .zx-acc-vis-dot { border-color: var(--acc-gold); box-shadow: inset 0 0 0 3px var(--acc-inner); background: var(--acc-gold); }
.zx-account-page .zx-acc-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.zx-account-page .zx-acc-form .zx-acc-btn { align-self: flex-start; }
.zx-account-page .zx-acc-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--acc-muted); }
.zx-account-page .zx-acc-input {
    width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--acc-border); background: var(--acc-inner);
    color: #fff; font-size: 15px; outline: 0; transition: border-color .15s ease, box-shadow .15s ease;
}
.zx-account-page .zx-acc-input:focus { border-color: var(--acc-cyan); box-shadow: 0 0 0 3px rgba(6, 182, 212, .18); }
.zx-account-page .zx-acc-input::placeholder { color: #6f8ba4; }
.zx-account-page .zx-acc-pass { position: relative; }
.zx-account-page .zx-acc-pass .zx-acc-input { padding-right: 46px; }
.zx-account-page .zx-acc-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--acc-muted); cursor: pointer; }
.zx-account-page .zx-acc-eye:hover { color: #fff; }
.zx-account-page .zx-acc-strength { display: flex; gap: 4px; }
.zx-account-page .zx-acc-strength i { flex: 1; height: 4px; border-radius: 999px; background: #0a2537; }
.zx-account-page .zx-acc-strength.is-1 i:nth-child(1) { background: var(--acc-red); }
.zx-account-page .zx-acc-strength.is-2 i:nth-child(-n+2) { background: var(--acc-gold); }
.zx-account-page .zx-acc-strength.is-3 i { background: var(--acc-green); }
.zx-account-page .zx-acc-note { display: flex; gap: 8px; margin: 16px 0 0; color: var(--acc-muted); font-size: 14px; line-height: 1.5; }

/* no-JS fallback */
.zx-account-page.zx-acc-fallback .zx-acc-title { margin: 0; font-size: 24px; font-weight: 900; }
.zx-account-page.zx-acc-fallback .zx-acc-hero { display: flex; gap: 16px; }
.zx-account-page.zx-acc-fallback .zx-acc-card { padding: 20px; }
.zx-account-page.zx-acc-fallback .zx-acc-form label { display: flex; flex-direction: column; gap: 6px; color: var(--acc-muted); font-size: 13px; font-weight: 700; }
.zx-account-page.zx-acc-fallback .zx-acc-h { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .zx-account-page .zx-acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zx-account-page .zx-acc-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .zx-account-page .zx-acc-hero { grid-template-columns: minmax(0, 1fr); }
    .zx-account-page .zx-acc-overview, .zx-account-page .zx-acc-settings-grid { grid-template-columns: minmax(0, 1fr); }
    .zx-account-page .zx-acc-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .zx-account-page { gap: 14px; }
    .zx-account-page .zx-acc-hero { padding: 18px; gap: 16px; }
    .zx-account-page .zx-acc-avatar { width: 72px; height: 72px; }
    .zx-account-page .zx-acc-name { font-size: 21px; }
    .zx-account-page .zx-acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .zx-account-page .zx-acc-stat { padding: 12px; gap: 10px; flex-direction: column; }
    .zx-account-page .zx-acc-stat:last-child { grid-column: 1 / -1; }
    .zx-account-page .zx-acc-stat strong { font-size: 17px; }
    .zx-account-page .zx-acc-actions { gap: 8px; }
    .zx-account-page .zx-acc-actions .zx-acc-btn { flex: 1 1 auto; }
    .zx-account-page .zx-acc-actions .is-gold { margin-left: 0; }
    .zx-account-page .zx-acc-vis-chip { flex: 0 0 auto; }
    .zx-account-page .zx-acc-tab { flex: 0 0 auto; padding: 0 14px; font-size: 13px; }
    .zx-account-page .zx-acc-panel { padding: 14px; }
    .zx-account-page .zx-acc-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zx-account-page .zx-acc-vis-group { grid-template-columns: minmax(0, 1fr); }
    .zx-account-page .zx-acc-form .zx-acc-btn { align-self: stretch; }
    .zx-account-page .zx-acc-tr.is-head { display: none; }
    .zx-account-page .zx-acc-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
    .zx-account-page .zx-acc-tr .zx-acc-method { grid-column: 1 / -1; }
    .zx-account-page .zx-acc-tr [data-label="Date"] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-account-page *, .zx-account-page *::after { animation: none !important; transition: none !important; }
}


/* ===== Recommended Offers v2 (cards + popup text) ===== */
.zx-rec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zx-rec-head .section-title { margin-bottom: 0; }
.zx-rec-nav { display: flex; gap: 8px; }
.zx-rec-arrow {
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: #123850; border: 1px solid #1e4b6c; color: #fff; font-size: 13px;
    transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.zx-rec-arrow:hover:not(:disabled) { background: var(--zx-yellow); color: #0a1a2e; border-color: var(--zx-yellow); }
.zx-rec-arrow:disabled { opacity: .35; cursor: default; }
.zx-rec-row {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: visible; padding: 6px 2px 16px;
    scroll-snap-type: x proximity; scroll-padding-left: 2px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.zx-rec-row::-webkit-scrollbar { display: none; }
.zx-rec-empty { color: var(--zx-muted); padding: 20px; margin: 0; }
.zx-rec-card {
    flex: 0 0 152px; width: 152px; scroll-snap-align: start;
    display: flex; flex-direction: column; position: relative; cursor: pointer;
    border-radius: 14px; overflow: hidden;
    background: linear-gradient(180deg, #14385d 0%, #0d2643 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.zx-rec-card:hover { transform: translateY(-3px); border-color: rgba(255, 201, 40, .55); box-shadow: 0 16px 32px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 201, 40, .15); }
.zx-rec-card:focus-visible { outline: 2px solid var(--zx-yellow); outline-offset: 2px; }
.zx-rec-img {
    position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #234f80, #10294a);
    display: flex; align-items: center; justify-content: center;
}
.zx-rec-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.zx-rec-card:hover .zx-rec-img img { transform: scale(1.06); }
.zx-rec-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(13, 38, 67, .85)); pointer-events: none; }
.zx-rec-fallback { display: none; font-size: 26px; color: var(--zx-yellow); opacity: .85; position: relative; z-index: 1; }
.zx-rec-img.no-img .zx-rec-fallback { display: block; }
.zx-rec-os { position: absolute; top: 6px; right: 6px; z-index: 2; display: flex; gap: 4px; }
.zx-rec-os span {
    width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .94); color: #0a1a2e; font-size: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.zx-rec-steps {
    position: absolute; left: 6px; bottom: 6px; z-index: 2;
    padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 800; color: #fff;
    background: rgba(10, 26, 46, .8); border: 1px solid rgba(255, 255, 255, .18);
}
.zx-rec-steps i { color: var(--zx-yellow); }
.zx-rec-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 9px 9px 11px; flex: 1; }
.zx-rec-name {
    width: 100%; text-align: center; color: #fff; font-weight: 800; font-size: 12.5px; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.zx-rec-pts {
    margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    height: 28px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #fff;
    background: rgba(255, 201, 40, .1); border: 1px solid rgba(255, 201, 40, .4);
    transition: background .2s ease, color .2s ease;
}
.zx-rec-pts i { color: var(--zx-yellow); transition: color .2s ease; }
.zx-rec-card:hover .zx-rec-pts { background: linear-gradient(180deg, #ffd54f 0%, #ffc928 55%, #f5b301 100%); color: #0a1a2e; border-color: transparent; }
.zx-rec-card:hover .zx-rec-pts i { color: #0a1a2e; }
@media (max-width: 600px) {
    .zx-rec-nav { display: none; }
    .zx-rec-card { flex-basis: 134px; width: 134px; }
    .zx-rec-row { gap: 9px; }
}

/* Popup: long names / descriptions never break the layout */
.zx-om-head { min-width: 0; }
.zx-om-title {
    flex: 1; min-width: 0; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.zx-om-desc { overflow-wrap: anywhere; white-space: pre-line; }
.zx-om-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zx-om-more {
    border: 0; background: none; padding: 0; margin: 0 0 6px; cursor: pointer; font-family: inherit;
    color: var(--zx-yellow); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
}
.zx-om-more i { font-size: 11px; }
.zx-om-more[hidden] { display: none; }
.zx-om-regions { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow-y: auto; }
.zx-om-regions[hidden] { display: none; }
.zx-om-region {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; white-space: nowrap;
}


/* ======================================================
   v8: Premium wall cards (zxearn style)
   Colour comes from Admin > Networks > Background Color (--acc).
   --acc-ink = readable text colour on that colour (set by PHP/JS).
   ====================================================== */
.zx-wc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
    padding: 4px 0 8px;
}
.zx-wc {
    --acc: #ffc928;
    --acc-ink: #0a1a2e;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 156px;
    padding: 18px 16px 12px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    /* lighter, colour-rich navy (less black) + soft spotlight behind the logo */
    background:
        radial-gradient(60% 55% at 50% 42%, rgba(255, 255, 255, .11), transparent 70%),
        radial-gradient(140% 95% at 50% -15%, color-mix(in srgb, var(--acc) 60%, transparent), transparent 65%),
        linear-gradient(165deg,
            color-mix(in srgb, var(--acc) 42%, #1b3d63) 0%,
            color-mix(in srgb, var(--acc) 22%, #163454) 55%,
            color-mix(in srgb, var(--acc) 14%, #13304e) 100%);
    border: 1.5px solid color-mix(in srgb, var(--acc) 70%, rgba(255, 255, 255, .25));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .26),
        0 2px 0 color-mix(in srgb, var(--acc) 25%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -24px 40px color-mix(in srgb, var(--acc) 10%, transparent);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .25s ease;
    -webkit-tap-highlight-color: transparent;
}
/* soft glass highlight on top */
.zx-wc::before {
    content: "";
    position: absolute; inset: 0 0 55% 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent);
    pointer-events: none;
    z-index: -1;
}
/* shine sweep on hover */
.zx-wc::after {
    content: "";
    position: absolute; top: -60%; left: -80%;
    width: 50%; height: 220%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .14) 50%, transparent 100%);
    transform: rotate(18deg) translateX(0);
    opacity: 0;
    pointer-events: none;
    transition: none;
}
.zx-wc:hover {
    transform: translateY(-5px);
    border-color: var(--acc);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, .38),
        0 0 30px color-mix(in srgb, var(--acc) 40%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -24px 40px color-mix(in srgb, var(--acc) 16%, transparent);
}
.zx-wc:hover::after { opacity: 1; transform: rotate(18deg) translateX(520%); transition: transform .9s ease, opacity .2s ease; }
.zx-wc:active { transform: translateY(-2px) scale(.985); }
.zx-wc:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* corner badge (Admin > Networks > Card Badge) */
.zx-wc-badge, .zx-wc-bonus {
    position: absolute; top: 0; z-index: 3;
    padding: 4px 10px 5px;
    font-size: 9.5px; font-weight: 900; letter-spacing: .06em; line-height: 1;
    text-transform: uppercase; white-space: nowrap;
    max-width: 75%; overflow: hidden; text-overflow: ellipsis;
}
.zx-wc-badge {
    right: 12px;
    /* Admin > Networks > Badge Color (falls back to the card colour) */
    color: var(--badge-ink, var(--acc-ink));
    background: linear-gradient(180deg, color-mix(in srgb, var(--badge, var(--acc)) 70%, #ffffff), var(--badge, var(--acc)));
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--badge, var(--acc)) 45%, transparent), inset 0 -1px 0 rgba(0, 0, 0, .12);
}
/* bonus % badge (Admin > Networks > Bonus %) */
.zx-wc-bonus {
    left: 12px;
    color: #0a1a2e;
    background: linear-gradient(180deg, #ffe07a, #ffc928);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(255, 201, 40, .4);
}

/* logo */
.zx-wc-logo {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    min-height: 0;
    padding: 6px 4px 0;
}
.zx-wc-logo img {
    max-width: min(150px, 100%); max-height: 60px; width: auto; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
    transition: transform .3s ease;
}
.zx-wc:hover .zx-wc-logo img { transform: scale(1.06); }
.zx-wc-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.zx-wc-logo.no-img .zx-wc-name {
    position: static; width: auto; height: auto; clip: auto;
    color: #fff; font-size: 20px; font-weight: 900; letter-spacing: -.01em;
    text-align: center; white-space: normal; text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* rating bar at the bottom (replaces the old stars) */
.zx-wc-rate { position: relative; z-index: 1; }
.zx-wc-bar {
    height: 5px; border-radius: 99px; overflow: hidden;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.zx-wc-bar > span {
    display: block; height: 100%; border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 80%, #000000), var(--acc), color-mix(in srgb, var(--acc) 55%, #ffffff));
    box-shadow: 0 0 10px color-mix(in srgb, var(--acc) 60%, transparent);
}
.zx-wc-rate-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 7px;
    font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .05em;
}
.zx-wc-rate-row b { color: color-mix(in srgb, var(--acc) 65%, #ffffff); font-weight: 900; }
.zx-wc-rate-row span { color: rgba(225, 236, 250, .7); }

/* locked */
.zx-wc-lock {
    position: absolute; inset: 0; z-index: 4;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: rgba(7, 20, 37, .72);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    color: #fff;
}
.zx-wc-lock i {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; font-size: 16px;
    color: var(--acc-ink); background: var(--acc);
    box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 50%, transparent);
}
.zx-wc-lock span { font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.zx-wc.is-locked:hover { transform: none; }

@media (max-width: 600px) {
    .zx-wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .zx-wc { height: 138px; padding: 16px 12px 10px; border-radius: 14px; }
    .zx-wc-logo img { max-width: min(120px, 100%); max-height: 46px; }
    .zx-wc-logo.no-img .zx-wc-name { font-size: 15px; }
    .zx-wc-badge, .zx-wc-bonus { font-size: 8.5px; padding: 3px 8px 4px; }
    .zx-wc-bonus { left: 8px; } .zx-wc-badge { right: 8px; }
    .zx-wc-rate-row { font-size: 10px; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .zx-wc, .zx-wc-logo img { transition: none; }
    .zx-wc::after { display: none; }
}
.zx-wc-bonus ~ .zx-wc-badge { max-width: 58%; }


/* ======================================================
   v9: Clear colours + readable logos
   - Card shows the admin Background Color clearly (no grey haze).
   - Dark shade only at the bottom so "100% RATE" stays readable.
   - Logo plate: plate-light / plate-dark / plate-boxed / none.
     Auto-picked from the logo's brightness (react-app.js) or set in Admin > Networks > Logo Background.
   ====================================================== */
.zx-wc {
    background:
        linear-gradient(0deg, rgba(5, 16, 32, .62) 0%, rgba(5, 16, 32, .18) 34%, transparent 52%),
        radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(160deg,
            color-mix(in srgb, var(--acc) 88%, #ffffff) 0%,
            var(--acc) 38%,
            color-mix(in srgb, var(--acc) 62%, #0b2140) 100%);
    border: 1.5px solid color-mix(in srgb, var(--acc) 55%, #ffffff);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .3),
        0 4px 14px color-mix(in srgb, var(--acc) 22%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}
.zx-wc:hover {
    border-color: color-mix(in srgb, var(--acc) 35%, #ffffff);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, .38),
        0 0 32px color-mix(in srgb, var(--acc) 50%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}
.zx-wc::before { display: none; }

/* logo: bigger, sharp (no blurry shadow) */
.zx-wc-logo { padding: 8px 2px 4px; }
.zx-wc-plate {
    display: inline-flex; align-items: center; justify-content: center;
    max-width: 100%; max-height: 100%;
    transition: transform .3s ease;
}
.zx-wc-logo img {
    display: block;
    max-width: min(165px, 100%); max-height: 66px; width: auto; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28));
    transform: none !important;
}
.zx-wc:hover .zx-wc-plate { transform: scale(1.05); }

/* light plate: for dark logos */
.zx-wc-logo.plate-light .zx-wc-plate {
    padding: 8px 14px; border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #eef3f9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
/* dark plate: for white / light logos on light cards */
.zx-wc-logo.plate-dark .zx-wc-plate {
    padding: 8px 14px; border-radius: 12px;
    background: linear-gradient(180deg, rgba(10, 26, 46, .88), rgba(6, 17, 32, .92));
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.zx-wc-logo.plate-light img, .zx-wc-logo.plate-dark img { max-width: min(140px, 100%); max-height: 46px; filter: none; }
/* logo that already has its own square background: rounded, clean edge */
.zx-wc-logo.plate-boxed img {
    max-height: 62px; border-radius: 10px; filter: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .25);
}

/* footer text on top of the bottom shade */
.zx-wc-bar { background: rgba(255, 255, 255, .22); }
.zx-wc-bar > span {
    background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, #ffffff), #ffffff);
    box-shadow: 0 0 10px color-mix(in srgb, var(--acc) 70%, #ffffff);
}
.zx-wc-rate-row b { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.zx-wc-rate-row span { color: rgba(255, 255, 255, .78); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.zx-wc-logo.no-img .zx-wc-name { color: var(--acc-ink); text-shadow: none; }

@media (max-width: 600px) {
    .zx-wc-logo img { max-width: min(130px, 100%); max-height: 50px; }
    .zx-wc-logo.plate-light img, .zx-wc-logo.plate-dark img { max-height: 36px; }
    .zx-wc-logo.plate-light .zx-wc-plate, .zx-wc-logo.plate-dark .zx-wc-plate { padding: 6px 10px; border-radius: 10px; }
}


/* ======================================================
   v10: Recommended Offers - premium polish (same card size)
   ====================================================== */
.zx-rec-card {
    isolation: isolate;
    /* gold-tinted gradient border + rich navy body */
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, #17406a 0%, #10305a 45%, #0c2546 100%) padding-box,
        linear-gradient(160deg, rgba(255, 214, 102, .55), rgba(255, 255, 255, .10) 40%, rgba(255, 201, 40, .28)) border-box;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
/* shine sweep on hover */
.zx-rec-card::after {
    content: "";
    position: absolute; top: -60%; left: -90%; z-index: 4;
    width: 45%; height: 220%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .16) 50%, transparent 100%);
    transform: rotate(18deg);
    opacity: 0; pointer-events: none;
}
.zx-rec-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    background:
        linear-gradient(180deg, #1a4675 0%, #113463 45%, #0d2849 100%) padding-box,
        linear-gradient(160deg, #ffd666, rgba(255, 201, 40, .35) 45%, #ffc928) border-box;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, .42),
        0 0 26px rgba(255, 201, 40, .22),
        inset 0 1px 0 rgba(255, 255, 255, .16);
}
.zx-rec-card:hover::after { opacity: 1; transform: rotate(18deg) translateX(560%); transition: transform .9s ease, opacity .2s ease; }
.zx-rec-card:active { transform: translateY(-2px) scale(.985); }

/* picture: soft gloss on top, smooth fade into the card body */
.zx-rec-img {
    background:
        radial-gradient(circle at 50% 35%, #2b5f96, #12305a 75%);
}
.zx-rec-img::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent);
    pointer-events: none;
}
.zx-rec-img::after {
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(16, 48, 90, .55) 60%, #10305a 100%);
}
.zx-rec-card:hover .zx-rec-img img { transform: scale(1.07); }
.zx-rec-fallback { font-size: 30px; filter: drop-shadow(0 4px 10px rgba(255, 201, 40, .35)); }

/* device chips: frosted glass */
.zx-rec-os { top: 7px; right: 7px; gap: 4px; }
.zx-rec-os span {
    width: 22px; height: 22px; font-size: 10.5px;
    color: #ffffff;
    background: rgba(8, 22, 42, .62);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}
/* steps chip */
.zx-rec-steps {
    left: 7px; bottom: 7px; padding: 3px 8px;
    font-size: 9.5px; letter-spacing: .02em;
    background: rgba(8, 22, 42, .7);
    border: 1px solid rgba(255, 201, 40, .45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}

/* name + points */
.zx-rec-body { position: relative; z-index: 2; }
.zx-rec-name { letter-spacing: -.005em; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.zx-rec-pts {
    height: 28px; padding: 0 14px;
    color: #ffe08a;
    background: linear-gradient(180deg, rgba(255, 214, 102, .20), rgba(255, 201, 40, .08));
    border: 1px solid rgba(255, 201, 40, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 12px rgba(255, 201, 40, .10);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.zx-rec-pts i { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.zx-rec-card:hover .zx-rec-pts {
    color: #0a1a2e; text-shadow: none;
    background: linear-gradient(180deg, #ffe07a 0%, #ffc928 55%, #f5b301 100%);
    box-shadow: 0 6px 16px rgba(255, 201, 40, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
    transform: scale(1.04);
}

/* arrows */
.zx-rec-arrow {
    background: linear-gradient(180deg, #17406a, #0f2c50);
    border: 1px solid rgba(255, 201, 40, .35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.zx-rec-arrow:hover:not(:disabled) { box-shadow: 0 6px 16px rgba(255, 201, 40, .35); }

@media (max-width: 600px) {
}
@media (prefers-reduced-motion: reduce) {
    .zx-rec-card, .zx-rec-img img, .zx-rec-pts { transition: none; }
    .zx-rec-card::after { display: none; }
}


/* ======================================================
   v11: Cashout method cards - premium polish
   Colours: --co-from / --co-to / --co-deep (Admin > Withdrawal Methods > Method Color).
   ====================================================== */
.zx-co-card {
    border: 1px solid color-mix(in srgb, var(--co-to) 55%, rgba(255, 255, 255, .22));
    background: color-mix(in srgb, var(--co-to) 26%, #0c2240);
    box-shadow:
        0 14px 30px -14px rgba(0, 0, 0, .75),
        0 8px 22px -10px color-mix(in srgb, var(--co-to) 50%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .2);
}
.zx-co-card:hover, .zx-co-card:focus-visible {
    border-color: color-mix(in srgb, var(--co-to) 35%, #ffffff);
    box-shadow:
        0 24px 44px -16px rgba(0, 0, 0, .7),
        0 0 32px color-mix(in srgb, var(--co-to) 45%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}
.zx-co-card:focus-visible { box-shadow: 0 0 0 2px var(--zx-yellow), 0 22px 40px -14px var(--co-to); }

/* top: clear method colour with gloss + soft spotlight behind the logo */
.zx-co-card-top {
    background:
        radial-gradient(60% 65% at 50% 52%, rgba(255, 255, 255, .22), transparent 70%),
        radial-gradient(130% 85% at 50% -25%, rgba(255, 255, 255, .34), transparent 60%),
        linear-gradient(160deg, var(--co-from) 0%, var(--co-to) 55%, var(--co-deep) 100%);
}
.zx-co-card-top::after { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); }
.zx-co-card-shine { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); }

/* brand icon sits on a glass disc so it reads on any colour */
.zx-co-card-logo.has-brand {
    width: 74px; height: 74px; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 70%);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -6px 14px rgba(0, 0, 0, .12);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    filter: none;
}
.zx-co-card.is-light .zx-co-card-logo.has-brand { background: radial-gradient(circle at 35% 28%, rgba(10, 26, 46, .55), rgba(10, 26, 46, .78) 70%); border-color: rgba(255, 255, 255, .3); }
.zx-co-card-logo.has-brand .zx-co-brand-icon { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.zx-co-card-logo.has-brand .zx-co-brand-icon.is-white { filter: brightness(0) invert(1) drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
/* uploaded logo: white rounded tile with a glass ring */
.zx-co-card-logo.has-tile { filter: none; }
.zx-co-card-logo.has-tile .zx-co-logo-tile {
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f1f5fa);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3), 0 0 0 4px rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .06);
}
.zx-co-card:hover .zx-co-card-logo { transform: scale(1.08) rotate(-2deg); }

/* badges */
.zx-co-badge { top: 10px; right: 10px; border-radius: 999px; padding: 4px 9px; }
.zx-co-badge.is-ready {
    background: linear-gradient(180deg, #ffe58f, #ffc928 60%, #f5b301);
    box-shadow: 0 4px 14px rgba(255, 201, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.zx-co-badge.is-lock {
    background: rgba(6, 18, 34, .55);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* bottom: dark tinted glass, always readable */
.zx-co-card-bottom {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--co-to) 32%, #0e2747) 0%, color-mix(in srgb, var(--co-to) 16%, #0a1d36) 100%);
    border-top: 1px solid color-mix(in srgb, var(--co-to) 40%, rgba(255, 255, 255, .12));
}
.zx-co-card-name { letter-spacing: -.005em; }
.zx-co-card-meta { color: rgba(255, 255, 255, .7); }
.zx-co-card-go {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 9px; border-radius: 999px; opacity: 1;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.zx-co-card:hover .zx-co-card-go { background: linear-gradient(180deg, #ffe07a, #ffc928); color: #0a1a2e; border-color: transparent; }
.zx-co-card-bar { height: 5px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.zx-co-card-bar > div { background: linear-gradient(90deg, #ffb52b, #ffe07a); box-shadow: 0 0 10px rgba(255, 201, 40, .55); }
.zx-co-card.is-ready { border-color: color-mix(in srgb, var(--co-to) 45%, rgba(255, 214, 102, .6)); }

/* history row icon + popup header follow the same colour */
.zx-co-hdot { box-shadow: 0 4px 10px color-mix(in srgb, var(--co-to) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }

@media (prefers-reduced-motion: reduce) {
    .zx-co-card-go { transition: none; }
}
@media (max-width: 600px) {
    .zx-co-card-logo.has-brand { width: 60px; height: 60px; }
    .zx-co-card-logo.has-brand .zx-co-brand-icon { width: 36px !important; height: 36px !important; }
    .zx-co-card-logo.has-tile .zx-co-logo-tile { width: 54px !important; height: 54px !important; border-radius: 14px; padding: 6px; }
    .zx-co-card-go { padding: 2px 7px; }
}

/* =====================================================================
   Chargeback styles + profile popup scroll fix
   - Red "Chargeback" tag, red minus amount (live strip, profile popup, account history)
   - Popup never cut off: the whole popup scrolls to the bottom (Mute button + Cashout table)
   ===================================================================== */
.zx-cb-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 1px 7px; margin-right: 6px;
    border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: .02em; line-height: 1.5;
    text-transform: uppercase; white-space: nowrap; vertical-align: middle;
    color: #fecaca; background: rgba(239, 68, 68, .18);
    border: 1px solid rgba(239, 68, 68, .55);
}
.zx-cb-tag i { font-size: 9px; }

/* Live strip */
.zx-live .ticker-item.is-chargeback {
    background: rgba(239, 68, 68, .12) !important;
    border-color: rgba(239, 68, 68, .45) !important;
}
.zx-live .ticker-item.is-chargeback:hover {
    background: rgba(239, 68, 68, .2) !important;
    border-color: rgba(239, 68, 68, .65) !important;
}
.ticker-item.is-chargeback .ticker-value,
.zx-live .ticker-chargeback,
.ticker-chargeback { color: #ef4444 !important; }
.zx-live .ticker-item.is-chargeback .zx-feed-coin {
    background: radial-gradient(circle at 40% 35%, #fca5a5, #ef4444 70%) !important;
    border-color: #b91c1c !important; color: #450a0a !important;
}
.zx-live .ticker-item.is-chargeback .zx-live-offer { color: #fca5a5; }
.ticker-item.is-chargeback .zx-live-offer { color: #f87171 !important; font-weight: 700; }

/* Profile popup: chargeback offer rows */
.zx-up-row.is-chargeback:not(.is-head) {
    background: rgba(239, 68, 68, .1) !important;
    border-color: rgba(239, 68, 68, .4) !important;
}
.zx-up-row.is-chargeback .zx-up-offer { flex-wrap: wrap; }
.zx-up-pts.is-negative { color: #ef4444 !important; }

/* Account: earnings history */
.zx-account-page .zx-acc-tags { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.zx-account-page .zx-acc-tags .zx-cb-tag { margin-right: 0; }
.zx-account-page .zx-acc-rev-tag {
    display: inline-flex; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 800; color: #94a3b8;
    background: rgba(148, 163, 184, .1); border: 1px solid rgba(148, 163, 184, .3);
}
.zx-account-page .zx-acc-row.is-chargeback {
    background: rgba(239, 68, 68, .1);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35);
}
.zx-account-page .zx-acc-row.is-chargeback:hover { background: rgba(239, 68, 68, .16); }
.zx-account-page .zx-acc-row.is-reversed .zx-acc-coin { opacity: .55; text-decoration: line-through; }
.zx-account-page .zx-acc-coin.is-negative {
    background: rgba(239, 68, 68, .16) !important;
    border: 1px solid rgba(239, 68, 68, .55) !important;
    box-shadow: none !important;
}
.zx-account-page .zx-acc-coin.is-negative,
.zx-account-page .zx-acc-coin.is-negative i { color: #f87171 !important; }
.zx-acc-feed-item.is-chargeback .zx-acc-feed-ic { background: rgba(239, 68, 68, .18) !important; color: #ef4444 !important; }
.zx-acc-feed-item.is-chargeback .zx-acc-feed-val { color: #ef4444 !important; }

/* =====================================================================
   Dual-Lead pills (Completed + / Chargeback -) - live feed, profile popup, account
   ===================================================================== */
.zx-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 1px 8px; margin-right: 6px;
    border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: .03em; line-height: 1.55;
    text-transform: uppercase; white-space: nowrap; vertical-align: middle;
}
.zx-pill i { font-size: 9px; }
/* Completed: bg-emerald-500/15 text-emerald-400 border-emerald-500/30 */
.zx-pill-completed { background: rgba(16, 185, 129, .15); color: #34d399; border: 1px solid rgba(16, 185, 129, .3); }
/* Chargeback: bg-rose-500/15 text-rose-400 border-rose-500/30 */
.zx-pill-chargeback,
.zx-cb-tag { background: rgba(244, 63, 94, .15) !important; color: #fb7185 !important; border: 1px solid rgba(244, 63, 94, .3) !important; }

/* Signed amounts */
.zx-lead-amt { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zx-lead-amt i { font-size: .85em; }
.zx-lead-amt small { font-size: .72em; font-weight: 700; opacity: .8; }
.zx-lead-amt.is-positive { color: #34d399 !important; }
.zx-lead-amt.is-negative { color: #f43f5e !important; }

/* Live strip: completed lead (green) / chargeback lead (rose) */
.zx-live .ticker-item.is-completed .ticker-value.is-positive {
    padding: 3px 9px; border-radius: 999px;
    background: rgba(16, 185, 129, .15); border: 1px solid rgba(16, 185, 129, .3);
}
.zx-live .ticker-item.is-chargeback {
    background: rgba(244, 63, 94, .1) !important;
    border-color: rgba(244, 63, 94, .4) !important;
}
.zx-live .ticker-item.is-chargeback:hover {
    background: rgba(244, 63, 94, .18) !important;
    border-color: rgba(244, 63, 94, .6) !important;
}
.zx-live .ticker-item.is-chargeback .ticker-value.is-negative {
    padding: 3px 9px; border-radius: 999px;
    background: rgba(244, 63, 94, .15); border: 1px solid rgba(244, 63, 94, .3);
    color: #f43f5e !important;
}
.zx-live .ticker-item.is-chargeback .zx-live-offer,
.ticker-item.is-chargeback .zx-live-offer { color: #fecdd3 !important; font-weight: 700; }
/* Chargeback card: small "Chargeback" badge stacked above the red amount, so the offer name stays visible */
.zx-live .zx-lead-stack { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; margin-left: auto; flex-shrink: 0; }
.zx-live .zx-lead-stack .zx-pill { margin: 0; padding: 0 6px; font-size: 8.5px; line-height: 1.5; }
.zx-live .zx-lead-stack .ticker-value.is-negative { padding: 1px 8px !important; font-size: 12px; line-height: 1.3; }

/* Profile popup rows */
/* Offer cell: icon always on the left, text never wraps under it.
   Long names are cut to 2 lines with "..." (full name on hover); the Chargeback badge sits on its own line below. */
.zx-up-offer,
.zx-up-row.is-chargeback .zx-up-offer { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 10px; min-width: 0; }
.zx-up-offer-img { flex: 0 0 auto; }
.zx-up-offer-txt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-width: 0; flex: 1 1 auto; }
.zx-up-offer-txt b {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    overflow: hidden; white-space: normal !important; text-overflow: ellipsis;
    word-break: break-word; overflow-wrap: anywhere;
    max-width: 100%; line-height: 1.25; font-size: 13px;
}
.zx-up-offer-txt .zx-pill { margin: 0; padding: 0 7px; font-size: 9px; line-height: 1.6; }
.zx-up-row.zx-up-cols-offer { align-items: center; }
.zx-up-row.is-chargeback:not(.is-head) {
    background: rgba(244, 63, 94, .08) !important;
    border-color: rgba(244, 63, 94, .35) !important;
}
.zx-up-row.is-chargeback .zx-up-offer-img { color: #fb7185; }
.zx-up-pts.is-negative { color: #f43f5e !important; }
.zx-up-pts.is-positive { color: #34d399 !important; }
.zx-up-stat.is-negative strong { color: #f43f5e; }

/* Account: rows, negative balance card */
.zx-account-page .zx-acc-row.is-chargeback {
    background: rgba(244, 63, 94, .08);
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .3);
}
.zx-account-page .zx-acc-row.is-chargeback:hover { background: rgba(244, 63, 94, .14); }
.zx-account-page .zx-acc-coin.is-negative {
    background: rgba(244, 63, 94, .15) !important;
    border: 1px solid rgba(244, 63, 94, .3) !important;
}
.zx-account-page .zx-acc-coin.is-negative,
.zx-account-page .zx-acc-coin.is-negative i { color: #f43f5e !important; }
.zx-account-page .zx-acc-stat.is-negative {
    --tone: #f43f5e;
    background: linear-gradient(180deg, rgba(244, 63, 94, .1), rgba(244, 63, 94, .04));
    border-color: rgba(244, 63, 94, .35);
}
.zx-account-page .zx-acc-stat.is-negative strong { color: #fb7185; }
.zx-account-page .zx-acc-stat.is-negative .zx-acc-stat-ic { color: #f43f5e; background: rgba(244, 63, 94, .15); }
.zx-account-page .zx-acc-count.is-negative { color: #fb7185; }
.zx-acc-feed-item.is-chargeback .zx-acc-feed-ic { background: rgba(244, 63, 94, .15) !important; color: #f43f5e !important; }
.zx-acc-feed-item.is-chargeback .zx-acc-feed-val { color: #f43f5e !important; }

/* =====================================================================
   Profile popup scroll fix (every screen size)
   - Popup: max-height 85vh, flex column
   - Body: scrolls (overflow-y auto, overscroll contained), so the Mute button
     and the Cashout table are always fully visible / reachable
   ===================================================================== */
.zx-modal-dialog, .member-profile-popup {
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
.zx-modal-body, .profile-popup-content {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding-bottom: 25px !important;
    -webkit-overflow-scrolling: touch !important;
}
.zx-up-modal {
    display: flex !important;
    flex-direction: column !important;
    max-height: 85vh !important;
    overflow: hidden !important;
}
@supports (height: 1dvh) {
    .zx-up-modal, .zx-modal-dialog, .member-profile-popup { max-height: 85dvh !important; }
}
.zx-up-body {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #3b5878 transparent;
}
.zx-up-body::-webkit-scrollbar { width: 6px; }
.zx-up-body::-webkit-scrollbar-thumb { background: #3b5878; border-radius: 6px; }
/* Left card stays in view while the right side scrolls (and is still fully reachable when taller) */
.zx-up-left {
    position: sticky; top: 0; align-self: start;
    max-height: none !important; overflow: visible !important;
    border-right: none !important;
}
.zx-up-right {
    max-height: none !important; min-height: 100%;
    overflow: visible !important;
    border-left: 1px solid rgba(255, 255, 255, .08);
}
.zx-up-scroll { max-height: none !important; overflow: visible !important; padding-bottom: 25px !important; }
@media (max-width: 720px) {
    .zx-up-backdrop { align-items: flex-end !important; padding: 10px !important; }
    .zx-up-modal { padding-bottom: 0 !important; }
    .zx-up-body { grid-template-columns: 1fr; padding-bottom: 25px; }
    .zx-up-left { position: static; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .zx-up-right { border-left: none; min-height: 0; }
    .zx-up-scroll { padding-bottom: 10px !important; }
}


/* =====================================================================
   Offer fan v3 — frames stay perfectly still, only the offer + picture
   change with a quick in-place crossfade (no sliding, no dip, no jump).
   ===================================================================== */
.zx-fan-fixed .zx-fan-content.is-in.dir-next,
.zx-fan-fixed .zx-fan-content.is-in.dir-prev { animation: zxFanSwapIn .32s cubic-bezier(.33, 0, .2, 1) both; }
.zx-fan-fixed .zx-fan-content.is-out.dir-next,
.zx-fan-fixed .zx-fan-content.is-out.dir-prev { animation: none; opacity: 1; transform: none; }   /* old offer stays solid underneath, new one fades over it = no flicker */
.zx-fan-fixed .zx-fan-content.is-in.dir-next .zx-fan-icon,
.zx-fan-fixed .zx-fan-content.is-in.dir-prev .zx-fan-icon { animation: zxFanIconPop .38s cubic-bezier(.2, .9, .3, 1.15) both; }
.zx-fan-fixed .zx-fan-content.is-in .zx-fan-foot { animation: zxFanFootIn .36s ease-out both; }
@keyframes zxFanSwapIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zxFanIconPop { from { opacity: .0; scale: .86; } to { opacity: 1; scale: 1; } }
@keyframes zxFanFootIn { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* glow behind the cards: faster follow + gentle breathing */
.zx-fan-fixed .zx-fan-glow-img { transition: opacity .45s ease; }
.zx-fan-fixed .zx-fan-glow-img.is-on { opacity: .62; animation: zxFanBreathe 4.2s ease-in-out infinite; }
@keyframes zxFanBreathe { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

/* side cards react quicker and feel clickable */
.zx-fan-fixed .zx-fan-card { transition: box-shadow .3s ease, opacity .25s ease, filter .25s ease; }
.zx-fan-fixed .zx-fan-card--left:hover, .zx-fan-fixed .zx-fan-card--right:hover { opacity: .95; }

/* centre card: richer glow, soft pulse, lifted on hover */
.zx-fan-fixed .zx-fan-card--center {
    box-shadow: 0 34px 64px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 201, 40, .25),
                0 0 46px -8px rgba(255, 201, 40, .42), 0 0 90px -20px rgba(255, 201, 40, .28);
    animation: zxFanPulse 3.6s ease-in-out infinite;
}
@keyframes zxFanPulse {
    0%, 100% { box-shadow: 0 34px 64px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 201, 40, .22), 0 0 40px -10px rgba(255, 201, 40, .32), 0 0 80px -22px rgba(255, 201, 40, .2); }
    50%      { box-shadow: 0 34px 64px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 201, 40, .4),  0 0 56px -6px rgba(255, 201, 40, .55), 0 0 100px -18px rgba(255, 201, 40, .36); }
}
.zx-fan-fixed .zx-fan-card--center { transition: box-shadow .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease, filter .25s ease; }
.zx-fan-fixed .zx-fan-card--center:hover { transform: translate(-50%, -50%) translateY(-5px) scale(1.025); }
.zx-fan-fixed .zx-fan-card--center:active { transform: translate(-50%, -50%) scale(.99); }
.zx-fan-fixed .zx-fan-card--center::after { animation-duration: 4.2s; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); }

/* inner polish: crisper picture area, brighter price chip, glossy tag */
.zx-fan-fixed .zx-fan-visual::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .09), transparent 60%);
}
.zx-fan-fixed .zx-fan-icon { box-shadow: 0 16px 32px -6px rgba(0, 0, 0, .65), 0 0 0 4px rgba(255, 255, 255, .07), 0 0 26px -4px rgba(255, 201, 40, .25); }
.zx-fan-fixed .zx-fan-price { background: linear-gradient(180deg, rgba(255, 201, 40, .18), rgba(255, 201, 40, .07)); font-variant-numeric: tabular-nums; }
.zx-fan-fixed .zx-fan-tag { box-shadow: 0 4px 12px -3px rgba(34, 197, 94, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.zx-fan-fixed .zx-fan-dot { transition: width .3s cubic-bezier(.4, 0, .2, 1), background .25s ease, box-shadow .3s ease; }

@media (prefers-reduced-motion: reduce) {
    .zx-fan-fixed .zx-fan-card--center, .zx-fan-fixed .zx-fan-glow-img.is-on { animation: none; }
    .zx-fan-fixed .zx-fan-content.is-in .zx-fan-foot { animation: none; }
}

/* Offer fan v4 — side cards: smaller + tilted behind the centre card (like the reference). Centre card never grows on hover. */
.zx-fan-wrap { --fan-side-scale: .86; --fan-side-tilt: 5.5deg; }
.zx-fan-fixed .zx-fan-card--left  { transform: translate(-108%, -50%) scale(var(--fan-side-scale)) rotate(calc(-1 * var(--fan-side-tilt))); filter: brightness(.72) saturate(.85); opacity: .78; }
.zx-fan-fixed .zx-fan-card--right { transform: translate(8%, -50%) scale(var(--fan-side-scale)) rotate(var(--fan-side-tilt)); filter: brightness(.72) saturate(.85); opacity: .78; }
.zx-fan-fixed .zx-fan-card--center,
.zx-fan-fixed .zx-fan-card--center:hover,
.zx-fan-fixed .zx-fan-card--center:active { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.zx-fan-fixed .zx-fan-card--left:hover, .zx-fan-fixed .zx-fan-card--right:hover { filter: brightness(.9) saturate(1); }
@media (max-width: 600px) {
    .zx-fan-wrap { --fan-side-scale: .82; }
    .zx-fan-fixed .zx-fan-card--left  { transform: translate(-96%, -50%) scale(var(--fan-side-scale)) rotate(calc(-1 * var(--fan-side-tilt))); }
    .zx-fan-fixed .zx-fan-card--right { transform: translate(-4%, -50%) scale(var(--fan-side-scale)) rotate(var(--fan-side-tilt)); }
}
