:root { color-scheme: light; --background: #fff; --foreground: #171717; --muted: #686868; --line: #d7d7d7; --measure: 690px; font-family: system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--foreground); line-height: 1.6; }
main { width: min(calc(100% - 40px), var(--measure)); margin: 64px auto 96px; }
header { white-space: pre-wrap; margin-bottom: 48px; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.25; font-weight: 550; margin: 0 0 24px; overflow-wrap: anywhere; }
h2 { font-size: 1rem; font-weight: 550; margin: 0; }
label { display: block; font-size: .85rem; margin: 12px 0 6px; }
input, textarea, select, button { font: inherit; color: inherit; }
input, textarea, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; }
textarea { resize: vertical; min-height: 110px; }
button { cursor: pointer; border: 1px solid var(--foreground); background: var(--foreground); color: var(--background); padding: 8px 18px; }
button:disabled { opacity: .55; cursor: not-allowed; }
button.plain { padding: 2px 0; background: none; color: var(--muted); border: 0; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #3463aa; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
#submit-status, #load-status, .muted, #reply-context { color: var(--muted); font-size: .85rem; }
#reply-context { border-left: 1px solid var(--line); padding-left: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#thread-header { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
article { padding: 20px 0 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
article .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
article strong { font-size: .9rem; font-weight: 600; }
article time { font-size: .75rem; color: var(--muted); }
article p { white-space: pre-wrap; margin: 8px 0 10px; }
article.reply { margin-left: calc(var(--depth, 1) * 16px); padding-left: 12px; border-left: 1px solid var(--line); }
.topic-picker { margin-bottom: 24px; }
#captcha { margin-top: 16px; }
@media (max-width: 480px) { main { margin-top: 32px; } article.reply { margin-left: calc(var(--depth, 1) * 8px); padding-left: 8px; } }
