/* ============================================================ mtgc — design system Terracotta accent (#C8553D) on a layered, Discord-inspired dark UI. ============================================================ */ :root { /* Layered surfaces (darkest → lightest). A warm charcoal ramp (low-saturation ~28° hue) rather than cool blue-grey — reads as "collection in warm light" and harmonizes with the terracotta accent. Elevation model: rail/app (chrome) → content (page) → panel (surface) → input (inset). */ --bg-rail: #191714; --bg-app: #1d1a16; --bg-topbar: #221e19; --bg-content: #27221d; --bg-panel: #322c25; --bg-input: #3b342d; --bg-hover: #443c34; --bg-elev: #4c433a; --border: #3d372f; --border-soft: rgba(255, 248, 240, 0.06); /* Tactile 1px top inner-highlight for raised surfaces (see .panel). */ --panel-highlight: inset 0 1px 0 rgba(255, 246, 236, 0.045); --text: #e3ddd3; --text-strong: #f8f4ec; --muted: #a69d90; --faint: #7d7568; /* Terracotta accent (hue unchanged — the app's signature) */ --accent: #c8553d; --accent-hover: #d86e56; --accent-active: #a8412d; --accent-subtle: rgba(200, 85, 61, 0.15); --accent-glow: rgba(200, 85, 61, 0.35); /* Quiet accent for decorative/label use, so full terracotta stays reserved for primary actions + active state (accent hierarchy). */ --accent-quiet: #c69a86; /* Complementary / status */ --info: #46a6bd; /* teal complement */ --gold: #e0b24a; --success: #4bb073; --warn: #e0a34a; --danger: #d8503f; /* WUBRG mana colors, shared by pips + the library color-distribution bar */ --mtg-w: #f4efdd; --mtg-u: #3a8fd0; --mtg-b: #38343d; --mtg-r: var(--accent); --mtg-g: #479b63; --mtg-c: #9aa0ab; /* Spacing scale — every gap/margin/padding resolves to one of these. */ --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 48px; /* Radius scale */ --radius-sm: 6px; --radius: 9px; --radius-lg: 14px; --radius-card: 12px; /* card-art corners (matches Scryfall image framing) */ --radius-pill: 999px; /* Type scale */ --fs-micro: 10px; /* dense data labels (under stat numbers, chart axes) */ --fs-caption: 12px; --fs-body: 14px; --fs-label: 11px; /* canonical uppercase micro-label, see .section-label */ --fs-title: 16px; --fs-display: 21px; --tracking-label: 0.06em; /* Motion */ --dur-fast: 0.12s; --dur: 0.2s; /* Interactive control height — bumped on coarse pointers (see bottom). */ --control-h: 34px; /* Height of .bottom-nav's own content — excludes the safe-area inset added on top of it, so consumers computing clearance must add that separately. */ --bottom-nav-h: 58px; --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4); --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.55); color-scheme: dark; } * { box-sizing: border-box; } html, body, #root { height: 100%; } body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg-app); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; } ::selection { background: var(--accent-subtle); } /* Thin, unobtrusive scrollbars */ *::-webkit-scrollbar { width: 11px; height: 11px; } *::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.35); border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; } *::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.5); background-clip: padding-box; } *::-webkit-scrollbar-track { background: transparent; } /* -------- Controls -------- */ button { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-input); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 7px 13px; cursor: pointer; font-size: 14px; font-weight: 500; font-family: inherit; transition: background 0.12s, border-color 0.12s, transform 0.05s, filter 0.12s; } button svg { flex-shrink: 0; } button:hover { background: var(--bg-hover); border-color: var(--bg-elev); } button:active { transform: translateY(1px); } button:disabled { opacity: 0.5; cursor: default; transform: none; } button.primary { background: linear-gradient(180deg, var(--accent-hover), var(--accent)); border: none; color: #fff; box-shadow: var(--shadow-sm); } button.primary:hover { filter: brightness(1.07); background: linear-gradient(180deg, var(--accent-hover), var(--accent)); } button.primary:active { background: var(--accent-active); } button.danger { background: var(--danger); border: none; color: #fff; box-shadow: var(--shadow-sm); } button.danger:hover { filter: brightness(1.1); } button.danger:active { filter: brightness(0.92); } button.big { padding: 11px 22px; font-size: 16px; border-radius: 10px; } input, select { background: var(--bg-input); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 11px; font-size: 14px; font-family: inherit; transition: border-color 0.12s, box-shadow 0.12s; } input::placeholder { color: var(--faint); } input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } /* Native