/* === OMOFX Design System === */
/* Mobile First | Dark Mode | Ultra Light */

@import url('/fonts/inter-wght-400-500-600-700-800-bce2b75fc2.css');

:root {
    /* ── Paper ───────────────────────────────────────────────────────── */
    --bg-deep:     #F1EDE6;
    --bg-primary:  #F7F5F1;
    --bg-elevated: #FFFFFF;
    --bg-surface:  #FFFFFF;

    /* Overlays sit dark on paper, not light on ink */
    --glass-bg:     rgba(20, 20, 20, 0.03);
    --glass-border: rgba(20, 20, 20, 0.10);
    --glass-hover:  rgba(20, 20, 20, 0.05);

    /* Legacy compatibility */
    --bg-secondary:  #F1EDE6;
    --bg-card:       #FFFFFF;
    --bg-card-hover: #FAF8F4;

    /* ── Accent: brass leads, the rest are muted to sit beside it ────── */
    --accent-1:      #8F7A3F;
    --accent-blue:   #3F6480;
    --accent-purple: #6E5F86;
    --accent-cyan:   #3F6480;
    --accent-green:  #3F7A54;
    --accent-amber:  #8A6520;
    --accent-rose:   #A8442F;

    --success: #3F7A54;
    --danger:  #A8442F;
    --warning: #8A6520;
    --info:    #3F6480;

    /* Flat by default; gradients stay within one hue */
    --gradient-primary: linear-gradient(135deg, #8F7A3F 0%, #A8925A 100%);
    --gradient-success: linear-gradient(135deg, #3F7A54, #5C9670);
    --gradient-danger:  linear-gradient(135deg, #A8442F, #C2614B);
    --gradient-gold:    linear-gradient(135deg, #906A21, #8F7A3F);
    --accent-gradient:  var(--gradient-primary);

    /* ── Ink ─────────────────────────────────────────────────────────── */
    --text-primary:   #141414;
    --text-secondary: #57544E;
    --text-muted:     #6E6A63;

    --border:        #E3DED4;
    --border-active: rgba(143, 122, 63, 0.45);

    --radius-sm:   10px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-full: 9999px;

    /* Soft shadows — the brand reads as hairlines, not depth */
    --shadow-sm:   0 1px 2px rgba(20, 20, 20, 0.05);
    --shadow-md:   0 4px 14px rgba(20, 20, 20, 0.08);
    --shadow-glow: 0 0 0 3px rgba(143, 122, 63, 0.15);

    --nav-height:  72px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 16px);
}

a { color: var(--accent-1); text-decoration: none; }
a:hover { color: var(--accent-1); }

/* === Layout === */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 1024px) {
    .container { max-width: 960px; }
}

/* === Page Header === */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 12px;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 90;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* === Cards === */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:active {
    transform: scale(0.98);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.card-gradient {
    background: var(--accent-gradient);
    border: none;
}

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

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
    background: var(--text-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover { border-color: var(--accent-1); color: var(--accent-1); }

.btn-sm {
    padding: 8px 16px;
    min-height: 36px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 32px;
    min-height: 52px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* === Bottom Navigation === */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
    padding-bottom: var(--safe-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.nav-item.active {
    color: var(--accent-1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 0 0 4px 4px;
}

.nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* === Stat Boxes === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}

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

.stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
}

.badge-success { background: rgba(63, 122, 84, 0.15); color: var(--success); }
.badge-danger { background: rgba(168, 68, 47, 0.15); color: var(--danger); }
.badge-warning { background: rgba(144, 106, 33, 0.15); color: var(--warning); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.badge-primary { background: rgba(143, 122, 63, 0.15); color: var(--accent-1); }

/* === Forms === */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
    min-height: 48px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(143, 122, 63, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-error {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 4px;
}

/* === Progress Bar === */
.progress-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* === Lists === */
.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.list-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.list-content { flex: 1; min-width: 0; }
.list-title { font-size: 0.875rem; font-weight: 500; }
.list-subtitle { font-size: 0.75rem; color: var(--text-muted); }
.list-value { text-align: right; flex-shrink: 0; }

/* === Tab system === */
.tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab {
    flex: 1;
    min-width: fit-content;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab.active {
    background: var(--text-primary);
    color: #fff;
}

/* === Skeleton Loading === */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

.animate-in {
    animation: fadeIn 0.3s ease forwards;
}

.animate-slide {
    animation: slideUp 0.4s ease forwards;
}

/* === Trading Chart === */
.chart-container {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* === Predict Buttons === */
.predict-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.btn-up {
    background: var(--success);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px;
    border-radius: var(--radius-lg);
}

.btn-down {
    background: var(--danger);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px;
    border-radius: var(--radius-lg);
}

/* === Mission Card === */
.mission-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.mission-card.completed {
    border-color: var(--success);
    background: rgba(63, 122, 84, 0.05);
}

.mission-icon { font-size: 1.5rem; flex-shrink: 0; }
.mission-info { flex: 1; }
.mission-title { font-size: 0.875rem; font-weight: 600; }
.mission-desc { font-size: 0.75rem; color: var(--text-muted); }

.mission-progress {
    margin-top: 6px;
}

.mission-reward {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-1);
    text-align: right;
}

/* === Network Tree === */
.tree-level {
    margin-bottom: 12px;
}

.tree-level-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    cursor: pointer;
}

.tree-users {
    padding: 8px 0 0 20px;
    display: none;
}

.tree-users.open { display: block; }

/* === Rank Badge === */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* === Wheel === */
.wheel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.wheel-pointer {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 10;
    filter: drop-shadow(0 1px 2px rgba(20,20,20,0.18));
}

/* === Alert / Toast === */
.toast {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 200;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.toast-success { background: var(--success); color: #fff; }
.toast-error { background: var(--danger); color: #fff; }
.toast-info { background: var(--info); color: #fff; }

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

/* === Utilities === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-1); }
.text-gradient {
    color: var(--text-primary);
}
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-sm { font-size: 0.8125rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.hidden { display: none; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   DESKTOP / LAPTOP RESPONSIVE (768px+)
   ============================================ */

/* Landing page full-width */
.landing-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.landing-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(143, 122, 63,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.06) 0%, transparent 60%);
    animation: bgShift 20s ease infinite alternate;
}

@keyframes bgShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, 5%); }
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.landing-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.landing-nav-links {
    display: flex;
    gap: 12px;
}

.landing-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-1);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.landing-footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Desktop two-column layouts */
.desktop-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Sidebar nav for desktop */
.desktop-sidebar {
    display: none;
}

@media (min-width: 768px) {
    .landing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-hero h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .desktop-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .chart-container {
        height: 380px;
    }

    .container {
        max-width: 720px;
    }

    .toast {
        max-width: 400px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-100px);
    }
    .toast.show {
        transform: translateX(-50%) translateY(0);
    }
}

@media (min-width: 1024px) {
    .landing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.has-sidebar {
        padding-left: 240px;
        padding-bottom: 16px;
    }

    body.has-sidebar .bottom-nav {
        display: none;
    }

    .desktop-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 240px;
        background: var(--bg-secondary);
        border-right: 1px solid var(--border);
        padding: 20px 0;
        z-index: 101;
        overflow-y: auto;
    }

    .sidebar-logo {
        padding: 0 20px 20px;
        font-size: 1.25rem;
        font-weight: 800;
        border-bottom: 1px solid var(--border);
        margin-bottom: 12px;
    }

    .sidebar-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s;
        border-left: 3px solid transparent;
    }

    .sidebar-item:hover {
        color: var(--text-primary);
        background: var(--bg-card);
    }

    .sidebar-item.active {
        color: var(--accent-1);
        background: rgba(143, 122, 63, 0.08);
        border-left-color: var(--accent-1);
    }

    .sidebar-icon { font-size: 1.125rem; width: 24px; text-align: center; }

    .container {
        max-width: 900px;
    }

    .chart-container {
        height: 420px;
    }

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

@media (min-width: 1280px) {
    .container {
        max-width: 1060px;
    }

    .landing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Price ticker animation */
@keyframes tickerGreen {
    0% { color: var(--text-primary); }
    50% { color: var(--success); }
    100% { color: var(--text-primary); }
}
@keyframes tickerRed {
    0% { color: var(--text-primary); }
    50% { color: var(--danger); }
    100% { color: var(--text-primary); }
}
.price-up { animation: tickerGreen 0.6s ease; }
.price-down { animation: tickerRed 0.6s ease; }

/* Live dot */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: pulse 1.5s ease infinite;
}

/* Referral section */
.ref-level-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.ref-level-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.ref-level-info { flex: 1; }
.ref-level-percent {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--accent-1);
}

/* =========================================================
   NEO-VAULT: PREMIUM REDESIGN MODULES
   ========================================================= */

/* Overrides for main app layout */
body {
    background: var(--bg-deep) radial-gradient(circle at 50% -20%, rgba(143, 122, 63, 0.10) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Neo Header */
.neo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 24px;
}

.neo-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neo-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    padding: 2px;
    background: var(--gradient-primary);
}

.neo-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--bg-primary);
}

.live-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--bg-primary);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.neo-greeting .greeting-text {
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.neo-greeting .user-name {
    font-size: 1.125rem;
    line-height: 1.2;
}

.neo-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(144, 106, 33, 0.15);
    border: 1px solid rgba(144, 106, 33, 0.3);
    color: var(--warning);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.vip-icon {
    width: 14px;
    height: 14px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: var(--glass-hover);
}

.icon-btn i {
    width: 20px;
    height: 20px;
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: var(--radius-full);
}

/* Glass Card */
.neo-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

/* Alerts */
.neo-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background: var(--glass-bg);
    border-left: 4px solid var(--accent-1);
}

.alert-warning { border-left-color: var(--warning); background: rgba(144, 106, 33, 0.05); }
.alert-danger { border-left-color: var(--danger); background: rgba(168, 68, 47, 0.05); }

.alert-icon {
    color: var(--accent-1);
    flex-shrink: 0;
}
.alert-warning .alert-icon { color: var(--warning); }
.alert-danger .alert-icon { color: var(--danger); }

.alert-title { font-weight: 700; font-size: 0.875rem; margin-bottom: 4px; }
.alert-desc { font-size: 0.8125rem; color: var(--text-muted); }

/* Dim Backgrounds for Icons */
.bg-warning-dim { background: rgba(144, 106, 33, 0.15); }
.bg-success-dim { background: rgba(63, 122, 84, 0.15); }
.bg-danger-dim { background: rgba(168, 68, 47, 0.15); }
.bg-accent-dim { background: rgba(143, 122, 63, 0.15); }
.bg-glass { background: var(--glass-bg); }

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Card */
.neo-hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin-bottom: 24px;
}

.hero-bg-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    transition: filter 0.3s;
}

.balance-amount .currency-symbol {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.6;
    margin-right: 4px;
}

.blur-text {
    filter: blur(8px);
}

.balance-stats {
    display: flex;
    gap: 12px;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quick Action Orbits */
.neo-orbits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.orbit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s;
}

.orbit-btn:active {
    transform: scale(0.92);
}

.orbit-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.orbit-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.bg-gradient-blue { background: var(--accent-1); }
.bg-gradient-cyan { background: var(--info); }
.bg-gradient-purple { background: var(--accent-purple); }
.bg-gradient-rose { background: var(--danger); }

/* Stats Row */
.neo-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 20px;
    height: 20px;
}

.stat-details {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.section-link {
    font-size: 0.8125rem;
    color: var(--accent-1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-link i {
    width: 14px;
    height: 14px;
}

/* Horizontal Scroll */
.neo-horizontal-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.neo-horizontal-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.neo-wallet-card {
    min-width: 220px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    flex-shrink: 0;
}

.currency-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--glass-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Daily Missions Widget */
.missions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.neo-mission-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
}

.neo-mission-item.completed {
    border-color: rgba(63, 122, 84, 0.3);
    background: rgba(63, 122, 84, 0.05);
}

.mission-details {
    flex: 1;
}

.mission-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.mission-progress-bar {
    height: 4px;
    background: var(--glass-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.mission-progress-bar .progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.neo-mission-item.completed .progress-fill {
    background: var(--success);
}

.mission-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-1);
}

/* Timeline */
.neo-timeline {
    padding: 20px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-icon i {
    width: 18px;
    height: 18px;
}

.timeline-content {
    flex: 1;
    padding-top: 10px;
}

/* Referral Banner */
.neo-referral-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.neo-referral-banner::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.35)" stroke-width="2" fill="none"/></svg>') no-repeat right -50px top -50px;
    background-size: 200px;
    opacity: 0.5;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.ref-input-group {
    display: flex;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    padding: 4px;
    max-width: 280px;
}

.ref-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    font-size: 0.75rem;
    outline: none;
}

.ref-copy-btn {
    background: #fff;
    color: var(--accent-purple);
    border: none;
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ref-copy-btn i {
    width: 16px;
    height: 16px;
}

.banner-icon {
    font-size: 4rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    margin-left: 16px;
    color: rgba(255,255,255,0.8);
}
.banner-icon i {
    width: 64px;
    height: 64px;
}

/* Floating Bottom Navigation (Mobile) */
@media (max-width: 1023px) {
    body {
        padding-bottom: calc(var(--nav-height) + 24px);
    }
    
    .bottom-nav {
        bottom: 16px;
        left: 16px;
        right: 16px;
        border-radius: var(--radius-xl);
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        height: var(--nav-height);
        box-shadow: var(--shadow-md);
    }
    
    .nav-item {
        color: var(--text-muted);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-item i {
        width: 22px;
        height: 22px;
        margin-bottom: 4px;
        transition: transform 0.3s;
    }
    
    .nav-item.active {
        color: var(--accent-1);
    }
    
    .nav-item.active i {
        color: var(--accent-1);
        transform: translateY(-2px);
    }
    
    .nav-item.active::before {
        display: none;
    }
    
    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 8px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--accent-1);
    }
}

/* Sidebar Redesign (Desktop) */
@media (min-width: 1024px) {
    .desktop-sidebar {
        background: var(--bg-surface);
        border-right: 1px solid var(--glass-border);
        width: 260px;
    }
    
    body.has-sidebar {
        padding-left: 260px;
    }
    
    .sidebar-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 24px;
        border-bottom: 1px solid var(--glass-border);
        margin-bottom: 16px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        background: var(--accent-gradient);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }
    
    .sidebar-menu {
        padding: 0 16px;
    }
    
    .menu-label {
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-muted);
        font-weight: 700;
        margin-bottom: 8px;
        padding-left: 12px;
    }
    
    .sidebar-item {
        border-radius: var(--radius-md);
        margin-bottom: 4px;
        border-left: none;
    }
    
    .sidebar-item.active {
        background: rgba(143, 122, 63, 0.1);
        color: var(--accent-1);
    }
    
    .sidebar-icon {
        width: 20px;
        height: 20px;
    }
    
    .sidebar-logout {
        padding: 16px;
        border-top: 1px solid var(--glass-border);
    }
    
    .logout-btn {
        width: 100%;
        color: var(--danger);
        background: rgba(168, 68, 47, 0.05);
    }
    
    .logout-btn:hover {
        background: rgba(168, 68, 47, 0.1);
        color: var(--danger);
    }
}


/* ── Mobile "More" sheet ──────────────────────────────────────────────
   The bottom bar holds five destinations; the sidebar it stands in for on
   mobile holds eleven. This sheet carries the rest.                     */
.nav-more {
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.45);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 1200;
}
.sheet-backdrop.is-open { opacity: 1; }

.more-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1201;
    background: var(--bg-card);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    box-shadow: 0 -8px 32px rgba(20, 20, 20, 0.12);
    padding: 10px 16px calc(20px + var(--safe-bottom));
    max-height: 82vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.more-sheet.is-open { transform: translateY(0); }

.more-sheet-grip {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: var(--border);
    margin: 0 auto 14px;
}

.more-sheet-title {
    margin: 0 0 4px;
    padding: 0 4px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.more-group {
    margin: 18px 0 6px;
    padding: 0 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.more-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 11px 4px;
    border: 0;
    background: none;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.more-item:active { background: var(--glass-bg); }
.more-item.is-current { background: var(--glass-bg); }
.more-item.is-current .more-tile { background: var(--accent-1); color: var(--bg-card); }

.more-tile {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.more-tile i { width: 20px; height: 20px; }

.more-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
}
.more-label small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.more-chev {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.more-logout { margin-top: 6px; }
.more-item.is-danger { color: var(--danger); }
.more-item.is-danger .more-tile { color: var(--danger); }

/* The sheet only exists where the sidebar does not. */
@media (min-width: 1024px) {
    .nav-more, .more-sheet, .sheet-backdrop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .more-sheet, .sheet-backdrop { transition: none; }
}

/* ── Notifications: badges and the global banner ───────────────────── */
.sb-badge { margin-left: auto; background: var(--danger); color: #fff; font-size: 0.66rem; font-weight: 800; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; }
.sb-badge[hidden] { display: none !important; }
.more-badge { margin-left: 0; margin-right: 6px; }
.nav-dot { position: absolute; top: 6px; right: calc(50% - 14px); width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.nav-dot[hidden] { display: none !important; }
.nb { display: flex; align-items: flex-start; gap: 12px; margin: 12px auto 0; max-width: 760px; border-radius: 14px; padding: 12px 14px; color: #fff; }
.nb-ok { background: var(--success); } .nb-warn { background: var(--warning); }
.nb-i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex: 0 0 auto; font-weight: 900; }
.nb-t { font-weight: 900; font-size: .9rem; } .nb-b { font-size: .8rem; opacity: .95; margin-top: 2px; }
.nb-a { display: inline-block; margin-top: 6px; background: #fff; color: var(--text-primary); font-weight: 800; font-size: .76rem; padding: 5px 10px; border-radius: 8px; text-decoration: none; }
.nb-x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.05rem; cursor: pointer; }

/* ── Guards: `hidden` always wins; the deposit banner stays in view; warning toasts ── */
[hidden] { display: none !important; }
.nb { position: sticky; top: 12px; z-index: 5; }
.toast-warning { background: var(--warning); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════════
   Deposit sheet (.ds-*) — resources/views/components/deposit-sheet.blade.php
   A sheet that rises over the page on a phone and becomes a centred dialog from
   720 px. Three steps slide sideways inside it: coin → network and method → the
   deposit itself. Paper, ink and brass, like the rest of the site.
   ══════════════════════════════════════════════════════════════════════════════ */
body.ds-lock { position: fixed; width: 100%; overflow: hidden; }

.ds-back { position: fixed; inset: 0; background: rgba(24, 21, 16, .5); opacity: 0; transition: opacity .3s ease; z-index: 1200; }
.ds-root.is-open .ds-back { opacity: 1; }

.ds-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1201;
    display: flex; flex-direction: column;
    max-height: 94vh; max-height: 94dvh;
    background: var(--bg-card); color: var(--text-primary);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -2px 0 rgba(143, 122, 63, .18), 0 -18px 60px rgba(20, 18, 14, .28);
    transform: translateY(100%);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1);
    padding-bottom: env(safe-area-inset-bottom);
}
.ds-root.is-open .ds-panel { transform: none; }
.ds-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 9px auto 0; flex: 0 0 auto; }

/* ── header ── */
.ds-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; flex: 0 0 auto; }
.ds-head-t { flex: 1; min-width: 0; }
.ds-head h2 { font-size: 1.06rem; font-weight: 900; margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.ds-head p { margin: 2px 0 0; font-size: .75rem; color: var(--text-muted); }
.ds-ico-btn { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); color: var(--text-primary); font-size: .9rem; cursor: pointer; font-family: inherit; transition: background .15s ease, border-color .15s ease; }
.ds-ico-btn:hover { background: var(--bg-secondary); border-color: var(--border-active); }
.ds-root :focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; }

/* three-segment progress, so the customer always knows where they are */
.ds-prog { display: flex; gap: 4px; padding: 0 14px 12px; flex: 0 0 auto; }
.ds-prog i { height: 3px; flex: 1; border-radius: 2px; background: var(--border); transition: background .3s ease; }
.ds-prog i.on { background: var(--accent-1); }

/* ── body / steps ── */
.ds-body { flex: 1 1 auto; overflow: hidden; border-top: 1px solid var(--border); }
.ds-track { display: flex; width: 300%; transform: translateX(0); transition: transform .34s cubic-bezier(.22, 1, .36, 1), height .28s ease; }
.ds-slide { width: 33.3333%; align-self: flex-start; padding: 16px 14px 18px; overflow-y: auto; max-height: calc(94vh - 190px); -webkit-overflow-scrolling: touch; }

/* ── selectable rows ── */
.ds-list { display: grid; gap: 9px; }
.ds-row { position: relative; display: grid; grid-template-columns: 42px 1fr 16px; align-items: center; gap: 13px; width: 100%; min-height: 66px; text-align: left; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); color: var(--text-primary); cursor: pointer; font-family: inherit; transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.ds-row:hover { border-color: var(--border-active); background: var(--bg-card-hover); }
.ds-row:active { transform: scale(.994); }
.ds-row[aria-checked="true"] { border-color: var(--accent-1); box-shadow: 0 0 0 1px var(--accent-1) inset; }
.ds-row[disabled] { opacity: .45; cursor: not-allowed; }
.ds-row[disabled]:hover { border-color: var(--border); background: var(--bg-card); }
.ds-row-t { min-width: 0; }
.ds-name { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .94rem; line-height: 1.25; }
.ds-sub { display: block; font-size: .745rem; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.ds-chev { color: var(--text-muted); opacity: .6; }
.ds-badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.02rem; color: #fff; background: var(--text-primary); letter-spacing: -.02em; }
.ds-badge-addr { background: linear-gradient(145deg, #2A2A2A, #141414); }
.ds-badge-fp { background: linear-gradient(145deg, #A38C4C, #8F7A3F); }
/* a coin or chain shows its own mark, on paper — never a coloured disc of our own invention */
.ds-logo { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.ds-logo img { display: block; width: 26px; height: 26px; object-fit: contain; }
.ds-logo-text { font-weight: 900; font-size: 1rem; color: var(--text-primary); background: var(--bg-secondary); }
.ds-logo-sm { width: 19px; height: 19px; border: 0; background: transparent; display: inline-grid; vertical-align: -4px; }
.ds-logo-sm img { width: 15px; height: 15px; }
.ds-tag { font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: rgba(63, 122, 84, .12); color: var(--success); }

/* ── network card ── */
.ds-netcard { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-secondary); }
.ds-net-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; }
.ds-net-s { font-size: .745rem; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.ds-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .66rem; font-weight: 800; letter-spacing: .02em; padding: 3px 7px; border-radius: 6px; background: var(--text-primary); color: #fff; white-space: nowrap; }
.ds-code-mute { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.ds-soon { display: flex; align-items: center; gap: 7px; font-size: .735rem; color: var(--text-muted); margin: 9px 2px 0; }
.ds-label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); margin: 18px 2px 8px; }
.ds-hint { font-size: .78rem; color: var(--text-muted); line-height: 1.55; margin: 0 2px 12px; }

/* ── the address step ── */
.ds-chain { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .76rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 14px; }
.ds-chain .ds-code { font-size: .62rem; }

.ds-qr-card { position: relative; width: 190px; margin: 0 auto; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 2px 10px rgba(20, 18, 14, .06); }
.ds-qr-card svg { width: 100%; height: auto; display: block; }
/* brass scan-frame corners — decoration only, the code itself is untouched */
.ds-qr-card::before, .ds-qr-card::after,
.ds-qr-card > .ds-cnr::before, .ds-qr-card > .ds-cnr::after {
    content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent-1); border-radius: 3px;
}
.ds-qr-card::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.ds-qr-card::after { top: 7px; right: 7px; border-left: 0; border-bottom: 0; }
.ds-qr-card > .ds-cnr::before { bottom: 7px; left: 7px; border-right: 0; border-top: 0; }
.ds-qr-card > .ds-cnr::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }
.ds-qr-cap { text-align: center; font-size: .73rem; color: var(--text-muted); margin-top: 9px; }

.ds-addr-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 2px 7px; }
.ds-addr-head span { font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.ds-pill { font-size: .62rem; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; background: rgba(143, 122, 63, .12); color: var(--accent-1); text-transform: none; }
/* the address exactly as it will be pasted: one plain string, wrapped where it must wrap */
.ds-addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; line-height: 1.65; word-break: break-all; text-align: left; color: var(--text-primary); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; cursor: pointer; user-select: all; -webkit-user-select: all; }
.ds-addr:hover { border-color: var(--border-active); }

.ds-cta { width: 100%; min-height: 50px; margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; background: var(--text-primary); color: #fff; font-weight: 800; font-size: .93rem; cursor: pointer; font-family: inherit; transition: background .2s ease, transform .1s ease; }
.ds-cta:active { transform: scale(.992); }
.ds-cta.is-done { background: var(--success); }
.ds-cta-ghost { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.ds-link { background: none; border: 0; padding: 0; color: var(--text-primary); font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent-1); cursor: pointer; font-family: inherit; font-size: inherit; }

/* ── live status ── */
.ds-status { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; padding: 13px 14px; border-radius: 14px; background: var(--bg-secondary); border: 1px solid var(--border); transition: background .25s ease, border-color .25s ease; }
.ds-status.is-seen { background: rgba(138, 101, 32, .07); border-color: rgba(138, 101, 32, .28); }
.ds-status.is-ok { background: rgba(63, 122, 84, .09); border-color: rgba(63, 122, 84, .32); }
.ds-status.is-err { background: rgba(168, 68, 47, .07); border-color: rgba(168, 68, 47, .28); }
.ds-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; margin-top: 5px; background: var(--text-muted); position: relative; }
.ds-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.ds-dot-wait { animation: ds-pulse 1.8s ease-in-out infinite; }
.ds-dot-seen { background: var(--warning); color: var(--warning); animation: ds-pulse .9s ease-in-out infinite; }
.ds-dot-seen::after { opacity: .3; animation: ds-ring 1.6s ease-out infinite; }
.ds-dot-ok { background: var(--success); }
.ds-dot-err { background: var(--danger); }
@keyframes ds-pulse { 0%, 100% { opacity: .3 } 50% { opacity: 1 } }
@keyframes ds-ring { 0% { transform: scale(.6); opacity: .45 } 100% { transform: scale(1.5); opacity: 0 } }
.ds-status-t { font-size: .86rem; font-weight: 800; line-height: 1.3; }
.ds-status-s { font-size: .755rem; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }

/* ── facts, compact ── */
.ds-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ds-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .71rem; font-weight: 700; color: var(--text-secondary); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; }
.ds-chip b { font-weight: 800; color: var(--text-primary); }
.ds-chip-ok { color: var(--success); border-color: rgba(63, 122, 84, .3); background: rgba(63, 122, 84, .07); }
.ds-fine { display: flex; gap: 7px; align-items: flex-start; font-size: .735rem; color: var(--text-muted); line-height: 1.5; margin-top: 12px; padding: 0 2px; }
.ds-fine i { flex: 0 0 auto; color: var(--warning); margin-top: 1px; }
.ds-more { background: none; border: 0; padding: 2px 0; color: var(--text-secondary); font-family: inherit; font-size: .735rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--border); cursor: pointer; }
.ds-more-body { font-size: .735rem; color: var(--text-muted); line-height: 1.55; margin-top: 7px; padding: 0 2px; }

/* ── FaucetPay ── */
.ds-input { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-secondary); color: var(--text-primary); font-size: 1.1rem; font-weight: 800; font-family: inherit; }
.ds-input:focus { border-color: var(--accent-1); background: var(--bg-card); }
.ds-presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 9px; }
.ds-presets button { min-height: 42px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card); color: var(--text-primary); font-weight: 800; font-size: .8rem; cursor: pointer; font-family: inherit; }
.ds-presets button:hover { border-color: var(--border-active); }
.ds-presets button.is-on { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

/* ── banner, skeleton, empty ── */
.ds-banner { display: flex; gap: 11px; align-items: flex-start; margin: 0 14px 12px; padding: 13px 14px; border-radius: 14px; background: var(--success); color: #fff; flex: 0 0 auto; box-shadow: 0 4px 14px rgba(63, 122, 84, .22); animation: ds-drop .32s cubic-bezier(.22, 1, .36, 1); }
.ds-banner-warn { background: var(--warning); box-shadow: 0 4px 14px rgba(138, 101, 32, .22); }
@keyframes ds-drop { from { transform: translateY(-8px); opacity: 0 } to { transform: none; opacity: 1 } }
.ds-banner-i { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-weight: 900; }
.ds-banner-t { font-weight: 900; font-size: .89rem; line-height: 1.3; }
.ds-banner-b { font-size: .775rem; opacity: .95; margin-top: 3px; line-height: 1.5; }
.ds-banner-x { margin-left: auto; min-width: 30px; min-height: 30px; background: none; border: 0; color: #fff; font-size: 1rem; cursor: pointer; opacity: .85; }

.ds-skel { display: grid; gap: 12px; justify-items: center; padding: 6px 0 2px; }
.ds-skel span { display: block; border-radius: 14px; background: linear-gradient(100deg, var(--bg-secondary) 30%, var(--bg-card-hover) 50%, var(--bg-secondary) 70%); background-size: 220% 100%; animation: ds-shim 1.3s linear infinite; }
.ds-skel .s-qr { width: 190px; height: 190px; }
.ds-skel .s-a { width: 100%; height: 52px; }
.ds-skel .s-b { width: 100%; height: 50px; }
@keyframes ds-shim { from { background-position: 180% 0 } to { background-position: -40% 0 } }

.ds-off { text-align: center; padding: 34px 14px; color: var(--text-muted); }
.ds-off-t { font-size: .96rem; font-weight: 800; color: var(--text-primary); margin-top: 10px; }
.ds-off-s { font-size: .8rem; margin-top: 5px; line-height: 1.55; }

.ds-foot { flex: 0 0 auto; padding: 11px 14px 15px; border-top: 1px solid var(--border); display: flex; justify-content: center; }
.ds-foot-a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 14px; font-size: .77rem; font-weight: 800; color: var(--text-secondary); border-radius: 10px; }
.ds-foot-a:hover { background: var(--bg-secondary); color: var(--text-primary); }

@media (min-width: 720px) {
    .ds-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: min(452px, 94vw); border-radius: 22px; max-height: 90vh; transform: translate(-50%, -44%) scale(.97); box-shadow: 0 30px 80px rgba(20, 18, 14, .32); }
    .ds-root.is-open .ds-panel { transform: translate(-50%, -50%) scale(1); }
    .ds-grip { display: none; }
    .ds-head { padding-top: 16px; }
    .ds-slide { max-height: calc(90vh - 200px); }
}
@media (max-width: 359px) {
    .ds-qr-card, .ds-skel .s-qr { width: 164px; }
    .ds-skel .s-qr { height: 164px; }
    .ds-presets { grid-template-columns: repeat(3, 1fr); }
    .ds-addr { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ds-back, .ds-panel, .ds-track, .ds-dot, .ds-dot::after, .ds-skel span, .ds-banner, .ds-row { transition: none !important; animation: none !important; }
}

/* ── /deposit — a launcher for the sheet, plus the explanation and the log ── */
.dp { max-width: 620px; margin: 0 auto; padding: 8px 0 110px; }
.dp-head { text-align: center; margin: 6px 0 16px; }
.dp-head h1 { font-size: 1.45rem; font-weight: 900; margin: 6px 0 2px; }
.dp-head p { font-size: .82rem; color: var(--text-muted); margin: 0; }
.dp-coins { display: grid; gap: 9px; margin-bottom: 14px; }
.dp-coin { display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 12px; min-height: 70px; padding: 13px 15px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); color: inherit; text-decoration: none; box-shadow: var(--shadow-md); }
.dp-coin:hover { border-color: var(--border-active); }
.dp-coin-t { min-width: 0; }
.dp-coin-n { display: block; font-size: 1rem; font-weight: 900; }
.dp-coin-s { display: block; font-size: .76rem; color: var(--text-muted); margin-top: 2px; }
.dp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; }
.dp-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dp-card-h h2 { font-size: .92rem; font-weight: 800; margin: 0; }
.dp-n { width: 24px; height: 24px; flex: 0 0 auto; border-radius: var(--radius-full); background: var(--bg-secondary); color: var(--text-primary); font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.dp-steps { display: grid; gap: 10px; }
.dp-step { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .82rem; line-height: 1.5; }
.dp-step b { display: block; }
.dp-k { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 800; font-size: .74rem; }
.dp-note { font-size: .78rem; color: var(--text-muted); line-height: 1.55; margin-top: 10px; }
.dp-note b { color: var(--text-primary); }
.dp-quiet { text-align: center; }
.dp-quiet-t { font-size: .96rem; font-weight: 800; margin-top: 8px; }
.dp-quiet-s { font-size: .8rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.dp-hist { display: grid; gap: 8px; }
.dp-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .82rem; }
.dp-amt { font-weight: 800; }
.dp-usd { color: var(--text-muted); font-weight: 500; }
.dp-st { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; align-self: center; padding: 2px 8px; border-radius: var(--radius-full); border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }
.dp-st-credited { color: var(--success); border-color: var(--success); }
.dp-st-held, .dp-st-dust, .dp-st-finalized { color: var(--warning); border-color: var(--warning); }
.dp-st-rejected, .dp-st-orphaned { color: var(--danger); border-color: var(--danger); }
.dp-meta { grid-column: 1 / -1; font-size: .74rem; color: var(--text-muted); }
.dp-lnk { color: var(--text-primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-1); text-underline-offset: 2px; }
.dp-more { text-align: center; margin: 8px 0 0; }
.dp-more a { display: inline-block; padding: 10px 14px; }
@media (min-width: 720px) { .dp { padding-top: 18px; } .dp-coins { grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════════════════════════════════════════════════════════
   Guided support (.sup-*) — resources/views/support.blade.php
   Area → what went wrong → an answer built from the customer's own records.
   ══════════════════════════════════════════════════════════════════════════════ */
.sup { max-width: 720px; margin: 0 auto; padding: 8px 0 110px; }
.sup [hidden] { display: none !important; }
.sup-head { text-align: center; margin: 6px 0 18px; }
.sup-head h1 { font-size: 1.5rem; font-weight: 900; margin: 0 0 4px; letter-spacing: -.015em; }
.sup-head p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

.sup-prog { display: flex; gap: 5px; margin: 0 auto 20px; max-width: 320px; }
.sup-prog i { height: 3px; flex: 1; border-radius: 2px; background: var(--border); transition: background .3s ease; }
.sup-prog i.on { background: var(--accent-1); }

.sup-step { margin-bottom: 20px; }
.sup-step-h { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.sup-step-h h2 { font-size: 1rem; font-weight: 800; margin: 0; flex: 1; line-height: 1.3; }
.sup-n { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--text-primary); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.sup-back { min-height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--text-primary); font-size: .74rem; font-weight: 800; cursor: pointer; font-family: inherit; }
.sup-back:hover { border-color: var(--border-active); }

/* the eight areas */
.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.sup-card { display: block; text-align: left; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); color: var(--text-primary); cursor: pointer; font-family: inherit; transition: border-color .15s ease, transform .1s ease; }
.sup-card:hover { border-color: var(--border-active); }
.sup-card:active { transform: scale(.994); }
.sup-card[aria-checked="true"] { border-color: var(--accent-1); box-shadow: 0 0 0 1px var(--accent-1) inset; }
.sup-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-secondary); color: var(--text-primary); display: grid; place-items: center; margin-bottom: 10px; }
.sup-card[aria-checked="true"] .sup-ico { background: var(--accent-1); color: #fff; }
.sup-card-t { display: block; font-weight: 800; font-size: .92rem; line-height: 1.3; }
.sup-card-s { display: block; font-size: .74rem; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }

/* the specific problems */
.sup-list { display: grid; gap: 8px; }
.sup-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; text-align: left; padding: 12px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); color: var(--text-primary); cursor: pointer; font-family: inherit; }
.sup-row:hover { border-color: var(--border-active); background: var(--bg-card-hover); }
.sup-row[aria-checked="true"] { border-color: var(--accent-1); box-shadow: 0 0 0 1px var(--accent-1) inset; }
.sup-row-t { flex: 1; font-weight: 700; font-size: .9rem; line-height: 1.35; }
.sup-chev { color: var(--text-muted); opacity: .6; flex: 0 0 auto; }

/* the answer */
.sup-answer { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); padding: 18px; }
.sup-load { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 26px 10px; font-size: .85rem; color: var(--text-muted); }
.sup-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--text-primary); animation: sup-spin .8s linear infinite; }
@keyframes sup-spin { to { transform: rotate(360deg) } }

.sup-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); }
.sup-verdict .sup-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sup-verdict.is-ok { color: var(--success); border-color: rgba(63,122,84,.35); background: rgba(63,122,84,.08); }
.sup-verdict.is-wait { color: var(--warning); border-color: rgba(138,101,32,.35); background: rgba(138,101,32,.08); }
.sup-verdict.is-act { color: var(--accent-1); border-color: rgba(143,122,63,.4); background: rgba(143,122,63,.08); }
.sup-verdict.is-human { color: var(--info); border-color: rgba(63,100,128,.35); background: rgba(63,100,128,.08); }

.sup-headline { font-size: 1rem; font-weight: 800; line-height: 1.45; margin: 12px 0 0; letter-spacing: -.01em; }

.sup-facts { display: grid; grid-template-columns: max-content 1fr; gap: 7px 16px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); font-size: .82rem; }
.sup-facts dt { color: var(--text-muted); font-weight: 600; }
.sup-facts dd { margin: 0; font-weight: 700; word-break: break-all; font-variant-numeric: tabular-nums; }

.sup-steps { margin: 14px 0 0; padding: 0 0 0 18px; display: grid; gap: 7px; font-size: .84rem; line-height: 1.6; color: var(--text-secondary); }
.sup-steps li::marker { color: var(--accent-1); }

.sup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sup-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card); color: var(--text-primary); font-size: .82rem; font-weight: 800; cursor: pointer; font-family: inherit; text-decoration: none; }
.sup-btn:hover { border-color: var(--border-active); background: var(--bg-secondary); }
.sup-btn-link { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.sup-btn-link:hover { background: #000; color: #fff; }
.sup-btn-ok { border-color: var(--success); color: var(--success); }

.sup-resolve { margin-top: 14px; padding: 15px; border: 1px dashed var(--border); border-radius: 14px; text-align: center; }
.sup-resolve-q { font-size: .88rem; font-weight: 800; margin: 0 0 11px; }
.sup-resolve-b { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.sup-form { margin-top: 14px; }
.sup-label { display: block; font-size: .8rem; font-weight: 800; margin-bottom: 8px; }
.sup-input { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg-secondary); color: var(--text-primary); font-size: .92rem; font-family: inherit; line-height: 1.6; resize: vertical; }
.sup-input:focus { border-color: var(--accent-1); background: var(--bg-card); outline: none; }
.sup-count { text-align: right; font-size: .7rem; color: var(--text-muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.sup-note { font-size: .76rem; color: var(--text-muted); line-height: 1.55; margin: 8px 0 0; }
.sup-cta { width: 100%; min-height: 50px; margin-top: 13px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; background: var(--text-primary); color: #fff; font-weight: 800; font-size: .92rem; cursor: pointer; font-family: inherit; }
.sup-cta:disabled { opacity: .6; cursor: default; }

.sup-done { text-align: center; padding: 26px 16px; }
.sup-done-i { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; }
.sup-done-t { font-size: 1.05rem; font-weight: 900; }
.sup-done-s { font-size: .85rem; color: var(--text-muted); margin-top: 6px; line-height: 1.55; }
.sup-done-ref { display: inline-block; margin-top: 12px; padding: 7px 13px; border-radius: 999px; background: var(--bg-secondary); border: 1px solid var(--border); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 800; }

.sup-past { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.sup-past h2 { font-size: .96rem; font-weight: 800; margin: 0 0 12px; }
.sup-past-list { display: grid; gap: 9px; }
.sup-past-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); }
.sup-past-t { font-size: .87rem; font-weight: 800; line-height: 1.3; }
.sup-past-m { font-size: .73rem; color: var(--text-muted); margin-top: 3px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.sup-tag { font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }
.sup-tag-done { color: var(--success); border-color: var(--success); }
.sup-tag-open { color: var(--warning); border-color: var(--warning); }
.sup-reply { margin: -4px 0 4px; padding: 12px 15px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 12px 12px; background: var(--bg-secondary); font-size: .83rem; line-height: 1.6; }
.sup-reply strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 5px; }

@media (max-width: 420px) {
    .sup-grid { grid-template-columns: 1fr 1fr; }
    .sup-card { padding: 13px; }
    .sup-facts { grid-template-columns: 1fr; gap: 2px 0; }
    .sup-facts dt { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .sup-spin, .sup-card, .sup-prog i { animation: none !important; transition: none !important; }
}


/* A menu entry an administrator can see before anyone else can. Saying so on the link is
   kinder than letting someone wonder why a section nobody mentioned has appeared. */
.fx-soon { margin-left:auto; padding:1px 6px; border-radius:5px; font-size:9px; font-weight:700;
           letter-spacing:.06em; text-transform:uppercase; background:rgba(240,185,11,.16); color:#b8860b; }
