/* =================================================================
   DEPTHSIGNALS ELITE — Design System
   "Obsidian Glass Void"
   Black canvas. Cyan accents. Glassmorphism.

   Single source of truth for all pages.
   Extracted from 5 inline <style> blocks (~1000 lines eliminated).
   ================================================================= */

/* ─── Self-hosted Fonts ─── */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('/fonts/JetBrainsMono-Variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

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

/* ─── Design Tokens ─── */
:root {
    /* Backgrounds */
    --bg: #000000;
    --glass: rgba(32, 32, 36, 0.72);
    --glass-solid: rgba(32, 32, 36, 0.90);
    --glass-border: rgba(255,255,255,0.08);
    --glass-border-hover: rgba(255,255,255,0.16);
    --card-bg: rgba(38, 38, 42, 0.60);

    /* Text hierarchy */
    --text: #f5f5f7;
    --text-2: #98989d;
    --text-3: #8e8e93;

    /* Semantic colors */
    --green: #34c759;
    --red: #ff453a;
    --blue: #0a84ff;
    --orange: #ff9f0a;

    /* Brand accent (cyan-dominant) */
    --cyan: #64d2ff;
    --cyan-dim: rgba(100,210,255,0.12);
    --teal: #30d5c8;
    --teal-dim: rgba(48,213,200,0.10);
    --purple: #aa55ff;
    --purple-dim: rgba(170,85,255,0.12);

    /* Layout */
    --radius: 14px;

    /* Typography */
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Base ─── */
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.006;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ─── Scrollbars ─── */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
::-webkit-scrollbar-corner { background: transparent; }

/* ─── Animations ─── */
@keyframes ds-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ─── Utility Colors ─── */
.green { color: var(--green); }
.red { color: var(--red); }
.cyan { color: var(--cyan); }
.orange { color: var(--orange); }
.teal { color: var(--teal); }
.purple { color: var(--purple); }
.blue { color: var(--blue); }
.text-2 { color: var(--text-2); }
.mono { font-family: var(--font-mono); }

/* ─── Tier Badges ─── */
.tier-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 8px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.tier-text-3 { color: var(--text-3); background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); }
.tier-cyan { color: var(--cyan); background: rgba(100,210,255,0.08); border: 1px solid rgba(100,210,255,0.15); }
.tier-teal { color: var(--teal); background: rgba(48,213,200,0.08); border: 1px solid rgba(48,213,200,0.15); }
.tier-purple { color: #aa55ff; background: rgba(170,85,255,0.08); border: 1px solid rgba(170,85,255,0.15); }

/* ─── Focus Visible (accessibility) ─── */
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* =================================================================
   TOPBAR — Shared sticky navigation bar
   Used by: dashboard, pulse-dashboard, ulim-dashboard
   ================================================================= */
.topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-solid);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-icon-fallback {
    width: 30px; height: 30px;
    background: var(--cyan-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    color: var(--cyan);
}

.topbar-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}

/* DEPTH (white) + SIGNALS (cyan) — consistent across all pages */
.topbar-logo .brand-accent { color: var(--cyan); }

.topbar-tabs {
    display: flex;
    gap: 2px;
    margin-left: 24px;
}

.tab-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover { color: var(--text-2); background: rgba(255,255,255,0.03); }
.tab-btn.active { color: var(--cyan); background: var(--cyan-dim); }

.tab-pnl { font-size: 9px; font-weight: 600; }
.tab-pnl.positive { color: var(--green); }
.tab-pnl.negative { color: var(--red); }

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text-2); }

.logout-btn {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    color: var(--text-3);
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover { color: var(--red); border-color: rgba(255,69,58,0.3); }

/* ─── Status Indicators ─── */
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.status-dot.offline { background: var(--red); animation: none; }
.status-dot.polling { background: var(--orange); }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,199,89,0.4); }
    50% { opacity: 0.4; box-shadow: 0 0 0 4px rgba(52,199,89,0); }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
}

.system-time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
}

/* =================================================================
   CARD SYSTEM — Glass cards with hover states
   ================================================================= */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.3s;
}

.glass-card:hover { border-color: var(--glass-border-hover); }

/* Elevated variant — KPI cards, important sections */
.glass-card--elevated {
    border-top: 1px solid rgba(100,210,255,0.10);
    background: linear-gradient(180deg, rgba(100,210,255,0.02) 0%, var(--glass) 50%);
}

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

.card-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.card-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* =================================================================
   STATS STRIP — KPI row
   ================================================================= */
.stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-card {
    text-align: center;
    padding: 12px 16px;
    flex: 1 1 auto;
    min-width: 120px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--cyan);
    line-height: 1.1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
}

.stat-value.negative { color: var(--red); }

.stat-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    margin-top: 2px;
}

/* =================================================================
   BTC BANNER — Market context bar
   ================================================================= */
.btc-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
}

.btc-price-block { flex: 0 0 auto; }

.btc-price-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.btc-price-value {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.btc-change {
    font-family: var(--font-mono);
    font-size: 12px;
    margin-top: 4px;
}

.trend-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid;
}

.trend-badge-label {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.trend-badge-value {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.trend-bullish { border-color: rgba(52,199,89,0.3); background: rgba(52,199,89,0.08); color: var(--green); }
.trend-bearish { border-color: rgba(255,69,58,0.3); background: rgba(255,69,58,0.08); color: var(--red); }
.trend-neutral, .trend-ranging { border-color: rgba(255,159,10,0.3); background: rgba(255,159,10,0.08); color: var(--orange); }

.session-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
}

.session-label {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-3);
}

.session-value {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan);
}

.kz-active {
    color: var(--orange);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    background: rgba(255,159,10,0.1);
    border-radius: 4px;
}

.btc-separator {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
    flex-shrink: 0;
}

.eth-mini { display: flex; flex-direction: column; gap: 2px; }
.eth-mini-label { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.8px; font-family: var(--font-mono); }
.eth-mini-price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--text-2); }

/* =================================================================
   BADGE SYSTEM — Unified across all dashboards
   ================================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

/* Direction */
.badge-buy { background: rgba(52,199,89,0.1); color: var(--green); }
.badge-sell { background: rgba(255,69,58,0.1); color: var(--red); }

/* Status */
.badge-exec { background: rgba(52,199,89,0.08); color: var(--green); }
.badge-block { background: rgba(255,69,58,0.06); color: #ff6b6b; }
.badge-pend { background: rgba(255,159,10,0.06); color: var(--orange); }

/* Strategy type */
.badge-rev { background: rgba(100,210,255,0.1); color: var(--cyan); }
.badge-cont { background: rgba(48,213,200,0.1); color: var(--teal); }
.badge-scalp { background: rgba(10,132,255,0.1); color: var(--blue); }
.badge-intraday { background: rgba(255,159,10,0.1); color: var(--orange); }
.badge-swing { background: rgba(191,90,242,0.1); color: #bf5af2; }

/* Engine */
.badge-mean { background: var(--cyan-dim); color: var(--cyan); }
.badge-ict { background: var(--teal-dim); color: var(--teal); }
.badge-ict_multi { background: rgba(255,159,10,0.10); color: var(--orange); }
.badge-copilot { background: var(--purple-dim); color: var(--purple); }
.badge-ulim { background: var(--cyan-dim); color: var(--cyan); }

/* Flow */
.badge-flow { background: rgba(52,199,89,0.10); color: var(--green); }
.badge-trend { background: rgba(255,159,10,0.10); color: var(--orange); }

/* =================================================================
   TABLE SYSTEM
   ================================================================= */
.ds-table { width: 100%; border-collapse: collapse; }

.ds-table th {
    text-align: left;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid var(--glass-border);
}

.ds-table td {
    padding: 11px 14px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.ds-table tr:hover td { background: rgba(255,255,255,0.02); }
.ds-table .r { text-align: right; }
.ds-table .mono { font-family: var(--font-mono); font-size: 12px; }

/* =================================================================
   MAIN CONTENT LAYOUT
   ================================================================= */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn-primary {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid var(--cyan);
    background: var(--cyan-dim);
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary:hover {
    background: rgba(100,210,255,0.18);
    box-shadow: 0 0 30px rgba(100,210,255,0.12);
}

.btn-secondary {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-2);
    text-decoration: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.15);
    color: var(--text);
}

/* =================================================================
   FORM ELEMENTS
   ================================================================= */
.form-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(100,210,255,0.08);
}

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

.form-error {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--red);
    margin-top: 8px;
}

/* =================================================================
   ANIMATIONS — Micro-interactions
   ================================================================= */

/* Value flash on WS update */
@keyframes flash-profit {
    0% { color: var(--green); text-shadow: 0 0 8px rgba(52,199,89,0.3); }
    100% { color: inherit; text-shadow: none; }
}

@keyframes flash-loss {
    0% { color: var(--red); text-shadow: 0 0 8px rgba(255,69,58,0.3); }
    100% { color: inherit; text-shadow: none; }
}

.flash-profit { animation: flash-profit 0.8s ease-out; }
.flash-loss { animation: flash-loss 0.8s ease-out; }

/* Skeleton loading */
@keyframes ds-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 75%
    );
    background-size: 200% 100%;
    animation: ds-shimmer 1.5s infinite;
    border-radius: 4px;
    display: inline-block;
    min-width: 60px;
    height: 1em;
}

/* Card entrance stagger */
@keyframes entrance {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-entrance {
    opacity: 0;
    animation: entrance 0.4s ease forwards;
}

.animate-entrance:nth-child(1) { animation-delay: 0ms; }
.animate-entrance:nth-child(2) { animation-delay: 50ms; }
.animate-entrance:nth-child(3) { animation-delay: 100ms; }
.animate-entrance:nth-child(4) { animation-delay: 150ms; }
.animate-entrance:nth-child(5) { animation-delay: 200ms; }
.animate-entrance:nth-child(6) { animation-delay: 250ms; }
.animate-entrance:nth-child(7) { animation-delay: 300ms; }
.animate-entrance:nth-child(8) { animation-delay: 350ms; }

/* Slide in for new data rows */
@keyframes slide-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-in { animation: slide-in 0.3s ease-out; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
    .topbar { padding: 12px 16px; gap: 10px; }
    .topbar-tabs { margin-left: 12px; }
    .tab-btn { padding: 4px 10px; font-size: 9px; }
    .main-content { padding: 16px; gap: 12px; }
    .btc-banner { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
    .stats-strip { gap: 8px; }
    .stat-card { min-width: 100px; padding: 10px 12px; }
    .stat-value { font-size: 16px; }
}

/* =================================================================
   MOBILE SIDEBAR — Left-slide sidebar (matches ULIM pattern)
   Hidden on desktop, visible via hamburger on ≤768px
   ================================================================= */

/* Mobile header bar — fixed top, replaces topbar on small screens */
.mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 12px 16px;
    background: var(--glass-solid);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid var(--glass-border);
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
}

.hamburger {
    background: none;
    border: none;
    color: var(--text-2);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 298;
}

.mobile-overlay.open { display: block; }

/* Sidebar panel — slides from left */
.mobile-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    max-width: 85vw;
    background: var(--glass-solid);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    z-index: 299;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: none; /* hidden on desktop entirely */
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.open { transform: translateX(0); }

.mobile-sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-nav {
    flex: 1;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 2px solid transparent;
}

.mobile-sidebar-item:hover { color: var(--text-2); background: rgba(255,255,255,0.02); }
.mobile-sidebar-item.active {
    color: var(--cyan);
    font-weight: 500;
    background: rgba(100,210,255,0.06);
    border-left-color: var(--cyan);
}

.mobile-sidebar-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.mobile-sidebar-links {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
}

.mobile-sidebar-logout {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-sidebar-logout:hover {
    color: var(--red);
    border-color: rgba(255,69,58,0.3);
}

/* ─── Responsive: show mobile sidebar, hide desktop topbar ─── */
@media (max-width: 768px) {
    .topbar { display: none; }
    .mobile-header { display: flex; }
    .mobile-sidebar { display: flex; }

    /* Push content below fixed mobile header */
    .main-content { padding-top: 80px; }

    /* BTC banner: wrap horizontally like Pulse, hide separators */
    .btc-banner { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
    .btc-separator { display: none; }
    .btc-price-value { font-size: 18px; }
}
