/* SCRU Forums. Only what the kit does not already have; kit tokens throughout. */
.frame { width: min(94%, 68rem); }
.welcome { display: flex; gap: 10px; align-items: center; padding: 8px; margin-bottom: var(--s4); background: var(--panel); border: 1px solid var(--line); font: .78rem var(--ui-font); }
.welcome img { width: 56px; height: 56px; object-fit: cover; background: #fff; border: 1px solid var(--edge); }
.welcome b { display: block; font-size: .86rem; overflow-wrap: anywhere; }
.head-links { display: flex; align-items: center; gap: 9px; font: .76rem var(--ui-font); white-space: nowrap; }
.head-links i { height: 11px; border-left: 1px solid #8995a3; }
.head-links form { display: inline; }
.linklike { padding: 0; border: 0; background: none; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; }
.linklike:hover { color: #0e4b9b; }
input.wide { max-width: 100%; }
.bar { justify-content: space-between; margin: var(--s2) 0; min-height: 1px; }
.mod { gap: 4px; }

.board-list, .topic-list { table-layout: fixed; margin-bottom: var(--s4); }
.board-list thead th:first-child, .topic-list thead th:first-child { color: #fff; background: var(--bar); border-color: #1b3260; box-shadow: inset 0 1px #738bb0; }
col.c-icon { width: 34px; } col.c-num { width: 4.6rem; } col.c-last { width: 13.5rem; } col.c-who { width: 7.5rem; }
.data td.icon { padding: 9px 8px; text-align: center; vertical-align: middle; }
.data td.last { font-size: .74rem; }
.board-name, .topic { font-weight: 700; }
.board-name { font-size: .88rem; }
.lamp { display: inline-block; width: 13px; height: 13px; background: #dfe6ee; border: 1px solid var(--edge); box-shadow: inset 1px 1px #fff; vertical-align: -2px; }
.lamp.new { background: #e0a21b; border-color: #8a5a00; box-shadow: inset 1px 1px #f6d98a; }
.legend { margin-top: var(--s3); font: .72rem var(--ui-font); color: var(--muted); }
.legend .lamp { margin: 0 4px 0 10px; }
.legend .lamp:first-child { margin-left: 0; }
.who { margin-top: var(--s3); }
.res { color: var(--ok); font-size: .8em; }

.posts { border-top: 1px solid var(--edge); }
.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); border: 1px solid var(--edge); border-top: 0; }
.post:target .post-head { background: #fbf6e8; }
.post-user { padding: 9px; background: var(--panel); border-right: 1px solid var(--line); font: .74rem var(--ui-font); overflow-wrap: anywhere; }
.post-user > * { display: block; }
.post-name { font-size: .86rem; }
.post-name a { text-decoration: none; }
.post-user .flag { display: inline-flex; margin-top: 2px; }
.post-user dl { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin-top: 6px; color: var(--muted); }
.post-user dt { font-weight: 700; }
.avatar { width: 96px; height: 96px; margin: 6px 0; object-fit: cover; background: #fff; border: 1px solid var(--edge); }
.post-main { display: flex; flex-direction: column; min-width: 0; }
.post-head { display: flex; justify-content: space-between; gap: 10px; padding: 4px 9px; background: linear-gradient(#f6f8fa, #e3eaf1); border-bottom: 1px solid var(--line); font: .72rem var(--ui-font); color: var(--muted); }
.post-body { flex: 1; padding: 12px 12px 16px; font-size: .84rem; overflow-wrap: anywhere; }
.post-body pre, .signature pre { margin: 8px 0; font-size: .78rem; white-space: pre-wrap; }
.post-body blockquote { margin: 8px 0; padding: 7px 10px; background: var(--stripe); border: 1px solid var(--line); border-left: 4px solid #435f88; font-size: .8rem; }
blockquote cite { display: block; margin-bottom: 4px; font: 700 .72rem var(--ui-font); color: #3a4e6b; }
.edited { padding: 0 12px 6px; }
.removed { color: var(--muted); font-style: italic; }
.signature { margin: 0 12px; padding: 7px 0 9px; border-top: 1px dotted #aab7c7; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; max-height: 6.5rem; overflow: hidden; }
dd .signature { margin: 0; padding: 0; border: 0; }

.compose { margin-top: var(--s4); }
.compose textarea { width: 100%; margin-top: var(--s2); }
.compose .row { margin-top: var(--s2); }
.profile { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s3); margin-bottom: var(--s5); }
.records li a { display: block; font-weight: 700; font-size: .84rem; }
.records li { font-size: .8rem; }
.gate { margin-top: var(--s3); }

@media (width <= 740px) {
  .page-grid > aside { order: 0; }
  .menu ul { display: grid; grid-template-columns: 1fr 1fr; }
  .board-list, .topic-list { table-layout: auto; }
  .post { grid-template-columns: 1fr; }
  .post-user { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; }
  .post-user > * { grid-column: 2; }
  .post-user .avatar { grid-column: 1; grid-row: 1 / span 4; width: 48px; height: 48px; margin: 0; }
  .post-user dl { display: none; }
}
