/* Public board lists use the same gutters as the directory. Article and form widths stay readable. */
.workspace > #main:has(> .forum-screen) {padding-block-start:clamp(12px,1.3vw,22px);}
.forum-screen.forum-overview-screen {width:100%;max-width:none;padding-bottom:12px;}
.forum-screen.forum-reading-screen {max-width:1120px;margin-inline:0 auto;padding-bottom:12px;}
.forum-overview-screen .talk-header,.forum-reading-screen .talk-header {margin-block:6px 12px;}
.forum-overview-screen .talk-panel,.forum-reading-screen .talk-panel {padding:clamp(16px,1.6vw,22px);margin:0 0 12px;}
.forum-overview-screen .forum-filter .field {margin:0;}
.forum-reading-screen .post-body {max-width:85ch;margin-block:16px;}
.forum-screen.board-list-screen {width:100%;max-width:none;margin:0;padding-bottom:12px;--feed-pad:clamp(12px,1.35vw,20px);}
.board-list-screen [hidden] {display:none!important;}
.feed-heading,.feed-name,.feed-actions,.feed-gate-nav,.feed-bar,.feed-tools,.feed-selection,.feed-query,.feed-stats,.feed-byline,.feed-pager {display:flex;align-items:center;}
.feed-heading {justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:0 0 10px;}
.feed-name {gap:8px;min-width:0;}
.feed-name h1,.feed-gate h1 {font-size:clamp(22px,2.4vw,32px);line-height:1.25;letter-spacing:-.04em;overflow-wrap:anywhere;margin:0;}
.feed-private,.feed-bar h2 span {display:inline-block;color:var(--muted);background:var(--soft);border-radius:5px;font-size:12px;font-weight:600;padding:2px 6px;white-space:nowrap;}
.feed-actions,.feed-gate-nav {gap:8px;}
.feed-activity,.feed-back,.feed-tool {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;color:var(--ink);border-radius:8px;}
.feed-back {min-width:36px;border:1px solid var(--line);}
.feed-back .icon {width:15px;height:15px;transform:rotate(180deg);}
.feed-activity,.feed-tool {padding-inline:10px;font-size:13px;}
.feed-activity .icon,.feed-tool .icon,.feed-actions .icon {width:16px;height:16px;}
.feed-activity:hover,.feed-back:hover,.feed-tool:hover,.feed-tool[aria-expanded=true] {background:var(--soft);color:var(--accent);}
.feed-gate-nav {justify-content:space-between;max-width:660px;margin-bottom:8px;}
.feed-gate {max-width:660px;}
.feed-gate p {margin-top:8px;}
.board-feed {border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0;}
.feed-bar {justify-content:space-between;gap:8px;padding:5px var(--feed-pad);border-bottom:1px solid var(--line);flex-wrap:wrap;}
.feed-bar h2 {margin:0;font-size:16px;line-height:1.35;}
.feed-bar h2 span {margin-inline-start:3px;font-variant-numeric:tabular-nums;}
.feed-tools {gap:4px;flex-wrap:wrap;margin-inline-start:auto;}
.feed-tools select,.feed-search :is(input,select),.feed-field select {min-height:40px;min-width:0;padding:5px 9px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--bg);font:inherit;font-size:13px;}
.board-feed option {color:var(--ink);background-color:var(--surface);}
.feed-search,.feed-options,.feed-query,.feed-selection {padding:8px var(--feed-pad);border-bottom:1px solid var(--line);}
.feed-search {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;}
.feed-options {display:flex;align-items:end;gap:8px 12px;flex-wrap:wrap;}
.feed-field {display:grid;gap:3px;font-size:12px;color:var(--muted);}
.feed-query,.feed-selection {gap:8px;font-size:13px;}
.feed-query span {min-width:0;overflow-wrap:anywhere;}
.feed-query button {display:grid;place-items:center;min-height:36px;min-width:36px;}
.feed-query .icon {width:15px;height:15px;}
.feed-selection {justify-content:space-between;background:var(--selected-surface);}
.feed-list {list-style:none;margin:0;padding:0;}
.feed-entry {display:flex;align-items:stretch;min-width:0;}
.feed-entry + .feed-entry {border-block-start:1px solid var(--line);}
.feed-entry:hover,.feed-entry:focus-within {background:var(--soft);}
.feed-post {flex:1;min-width:0;min-height:54px;display:flex;align-items:center;gap:clamp(8px,1.2vw,16px);padding:9px var(--feed-pad);}
.feed-post:focus-visible {outline-offset:-3px;}
.feed-pick {display:grid;place-items:center;flex:0 0 42px;cursor:pointer;}
.feed-pick input {margin:0;width:16px;height:16px;accent-color:var(--accent);}
.feed-pick + .feed-post {padding-inline-start:0;}
.feed-copy {min-width:0;flex:1;}
.feed-byline,.feed-stats {font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;}
.feed-byline {flex-wrap:wrap;gap:2px 6px;line-height:1.4;margin-bottom:2px;}
.feed-byline > span:first-child {max-width:100%;overflow-wrap:anywhere;}
.feed-title,.feed-excerpt {display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
.feed-title {-webkit-line-clamp:2;font-size:clamp(15px,1.2vw,17px);line-height:1.4;}
.feed-title strong {font-weight:650;}
.feed-title .forum-tag {vertical-align:1px;}
.feed-excerpt {-webkit-line-clamp:1;margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.4;}
.feed-thumb {width:48px;height:48px;object-fit:cover;flex:none;border:1px solid var(--line);border-radius:6px;}
.feed-stats {flex:none;gap:8px;}
.feed-stats > span {display:inline-flex;align-items:center;gap:3px;line-height:1.4;white-space:nowrap;}
.feed-stats .icon {width:15px;height:15px;}
.feed-stats .forum-tag {margin:0;}
.feed-empty {margin:0;padding:clamp(16px,2vw,24px) var(--feed-pad);color:var(--muted);}
.feed-pager {flex-wrap:wrap;justify-content:center;gap:4px;padding:8px;border-block-start:1px solid var(--line);}
.feed-pager :is(button,span) {display:grid;place-items:center;min-width:36px;min-height:40px;border-radius:6px;font-size:14px;}
.feed-pager [aria-current],.feed-pager button:hover:enabled {color:var(--accent);background:var(--selected-surface);}
.feed-cards {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:10px;padding:12px;}
.feed-cards .feed-entry {border:1px solid var(--line);border-radius:9px;}
.feed-cards .feed-post {flex-wrap:wrap;align-content:start;padding:10px;}
.feed-cards .feed-thumb {order:-1;width:100%;height:100px;}
.feed-cards .feed-stats {flex-basis:100%;}
.board-chip.has-current {color:var(--accent);}
@media(max-width:767px){
  .feed-tools select,.feed-search :is(input,select),.feed-field select {font-size:16px;min-height:44px;}
  .feed-post {padding-block:8px;}
  .feed-pager :is(button,span) {min-height:44px;}
}
@media(max-width:560px){
  .feed-actions {gap:4px;}
  .feed-activity {min-width:40px;}
  .feed-activity span,.feed-tool span {display:none;}
  .feed-tool {width:40px;padding-inline:0;}
  .feed-tools {gap:2px;}
  .feed-search {gap:5px;}
  .feed-search .btn {padding-inline:10px;}
  .feed-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .feed-stats {flex-direction:column;align-items:end;gap:3px;font-size:11px;}
  .feed-stats .icon {width:13px;height:13px;}
  .feed-thumb {width:42px;height:42px;}
  .feed-cards .feed-stats {flex-direction:row;}
  .feed-pager .feed-far-page {display:none;}
}
@media(max-width:360px){
  .feed-heading {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;}
  .feed-name {gap:4px;}
  .feed-actions .talk-action {min-height:44px;padding-inline:9px;}
  .feed-actions .talk-action .icon {display:none;}
  .feed-private {font-size:11px;padding:1px 4px;}
  .feed-tools select {max-width:82px;}
}
