:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d6;
  --ink: #191918;
  --muted: #6f6c63;
  --line: #d5d0c3;
  --soft-line: #e3ded2;
  --white: #fbfaf6;
  --green: #246a50;
  --green-soft: #dce8df;
  --amber: #a96320;
  --amber-soft: #f2e4d2;
  --red: #a53b31;
  --red-soft: #f3ddda;
  --blue: #385e78;
  --blue-soft: #deebf0;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(37, 34, 27, .08);
  --toolbar-h: 43px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
img { max-width: 100%; }

.hidden { display: none !important; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.forum-shell {
  width: min(1160px, 100%);
  min-height: calc(100vh - var(--toolbar-h));
  margin: 0 auto;
  padding: 0 22px 0;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */

.forum-header {
  position: sticky;
  top: var(--toolbar-h);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 4px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 232, .94);
  backdrop-filter: blur(10px);
}

.forum-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.forum-brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--paper); background: var(--ink); font: 700 1.25rem/1 Georgia, serif; }
.forum-brand__copy { display: grid; line-height: 1.15; }
.forum-brand__copy strong { font: 750 1.12rem/1.1 Georgia, serif; letter-spacing: -.02em; }
.forum-brand__copy small { color: var(--muted); font-size: .64rem; letter-spacing: .04em; }

.forum-nav { display: flex; gap: 4px; }
.forum-nav a { padding: 8px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 650; }
.forum-nav a:hover { color: var(--ink); background: rgba(25, 25, 24, .06); }
.forum-nav a.is-active { color: var(--ink); background: rgba(25, 25, 24, .06); }

.forum-search { margin-left: auto; flex: 0 1 260px; }
.forum-search input { width: 100%; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; outline: 0; background: var(--white); color: var(--ink); font-size: .82rem; }
.forum-search input:focus { border-color: var(--ink); }

.forum-account { display: flex; align-items: center; }
.account-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: .8rem; font-weight: 700; transition: .18s ease; }
.account-button--out { border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.account-button--out:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(25, 25, 24, .18); }
.account-button--in { border: 1px solid var(--line); background: var(--white); }
.account-button--in:hover { border-color: var(--ink); }

.avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #c6c0b2; background: linear-gradient(145deg, #ded8c9, #f5f0e5); font: 700 1rem/1 Georgia, serif; color: #4c4a43; }
.avatar--mini { width: 24px; height: 24px; flex-basis: 24px; font-size: .68rem; }
.avatar--row { width: 34px; height: 34px; flex-basis: 34px; font-size: .82rem; }

/* ---------- Main ---------- */

.forum-main { flex: 1; padding: 26px 4px 60px; min-width: 0; }
.page-loading { display: grid; justify-items: center; gap: 12px; padding: 80px 0; color: var(--muted); font-size: .84rem; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-head { margin: 6px 2px 22px; }
.page-head .kicker { margin: 0 0 6px; color: var(--muted); font-size: .66rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; }
.page-head h1 { margin: 0; font: 700 clamp(1.6rem, 3.6vw, 2.15rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.page-head p { margin: 9px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; max-width: 60ch; }

.section-label { margin: 30px 2px 12px; display: flex; align-items: baseline; gap: 10px; }
.section-label h2 { margin: 0; font: 700 1.12rem/1.2 Georgia, serif; letter-spacing: -.01em; }
.section-label span { color: var(--muted); font-size: .72rem; }

/* ---------- Stats strip ---------- */

.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 8px; }
.stat-pill { padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.stat-pill strong { display: block; font: 700 1.5rem/1 Georgia, serif; }
.stat-pill span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Home boards ---------- */

.board-table { width: 100%; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); border-collapse: separate; border-spacing: 0; }
.board-table th { text-align: left; padding: 11px 16px; background: var(--paper-deep); color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.board-table td { padding: 14px 16px; border-top: 1px solid var(--soft-line); vertical-align: top; }
.board-table .col-board { width: 46%; }
.board-table .col-last { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.board-table .col-counts { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.board-table .col-counts strong { color: var(--ink); font-size: .86rem; }

.board-title { font: 750 1.02rem/1.25 Georgia, serif; }
.board-title a { color: var(--ink); text-decoration: none; }
.board-title a:hover { color: var(--blue); }
.board-desc { margin: 4px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; max-width: 46ch; }
.board-last-link { color: var(--ink); font-weight: 650; text-decoration: none; font-size: .78rem; }
.board-last-link:hover { color: var(--blue); }
.board-last-author { color: var(--muted); }
.board-last-time { color: var(--muted); font-size: .72rem; }

/* ---------- Thread list ---------- */

.thread-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.thread-row + .thread-row { margin-top: 10px; }
.thread-row:hover { border-color: #bdb7a8; }
.thread-row__main { min-width: 0; }
.thread-row__title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.thread-row__title a { color: var(--ink); text-decoration: none; font: 700 1rem/1.3 Georgia, serif; letter-spacing: -.01em; }
.thread-row__title a:hover { color: var(--blue); }
.thread-row__meta { margin-top: 7px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: .74rem; }
.thread-row__meta .author-link { color: var(--ink); font-weight: 650; text-decoration: none; }
.thread-row__meta .author-link:hover { color: var(--blue); }
.thread-row__excerpt { margin-top: 8px; color: var(--muted); font-size: .8rem; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.thread-row__side { text-align: right; display: grid; justify-items: end; gap: 5px; color: var(--muted); font-size: .74rem; white-space: nowrap; }
.thread-row__side strong { color: var(--ink); font-size: .86rem; }
.thread-row__side time { font-size: .7rem; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.badge--pin { color: var(--amber); background: var(--amber-soft); }
.badge--lock { color: var(--red); background: var(--red-soft); }
.badge--deleted { color: var(--muted); background: var(--paper-deep); }
.badge--staff { color: var(--blue); background: var(--blue-soft); }

/* ---------- Pagination ---------- */

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 6px; }
.pagination button, .pagination span.page-dots { min-width: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; font-size: .8rem; font-weight: 650; text-align: center; }
.pagination button:hover:not(:disabled) { border-color: var(--ink); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination button.is-current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination span.page-dots { border: 0; background: transparent; }

/* ---------- Thread view ---------- */

.thread-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 2px 20px; }
.thread-toolbar .crumb { color: var(--muted); font-size: .78rem; }
.thread-toolbar .crumb a { color: var(--blue); text-decoration: none; }
.thread-toolbar .crumb a:hover { text-decoration: underline; }
.thread-toolbar .spacer { flex: 1; }

.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.post + .post { margin-top: 14px; }
.post__side { padding: 16px; border-right: 1px solid var(--soft-line); background: rgba(244, 241, 232, .5); display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.post__author { font: 700 .92rem/1.25 Georgia, serif; }
.post__author a { color: var(--ink); text-decoration: none; }
.post__author a:hover { color: var(--blue); }
.post__role { color: var(--muted); font-size: .68rem; }
.post__time { color: var(--muted); font-size: .72rem; }
.post__main { min-width: 0; padding: 18px 20px; }
.post__main-body { overflow-wrap: anywhere; font: 400 .95rem/1.6 Georgia, "Times New Roman", serif; }
.post__main-body > :first-child { margin-top: 0; }
.post__main-body > :last-child { margin-bottom: 0; }
.post.is-deleted { background: repeating-linear-gradient(-45deg, #f5f0e7, #f5f0e7 10px, #faf7f0 10px, #faf7f0 20px); }
.post.is-deleted .post__main-body { color: var(--muted); font-style: italic; }
.post__actions { margin-top: 14px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding-top: 11px; border-top: 1px solid var(--soft-line); }
.post.is-deleted .post__actions { border-top-color: transparent; margin-top: 8px; }

.action-button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; }
.action-button:hover { border-color: var(--line); background: var(--white); color: var(--ink); }
.action-button--danger:hover { border-color: #d8a8a1; background: var(--red-soft); color: var(--red); }
.action-button--staff { color: var(--amber); }

.edited-note { color: var(--muted); font-size: .68rem; font-style: italic; }

.reply-box { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.reply-box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.reply-box__head strong { font: 700 .98rem/1.2 Georgia, serif; }
.reply-box textarea { width: 100%; min-height: 120px; resize: vertical; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--paper); color: var(--ink); font-size: .9rem; line-height: 1.5; }
.reply-box textarea:focus { border-color: var(--ink); background: var(--white); }
.reply-box__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.reply-box__hint { color: var(--muted); font-size: .72rem; }
.reply-box.is-locked { border-color: #d8a8a1; background: var(--red-soft); }
.locked-note { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: .82rem; font-weight: 650; }

/* ---------- Search ---------- */

.search-result { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; color: var(--ink); }
.search-result + .search-result { margin-top: 10px; }
.search-result:hover { border-color: #bdb7a8; }
.search-result__title { font: 700 1rem/1.3 Georgia, serif; }
.search-result:hover .search-result__title { color: var(--blue); }
.search-result__meta { margin-top: 6px; color: var(--muted); font-size: .74rem; display: flex; gap: 9px; flex-wrap: wrap; }

/* ---------- Empty state ---------- */

.empty-state { padding: 70px 30px; text-align: center; color: var(--muted); }
.empty-state > span { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; }
.empty-state h2 { margin: 16px 0 7px; color: var(--ink); font: 700 1.3rem/1 Georgia, serif; }
.empty-state p { margin: 0; font-size: .84rem; }

/* ---------- Forms / buttons ---------- */

.button { border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 750; font-size: .8rem; transition: .18s ease; }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button--ink { border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.button--ink:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(25, 25, 24, .18); }
.button--outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.button--outline:hover:not(:disabled) { border-color: var(--ink); }
.button--small { padding: 6px 11px; font-size: .72rem; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .74rem; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--ink); }
.muted { color: var(--muted); font-size: .72rem; }

/* ---------- Thread toolbar extras ---------- */

.thread-staff { display: inline-flex; gap: 7px; flex-wrap: wrap; }
.thread-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.move-box { margin-top: 16px; padding: 14px; border: 1px solid var(--amber); border-radius: 14px; background: var(--amber-soft); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.move-box select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font-size: .8rem; outline: 0; }

/* ---------- Account menu ---------- */

.account-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 45; min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 14px 40px rgba(25, 25, 24, .2); display: grid; gap: 2px; }
.account-menu button { padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; font-size: .8rem; text-align: left; }
.account-menu button:hover { background: var(--paper-deep); }

/* ---------- Profile ---------- */

.profile-card { padding: 26px 6px; display: grid; justify-items: start; gap: 6px; }
.avatar--hero { width: 72px; height: 72px; flex-basis: 72px; font-size: 1.7rem; margin-bottom: 10px; }
.profile-card h1 { margin: 0; font: 700 1.8rem/1.1 Georgia, serif; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-username { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }

/* ---------- Manage dialog ---------- */

.manage-category { padding: 10px 0 4px; border-top: 1px solid var(--soft-line); }
.manage-category__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 8px; font: 700 .92rem/1.2 Georgia, serif; }
.manage-list .manage-item { margin-bottom: 7px; }


.form-status { min-height: 1em; margin: 8px 0 0; color: var(--muted); font-size: .75rem; }
.form-status.is-error { color: var(--red); }
.form-status.is-good { color: var(--green); }

/* ---------- Modals ---------- */

.modal { width: min(440px, calc(100vw - 32px)); padding: 24px 26px 26px; border: 0; border-radius: 20px; background: var(--white); box-shadow: 0 30px 90px rgba(25, 25, 24, .35); }
.modal::backdrop { background: rgba(25, 25, 24, .42); backdrop-filter: blur(2px); }
.modal[open] { animation: modal-in .18s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.modal-close:hover { border-color: var(--ink); }
.modal-kicker { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .16em; }
.modal h2 { margin: 8px 0 4px; font: 700 1.5rem/1.15 Georgia, serif; letter-spacing: -.02em; }
.modal-lead { margin: 0 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.segmented { display: flex; gap: 5px; margin: 0 0 16px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.segmented button { flex: 1; padding: 7px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 700; }
.segmented button.is-active { background: var(--ink); color: var(--white); }
.modal-form { display: grid; gap: 13px; }
.modal-form label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.modal-form input, .modal-form textarea, .modal-form select { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--paper); color: var(--ink); font-size: .86rem; }
.modal-form input:focus, .modal-form textarea:focus, .modal-form select:focus { border-color: var(--ink); background: var(--white); }
.modal-hint { margin: 2px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }

/* ---------- Manage dialog ---------- */

#manageDialog { width: min(680px, calc(100vw - 32px)); }
.manage-body { max-height: 62vh; overflow: auto; }
.manage-section { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--soft-line); }
.manage-section__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.manage-section__head strong { font: 700 .9rem/1.2 Georgia, serif; }
.manage-list { display: grid; gap: 7px; }
.manage-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.manage-item__copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.manage-item__copy strong { font-size: .8rem; }
.manage-item__copy small { color: var(--muted); font-size: .68rem; }
.manage-item select, .manage-item input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: .74rem; outline: 0; }
.manage-item .mini-actions { display: flex; gap: 6px; align-items: center; }
.mini-button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; font-size: .7rem; font-weight: 700; }
.mini-button:hover { border-color: var(--ink); }
.mini-button--danger:hover { border-color: #d8a8a1; background: var(--red-soft); color: var(--red); }
.check-row { display: flex !important; align-items: center; gap: 8px; }
.check-row input { width: auto; }

/* ---------- Toast ---------- */

.toast-stack { position: fixed; z-index: 60; right: 18px; bottom: 18px; display: grid; gap: 9px; width: min(340px, calc(100vw - 36px)); }
.toast { padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); color: var(--white); font-size: .8rem; box-shadow: 0 12px 34px rgba(25, 25, 24, .28); animation: toast-in .2s ease both; }
.toast.is-error { background: var(--red); border-color: var(--red); }
.toast.is-good { background: var(--green); border-color: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Markdown body ---------- */

.markdown-body { overflow-wrap: anywhere; }
.markdown-body p { margin: .48em 0; }
.markdown-body strong { font-weight: 800; }
.markdown-body del { color: var(--muted); }
.markdown-body a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.markdown-body a:hover { color: var(--ink); }
.markdown-body code { padding: .12em .34em; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-deep); font: .84em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.markdown-body pre { max-width: 100%; margin: .7em 0; padding: 10px 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); color: var(--white); white-space: pre; }
.markdown-body pre code { padding: 0; border: 0; background: transparent; color: inherit; }
.markdown-body blockquote { margin: .65em 0; padding: .08em 0 .08em .85em; border-left: 3px solid var(--green); color: var(--muted); }
.markdown-body ul, .markdown-body ol { margin: .55em 0; padding-left: 1.4em; }
.markdown-body li + li { margin-top: .18em; }
.markdown-heading { margin: .7em 0 .3em; font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
.markdown-heading--1 { font-size: 1.22em; }
.markdown-heading--2 { font-size: 1.1em; }
.markdown-heading--3 { font-size: 1em; }

/* ---------- Footer ---------- */

.forum-footer { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 20px 4px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.forum-footer a { color: inherit; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .forum-header { flex-wrap: wrap; gap: 10px; }
  .forum-search { order: 3; flex-basis: 100%; }
}

@media (max-width: 720px) {
  .forum-shell { padding: 0 12px; }
  .forum-nav { display: none; }
  .forum-header { gap: 10px; }
  .post { grid-template-columns: 1fr; }
  .post__side { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--soft-line); }
  .post__side .avatar { width: 34px; height: 34px; flex-basis: 34px; }
  .thread-row { grid-template-columns: 1fr; }
  .thread-row__side { justify-items: start; text-align: left; grid-auto-flow: column; gap: 14px; }
  .board-table th.col-last, .board-table td.col-last { display: none; }
  .board-table .col-counts { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
