.board { max-width: 1080px; padding-bottom: 56px; }
.board [hidden] { display: none !important; }
.board :is(h1,h2,h3,p) { margin: 0; }
.board h2 { font-size: 22px; line-height: 1.35; word-break: break-word; }
.board h3 { font-size: 18px; }
.board .button { text-decoration: none; }
.board-heading, .view-heading, .byline, .form-actions, .login-needed {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.board-heading { padding: 6px 0 24px; border-bottom: 1px solid var(--line); }
.board-heading h1 { font-size: clamp(28px, 4vw, 40px); }
.board-heading p, .login-needed p, .privacy, .comment-state { color: var(--muted); font-size: 14px; line-height: 1.6; }
.board-heading p { margin-top: 7px; }
.board-heading button { flex: none; }
.board-status:empty { display: none; }
.board .board-status { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--blue); background: var(--paper); line-height: 1.6; }
.view-heading { margin: 22px 0 12px; }
.post-table { border-block: 1px solid var(--line); }
.post-columns, .post-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(80px, 16%) minmax(105px, 18%); gap: 14px; align-items: baseline; padding: 13px 14px; }
.post-columns { font-size: 13px; color: var(--muted); font-weight: 650; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.rows { list-style: none; margin: 0; padding: 0; }
.post-row { border-top: 1px solid var(--line); }
.post-row a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.post-row a:hover, .back-link:hover, .text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-author, .post-row time, .byline, .comment-meta { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.board .board-empty { padding: 42px 16px; color: var(--muted); line-height: 1.6; text-align: center; }
.board .more { display: flex; margin: 16px auto; }
.back-link, .text-button { display: inline-block; color: var(--blue); font-size: 14px; }
.back-link { margin: 20px 0; text-decoration: none; }
.text-button { background: none; border: 0; padding: 4px; }
.byline { justify-content: flex-start; flex-wrap: wrap; margin-top: 10px; }
.byline .text-button { margin-left: auto; }
.detail-heading { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.board .user-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.8; }
#post-body { padding: 22px 0 32px; }
#discussion { border-top: 1px solid var(--line); padding-top: 18px; }
.comment { padding: 13px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.comment-meta .text-button { margin-left: auto; }
.comment-meta strong { color: var(--ink); }
.board .comment-state { margin: 9px 0; }
.login-needed { justify-content: flex-start; flex-wrap: wrap; border: 1px solid var(--line); padding: 16px; margin-top: 14px; border-radius: 8px; background: var(--paper); }
.board-form { margin-top: 15px; display: grid; gap: 14px; }
.board-form label { font-size: 14px; display: grid; gap: 6px; font-weight: 650; }
.board-form :is(input,textarea) { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); padding: 10px 12px; font: inherit; font-weight: 400; line-height: 1.55; }
.board-form [name=nickname] { max-width: 240px; }
.board-form textarea { resize: vertical; }
.form-actions { justify-content: flex-end; }
@media (max-width: 600px) {
  .board-heading { align-items: flex-start; flex-wrap: wrap; }
  .board { padding: 20px 16px 36px; }
  .post-columns { display: none; }
  .post-row { grid-template-columns: auto 1fr; justify-items: start; gap: 5px 14px; padding: 14px 2px; }
  .post-row a { grid-column: 1/-1; }
  .post-row:first-child { border-top: 0; }
  .board-form :is(input,textarea) { font-size: 16px; }
}
