:root { --bg: #f3f3f3; --card: #fff; --text: #1b1b1b; --muted: #5d5d5d; --line: #e0e0e0; --accent: #005fb8; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #202020; --card: #2b2b2b; --text: #fff; --muted: #c5c5c5; --line: #3d3d3d; --accent: #60cdff; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); background: var(--bg); color: var(--text); font: 14px/1.45 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }
.card { width: min(400px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 8px 32px rgba(0,0,0,.12); }
h1 { font: 600 21px "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif; margin: 12px 0 6px; }
p { color: var(--muted); margin: 0 0 16px; } code { font-size: 12px; overflow-wrap: anywhere; }
input#t { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-bottom: 2px solid var(--accent); border-radius: 6px; background: transparent; color: inherit; font: 16px/1.3 ui-monospace, Consolas, monospace; }
.rem { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; cursor: pointer; }
.rem input { width: 18px; height: 18px; accent-color: var(--accent); }
button { margin-top: 16px; width: 100%; padding: 11px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
@media (prefers-color-scheme: dark) { button { color: #000; } }
.err { color: #c42b1c; margin-top: 10px; min-height: 1.2em; }
@media (max-width: 480px) { .card { padding: 22px 18px; } }
