@font-face { font-family: "JetBrains Mono"; src: url("JetBrainsMono-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("JetBrainsMono-Bold.woff2") format("woff2"); font-style: normal; font-weight: 600 800; font-display: swap; }
:root {
  --ink: #20242b;
  --muted: #69727e;
  --line: #dce1e6;
  --link: #b94b18;
  --orange: #c65320;
  --green: #367058;
  --paper: #f8fafc;
  --soft: #eef1f4;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100svh; margin: 0; color: var(--ink); background: var(--paper); font: 13px/1.65 var(--mono); }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
button:disabled { cursor: wait; }
.header { flex-shrink: 0; border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; gap: 24px; height: 56px; max-width: 1280px; padding: 0 28px; margin: auto; }
.wordmark { flex-shrink: 0; display: inline-flex; align-items: baseline; color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: -1.2px; }
.wordmark span { color: var(--orange); }
.wordmark:hover { text-decoration: none; }
.header-moderator { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }
.header-moderator strong { color: var(--ink); }
.status-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; margin-right: 6px; }
.header-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.header-signin { font-size: 11px; white-space: nowrap; }
.header-account { font-size: 11px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.header-account span { color: var(--orange); }
.site-menu { display: none; position: relative; flex-shrink: 0; }
.site-menu summary { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; cursor: pointer; list-style: none; color: var(--ink); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover, .site-menu[open] summary { background: var(--soft); }
.site-links { display: flex; flex-direction: column; }
.site-menu .site-links { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; width: 250px; max-width: calc(100vw - 32px); padding: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 24px #20242b12; }
.site-links > a { padding: 10px 12px; font-size: 11px; color: var(--ink); }
.site-links > a:hover { background: var(--soft); text-decoration: none; }
.links-divider { border-top: 1px solid var(--line); margin: 6px 12px; }
.site-credit { border-top: 1px solid var(--line); padding: 14px 12px 8px; margin-top: 6px; font-size: 10px; color: var(--muted); }
.site-credit a { color: var(--muted); }
.subjevdit-strip { max-width: 1280px; margin: auto; min-height: 35px; padding: 0 28px; display: flex; align-items: stretch; gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 11px; }
.subjevdit-strip a { display: flex; align-items: center; flex-shrink: 0; color: var(--muted); padding: 6px 0; }
.subjevdit-strip .is-active { color: var(--link); font-weight: 700; box-shadow: inset 0 -2px var(--orange); }
.subjevdit-strip .strip-all { color: var(--link); }
.site-frame { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 22px 28px 40px; }
.site-frame.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 276px; gap: 0 36px; align-items: start; align-content: start; max-width: 1280px; }
.main-content { min-width: 0; }
.mobile-view-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.mobile-view-tabs button { border: 0; background: transparent; color: var(--muted); padding: 8px 2px 12px; font-size: 12px; }
.mobile-view-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px var(--orange); }
.feed-heading { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; }
.feed-heading h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.6px; }
.feed-heading > span { color: var(--muted); font-size: 11px; }
.feed-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 36px; margin-bottom: 12px; }
.feed-title:not(.is-active), .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.feed-title { font-size: 14px; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.sort-tabs { display: flex; flex-shrink: 0; gap: 2px; padding: 3px; border-radius: 6px; background: var(--soft); }
.sort-tabs a { color: var(--muted); padding: 4px 11px; border-radius: 4px; font-size: 11px; }
.sort-tabs a.is-active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px #20242b14; }
.sort-tabs a:hover { text-decoration: none; color: var(--ink); }
.feed-submit { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; color: var(--ink); white-space: nowrap; }
.feed-submit span { color: var(--link); }
.feed-submit:hover { background: var(--soft); text-decoration: none; }
.post-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-rank { flex-shrink: 0; text-align: left; color: #818a94; width: 20px; font-size: 12px; font-variant-numeric: tabular-nums; }
.vote-control { flex-shrink: 0; min-width: 26px; text-align: center; color: var(--muted); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vote-control form { display: flex; align-items: center; flex-direction: column; margin: 0; gap: 0; }
.vote-control > a, .vote-control > span { display: block; }
.vote-control button, .vote-control > a { display: inline-flex; justify-content: center; align-items: center; border: 0; background: transparent; border-radius: 4px; color: #7c8792; font-size: 20px; line-height: 1; width: 28px; height: 23px; padding: 0; font-weight: 400; }
.vote-control button:hover, .vote-control > a:hover { background: #e9edf1; color: var(--ink); text-decoration: none; }
.vote-control button[value="1"].is-active { color: var(--orange); background: #fbede5; }
.vote-control button[value="-1"].is-active { color: #415dac; background: #eaf0fa; }
.vote-control:has(button[value="1"].is-active) span { color: var(--orange); }
.vote-control:has(button[value="-1"].is-active) span { color: #415dac; }
.post-content { min-width: 0; flex: 1; }
.post-title-line { display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: baseline; }
.post-title-line h2 { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0; overflow-wrap: anywhere; letter-spacing: -.4px; }
.post-title-line h2 a { color: var(--ink); }
.post-title-line h2 a:visited { color: #666575; }
.post-title-line h2 a:hover { color: var(--link); }
.post-domain { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 8px; }
.post-author { color: var(--muted); overflow-wrap: anywhere; }
.community-label { color: var(--link); }
.meta-dot { color: #949ca4; }
.comment-link { color: var(--muted); margin-left: auto; padding-left: 10px; white-space: nowrap; }
.comment-link span { color: #949ca4; }
.checked-tag { color: var(--green); font-size: 10px; }
.feed-pagination { display: flex; gap: 16px; align-items: center; padding: 18px 0; color: var(--muted); font-size: 10px; }
.feed-pagination a { padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; }
.profile-avatar { display: inline-flex; justify-content: center; align-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 5px; background: #edf1f5; color: #5a6571; font-size: 14px; flex-shrink: 0; }
.profile-stats { display: flex; gap: 0; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats > div { display: flex; flex-direction: column-reverse; flex: 1; text-align: center; }
.profile-stats > div:first-child { text-align: left; }
.profile-stats dt { color: var(--muted); font-size: 10px; }
.profile-stats dd { margin: 0 0 2px; color: var(--ink); font-size: 20px; }
.text-button { border: 0; padding: 0; background: transparent; font-size: 11px; color: var(--muted); }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; line-height: 1.6; }
.button:hover { text-decoration: none; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #3d454f; }
.button-outline { background: transparent; color: var(--ink); border-color: #c4ccd5; }
.button-outline:hover { background: var(--soft); }
.button-small { font-size: 11px; padding: 7px 12px; }
.right-sidebar { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sidebar-section { border: 1px solid var(--line); padding: 18px; }
.sidebar-section h2 { margin: 0 0 12px; font-size: 13px; overflow-wrap: anywhere; }
.sidebar-section p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.sidebar-note { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 0 13px; font-size: 11px; color: var(--muted); gap: 15px; }
.community-row { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 22px 0; }
.community-icon { flex-shrink: 0; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 15px; }
.community-row > div { flex: 1; min-width: 0; }
.community-row h2 { display: flex; gap: 6px 12px; align-items: baseline; flex-wrap: wrap; font-size: 15px; line-height: 1.4; margin: 0 0 8px; }
.community-row h2 span { font-size: 11px; color: var(--muted); font-weight: 400; }
.community-row p { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.8; }
.directory-count { flex-shrink: 0; color: var(--muted); font-size: 10px; padding-left: 8px; }
.page-heading { margin-bottom: 24px; padding-top: 2px; max-width: 850px; }
.page-heading h1 { font-size: 26px; line-height: 1.35; letter-spacing: -.9px; margin: 0; }
.form-card, .account-card { padding: 24px; border: 1px solid var(--line); background: #fff; max-width: 760px; }
label { display: block; font-size: 12px; font-weight: 700; margin: 22px 0 8px; }
label:first-of-type { margin-top: 0; }
label span { color: var(--muted); font-weight: 400; margin-left: 5px; font-size: 11px; }
input:not([type=hidden]), textarea, select { display: block; width: 100%; padding: 10px 12px; border: 1px solid #bac4ce; border-radius: 4px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #7f8994; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
textarea { resize: vertical; min-height: 80px; }
.field-help { font-size: 11px; color: var(--muted); line-height: 1.9; margin: 10px 0 22px; }
.form-foot { border-top: 1px solid var(--line); padding-top: 15px; margin: 22px 0 18px; color: var(--green); font-size: 10px; }
.anonymous-option { color: var(--muted); font-size: 11px; line-height: 1.9; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.anonymous-option > span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 15px; }
.account-overview { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.account-logout { margin-left: auto; flex-shrink: 0; }
.account-overview > div { min-width: 0; }
.account-overview .profile-avatar { width: 42px; height: 42px; font-size: 17px; }
.account-overview h2 { margin: 0 0 5px; font-size: 16px; overflow-wrap: anywhere; }
.account-status { color: var(--muted); font-size: 10px; }
.claim-intro h2 { margin: 0 0 8px; font-size: 18px; }
.claim-intro p { color: var(--muted); font-size: 12px; margin: 0 0 25px; }
.account-signin { font-size: 11px; color: var(--muted); margin: 18px 0 0; }
.account-note { border-top: 1px solid var(--line); margin: 25px 0 0; padding-top: 16px; color: var(--muted); font-size: 10px; }
.account-details { margin: 0 0 26px; }
.account-details > div { margin: 20px 0; }
.account-details dt { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.account-details dd { margin: 0; overflow-wrap: anywhere; }
.account-details small { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; }
.message { border: 1px solid; padding: 15px 18px; margin-bottom: 20px; font-size: 12px; max-width: 850px; }
.message strong { display: block; text-transform: capitalize; font-size: 12px; }
.message p { margin: 7px 0 0; }
.error { background: #fff5ef; border-color: #ecd8c9; color: #8b4027; }
.notice { background: #eff6ee; border-color: #c8dbc3; color: #42633b; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state h1, .empty-state h2 { font-size: 20px; margin: 12px 0 9px; letter-spacing: -.6px; color: var(--ink); }
.empty-state p { font-size: 12px; margin: 0 0 23px; }
.empty-state-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; font-size: 11px; }
.empty-symbol { color: #8b959e; font-size: 28px; }
.back-link { display: inline-block; margin: 0 0 24px; font-size: 11px; }
.thread-post { display: flex; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.thread-post .vote-control { margin-top: 5px; }
.thread-post .post-meta { margin-top: 0; }
.thread-post h1 { font-size: 24px; line-height: 1.45; letter-spacing: -.7px; margin: 13px 0 22px; color: var(--ink); overflow-wrap: anywhere; }
.prose { font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; color: #414a55; }
.thread-post .prose:empty { display: none; }
.external-link { display: inline-block; border-bottom: 1px solid #d6af9d; margin-top: 18px; font-size: 12px; overflow-wrap: anywhere; }
.comments { max-width: 960px; }
.comments h2 { font-size: 13px; margin: 25px 0; }
.comment-form { max-width: 760px; margin-bottom: 28px; }
.comment-form label { font-size: 11px; color: var(--muted); font-weight: 400; }
.comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.comment-form-footer > span { font-size: 10px; color: var(--muted); }
.comment { padding: 20px 0; border-top: 1px solid var(--line); }
.comment > .prose { margin: 12px 0; }
.comment .post-meta { margin-top: 0; }
.comment .post-author { color: var(--ink); }
.comment-actions { display: flex; align-items: start; gap: 18px; }
.comment-actions .vote-control form { flex-direction: row; gap: 4px; }
.comment-actions .vote-control > a, .comment-actions .vote-control > span { display: inline-flex; margin-right: 6px; }
.reply { flex: 1; min-width: 0; }
.reply summary { font-size: 11px; color: var(--muted); cursor: pointer; padding-top: 3px; }
.reply form { margin: 16px 0; max-width: 640px; }
.reply button { margin-top: 10px; }
.comment-children { margin-left: 8px; margin-top: 16px; padding-left: 20px; border-left: 1px solid #cbd3dc; }
.comment-children:empty, #comment-list:not(:empty) + .empty-comments { display: none; }
.form-feedback:empty { display: none; }
.form-feedback .message { margin: 10px 0 0; text-align: left; font-weight: 400; }
.inline-success { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.request-indicator { display: none; }
.htmx-request .request-indicator { display: inline; }
.htmx-request .comment-hint { display: none; }
.htmx-request button { opacity: .6; }
textarea[aria-invalid="true"] { border-color: #b86748; }
.vote-control { position: relative; }
.vote-control .form-feedback:not(:empty) { position: absolute; z-index: 2; left: 0; top: 100%; width: min(280px, 65vw); }
.reply .comment-form-footer button { margin-top: 0; }
.quiet-message, .join-prompt { font-size: 12px; color: var(--muted); padding: 14px 0; }
.about-body { max-width: 790px; font-size: 13px; line-height: 1.9; color: #48535f; padding-bottom: 25px; }
.about-body h2 { font-size: 20px; letter-spacing: -.5px; line-height: 1.5; color: var(--ink); margin-top: 32px; }
.about-body h3 { font-size: 14px; color: var(--ink); margin: 24px 0 10px; }
.about-body p { margin: 12px 0 20px; }
.about-body li { margin-bottom: 12px; }
.about-body address { font-style: normal; }
.about-body a:not(.button) { text-decoration: underline; }
.skip-link:focus { position: absolute; top: 5px; left: 20px; z-index: 10; background: white; padding: 10px; }
@media (max-width: 1050px) {
  .site-frame { padding-left: 22px; padding-right: 22px; }
  .site-frame.with-sidebar { grid-template-columns: minmax(0, 1fr) 250px; column-gap: 26px; }
  .masthead { gap: 24px; padding: 0 22px; }
  .subjevdit-strip { padding: 0 22px; }
  .post-row { gap: 12px; }
  .post-rank { width: 14px; }
  .post-title-line h2 { font-size: 15px; }
  .comment-link { margin-left: 0; padding-left: 0; }
  .post-meta { column-gap: 7px; }
}
@media (max-width: 760px) {
  .site-menu { display: block; }
  .sidebar-links { display: none; }
  .site-frame { padding: 18px 20px 40px; }
  .site-frame.with-sidebar { display: block; }
  .with-sidebar:not(.with-mobile-tabs) .right-sidebar { display: none; }
  .right-sidebar { margin-top: 24px; }
  .mobile-view-tabs:not([hidden]) ~ .right-sidebar { margin-top: 0; }
  .masthead { height: 52px; gap: 20px; padding: 0 20px; }
  .wordmark { font-size: 21px; }
  .header-account { max-width: 170px; font-size: 10px; }
  .subjevdit-strip { padding: 0 20px; gap: 20px; font-size: 10px; min-height: 33px; }
  .feed-submit { margin-left: auto; }
  .post-row { gap: 13px; padding: 19px 0; }
  .comment-link { margin-left: auto; }
  .feed-heading { flex-wrap: wrap; gap: 5px; }
  .feed-heading > span { width: 100%; }
}
@media (max-width: 500px) {
  .masthead { display: grid; grid-template-columns: auto minmax(0, 1fr) 32px; height: auto; gap: 8px 10px; padding: 12px 16px 8px; }
  .header-moderator { grid-column: 1 / -1; grid-row: 2; margin-left: 0; font-size: 9px; }
  .wordmark { font-size: 20px; }
  .header-identity { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 10px; }
  .site-menu { grid-column: 3; grid-row: 1; }
  .header-account { max-width: 150px; font-size: 10px; }
  .header-signin { font-size: 10px; }
  .subjevdit-strip { padding: 0 16px; gap: 18px; }
  .site-frame { padding: 16px 16px 32px; }
  .feed-toolbar { gap: 10px; }
  .feed-title.is-active { font-size: 12px; width: 100%; margin-bottom: 2px; }
  .post-row { gap: 10px; align-items: start; }
  .post-rank { display: none; }
  .post-title-line h2 { font-size: 14px; letter-spacing: -.3px; }
  .post-meta { gap: 4px 7px; font-size: 10px; }
  .post-meta .meta-dot { display: none; }
  .comment-link { margin-left: 0; }
  .community-row { gap: 12px; flex-wrap: wrap; padding: 20px 0; }
  .community-icon { width: 31px; height: 31px; font-size: 13px; }
  .community-row > div { min-width: 200px; }
  .community-row h2 { font-size: 14px; }
  .directory-count { width: 100%; padding-left: 43px; margin-top: -4px; }
  .directory-toolbar { font-size: 10px; align-items: baseline; }
  .page-heading h1 { font-size: 23px; }
  .form-card, .account-card { padding: 20px 16px; }
  input:not([type=hidden]), textarea, select { font-size: 16px; }
  .account-overview { gap: 11px; }
  .account-overview h2 { font-size: 13px; }
  .account-overview .profile-avatar { width: 34px; height: 34px; }
  .thread-post { gap: 13px; }
  .thread-post h1 { font-size: 20px; }
  .comment-form-footer > span { max-width: 175px; font-size: 9px; }
  .comment-children { margin-left: 0; padding-left: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color .12s, color .12s; }
}

.browser-check { padding: 14px 0; font-size: 12px; }
.browser-check p { margin: 0 0 10px; }
.browser-check button { margin: 10px 18px 0 0; }
.verified-badge { display: inline-block; flex-shrink: 0; color: var(--muted); font: 10px/1 var(--mono); vertical-align: baseline; }
.member-counts { margin: 8px 0; font-size: 11px; color: var(--muted); }
.member-counts small { display: block; font-size: 10px; }
.membership-widget { margin: 12px 0; }
.membership-widget form, .rule-ballot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.membership-widget .quiet-message { font-size: 10px; }
.rules-actions { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font-size: 11px; }
.rules-help { position: relative; }
.rules-help summary { cursor: pointer; list-style: none; }
.rules-help p { position: absolute; right: 0; top: 24px; width: 240px; max-width: 70vw; padding: 12px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 4px 16px #20242b18; z-index: 5; }
.rules-proposal, .proposal-preview { padding: 20px 0; border-block: 1px solid var(--line); margin: 20px 0; }
.rules-proposal h2, .proposal-preview h2 { font-size: 16px; margin-top: 0; }
.rules-proposal h3, .proposal-preview h3 { font-size: 14px; }
.proposal-counts { color: var(--muted); font-size: 11px; }
.rule-ballot .is-active { color: var(--green); border-color: var(--green); background: #eaf4ee; }

.vote-control .browser-check { background: var(--paper, #fff); padding: 14px; border: 1px solid var(--line, #ddd); text-align: left; box-shadow: 0 3px 12px #0001; }
.vote-control .browser-check button { width: auto; height: auto; font-size: 12px; line-height: 1.5; margin: 10px 14px 0 0; }
[data-optimistic-vote][aria-busy="true"] > button { cursor: wait; }
