ÃƒÂ¯Ã‚Â»Ã‚Â¿/* Xia-omi / DRIPLY Premium Fintech Theme */
:root {
    --brown-primary: #7D4E2E;
    --brown-dark: #4A2C2A;
    --brown-light: #A8643A;
    --gold: #DEA407;
    --success: #22C55E;
    --bg: #F7F5F2;
    --white: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-soft: 0 8px 32px rgba(107, 52, 16, 0.08);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-nav: 0 -4px 24px rgba(107, 52, 16, 0.12);
    --gradient-header: linear-gradient(180deg, #6B4428 0%, #4A2C2A 55%, #3D2318 100%);
    --gradient-btn: linear-gradient(145deg, #8B5A3C 0%, #4A2C2A 100%);
    --glass: rgba(255, 255, 255, 0.18);
    --glass-border: rgba(255, 255, 255, 0.28);
    --nav-height: 84px;
    --page-max: 480px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.driply-body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.driply-page {
    max-width: var(--page-max);
    margin: 0 auto;
    min-height: 100vh;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Header ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 12px 18px 78px;
    position: relative;
}

.driply-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.driply-lang-btn,
.driply-icon-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s;
    color: #fff;
    flex-shrink: 0;
    text-decoration: none;
}

.driply-lang-btn { border-radius: 50%; }
.driply-icon-btn { border-radius: 12px; }

.driply-lang-btn:hover,
.driply-icon-btn:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.driply-lang-btn img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.driply-icon-btn svg { width: 20px; height: 20px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Balance card (glass) ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-balance-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    text-align: center;
    color: #fff;
    animation: driplyFadeUp 0.5s var(--ease);
}

.driply-balance-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.92;
    margin-bottom: 8px;
}

.driply-balance-label svg { width: 16px; height: 16px; opacity: 0.9; }

.driply-balance-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 10px;
}

.driply-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.95;
}

.driply-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: driplyPulse 2s infinite;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Quick actions ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-content {
    padding: 0 16px 24px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.driply-quick-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(92, 61, 30, 0.12);
    padding: 22px 12px 18px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    animation: driplyFadeUp 0.55s var(--ease) 0.05s both;
}

.driply-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s var(--ease);
    text-decoration: none;
    color: var(--text-primary);
}

.driply-quick-item:hover { transform: translateY(-3px); }
.driply-quick-item:active { transform: scale(0.96); }

.driply-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s var(--ease);
}

.driply-quick-icon svg { width: 24px; height: 24px; }

.driply-quick-icon--recharge { background: #DCFCE7; color: #16A34A; }
.driply-quick-icon--withdraw { background: #FCE7F3; color: #DB2777; }
.driply-quick-icon--checkin { background: #FEF9C3; color: #CA8A04; }
.driply-quick-icon--support { background: #DBEAFE; color: #2563EB; }
.driply-quick-icon--share { background: #EDE9FE; color: #7C3AED; }

.driply-quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Banner slider ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-banner-wrap {
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    animation: driplyFadeUp 0.6s var(--ease) 0.1s both;
}

.driply-banner-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.driply-banner-slider::-webkit-scrollbar { display: none; }

.driply-banner-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    min-height: 180px;
    background: var(--gradient-header);
}

.driply-banner-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.driply-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(107, 52, 16, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: center;
    padding: 20px;
    pointer-events: none;
}

.driply-banner-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.driply-banner-text span { color: var(--gold); }

.driply-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}

.driply-banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D1D5DB;
    transition: background 0.3s, width 0.3s;
}

.driply-banner-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--brown-primary);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Section headers ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    animation: driplyFadeUp 0.65s var(--ease) 0.15s both;
}

.driply-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.driply-section-title .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: driplyPulse 2s infinite;
}

.driply-badge-realtime {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--success);
    background: #DCFCE7;
    padding: 4px 10px;
    border-radius: 999px;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Live withdrawal feed ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-feed-wrap {
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.driply-feed-wrap::before,
.driply-feed-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 1;
    pointer-events: none;
}

.driply-feed-wrap::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg, #F8F9FC), transparent);
}

.driply-feed-wrap::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg, #F8F9FC), transparent);
}

.driply-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.driply-feed.driply-feed--auto {
    margin-bottom: 0;
    animation: driplyFeedLoop 24s linear infinite;
    will-change: transform;
}

.driply-feed.driply-feed--auto:hover {
    animation-play-state: paused;
}

.driply-feed--auto .driply-feed-item {
    animation: none;
}

.driply-feed--auto .driply-feed-item:hover {
    transform: none;
    box-shadow: var(--shadow-card);
}

@keyframes driplyFeedLoop {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.driply-feed-item {
    background: var(--white);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    animation: driplyFadeUp 0.5s var(--ease) both;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.driply-feed-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.driply-feed-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brown-primary);
}

.driply-feed-avatar svg {
    width: 22px;
    height: 22px;
}

.driply-feed-avatar--1 { background: #FCE7F3; }
.driply-feed-avatar--2 { background: #FFEDD5; }
.driply-feed-avatar--3 { background: #EDE9FE; }
.driply-feed-avatar--4 { background: #DBEAFE; }

.driply-feed-body { flex: 1; min-width: 0; }

.driply-feed-user {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.driply-feed-msg {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.driply-feed-msg .check {
    display: inline-flex;
    align-items: center;
    color: var(--success);
}

.driply-feed-msg .check svg {
    width: 14px;
    height: 14px;
}

.driply-feed-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    white-space: nowrap;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Cards ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px 16px;
    margin-bottom: 16px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.driply-card:hover {
    box-shadow: var(--shadow-soft);
}

.driply-card--interactive:hover { transform: translateY(-2px); }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Plan cards ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
    animation: driplyFadeUp 0.5s var(--ease) both;
}

.driply-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.driply-plan-card.soldout { opacity: 0.6; pointer-events: none; }

.driply-plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.driply-plan-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brown-primary);
    margin: 0;
}

.driply-plan-badge {
    background: linear-gradient(135deg, var(--gold), #F59E0B);
    color: var(--brown-dark);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.driply-plan-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    background: #F9FAFB;
}

.driply-plan-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.driply-plan-stat {
    background: #F9FAFB;
    border-radius: var(--radius-sm);
    padding: 12px;
    border-left: 3px solid var(--brown-primary);
}

.driply-plan-stat-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.driply-plan-stat-value {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
}

.driply-progress {
    height: 6px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.driply-progress-bar {
    height: 100%;
    background: var(--gradient-btn);
    border-radius: 999px;
    transition: width 0.6s var(--ease);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Buttons ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.driply-btn--primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
}

.driply-btn--primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.38);
    color: #fff;
}

.driply-btn--secondary {
    background: var(--gold);
    color: var(--brown-dark);
    box-shadow: 0 4px 14px rgba(222, 164, 7, 0.35);
}

.driply-btn--secondary:hover { transform: scale(1.02); color: var(--brown-dark); }

.driply-btn:disabled,
.driply-btn.disabled {
    background: #9CA3AF;
    box-shadow: none;
    pointer-events: none;
    cursor: not-allowed;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Page hero (inner pages) ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-page-hero {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 20px 40px;
    color: #fff;
}

.driply-page-hero h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.driply-page-hero p {
    margin: 6px 0 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.driply-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    margin-bottom: 14px;
    transition: transform 0.2s;
}

.driply-back-btn:hover { transform: scale(1.05); }
.driply-back-btn svg { width: 20px; height: 20px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Tabs ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin: -20px 0 16px;
    position: relative;
    z-index: 3;
}

.driply-tab {
    flex: 1;
    padding: 11px 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.2s var(--ease);
}

.driply-tab.active,
.driply-tab.cur {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 69, 19, 0.25);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Profile ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-profile-card {
    margin: -28px 16px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.driply-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 69, 19, 0.15);
    flex-shrink: 0;
}

.driply-avatar img { width: 100%; height: 100%; object-fit: cover; }

.driply-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--success);
    background: #DCFCE7;
    padding: 3px 8px;
    border-radius: 999px;
    margin-top: 4px;
}

.driply-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.driply-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--brown-primary);
}

.driply-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brown-primary);
    margin-bottom: 4px;
    word-break: break-word;
}

.driply-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.driply-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.driply-menu-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.driply-menu-item:hover { transform: translateY(-2px); }

.driply-menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.driply-menu-icon svg { width: 20px; height: 20px; }

.driply-menu-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.driply-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 16px;
}

.driply-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.15s;
}

.driply-list-item:hover { background: #F9FAFB; }
.driply-list-item + .driply-list-item { border-top: 1px solid #F3F4F6; }
.driply-list-item svg { width: 18px; height: 18px; color: #9CA3AF; }

.driply-sign-out {
    display: block;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    color: #DC2626;
    font-size: 0.875rem;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Team ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: -32px 16px 16px;
    position: relative;
    z-index: 2;
}

.driply-team-stat {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.driply-team-stat .val {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.driply-team-stat .lbl {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.driply-ref-code {
    background: var(--gradient-btn);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.driply-ref-code .code {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.driply-copy-btn {
    background: #fff;
    color: var(--brown-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.driply-copy-btn:hover { transform: scale(1.04); }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Auth ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-auth-hero {
    padding: 48px 24px 80px;
    text-align: center;
}

.driply-auth-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.95);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.driply-auth-logo img { width: 100%; height: 100%; object-fit: cover; }

.driply-auth-hero h1 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.driply-auth-hero p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.driply-auth-form {
    margin: -48px 16px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.driply-field { margin-bottom: 18px; }

.driply-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.driply-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    background: #F9FAFB;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.driply-input:focus {
    outline: none;
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.driply-auth-link {
    text-align: center;
    margin-top: 18px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.driply-auth-link a {
    color: var(--brown-primary);
    font-weight: 700;
}

/* —— Login page (v2) — Paynex-style purple auth —— */
.login-v2-page {
    --auth-purple: #6D28D9;
    --auth-purple-dark: #5B21B6;
    --auth-purple-mid: #7C3AED;
    --auth-ring: rgba(109, 40, 217, 0.14);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F7F8FA;
}

.login-v2-shell {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 24px 40px;
    display: flex;
    flex-direction: column;
    animation: driplyFadeUp 0.4s var(--ease);
}

.login-v2-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.login-v2-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--auth-purple);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-v2-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-v2-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.login-v2-intro {
    margin-bottom: 28px;
}

.login-v2-intro h1 {
    margin: 0 0 8px;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.2;
}

.login-v2-intro p {
    margin: 0;
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.5;
    font-weight: 400;
}

.login-v2-form {
    display: flex;
    flex-direction: column;
}

.login-v2-field {
    margin-bottom: 14px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.login-v2-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: 0 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 54px;
}

.login-v2-input-group:focus-within {
    border-color: var(--auth-purple);
    box-shadow: 0 0 0 3px var(--auth-ring);
}

.login-v2-input-icon {
    width: 18px;
    height: 18px;
    color: var(--auth-purple);
    flex-shrink: 0;
}

.login-v2-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    height: 52px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #111827;
    outline: none;
    min-width: 0;
}

.login-v2-input-group input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.login-v2-prefix {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    padding-right: 10px;
    border-right: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.login-v2-pw-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.login-v2-pw-wrap input {
    width: 100%;
    padding-right: 40px;
}

.login-v2-toggle-pw {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 8px;
    color: #9CA3AF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-v2-toggle-pw:hover { color: #6B7280; }
.login-v2-toggle-pw svg { width: 20px; height: 20px; }

.login-v2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 22px;
}

.login-v2-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6B7280;
    cursor: pointer;
    user-select: none;
}

.login-v2-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--auth-purple);
    border-radius: 4px;
    cursor: pointer;
}

.login-v2-forgot,
a.login-v2-forgot {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--auth-purple);
    white-space: nowrap;
    margin: 0;
}

.login-v2-forgot:hover,
a.login-v2-forgot:hover {
    color: var(--auth-purple-dark);
}

.login-v2-submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 15px 20px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: var(--auth-purple);
    box-shadow: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-v2-submit:hover {
    background: var(--auth-purple-dark);
    transform: none;
}

.login-v2-submit:active { opacity: 0.95; }
.login-v2-submit svg { width: 18px; height: 18px; }

.login-v2-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 400;
}

.login-v2-footer a {
    color: var(--auth-purple);
    font-weight: 600;
}

.login-v2-footer a:hover {
    color: var(--auth-purple-dark);
}

/* Unused on login; keep for register if shared */
.login-v2-badges,
.login-v2-badge,
.login-v2-trust,
.login-v2-hint { display: none !important; }

.login-v2-hero { display: none !important; }

.login-v2-body {
    flex: 1;
    padding: 0;
    margin-top: 0;
}

.login-v2-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.login-v2-card-head { margin-bottom: 22px; }
.login-v2-card-head h2 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}
.login-v2-card-head p {
    margin: 0;
    font-size: 0.8125rem;
    color: #6B7280;
}
.login-v2-label-optional {
    font-weight: 400;
    color: #6B7280;
}

body.driply-body--auth {
    padding-bottom: 0;
    background: #F7F8FA;
}

@media (max-width: 380px) {
    .login-v2-shell { padding: 28px 18px 32px; }
    .login-v2-intro h1 { font-size: 1.625rem; }
}

@media (min-width: 481px) {
    .login-v2-shell { padding-top: 40px; padding-bottom: 48px; }
}

.login-v2-field-hint {
    display: block !important;
    margin: -4px 0 14px 6px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #9CA3AF;
    font-weight: 400;
}

.login-v2-page--register {
    justify-content: flex-start;
}

.login-v2-page--register .login-v2-shell {
    padding-top: 36px;
    padding-bottom: 36px;
}

.login-v2-page--register .login-v2-brand {
    margin-bottom: 28px;
}

.login-v2-page--register .login-v2-intro {
    margin-bottom: 24px;
}

.login-v2-page--register .login-v2-submit {
    margin-top: 6px;
}

@media (min-width: 481px) {
    .login-v2-page--register {
        justify-content: center;
    }
}
/* Bottom nav — reference design */
.driply-nav {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: var(--page-max);
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 0;
    border-top: 1px solid #EEF0F2;
    box-shadow: 0 -2px 18px rgba(15, 23, 42, 0.06);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
}

.driply-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.driply-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 2px 4px;
    text-decoration: none;
    min-width: 0;
    transition: transform 0.2s var(--ease);
}

.driply-nav-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    background: transparent;
    box-shadow: none;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.driply-nav-icon svg { width: 22px; height: 22px; }

.driply-nav-icon--plans svg {
    width: 20px;
    height: 20px;
}

.driply-nav-item p {
    margin: 0;
    font-family: var(--font);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease);
}

.driply-nav-item.active .driply-nav-icon {
    background: #4A2C2A;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.24);
}

.driply-nav-item.active p {
    color: #4A2C2A;
    font-weight: 700;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Support FAB ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-fab {
    position: fixed;
    right: max(16px, calc(50% - var(--page-max) / 2 + 16px));
    bottom: calc(var(--nav-height) + 12px);
    z-index: 9998;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s var(--ease);
    text-decoration: none;
}

.driply-fab:hover { transform: scale(1.08); color: #fff; }
.driply-fab svg { width: 22px; height: 22px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Popup ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(31, 41, 55, 0.45);
    backdrop-filter: blur(6px);
}

.driply-overlay.active {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 12px;
}

.driply-popup {
    width: min(400px, 96vw);
    max-height: none;
    overflow: visible;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    position: relative;
}

.driply-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #FEF3C7;
    color: var(--brown-primary);
    font-size: 20px;
    cursor: pointer;
    font-weight: 700;
}

/* —— Welcome popup (Paynex-style purple) —— */
.driply-welcome-popup.hx-welcome {
    display: flex;
    flex-direction: column;
    width: min(360px, 92vw);
    max-height: min(90vh, 640px);
    padding: 10px 18px 18px;
    overflow: hidden;
    border: none;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.hx-welcome-handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #E5E7EB;
    margin: 2px auto 12px;
}

.driply-welcome-popup.hx-welcome .hx-welcome-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F3F4F6;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    font-size: 0;
}

.driply-welcome-popup.hx-welcome .hx-welcome-close svg {
    width: 16px;
    height: 16px;
}

.hx-welcome-head {
    padding: 4px 28px 0 0;
    text-align: left;
    background: transparent;
    color: inherit;
}

.hx-welcome-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.hx-welcome-intro {
    margin: 0 0 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6B7280;
    font-weight: 400;
}

.hx-welcome-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow: auto;
}

.hx-welcome-bonus {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #F5F3FF;
}

.hx-welcome-bonus-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EDE9FE;
    color: #6D28D9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hx-welcome-bonus-icon svg { width: 22px; height: 22px; }

.hx-welcome-bonus-label {
    margin: 0 0 2px;
    font-size: 0.8125rem;
    color: #6B7280;
    font-weight: 500;
}

.hx-welcome-bonus-value {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 800;
    color: #6D28D9;
    letter-spacing: -0.02em;
}

.hx-welcome-referral {
    padding: 14px;
    border-radius: 18px;
    background: #F5F3FF;
}

.hx-welcome-referral-title {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #6B7280;
    font-weight: 500;
}

.hx-welcome-referral-title svg {
    width: 16px;
    height: 16px;
    color: #6D28D9;
}

.hx-welcome-levels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hx-welcome-level {
    background: #fff;
    border-radius: 999px;
    padding: 12px 14px;
    text-align: center;
}

.hx-welcome-level-label {
    display: block;
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
    margin-bottom: 2px;
}

.hx-welcome-level-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: #6D28D9;
}

.hx-welcome-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.hx-welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hx-welcome-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.hx-welcome-btn:hover { transform: translateY(-1px); }

.hx-welcome-btn--group {
    background: #EDE9FE;
    color: #5B21B6 !important;
}

.hx-welcome-btn--channel {
    background: #EEF2FF;
    color: #4338CA !important;
}

/* Keep legacy selectors harmless if referenced elsewhere */
.driply-welcome-popup__header,
.driply-welcome-popup__rocket,
.driply-welcome-popup__launch,
.driply-welcome-popup__section,
.driply-welcome-popup__footer,
.driply-welcome-popup__cta { display: none !important; }
/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Utilities ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 24px;
}

.driply-inner { padding: 0 16px 24px; }
.driply-inner--offset { margin-top: -12px; }

@keyframes driplyFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes driplyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (min-width: 768px) {
    .driply-page { box-shadow: 0 0 0 1px #E5E7EB; }
    .driply-nav { border-left: 1px solid #E5E7EB; border-right: 1px solid #E5E7EB; }
}

@media (min-width: 1024px) {
    :root { --page-max: 520px; }
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Team extras ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.driply-team-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.driply-team-summary-grid li {
    background: #F9FAFB;
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    border: 1px solid #F3F4F6;
}

.driply-team-summary-grid h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.driply-team-summary-grid p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.driply-team-panel { display: none; }
.driply-team-panel.active { display: block; }

tbody.driply-team-panel { display: none; }
tbody.driply-team-panel.active { display: table-row-group; }

.driply-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid #F3F4F6;
}

.driply-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.driply-table thead { background: #FFFBEB; }

.driply-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--brown-primary);
}

.driply-table td {
    padding: 10px 12px;
    border-top: 1px solid #F3F4F6;
    color: var(--text-primary);
}

.driply-toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brown-dark);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10001;
    box-shadow: var(--shadow-soft);
}

.driply-toast.show { display: block; }

.driply-yield-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F9FAFB;
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
}

.driply-yield-item:last-child { margin-bottom: 0; }

.driply-link-box {
    background: #FFFBEB;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.driply-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.driply-outline-btn {
    border: 2px solid var(--brown-primary);
    background: #fff;
    color: var(--brown-primary);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.driply-outline-btn svg { width: 16px; height: 16px; }

.driply-section-bar {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: var(--brown-primary);
    flex-shrink: 0;
}

.driply-section-head-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.driply-phone-row {
    display: flex;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    background: #F9FAFB;
    overflow: hidden;
}

.driply-phone-row:focus-within {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
}

.driply-phone-prefix {
    padding: 14px;
    font-weight: 600;
    color: var(--brown-primary);
    border-right: 1px solid #E5E7EB;
    background: #fff;
}

.driply-phone-row input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
}

.driply-password-wrap { position: relative; }

.driply-password-wrap .driply-input { padding-right: 48px; }

.driply-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: #9CA3AF;
    padding: 6px;
}

.driply-toggle-pw svg { width: 20px; height: 20px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Plans page (reference layout) ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.plans-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 14px 18px 22px;
    color: #fff;
}

.plans-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.plans-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.plans-header-icon svg { width: 22px; height: 22px; }

.plans-header-title {
    flex: 1;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plans-header-action {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease), background 0.2s;
}

.plans-header-action:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.plans-header-action svg { width: 20px; height: 20px; }

.plans-header-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    line-height: 1.4;
}

.plans-header-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.9;
}

.plans-tabs {
    display: flex;
    gap: 8px;
    padding: 14px 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.plans-tabs::-webkit-scrollbar { display: none; }

.plans-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: var(--white);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.2s var(--ease);
}

.plans-tab.active {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.28);
}

.plans-list {
    padding: 16px 16px 24px;
}

.plans-card {
    background: var(--white);
    border-radius: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    padding: 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.45s var(--ease) both;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.plans-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(107, 52, 16, 0.1);
}

.plans-card.soldout {
    opacity: 0.65;
    pointer-events: none;
}

.plans-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.plans-card-img-wrap {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 18px;
    background: #F5E6D3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plans-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plans-card-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.plans-name-badge {
    display: inline-block;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plans-invest-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.plans-invest-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.plans-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.plans-stat {
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}

.plans-stat-value {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.plans-stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.plans-stat-icon {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}

.plans-stat--daily .plans-stat-icon { color: #16A34A; }
.plans-stat--total .plans-stat-icon { color: #2563EB; }
.plans-stat--days .plans-stat-icon { color: #7C3AED; }

.plans-stat--daily {
    background: #ECFDF5;
}

.plans-stat--daily .plans-stat-value { color: #16A34A; }

.plans-stat--total {
    background: #EFF6FF;
}

.plans-stat--total .plans-stat-value { color: #2563EB; }

.plans-stat--days {
    background: #F5F3FF;
}

.plans-stat--days .plans-stat-value { color: #7C3AED; }

.plans-invest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 16px;
    background: var(--gradient-btn);
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.plans-invest-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(139, 69, 19, 0.38);
    color: #fff;
}

.plans-invest-btn.disabled {
    background: #9CA3AF;
    box-shadow: none;
    pointer-events: none;
}

.plans-invest-btn svg { width: 18px; height: 18px; }

.plans-countdown {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.plans-empty-end {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 8px 0 4px;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Team page (reference layout) ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.team-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 18px 18px 28px;
    color: #fff;
}

.team-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.team-header-top svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.95;
}

.team-header-top h1 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
}

.team-header-sub {
    margin: 0 0 18px 28px;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.88;
}

.team-invite-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.team-invite-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.92;
    margin-bottom: 8px;
}

.team-invite-label svg {
    width: 14px;
    height: 14px;
}

.team-invite-code {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    word-break: break-all;
    line-height: 1.2;
}

.team-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #4A2C2A;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s var(--ease);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.team-copy-btn:hover { transform: scale(1.04); }

.team-copy-btn svg {
    width: 16px;
    height: 16px;
    color: #4A2C2A;
    stroke: #4A2C2A;
}

.team-levels {
    padding: 18px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-level-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    animation: driplyFadeUp 0.45s var(--ease) both;
}

.team-level-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.team-level-head--1 { background: #FEF3C7; }
.team-level-head--2 { background: #DBEAFE; }
.team-level-head--3 { background: #D1FAE5; }

.team-level-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.team-level-num--1 { background: #F59E0B; }
.team-level-num--2 { background: #3B82F6; }
.team-level-num--3 { background: #10B981; }

.team-level-titles {
    flex: 1;
    min-width: 0;
}

.team-level-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.team-level-subtitle {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 2px;
}

.team-level-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.team-reward-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.team-reward-badge--1 { background: #FDE68A; color: #92400E; }
.team-reward-badge--2 { background: #BFDBFE; color: #1E40AF; }
.team-reward-badge--3 { background: #A7F3D0; color: #065F46; }

.team-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    background: #1F2937;
    color: #fff;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.team-view-btn svg {
    width: 0.75rem;
    height: 0.75rem;
}

.team-view-btn:hover {
    transform: scale(1.03);
    background: #111827;
}

.team-level-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #F3F4F6;
}

.team-level-stat {
    padding: 16px 10px;
    text-align: center;
}

.team-level-stat + .team-level-stat {
    border-left: 1px solid #F3F4F6;
}

.team-level-stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.team-level-stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.team-level-stat-label svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.team-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(4px);
}

.team-modal-overlay.active {
    display: flex;
}

.team-modal {
    width: 100%;
    max-width: var(--page-max);
    max-height: 75vh;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    animation: driplyFadeUp 0.3s var(--ease);
}

.team-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.team-modal-head h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
}

.team-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
}

.team-modal-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Invite page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.invite-header {
    background: linear-gradient(165deg, #B86B2C 0%, #8B4513 55%, #6B3410 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 16px 32px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.invite-header-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.invite-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.invite-back-btn svg {
    width: 20px;
    height: 20px;
}

.invite-header-text h1 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 800;
}

.invite-header-text p {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.9;
}

.invite-link-card {
    margin-top: 12px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.invite-link-label {
    margin: 0 0 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.88;
}

.invite-link-url {
    margin: 0 0 12px;
    font-size: 0.75rem;
    line-height: 1.45;
    word-break: break-all;
    opacity: 0.95;
}

.invite-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--brown-primary);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 4;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.invite-share-btn svg {
    width: 18px;
    height: 18px;
}

.invite-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 14px;
    margin-top: -18px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.invite-summary-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid #F3E8D8;
    pointer-events: auto;
}

.invite-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--brown-primary);
}

.invite-summary-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.invite-summary-value {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--brown-primary);
    line-height: 1.25;
    word-break: break-word;
}

.invite-summary-label {
    margin-top: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.invite-commission-banner {
    margin: 16px 14px 0;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #FFF8EB 0%, #FFFCF5 100%);
    border: 1px solid #E8D5B0;
}

.invite-commission-banner h2 {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--brown-dark);
}

.invite-commission-banner p {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.invite-commission-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.invite-commission-pills span {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #EDD9B8;
    font-size: 0.75rem;
    color: var(--brown-dark);
}

.invite-commission-pills strong {
    color: var(--brown-primary);
}

.team-level-head--1 { background: #FEF3C7; }
.team-level-head--2 { background: #FFEDD5; }
.team-level-head--3 { background: #FDE68A; }

.team-level-num--1 { background: #8B4513; }
.team-level-num--2 { background: #A0522D; }
.team-level-num--3 { background: #6B3410; }

.team-reward-badge--1 { background: #FDE68A; color: #6B3410; }
.team-reward-badge--2 { background: #FED7AA; color: #7C2D12; }
.team-reward-badge--3 { background: #FEF3C7; color: #78350F; }

.team-view-btn {
    background: var(--brown-primary);
}

.team-view-btn:hover {
    background: var(--brown-dark);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Profile page (reference layout) ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.profile-header {
    position: relative;
    background: linear-gradient(180deg, #4A2511 0%, #8B4513 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 18px 18px 72px;
    overflow: hidden;
}

.profile-header::before,
.profile-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.profile-header::before {
    width: 160px;
    height: 180px;
    top: -40px;
    right: -30px;
}

.profile-header::after {
    width: 120px;
    height: 120px;
    bottom: 20px;
    left: -40px;
}

.profile-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-header-row h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.profile-notify-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s;
}

.profile-notify-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.profile-notify-btn svg { width: 20px; height: 20px; }

.profile-main-card {
    position: relative;
    z-index: 2;
    margin: -52px 16px 16px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    padding: 18px 16px 0;
    animation: driplyFadeUp 0.45s var(--ease);
}

.profile-user-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.profile-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-circle svg { width: 32px; height: 32px; }

.profile-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid #fff;
}

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

.profile-phone {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.profile-user-id {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.profile-user-id svg {
    width: 14px;
    height: 14px;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.profile-edit-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-primary);
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}

.profile-edit-btn:hover {
    transform: scale(1.05);
    background: #E5E7EB;
}

.profile-edit-btn svg { width: 18px; height: 18px; }

.profile-finance-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #F3F4F6;
}

.profile-finance-item {
    padding: 16px 8px;
    text-align: center;
}

.profile-finance-item + .profile-finance-item {
    border-left: 1px solid #F3F4F6;
}

.profile-finance-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
    word-break: break-word;
}

.profile-finance-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.profile-finance-label svg {
    width: 14px;
    height: 14px;
    color: var(--brown-primary);
}

.profile-section-label {
    padding: 0 16px;
    margin: 8px 0 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.profile-links-card {
    margin: 0 16px 16px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.profile-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.profile-link-item:hover { background: #F9FAFB; }

.profile-link-item + .profile-link-item {
    border-top: 1px solid #F3F4F6;
}

.profile-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.profile-link-icon svg { width: 22px; height: 22px; }

.profile-link-icon--gift { background: #F59E0B; }
.profile-link-icon--income { background: #22C55E; }
.profile-link-icon--withdraw { background: #EC4899; }
.profile-link-icon--recharge { background: #3B82F6; }
.profile-link-icon--security { background: #8B5CF6; }

.profile-link-text {
    flex: 1;
    min-width: 0;
}

.profile-link-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-link-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.profile-link-chevron {
    flex-shrink: 0;
    color: #D1D5DB;
}

.profile-link-chevron svg { width: 18px; height: 18px; }

.profile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 16px 24px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
    animation: driplyFadeUp 0.55s var(--ease) 0.1s both;
}

.profile-logout-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.38);
    color: #fff;
}

.profile-logout-btn svg { width: 20px; height: 20px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Ordered / Active Plans page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.ordered-header {
    background: linear-gradient(180deg, #0B0E11 0%, #1A1F2E 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 18px 18px 24px;
    color: #fff;
}

.ordered-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ordered-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ordered-header-title svg {
    width: 22px;
    height: 22px;
    color: #F59E0B;
    flex-shrink: 0;
}

.ordered-header-title h1 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ordered-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}

.ordered-add-btn:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ordered-add-btn svg { width: 20px; height: 20px; }

.ordered-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ordered-summary-item {
    padding: 16px 10px;
    text-align: center;
}

.ordered-summary-item + .ordered-summary-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ordered-summary-value {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.ordered-summary-value--green { color: #22C55E; }

.ordered-summary-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

.ordered-summary-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #22C55E;
}

.ordered-summary-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
}

.ordered-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px 16px 0;
}

.ordered-tab {
    border: none;
    border-radius: 12px;
    padding: 11px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--white);
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
    transition: all 0.2s;
}

.ordered-tab.active {
    background: #1A1F2E;
    color: #fff;
}

.ordered-list {
    padding: 16px 16px 24px;
}

.ordered-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
    padding: 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.45s var(--ease) both;
}

.ordered-card.inactive-item { display: none; }

.ordered-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ECFDF5;
}

.ordered-status-row.expired {
    border-bottom-color: #F3F4F6;
}

.ordered-status-active {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #16A34A;
    letter-spacing: 0.04em;
}

.ordered-status-active .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
}

.ordered-status-expired {
    font-size: 0.75rem;
    font-weight: 800;
    color: #9CA3AF;
    letter-spacing: 0.04em;
}

.ordered-auto-claim {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #16A34A;
}

.ordered-auto-claim svg {
    width: 14px;
    height: 14px;
}

.ordered-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.ordered-card-img {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 18px;
    background: #F5E6D3;
    overflow: hidden;
}

.ordered-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.ordered-name-badge {
    display: inline-block;
    background: #1A1F2E;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ordered-invest-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.ordered-invest-amount {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.ordered-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.ordered-stat {
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}

.ordered-stat-value {
    font-size: 0.9375rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.ordered-stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.ordered-stat--daily { background: #ECFDF5; }
.ordered-stat--daily .ordered-stat-value { color: #16A34A; }
.ordered-stat--total { background: #EFF6FF; }
.ordered-stat--total .ordered-stat-value { color: #2563EB; }
.ordered-stat--days { background: #F5F3FF; }
.ordered-stat--days .ordered-stat-value { color: #7C3AED; }

.ordered-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.ordered-action-btn.claimed {
    background: #ECFDF5;
    color: #15803D;
    cursor: default;
}

.ordered-action-btn.claimable {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s;
}

.ordered-action-btn.claimable:hover { transform: scale(1.02); }

.ordered-action-btn.countdown {
    background: #F3F4F6;
    color: var(--text-secondary);
    cursor: default;
}

.ordered-action-btn.expired {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: default;
}

.ordered-action-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.ordered-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.ordered-empty svg {
    width: 52px;
    height: 52px;
    color: #D1D5DB;
    margin-bottom: 12px;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Spin / Gift Code page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.spin-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 18px 72px;
    position: relative;
    overflow: hidden;
}

.spin-header::before,
.spin-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.spin-header::before {
    width: 140px;
    height: 140px;
    top: -30px;
    right: -20px;
}

.spin-header::after {
    width: 100px;
    height: 100px;
    bottom: 10px;
    left: -30px;
}

.spin-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spin-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.spin-back-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.spin-back-btn svg { width: 20px; height: 20px; }

.spin-header-title {
    flex: 1;
    text-align: center;
    margin-right: 38px;
}

.spin-header-title h1 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.spin-header-title p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.spin-balance-card {
    position: relative;
    z-index: 2;
    margin: -48px 16px 16px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 20px;
    text-align: center;
    animation: driplyFadeUp 0.45s var(--ease);
}

.spin-balance-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.spin-balance-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brown-primary);
    letter-spacing: -0.02em;
}

.spin-form-card {
    margin: 0 16px 16px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    padding: 22px 18px;
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.spin-gift-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D97706;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}

.spin-gift-icon svg { width: 32px; height: 32px; }

.spin-form-title {
    margin: 0 0 6px;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
}

.spin-form-sub {
    margin: 0 0 20px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.45;
}

.spin-field { margin-bottom: 14px; }

.spin-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.spin-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    background: #F9FAFB;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.spin-input:focus {
    outline: none;
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.spin-input::placeholder { color: #9CA3AF; }

.spin-claim-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spin-claim-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(139, 69, 19, 0.38);
}

.spin-claim-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spin-claim-btn svg { width: 20px; height: 20px; }

.spin-history-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brown-primary);
    text-decoration: none;
}

.spin-history-link svg { width: 16px; height: 16px; }

.spin-tips {
    margin: 0 16px 24px;
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    animation: driplyFadeUp 0.55s var(--ease) 0.1s both;
}

.spin-tips p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.spin-tips strong { color: var(--brown-primary); }

.spin-toast {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: min(320px, 90vw);
    max-width: 90vw;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    z-index: 10001;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
    animation: driplyFadeUp 0.3s var(--ease);
}

.spin-toast.show { display: block; }

.spin-toast.success {
    background: #ECFDF5;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.spin-toast.error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.spin-loading {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(31, 41, 55, 0.35);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.spin-loading.active { display: flex; }

.spin-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--brown-primary);
    border-radius: 50%;
    animation: spinRotate 0.8s linear infinite;
}

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

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Settings page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.settings-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 18px 28px;
    position: relative;
    overflow: hidden;
}

.settings-header::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -40px;
    right: -30px;
    pointer-events: none;
}

.settings-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.settings-back-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.settings-back-btn svg { width: 20px; height: 20px; }

.settings-header-text {
    flex: 1;
    text-align: center;
    margin-right: 38px;
}

.settings-header-text h1 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.settings-header-text p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Change password page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.password-content {
    padding: 0 16px 24px;
    margin-top: -12px;
    position: relative;
    z-index: 2;
}

.password-security-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #6B4F1D 0%, #8B6914 100%);
    color: #FFF9F0;
    box-shadow: var(--shadow-card);
}

.password-security-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.password-security-icon svg {
    width: 24px;
    height: 24px;
}

.password-security-card h2 {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    font-weight: 800;
}

.password-security-card p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.92;
    line-height: 1.45;
}

.password-form-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    padding: 22px 18px;
    border: 1px solid #F3E8D8;
}

.password-tips {
    margin: 0 0 18px;
    padding: 12px 14px 12px 28px;
    border-radius: var(--radius-md);
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    font-size: 0.75rem;
    color: #78350F;
    line-height: 1.55;
}

.password-tips li + li {
    margin-top: 4px;
}

.password-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.9375rem;
}

.settings-content {
    padding: 16px 16px 24px;
}

.settings-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    padding: 18px 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.45s var(--ease) both;
}

.settings-section-title {
    margin: 0 0 14px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.settings-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.settings-account-row + .settings-account-row {
    border-top: 1px solid #F3F4F6;
}

.settings-account-row .label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.settings-account-row .value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    word-break: break-all;
}

.settings-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.settings-link-item:hover { opacity: 0.85; }

.settings-link-item + .settings-link-item {
    border-top: 1px solid #F3F4F6;
}

.settings-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.settings-link-icon svg { width: 22px; height: 22px; }

.settings-link-icon--lock { background: #8B5CF6; }
.settings-link-icon--bank { background: #3B82F6; }
.settings-link-icon--user { background: #22C55E; }
.settings-link-icon--help { background: #F59E0B; }

.settings-link-body { flex: 1; min-width: 0; }

.settings-link-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.settings-link-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.settings-link-chevron {
    color: #D1D5DB;
    flex-shrink: 0;
}

.settings-link-chevron svg { width: 18px; height: 18px; }

.settings-form-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.settings-field {
    margin-bottom: 14px;
}

.settings-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.settings-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    background: #F9FAFB;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.settings-field input:focus {
    outline: none;
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.settings-submit-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s;
}

.settings-submit-btn:hover { transform: scale(1.02); }

.settings-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 32px);
    margin: 0 16px 24px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s;
    animation: driplyFadeUp 0.55s var(--ease) 0.1s both;
}

.settings-logout-btn:hover {
    transform: scale(1.02);
    color: #fff;
}

.settings-logout-btn svg { width: 20px; height: 20px; }

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Add Bank / Gateway Setup page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.bank-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 18px 72px;
    position: relative;
    overflow: hidden;
}

.bank-header::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -40px;
    right: -30px;
    pointer-events: none;
}

.bank-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.bank-back-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.bank-back-btn svg { width: 20px; height: 20px; }

.bank-header-text {
    flex: 1;
    text-align: center;
    margin-right: 38px;
}

.bank-header-text h1 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.bank-header-text p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.bank-content {
    padding: 0 16px 24px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.bank-card-preview {
    background: linear-gradient(135deg, #6B3410 0%, #8B4513 45%, #B86B2C 100%);
    border-radius: 22px;
    padding: 22px 18px;
    color: #fff;
    box-shadow: 0 12px 32px rgba(107, 52, 16, 0.35);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    animation: driplyFadeUp 0.45s var(--ease);
}

.bank-card-preview::before,
.bank-card-preview::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.bank-card-preview::before {
    width: 140px;
    height: 140px;
    top: -40px;
    right: -30px;
}

.bank-card-preview::after {
    width: 90px;
    height: 90px;
    bottom: -20px;
    left: -20px;
}

.bank-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.bank-card-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
}

.bank-card-bank-name {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.2;
}

.bank-card-chip {
    width: 38px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.bank-card-number {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bank-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bank-card-value {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}

.bank-form-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 20px 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.bank-field {
    margin-bottom: 16px;
}

.bank-field:last-of-type {
    margin-bottom: 0;
}

.bank-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bank-field select,
.bank-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    background: #F9FAFB;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bank-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238B4513' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.bank-field select:focus,
.bank-field input:focus {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.bank-verified {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--success);
}

.bank-verified.show { display: flex; }

.bank-verified-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.bank-verified-icon svg { width: 14px; height: 14px; }

.bank-save-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(139, 69, 19, 0.32);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bank-save-btn:hover { transform: scale(1.02); }

.bank-save-btn svg { width: 20px; height: 20px; }

.bank-rules {
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    animation: driplyFadeUp 0.55s var(--ease) 0.1s both;
}

.bank-rules p {
    margin: 0 0 8px;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.bank-rules p:last-child { margin-bottom: 0; }

.bank-rules strong { color: var(--brown-primary); }

.bank-loading {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(31, 41, 55, 0.45);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.bank-loading.show { display: flex; }

.bank-loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinRotate 0.8s linear infinite;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Withdraw page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.withdraw-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 18px 72px;
    position: relative;
    overflow: hidden;
}

.withdraw-header::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -40px;
    right: -30px;
    pointer-events: none;
}

.withdraw-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdraw-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.withdraw-back-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.withdraw-back-btn svg { width: 20px; height: 20px; }

.withdraw-header-text {
    flex: 1;
    text-align: center;
    margin-right: 38px;
}

.withdraw-header-text h1 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.withdraw-header-text p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.withdraw-content {
    padding: 0 16px 24px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.withdraw-balance-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 20px 16px;
    margin-bottom: 16px;
    text-align: center;
    animation: driplyFadeUp 0.45s var(--ease);
}

.withdraw-balance-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.withdraw-balance-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--brown-dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.withdraw-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.withdraw-mini-stat {
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.08);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.withdraw-mini-stat .label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 600;
}

.withdraw-mini-stat .value {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.withdraw-notice {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #92400E;
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.withdraw-notice a {
    color: var(--brown-dark);
    font-weight: 800;
    text-decoration: none;
}

.withdraw-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 18px 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.withdraw-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.withdraw-section-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.withdraw-section-bar {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: var(--brown-primary);
}

.withdraw-section-head h2,
.withdraw-panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.withdraw-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brown-primary);
    text-decoration: none;
}

.withdraw-edit-link svg { width: 16px; height: 16px; }

.withdraw-account-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.withdraw-account-row:last-child { margin-bottom: 0; }

.withdraw-account-row.plain { display: block; }

.withdraw-bank-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.withdraw-bank-icon svg { width: 20px; height: 20px; }

.withdraw-field-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.withdraw-field-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    word-break: break-word;
}

.withdraw-pct-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.withdraw-pct-btn {
    border: 1.5px solid var(--brown-primary);
    background: #fff;
    color: var(--brown-dark);
    border-radius: 12px;
    padding: 10px 4px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.withdraw-pct-btn:hover:not(:disabled) {
    background: #FFFBEB;
}

.withdraw-pct-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.withdraw-amount-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 0 16px;
    margin-bottom: 14px;
    background: #F9FAFB;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.withdraw-amount-wrap:focus-within {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.withdraw-amount-wrap span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-dark);
}

.withdraw-amount-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    height: 48px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    min-width: 0;
    color: var(--text-primary);
}

.withdraw-amount-wrap input::placeholder {
    color: #9CA3AF;
    font-weight: 500;
}

.withdraw-amount-wrap input:disabled { opacity: 0.6; }

.withdraw-submit-btn {
    width: 100%;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: var(--gradient-btn);
    box-shadow: 0 6px 18px rgba(139, 69, 19, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.withdraw-submit-btn:hover:not(:disabled) { transform: scale(1.02); }

.withdraw-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.withdraw-submit-btn svg { width: 18px; height: 18px; }

.withdraw-info-card {
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.55s var(--ease) 0.1s both;
}

.withdraw-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.withdraw-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brown-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.withdraw-info-icon svg { width: 18px; height: 18px; }

.withdraw-info-head h3 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--brown-dark);
}

.withdraw-info-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.withdraw-info-list strong { color: var(--text-primary); }

.withdraw-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.withdraw-recent-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.withdraw-recent-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.withdraw-view-all {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brown-primary);
    text-decoration: none;
}

.withdraw-tx-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--brown-primary);
    padding: 14px 16px;
    margin-bottom: 10px;
    animation: driplyFadeUp 0.5s var(--ease) both;
}

.withdraw-tx-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.withdraw-tx-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brown-dark);
}

.withdraw-status-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: capitalize;
}

.withdraw-status-badge.approved {
    background: #D1FAE5;
    color: #065F46;
}

.withdraw-status-badge.pending {
    background: #FEF3C7;
    color: #92400E;
}

.withdraw-status-badge.rejected {
    background: #FEE2E2;
    color: #991B1B;
}

.withdraw-tx-bank {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.withdraw-tx-date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.withdraw-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 24px 16px;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Deposit / Recharge page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.deposit-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 8px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 249, 252, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.deposit-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s;
}

.deposit-back-btn:hover { transform: scale(1.04); color: var(--text-primary); }
.deposit-back-btn svg { width: 20px; height: 20px; }

.deposit-topbar-text { flex: 1; min-width: 0; }
.deposit-topbar-text h1 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
}

.deposit-topbar-text p {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deposit-history-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown-primary);
    white-space: nowrap;
}

.deposit-wrap {
    padding: 8px 16px calc(var(--nav-height) + 88px);
}

.deposit-wallet-card {
    background: var(--gradient-header);
    border-radius: 22px;
    padding: 20px 18px;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(107, 52, 16, 0.28);
    animation: driplyFadeUp 0.4s var(--ease);
}

.deposit-wallet-card::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -50px;
    right: -30px;
    pointer-events: none;
}

.deposit-wallet-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.deposit-wallet-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 6px;
}

.deposit-wallet-value {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.deposit-wallet-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deposit-wallet-icon svg { width: 22px; height: 22px; }

.deposit-wallet-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.deposit-wallet-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
}

.deposit-wallet-stat .label {
    font-size: 0.625rem;
    opacity: 0.8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.deposit-wallet-stat .value {
    font-size: 0.875rem;
    font-weight: 800;
}

.deposit-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.deposit-step {
    flex: 1;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 8px 6px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
}

.deposit-step.active {
    background: #FFFBEB;
    border-color: #FCD34D;
    color: var(--brown-dark);
}

.deposit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px 16px;
    margin-bottom: 14px;
    animation: driplyFadeUp 0.45s var(--ease);
}

.deposit-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.deposit-card-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.deposit-card-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFBEB;
    color: var(--brown-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.deposit-card-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deposit-quick-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.deposit-quick-scroll::-webkit-scrollbar { display: none; }

.deposit-quick-chip {
    flex: 0 0 auto;
    min-width: 96px;
    scroll-snap-align: start;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 16px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s;
}

.deposit-quick-chip:hover { border-color: #FCD34D; }
.deposit-quick-chip.active {
    border-color: var(--brown-primary);
    background: #FFFBEB;
    box-shadow: 0 4px 14px rgba(107, 52, 16, 0.15);
}

.deposit-quick-chip .tier {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.deposit-quick-chip .amt {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--brown-dark);
}

.deposit-amount-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 18px;
    padding: 4px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.deposit-amount-box:focus-within {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.deposit-amount-prefix {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.deposit-amount-input {
    flex: 1;
    border: none;
    background: transparent;
    height: 52px;
    font-family: inherit;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
    letter-spacing: -0.02em;
}

.deposit-amount-input::placeholder {
    color: #9CA3AF;
    font-weight: 600;
    font-size: 1rem;
}

.deposit-min-note {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deposit-min-note strong { color: var(--brown-dark); }

.deposit-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-method {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 12px 14px;
    cursor: pointer;
    background: #FAFAFA;
    transition: all 0.18s;
}

.deposit-method:hover { border-color: #FCD34D; }
.deposit-method.active {
    border-color: var(--brown-primary);
    background: #FFFBEB;
    box-shadow: 0 4px 16px rgba(107, 52, 16, 0.12);
}

.deposit-method-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}

.deposit-method.active .deposit-method-radio {
    border-color: var(--brown-primary);
    background: var(--brown-primary);
}

.deposit-method.active .deposit-method-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.deposit-method-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-method-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deposit-method-logo svg {
    width: 20px;
    height: 20px;
    color: var(--brown-primary);
}

.deposit-method-body { flex: 1; min-width: 0; }
.deposit-method-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.deposit-method-tag {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.deposit-method-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: #FFFBEB;
    color: var(--brown-dark);
    flex-shrink: 0;
}

.deposit-notes {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
}

.deposit-notes summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.deposit-notes summary::-webkit-details-marker { display: none; }

.deposit-notes-body {
    padding: 0 16px 14px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.55;
    background: var(--white);
}

.deposit-notes-body p { margin: 0 0 8px; }

.deposit-sticky-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--nav-height) + 8px);
    width: min(100%, var(--page-max));
    padding: 0 16px;
    z-index: 30;
    pointer-events: none;
}

.deposit-sticky-inner {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deposit-summary {
    flex: 1;
    min-width: 0;
}

.deposit-summary-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.deposit-summary-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deposit-summary-method {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.deposit-submit-btn {
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: var(--gradient-btn);
    box-shadow: 0 4px 16px rgba(107, 52, 16, 0.35);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}

.deposit-submit-btn:hover { transform: scale(1.02); }
.deposit-submit-btn svg { width: 18px; height: 18px; }

.deposit-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.deposit-trust svg {
    width: 14px;
    height: 14px;
    color: var(--brown-primary);
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Deposit page (Top Up Wallet) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
.deposit-body {
    padding-bottom: calc(var(--nav-height) + 112px + env(safe-area-inset-bottom, 0px));
}

.deposit-page {
    min-height: 100vh;
}

.deposit-hero {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 14px 18px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.deposit-hero::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -70px;
    right: -40px;
    pointer-events: none;
}

.deposit-hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.deposit-hero-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease), background 0.2s;
}

.deposit-hero-back:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.deposit-hero-back svg { width: 20px; height: 20px; }

.deposit-hero-title {
    flex: 1;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.deposit-hero-history {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    padding: 8px 4px;
}

.deposit-hero-history:hover { color: #fff; }

.deposit-hero-main {
    display: flex;
    gap: 12px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.deposit-hero-wallet {
    flex: 1;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    min-width: 0;
}

.deposit-hero-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 6px;
}

.deposit-hero-balance {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.deposit-hero-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 5px 10px;
}

.deposit-hero-verified svg {
    width: 14px;
    height: 14px;
    color: #86EFAC;
}

.deposit-hero-limit {
    width: 92px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
}

.deposit-hero-limit-value {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
}

.deposit-hero-limit-label {
    font-size: 0.625rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.deposit-sheet {
    margin-top: -18px;
    padding: 0 16px 24px;
    position: relative;
    z-index: 2;
}

.deposit-main-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    animation: driplyFadeUp 0.45s var(--ease);
}

.deposit-section {
    padding: 20px 18px;
    border-bottom: 1px solid #F3F4F6;
}

.deposit-section--last {
    border-bottom: none;
}

.deposit-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.deposit-panel-head svg {
    width: 20px;
    height: 20px;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.deposit-panel-head h2 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
}

.deposit-amount-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 18px;
    padding: 4px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.deposit-amount-field:focus-within {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.12);
    background: #fff;
}

.deposit-amount-currency {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.deposit-page .deposit-amount-input {
    flex: 1;
    border: none;
    background: transparent;
    height: 52px;
    font-family: inherit;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
    letter-spacing: -0.02em;
    padding: 0;
}

.deposit-page .deposit-amount-input::placeholder {
    color: #9CA3AF;
    font-weight: 600;
    font-size: 1rem;
}

.deposit-amount-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.deposit-amount-hint svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--brown-primary);
}

.deposit-amount-hint strong { color: var(--brown-dark); }

.deposit-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.deposit-quick-btn {
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 16px;
    padding: 12px 8px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all 0.18s var(--ease);
}

.deposit-quick-btn:hover {
    border-color: #FCD34D;
}

.deposit-quick-btn.active {
    border-color: var(--brown-primary);
    background: #FFFBEB;
    box-shadow: 0 4px 14px rgba(107, 52, 16, 0.15);
}

.deposit-quick-value {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--brown-dark);
    line-height: 1.2;
}

.deposit-quick-label {
    display: block;
    margin-top: 4px;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.deposit-empty-note {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 16px 8px;
}

.deposit-channel-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #E5E7EB;
    border-radius: 18px;
    padding: 14px;
    cursor: pointer;
    background: #FAFAFA;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.deposit-channel-preview:hover {
    border-color: #FCD34D;
}

.deposit-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.deposit-channel-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deposit-channel-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brown-primary);
}

.deposit-channel-body { flex: 1; min-width: 0; }

.deposit-channel-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.deposit-channel-desc {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.deposit-channel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.deposit-channel-badges span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--brown-dark);
    background: #FFFBEB;
    border-radius: 999px;
    padding: 3px 8px;
}

.deposit-channel-badges svg {
    width: 12px;
    height: 12px;
}

.deposit-channel-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.2s var(--ease);
}

.deposit-channel-chevron.is-open {
    transform: rotate(180deg);
}

.deposit-page .deposit-methods {
    margin-top: 10px;
    overflow: hidden;
    transition: max-height 0.25s var(--ease), opacity 0.2s;
    max-height: 480px;
    opacity: 1;
}

.deposit-page .deposit-methods--collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.deposit-guide {
    margin-top: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px 16px;
    animation: driplyFadeUp 0.5s var(--ease);
}

.deposit-guide-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.deposit-guide-head svg {
    width: 20px;
    height: 20px;
    color: var(--brown-primary);
}

.deposit-guide-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deposit-guide-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.deposit-guide-list strong { color: var(--brown-dark); }

.deposit-guide-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #FFFBEB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deposit-guide-icon svg {
    width: 16px;
    height: 16px;
    color: var(--brown-primary);
}

.deposit-mobile-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--nav-height) + 8px + env(safe-area-inset-bottom, 0px));
    width: min(100%, var(--page-max));
    padding: 8px 16px 12px;
    z-index: 10001;
    pointer-events: none;
}

.deposit-mobile-bar-inner {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deposit-mobile-summary {
    flex: 1;
    min-width: 0;
}

.deposit-mobile-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.deposit-mobile-amount {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.deposit-mobile-method {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deposit-confirm-btn {
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: var(--gradient-btn);
    box-shadow: 0 4px 16px rgba(107, 52, 16, 0.35);
    white-space: nowrap;
    transition: transform 0.2s var(--ease);
}

.deposit-confirm-btn:hover { transform: scale(1.02); }

@media (max-width: 360px) {
    .deposit-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .deposit-hero-limit { width: 80px; }
    .deposit-confirm-btn { padding: 14px 12px; font-size: 0.8125rem; }
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Recharge / Deposit history page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.recharge-hist-wrap {
    padding: 8px 16px calc(var(--nav-height) + 24px);
}

.recharge-hist-summary {
    background: var(--gradient-header);
    border-radius: 22px;
    padding: 18px 16px;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(107, 52, 16, 0.22);
    animation: driplyFadeUp 0.4s var(--ease);
}

.recharge-hist-summary-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
}

.recharge-hist-summary-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.recharge-hist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.recharge-hist-stat {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}

.recharge-hist-stat .val {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
}

.recharge-hist-stat .lbl {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.82;
}

.recharge-hist-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 16px;
    margin-bottom: 14px;
}

.recharge-hist-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.recharge-hist-tabs::-webkit-scrollbar { display: none; }

.recharge-hist-tab {
    flex-shrink: 0;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s;
}

.recharge-hist-tab:hover { border-color: #FCD34D; }

.recharge-hist-tab.active {
    background: #FFFBEB;
    border-color: var(--brown-primary);
    color: var(--brown-dark);
}

.recharge-hist-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    padding: 0 14px;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.recharge-hist-search:focus-within {
    border-color: var(--brown-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    background: #fff;
}

.recharge-hist-search svg {
    width: 18px;
    height: 18px;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.recharge-hist-search input {
    flex: 1;
    border: none;
    background: transparent;
    height: 44px;
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
    min-width: 0;
    color: var(--text-primary);
}

.recharge-hist-time-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.recharge-hist-time-tab {
    border: 1px solid #E5E7EB;
    background: #fff;
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}

.recharge-hist-time-tab.active {
    background: var(--brown-primary);
    color: #fff;
    border-color: var(--brown-primary);
}

.recharge-hist-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recharge-hist-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--brown-primary);
    padding: 14px 16px;
    animation: driplyFadeUp 0.45s var(--ease) both;
}

.recharge-hist-item.hidden { display: none; }

.recharge-hist-item.status-approved { border-left-color: #22C55E; }
.recharge-hist-item.status-pending { border-left-color: var(--gold); }
.recharge-hist-item.status-rejected { border-left-color: #EF4444; }

.recharge-hist-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.recharge-hist-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.recharge-hist-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-primary);
    flex-shrink: 0;
}

.recharge-hist-icon svg { width: 20px; height: 20px; }

.recharge-hist-ref {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    word-break: break-all;
    line-height: 1.3;
}

.recharge-hist-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.recharge-hist-badge {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.recharge-hist-badge.approved { background: #D1FAE5; color: #065F46; }
.recharge-hist-badge.pending { background: #FEF3C7; color: #92400E; }
.recharge-hist-badge.rejected { background: #FEE2E2; color: #991B1B; }

.recharge-hist-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #FFFBEB;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(139, 69, 19, 0.08);
}

.recharge-hist-meta .label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.recharge-hist-meta .value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.recharge-hist-meta .value.amount {
    color: var(--brown-dark);
    font-size: 0.9375rem;
    font-weight: 800;
}

.recharge-hist-meta .value.withdraw-out {
    color: #DC2626;
    font-size: 0.9375rem;
    font-weight: 800;
}

.withdraw-hist-icon {
    background: #FEE2E2 !important;
    border-color: rgba(220, 38, 38, 0.15) !important;
    color: #DC2626 !important;
}

.recharge-hist-empty,
.recharge-hist-filter-empty {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.recharge-hist-empty svg,
.recharge-hist-filter-empty svg {
    width: 52px;
    height: 52px;
    color: var(--text-secondary);
    opacity: 0.35;
    margin-bottom: 12px;
}

.recharge-hist-empty p,
.recharge-hist-filter-empty p {
    margin: 0 0 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.recharge-hist-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 14px;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(107, 52, 16, 0.3);
    transition: transform 0.2s;
}

.recharge-hist-cta:hover {
    transform: scale(1.02);
    color: #fff;
}

.recharge-hist-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.recharge-hist-list-head h2 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
}

.recharge-hist-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown-primary);
    background: #FFFBEB;
    padding: 4px 10px;
    border-radius: 999px;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Personal Details page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.personal-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.personal-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B3410, #8B4513);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.personal-avatar svg { width: 28px; height: 28px; }

.personal-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.personal-profile-meta strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.personal-profile-meta span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.personal-tip-card {
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.personal-tip-card p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.personal-tip-card a {
    color: var(--brown-primary);
    font-weight: 700;
    text-decoration: none;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ Help Center / Service page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ */
.service-header {
    background: var(--gradient-header);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 16px 18px 56px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-header::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -40px;
    right: -30px;
    pointer-events: none;
}

.service-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.service-back-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.service-back-btn svg { width: 20px; height: 20px; }

.service-header-text {
    flex: 1;
    text-align: center;
    margin-right: 38px;
}

.service-header-text h1 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.service-header-text p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.service-hero-icon {
    width: 52px;
    height: 52px;
    margin: 20px auto 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.service-hero-icon svg { width: 26px; height: 26px; }

.service-content {
    padding: 0 16px 24px;
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 18px 16px;
    margin-bottom: 16px;
    animation: driplyFadeUp 0.45s var(--ease);
}

.service-card-title {
    margin: 0 0 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    border-color: rgba(139, 69, 19, 0.2);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.service-icon.telegram { background: #229ED9; }
.service-icon.whatsapp { background: #25D366; }
.service-icon.default { background: var(--gradient-btn); }

.service-icon svg { width: 24px; height: 24px; }

.service-body {
    flex: 1;
    min-width: 0;
}

.service-name {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.service-desc {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.service-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
    transition: transform 0.2s;
}

.service-action:hover {
    transform: scale(1.04);
    color: #fff;
}

.service-empty {
    text-align: center;
    padding: 28px 16px;
}

.service-empty svg {
    width: 52px;
    height: 52px;
    color: var(--text-secondary);
    opacity: 0.45;
    margin-bottom: 12px;
}

.service-empty p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-info-card {
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.12);
    animation: driplyFadeUp 0.5s var(--ease) 0.05s both;
}

.service-info-card p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #92400E;
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Daily Check-In Page ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
.checkin-page .deposit-topbar {
    align-items: center;
}

.checkin-streak-pill {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(139, 69, 19, 0.08);
    color: var(--brown-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.checkin-wrap {
    padding: 0 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkin-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gradient-header);
    color: #fff;
    padding: 24px 20px 18px;
    box-shadow: var(--shadow-soft);
    animation: driplyFadeUp 0.45s var(--ease);
}

.checkin-hero-glow {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.checkin-hero-content {
    position: relative;
    text-align: center;
}

.checkin-hero-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkin-hero-icon svg {
    width: 28px;
    height: 28px;
}

.checkin-hero-label {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.9;
}

.checkin-hero-amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.checkin-hero-sub {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    opacity: 0.85;
}

.checkin-countdown {
    position: relative;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.14);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.checkin-progress-card,
.checkin-days-card,
.checkin-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    animation: driplyFadeUp 0.5s var(--ease) both;
}

.checkin-progress-card {
    padding: 18px 18px 16px;
    animation-delay: 0.05s;
}

.checkin-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.checkin-progress-head h2 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
}

.checkin-progress-head span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.checkin-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: #F3F4F6;
    overflow: hidden;
}

.checkin-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold) 0%, var(--brown-light) 100%);
    transition: width 0.4s var(--ease);
}

.checkin-days-card {
    padding: 18px 16px 16px;
    animation-delay: 0.1s;
}

.checkin-days-head {
    margin-bottom: 16px;
}

.checkin-days-head h2 {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    font-weight: 700;
}

.checkin-days-head p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.checkin-days-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkin-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 108px;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid #E5E7EB;
    background: #FAFAFA;
    text-align: left;
    cursor: default;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.checkin-day-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkin-day-reward {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.checkin-day-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.checkin-day-status svg {
    width: 14px;
    height: 14px;
}

.checkin-day-bonus {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #FEF3C7;
    color: #B45309;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.checkin-day.is-claimed {
    background: #F0FDF4;
    border-color: rgba(34, 197, 94, 0.35);
}

.checkin-day.is-claimed .checkin-day-status {
    color: var(--success);
}

.checkin-day.is-available {
    background: linear-gradient(145deg, #FFFBEB 0%, #FEF3C7 100%);
    border-color: rgba(222, 164, 7, 0.55);
    box-shadow: 0 8px 24px rgba(222, 164, 7, 0.18);
    cursor: pointer;
}

.checkin-day.is-available:hover:not(:disabled) {
    transform: translateY(-2px);
}

.checkin-day.is-available .checkin-day-status {
    color: #B45309;
}

.checkin-day.is-locked {
    opacity: 0.72;
}

.checkin-day.is-locked .checkin-day-reward {
    color: var(--text-secondary);
}

.checkin-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.28);
    transition: transform 0.2s var(--ease);
    animation: driplyFadeUp 0.5s var(--ease) 0.15s both;
}

.checkin-cta:hover {
    transform: scale(1.01);
}

.checkin-cta svg {
    width: 18px;
    height: 18px;
}

.checkin-done-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: #F0FDF4;
    border: 1px solid rgba(34, 197, 94, 0.25);
    animation: driplyFadeUp 0.5s var(--ease) 0.15s both;
}

.checkin-done-banner svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkin-done-banner strong {
    display: block;
    font-size: 0.875rem;
    color: #166534;
    margin-bottom: 2px;
}

.checkin-done-banner p {
    margin: 0;
    font-size: 0.8125rem;
    color: #15803D;
    line-height: 1.45;
}

.checkin-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.12);
    animation-delay: 0.2s;
}

.checkin-info-card svg {
    width: 20px;
    height: 20px;
    color: var(--brown-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.checkin-info-card p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #92400E;
}

@media (min-width: 420px) {
    .checkin-days-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .checkin-days-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Product Detail Page ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
.product-detail-page {
    padding-bottom: calc(var(--nav-height) + 120px + env(safe-area-inset-bottom, 0px));
}

.product-detail-topbar .deposit-history-link {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown-primary);
    text-decoration: none;
}

.product-detail-wrap {
    padding: 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-detail-hero {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    animation: driplyFadeUp 0.45s var(--ease);
}

.product-detail-image-wrap {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: linear-gradient(165deg, #FFFBEB 0%, #F0FDF4 100%);
}

.product-detail-image-wrap img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.product-detail-limit {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

.product-detail-head {
    padding: 18px 18px 0;
    text-align: center;
}

.product-detail-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(139, 69, 19, 0.08);
    color: var(--brown-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-detail-head h2 {
    margin: 0 0 4px;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-detail-head p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.product-detail-price {
    margin: 16px 18px 18px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(222, 164, 7, 0.12) 100%);
    border: 1px solid rgba(139, 69, 19, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-detail-price span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.product-detail-price strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.product-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-detail-stat {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 14px;
    animation: driplyFadeUp 0.5s var(--ease) both;
}

.product-detail-stat:nth-child(2) { animation-delay: 0.04s; }
.product-detail-stat:nth-child(3) { animation-delay: 0.08s; }
.product-detail-stat:nth-child(4) { animation-delay: 0.12s; }

.product-detail-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.product-detail-stat-icon svg {
    width: 18px;
    height: 18px;
}

.product-detail-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-detail-stat-value {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-word;
}

.product-detail-stat--invest .product-detail-stat-icon { background: #FFFBEB; color: #B45309; }
.product-detail-stat--invest .product-detail-stat-value { color: #92400E; }
.product-detail-stat--daily .product-detail-stat-icon { background: #F0FDF4; color: #16A34A; }
.product-detail-stat--daily .product-detail-stat-value { color: #15803D; }
.product-detail-stat--total .product-detail-stat-icon { background: #EFF6FF; color: #2563EB; }
.product-detail-stat--total .product-detail-stat-value { color: #1D4ED8; }
.product-detail-stat--days .product-detail-stat-icon { background: #F5F3FF; color: #7C3AED; }
.product-detail-stat--days .product-detail-stat-value { color: #6D28D9; }

.product-detail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-detail-summary-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 12px 10px;
    text-align: center;
}

.product-detail-summary-item span {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-detail-summary-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.product-detail-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #FFFBEB;
    border: 1px solid rgba(139, 69, 19, 0.12);
}

.product-detail-info svg {
    width: 20px;
    height: 20px;
    color: var(--brown-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.product-detail-info p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #92400E;
}

.product-detail-action {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--nav-height) + 8px + env(safe-area-inset-bottom, 0px));
    width: min(var(--page-max), 100%);
    padding: 12px 16px 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    z-index: 10001;
}

.product-detail-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.product-detail-wallet strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.product-detail-invest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.28);
    transition: transform 0.2s var(--ease);
}

.product-detail-invest-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.product-detail-invest-btn:hover {
    transform: scale(1.01);
    color: #fff;
}

.product-detail-invest-btn.disabled,
.product-detail-invest-btn:disabled {
    background: #94A3B8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.product-detail-login-hint {
    margin: 8px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Home page — reference design (Driply-style) ===== */
body.driply-body--home {
    background: #F7F5F2;
}

.driply-page--home .driply-header--home {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%);
    border-radius: 0 0 32px 32px;
    padding: max(10px, env(safe-area-inset-top)) 18px 92px;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22);
}

.driply-page--home .driply-header-top {
    margin-bottom: 18px;
}

.driply-page--home .driply-balance-card--home {
    text-align: left;
    padding: 24px 22px 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.driply-page--home .driply-balance-label {
    justify-content: flex-start;
    font-size: 0.84rem;
    margin-bottom: 10px;
}

.driply-page--home .driply-balance-amount {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.driply-page--home .driply-status {
    display: inline-flex;
    margin-top: 2px;
}

.driply-page--home .driply-content {
    margin-top: -58px;
    padding: 0 16px 28px;
}

.driply-page--home .driply-quick-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 44px rgba(74, 44, 42, 0.14);
    padding: 24px 10px 20px;
    margin-bottom: 22px;
}

.driply-page--home .driply-quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
}

.driply-page--home .driply-quick-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
}

.driply-page--home .driply-banner-wrap {
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(74, 44, 42, 0.1);
    margin-bottom: 22px;
}

.driply-page--home .driply-banner-slide {
    min-height: 200px;
}

.driply-page--home .driply-banner-slide img {
    height: 200px;
    object-fit: cover;
}

.driply-page--home .driply-section-head {
    margin-bottom: 12px;
}

.driply-page--home .driply-section-title {
    font-size: 1.02rem;
    font-weight: 700;
}

.driply-page--home .driply-badge-realtime {
    background: transparent;
    color: #9CA3AF;
    font-weight: 500;
    font-size: 0.72rem;
    padding: 0;
}

.driply-page--home .driply-feed {
    gap: 12px;
}

.driply-page--home .driply-feed-item {
    border-radius: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.driply-page--home .driply-feed-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
}

.driply-page--home .driply-feed-avatar svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.driply-page--home .driply-feed-avatar--1 { background: linear-gradient(145deg, #F472B6, #EC4899); }
.driply-page--home .driply-feed-avatar--2 { background: linear-gradient(145deg, #FBBF24, #F59E0B); }
.driply-page--home .driply-feed-avatar--3 { background: linear-gradient(145deg, #A78BFA, #8B5CF6); }
.driply-page--home .driply-feed-avatar--4 { background: linear-gradient(145deg, #60A5FA, #3B82F6); }

.driply-page--home .driply-feed-user {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.driply-page--home .driply-feed-msg {
    font-size: 0.8rem;
    line-height: 1.35;
}

.driply-page--home .driply-feed-time {
    color: #9CA3AF;
    font-size: 0.72rem;
    white-space: nowrap;
}

body.driply-body--home .driply-fab {
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.38);
}

body.driply-body--home .driply-nav {
    background: #FFFFFF !important;
    border-top: 1px solid #EEF0F2 !important;
    border-radius: 0 !important;
    box-shadow: 0 -2px 18px rgba(15, 23, 42, 0.06) !important;
}

body.driply-body--home .driply-nav-item.active .driply-nav-icon {
    background: #4A2C2A !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.24) !important;
}

body.driply-body--home .driply-nav-item.active p {
    color: #4A2C2A !important;
}

/* ===== Deposit / Recharge page — reference design ===== */
body.driply-body--deposit {
    background: #F7F5F2;
}

.deposit-page--ref .deposit-hero--ref {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%);
    border-radius: 0 0 32px 32px;
    padding: max(10px, env(safe-area-inset-top)) 18px 38px;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22);
}

.deposit-page--ref .deposit-hero-back {
    border-radius: 12px;
}

.deposit-page--ref .deposit-hero-title {
    font-size: 1.1rem;
    font-weight: 800;
}

.deposit-page--ref .deposit-hero-wallet {
    text-align: left;
    padding: 22px 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.deposit-page--ref .deposit-hero-label {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.deposit-page--ref .deposit-hero-label svg {
    width: 16px;
    height: 16px;
    opacity: 0.92;
}

.deposit-page--ref .deposit-hero-balance {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.deposit-page--ref .deposit-hero-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.deposit-page--ref .deposit-hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
    flex-shrink: 0;
}

.deposit-page--ref .deposit-hero-limit {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.deposit-page--ref .deposit-sheet {
    margin-top: -24px;
    padding: 0 16px 28px;
}

.deposit-page--ref .deposit-main-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 44px rgba(74, 44, 42, 0.12);
}

.deposit-page--ref .deposit-section {
    padding: 22px 18px;
}

.deposit-page--ref .deposit-panel-head svg {
    color: #4A2C2A;
}

.deposit-page--ref .deposit-amount-field {
    border-radius: 18px;
    background: #FAFAF9;
    border-color: #E7E5E4;
}

.deposit-page--ref .deposit-amount-field:focus-within {
    border-color: #4A2C2A;
    box-shadow: 0 0 0 4px rgba(74, 44, 42, 0.1);
    background: #fff;
}

.deposit-page--ref .deposit-amount-currency {
    color: #4A2C2A;
}

.deposit-page--ref .deposit-quick-btn {
    border-radius: 16px;
    background: #FAFAF9;
    border-color: #E7E5E4;
}

.deposit-page--ref .deposit-quick-btn:hover {
    border-color: #86EFAC;
}

.deposit-page--ref .deposit-quick-btn.active {
    border-color: #16A34A;
    background: #DCFCE7;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.14);
}

.deposit-page--ref .deposit-quick-btn.active .deposit-quick-value {
    color: #15803D;
}

.deposit-page--ref .deposit-quick-btn.active .deposit-quick-label {
    color: #166534;
}

.deposit-page--ref .deposit-channel-preview {
    border-radius: 18px;
    background: #FAFAF9;
    border-color: #E7E5E4;
}

.deposit-page--ref .deposit-channel-preview:hover {
    border-color: #D6B48A;
}

.deposit-page--ref .deposit-channel-icon {
    border-radius: 14px;
    background: #fff;
}

.deposit-page--ref .deposit-method {
    border-radius: 16px;
    border-color: #E7E5E4;
    background: #FAFAF9;
}

.deposit-page--ref .deposit-method.active {
    border-color: #4A2C2A;
    background: #FFF7ED;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.1);
}

.deposit-page--ref .deposit-guide {
    border-radius: 22px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 8px 28px rgba(74, 44, 42, 0.06);
}

.deposit-page--ref .deposit-guide-head svg {
    color: #4A2C2A;
}

.deposit-page--ref .deposit-guide-icon {
    background: #FFF7ED;
}

.deposit-page--ref .deposit-guide-icon svg {
    color: #4A2C2A;
}

.deposit-page--ref .deposit-mobile-bar-inner {
    border-radius: 22px;
    border-color: #F3F4F6;
    box-shadow: 0 10px 36px rgba(74, 44, 42, 0.14);
}

.deposit-page--ref .deposit-confirm-btn {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 6px 18px rgba(74, 44, 42, 0.32);
    border-radius: 16px;
    padding: 15px 18px;
}

body.driply-body--deposit .driply-fab {
    bottom: calc(var(--nav-height) + 96px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.38);
}

/* ===== Plans / Products page — reference design ===== */
body.driply-body--plans {
    background: #F7F5F2;
}

.plans-page--ref .plans-hero--ref {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%);
    border-radius: 0 0 32px 32px;
    padding: max(10px, env(safe-area-inset-top)) 18px 58px;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22);
    color: #fff;
}

.plans-page--ref .plans-header-icon--glass {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FDE68A;
}

.plans-page--ref .plans-header-title {
    font-size: 1.12rem;
    font-weight: 800;
}

.plans-page--ref .plans-header-action {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.plans-page--ref .plans-header-hint {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 10px 14px;
    margin-top: 4px;
    font-size: 0.78rem;
}

.plans-page--ref .plans-sheet {
    margin-top: -30px;
    position: relative;
    z-index: 2;
    padding: 0 16px 24px;
}

.plans-page--ref .plans-tabs-wrap {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 44px rgba(74, 44, 42, 0.12);
    padding: 10px;
    margin-bottom: 18px;
}

.plans-page--ref .plans-tabs {
    padding: 0;
    gap: 8px;
}

.plans-page--ref .plans-tab {
    flex: 1;
    text-align: center;
    border-radius: 14px;
    background: #FAFAF9;
    color: #6B7280;
    border: 1px solid #E7E5E4;
    box-shadow: none;
    padding: 10px 12px;
}

.plans-page--ref .plans-tab.active {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.28);
}

.plans-page--ref .plans-list {
    padding: 0;
}

.plans-page--ref .plans-card {
    border-radius: 22px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 10px 30px rgba(74, 44, 42, 0.08);
    padding: 18px;
    margin-bottom: 14px;
}

.plans-page--ref .plans-card:hover {
    box-shadow: 0 14px 36px rgba(74, 44, 42, 0.12);
}

.plans-page--ref .plans-card-img-wrap {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    background: linear-gradient(145deg, #FFF7ED, #F5E6D3);
    border: 1px solid #F3E8D8;
}

.plans-page--ref .plans-name-badge {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 2px 8px rgba(74, 44, 42, 0.2);
}

.plans-page--ref .plans-invest-amount {
    font-size: 1.6rem;
    color: #1F2937;
}

.plans-page--ref .plans-stats-row {
    gap: 8px;
    margin-bottom: 14px;
}

.plans-page--ref .plans-stat {
    border-radius: 14px;
    padding: 10px 8px;
}

.plans-page--ref .plans-stat--daily {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
}

.plans-page--ref .plans-stat--total {
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
}

.plans-page--ref .plans-stat--days {
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
}

.plans-page--ref .plans-invest-btn {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(74, 44, 42, 0.28);
    padding: 15px 18px;
    font-size: 0.92rem;
}

.plans-page--ref .plans-invest-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.34);
}

.plans-page--ref .plans-invest-btn.disabled {
    background: #9CA3AF;
    box-shadow: none;
}

.plans-page--ref .plans-empty-end {
    color: #9CA3AF;
    font-size: 0.78rem;
    padding: 8px 0 4px;
}

.plans-page--ref .driply-empty {
    background: #fff;
    border-radius: 18px;
    border: 1px dashed #E5E7EB;
    padding: 28px 16px;
}

body.driply-body--plans .driply-fab {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.38);
}

body.driply-body--plans .driply-nav-item.active .driply-nav-icon {
    background: #4A2C2A !important;
    color: #FFFFFF !important;
}

body.driply-body--plans .driply-nav-item.active p {
    color: #4A2C2A !important;
}

/* ===== GLOBAL FRONTEND — Driply coffee-brown design system ===== */
body.driply-body {
    background: #F7F5F2 !important;
}

body.driply-body .driply-page {
    min-height: 100vh;
}

/* —— Unified gradient headers —— */
.ordered-header,
.withdraw-header,
.team-header,
.invite-header,
.service-header,
.profile-header,
.bank-header,
.spin-header,
.checkin-page .checkin-hero {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%) !important;
    border-radius: 0 0 32px 32px !important;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22) !important;
    color: #fff !important;
}

.plans-header:not(.plans-hero--ref) {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%) !important;
    border-radius: 0 0 32px 32px !important;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22) !important;
}

/* —— Sub-page topbar —— */
.driply-page > .deposit-topbar {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 100%) !important;
    border-bottom: none !important;
    border-radius: 0 0 28px 28px;
    padding: max(12px, env(safe-area-inset-top)) 16px 20px !important;
    margin-bottom: 4px;
    position: relative;
    top: auto;
}

.driply-page > .deposit-topbar .deposit-back-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.driply-page > .deposit-topbar .deposit-topbar-text h1 {
    color: #fff !important;
}

.driply-page > .deposit-topbar .deposit-topbar-text p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.driply-page > .deposit-topbar .deposit-history-link {
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ordered-summary {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 18px !important;
}

.ordered-plan-card,
.ordered-empty-card {
    border-radius: 20px !important;
    border: 1px solid #F3F4F6 !important;
    box-shadow: 0 8px 28px rgba(74, 44, 42, 0.08) !important;
}

.ordered-claim-btn,
.driply-btn--primary,
.recharge-hist-cta {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A) !important;
    box-shadow: 0 6px 18px rgba(74, 44, 42, 0.28) !important;
}

.withdraw-balance-card,
.withdraw-form-card,
.team-stat-card,
.team-member-card,
.invite-code-card,
.invite-stats-card,
.service-card,
.profile-balance-card,
.profile-links-card,
.bank-form-card,
.spin-form-card,
.product-detail-hero,
.product-detail-stats,
.recharge-hist-card,
.recharge-hist-item {
    border-radius: 20px !important;
}

.withdraw-submit-btn,
.team-invite-btn,
.invite-share-btn,
.spin-submit-btn,
.product-detail-invest-btn,
.bank-save-btn {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A) !important;
    box-shadow: 0 6px 18px rgba(74, 44, 42, 0.28) !important;
    border-radius: 16px !important;
}

.recharge-hist-summary {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 100%) !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.2) !important;
}

.recharge-hist-tab.active {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.recharge-hist-time-tab.active {
    background: #FFF7ED !important;
    color: #4A2C2A !important;
    border-color: #E7D5C4 !important;
}

.spin-balance-card {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important;
    margin: -20px 16px 16px !important;
    color: #fff !important;
}

.spin-form-card {
    margin: 0 16px 24px !important;
    box-shadow: 0 14px 44px rgba(74, 44, 42, 0.1) !important;
    border: 1px solid #F3F4F6 !important;
}

.checkin-page .deposit-topbar {
    background: transparent !important;
    padding-bottom: 0 !important;
}

.checkin-wrap {
    padding: 0 16px 24px !important;
}

.profile-link-item {
    border-radius: 16px !important;
}

body.driply-body .driply-fab {
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A) !important;
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.38) !important;
}

body.driply-body .driply-nav {
    background: #FFFFFF !important;
    border-top: 1px solid #EEF0F2 !important;
    border-radius: 0 !important;
    box-shadow: 0 -2px 18px rgba(15, 23, 42, 0.06) !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
}

body.driply-body .driply-nav-inner {
    align-items: center !important;
}

body.driply-body .driply-nav-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    color: #94A3B8 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.driply-body .driply-nav-item p {
    font-family: var(--font) !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
}

body.driply-body .driply-nav-item.active .driply-nav-icon {
    background: #4A2C2A !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.24) !important;
}

body.driply-body .driply-nav-item.active p {
    color: #4A2C2A !important;
    font-weight: 700 !important;
}

.login-v2-submit {
    background: #6D28D9 !important;
    box-shadow: 0 10px 28px rgba(109, 40, 217, 0.32) !important;
}

.login-v2-input-group:focus-within {
    border-color: #6D28D9 !important;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.16) !important;
}

.legacy-page .legacy-content-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 10px 30px rgba(74, 44, 42, 0.08);
    padding: 20px 18px;
    margin: 0 16px 24px;
}

.legacy-page .legacy-content-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 16px;
    display: block;
}

.legacy-page .legacy-content-card p {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4B5563;
}

.legacy-page .legacy-content-card h2,
.legacy-page .legacy-content-card h3 {
    color: #1F2937;
    font-size: 1rem;
    margin: 0 0 10px;
}

.driply-empty {
    background: #fff;
    border-radius: 18px;
    border: 1px dashed #E5E7EB;
    padding: 28px 16px;
    text-align: center;
    color: #6B7280;
}

/* Deposit confirm bar visibility fix (v46) */
body.driply-body--deposit .deposit-mobile-bar {
    z-index: 10001;
    bottom: calc(var(--nav-height) + 8px + env(safe-area-inset-bottom, 0px));
}

body.driply-body--deposit .deposit-mobile-bar-inner {
    min-height: 64px;
}

body.driply-body--deposit .deposit-confirm-btn {
    flex-shrink: 0;
    min-width: 132px;
}

/* Inline continue payment card (v47) */
.deposit-continue-card {
    margin: 0 16px 16px;
    padding: 16px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(74, 44, 42, 0.12);
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 3;
}

.deposit-continue-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deposit-continue-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.deposit-continue-amount {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.deposit-continue-channel {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deposit-continue-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.32);
    transition: transform 0.2s var(--ease);
}

.deposit-continue-btn:active {
    transform: scale(0.98);
}

body.driply-body--deposit .driply-fab {
    display: none !important;
}

/* Product detail inline invest card (v48) */
.product-detail-cta-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(74, 44, 42, 0.12);
    border: 1px solid #F3F4F6;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 3;
}

.product-detail-cta-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.product-detail-cta-wallet strong {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--brown-primary);
}

.product-detail-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.32);
    transition: transform 0.2s var(--ease);
}

.product-detail-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.product-detail-cta-btn:active {
    transform: scale(0.98);
}

.product-detail-cta-btn.disabled,
.product-detail-cta-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

body.product-detail-page .driply-fab {
    display: none !important;
}

body.product-detail-page .product-detail-action {
    z-index: 10001;
}

/* Bottom nav reference polish (v49) */
.driply-nav-item:not(.active) .driply-nav-icon {
    background: transparent !important;
    box-shadow: none !important;
}

.driply-nav-item:not(.active) p {
    color: #94A3B8 !important;
}

.driply-nav-item.active .driply-nav-icon {
    background: #4A2C2A !important;
    color: #FFFFFF !important;
}

.driply-nav-item.active p {
    color: #4A2C2A !important;
}

/* Product invest success + CTA (v50) */
.product-detail-success-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ECFDF5, #F0FDF4);
    border: 1px solid #BBF7D0;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12);
}

.product-detail-success-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16A34A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-detail-success-icon svg {
    width: 20px;
    height: 20px;
}

.product-detail-success-copy strong {
    display: block;
    font-size: 0.9375rem;
    color: #166534;
    margin-bottom: 4px;
}

.product-detail-success-copy p {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #15803D;
}

.product-detail-success-link,
.product-detail-error-link {
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4A2C2A;
    text-decoration: underline;
}

.product-detail-error-banner {
    padding: 14px 16px;
    border-radius: 18px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.product-detail-error-banner p {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #B91C1C;
}

.product-detail-balance-warning {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #B45309;
}

.product-detail-cta-btn--deposit {
    background: linear-gradient(145deg, #D97706, #B45309) !important;
}

/* Plans page instant invest (v51) */
.plans-invest-alert {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.plans-invest-alert p {
    margin: 0;
}

.plans-invest-alert--success {
    background: linear-gradient(145deg, #ECFDF5, #F0FDF4);
    border: 1px solid #BBF7D0;
    color: #166534;
}

.plans-invest-alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

.plans-invest-alert-meta {
    display: block;
    margin-top: 8px;
    color: #15803D;
}

.plans-invest-alert-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    color: #4A2C2A;
    text-decoration: underline;
}

.plans-invest-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

button.plans-invest-btn {
    appearance: none;
    -webkit-appearance: none;
}

/* Team copy button text visibility (v52) */
.team-header .team-copy-btn,
.team-invite-glass .team-copy-btn {
    color: #4A2C2A !important;
    -webkit-text-fill-color: #4A2C2A !important;
    background: #FFFFFF !important;
}

.team-header .team-copy-btn svg,
.team-invite-glass .team-copy-btn svg {
    color: #4A2C2A !important;
    stroke: #4A2C2A !important;
}

.team-header .team-copy-btn span,
.team-invite-glass .team-copy-btn span {
    color: #4A2C2A !important;
}

.invite-header .invite-share-btn,
.invite-link-card .invite-share-btn {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.invite-header .invite-share-btn svg,
.invite-link-card .invite-share-btn svg {
    color: #fff !important;
    stroke: #fff !important;
}

/* ===== Withdraw page — reference design (v53) ===== */
body.driply-body--withdraw {
    background: #F7F5F2;
}

.withdraw-body {
    padding-bottom: calc(var(--nav-height) + 24px + env(safe-area-inset-bottom, 0px));
}

body.driply-body--withdraw .driply-fab {
    display: none !important;
}

.withdraw-page--ref .withdraw-hero--ref {
    background: linear-gradient(180deg, #6B4428 0%, #4A2C2A 52%, #3D2318 100%);
    border-radius: 0 0 32px 32px;
    padding: max(10px, env(safe-area-inset-top)) 18px 38px;
    box-shadow: 0 12px 32px rgba(61, 35, 24, 0.22);
    color: #fff;
}

.withdraw-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.withdraw-hero-back,
.withdraw-hero-history {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.withdraw-hero-history {
    width: auto;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.withdraw-hero-back svg {
    width: 20px;
    height: 20px;
}

.withdraw-hero-title {
    flex: 1;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 800;
}

.withdraw-hero-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.withdraw-hero-wallet {
    flex: 1;
    min-width: 0;
}

.withdraw-hero-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 8px;
}

.withdraw-hero-label svg {
    width: 16px;
    height: 16px;
}

.withdraw-hero-balance {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.withdraw-hero-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.92;
}

.withdraw-hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.withdraw-hero-limit {
    text-align: right;
    flex-shrink: 0;
}

.withdraw-hero-limit-value {
    font-size: 1.125rem;
    font-weight: 800;
}

.withdraw-hero-limit-label {
    font-size: 0.6875rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 4px;
}

.withdraw-sheet {
    margin-top: -18px;
    padding: 0 16px 24px;
    position: relative;
    z-index: 2;
}

.withdraw-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.withdraw-stat-pill {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(74, 44, 42, 0.08);
    border: 1px solid #F3F4F6;
}

.withdraw-stat-pill-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 4px;
}

.withdraw-stat-pill strong {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #4A2C2A;
}

.withdraw-notice--ref {
    border-radius: 16px;
    margin-bottom: 14px;
}

.withdraw-main-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 32px rgba(74, 44, 42, 0.1);
    border: 1px solid #F3F4F6;
    overflow: hidden;
    margin-bottom: 14px;
}

.withdraw-section {
    padding: 18px 16px;
    border-bottom: 1px solid #F3F4F6;
}

.withdraw-section:last-child {
    border-bottom: none;
}

.withdraw-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.withdraw-panel-head svg {
    width: 20px;
    height: 20px;
    color: #4A2C2A;
    flex-shrink: 0;
    margin-top: 2px;
}

.withdraw-panel-head h2 {
    margin: 0 0 2px;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #1F2937;
}

.withdraw-panel-head p {
    margin: 0;
    font-size: 0.75rem;
    color: #6B7280;
}

.withdraw-panel-head .withdraw-edit-link {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A2C2A;
    text-decoration: none;
    white-space: nowrap;
}

.withdraw-bank-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 14px;
}

.withdraw-bank-details {
    min-width: 0;
}

.withdraw-bank-name {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 4px;
}

.withdraw-bank-meta {
    font-size: 0.75rem;
    color: #6B7280;
    word-break: break-word;
}

.withdraw-quick-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.withdraw-quick-btn {
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #4A2C2A;
    border-radius: 12px;
    padding: 10px 4px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.withdraw-quick-btn:hover:not(:disabled),
.withdraw-quick-btn.active {
    background: #FFF7ED;
    border-color: #4A2C2A;
    color: #4A2C2A;
}

.withdraw-quick-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.withdraw-amount-field {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 0 16px;
    background: #FAFAF9;
    margin-bottom: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.withdraw-amount-field:focus-within {
    border-color: #4A2C2A;
    box-shadow: 0 0 0 3px rgba(74, 44, 42, 0.1);
    background: #fff;
}

.withdraw-amount-currency {
    font-size: 1rem;
    font-weight: 800;
    color: #4A2C2A;
}

.withdraw-amount-field input {
    flex: 1;
    border: none;
    background: transparent;
    height: 52px;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    outline: none;
    min-width: 0;
    color: #1F2937;
}

.withdraw-fee-note {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 14px;
    line-height: 1.5;
}

.withdraw-fee-note strong {
    color: #4A2C2A;
}

.withdraw-submit-btn--inline {
    border-radius: 16px !important;
    background: linear-gradient(145deg, #8B5A3C, #4A2C2A) !important;
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.32) !important;
}

.withdraw-guide {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 6px 20px rgba(74, 44, 42, 0.06);
    padding: 16px;
    margin-bottom: 14px;
}

.withdraw-guide-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #4A2C2A;
    margin-bottom: 10px;
}

.withdraw-guide-head svg {
    width: 18px;
    height: 18px;
}

.withdraw-guide-list {
    margin: 0;
    padding-left: 18px;
    color: #6B7280;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.withdraw-guide-list strong {
    color: #1F2937;
}

.withdraw-recent-section {
    margin-bottom: 8px;
}

.withdraw-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.withdraw-recent-head h2 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #1F2937;
}

.withdraw-view-all {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A2C2A;
    text-decoration: none;
}

.withdraw-tx-card--ref {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 14px rgba(74, 44, 42, 0.06);
    padding: 14px 16px;
    margin-bottom: 10px;
}

.withdraw-empty-card {
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #E5E7EB;
    padding: 24px 16px;
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
}


/* —— Home (Paynex-style purple) —— */
body.driply-body--home {
    background: #F7F8FA !important;
}

.driply-page--home.hx-home {
    background: #F7F8FA;
    padding: 16px 18px 110px;
    min-height: 100vh;
}

.hx-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-top: env(safe-area-inset-top, 0);
}

.hx-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hx-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #6D28D9;
    flex-shrink: 0;
}

.hx-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-user-text { min-width: 0; }

.hx-greet {
    margin: 0;
    font-size: 0.8125rem;
    color: #9CA3AF;
    font-weight: 500;
}

.hx-phone {
    margin: 2px 0 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hx-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hx-avatar svg { width: 22px; height: 22px; }

.hx-balance { margin-bottom: 22px; }

.hx-balance-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 500;
    margin-bottom: 6px;
}

.hx-eye {
    border: none;
    background: transparent;
    padding: 2px;
    color: #9CA3AF;
    cursor: pointer;
    display: inline-flex;
}

.hx-eye svg { width: 18px; height: 18px; }

.hx-balance-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 10px;
}

.hx-account-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 0.75rem;
    font-weight: 600;
}

.hx-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.hx-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hx-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hx-action-icon svg { width: 22px; height: 22px; }

.hx-action-icon--recharge { background: #DBEAFE; color: #2563EB; }
.hx-action-icon--withdraw { background: #EDE9FE; color: #7C3AED; }
.hx-action-icon--checkin { background: #DCFCE7; color: #16A34A; }
.hx-action-icon--gift { background: #FFEDD5; color: #EA580C; }

.hx-action-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
}

.hx-invest-alert {
    margin: 0 0 14px;
}

.hx-products {
    margin-top: 4px;
}

.hx-income-banner {
    background: #EDE9FE;
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 18px;
}

.hx-income-banner-inner {
    background: #6D28D9;
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 14px;
}

.hx-products-title {
    margin: 0 0 14px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #6B7280;
}

.hx-product-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hx-product-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #EEF0F3;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.hx-product-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hx-product-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hx-product-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    flex-shrink: 0;
}

.hx-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-product-name {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.hx-product-cycle {
    margin: 3px 0 0;
    font-size: 0.8125rem;
    color: #9CA3AF;
    font-weight: 500;
}

.hx-product-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 0.75rem;
    font-weight: 700;
}

.hx-product-card.is-soldout .hx-product-badge {
    background: #F3F4F6;
    color: #6B7280;
}

.hx-product-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #F3F4F6;
    border-radius: 14px;
    padding: 14px 10px;
    margin-bottom: 14px;
}

.hx-product-stat {
    text-align: center;
}

.hx-product-stat-label {
    display: block;
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
    margin-bottom: 4px;
}

.hx-product-stat-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.hx-product-stat-value--daily {
    color: #6D28D9;
}

.hx-purchase-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    background: #6D28D9;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.hx-purchase-btn svg { width: 18px; height: 18px; }

.hx-purchase-btn:hover { background: #5B21B6; }

.hx-purchase-btn.disabled,
.hx-purchase-btn:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
}

.hx-purchase-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.hx-table-empty {
    text-align: center;
    padding: 24px 10px;
    color: #6B7280;
    font-size: 0.875rem;
}

/* Hide legacy table styles if leftover in markup */
.hx-products-card { display: none !important; }

/* Override legacy brown home header when using hx-home */
.driply-page--home.hx-home .driply-header--home { display: none !important; }

body.driply-body--home .driply-nav-item.active .driply-nav-icon,
body.driply-body .driply-nav-item.active .driply-nav-icon,
.driply-nav-item.active .driply-nav-icon {
    background: #6D28D9 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.28) !important;
    border-radius: 14px !important;
}

body.driply-body--home .driply-nav-item.active p,
body.driply-body .driply-nav-item.active p,
.driply-nav-item.active p {
    color: #6D28D9 !important;
}

@media (max-width: 360px) {
    .hx-table-head,
    .hx-table-row { font-size: 0.5rem; padding-left: 4px; padding-right: 4px; }
    .hx-balance-amount { font-size: 1.75rem; }
}