:root {
  --bg: #191c1e;
  --bg-deep: #141719;
  --surface: #222629;
  --surface-2: #282d30;
  --surface-3: #30363a;
  --line: #3a4145;
  --line-soft: rgba(255,255,255,.07);
  --text: #f1f2f2;
  --muted: #a8b0b4;
  --muted-2: #7f898e;
  --accent: #b96532;
  --accent-hover: #c8753d;
  --accent-soft: rgba(185,101,50,.16);
  --danger: #d46f6f;
  --success: #6fa987;
  --shadow-lg: 0 24px 70px rgba(0,0,0,.36);
  --shadow-md: 0 14px 36px rgba(0,0,0,.24);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --transition: 180ms cubic-bezier(.2,.7,.2,1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--text); }
body { min-width: 320px; overflow-x: hidden; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.root { min-height: 100vh; position: relative; z-index: 1; }
#ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 12%, rgba(185,101,50,.10), transparent 30%), radial-gradient(circle at 82% 72%, rgba(255,255,255,.035), transparent 34%), linear-gradient(145deg, var(--bg-deep), var(--bg)); }
.card { background: linear-gradient(180deg, rgba(47,53,57,.92), rgba(33,37,40,.96)); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.hidden { display: none !important; }
.btn { min-height: 42px; border: 1px solid transparent; border-radius: 11px; padding: 0 16px; cursor: pointer; transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); box-shadow: 0 8px 24px rgba(185,101,50,.2); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: rgba(255,255,255,.045); border-color: var(--line); }
.btn-secondary:hover { background: rgba(255,255,255,.075); }
.btn-danger { background: rgba(212,111,111,.12); border-color: rgba(212,111,111,.3); color: #efb0b0; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.045); }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; color: var(--muted); }
.input, .select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 11px; background: rgba(14,17,19,.55); color: var(--text); padding: 0 13px; outline: none; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.input:focus, .select:focus { border-color: rgba(185,101,50,.9); box-shadow: 0 0 0 3px var(--accent-soft); background: rgba(14,17,19,.72); }
.input::placeholder { color: #6f797e; }
.error-box, .info-box { border-radius: 12px; padding: 11px 13px; font-size: .9rem; line-height: 1.45; }
.error-box { background: rgba(212,111,111,.10); border: 1px solid rgba(212,111,111,.24); color: #efb0b0; }
.info-box { background: rgba(185,101,50,.1); border: 1px solid rgba(185,101,50,.22); color: #e4b18e; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: .78rem; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.035); white-space: nowrap; }
.badge.accent { border-color: rgba(185,101,50,.3); background: var(--accent-soft); color: #e6b18d; }
.badge.danger { border-color: rgba(212,111,111,.3); background: rgba(212,111,111,.10); color: #efb0b0; }
.toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { background: #2b3033; border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; box-shadow: var(--shadow-md); animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
