/* =============================================================================
   TradePoa — base.css  v3.0.0
   Dark-techy aesthetic • Full CSS token system • Inter + JetBrains Mono
   Dark / Light / Device-preference auto-detection
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* =============================================================================
   1. CORE TOKENS — Dark (default baseline, device-preference)
   ============================================================================= */
:root {
  /* Backgrounds */
  --bg-base:          #050508;
  --bg-top:           #050508;
  --bg-bottom:        #08080e;
  --bg-card:          #0d0d14;
  --bg-card-hover:    #111120;
  --bg-elevated:      #12121e;
  --bg-input:         #0a0a10;
  --bg-overlay:       rgba(5, 5, 8, 0.92);

  /* Brand accents */
  --primary:          #00ff9d;
  --primary-dim:      #00cc7a;
  --primary-glow:     rgba(0, 255, 157, 0.18);
  --primary-glow-sm:  rgba(0, 255, 157, 0.08);
  --accent:           #00c8ff;
  --accent-dim:       #0099cc;
  --accent-glow:      rgba(0, 200, 255, 0.15);
  --accent2:          #7b5ea7;
  --accent2-glow:     rgba(123, 94, 167, 0.15);
  --accent3:          #ff6b6b;

  /* Semantic */
  --success:          #00e87a;
  --success-bg:       rgba(0, 232, 122, 0.08);
  --success-border:   rgba(0, 232, 122, 0.25);
  --danger:           #ff4f6a;
  --danger-bg:        rgba(255, 79, 106, 0.08);
  --danger-border:    rgba(255, 79, 106, 0.25);
  --warn:             #ffb547;
  --warn-bg:          rgba(255, 181, 71, 0.08);
  --warn-border:      rgba(255, 181, 71, 0.25);
  --info:             #00c8ff;
  --info-bg:          rgba(0, 200, 255, 0.08);
  --info-border:      rgba(0, 200, 255, 0.25);

  /* Text */
  --text:             #e8eaf2;
  --text-strong:      #ffffff;
  --muted:            #6b7280;
  --muted-2:          #4b5563;
  --label:            #9ca3af;

  /* Borders */
  --border:           rgba(255, 255, 255, 0.06);
  --border-strong:    rgba(255, 255, 255, 0.12);
  --border-accent:    rgba(0, 255, 157, 0.2);

  /* Card */
  --card:             rgba(255, 255, 255, 0.04);
  --card-glass:       rgba(13, 13, 20, 0.85);

  /* Pill / Badge */
  --pill-bg:          rgba(255, 255, 255, 0.06);
  --pill-text:        #9ca3af;
  --pill-won-bg:      rgba(0, 232, 122, 0.1);
  --pill-won-text:    #00e87a;
  --pill-won-border:  rgba(0, 232, 122, 0.25);
  --pill-lost-bg:     rgba(255, 79, 106, 0.1);
  --pill-lost-text:   #ff4f6a;
  --pill-lost-border: rgba(255, 79, 106, 0.25);
  --pill-be-bg:       rgba(0, 200, 255, 0.1);
  --pill-be-text:     #00c8ff;
  --pill-be-border:   rgba(0, 200, 255, 0.25);

  /* Primary = 2 (legacy compat) */
  --primary-2:        #00c8ff;

  /* Modal */
  --modal-bg:         #0f0f1a;
  --modal-border:     rgba(255,255,255,0.1);
  --modal-overlay:    rgba(0,0,0,0.75);

  /* Input */
  --input-bg:         #0a0a10;
  --input-border:     rgba(255,255,255,0.08);
  --input-border-focus: var(--primary);
  --input-text:       #e8eaf2;
  --input-focus-glow: rgba(0, 255, 157, 0.2);
  --label-text:       #9ca3af;

  /* --- MENU (desktop sidebar) --- */
  --tp-bg:            #07070d;
  --tp-border:        rgba(255,255,255,0.06);
  --tp-accent:        #00ff9d;
  --tp-text:          #e8eaf2;
  --tp-text-muted:    rgba(255,255,255,0.28);
  --tp-hover-bg:      rgba(0, 255, 157, 0.06);
  --tp-hover-text:    #00ff9d;
  --tp-trigger-bg:    #00ff9d;
  --tp-logout-bg:     rgba(255, 79, 106, 0.08);
  --tp-logout-border: rgba(255, 79, 106, 0.2);
  --tp-logout-text:   #ff4f6a;
  --tp-logout-hover:  #ff6b6b;
  --tp-login-bg:      #00ff9d;
  --tp-login-text:    #050508;
  --tp-list-text:     #e8eaf2;
  --tp-list-icon:     rgba(255,255,255,0.45);
  --tp-list-hover:    #00ff9d;
  --tp-list-active:   #00c8ff;

  /* --- MOBILE BOTTOM NAV --- */
  --tp-mobile-bg:          rgba(7, 7, 13, 0.92);
  --tp-mobile-border:      rgba(255,255,255,0.05);
  --tp-mobile-text:        #e8eaf2;
  --tp-mobile-muted:       #6b7280;
  --tp-mobile-hover:       #00ff9d;
  --tp-mobile-hover-active:#00c8ff;
  --tp-trigger-bg:         #00ff9d;
  --tp-trigger-text:       #050508;
  --tp-trigger-shadow:     rgba(0, 255, 157, 0.35);
  --tp-panel-bg:           rgba(9, 9, 16, 0.97);
  --tp-panel-border:       rgba(255,255,255,0.08);
  --tp-panel-handle:       rgba(255,255,255,0.18);
  --tp-btn-top-bg:         #00c8ff;
  --tp-btn-top-text:       #050508;
  --tp-btn-top-shadow:     rgba(0, 200, 255, 0.3);
  --tp-backdrop-bg:        rgba(0,0,0,0.75);

  /* --- ACCOUNTS --- */
  --glass:            rgba(255,255,255,0.04);
  --border-strong:    rgba(255,255,255,0.1);
  --acc-card-bg:      #0d0d14;
  --acc-card-border:  rgba(255,255,255,0.06);
  --acc-card-text:    #e8eaf2;
  --acc-title:        #ffffff;
  --acc-meta:         #6b7280;

  /* --- AUTH / LOGIN --- */
  --auth-bg-top:       #050508;
  --auth-bg-bottom:    #08080e;
  --auth-text:         #e8eaf2;
  --auth-card-bg:      #0d0d14;
  --auth-card-border:  rgba(255,255,255,0.08);
  --welcome-text:      #00ff9d;
  --sub-text:          #9ca3af;
  --auth-link-text:    #6b7280;
  --auth-link-accent:  #00c8ff;
  --auth-link-hover:   #00ff9d;
  --btn-bg:            #00ff9d;
  --btn-bg-hover:      #00cc7a;
  --btn-text:          #050508;

  /* --- FOOTER --- */
  --footer-bg:           #04040a;
  --footer-border:       rgba(255,255,255,0.05);
  --footer-text:         #4b5563;
  --footer-section-title:#e8eaf2;
  --footer-link:         #4b5563;
  --footer-link-hover:   #00ff9d;
  --footer-disclaimer:   #374151;
  --footer-brand:        #e8eaf2;
  --footer-copyright:    #4b5563;

  /* --- STRATEGY --- */
  --strategy-bg-top:       #050508;
  --strategy-bg-bottom:    #08080e;
  --strategy-card:         rgba(255,255,255,0.04);
  --strategy-border:       rgba(255,255,255,0.06);
  --strategy-text:         #e8eaf2;
  --strategy-muted:        #6b7280;
  --strategy-primary:      #00ff9d;
  --strategy-primary-2:    #00c8ff;
  --strategy-success:      #00e87a;
  --strategy-danger:       #ff4f6a;
  --strategy-input-bg:     #0a0a10;
  --strategy-input-border: rgba(255,255,255,0.08);
  --strategy-input-text:   #e8eaf2;
  --strategy-progress-bg:  #0a0a10;
  --strategy-progress-line:#111120;
  --strategy-table-bg:     #0a0a10;
  --strategy-table-hover:  #0d0d14;

  /* --- ANALYTICS --- */
  --analytics-bg-top:       #050508;
  --analytics-bg-bottom:    #08080e;
  --analytics-card:         rgba(255,255,255,0.04);
  --analytics-border:       rgba(255,255,255,0.06);
  --analytics-text:         #e8eaf2;
  --analytics-muted:        #6b7280;
  --analytics-primary:      #00ff9d;
  --analytics-primary-2:    #00c8ff;
  --analytics-success:      #00e87a;
  --analytics-danger:       #ff4f6a;
  --analytics-warn:         #ffb547;
  --analytics-input-bg:     #0a0a10;
  --analytics-input-border: rgba(255,255,255,0.08);
  --analytics-input-text:   #e8eaf2;
  --analytics-kpi-bg:       #0d0d14;
  --analytics-progress-bg:  #0a0a10;
  --analytics-progress-line:#111120;
  --analytics-day-bg:       #0d0d14;
  --analytics-week-bg:      #0a0a10;
  --analytics-trade-bg:     #0d0d14;
  --analytics-menu-bg:      #07070d;
  --analytics-menu-hover:   #0d0d14;

  /* --- EDIT / AUTH GLASS --- */
  --auth-glass:       rgba(255,255,255,0.04);
  --auth-border:      rgba(255,255,255,0.1);
  --auth-accent:      #00c8ff;
  --auth-accent2:     #7b5ea7;
  --auth-bg:          #050508;
  --auth-subtitle:    #6b7280;
  --progress-circle-bg: #0a0a10;
  --progress-line-bg:   #111120;
  --factor-card-bg:     #0a0a10;
  --factor-card-border: rgba(255,255,255,0.06);

  /* --- MANAGE --- */
  --shuffle-bg:       #050508;
  --shuffle-bg2:      #08080e;
  --shuffle-card:     rgba(255,255,255,0.04);
  --shuffle-text:     #e8eaf2;
  --shuffle-muted:    #6b7280;
  --shuffle-blue:     #00c8ff;
  --shuffle-blue2:    #0077cc;
  --shuffle-border:   rgba(255,255,255,0.06);
  --shuffle-green:    #00e87a;
  --shuffle-red:      #ff4f6a;

  /* --- QUALITY CHECKER / HERO --- */
  --hero-glass:           rgba(255,255,255,0.04);
  --hero-border:          rgba(255,255,255,0.08);
  --hero-accent:          #00c8ff;
  --hero-accent2:         #7b5ea7;
  --hero-bg:              #050508;
  --hero-text:            #e8eaf2;
  --hero-subtitle:        #9ca3af;
  --hero-muted:           #6b7280;
  --hero-card-bg:         #0d0d14;
  --hero-card-border:     rgba(255,255,255,0.06);
  --hero-badge-ap:        #00e87a;
  --hero-badge-a:         #00c8ff;
  --hero-badge-b:         #ffb547;
  --hero-progress-bg:     #0a0a10;
  --hero-divider:         rgba(255,255,255,0.06);
  --conf-neutral-bg:      rgba(255,255,255,0.06);
  --conf-neutral-text:    #9ca3af;
  --conf-positive-bg:     rgba(0, 232, 122, 0.12);
  --conf-positive-text:   #00e87a;
  --conf-positive-plus-bg: rgba(0, 200, 255, 0.12);
  --conf-positive-plus-text: #00c8ff;
  --factor-bg:            #0a0a10;
  --factor-border:        rgba(255,255,255,0.06);
  --btn-secondary-border: rgba(255,255,255,0.12);

  /* --- JOURNAL / DECK --- */
  --deck-bg0:     #050508;
  --deck-bg1:     #08080e;
  --deck-text:    #e8eaf2;
  --deck-muted:   #9ca3af;
  --deck-edge:    rgba(255,255,255,0.06);
  --deck-edge2:   rgba(255,255,255,0.04);
  --deck-accent:  #00c8ff;
  --deck-accent2: #7b5ea7;

  /* --- MAINTENANCE --- */
  --maint-bg:              #050508;
  --maint-text-primary:    #e8eaf2;
  --maint-text-secondary:  #6b7280;
  --maint-brand:           #00c8ff;
  --maint-brand-hover:     #00ff9d;
  --maint-border:          rgba(255,255,255,0.06);
  --maint-note-bg:         #0d0d14;
  --maint-note-border:     #00c8ff;

  /* --- LANDING --- */
  --landing-bg-top:    #050508;
  --landing-bg-bottom: #08080e;
  --landing-card:      #0d0d14;
  --landing-border:    rgba(255,255,255,0.06);
  --landing-muted:     #6b7280;
  --landing-text:      #e8eaf2;
  --landing-primary:   #00ff9d;
  --landing-primary-2: #00c8ff;
  --landing-success:   #00e87a;
  --landing-warn:      #ffb547;
  --landing-danger:    #ff4f6a;

  /* Alerts */
  --alert-success-bg:     rgba(0, 232, 122, 0.08);
  --alert-success-text:   #00e87a;
  --alert-success-border: rgba(0, 232, 122, 0.3);
  --alert-error-bg:       rgba(255, 79, 106, 0.08);
  --alert-error-text:     #ff4f6a;
  --alert-error-border:   rgba(255, 79, 106, 0.3);
}

/* =============================================================================
   2. LIGHT THEME OVERRIDES
   ============================================================================= */
.theme-light {
  --bg-base:          #f0f2f8;
  --bg-top:           #f0f2f8;
  --bg-bottom:        #ffffff;
  --bg-card:          #ffffff;
  --bg-card-hover:    #f8faff;
  --bg-elevated:      #f4f6fc;
  --bg-input:         #ffffff;

  --primary:          #00b87a;
  --primary-dim:      #009962;
  --primary-glow:     rgba(0, 184, 122, 0.12);
  --primary-glow-sm:  rgba(0, 184, 122, 0.06);
  --accent:           #0077cc;
  --accent-dim:       #005fa3;
  --accent-glow:      rgba(0, 119, 204, 0.1);
  --accent2:          #6b46c1;
  --accent2-glow:     rgba(107, 70, 193, 0.1);
  --accent3:          #e53e3e;

  --success:          #16a34a;
  --success-bg:       rgba(22, 163, 74, 0.07);
  --success-border:   rgba(22, 163, 74, 0.25);
  --danger:           #dc2626;
  --danger-bg:        rgba(220, 38, 38, 0.07);
  --danger-border:    rgba(220, 38, 38, 0.2);
  --warn:             #d97706;
  --warn-bg:          rgba(217, 119, 6, 0.07);
  --warn-border:      rgba(217, 119, 6, 0.2);
  --info:             #0077cc;
  --info-bg:          rgba(0, 119, 204, 0.07);
  --info-border:      rgba(0, 119, 204, 0.2);

  --text:             #1a1d2e;
  --text-strong:      #0d0f1a;
  --muted:            #6b7280;
  --muted-2:          #9ca3af;
  --label:            #4b5563;

  --border:           rgba(0, 0, 0, 0.08);
  --border-strong:    rgba(0, 0, 0, 0.14);
  --border-accent:    rgba(0, 184, 122, 0.3);

  --card:             rgba(0, 0, 0, 0.03);
  --card-glass:       rgba(255, 255, 255, 0.9);

  --pill-bg:          rgba(0, 0, 0, 0.05);
  --pill-text:        #4b5563;
  --pill-won-bg:      rgba(22, 163, 74, 0.08);
  --pill-won-text:    #16a34a;
  --pill-won-border:  rgba(22, 163, 74, 0.25);
  --pill-lost-bg:     rgba(220, 38, 38, 0.07);
  --pill-lost-text:   #dc2626;
  --pill-lost-border: rgba(220, 38, 38, 0.2);
  --pill-be-bg:       rgba(0, 119, 204, 0.07);
  --pill-be-text:     #0077cc;
  --pill-be-border:   rgba(0, 119, 204, 0.2);

  --primary-2:        #0077cc;

  --modal-bg:         #ffffff;
  --modal-border:     rgba(0,0,0,0.12);
  --modal-overlay:    rgba(0,0,0,0.45);

  --input-bg:         #ffffff;
  --input-border:     rgba(0,0,0,0.12);
  --input-border-focus: var(--primary);
  --input-text:       #1a1d2e;
  --input-focus-glow: rgba(0, 184, 122, 0.15);
  --label-text:       #4b5563;

  --tp-bg:            #ffffff;
  --tp-border:        rgba(0,0,0,0.07);
  --tp-accent:        #00b87a;
  --tp-text:          #1a1d2e;
  --tp-text-muted:    rgba(0,0,0,0.35);
  --tp-hover-bg:      rgba(0, 184, 122, 0.06);
  --tp-hover-text:    #00b87a;
  --tp-trigger-bg:    #00b87a;
  --tp-logout-bg:     rgba(220, 38, 38, 0.06);
  --tp-logout-border: rgba(220, 38, 38, 0.15);
  --tp-logout-text:   #dc2626;
  --tp-logout-hover:  #ef4444;
  --tp-login-bg:      #1a1d2e;
  --tp-login-text:    #ffffff;
  --tp-list-text:     #1a1d2e;
  --tp-list-icon:     rgba(0,0,0,0.45);
  --tp-list-hover:    #00b87a;
  --tp-list-active:   #0077cc;

  --tp-mobile-bg:          rgba(255, 255, 255, 0.96);
  --tp-mobile-border:      rgba(0,0,0,0.07);
  --tp-mobile-text:        #1a1d2e;
  --tp-mobile-muted:       #6b7280;
  --tp-mobile-hover:       #00b87a;
  --tp-mobile-hover-active:#0077cc;
  --tp-trigger-bg:         #00b87a;
  --tp-trigger-text:       #ffffff;
  --tp-trigger-shadow:     rgba(0, 184, 122, 0.3);
  --tp-panel-bg:           rgba(255, 255, 255, 0.98);
  --tp-panel-border:       rgba(0,0,0,0.08);
  --tp-panel-handle:       rgba(0,0,0,0.15);
  --tp-btn-top-bg:         #0077cc;
  --tp-btn-top-text:       #ffffff;
  --tp-btn-top-shadow:     rgba(0, 119, 204, 0.25);
  --tp-backdrop-bg:        rgba(0,0,0,0.35);

  --glass:            rgba(0,0,0,0.03);
  --border-strong:    rgba(0,0,0,0.12);
  --acc-card-bg:      #ffffff;
  --acc-card-border:  rgba(0,0,0,0.08);
  --acc-card-text:    #1a1d2e;
  --acc-title:        #0d0f1a;
  --acc-meta:         #6b7280;

  --auth-bg-top:       #f0f2f8;
  --auth-bg-bottom:    #ffffff;
  --auth-text:         #1a1d2e;
  --auth-card-bg:      #ffffff;
  --auth-card-border:  rgba(0,0,0,0.1);
  --welcome-text:      #00b87a;
  --sub-text:          #6b7280;
  --auth-link-text:    #6b7280;
  --auth-link-accent:  #0077cc;
  --auth-link-hover:   #00b87a;
  --btn-bg:            #00b87a;
  --btn-bg-hover:      #009962;
  --btn-text:          #ffffff;

  --footer-bg:           #f4f6fc;
  --footer-border:       rgba(0,0,0,0.07);
  --footer-text:         #6b7280;
  --footer-section-title:#1a1d2e;
  --footer-link:         #6b7280;
  --footer-link-hover:   #00b87a;
  --footer-disclaimer:   #9ca3af;
  --footer-brand:        #1a1d2e;
  --footer-copyright:    #6b7280;

  --strategy-bg-top:       #f0f2f8;
  --strategy-bg-bottom:    #ffffff;
  --strategy-card:         rgba(0,0,0,0.03);
  --strategy-border:       rgba(0,0,0,0.08);
  --strategy-text:         #1a1d2e;
  --strategy-muted:        #6b7280;
  --strategy-primary:      #00b87a;
  --strategy-primary-2:    #0077cc;
  --strategy-success:      #16a34a;
  --strategy-danger:       #dc2626;
  --strategy-input-bg:     #ffffff;
  --strategy-input-border: rgba(0,0,0,0.1);
  --strategy-input-text:   #1a1d2e;
  --strategy-progress-bg:  #f0f2f8;
  --strategy-progress-line:#e5e7eb;
  --strategy-table-bg:     #f8faff;
  --strategy-table-hover:  #f0f2f8;

  --analytics-bg-top:       #f0f2f8;
  --analytics-bg-bottom:    #ffffff;
  --analytics-card:         rgba(0,0,0,0.03);
  --analytics-border:       rgba(0,0,0,0.08);
  --analytics-text:         #1a1d2e;
  --analytics-muted:        #6b7280;
  --analytics-primary:      #00b87a;
  --analytics-primary-2:    #0077cc;
  --analytics-success:      #16a34a;
  --analytics-danger:       #dc2626;
  --analytics-warn:         #d97706;
  --analytics-input-bg:     #ffffff;
  --analytics-input-border: rgba(0,0,0,0.1);
  --analytics-input-text:   #1a1d2e;
  --analytics-kpi-bg:       #f8faff;
  --analytics-progress-bg:  #f0f2f8;
  --analytics-progress-line:#e5e7eb;
  --analytics-day-bg:       #f8faff;
  --analytics-week-bg:      #f0f2f8;
  --analytics-trade-bg:     #f8faff;
  --analytics-menu-bg:      #ffffff;
  --analytics-menu-hover:   #f0f2f8;

  --auth-glass:       rgba(0,0,0,0.03);
  --auth-border:      rgba(0,0,0,0.1);
  --auth-accent:      #0077cc;
  --auth-accent2:     #6b46c1;
  --auth-bg:          #f0f2f8;
  --auth-subtitle:    #6b7280;
  --progress-circle-bg: #f0f2f8;
  --progress-line-bg:   #e5e7eb;
  --factor-card-bg:     #ffffff;
  --factor-card-border: rgba(0,0,0,0.08);

  --shuffle-bg:       #f0f2f8;
  --shuffle-bg2:      #e5e7ef;
  --shuffle-card:     rgba(0,0,0,0.03);
  --shuffle-text:     #1a1d2e;
  --shuffle-muted:    #6b7280;
  --shuffle-blue:     #0077cc;
  --shuffle-blue2:    #3399ff;
  --shuffle-border:   rgba(0,0,0,0.08);
  --shuffle-green:    #16a34a;
  --shuffle-red:      #dc2626;

  --hero-glass:           rgba(0,0,0,0.03);
  --hero-border:          rgba(0,0,0,0.08);
  --hero-accent:          #0077cc;
  --hero-accent2:         #6b46c1;
  --hero-bg:              #f0f2f8;
  --hero-text:            #1a1d2e;
  --hero-subtitle:        #4b5563;
  --hero-muted:           #6b7280;
  --hero-card-bg:         #ffffff;
  --hero-card-border:     rgba(0,0,0,0.08);
  --hero-badge-ap:        #16a34a;
  --hero-badge-a:         #0077cc;
  --hero-badge-b:         #d97706;
  --hero-progress-bg:     #e5e7eb;
  --hero-divider:         rgba(0,0,0,0.07);
  --conf-neutral-bg:      rgba(0,0,0,0.05);
  --conf-neutral-text:    #4b5563;
  --conf-positive-bg:     rgba(22, 163, 74, 0.1);
  --conf-positive-text:   #16a34a;
  --conf-positive-plus-bg: rgba(0, 119, 204, 0.1);
  --conf-positive-plus-text: #0077cc;
  --factor-bg:            #f8faff;
  --factor-border:        rgba(0,0,0,0.08);
  --btn-secondary-border: rgba(0,0,0,0.12);

  --deck-bg0:     #f0f2f8;
  --deck-bg1:     #ffffff;
  --deck-text:    #1a1d2e;
  --deck-muted:   #6b7280;
  --deck-edge:    rgba(0,0,0,0.08);
  --deck-edge2:   rgba(0,0,0,0.06);
  --deck-accent:  #0077cc;
  --deck-accent2: #6b46c1;

  --maint-bg:              #f0f2f8;
  --maint-text-primary:    #1a1d2e;
  --maint-text-secondary:  #6b7280;
  --maint-brand:           #0077cc;
  --maint-brand-hover:     #00b87a;
  --maint-border:          rgba(0,0,0,0.08);
  --maint-note-bg:         #f4f6fc;
  --maint-note-border:     #0077cc;

  --landing-bg-top:    #f0f2f8;
  --landing-bg-bottom: #ffffff;
  --landing-card:      #ffffff;
  --landing-border:    rgba(0,0,0,0.08);
  --landing-muted:     #6b7280;
  --landing-text:      #1a1d2e;
  --landing-primary:   #00b87a;
  --landing-primary-2: #0077cc;
  --landing-success:   #16a34a;
  --landing-warn:      #d97706;
  --landing-danger:    #dc2626;

  --alert-success-bg:     rgba(22, 163, 74, 0.07);
  --alert-success-text:   #16a34a;
  --alert-success-border: rgba(22, 163, 74, 0.25);
  --alert-error-bg:       rgba(220, 38, 38, 0.07);
  --alert-error-text:     #dc2626;
  --alert-error-border:   rgba(220, 38, 38, 0.2);
}

/* =============================================================================
   3. DEVICE PREFERENCE (system dark/light — overrides :root baseline)
      Applied ONLY when no explicit .theme-dark / .theme-light class is set.
   ============================================================================= */
@media (prefers-color-scheme: light) {
  :root:not(.theme-dark):not(.theme-light) {
    --bg-base:          #f0f2f8;
    --bg-top:           #f0f2f8;
    --bg-bottom:        #ffffff;
    --bg-card:          #ffffff;
    --bg-card-hover:    #f8faff;
    --bg-elevated:      #f4f6fc;
    --bg-input:         #ffffff;

    --primary:          #00b87a;
    --primary-dim:      #009962;
    --primary-glow:     rgba(0, 184, 122, 0.12);
    --primary-glow-sm:  rgba(0, 184, 122, 0.06);
    --accent:           #0077cc;
    --accent-glow:      rgba(0, 119, 204, 0.1);
    --accent2:          #6b46c1;

    --success:          #16a34a;
    --success-bg:       rgba(22, 163, 74, 0.07);
    --success-border:   rgba(22, 163, 74, 0.25);
    --danger:           #dc2626;
    --danger-bg:        rgba(220, 38, 38, 0.07);
    --danger-border:    rgba(220, 38, 38, 0.2);
    --warn:             #d97706;
    --warn-bg:          rgba(217, 119, 6, 0.07);

    --text:             #1a1d2e;
    --text-strong:      #0d0f1a;
    --muted:            #6b7280;
    --muted-2:          #9ca3af;
    --label:            #4b5563;

    --border:           rgba(0, 0, 0, 0.08);
    --border-strong:    rgba(0, 0, 0, 0.14);
    --border-accent:    rgba(0, 184, 122, 0.3);

    --card:             rgba(0, 0, 0, 0.03);
    --card-glass:       rgba(255, 255, 255, 0.9);

    --pill-bg:          rgba(0, 0, 0, 0.05);
    --pill-text:        #4b5563;
    --pill-won-bg:      rgba(22, 163, 74, 0.08);
    --pill-won-text:    #16a34a;
    --pill-won-border:  rgba(22, 163, 74, 0.25);
    --pill-lost-bg:     rgba(220, 38, 38, 0.07);
    --pill-lost-text:   #dc2626;
    --pill-lost-border: rgba(220, 38, 38, 0.2);
    --pill-be-bg:       rgba(0, 119, 204, 0.07);
    --pill-be-text:     #0077cc;
    --pill-be-border:   rgba(0, 119, 204, 0.2);

    --primary-2:        #0077cc;
    --modal-bg:         #ffffff;
    --modal-border:     rgba(0,0,0,0.12);
    --modal-overlay:    rgba(0,0,0,0.45);
    --input-bg:         #ffffff;
    --input-border:     rgba(0,0,0,0.12);
    --input-text:       #1a1d2e;
    --input-focus-glow: rgba(0, 184, 122, 0.15);
    --label-text:       #4b5563;

    --tp-bg:            #ffffff;
    --tp-border:        rgba(0,0,0,0.07);
    --tp-accent:        #00b87a;
    --tp-text:          #1a1d2e;
    --tp-text-muted:    rgba(0,0,0,0.35);
    --tp-hover-bg:      rgba(0, 184, 122, 0.06);
    --tp-hover-text:    #00b87a;
    --tp-trigger-bg:    #00b87a;
    --tp-logout-bg:     rgba(220, 38, 38, 0.06);
    --tp-logout-border: rgba(220, 38, 38, 0.15);
    --tp-logout-text:   #dc2626;
    --tp-logout-hover:  #ef4444;
    --tp-login-bg:      #1a1d2e;
    --tp-login-text:    #ffffff;
    --tp-list-text:     #1a1d2e;
    --tp-list-icon:     rgba(0,0,0,0.45);
    --tp-list-hover:    #00b87a;
    --tp-list-active:   #0077cc;
    --tp-mobile-bg:          rgba(255, 255, 255, 0.96);
    --tp-mobile-border:      rgba(0,0,0,0.07);
    --tp-mobile-text:        #1a1d2e;
    --tp-mobile-muted:       #6b7280;
    --tp-mobile-hover:       #00b87a;
    --tp-mobile-hover-active:#0077cc;
    --tp-trigger-bg:         #00b87a;
    --tp-trigger-text:       #ffffff;
    --tp-trigger-shadow:     rgba(0, 184, 122, 0.3);
    --tp-panel-bg:           rgba(255, 255, 255, 0.98);
    --tp-panel-border:       rgba(0,0,0,0.08);
    --tp-panel-handle:       rgba(0,0,0,0.15);
    --tp-btn-top-bg:         #0077cc;
    --tp-btn-top-text:       #ffffff;
    --tp-btn-top-shadow:     rgba(0, 119, 204, 0.25);
    --tp-backdrop-bg:        rgba(0,0,0,0.35);

    --glass:            rgba(0,0,0,0.03);
    --acc-card-bg:      #ffffff;
    --acc-card-border:  rgba(0,0,0,0.08);
    --acc-card-text:    #1a1d2e;
    --acc-title:        #0d0f1a;
    --acc-meta:         #6b7280;

    --auth-bg-top:       #f0f2f8;
    --auth-bg-bottom:    #ffffff;
    --auth-text:         #1a1d2e;
    --auth-card-bg:      #ffffff;
    --auth-card-border:  rgba(0,0,0,0.1);
    --welcome-text:      #00b87a;
    --sub-text:          #6b7280;
    --auth-link-text:    #6b7280;
    --auth-link-accent:  #0077cc;
    --auth-link-hover:   #00b87a;
    --btn-bg:            #00b87a;
    --btn-bg-hover:      #009962;
    --btn-text:          #ffffff;

    --footer-bg:           #f4f6fc;
    --footer-border:       rgba(0,0,0,0.07);
    --footer-text:         #6b7280;
    --footer-section-title:#1a1d2e;
    --footer-link:         #6b7280;
    --footer-link-hover:   #00b87a;
    --footer-disclaimer:   #9ca3af;
    --footer-brand:        #1a1d2e;
    --footer-copyright:    #6b7280;

    --deck-bg0:     #f0f2f8;
    --deck-bg1:     #ffffff;
    --deck-text:    #1a1d2e;
    --deck-muted:   #6b7280;
    --deck-edge:    rgba(0,0,0,0.08);
    --deck-edge2:   rgba(0,0,0,0.06);
    --deck-accent:  #0077cc;
    --deck-accent2: #6b46c1;

    --alert-success-bg:     rgba(22, 163, 74, 0.07);
    --alert-success-text:   #16a34a;
    --alert-success-border: rgba(22, 163, 74, 0.25);
    --alert-error-bg:       rgba(220, 38, 38, 0.07);
    --alert-error-text:     #dc2626;
    --alert-error-border:   rgba(220, 38, 38, 0.2);
  }
}

/* =============================================================================
   4. EXPLICIT THEME CLASSES (DB preference wins over device)
   ============================================================================= */
.theme-dark {
  /* All dark tokens already in :root — nothing to re-declare */
  color-scheme: dark;
}
.theme-light {
  color-scheme: light;
}


/* =============================================================================
   5. GLOBAL BASE STYLES
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body.tp-body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-top);
  background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  padding-top: 80px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scanline texture — dark mode signature touch */
.theme-dark body.tp-body::before,
body.tp-body.theme-dark::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* =============================================================================
   6. LAYOUT
   ============================================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.section { margin: 32px 0; }
.section:first-child { margin-top: 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-head .link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-head .link:hover { color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =============================================================================
   7. CARDS
   ============================================================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  /*background: linear-gradient(135deg, var(--primary-glow-sm), transparent 60%);*/
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--border-accent);
}

.card:hover::before { opacity: 1; }

.card-pad { padding: 18px; }

/* =============================================================================
   8. TYPOGRAPHY
   ============================================================================= */
.title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.muted { color: var(--muted); }
.label { color: var(--label); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.title-left {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 15px;
}

/* Numbers use mono font */
.mono, .kpi .pill, .kpi span {
  font-family: 'JetBrains Mono', 'Fira Mono', monospace;
  font-size: 12px;
}

/* =============================================================================
   9. PILLS / BADGES
   ============================================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill.won {
  background: var(--pill-won-bg);
  color: var(--pill-won-text);
  border-color: var(--pill-won-border);
  box-shadow: 0 0 8px var(--pill-won-bg);
}

.pill.lost {
  background: var(--pill-lost-bg);
  color: var(--pill-lost-text);
  border-color: var(--pill-lost-border);
  box-shadow: 0 0 8px var(--pill-lost-bg);
}

.pill.be {
  background: var(--pill-be-bg);
  color: var(--pill-be-text);
  border-color: var(--pill-be-border);
}

.kpi {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =============================================================================
   10. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--bg-base);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s;
  box-shadow: 0 0 0 0 var(--primary-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--primary-glow);
  background: var(--primary-dim);
}

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

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow-sm);
  box-shadow: none;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}
.btn-line:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-raw {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =============================================================================
   11. HOLDER
   ============================================================================= */
.holder {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

@media (max-width: 768px) {
  .holder {
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
  }
}

/* =============================================================================
   12. CHARTS
   ============================================================================= */
.charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.chart-card { padding: 18px; }
canvas { width: 100%; height: 240px; }

/* =============================================================================
   13. INFO BANNER
   ============================================================================= */
.info-banner {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.info-banner:hover {
  border-left-color: var(--accent);
  background: var(--primary-glow-sm);
}

.info-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  color: var(--primary);
  background: var(--primary-glow-sm);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  flex-shrink: 0;
}

.infotext strong {
  font-size: 14px;
  color: var(--text-strong);
  font-weight: 600;
}

.info-chevron {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.info-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.35s ease;
  padding-top: 0;
}

.info-content p {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.85;
}

.info-banner.expanded .info-content {
  max-height: 3000px;
  opacity: 1;
  padding-top: 6px;
}

.info-banner.expanded .info-chevron {
  transform: rotate(180deg);
}

@media (max-width: 600px) {
  .info-header-row { gap: 12px; }
}

/* =============================================================================
   14. DESKTOP SIDEBAR (menu)
   ============================================================================= */
.tp-desktop-sidebar {
  background: var(--tp-bg);
  border-right: 1px solid var(--tp-border);
}

.tp-desktop-trigger {
  background: var(--tp-trigger-bg);
  border: 1px solid var(--tp-border);
  color: var(--bg-base);
  font-weight: 700;
}

.tp-nav-label {
  color: var(--tp-text-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.tp-menu-item {
  color: var(--tp-text);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.tp-menu-item:hover {
  background: var(--tp-hover-bg);
  color: var(--tp-hover-text);
}

.tp-menu-item.active, .tp-menu-item.tp-nav-active {
  background: var(--primary-glow-sm);
  color: var(--primary);
  border-left: 2px solid var(--primary);
}

.tp-btn-logout-small {
  background: var(--tp-logout-bg);
  border: 1px solid var(--tp-logout-border);
  color: var(--tp-logout-text);
  border-radius: 8px;
  transition: background 0.2s;
}

.tp-btn-logout-small:hover {
  background: var(--tp-logout-border);
}

.tp-btn-login-full {
  background: var(--tp-login-bg);
  color: var(--tp-login-text);
  font-weight: 700;
  border-radius: 10px;
}

/* =============================================================================
   15. LIST ITEMS (panel nav items)
   ============================================================================= */
.tp-list-item {
  display: flex;
  align-items: center;
  padding: 12px 6px;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--tp-list-text);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.tp-list-item span {
  margin-right: 12px;
  display: flex;
  align-items: center;
  color: var(--tp-list-icon);
}

.tp-list-item:hover { color: var(--primary); }
.tp-list-item:active { color: var(--tp-list-active); transform: scale(0.98); }
.tp-list-item.active { color: var(--primary); }
.tp-list-item.logout { color: var(--tp-logout-text); }
.tp-list-item.logout:hover { color: var(--tp-logout-hover); }

/* =============================================================================
   16. MOBILE BOTTOM NAV + PANEL
   ============================================================================= */
.tp-mobile-nav, .tp-panel, .tp-panel-backdrop {
  display: none !important;
}

@media (max-width: 768px) {
  .tp-mobile-nav { display: flex !important; }
  .tp-panel-backdrop.active { display: block !important; }
  .tp-panel { display: flex !important; }

  .tp-mobile-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: var(--tp-mobile-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--tp-mobile-border);
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .tp-nav-item {
    color: var(--tp-mobile-muted);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
  }

  .tp-nav-item:hover { color: var(--tp-mobile-hover); }
  .tp-nav-item:active { color: var(--tp-mobile-hover-active); transform: scale(0.9); }
  .tp-nav-item.active, .tp-nav-item.tp-nav-active { color: var(--primary); }

  .tp-trigger-main {
    background: var(--tp-trigger-bg);
    color: var(--tp-trigger-text);
    width: 52px;
    height: 52px;
    border-radius: 18px;
    border: none;
    position: relative;
    box-shadow: 0 4px 20px var(--tp-trigger-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .tp-trigger-main:active {
    transform: scale(0.93);
    box-shadow: 0 2px 10px var(--tp-trigger-shadow);
  }

  .tp-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: auto;
    min-height: 420px;
    z-index: 10000;
    transform: translateY(105%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 22px 20px 24px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    flex-direction: column;
  }

  .tp-panel.active { transform: translateY(0); }

  .tp-panel-glass {
    position: absolute;
    inset: 0;
    background: var(--tp-panel-bg);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: -1;
    border-top: 1px solid var(--tp-panel-border);
  }

  .tp-panel-drag-handle {
    width: 36px;
    height: 4px;
    background: var(--tp-panel-handle);
    border-radius: 10px;
    margin: 0 auto 22px;
  }

  .tp-btn-top-container { padding: 10px 0 20px; margin-top: 10px; }

  .tp-panel-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 16px;
    background: var(--tp-btn-top-bg);
    color: var(--tp-btn-top-text);
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--tp-btn-top-shadow);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .tp-panel-top:active { transform: scale(0.96); opacity: 0.9; }

  .tp-panel-backdrop {
    position: fixed;
    inset: 0;
    background: var(--tp-backdrop-bg);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .tp-panel-backdrop.active { opacity: 1; pointer-events: auto; }
}

/* =============================================================================
   17. THEME FADE OVERLAY
   ============================================================================= */
.theme-fade-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-base, #050508);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease-in-out;
  z-index: 9999;
}

.theme-fade-overlay.visible { opacity: 1; }

/* =============================================================================
   18. ALERTS
   ============================================================================= */
.alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--alert-success-bg);
  color: var(--alert-success-text);
  border-color: var(--alert-success-border);
}

.alert-error {
  background: var(--alert-error-bg);
  color: var(--alert-error-text);
  border-color: var(--alert-error-border);
}

.alert-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: var(--warn-border);
}

.alert-info {
  background: var(--info-bg);
  color: var(--info);
  border-color: var(--info-border);
}

/* =============================================================================
   19. RESPONSIVE
   ============================================================================= */
@media (max-width: 768px) {
  body.tp-body { padding-top: 0; }
  .container { padding: 16px; }
  .section { margin: 24px 0; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .title { font-size: 16px; }
  .card-pad { padding: 14px; }
}

/* =============================================================================
   20. MISC UTILS
   ============================================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: inherit; }
img, video { max-width: 100%; display: block; }

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






.tp-ach-toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border-accent);
    border-radius: 16px; padding: 14px 18px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
    max-width: 300px;
}
.tp-ach-toast.show { transform: translateX(0); }
.tp-ach-toast-icon { font-size: 28px; flex-shrink: 0; }
.tp-ach-toast-title { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 3px; }
.tp-ach-toast-name  { font-size: 14px; font-weight: 800; color: var(--text-strong); }
.tp-ach-toast-xp    { font-size: 12px; font-weight: 700; color: var(--warn); margin-top: 2px; }