/* Shared color tokens for dark/light mode across the site's mobile utility pages.
   Pages alias their own local --var names to these --theme-* tokens so their
   existing component CSS keeps working unchanged when body.light-mode toggles. */
:root {
    --theme-bg: #070707;
    --theme-panel: #141414;
    --theme-panel-2: #0d0d0d;
    --theme-panel-soft: rgba(255, 255, 255, .04);
    --theme-text: #f5f1e8;
    --theme-muted: #9f9886;
    --theme-gold: #d4af37;
    --theme-gold-soft: #f3d68a;
    --theme-accent: rgba(212, 175, 55, .14);
    --theme-line: rgba(255, 255, 255, .08);
    --theme-success: #4ecb71;
    --theme-danger: #d93b3b;
    --theme-warning: #f1be5d;
    --theme-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

body.light-mode {
    --theme-bg: #f5f5f7;
    --theme-panel: #ffffff;
    --theme-panel-2: #f3f4f6;
    --theme-panel-soft: rgba(0, 0, 0, .04);
    --theme-text: #101010;
    --theme-muted: #6b7280;
    --theme-accent: rgba(212, 175, 55, .12);
    --theme-line: rgba(0, 0, 0, .06);
    --theme-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

body.light-mode {
    background: var(--theme-bg);
}

body.light-mode .top,
body.light-mode .topbar {
    background: rgba(245, 245, 247, .92);
    border-bottom-color: rgba(0, 0, 0, .06);
}

body.light-mode .mobile-bottom-nav {
    background: rgba(255, 255, 255, .96);
    border-top-color: rgba(0, 0, 0, .08);
}

body.light-mode .mobile-bottom-nav a {
    color: #6b7280;
}

body.light-mode .mobile-bottom-nav .active {
    color: var(--theme-gold);
}
