:root {
    color-scheme: dark;
    --bg: #070a16;
    --bg-raised: #0b1021;
    --card: rgba(17, 22, 42, .88);
    --card-solid: #11162a;
    --card-hover: #151c35;
    --ink: #f5f7ff;
    --muted: #9aa6c5;
    --primary: #7c3aed;
    --primary-2: #9f67ff;
    --accent: #22d3ee;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --line: rgba(167, 139, 250, .16);
    --line-strong: rgba(34, 211, 238, .28);
    --shadow: 0 22px 58px rgba(0, 0, 0, .28);
    --radius-lg: 24px;
    --radius-md: 17px;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% -10%, rgba(124, 58, 237, .24), transparent 30rem),
        radial-gradient(circle at -8% 35%, rgba(34, 211, 238, .09), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-family: Vazirmatn, sans-serif;
    line-height: 1.75;
    padding-bottom: 96px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.app-shell { width: min(100%, 1120px); min-height: 100vh; margin: 0 auto; position: relative; }

.topbar {
    min-height: 84px;
    padding: 18px clamp(16px, 4vw, 32px) 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 25;
    background: linear-gradient(to bottom, rgba(7,10,22,.96) 65%, rgba(7,10,22,0));
    backdrop-filter: blur(12px);
}

.brand-lockup { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; filter: drop-shadow(0 8px 18px rgba(124,58,237,.35)); flex: 0 0 auto; }
.brand-copy { display: flex; align-items: baseline; direction: ltr; line-height: 1; letter-spacing: .055em; }
.brand-name { font-size: 19px; font-weight: 900; color: var(--ink); }
.brand-ai { margin-left: 6px; font-size: 13px; font-weight: 850; color: var(--accent); letter-spacing: .12em; }

.balance-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(17,22,42,.72);
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.balance-label { color: var(--muted); font-size: 10px; }
.balance-pill .amount { font-size: 13px; color: var(--ink); }

.page { padding: 4px clamp(12px, 4vw, 32px) 34px; }

.card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(20,27,51,.94), rgba(13,18,36,.94));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 3vw, 22px);
    margin-bottom: 14px;
    box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
}
.card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(124,58,237,.08);
    filter: blur(28px);
    inset: auto auto -70px -50px;
    pointer-events: none;
}
a.card { display: block; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--card-hover); }

.hero-card {
    padding: clamp(20px, 5vw, 34px);
    border-color: rgba(124,58,237,.3);
    background:
        radial-gradient(circle at 7% 20%, rgba(34,211,238,.15), transparent 13rem),
        radial-gradient(circle at 90% 80%, rgba(124,58,237,.28), transparent 18rem),
        linear-gradient(145deg, #141932, #0d1225);
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.035), transparent 65%);
    pointer-events: none;
}
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 0; }
.section-link { color: var(--accent); font-size: 12px; font-weight: 700; }

h1, h2, h3, p { position: relative; z-index: 1; }
h1 { font-size: clamp(23px, 5vw, 34px); line-height: 1.3; margin: 0 0 7px; letter-spacing: -.025em; }
h2 { font-size: clamp(16px, 3vw, 19px); line-height: 1.5; margin: 0 0 11px; }
h3 { margin: 0; }
p { margin: 8px 0; }
.muted { color: var(--muted); font-size: 13px; }
.amount { display: inline-block; direction: ltr; unicode-bidi: isolate; font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: .015em; }
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .amount:not(.js-profit-countdown),
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .money-amount-green,
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .wallet-limit-row b,
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .amount-presets button,
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .usdt-live-quote strong,
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .withdraw-summary li span,
body:not(.screen-deposit):not(.screen-withdraw) .app-shell .timeline-breakdown b { color:#39df8f !important; text-shadow:0 0 14px rgba(57,223,143,.16); }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }

.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.metric {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(7,10,22,.42);
}
.metric-label { color: var(--muted); font-size: 11px; }
.metric-value { display: block; margin-top: 4px; color: var(--ink); font-size: clamp(14px,3vw,18px); font-weight: 850; }

.quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.quick-action {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8,12,26,.58);
    color: var(--ink);
    font-size: 12px;
    transition: .2s ease;
}
.quick-action:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.quick-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, rgba(124,58,237,.3), rgba(34,211,238,.13)); color: var(--accent); }
.quick-icon svg { width: 20px; height: 20px; }

.btn {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 10px 17px;
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: white;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(124,58,237,.22);
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.secondary { background: rgba(124,58,237,.11); border-color: rgba(167,139,250,.22); color: #d8ccff; box-shadow: none; }
.btn.accent { background: linear-gradient(135deg, #0891b2, var(--accent)); color: #041018; box-shadow: 0 10px 24px rgba(34,211,238,.16); }
.btn.danger { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.23); color: #fca5a5; box-shadow: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; filter: none; }

label { display: block; margin: 14px 0; color: #dfe5f8; font-size: 13px; font-weight: 750; }
input, select, textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid rgba(154,166,197,.24);
    border-radius: 14px;
    padding: 12px 13px;
    background: rgba(7,10,22,.72);
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: #687492; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,211,238,.09); }
select option { color: #111827; background: white; }

.notice {
    padding: 13px 14px;
    border: 1px solid rgba(34,211,238,.16);
    border-radius: 15px;
    margin: 10px 0;
    background: rgba(34,211,238,.065);
    color: #cfeff5;
}
.notice.error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); color: #fecaca; }
.notice.success { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.2); color: #bbf7d0; }

.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; background: rgba(124,58,237,.12); color: #c4b5fd; border: 1px solid rgba(124,58,237,.2); font-size: 11px; white-space: nowrap; }
.status.approved, .status.active, .status.completed { background: rgba(34,197,94,.09); color: #86efac; border-color: rgba(34,197,94,.2); }
.status.pending { background: rgba(245,158,11,.09); color: #fcd34d; border-color: rgba(245,158,11,.2); }
.status.rejected, .status.cancelled, .status.inactive { background: rgba(239,68,68,.08); color: #fca5a5; border-color: rgba(239,68,68,.18); }

.list-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.product-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; }
.product-visual { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(34,211,238,.25), transparent 40%), linear-gradient(145deg, rgba(124,58,237,.32), rgba(7,10,22,.7)); border: 1px solid var(--line-strong); color: var(--accent); }
.product-visual svg { width: 42px; height: 42px; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; background: rgba(7,10,22,.36); }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th { color: var(--muted); font-size: 11px; font-weight: 700; background: rgba(255,255,255,.018); }
tr:last-child td { border-bottom: 0; }

.nav {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(7,10,22,1) 70%, rgba(7,10,22,0));
}
.nav-inner {
    width: min(700px,100%);
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: rgba(17,22,42,.92);
    box-shadow: 0 16px 45px rgba(0,0,0,.45);
    backdrop-filter: blur(20px);
}
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 15px; color: #7884a3; font-size: 10px; transition: .18s ease; }
.nav a:hover, .nav a.active { color: var(--ink); background: linear-gradient(145deg, rgba(124,58,237,.18), rgba(34,211,238,.06)); }
.nav a.active .nav-icon { color: var(--accent); filter: drop-shadow(0 0 8px rgba(34,211,238,.4)); }
.nav-icon { width: 21px; height: 21px; display: grid; place-items: center; }
.nav-icon svg { width: 100%; height: 100%; }

.auth-page {
    min-height: 100vh;
    padding: 22px;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    isolation: isolate;
}
.auth-shell {
    width: min(100%, 1120px);
    min-height: min(760px, calc(100vh - 44px));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
    overflow: hidden;
    border: 1px solid rgba(167,139,250,.2);
    border-radius: 32px;
    background: rgba(11,16,33,.92);
    box-shadow: 0 38px 110px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.04);
}
.auth-art {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(36px, 4.5vw, 58px);
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 18%, rgba(34,211,238,.19), transparent 17rem),
        radial-gradient(circle at 84% 78%, rgba(124,58,237,.4), transparent 24rem),
        linear-gradient(145deg, #0e1730, #080c1b 56%, #180f38);
}
.auth-art::before,
.auth-art::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.auth-art::before {
    width: 380px;
    height: 380px;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(34,211,238,.16);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(124,58,237,.18), inset 0 0 90px rgba(34,211,238,.05);
}
.auth-art::after {
    inset: 0;
    opacity: .38;
    background: linear-gradient(120deg, transparent 34%, rgba(255,255,255,.055), transparent 58%);
    transform: translateX(-36%);
}
.auth-art-grid {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(34,211,238,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,211,238,.16) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
    transform: perspective(520px) rotateX(58deg) scale(1.55) translateY(-10%);
    transform-origin: bottom;
}
.auth-orbit {
    position: absolute;
    top: 10%;
    left: 50%;
    width: min(340px, 66%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    border: 1px solid rgba(34,211,238,.2);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(124,58,237,.22), inset 0 0 55px rgba(34,211,238,.04);
}
.auth-orbit::before {
    content: "";
    position: absolute;
    inset: 17%;
    border: 1px dashed rgba(167,139,250,.26);
    border-radius: 50%;
    animation: auth-orbit-spin 28s linear infinite;
}
.auth-orbit-ring {
    position: absolute;
    inset: 4%;
    border: 1px solid rgba(167,139,250,.19);
    border-radius: 50%;
}
.auth-orbit-ring-one { transform: rotate(68deg) scaleY(.46); }
.auth-orbit-ring-two { transform: rotate(-46deg) scaleY(.58); border-color: rgba(34,211,238,.2); }
.auth-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #bff7ff;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(34,211,238,.85);
}
.auth-orbit-dot-one { top: 18%; left: 24%; }
.auth-orbit-dot-two { right: 12%; bottom: 30%; width: 6px; height: 6px; border-color: #e5dcff; background: var(--primary-2); }
.auth-art-mark {
    position: relative;
    z-index: 2;
    width: 156px;
    height: 156px;
    filter: drop-shadow(0 24px 42px rgba(124,58,237,.52));
    animation: auth-mark-float 6s ease-in-out infinite;
}
.auth-insight-card {
    position: absolute;
    z-index: 3;
    top: 38px;
    left: 34px;
    width: 190px;
    padding: 14px;
    border: 1px solid rgba(34,211,238,.18);
    border-radius: 18px;
    background: rgba(7,10,22,.66);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04);
    backdrop-filter: blur(16px);
}
.auth-insight-head { display: flex; align-items: center; gap: 8px; color: #dce5fb; font-size: 10px; font-weight: 750; }
.auth-insight-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: rgba(34,211,238,.09); color: var(--accent); }
.auth-insight-icon svg { width: 16px; height: 16px; }
.auth-insight-chart { height: 54px; margin-top: 12px; display: flex; align-items: flex-end; gap: 6px; direction: ltr; }
.auth-insight-chart i { width: 100%; height: var(--bar); display: block; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, rgba(124,58,237,.56), rgba(34,211,238,.9)); box-shadow: 0 0 12px rgba(34,211,238,.08); }
.auth-art-copy { position: relative; z-index: 4; max-width: 450px; }
.auth-art-copy .eyebrow { margin-bottom: 12px; direction: ltr; text-align: right; }
.auth-art-copy h1 { margin-bottom: 13px; font-size: clamp(34px, 4.1vw, 48px); line-height: 1.35; letter-spacing: -.035em; }
.auth-art-copy .muted { max-width: 420px; color: #b2bdd8; font-size: 14px; line-height: 2; }
.auth-feature-list { margin-top: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; color: #cbd4ea; font-size: 11px; }
.auth-feature-list span { display: inline-flex; align-items: center; gap: 7px; }
.auth-feature-list i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(34,211,238,.65); }
.auth-panel {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4.5vw, 56px);
    background: linear-gradient(155deg, rgba(10,14,30,.98), rgba(7,10,22,.9));
}
.auth-panel-inner { width: 100%; max-width: 430px; margin: auto; }
.auth-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(34px, 5.5vh, 52px); }
.auth-brand { flex: 0 0 auto; }
.auth-product-label { color: #7885a5; font-size: 10px; font-weight: 700; white-space: nowrap; }
.auth-panel .card { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.auth-panel .card::after { display: none; }
.auth-heading { margin-bottom: 27px; }
.auth-heading .eyebrow { margin-bottom: 9px; }
.auth-heading h1 { font-size: clamp(27px, 3.2vw, 36px); }
.auth-heading .muted { margin-top: 8px; line-height: 1.9; }
.auth-form { display: grid; gap: 17px; }
.auth-control label { margin: 0 0 8px; color: #e4e9f8; font-size: 12px; font-weight: 800; }
.auth-field { position: relative; }
.auth-field input {
    min-height: 54px;
    margin: 0;
    padding: 13px 47px;
    border-color: rgba(154,166,197,.24);
    border-radius: 16px;
    background: rgba(17,23,43,.78);
    box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.auth-field input:hover { border-color: rgba(154,166,197,.38); }
.auth-field input:focus { border-color: rgba(34,211,238,.76); box-shadow: 0 0 0 4px rgba(34,211,238,.08), inset 0 1px rgba(255,255,255,.04); }
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px #11172b inset; caret-color: var(--ink); }
.auth-field #phone { direction: ltr; text-align: left; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.auth-field #password { padding-left: 102px; }
.auth-field-icon { position: absolute; z-index: 2; top: 50%; right: 15px; width: 21px; height: 21px; display: grid; place-items: center; color: #71809f; transform: translateY(-50%); pointer-events: none; transition: color .18s ease; }
.auth-field-icon svg { width: 100%; height: 100%; }
.auth-field:focus-within .auth-field-icon { color: var(--accent); }
.password-toggle { position: absolute; z-index: 2; top: 50%; left: 9px; width: auto; min-height: 36px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: #8794b2; font-size: 10px; font-weight: 750; cursor: pointer; transform: translateY(-50%); transition: color .18s ease, background .18s ease; }
.password-toggle:hover { color: var(--accent); background: rgba(34,211,238,.07); }
.password-toggle:focus-visible { outline: 2px solid rgba(34,211,238,.72); outline-offset: 1px; }
.password-toggle svg { width: 18px; height: 18px; }
.auth-hint { display: block; margin: 6px 3px 0; color: #687695; font-size: 10px; }
.auth-form-meta { min-height: 20px; display: flex; align-items: center; justify-content: flex-start; margin-top: -4px; }
.auth-text-button { width: auto; padding: 0; border: 0; background: transparent; color: #aeb9d2; font-size: 11px; font-weight: 700; cursor: pointer; transition: color .18s ease; }
.auth-text-button:hover { color: var(--accent); }
.auth-text-button:focus-visible { outline: 2px solid rgba(34,211,238,.6); outline-offset: 4px; border-radius: 4px; }
.auth-panel .btn { width: 100%; }
.auth-submit { min-height: 54px; margin-top: 1px; border-radius: 16px; font-size: 14px; }
.auth-submit svg { width: 20px; height: 20px; transition: transform .18s ease; }
.auth-submit:hover svg { transform: translateX(-3px); }
.auth-divider { position: relative; margin: 25px 0 15px; display: flex; align-items: center; justify-content: center; color: #687695; font-size: 10px; }
.auth-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(154,166,197,.13); }
.auth-divider span { position: relative; z-index: 1; padding: 0 12px; background: #090d1d; }
.auth-register { min-height: 49px; border-radius: 15px; }
.auth-assurance { margin-top: 19px; display: flex; align-items: flex-start; justify-content: center; gap: 7px; color: #677492; font-size: 9px; line-height: 1.8; text-align: center; }
.auth-assurance svg { width: 16px; height: 16px; margin-top: 1px; flex: 0 0 auto; color: #7282a4; }
.support-message { margin: -2px 0 0; padding: 11px 12px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; border: 1px solid rgba(167,139,250,.2); border-radius: 14px; background: rgba(124,58,237,.08); color: #d8ccff; font-size: 11px; }
.support-message[hidden] { display: none; }
.support-message p { margin: 0; line-height: 1.8; }
.support-message-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: rgba(124,58,237,.14); color: #c4b5fd; }
.support-message-icon svg { width: 16px; height: 16px; }
.support-message button { width: auto; padding: 5px 7px; border: 0; border-radius: 8px; background: rgba(255,255,255,.045); color: #aeb9d2; font-size: 9px; cursor: pointer; }
.error { margin: 8px 0; color: #fca5a5; font-size: 13px; }
.auth-error { margin: -10px 0 20px; padding: 11px 12px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid rgba(239,68,68,.22); border-radius: 14px; background: rgba(239,68,68,.08); line-height: 1.8; }
.auth-error svg { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }

@keyframes auth-mark-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes auth-orbit-spin { to { transform: rotate(360deg); } }

.empty-state { text-align: center; padding-block: 28px; }
.empty-icon { width: 62px; height: 62px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 20px; background: rgba(124,58,237,.11); color: #c4b5fd; }
.empty-icon svg { width: 30px; height: 30px; }

.wheel-stage { text-align: center; padding-block: 26px; }
.wheel-orbit { position: relative; width: min(290px, 78vw); aspect-ratio: 1; margin: 24px auto; display: grid; place-items: center; }
.wheel-orbit::before, .wheel-orbit::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(34,211,238,.18); border-radius: 50%; box-shadow: 0 0 40px rgba(124,58,237,.2); }
.wheel-orbit::after { inset: 8%; border-style: dashed; opacity: .55; }
.wheel-disc { width: 86%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 18deg, #7c3aed 0 14%, #122248 14% 28%, #0891b2 28% 42%, #2d1b69 42% 57%, #f59e0b 57% 71%, #16213f 71% 85%, #7c3aed 85% 100%); border: 8px solid #11162a; outline: 1px solid rgba(34,211,238,.28); box-shadow: 0 20px 55px rgba(0,0,0,.42), inset 0 0 45px rgba(7,10,22,.7); }
.wheel-core { width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 25%, #a78bfa, #4c1d95 56%, #0b1021); border: 5px solid rgba(245,247,255,.13); color: white; font-size: 34px; font-weight: 900; box-shadow: 0 0 30px rgba(124,58,237,.45); }
.wheel-pointer { position: absolute; top: -2px; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--accent); filter: drop-shadow(0 4px 8px rgba(34,211,238,.35)); z-index: 3; }

@media (max-width: 1050px) {
    .auth-insight-card { display: none; }
}

@media (max-width: 820px) {
    .auth-page { padding: 22px; }
    .auth-shell { width: min(100%, 540px); min-height: calc(100vh - 44px); grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .auth-panel { min-height: calc(100vh - 44px); }
    .auth-panel::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        top: -130px;
        left: -120px;
        border: 1px solid rgba(34,211,238,.08);
        border-radius: 50%;
        box-shadow: 0 0 80px rgba(124,58,237,.12), inset 0 0 60px rgba(34,211,238,.035);
        pointer-events: none;
    }
}

@media (max-width: 760px) {
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
    body { padding-bottom: 88px; }
    .topbar { min-height: 74px; padding-inline: 13px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-name { font-size: 17px; }
    .balance-pill { padding: 7px 10px; }
    .balance-pill .amount { max-width: 132px; overflow: hidden; text-overflow: ellipsis; }
    .page { padding-inline: 10px; }
    .card { border-radius: 20px; }
    .grid.two, .grid.three { grid-template-columns: 1fr; }
    .product-card { grid-template-columns: 1fr; }
    .product-visual { display: none; }
    .nav { padding-inline: 7px; }
    .nav-inner { border-radius: 18px; padding: 5px; }
    .nav a { min-height: 53px; }
    .auth-page { padding: 0; }
    .auth-shell { width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
    .auth-panel { min-height: 100vh; min-height: 100dvh; padding: 25px 21px 30px; }
    .auth-panel-inner { max-width: 430px; }
    .auth-panel-head { margin-bottom: 38px; }
    .auth-product-label { display: none; }
    .auth-heading { margin-bottom: 25px; }
    .auth-heading h1 { font-size: 28px; }
    .auth-assurance { padding-inline: 9px; }
}

@media (max-width: 360px) {
    .auth-panel { padding-inline: 17px; }
    .password-toggle span { display: none; }
    .auth-field #password { padding-left: 54px; }
    .auth-divider { margin-top: 22px; }
}

@media (max-height: 720px) and (min-width: 821px) {
    .auth-shell { min-height: calc(100vh - 28px); }
    .auth-panel { padding-block: 26px; }
    .auth-panel-head { margin-bottom: 24px; }
    .auth-heading { margin-bottom: 20px; }
    .auth-form { gap: 13px; }
    .auth-divider { margin-block: 18px 12px; }
    .auth-assurance { margin-top: 13px; }
    .auth-art-copy h1 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Locale controls and bidirectional layout */
.locale-switcher { position:relative; display:inline-block; direction:ltr; color:#f7f3ff; }
.locale-switcher summary { min-height:38px; display:flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid rgba(167,139,250,.3); border-radius:12px; background:rgba(8,10,25,.92); box-shadow:0 10px 28px rgba(0,0,0,.24); cursor:pointer; list-style:none; user-select:none; }
.locale-switcher summary::-webkit-details-marker { display:none; }
.locale-switcher summary:focus-visible { outline:2px solid #b896ff; outline-offset:2px; }
.locale-switcher .locale-flag { width:24px; height:16px; flex:0 0 24px; display:block; overflow:hidden; border-radius:3px; background:#111529; box-shadow:0 0 0 1px rgba(255,255,255,.13),0 3px 8px rgba(0,0,0,.22); }
.locale-switcher .locale-flag img { width:100%; height:100%; display:block; object-fit:cover; }
.locale-switcher .locale-current { min-width:54px; font-size:12px; font-weight:800; white-space:nowrap; }
.locale-switcher .locale-chevron { width:7px; height:7px; margin-inline-start:2px; border-right:2px solid #a89fba; border-bottom:2px solid #a89fba; transform:rotate(45deg) translateY(-2px); transition:transform .18s ease; }
.locale-switcher[open] .locale-chevron { transform:rotate(225deg) translate(-1px,-1px); }
.locale-switcher .locale-menu { position:absolute; top:calc(100% + 7px); right:0; width:174px; display:grid; gap:3px; padding:6px; border:1px solid rgba(167,139,250,.28); border-radius:14px; background:rgba(8,10,25,.98); box-shadow:0 18px 42px rgba(0,0,0,.38); overflow:hidden; }
.locale-switcher button { width:100%; min-height:38px; display:grid; grid-template-columns:24px 1fr 18px; align-items:center; gap:8px; padding:7px 9px; border:0; border-radius:9px; background:transparent; color:#c8bfd8; font:700 12px/1.2 inherit; text-align:left; cursor:pointer; }
.locale-switcher button:hover,.locale-switcher button:focus-visible { background:rgba(167,139,250,.12); color:#fff; outline:none; }
.locale-switcher button.active { background:linear-gradient(135deg,rgba(112,35,255,.42),rgba(193,66,255,.3)); color:#fff; }
.locale-switcher .locale-check { color:#c9a8ff; font-size:14px; text-align:center; }
.floating-locale { position:fixed; z-index:120; top:max(10px,env(safe-area-inset-top)); inset-inline-end:max(10px,env(safe-area-inset-right)); }
.profile-locale { position:relative; z-index:140; flex:0 0 auto; margin-inline-start:auto; }
.profile-locale summary { min-height:36px; gap:6px; padding:5px 8px; }
.profile-locale .locale-current { min-width:0; }
.screen-profile .profile-identity-card { direction:ltr !important; }
.screen-profile .profile-locale .locale-menu { right:0; left:auto; }
.entry-locale { position:absolute; z-index:20; top:18px; inset-inline-end:20px; }
[dir="ltr"] .entry-field input { padding-right:53px; padding-left:58px; text-align:left; }
[dir="ltr"] .entry-field-icon { right:auto; left:17px; }
[dir="ltr"] .entry-password-toggle { right:15px; left:auto; }
[dir="ltr"] .entry-phone-field input { padding-right:132px; padding-left:53px; text-align:left; }
[dir="ltr"] .entry-phone-field input::placeholder { direction:ltr; text-align:left; }
[dir="ltr"] .entry-country-trigger { right:10px; left:auto; border-right:0; border-left:1px solid rgba(139,110,170,.26); }
[dir="ltr"] .entry-country-option { text-align:left; }
[dir="ltr"] .entry-country-option b { text-align:right; }
[dir="ltr"] .row-arrow svg { transform:scaleX(-1); }
[dir="ltr"] .screen-wallet .wallet-hero-copy,
[dir="ltr"] .screen-wallet .wallet-hero-badge,
[dir="ltr"] .screen-wallet .history-hero-copy { right:auto; left:6%; }
[dir="ltr"] .screen-wallet .wallet-orbit { right:7%; left:auto; }
[dir="ltr"] .screen-wallet .history-count,
[dir="ltr"] .screen-wallet .history-pulse { right:5%; left:auto; text-align:right; }
[dir="ltr"] .screen-wallet .finance-timeline::before { right:auto; left:21px; }
[dir="ltr"] .screen-wallet .wallet-steps::before { right:auto; left:15px; }
[dir="ltr"] .screen-profile .profile-menu .row-arrow { transform:scaleX(-1); }

@media(max-width:520px) {
    .entry-locale { top:12px; inset-inline-end:12px; }
    .locale-switcher summary { min-height:36px; padding:5px 9px; }
    .locale-switcher .locale-current { min-width:0; }
    [dir="ltr"] .screen-wallet .wallet-orbit { right:-7px; left:auto; }
    [dir="ltr"] .screen-wallet .wallet-hero-copy,
    [dir="ltr"] .screen-wallet .wallet-hero-badge { left:5%; }
}

/* Mobile app composition, aligned with the approved screen-recording structure. */
.screen-home .topbar,.screen-products .topbar,.screen-team .topbar,.screen-profile .topbar{display:none}
.screen-home .app-shell,.screen-products .app-shell,.screen-team .app-shell,.screen-profile .app-shell{width:min(100%,760px)}
.screen-home .page,.screen-products .page,.screen-team .page,.screen-profile .page{padding-top:18px}
.screen-home,.screen-products,.screen-team,.screen-profile{background:radial-gradient(circle at 100% 0,rgba(34,211,238,.08),transparent 26rem),radial-gradient(circle at 0 42%,rgba(124,58,237,.11),transparent 30rem),#050713}

.mobile-account-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 4px 15px}.mobile-identity{display:flex;align-items:center;gap:12px}.mobile-avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,rgba(124,58,237,.25),rgba(34,211,238,.11));border:1px solid var(--line-strong);box-shadow:0 12px 28px rgba(0,0,0,.28)}.mobile-avatar img{width:43px;height:43px}.mobile-identity>span:last-child{display:grid;line-height:1.25}.profile-kicker{margin-bottom:2px;color:var(--accent);font-size:10px;font-style:normal;font-weight:800}.mobile-identity strong{font-size:19px;letter-spacing:.04em}.mobile-identity strong em{color:var(--accent);font-size:13px;font-style:normal}.mobile-identity small{margin-top:5px;color:#727f9f;font-size:11px;direction:ltr;text-align:right}.round-action{width:43px;height:43px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;background:rgba(34,211,238,.07);color:var(--accent)}.round-action svg{width:23px;height:23px}

.home-banner{position:relative;min-height:275px;margin-bottom:18px;overflow:hidden;border:1px solid rgba(124,58,237,.26);border-radius:18px;background:radial-gradient(circle at 24% 22%,rgba(34,211,238,.2),transparent 13rem),radial-gradient(circle at 88% 78%,rgba(124,58,237,.38),transparent 19rem),linear-gradient(135deg,#0f1733,#0a0d1e 58%,#1b103c);box-shadow:0 22px 60px rgba(0,0,0,.35)}.banner-grid{position:absolute;inset:0;opacity:.23;background-image:linear-gradient(rgba(34,211,238,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(34,211,238,.18) 1px,transparent 1px);background-size:32px 32px;transform:perspective(420px) rotateX(58deg) scale(1.4);transform-origin:bottom}.banner-orbit{position:absolute;left:7%;top:12%;width:190px;height:190px;display:grid;place-items:center;border:1px solid rgba(34,211,238,.28);border-radius:50%;box-shadow:0 0 60px rgba(124,58,237,.35),inset 0 0 50px rgba(34,211,238,.08)}.banner-orbit::before,.banner-orbit::after{content:"";position:absolute;inset:-13px;border:1px dashed rgba(167,139,250,.3);border-radius:50%;transform:rotate(18deg)}.banner-orbit::after{inset:22px;border-color:rgba(34,211,238,.25);transform:rotate(-25deg)}.banner-orbit img{width:118px;height:118px;filter:drop-shadow(0 16px 26px rgba(124,58,237,.5))}.banner-copy{position:absolute;right:7%;bottom:18%;display:grid;max-width:52%;z-index:2}.banner-copy span{color:var(--accent);font-size:9px;font-weight:850;letter-spacing:.12em;direction:ltr;text-align:right}.banner-copy strong{margin-top:8px;font-size:clamp(18px,4.4vw,29px);line-height:1.55}

.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;padding:18px 10px;border:1px solid var(--line);border-radius:16px;background:rgba(15,20,39,.84);box-shadow:inset 0 1px rgba(255,255,255,.03)}.home-stats>div{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 8px;border-left:1px solid rgba(154,166,197,.1)}.home-stats>div:last-child{border-left:0}.stat-icon{height:25px;color:#56627d}.stat-icon svg{width:24px;height:24px}.home-stats small{min-height:34px;margin:4px 0;color:#77829e;font-size:9px;line-height:1.5}.home-stats strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#e9edf9;font-size:11px;white-space:nowrap}

.home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:16px;padding:15px 7px;border:1px solid rgba(167,139,250,.18);border-radius:18px;background:rgba(6,9,21,.76)}.home-actions a,.home-actions button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;border:0;background:none;color:#a3acc2;font:inherit;font-size:10px;text-align:center;cursor:pointer}.home-action-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(34,211,238,.28),rgba(124,58,237,.14) 55%,rgba(7,10,22,.7));border:1px solid rgba(34,211,238,.24);color:#33e1db;box-shadow:0 0 18px rgba(34,211,238,.1)}.home-action-icon svg{width:25px;height:25px}

.reward-banner{position:relative;min-height:116px;display:grid;grid-template-columns:68px 1fr;align-items:center;gap:12px;margin-bottom:16px;padding:15px 18px;overflow:hidden;border:1px solid rgba(167,139,250,.22);border-radius:16px;background:radial-gradient(circle at 10% 50%,rgba(34,211,238,.24),transparent 9rem),radial-gradient(circle at 90% 45%,rgba(124,58,237,.5),transparent 15rem),linear-gradient(135deg,#15244b,#21104e);box-shadow:0 18px 38px rgba(0,0,0,.25)}.reward-banner::after{content:"AI";position:absolute;left:15px;bottom:-24px;color:rgba(255,255,255,.045);font:900 86px/1 sans-serif}.reward-cup{position:relative;z-index:1;width:60px;height:72px;display:grid;place-items:center;color:#c4b5fd;font-size:55px;text-shadow:0 0 20px rgba(34,211,238,.55)}.reward-banner>span:nth-child(2){display:grid;z-index:1}.reward-banner strong{color:#f7d8a3;font-size:17px}.reward-banner small{margin-top:4px;color:#c9cfea;font-size:10px}.reward-cta{position:absolute;right:98px;left:18px;bottom:8px;padding:5px 12px;border-radius:999px;background:rgba(7,10,22,.34);color:#dadff1;font-size:9px;text-align:center}

.home-section{margin-top:12px}.mobile-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 3px 11px}.mobile-section-title strong{font-size:15px}.mobile-section-title a,.mobile-section-title span{color:#75819e;font-size:10px}.home-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-product{min-width:0;display:flex;flex-direction:column;padding:10px 9px 13px;border:1px solid rgba(167,139,250,.14);border-radius:13px;background:linear-gradient(160deg,rgba(18,25,48,.96),rgba(10,14,29,.96));box-shadow:0 12px 25px rgba(0,0,0,.2)}.product-chip{align-self:flex-start;padding:2px 8px;border-radius:999px;background:linear-gradient(90deg,#22c55e,#22d3ee);color:#06131a;font-size:8px;font-weight:900;white-space:nowrap}.home-product:nth-child(2) .product-chip{background:linear-gradient(90deg,#7c3aed,#22d3ee);color:#fff}.home-product:nth-child(3) .product-chip{background:linear-gradient(90deg,#ec4899,#7c3aed);color:#fff}.product-machine{height:86px;display:grid;place-items:center;margin:5px 0;border-bottom:1px solid var(--line)}.product-machine img{width:66px;height:66px;filter:drop-shadow(0 12px 14px rgba(124,58,237,.4))}.product-duration{align-self:flex-start;padding:3px 8px;border-radius:999px;background:#202a49;color:#c4cce0;font-size:8px}.product-data{display:grid;margin-top:7px}.product-data small{color:#707c99;font-size:8px}.product-data strong{margin-top:2px;color:#4ade80;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-contract{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(17,22,42,.76)}.compact-contract>span:first-child{display:grid}.compact-contract small{color:var(--muted);font-size:9px}.mobile-empty{grid-column:1/-1;padding:35px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center}

.mobile-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;padding:5px 4px 14px;border-bottom:1px solid rgba(167,139,250,.12)}.mobile-page-heading>span{display:grid}.mobile-page-heading small{color:var(--accent);font-size:9px;font-weight:850;letter-spacing:.12em}.mobile-page-heading strong{font-size:19px}.mobile-page-heading>a{padding:7px 12px;border:1px solid var(--line);border-radius:999px;color:#aeb8cf;font-size:10px}.mobile-product-list{display:grid;gap:12px}.catalog-product{display:grid;grid-template-columns:44% 1fr;min-height:232px;overflow:hidden;border:1px solid rgba(167,139,250,.14);border-radius:15px;background:linear-gradient(150deg,rgba(17,23,45,.98),rgba(9,13,28,.98));box-shadow:0 16px 35px rgba(0,0,0,.2)}.catalog-visual{position:relative;display:flex;flex-direction:column;padding:13px;background:radial-gradient(circle at 45% 55%,rgba(34,211,238,.16),transparent 8rem)}.catalog-orbit{flex:1;display:grid;place-items:center}.catalog-orbit img{width:92px;height:92px;filter:drop-shadow(0 17px 24px rgba(124,58,237,.45))}.catalog-info{position:relative;padding:13px 13px 12px}.catalog-info>.product-duration{position:absolute;left:12px;top:12px}.catalog-info h2{margin:27px 0 8px;font-size:16px}.catalog-info dl{display:grid;gap:3px;margin:0}.catalog-info dl>div{display:flex;justify-content:space-between;gap:7px}.catalog-info dt{color:#79849f;font-size:9px}.catalog-info dd{margin:0;color:#cfd5e5;font-size:9px}.catalog-buy{min-height:37px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px;border-radius:999px;background:linear-gradient(100deg,#22c55e,#22d3ee,#7c3aed);color:#fff;font-size:11px;font-weight:850}.catalog-buy svg{width:18px;height:18px}.catalog-buy.disabled{width:100%;border:0;background:#252d48;color:#727d98}.catalog-note{margin-top:6px;color:#fca5a5;font-size:8px;line-height:1.5}.catalog-product.sold-out{opacity:.58}.lock-mark{position:absolute;inset:48% auto auto 50%;transform:translate(-50%,-50%);font-size:32px;color:#c5ccde}

.referral-banner{position:relative;min-height:185px;display:flex;align-items:center;gap:18px;margin-bottom:-28px;padding:22px 23px 50px;overflow:hidden;border:1px solid rgba(167,139,250,.2);border-radius:18px 18px 0 0;background:radial-gradient(circle at 20% 30%,rgba(245,158,11,.2),transparent 12rem),radial-gradient(circle at 85% 70%,rgba(124,58,237,.46),transparent 15rem),linear-gradient(135deg,#151332,#0c1329)}.referral-banner>img{width:104px;height:104px;filter:drop-shadow(0 17px 25px rgba(124,58,237,.46));z-index:1}.referral-banner>div:last-child{display:grid;z-index:1}.referral-banner span{color:#fbbf24;font-size:9px;letter-spacing:.1em}.referral-banner strong{margin-top:7px;font-size:17px;line-height:1.6}.referral-coins i{position:absolute;width:13px;height:13px;border:2px solid rgba(251,191,36,.65);border-radius:50%;box-shadow:0 0 12px rgba(251,191,36,.35)}.referral-coins i:nth-child(1){top:18px;left:24px}.referral-coins i:nth-child(2){top:55px;right:25px}.referral-coins i:nth-child(3){bottom:38px;left:45%}.referral-coins i:nth-child(4){top:15px;right:43%}.invite-pill{position:relative;z-index:3;display:flex;align-items:center;gap:8px;margin:0 14px 18px;padding:7px;border:4px solid #4f8cff;border-radius:999px;background:#0b1631;box-shadow:0 10px 25px rgba(0,0,0,.32)}.invite-pill>div{flex:1;min-width:0;overflow:hidden;padding:0 8px;color:#57d7ef;font-size:11px;direction:ltr;text-overflow:ellipsis;white-space:nowrap}.invite-pill button{width:48px;height:40px;border:0;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#22d3ee);color:#fff;font-size:10px;cursor:pointer}.team-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;padding:18px;border:1px solid var(--line);border-radius:17px;background:rgba(17,22,42,.86)}.team-overview>div{display:grid;place-items:center;min-height:80px;border-left:1px solid var(--line)}.team-overview>div:last-child{border-left:0}.team-overview small{color:#98a3bd;font-size:10px}.team-overview strong{font-size:16px}.mobile-section-label{margin:13px 4px 8px;color:#7d89a5;font-size:11px}.invite-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.reward-level{position:relative;min-width:0;min-height:111px;display:flex;align-items:center;gap:7px;overflow:hidden;padding:12px 10px;border-radius:15px;background:#11182c}.reward-level::before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:currentColor}.reward-level.warm{color:#f97316}.reward-level.cool{color:#38bdf8}.reward-level .medal{flex:0 0 auto;font-size:23px}.reward-level>div{display:grid;min-width:0;overflow:hidden}.reward-level small{color:#e5e9f4;font-size:10px}.reward-level strong{font-size:clamp(18px,5.4vw,24px);line-height:1.2;direction:ltr;white-space:nowrap}.reward-level em{color:#707c97;font-size:8px;font-style:normal}.level-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.level-rate-grid article{display:grid;place-items:center;padding:15px 5px;border:1px solid rgba(167,139,250,.1);border-radius:13px;background:#11182c;text-align:center}.level-rate-grid small{color:#d5daea;font-size:10px}.level-rate-grid strong{font-size:23px}.level-rate-grid em{color:#69758f;font-size:8px;font-style:normal}.level-color-1{color:#f43f9b!important}.level-color-2{color:#60a5fa!important}.level-color-3{color:#4ade80!important}.team-level-list{display:grid;gap:8px}.team-level-list article{display:grid;grid-template-columns:32px 1fr auto 23px;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:999px;background:rgba(10,14,30,.82)}.member-icon{width:30px;height:30px;color:#6e7891}.member-icon svg{width:100%;height:100%}.team-level-list article>span:nth-child(2){display:grid}.team-level-list strong{font-size:9px}.team-level-list small{color:#7d88a2;font-size:8px}.level-income{font-size:8px}.row-arrow{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(34,211,238,.12);color:var(--accent);font-size:22px}.team-income-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.team-income-strip>span{display:grid;padding:12px;border:1px solid var(--line);border-radius:13px;color:#8390aa;font-size:9px}.team-income-strip strong{color:#dce2f1;font-size:10px}.compact-history{margin-top:14px}

.referral-income-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:-9px 0 18px}.referral-income-breakdown>div{min-width:0;display:grid;align-content:center;gap:5px;min-height:72px;padding:10px 7px;border:1px solid rgba(167,139,250,.12);border-radius:13px;background:rgba(11,16,34,.82);text-align:center}.referral-income-breakdown small{color:#7f8aa5;font-size:8px}.referral-income-breakdown strong{overflow:hidden;color:#dce6f8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.team-level-group{display:grid;gap:7px}.team-member-details{display:grid;gap:6px;margin:0 8px 7px;padding:8px;border-right:1px solid rgba(34,211,238,.2)}.team-member-row{display:grid;grid-template-columns:8px minmax(82px,.75fr) minmax(0,1.25fr);align-items:center;gap:9px;padding:10px 11px;border:1px solid rgba(148,163,184,.11);border-radius:13px;background:rgba(15,21,41,.86)}.member-level-dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}.member-contact,.member-active-product{min-width:0;display:grid;gap:3px}.team-member-row small{color:#68758f;font-size:8px}.team-member-row strong{overflow:hidden;color:#dce3f1;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.member-contact strong{direction:ltr;text-align:right;letter-spacing:.04em}.member-active-product em{overflow:hidden;color:#65718b;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.team-level-summary{width:100%;display:grid;grid-template-columns:32px 1fr auto 23px;align-items:center;gap:8px;padding:11px 18px;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:rgba(10,14,30,.82);color:inherit;font:inherit;text-align:right;cursor:pointer}.team-level-summary>span:nth-child(2){display:grid}.team-level-summary .row-arrow{justify-self:center;margin:0}.accordion-trigger .row-arrow{overflow:hidden;font-size:0;line-height:0;transition:transform .2s ease,background-color .2s ease}.accordion-trigger .row-arrow svg{width:13px;height:13px;display:block}.accordion-trigger[aria-expanded="true"] .row-arrow{transform:rotate(90deg);background:rgba(34,211,238,.22)}.accordion-panel[hidden]{display:none!important}.team-members-empty{padding:14px;border:1px dashed rgba(148,163,184,.14);border-radius:12px;color:#74809a;font-size:9px;text-align:center}.commission-history-accordion{display:grid;gap:8px;margin-top:14px}.history-toggle{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:rgba(10,14,30,.9);color:inherit;font:inherit;text-align:right;cursor:pointer}.history-toggle>span:first-child{display:grid;gap:3px}.history-toggle strong{font-size:12px}.history-toggle small{color:#77839d;font-size:9px}.commission-history-accordion .compact-history{margin-top:0}.commission-history-accordion .table-wrap{margin-top:0}

.profile-head{padding-top:1px}.profile-summary{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;padding:19px 45% 19px 17px;overflow:hidden;border:1px solid rgba(167,139,250,.22);border-radius:17px;background:radial-gradient(circle at 84% 50%,rgba(59,130,246,.28),transparent 12rem),linear-gradient(135deg,#171748,#10162e)}.profile-summary>div{min-width:0;display:grid}.profile-summary small{color:#a1abc1;font-size:9px}.profile-summary strong{font-size:12px}.warning-value{color:#fb923c}.summary-graph{position:absolute;right:6%;top:18%;width:35%;height:65%;color:#60a5fa;filter:drop-shadow(0 9px 15px rgba(59,130,246,.28))}.summary-graph svg{width:100%;height:100%}.profile-menu{display:grid;gap:9px}.profile-menu a{min-height:66px;display:grid;grid-template-columns:40px 1fr 24px;align-items:center;gap:11px;padding:10px 15px;border:1px solid rgba(167,139,250,.12);border-radius:999px;background:#111627;color:#d6dcec}.profile-menu strong{font-size:12px}.menu-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(34,211,238,.08);color:#31d9d3;box-shadow:inset 0 0 14px rgba(124,58,237,.12)}.menu-icon svg{width:23px;height:23px}.security-panel{margin-top:17px;padding:18px;border:1px solid var(--line);border-radius:17px;background:rgba(17,22,42,.86)}.security-panel .btn{width:100%}.profile-logout{text-align:center;margin:25px 0 8px}.profile-logout button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 30px;border:1px solid rgba(239,68,68,.22);border-radius:999px;background:transparent;color:#f43f5e;font:inherit;font-weight:800;cursor:pointer}.profile-logout svg{width:20px;height:20px}

.wallet-channel-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}.wallet-channel-tabs a{min-height:47px;display:flex;align-items:center;justify-content:center;padding:7px;border:1px solid rgba(34,211,238,.18);border-radius:12px;background:#111a2e;color:#aeb8cc;font-size:10px;font-weight:800}.wallet-channel-tabs a.active{background:linear-gradient(100deg,#2563eb,#22d3ee);color:#fff;box-shadow:0 10px 24px rgba(34,211,238,.18)}.mobile-form-panel{border-radius:15px;background:linear-gradient(145deg,rgba(16,39,55,.94),rgba(8,18,33,.97))}.mobile-form-panel .btn.accent{width:100%;border-radius:999px}

.nav-inner{grid-template-columns:repeat(4,minmax(0,1fr));background:rgba(9,13,29,.96);border-color:rgba(167,139,250,.18)}.nav a{min-height:58px}.nav a:hover,.nav a.active{background:transparent;color:#dce3f2}.nav a.active .nav-icon{color:#21e0cf}

@media(min-width:761px){.home-banner{min-height:330px}.banner-orbit{width:240px;height:240px}.banner-orbit img{width:150px;height:150px}.home-stats,.home-actions{padding-inline:24px}.catalog-product{min-height:260px}.mobile-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-team .page{max-width:700px;margin:auto}}
@media(max-width:520px){.screen-home .page,.screen-products .page,.screen-team .page,.screen-profile .page{padding:11px 9px 28px}.home-banner{min-height:235px}.banner-orbit{width:145px;height:145px;left:4%;top:12%}.banner-orbit img{width:91px;height:91px}.banner-copy{right:5%;bottom:15%;max-width:56%}.banner-copy strong{font-size:17px}.home-stats{padding-inline:3px}.home-stats>div{padding-inline:4px}.home-actions{padding-inline:3px}.home-action-icon{width:42px;height:42px}.reward-banner{min-height:108px;padding-inline:12px}.reward-cta{right:84px}.home-product-grid{gap:6px}.home-product{padding-inline:7px}.product-machine{height:75px}.product-machine img{width:58px;height:58px}.catalog-product{grid-template-columns:42% 1fr;min-height:224px}.catalog-info{padding-inline:10px}.catalog-info h2{font-size:14px}.referral-banner{min-height:170px;padding-inline:16px}.referral-banner>img{width:86px;height:86px}.referral-banner strong{font-size:15px}.invite-pill{margin-inline:8px}.team-level-list article{grid-template-columns:30px 1fr auto 20px}.profile-summary{padding-left:12px;padding-right:43%;gap:11px}.profile-menu a{min-height:60px}.security-panel{padding:15px}}

/* Stable SVG chevrons across every user-facing row. */
.row-arrow{overflow:hidden!important;font-size:0!important;line-height:0!important}
.row-arrow svg{width:13px;height:13px;display:block}
.profile-menu .profile-security-toggle{width:100%;min-height:66px;display:grid;grid-template-columns:40px 1fr 24px;align-items:center;gap:11px;padding:10px 15px;border:1px solid rgba(167,139,250,.12);border-radius:999px;background:#111627;color:#d6dcec;font:inherit;text-align:right;cursor:pointer}
.profile-menu .profile-security-toggle[aria-expanded="true"]{border-color:rgba(34,211,238,.28);background:rgba(17,26,45,.98)}
.security-panel[hidden]{display:none!important}
.profile-menu-note{display:block;margin-top:4px;color:#8f9bb5;font-size:9px;font-weight:600}.usdt-security-panel{border-color:rgba(34,211,238,.22);background:linear-gradient(145deg,rgba(17,25,45,.96),rgba(13,19,36,.92))}.usdt-security-intro{margin:0 0 16px;color:#a6b0c5;font-size:11px;line-height:1.9}.usdt-security-message{margin-bottom:14px;padding:11px 13px;border:1px solid;border-radius:12px;font-size:11px;line-height:1.8}.usdt-security-message.success{border-color:rgba(16,185,129,.3);background:rgba(16,185,129,.09);color:#6ee7b7}.usdt-security-message.warning{border-color:rgba(245,158,11,.32);background:rgba(245,158,11,.09);color:#fcd34d}.usdt-security-message.danger{border-color:rgba(244,63,94,.3);background:rgba(244,63,94,.08);color:#fda4af}.usdt-wallet-address-input{direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em}.withdraw-security-required a{color:#67e8f9;text-decoration:underline;text-underline-offset:3px}
.usdt-security-panel .usdt-security-submit{min-height:50px;padding:12px 18px;font-family:Vazirmatn,IRANSansX,Tahoma,"Segoe UI",sans-serif;font-size:13px;font-weight:850;line-height:1.6;letter-spacing:0;word-spacing:1px;color:#07151b;text-shadow:none}
.profile-menu>.profile-inline-panel{width:auto;margin:-1px 7px 4px;padding:16px;animation:profilePanelReveal .2s ease-out}.profile-menu>.profile-inline-panel .mobile-section-title{margin-bottom:13px}@keyframes profilePanelReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.profile-inline-panel .profile-security-submit{min-height:50px;padding:12px 18px;font-family:Vazirmatn,IRANSansX,Tahoma,"Segoe UI",sans-serif;font-size:13px;font-weight:850;line-height:1.6;letter-spacing:0;word-spacing:1px;text-align:center;text-shadow:none}
@media(max-width:520px){.profile-menu .profile-security-toggle{min-height:60px}}

/* Neon, mobile-first authentication inspired by the approved visual reference. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.entry-page {
    min-height: 100vh;
    padding: 0;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(34,211,238,.08), transparent 26rem),
        radial-gradient(circle at 0 42%, rgba(124,58,237,.11), transparent 30rem),
        #050713;
    color: #f8f5ff;
}
body.entry-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
body.entry-page::after {
    content: "";
    position: fixed;
    z-index: 0;
    left: 50%;
    bottom: -270px;
    width: min(940px, 180vw);
    height: 560px;
    border: 1px solid rgba(147,74,255,.27);
    border-radius: 50%;
    background:
        repeating-radial-gradient(ellipse at 50% 52%, transparent 0 25px, rgba(133,63,255,.2) 26px 27px),
        repeating-conic-gradient(from 0deg at 50% 52%, transparent 0 5deg, rgba(131,62,245,.12) 5.2deg 5.5deg);
    box-shadow: 0 -35px 90px rgba(111,28,255,.14), inset 0 30px 95px rgba(103,29,233,.12);
    transform: translateX(-50%) perspective(600px) rotateX(52deg);
    transform-origin: center;
    pointer-events: none;
}

.entry-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    min-height: 100vh;
    padding: 32px 31px 30px;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(34,211,238,.07) 50%, transparent 50.2%),
        linear-gradient(180deg, rgba(5,7,19,.12), rgba(5,7,19,.5));
}
.entry-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 25%;
    bottom: 8%;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(156,69,255,.2) 18%, rgba(174,78,255,.58) 67%, transparent);
    box-shadow: 0 0 28px 5px rgba(132,41,255,.2);
    transform: translateX(-50%);
}
.entry-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 52px;
    right: 20px;
    width: 74px;
    height: 74px;
    opacity: .34;
    background-image: radial-gradient(circle, rgba(161,93,255,.65) 1px, transparent 1.5px);
    background-size: 10px 10px;
    pointer-events: none;
}

.entry-hero { position: relative; display: grid; justify-items: center; text-align: center; }
.entry-logo-orbit {
    position: relative;
    width: 142px;
    height: 142px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(154,75,255,.28);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117,38,237,.22), rgba(15,5,40,.18) 64%, transparent 65%);
    box-shadow: 0 0 44px rgba(128,38,255,.24), inset 0 0 34px rgba(142,57,255,.12);
}
.entry-logo-orbit::before,
.entry-logo-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.entry-logo-orbit::before { inset: 12px; border: 1px dashed rgba(163,88,255,.35); animation: entry-spin 24s linear infinite; }
.entry-logo-orbit::after { inset: 27px; border: 1px solid rgba(105,68,255,.22); box-shadow: 0 0 24px rgba(142,42,255,.2); }
.entry-logo-orbit img {
    position: relative;
    z-index: 3;
    width: 103px;
    height: 103px;
    filter: drop-shadow(0 15px 24px rgba(115,41,255,.55));
    animation: entry-float 5.6s ease-in-out infinite;
}
.entry-orbit-ring { position: absolute; inset: 2px; border: 1px solid rgba(135,69,255,.22); border-radius: 50%; }
.entry-orbit-ring-one { transform: rotate(62deg) scaleY(.48); }
.entry-orbit-ring-two { transform: rotate(-43deg) scaleY(.58); border-color: rgba(190,83,255,.22); }
.entry-orbit-dot { position: absolute; z-index: 2; width: 7px; height: 7px; border: 2px solid #d9bdff; border-radius: 50%; background: #a442ff; box-shadow: 0 0 16px rgba(168,62,255,.9); }
.entry-orbit-dot-one { top: 17px; left: 28px; }
.entry-orbit-dot-two { right: 12px; bottom: 38px; width: 5px; height: 5px; }
.entry-wordmark { margin-top: -2px; display: inline-flex; align-items: baseline; direction: ltr; line-height: 1; letter-spacing: -.04em; }
.entry-wordmark span { color: #fbf9ff; font-size: 44px; font-weight: 950; text-shadow: 0 0 20px rgba(255,255,255,.1); }
.entry-wordmark b { margin-left: 0; color: transparent; font-size: 44px; font-weight: 950; background: linear-gradient(135deg, #6d5bff, #d24cff); -webkit-background-clip: text; background-clip: text; }
.entry-hero p { margin: 9px 0 0; color: #8f85ad; font-size: 12px; font-weight: 650; }

.entry-tabs { width: min(100%, 286px); margin: 30px auto 29px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.entry-tab { position: relative; min-height: 42px; display: flex; align-items: center; justify-content: center; color: #a69bbf; font-size: 16px; font-weight: 800; }
.entry-tab::after { content: ""; position: absolute; right: 16%; bottom: 0; left: 16%; height: 3px; border-radius: 999px; background: transparent; }
.entry-tab.active { color: #c27aff; text-shadow: 0 0 16px rgba(169,74,255,.28); }
.entry-tab.active::after { background: linear-gradient(90deg, #6f36ff, #d652ff); box-shadow: 0 0 12px rgba(168,65,255,.58); }
.entry-tab:not(.active):hover { color: #e1d7f4; }

.entry-form-card { width: 100%; }
.entry-form { display: grid; gap: 18px; }
.entry-field {
    position: relative;
    min-height: 68px;
    display: flex;
    align-items: center;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(137,110,172,.42);
    border-radius: 20px;
    background: linear-gradient(100deg, rgba(39,21,65,.73), rgba(24,15,48,.72));
    box-shadow: inset 0 1px rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.08);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.entry-field:hover { border-color: rgba(171,114,228,.56); }
.entry-field:focus-within { border-color: rgba(175,72,255,.92); background: rgba(40,20,68,.82); box-shadow: 0 0 0 3px rgba(152,56,255,.09), 0 0 26px rgba(123,39,255,.12); }
.entry-field input {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 66px;
    margin: 0;
    padding: 14px 53px 14px 58px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f8f5ff;
    box-shadow: none;
    font-size: 12px;
    outline: 0;
}
.entry-field input:focus { border: 0; box-shadow: none; }
.entry-field input::placeholder { color: #766d90; opacity: 1; }
.entry-field input:-webkit-autofill,
.entry-field input:-webkit-autofill:hover,
.entry-field input:-webkit-autofill:focus { -webkit-text-fill-color: #f8f5ff; box-shadow: 0 0 0 1000px #211238 inset; caret-color: #fff; }
.entry-field input[readonly] { color: #c8b8df; cursor: default; }
.entry-field-icon { position: absolute; z-index: 3; top: 50%; right: 17px; width: 23px; height: 23px; display: grid; place-items: center; color: #8575a2; transform: translateY(-50%); pointer-events: none; transition: color .2s ease; }
.entry-field-icon svg { width: 100%; height: 100%; }
.entry-field:focus-within .entry-field-icon { color: #ba70ff; }
.entry-phone-picker { position: relative; z-index: 7; }
.entry-phone-field input { padding-left: 132px; direction: ltr; text-align: right; }
.entry-phone-field input::placeholder { direction: rtl; text-align: right; }
.entry-country-trigger {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 10px;
    min-width: 112px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 8px 5px 7px;
    border: 0;
    border-right: 1px solid rgba(139,110,170,.26);
    border-radius: 10px;
    background: rgba(255,255,255,.015);
    color: #d8d0e4;
    direction: ltr;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .18s ease, background .18s ease;
}
.entry-country-trigger:hover,
.entry-country-trigger[aria-expanded="true"] { color: #c98aff; background: rgba(143,61,220,.1); }
.entry-country-trigger:focus-visible { outline: 2px solid rgba(190,96,255,.78); outline-offset: 1px; }
.entry-country-trigger b { min-width: 29px; font-size: 11px; font-weight: 800; }
.entry-country-trigger svg { width: 11px; height: 7px; flex: 0 0 auto; transition: transform .18s ease; }
.entry-country-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.entry-country-flag { width: 26px; height: 19px; min-width: 26px; display: block; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; box-shadow: 0 2px 7px rgba(0,0,0,.24); }
.entry-country-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(170,92,244,.48);
    border-radius: 18px;
    background: rgba(17,8,36,.98);
    box-shadow: 0 24px 60px rgba(0,0,0,.56), 0 0 30px rgba(120,42,230,.15);
    backdrop-filter: blur(18px);
}
.entry-country-menu[hidden] { display: none; }
.entry-country-search { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(138,105,174,.4); border-radius: 12px; background: rgba(255,255,255,.035); color: #8f7da7; }
.entry-country-search:focus-within { border-color: rgba(184,83,255,.8); color: #bd77f4; }
.entry-country-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.entry-country-search input { width: 100%; min-height: 42px; padding: 0; border: 0; background: transparent; color: #f4effc; font-size: 11px; outline: 0; }
.entry-country-search input::placeholder { color: #766d90; }
.entry-country-list { max-height: min(330px, 46vh); margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #7430b0 transparent; }
.entry-country-option { width: 100%; min-height: 45px; display: grid; grid-template-columns: 31px minmax(0,1fr) 28px 48px; align-items: center; gap: 7px; padding: 7px 9px; border: 0; border-radius: 11px; background: transparent; color: #c4b9d2; text-align: right; cursor: pointer; }
.entry-country-option:hover,
.entry-country-option:focus-visible { background: rgba(138,55,226,.14); color: #fff; outline: 0; }
.entry-country-option.is-selected { background: linear-gradient(90deg, rgba(112,35,255,.18), rgba(201,69,255,.09)); color: #d9a1ff; }
.entry-country-name { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.entry-country-code { color: #716680; direction: ltr; font-size: 9px; text-align: center; }
.entry-country-option b { color: #a99bb9; direction: ltr; font-size: 10px; font-weight: 700; text-align: left; }
.entry-country-empty { margin: 12px 0 5px; color: #897b9c; font-size: 11px; text-align: center; }
.entry-country-empty[hidden] { display: none; }
.entry-password-toggle { position: absolute; z-index: 3; top: 50%; left: 15px; width: 31px; height: 31px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #80739a; cursor: pointer; transform: translateY(-50%); transition: color .18s ease, background .18s ease; }
.entry-password-toggle:hover { color: #bd72ff; background: rgba(147,68,255,.1); }
.entry-password-toggle:focus-visible { outline: 2px solid rgba(190,96,255,.78); outline-offset: 2px; }
.entry-password-toggle svg { width: 22px; height: 22px; }
.entry-password-toggle[aria-pressed="true"] { color: #c47aff; }

.entry-form-options { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 13px; padding-inline: 16px 3px; }
.entry-remember { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 0; color: #a39ab7; font-size: 10px; font-weight: 650; cursor: pointer; }
.entry-remember input { position:relative;width:24px;height:24px;flex:0 0 24px;margin:0;appearance:none;-webkit-appearance:none;display:grid;place-items:center;border:2px solid #9c43ff;border-radius:50%;background:rgba(13,5,35,.75);box-shadow:0 0 12px rgba(142,42,255,.2);cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease; }
.entry-remember input::after { content:"";width:8px;height:4px;border-right:2px solid #fff;border-bottom:2px solid #fff;opacity:0;transform:translateY(-1px) rotate(45deg) scale(.7);transition:opacity .14s ease,transform .14s ease; }
.entry-remember input:checked { background:linear-gradient(135deg,#7136ff,#c348ff);box-shadow:0 0 18px rgba(156,57,255,.45); }
.entry-remember input:checked::after { opacity:1;transform:translateY(-1px) rotate(45deg) scale(1); }
.entry-remember input:active { transform:scale(.92); }
.entry-remember input:focus-visible { outline:2px solid rgba(213,154,255,.82);outline-offset:3px; }
.entry-forgot { width: auto; padding: 0; border: 0; background: transparent; color: #817791; font-size: 9px; cursor: pointer; }
.entry-forgot:hover { color: #bf76ff; }
.entry-forgot:focus-visible { outline: 2px solid rgba(190,96,255,.68); outline-offset: 4px; border-radius: 4px; }
.entry-support { margin-top: -7px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(169,81,255,.28); border-radius: 13px; background: rgba(116,42,202,.12); color: #bdb1ce; font-size: 10px; }
.entry-support[hidden] { display: none; }
.entry-support button { width: auto; padding: 4px 8px; border: 0; border-radius: 7px; background: rgba(255,255,255,.05); color: #cdbce1; font-size: 9px; cursor: pointer; }
.entry-submit { min-height: 70px; margin-top: 14px; border: 1px solid rgba(211,121,255,.54); border-radius: 999px; background: linear-gradient(105deg, #7023ff 0%, #9b2cff 52%, #cc45ff 100%); color: #fff; font-size: 17px; font-weight: 850; cursor: pointer; box-shadow: 0 16px 44px rgba(116,30,255,.31), inset 0 1px rgba(255,255,255,.2); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.entry-submit:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 20px 52px rgba(134,37,255,.42), inset 0 1px rgba(255,255,255,.22); }
.entry-submit:active { transform: translateY(0); }
.entry-submit:focus-visible { outline: 3px solid rgba(222,169,255,.72); outline-offset: 3px; }
.entry-error { margin-bottom: 15px; padding: 11px 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid rgba(248,113,113,.3); border-radius: 14px; background: rgba(127,29,29,.17); color: #fecaca; font-size: 11px; line-height: 1.8; }
.entry-error svg { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; }
.entry-footnote { margin: 25px 0 0; color: #514766; font-size: 8px; text-align: center; }

.entry-register .entry-shell { padding-top: 24px; padding-bottom: 25px; }
.entry-register .entry-logo-orbit { width: 118px; height: 118px; }
.entry-register .entry-logo-orbit img { width: 84px; height: 84px; }
.entry-register .entry-wordmark span { font-size: 38px; }
.entry-register .entry-wordmark b { font-size: 38px; }
.entry-register .entry-hero p { margin-top: 6px; font-size: 10px; }
.entry-register .entry-tabs { margin-top: 21px; margin-bottom: 22px; }
.entry-register .entry-form { gap: 12px; }
.entry-register .entry-field { min-height: 59px; border-radius: 18px; }
.entry-register .entry-field input { min-height: 57px; }
.entry-register .entry-submit { min-height: 64px; margin-top: 7px; }
.entry-register .entry-footnote { margin-top: 16px; }

@keyframes entry-spin { to { transform: rotate(360deg); } }
@keyframes entry-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (min-width: 641px) {
    body.entry-page { padding: 22px; }
    .entry-shell { min-height: calc(100vh - 44px); border: 1px solid rgba(139,70,231,.22); border-radius: 32px; box-shadow: 0 35px 100px rgba(0,0,0,.54), inset 0 1px rgba(255,255,255,.025); }
}

@media (max-width: 520px) {
    .entry-shell { width: 100%; padding-right: 27px; padding-left: 27px; }
}

@media (max-width: 380px) {
    .entry-shell { padding-right: 19px; padding-left: 19px; }
    .entry-logo-orbit { width: 126px; height: 126px; }
    .entry-wordmark span { font-size: 39px; }
    .entry-wordmark b { font-size: 39px; }
    .entry-tabs { margin-top: 25px; }
    .entry-field input { font-size: 11px; }
    .entry-form-options { padding-right: 3px; padding-left: 3px; }
    .entry-forgot { max-width: 98px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
    .entry-logo-orbit::before,
    .entry-logo-orbit img { animation: none; }
}

/* Dashboard composition matched to the approved mobile reference. */
body.screen-home {
    min-height: 100vh;
    padding-bottom: 92px;
    background:
        radial-gradient(circle at 50% 7%,rgba(55,155,255,.2),transparent 22rem),
        radial-gradient(circle at 9% 58%,rgba(25,118,226,.13),transparent 28rem),
        radial-gradient(circle at 92% 78%,rgba(73,72,205,.1),transparent 25rem),
        linear-gradient(180deg,#03152e 0%,#061226 48%,#030b1b 100%);
}
body.screen-home::before {
    opacity: .34;
    background-image:
        radial-gradient(circle,rgba(92,187,255,.42) 1px,transparent 1.4px),
        linear-gradient(rgba(63,156,235,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(63,156,235,.055) 1px,transparent 1px);
    background-size: 18px 18px, 42px 42px, 42px 42px;
    mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.25) 46%, transparent 88%);
}
.screen-home .app-shell { width: min(100%, 520px); }
.screen-home .page { padding: 7px 9px 27px; }

.screen-home .mobile-account-head {
    min-height: 67px;
    padding: 6px 5px 9px;
    border-bottom: 1px solid rgba(145,76,255,.14);
}
.screen-home .mobile-identity { gap: 10px; }
.screen-home .mobile-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    overflow: visible;
    border: 1px solid rgba(168,78,255,.32);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,43,244,.3), rgba(12,5,31,.9) 68%);
    box-shadow: 0 0 22px rgba(132,45,255,.27), inset 0 0 18px rgba(164,74,255,.1);
}
.screen-home .mobile-avatar::before,
.screen-home .mobile-avatar::after,
.screen-home .mobile-avatar-orbit {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(152,75,255,.23);
    border-radius: 50%;
    pointer-events: none;
}
.screen-home .mobile-avatar::after { inset: 5px; border-style: dashed; animation: dashboard-spin 20s linear infinite; }
.screen-home .mobile-avatar-orbit { inset: 1px; transform: rotate(48deg) scaleY(.53); }
.screen-home .mobile-avatar img { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 14px; }
.screen-home .mobile-identity>span:last-child { gap: 1px; }
.screen-home .mobile-identity strong { direction: ltr; font-size: 20px; letter-spacing: .02em; }
.screen-home .mobile-identity strong em { margin-left: 4px; color: transparent; font-size: 15px; background: linear-gradient(135deg,#8257ff,#d64cff); -webkit-background-clip: text; background-clip: text; }
.screen-home .mobile-identity small { margin-top: 1px; color: #82739d; font-size: 9px; }
.screen-home .round-action {
    width: 39px;
    height: 39px;
    border-color: rgba(190,135,255,.32);
    background: rgba(56,24,91,.28);
    color: #d8c4ed;
    box-shadow: 0 0 17px rgba(135,52,255,.12);
}
.screen-home .round-action svg { width: 23px; height: 23px; }

.screen-home .home-banner {
    position: relative;
    min-height: 215px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid rgba(151,72,255,.31);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 48%, rgba(151,57,255,.3), transparent 10rem),
        linear-gradient(135deg, #0b0521, #10062b 48%, #09031d);
    box-shadow: 0 12px 34px rgba(0,0,0,.28), inset 0 0 35px rgba(113,33,231,.1);
}
.screen-home .home-banner-track,
.screen-home .home-banner-slide { position: absolute; inset: 0; }
.screen-home .home-banner-track { z-index: 2; }
.screen-home .home-banner-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease, visibility .55s ease;
}
.screen-home .home-banner-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.screen-home .home-banner-photo-slide { overflow: hidden; background: #0a031d; }
.screen-home .home-banner-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 62% 50%;
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.01);
}
.screen-home .home-banner-photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(6,1,23,.18),transparent 42%,rgba(15,2,42,.08));
    pointer-events: none;
}
.screen-home .home-banner-photo-left .home-banner-photo { object-position: 38% 50%; }
.screen-home .home-banner-original-slide {
    background:
        radial-gradient(circle at 50% 46%,rgba(59,156,255,.28),transparent 10rem),
        linear-gradient(135deg,#061a3c,#0a1741 48%,#080d2b);
}
.screen-home .home-banner-original-slide::after {
    content: "LLaMa";
    position: absolute;
    z-index: 1;
    inset: 50% auto auto 50%;
    color: rgba(223,214,255,.075);
    font: 950 clamp(54px,15vw,96px)/1 "Segoe UI",sans-serif;
    letter-spacing: -.035em;
    direction: ltr;
    white-space: nowrap;
    transform: translate(-50%,-48%);
    text-shadow: 0 0 30px rgba(116,70,255,.08);
    pointer-events: none;
}
.screen-home .home-banner-original-slide .banner-grid {
    opacity: .3;
    background-image:
        linear-gradient(rgba(68,178,255,.16) 1px,transparent 1px),
        linear-gradient(90deg,rgba(68,178,255,.16) 1px,transparent 1px);
}
.screen-home .home-banner-original-slide .banner-character-glow {
    border-color: rgba(89,191,255,.34);
    background: radial-gradient(circle,rgba(47,143,255,.22),transparent 69%);
    box-shadow: 0 0 48px rgba(42,132,255,.3),inset 0 0 34px rgba(55,165,255,.13);
}
.screen-home .home-banner-original-slide .banner-character-glow::before,
.screen-home .home-banner-original-slide .banner-character-glow::after { border-color: rgba(92,190,255,.3); }
.screen-home .home-banner-original-slide .banner-hero-image {
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 17px 24px rgba(29,104,218,.5));
}
.screen-home .home-banner::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -55%;
    left: 0;
    height: 80%;
    border-radius: 50%;
    background:
        repeating-radial-gradient(ellipse at center, transparent 0 13px, rgba(145,61,255,.2) 14px 15px),
        repeating-conic-gradient(from 0deg, transparent 0 9deg, rgba(137,59,255,.13) 9.2deg 9.6deg);
    transform: perspective(360px) rotateX(58deg) scale(1.25);
    pointer-events: none;
}
.screen-home .banner-grid {
    z-index: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(132,56,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132,56,255,.16) 1px, transparent 1px);
    background-size: 25px 25px;
    transform: perspective(400px) rotateX(60deg) scale(1.5) translateY(-5%);
    mask-image: linear-gradient(to bottom, transparent 2%, #000 55%, transparent 100%);
}
.screen-home .banner-character {
    position: absolute;
    z-index: 3;
    top: 2px;
    bottom: 12px;
    left: 50%;
    width: 48%;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
}
.screen-home .banner-character-glow {
    position: absolute;
    width: 155px;
    height: 155px;
    border: 1px solid rgba(178,76,255,.28);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130,40,255,.2), transparent 69%);
    box-shadow: 0 0 45px rgba(138,41,255,.28), inset 0 0 34px rgba(126,51,255,.12);
}
.screen-home .banner-character-glow::before,
.screen-home .banner-character-glow::after { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(154,83,255,.25); border-radius: 50%; }
.screen-home .banner-character-glow::after { inset: 29px; border-style: solid; }
.screen-home .banner-hero-image {
    position: relative;
    z-index: 2;
    width: 188px;
    height: 188px;
    object-fit: cover;
    border-radius: 48%;
    mix-blend-mode: screen;
    mask-image: radial-gradient(ellipse at center, #000 48%, rgba(0,0,0,.95) 64%, transparent 84%);
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 17px 24px rgba(103,29,222,.48));
}
.screen-home .banner-holo-card {
    position: absolute;
    z-index: 4;
    top: 29px;
    width: 27%;
    min-height: 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 6px;
    border: 1px solid rgba(151,78,255,.35);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(42,17,78,.55), rgba(17,7,44,.72));
    box-shadow: 0 0 20px rgba(119,43,236,.16), inset 0 0 21px rgba(136,56,255,.08);
    text-align: center;
    backdrop-filter: blur(4px);
}
.screen-home .banner-holo-card::before,
.screen-home .banner-holo-card::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: #a758ff; opacity: .7; }
.screen-home .banner-holo-card::before { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; border-radius: 0 8px 0 0; }
.screen-home .banner-holo-card::after { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; border-radius: 0 0 0 8px; }
.screen-home .banner-holo-ai { left: 3.5%; }
.screen-home .banner-holo-data { right: 3.5%; }
.screen-home .banner-holo-icon { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid rgba(166,87,255,.3); border-radius: 50%; color: #b66bff; box-shadow: 0 0 18px rgba(136,52,255,.25); }
.screen-home .banner-holo-icon svg { width: 24px; height: 24px; }
.screen-home .banner-holo-card small { color: #ddd3e8; font-size: 7px; }
.screen-home .banner-holo-card strong { color: #9d90b2; font-size: 6px; line-height: 1.55; }
.screen-home .banner-mini-chart { width: 64px; height: 47px; display: flex; align-items: flex-end; gap: 4px; direction: ltr; border-bottom: 1px solid rgba(176,90,255,.36); }
.screen-home .banner-mini-chart i { width: 100%; height: var(--chart-height); display: block; border-radius: 2px 2px 0 0; background: linear-gradient(to top,#6f27e7,#d552ff); box-shadow: 0 0 8px rgba(179,66,255,.24); }
.screen-home .home-banner-arrow {
    position: absolute;
    z-index: 9;
    top: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(222,194,255,.28);
    border-radius: 50%;
    background: rgba(11,3,31,.52);
    color: #ead8ff;
    box-shadow: 0 5px 16px rgba(0,0,0,.24);
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.screen-home .home-banner-arrow:hover { border-color: rgba(222,194,255,.62); background: rgba(40,12,79,.72); }
.screen-home .home-banner-arrow:focus-visible,
.screen-home .banner-pagination button:focus-visible { outline: 2px solid #d98bff; outline-offset: 2px; }
.screen-home .home-banner-arrow svg { width: 15px; height: 15px; }
.screen-home .home-banner-prev { left: 9px; }
.screen-home .home-banner-next { right: 9px; }
.screen-home .banner-pagination { position: absolute; z-index: 10; right: 0; bottom: 7px; left: 0; display: flex; justify-content: center; gap: 7px; direction: ltr; }
.screen-home .banner-pagination button { width: 7px; height: 7px; display: block; padding: 0; border: 1px solid rgba(212,181,255,.72); border-radius: 50%; background: rgba(10,3,29,.45); cursor: pointer; }
.screen-home .banner-pagination button.active { width: 18px; border-radius: 999px; background: #c777ff; box-shadow: 0 0 8px rgba(190,93,255,.82); }

@media (prefers-reduced-motion: reduce) {
    .screen-home .home-banner-slide { transition: none; }
}

.screen-home .home-stats {
    min-height: 83px;
    margin-bottom: 8px;
    padding: 11px 4px;
    border: 1px solid rgba(143,73,234,.23);
    border-radius: 13px;
    background: linear-gradient(110deg, rgba(28,13,54,.82), rgba(17,8,39,.9));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.screen-home .home-stats>div { padding-inline: 5px; border-left-color: rgba(157,100,218,.13); }
.screen-home .home-stats .stat-icon { height: 24px; color: #a950ff; filter: drop-shadow(0 0 7px rgba(155,66,255,.36)); }
.screen-home .home-stats .stat-icon svg { width: 24px; height: 24px; }
.screen-home .home-stats small { min-height: 25px; margin: 2px 0; color: #8b809f; font-size: 7px; }
.screen-home .home-stats strong { color: #f2eafc; font-size: 8px; }

.screen-home .home-actions {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 5px;
    min-height: 85px;
    margin-bottom: 8px;
    padding: 11px 4px 9px;
    border: 1px solid rgba(143,73,234,.23);
    border-radius: 13px;
    background: rgba(15,6,35,.82);
}
.screen-home .home-actions.has-red-letter { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; }
.screen-home .home-actions.action-count-2,
.screen-home .home-actions.action-count-3 {
    justify-content: center;
}
.screen-home .home-actions.action-count-2 { grid-template-columns: repeat(2,minmax(72px,112px)); }
.screen-home .home-actions.action-count-3 { grid-template-columns: repeat(3,minmax(72px,112px)); }
.screen-home .home-actions a,
.screen-home .home-actions button { gap: 5px; color: #b0a5c0; font-size: 7px; }
.screen-home .home-action-icon {
    width: 44px;
    height: 44px;
    border-color: rgba(175,86,255,.44);
    background: radial-gradient(circle at 35% 25%,rgba(197,92,255,.28),rgba(82,25,172,.3) 52%,rgba(11,4,30,.86));
    color: #c467ff;
    box-shadow: 0 0 18px rgba(136,42,255,.2), inset 0 0 13px rgba(194,87,255,.08);
}
.screen-home .home-action-icon svg { width: 24px; height: 24px; }
.screen-home .red-letter-action .home-action-icon {
    border-color: rgba(255,79,128,.54);
    background: radial-gradient(circle at 35% 25%,rgba(255,90,133,.3),rgba(127,23,87,.3) 52%,rgba(21,4,30,.9));
    color: #ff5b82;
    box-shadow: 0 0 18px rgba(255,48,111,.21), inset 0 0 13px rgba(255,87,137,.08);
}
.feature-teaser-message { position:relative;margin:-2px 0 9px;padding:11px 38px 11px 13px;border:1px solid rgba(238,162,73,.34);border-radius:11px;background:linear-gradient(135deg,rgba(51,22,65,.96),rgba(17,12,43,.98));color:#f1d8b7;font-size:9px;line-height:1.9;box-shadow:0 10px 24px rgba(0,0,0,.18); }
.feature-teaser-message[hidden] { display:none!important; }
.feature-teaser-message > button { position:absolute;top:50%;right:10px;width:22px;height:22px;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.06);color:#fff;line-height:18px;transform:translateY(-50%);cursor:pointer; }

.screen-home .reward-banner {
    position: relative;
    min-height: 100px;
    display: block;
    margin-bottom: 9px;
    padding: 12px 102px 11px;
    border: 1px solid rgba(152,71,255,.3);
    border-radius: 13px;
    background:
        radial-gradient(circle at 10% 55%, rgba(153,56,255,.25), transparent 8rem),
        radial-gradient(circle at 88% 50%, rgba(116,36,224,.32), transparent 9rem),
        linear-gradient(105deg, #0e062c, #1a0a42 50%, #0d0528);
    box-shadow: 0 14px 28px rgba(0,0,0,.2), inset 0 0 25px rgba(117,38,233,.08);
}
.screen-home .reward-banner::after { display: none; }
.screen-home .reward-wheel {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 70px;
    height: 70px;
    border: 4px solid #7e2ce7;
    border-radius: 50%;
    background: conic-gradient(#d551ff 0 12.5%,#25105a 12.5% 25%,#8a36f1 25% 37.5%,#371268 37.5% 50%,#b646ff 50% 62.5%,#23104f 62.5% 75%,#7d2be8 75% 87.5%,#3b176f 87.5%);
    box-shadow: 0 0 22px rgba(152,52,255,.4), inset 0 0 12px rgba(4,1,12,.7);
}
.screen-home .reward-wheel::before { content: ""; position: absolute; inset: 18px; border: 3px solid #bd67ff; border-radius: 50%; background: #170834; box-shadow: 0 0 12px rgba(170,70,255,.42); }
.screen-home .reward-wheel::after { content: ""; position: absolute; top: -8px; left: 50%; width: 0; height: 0; border-right: 6px solid transparent; border-left: 6px solid transparent; border-top: 12px solid #e09cff; transform: translateX(-50%); filter: drop-shadow(0 0 5px #bd5dff); }
.screen-home .reward-wheel i { display: none; }
.screen-home .reward-wheel b { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; color: #dfb1ff; font-size: 15px; }
.screen-home .reward-copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.screen-home .reward-copy strong { color: #f0d9ff; font-size: 15px; }
.screen-home .reward-copy small { max-width: 210px; margin-top: 2px; color: #9587aa; font-size: 7px; line-height: 1.7; }
.screen-home .reward-copy em { width: 100%; margin-top: 7px; padding: 4px 17px; border-radius: 999px; background: rgba(100,35,184,.22); color: #c6b9d5; font-size: 7px; font-style: normal; }
.screen-home .reward-vip { position: absolute; top: 8px; right: 10px; width: 84px; height: 82px; display: grid; place-items: center; }
.screen-home .reward-vip i { position: absolute; top: -5px; color: #d170ff; font-size: 26px; font-style: normal; text-shadow: 0 0 13px rgba(181,65,255,.55); }
.screen-home .reward-vip b { margin-top: 22px; color: transparent; font: 950 38px/1 sans-serif; letter-spacing: -.08em; background: linear-gradient(to bottom,#f0c4ff,#9f3df4 58%,#5410ac); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 9px rgba(145,44,255,.42)); }

.screen-home .home-section { margin-top: 7px; }
.screen-home .mobile-section-title { margin: 0 3px 7px; }
.screen-home .mobile-section-title strong { color: #ece4f7; font-size: 13px; }
.screen-home .mobile-section-title a { color: #756b86; font-size: 8px; }
.screen-home .home-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.screen-home .home-product {
    position: relative;
    min-width: 0;
    min-height: 252px;
    display: flex;
    flex-direction: column;
    padding: 9px 8px 8px;
    overflow: hidden;
    border: 1px solid rgba(139,69,233,.23);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(28,13,56,.95), rgba(12,5,29,.98));
    box-shadow: 0 13px 28px rgba(0,0,0,.22), inset 0 0 18px rgba(114,37,226,.05);
}
.screen-home .home-product::before { content: ""; position: absolute; top: -38px; left: 50%; width: 100px; height: 100px; border-radius: 50%; background: var(--product-glow,#8d36ff); opacity: .12; filter: blur(24px); transform: translateX(-50%); }
.screen-home .product-tone-1 { --product-glow:#46d8de; --product-accent:#4bd9d8; }
.screen-home .product-tone-2 { --product-glow:#9b48ff; --product-accent:#a855f7; }
.screen-home .product-tone-3 { --product-glow:#ec4bcc; --product-accent:#ea54d5; }
.screen-home .product-chip { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: linear-gradient(90deg,var(--product-accent),#7b2cff); color: #fff; font-size: 7px; }
.screen-home .product-chip b { font-weight: 850; }
.screen-home .product-chip i { padding: 0 3px; border-radius: 999px; background: rgba(255,255,255,.17); font-style: normal; }
.screen-home .product-machine { position: relative; height: 76px; margin: 3px 0 4px; display: grid; place-items: center; border-bottom: 1px solid rgba(139,67,230,.14); }
.screen-home .product-machine::after { content: ""; position: absolute; bottom: 8px; left: 50%; width: 72px; height: 17px; border: 2px solid var(--product-accent); border-radius: 50%; opacity: .44; box-shadow: 0 0 15px var(--product-accent); transform: translateX(-50%); }
.screen-home .product-rig { position: relative; z-index: 2; width: 50px; height: 57px; display: block; border: 1px solid rgba(202,180,228,.2); border-radius: 5px; background: linear-gradient(145deg,#222036,#090914 65%); box-shadow: 9px 8px 0 -3px #090810, 0 10px 15px rgba(0,0,0,.38); }
.screen-home .rig-panel { position: absolute; top: 8px; right: 7px; bottom: 10px; left: 7px; border: 1px solid rgba(255,255,255,.06); border-radius: 3px; background: repeating-linear-gradient(to bottom,rgba(255,255,255,.05) 0 2px,transparent 2px 7px); }
.screen-home .rig-light { position: absolute; z-index: 2; right: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--product-accent); box-shadow: 0 0 8px var(--product-accent); }
.screen-home .rig-light-one { top: 11px; }
.screen-home .rig-light-two { top: 21px; }
.screen-home .rig-base { position: absolute; right: 6px; bottom: 5px; left: 6px; height: 3px; border-radius: 2px; background: var(--product-accent); opacity: .55; }
.screen-home .product-duration { position: relative; align-self: flex-start; padding: 2px 6px; border-radius: 999px; background: rgba(90,63,130,.37); color: #b8abc9; font-size: 6px; }
.screen-home .product-data { position: relative; display: grid; grid-template-columns: 1fr; margin-top: 5px; }
.screen-home .product-data small,
.screen-home .product-stock small { color: #776d88; font-size: 6px; }
.screen-home .product-data strong { margin-top: 0; color: #7ce4d6; font-size: 7px; text-align: left; }
.screen-home .product-stock { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 5px; }
.screen-home .product-stock strong { color: #e57c55; font-size: 6px; }
.screen-home .home-product-buy { min-height: 25px; margin-top: auto; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(100deg,#7024ff,#bf3dff); color: #fff; font-size: 8px; font-weight: 800; box-shadow: 0 7px 16px rgba(117,33,239,.24); }
.screen-home .mobile-empty { padding: 28px 16px; border-color: rgba(150,75,245,.19); background: rgba(20,8,44,.46); color: #8f83a2; font-size: 11px; }

.screen-home .contract-strip { margin-top: 12px; }
.screen-home .compact-contract { border-color: rgba(143,73,234,.2); background: rgba(21,9,43,.8); }
.screen-home .contract-section-title{align-items:center}.screen-home .contract-title-copy{display:flex;align-items:center;gap:7px;min-width:0}.screen-home .contract-title-copy>strong{white-space:nowrap}.screen-home .active-contract-count{display:inline-flex;align-items:center;justify-content:center;min-height:21px;padding:3px 8px;border:1px solid rgba(56,189,248,.38);border-radius:7px;background:linear-gradient(135deg,rgba(14,116,211,.32),rgba(30,64,175,.25));box-shadow:inset 0 1px 0 rgba(255,255,255,.06);color:#4ade80;font-size:9px;font-weight:800;line-height:1;white-space:nowrap}

.screen-home .nav { padding: 6px 8px calc(7px + env(safe-area-inset-bottom)); background: linear-gradient(to top,rgba(7,2,22,1) 78%,rgba(7,2,22,0)); }
.screen-home .nav-inner { width: min(520px,100%); padding: 5px; border-color: rgba(151,73,242,.25); border-radius: 18px; background: rgba(10,4,28,.95); box-shadow: 0 10px 35px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.025); }
.screen-home .nav a { min-height: 53px; color: #746985; font-size: 8px; }
.screen-home .nav a.active { color: #c56cff; }
.screen-home .nav a.active .nav-icon { color: #c34eff; filter: drop-shadow(0 0 8px rgba(180,64,255,.7)); }
.screen-home .nav-icon { width: 22px; height: 22px; }

@keyframes dashboard-spin { to { transform: rotate(360deg); } }

@media (max-width: 430px) {
    .screen-home .page { padding-inline: 7px; }
    .screen-home .home-banner { min-height: 195px; }
    .screen-home .banner-holo-card { top: 27px; min-height: 96px; }
    .screen-home .banner-character { width: 46%; }
    .screen-home .banner-character-glow { width: 139px; height: 139px; }
    .screen-home .banner-hero-image { width: 169px; height: 169px; }
    .screen-home .home-action-icon { width: 40px; height: 40px; }
    .screen-home .home-action-icon svg { width: 22px; height: 22px; }
    .screen-home .reward-banner { padding-right: 83px; padding-left: 83px; }
    .screen-home .reward-wheel { left: 9px; width: 62px; height: 62px; }
    .screen-home .reward-vip { right: 5px; width: 73px; }
    .screen-home .reward-vip b { font-size: 32px; }
    .screen-home .reward-copy strong { font-size: 13px; }
    .screen-home .home-product { min-height: 244px; padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .screen-home .mobile-avatar::after { animation: none; }
}

/* Products hub — compact neon portfolio inspired by the approved reference. */
body.screen-products {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 74% 2%, rgba(119,37,235,.16), transparent 21rem),
        radial-gradient(circle at 8% 54%, rgba(75,22,168,.12), transparent 25rem),
        linear-gradient(180deg,#050014 0,#09021d 48%,#050012 100%);
}
body.screen-products::before {
    opacity: .23;
    background-image:
        radial-gradient(circle, rgba(151,80,255,.38) 1px, transparent 1.35px),
        linear-gradient(rgba(116,62,220,.045) 1px, transparent 1px),
        linear-gradient(90deg,rgba(116,62,220,.045) 1px, transparent 1px);
    background-size: 20px 20px, 46px 46px, 46px 46px;
    mask-image: linear-gradient(to bottom,#000,rgba(0,0,0,.25) 47%,transparent 90%);
}
.screen-products .app-shell { width: min(100%,520px); }
.screen-products .page { padding: 7px 9px 28px; }

.screen-products .product-account-head {
    min-height: 74px;
    direction: ltr;
    margin-bottom: 8px;
    padding: 7px 5px 10px;
    border-bottom: 1px solid rgba(145,76,255,.14);
}
.screen-products .product-account-head .mobile-identity { gap: 10px; direction: ltr; }
.screen-products .product-account-head .mobile-avatar {
    position: relative;
    width: 57px;
    height: 57px;
    overflow: visible;
    border: 1px solid rgba(168,78,255,.34);
    border-radius: 50%;
    background: radial-gradient(circle,rgba(124,43,244,.33),rgba(12,5,31,.92) 68%);
    box-shadow: 0 0 22px rgba(132,45,255,.3),inset 0 0 18px rgba(164,74,255,.1);
}
.screen-products .product-account-head .mobile-avatar::before,
.screen-products .product-account-head .mobile-avatar::after,
.screen-products .product-account-head .mobile-avatar-orbit {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(152,75,255,.24);
    border-radius: 50%;
    pointer-events: none;
}
.screen-products .product-account-head .mobile-avatar::after { inset: 5px; border-style: dashed; animation: dashboard-spin 20s linear infinite; }
.screen-products .product-account-head .mobile-avatar-orbit { inset: 1px; transform: rotate(48deg) scaleY(.53); }
.screen-products .product-account-head .mobile-avatar img { position: relative; z-index: 2; width: 45px; height: 45px; border-radius: 14px; }
.screen-products .product-account-head .mobile-identity>span:last-child { gap: 0; direction: ltr; }
.screen-products .product-account-head .mobile-identity strong { direction: ltr; color:#f4edff; font-size: 20px; letter-spacing:.02em; }
.screen-products .product-account-head .mobile-identity strong em { margin-left:4px; color:transparent; font-size:15px; background:linear-gradient(135deg,#8357ff,#d64cff); -webkit-background-clip:text; background-clip:text; }
.screen-products .product-account-head .mobile-identity small { margin-top:1px; color:#a15cd6; font-size:9px; text-align:left; }
.screen-products .product-account-head .round-action { width:40px; height:40px; border-color:rgba(190,135,255,.34); background:rgba(56,24,91,.3); color:#e0ceed; box-shadow:0 0 17px rgba(135,52,255,.15); }

.screen-products .product-overview {
    position: relative;
    min-height: 137px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(151,72,255,.3);
    border-radius: 14px;
    background:
        radial-gradient(circle at 91% 48%,rgba(152,52,255,.26),transparent 8rem),
        linear-gradient(120deg,rgba(19,7,43,.96),rgba(11,4,31,.96));
    box-shadow: 0 13px 30px rgba(0,0,0,.27),inset 0 0 28px rgba(112,32,225,.08);
}
.screen-products .product-overview::before { content:""; position:absolute; right:-35px; bottom:-49px; width:205px; height:98px; border:1px solid rgba(155,65,255,.2); border-radius:50%; box-shadow:0 0 20px rgba(132,39,239,.16); transform:rotate(-8deg); }
.screen-products .product-overview-metrics { position:relative; z-index:3; min-height:137px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:center; padding:12px 4px; }
.screen-products .product-overview-metrics>div { min-width:0; min-height:102px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:2px 5px; border-left:1px solid rgba(148,82,230,.15); text-align:center; }
.screen-products .product-overview-metrics>div:last-child { border-left:0; }
.screen-products .overview-icon { width:29px; height:29px; display:grid; place-items:center; color:#a94bff; filter:drop-shadow(0 0 7px rgba(161,63,255,.53)); }
.screen-products .overview-icon svg { width:26px; height:26px; }
.screen-products .product-overview-metrics small { min-height:25px; color:#9285a7; font-size:7px; line-height:1.7; }
.screen-products .product-overview-metrics strong { max-width:100%; overflow:hidden; color:#eee5f7; font-size:8px; direction:ltr; text-overflow:ellipsis; white-space:nowrap; }
.screen-products .product-overview-metrics strong.text-success { color:#41d18a; }
.screen-products .product-overview-metrics strong em { display:block; color:#8b7c9c; font-size:6px; font-style:normal; direction:rtl; }
.screen-products .product-overview-chart { position:absolute; z-index:1; top:14px; right:8px; width:118px; height:112px; opacity:.42; pointer-events:none; }
.screen-products .product-overview-chart svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; stroke:#bd4cff; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 8px rgba(185,59,255,.75)); }
.screen-products .overview-bars { position:absolute; right:3px; bottom:9px; width:82px; height:76px; display:flex; align-items:flex-end; gap:5px; direction:ltr; transform:skewY(-6deg); }
.screen-products .overview-bars i { width:12px; height:var(--bar-h); display:block; border:1px solid rgba(202,100,255,.58); background:linear-gradient(to top,rgba(84,24,190,.82),rgba(207,73,255,.76)); box-shadow:0 0 10px rgba(156,42,255,.35); }
.screen-products .overview-bars i:nth-child(1){--bar-h:20%}.screen-products .overview-bars i:nth-child(2){--bar-h:34%}.screen-products .overview-bars i:nth-child(3){--bar-h:47%}.screen-products .overview-bars i:nth-child(4){--bar-h:67%}.screen-products .overview-bars i:nth-child(5){--bar-h:92%}

.screen-products .product-tabs {
    min-height: 44px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-bottom:10px;
    padding:0 10px;
    border:1px solid rgba(132,61,224,.13);
    border-radius:12px;
    background:rgba(20,8,45,.82);
}
.screen-products .product-tabs.has-two-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
.screen-products .product-tabs a { position:relative; min-width:0; display:flex; align-items:center; justify-content:center; padding-inline:3px; color:#756987; font-size:10px; font-weight:750; white-space:nowrap; }
.screen-products .product-tabs a.active { color:#f0e4fc; }
.screen-products .product-tabs a.active::after { content:""; position:absolute; right:21%; bottom:0; left:21%; height:2px; border-radius:99px; background:linear-gradient(90deg,transparent,#ae4dff 18%,#e869ff 50%,#ae4dff 82%,transparent); box-shadow:0 0 8px rgba(186,70,255,.78); }

.screen-products .owned-product-list,
.screen-products .available-product-list { display:grid; gap:10px; }
.screen-products .owned-product-card,
.screen-products .available-product-card {
    position:relative;
    overflow:hidden;
    border:1px solid rgba(145,66,240,.25);
    border-radius:13px;
    background:
        radial-gradient(circle at 16% 38%,rgba(113,34,221,.17),transparent 9rem),
        linear-gradient(145deg,rgba(22,9,49,.98),rgba(10,4,29,.99));
    box-shadow:0 13px 30px rgba(0,0,0,.26),inset 0 0 24px rgba(109,31,220,.045);
}
.screen-products .owned-product-card::before,
.screen-products .available-product-card::before { content:""; position:absolute; top:-65px; left:-35px; width:180px; height:180px; border:1px solid rgba(155,65,255,.1); border-radius:50%; box-shadow:0 0 45px rgba(119,35,239,.08); }
.screen-products .owned-product-main { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(130px,.85fr); min-height:214px; }
.screen-products .owned-product-info { min-width:0; padding:14px 14px 9px 12px; }
.screen-products .owned-product-info header,
.screen-products .available-product-info header { min-height:30px; display:flex; align-items:flex-start; justify-content:space-between; gap:7px; margin-bottom:7px; padding-bottom:7px; border-bottom:1px solid rgba(143,74,221,.15); }
.screen-products .owned-product-info h2,
.screen-products .available-product-info h2 { margin:0; color:#f1e8fa; font-size:16px; line-height:1.35; }
.screen-products .owned-product-info h2::first-letter,
.screen-products .available-product-info h2::first-letter { color:#c668ff; }
.screen-products .contract-status,
.screen-products .available-product-info header span { flex:0 0 auto; padding:4px 9px; border:1px solid rgba(64,214,235,.22); border-radius:999px; background:linear-gradient(100deg,rgba(186,57,247,.78),rgba(36,186,221,.72)); color:#fff; font-size:7px; white-space:nowrap; }
.screen-products .is-completed .contract-status { border-color:rgba(138,126,158,.23); background:rgba(85,75,104,.34); color:#b4a9c1; }
.screen-products .owned-product-info dl,
.screen-products .available-product-info dl { display:grid; gap:0; margin:0; }
.screen-products .owned-product-info dl>div,
.screen-products .available-product-info dl>div { min-height:31px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-bottom:1px solid rgba(132,68,202,.11); }
.screen-products .owned-product-info dt,
.screen-products .available-product-info dt { color:#8f839f; font-size:8px; }
.screen-products .owned-product-info dd,
.screen-products .available-product-info dd { min-width:0; margin:0; overflow:hidden; color:#c5bacc; font-size:9px; direction:ltr; text-overflow:ellipsis; white-space:nowrap; }
.screen-products .owned-product-info dd.text-success,
.screen-products .available-product-info dd.text-success { color:#40d184; }
.screen-products .owned-product-info dd b,
.screen-products .available-product-info dd b { color:#ef8a43; font-size:10px; }
.screen-products .owned-product-info dd span { color:#71677d; }

.screen-products .owned-product-visual,
.screen-products .available-product-visual { position:relative; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:11px 6px 10px; }
.screen-products .owned-product-photo {
    width:min(100%,138px);
    aspect-ratio:1;
    display:block;
    margin:auto 0 5px;
    object-fit:contain;
    filter:drop-shadow(0 10px 15px rgba(40,122,255,.12));
    animation:contract-coin-float 4.8s ease-in-out infinite;
}
.screen-products .ai-machine-stage { position:relative; width:100%; height:130px; display:grid; place-items:center; direction:ltr; }
.screen-products .ai-machine-orbit { position:absolute; z-index:1; left:50%; bottom:10px; width:125px; height:32px; border:2px solid #8f33ff; border-radius:50%; background:radial-gradient(ellipse,rgba(123,32,232,.25),transparent 65%); box-shadow:0 0 16px rgba(143,42,255,.82),inset 0 0 13px rgba(202,87,255,.25); transform:translateX(-50%); }
.screen-products .ai-machine-orbit::before,
.screen-products .ai-machine-orbit::after { content:""; position:absolute; inset:4px 12px; border:1px solid rgba(213,93,255,.52); border-radius:50%; }
.screen-products .ai-machine-orbit::after { inset:-7px -9px; border-color:rgba(111,27,236,.22); }
.screen-products .ai-machine-group { position:relative; z-index:3; width:122px; height:116px; display:block; }
.screen-products .ai-machine-tower { position:absolute; left:50%; bottom:13px; width:68px; height:103px; display:block; border:1px solid rgba(193,173,211,.27); border-radius:5px 5px 7px 7px; background:linear-gradient(105deg,#171521 0,#05050a 48%,#1c1927 100%); box-shadow:10px 8px 0 -5px #05050a,0 17px 20px rgba(0,0,0,.58),inset 0 0 18px rgba(117,70,153,.12); transform:translateX(-50%); }
.screen-products .machine-count-2 .ai-machine-tower:first-child { left:39%; z-index:2; transform:translateX(-50%) scale(.86); transform-origin:bottom; }
.screen-products .machine-count-2 .ai-machine-tower:nth-child(2) { left:65%; z-index:3; }
.screen-products .machine-top { position:absolute; top:-5px; right:3px; left:3px; height:7px; border:1px solid rgba(196,178,212,.18); border-radius:4px 4px 1px 1px; background:linear-gradient(#2c2936,#0a0910); }
.screen-products .machine-screen { position:absolute; top:14px; right:13px; left:13px; height:27px; display:grid; place-items:center; overflow:hidden; border:1px solid rgba(138,78,209,.35); border-radius:3px; background:radial-gradient(circle at 70% 30%,rgba(125,64,232,.65),#081125 65%); box-shadow:0 0 8px rgba(123,55,244,.36); font-style:normal; text-align:center; }
.screen-products .machine-screen b { color:#b66cff; font:900 9px/1 sans-serif; text-shadow:0 0 6px #8c3cff; }
.screen-products .machine-screen small { color:#6f89b5; font:500 3px/1 sans-serif; letter-spacing:.12em; }
.screen-products .machine-vents { position:absolute; top:49px; right:10px; left:10px; height:28px; border:1px solid rgba(255,255,255,.05); border-radius:2px; background:repeating-linear-gradient(to bottom,rgba(147,131,162,.18) 0 1px,transparent 1px 4px); }
.screen-products .machine-core { position:absolute; right:8px; bottom:15px; width:5px; height:5px; border-radius:50%; background:#c14fff; box-shadow:0 0 7px #b33cff; }
.screen-products .machine-brand { position:absolute; right:13px; bottom:13px; left:13px; color:#a474c2; font:700 4px/1 sans-serif; font-style:normal; letter-spacing:.08em; text-align:center; }
.screen-products .machine-base { position:absolute; right:3px; bottom:-4px; left:3px; height:7px; border-radius:1px 1px 5px 5px; background:linear-gradient(#24202f,#08070c); box-shadow:0 3px 8px rgba(0,0,0,.55); }

.screen-products .profit-timer { width:100%; min-height:52px; display:grid; place-items:center; margin-top:-2px; padding:6px 4px; border:1px solid rgba(144,73,235,.2); border-radius:9px; background:rgba(33,13,63,.58); text-align:center; }
.screen-products .profit-timer small { color:#887c98; font-size:6px; }
.screen-products .profit-timer strong { color:#dd69ff; font-size:16px; letter-spacing:.08em; text-shadow:0 0 8px rgba(207,76,255,.45); }
.screen-products .profit-timer span { width:92%; display:grid; grid-template-columns:repeat(3,1fr); direction:rtl; }
.screen-products .profit-timer i { color:#776b86; font-size:5px; font-style:normal; }
.screen-products .owned-product-action { position:relative; z-index:3; width:auto; margin:10px 11px 11px; padding:0; }
.screen-products .owned-product-action form { margin:0; }
.screen-products .profit-action,
.screen-products .available-buy { width:100%; min-height:39px; display:flex; align-items:center; justify-content:center; gap:7px; border:1px solid #b852ff; border-radius:8px; background:linear-gradient(105deg,#681de8,#b13af6 50%,#6d20e9); color:#fff; font-size:10px; font-weight:800; line-height:1.4; box-shadow:0 0 0 2px rgba(119,29,229,.17),0 0 13px rgba(164,47,255,.35),inset 0 0 11px rgba(255,255,255,.1); cursor:pointer;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,filter .28s ease,background .28s ease;will-change:transform; }
.screen-products .profit-action { min-height:33px; font-size:9px; }
.screen-products .profit-wallet { color:#e0b5ff; font-size:12px; }
.screen-products .profit-action.disabled,
.screen-products .available-buy.disabled { border-color:rgba(128,111,143,.17); background:rgba(69,61,78,.43); color:#8c8198; box-shadow:none; cursor:default; }

.screen-products .available-product-card { min-height:248px; display:grid; grid-template-columns:minmax(132px,.86fr) minmax(0,1.35fr); direction:ltr; }
.screen-products .available-product-chip { position:absolute; z-index:5; top:10px; left:9px; padding:4px 9px; border-radius:999px; background:linear-gradient(90deg,#7022ed,#cf48f7); color:#fff; font-size:7px; box-shadow:0 0 12px rgba(171,54,255,.33); }
.professional-lock-icon { width:18px; height:18px; display:block; overflow:visible; color:inherit; filter:drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.professional-lock-shackle,.professional-lock-key { fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.professional-lock-body { fill:rgba(255,255,255,.08); stroke:currentColor; stroke-width:1.45; }
.professional-lock-keyhole { fill:currentColor; }
.screen-products .available-product-lock { position:absolute; z-index:6; top:9px; right:9px; display:grid; place-items:center; width:30px; height:30px; overflow:hidden; border:1px solid rgba(224,192,255,.42); border-radius:10px; background:linear-gradient(145deg,rgba(181,77,255,.3),rgba(45,22,76,.86)); color:#f2d8ff; box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 18px rgba(0,0,0,.3),0 0 14px rgba(176,66,255,.18); }
.screen-products .available-product-lock::before { content:""; position:absolute; inset:-45% 48% -45% -25%; transform:rotate(20deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent); }
.screen-products .available-product-lock .professional-lock-icon { position:relative; width:17px; height:17px; }
.screen-products .available-product-chip b { padding-inline-start:3px; color:#f0c9ff; }
.screen-products .available-product-visual { min-height:248px; justify-content:center; border-left:1px solid rgba(137,64,220,.13); }
.screen-products .available-product-photo {
    width:min(100%,142px);
    aspect-ratio:1;
    display:block;
    object-fit:contain;
    border:0;
    background:transparent;
    filter:drop-shadow(0 10px 15px rgba(40,122,255,.12));
    animation:contract-coin-float 4.8s ease-in-out infinite;
}
.screen-products .available-stock { margin-top:-2px; color:#8e829e; font-size:7px; }
.screen-products .available-product-photo+.available-stock { margin-top:8px; }
.screen-products .available-product-info { position:relative; z-index:3; min-width:0; direction:rtl; padding:14px 13px 11px; }
.screen-products .available-product-info header span { background:rgba(75,174,147,.21); color:#77e0bf; }
.screen-products .available-product-note { margin:7px 0; color:#f3a4b8; font-size:7px; line-height:1.6; }
.screen-products .available-buy { min-height:39px; margin-top:10px; text-decoration:none; }
.screen-products .available-buy .button-lock-icon { flex:0 0 auto; width:15px; height:15px; color:#c9b7d3; }
.screen-products .available-buy.disabled > span { min-width:0; }
.screen-products .available-buy:not(.disabled) { border-color:rgba(64,214,235,.22);background:linear-gradient(100deg,rgba(186,57,247,.78),rgba(36,186,221,.72));box-shadow:0 0 0 2px rgba(64,214,235,.08),0 0 13px rgba(36,186,221,.24),inset 0 0 11px rgba(255,255,255,.1); }
.screen-products .available-buy:not(.disabled) span { color:#fff; }
.screen-products .available-buy:not(.disabled):hover,
.screen-products .available-buy:not(.disabled):focus-visible { transform:scale(1.008);border-color:rgba(112,229,244,.58);background:linear-gradient(100deg,rgba(196,72,249,.88),rgba(48,199,229,.82));box-shadow:0 10px 24px rgba(35,10,64,.28),0 0 22px rgba(62,201,230,.24),inset 0 0 14px rgba(255,255,255,.12);filter:brightness(1.05);outline:none; }
.screen-products .available-buy:not(.disabled):active { transform:scale(.995);transition-duration:.08s; }
.screen-products .available-product-card.is-unavailable { opacity:.62; filter:saturate(.55); }
.screen-products .available-product-card.is-locked { border-color:rgba(138,126,153,.18); background:linear-gradient(145deg,rgba(27,22,34,.95),rgba(12,10,17,.98)); box-shadow:0 10px 24px rgba(0,0,0,.22); }
.screen-products .available-product-card.is-locked .available-product-info header span { border-color:rgba(155,143,167,.2); background:rgba(85,75,96,.35); color:#c0b4c5; }

@keyframes contract-coin-float {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(-5px); }
}

body.purchase-dialog-open { overflow:hidden; }
.purchase-confirm-backdrop[hidden] { display:none; }
.purchase-confirm-backdrop { position:fixed; inset:0; z-index:1600; display:grid; place-items:center; overflow-y:auto; padding:24px; background:rgba(2,3,12,.82); backdrop-filter:blur(10px); }
.purchase-confirm-dialog { position:relative; width:min(520px,100%); overflow:hidden; padding:25px; border:1px solid rgba(83,200,235,.28); border-radius:22px; background:radial-gradient(circle at 50% -10%,rgba(171,54,255,.27),transparent 15rem),linear-gradient(145deg,#180b32,#080414 74%); box-shadow:0 34px 100px rgba(0,0,0,.64),0 0 35px rgba(111,37,235,.2),inset 0 0 28px rgba(157,51,246,.06); color:#f5edff; direction:rtl; text-align:right; animation:purchase-confirm-in .2s ease-out; }
.purchase-confirm-dialog::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(115deg,transparent 18%,rgba(255,255,255,.035) 50%,transparent 82%); }
.purchase-confirm-close { position:absolute; z-index:2; top:14px; left:14px; width:36px; height:36px; display:grid; place-items:center; padding:0; border:1px solid rgba(190,174,207,.18); border-radius:11px; background:rgba(255,255,255,.045); color:#b9adca; font-size:22px; line-height:1; cursor:pointer; }
.purchase-confirm-close:hover,.purchase-confirm-close:focus-visible { border-color:rgba(83,200,235,.38); color:#fff; outline:none; box-shadow:0 0 0 3px rgba(60,190,225,.12); }
.purchase-confirm-icon { width:62px; height:62px; display:grid; place-items:center; margin:0 auto 12px; border:1px solid rgba(55,205,224,.35); border-radius:20px; background:linear-gradient(135deg,rgba(180,53,247,.28),rgba(33,190,220,.2)); color:#70e5e2; box-shadow:0 0 24px rgba(66,198,230,.18),inset 0 0 18px rgba(188,71,245,.12); }
.purchase-confirm-icon svg { width:34px; height:34px; }
.purchase-confirm-heading { text-align:center; }
.purchase-confirm-heading>span { color:#64d9e5; font-size:9px; font-weight:850; letter-spacing:.09em; }
.purchase-confirm-heading h2 { margin:6px 0 7px; color:#fff; font-size:21px; }
.purchase-confirm-heading p { max-width:410px; margin:0 auto; color:#a99db8; font-size:11px; line-height:1.9; }
.purchase-confirm-product { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding:13px 15px; border:1px solid rgba(164,68,239,.22); border-radius:13px; background:linear-gradient(100deg,rgba(124,31,212,.16),rgba(34,169,204,.08)); }
.purchase-confirm-product small { color:#9387a3; font-size:9px; }
.purchase-confirm-product strong { color:#f2d8ff; font-size:15px; }
.purchase-confirm-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0 0; }
.purchase-confirm-summary>div { min-width:0; display:grid; gap:5px; padding:11px 12px; border:1px solid rgba(139,87,190,.15); border-radius:12px; background:rgba(255,255,255,.026); }
.purchase-confirm-summary dt { color:#81758f; font-size:8px; }
.purchase-confirm-summary dd { min-width:0; margin:0; overflow:hidden; color:#e7ddeb; font-size:11px; font-weight:800; direction:ltr; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.purchase-confirm-summary dd.is-profit { color:#5fe09b; }
.purchase-confirm-warning { display:flex; align-items:center; gap:10px; margin-top:10px; padding:10px 12px; border:1px solid rgba(244,176,74,.19); border-radius:12px; background:rgba(147,89,19,.11); }
.purchase-confirm-warning>span { flex:0 0 auto; width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:rgba(242,164,58,.16); color:#ffc36d; font-size:13px; font-weight:900; }
.purchase-confirm-warning p { margin:0; color:#ab9caa; font-size:9px; line-height:1.7; }
.purchase-confirm-warning strong { color:#f2d5aa; }
.purchase-confirm-actions { display:flex; gap:9px; margin-top:16px; }
.purchase-confirm-actions button { min-height:45px; padding:10px 15px; border-radius:12px; color:#fff; font-family:inherit; font-size:11px; font-weight:800; line-height:1.4; cursor:pointer; }
.purchase-confirm-submit { flex:1.55; border:1px solid rgba(64,214,235,.36); background:linear-gradient(100deg,rgba(186,57,247,.92),rgba(36,186,221,.88)); box-shadow:0 9px 24px rgba(52,175,219,.2),inset 0 0 12px rgba(255,255,255,.1); }
.purchase-confirm-submit:hover,.purchase-confirm-submit:focus-visible { outline:none; filter:brightness(1.09); box-shadow:0 0 0 3px rgba(64,214,235,.14),0 12px 28px rgba(52,175,219,.25); }
.purchase-confirm-cancel { flex:1; border:1px solid rgba(178,159,194,.19); background:rgba(255,255,255,.045); color:#c0b4ca!important; }
.purchase-confirm-cancel:hover,.purchase-confirm-cancel:focus-visible { border-color:rgba(203,184,218,.32); background:rgba(255,255,255,.075); color:#fff!important; outline:none; }
@keyframes purchase-confirm-in { from { opacity:0; transform:translateY(10px) scale(.975); } to { opacity:1; transform:none; } }

@media (max-width:560px) {
    .purchase-confirm-backdrop { place-items:end center; padding:12px; }
    .purchase-confirm-dialog { max-height:calc(100dvh - 24px); overflow-y:auto; padding:22px 16px 16px; border-radius:20px; }
    .purchase-confirm-close { top:11px; left:11px; }
    .purchase-confirm-icon { width:54px; height:54px; margin-bottom:9px; border-radius:17px; }
    .purchase-confirm-icon svg { width:30px; height:30px; }
    .purchase-confirm-heading h2 { margin-block:4px 5px; font-size:18px; }
    .purchase-confirm-heading p { font-size:10px; line-height:1.75; }
    .purchase-confirm-product { margin-top:13px; padding:11px 12px; }
    .purchase-confirm-product strong { font-size:13px; }
    .purchase-confirm-summary>div { padding:9px 10px; }
    .purchase-confirm-summary dd { font-size:10px; }
    .purchase-confirm-actions { flex-direction:column; }
    .purchase-confirm-actions button { width:100%; min-height:44px; }
}

.screen-products .product-empty-state { min-height:310px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:25px 18px; border:1px solid rgba(145,66,240,.23); border-radius:14px; background:linear-gradient(145deg,rgba(22,9,49,.9),rgba(10,4,29,.96)); text-align:center; }
.screen-products .product-empty-machine { width:155px; height:135px; display:block; }
.screen-products .product-empty-state strong { color:#ece1f6; font-size:15px; }
.screen-products .product-empty-state small { max-width:260px; margin-top:7px; color:#83778f; font-size:9px; line-height:1.8; }
.screen-products .product-empty-state>a { margin-top:15px; padding:9px 22px; border-radius:999px; background:linear-gradient(100deg,#7024ff,#bf3dff); color:#fff; font-size:10px; box-shadow:0 8px 20px rgba(117,33,239,.25); }

.screen-products .nav { padding:6px 8px calc(7px + env(safe-area-inset-bottom)); background:linear-gradient(to top,rgba(7,2,22,1) 78%,rgba(7,2,22,0)); }
.screen-products .nav-inner { width:min(520px,100%); padding:5px; border-color:rgba(151,73,242,.25); border-radius:18px; background:rgba(10,4,28,.95); box-shadow:0 10px 35px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.025); }
.screen-products .nav a { min-height:53px; color:#746985; font-size:8px; }
.screen-products .nav a.active { color:#c56cff; }
.screen-products .nav a.active .nav-icon { color:#c34eff; filter:drop-shadow(0 0 8px rgba(180,64,255,.7)); }
.screen-products .nav-icon { width:22px; height:22px; }

@media (max-width:430px) {
    .screen-products .page { padding-inline:7px; }
    .screen-products .product-overview { min-height:128px; }
    .screen-products .product-overview-metrics { min-height:128px; }
    .screen-products .product-overview-metrics>div { min-height:96px; padding-inline:3px; }
    .screen-products .product-overview-metrics small { font-size:6px; }
    .screen-products .product-overview-metrics strong { font-size:7px; }
    .screen-products .owned-product-main { grid-template-columns:minmax(0,1.3fr) minmax(118px,.82fr); }
    .screen-products .owned-product-info { padding-inline:10px 8px; }
    .screen-products .owned-product-info h2,
    .screen-products .available-product-info h2 { font-size:14px; }
    .screen-products .owned-product-info dt,
    .screen-products .available-product-info dt { font-size:7px; }
    .screen-products .owned-product-info dd,
    .screen-products .available-product-info dd { font-size:8px; }
    .screen-products .ai-machine-orbit { width:110px; }
    .screen-products .owned-product-action { width:auto; margin:10px 9px 9px; }
    .screen-products .available-product-card { grid-template-columns:minmax(118px,.82fr) minmax(0,1.3fr); }
    .screen-products .available-product-info { padding-inline:10px; }
}

@media(max-width:600px){
    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page{font-size:13px;line-height:1.7}
    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page :where(button,input,select,textarea){font-size:12px;line-height:1.55}
    .nav .nav-inner a,.screen-home .home-actions :is(a,button),.screen-team .team-access-link,.screen-profile .profile-menu>a,.screen-products .product-tabs a{font-size:11px;font-weight:800}
    .screen-home .home-stats small,.screen-home .home-actions a,.screen-home .home-actions button,.screen-home .home-product small{font-size:10px}.screen-home .home-stats strong{font-size:12px}
    .screen-products .product-overview{min-height:0}.screen-products .product-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;padding:8px}.screen-products .product-overview-metrics>div{min-height:82px;padding:8px;border-bottom:1px solid rgba(148,82,230,.15)}.screen-products .product-overview-metrics>div:nth-child(even){border-left:0}.screen-products .product-overview-metrics>div:nth-last-child(-n+2){border-bottom:0}.screen-products .product-overview-metrics small,.screen-products .available-product-info dt,.screen-products .owned-product-info dt,.screen-products .profit-timer small{font-size:10px}.screen-products .product-overview-metrics strong{overflow:visible;font-size:11px;text-overflow:clip}.screen-products .available-product-info dd,.screen-products .owned-product-info dd,.screen-products .available-product-info header span,.screen-products .contract-status,.screen-products .available-product-chip,.screen-products .available-stock,.screen-products .available-product-note{font-size:11px}.screen-products .available-product-info dd.amount,.screen-products .owned-product-info dd.amount{font-size:12px}.screen-products .profit-timer i{font-size:9px}
    .screen-team .referral-stats small,.screen-team .commission-rate-grid small,.screen-team .team-history-table small,.screen-team .member-level-tabs a small,.screen-team .member-joined small,.screen-team .member-status-badge small,.screen-team .member-detail-panel small,.screen-team .members-summary small,.screen-team .member-id-phone small{font-size:10px}.screen-team .referral-stats strong.amount,.screen-team .commission-panels header strong,.screen-team .team-history-table strong,.screen-team .member-id-phone strong,.screen-team .member-joined strong,.screen-team .member-status-badge strong,.screen-team .member-detail-panel strong,.screen-team .member-detail-panel .member-commission-amount,.screen-team .referral-quick-links strong,.screen-team .team-access-link strong{font-size:11px;line-height:1.6}.screen-team .member-level-tabs a{font-size:11px}.screen-team .members-summary em{font-size:9px}
    .screen-financial-history .history-filters button{min-height:34px;padding:6px 4px;font-size:10px;line-height:1.35}
}

@media (prefers-reduced-motion:reduce) {
    .screen-products .product-account-head .mobile-avatar::after { animation:none; }
    .screen-products .owned-product-photo,
    .screen-products .available-product-photo { animation:none; }
}

/* Unified wallet center — deposits, withdrawals and the financial timeline. */
body.screen-wallet {
    min-height:100vh;
    min-height:100dvh;
    background:
        radial-gradient(circle at 82% -6%,rgba(130,49,239,.22),transparent 27rem),
        radial-gradient(circle at -8% 48%,rgba(35,196,221,.08),transparent 30rem),
        linear-gradient(180deg,#050111 0,#09021d 52%,#050111 100%);
}
body.screen-wallet::before {
    opacity:.22;
    background-image:
        radial-gradient(circle,rgba(173,91,255,.34) 1px,transparent 1.3px),
        linear-gradient(rgba(110,53,207,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(110,53,207,.04) 1px,transparent 1px);
    background-size:23px 23px,52px 52px,52px 52px;
    mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.42) 62%,transparent 94%);
}
.screen-wallet .topbar { display:none; }
.screen-wallet .app-shell { width:min(100%,1080px); }
.screen-wallet .page { padding:12px clamp(10px,3vw,26px) 34px; }

.finance-page-head {
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:10px;
    padding:2px 4px;
    direction:ltr;
}
.finance-brand { display:flex; align-items:center; gap:9px; direction:ltr; }
.finance-brand img { width:38px; height:38px; filter:drop-shadow(0 7px 15px rgba(142,53,246,.44)); }
.finance-brand>span { display:grid; line-height:1; }
.finance-brand b { color:#f7f1ff; font-size:14px; font-weight:900; letter-spacing:.08em; }
.finance-brand em { margin-top:4px; color:#986ac2; font-size:6px; font-style:normal; font-weight:800; letter-spacing:.23em; }
.finance-head-action {
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    border:1px solid rgba(157,69,244,.26);
    border-radius:50%;
    background:rgba(25,8,52,.72);
    color:#bd61ff;
    box-shadow:inset 0 1px rgba(255,255,255,.03),0 9px 25px rgba(0,0,0,.22);
}
.finance-head-action svg { width:20px; height:20px; }

.wallet-hero {
    position:relative;
    min-height:230px;
    margin-bottom:13px;
    overflow:hidden;
    border:1px solid rgba(151,64,240,.28);
    border-radius:20px;
    background:
        radial-gradient(circle at 22% 34%,rgba(41,205,226,.18),transparent 12rem),
        radial-gradient(circle at 82% 82%,rgba(133,38,235,.38),transparent 18rem),
        linear-gradient(135deg,#101637 0,#0b0a25 54%,#20083f 100%);
    box-shadow:0 24px 55px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.035);
}
.wallet-hero::after { content:"LLaMa"; position:absolute; right:4%; bottom:-17px; color:rgba(255,255,255,.035); font:900 clamp(58px,13vw,116px)/1 sans-serif; letter-spacing:.03em; direction:ltr; }
.wallet-hero-grid { position:absolute; inset:0; opacity:.28; background-image:linear-gradient(rgba(127,64,239,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(127,64,239,.17) 1px,transparent 1px); background-size:31px 31px; mask-image:linear-gradient(100deg,#000,transparent 77%); }
.wallet-orbit { position:absolute; z-index:2; left:7%; top:50%; width:148px; height:148px; display:grid; place-items:center; border:1px solid rgba(41,212,228,.25); border-radius:50%; box-shadow:0 0 42px rgba(123,40,235,.24),inset 0 0 36px rgba(37,211,229,.08); transform:translateY(-50%); }
.wallet-orbit::before,.wallet-orbit::after { content:""; position:absolute; inset:-12px; border:1px dashed rgba(174,83,251,.28); border-radius:50%; transform:rotate(21deg); }
.wallet-orbit::after { inset:20px; border-style:solid; border-color:rgba(41,211,229,.21); transform:rotate(-28deg); }
.wallet-orbit>i { position:absolute; width:7px; height:7px; border:1px solid #be61ff; border-radius:50%; background:#130623; box-shadow:0 0 11px #b445ff; }
.wallet-orbit>i:first-child { top:8px; right:30px; }
.wallet-orbit>i:nth-child(2) { left:7px; bottom:41px; border-color:#37d9e5; box-shadow:0 0 11px #32d9e8; }
.wallet-orbit>span { position:relative; z-index:2; width:82px; height:82px; display:grid; place-items:center; border:1px solid rgba(176,96,255,.27); border-radius:26px; background:linear-gradient(145deg,rgba(130,45,232,.24),rgba(12,8,30,.88)); box-shadow:0 16px 35px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.05); transform:rotate(-7deg); }
.wallet-orbit img { width:67px; height:67px; filter:drop-shadow(0 10px 18px rgba(138,52,241,.48)); }
.wallet-orbit .usdt-mark { color:#60edcd; font:900 46px/1 Arial,sans-serif; text-shadow:0 0 18px rgba(78,229,193,.48); }
.wallet-hero-copy { position:absolute; z-index:3; top:50%; right:6%; display:grid; transform:translateY(-52%); }
.wallet-hero-copy small { color:#9b8ba9; font-size:10px; }
.wallet-hero-copy strong { margin:4px 0 1px; color:#f5ecff; font-size:clamp(25px,5vw,42px); line-height:1.35; text-shadow:0 0 22px rgba(167,74,249,.25); }
.wallet-hero-copy p { margin:0; color:#c05aff; font-size:11px; }
.wallet-hero-badge { position:absolute; z-index:3; right:6%; bottom:20px; display:flex; align-items:center; gap:6px; padding:5px 9px; border:1px solid rgba(127,233,208,.16); border-radius:999px; background:rgba(7,17,26,.38); color:#7f9c9c; font-size:7px; }
.wallet-hero-badge>span { width:5px; height:5px; border-radius:50%; background:#36d9b0; box-shadow:0 0 8px #36d9b0; }
.wallet-hero-usdt { background:radial-gradient(circle at 22% 34%,rgba(62,223,193,.17),transparent 12rem),radial-gradient(circle at 82% 82%,rgba(133,38,235,.36),transparent 18rem),linear-gradient(135deg,#0c2030 0,#0a0b26 56%,#210840 100%); }

.screen-wallet .wallet-channel-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:13px; }
.screen-wallet .wallet-channel-tabs a,
.screen-wallet .withdraw-method-tabs a {
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    padding:9px 13px;
    border:1px solid rgba(143,64,227,.17);
    border-radius:14px;
    background:linear-gradient(145deg,rgba(23,9,49,.83),rgba(10,5,27,.92));
    color:#82758f;
    box-shadow:inset 0 1px rgba(255,255,255,.02);
}
.screen-wallet .wallet-channel-tabs a svg,
.screen-wallet .withdraw-method-tabs a svg { width:25px; height:25px; flex:0 0 auto; }
.screen-wallet .wallet-channel-tabs a>span,
.screen-wallet .withdraw-method-tabs a>span { display:grid; line-height:1.25; }
.screen-wallet .wallet-channel-tabs a small,
.screen-wallet .withdraw-method-tabs a small { color:#665b73; font-size:7px; }
.screen-wallet .wallet-channel-tabs a b,
.screen-wallet .withdraw-method-tabs a b { margin-top:3px; font-size:10px; }
.screen-wallet .wallet-channel-tabs a.active,
.screen-wallet .withdraw-method-tabs a.active { border-color:rgba(191,75,255,.52); background:linear-gradient(105deg,rgba(106,27,221,.74),rgba(177,49,241,.58),rgba(37,143,198,.42)); color:#fff; box-shadow:0 10px 26px rgba(104,27,218,.24),inset 0 1px rgba(255,255,255,.12); }
.screen-wallet .wallet-channel-tabs a.active small,
.screen-wallet .withdraw-method-tabs a.active small { color:#d6bde7; }

.wallet-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(250px,.62fr); gap:13px; align-items:start; }
.wallet-form-card,
.wallet-guide-card,
.withdraw-box,
.withdraw-rule {
    position:relative;
    overflow:hidden;
    border:1px solid rgba(143,63,228,.2);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(22,8,48,.96),rgba(9,4,28,.98));
    box-shadow:0 18px 42px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.025);
}
.wallet-form-card { padding:clamp(16px,3vw,25px); }
.wallet-form-card::after,.withdraw-box::after { content:""; position:absolute; top:-95px; left:-95px; width:220px; height:220px; border:1px solid rgba(151,65,241,.1); border-radius:50%; box-shadow:0 0 70px rgba(122,33,229,.08); pointer-events:none; }
.wallet-card-head { position:relative; z-index:2; display:flex; align-items:center; gap:11px; margin-bottom:9px; }
.wallet-card-icon { width:44px; height:44px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(189,77,255,.28); border-radius:13px; background:linear-gradient(145deg,rgba(128,38,235,.31),rgba(28,11,58,.66)); color:#c65eff; box-shadow:0 0 20px rgba(146,49,238,.1); }
.wallet-card-icon svg { width:24px; height:24px; }
.wallet-card-icon.is-usdt { color:#62e8cb; font:900 27px/1 Arial,sans-serif; }
.wallet-card-head>span:last-child { display:grid; line-height:1.2; }
.wallet-card-head small { color:#9e49db; font-size:7px; font-weight:800; letter-spacing:.12em; direction:ltr; text-align:right; }
.wallet-card-head h1 { margin:4px 0 0; color:#f1e8f8; font-size:20px; }
.wallet-card-intro { margin:0 0 16px; color:#81768d; font-size:10px; line-height:1.9; }

.wallet-limit-row,.crypto-stats { display:grid; grid-template-columns:1fr auto 1fr; margin-bottom:16px; padding:12px 14px; border:1px solid rgba(143,67,226,.14); border-radius:13px; background:rgba(9,3,27,.62); }
.wallet-limit-row>span { display:grid; }
.wallet-limit-row>span:last-child { text-align:left; }
.wallet-limit-row small,.crypto-stats small { color:#6d6179; font-size:7px; }
.wallet-limit-row b,.crypto-stats strong { margin-top:3px; color:#c8bdd0; font-size:9px; }
.wallet-limit-row i { width:1px; margin:0 15px; background:rgba(148,75,218,.13); }
.wallet-alert { display:flex; align-items:flex-start; gap:9px; margin-bottom:15px; padding:11px 12px; border:1px solid rgba(236,73,108,.2); border-radius:12px; background:rgba(217,52,86,.075); color:#f3a4b7; }
.wallet-alert>span { width:20px; height:20px; display:grid; place-items:center; flex:0 0 auto; border:1px solid currentColor; border-radius:50%; font-size:10px; font-weight:900; }
.wallet-alert p { margin:0; font-size:9px; line-height:1.8; }
.wallet-form { position:relative; z-index:2; }
.wallet-field { margin:0 0 13px; }
.wallet-field>label,.withdraw-item>label { margin:0 2px 6px; color:#b9adbf; font-size:9px; font-weight:750; }
.wallet-input { position:relative; min-height:49px; display:flex; align-items:center; overflow:hidden; border:1px solid rgba(142,75,207,.19); border-radius:12px; background:rgba(6,2,19,.78); transition:border-color .18s ease,box-shadow .18s ease; }
.wallet-input:focus-within { border-color:rgba(194,83,255,.58); box-shadow:0 0 0 3px rgba(154,54,236,.08); }
.wallet-input input,.wallet-input select { min-height:47px; margin:0; padding:10px 13px; border:0; border-radius:0; background:transparent; color:#ebe3f2; box-shadow:none; font-size:11px; }
.wallet-input select { appearance:none; padding-left:39px; }
.wallet-input input:focus,.wallet-input select:focus { box-shadow:none; }
.wallet-input>svg { position:absolute; left:12px; width:18px; height:18px; color:#745889; pointer-events:none; }
.wallet-input.money-input { direction:ltr; }
.wallet-input.money-input input { direction:ltr; text-align:left; font-family:Vazirmatn,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:.025em; }
.wallet-input.money-input>span { width:43px;min-width:43px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border-right:1px solid rgba(139,66,214,.2);color:#c084fc;font:900 13px/1 Vazirmatn,sans-serif; }
.field-help { display:block; margin:5px 3px 0; color:#665a72; font-size:7px; }
.wallet-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.amount-presets-block { display:grid; gap:7px; margin:-3px 0 14px; }
.amount-presets-label { margin:0 2px; color:#7d7088; font-size:8px; font-weight:700; }
.amount-presets { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
.amount-presets button { min-height:28px; padding:4px 9px; border:1px solid rgba(154,67,230,.18); border-radius:999px; background:rgba(91,27,168,.09); color:#8c7a9a; font:700 7px/1.4 Vazirmatn,sans-serif; font-variant-numeric:tabular-nums; direction:ltr; cursor:pointer; transition:.18s ease; }
.amount-presets button:hover,.amount-presets button.active { border-color:rgba(197,78,255,.52); background:rgba(147,42,226,.23); color:#dcbcf0; }
.usdt-live-quote { display:grid; gap:7px; margin:0 0 14px; padding:12px 14px; border:1px solid rgba(67,205,190,.17); border-radius:13px; background:linear-gradient(135deg,rgba(12,50,54,.36),rgba(9,4,28,.74)); }
.usdt-live-quote>div { display:flex;align-items:center;justify-content:flex-start;gap:9px;direction:ltr; }
.usdt-live-quote>div>span { min-width:0; display:grid; gap:3px; }
.usdt-live-quote small { color:#71968f; font-size:8px; direction:rtl; text-align:left; }
.usdt-live-quote strong { color:#81768d; font:850 20px/1.25 Vazirmatn,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:.025em; overflow-wrap:anywhere; transition:color .18s ease,text-shadow .18s ease; }
.usdt-live-quote b { min-width:43px;min-height:34px;display:grid;place-items:center;padding:0 8px;border:1px solid rgba(89,226,199,.2);border-radius:9px;background:rgba(8,33,35,.48);color:#82d8c7;font:900 13px/1 "Segoe UI",Tahoma,sans-serif; }
.usdt-live-quote .is-irr-payment b { min-width:52px;font-size:13px;letter-spacing:.04em; }
.conversion-rate-equation { display:flex;align-items:center;gap:5px;direction:ltr;white-space:nowrap; }
.conversion-rate-equation i { color:#f3c969;font-size:15px;font-style:normal;font-weight:950; }
.conversion-rate-equation em { margin:0 3px;color:#7c6b87;font-size:14px;font-style:normal;font-weight:700; }
.conversion-rate-equation i.is-irr { margin-left:2px;color:#81d9c7;font-size:12px;letter-spacing:.04em; }
.irr-payment-warning { display:block;margin-top:3px;color:#ff6b7d;font-size:9px;font-style:normal;font-weight:850;line-height:1.55;direction:rtl;text-align:left; }
.usdt-live-quote.has-value { border-color:rgba(89,226,199,.32); box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 24px rgba(21,140,124,.06); }
.usdt-live-quote.has-value strong { color:#6ef0d2; text-shadow:0 0 15px rgba(70,224,194,.2); }
.usdt-live-quote.has-value b { color:#81d9c7; }

.destination-card { position:relative; min-height:128px; margin:2px 0 15px; padding:17px 18px; overflow:hidden; border:1px solid rgba(198,80,255,.28); border-radius:16px; background:radial-gradient(circle at 15% 20%,rgba(47,202,222,.12),transparent 9rem),linear-gradient(135deg,#27104d,#16072f 55%,#0c172a); box-shadow:0 13px 30px rgba(0,0,0,.24); }
.destination-card::after { content:"LLaMa"; position:absolute; left:12px; top:6px; color:rgba(255,255,255,.045); font:900 37px/1 sans-serif; letter-spacing:.04em; direction:ltr; }
.destination-card-glow { position:absolute; right:-35px; bottom:-55px; width:150px; height:150px; border:1px solid rgba(41,211,225,.13); border-radius:50%; box-shadow:0 0 38px rgba(73,190,226,.13); }
.destination-chip { width:25px; height:19px; display:block; margin-bottom:12px; border:1px solid rgba(236,194,255,.25); border-radius:4px; background:linear-gradient(135deg,#a868d2,#4b3372); box-shadow:inset 0 0 0 3px rgba(18,8,37,.32); }
.destination-card>small { display:block; color:#a58ab7; font-size:7px; }
.destination-card>strong { display:block; margin:3px 0 9px; color:#f1dffc; font:800 15px/1.6 monospace; letter-spacing:.05em; direction:ltr; text-align:right; }
.destination-card>.destination-card-row { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.destination-card>.destination-card-row>span { min-width:0;color:#a58db3;font-size:8px; }
.destination-card-iban-row{margin-top:10px;padding-top:9px;border-top:1px dashed rgba(174,105,218,.17)}
.destination-card-iban-row>span{display:grid;gap:3px}
.destination-card-iban-row small{color:#796d83;font-size:7px}
.destination-card-iban-row b{overflow:hidden;color:#d5c2df;font:750 9px/1.6 Consolas,"Courier New",monospace;letter-spacing:.025em;text-overflow:ellipsis;white-space:nowrap;unicode-bidi:embed}
.destination-card button,.crypto-address button { min-height:27px; display:flex; align-items:center; gap:5px; padding:4px 8px; border:1px solid rgba(45,213,222,.24); border-radius:8px; background:rgba(21,164,183,.09); color:#54dfe2; font:700 7px/1 inherit; cursor:pointer; }
.destination-card button svg,.crypto-address button svg { width:13px; height:13px; }
.destination-card button:disabled,.crypto-address button:disabled { opacity:.35; cursor:not-allowed; }
.destination-card.is-empty { filter:saturate(.55); }
.destination-method-select{border-color:rgba(165,75,229,.28);background:linear-gradient(145deg,rgba(24,9,49,.9),rgba(7,5,21,.94));box-shadow:inset 0 1px rgba(255,255,255,.025)}
.destination-method-select:hover{border-color:rgba(186,78,241,.42)}
.destination-method-select select{cursor:pointer;font-weight:750}
.destination-method-select select:valid{color:#eee6f3}
.destination-method-select>svg{color:#b35ae8}

.wallet-submit,.withdraw-btn,.maskBtn { width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(167,111,203,.42);border-radius:12px;background:linear-gradient(105deg,#3b1d5b,#5b2a76 52%,#34204f);color:#f4edf7;font:800 11px/1.4 inherit;box-shadow:none;filter:saturate(.72);cursor:pointer;transition:background .18s ease,border-color .18s ease,filter .18s ease; }
.wallet-submit:hover,.withdraw-btn:hover,.maskBtn:hover { border-color:rgba(184,132,216,.56);background:linear-gradient(105deg,#442267,#633080 52%,#3b2559);box-shadow:none;filter:saturate(.78); }
.wallet-submit svg { width:18px; height:18px; transform:rotate(180deg); }
.wallet-submit:disabled { opacity:.38; box-shadow:none; cursor:not-allowed; }
.wallet-secure-note { display:flex; align-items:center; justify-content:center; gap:6px; margin:9px 0 0; color:#655a70; font-size:7px; }
.wallet-secure-note svg { width:13px; height:13px; color:#6f4b87; }

.wallet-guide-card { padding:21px 18px; }
.wallet-guide-card::after { content:""; position:absolute; left:-55px; bottom:-70px; width:170px; height:170px; border:1px solid rgba(166,70,244,.12); border-radius:50%; box-shadow:0 0 55px rgba(122,32,224,.1); }
.wallet-guide-card h2 { margin:5px 0 18px; color:#e8def0; font-size:15px; }
.wallet-steps { position:relative; z-index:2; display:grid; gap:17px; margin:0; padding:0; list-style:none; counter-reset:none; }
.wallet-steps::before { content:""; position:absolute; top:19px; right:15px; bottom:19px; width:1px; background:linear-gradient(#a743eb,rgba(64,202,221,.22)); }
.wallet-steps li { position:relative; display:flex; align-items:flex-start; gap:11px; }
.wallet-steps li>span { z-index:1; width:31px; height:31px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(180,78,244,.3); border-radius:10px; background:#16082e; color:#bf55f1; font:800 7px/1 sans-serif; }
.wallet-steps li>div { display:grid; }
.wallet-steps b { color:#cfc3d8; font-size:9px; }
.wallet-steps small { margin-top:3px; color:#6f6578; font-size:7px; line-height:1.7; }
.wallet-guide-link { position:relative; z-index:2; min-height:38px; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:21px; border:1px solid rgba(154,67,231,.18); border-radius:10px; background:rgba(98,26,177,.08); color:#9f87b3; font-size:8px; }
.wallet-guide-link svg { width:15px; height:15px; transform:rotate(180deg); }
.wallet-guide-card.is-warning { border-color:rgba(238,160,54,.14); }
.crypto-checklist { display:grid; gap:12px; margin:0; padding:0; list-style:none; }
.crypto-checklist li { display:flex; align-items:flex-start; gap:9px; color:#8a7f91; font-size:8px; line-height:1.8; }
.crypto-checklist span { width:25px; height:25px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(238,160,54,.21); border-radius:8px; color:#e2a752; font:800 7px/1 sans-serif; }

.crypto-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.crypto-stats>div { display:grid; padding:0 5px; }
.crypto-stats>div+div { border-right:1px solid rgba(143,67,226,.14); }
.crypto-stats strong { color:#aee8dc; }
.crypto-destination { display:grid; grid-template-columns:108px minmax(0,1fr); gap:12px; margin-bottom:16px; padding:12px; border:1px solid rgba(67,205,190,.18); border-radius:15px; background:linear-gradient(135deg,rgba(14,51,56,.4),rgba(14,5,37,.7)); }
.crypto-qr { aspect-ratio:1; display:grid; place-items:center; padding:8px; border:1px solid rgba(93,225,202,.2); border-radius:11px; background:#f8f8fb; color:#101827; }
.crypto-qr img { width:100%; height:100%; object-fit:contain; }
.crypto-qr svg { width:100%; height:100%; }
.crypto-address { min-width:0; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.crypto-address>small { color:#76938f; font-size:7px; }
.crypto-address code { width:100%; margin:6px 0 10px; overflow:hidden; color:#c2eee4; font:700 9px/1.7 monospace; direction:ltr; text-align:left; text-overflow:ellipsis; white-space:nowrap; }

.withdraw-page,.withdraw-main,.withdraw-container { width:100%; }
.withdraw-method-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 13px; }
.withdraw-box { margin-bottom:13px; padding:clamp(16px,3vw,25px); }
.withdraw-blocked { margin-bottom:15px; padding:11px 12px; border:1px solid rgba(236,73,108,.2); border-radius:12px; background:rgba(217,52,86,.075); color:#f3a4b7; font-size:9px; line-height:1.8; }
.withdraw-item { margin-bottom:13px; }
.withdraw-item input,.withdraw-item select { min-height:49px; margin:0; padding:10px 13px; border:1px solid rgba(142,75,207,.19); border-radius:12px; background:rgba(6,2,19,.78); color:#ebe3f2; box-shadow:none; font-size:11px; }
.withdraw-iban-control{display:flex;align-items:center;min-height:49px;overflow:hidden;border:1px solid rgba(142,75,207,.19);border-radius:12px;background:rgba(6,2,19,.78)}
.withdraw-iban-control:focus-within{border-color:rgba(194,83,255,.58);box-shadow:0 0 0 3px rgba(154,54,236,.08)}
.withdraw-iban-control>span{display:grid;place-items:center;align-self:stretch;min-width:48px;border-right:1px solid rgba(142,75,207,.2);color:#c084fc;font:900 12px/1 Vazirmatn,sans-serif}
.withdraw-iban-control input{min-width:0;margin:0;border:0;border-radius:0;background:transparent;direction:ltr;text-align:left;font-family:Vazirmatn,sans-serif;letter-spacing:.035em}
.withdraw-field-help{display:block;margin:5px 2px 0;color:#716579;font-size:7px}
.withdraw-item input:focus,.withdraw-item select:focus { border-color:rgba(194,83,255,.58); box-shadow:0 0 0 3px rgba(154,54,236,.08); }
.withdraw-amount-control { position:relative; display:flex; align-items:center; }
.withdraw-amount-control input { width:100%; padding-inline-end:104px; }
.withdraw-amount-control button { position:absolute; inset-inline-end:7px; min-width:88px; height:35px; padding:0 12px; border:1px solid rgba(194,83,255,.42); border-radius:9px; background:linear-gradient(135deg,rgba(154,54,236,.26),rgba(49,18,92,.72)); color:#f2eafb; font-size:10px; font-weight:800; cursor:pointer; transition:.2s ease; }
.withdraw-amount-control button:hover { border-color:rgba(194,83,255,.78); background:linear-gradient(135deg,rgba(174,69,255,.4),rgba(68,24,122,.82)); }
.withdraw-password-control { position:relative;display:flex;align-items:center; }
.withdraw-password-control input { width:100%;padding-inline-end:49px; }
.withdraw-password-control button { position:absolute;inset-inline-end:5px;width:40px;min-width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#c084fc;cursor:pointer;transition:color .2s ease,filter .2s ease,transform .2s ease; }
.withdraw-password-control button:hover,.withdraw-password-control button:focus-visible { color:#e9d5ff;filter:drop-shadow(0 0 7px rgba(192,132,252,.5));transform:scale(1.06);outline:none; }
.withdraw-password-control button svg { width:22px;height:22px;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round; }
.withdraw-password-control .password-eye-off { display:none; }
.withdraw-password-control button[aria-pressed="true"] .password-eye-open { display:none; }
.withdraw-password-control button[aria-pressed="true"] .password-eye-off { display:block; }
.withdraw-account { margin:0 0 16px; padding:0; overflow:hidden; border:1px solid rgba(142,68,211,.16); border-radius:13px; background:rgba(7,3,21,.63); list-style:none; }
.withdraw-account li { min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; padding:9px 11px; border-bottom:1px solid rgba(141,70,211,.1); color:#7b7084; font-size:8px; }
.withdraw-account li:last-child { border-bottom:0; }
.withdraw-account li label { margin:0; color:#796e83; font-size:8px; }
.withdraw-account li span { max-width:62%; overflow:hidden; color:#c55cf4; font-weight:800; direction:ltr; text-overflow:ellipsis; white-space:nowrap; }
.withdraw-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.withdraw-summary li { min-width:0; display:grid; align-content:center; border-left:1px solid rgba(141,70,211,.1); }
.withdraw-summary li:nth-child(even) { border-left:0; }
.withdraw-summary li span { max-width:100%; margin-top:2px; }
.withdraw-rule { padding:18px; }
.withdraw-rule h3 { margin:0 0 10px; color:#ded3e6; font-size:13px; }
.withdraw-rule ul { margin:0; padding-right:17px; color:#776c80; font-size:8px; line-height:1.9; }
.withdraw-rule li { margin:5px 0; }
.withdraw-rule li.withdraw-information-note{margin:7px 0;padding:7px 9px;border:1px solid rgba(72,203,214,.14);border-radius:9px;color:#aeb9c7;background:rgba(34,177,194,.045);line-height:1.75}
.withdraw-rule li.withdraw-information-note::marker{color:#49cfda}
.z-mask { position:fixed; z-index:999; inset:0; display:none; align-items:center; justify-content:center; padding:14px; background:rgba(3,1,10,.84); backdrop-filter:blur(12px); }
.maskCon { position:relative; width:min(480px,100%); max-height:88vh; overflow:auto; padding:23px; border:1px solid rgba(177,71,244,.28); border-radius:19px; background:linear-gradient(145deg,#1c093a,#09031d); box-shadow:0 30px 90px rgba(0,0,0,.55); text-align:center; animation:wallet-modal-in .22s ease-out; }
.maskImg { position:absolute; top:12px; right:12px; width:21px; opacity:.62; filter:invert(1); cursor:pointer; }
.maskTit { margin-bottom:12px; color:#eee4f5; font-size:17px; font-weight:850; }
.maskTxt p { margin-bottom:15px; color:#897c93; font-size:9px; line-height:1.9; }
@keyframes wallet-modal-in { from{opacity:0;transform:scale(.96) translateY(8px)} to{opacity:1;transform:none} }

.history-hero { position:relative; min-height:190px; margin-bottom:12px; overflow:hidden; border:1px solid rgba(151,64,240,.27); border-radius:19px; background:radial-gradient(circle at 14% 28%,rgba(38,205,224,.14),transparent 12rem),radial-gradient(circle at 82% 80%,rgba(134,37,235,.38),transparent 17rem),linear-gradient(135deg,#111638,#0c0927 56%,#210740); box-shadow:0 21px 48px rgba(0,0,0,.32); }
.history-hero-grid { position:absolute; inset:0; opacity:.28; background-image:linear-gradient(rgba(136,61,232,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(136,61,232,.15) 1px,transparent 1px); background-size:31px 31px; mask-image:linear-gradient(95deg,#000,transparent 72%); }
.history-hero-copy { position:absolute; z-index:2; top:50%; right:6%; transform:translateY(-50%); }
.history-hero-copy>small { color:#a348dd; font-size:7px; font-weight:850; letter-spacing:.13em; }
.history-hero-copy h1 { margin:4px 0; color:#f1e8f8; font-size:28px; }
.history-hero-copy p { margin:0; color:#8f819a; font-size:9px; }
.history-count { position:absolute; z-index:3; left:5%; bottom:18px; display:grid; text-align:left; }
.history-count strong { color:#d65eff; font:900 30px/1 sans-serif; text-shadow:0 0 16px rgba(195,72,255,.4); }
.history-count small { margin-top:4px; color:#796b85; font-size:7px; }
.history-pulse { position:absolute; left:5%; top:22px; width:220px; height:72px; display:flex; align-items:flex-end; gap:8px; direction:ltr; }
.history-pulse::after { content:""; position:absolute; right:0; bottom:7px; left:0; height:1px; background:linear-gradient(90deg,transparent,rgba(53,218,226,.35),transparent); }
.history-pulse i { width:13px; height:var(--pulse,28%); display:block; border:1px solid rgba(187,76,255,.52); background:linear-gradient(to top,rgba(100,25,213,.72),rgba(42,206,224,.64)); box-shadow:0 0 12px rgba(159,48,242,.24); transform:skewY(-5deg); }
.history-pulse i:nth-child(2){--pulse:43%}.history-pulse i:nth-child(3){--pulse:34%}.history-pulse i:nth-child(4){--pulse:70%}.history-pulse i:nth-child(5){--pulse:58%}.history-pulse i:nth-child(6){--pulse:88%}.history-pulse i:nth-child(7){--pulse:73%}
.history-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:13px; }
.history-summary>div { min-width:0; min-height:67px; display:flex; align-items:center; gap:9px; padding:10px; border:1px solid rgba(143,64,227,.15); border-radius:13px; background:linear-gradient(145deg,rgba(21,8,45,.83),rgba(9,4,25,.91)); }
.summary-icon { width:33px; height:33px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(59,214,170,.2); border-radius:10px; background:rgba(37,188,145,.08); color:#43d3aa; }
.summary-icon.is-debit { border-color:rgba(238,89,124,.19); background:rgba(221,63,98,.07); color:#eb718e; }
.summary-icon.is-pending { border-color:rgba(236,162,54,.19); background:rgba(220,145,39,.07); color:#dfa447; }
.summary-icon svg { width:18px; height:18px; }
.history-summary>div>span:last-child { min-width:0; display:grid; }
.history-summary small { color:#716579; font-size:7px; }
.history-summary b { margin-top:2px; overflow:hidden; color:#cfc3d6; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.history-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin:17px 3px 10px; }
.history-toolbar>div:first-child { display:grid; }
.history-toolbar>div:first-child small { color:#834aa3; font-size:7px; }
.history-toolbar>div:first-child strong { color:#ded3e5; font-size:13px; }
.history-filters { display:flex; gap:4px; padding:4px; border:1px solid rgba(142,65,219,.13); border-radius:10px; background:rgba(13,5,31,.75); }
.history-filters button, .history-filters a { min-height:28px; display:flex; align-items:center; justify-content:center; padding:4px 9px; border:0; border-radius:7px; background:transparent; color:#766a80; font:700 7px/1 inherit; text-align:center; text-decoration:none; cursor:pointer; }
.history-filters button.active, .history-filters a.active { background:linear-gradient(100deg,#6721d9,#a832e6); color:#fff; box-shadow:0 5px 14px rgba(102,27,208,.24); }
.lamaa-pagination { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:12px; }
.lamaa-page-btn { min-width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; padding:0 10px; border:1px solid rgba(142,65,219,.22); border-radius:9px; background:rgba(13,5,31,.75); color:#c9b6e6; font:800 15px/1 inherit; text-decoration:none; transition:background .18s ease,color .18s ease; }
.lamaa-page-btn:hover { background:linear-gradient(100deg,#6721d9,#a832e6); color:#fff; }
.lamaa-page-btn.is-disabled { opacity:.4; pointer-events:none; }
.lamaa-page-info { display:inline-flex; align-items:center; gap:5px; color:#9a86b8; font-size:9px; font-weight:700; }
.lamaa-page-info b { color:#e6dcf3; font-size:11px; }
.lamaa-page-info em { font-style:normal; color:#766a80; font-size:8px; }
.history-pagination, .referral-member-pagination { display:flex; justify-content:center; }
.finance-timeline { position:relative; display:grid; gap:9px; }
.finance-timeline::before { content:""; position:absolute; top:24px; right:21px; bottom:24px; width:1px; background:linear-gradient(rgba(169,62,241,.35),rgba(45,211,214,.12),transparent); }
.timeline-entry { position:relative; z-index:1; display:grid; grid-template-columns:43px minmax(0,1fr); gap:8px; }
.timeline-entry[hidden] { display:none; }
.timeline-marker { width:43px; height:43px; display:grid; place-items:center; border:1px solid rgba(52,210,169,.25); border-radius:13px; background:#0d0821; color:#48d9b3; box-shadow:0 8px 21px rgba(0,0,0,.24); }
.timeline-entry.is-debit .timeline-marker { border-color:rgba(233,81,117,.23); color:#e66886; }
.timeline-marker svg { width:21px; height:21px; }
.timeline-card { min-width:0; padding:13px 14px; border:1px solid rgba(143,64,227,.15); border-radius:14px; background:linear-gradient(145deg,rgba(21,8,46,.92),rgba(9,4,26,.96)); box-shadow:0 11px 27px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.02); }
.timeline-card>header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.timeline-card>header>div { min-width:0; display:grid; }
.timeline-card>header small { color:#6c6075; font-size:6px; }
.timeline-card h2 { margin:2px 0 0; overflow:hidden; color:#ddd2e4; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.timeline-card .status { padding:3px 7px; font-size:6px; }
.timeline-amount { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-top:10px; padding-top:9px; border-top:1px solid rgba(138,68,207,.1); }
.timeline-amount .amount { font-size:12px; }
.timeline-amount time { color:#6f6379; font-size:7px; direction:ltr; text-align:left; }
.timeline-card>p { margin:7px 0 0; color:#766a80; font-size:8px; }
.timeline-breakdown { display:flex; flex-wrap:wrap; gap:7px; margin-top:8px; }
.timeline-breakdown>span { padding:4px 7px; border:1px solid rgba(141,66,214,.12); border-radius:7px; background:rgba(90,25,157,.06); color:#6f6379; font-size:6px; }
.timeline-breakdown b { color:#aa96b8; }
.history-empty { min-height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:25px; border:1px solid rgba(146,64,231,.18); border-radius:17px; background:linear-gradient(145deg,rgba(22,8,47,.88),rgba(9,4,27,.94)); text-align:center; }
.history-empty-orbit { width:96px; height:96px; display:grid; place-items:center; margin-bottom:17px; border:1px solid rgba(182,72,244,.27); border-radius:50%; color:#bd55f4; box-shadow:0 0 32px rgba(140,35,228,.13),inset 0 0 25px rgba(52,203,221,.05); }
.history-empty-orbit svg { width:38px; height:38px; }
.history-empty strong { color:#e4d9ec; font-size:13px; }
.history-empty p { max-width:320px; color:#75697e; font-size:8px; }
.history-empty a { margin-top:9px; padding:8px 18px; border-radius:999px; background:linear-gradient(100deg,#6b20e3,#b137ed); color:#fff; font-size:8px; }
.history-no-result { padding:26px; border:1px dashed rgba(147,65,228,.18); border-radius:14px; color:#776a81; font-size:9px; text-align:center; }

.screen-wallet .nav { padding:6px 8px calc(7px + env(safe-area-inset-bottom)); background:linear-gradient(to top,rgba(7,2,22,1) 78%,rgba(7,2,22,0)); }
.screen-wallet .nav-inner { width:min(520px,100%); grid-template-columns:repeat(4,minmax(0,1fr)); padding:5px; border-color:rgba(151,73,242,.25); border-radius:18px; background:rgba(10,4,28,.95); box-shadow:0 10px 35px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.025); }
.screen-wallet .nav a { min-height:53px; color:#746985; font-size:8px; }
.screen-wallet .nav a.active { color:#c56cff; background:linear-gradient(145deg,rgba(124,39,219,.2),rgba(66,26,121,.08)); }
.screen-wallet .nav a.active .nav-icon { color:#c34eff; filter:drop-shadow(0 0 8px rgba(180,64,255,.7)); }
.screen-wallet .nav-icon { width:22px; height:22px; }

@media (max-width:820px) {
    .wallet-layout { grid-template-columns:1fr; }
    .wallet-guide-card { display:none; }
}
@media (max-width:560px) {
    .screen-wallet .page { padding:6px 7px 28px; }
    .finance-page-head { min-height:53px; padding-inline:5px; }
    .wallet-hero { min-height:190px; border-radius:17px; }
    .wallet-orbit { left:3%; width:116px; height:116px; }
    .wallet-orbit>span { width:65px; height:65px; border-radius:21px; }
    .wallet-orbit img { width:53px; height:53px; }
    .wallet-orbit .usdt-mark { font-size:38px; }
    .wallet-hero-copy { right:5%; }
    .wallet-hero-copy strong { max-width:225px; overflow:hidden; font-size:23px; text-overflow:ellipsis; white-space:nowrap; }
    .wallet-hero-badge { right:5%; bottom:15px; }
    .wallet-form-card,.withdraw-box { padding:15px 13px; border-radius:15px; }
    .wallet-field-grid { grid-template-columns:1fr; gap:0; }
    .crypto-destination { grid-template-columns:88px minmax(0,1fr); }
    .history-hero { min-height:168px; }
    .history-pulse { left:3%; top:20px; width:150px; gap:5px; }
    .history-pulse i { width:9px; }
    .history-summary { gap:5px; }
    .history-summary>div { min-height:60px; gap:6px; padding:7px; }
    .summary-icon { width:29px; height:29px; border-radius:9px; }
    .summary-icon svg { width:16px; height:16px; }
    .history-toolbar { display:grid; align-items:start; }
    .history-filters { width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
    .history-filters button { padding-inline:3px; }
    .timeline-card { padding:11px; }
    .withdraw-summary { grid-template-columns:1fr; }
    .withdraw-summary li { border-left:0; }
}
@media (max-width:380px) {
    .wallet-hero-copy strong { max-width:190px; font-size:20px; }
    .wallet-orbit { left:-7px; opacity:.84; }
    .screen-wallet .wallet-channel-tabs a,.screen-wallet .withdraw-method-tabs a { padding-inline:9px; gap:7px; }
    .screen-wallet .wallet-channel-tabs a svg,.screen-wallet .withdraw-method-tabs a svg { width:21px; height:21px; }
    .crypto-destination { grid-template-columns:1fr; }
    .crypto-qr { width:105px; margin:auto; }
    .history-summary b { font-size:7px; }
    .history-summary small { font-size:6px; }
}

/* Referral hub and member levels — neon mobile layout. */
body.screen-team {
    min-height:100vh;
    min-height:100dvh;
    background:
        radial-gradient(circle at 76% 3%,rgba(120,35,233,.18),transparent 23rem),
        radial-gradient(circle at 4% 58%,rgba(82,22,178,.13),transparent 28rem),
        linear-gradient(180deg,#050013 0,#09021e 48%,#050012 100%);
}
body.screen-team::before {
    opacity:.26;
    background-image:
        radial-gradient(circle,rgba(161,84,255,.38) 1px,transparent 1.35px),
        linear-gradient(rgba(116,62,220,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(116,62,220,.04) 1px,transparent 1px);
    background-size:21px 21px,48px 48px,48px 48px;
    mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.3) 52%,transparent 92%);
}
.screen-team .app-shell { width:min(100%,520px); }
.screen-team .page { padding:6px 9px 30px; }

.screen-team .team-account-head {
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    direction:ltr;
    padding:5px 5px 9px;
    border-bottom:1px solid rgba(145,76,255,.14);
}
.screen-team .team-identity { display:flex;align-items:center;gap:9px; }
.screen-team .team-avatar {
    position:relative;
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border:1px solid rgba(168,78,255,.32);
    border-radius:50%;
    background:radial-gradient(circle,rgba(124,43,244,.32),rgba(12,5,31,.94) 68%);
    box-shadow:0 0 22px rgba(132,45,255,.3),inset 0 0 18px rgba(164,74,255,.1);
}
.screen-team .team-avatar::before,
.screen-team .team-avatar::after,
.screen-team .team-avatar-orbit { content:"";position:absolute;inset:-4px;border:1px solid rgba(152,75,255,.23);border-radius:50%;pointer-events:none; }
.screen-team .team-avatar::after { inset:5px;border-style:dashed;animation:dashboard-spin 20s linear infinite; }
.screen-team .team-avatar-orbit { inset:1px;transform:rotate(48deg) scaleY(.53); }
.screen-team .team-avatar img { position:relative;z-index:2;width:45px;height:45px;border-radius:14px; }
.screen-team .team-identity-copy { display:grid;line-height:1.2;text-align:left; }
.screen-team .team-identity-copy strong { color:#f5efff;font:900 21px/1.1 "Segoe UI",sans-serif;letter-spacing:.02em; }
.screen-team .team-identity-copy strong span { color:transparent;background:linear-gradient(135deg,#8958ff,#da4cff);-webkit-background-clip:text;background-clip:text; }
.screen-team .team-identity-copy small { margin-top:3px;color:#9a52ce;font-size:9px;font-weight:700; }
.screen-team .team-globe { width:39px;height:39px;display:grid;place-items:center;border:0;color:#e1d8e9;filter:drop-shadow(0 0 8px rgba(174,90,255,.2)); }
.screen-team .team-globe svg { width:27px;height:27px; }

.screen-team .referral-hero,
.screen-team .team-members-hero {
    position:relative;
    min-height:151px;
    margin:0 0 7px;
    overflow:hidden;
    border:1px solid rgba(149,69,245,.28);
    border-radius:13px;
    background:
        radial-gradient(circle at 62% 58%,rgba(134,41,244,.3),transparent 8rem),
        linear-gradient(118deg,rgba(19,6,43,.98),rgba(8,3,28,.99));
    box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 0 28px rgba(116,31,218,.08);
}
.screen-team .referral-hero::before,
.screen-team .team-members-hero::before { content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(165,68,255,.04),transparent);pointer-events:none; }
.screen-team .referral-hero::after,
.screen-team .team-members-hero::after { content:"";position:absolute;right:23%;bottom:-36px;width:218px;height:61px;border:1px solid rgba(164,65,255,.31);border-radius:50%;box-shadow:0 0 18px rgba(145,44,249,.3),inset 0 0 18px rgba(143,43,244,.11); }
.screen-team .referral-hero-copy,
.screen-team .members-hero-copy { position:absolute;z-index:6;top:27px;left:16px;width:145px;display:grid;text-align:right;direction:rtl; }
.screen-team .referral-hero-copy strong { color:#f0c9ff;font-size:16px;line-height:1.6;text-shadow:0 0 10px rgba(203,71,255,.42); }
.screen-team .referral-hero-copy small,
.screen-team .members-hero-copy small { margin-top:8px;color:#a79aaf;font-size:7px;line-height:1.8; }
.screen-team .referral-llama,
.screen-team .members-llama { position:absolute;z-index:4;right:21%;bottom:-12px;width:160px;height:160px;overflow:hidden; }
.screen-team .referral-llama img,
.screen-team .members-llama img { width:100%;height:100%;object-fit:cover;mix-blend-mode:screen;filter:saturate(1.08) contrast(1.04) drop-shadow(0 0 12px rgba(129,42,244,.35));-webkit-mask-image:radial-gradient(ellipse at 52% 50%,#000 35%,rgba(0,0,0,.96) 53%,transparent 76%);mask-image:radial-gradient(ellipse at 52% 50%,#000 35%,rgba(0,0,0,.96) 53%,transparent 76%); }
.screen-team .llama-orbit,
.screen-team .members-llama span { position:absolute;z-index:2;inset:24px 8px 10px;border:1px solid rgba(179,69,255,.25);border-radius:50%;box-shadow:0 0 15px rgba(152,45,255,.24); }
.screen-team .referral-growth,
.screen-team .members-growth { position:absolute;z-index:3;right:10px;top:28px;width:83px;height:83px;border:1px solid rgba(169,75,255,.2);border-radius:8px;background:linear-gradient(145deg,rgba(57,15,111,.4),rgba(14,5,40,.52));box-shadow:0 0 14px rgba(137,42,240,.12);transform:perspective(160px) rotateY(-8deg); }
.screen-team .referral-growth::before { content:"";position:absolute;inset:8px;background:repeating-linear-gradient(to top,rgba(155,72,244,.1) 0 1px,transparent 1px 13px),repeating-linear-gradient(to right,rgba(155,72,244,.08) 0 1px,transparent 1px 14px); }
.screen-team .referral-growth svg,
.screen-team .members-growth svg { position:absolute;z-index:2;inset:11px 7px;width:calc(100% - 14px);height:calc(100% - 22px);stroke:#c94cff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px #a23cff); }
.screen-team .referral-network,
.screen-team .members-network { position:absolute;z-index:2;left:35%;top:18px;width:118px;height:94px;opacity:.72; }
.screen-team .referral-network i,
.screen-team .members-network i { position:absolute;width:20px;height:20px;border:1px solid #b25cff;border-radius:50%;background:radial-gradient(circle,#b863ff 0 2px,rgba(58,15,116,.95) 3px);box-shadow:0 0 8px rgba(177,68,255,.68); }
.screen-team .referral-network .node-main,
.screen-team .members-network .node-main { left:48px;top:0;width:23px;height:23px; }
.screen-team .referral-network .node-a,.screen-team .members-network .node-a { left:12px;top:35px; }
.screen-team .referral-network .node-b,.screen-team .members-network .node-b { right:8px;top:34px; }
.screen-team .referral-network .node-c,.screen-team .members-network .node-c { left:39px;bottom:1px; }
.screen-team .referral-network .node-d { right:20px;bottom:0; }
.screen-team .referral-network span,
.screen-team .members-network span { position:absolute;left:28px;top:39px;width:34px;height:1px;background:linear-gradient(90deg,#8c35ff,#d35dff);box-shadow:0 0 4px #9c3aff;transform-origin:right; }
.screen-team .referral-network .line-a,.screen-team .members-network .line-a { transform:rotate(-38deg); }
.screen-team .referral-network .line-b,.screen-team .members-network .line-b { left:63px;transform:rotate(37deg);transform-origin:left; }
.screen-team .referral-network .line-c,.screen-team .members-network .line-c { left:31px;top:60px;transform:rotate(39deg); }
.screen-team .referral-network .line-d { left:60px;top:61px;transform:rotate(-37deg);transform-origin:left; }

.screen-team .referral-invite-card { margin-bottom:7px;padding:7px 9px 8px;border:1px solid rgba(148,66,241,.24);border-radius:12px;background:linear-gradient(145deg,rgba(25,9,53,.95),rgba(13,5,36,.97));box-shadow:inset 0 0 20px rgba(123,34,222,.05); }
.screen-team .invite-card-label { display:block;margin:0 5px 4px;color:#95889f;font-size:7px; }
.screen-team .invite-link-row { min-height:34px;display:flex;align-items:center;gap:7px;padding:3px 3px 3px 9px;border:1px solid rgba(152,74,243,.23);border-radius:7px;background:rgba(45,14,82,.56);direction:ltr; }
.screen-team .invite-link-row span { flex:1;min-width:0;overflow:hidden;color:#63e6ff;font-size:8px;text-overflow:ellipsis;text-shadow:0 0 7px rgba(73,205,255,.48);white-space:nowrap; }
.screen-team .invite-link-row button { width:58px;align-self:stretch;border:0;border-radius:6px;background:linear-gradient(100deg,#7624ee,#b43cf2);color:#fff;font-size:8px;cursor:pointer;box-shadow:0 0 10px rgba(158,47,242,.28); }
.screen-team .invite-secondary-row { display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:5px; }
.screen-team .invite-secondary-row button { min-height:35px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(145,69,230,.2);border-radius:7px;background:rgba(24,8,51,.72);color:#a798b5;cursor:pointer; }
.screen-team .invite-secondary-row button.is-copied { border-color:rgba(57,213,139,.45);color:#52dc9a; }
.screen-team .invite-secondary-row svg { width:15px;height:15px;color:#a553e3; }
.screen-team .invite-code span { display:grid;text-align:right; }
.screen-team .invite-code small { color:#83778d;font-size:6px; }
.screen-team .invite-code b { color:#b8aabd;font-size:8px;font-weight:700; }
.screen-team .invite-share span { font-size:8px;font-weight:750; }

.screen-team .referral-stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:7px; }
.screen-team .referral-stats article { min-width:0;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 2px;border:1px solid rgba(147,66,235,.22);border-radius:9px;background:linear-gradient(145deg,rgba(25,9,52,.92),rgba(13,5,35,.97));text-align:center; }
.screen-team .referral-stats small { min-height:19px;color:#8f8299;font-size:6px;line-height:1.6; }
.screen-team .referral-stats svg { width:21px;height:21px;color:#a447ee;filter:drop-shadow(0 0 5px rgba(166,57,244,.42)); }
.screen-team .referral-stats strong { max-width:100%;overflow:hidden;color:#f0e8f4;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap; }
.screen-team .referral-stats strong.amount { color:#f0e8f4;font-size:11px;font-weight:900; }
.screen-team .referral-stats em { display:block;color:#74697d;font-size:6px;font-style:normal;font-weight:500; }

.screen-team .referral-commissions { margin-bottom:7px;padding:7px;border:1px solid rgba(145,64,235,.22);border-radius:11px;background:rgba(15,5,38,.89); }
.screen-team .referral-commissions h2 { margin:0 2px 4px;color:#d9a4f8;font-size:10px;text-shadow:0 0 7px rgba(194,65,255,.3); }
.screen-team .commission-panels { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;direction:ltr; }
.screen-team .commission-panels article { min-width:0;padding:6px;border:1px solid rgba(147,66,235,.22);border-radius:8px;background:linear-gradient(145deg,rgba(25,9,52,.92),rgba(13,5,35,.97));direction:rtl; }
.screen-team .commission-panels header { min-height:30px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:5px;color:#d9c9e2; }
.screen-team .commission-panels header strong { font-size:7px; }
.screen-team .commission-icon { width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:rgba(111,33,204,.21);color:#bc72ef;box-shadow:0 0 4px rgba(176,56,255,.17); }
.screen-team .commission-icon svg { width:18px;height:18px; }
.screen-team .commission-rate-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;direction:rtl; }
.screen-team .commission-rate-grid span { min-height:38px;display:grid;place-items:center;padding:3px 1px;border:1px solid rgba(146,66,229,.17);border-radius:6px;background:rgba(20,6,44,.78); }
.screen-team .commission-rate-grid small { color:#7f718b;font-size:6px; }
.screen-team .commission-rate-grid b { color:#d982f2;font-size:10px;direction:ltr;text-shadow:0 0 3px rgba(211,66,255,.18); }

.screen-team .team-member-access { margin:7px 0; }
.screen-team .team-history-access { margin:7px 0 0; }
.screen-team .team-access-link { width:100%;min-height:54px;display:grid;grid-template-columns:29px 1fr 18px;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(145,65,231,.28);border-radius:10px;background:linear-gradient(145deg,rgba(26,9,54,.94),rgba(13,5,35,.98));color:#a89caf;text-align:right;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.035),0 10px 24px rgba(0,0,0,.14); }
.screen-team .team-access-link strong { font-size:9px; }
.screen-team .team-referral-banner { position:relative;margin:7px 0;overflow:hidden;border:1px solid rgba(80,190,255,.34);border-radius:11px;background:radial-gradient(circle at 96% 88%,rgba(255,45,82,.16),transparent 34%),linear-gradient(135deg,#0a1633,#15133b 52%,#241044);box-shadow:0 12px 28px rgba(5,10,35,.38),inset 0 1px rgba(255,255,255,.04);transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,filter .28s ease;will-change:transform; }
.screen-team .team-referral-banner img { display:block;width:100%;height:auto;aspect-ratio:3 / 1;object-fit:cover;object-position:center;transition:transform .28s ease,filter .28s ease; }
.screen-team .team-referral-banner:hover { transform:scale(1.008);border-color:rgba(92,213,255,.52);box-shadow:0 16px 34px rgba(5,10,35,.44),0 0 26px rgba(92,121,255,.12),inset 0 0 18px rgba(105,72,255,.08);filter:brightness(1.035); }
.screen-team .team-referral-banner:hover img { transform:scale(1.015);filter:brightness(1.07) saturate(1.06); }
.screen-team .team-referral-banner:hover .team-commission-banner-content { transform:none; }
.screen-team .team-commission-banner-content { position:absolute;z-index:2;top:6%;right:1.5%;bottom:6%;width:50%;display:grid;grid-template-rows:auto 1fr;gap:3px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;transition:transform .28s ease; }
.screen-team .team-commission-banner-content h2 { margin:0;color:#f5f7ff;font-size:clamp(9px,2.2vw,16px);font-weight:900;line-height:1.2;text-align:right; }
.screen-team .team-red-commission-list { min-height:0;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:3px; }
.screen-team .team-red-commission-list article { min-height:0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);align-items:center;gap:3px;padding:2px 3px;border:1px solid rgba(86,200,255,.2);border-radius:6px;background:linear-gradient(135deg,rgba(13,31,72,.82),rgba(45,22,85,.76)); }
.screen-team .team-red-commission-list header { min-width:0;display:flex;align-items:center;gap:3px; }
.screen-team .team-red-commission-list header strong { color:#fff;font-size:clamp(7px,1.45vw,11px);font-weight:850;line-height:1.35; }
.screen-team .team-red-commission-icon { width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;border:1px solid rgba(89,211,255,.34);border-radius:50%;background:linear-gradient(135deg,rgba(43,190,255,.19),rgba(139,92,246,.26));color:#73dcff; }
.screen-team .team-red-commission-icon svg { width:11px;height:11px; }
.screen-team .team-red-commission-rates { min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;direction:rtl; }
.screen-team .team-red-commission-rates span { min-width:0;display:grid;place-items:center;padding:1px;border:1px solid rgba(123,92,246,.24);border-radius:4px;background:rgba(8,17,45,.58); }
.screen-team .team-red-commission-rates small { color:#aeb9da;font-size:clamp(6px,1.1vw,9px);font-weight:650;line-height:1.2; }
.screen-team .team-red-commission-rates b { color:#ffd36e;font-size:clamp(8px,1.8vw,14px);font-weight:900;line-height:1.2;direction:ltr; }

.screen-team .team-access-panel { min-height:166px;display:grid;align-content:center;gap:8px;margin-top:18px;padding:14px 8px 18px;border:1px solid rgba(145,65,231,.18);border-radius:12px;background:linear-gradient(180deg,rgba(20,7,45,.78),rgba(12,5,31,.94));box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 30px rgba(0,0,0,.12); }
.screen-team .team-section-title { margin:0 4px;color:#b875e3;font-size:8px;font-weight:750; }
.screen-team .referral-quick-links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.screen-team .referral-quick-links a,
.screen-team .referral-quick-links button { min-height:54px;display:grid;grid-template-columns:29px 1fr 18px;align-items:center;gap:6px;padding:6px 8px;border:1px solid rgba(145,65,231,.23);border-radius:8px;background:linear-gradient(145deg,rgba(26,9,54,.91),rgba(13,5,35,.97));color:#a89caf;text-align:right;cursor:pointer; }
.screen-team .quick-referral-icon { width:27px;height:27px;display:grid;place-items:center;color:#ba4df7;filter:drop-shadow(0 0 6px rgba(181,60,255,.34)); }
.screen-team .quick-referral-icon svg { width:21px;height:21px; }
.screen-team .referral-quick-links strong { font-size:8px; }
.screen-team .team-vip-invite-placement { margin:7px 0 10px; }
.screen-team .team-vip-invite-placement .team-vip-quick-wrap { display:grid;gap:6px; }
.screen-team .team-vip-invite-placement .team-vip-quick-link { position:relative;width:100%;min-height:45px;display:grid;grid-template-columns:29px 1fr 28px;align-items:center;gap:6px;padding:6px 9px;overflow:hidden;border:1px solid rgba(250,204,21,.32);border-radius:9px;background:radial-gradient(circle at 12% 50%,rgba(250,204,21,.13),transparent 8rem),linear-gradient(110deg,rgba(38,19,73,.98),rgba(8,45,86,.95));color:#a89caf;text-align:right;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.17);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,filter .22s ease;will-change:transform; }
.screen-team .team-vip-invite-placement .team-vip-quick-link:hover,.screen-team .team-vip-invite-placement .team-vip-quick-link:focus-visible { transform:translateY(-2px) scale(1.008);border-color:rgba(253,224,71,.7);filter:brightness(1.1);box-shadow:0 13px 28px rgba(0,0,0,.28),0 0 18px rgba(250,204,21,.16),inset 0 1px 0 rgba(255,255,255,.08);outline:none; }
.screen-team .team-vip-invite-placement .team-vip-quick-link:active { transform:translateY(0) scale(.995);transition-duration:.08s; }
.screen-team .team-vip-invite-placement .team-vip-quick-link > :not(.team-vip-confetti) { position:relative;z-index:1; }
.screen-team .team-vip-confetti { position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.68;transition:opacity .25s ease,transform .35s ease; }
.screen-team .team-vip-quick-link:hover .team-vip-confetti,.screen-team .team-vip-quick-link:focus-visible .team-vip-confetti { opacity:.95;transform:scale(1.035) translateX(2px); }
.screen-team .team-vip-confetti svg { width:100%;height:100%; }
.screen-team .team-vip-confetti path { fill:none;stroke:#67e8f9;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.screen-team .team-vip-confetti circle { fill:#f472b6;filter:drop-shadow(0 0 3px rgba(244,114,182,.7)); }
.screen-team .team-vip-confetti .team-vip-confetti-star { fill:rgba(253,224,71,.52);stroke:#fde68a;stroke-width:.8;filter:drop-shadow(0 0 4px rgba(250,204,21,.58)); }
.screen-team .team-vip-invite-placement strong { color:#fff8e7;font-size:11px;font-weight:900;line-height:1.45;letter-spacing:-.1px;text-shadow:0 1px 4px rgba(0,0,0,.58),0 0 8px rgba(250,204,21,.14); }
.screen-team .team-vip-locked-message { position:relative;display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,1.65fr) minmax(70px,1fr);align-items:center;gap:10px;margin:0;padding:12px 13px 15px;overflow:hidden;border:1px solid rgba(255,90,113,.74);border-radius:12px;background:radial-gradient(circle at 8% 20%,rgba(255,93,125,.22),transparent 7rem),radial-gradient(circle at 92% 115%,rgba(250,204,21,.12),transparent 9rem),linear-gradient(125deg,rgba(91,9,36,.98),rgba(45,5,25,.98) 54%,rgba(25,4,22,.99));color:#ff7185;box-shadow:0 12px 26px rgba(91,6,28,.34),inset 0 1px 0 rgba(255,255,255,.08);direction:ltr;opacity:0;transform:translateY(-6px) scale(.985);transition:opacity .42s ease,transform .42s cubic-bezier(.2,.85,.3,1); }
.screen-team .team-vip-locked-message.is-visible { opacity:1;transform:translateY(0) scale(1); }
.screen-team .team-vip-locked-message.is-leaving { opacity:0;transform:translateY(-4px) scale(.99); }
.screen-team .team-vip-locked-message::after { content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 24px rgba(255,48,85,.08); }
.screen-team .team-vip-message-glow { position:absolute;z-index:0;inset:-80% -25%;transform:translateX(-55%) rotate(16deg);background:linear-gradient(90deg,transparent 38%,rgba(255,255,255,.12) 50%,transparent 62%);animation:team-vip-message-shine 4s ease-in-out infinite;pointer-events:none; }
.screen-team .team-vip-message-llama { position:relative;z-index:1;grid-column:1;width:138px;height:104px;display:block;align-self:center;justify-self:start;margin:-12px 0 -12px -12px;overflow:hidden;background:transparent;filter:drop-shadow(0 5px 9px rgba(26,0,12,.44)) drop-shadow(0 0 10px rgba(255,96,127,.18)); }
.screen-team .team-vip-message-llama img { width:100%;height:100%;display:block;object-fit:contain;object-position:center top;opacity:1;transform:scale(1.1);transform-origin:50% 0; }
.screen-team .team-vip-locked-message.is-visible .team-vip-message-llama { animation:team-vip-llama-pop .65s cubic-bezier(.2,.9,.25,1.2) both,team-vip-llama-float 3.6s .7s ease-in-out infinite; }
.screen-team .team-vip-message-copy { position:relative;z-index:1;grid-column:2;grid-row:1;min-width:0;display:grid;gap:3px;text-align:center;justify-items:center; }
html[dir="rtl"] .screen-team .team-vip-message-copy { direction:rtl; }
.screen-team .team-vip-message-copy small { color:#ffd1d9;font-size:7px;font-weight:800;letter-spacing:.15px; }
.screen-team .team-vip-message-copy strong { color:#ff647a;font-size:11px;font-weight:950;line-height:1.75;text-shadow:0 0 12px rgba(255,45,75,.36); }
.screen-team .team-vip-message-timer { position:absolute;z-index:2;right:0;bottom:0;left:0;height:3px;overflow:hidden;background:rgba(255,255,255,.07); }
.screen-team .team-vip-message-timer i { display:block;width:100%;height:100%;transform-origin:right center;background:linear-gradient(90deg,#ff365b,#fb7185 55%,#fde68a);box-shadow:0 0 9px rgba(255,70,102,.75);animation:team-vip-message-countdown 30s linear forwards; }
@media (max-width:420px) { .screen-team .team-vip-locked-message { grid-template-columns:82px minmax(0,1fr) 48px;gap:7px;padding-inline:9px; } .screen-team .team-vip-message-llama { width:116px;height:90px;margin-left:-12px; } .screen-team .team-vip-message-copy strong { font-size:10px;line-height:1.6; } }
@keyframes team-vip-message-shine { 0%,25% { transform:translateX(-55%) rotate(16deg); } 65%,100% { transform:translateX(55%) rotate(16deg); } }
@keyframes team-vip-message-countdown { to { transform:scaleX(0); } }
@keyframes team-vip-llama-pop { 0% { opacity:0;transform:scale(.72) rotate(7deg); } 100% { opacity:1;transform:scale(1) rotate(0); } }
@keyframes team-vip-llama-float { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(-3px) rotate(-1.5deg); } }
.screen-team .team-vip-cup { color:#fde68a;filter:drop-shadow(0 0 8px rgba(250,204,21,.45)); }
.screen-team .team-vip-lock-badge { position:relative;width:27px;height:27px;display:grid;place-items:center;justify-self:end;overflow:hidden;border:1px solid rgba(253,230,138,.48);border-radius:9px;background:linear-gradient(145deg,rgba(253,224,71,.22),rgba(146,64,14,.16));color:#fde68a;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 13px rgba(250,204,21,.2); }
.screen-team .team-vip-lock-badge::before { content:"";position:absolute;inset:-40% 45% -40% -20%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent); }
.screen-team .team-vip-lock-badge svg { position:relative;width:17px;height:17px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.screen-team .team-vip-lock-shackle,.screen-team .team-vip-lock-key { stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.screen-team .team-vip-lock-body { fill:rgba(250,204,21,.16);stroke:currentColor;stroke-width:1.55; }
.screen-team .team-vip-quick-link:hover .team-vip-lock-badge,.screen-team .team-vip-quick-link:focus-visible .team-vip-lock-badge { border-color:rgba(254,240,138,.8);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 18px rgba(250,204,21,.36); }
@media (prefers-reduced-motion:reduce) { .screen-team .team-vip-invite-placement .team-vip-quick-link,.screen-team .team-vip-confetti,.screen-team .team-vip-locked-message { transition:none; } .screen-team .team-vip-message-glow,.screen-team .team-vip-locked-message.is-visible .team-vip-message-llama { animation:none; } }
.screen-team .team-vip-quick-copy { min-width:0;display:grid;gap:1px; }
.screen-team .team-vip-quick-copy small { overflow:hidden;color:#bde6ff;font-size:8px;font-weight:750;line-height:1.45;text-overflow:ellipsis;text-shadow:0 1px 3px rgba(0,0,0,.62);white-space:nowrap; }
.screen-team .quick-arrow { color:#9c4ed3;font-size:19px;line-height:1; }
.screen-team .commission-history-panel { margin-top:7px;padding:7px;border:1px solid rgba(145,65,231,.22);border-radius:9px;background:rgba(15,5,38,.94); }
.screen-team .commission-history-panel nav { width:100%;margin-top:9px; }
.screen-team .commission-history-panel nav > div:first-child { display:none; }
.screen-team .commission-history-panel nav > div:last-child { display:block; }
.screen-team .commission-history-panel nav > div:last-child > div:first-child { display:none; }
.screen-team .commission-history-panel nav > div:last-child > div:last-child { display:flex;justify-content:center; }
.screen-team .commission-history-panel nav > div:last-child > div:last-child > span { display:inline-flex;align-items:center;justify-content:center;gap:4px; }
.screen-team .commission-history-panel nav a,
.screen-team .commission-history-panel nav [aria-current="page"] > span,
.screen-team .commission-history-panel nav [aria-disabled="true"] > span { min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid rgba(159,84,225,.28);border-radius:7px;background:rgba(30,10,59,.9);color:#bca8c9;font-size:10px;font-weight:800;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.035); }
.screen-team .commission-history-panel nav a:hover { border-color:rgba(190,91,241,.55);background:rgba(101,34,160,.24);color:#f1ddff; }
.screen-team .commission-history-panel nav [aria-current="page"] > span { border-color:rgba(205,95,255,.62);background:linear-gradient(135deg,#7136ff,#a63be5);color:#fff;box-shadow:0 5px 14px rgba(130,43,207,.25); }
.screen-team .commission-history-panel nav [aria-disabled="true"] > span { opacity:.42; }
.screen-team .commission-history-panel nav svg { width:14px;height:14px;display:block; }

.team-vip-hero { position:relative;min-height:150px;display:flex;align-items:center;gap:18px;margin-bottom:10px;padding:20px;overflow:hidden;border:1px solid rgba(250,204,21,.25);border-radius:20px;background:radial-gradient(circle at 15% 30%,rgba(250,204,21,.2),transparent 10rem),radial-gradient(circle at 86% 70%,rgba(56,189,248,.25),transparent 14rem),linear-gradient(135deg,#091a38,#16123c);box-shadow:0 20px 45px rgba(0,0,0,.24); }
.team-vip-hero-glow { position:absolute;inset:-50%;background:conic-gradient(from 90deg,transparent,rgba(250,204,21,.08),transparent 35%);animation:team-vip-glow 8s linear infinite; }
.team-vip-hero-cup { position:relative;z-index:1;flex:0 0 90px;height:90px;display:grid;place-items:center;border:1px solid rgba(250,204,21,.35);border-radius:30px;background:linear-gradient(145deg,rgba(250,204,21,.18),rgba(59,130,246,.13));color:#fde68a;box-shadow:0 0 35px rgba(250,204,21,.18); }
.team-vip-hero-cup svg { width:55px;height:55px; }
.team-vip-hero>div:last-child { position:relative;z-index:1; }
.team-vip-hero small { color:#facc15;font-size:8px;font-weight:900; }
.team-vip-hero h1 { margin:4px 0;color:#f8fafc;font-size:21px; }
.team-vip-hero p { margin:0;color:#9db3cc;font-size:9px;line-height:1.9; }
.team-vip-winner-banner { display:grid;justify-items:center;gap:3px;margin-bottom:10px;padding:14px;border:1px solid rgba(34,197,94,.3);border-radius:16px;background:linear-gradient(135deg,rgba(34,197,94,.11),rgba(250,204,21,.08));text-align:center; }
.team-vip-winner-banner span { color:#86efac;font-size:8px; }.team-vip-winner-banner strong { color:#dcfce7;font-size:14px; }.team-vip-winner-banner b { color:#fde68a;font-size:11px; }
.team-vip-progress-card,.team-vip-rules-card,.team-vip-winners-card { margin-bottom:9px;padding:14px;border:1px solid rgba(56,189,248,.18);border-radius:16px;background:rgba(5,20,43,.82); }
.team-vip-progress-card header { display:flex;align-items:center;justify-content:space-between;gap:12px; }.team-vip-progress-card header span { display:grid;gap:3px; }.team-vip-progress-card small { color:#7791ad;font-size:7px; }.team-vip-progress-card strong { color:#e7f4ff;font-size:12px; }.team-vip-progress-card header>b { color:#fde68a;font-size:18px; }
.team-vip-progress-track { height:10px;margin:12px 0 7px;overflow:hidden;border-radius:999px;background:#071127; }.team-vip-progress-track i { height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22d3ee 60%,#facc15);box-shadow:0 0 14px rgba(34,211,238,.45); }
.team-vip-progress-card p { margin:0;color:#8096ae;font-size:8px; }
.team-vip-progress-card .team-vip-product-warning{margin:0 0 10px;padding:9px 10px;border:1px solid rgba(250,204,21,.24);border-radius:10px;background:rgba(250,204,21,.07);color:#fde68a;font-size:9px;font-weight:700;line-height:1.7}
.team-vip-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px; }.team-vip-metrics article { min-width:0;display:grid;align-content:center;gap:5px;min-height:82px;padding:9px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:rgba(9,17,39,.88);text-align:center; }.team-vip-metrics small { color:#758aa3;font-size:7px; }.team-vip-metrics strong { overflow:hidden;color:#e5edf7;font-size:9px;text-overflow:ellipsis; }.team-vip-metrics strong.amount { color:#fde68a;font-size:7px; }
.team-vip-rules-card h2,.team-vip-winners-card h2 { margin:0 0 9px;color:#dbeafe;font-size:12px; }.team-vip-rules-card ul { display:grid;gap:7px;margin:0;padding-right:17px;color:#8da3bb;font-size:8px;line-height:1.8; }.team-vip-rules-card li::marker { color:#38bdf8; }
.team-vip-winners-card>div { display:grid;gap:6px; }.team-vip-winners-card article { display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;padding:8px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:rgba(255,255,255,.018); }.team-vip-rank { width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(250,204,21,.12);color:#fde68a;font-weight:900; }.team-vip-winners-card article>span:nth-child(2) { display:grid;gap:2px; }.team-vip-winners-card article strong { color:#dbeafe;font-size:9px; }.team-vip-winners-card article small { color:#647d98;font-size:7px; }.team-vip-winners-card article>b { color:#86efac;font-size:7px; }.team-vip-winners-card p { margin:0;padding:18px;color:#748ba4;font-size:8px;text-align:center; }
.team-vip-rank { position:relative;border-radius:50%;box-shadow:inset 0 1px rgba(255,255,255,.35),0 7px 15px rgba(0,0,0,.24); }
.team-vip-rank::after { content:"";position:absolute;z-index:-1;right:5px;bottom:-6px;width:20px;height:12px;background:currentColor;clip-path:polygon(0 0,45% 18%,50% 100%,58% 18%,100% 0,82% 100%,18% 100%);opacity:.48; }
.team-vip-rank-1 { background:linear-gradient(145deg,#fff2a8,#f59e0b 58%,#a16207);color:#fff7cf; }
.team-vip-rank-2 { background:linear-gradient(145deg,#f8fafc,#94a3b8 58%,#475569);color:#fff; }
.team-vip-previous-card { margin-bottom:9px;padding:14px;border:1px solid rgba(56,189,248,.18);border-radius:16px;background:rgba(5,20,43,.82); }
.team-vip-previous-card h2 { margin:0 0 9px;color:#dbeafe;font-size:12px; }
.team-vip-previous-list { display:grid;gap:7px; }
.team-vip-previous-item { border:1px solid rgba(148,163,184,.14);border-radius:12px;background:rgba(9,17,39,.72);overflow:hidden; }
.team-vip-previous-item>summary { display:flex;align-items:center;gap:9px;padding:10px 11px;cursor:pointer;list-style:none;user-select:none; }
.team-vip-previous-item>summary::-webkit-details-marker { display:none; }
.team-vip-previous-title { flex:1;min-width:0;overflow:hidden;color:#e7f4ff;font-size:9px;font-weight:800;text-overflow:ellipsis;white-space:nowrap; }
.team-vip-previous-meta { color:#7791ad;font-size:7px;white-space:nowrap; }
.team-vip-previous-arrow { color:#38bdf8;font-size:14px;transform:rotate(-90deg);transition:transform .2s ease; }
.team-vip-previous-item[open]>summary .team-vip-previous-arrow { transform:rotate(90deg); }
.team-vip-previous-winners { display:grid;gap:6px;padding:0 10px 10px; }
.team-vip-previous-winners article { display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;padding:8px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:rgba(255,255,255,.018); }
.team-vip-previous-winners article>span:nth-child(2) { display:grid;gap:2px; }
.team-vip-previous-winners article strong { color:#dbeafe;font-size:9px; }
.team-vip-previous-winners article small { color:#647d98;font-size:7px; }
.team-vip-previous-winners article>b { color:#86efac;font-size:7px; }
.team-vip-previous-winners p { margin:0;padding:14px;color:#748ba4;font-size:8px;text-align:center; }
.team-vip-rank-3 { background:linear-gradient(145deg,#fed7aa,#c26a2e 58%,#7c2d12);color:#fff1df; }
.team-vip-rank-standard { border-radius:10px;background:rgba(56,189,248,.1);color:#7dd3fc; }
.team-vip-rank-standard::after { display:none; }
@keyframes team-vip-glow { to { transform:rotate(360deg); } }
@media(max-width:430px){.team-vip-hero{min-height:135px;padding:14px}.team-vip-hero-cup{flex-basis:72px;height:72px;border-radius:24px}.team-vip-hero-cup svg{width:43px;height:43px}.team-vip-hero h1{font-size:17px}.team-vip-metrics{gap:5px}.team-vip-metrics article{min-height:75px;padding:6px}}
.screen-team .team-history-table { display:grid;gap:5px; }
.screen-team .team-history-table>div { min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px;border:1px solid rgba(145,69,226,.14);border-radius:7px;background:rgba(28,9,57,.64); }
.screen-team .team-history-table span { display:grid; }
.screen-team .team-history-table strong { color:#c8b8d0;font-size:7px; }
.screen-team .team-history-table small { color:#71667b;font-size:6px; }
.screen-team .team-history-table b { color:#49d48b;font-size:8px; }

.screen-team .team-members-hero { min-height:133px; }
.screen-team .members-hero-copy { top:25px;left:13px;width:181px; }
.screen-team .members-hero-copy strong { color:#efc5ff;font-size:14px;line-height:1.45;text-shadow:0 0 9px rgba(204,67,255,.39); }
.screen-team .members-hero-copy small { font-size:7px; }
.screen-team .members-llama { right:17%;bottom:-16px;width:147px;height:147px; }
.screen-team .members-network { left:37%;top:13px;transform:scale(.83); }
.screen-team .members-growth { right:7px;top:28px;width:69px;height:72px; }

.screen-team .members-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px; }
.screen-team .members-summary article { min-width:0;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 3px;border:1px solid rgba(145,65,234,.22);border-radius:9px;background:linear-gradient(145deg,rgba(25,9,52,.94),rgba(13,5,35,.98));text-align:center; }
.screen-team .members-summary small { color:#8e8198;font-size:7px; }
.screen-team .members-summary svg { width:25px;height:25px;color:#ad47f3;filter:drop-shadow(0 0 6px rgba(170,55,245,.44)); }
.screen-team .members-summary strong { max-width:100%;overflow:hidden;color:#e9e0ee;font-size:13px;text-overflow:ellipsis;white-space:nowrap; }
.screen-team .members-summary strong.amount { font-size:8px; }
.screen-team .members-summary em { display:block;color:#74697d;font-size:6px;font-style:normal;font-weight:500; }

.screen-team .member-level-tabs { min-height:42px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-bottom:7px;padding:4px;border:1px solid rgba(135,56,224,.18);border-radius:9px;background:rgba(21,7,47,.91); }
.screen-team .member-level-tabs a { position:relative;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:6px;color:#9b73b6;font-size:8px;font-weight:750; }
.screen-team .member-level-tabs a small { min-width:16px;padding:1px 4px;border-radius:999px;background:rgba(134,50,220,.18);color:#8e6aa4;font-size:6px;text-align:center; }
.screen-team .member-level-tabs a.active { background:linear-gradient(100deg,#6f20e8,#a62ef3);color:#fff;box-shadow:0 0 12px rgba(157,43,241,.38),inset 0 1px rgba(255,255,255,.09); }
.screen-team .member-level-tabs a.active small { background:rgba(255,255,255,.13);color:#fff; }

.screen-team .referral-member-list { display:grid;gap:5px; }
.screen-team .referral-member-card { overflow:hidden;border:1px solid rgba(141,63,226,.2);border-radius:9px;background:linear-gradient(145deg,rgba(24,8,51,.94),rgba(12,5,33,.98)); }
.screen-team .referral-member-main { min-height:58px;display:grid;grid-template-columns:39px minmax(68px,1fr) 67px minmax(88px,1.05fr) 26px;align-items:center;gap:5px;padding:5px 7px;direction:ltr; }
.screen-team .generated-member-avatar { width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(184,84,255,.3);border-radius:50%;background:linear-gradient(145deg,#6132a4,#1c1636);color:#e8d9f2;box-shadow:0 0 9px rgba(143,47,231,.27); }
.screen-team .generated-member-avatar svg { width:25px;height:25px; }
.screen-team .generated-member-avatar.tone-2 { background:linear-gradient(145deg,#8a4a67,#24162c); }
.screen-team .generated-member-avatar.tone-3 { background:linear-gradient(145deg,#3e6194,#141b33); }
.screen-team .generated-member-avatar.tone-4 { background:linear-gradient(145deg,#4f7b77,#152a2c); }
.screen-team .member-id-phone,
.screen-team .member-joined { min-width:0;display:grid;direction:ltr;text-align:left; }
.screen-team .member-id-phone strong { color:#cbbfd2;font-size:8px; }
.screen-team .member-id-phone small { color:#8c8193;font-size:7px; }
.screen-team .member-joined { direction:rtl;text-align:center; }
.screen-team .member-joined small { color:#756a80;font-size:6px; }
.screen-team .member-joined strong { color:#aaa0b1;font-size:7px;font-weight:650; }
.screen-team .member-status-badge { min-width:0;min-height:35px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 5px;border-radius:6px;direction:rtl;text-align:center; }
.screen-team .member-status-badge strong { font-size:7px;line-height:1.45; }
.screen-team .member-status-badge small { margin-top:1px;font-size:6px; }
.screen-team .status-valid .member-status-badge { border:1px solid rgba(50,191,103,.18);background:rgba(39,130,74,.19);color:#68d88e; }
.screen-team .status-awaiting-deposit .member-status-badge { border:1px solid rgba(231,128,41,.16);background:rgba(165,80,25,.21);color:#eaa45d; }
.screen-team .status-awaiting-purchase .member-status-badge { border:1px solid rgba(67,149,236,.17);background:rgba(39,91,166,.22);color:#78b7ef; }
.screen-team .member-detail-toggle { width:25px;height:32px;display:grid;place-items:center;padding:0;border:1px solid rgba(147,69,235,.18);border-radius:8px;background:rgba(57,18,104,.28);color:#a258dc;cursor:pointer; }
.screen-team .member-detail-toggle svg { width:14px;height:14px;transition:transform .2s ease; }
.screen-team .member-detail-toggle[aria-expanded="true"] svg { transform:rotate(90deg); }
.screen-team .member-detail-panel { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px 10px 10px;border-top:1px solid rgba(141,63,226,.13);background:rgba(13,4,34,.56); }
.screen-team .member-detail-panel[hidden] { display:none; }
.screen-team .member-detail-panel span { min-width:0;display:grid; }
.screen-team .member-detail-panel small { color:#756a80;font-size:6px; }
.screen-team .member-detail-panel strong { overflow:hidden;color:#b4a8bb;font-size:7px;text-overflow:ellipsis;white-space:nowrap; }
.screen-team .member-detail-meta { padding:2px 3px; }
.screen-team .member-detail-commission { gap:3px;padding:7px 8px;border:1px solid rgba(60,221,147,.18);border-radius:8px;background:linear-gradient(135deg,rgba(22,121,79,.16),rgba(8,44,39,.13)); }
.screen-team .member-detail-commission small { color:#82cbb0; }
.screen-team .member-detail-panel .member-commission-amount { color:#4ee39a;font-size:8px;line-height:1.5;text-align:left;text-shadow:0 0 10px rgba(49,211,137,.24); }
.screen-team .team-empty { min-height:76px;display:flex;align-items:center;justify-content:center;padding:12px;color:#84788d;font-size:8px;text-align:center; }
.screen-team .members-empty { min-height:160px;flex-direction:column;gap:8px;border:1px solid rgba(141,63,226,.18);border-radius:10px;background:rgba(20,7,46,.72); }
.screen-team .members-empty svg { width:36px;height:36px;color:#8533c8; }

.screen-team .nav { padding:6px 8px calc(7px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(7,2,22,1) 78%,rgba(7,2,22,0)); }
.screen-team .nav-inner { width:min(520px,100%);padding:5px;border-color:rgba(151,73,242,.25);border-radius:18px;background:rgba(10,4,28,.95);box-shadow:0 10px 35px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.025); }
.screen-team .nav a { min-height:53px;color:#746985;font-size:8px; }
.screen-team .nav a.active { color:#c56cff; }
.screen-team .nav a.active .nav-icon { color:#c34eff;filter:drop-shadow(0 0 8px rgba(180,64,255,.7)); }
.screen-team .nav-icon { width:22px;height:22px; }

@media (max-width:430px) {
    .screen-team .page { padding-inline:7px; }
    .screen-team .referral-hero-copy { left:10px;width:124px; }
    .screen-team .referral-hero-copy strong { font-size:14px; }
    .screen-team .referral-network { left:31%;transform:scale(.86); }
    .screen-team .referral-llama { right:19%;width:151px;height:151px; }
    .screen-team .referral-growth { right:5px;width:70px; }
    .screen-team .referral-stats { gap:4px; }
    .screen-team .referral-stats article { min-height:82px; }
    .screen-team .referral-stats strong.amount { font-size:5px; }
    .screen-team .commission-panels { gap:5px; }
    .screen-team .commission-panels article { padding:5px 3px; }
    .screen-team .commission-panels header strong { font-size:6px; }
    .screen-team .members-hero-copy { left:9px;width:160px; }
    .screen-team .members-hero-copy strong { font-size:12px; }
    .screen-team .members-network { left:34%; }
    .screen-team .members-llama { right:16%; }
    .screen-team .members-growth { width:60px; }
    .screen-team .referral-member-main { grid-template-columns:36px minmax(61px,1fr) 61px minmax(80px,1.05fr) 24px;gap:4px;padding-inline:5px; }
    .screen-team .generated-member-avatar { width:35px;height:35px; }
    .screen-team .member-status-badge { padding-inline:3px; }
    .screen-team .member-status-badge strong { font-size:6px; }
}

@media (prefers-reduced-motion:reduce) {
    .screen-team .team-avatar::after { animation:none; }
}

/* Personal center: use the same mobile canvas and navigation as the main app screens. */
body.screen-profile {
    min-height:100vh;
    min-height:100dvh;
    padding-bottom:92px;
    background:
        radial-gradient(circle at 76% 3%,rgba(120,35,233,.18),transparent 23rem),
        radial-gradient(circle at 4% 58%,rgba(82,22,178,.13),transparent 28rem),
        linear-gradient(180deg,#050013 0,#09021e 48%,#050012 100%);
}
body.screen-profile::before {
    opacity:.26;
    background-image:
        radial-gradient(circle,rgba(161,84,255,.38) 1px,transparent 1.35px),
        linear-gradient(rgba(116,62,220,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(116,62,220,.04) 1px,transparent 1px);
    background-size:21px 21px,48px 48px,48px 48px;
    mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.3) 52%,transparent 92%);
}
.screen-profile .app-shell { width:min(100%,520px); }
.screen-profile .page { padding:7px 9px 28px; }
.screen-profile .profile-page-shell { width:100%;max-width:520px;margin:0 auto; }

.screen-profile .profile-identity-card {
    min-height:88px;
    margin:0 2px 12px;
    padding:5px 7px 10px;
}
.screen-profile .profile-persona { min-width:0;gap:13px; }
.screen-profile .profile-avatar-frame {
    position:relative;
    width:72px;
    height:72px;
    flex:0 0 72px;
    overflow:visible;
    border:1px solid rgba(196,86,255,.58);
    border-radius:50%;
    background:#130726;
    box-shadow:0 0 0 5px rgba(117,35,213,.08),0 0 26px rgba(149,48,237,.32);
}
.screen-profile .profile-avatar-frame::before,
.screen-profile .profile-avatar-frame::after,
.screen-profile .profile-avatar-frame>i {
    content:"";
    position:absolute;
    pointer-events:none;
    border-radius:50%;
}
.screen-profile .profile-avatar-frame::before { inset:-7px;border:1px solid rgba(111,54,233,.22); }
.screen-profile .profile-avatar-frame::after { inset:-12px;border:1px dashed rgba(43,211,225,.17); }
.screen-profile .profile-avatar-frame>i { width:5px;height:5px;left:-8px;top:20px;background:#38dff1;box-shadow:0 0 9px #38dff1; }
.screen-profile .profile-avatar-frame img {
    position:relative;
    z-index:2;
    width:54px;
    height:54px;
    border-radius:18px;
    object-fit:contain;
    filter:drop-shadow(0 0 12px rgba(139,61,236,.4));
}
.screen-profile .profile-persona-copy { min-width:0;gap:1px;line-height:1.25; }
.screen-profile .profile-kicker { margin:0;color:#a653ef;font-size:8px;letter-spacing:.08em; }
.screen-profile .profile-persona-copy>strong {
    max-width:min(56vw,390px);
    overflow:hidden;
    color:#f2ebfa;
    font-size:15px;
    font-weight:850;
    line-height:1.55;
    letter-spacing:0;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.screen-profile .profile-persona-copy>small { display:flex;align-items:center;gap:6px;margin-top:3px;color:#766984;font-size:9px;direction:ltr;text-align:left; }
.screen-profile .profile-persona-copy>small b { color:inherit;font-weight:650; }
.screen-profile .round-action {
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-color:rgba(187,83,255,.31);
    background:linear-gradient(145deg,rgba(79,22,137,.3),rgba(8,20,39,.72));
    color:#d6c8df;
    box-shadow:inset 0 1px rgba(255,255,255,.04),0 0 18px rgba(130,40,225,.1);
}
.screen-profile .round-action:hover { border-color:rgba(45,221,231,.48);color:#5be6e7; }

.screen-profile .profile-summary {
    position:relative;
    min-height:194px;
    display:grid;
    grid-template-columns:58% 42%;
    gap:0;
    margin:0 0 12px;
    padding:0;
    overflow:hidden;
    direction:ltr;
    border:1px solid rgba(174,64,251,.42);
    border-radius:18px;
    background:
        radial-gradient(circle at 88% 52%,rgba(107,30,221,.27),transparent 13rem),
        linear-gradient(135deg,rgba(19,12,51,.98),rgba(8,12,35,.98));
    box-shadow:0 15px 45px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.035),0 0 28px rgba(112,30,201,.08);
}
.screen-profile .profile-summary::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.22;
    background-image:radial-gradient(circle,rgba(165,79,243,.5) 1px,transparent 1px);
    background-size:19px 19px;
    mask-image:linear-gradient(90deg,transparent 0,#000 58%,#000 100%);
}
.screen-profile .profile-summary-metrics {
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    direction:rtl;
    border-right:1px solid rgba(149,64,226,.18);
}
.screen-profile .profile-summary-metrics>div {
    min-width:0;
    display:grid;
    align-content:center;
    gap:5px;
    padding:17px 14px;
}
.screen-profile .profile-summary-metrics>div:nth-child(odd) { border-left:1px solid rgba(149,64,226,.18); }
.screen-profile .profile-summary-metrics>div:nth-child(-n+2) { border-bottom:1px solid rgba(149,64,226,.18); }
.screen-profile .profile-summary-metrics small { color:#a99bb5;font-size:9px; }
.screen-profile .profile-summary-metrics strong {
    max-width:100%;
    overflow:hidden;
    color:#bb68f2;
    font-size:clamp(10px,2.1vw,14px);
    line-height:1.5;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-shadow:0 0 13px rgba(189,83,245,.28);
}
.screen-profile .profile-growth-visual { position:relative;min-width:0;overflow:hidden;direction:ltr; }
.screen-profile .profile-growth-visual::before {
    content:"";
    position:absolute;
    left:8%;
    right:7%;
    bottom:19px;
    height:22px;
    border:1px solid rgba(156,55,244,.34);
    border-radius:50%;
    box-shadow:0 0 20px rgba(132,35,229,.38),inset 0 0 15px rgba(128,36,223,.27);
    transform:perspective(90px) rotateX(55deg);
}
.screen-profile .profile-growth-orbit { position:absolute;inset:23px 15px 12px;border:1px solid rgba(122,47,224,.16);border-radius:50%;transform:scaleY(.44);box-shadow:0 0 30px rgba(122,47,224,.12); }
.screen-profile .profile-growth-bars { position:absolute;left:18%;right:13%;bottom:32px;height:101px;display:flex;align-items:flex-end;justify-content:center;gap:6px; }
.screen-profile .profile-growth-bars i { width:16%;min-width:8px;border:1px solid rgba(220,147,255,.48);border-radius:3px 3px 0 0;background:linear-gradient(90deg,#4210a0,#8b24ed 52%,#d365ff);box-shadow:0 0 13px rgba(143,38,237,.39),inset 1px 0 rgba(255,255,255,.16); }
.screen-profile .profile-growth-bars i:nth-child(1) { height:23%; }
.screen-profile .profile-growth-bars i:nth-child(2) { height:38%; }
.screen-profile .profile-growth-bars i:nth-child(3) { height:52%; }
.screen-profile .profile-growth-bars i:nth-child(4) { height:68%; }
.screen-profile .profile-growth-bars i:nth-child(5) { height:88%; }
.screen-profile .profile-growth-arrow { position:absolute;z-index:3;inset:17px 7px 30px 4px;width:calc(100% - 11px);height:calc(100% - 47px);color:#a950ff;filter:drop-shadow(0 0 8px rgba(177,70,255,.77)) drop-shadow(0 7px 8px rgba(73,10,145,.42)); }

.screen-profile .profile-menu { display:grid;gap:8px; }
.screen-profile .profile-menu>a,
.screen-profile .profile-menu>.profile-security-toggle {
    width:100%;
    min-height:62px;
    display:grid;
    grid-template-columns:44px minmax(0,1fr) 26px;
    align-items:center;
    gap:12px;
    padding:8px 14px;
    overflow:hidden;
    border:1px solid rgba(136,65,212,.17);
    border-radius:17px;
    background:linear-gradient(135deg,rgba(18,20,49,.96),rgba(13,16,39,.98));
    color:#ddd6e5;
    box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.1);
    transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.screen-profile .profile-menu>a:hover,
.screen-profile .profile-menu>.profile-security-toggle:hover,
.screen-profile .profile-menu>.profile-security-toggle[aria-expanded="true"] {
    border-color:rgba(178,68,246,.36);
    background:linear-gradient(135deg,rgba(30,20,69,.98),rgba(15,19,45,.98));
    transform:translateY(-1px);
}
.screen-profile .profile-menu strong { min-width:0;font-size:12px;font-weight:760; }
.screen-profile .menu-icon {
    width:42px;
    height:42px;
    border:1px solid rgba(178,65,251,.23);
    border-radius:13px;
    background:radial-gradient(circle,rgba(153,48,236,.24),rgba(77,24,139,.12));
    color:#a94ff1;
    box-shadow:inset 0 0 15px rgba(131,37,213,.19),0 0 12px rgba(135,42,218,.1);
}
.screen-profile .menu-icon svg { width:24px;height:24px;filter:drop-shadow(0 0 5px rgba(177,64,245,.42)); }
.screen-profile .row-arrow { width:24px;height:24px;justify-self:end;border-radius:50%;background:transparent;color:#b9afc3; }
.screen-profile .accordion-trigger[aria-expanded="true"] .row-arrow { background:rgba(149,46,232,.17);color:#d5bcdf; }
.screen-profile .profile-menu-note { width:max-content;margin-top:3px;padding:1px 7px;border:1px solid rgba(46,213,200,.16);border-radius:999px;background:rgba(37,164,155,.07);color:#67c9c2;font-size:7px;font-weight:650; }
.screen-profile .profile-menu>.profile-inline-panel { width:auto;margin:-2px 8px 3px;padding:18px;border-color:rgba(157,64,226,.22);border-radius:16px;background:linear-gradient(145deg,rgba(19,18,49,.98),rgba(11,15,34,.98)); }
.screen-profile .profile-inline-panel label { color:#b4a9bd;font-size:10px; }
.screen-profile .profile-inline-panel input { border-color:rgba(151,70,223,.19);background:rgba(6,7,22,.7); }
.screen-profile .profile-logout { margin:18px 0 5px; }
.screen-profile .profile-logout button { width:min(62%,360px);min-height:46px;padding:7px 22px;border-color:rgba(244,63,94,.48);background:rgba(93,17,39,.06);color:#fb5b78;font-size:11px;box-shadow:0 0 18px rgba(244,63,94,.06); }
.screen-profile .profile-logout button:hover { background:rgba(125,21,48,.15);border-color:rgba(251,79,112,.72); }

.screen-profile .nav { padding:6px 8px calc(7px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(7,2,22,1) 78%,rgba(7,2,22,0)); }
.screen-profile .nav-inner { width:min(520px,100%);padding:5px;border-color:rgba(151,73,242,.25);border-radius:18px;background:rgba(10,4,28,.95);box-shadow:0 10px 35px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.025); }
.screen-profile .nav a { min-height:53px;color:#746985;font-size:8px; }
.screen-profile .nav a.active { color:#c56cff; }
.screen-profile .nav a.active .nav-icon { color:#c34eff;filter:drop-shadow(0 0 8px rgba(180,64,255,.7)); }
.screen-profile .nav-icon { width:22px;height:22px; }

@media (max-width:520px) {
    .screen-profile .page { padding:10px 8px 28px; }
    .screen-profile .profile-identity-card { min-height:80px;margin-bottom:8px;padding-inline:6px; }
    .screen-profile .profile-avatar-frame { width:62px;height:62px;flex-basis:62px; }
    .screen-profile .profile-avatar-frame img { width:46px;height:46px;border-radius:15px; }
    .screen-profile .profile-persona { gap:11px; }
    .screen-profile .profile-persona-copy>strong { max-width:54vw;font-size:14px;line-height:1.6; }
    .screen-profile .profile-persona-copy>small { gap:4px;font-size:8px; }
    .screen-profile .round-action { width:39px;height:39px;flex-basis:39px; }
    .screen-profile .profile-summary { min-height:181px;grid-template-columns:59% 41%;border-radius:16px; }
    .screen-profile .profile-summary-metrics>div { padding:12px 9px; }
    .screen-profile .profile-summary-metrics small { font-size:8px; }
    .screen-profile .profile-summary-metrics strong { font-size:clamp(8px,2.65vw,11px); }
    .screen-profile .profile-growth-bars { left:15%;right:10%;bottom:30px;gap:4px;height:91px; }
    .screen-profile .profile-growth-arrow { inset:18px 3px 30px 0;width:calc(100% - 3px); }
    .screen-profile .profile-menu { gap:7px; }
    .screen-profile .profile-menu>a,
    .screen-profile .profile-menu>.profile-security-toggle { min-height:58px;grid-template-columns:40px minmax(0,1fr) 22px;gap:10px;padding:7px 11px;border-radius:15px; }
    .screen-profile .menu-icon { width:38px;height:38px;border-radius:12px; }
    .screen-profile .menu-icon svg { width:22px;height:22px; }
    .screen-profile .profile-menu strong { font-size:11px; }
    .screen-profile .profile-menu>.profile-inline-panel { margin-inline:5px;padding:14px; }
    .screen-profile .profile-logout button { width:72%; }
}

@media (prefers-reduced-motion:reduce) {
    .screen-profile .profile-menu>a,
    .screen-profile .profile-menu>.profile-security-toggle { transition:none; }
}

/* Red envelope — uses the same violet/cyan visual language as the main app. */
.screen-red-envelope .app-shell { width:min(100%,1120px); }
.screen-red-envelope .page { padding-top:10px; }

.red-envelope-hero {
    position:relative;
    isolation:isolate;
    min-height:500px;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);
    align-items:center;
    gap:clamp(24px,5vw,64px);
    padding:clamp(24px,5vw,54px);
    overflow:hidden;
    border:1px solid rgba(143,80,244,.34);
    border-radius:28px;
    background:
        radial-gradient(circle at 8% 25%,rgba(34,211,238,.11),transparent 16rem),
        radial-gradient(circle at 82% 34%,rgba(124,58,237,.3),transparent 23rem),
        linear-gradient(137deg,#121831 0%,#0b1024 48%,#110b2c 100%);
    box-shadow:0 28px 70px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.045);
}
.red-envelope-hero::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.2;
    background-image:radial-gradient(circle,rgba(180,136,255,.7) 1px,transparent 1px);
    background-size:25px 25px;
    mask-image:linear-gradient(105deg,#000,transparent 55%);
}
.red-envelope-hero::after {
    content:"";
    position:absolute;
    width:330px;
    height:330px;
    right:-165px;
    bottom:-210px;
    z-index:-1;
    border:1px solid rgba(34,211,238,.2);
    border-radius:50%;
    box-shadow:0 0 70px rgba(34,211,238,.1);
}

.red-envelope-copy { position:relative;z-index:2;min-width:0; }
.red-envelope-kicker {
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    direction:ltr;
    color:var(--accent);
    font-size:10px;
    font-weight:850;
    letter-spacing:.18em;
}
.red-envelope-kicker span { width:24px;height:1px;background:linear-gradient(90deg,transparent,var(--accent));box-shadow:0 0 8px var(--accent); }
.red-envelope-copy h1 { margin-bottom:10px;font-size:clamp(30px,5vw,48px);font-weight:950; }
.red-envelope-copy>p { max-width:570px;margin:0;color:#a8b1cc;font-size:13px;line-height:2; }
.red-envelope-status {
    width:max-content;
    max-width:100%;
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:17px;
    padding:6px 11px;
    border:1px solid rgba(34,197,94,.22);
    border-radius:999px;
    background:rgba(34,197,94,.07);
    color:#83e6a6;
    font-size:10px;
    font-weight:750;
}
.red-envelope-status i { width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#33d071;box-shadow:0 0 10px rgba(51,208,113,.85); }
.red-envelope-notice {
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:17px;
    padding:10px 12px;
    border:1px solid rgba(245,158,11,.25);
    border-radius:13px;
    background:rgba(245,158,11,.08);
    color:#f6ca77;
    font-size:11px;
}
.red-envelope-notice>span { width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border:1px solid currentColor;border-radius:50%;font-weight:900; }

.red-envelope-form {
    margin-top:22px;
    padding:18px;
    border:1px solid rgba(167,139,250,.17);
    border-radius:19px;
    background:rgba(5,8,23,.53);
    box-shadow:inset 0 1px rgba(255,255,255,.035);
    backdrop-filter:blur(10px);
}
.red-envelope-form label { display:block;margin:0 0 8px;color:#dcd9ea;font-size:11px;font-weight:800; }
.red-envelope-form-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch; }
.red-envelope-form input {
    min-width:0;
    height:52px;
    margin:0;
    padding:10px 15px;
    border:1px solid rgba(139,92,246,.27);
    border-radius:13px;
    outline:none;
    background:#080b1c;
    color:#f8f7ff;
    font-size:16px;
    font-weight:850;
    letter-spacing:.13em;
    text-align:center;
    text-transform:uppercase;
    transition:border-color .18s ease,box-shadow .18s ease;
}
.red-envelope-form input::placeholder { color:#535b77; }
.red-envelope-form input:focus { border-color:rgba(34,211,238,.55);box-shadow:0 0 0 3px rgba(34,211,238,.08),0 0 22px rgba(34,211,238,.08); }
.red-envelope-form .btn {
    min-width:154px;
    min-height:52px;
    gap:8px;
    padding:10px 18px;
    border:1px solid rgba(194,149,255,.25);
    border-radius:13px;
    background:linear-gradient(135deg,#6530e8,#8b3fe5 64%,#6655f5);
    box-shadow:0 12px 25px rgba(101,48,232,.24),inset 0 1px rgba(255,255,255,.16);
}
.red-envelope-form .btn svg { width:19px;height:19px;flex:0 0 19px; }
.red-envelope-form .btn:disabled { filter:saturate(.35); }
.red-envelope-form small { display:block;margin-top:8px;color:#6f7895;font-size:9px; }

.red-envelope-visual {
    position:relative;
    width:min(100%,450px);
    aspect-ratio:1;
    margin:0;
    justify-self:center;
    overflow:hidden;
    border:1px solid rgba(142,91,240,.28);
    border-radius:30px;
    background:#0c0c24;
    box-shadow:0 24px 55px rgba(0,0,0,.32),0 0 42px rgba(122,45,226,.13);
}
.red-envelope-visual::after { content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 45px rgba(74,28,151,.32),inset 0 1px rgba(255,255,255,.08); }
.red-envelope-visual img { width:100%;height:100%;display:block;object-fit:cover; }
.red-envelope-orbit { position:absolute;z-index:2;inset:8%;pointer-events:none;border:1px solid rgba(34,211,238,.15);border-radius:50%;box-shadow:0 0 30px rgba(34,211,238,.08); }
.red-envelope-visual figcaption {
    position:absolute;
    z-index:3;
    left:16px;
    right:16px;
    bottom:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:13px;
    background:rgba(5,7,20,.7);
    backdrop-filter:blur(12px);
}
.red-envelope-visual figcaption span { direction:ltr;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.14em; }
.red-envelope-visual figcaption strong { color:#dcd8e9;font-size:10px; }

.red-envelope-history {
    margin-top:15px;
    padding:clamp(18px,3vw,26px);
    border:1px solid rgba(139,92,246,.18);
    border-radius:24px;
    background:linear-gradient(145deg,rgba(17,23,45,.96),rgba(11,15,34,.97));
    box-shadow:0 18px 45px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.03);
}
.red-envelope-history>header { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px; }
.red-envelope-history>header span { color:#8d69d7;font-size:8px;font-weight:850;letter-spacing:.15em; }
.red-envelope-history>header h2 { margin:1px 0 0;font-size:18px; }
.red-envelope-history>header>strong { padding:4px 10px;border:1px solid rgba(34,211,238,.17);border-radius:999px;background:rgba(34,211,238,.05);color:#7fdde9;font-size:9px; }
.red-envelope-history-list { display:grid;gap:8px; }
.red-envelope-history-row {
    min-width:0;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:11px 12px;
    border:1px solid rgba(139,92,246,.13);
    border-radius:15px;
    background:rgba(6,9,24,.45);
}
.red-envelope-history-icon { width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(139,92,246,.24);border-radius:13px;background:rgba(124,58,237,.09);color:#a67ef4; }
.red-envelope-history-icon svg { width:22px;height:22px; }
.red-envelope-history-row>div { min-width:0; }
.red-envelope-history-row>div>strong { display:block;overflow:hidden;color:#dedbe8;font-size:11px;text-overflow:ellipsis;white-space:nowrap; }
.red-envelope-reason {
    display:inline-flex;
    align-items:center;
    margin-inline:3px;
    padding:1px 8px;
    border:1px solid rgba(34,211,238,.27);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(34,211,238,.1),rgba(124,58,237,.16));
    color:#62e4f2;
    font-weight:900;
    text-shadow:0 0 12px rgba(34,211,238,.28);
}
.red-envelope-history-row time { display:block;margin-top:2px;direction:ltr;color:#6f7895;font-size:9px;text-align:right; }
.red-envelope-history-row>.amount { color:#42d77b;font-size:13px;white-space:nowrap; }
.red-envelope-empty { display:grid;justify-items:center;padding:28px 15px;text-align:center; }
.red-envelope-empty strong { margin-top:10px;color:#d7d3e1;font-size:12px; }
.red-envelope-empty p { margin:3px 0 0;color:#77819f;font-size:10px; }

@media (max-width:760px) {
    .screen-red-envelope .page { padding-inline:10px; }
    .red-envelope-hero { min-height:0;grid-template-columns:1fr;gap:20px;padding:18px;border-radius:22px; }
    .red-envelope-visual { order:-1;width:min(100%,380px);border-radius:23px; }
    .red-envelope-copy h1 { font-size:30px; }
    .red-envelope-form { margin-top:18px;padding:14px; }
    .red-envelope-form-row { grid-template-columns:1fr; }
    .red-envelope-form .btn { width:100%;min-width:0; }
    .red-envelope-history { padding:15px;border-radius:20px; }
}

@media (max-width:430px) {
    .red-envelope-hero { padding:13px;gap:17px;border-radius:19px; }
    .red-envelope-visual { border-radius:18px; }
    .red-envelope-visual figcaption { left:10px;right:10px;bottom:9px;padding:8px 9px; }
    .red-envelope-visual figcaption strong { font-size:9px; }
    .red-envelope-copy h1 { margin-bottom:7px;font-size:26px; }
    .red-envelope-copy>p { font-size:11px; }
    .red-envelope-history>header { align-items:flex-end; }
    .red-envelope-history>header h2 { font-size:15px; }
    .red-envelope-history-row { grid-template-columns:40px minmax(0,1fr);gap:10px;padding:10px; }
    .red-envelope-history-icon { width:38px;height:38px;border-radius:11px; }
    .red-envelope-history-row>.amount { grid-column:2;font-size:12px; }
}

/* Compact red-envelope composition: intro stays above the unchanged code form. */
.red-envelope-hero {
    min-height:0;
    display:block;
    padding:clamp(20px,4vw,32px);
}
.red-envelope-intro {
    display:grid;
    grid-template-columns:minmax(0,1fr) 172px;
    align-items:center;
    gap:clamp(18px,4vw,36px);
}
.red-envelope-visual {
    order:initial;
    width:172px;
    max-width:100%;
    aspect-ratio:1;
    border-radius:22px;
    box-shadow:0 14px 32px rgba(0,0,0,.26),0 0 28px rgba(122,45,226,.1);
}
.red-envelope-form { width:100%;margin-top:22px; }

@media (max-width:760px) {
    .red-envelope-hero { padding:17px; }
    .red-envelope-intro { grid-template-columns:minmax(0,1fr) 126px;gap:14px; }
    .red-envelope-visual { order:initial;width:126px;border-radius:17px; }
    .red-envelope-copy h1 { font-size:27px; }
}

@media (max-width:430px) {
    .red-envelope-hero { padding:14px; }
    .red-envelope-intro { grid-template-columns:minmax(0,1fr) 104px;gap:11px; }
    .red-envelope-visual { width:104px;border-radius:14px; }
    .red-envelope-copy h1 { font-size:23px; }
    .red-envelope-copy>p { line-height:1.8; }
    .red-envelope-status,
    .red-envelope-notice { margin-top:11px; }
}

/* Lucky wheel — full-size, same-page experience. */
.screen-home .reward-banner {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: initial;
    cursor: pointer;
    appearance: none;
}
.screen-home .reward-banner:hover { border-color: rgba(190,106,255,.58);box-shadow:0 18px 34px rgba(0,0,0,.26),0 0 24px rgba(145,52,255,.12); }
.screen-home .reward-banner:focus-visible { outline:2px solid #56e7f4;outline-offset:3px; }
.screen-home .reward-banner {
    min-height:154px;
    display:block;
    padding:17px 20px;
    overflow:hidden;
    border-color:rgba(147,55,238,.52);
    border-radius:18px;
    background:#0d0324;
    isolation:isolate;
}
.screen-home .reward-banner::before {
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    background:linear-gradient(90deg,rgba(8,1,25,.98) 0%,rgba(10,2,31,.88) 28%,rgba(13,3,37,.3) 56%,transparent 76%);
    pointer-events:none;
}
.screen-home .reward-banner-art {
    position:absolute;
    z-index:0;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center 35%;
    transition:transform .28s ease,filter .28s ease;
}
.screen-home .reward-banner:hover .reward-banner-art { transform:scale(1.015);filter:brightness(1.06); }
.screen-home .reward-banner .reward-copy {
    position:relative;
    z-index:2;
    width:43%;
    min-height:118px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    margin-right:auto;
    margin-left:0;
    text-align:right;
}
.screen-home .reward-banner .reward-copy strong { color:#fff1ff;font-size:19px;text-shadow:0 2px 16px rgba(198,86,255,.52); }
.screen-home .reward-banner .reward-copy small { max-width:250px;margin-top:4px;color:#c9b8dd;font-size:9px;line-height:1.8; }
.screen-home .reward-banner .reward-copy em { width:auto;margin-top:10px;padding:5px 14px;border:1px solid rgba(213,127,255,.3);background:rgba(96,24,164,.35);color:#f1d9ff;font-size:8px;box-shadow:inset 0 1px rgba(255,255,255,.06); }
.wheel-modal-open { overflow:hidden; }
.lucky-wheel-modal[hidden] { display:none!important; }
.lucky-wheel-modal {
    position:fixed;
    z-index:200;
    inset:0;
    display:grid;
    place-items:center;
    padding:12px;
    opacity:0;
    visibility:hidden;
    transition:opacity .18s ease,visibility .18s ease;
}
.lucky-wheel-modal.is-open { opacity:1;visibility:visible; }
.lucky-wheel-backdrop {
    position:absolute;
    inset:0;
    width:100%;
    border:0;
    background:rgba(2,1,10,.84);
    backdrop-filter:blur(14px);
    cursor:pointer;
}
.lucky-wheel-shell {
    position:relative;
    width:min(1100px,calc(100vw - 24px));
    height:min(820px,calc(100dvh - 24px));
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid rgba(172,83,255,.42);
    border-radius:28px;
    background:
        radial-gradient(circle at 17% 34%,rgba(96,45,220,.18),transparent 27rem),
        radial-gradient(circle at 90% 15%,rgba(14,165,233,.09),transparent 24rem),
        linear-gradient(145deg,#0a031d,#09021a 48%,#050111);
    box-shadow:0 35px 100px rgba(0,0,0,.68),inset 0 1px rgba(255,255,255,.05),0 0 55px rgba(121,42,218,.13);
    transform:translateY(14px) scale(.985);
    transition:transform .22s ease;
    outline:0;
}
.lucky-wheel-modal.is-open .lucky-wheel-shell { transform:translateY(0) scale(1); }
.lucky-wheel-shell::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.28;
    background-image:radial-gradient(rgba(173,102,255,.55) .7px,transparent .7px);
    background-size:24px 24px;
    mask-image:linear-gradient(120deg,#000,transparent 60%);
}
.lucky-wheel-head {
    position:relative;
    z-index:4;
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:13px 18px;
    border-bottom:1px solid rgba(170,88,255,.18);
    background:rgba(11,3,29,.72);
    backdrop-filter:blur(16px);
}
.lucky-wheel-heading,.lucky-wheel-head-actions { display:flex;align-items:center;gap:11px; }
.lucky-wheel-logo {
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:1px solid rgba(204,114,255,.5);
    border-radius:15px;
    background:radial-gradient(circle at 35% 25%,#d36eff,#7220d4 52%,#210547);
    color:#fff0ff;
    font-size:22px;
    box-shadow:0 0 21px rgba(184,57,255,.31),inset 0 1px rgba(255,255,255,.2);
}
.lucky-wheel-heading>span:last-child { display:grid;line-height:1.35; }
.lucky-wheel-heading small { color:#9b66d4;font-size:8px;font-weight:900;letter-spacing:.19em; }
.lucky-wheel-heading strong { color:#f5eaff;font-size:18px; }
.lucky-wheel-head-mark { position:absolute;left:50%;top:50%;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(145,100,255,.25);border-radius:14px;background:radial-gradient(circle,rgba(124,58,237,.2),rgba(7,18,40,.62));box-shadow:0 0 22px rgba(101,73,255,.2);transform:translate(-50%,-50%);pointer-events:none; }
.lucky-wheel-head-mark img { width:34px;height:34px;filter:drop-shadow(0 5px 10px rgba(121,73,255,.42)); }
.lucky-wheel-chance-pill {
    min-width:92px;
    min-height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:7px 12px;
    border:1px solid rgba(34,211,238,.19);
    border-radius:15px;
    background:linear-gradient(135deg,rgba(34,211,238,.09),rgba(124,58,237,.14));
}
.lucky-wheel-chance-pill small { color:#8d91b0;font-size:9px;white-space:nowrap; }
.lucky-wheel-chance-pill b { min-width:28px;color:#5cf2e4;font-size:22px;line-height:1;text-align:center;text-shadow:0 0 15px rgba(34,211,238,.5); }
.lucky-wheel-close {
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(172,110,219,.25);
    border-radius:14px;
    background:rgba(255,255,255,.035);
    color:#a89ab7;
    cursor:pointer;
}
.lucky-wheel-close:hover { border-color:rgba(232,139,255,.5);background:rgba(168,57,233,.13);color:#fff; }
.lucky-wheel-close:focus-visible,.lucky-wheel-spin-button:focus-visible { outline:2px solid #53e7ef;outline-offset:2px; }
.lucky-wheel-close svg { width:20px;height:20px; }
.lucky-wheel-content {
    position:relative;
    z-index:2;
    min-height:0;
    flex:1;
    display:grid;
    grid-template-columns:minmax(390px,1.05fr) minmax(360px,.95fr);
}
.lucky-wheel-play {
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:24px clamp(18px,4vw,42px) 20px;
    overflow:hidden;
    border-left:1px solid rgba(167,85,242,.15);
    background:radial-gradient(circle at 50% 48%,rgba(129,45,224,.15),transparent 17rem);
}
.lucky-wheel-stage-message { width:min(430px,100%);margin:0 auto 7px;text-align:center; }
.lucky-wheel-stage-message:empty { display:none; }
.lucky-wheel-stage-message .lucky-wheel-intro { padding:0; }
.lucky-wheel-stage-message .lucky-wheel-intro h2 { margin:1px 0 2px;font-size:20px; }
.lucky-wheel-stage-message .lucky-wheel-intro p { font-size:9px;line-height:1.7; }
.lucky-wheel-status {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 12px;
    border:1px solid rgba(157,90,211,.22);
    border-radius:999px;
    background:rgba(14,5,35,.66);
    color:#9a8ca9;
    font-size:10px;
}
.lucky-wheel-status i { width:7px;height:7px;border-radius:50%;background:#75677f;box-shadow:0 0 0 4px rgba(117,103,127,.09); }
.lucky-wheel-status i.is-ready { background:#3de1b6;box-shadow:0 0 0 4px rgba(61,225,182,.1),0 0 12px rgba(61,225,182,.6); }
.lucky-wheel-machine {
    position:relative;
    width:min(385px,46vh,82vw);
    aspect-ratio:1;
    flex:0 1 auto;
    display:grid;
    place-items:center;
    margin:13px auto 10px;
}
.lucky-wheel-halo { position:absolute;border-radius:50%;pointer-events:none; }
.lucky-wheel-halo-one { inset:1%;border:1px solid rgba(76,205,238,.14);box-shadow:0 0 55px rgba(118,41,219,.22);animation:lucky-wheel-halo 8s linear infinite; }
.lucky-wheel-halo-two { inset:7%;border:1px dashed rgba(215,115,255,.25);animation:lucky-wheel-halo 14s linear infinite reverse; }
.lucky-wheel-disc {
    position:relative;
    width:82%;
    aspect-ratio:1;
    border:10px solid #19082e;
    border-radius:50%;
    background:var(--wheel-gradient);
    box-shadow:
        0 25px 55px rgba(0,0,0,.52),
        0 0 0 2px rgba(197,97,255,.48),
        0 0 0 9px rgba(77,21,133,.42),
        0 0 45px rgba(145,46,238,.34),
        inset 0 0 50px rgba(7,1,20,.55);
    transform:rotate(0deg);
}
.lucky-wheel-disc::before {
    content:"";
    position:absolute;
    inset:3px;
    border:1px solid rgba(255,255,255,.17);
    border-radius:50%;
    box-shadow:inset 0 0 25px rgba(255,255,255,.06);
}
.lucky-wheel-disc::after {
    content:"";
    position:absolute;
    inset:11%;
    border:1px solid rgba(255,255,255,.11);
    border-radius:50%;
    background:radial-gradient(circle,transparent 54%,rgba(4,0,13,.17));
}
.lucky-wheel-rim {
    position:absolute;
    z-index:2;
    inset:-7px;
    border-radius:50%;
    background:repeating-conic-gradient(from -3deg,transparent 0 7deg,rgba(236,184,255,.92) 7.5deg 8.5deg,transparent 9deg 15deg);
    filter:drop-shadow(0 0 5px rgba(215,116,255,.8));
    pointer-events:none;
}
.lucky-wheel-marker {
    position:absolute;
    z-index:3;
    inset:0;
    transform:rotate(var(--marker-angle));
    pointer-events:none;
}
.lucky-wheel-segment-prize {
    position:absolute;
    top:7%;
    left:50%;
    width:94px;
    display:grid;
    place-items:center;
    padding:3px 5px;
    border:1px solid rgba(255,255,255,.17);
    border-radius:9px;
    background:rgba(9,2,29,.4);
    box-shadow:0 5px 12px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.08);
    text-align:center;
    transform:translateX(-50%) rotate(var(--marker-counter-angle));
    backdrop-filter:blur(2px);
}
.lucky-wheel-segment-prize i { color:#fff0ff;font-size:8px;font-style:normal;line-height:1;text-shadow:0 0 7px rgba(255,255,255,.8); }
.lucky-wheel-segment-prize strong { width:100%;overflow:hidden;color:#fff;font-size:8px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.75); }
.lucky-wheel-segment-prize small { color:#fff4b4;font-size:7px;font-weight:850;line-height:1.4;direction:rtl;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.85); }
.lucky-wheel-core {
    position:absolute;
    z-index:5;
    top:50%;
    left:50%;
    width:34%;
    aspect-ratio:1;
    display:grid;
    grid-template-columns:1fr;
    place-content:center;
    place-items:center;
    border:7px solid rgba(234,183,255,.26);
    border-radius:50%;
    background:radial-gradient(circle at 35% 24%,#b85bf0,#52139c 46%,#16042f 78%);
    box-shadow:0 0 0 3px #16052f,0 0 30px rgba(198,81,255,.65),inset 0 4px 10px rgba(255,255,255,.13);
    transform:translate(-50%,-50%);
}
.lucky-wheel-core img { width:27px;height:27px;margin-bottom:0;filter:brightness(1.45) drop-shadow(0 0 7px rgba(255,255,255,.34)); }
.lucky-wheel-core strong { color:#fff;font-size:28px;line-height:1;text-shadow:0 0 12px rgba(255,255,255,.5); }
.lucky-wheel-core small { color:#cab3da;font-size:8px;line-height:1.3; }
.lucky-wheel-pointer {
    position:absolute;
    z-index:9;
    top:1%;
    left:50%;
    width:42px;
    height:55px;
    border:2px solid rgba(255,229,171,.68);
    border-radius:18px 18px 28px 28px;
    background:linear-gradient(180deg,#ffe49b,#f59e0b 48%,#9a4105);
    box-shadow:0 8px 18px rgba(0,0,0,.42),0 0 22px rgba(245,158,11,.58),inset 0 2px rgba(255,255,255,.5);
    transform:translateX(-50%);
}
.lucky-wheel-pointer::after {
    content:"";
    position:absolute;
    right:7px;
    bottom:-18px;
    left:7px;
    height:27px;
    background:linear-gradient(165deg,#f59e0b,#a33d06);
    clip-path:polygon(0 0,100% 0,50% 100%);
}
.lucky-wheel-pointer i { position:absolute;z-index:2;inset:10px;border:2px solid rgba(83,38,4,.35);border-radius:50%;background:#fff1b8; }
.lucky-wheel-disc.has-result { transform:rotate(var(--wheel-result-rotation));animation:lucky-wheel-result-spin 3.4s cubic-bezier(.12,.62,.16,1) both; }
.lucky-wheel-modal.is-spinning .lucky-wheel-disc:not(.has-result) { animation:lucky-wheel-wait-spin .7s linear infinite; }
.lucky-wheel-spin-form { width:min(350px,100%);margin:0; }
.lucky-wheel-spin-button {
    width:100%;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 20px;
    border:1px solid rgba(103,232,241,.45);
    border-radius:16px;
    background:linear-gradient(100deg,#7728ea,#b83ae5 53%,#159dcc);
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 13px 28px rgba(93,32,206,.3),0 0 19px rgba(32,199,226,.13),inset 0 1px rgba(255,255,255,.19);
}
.lucky-wheel-spin-button:hover:not(:disabled) { filter:brightness(1.12);transform:translateY(-1px); }
.lucky-wheel-spin-button:disabled { border-color:rgba(128,111,143,.2);background:#251834;color:#766b80;box-shadow:none;cursor:not-allowed; }
.spin-button-icon { width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.12); }
.spin-button-icon svg { width:17px;height:17px; }
.lucky-wheel-guidance { max-width:385px;margin:9px 0 0;color:#776d85;font-size:9px;line-height:1.8;text-align:center; }
.lucky-wheel-mobile-actions,.lucky-wheel-prize-backdrop,.lucky-wheel-prizes-close { display:none; }
.lucky-wheel-info {
    min-height:0;
    display:flex;
    flex-direction:column;
    gap:13px;
    padding:22px;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:#572192 transparent;
}
.lucky-wheel-intro { padding:4px 2px 2px; }
.lucky-wheel-intro>small { color:#b467ee;font-size:9px;font-weight:850; }
.lucky-wheel-intro h2 { margin:2px 0 4px;color:#f5eaff;font-size:23px;line-height:1.5; }
.lucky-wheel-intro p { margin:0;color:#8c8099;font-size:10px;line-height:1.9; }
.lucky-wheel-result {
    position:relative;
    min-height:118px;
    display:grid;
    place-content:center;
    justify-items:center;
    overflow:hidden;
    padding:16px;
    border:1px solid rgba(245,193,74,.35);
    border-radius:20px;
    background:radial-gradient(circle at 50% 0,rgba(253,195,44,.18),transparent 70%),linear-gradient(135deg,rgba(105,48,11,.35),rgba(68,18,108,.45));
    box-shadow:inset 0 1px rgba(255,255,255,.07),0 14px 30px rgba(0,0,0,.18);
    text-align:center;
}
.lucky-wheel-result[hidden] { display:none; }
.lucky-wheel-result.is-revealed { animation:lucky-wheel-result-reveal .38s cubic-bezier(.2,.82,.2,1) both; }
.lucky-wheel-result::before,.lucky-wheel-result::after { content:"✦";position:absolute;color:rgba(255,216,116,.38);font-size:28px; }
.lucky-wheel-result::before { top:12px;right:18px; }
.lucky-wheel-result::after { left:20px;bottom:13px;font-size:17px; }
.result-spark { color:#ffd76d;font-size:24px;line-height:1;text-shadow:0 0 18px rgba(255,199,62,.8); }
.lucky-wheel-result small { color:#c1a969;font-size:9px; }
.lucky-wheel-result strong { margin-top:1px;color:#fff1c1;font-size:18px; }
.lucky-wheel-result b { color:#58ecb1;font-size:16px;direction:ltr; }
.lucky-wheel-result em { color:#8f8295;font-size:8px;font-style:normal; }
.lucky-wheel-message { display:grid;gap:4px;padding:15px;border:1px solid rgba(245,158,11,.28);border-radius:17px;background:rgba(245,158,11,.07); }
.lucky-wheel-message strong { color:#ffd790;font-size:13px; }
.lucky-wheel-message span { color:#b9a68a;font-size:10px; }
.lucky-wheel-message.is-error { border-color:rgba(239,68,68,.3);background:rgba(239,68,68,.07); }
.lucky-wheel-message.is-error strong { color:#fca5a5; }
.lucky-wheel-message.is-error span { color:#cda7ad; }
.lucky-wheel-prizes {
    padding:14px;
    border:1px solid rgba(155,78,225,.18);
    border-radius:19px;
    background:rgba(18,7,41,.62);
    box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.lucky-wheel-section-title { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px; }
.lucky-wheel-section-title>span { display:grid;line-height:1.45; }
.lucky-wheel-section-title small { color:#6f6380;font-size:8px; }
.lucky-wheel-section-title strong { color:#dfd4e8;font-size:12px; }
.lucky-wheel-section-title>b { min-width:30px;height:26px;display:grid;place-items:center;border-radius:9px;background:rgba(139,61,217,.15);color:#c77aff;font-size:11px; }
.lucky-wheel-prizes-close { width:32px;height:32px;place-items:center;padding:0;border:1px solid rgba(185,110,235,.25);border-radius:10px;background:rgba(255,255,255,.04);color:#b6a6c3; }
.lucky-wheel-prizes-close svg { width:17px;height:17px; }
.lucky-wheel-prize-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.lucky-wheel-prize-list article {
    min-width:0;
    min-height:58px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:8px 9px;
    border:1px solid rgba(160,79,227,.14);
    border-radius:13px;
    background:linear-gradient(135deg,rgba(91,32,145,.15),rgba(11,4,27,.6));
}
.prize-gem { flex:0 0 auto;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#9a3eea,#3f1288);color:#ead0ff;font-size:12px;box-shadow:0 0 13px rgba(174,62,242,.2); }
.lucky-wheel-prize-list article>span:last-child { min-width:0;display:grid;line-height:1.5; }
.lucky-wheel-prize-list strong { overflow:hidden;color:#d9cfe0;font-size:9px;text-overflow:ellipsis;white-space:nowrap; }
.lucky-wheel-prize-list small { overflow:hidden;color:#4de0a0;font-size:8px;direction:ltr;text-overflow:ellipsis;white-space:nowrap;text-align:right; }
.lucky-wheel-empty { grid-column:1/-1;padding:17px 10px;border:1px dashed rgba(149,77,208,.18);border-radius:13px;color:#71657d;font-size:9px;text-align:center; }
.lucky-wheel-overall-history { display:grid;grid-template-columns:35px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(34,211,238,.14);border-radius:15px;background:linear-gradient(135deg,rgba(34,211,238,.065),rgba(124,58,237,.07)); }
.lucky-wheel-overall-history>span { width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:rgba(34,211,238,.09);color:#57dce8; }
.lucky-wheel-overall-history svg { width:19px;height:19px; }
.lucky-wheel-overall-history p { margin:0;color:#81788b;font-size:8px;line-height:1.8; }
.lucky-wheel-overall-history strong { display:block;color:#bedfe1;font-size:10px; }
.lucky-wheel-overall-history>b { color:#ad6be1;font-size:20px; }
.lucky-wheel-overall-history:hover { border-color:rgba(34,211,238,.28);background:linear-gradient(135deg,rgba(34,211,238,.1),rgba(124,58,237,.12)); }
.lucky-wheel-how { display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(34,211,238,.12);border-radius:15px;background:rgba(10,79,96,.08); }
.lucky-wheel-how>span { flex:0 0 auto;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(34,211,238,.09);color:#4bd9e4; }
.lucky-wheel-how svg { width:18px;height:18px; }
.lucky-wheel-how p { margin:0;color:#81788b;font-size:8px;line-height:1.8; }
.lucky-wheel-how strong { color:#b9d9db; }

@keyframes lucky-wheel-halo { to { transform:rotate(360deg); } }
@keyframes lucky-wheel-wait-spin { to { transform:rotate(360deg); } }
@keyframes lucky-wheel-result-spin { from { transform:rotate(0deg); } to { transform:rotate(var(--wheel-result-rotation)); } }
@keyframes lucky-wheel-result-reveal { from { opacity:0;transform:translateY(10px) scale(.96); } to { opacity:1;transform:translateY(0) scale(1); } }

@media (max-width:760px) {
    .lucky-wheel-modal { padding:0;place-items:stretch; }
    .lucky-wheel-shell { width:100%;height:100dvh;max-height:none;border-width:0;border-radius:0; }
    .lucky-wheel-head { position:sticky;top:0;min-height:67px;padding:10px 12px; }
    .lucky-wheel-logo { width:40px;height:40px;border-radius:13px; }
    .lucky-wheel-heading strong { font-size:16px; }
    .lucky-wheel-head-mark { width:36px;height:36px;border-radius:12px; }
    .lucky-wheel-head-mark img { width:29px;height:29px; }
    .lucky-wheel-chance-pill { min-width:78px;min-height:41px;padding:6px 9px; }
    .lucky-wheel-chance-pill small { font-size:8px; }
    .lucky-wheel-chance-pill b { min-width:22px;font-size:19px; }
    .lucky-wheel-close { width:41px;height:41px; }
    .lucky-wheel-content { display:block;overflow:hidden; }
    .lucky-wheel-play { height:100%;min-height:0;justify-content:flex-start;padding:7px 10px 10px;border:0;overflow:hidden; }
    .lucky-wheel-modal[data-has-message="true"] .lucky-wheel-play { padding-top:100px; }
    .lucky-wheel-stage-message { margin-bottom:4px; }
    .lucky-wheel-stage-message .lucky-wheel-intro { text-align:center; }
    .lucky-wheel-stage-message .lucky-wheel-intro>small { font-size:8px; }
    .lucky-wheel-stage-message .lucky-wheel-intro h2 { margin:0;font-size:17px;line-height:1.4; }
    .lucky-wheel-stage-message .lucky-wheel-intro p { margin-top:1px;font-size:8px;line-height:1.55; }
    .lucky-wheel-status { padding-block:5px; }
    .lucky-wheel-machine { width:min(310px,78vw,36dvh);margin:3px auto 2px; }
    .lucky-wheel-spin-button { min-height:46px; }
    .lucky-wheel-guidance { margin-top:4px;line-height:1.55; }
    .lucky-wheel-mobile-actions { position:relative;width:min(350px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px; }
    .lucky-wheel-mobile-actions>button,.lucky-wheel-mobile-actions>a,.lucky-wheel-mobile-actions summary { min-height:40px;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;border:1px solid rgba(148,83,216,.2);border-radius:12px;background:rgba(79,29,130,.14);color:#cfc1dc;font-size:8px;font-weight:850;text-align:center;cursor:pointer;list-style:none; }
    .lucky-wheel-mobile-actions>button b { min-width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:rgba(178,75,235,.2);color:#dc92ff;font-size:9px; }
    .lucky-wheel-mobile-actions summary::-webkit-details-marker { display:none; }
    .lucky-wheel-mobile-actions details { min-width:0; }
    .lucky-wheel-mobile-actions details:not([open]) p { display:none; }
    .lucky-wheel-mobile-actions details p { position:fixed;z-index:70;right:12px;bottom:64px;left:12px;margin:0;padding:11px 13px;border:1px solid rgba(48,205,219,.25);border-radius:14px;background:#13082b;color:#b9d9db;font-size:9px;line-height:1.8;box-shadow:0 15px 38px rgba(0,0,0,.5); }
    .lucky-wheel-info { display:contents; }
    .lucky-wheel-info>.lucky-wheel-result,.lucky-wheel-info>.lucky-wheel-message { position:fixed;z-index:43;top:74px;right:10px;left:10px;min-height:76px; }
    .lucky-wheel-info>.lucky-wheel-result {
        min-height:68px;
        grid-template-columns:26px minmax(0,1fr) auto;
        grid-template-rows:auto auto;
        place-content:center stretch;
        justify-items:start;
        align-items:center;
        column-gap:9px;
        row-gap:1px;
        padding:9px 12px;
        text-align:start;
    }
    .lucky-wheel-info>.lucky-wheel-result::before,
    .lucky-wheel-info>.lucky-wheel-result::after { display:none; }
    .lucky-wheel-info>.lucky-wheel-result .result-spark { grid-row:1/3;align-self:center;font-size:21px; }
    .lucky-wheel-info>.lucky-wheel-result small { grid-column:2;grid-row:1;font-size:8px;line-height:1.35; }
    .lucky-wheel-info>.lucky-wheel-result strong { grid-column:2;grid-row:2;margin:0;font-size:12px;line-height:1.35; }
    .lucky-wheel-info>.lucky-wheel-result b { grid-column:3;grid-row:1;font-size:13px;line-height:1.25;white-space:nowrap; }
    .lucky-wheel-info>.lucky-wheel-result em { grid-column:3;grid-row:2;font-size:7px;line-height:1.35;white-space:nowrap; }
    .lucky-wheel-overall-history,.lucky-wheel-how { display:none; }
    .lucky-wheel-prize-backdrop { position:fixed;z-index:59;inset:0;width:100%;border:0;background:rgba(2,1,10,.72);backdrop-filter:blur(7px); }
    .lucky-wheel-prize-backdrop:not([hidden]) { display:block; }
    .lucky-wheel-prizes { position:fixed;z-index:60;right:10px;bottom:12px;left:10px;max-height:min(68dvh,520px);margin:0;padding:14px;overflow-y:auto;border-color:rgba(181,93,240,.4);background:linear-gradient(155deg,#18073b,#0b031d 75%);box-shadow:0 25px 70px rgba(0,0,0,.7),0 0 34px rgba(138,49,218,.2);opacity:0;visibility:hidden;transform:translateY(18px) scale(.98);transition:opacity .18s ease,visibility .18s ease,transform .18s ease; }
    .lucky-wheel-prizes.is-mobile-open { opacity:1;visibility:visible;transform:translateY(0) scale(1); }
    .lucky-wheel-section-title { margin-bottom:12px; }
    .lucky-wheel-prizes-close { display:grid; }
    .lucky-wheel-prize-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:430px) {
    .screen-home .reward-banner { min-height:132px;padding:12px 11px; }
    .screen-home .reward-banner::before { background:linear-gradient(90deg,rgba(8,1,25,.99) 0%,rgba(9,2,29,.91) 34%,rgba(12,3,37,.28) 66%,transparent 85%); }
    .screen-home .reward-banner-art { object-position:58% 34%; }
    .screen-home .reward-banner .reward-copy { width:48%;min-height:106px; }
    .screen-home .reward-banner .reward-copy strong { font-size:13px;line-height:1.5; }
    .screen-home .reward-banner .reward-copy small { margin-top:2px;font-size:7px;line-height:1.65; }
    .screen-home .reward-banner .reward-copy em { margin-top:6px;padding:4px 8px;font-size:6px; }
    .lucky-wheel-head { gap:8px;padding-inline:9px; }
    .lucky-wheel-heading { gap:8px; }
    .lucky-wheel-logo { width:37px;height:37px;font-size:18px; }
    .lucky-wheel-heading small { font-size:7px; }
    .lucky-wheel-heading strong { font-size:14px; }
    .lucky-wheel-head-actions { gap:6px; }
    .lucky-wheel-chance-pill { min-width:68px;gap:6px;padding-inline:7px; }
    .lucky-wheel-chance-pill small { font-size:7px; }
    .lucky-wheel-close { width:38px;height:38px;border-radius:12px; }
    .lucky-wheel-play { padding-inline:8px; }
    .lucky-wheel-machine { width:min(300px,78vw,36dvh); }
    .lucky-wheel-pointer { width:35px;height:47px; }
    .lucky-wheel-disc { border-width:8px; }
    .lucky-wheel-segment-prize { top:6%;width:78px;padding:2px 4px;border-radius:7px; }
    .lucky-wheel-segment-prize strong { font-size:7px; }
    .lucky-wheel-segment-prize small { font-size:6px; }
    .lucky-wheel-core { border-width:5px; }
    .lucky-wheel-core img { width:22px;height:22px; }
    .lucky-wheel-core strong { font-size:23px; }
    .lucky-wheel-spin-button { min-height:46px;border-radius:15px;font-size:12px; }
}

@media (prefers-reduced-motion:reduce) {
    .lucky-wheel-halo,.lucky-wheel-disc.has-result,.lucky-wheel-modal.is-spinning .lucky-wheel-disc { animation:none!important; }
    .lucky-wheel-modal,.lucky-wheel-shell { transition:none; }
}

/* Team landing hero: one image-led header with a single message. */
.screen-team .referral-hero.has-team-art {
    min-height: 150px;
    isolation: isolate;
    background: #08021f;
}
.screen-team .referral-hero.has-team-art::before {
    z-index: 2;
    background: linear-gradient(90deg,rgba(6,1,25,.9) 0%,rgba(7,2,28,.62) 29%,rgba(8,2,31,.08) 55%,transparent 76%);
}
.screen-team .referral-hero.has-team-art::after { display: none; }
.screen-team .referral-hero-art {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 59% 5%;
}
.screen-team .referral-hero.has-team-art .referral-hero-copy {
    z-index: 3;
    top: 50%;
    left: 20px;
    width: 184px;
    transform: translateY(-50%);
    text-align: center;
}
.screen-team .referral-hero.has-team-art .referral-hero-copy strong {
    color: #f6ecff;
    display: grid;
    gap: 2px;
    font-size: 13px;
    line-height: 1.65;
    text-shadow: 0 2px 18px rgba(171,71,255,.52);
}

@media (max-width:430px) {
    .screen-team .referral-hero.has-team-art { min-height: 142px; }
    .screen-team .referral-hero.has-team-art .referral-hero-copy { left: 13px;width: 162px; }
    .screen-team .referral-hero.has-team-art .referral-hero-copy strong { font-size: 11.5px;line-height: 1.65; }
}

/* Match commission outlines to the quiet summary cards and keep values in blue. */
.screen-team .referral-commissions .commission-rate-grid b {
    color: #63e6ff;
    text-shadow: 0 0 7px rgba(73,205,255,.48);
}

/* Shared user-site canvas approved on the dashboard. */
html { background: #030b1b; }
body,
body.screen-home,
body.screen-products,
body.screen-team,
body.screen-profile,
body.screen-wallet,
body.screen-red-envelope {
    background:
        radial-gradient(circle at 50% 7%,rgba(55,155,255,.2),transparent 22rem),
        radial-gradient(circle at 9% 58%,rgba(25,118,226,.13),transparent 28rem),
        radial-gradient(circle at 92% 78%,rgba(73,72,205,.1),transparent 25rem),
        linear-gradient(180deg,#03152e 0%,#061226 48%,#030b1b 100%);
}
body::before,
body.screen-home::before,
body.screen-products::before,
body.screen-team::before,
body.screen-profile::before,
body.screen-wallet::before,
body.screen-red-envelope::before {
    opacity: .34;
    background-image:
        radial-gradient(circle,rgba(92,187,255,.42) 1px,transparent 1.4px),
        linear-gradient(rgba(63,156,235,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(63,156,235,.055) 1px,transparent 1px);
    background-size: 18px 18px,42px 42px,42px 42px;
    mask-image: linear-gradient(to bottom,#000,rgba(0,0,0,.25) 46%,transparent 88%);
}

.withdraw-vip-credit-note {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(250,204,21,.3);
    border-radius: 13px;
    background: linear-gradient(135deg,rgba(250,204,21,.1),rgba(37,99,235,.08));
    color: #dbeafe;
}
.withdraw-vip-credit-note strong { color:#fde68a;font-size:11px; }
.withdraw-vip-credit-note span { color:#a9bad2;font-size:9px;line-height:1.9; }

/* Lucky-wheel canvas matched to the shared blue user-site background. */
.lucky-wheel-backdrop { background: rgba(3,11,27,.88); }
.lucky-wheel-shell {
    border-color: rgba(76,174,255,.4);
    background:
        radial-gradient(circle at 18% 32%,rgba(50,151,255,.2),transparent 27rem),
        radial-gradient(circle at 90% 15%,rgba(34,211,238,.11),transparent 24rem),
        linear-gradient(145deg,#03152e,#061226 48%,#030b1b);
    box-shadow: 0 35px 100px rgba(0,0,0,.68),inset 0 1px rgba(255,255,255,.05),0 0 55px rgba(42,151,238,.15);
}
.lucky-wheel-shell::before {
    background-image: radial-gradient(rgba(92,187,255,.5) .7px,transparent .7px);
}
.lucky-wheel-head {
    border-bottom-color: rgba(72,169,242,.2);
    background: rgba(3,20,44,.78);
}
.lucky-wheel-play {
    border-left-color: rgba(69,167,239,.17);
    background: radial-gradient(circle at 50% 48%,rgba(47,145,244,.17),transparent 17rem);
}
.lucky-wheel-info {
    background: linear-gradient(180deg,rgba(4,19,42,.34),rgba(3,12,29,.2));
    scrollbar-color: #206ca5 transparent;
}
.lucky-wheel-prizes {
    border-color: rgba(71,169,239,.2);
    background: rgba(5,25,54,.68);
}

/* Shared LLaMa wordmark and locale-aware account header placement. */
.llama-wordmark {
    display: inline-flex !important;
    align-items: baseline;
    direction: ltr !important;
    font-style: normal;
    letter-spacing: .01em !important;
}
.llama-wordmark > span {
    color: #f7f3ff !important;
    background: none !important;
    -webkit-text-fill-color: currentColor;
}
.llama-wordmark > em {
    margin-left: 0 !important;
    color: transparent !important;
    font: inherit !important;
    font-style: normal !important;
    letter-spacing: inherit !important;
    background: linear-gradient(135deg,#775cff,#d34dff) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent;
}
.locale-fa.screen-home .mobile-account-head,
.locale-fa.screen-profile .profile-identity-card { direction: ltr; }
.locale-en.screen-home .mobile-account-head,
.locale-en.screen-profile .profile-identity-card { direction: rtl; }
.screen-home .mobile-identity,
.screen-profile .profile-persona { direction: ltr; }
.brand-name { display:inline-flex;direction:ltr;align-items:baseline; }
.brand-name > span { color:var(--ink); }
.brand-name > b {
    color:transparent;
    font:inherit;
    background:linear-gradient(135deg,#775cff,#d34dff);
    -webkit-background-clip:text;
    background-clip:text;
}
.wallet-llama { display:inline-flex;align-items:baseline;direction:ltr;letter-spacing:.02em!important; }
.wallet-llama > i {
    color:transparent;
    font:inherit;
    font-style:normal;
    background:linear-gradient(135deg,#775cff,#d34dff);
    -webkit-background-clip:text;
    background-clip:text;
}

/* Subtle glass integration without washing out each section's native color. */
.screen-products .product-overview,
.screen-products .product-tabs,
.screen-products .available-product-card,
.screen-products .product-empty-state,
.screen-team .referral-invite-card,
.screen-team .referral-stats article,
.screen-team .referral-commissions,
.screen-team .commission-panels article,
.screen-team .referral-quick-links > a,
.screen-team .referral-quick-links > button,
.screen-team .commission-history-panel,
.screen-team .members-summary article,
.screen-team .member-level-tabs,
.screen-team .referral-member-card,
.screen-team .team-vip-progress-card,
.screen-team .team-vip-rules-card,
.screen-team .team-vip-winners-card,
.screen-team .team-vip-previous-card,
.screen-profile .profile-summary,
.screen-profile .profile-menu > a,
.screen-profile .profile-security-toggle,
.screen-profile .security-panel,
.screen-profile .profile-inline-panel {
    -webkit-backdrop-filter: blur(5px) saturate(1.06);
    backdrop-filter: blur(5px) saturate(1.06);
    background-blend-mode: soft-light,normal;
    box-shadow: inset 0 1px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.16);
}
.screen-home .home-banner,
.screen-home .home-stats,
.screen-home .home-actions,
.screen-home .reward-banner,
.screen-home .home-product,
.screen-financial-history .history-hero,
.screen-financial-history .history-summary > div,
.screen-financial-history .history-toolbar,
.screen-financial-history .timeline-card,
.screen-financial-history .history-empty {
    -webkit-backdrop-filter: blur(5px) saturate(1.06);
    backdrop-filter: blur(5px) saturate(1.06);
    background-blend-mode: soft-light,normal;
    box-shadow: inset 0 1px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.16);
}
.home-announcement-open{overflow:hidden}.home-announcement{position:fixed;z-index:1200}.home-announcement-popup{inset:0;display:grid;place-items:center;padding:20px;background:rgba(2,6,23,.72);backdrop-filter:blur(7px)}.home-announcement-panel{position:relative;overflow:hidden;width:min(420px,100%);border:1px solid rgba(139,92,246,.3);border-radius:22px;background:linear-gradient(150deg,#101a35,#091225);box-shadow:0 28px 90px rgba(0,0,0,.55);text-align:center}.home-announcement-panel>img{display:block;width:100%;max-height:250px;object-fit:cover}.home-announcement-panel>p{margin:16px 18px 14px;padding:13px 16px;border:1px solid rgba(255,255,255,.42);border-radius:10px;background:rgba(255,255,255,.025);color:#e8f1ff;font-size:13px;line-height:1.9}.home-announcement-panel>a{display:inline-flex;align-items:center;justify-content:center;min-width:170px;margin:0 20px 22px;padding:11px 18px;border-radius:12px;background:linear-gradient(135deg,#229ed9,#1677b3);color:#fff;font-size:12px;font-weight:900;box-shadow:0 10px 28px rgba(34,158,217,.24)}.home-announcement-close{position:absolute;top:10px;inset-inline-end:10px;z-index:2;width:38px;height:38px;min-height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(168,221,255,.38);border-radius:999px;background:radial-gradient(circle at 35% 28%,rgba(113,214,255,.25),transparent 42%),linear-gradient(145deg,rgba(25,72,130,.96),rgba(10,26,61,.96));color:#fff;box-shadow:0 7px 20px rgba(2,10,32,.42),0 0 0 3px rgba(64,170,255,.08),inset 0 1px rgba(255,255,255,.22);cursor:pointer;transition:transform .18s ease,filter .18s ease,border-color .18s ease}.home-announcement-close svg{width:17px;height:17px;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}.home-announcement-close:hover{border-color:rgba(187,232,255,.72);filter:brightness(1.14);transform:rotate(5deg) scale(1.05)}.home-announcement-close:focus-visible{outline:2px solid #67d7ff;outline-offset:3px}.home-announcement-notification{top:78px;inset-inline-end:14px;width:min(360px,calc(100% - 28px))}.home-announcement-notification .home-announcement-panel{width:100%;border-radius:17px;text-align:start}.home-announcement-notification .home-announcement-panel>img{height:120px}.home-announcement-notification .home-announcement-panel>p{margin:12px 14px 10px;padding:11px 13px;font-size:11px}.home-announcement-notification .home-announcement-panel>a{min-width:0;margin:0 16px 16px;padding:9px 14px;font-size:10px}@media(max-width:560px){.home-announcement-popup{padding:14px}.home-announcement-panel>img{max-height:210px}.home-announcement-notification{top:68px}.home-announcement-close{width:36px;height:36px;min-height:36px}}

#withdrawBankCode { color-scheme:dark;background-color:#190a39;border-color:rgba(181,83,241,.34);color:#f0e5ff; }
#withdrawBankCode option { background:#190a39;color:#eadcff; }

/* Mobile clarity: keep high-density artwork and small financial labels crisp. */
@media (max-width:760px) {
    body { -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility; }
    body::before { opacity:.12; }
    img { image-rendering:auto; }
    .screen-products .product-overview,
    .screen-products .product-tabs,
    .screen-products .available-product-card,
    .screen-products .product-empty-state,
    .screen-team .referral-invite-card,
    .screen-team .referral-stats article,
    .screen-team .referral-commissions,
    .screen-team .commission-panels article,
    .screen-team .referral-quick-links > a,
    .screen-team .referral-quick-links > button,
    .screen-team .commission-history-panel,
    .screen-team .members-summary article,
    .screen-team .member-level-tabs,
    .screen-team .referral-member-card,
    .screen-profile .profile-summary,
    .screen-profile .profile-menu > a,
    .screen-profile .profile-security-toggle,
    .screen-profile .security-panel,
    .screen-profile .profile-inline-panel,
    .screen-home .home-banner,
    .screen-home .home-stats,
    .screen-home .home-actions,
    .screen-home .reward-banner,
    .screen-home .home-product,
    .screen-financial-history .history-hero,
    .screen-financial-history .history-summary > div,
    .screen-financial-history .history-toolbar,
    .screen-financial-history .timeline-card,
    .screen-financial-history .history-empty {
        -webkit-backdrop-filter:none;
        backdrop-filter:none;
        background-blend-mode:normal;
    }
}

/* Phone typography: avoid tiny anti-aliased Persian text and synthetic glow blur. */
@media (max-width:430px) {
    body {
        font-family:Vazirmatn,sans-serif;
        -webkit-font-smoothing:auto;
        text-rendering:optimizeLegibility;
    }

    body.locale-fa .page :where(p,small,strong,b,em,span,label,button,a,dt,dd,input,select,textarea) {
        letter-spacing:0;
        text-shadow:none;
    }

    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page small {
        font-size:9px;
        font-weight:600;
        line-height:1.65;
    }

    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page :where(button,input,select,textarea) {
        font-size:11px;
        line-height:1.55;
    }

    .nav .nav-inner a,
    .screen-home .home-actions :is(a,button),
    .screen-team .team-access-link,
    .screen-profile .profile-menu > a,
    .screen-products .product-tabs a {
        font-size:10px;
        font-weight:750;
    }

    .screen-team .referral-stats small,
    .screen-team .commission-rate-grid small,
    .screen-team .team-history-table small,
    .screen-team .member-level-tabs a small,
    .screen-team .member-joined small,
    .screen-team .member-status-badge small,
    .screen-team .member-detail-panel small {
        font-size:9px;
    }

    .screen-team .commission-panels header strong,
    .screen-team .team-history-table strong,
    .screen-team .member-id-phone strong,
    .screen-team .member-joined strong,
    .screen-team .member-status-badge strong,
    .screen-team .member-detail-panel strong,
    .screen-team .referral-quick-links strong,
    .screen-team .team-access-link strong {
        font-size:10px;
        line-height:1.55;
    }

    .screen-team .referral-stats strong.amount { font-size:9px; }
    .screen-team .commission-panels header strong { font-size:10px; }

    .screen-products .available-product-info :is(dt,dd),
    .screen-products .owned-product-info :is(dt,dd),
    .screen-products .available-product-note,
    .screen-products .available-product-chip,
    .screen-products .available-stock,
    .screen-products .contract-status,
    .screen-financial-history .history-filters button,
    .screen-financial-history .history-filters a {
        font-size:10px;
    }
}

@media (max-width:430px) {
    .screen-home .home-stats small { font-size:8px; }
    .screen-home .home-stats strong { font-size:9px; }
    .screen-home .home-actions a,
    .screen-home .home-actions button { font-size:8px; }
    .screen-home .home-product small { font-size:8px; }

    .screen-products .product-overview-metrics small { font-size:8px; }
    .screen-products .product-overview-metrics strong { font-size:9px; }
    .screen-products .product-overview-metrics strong em { font-size:7px; }
    .screen-products .available-product-info header span,
    .screen-products .contract-status,
    .screen-products .available-product-chip,
    .screen-products .available-stock,
    .screen-products .available-product-note { font-size:8px; }
    .screen-products .available-product-info dt,
    .screen-products .owned-product-info dt { font-size:8px; }
    .screen-products .available-product-info dd,
    .screen-products .owned-product-info dd { font-size:9px; }
    .screen-products .available-product-info dd.amount,
    .screen-products .owned-product-info dd.amount {
        font-family:Vazirmatn,sans-serif;
        font-size:10px;
        font-weight:800;
        letter-spacing:.01em;
    }
    .screen-products .profit-timer small { font-size:7px; }
    .screen-products .profit-timer i { font-size:6px; }

    .screen-team .commission-panels header strong { font-size:8px; }
    .screen-team .referral-stats strong.amount { font-size:7px; }
    .screen-team .members-summary small { font-size:8px; }
    .screen-team .members-summary em { font-size:7px; }
    .screen-team .member-level-tabs a { font-size:9px; }
    .screen-team .member-level-tabs a small { font-size:7px; }
    .screen-team .member-id-phone small { font-size:8px; }
    .screen-team .member-joined small { font-size:7px; }
    .screen-team .member-joined strong { font-size:8px; }
    .screen-team .member-status-badge strong { font-size:7px; }
    .screen-team .member-status-badge small,
    .screen-team .member-detail-panel small { font-size:7px; }
    .screen-team .member-detail-panel strong { font-size:8px; }
    .screen-team .member-detail-panel .member-commission-amount { font-size:9px; }

    .screen-financial-history .history-filters { gap:3px;padding:3px; }
    .screen-financial-history .history-filters button,
    .screen-financial-history .history-filters a {
        min-height:25px;
        padding:2px;
        font-size:9px;
        font-weight:700;
        line-height:1.2;
    }
}

@media (max-width:430px) {
    .screen-team .referral-stats strong.amount { font-size:9px; }
    .screen-team .commission-panels header strong { font-size:10px; }
    .screen-team .team-commission-banner img { aspect-ratio:2.35 / 1; }
    .screen-team .team-commission-banner-content { top:5%;right:1.5%;bottom:5%;width:54%;padding:5px 0;gap:4px; }
    .screen-team .team-commission-banner-content h2 { font-size:11px; }
    .screen-team .team-red-commission-list { gap:4px; }
    .screen-team .team-red-commission-list article { grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:4px;padding:3px 4px; }
    .screen-team .team-red-commission-list header strong { font-size:9px; }
    .screen-team .team-red-commission-rates small { font-size:9px; }
    .screen-team .team-red-commission-rates b { font-size:10px; }
}

/* Final mobile clarity overrides (must remain last). */
.screen-team .team-commission-banner-content{position:relative;inset:auto;width:100%;padding:0}
@media(max-width:600px){
    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page small{font-size:10px;line-height:1.65}
    body:is(.screen-home,.screen-products,.screen-team,.screen-profile,.screen-wallet,.screen-financial-history) .page :where(button,input,select,textarea){font-size:12px}
    .nav .nav-inner a,.screen-home .home-actions :is(a,button),.screen-team .team-access-link,.screen-profile .profile-menu>a,.screen-products .product-tabs a{font-size:11px;font-weight:800}
    .screen-home .home-stats small,.screen-home .home-actions a,.screen-home .home-actions button,.screen-home .home-product small{font-size:10px}.screen-home .home-stats strong{font-size:12px}
    .screen-products .product-overview-metrics small,.screen-products .available-product-info dt,.screen-products .owned-product-info dt,.screen-products .profit-timer small{font-size:10px}.screen-products .product-overview-metrics strong,.screen-products .available-product-info dd,.screen-products .owned-product-info dd,.screen-products .available-product-info header span,.screen-products .contract-status,.screen-products .available-product-chip,.screen-products .available-stock,.screen-products .available-product-note{font-size:11px}.screen-products .available-product-info dd.amount,.screen-products .owned-product-info dd.amount{font-size:12px}.screen-products .profit-timer i{font-size:9px}
    .screen-team .referral-stats small,.screen-team .commission-rate-grid small,.screen-team .team-history-table small,.screen-team .member-level-tabs a small,.screen-team .member-joined small,.screen-team .member-status-badge small,.screen-team .member-detail-panel small,.screen-team .members-summary small,.screen-team .member-id-phone small{font-size:10px}.screen-team .referral-stats strong.amount,.screen-team .commission-panels header strong,.screen-team .team-history-table strong,.screen-team .member-id-phone strong,.screen-team .member-joined strong,.screen-team .member-status-badge strong,.screen-team .member-detail-panel strong,.screen-team .member-detail-panel .member-commission-amount,.screen-team .referral-quick-links strong,.screen-team .team-access-link strong{font-size:11px;line-height:1.6}.screen-team .member-level-tabs a{font-size:11px}.screen-team .members-summary em{font-size:9px}
    .screen-team .team-commission-banner{min-height:0;padding:17px 13px}.screen-team .team-commission-banner-content{position:relative;inset:auto;width:100%;gap:10px;padding:0}.screen-team .team-commission-banner-content h2{font-size:17px}.screen-team .team-red-commission-list{grid-template-columns:1fr;grid-template-rows:none;gap:9px}.screen-team .team-red-commission-list article{grid-template-columns:1fr;gap:10px;padding:11px}.screen-team .team-red-commission-list header strong{font-size:12px}.screen-team .team-red-commission-rates small{font-size:10px}.screen-team .team-red-commission-rates b{font-size:12px}
    .screen-financial-history .history-filters button{min-height:34px;padding:6px 4px;font-size:10px;line-height:1.35}
}
.timeline-rejection-reason{display:grid;gap:5px;margin-top:11px;padding:11px 12px;border:1px solid rgba(251,113,133,.24);border-radius:13px;background:rgba(251,113,133,.075);overflow:hidden}.timeline-rejection-reason small{color:#fda4af;font-size:11px;font-weight:900}.timeline-rejection-reason p{margin:0!important;color:#ffe4e6!important;font-size:12px!important;line-height:1.8!important;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}

/* Shared five-item bottom navigation, used on every user page. */
.nav .nav-inner.has-representative {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nav .nav-inner.has-representative > a {
    min-width: 0;
    min-height: 58px;
    padding: 0;
}

.nav .nav-inner.has-representative > a > span:last-child {
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 19px;
    text-overflow: clip;
    white-space: nowrap;
}

.nav .nav-inner.has-representative a .nav-icon,
.nav .nav-inner.has-representative a.rep-nav .nav-icon {
    width: 21px;
    height: 21px;
}

.nav .nav-inner.has-representative a.rep-nav {
    min-height: 58px;
    padding: 0;
    transform: none;
    border: 0;
    border-radius: 15px;
    background: transparent;
    box-shadow: none;
}

.nav .nav-inner.has-representative a.rep-nav .nav-icon {
    color: inherit;
}

.nav .nav-inner.has-representative a.rep-nav.active {
    color: #dce3f2;
    background: transparent;
}

.nav .nav-inner.has-representative a.rep-nav.active .nav-icon {
    color: #c34eff;
    filter: drop-shadow(0 0 8px rgba(180, 64, 255, .7));
}

/* One visual theme for the shared bottom navigation on every user screen. */
body .nav {
    padding: 6px 8px calc(7px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(7, 2, 22, 1) 78%, rgba(7, 2, 22, 0));
}

body .nav .nav-inner {
    width: min(520px, 100%);
    padding: 5px;
    border-color: rgba(151, 73, 242, .25);
    border-radius: 18px;
    background: rgba(10, 4, 28, .95);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .025);
}

body .nav .nav-inner > a,
body .nav .nav-inner > a.rep-nav {
    min-height: 53px;
    color: #746985;
    background: transparent;
}

body .nav .nav-inner > a.active,
body .nav .nav-inner > a.rep-nav.active {
    color: #c56cff;
    background: transparent;
}

body .nav .nav-inner > a .nav-icon,
body .nav .nav-inner > a.rep-nav .nav-icon {
    width: 22px;
    height: 22px;
    color: inherit;
}

body .nav .nav-inner > a.active .nav-icon,
body .nav .nav-inner > a.rep-nav.active .nav-icon {
    color: #c34eff;
    filter: drop-shadow(0 0 8px rgba(180, 64, 255, .7));
}

body .nav .nav-inner > a > span:last-child {
    color: #d8d4e2;
}

.contract-referral-gate {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(180, 93, 255, .28);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(73, 23, 118, .2), rgba(17, 9, 35, .72));
}

.contract-referral-gate.is-complete {
    border-color: rgba(63, 211, 145, .38);
    background: linear-gradient(145deg, rgba(22, 110, 73, .17), rgba(17, 9, 35, .72));
}

.contract-referral-gate__header,
.contract-referral-level__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contract-referral-gate__header small,
.contract-referral-gate > p,
.contract-referral-level small {
    color: #a9a0b8;
}

.contract-referral-gate__header strong {
    display: block;
    margin-top: 2px;
    color: #f2ecfb;
}

.contract-referral-gate__header > span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    color: #e9d4ff;
    background: rgba(179, 80, 255, .18);
    font-size: 11px;
}

.contract-referral-gate.is-complete .contract-referral-gate__header > span {
    color: #adf3d2;
    background: rgba(54, 211, 142, .14);
}

.contract-referral-gate__levels {
    display: grid;
    gap: 11px;
    margin-top: 13px;
}

.contract-referral-level__label {
    color: #dfd7e9;
    font-size: 12px;
}

.contract-referral-level__track {
    height: 7px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.contract-referral-level__track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8e3de3, #d363ff);
    box-shadow: 0 0 12px rgba(190, 85, 255, .45);
}

.contract-referral-level small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
}

.contract-referral-level small.is-met {
    color: #69dca7;
}

.contract-referral-gate > p {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: 10px;
    line-height: 1.8;
}

.contract-referral-summary {
    display: flex;
    align-items: center;
    gap: 5px 8px;
    min-height: 25px;
    margin: 5px 0 0;
    padding: 5px 7px;
    border: 1px solid rgba(180, 93, 255, .22);
    border-radius: 8px;
    background: rgba(75, 26, 115, .14);
    color: #b9aec5;
    font-size: 7px;
    line-height: 1.35;
    white-space: nowrap;
}

.contract-referral-summary strong {
    color: #e6d9f2;
    font-size: 7px;
}

.contract-referral-summary span b {
    color: #d875ff;
    font-size: 7px;
}

.contract-referral-summary em {
    margin-inline-start: auto;
    color: #d7a7ed;
    font-size: 7px;
    font-style: normal;
}

.contract-referral-summary.is-complete {
    border-color: rgba(63, 211, 145, .28);
    background: rgba(22, 110, 73, .12);
}

.contract-referral-summary.is-complete em,
.contract-referral-summary.is-complete span b {
    color: #74deb0;
}

@media (max-width: 420px) {
    .contract-referral-summary {
        flex-wrap: wrap;
        white-space: normal;
    }
}

/* P0 Orbital Ledger system: shared user-facing tokens and component overrides. */
.p0-primary-nav .nav-inner:not(.has-representative){grid-template-columns:repeat(4,minmax(0,1fr))}
.screen-home .home-actions.has-red-letter.action-count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.screen-home .notification-action{width:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#cfc2de;font-size:9px;font-weight:800;line-height:1.2}.screen-home .notification-action svg{width:39px;height:39px;padding:8px;border:1px solid rgba(190,135,255,.32);border-radius:50%;background:rgba(56,24,91,.28);box-shadow:0 0 17px rgba(135,52,255,.12)}
.screen-home .llama-code-action .home-action-icon{border-color:rgba(175,86,255,.44);background:radial-gradient(circle at 35% 25%,rgba(124,58,237,.3),rgba(34,211,238,.14) 55%,rgba(7,10,22,.7));color:#c467ff;box-shadow:0 0 18px rgba(136,42,255,.2),inset 0 0 13px rgba(194,87,255,.08)}.screen-products .profit-check-mark{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;border:1px solid rgba(110,231,183,.52);border-radius:50%;color:#6ee7b7;box-shadow:0 0 12px rgba(110,231,183,.22)}.screen-products .profit-check-mark svg{width:12px;height:12px}
@media(max-width:560px){.screen-products .owned-product-main{grid-template-columns:minmax(118px,.82fr) minmax(0,1.42fr);min-height:252px}.screen-products .owned-product-visual{padding:12px 7px 10px}.screen-products .owned-product-photo{width:min(100%,122px)}.screen-products .owned-product-info{padding:12px 12px 9px 9px}.screen-products .owned-product-info dl{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:60px;gap:7px}.screen-products .owned-product-info dl>div{height:60px;min-height:60px;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px;border:1px solid rgba(132,68,202,.14);border-radius:9px;background:rgba(5,10,27,.42);overflow:hidden}.screen-products .owned-product-info dt{font-size:11px;line-height:1.15;text-align:center;white-space:normal}.screen-products .owned-product-info dd{max-width:100%;font-size:13px;line-height:1.2;text-overflow:clip}.screen-products .owned-product-info dd.amount{font-size:14px}.screen-products .owned-product-info dd span{font-size:11px}.screen-products .owned-product-action{margin:8px 0 0}.screen-products .profit-progress{min-height:40px;margin-bottom:8px;padding:5px 8px}.screen-products .profit-action{min-height:42px;font-size:11px}}
.p0-primary-nav{display:flex!important;justify-content:center;left:0!important;right:0!important;width:auto!important;transform:none}.p0-primary-nav .nav-inner{margin-inline:auto;transform:none!important}.screen-profile .profile-persona-copy>small{display:grid;justify-items:start;gap:2px}.screen-products .profit-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;margin:0 0 11px;padding:8px 10px;border:1px solid rgba(69,223,223,.16);border-radius:11px;background:rgba(8,19,42,.62);color:#cbd5e1;font-size:11px;line-height:1.55}.screen-products .profit-progress span{min-width:0;color:#d8e1f2;font-weight:750}.screen-products .profit-progress strong{color:#a78bfa;font-size:12px;white-space:nowrap}
.screen-products .owned-product-info :is(dt,dd){font-size:13px!important}.screen-products .owned-product-info dd.amount{font-size:14px!important}
@media(max-width:560px){.screen-products .owned-product-info dt{font-size:11px!important}.screen-products .owned-product-info dd,.screen-products .owned-product-info dd.amount{font-size:14px!important}.screen-products .owned-product-info dd span{font-size:11px!important}}
:root{--p0-space-1:6px;--p0-space-2:10px;--p0-space-3:16px;--p0-space-4:24px;--p0-space-5:32px;--p0-radius-sm:12px;--p0-radius-md:18px;--p0-radius-lg:26px;--p0-surface:rgba(14,21,43,.88);--p0-surface-raised:rgba(20,29,57,.94);--p0-line:rgba(148,163,184,.18);--p0-text:#edf4ff;--p0-muted:#9ba9c5;--p0-cyan:#45dfdf;--p0-violet:#a78bfa;--p0-profit:#6ee7b7;--p0-shadow:0 18px 44px rgba(0,0,0,.26);--p0-glow:0 0 0 1px rgba(69,223,223,.09),0 16px 36px rgba(48,27,108,.2)}
.p0-primary-nav{display:block!important}.nav:not(.p0-primary-nav){display:none}.p0-primary-nav .nav-inner{grid-template-columns:repeat(5,minmax(0,1fr));width:min(660px,calc(100% - 22px));padding:5px;border:1px solid rgba(148,163,184,.2);border-radius:20px;background:rgba(8,13,30,.92);box-shadow:0 -10px 36px rgba(0,0,0,.18);backdrop-filter:blur(18px)}.p0-primary-nav a{position:relative;min-height:61px;gap:4px;border-radius:15px;color:#99a8c4;font-size:10px;font-weight:760}.p0-primary-nav a.active{color:var(--p0-text);background:linear-gradient(145deg,rgba(124,58,237,.29),rgba(34,211,238,.13))}.p0-primary-nav a.active:after{display:none}.p0-primary-nav a.active .nav-icon{color:var(--p0-cyan);filter:drop-shadow(0 0 7px rgba(69,223,223,.42))}.p0-primary-nav .nav-icon{width:20px;height:20px}
.command-center-intro{display:grid;grid-template-columns:1fr auto;gap:8px 18px;align-items:end;margin:4px 0 16px;padding:18px 20px;border:1px solid var(--p0-line);border-radius:var(--p0-radius-md);background:linear-gradient(112deg,rgba(36,31,81,.66),rgba(10,21,43,.88) 57%,rgba(13,61,79,.35));box-shadow:var(--p0-glow)}.command-center-intro>span{grid-column:1/-1;color:var(--p0-cyan);font-size:9px;font-weight:900;letter-spacing:.15em;direction:ltr}.command-center-intro h1{margin:0;color:var(--p0-text);font-size:20px;line-height:1.25}.command-center-intro p{margin:4px 0 0;color:var(--p0-muted);font-size:11px;line-height:1.7}.command-center-intro a{align-self:center;padding:8px 10px;border:1px solid rgba(69,223,223,.22);border-radius:10px;background:rgba(69,223,223,.07);color:#bff9f2;font-size:10px;font-weight:800;white-space:nowrap}
.screen-home .home-banner{min-height:218px;margin-bottom:14px;border-radius:var(--p0-radius-md);box-shadow:var(--p0-shadow)}.screen-home .home-banner-photo{object-fit:cover;object-position:center}.screen-home .home-stats{gap:0;padding:16px 8px;border-color:var(--p0-line);border-radius:var(--p0-radius-md);background:var(--p0-surface);box-shadow:var(--p0-shadow)}.screen-home .home-stats small{min-height:0;margin:6px 0 5px;font-size:10px}.screen-home .home-stats strong{font-size:12px;color:var(--p0-profit)}.screen-home .home-actions{gap:8px;padding:10px;border-color:var(--p0-line);border-radius:var(--p0-radius-md);background:var(--p0-surface);box-shadow:var(--p0-shadow)}.screen-home .home-actions a,.screen-home .home-actions button{min-height:80px;padding:9px 3px;border:1px solid transparent;border-radius:12px;font-size:10px}.screen-home .home-actions a:hover,.screen-home .home-actions button:hover{border-color:rgba(69,223,223,.22);background:rgba(69,223,223,.05)}.screen-home .home-action-icon{width:40px;height:40px}.screen-home .mobile-section-title{margin:26px 2px 12px}.screen-home .mobile-section-title strong{font-size:17px}.screen-home .home-product-grid{gap:12px}.screen-home .home-product{padding:12px;border-color:var(--p0-line);border-radius:var(--p0-radius-md);background:linear-gradient(160deg,rgba(30,38,70,.96),rgba(11,18,38,.98));box-shadow:var(--p0-shadow)}.screen-home .product-machine{height:92px}.screen-home .product-data small{font-size:9px}.screen-home .product-data strong{font-size:11px}.screen-home .compact-contract{padding:15px 16px;border-radius:var(--p0-radius-md);border-color:var(--p0-line);background:var(--p0-surface-raised);box-shadow:var(--p0-shadow)}
.screen-profile .profile-page-shell{max-width:920px;margin-inline:auto}.screen-profile .profile-identity-card{margin-bottom:14px;padding:18px;border:1px solid var(--p0-line);border-radius:var(--p0-radius-lg);background:var(--p0-surface);box-shadow:var(--p0-shadow)}.screen-profile .profile-summary{gap:18px;padding:24px 39% 24px 22px;border-color:var(--p0-line);border-radius:var(--p0-radius-lg);box-shadow:var(--p0-shadow)}.screen-profile .profile-summary small{font-size:10px}.screen-profile .profile-summary strong{margin-top:4px;font-size:14px;color:var(--p0-profit)}.screen-profile .profile-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.screen-profile .profile-menu>a,.screen-profile .profile-menu .profile-security-toggle{min-height:75px;border-radius:var(--p0-radius-md);border-color:var(--p0-line);background:var(--p0-surface);box-shadow:var(--p0-shadow)}.screen-profile .profile-menu>.profile-inline-panel{grid-column:1/-1;margin:0;border-radius:var(--p0-radius-md);border-color:var(--p0-line);background:var(--p0-surface)}.screen-profile .profile-logout{grid-column:1/-1}
.screen-wallet .finance-page-head{margin-bottom:14px}.screen-wallet .wallet-hero{min-height:210px;border:1px solid var(--p0-line);border-radius:var(--p0-radius-lg);box-shadow:var(--p0-shadow)}.screen-wallet .wallet-channel-tabs,.screen-wallet .withdraw-method-tabs{gap:10px;margin:16px 0}.screen-wallet .wallet-channel-tabs a,.screen-wallet .withdraw-method-tabs a{min-height:66px;border-color:var(--p0-line);border-radius:var(--p0-radius-sm);background:var(--p0-surface);font-size:11px}.screen-wallet .wallet-channel-tabs a.active,.screen-wallet .withdraw-method-tabs a.active{border-color:rgba(69,223,223,.45);background:linear-gradient(130deg,rgba(79,70,229,.83),rgba(8,144,171,.78));box-shadow:0 10px 24px rgba(34,211,238,.16)}.screen-wallet .wallet-form-card,.screen-wallet .wallet-guide-card,.screen-wallet .withdraw-box,.screen-wallet .withdraw-rule{border-color:var(--p0-line)!important;border-radius:var(--p0-radius-lg)!important;background:var(--p0-surface)!important;box-shadow:var(--p0-shadow)}.screen-wallet .wallet-card-head h1{font-size:22px}.screen-wallet .wallet-card-intro{color:var(--p0-muted);font-size:12px;line-height:1.95}.screen-wallet .wallet-limit-row,.screen-wallet .crypto-stats,.screen-wallet .withdraw-summary{border-color:var(--p0-line);border-radius:var(--p0-radius-sm);background:rgba(5,12,29,.58)}.screen-wallet .wallet-field>label,.screen-wallet .withdraw-item>label{display:block;margin-bottom:8px;color:#d5dded;font-size:11px}.screen-wallet .wallet-input,.screen-wallet .withdraw-amount-control,.screen-wallet .withdraw-item>input,.screen-wallet .withdraw-item>select,.screen-wallet .withdraw-iban-control,.screen-wallet .withdraw-password-control{min-height:54px;border-color:rgba(148,163,184,.22)!important;border-radius:12px!important;background:rgba(5,10,25,.76)!important}.screen-wallet .wallet-input input,.screen-wallet .withdraw-item input,.screen-wallet .withdraw-item select{font-size:14px}.screen-wallet .wallet-submit,.screen-wallet .withdraw-btn,.screen-wallet .maskBtn{min-height:54px;border-radius:14px;background:linear-gradient(110deg,#4f46e5,#0e9fba);font-size:13px;box-shadow:0 12px 28px rgba(34,211,238,.16)}.screen-wallet .wallet-steps b{font-size:11px}.screen-wallet .wallet-steps small{font-size:10px;line-height:1.75}
.screen-wallet .amount-presets button{min-height:38px;padding-inline:12px;border-radius:10px}.screen-financial-history .history-hero,.screen-financial-history .history-summary,.screen-financial-history .history-toolbar,.screen-financial-history .timeline-card{border-color:var(--p0-line);box-shadow:var(--p0-shadow)}
.coin-detail-page{max-width:980px;margin-inline:auto;padding:clamp(18px,3vw,34px)!important;border-color:var(--p0-line)!important;border-radius:var(--p0-radius-lg)!important;background:linear-gradient(145deg,rgba(22,31,61,.96),rgba(8,15,33,.98))!important;box-shadow:var(--p0-shadow)!important}.coin-detail-page .section-link{display:inline-flex;gap:8px;color:#b9c9e6;font-weight:750}.coin-detail-page .eyebrow{margin-top:28px!important;color:var(--p0-cyan)}.coin-detail-page h1{margin-top:8px!important;font-size:clamp(25px,4vw,38px)}.coin-detail-artwork{max-width:360px;margin:20px auto 24px}.coin-detail-page .coin-detail-visual{border-color:var(--p0-line);border-radius:var(--p0-radius-md);background:radial-gradient(circle,rgba(69,223,223,.16),transparent 62%),rgba(7,14,31,.6)}.coin-detail-page .available-product-photo{max-height:260px;object-fit:contain}.coin-detail-page .grid.two{gap:12px}.coin-detail-page .notice{padding:16px;border-color:var(--p0-line);border-radius:var(--p0-radius-sm);background:rgba(4,12,29,.52);font-size:12px;line-height:1.7}.coin-detail-page .notice strong{display:block;margin-top:5px;font-size:16px}.coin-detail-page>.muted{margin:20px 0;padding:14px 16px;border-right:3px solid var(--p0-cyan);border-radius:12px;background:rgba(69,223,223,.055);color:#c3cee2;font-size:12px;line-height:2}.coin-detail-page .btn{width:100%;min-height:56px;margin-top:16px;border-radius:14px;font-size:14px}
@media(min-width:760px){.screen-home .app-shell,.screen-products .app-shell,.screen-profile .app-shell{width:min(100%,1180px);max-width:1180px}.page{padding:28px 28px 104px}.screen-home .home-banner{min-height:300px}.screen-home .home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.screen-wallet .wallet-layout{gap:20px}.screen-wallet .withdraw-container{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.65fr);gap:20px}.screen-wallet .withdraw-method-tabs{grid-column:1/-1}.screen-wallet .withdraw-rule{margin:0}.screen-profile .profile-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.screen-profile .profile-menu>.profile-inline-panel{grid-column:1/-1}}
@media(max-width:560px){.page{padding:12px 12px 102px}.topbar{min-height:62px}.command-center-intro{margin-top:0;padding:15px 16px}.command-center-intro h1{font-size:18px}.command-center-intro p{font-size:10px}.command-center-intro a{font-size:9px}.screen-home .home-banner{min-height:188px}.screen-home .home-banner-arrow{display:none}.screen-home .home-stats{padding:14px 4px}.screen-home .home-stats strong{font-size:11px}.screen-home .home-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.screen-home .home-actions.action-count-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 4px}.screen-home .home-actions.action-count-4 a{padding-inline:1px;font-size:9px}.screen-home .home-actions a,.screen-home .home-actions button{min-height:76px}.screen-home .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-home .home-product{padding:11px}.screen-home .reward-banner{min-height:130px;border-radius:var(--p0-radius-md)}.screen-home .reward-copy small,.screen-home .reward-copy em{font-size:9px;line-height:1.65}.screen-home .reward-banner .reward-copy small,.screen-home .reward-banner .reward-copy em{font-size:9px!important;line-height:1.65}.screen-home .mobile-section-title a{font-size:10px}.screen-wallet .wallet-hero{min-height:180px}.screen-wallet .wallet-orbit{left:9%;width:114px;height:114px}.screen-wallet .wallet-orbit>span{width:64px;height:64px}.screen-wallet .wallet-orbit img{width:52px;height:52px}.screen-wallet .wallet-hero-copy{right:7%}.screen-wallet .wallet-hero-copy strong{font-size:24px}.screen-wallet .wallet-layout{display:block}.screen-wallet .wallet-guide-card{margin-top:14px}.screen-wallet .wallet-channel-tabs,.screen-wallet .withdraw-method-tabs{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.screen-wallet .wallet-channel-tabs a,.screen-wallet .withdraw-method-tabs a{min-height:60px;padding:8px 5px}.screen-wallet .wallet-channel-tabs small,.screen-wallet .withdraw-method-tabs small{font-size:9px}.screen-profile .profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 34% 18px 16px}.screen-profile .profile-menu{grid-template-columns:1fr}.screen-profile .profile-menu>a,.screen-profile .profile-menu .profile-security-toggle{min-height:68px}.coin-detail-page{padding:18px!important}.coin-detail-page h1{font-size:25px}.coin-detail-page .coin-detail-visual{margin:17px auto 20px}.coin-detail-page .available-product-photo{max-height:205px}.coin-detail-page .notice{padding:13px;font-size:11px}.coin-detail-page .notice strong{font-size:14px}}
@media(max-width:560px){.screen-wallet .finance-brand em{font-size:9px!important}.screen-profile .profile-kicker{font-size:9px!important}}

/* Keep the profile graph to the left so RTL account metrics retain their full width. */
.screen-profile .profile-summary{grid-template-columns:42% 58%;gap:0;padding:0}.screen-profile .profile-growth-visual{order:-1}.screen-profile .profile-summary-metrics{border-right:0;border-left:1px solid rgba(149,64,226,.18)}
@media(max-width:560px){.screen-profile .profile-summary{grid-template-columns:42% 58%;gap:0;padding:0}}
