.auth-feedback {
  margin-top: 0.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--forum-line);
  background: rgba(0, 0, 0, 0.05);
  color: var(--forum-ink);
  line-height: 1.6;
}

.auth-feedback.error {
  background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 920px) {
  .navbar {
    padding: 0;
  }

  .nav-container {
    height: auto;
    gap: 0.5rem;
    padding: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-brand,
  .nav-actions {
    width: 100%;
  }

  .nav-actions {
    gap: 0.5rem;
    align-items: stretch;
    justify-content: flex-end;
  }

  .nav-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  .search-box {
    display: none;
  }

  .user-menu-shell {
    margin-left: auto;
  }

  .user-menu-mobile summary {
    min-width: auto;
    padding: 0.45rem 0.55rem;
  }

  .menu-label {
    display: none;
  }

  .main-container {
    padding: 0.9rem 0.75rem 1.15rem;
  }

  .main-title {
    font-size: 2rem;
    line-height: 1.04;
  }

  .forum-hero,
  .board-section,
  .detail-shell,
  .board-thread-head,
  .board-reply-box,
  .board-floor-main,
  .board-floor-side {
    padding: 0.85rem;
  }

  .forum-hero {
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .forum-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero-stat {
    padding: 0.72rem;
  }

  .hero-stat strong {
    font-size: 1.15rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .detail-actions,
  .form-actions {
    width: 100%;
  }

  .hero-actions > button,
  .hero-actions > a,
  .detail-actions > button,
  .detail-actions > a,
  .form-actions > button {
    width: 100%;
  }

  .user-stack {
    width: auto;
    gap: 0.4rem;
    flex-wrap: nowrap;
  }

  .user-stack > button,
  .user-stack > a {
    width: auto;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }

  .category-tabs {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.2rem;
    overflow-x: auto;
  }

  .category-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }

  .board-card,
  .thread-card {
    padding: 0.85rem;
  }

  .board-card {
    gap: 0.65rem;
  }

  .board-name {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .board-meta {
    display: block;
    white-space: normal;
    font-size: 0.74rem;
  }

  .thread-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.38;
  }

  .thread-card-counts {
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .modal-content {
    width: calc(100vw - 0.8rem);
    margin: 0.4rem;
  }

  .thread-card-foot span:last-child,
  .board-section .section-heading p {
    display: none;
  }

  .attachment-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .attachment-card {
    padding: 0.85rem;
  }
}
