/* Plain theme for the app and legal page: matches the landing page, removes decoration.
   Loaded after styles.css and design.css; only colours, type and a few decorative bits change. */
:root {
  --bg: #07090a;
  --rail: #0a0d0e;
  --surface: #0c1011;
  --surface-strong: #0f1415;
  --surface-inset: #0f1415;
  --surface-2: #0f1415;
  --line: #1a2224;
  --line-soft: #182022;
  --line-strong: #243033;
  --text: #e6ece9;
  --muted: #93a39c;
  --faint: #7f8f89;
  --blue: #4ed84e;
  --green: #4ed84e;
  --mint: #4ed84e;
  --red: #f87171;
  --amber: #e8b007;
  --radius: 8px;
  --legal-bg: var(--bg);
  --legal-surface: var(--surface);
  --legal-line: var(--line);
  --legal-text: var(--text);
  --legal-muted: var(--muted);
  --legal-blue: var(--blue);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body, body.market-workspace { background: var(--bg); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body::before { display: none; }

/* Primary buttons: solid accent, dark text */
.button.primary, .button-primary, .setup-nav, .auth-submit, .button.compact { background: var(--blue); border-color: var(--blue); color: #07110a; box-shadow: none; }
.button.primary:hover, .button-primary:hover, .setup-nav:hover, .auth-submit:hover { background: #6ae86a; border-color: #6ae86a; color: #07110a; }
.text-button, .text-action { color: var(--blue); }

/* Sidebar: drop the 01/02 numbering and the extra framing */
nav a .nav-icon { display: none; }
.mark { border-color: var(--blue); color: var(--blue); }
nav a.active { border-left-color: var(--blue); }

/* Cards: flat */
.card, .welcome-banner, .auth-story, .auth-card, .legal-card { background: var(--surface); border-color: var(--line); box-shadow: none; }
.welcome-banner { background: var(--surface); }
.welcome-banner .button { background: var(--blue); border-color: var(--blue); color: #07110a; }
.welcome-art .orbit-ring, .welcome-art .art-spark { display: none; }
.auth-gate { background: var(--bg); }

/* Numbers: profit green, buy price plain */
.auction-profit strong, .spotlight-profit strong, #feedSummaryProfit { color: var(--green); }
.metric-meter.blue i { background: var(--blue); }
img[src*="/item-icons/"] { image-rendering: pixelated; }

/* Logo letter readable on the accent square */
.mark { background: var(--blue); color: #07110a; border-color: var(--blue); }
/* No small caps labels above headings, no decorative art */
.page .eyebrow, .auth-heading .eyebrow, .auth-story .eyebrow { display: none; }
.welcome-art { display: none; }
.auth-story h1 em { color: var(--muted); font-style: normal; }
.auth-home { color: var(--muted); }
.auth-story-lines { display: none; }
.wordmark-icon { border-color: var(--blue); color: var(--blue); }

/* Terms and Privacy pages */
.doc { max-width: 760px; }
.doc h2 { margin: 32px 0 8px; font-size: 20px; }
.doc p, .doc li { color: var(--muted); line-height: 1.7; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--blue); }
.legal-hero a { color: var(--blue); }
