/* Shared by the public site and the account panel: brand tokens, type, buttons, cards, form fields. */
@font-face { font-family: Manrope; src: url(/assets/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Unbounded; src: url(/assets/fonts/unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --night: #0A0E1A; --night-2: #0D1222; --surface: #10162A; --surface-2: #151C33; --border: #222C46; --border-2: #2E3A5C;
  --ink: #EEF1F7; --muted: #A9B2C6; --subtle: #8A93A8;
  --amber: #F2B544; --amber-hi: #FFD27A; --on-amber: #1A1204; --amber-soft: rgba(242, 181, 68, .12);
  --mint: #3FD4B0; --mint-soft: rgba(63, 212, 176, .12); --rose: #FF8A7A; --rose-soft: rgba(255, 138, 122, .12);
  --display: Unbounded, system-ui, sans-serif; --body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 500 16px/1.6 var(--body); overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.mono { font-variant-numeric: tabular-nums; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  background: none; white-space: nowrap; transition: transform .12s, filter .15s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; }
.btn-primary { background: var(--amber); color: var(--on-amber); box-shadow: 0 10px 30px rgba(242, 181, 68, .22); }
.btn-primary:hover { background: var(--amber-hi); }
.btn-outline { border-color: var(--amber); color: var(--amber); }
.btn-outline:hover { background: var(--amber-soft); }
.btn-soft { background: var(--surface-2); border-color: var(--border); color: var(--ink); }
.btn-soft:hover { border-color: var(--border-2); background: #1A2240; }
.btn-ghost { color: var(--ink); padding: 0 14px; }
.btn-ghost:hover { color: var(--amber-hi); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; pointer-events: none; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.badge-mint { background: var(--mint-soft); color: var(--mint); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-rose { background: var(--rose-soft); color: var(--rose); }
.badge-grey { background: var(--surface-2); color: var(--muted); }

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--night-2);
  color: var(--ink); font-size: 16px;
}
.input::placeholder { color: var(--subtle); }
.input:hover { border-color: var(--border-2); }
.input:focus { border-color: var(--amber); outline: none; }

.lang { appearance: none; background: transparent; border: 1.5px solid var(--border); border-radius: 999px; min-height: 40px; padding: 0 14px; font-weight: 700; font-size: 14px; cursor: pointer; }
.lang:hover { border-color: var(--border-2); }
.lang option { background: var(--surface); color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 50; max-width: min(92vw, 520px);
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 16px; padding: 14px 20px; font-weight: 700;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
