:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { max-width: 720px; margin: 3rem auto; padding: 0 1rem; line-height: 1.5; }
code { background: color-mix(in srgb, currentColor 12%, transparent); padding: 0.1em 0.3em; border-radius: 4px; }
.ok { color: #1a7f37; } .bad { color: #cf222e; }
nav { margin: 1rem 0; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
form { display: grid; gap: 0.75rem; max-width: 22rem; }
label { display: grid; gap: 0.25rem; font-size: 0.9rem; }
input, button { font: inherit; padding: 0.5rem 0.6rem; border-radius: 6px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
button { cursor: pointer; }
.error { color: #cf222e; min-height: 1.2em; }
.providers { display: grid; gap: 0.5rem; max-width: 22rem; margin-top: 1rem; }
.providers a { display: block; text-align: center; padding: 0.5rem; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 6px; text-decoration: none; color: inherit; }
li.row { display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; max-width: 32rem; }
.meta { font-size: 0.85rem; opacity: 0.75; margin: 0.15rem 0 0.9rem; }
ul.posts { list-style: none; padding: 0; }
.body { white-space: pre-wrap; overflow-wrap: anywhere; }
.post-image { max-width: 100%; height: auto; border-radius: 6px; }
textarea { font: inherit; padding: 0.5rem 0.6rem; border-radius: 6px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
ul.comments { list-style: none; padding-left: 0; }
ul.comments ul.comments { padding-left: 1rem; border-left: 2px solid color-mix(in srgb, currentColor 18%, transparent); }
.votebox { display: inline-flex; gap: 0.4rem; align-items: center; }
button.vote, button.reply { padding: 0.1rem 0.45rem; font-size: 0.85rem; }
button.vote[aria-pressed="true"] { background: color-mix(in srgb, currentColor 25%, transparent); font-weight: 700; }
form.search { display: flex; gap: 0.5rem; align-items: end; max-width: 32rem; margin: 1rem 0; }
form.search label { flex: 1; }
.snippet { margin: 0.2rem 0; overflow-wrap: anywhere; }
mark { background: color-mix(in srgb, #f5c400 55%, transparent); color: inherit; }
.badge { font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin: 0.4rem 0; }
details.report summary { cursor: pointer; font-size: 0.85rem; }
details.report form { margin-top: 0.4rem; }
button.mod { padding: 0.1rem 0.45rem; font-size: 0.85rem; }
select { font: inherit; padding: 0.35rem; border-radius: 6px; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 0.85rem; }
.md { white-space: normal; }
.md p { margin: 0.4rem 0; }
.md pre { overflow-x: auto; padding: 0.6rem; border-radius: 6px; background: color-mix(in srgb, currentColor 10%, transparent); }
.md blockquote { margin: 0.4rem 0; padding-left: 0.8rem; border-left: 3px solid color-mix(in srgb, currentColor 30%, transparent); }
.spoiler { background: currentColor; border-radius: 3px; }
.spoiler:hover, .spoiler:focus { background: transparent; }
li.notice.unread { font-weight: 600; }
