.game-board {
  padding: 100px max(28px, calc((100vw - 1144px) / 2));
  color: var(--ink); background: var(--cream); border-top: 4px solid var(--ink);
}
.board-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 20px; }
.board-heading > div:first-child > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.board-count {
  display: grid; place-items: center; flex: 0 0 105px; min-height: 105px;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); transform: rotate(3deg);
}
.board-count strong { font: 950 34px/1 Georgia, serif; }
.board-count span { margin-top: -9px; font-size: 11px; font-weight: 900; }
.board-archive-notice {
  margin: 0 0 26px; padding: 12px 16px; border-left: 5px solid var(--violet);
  color: var(--muted); background: var(--paper); font-size: 13px; font-weight: 750;
}
.board-flash { margin: 0 0 16px; padding: 13px 16px; border: 2px solid var(--ink); border-radius: 11px; font-size: 14px; font-weight: 850; }
.board-flash.is-success { color: var(--ink); background: var(--gold); }
.board-flash.is-error { color: var(--paper); background: var(--orange); }
.board-form-wrap {
  margin-bottom: 24px; border: 3px solid var(--ink); border-radius: 20px;
  background: var(--paper); box-shadow: 8px 8px 0 var(--violet);
}
.board-form-wrap > summary {
  display: flex; align-items: center; gap: 10px; padding: 15px 22px;
  font-size: 14px; font-weight: 900; cursor: pointer; list-style: none;
}
.board-form-wrap > summary::-webkit-details-marker { display: none; }
.board-form-wrap > summary::after { content: "＋"; margin-left: auto; font-size: 16px; }
.board-form-wrap[open] > summary::after { content: "－"; }
.board-form-wrap > summary:hover { color: var(--violet); }
.board-form { position: relative; display: grid; gap: 15px; padding: 4px 22px 22px; }
.board-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.board-author-field { width: min(100%, 360px); }
.board-form label { display: grid; gap: 7px; min-width: 0; }
.board-form label > span { font-size: 13px; font-weight: 900; }
.board-form input,
.board-form textarea,
.board-admin-actions textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px;
  color: var(--ink); background: var(--paper); font: inherit; line-height: 1.55;
}
.board-form textarea,
.board-admin-actions textarea { resize: vertical; }
.board-form input:focus,
.board-form textarea:focus,
.board-admin-actions textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.board-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.board-form-footer small { color: var(--muted); font-size: 11px; }
.board-form button,
.board-admin-actions button {
  border: 2px solid var(--ink); border-radius: 10px; padding: 11px 18px;
  color: var(--paper); background: var(--night); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer;
}
.board-form button:hover,
.board-admin-actions button:hover { color: var(--ink); background: var(--gold); }
/* minmax(0,1fr): 한 줄 요약(nowrap)의 본질 폭이 트랙을 뷰포트 밖까지 키우는 것을 차단 */
.board-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.board-post { min-width: 0; }
.board-empty {
  display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 150px;
  border: 3px dashed var(--muted); border-radius: 18px; color: var(--muted); background: var(--paper);
}
.board-empty span { font-size: 30px; }
.board-post {
  scroll-margin-top: 20px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper);
}
.board-post[open] { box-shadow: 4px 4px 0 var(--gold); }
.board-post.is-archived { background: color-mix(in srgb, var(--gold) 14%, var(--paper)); }
.board-post-head {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 14px;
  font-size: 13px; line-height: 1.35; cursor: pointer; list-style: none;
}
.board-post-head::-webkit-details-marker { display: none; }
.board-post-head:hover { background: color-mix(in srgb, var(--gold) 22%, transparent); }
.board-post[open] .board-post-head { border-bottom: 2px dashed var(--cream); }
.board-post-head > strong { flex: 0 0 auto; max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-excerpt {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted); font-weight: 500;
}
.board-post[open] .board-excerpt { visibility: hidden; }
.board-post-head > time { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.board-status { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: var(--paper); background: var(--violet); font-size: 10px; font-weight: 950; }
.is-archived .board-status { color: var(--ink); background: var(--gold); }
.board-post-body { padding: 14px 16px 4px; font-size: 14.5px; overflow-wrap: anywhere; }
.board-reply { margin: 14px 16px 16px; padding: 13px 16px; border-left: 5px solid var(--violet); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--violet) 8%, var(--paper)); }
.board-reply-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; color: var(--violet); font-size: 12px; }
.board-reply-head time { color: var(--muted); font-weight: 500; }
.board-reply > div:last-child { font-size: 14px; overflow-wrap: anywhere; }
.board-admin-actions { display: flex; align-items: start; gap: 12px; margin: 14px 16px 16px; padding-top: 14px; border-top: 2px dashed var(--cream); }
.board-admin-actions details { flex: 1; }
.board-admin-actions summary { color: var(--violet); font-size: 13px; font-weight: 900; cursor: pointer; }
.board-admin-actions details form { display: grid; gap: 9px; margin-top: 10px; }
.board-admin-actions details button { justify-self: start; }
.board-delete-form { margin-left: auto; }
.board-admin-actions .board-delete { color: var(--orange); background: transparent; border-color: var(--orange); }
.board-admin-actions .board-delete:hover { color: var(--paper); background: var(--orange); }

@media (max-width: 600px) {
  .game-board { padding: 70px 18px; }
  .board-heading { align-items: center; }
  .board-count { flex-basis: 78px; min-height: 78px; }
  .board-count strong { font-size: 27px; }
  .board-form-wrap { box-shadow: 5px 5px 0 var(--violet); }
  .board-form-wrap > summary { padding: 13px 16px; }
  .board-form { padding: 4px 16px 18px; }
  .board-form-footer { align-items: stretch; flex-direction: column; }
  .board-form-footer button { width: 100%; }
  .board-post-head { gap: 8px; padding: 9px 11px; font-size: 12.5px; }
  .board-post-head > strong { max-width: 5.5em; }
  .board-post-head > time { font-size: 10px; }
  .board-reply-head { display: grid; gap: 2px; }
  .board-admin-actions { flex-direction: column; }
  .board-admin-actions details,
  .board-delete-form,
  .board-admin-actions details button { width: 100%; }
}
