/* ============================================================ mtgc — design system Terracotta accent (#C8553D) on a layered, Discord-inspired dark UI. ============================================================ */ :root { /* Layered surfaces (darkest → lightest) */ --bg-rail: #16171a; --bg-app: #1a1b1f; --bg-topbar: #1e1f24; --bg-content: #212228; --bg-panel: #282a31; --bg-input: #2f313a; --bg-hover: #363841; --bg-elev: #3a3c46; --border: #34363e; --border-soft: rgba(255, 255, 255, 0.055); --text: #dbdee4; --text-strong: #f5f6f8; --muted: #9a9ea8; --faint: #71757f; /* Terracotta accent */ --accent: #c8553d; --accent-hover: #d86e56; --accent-active: #a8412d; --accent-subtle: rgba(200, 85, 61, 0.15); --accent-glow: rgba(200, 85, 61, 0.35); /* 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; --radius: 8px; --radius-lg: 12px; --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