:root { --ink: #1c1f2b; --muted: #5f6577; --line: #e4e6ee; --accent: #6c5ce7; --accent-2: #4b3fd1; --bg: #f5f6fa; --card: #ffffff; --ok: #1f9d55; --warn: #c77700; --bad: #c0392b; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header.top { background: linear-gradient(135deg, #1c1f2b, #2a2f45); color: #fff; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top .brand { font-weight: 700; letter-spacing: 0.02em; text-decoration: none; color: #fff; }
header.top .brand small { display: block; font-weight: 400; opacity: 0.75; font-size: 0.8rem; }
header.top nav a, header.top nav button { color: #fff; opacity: 0.85; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; margin-left: 16px; }
header.top nav a:hover, header.top nav button:hover { opacity: 1; text-decoration: underline; }
main { max-width: 860px; margin: 32px auto; padding: 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
main.card { max-width: 520px; margin: 48px auto; }
h1 { font-size: 1.6rem; margin: 0 0 0.4em; }
h2 { font-size: 1.15rem; margin: 0 0 0.3em; }
p { margin: 0.4em 0; }
.muted { color: var(--muted); font-size: 0.92rem; }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input[type=email], input[type=text] { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button.primary { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; margin-top: 14px; }
button.primary:hover { background: var(--accent-2); }
button.primary:disabled { opacity: 0.6; cursor: default; }
button.link { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
button.link:hover { color: var(--accent-2); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: #eef; color: var(--accent-2); }
.badge.ok { background: #e6f6ec; color: var(--ok); } .badge.warn { background: #fff4e0; color: var(--warn); } .badge.bad { background: #fdecea; color: var(--bad); }
.key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: 0.06em; background: #f3f4f9; border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; display: inline-block; margin: 8px 0; user-select: all; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; border-top: 0; }
.notice { background: #eef; border-radius: 10px; padding: 12px 14px; margin-top: 12px; font-size: 0.95rem; }
.notice.bad { background: #fdecea; }
footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 32px 16px; }
footer a { color: inherit; }
@media (max-width: 600px) { .hide-sm { display: none; } header.top { flex-direction: column; align-items: flex-start; } header.top nav a, header.top nav button { margin: 0 16px 0 0; } }
