﻿/* ===============================================================
   CROWSIGHT â€” COMMUNITY / FORUM
   Liquid Obsidian â€” 1:1 with Stitch design (Community.png, ViewPosts.png, ViewOthersAccount.png)
   =============================================================== */

/* ============ FORUM HERO ============ */
.forum-hero {
  padding: 140px 0 48px;
  text-align: center;
  position: relative;
}
.forum-hero .section-tag { margin-bottom: 18px; }
.forum-hero h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.05;
}
.forum-hero p {
  font-size: 1rem;
  color: var(--text-mute);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.forum-hero .btn-primary { padding: 11px 24px; }

/* ============ LAYOUT ============ */
.forum-body {
  padding: 24px 0 100px;
  position: relative;
}
.forum-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

/* ============ SIDEBAR (Categories) ============ */
.forum-sidebar {
  position: sticky;
  top: 110px;
  background: rgba(15, 15, 17, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 18px 12px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.forum-categories h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-fade);
  margin-bottom: 12px;
  padding: 0 10px;
}
.category-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: none;
  border-radius: var(--r-md);
  color: var(--text-mute);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  position: relative;
}
.category-btn svg { flex-shrink: 0; opacity: 0.6; transition: opacity var(--t-fast) var(--ease); }
.category-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.category-btn:hover svg { opacity: 1; }
.category-btn.active {
  background: rgba(255, 0, 51, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 0, 51, 0.4);
}
.category-btn.active svg {
  opacity: 1;
  stroke: var(--crimson);
}
.category-btn--mod {
  border-top: 1px solid var(--border-glass);
  margin-top: 8px;
  padding-top: 16px;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.pending-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  background: var(--crimson);
  color: #fff;
  border-radius: var(--r-pill);
  margin-left: auto;
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

/* ============ FEED HEADER ============ */
.forum-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}
.forum-post-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.forum-sort {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  cursor: pointer;
  outline: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.forum-sort option { background: #0a0a0a; color: #fff; }
.forum-sort:hover { background: rgba(255, 255, 255, 0.08); }
.forum-sort:focus { border-color: rgba(255, 0, 51, 0.5); }

/* ============ POST CARD ============ */
#postsList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.post-card {
  position: relative;
  background: rgba(15, 15, 17, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.post-card::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 51, 0.35);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(255, 0, 51, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.post-card--pinned {
  grid-column: 1 / -1;
  border-color: rgba(255, 0, 51, 0.35);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(255, 0, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.post-pinned-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), transparent);
  margin: -20px -22px 16px;
}
.post-pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson-light);
  background: rgba(255, 0, 51, 0.1);
  border: 1px solid rgba(255, 0, 51, 0.3);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  flex-shrink: 0;
}
.post-pending-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  flex-shrink: 0;
}

/* Post card header */
.post-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.post-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ff5a78 0%, #c8002b 100%);
  border: 1px solid rgba(255, 90, 110, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.25);
}
.post-avatar--sm { width: 26px; height: 26px; }
.post-avatar--xl {
  width: 80px; height: 80px;
  border: 2px solid rgba(255, 90, 110, 0.55);
  box-shadow:
    0 0 32px rgba(255, 0, 51, 0.45),
    inset 0 2px 8px rgba(255, 255, 255, 0.15),
    inset 0 -2px 12px rgba(0, 0, 0, 0.4);
}
.post-avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.post-avatar-initials {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.post-avatar--xl .post-avatar-initials { font-size: 1.6rem; }

.post-author-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  transition: color var(--t-fast) var(--ease);
}
.post-author-link:hover { color: var(--crimson); }
.post-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.post-author { font-size: 13.5px; font-weight: 600; color: #fff; }
.post-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-fade);
}

.post-category-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-mute);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  flex-shrink: 0;
}
.post-category-badge.cat-general    { color: #8888A0; }
.post-category-badge.cat-challenges { color: #f5a623; background: rgba(245, 166, 35, 0.08); border-color: rgba(245, 166, 35, 0.28); }
.post-category-badge.cat-builds     { color: #4a90f8; background: rgba(74, 144, 248, 0.08); border-color: rgba(74, 144, 248, 0.28); }
.post-category-badge.cat-clips      { color: var(--crimson-light); background: rgba(255, 0, 51, 0.08); border-color: rgba(255, 0, 51, 0.3); }
.post-category-badge.cat-feedback   { color: #aac7ff; background: rgba(170, 199, 255, 0.08); border-color: rgba(170, 199, 255, 0.28); }

.post-title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.post-excerpt {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video player */
.post-video-wrap {
  margin: 0 0 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
}
.post-video { width: 100%; max-height: 260px; display: block; }
.post-video--detail { max-height: 440px; margin-bottom: 18px; border-radius: var(--r-md); }

/* Post footer */
.post-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-pill);
  color: var(--text-mute);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.post-action:hover {
  background: rgba(255, 0, 51, 0.06);
  border-color: rgba(255, 0, 51, 0.3);
  color: #fff;
}
.post-action.like-btn.liked,
.post-action.like-btn.liked svg {
  color: var(--crimson);
  stroke: var(--crimson);
  fill: var(--crimson);
}
.post-action.like-btn.liked {
  background: rgba(255, 0, 51, 0.1);
  border-color: rgba(255, 0, 51, 0.4);
}
.post-action.read-btn { margin-left: auto; }
.post-action.delete-post-btn {
  color: var(--text-fade);
  margin-left: auto;
}
.post-action.delete-post-btn:hover {
  background: rgba(255, 0, 51, 0.08);
  color: #ff6b80;
}
.post-action.approve-btn {
  color: #6dff9e !important;
  border-color: rgba(46, 204, 113, 0.3) !important;
}
.post-action.approve-btn:hover {
  background: rgba(46, 204, 113, 0.1) !important;
  border-color: rgba(46, 204, 113, 0.5) !important;
}
.post-action.reject-btn {
  color: #ff6b80 !important;
  border-color: rgba(255, 0, 51, 0.3) !important;
}
.post-action.reject-btn:hover {
  background: rgba(255, 0, 51, 0.1) !important;
  border-color: rgba(255, 0, 51, 0.5) !important;
}

/* Empty / load more */
.forum-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-fade);
}
.forum-empty svg { margin-bottom: 14px; stroke: var(--text-fade); }
.forum-empty p { font-size: 14px; }
.forum-load-more { display: block; margin: 24px auto; }
.forum-loading {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 60px 0;
  grid-column: 1 / -1;
}
.forum-loading span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0.6;
  animation: loadDot 1s infinite ease-in-out;
}
.forum-loading span:nth-child(2) { animation-delay: 0.15s; }
.forum-loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loadDot {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ============ FORUM MODAL (Post Detail / Profile) ============ */
.forum-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}
.forum-modal.open { display: flex; }
.forum-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.forum-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: rgba(15, 15, 17, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: modalIn 0.3s var(--ease-out);
}
.forum-modal-dialog--wide { max-width: 680px; padding: 28px 32px; }
.profile-dialog {
  max-width: 420px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 0, 51, 0.35);
  box-shadow:
    0 0 80px rgba(255, 0, 51, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.65);
}
.forum-modal-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 0, 51, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.forum-modal-dialog > * { position: relative; z-index: 1; }

.forum-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.forum-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex: 1;
  line-height: 1.3;
}
.forum-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: var(--text-mute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.forum-modal-close:hover {
  background: rgba(255, 0, 51, 0.1);
  color: #fff;
}

.forum-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* ============ POST DETAIL ============ */
.post-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.post-detail-meta .post-author {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.post-detail-meta .post-time { margin-left: auto; }
.post-detail-content {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}
.post-detail-actions {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
}

/* Comments */
.comments-section { margin-top: 12px; }
.comments-title {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
#commentsCount {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mute);
  margin-left: 4px;
}
.comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}
.comment-item:last-of-type { border-bottom: none; }
.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-body {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 36px;
  word-break: break-word;
}
.comment-delete-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-fade);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.comment-delete-btn:hover { color: var(--crimson); background: rgba(255, 0, 51, 0.08); }

.comment-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}
.comment-input-row textarea {
  flex: 1;
  font-family: var(--font);
  font-size: 13.5px;
  background: #050505;
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  color: #fff;
  padding: 10px 14px;
  outline: none;
  resize: vertical;
  min-height: 44px;
  transition: border-color var(--t-fast) var(--ease);
}
.comment-input-row textarea:focus { border-color: var(--crimson); }
.comment-input-row textarea::placeholder { color: var(--text-fade); }
.forum-login-prompt {
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  margin-top: 12px;
}
.forum-login-prompt a {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ USER PROFILE MODAL (ViewOthersAccount.png) ============ */
.profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.profile-head-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.profile-username {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-badges {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.profile-bio {
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.profile-member-badge {
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
}
.profile-action-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-friend-btn,
.profile-mod-btn { width: 100%; }
.profile-friend-btn--active {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.3);
  color: #6dff9e;
}
.profile-friend-btn--active:hover {
  background: rgba(255, 0, 51, 0.08);
  border-color: rgba(255, 0, 51, 0.4);
  color: #ff6b80;
}
.profile-no-friends-note,
.profile-login-note {
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
}
.profile-loading {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-fade);
  text-align: center;
  letter-spacing: 0.1em;
}

/* ============ NEW POST MODAL â€” video upload ============ */
.forum-select {
  font-family: var(--font);
  font-size: 13.5px;
  background: #050505;
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  color: #fff;
  padding: 11px 14px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.forum-select:focus { border-color: var(--crimson); }
.forum-select option { background: #0a0a0a; color: #fff; }

.video-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-fade);
  margin-left: 8px;
}
.video-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-glass);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-mute);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.video-upload-label:hover {
  border-color: var(--crimson);
  background: rgba(255, 0, 51, 0.06);
  color: #fff;
}
.video-tos-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  cursor: pointer;
}
.video-tos-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--crimson);
  width: 14px;
  height: 14px;
}
.video-tos-row span {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
}

.pin-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  cursor: pointer;
}

#postError, #suError, #suSuccess, #siError, #accountMsg, #licenseActivateMsg, #changePasswordMsg, #videoUploadError {
  display: block;
  min-height: 0;
}

/* Review submitted banner */
.review-submitted-banner {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #6dff9e;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.review-submitted-banner.hidden { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .forum-layout { grid-template-columns: 1fr; }
  .forum-sidebar { position: static; }
  .forum-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .forum-categories h4 { width: 100%; }
  .category-btn { width: auto; flex: 0 0 auto; }
  #postsList { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .forum-hero { padding: 120px 0 40px; }
  .forum-hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .forum-hero p { font-size: 0.92rem; padding: 0 12px; }
  .forum-body { padding: 16px 0 70px; }
  .forum-sidebar { padding: 14px 10px; }
  .category-btn { font-size: 12.5px; padding: 8px 12px; }

  .post-card { padding: 18px 18px; }
  .post-card--pinned { padding: 18px 18px; }
  .post-pinned-bar { margin: -18px -18px 14px; }
  .post-card-header { gap: 8px; }
  .post-title { font-size: 14.5px; }
  .post-excerpt { font-size: 13px; }
  .post-footer { gap: 6px; }
  .post-action { font-size: 11.5px; padding: 5px 10px; }
}

@media (max-width: 600px) {
  .forum-modal { padding: 24px 12px; }
  .forum-modal-dialog { padding: 20px; }
  .forum-modal-dialog--wide { padding: 22px 18px; }
  .profile-dialog { padding: 26px 20px; }
  .forum-modal-header h3 { font-size: 1.1rem; }
  .post-detail-content { font-size: 13.5px; }
  .comment-body { padding-left: 0; }
  .comment-input-row { flex-direction: column; }
  .comment-input-row .btn { width: 100%; }
  .profile-username { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .forum-hero { padding: 105px 0 30px; }
  .forum-feed-header { padding: 0 2px; flex-wrap: wrap; gap: 8px; }
  .forum-sort { font-size: 11.5px; padding: 6px 12px; }
  .post-card { padding: 16px; border-radius: 14px; }
  .post-card--pinned { padding: 16px; }
  .post-pinned-bar { margin: -16px -16px 12px; }
  .post-avatar { width: 30px; height: 30px; }
  .post-avatar-initials { font-size: 10px; }
  .post-author, .post-author-link { font-size: 12.5px; }
  .post-time { font-size: 9.5px; }
  .post-category-badge { font-size: 8.5px; padding: 2px 7px; }
  .post-footer { flex-wrap: wrap; }
  .post-action.read-btn { margin-left: 0; }
  .video-tos-row span { font-size: 11px; }
  .review-submitted-banner {
    white-space: normal;
    left: 12px; right: 12px;
    transform: none;
    text-align: center;
    font-size: 12px;
    padding: 10px 16px;
  }
}

