/* =========================================================
   Rexify — Mobile app UI
   iOS 26 "liquid glass" aesthetic × Google color system
   ========================================================= */

:root {
    /* Google brand palette */
    --g-blue:   #4285F4;
    --g-red:    #EA4335;
    --g-yellow: #FBBC04;
    --g-green:  #34A853;
    --g-blue-d: #1a73e8;

    /* Neutrals */
    --ink:      #1b1c1f;
    --ink-2:    #5f6368;
    --ink-3:    #9aa0a6;
    --line:     rgba(60, 64, 67, .12);

    /* Glass surfaces */
    --glass:        rgba(255, 255, 255, .62);
    --glass-strong: rgba(255, 255, 255, .82);
    --glass-line:   rgba(255, 255, 255, .7);
    --blur:         saturate(180%) blur(22px);

    /* Radii (continuous-corner feel) */
    --r-lg: 30px;
    --r-md: 22px;
    --r-sm: 16px;

    /* Shadows */
    --shadow-card: 0 8px 30px rgba(31, 41, 55, .10), 0 2px 8px rgba(31, 41, 55, .06);
    --shadow-pop:  0 18px 50px rgba(31, 41, 55, .22);

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
            "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
    -webkit-text-size-adjust: 100%;
}

html:has(.app) {
    overflow: hidden;
    height: 100%;
    height: 100dvh;
}

body {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.5;
    background: #f4f7fe;
    min-height: 100vh;
    min-height: 100dvh;
}

body:has(.app) {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
.material-symbols-rounded { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ---------- App shell ----------
   Mobile-first: the app fills the whole screen, edge-to-edge (real native feel).
   On desktop (>=520px) it becomes a centered phone mockup. */
.app {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background:
        radial-gradient(520px 360px at -10% -6%, rgba(66,133,244,.16), transparent 60%),
        radial-gradient(520px 360px at 120% 4%, rgba(234,67,53,.13), transparent 58%),
        radial-gradient(620px 420px at 50% 116%, rgba(52,168,83,.16), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fe 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    /* No device mockup — just center the app column on large screens */
    .app { max-width: 480px; margin-inline: auto; }
}

/* ---------- Top app bar ---------- */
.appbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) 20px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.4));
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    flex-shrink: 0;
}
.appbar__back {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--glass); border: 1px solid var(--glass-line);
    color: var(--ink);
}

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
    width: 38px; height: 38px; border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 20px;
    background: conic-gradient(from 210deg, var(--g-blue), var(--g-green), var(--g-yellow), var(--g-red), var(--g-blue));
    box-shadow: 0 6px 16px rgba(66,133,244,.35);
}
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand__name b { font-weight: 800; }
.brand__name .c1{color:var(--g-blue)} .brand__name .c2{color:var(--g-red)}
.brand__name .c3{color:var(--g-yellow)} .brand__name .c4{color:var(--g-green)}

/* ---------- Scroll area ---------- */
.screen {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 6px 20px 120px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }
.screen--center { display: flex; flex-direction: column; justify-content: center; }

/* ---------- Glass card ---------- */
.glass {
    background: var(--glass);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 54px; padding: 0 22px; width: 100%;
    border-radius: 17px; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--g-blue) 0%, var(--g-blue-d) 100%);
    box-shadow: 0 10px 24px rgba(66,133,244,.40);
}
.btn--ghost {
    color: var(--g-blue-d);
    background: var(--glass-strong);
    border: 1px solid var(--glass-line);
}
.btn--google {
    color: var(--ink); background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}
.btn--sm { height: 44px; font-size: 14px; width: auto; padding: 0 18px; border-radius: 14px; }
.btn .material-symbols-rounded { font-size: 20px; }

/* ---------- Pills / chips ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 14px; border-radius: 999px;
    font-size: 13px; font-weight: 650; color: var(--ink-2);
    background: var(--glass); border: 1px solid var(--glass-line);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--blue{background:var(--g-blue)} .dot--red{background:var(--g-red)}
.dot--yellow{background:var(--g-yellow)} .dot--green{background:var(--g-green)}

/* ---------- Hero ---------- */
.hero { padding: 18px 4px 8px; }
.hero h1 {
    font-size: 33px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
    margin: 14px 0 12px;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--g-blue), var(--g-green) 60%, var(--g-yellow));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--ink-2); font-size: 16px; max-width: 34ch; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* ---------- Section headings ---------- */
.section { margin-top: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; padding: 0 2px; }
.section__head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.section__head a { font-size: 13px; font-weight: 650; color: var(--g-blue-d); }

/* ---------- Feature list (how it works) ---------- */
.feature {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; margin-bottom: 12px;
}
.feature__icon {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: 15px;
    display: grid; place-items: center; color: #fff;
}
.feature__icon .material-symbols-rounded { font-size: 26px; }
.ic--blue{background:linear-gradient(135deg,#5b9bff,var(--g-blue)) !important}
.ic--red{background:linear-gradient(135deg,#ff7a6f,var(--g-red)) !important}
.ic--yellow{background:linear-gradient(135deg,#ffd34d,#f9a825) !important;color:#3a2c00}
.ic--green{background:linear-gradient(135deg,#5fd07e,var(--g-green)) !important}
.feature__body h3 { font-size: 15.5px; font-weight: 750; letter-spacing: -.01em; }
.feature__body p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.feature__step { margin-left: auto; align-self: center; font-size: 13px; font-weight: 800; color: var(--ink-3); }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 16px 12px; text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.stat--blue b{color:var(--g-blue-d)} .stat--green b{color:var(--g-green)} .stat--red b{color:var(--g-red)}

/* ---------- Audience cards ---------- */
.split { display: grid; gap: 12px; }
.audience { padding: 20px; position: relative; overflow: hidden; }
.audience h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.audience p { font-size: 13.5px; color: var(--ink-2); }
.audience .material-symbols-rounded { position: absolute; right: -6px; bottom: -10px; font-size: 86px; opacity: .10; }

/* ---------- CTA banner ---------- */
.cta-banner {
    margin-top: 26px; padding: 26px 22px; text-align: center; color: #fff;
    border-radius: var(--r-lg); overflow: hidden; position: relative;
    background: linear-gradient(135deg, var(--g-blue) 0%, #6a5cff 55%, var(--g-green) 130%);
    box-shadow: 0 16px 40px rgba(66,133,244,.35);
}
.cta-banner h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cta-banner p { opacity: .9; font-size: 14px; margin: 8px 0 18px; }
.cta-banner .btn { background: #fff; color: var(--g-blue-d); box-shadow: none; }

/* ---------- Bottom nav ----------
   Fixed to the viewport so Android PWA / standalone never scrolls it away. */
.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.92));
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    border-top: 1px solid var(--glass-line);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@media (min-width: 600px) {
    .tabbar {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateZ(0);
        -webkit-transform: translateX(-50%) translateZ(0);
        width: 100%;
        max-width: 480px;
    }
}

@media (display-mode: standalone) {
    .tabbar {
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }
}
.tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10.5px; font-weight: 650; color: var(--ink-3);
}
.tabbar a.is-active { color: var(--g-blue-d); }
.tabbar a .material-symbols-rounded { font-size: 25px; }
.tabbar a.is-active .material-symbols-rounded { font-variation-settings: 'FILL' 1; }

/* ---------- Forms ---------- */
.auth-head { text-align: center; margin: 8px 0 22px; }
.auth-head h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.auth-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

.field { margin-bottom: 14px; position: relative; }
.field label {
    display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-2);
    margin: 0 0 6px 4px;
}
.field input {
    width: 100%; height: 54px; padding: 0 16px;
    font-size: 15.5px; font-family: inherit; color: var(--ink);
    background: #ffffff;
    border: 1.5px solid #d4dae3; border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, .05);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder { color: var(--ink-3); }
.field input:hover { border-color: #aeb6c2; }
.field input:focus {
    outline: none; background: #fff;
    border-color: var(--g-blue);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, .16);
}
.field--pw input { padding-right: 50px; }
.field__toggle {
    position: absolute; right: 12px; bottom: 12px;
    width: 32px; height: 32px; display: grid; place-items: center;
    color: var(--ink-3); background: transparent;
}
.field__toggle .material-symbols-rounded { font-size: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* Select (bank picker) */
.field select {
    width: 100%; height: 54px; padding: 0 44px 0 16px;
    font-size: 15.5px; font-family: inherit; color: var(--ink);
    background-color: #fff;
    border: 1.5px solid #d4dae3; border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, .05);
    -webkit-appearance: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field select:focus { outline: none; border-color: var(--g-blue); box-shadow: 0 0 0 4px rgba(66,133,244,.16); }

/* Verified account result box */
.verify-box {
    display: none; align-items: center; gap: 12px;
    padding: 14px 16px; margin: 4px 0 16px;
    border-radius: 16px; background: rgba(52,168,83,.10);
    border: 1.5px solid rgba(52,168,83,.35);
}
.verify-box.show { display: flex; }
.verify-box .material-symbols-rounded { color: var(--g-green); font-size: 26px; }
.verify-box small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.verify-box b { font-size: 15.5px; letter-spacing: -.01em; }
.lock-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); margin: 2px 4px 18px; }
.lock-note .material-symbols-rounded { font-size: 18px; color: var(--ink-3); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.checkrow { display: flex; align-items: flex-start; gap: 10px; margin: 4px 2px 18px; font-size: 13px; color: var(--ink-2); }
.checkrow input { width: 20px; height: 20px; accent-color: var(--g-blue); margin-top: 1px; }
.checkrow a { color: var(--g-blue-d); font-weight: 650; }

.form-foot { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.form-foot a { color: var(--g-blue-d); font-weight: 700; }
.forgot { text-align: right; margin: -4px 4px 16px; }
.forgot a { font-size: 13px; font-weight: 650; color: var(--g-blue-d); }

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- About ---------- */
.about-hero { text-align: center; padding: 16px 6px 6px; }
.about-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.about-hero p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 16px; margin-bottom: 12px; }
.value .material-symbols-rounded { color: var(--g-blue-d); }
.value h3 { font-size: 15.5px; font-weight: 750; }
.value p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

/* ---------- Social login (old-theme markup, restyled) ---------- */
.other-option { position: relative; text-align: center; margin: 22px 0 16px; }
.other-option::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.other-option__text {
    position: relative; background: transparent; padding: 0 14px;
    font-size: 12.5px; font-weight: 650; color: var(--ink-3);
    display: inline-block;
}
.other-option__text::before {
    content: ""; position: absolute; inset: -4px -2px; z-index: -1;
    background: linear-gradient(180deg, #fafcff, #f4f7fe); filter: blur(2px);
}
.signup-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 18px; border-radius: 16px;
    font-size: 15px; font-weight: 650; color: var(--ink) !important;
    background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}
.signup-btn img { width: 20px; height: 20px; object-fit: contain; }
.flex-fill { flex: 1 1 auto; }

/* =========================================================
   Authenticated app (dashboard / earn / withdraw / referral)
   ========================================================= */
.topbar-telegram {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #37aee2, #1e96c8);
    box-shadow: 0 4px 12px rgba(30,150,200,.35);
}
.topbar-telegram .material-symbols-rounded { font-size: 19px; }

/* Greeting */
.greet-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.greet-ic {
    width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--g-yellow), #f59e0b);
}
.greet-ic .material-symbols-rounded { font-size: 24px; }
.greet-hi { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.greet-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 1px; }

/* Balance hero */
.balance-card {
    padding: 22px; color: #fff; border-radius: var(--r-lg); position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--g-blue) 0%, #5b6cff 55%, var(--g-green) 135%);
    box-shadow: 0 16px 40px rgba(66,133,244,.32);
}
.balance-card::before, .balance-card::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); pointer-events: none;
}
.balance-card::before { width: 190px; height: 190px; right: -70px; top: -80px; }
.balance-card::after { width: 130px; height: 130px; left: -50px; bottom: -60px; background: rgba(255,255,255,.07); }
.balance-card__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.balance-card__label { display: flex; align-items: center; gap: 6px; opacity: .92; font-size: 12.5px; font-weight: 650; }
.balance-card__label .material-symbols-rounded { font-size: 17px; }
.balance-card__eye {
    width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); color: #fff;
    display: grid; place-items: center; cursor: pointer;
}
.balance-card__eye .material-symbols-rounded { font-size: 18px; }
.balance-card .amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; position: relative; z-index: 1; }
.balance-card .row-actions { display: flex; gap: 10px; margin-top: 20px; position: relative; z-index: 1; }
.balance-card .row-actions a {
    flex: 1; height: 48px; border-radius: 14px; font-weight: 700; font-size: 13.5px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28);
}
.balance-card .row-actions a.solid { background: #fff; color: var(--g-blue-d); border-color: #fff; }
.balance-card .row-actions .material-symbols-rounded { font-size: 19px; }

/* Quick actions */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; text-align: center; }
.qa .qa-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.qa .qa-ic .material-symbols-rounded { font-size: 25px; }
.qa span { font-size: 11px; font-weight: 650; color: var(--ink-2); }

/* List cards */
.list-card { padding: 2px 4px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: none; }
.lrow__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.lrow__ic .material-symbols-rounded { font-size: 23px; }
.lrow__main { flex: 1; min-width: 0; }
.lrow__main b { font-size: 14.5px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow__main small { font-size: 12px; color: var(--ink-2); }
.lrow__end { text-align: right; flex-shrink: 0; }
.lrow__end b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.lrow__end small { font-size: 11px; color: var(--ink-3); display: block; }

/* Trust score */
.trust-card { padding: 18px; }
.trust-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.trust-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.trust-ic .material-symbols-rounded { font-size: 26px; }
.trust-head .t-label { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.trust-head .t-score { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.trust-head .t-badge { margin-left: auto; align-self: flex-start; }
.progress { height: 10px; border-radius: 999px; background: rgba(60,64,67,.10); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--g-blue), var(--g-green)); }
.trust-note { font-size: 12px; color: var(--ink-2); margin-top: 9px; text-align: center; }

/* Empty state */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty .material-symbols-rounded { font-size: 56px; opacity: .45; }
.empty p { margin-top: 10px; font-size: 14px; }

/* Soft badges */
.badge-soft { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-soft.green { background: rgba(52,168,83,.14); color: #1e7e34; }
.badge-soft.blue  { background: rgba(66,133,244,.14); color: var(--g-blue-d); }
.badge-soft.dark  { background: rgba(60,64,67,.12); color: var(--ink-2); }
.badge-soft.amber { background: rgba(251,188,4,.18); color: #946200; }
.badge-soft.red   { background: rgba(234,67,53,.14); color: #c5221f; }

/* Section card + copy field */
.section-card { padding: 18px; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; }
.copy-field button { width: 54px; height: 54px; border-radius: 16px; background: var(--g-blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* Earn (PTC) ad cards */
.earn-card { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 12px; }
.earn-card__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, #5b9bff, var(--g-blue)); }
.earn-card__main { flex: 1; min-width: 0; }
.earn-card__main h3 { font-size: 15px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.earn-card__main small { font-size: 12.5px; color: var(--ink-2); }
.earn-card__end { text-align: right; flex-shrink: 0; }
.earn-card__reward { font-size: 16px; font-weight: 800; color: var(--g-green); display: block; margin-bottom: 6px; }

/* Withdraw method picker */
.method-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.method-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid #d4dae3; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.method-item:has(input:checked) { border-color: var(--g-blue); box-shadow: 0 0 0 4px rgba(66,133,244,.14); }
.method-item img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.method-item .payment-item__name { font-weight: 700; font-size: 14.5px; flex: 1; }
.method-item .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd5de; display: grid; place-items: center; }
.method-item:has(input:checked) .tick { border-color: var(--g-blue); background: var(--g-blue); }
.method-item:has(input:checked) .tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.summary-row.total { border-bottom: none; padding-top: 15px; font-weight: 800; color: var(--ink); font-size: 16px; }
.summary-row b { color: var(--ink); font-weight: 700; }

/* minimal bootstrap-compat utilities used by reused partials */
.d-none { display: none !important; }
.d-flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.w-100 { width: 100%; } .form-group { margin-bottom: 14px; }
.align-items-center { align-items: center; }

/* shared */
.mb-2 { margin-bottom: 8px; } .mt-3 { margin-top: 16px; }
.center { text-align: center; }
