.redeem-shipping-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    color: var(--gold-2);
    line-height: 1.45;
}
.redeem-shipping-notice .fa-truck-fast {
    margin-top: 0.1rem;
    flex-shrink: 0;
    color: var(--gold);
}

.dinnar-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(145deg, #1e3d2c 0%, #0f2218 45%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}

.dinnar-logo-wrap {
    width: 88px;
    height: 124px;
    flex-shrink: 0;
    position: relative;
    perspective: 600px;
    transform-style: preserve-3d;
    animation: splashLogoFlip 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.dinnar-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(212,175,55,0.45));
    backface-visibility: hidden;
}

.dinnar-logo-front { transform: rotateY(0deg); }
.dinnar-logo-back  { transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
    .dinnar-logo-wrap { animation: none; }
}

.dinnar-card-right {
    flex: 1;
    min-width: 0;
}

.dinnar-title {
    font-family: 'Noto Serif Oriya', serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 40%, var(--gold-2) 80%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
    margin-bottom: 0.25rem;
}

.dinnar-desc {
    font-size: 0.65rem;
    color: var(--text-soft);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.dinnar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #2a1d05;
    background: linear-gradient(135deg, var(--gold-1), #f5d742);
    border: none;
    text-decoration: none;
}

:root {
    --gold-1: #F4D03F;
    --gold-2: #D4AF37;
    --gold-3: #c8952a;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --bg-deep: #081210;
    --bg-panel: #0f1f18;
    --bg-panel-2: #162a20;
    --bg-panel-3: #1c3328;
    --border-soft: rgba(212, 175, 55, 0.12);
    --border-gold: rgba(212, 175, 55, 0.3);
    --text-main: #eef2ee;
    --text-soft: #7a9a88;
    --text-muted: #4a6655;
    --up: #0ecb81;
    --down: #f6465d;
    --mono: 'SF Mono', 'Consolas', 'Menlo', monospace;
    --card-shadow: 0 4px 20px -4px rgba(0,0,0,0.55), 0 0 20px -8px rgba(212,175,55,0.12), inset 0 1px 0 rgba(212,175,55,0.1);
    --card-border: 1px solid rgba(212, 175, 55, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 7px;
}

* {
    box-sizing: border-box;
}

body.member-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-deep);
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

body.member-body {
    margin: 0;
    background: #000;
    color: var(--text-main);
    font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
    touch-action: pan-y;
}

html.auth-locked,
body.auth-locked {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    margin: 0;
}

body.member-body.auth-scrollable {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.auth-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.1), transparent 50%),
        linear-gradient(180deg, #081410 0%, var(--bg-deep) 100%);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background:
        radial-gradient(circle at 50% 38%, rgba(212, 175, 55, 0.1), transparent 60%),
        url('../img/card-frame.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border-radius: 16px;
    padding: 3rem 2.4rem 2.6rem;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.auth-logo {
    width: 80px;
    height: 104px;
    margin: 0 auto 1.25rem;
    position: relative;
    perspective: 600px;
    transform-style: preserve-3d;
    animation: splashLogoFlip 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.auth-logo-mark {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px var(--gold-glow));
    backface-visibility: hidden;
}

.auth-logo-mark.auth-logo-front {
    transform: rotateY(0deg);
}

.auth-logo-mark.auth-logo-back {
    transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .auth-logo {
        animation: none;
    }
}

.auth-sub {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
}

.auth-field {
    margin-bottom: 0.65rem;
}

.auth-field label {
    display: block;
    font-size: 0.7rem;
    color: #c9a86a;
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-field-wrap {
    position: relative;
}

.auth-field-wrap i.field-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(212, 175, 55, 0.55);
    font-size: 0.76rem;
    transition: color 0.2s;
}

.auth-field input {
    width: 100%;
    background: rgba(12, 26, 19, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 9px;
    padding: 0.7rem 0.9rem 0.7rem 2.3rem;
    color: var(--text-main);
    font-size: 0.75rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-field-wrap:has(.pw-toggle) input {
    padding-right: 2.3rem;
}

@media (max-width: 768px) {
    .auth-field input {
        font-size: 16px;
    }
}

.pw-toggle {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
    color: rgba(212, 175, 55, 0.55);
    font-size: 0.78rem;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.pw-toggle:hover,
.pw-toggle.active {
    color: var(--gold-1);
}

.auth-field input:focus {
    border-color: var(--gold-1);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.pin-input {
    font-family: var(--mono);
    font-size: 1.1rem !important;
    letter-spacing: 0.6em;
    text-align: center;
    padding-left: 0.95rem !important;
}

.pin-input::placeholder {
    letter-spacing: normal;
    font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
}

.pin-input-sm {
    font-family: var(--mono);
    font-size: 0.9rem !important;
    letter-spacing: 0.5em;
    text-align: center;
    padding-left: 0.8rem !important;
}

.pin-input-sm::placeholder {
    letter-spacing: normal;
    font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.72rem;
}

.auth-field input:focus ~ i.field-icon,
.auth-field-wrap:has(input:focus) i.field-icon {
    color: var(--gold-1);
}

.auth-field input::placeholder {
    color: rgba(143, 168, 155, 0.55);
}

.mem-field {
    margin-bottom: 0.6rem;
}

.mem-field-wrap {
    position: relative;
}

.mem-field-wrap i.field-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.7rem;
    transition: color 0.2s;
    pointer-events: none;
}

.mem-field-wrap input,
.mem-field-wrap select,
.mem-field-wrap textarea {
    width: 100%;
    background: rgba(12, 26, 19, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 9px;
    padding: 0.55rem 0.8rem 0.55rem 2.1rem;
    color: var(--text-main);
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.mem-field-wrap input:focus,
.mem-field-wrap select:focus,
.mem-field-wrap textarea:focus {
    border-color: var(--gold-1);
    background: rgba(212, 175, 55, 0.07);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.14);
}

.mem-field-wrap input::placeholder,
.mem-field-wrap textarea::placeholder {
    color: rgba(143, 168, 155, 0.5);
}

.mem-field-wrap:has(input:focus) i.field-icon,
.mem-field-wrap:has(select:focus) i.field-icon {
    color: var(--gold-1);
}

.mem-field-wrap:has(.pw-toggle) input {
    padding-right: 2.1rem;
}

.mem-field-wrap input.no-icon,
.mem-field-wrap:not(:has(.field-icon)) input {
    padding-left: 0.8rem;
}

.mem-field-hint {
    font-size: 0.63rem;
    color: var(--text-soft);
    margin-top: 0.28rem;
    line-height: 1.4;
}

.mem-field-hint a {
    color: var(--gold-1);
    text-decoration: none;
}

.profile-set-pin-hint {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-xs);
    padding: 0.5rem 0.65rem;
    margin: 0 0 0.75rem;
    color: var(--gold-1);
}

.mem-field-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.auth-hint {
    font-size: 0.68rem;
    color: var(--text-soft);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1) 45%, var(--gold-2) 100%);
    color: #1a1306;
    border: none;
    border-radius: 11px;
    padding: 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    margin-top: 0.6rem;
    box-shadow: 0 8px 24px -8px var(--gold-glow);
}

.auth-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 12px 28px -6px var(--gold-glow);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1.25rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.auth-switch {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.auth-switch a {
    color: var(--gold-1);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.auth-switch a:hover {
    border-color: var(--gold-1);
}

.auth-switch-sep {
    display: inline-block;
    margin: 0 0.55rem;
    color: var(--text-muted);
}

.auth-autocomplete {
    position: relative;
}

.auth-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 24, 29, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 11px;
    margin-top: 0.4rem;
    max-height: 180px;
    overflow-y: auto;
    z-index: 20;
    display: none;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.auth-autocomplete-item {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-main);
}

.auth-autocomplete-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.mem-particles {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.mem-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(8,18,16,0.45) 0%, rgba(8,18,16,0.2) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: none;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.mem-topbar.scrolled {
    background: linear-gradient(180deg, rgba(8,18,16,0.97) 0%, rgba(11,20,17,0.94) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}
}

.mem-topbar-brand {
    display: flex;
    align-items: center;
}

.mem-topbar-back {
    position: absolute;
    left: 12px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    text-decoration: none;
    font-size: 0.9rem;
    -webkit-tap-highlight-color: transparent;
}

.mem-topbar-logo {
    position: absolute;
    left: 12px;
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(212,175,55,0.3));
}

.mem-topbar-text-img {
    height: 15px;
    width: auto;
    display: block;
    object-fit: contain;
}

.mem-topbar-lang {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.mem-topbar-lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    display: flex;
    align-items: center;
}

.mem-topbar-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10, 20, 16, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 11px;
    padding: 0.3rem;
    display: none;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 80px;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.6);
    z-index: 50;
}

.mem-topbar-lang-menu.open {
    display: flex;
}

.mem-topbar-lang-menu form {
    display: contents;
}

.mem-topbar-lang-item {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-radius: 7px;
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.mem-topbar-lang-item:hover { background: rgba(212,175,55,0.1); color: var(--text-main); }
.mem-topbar-lang-item.active { color: var(--gold-1); background: rgba(212,175,55,0.12); }

.mem-topbar-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.mem-topbar-line-img {
    height: 12px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    opacity: 0.9;
    transform: translateY(50%);
}

.topbar-icon-gold { color: var(--gold-1); }

.mem-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.18s;
}

.mem-icon-btn:hover { background: rgba(212, 175, 55, 0.14); }

.mem-main {
    padding: 1rem 1rem 6.5rem;
    max-width: 480px;
    margin: 0 auto;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mem-bottomnav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 30;
    background: linear-gradient(180deg, rgba(8,18,16,0.82) 0%, rgba(6,14,10,0.92) 100%);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.25rem 0 calc(0.25rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

body.sheet-open .mem-topbar,
body.sheet-open .mem-bottomnav {
    display: none;
}

.mem-bn-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.mem-bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.55rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    position: relative;
    transition: color 0.18s;
    letter-spacing: 0.02em;
}

.mem-bn-item i {
    font-size: 0.9rem;
    transition: transform 0.18s;
}

.mem-bn-item.active { color: var(--gold-1); }

.mem-bn-item.active::before {
    content: '';
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    border-radius: 2px;
}

.mem-bn-item.active i { transform: translateY(-1px); }

.mem-bn-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fbe8a3 0%, var(--gold-1) 45%, var(--gold-2) 100%);
    box-shadow:
        0 0 0 2px rgba(8,14,11,1),
        0 0 0 3px rgba(212, 175, 55, 0.4),
        0 -3px 14px -3px rgba(212, 175, 55, 0.5),
        0 4px 14px -4px rgba(0,0,0,0.6);
    color: #1a1000;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    top: -12px;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.mem-bn-fab:active {
    transform: scale(0.93);
    box-shadow:
        0 0 0 3px rgba(8,14,11,1),
        0 0 0 4px rgba(212,175,55,0.6),
        0 -2px 12px -2px rgba(212,175,55,0.6),
        0 4px 12px -4px rgba(0,0,0,0.5);
}

.mem-bn-fab.active {
    background: linear-gradient(145deg, #fff0b3 0%, #fbe8a3 40%, var(--gold-1) 100%);
}

.num-gold,
.dash-balance-value,
.dash-stat-value,
.dash-pkg-capital,
.invest-balance-value,
.wd-balance-card .dash-balance-value,
.profile-status-value,
.dash-balance-redeem-val {
    font-family: var(--mono);
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 35%, var(--gold-2) 75%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.45));
}

.dash-balance-sym {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gold-text {
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1) 50%, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.text-up { color: var(--up); }
.text-down { color: var(--down); }

.dash-page { padding-bottom: 0; }
.dash-page:last-child { margin-bottom: 0; }

.quick-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 10%;
    background-image: url('../img/icon.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 4px 14px -4px rgba(0, 0, 0, 0.5),
        0 0 18px -6px rgba(212, 175, 55, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}

.quick-item:active .quick-icon {
    transform: scale(0.93);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.45),
        0 2px 8px -2px rgba(0, 0, 0, 0.5),
        0 0 24px -4px rgba(212, 175, 55, 0.45);
}

.quick-icon i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: var(--gold-1);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.quick-item span {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-soft);
    text-align: center;
    letter-spacing: 0.02em;
}

.promo-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow:
        0 4px 20px -6px rgba(0,0,0,0.5),
        0 0 0 1px rgba(212,175,55,0.15);
}

.promo-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.promo-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.promo-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.promo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.promo-dot.active {
    background: var(--gold-1);
    transform: scale(1.3);
}

.cap-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background:
        linear-gradient(145deg,
            rgba(26, 50, 38, 0.72) 0%,
            rgba(15, 31, 24, 0.65) 50%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-3.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow:
        0 4px 20px -6px rgba(0,0,0,0.55),
        0 0 35px -10px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(212,175,55,0.15);
}

.cap-circle-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.cap-svg {
    width: 110px;
    height: 110px;
    transform: rotate(-90deg);
    
    filter:
        drop-shadow(0 0 6px rgba(212, 175, 55, 0.7))
        drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
    animation: capSvgGlow 2.8s ease-in-out infinite;
}

@keyframes capSvgGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 5px rgba(212, 175, 55, 0.65))
            drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    }
    50% {
        filter:
            drop-shadow(0 0 8px rgba(244, 208, 63, 0.9))
            drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
    }
}

.cap-track {
    fill: none;
    stroke: rgba(212, 175, 55, 0.1);
    stroke-width: 9;
    stroke-linecap: round;
}

.cap-fill {
    fill: none;
    stroke: #F4D03F;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.cap-glow, .cap-glint { display: none; }

@media (prefers-reduced-motion: reduce) {
    .cap-svg { animation: none; }
    .cap-fill { transition: none; }
}

.cap-circle-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cap-pct {
    font-family: var(--mono);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-1);
    line-height: 1;
}

.cap-pct-label {
    font-size: 0.55rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 0.2rem;
}

.cap-stats { flex: 1; min-width: 0; }

.cap-stat-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
}

.cap-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
}

.cap-stat-label { font-size: 0.65rem; color: var(--text-soft); }

.cap-stat-val {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.cap-remaining { color: var(--up); }

.cap-stat-divider {
    height: 1px;
    background: rgba(212,175,55,0.1);
    margin: 0.35rem 0;
}

@media (prefers-reduced-motion: reduce) {
    .cap-fill { transition: none; }
}

.dash-rewards-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(145deg, #1e3d2c 0%, #0f2218 45%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius);
    padding: 1.1rem 1rem;
    margin-bottom: 0.75rem;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.06),
        0 6px 24px -6px rgba(0, 0, 0, 0.6),
        0 0 40px -8px rgba(212, 175, 55, 0.35),
        0 0 80px -20px rgba(212, 175, 55, 0.18),
        inset 0 1px 0 rgba(212, 175, 55, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.dash-rewards-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
        transparent 20%,
        rgba(255,235,130,0.04) 35%,
        rgba(255,245,180,0.1) 50%,
        rgba(255,235,130,0.04) 65%,
        transparent 80%);
    transform: skewX(-15deg);
    animation: cardGlossySweep 5s ease-in-out infinite 2s;
    pointer-events: none;
}

.dash-rewards-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 0.85rem;
}

.dash-rewards-title {
    font-family: var(--mono);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1) 50%, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 6px rgba(212,175,55,0.45));
    white-space: nowrap;
}

.dash-rewards-total {
    font-family: var(--mono);
    font-size: clamp(1rem, 5.5vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 35%, var(--gold-2) 75%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(212,175,55,0.6));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-rewards-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.35) 30%, rgba(212,175,55,0.35) 70%, transparent);
    margin: 0 0.7rem;
    flex-shrink: 0;
}

.dash-rewards-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.18rem;
}

.dash-rewards-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
}

.dash-rewards-item-label {
    font-family: var(--mono);
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 3px rgba(212,175,55,0.25));
    white-space: nowrap;
}

.dash-rewards-item-val {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .dash-rewards-card::after { animation: none; }
}

.dash-greeting { margin-bottom: 1rem; }

.dash-greeting-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.dash-greeting-sub {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-top: 0.12rem;
}

.dash-balance-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    background:
        linear-gradient(145deg,
            rgba(30, 61, 44, 0.75) 0%,
            rgba(20, 41, 34, 0.65) 40%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem 1.4rem;
    margin-bottom: 0.85rem;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.08),
        0 8px 28px -6px rgba(0, 0, 0, 0.65),
        0 0 50px -12px rgba(212, 175, 55, 0.28),
        inset 0 1px 0 rgba(212, 175, 55, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.dash-balance-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.dash-balance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 235, 130, 0.04) 35%,
        rgba(255, 245, 180, 0.13) 50%,
        rgba(255, 235, 130, 0.04) 65%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: cardGlossySweep 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes cardGlossySweep {
    0%   { left: -120%; opacity: 0; }
    10%  { opacity: 1; }
    55%  { left: 160%; opacity: 1; }
    60%  { opacity: 0; }
    100% { left: 160%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dash-balance-card::after { animation: none; }
}

.dash-balance-left {
    flex: 1;
    min-width: 0;
}

.dash-balance-welcome {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 0.55rem;
}

.dash-balance-label {
    font-size: 0.62rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.dash-balance-value {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dash-balance-sym {
    font-size: 1.1rem;
    margin-right: 0.1rem;
    vertical-align: baseline;
}

.dash-balance-redeem {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.dash-balance-redeem-label {
    font-size: 0.6rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-balance-redeem-val {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-2);
}

.dash-balance-logo-wrap {
    width: 88px;
    height: 124px;
    flex-shrink: 0;
    position: relative;
    perspective: 600px;
    transform-style: preserve-3d;
    animation: splashLogoFlip 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.dash-balance-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(212,175,55,0.45));
    backface-visibility: hidden;
}

.dash-logo-front { transform: rotateY(0deg); }
.dash-logo-back  { transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
    .dash-balance-logo-wrap { animation: none; }
}

.dash-balance-actions { display: flex; gap: 0.5rem; }

.dash-pkg-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.1rem 0.38rem;
    border-radius: 3px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.dash-bal-eye {
    display: inline-block;
    vertical-align: top;
    margin-left: -11px;
    margin-top: 0.1rem;
    background: none;
    border: none;
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.75rem;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    line-height: 1;
    transition: color 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.dash-bal-eye:hover,
.dash-bal-eye:active { color: var(--gold); }

.dash-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border-radius: var(--radius-sm);
    padding: 0.58rem 0.5rem;
    font-size: 0.77rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.15s, transform 0.15s;
}

.dash-action-btn:active { transform: scale(0.97); }

.dash-action-primary {
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 50%, var(--gold-2) 100%);
    color: #1a1000;
    box-shadow: 0 4px 16px -4px rgba(212,175,55,0.4);
}

.dash-action-secondary {
    background: linear-gradient(135deg, var(--bg-panel-3), var(--bg-panel-2));
    border: var(--card-border);
    color: var(--text-main);
}

.dash-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.dash-stat-box {
    background: linear-gradient(150deg, #1a3226 0%, #0f1f18 55%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.9rem;
    box-shadow:
        0 4px 14px -4px rgba(0, 0, 0, 0.5),
        0 0 20px -8px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(212, 175, 55, 0.12),
        inset 0 0 0 0 transparent;
    position: relative;
    overflow: hidden;
}

.dash-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(244,208,63,0.35) 0%, transparent 70%);
    pointer-events: none;
}

.dash-stat-label {
    font-size: 0.6rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.32rem;
    line-height: 1.2;
}

.dash-stat-value {
    font-family: var(--mono);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
}

.dash-referral-box {
    background: linear-gradient(145deg, #162a20 0%, #0f1f18 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.95rem;
    margin-bottom: 1rem;
    box-shadow:
        0 4px 16px -6px rgba(0, 0, 0, 0.5),
        0 0 24px -10px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.dash-referral-label {
    font-size: 0.65rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.dash-referral-label i { color: var(--gold-1); margin-right: 0.3rem; }

.dash-referral-row { display: flex; align-items: center; gap: 0.5rem; }

.dash-referral-url {
    flex: 1;
    font-size: 0.7rem;
    color: var(--gold-2);
    font-family: var(--mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-referral-copy-btn {
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xs);
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gold-1);
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background 0.15s;
}
.dash-referral-copy-btn:hover { background: rgba(212,175,55,0.18); }

.dash-referral-locked .dash-referral-locked-msg { font-size: 0.73rem; color: var(--text-soft); }
.dash-referral-locked .dash-referral-locked-msg i { margin-right: 0.35rem; }

.dash-section {
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #1e3d2c 0%, #0f2218 45%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.06),
        0 6px 24px -6px rgba(0, 0, 0, 0.6),
        0 0 40px -8px rgba(212, 175, 55, 0.35),
        inset 0 1px 0 rgba(212, 175, 55, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.dash-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.55rem;
}

.dash-section-spaced { margin-top: 1.5rem; }
.dash-balance-value-centered { text-align: center; }
.dash-balance-cta { display: block; width: 100%; margin-top: 0.9rem; }

.address-card-selectable {
    display: block;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.address-card-selectable:has(.address-radio-input:checked) {
    border-color: var(--gold-1);
    background: rgba(212, 175, 55, 0.05);
}

.address-radio-input {
    accent-color: var(--gold-1);
    margin-right: 0.3rem;
}

.dash-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--text-soft);
    font-size: 0.78rem;
}

.dash-empty-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.45rem;
}

.dash-empty-cta {
    display: inline-block;
    margin-top: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-xs);
    padding: 0.5rem 1rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gold-1);
    text-decoration: none;
}

.dash-packages { display: flex; flex-direction: column; gap: 0.55rem; }

.dash-package-card {
    background: linear-gradient(150deg, #1c3328 0%, #142922 40%, #0c1d15 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 18px -6px rgba(0, 0, 0, 0.55),
        0 0 28px -10px rgba(212, 175, 55, 0.18),
        inset 0 1px 0 rgba(212, 175, 55, 0.15),
        inset 0 0 30px -15px rgba(212, 175, 55, 0.06);
}

.dash-package-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,208,63,0.4) 50%, transparent);
    pointer-events: none;
}

.dash-pkg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.dash-pkg-name { font-size: 0.78rem; font-weight: 700; color: var(--text-main); }

.dash-pkg-badge {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.18rem 0.45rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.04em;
}

.dash-pkg-real {
    background: rgba(14,203,129,0.1);
    color: var(--up);
    border: 1px solid rgba(14,203,129,0.25);
}
.dash-pkg-support {
    background: rgba(212,175,55,0.08);
    color: var(--gold-2);
    border: 1px solid rgba(212,175,55,0.18);
}

.dash-pkg-capital {
    font-family: var(--mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.dash-pkg-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-soft);
    margin-bottom: 0.55rem;
}

.dash-pkg-cap-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--text-soft);
    margin-bottom: 0.22rem;
}

.dash-pkg-cap-bar {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.dash-pkg-cap-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-3), var(--gold-1));
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(212,175,55,0.4);
    transition: width 0.7s ease;
}

.tx-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.tx-section-header-spaced { margin-top: 0.5rem; }

.tx-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1) 50%, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.tx-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.35), transparent);
    margin-left: 0.55rem;
}

.tx-see-all {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold-2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tx-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tx-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background:
        linear-gradient(145deg,
            rgba(26, 50, 38, 0.72) 0%,
            rgba(15, 31, 24, 0.65) 50%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
    transition: border-color 0.15s;
}

.tx-item:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.tx-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.tx-roi      { background: rgba(14,203,129,0.12); color: #0ecb81; border: 1px solid rgba(14,203,129,0.2); }
.tx-rebate   { background: rgba(88,160,255,0.12); color: #58a0ff; border: 1px solid rgba(88,160,255,0.2); }
.tx-rank     { background: rgba(212,175,55,0.12); color: var(--gold-1); border: 1px solid rgba(212,175,55,0.2); }
.tx-referral { background: rgba(168,85,247,0.12); color: #a855f7; border: 1px solid rgba(168,85,247,0.2); }
.tx-elite    { background: rgba(251,146,60,0.12); color: #fb923c; border: 1px solid rgba(251,146,60,0.2); }
.tx-wd       { background: rgba(246,70,93,0.12);  color: var(--down); border: 1px solid rgba(246,70,93,0.2); }
.tx-invest   { background: rgba(34,197,94,0.1);   color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.tx-adjust   { background: rgba(148,163,184,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }
.tx-default  { background: rgba(212,175,55,0.08); color: var(--gold-2); border: 1px solid var(--border-soft); }

.tx-info { flex: 1; min-width: 0; }

.tx-type {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-date {
    font-size: 0.6rem;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

.tx-balance-after {
    font-size: 0.58rem;
    color: var(--text-muted);
    margin-top: 0.08rem;
    font-family: var(--mono);
}

.tx-amount {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    text-align: right;
}

.tx-amount-credit { color: var(--up); }
.tx-amount-debit  { color: var(--down); }

.dash-tx-list { display: flex; flex-direction: column; gap: 0.45rem; }
.dash-tx-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.85rem; }
.dash-tx-info { flex: 1; min-width: 0; }
.dash-tx-type { font-size: 0.78rem; font-weight: 600; color: var(--text-main); }
.dash-tx-date { font-size: 0.6rem; color: var(--text-soft); }
.dash-tx-amount { font-family: var(--mono); font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.dash-tx-amount.dash-tx-credit { color: var(--up); }
.dash-tx-amount.dash-tx-debit  { color: var(--down); }

.splash-page {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    position: fixed;
    inset: 0;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(6, 14, 11, 0.35) 0%, rgba(6, 14, 11, 0.72) 55%, rgba(6, 14, 11, 0.88) 100%);
    animation: landBgDrift 18s ease-in-out infinite alternate;
}

@keyframes landBgDrift {
    0%   { background-position: 50% 0%, 0 0; }
    100% { background-position: 42% 8%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .splash-page { animation: none; }
}

.land-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.land-particle {
    position: absolute;
    bottom: -20px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-1);
    box-shadow: 0 0 6px 1px rgba(244, 208, 63, 0.8);
    opacity: 0;
    animation-name: landParticleFloat;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes landParticleFloat {
    0%   { transform: translateY(0) scale(0.6); opacity: 0; }
    10%  { opacity: 0.9; }
    80%  { opacity: 0.5; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .land-particle { display: none; }
}

.land-particle-1 { left: 6%; animation-delay: 0s; animation-duration: 9.5s; }
.land-particle-2 { left: 18%; animation-delay: 2.2s; animation-duration: 11s; }
.land-particle-3 { left: 34%; animation-delay: 4.5s; animation-duration: 8.5s; }
.land-particle-4 { left: 52%; animation-delay: 1.2s; animation-duration: 12s; }
.land-particle-5 { left: 68%; animation-delay: 3.6s; animation-duration: 9s; }
.land-particle-6 { left: 82%; animation-delay: 5.8s; animation-duration: 10.5s; }
.land-particle-7 { left: 93%; animation-delay: 0.8s; animation-duration: 8.5s; }

.land-scroll {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.land-hero,
.land-plans,
.land-bonus,
.land-dinar,
.land-features,
.land-footer-cta {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.land-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5.25rem 1.75rem 2rem;
    position: relative;
    isolation: isolate;
}

.splash-waves {
    position: absolute;
    left: 0;
    width: 100%;
    height: 18%;
    min-height: 90px;
    z-index: -1;
    overflow: hidden;
}

.splash-waves-top {
    top: 0;
}

.splash-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    display: block;
}

.splash-wave-1 {
    animation: splashWaveMove 16s linear infinite;
}

.splash-wave-2 {
    animation: splashWaveMove 11s linear infinite reverse;
}

@keyframes splashWaveMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .splash-wave-1,
    .splash-wave-2 {
        animation: none;
    }
}

.splash-logo-wrap {
    width: 150px;
    height: 195px;
    margin: 0 auto 1.5rem;
    position: relative;
    perspective: 600px;
    transform-style: preserve-3d;
    animation: splashLogoFlip 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.splash-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--gold-glow));
    backface-visibility: hidden;
}

.splash-logo-front {
    transform: rotateY(0deg);
}

.splash-logo-back {
    transform: rotateY(180deg);
}

@keyframes splashLogoFlip {
    0%, 8% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    92%, 100% { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .splash-logo-wrap {
        animation: none;
    }
}

.land-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(10, 22, 16, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin-bottom: 1.5rem;
}

.land-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 8px 1px var(--up);
    animation: landBadgePulse 1.8s ease-in-out infinite;
}

@keyframes landBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

@media (prefers-reduced-motion: reduce) {
    .land-hero-badge-dot { animation: none; }
}

.splash-tagline {
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

a.land-hero-signin {
    position: absolute;
    top: 1.6rem;
    left: 1.5rem;
    z-index: 5;
    width: auto;
    display: inline-flex;
    border-radius: 999px;
}

a.land-hero-signin .sb-label {
    padding: 0.26rem 0.75rem;
    font-size: 0.6rem;
    border-radius: 999px;
}

.land-hero-scroll-hint {
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: landScrollHintBounce 2s ease-in-out infinite;
}

@keyframes landScrollHintBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .land-hero-scroll-hint { animation: none; }
}

.land-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.land-reveal-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .land-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.land-section-title {
    font-family: 'Noto Serif Oriya', serif;
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 40%, var(--gold-2) 80%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.35));
    margin-bottom: 0.35rem;
}

.land-section-sub {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.land-plans {
    padding: 0 0 2.25rem;
    text-align: center;
}

.land-plans .land-section-title,
.land-plans .land-section-sub {
    padding: 0 1.25rem;
}

.land-plans-slide {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.35rem 1.25rem 0.75rem;
}

.land-plans-slide::-webkit-scrollbar {
    display: none;
}

.land-plans-track {
    display: flex;
    gap: 0.6rem;
    width: max-content;
}

.land-plan-card {
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(30, 61, 44, 0.55) 0%, rgba(15, 34, 24, 0.7) 50%, rgba(8, 18, 16, 0.75) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-sm);
    box-shadow:
        0 6px 20px -6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(212, 175, 55, 0.12);
    padding: 0.9rem 0.6rem 0.75rem;
}

.land-plan-best {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow:
        0 6px 24px -6px rgba(0, 0, 0, 0.65),
        0 0 36px -10px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.25);
}

.land-plan-best::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg,
        transparent 20%,
        rgba(255, 235, 130, 0.05) 35%,
        rgba(255, 245, 180, 0.14) 50%,
        rgba(255, 235, 130, 0.05) 65%,
        transparent 80%);
    transform: skewX(-15deg);
    animation: cardGlossySweep 5s ease-in-out infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .land-plan-best::after { animation: none; }
}

.land-plan-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #2a1d05;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.2rem 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.land-plan-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.72rem;
    margin-top: 0.5rem;
}

.land-plan-rate {
    font-family: var(--mono);
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 35%, var(--gold-2) 75%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.45));
}

.land-plan-rate span {
    font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 0.58rem;
    color: var(--text-soft);
    -webkit-text-fill-color: var(--text-soft);
}

.land-plan-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.45rem;
    font-size: 0.58rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.land-bonus {
    padding: 0 1.25rem 2.25rem;
    text-align: center;
}

.land-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.land-bonus-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    background: linear-gradient(90deg, rgba(30, 61, 44, 0.55) 0%, rgba(15, 34, 24, 0.7) 60%, rgba(8, 18, 16, 0.78) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-left: 3px solid var(--gold-2);
    border-radius: var(--radius-sm);
    box-shadow:
        0 4px 16px -6px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    padding: 0.75rem 0.9rem;
}

.land-bonus-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/icon.png');
    background-size: cover;
    background-position: center;
    border-radius: 9px;
}

.land-bonus-icon i {
    font-size: 0.85rem;
    color: var(--gold-1);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6));
}

.land-bonus-info {
    flex: 1;
    min-width: 0;
}

.land-bonus-rank {
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.land-bonus-req {
    font-size: 0.63rem;
    color: var(--text-soft);
    line-height: 1.4;
}

.land-bonus-divider {
    flex: 0 0 auto;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.35) 30%, rgba(212,175,55,0.35) 70%, transparent);
}

.land-bonus-pct {
    flex: 0 0 auto;
    font-family: var(--mono);
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 35%, var(--gold-2) 75%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.land-bonus-pct-sm {
    font-size: 0.8rem;
}

.land-dinar {
    padding: 0 1.25rem 2.25rem;
    text-align: center;
}

.land-dinar-card {
    background:
        linear-gradient(145deg, rgba(30, 61, 44, 0.55) 0%, rgba(15, 34, 24, 0.72) 50%, rgba(8, 18, 16, 0.8) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius);
    box-shadow:
        0 6px 22px -6px rgba(0, 0, 0, 0.6),
        0 0 40px -12px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.15);
    padding: 1.6rem 1.25rem 1.4rem;
}

.land-dinar-visual {
    width: 132px;
    height: 186px;
    margin: 0 auto 1.15rem;
    position: relative;
    perspective: 700px;
    transform-style: preserve-3d;
    animation: splashLogoFlip 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.land-dinar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(212, 175, 55, 0.3));
    backface-visibility: hidden;
}

.land-dinar-front { transform: rotateY(0deg); }
.land-dinar-back { transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
    .land-dinar-visual { animation: none; }
}

.land-dinar-desc {
    font-size: 0.76rem;
    color: var(--text-soft);
    line-height: 1.55;
    max-width: 320px;
    margin: 0 auto;
}

.land-features {
    padding: 0 1.25rem 2.25rem;
    text-align: center;
}

.land-feature-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    background: linear-gradient(145deg, rgba(30, 61, 44, 0.45) 0%, rgba(15, 34, 24, 0.62) 50%, rgba(8, 18, 16, 0.7) 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-sm);
    box-shadow:
        0 4px 16px -6px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.08);
    padding: 0.8rem 1rem;
    margin-bottom: 0.65rem;
}

.land-feature-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/icon.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.land-feature-icon i {
    font-size: 1rem;
    color: var(--gold-1);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.land-feature-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.land-feature-desc {
    font-size: 0.72rem;
    color: var(--text-soft);
    line-height: 1.4;
}

.land-footer-cta {
    padding: 1rem 1.25rem 2.5rem;
    text-align: center;
}

.land-footer-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(30, 61, 44, 0.7) 0%, rgba(15, 34, 24, 0.8) 45%, rgba(8, 18, 16, 0.85) 100%),
        url('../img/card-frame-3.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow:
        0 8px 28px -6px rgba(0, 0, 0, 0.65),
        0 0 50px -14px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.18);
}

.land-footer-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg,
        transparent 20%,
        rgba(255, 235, 130, 0.04) 35%,
        rgba(255, 245, 180, 0.12) 50%,
        rgba(255, 235, 130, 0.04) 65%,
        transparent 80%);
    transform: skewX(-15deg);
    animation: cardGlossySweep 5s ease-in-out infinite 1.5s;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .land-footer-panel::after { animation: none; }
}

.land-footer-cta-title {
    font-family: 'Noto Serif Oriya', serif;
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 40%, var(--gold-2) 80%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.35));
    margin-bottom: 0.35rem;
    position: relative;
}

.land-footer-cta-sub {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 1.35rem;
    position: relative;
}

.land-footer-cta-btn {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}

.land-footer-note {
    margin-top: 1.5rem;
    font-size: 0.66rem;
    color: var(--text-muted);
}

.mem-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    text-decoration: none;
    color: var(--text-main);
}

.mem-list-item:last-child {
    border-bottom: none;
}

.mem-list-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-panel-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    flex-shrink: 0;
}

.mem-list-text {
    flex: 1;
}

.mem-list-title {
    font-size: 0.86rem;
    font-weight: 600;
}

.mem-list-sub {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

.mem-list-chevron {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.pill-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pill-option {
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: all 0.15s;
}

.pill-option.active {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a1306;
    border-color: transparent;
}

.gold-stripe-btn {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 3px;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    overflow: hidden;
    background: var(--bg-panel-2);
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.gold-stripe-btn:focus,
.gold-stripe-btn:focus-visible {
    outline: none;
}

.gold-stripe-btn::before,
.gold-stripe-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220%;
    height: 220%;
    margin-top: -110%;
    margin-left: -110%;
    z-index: -1;
}

.gold-stripe-btn::before {
    background: conic-gradient(#fbe8a3, var(--gold-1), var(--gold-2), #8a6d1f, var(--gold-2), var(--gold-1), #fbe8a3);
    animation: goldBorderSpin 3.5s linear infinite;
}

.gold-stripe-btn::after {
    background: conic-gradient(var(--gold-2), #8a6d1f, var(--gold-1), #fbe8a3, var(--gold-1), var(--gold-2));
    animation: goldBorderSpinReverse 4.5s linear infinite;
    opacity: 0.5;
}

@keyframes goldBorderSpin {
    to { transform: rotate(360deg); }
}

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

@media (prefers-reduced-motion: reduce) {
    .gold-stripe-btn::before,
    .gold-stripe-btn::after {
        animation: none;
    }
}

.gold-stripe-btn .sb-label {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 11px;
    background: linear-gradient(160deg, #fbe8a3 0%, var(--gold-1) 35%, var(--gold-2) 75%, #b8902a 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 4px rgba(0, 0, 0, 0.18),
        0 6px 16px -6px rgba(0, 0, 0, 0.5);
    color: #2a1d05;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.4rem;
    line-height: 1;
    white-space: nowrap;
    font-size: 0.92rem;
}

.toast-stack {
    position: fixed;
    left: 50%;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(92vw, 380px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 9999;
    pointer-events: none;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(20, 41, 34, 0.9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.55);
    color: var(--text-main);
    font-size: 0.85rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: auto;
}

.toast-item.toast-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-item.toast-hide {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
}

.toast-item i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.toast-success {
    border-color: rgba(75, 200, 140, 0.35);
}

.toast-success i {
    color: #4bc88c;
}

.toast-error {
    border-color: rgba(220, 90, 90, 0.4);
}

.toast-error i {
    color: #e06868;
}

.toast-info i {
    color: var(--gold-1);
}

@media (prefers-reduced-motion: reduce) {
    .toast-item {
        transition: opacity 0.15s linear;
        transform: none !important;
    }
}

.locale-switcher {
    position: absolute;
    top: 1.9rem;
    right: 2.3rem;
    z-index: 5;
}

a.auth-home-link {
    position: absolute;
    top: 1.9rem;
    left: 2.3rem;
    z-index: 5;
    width: auto;
    display: inline-flex;
    border-radius: 999px;
}

a.auth-home-link .sb-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.85rem;
    font-size: 0.68rem;
    border-radius: 999px;
}

.locale-switcher-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 22, 16, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-soft);
    border-radius: 9px;
    padding: 0.4rem 0.65rem;
    color: var(--gold-1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.locale-switcher-trigger:hover {
    background: rgba(10, 22, 16, 0.9);
    border-color: var(--gold-2);
}

.locale-flag {
    font-size: 0.95rem;
    line-height: 1;
}

.locale-switcher-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 84px;
    background: rgba(12, 26, 19, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    padding: 0.35rem;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    gap: 0.15rem;
}

.locale-switcher-menu.open {
    display: flex;
}

.locale-switcher-menu form {
    display: contents;
}

.locale-switcher-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 0.45rem 0.6rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.locale-switcher-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-main);
}

.locale-switcher-item.active {
    color: var(--gold-1);
    background: rgba(212, 175, 55, 0.14);
}

.reg-steps-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.reg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.25);
    transition: background 0.2s, transform 0.2s;
}

.reg-dot.active {
    background: var(--gold-1);
    transform: scale(1.2);
}

.reg-step {
    display: none;
}

.reg-step.active {
    display: block;
}

.reg-step-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.reg-back-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-soft);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0.6rem 0.4rem;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.reg-back-btn:hover {
    color: var(--gold-1);
}

.reg-step-actions .gold-stripe-btn {
    flex: 1;
}

.profile-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.profile-status-box {
    background: linear-gradient(150deg, #1a3226 0%, #0f1f18 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.45), inset 0 1px 0 rgba(212,175,55,0.1);
}

.profile-status-label {
    font-size: 0.6rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.28rem;
}

.profile-status-value {
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel));
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--card-shadow);
}

.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-3), var(--gold-1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px -4px rgba(212,175,55,0.4);
    border: 2px solid rgba(212,175,55,0.3);
}

.profile-avatar-initials { font-size: 1.3rem; font-weight: 800; color: #1a1000; }
.profile-name { font-size: 0.95rem; font-weight: 700; color: var(--text-main); }
.profile-username { font-size: 0.72rem; color: var(--gold-1); margin-top: 0.1rem; }
.profile-since { font-size: 0.63rem; color: var(--text-soft); margin-top: 0.12rem; }

.profile-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    background: var(--bg-panel);
    border: var(--card-border);
    border-radius: var(--radius-sm);
    padding: 0.22rem;
}

.profile-tab {
    flex: 1;
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.48rem 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--bg-panel-3), var(--bg-panel-2));
    color: var(--gold-1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.profile-tab-content { display: none; }
.profile-tab-content.active {
    display: block;
    background: linear-gradient(145deg, rgba(30, 61, 44, 0.5) 0%, rgba(15, 34, 24, 0.65) 50%, rgba(8, 18, 16, 0.72) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.profile-toggle-item {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.profile-toggle-item:last-of-type { margin-bottom: 0; }

.profile-toggle-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212, 175, 55, 0.05);
    border: none;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.profile-toggle-item.open .profile-toggle-header {
    background: rgba(212, 175, 55, 0.1);
}

.profile-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--gold-1);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.profile-toggle-btn i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.profile-toggle-item.open .profile-toggle-btn i {
    transform: rotate(180deg);
}

.profile-toggle-body { display: none; }
.profile-toggle-item.open .profile-toggle-body { display: block; }

.profile-toggle-body-inner {
    padding: 0.9rem;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.profile-toggle-submit { margin-top: 0.3rem; }

.profile-logout-form { margin-top: 1rem; }

.profile-logout-cta {
    background: linear-gradient(135deg, rgba(246, 70, 93, 0.15), rgba(246, 70, 93, 0.05));
    border-color: rgba(246, 70, 93, 0.3);
}

.profile-logout-cta .sb-label { color: var(--down); }

.profile-field { margin-bottom: 0.8rem; }

.profile-field-label {
    font-size: 0.63rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.profile-field .mem-field-wrap input, .mem-field .mem-field-wrap input {
    padding-left: 2.1rem;
}

.profile-field-static {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
}

.profile-field-hint {
    font-size: 0.62rem;
    color: var(--text-soft);
    margin-top: 0.28rem;
    line-height: 1.4;
}

.profile-wallet-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel));
    border: var(--card-border);
    border-radius: var(--radius-xs);
    padding: 0.6rem 0.75rem;
    box-shadow: var(--card-shadow);
}

.profile-wallet-addr {
    flex: 1;
    min-width: 0;
    font-size: 0.67rem;
    font-family: var(--mono);
    color: var(--gold-2);
    word-break: break-all;
    line-height: 1.4;
}

.profile-divider {
    height: 1px;
    background: rgba(212,175,55,0.08);
    margin: 1rem 0;
}

.profile-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.65rem;
}

.profile-security-form { margin-bottom: 0; }

.profile-update-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--bg-panel-3), var(--bg-panel-2));
    border: var(--card-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: var(--card-shadow);
}

.profile-update-btn:hover { background: rgba(212,175,55,0.07); }

.profile-logout-btn {
    width: 100%;
    background: rgba(246,70,93,0.05);
    border: 1px solid rgba(246,70,93,0.22);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--down);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background 0.15s;
}

.profile-logout-btn:hover { background: rgba(246,70,93,0.08); }

.profile-hero-card {
    background: linear-gradient(145deg, #1e3d2c 0%, #0f2218 45%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.06),
        0 6px 24px -6px rgba(0, 0, 0, 0.6),
        0 0 40px -8px rgba(212, 175, 55, 0.35),
        inset 0 1px 0 rgba(212, 175, 55, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.profile-hero-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.profile-hero-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    font-size: 1.1rem;
    font-weight: 800;
    color: #2a1d05;
}

.profile-hero-identity { min-width: 0; }

.profile-hero-name {
    font-family: 'Noto Serif Oriya', serif;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 40%, var(--gold-2) 80%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.profile-hero-username {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--text-soft);
}

.profile-hero-username i { color: var(--gold-2); font-size: 0.68rem; }

.profile-hero-since {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.profile-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.profile-status-tile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(8, 18, 16, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.65rem;
}

.profile-status-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/icon.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.profile-status-icon i {
    font-size: 0.8rem;
    color: var(--gold-1);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6));
}

.profile-status-info { min-width: 0; }

.profile-status-label {
    font-size: 0.58rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.profile-status-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-status-value.is-up { color: var(--up); }
.profile-status-value.is-warn { color: var(--gold-1); }
.profile-status-value.is-down { color: var(--down); }

.profile-elite-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--gold-1);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.invest-header { margin-bottom: 1rem; }

.invest-page-header {
    background:
        linear-gradient(145deg,
            rgba(30, 61, 44, 0.75) 0%,
            rgba(20, 41, 34, 0.65) 40%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1rem;
    margin-bottom: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.08),
        0 6px 24px -6px rgba(0,0,0,0.6),
        0 0 40px -10px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(212,175,55,0.18);
}

.invest-page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,235,130,0.45) 50%, transparent);
    pointer-events: none;
}

.invest-header-title {
    font-family: 'Noto Serif Oriya', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 40%, var(--gold-2) 80%, #c8952a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
    margin-bottom: 0.75rem;
    line-height: 1;
}

.invest-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.invest-new-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #fbe8a3 0%, var(--gold-1) 50%, var(--gold-2) 100%);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a1000;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px -4px rgba(212,175,55,0.4);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: filter 0.15s, transform 0.15s;
}
.invest-new-btn:active { transform: scale(0.96); }

.my-pkg-list {
    background: linear-gradient(160deg, #0f1f18 0%, #081210 100%);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-height: 55vh;
    overflow-y: auto;
    scrollbar-width: none;
}
.my-pkg-list::-webkit-scrollbar { display: none; }

.my-pkg-card {
    background: transparent;
    border-bottom: 1px solid rgba(212,175,55,0.08);
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.my-pkg-card:last-child { border-bottom: none; }
.my-pkg-card:active { background: rgba(212,175,55,0.05); }

.my-pkg-off {
    opacity: 0.65;
    border-color: rgba(255,255,255,0.08);
}

.my-pkg-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.28rem;
}

.my-pkg-name {
    font-size: 0.78rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.my-pkg-date { font-size: 0.58rem; color: var(--text-soft); }

.my-pkg-right { text-align: right; }

.my-pkg-capital {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.my-pkg-status {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.1rem 0.38rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-left: 0.4rem;
}

.my-pkg-active { background: rgba(14,203,129,0.12); color: var(--up); border: 1px solid rgba(14,203,129,0.22); }
.my-pkg-done   { background: rgba(148,163,184,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.18); }

.my-pkg-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

.my-pkg-bar-label { display: flex; justify-content: space-between; font-size: 0.58rem; color: var(--text-soft); margin-bottom: 0.18rem; }

.my-pkg-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.my-pkg-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(212,175,55,0.35);
    transition: width 0.7s ease;
}

.my-pkg-bar-full { background: linear-gradient(90deg, #94a3b8, #64748b); box-shadow: none; }

.vault-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    max-height: 55vh;
    overflow-y: auto;
    padding: 0.2rem;
}

.vault-sheet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(145deg, rgba(26, 50, 38, 0.6) 0%, rgba(15, 31, 24, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0.6rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.3);
}

.vault-sheet-item[data-can-afford="1"]:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(145deg, rgba(30, 58, 44, 0.7) 0%, rgba(20, 42, 30, 0.6) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
}

.vault-sheet-item[data-can-afford="1"]:active {
    transform: translateY(0);
    border-color: rgba(212, 175, 55, 0.5);
}

.vault-sheet-dim {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.vault-sheet-item-left {
    flex: 1;
    min-width: 0;
}

.vault-sheet-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.vault-sheet-name {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.vault-sheet-stats {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.vault-sheet-rate {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-1);
}

.vault-sheet-cap {
    font-size: 0.7rem;
    color: var(--text-soft);
}

.vault-sheet-capital {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.vault-sheet-action {
    color: var(--gold-1);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.vault-sheet-action i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.vault-sheet-insufficient {
    color: var(--text-muted);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.invest-balance-strip {
    display: flex;
    flex-direction: column;
}

.invest-balance-strip-row {
    display: flex;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-soft);
}

.invest-balance-label {
    font-size: 0.7rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invest-balance-value {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.invest-vault-list { display: flex; flex-direction: column; gap: 0.6rem; }

.invest-vault-card {
    background: linear-gradient(145deg, var(--bg-panel-2) 0%, var(--bg-panel) 100%);
    border: var(--card-border);
    border-top-color: rgba(212,175,55,0.22);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.invest-vault-card:active { border-color: var(--gold-2); box-shadow: 0 0 20px -8px rgba(212,175,55,0.25); }

.invest-vault-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.invest-vault-name {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #fbe8a3, var(--gold-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.invest-vault-capital {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.invest-vault-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.invest-vault-stat-label {
    font-size: 0.58rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.18rem;
}

.invest-vault-stat-value {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.invest-stake-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(212,175,55,0.07));
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: var(--radius-sm);
    padding: 0.58rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-1);
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.invest-stake-btn:not(.invest-stake-btn-disabled):hover {
    background: rgba(212, 175, 55, 0.18);
}

.invest-stake-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: var(--text-soft);
    border-color: var(--border-soft);
    background: transparent;
}

.invest-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.invest-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.invest-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: 85dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-panel);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(30px);
    transition: transform 0.26s cubic-bezier(0.34, 1.36, 0.64, 1);
}

.invest-modal-overlay.open .invest-modal {
    transform: translateY(0);
}

.invest-modal-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.invest-modal-summary {
    background: var(--bg-panel-2);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
}

.invest-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 0.2rem 0;
}

.invest-summary-row span { color: var(--text-soft); }
.invest-summary-row strong { color: var(--text-main); }

.invest-source-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.invest-source-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.4rem;
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.invest-source-tab i {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.invest-source-tab small {
    font-size: 0.65rem;
    font-family: var(--mono);
    color: var(--up);
}

.invest-source-tab.active {
    border-color: var(--gold-2);
    color: var(--gold-1);
    background: rgba(212, 175, 55, 0.06);
}

.invest-source-panel {
    display: none;
    margin-bottom: 0.9rem;
}

.invest-source-panel.active {
    display: block;
}

.invest-source-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.invest-deposit-wallet-label {
    font-size: 0.68rem;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invest-txhash-field {
    margin-top: 0.75rem;
}

.invest-txhash-label {
    font-size: 0.68rem;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invest-txhash-field .mem-field-wrap input {
    padding-left: 2.3rem;
    font-size: 0.72rem;
    font-family: var(--mono);
}

.invest-modal-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.invest-modal-cancel {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: all 0.15s ease;
    min-width: 5rem;
    text-align: center;
}

.invest-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-hover);
    color: var(--text-main);
}

.invest-modal-cancel:active {
    background: rgba(255, 255, 255, 0.03);
    transform: scale(0.98);
}

.invest-modal-confirm {
    flex: 1;
}

@media (prefers-reduced-motion: reduce) {
    .invest-modal-overlay,
    .invest-modal {
        transition: none;
    }
}

.network-stat-slider {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
}

.network-stat-slider::-webkit-scrollbar { display: none; }

.network-stat-slide {
    flex: 0 0 calc(33.33% - 0.4rem);
    min-width: 90px;
    scroll-snap-align: start;
    background: linear-gradient(150deg, #1a3226 0%, #0f1f18 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.7rem 0.75rem;
    text-align: center;
    box-shadow:
        0 4px 14px -4px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(212,175,55,0.1);
}

.network-stat-slide-icon {
    font-size: 1rem;
    color: var(--gold-2);
    margin-bottom: 0.45rem;
    opacity: 0.8;
}

.network-stat-slide-val {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-1);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.network-stat-slide-label {
    font-size: 0.58rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.network-search-box {
    position: relative;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #1e3d2c 0%, #0f2218 45%, #081210 100%);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06), 0 6px 24px -6px rgba(0,0,0,0.6), inset 0 1px 0 rgba(212,175,55,0.22);
}

.network-search-box .mem-field-wrap input {
    padding-left: 2.3rem;
    font-size: 0.8rem;
    border-radius: 11px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-main);
}

.network-search-box .mem-field-wrap input:focus {
    border-color: var(--gold-1);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.network-search-box .field-icon {
    left: 0.2rem;
}

.network-search-results {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    z-index: 50;
    overflow: hidden;
    display: none;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
}
.network-search-results.open { display: block; }
.network-search-item { display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: inherit; }
.network-search-item:last-child { border-bottom: none; }
.network-search-item-info { flex: 1; min-width: 0; }
.network-search-meta { font-size: 0.65rem; color: var(--text-soft); margin-top: 0.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.network-search-empty { padding: 1rem; text-align: center; font-size: 0.78rem; color: var(--text-soft); }
.network-depth-pill { display: inline-block; font-size: 0.6rem; background: rgba(212,175,55,0.12); color: var(--gold-1); border-radius: 4px; padding: 0.1rem 0.35rem; margin-left: 0.3rem; vertical-align: middle; }

.network-expand-btn {
    display: inline-flex; align-items: center; gap: 0.2rem; background: rgba(212,175,55,0.08);
    border: 1px solid var(--border-soft); border-radius: 7px; padding: 0.2rem 0.4rem;
    font-size: 0.6rem; color: var(--gold-1); cursor: pointer; white-space: nowrap;
}
.network-expand-btn:disabled { opacity: 0.5; }
.network-expand-btn:not(:disabled):hover { background: rgba(212,175,55,0.15); }
.network-expand-btn-nested { margin-left: 0.4rem; }

.network-children { display: none; }
.network-children.open { display: block; }
.network-empty-msg { text-align: center; color: var(--text-soft); font-size: 0.8rem; padding: 0.5rem 0; }
.network-empty-msg-nested { padding-left: 1.5rem; text-align: left; }

.network-search-hint {
    font-size: 0.62rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
}

.network-node-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background:
        linear-gradient(145deg,
            rgba(26, 50, 38, 0.72) 0%,
            rgba(15, 31, 24, 0.65) 50%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius);
    padding: 0.65rem 0.8rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.network-node-card-nested { margin-left: 1.5rem; }

.network-node-card:hover {
    border-color: rgba(212, 175, 55, 0.7);
}

.network-node-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #2a1d05;
    flex-shrink: 0;
}

.network-avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
}

.network-node-info { flex: 1; min-width: 0; }

.network-node-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.network-node-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.network-stat-pill {
    font-size: 0.6rem;
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    padding: 0.1rem 0.4rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.network-stat-pill.gold {
    color: var(--gold-1);
    border-color: rgba(212,175,55,0.2);
}

.network-gate-badge {
    font-size: 0.6rem;
    color: var(--text-muted);
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    padding: 0.1rem 0.35rem;
    cursor: help;
}

.network-node-badge-wrap { flex-shrink: 0; }

.network-badge {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    white-space: nowrap;
}

.network-status-active   { background: rgba(14,203,129,0.12); color: var(--up); border: 1px solid rgba(14,203,129,0.25); }
.network-status-grace_period, .network-status-grace { background: rgba(244,208,63,0.12); color: var(--gold-1); border: 1px solid rgba(212,175,55,0.25); }
.network-status-inactive { background: rgba(246,70,93,0.1); color: var(--down); border: 1px solid rgba(246,70,93,0.25); }

}

.network-children-hidden { display: none; }

.network-empty-msg {
    font-size: 0.72rem;
    color: var(--text-soft);
    padding: 0.5rem 1rem;
}

.wd-balance-card {
    background: linear-gradient(160deg, var(--bg-panel-3) 0%, var(--bg-panel) 60%, var(--bg-deep) 100%);
    border: var(--card-border);
    border-top-color: rgba(212,175,55,0.35);
    border-radius: var(--radius);
    padding: 1.4rem 1.2rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: var(--card-shadow), 0 0 40px -15px rgba(212,175,55,0.12);
}

.wd-balance-meta {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.7rem;
    color: var(--text-soft);
    margin-top: 0.5rem;
}

.wd-notice {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.wd-form-card {
    background:
        linear-gradient(145deg,
            rgba(26, 50, 38, 0.72) 0%,
            rgba(15, 31, 24, 0.65) 50%,
            rgba(8, 18, 16, 0.6) 100%),
        url('../img/card-frame-3.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
}

.wd-notice-error {
    background: rgba(246, 70, 93, 0.08);
    border: 1px solid rgba(246, 70, 93, 0.25);
    color: var(--down);
}

.wd-notice-warn {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-1);
}

.wd-notice-link {
    margin-left: auto;
    color: var(--gold-1);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
}

.wd-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.wd-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    padding: 0.7rem 0.85rem;
    text-decoration: none;
    color: inherit;
}

.wd-history-clickable {
    width: 100%;
    font: inherit;
    cursor: pointer;
}

.wd-history-item:hover {
    border-color: var(--gold-1);
    background: rgba(212, 175, 55, 0.04);
}

.wd-history-amount {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.wd-history-date {
    font-size: 0.65rem;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

.wd-history-addr {
    font-size: 0.62rem;
    color: var(--text-soft);
    font-family: var(--mono);
    margin-top: 0.1rem;
}

.wd-history-right {
    text-align: right;
}

.wd-history-received {
    font-size: 0.65rem;
    color: var(--up);
    margin-top: 0.25rem;
    font-family: var(--mono);
}

.wd-status-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
}

.wd-status-pending    { background: rgba(212,175,55,0.12); color: var(--gold-1); border: 1px solid rgba(212,175,55,0.2); }
.wd-status-processing { background: rgba(88,160,255,0.1); color: #58a0ff; border: 1px solid rgba(88,160,255,0.2); }
.wd-status-sent       { background: rgba(14,203,129,0.12); color: var(--up); border: 1px solid rgba(14,203,129,0.25); }
.wd-status-failed     { background: rgba(246,70,93,0.1); color: var(--down); border: 1px solid rgba(246,70,93,0.25); }
.wd-status-shipped    { background: rgba(88,160,255,0.1); color: #58a0ff; border: 1px solid rgba(88,160,255,0.2); }
.wd-status-completed  { background: rgba(14,203,129,0.12); color: var(--up); border: 1px solid rgba(14,203,129,0.25); }
.wd-status-cancelled  { background: rgba(246,70,93,0.1); color: var(--down); border: 1px solid rgba(246,70,93,0.25); }

.address-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.address-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    padding: 0.75rem 0.9rem;
}

.address-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.address-card-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.address-default-badge {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 5px;
    background: rgba(212,175,55,0.12);
    color: var(--gold-1);
    border: 1px solid rgba(212,175,55,0.2);
}

.address-card-name {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
}

.address-card-text {
    font-size: 0.72rem;
    color: var(--text-main);
    margin-top: 0.15rem;
    line-height: 1.4;
}

.address-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.address-action-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    border-radius: 7px;
    border: 1px solid var(--border-soft);
    background: var(--bg-panel-2);
    color: var(--text-soft);
    cursor: pointer;
}

.address-action-btn:hover { border-color: var(--gold-1); color: var(--gold-1); }
.address-action-danger:hover { border-color: var(--down); color: var(--down); }

.order-stepper {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0.2rem 1.1rem;
}

.order-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 4.6rem;
}

.order-step-dot {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--bg-panel-2);
    border: 1px solid var(--border-soft);
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.order-step-label {
    font-size: 0.58rem;
    color: var(--text-soft);
    text-align: center;
    margin-top: 0.3rem;
    line-height: 1.25;
}

.order-step-done .order-step-dot {
    background: var(--gold-1);
    border-color: var(--gold-1);
    color: #1a1408;
}

.order-step-done .order-step-label { color: var(--text-main); }

.order-step-active .order-step-dot {
    border-color: var(--gold-1);
    color: var(--gold-1);
}

.order-step-active .order-step-label { color: var(--gold-1); font-weight: 700; }

.order-step-connector {
    flex: 1 1 auto;
    height: 2px;
    background: var(--border-soft);
    margin-top: 0.8rem;
}

.order-step-connector-done { background: var(--gold-1); }

.order-cancelled-msg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(246,70,93,0.08);
    border: 1px solid rgba(246,70,93,0.2);
    color: var(--down);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.order-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.72rem;
    color: var(--text-soft);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.order-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.order-detail-row strong { color: var(--text-main); text-align: right; font-weight: 600; }

.wd-history-more {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gold-1);
    text-decoration: none;
    margin-top: 0.7rem;
    padding: 0.4rem;
}

.history-filter-row {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
}

.history-filter-row::-webkit-scrollbar { display: none; }

.history-filter-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.75rem;
    border-radius: 20px;
    font-size: 0.67rem;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
    background: var(--bg-panel);
    border: var(--card-border);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.history-filter-btn i {
    font-size: 0.65rem;
    opacity: 0.8;
}

.history-filter-btn.active {
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.07));
    color: var(--gold-1);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 0 10px -4px rgba(212,175,55,0.2);
}

.history-filter-btn:not(.active):hover {
    background: rgba(212,175,55,0.06);
    color: var(--gold-2);
    border-color: rgba(212,175,55,0.2);
}

.history-tx-item {
    align-items: flex-start;
}

.history-balance-after {
    font-size: 0.62rem;
    color: var(--text-soft);
    margin-top: 0.2rem;
}

.history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.history-page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.78rem;
    transition: background 0.15s;
}

.history-page-btn:hover { background: rgba(212,175,55,0.1); color: var(--gold-1); }

.history-page-info {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.wd-verify-box {
    background: rgba(12, 26, 19, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin: 0.85rem 0;
}

.wd-verify-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-1);
    margin-bottom: 0.25rem;
}

.wd-verify-title i {
    margin-right: 0.35rem;
}

.wd-verify-hint {
    font-size: 0.65rem;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.wd-verify-box .auth-field {
    margin-bottom: 0.55rem;
}

.wd-verify-box .auth-field:last-child {
    margin-bottom: 0;
}

.wallet-header-sub {
    font-size: 0.68rem;
    color: var(--text-soft);
}

@keyframes walletShimmer {
    0%   { opacity: 0.3; }
    50%  { opacity: 0.7; }
    100% { opacity: 0.3; }
}

.wallet-bal-shimmer {
    animation: walletShimmer 1.2s ease-in-out infinite;
    color: var(--text-muted) !important;
}

.wallet-bal-loading {
    border-color: rgba(212,175,55,0.1) !important;
}

.wallet-balance-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.wallet-bal-box {
    background: linear-gradient(150deg, #1a3226 0%, #0f1f18 100%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    box-shadow: var(--card-shadow);
}

.wallet-bal-label {
    font-size: 0.6rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.wallet-bal-val {
    font-family: var(--mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-1);
}

.wallet-card {
    background:
        linear-gradient(145deg, rgba(26,50,38,0.75) 0%, rgba(15,31,24,0.7) 100%),
        url('../img/card-frame-2.png');
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.07),
        0 6px 24px -6px rgba(0,0,0,0.6),
        0 0 40px -10px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(212,175,55,0.15);
}

.wallet-qr-hint {
    font-size: 0.65rem;
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.wallet-qr-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.wallet-qr-frame {
    width: 180px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(212,175,55,0.4);
    box-shadow:
        0 0 0 4px rgba(212,175,55,0.08),
        0 0 30px -6px rgba(212,175,55,0.35);
    background: #0c1a13;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-qr-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wallet-qr-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    color: #1a1000;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.7rem;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.wallet-addr-box {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: var(--radius-xs);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    margin-top: 0.6rem;
}

.wallet-addr-text {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--gold-2);
    word-break: break-all;
    text-align: center;
    line-height: 1.5;
}

.wallet-copy-btn { width: 100%; }

.wallet-balance-summary {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.wallet-balance-summary-label {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.wallet-balance-summary-val {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-1);
}

.wallet-balance-summary-extra {
    color: var(--text-muted);
    font-size: 0.68rem;
    margin-left: 0.75rem;
}

.wallet-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(246,70,93,0.07);
    border: 1px solid rgba(246,70,93,0.2);
    border-radius: var(--radius-xs);
    padding: 0.75rem 0.9rem;
    font-size: 0.68rem;
    color: #e07080;
    line-height: 1.5;
}

.wallet-warning i { flex-shrink: 0; margin-top: 0.1rem; color: var(--down); }

.invest-bep20-info {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: var(--radius-xs);
    padding: 0.75rem 0.9rem;
}

.invest-bep20-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.invest-bep20-label {
    font-size: 0.68rem;
    color: var(--text-soft);
}

.invest-bep20-val {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--up);
}

.invest-bep20-desc {
    font-size: 0.65rem;
    color: var(--text-soft);
    line-height: 1.4;
}

.invest-src-icon-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.invest-token-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.invest-token-icon-tab { margin-right: 6px; }

.mem-bn-inner { padding: 0 0.5rem; }
.mem-bn-item { padding: 0.25rem 0.35rem; font-size: 0.5rem; }
.pool-icon-hero { font-size: 2.5rem; color: var(--gold-1); opacity: 0.7; }
.mem-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; flex-wrap: wrap; }
.mem-page-btn { padding: 0.25rem 0.6rem; border-radius: 6px; border: 1px solid var(--border-color); color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }
.mem-page-btn.active { background: var(--gold-1); color: #000; border-color: var(--gold-1); font-weight: 700; }
