/* account.kiko.sh: kiko.sh's look (kiko-site/public/styles.css), cut down to a card. */
:root {
  --bg: #f7f7f5; --surface: #ffffff; --text: #18181b; --muted: #52525b; --faint: #71717a; --line: #e4e4e7;
  --accent: #3f46c9; --accent-hover: #343ab0; --accent-text: #ffffff; --accent-soft: #ebecfb; --focus: #3f46c9;
  --ok: #13723f; --err: #b42318;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 40px -12px rgb(24 24 27 / 0.25);
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cmd-bg: #15161a; --cmd-line: #2a2b31; --cmd-text: #e6e6e9; --cmd-faint: #8b8c94; --cmd-button: #1d1e23; --cmd-hover: #2a2b31; --cmd-focus: #8fa2ff;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e10; --surface: #15161a; --text: #ececef; --muted: #a8a8b3; --faint: #8b8b96; --line: #26272d;
    --accent: #9aa8ff; --accent-hover: #b4bfff; --accent-text: #0d0e10; --accent-soft: #1c1f3a; --focus: #9aa8ff;
    --ok: #6ad69a; --err: #ff8a80; --shadow: 0 0 0 1px #24252b, 0 20px 60px -20px rgb(0 0 0 / 0.8);
    --cmd-bg: #0d0e10; --cmd-line: #26272d; --cmd-button: #15161a; --cmd-hover: #1c1f3a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; padding: 48px 16px; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.card { max-width: 440px; margin: 0 auto; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.brand { font-weight: 700; letter-spacing: -0.01em; }
.brand a { color: var(--text); text-decoration: none; }
h1 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; }
h2 { font-size: 1.0625rem; margin-top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; color: var(--faint); }
.err { color: var(--err); }
.ok { color: var(--ok); }
form { display: grid; gap: 12px; margin: 0; }
label { font-weight: 600; font-size: 0.9375rem; }
input[type=email], input[type=text] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; }
input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
input.code { font-family: var(--mono); font-size: 1.375rem; letter-spacing: 0.2em; text-align: center; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; width: 100%; }
.button-primary { background: var(--accent); color: var(--accent-text); }
.button-primary:hover { background: var(--accent-hover); }
.button-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.button-quiet:hover { background: var(--accent-soft); }
.button-danger { background: transparent; color: var(--err); border-color: var(--err); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 0.875rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.usercode { font-family: var(--mono); font-size: 2rem; font-weight: 600; letter-spacing: 0.12em; text-align: center; padding: 12px; border-radius: 10px; background: var(--accent-soft); }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--muted); }
.warn { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.9375rem; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.list form .button { width: auto; min-height: 36px; padding: 6px 12px; font-size: 0.875rem; }
/* A command: kiko.sh's install box, dark like a terminal in both themes. It hugs the command and its
   Copy button; a command too wide for the card scrolls inside the box. The "$ " isn't copied or selected. */
.cmd { display: flex; align-items: center; gap: 20px; justify-self: start; width: fit-content; max-width: 100%; padding: 6px 6px 6px 14px; border: 1px solid var(--cmd-line); border-radius: 12px; background: var(--cmd-bg); }
.cmd-text { flex: 0 1 auto; min-width: 0; overflow-x: auto; padding-block: 6px; color: var(--cmd-text); font-family: var(--mono); font-size: 0.875rem; white-space: nowrap; scrollbar-width: thin; }
.cmd-text::before { content: "$ "; color: var(--cmd-faint); user-select: none; }
.cmd-copy { flex: none; min-width: 72px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--cmd-line); border-radius: 8px; background: var(--cmd-button); color: var(--cmd-text); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color 120ms ease; }
.cmd-copy:hover { background: var(--cmd-hover); }
.cmd-copy:focus-visible { outline-color: var(--cmd-focus); }
.cmd-copy[hidden] { display: none; }
.foot { text-align: center; margin-top: 20px; font-size: 0.8125rem; color: var(--faint); }
.foot a { color: var(--faint); }
