/* Shared look for the viewer, login and stats pages. */
:root { --bg: #000; --ink: #f3f1ea; --mute: #8f8c84; --line: #2a2a2e; --accent: #e3b505; --ok: #3ddc84; --bad: #ff5d6c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; border-radius: 12px; padding: 14px 18px; background: #1c1c1f; -webkit-tap-highlight-color: transparent; transition: transform .08s; }
button:active { transform: scale(.97); }
.send { background: var(--accent); color: #111; font-weight: 700; }
input { width: 100%; background: #111; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; }
input:focus { border-color: var(--accent); }
.hint { color: var(--mute); font-size: 14px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1c1c1f; padding: 10px 16px; border-radius: 10px; z-index: 99; }
.res { color: var(--ink); }
