.forum-page {
  width: min(100% - 32px, 880px);
  padding-block: clamp(24px, 4vw, 46px) 64px;
}

.forum-header {
  gap: 14px 20px;
  align-items: center;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.forum-heading-copy h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 7px;
}

.forum-search input:focus { outline: none; }
.forum-header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#forumGiftInventory { color: var(--text-soft); font-size: 13px; }
.forum-search:focus-within {
  outline: 2px solid var(--action-border);
  outline-offset: 2px;
}
.forum-status { margin: 12px 0; min-height: 0; }
.forum-status:empty { display: none; }
.forum-feed { margin-block-start: 16px; }
.forum-post, .forum-empty { box-shadow: none; }
.forum-post h2 { line-height: 1.2; font-size: clamp(21px, 3vw, 28px); }
.forum-post-body, .forum-comment-body { max-width: 75ch; }
.forum-comment-body { color: var(--text-soft); }
.forum-empty h2 { margin: 0 0 5px; font-size: 20px; }
.forum-empty > p { margin: 0; color: var(--muted); }

@media (max-width: 560px) {
  .forum-header { grid-template-columns: minmax(0, 1fr); }
  .forum-header > .btn { justify-self: start; width: auto; }
}
