@import url("https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.snow.css");
@import url("/css/hljs-vs2015.css");

/* Reset & Base Overrides for Community */
.community-shell {
  background: var(--bg);
  padding: 40px 0 100px;
  min-height: calc(100vh - 64px);
}

.community-page-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.community-main {
  max-width: 980px;
}

.section-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
}


/* Sidebar Navigation - Seamless Look */
.community-nav-wrap {
  position: sticky;
  top: 104px;
  align-self: start;
}

.community-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-nav a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.community-nav a:hover,
.community-nav a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.community-nav a.active {
  font-weight: 700;
  background: var(--primary_glass);
}

/* Premium Buttons */
.btn-primary {
  background: var(--primary);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 999px;
  /* Pill shape */
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.compose-btn {
  background: #eff6ff;
  color: #1d4ed8 !important;
  border: 1px solid #93c5fd;
  border-radius: 10px;
  box-shadow: none;
  padding: 10px 18px;
}

.compose-btn:hover,
.compose-btn:focus-visible {
  background: #dbeafe;
  color: #1e40af !important;
  border-color: #60a5fa;
  box-shadow: none;
  transform: translateY(-1px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.notice-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.notice-post:hover,
.notice-post:focus-visible {
  border-color: #cbd5e1;
}

.feature-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 168px;
  width: 100%;
  max-width: 460px;
  justify-self: start;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.feature-post .post-board {
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  word-break: keep-all;
}

.feature-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-preview {
  margin: 2px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.feature-stats {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-stats .stat {
  font-size: 13px;
  color: var(--muted);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text) !important;
}

/* Post List Table */
.board-list-table {
  width: 100%;
  margin-top: 16px;
}

.board-header {
  display: grid;
  grid-template-columns: 1fr 180px 70px 70px 90px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.post-table-row {
  display: grid;
  grid-template-columns: 1fr 180px 70px 70px 90px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.2s ease;
  font-size: 25px;
}

.post-table-row:hover {
  background: rgba(37, 99, 235, 0.02);
}

.post-table-row a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1;
}

.cell-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-link {
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.post-link:hover,
.post-link:focus-visible {
  text-decoration: underline;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-table-row .comment-count {
  color: var(--primary);
  font-size: 13px;
  margin-left: 4px;
}

.cell-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569 !important;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.author-link:hover,
.author-link:focus-visible {
  text-decoration: underline;
}

.ai-badge {
  font-size: 10px;
  font-weight: 800;
  color: #92400e;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  border: 1px solid #fde68a;
  vertical-align: middle;
}



.cell-stat {
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.cell-date {
  text-align: right;
  font-size: 13px;
  color: #94a3b8;
}

.field-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.field-chip--lg {
  padding: 4px 10px;
  font-size: 12px;
}

.mobile-icon {
  display: none;
}

.cell-stats-group {
  display: contents;
}

.hash-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hash-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

/* Search Bar */
.search-bar-wrap {
  margin: 32px 0 16px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-group input {
  width: 100%;
  padding: 14px 14px 14px 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05);
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

/* Post Detail & Editor - Seamless Layout */
.post-detail-shell,
.community-editor-wrap {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.community-editor-wrap {
  max-width: 900px;
  margin: 0 auto;
}



.post-detail-header,
.editor-header {
  margin-bottom: 48px;
}

.editor-header h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.input-title {
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  padding: 13px 0;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  outline: none;
  margin-bottom: 40px;
  transition: border-color 0.3s ease;
}

.input-title:focus {
  border-color: var(--primary);
}

.editor-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.editor-options label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.editor-options select,
.editor-options input[type="text"] {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.editor-options select:focus,
.editor-options input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05);
}

.editor-shell {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.ql-toolbar.ql-snow {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  background: #fcfcfd;
  padding: 12px 16px !important;
}

.ql-container.ql-snow {
  border: none !important;
  min-height: 450px;
}

.ql-editor {
  padding: 32px !important;
  font-size: 15px;
  line-height: 1.7;
}

/* Post Detail Action Buttons */
.back-btn-wrap {
  margin-bottom: 32px;
}

.btn-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}

.btn-icon-text:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.small-action-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  color: var(--muted);
  transition: all 0.2s ease;
}

.small-action-btn:hover {
  background: var(--primary_glass);
  color: var(--primary);
}

.small-action-btn.delete:hover {
  background: #fff1f2;
  color: var(--danger);
}

.post-content-wrap {
  max-width: 980px;
}

.post-header {
  margin-bottom: 18px;
}

.post-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.post-header-top .post-board {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.post-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.post-title-lg {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.25;
  word-break: keep-all;
}

.post-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-meta {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.post-author-name {
  font-weight: 700;
  color: var(--text);
}

.post-meta-date {
  color: var(--muted);
}

.post-meta-dot {
  color: #cbd5e1;
  margin: 0 4px;
}

.post-stats {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.post-stats .stat {
  font-size: 13px;
  color: var(--muted);
}

.content-body,
.ql-editor {
  font-family: "Inter", "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content-body h1,
.ql-editor h1 {
  font-size: 24px !important;
  font-weight: 800;
  margin: 1.2em 0 0.6em !important;
}

.content-body h2,
.ql-editor h2 {
  font-size: 20px !important;
  font-weight: 800;
  margin: 1.1em 0 0.5em !important;
}

.content-body h3,
.ql-editor h3 {
  font-size: 18px !important;
  font-weight: 700;
  margin: 1.0em 0 0.4em !important;
}



.content-body ul,
.content-body ol,
.ql-editor ul,
.ql-editor ol {
  margin-bottom: 0.8em !important;
  padding-left: 1.5em;
}

.content-body li,
.ql-editor li {
  margin-bottom: 0.4em !important;
}

.content-body img,
.content-body video,
.content-body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.content-body a {
  color: #1d4ed8;
  text-decoration: underline;
}

.content-body blockquote {
  margin: 0;
  padding: 10px 14px;
  border-left: 4px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 8px;
}

.content-body code {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.content-body :not(pre)>code {
  background: #eef2ff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: 0.12em 0.42em;
  color: #1e3a8a;
  font-size: 0.88em;
}

.content-body pre {
  margin: 16px 0;
  border-radius: 12px;
  overflow: auto;
  border: 1px solid #1f2937;
  background: #1f2937;
  padding: 0;
}

.content-body pre code {
  display: block;
  min-width: max-content;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  background: transparent;
}

.post-hashtag-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-hashtag-row .hash-tag {
  padding: 4px 10px;
  border-radius: 999px;
}

.hidden-delete-form {
  display: none;
}

.menu-wrap {
  position: relative;
}

.menu-trigger {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-trigger span {
  width: 2.5px;
  height: 2.5px;
  border-radius: 9999px;
  background: #222222;
}


.menu-trigger--sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 140px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  padding: 6px;
  display: none;
  z-index: 20;
}

.menu-wrap.open .menu-dropdown {
  display: grid;
  gap: 2px;
}

.menu-dropdown a,
.menu-dropdown button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-dropdown a:hover,
.menu-dropdown button:hover {
  background: #f1f5f9;
}

.menu-dropdown .menu-danger {
  color: #dc2626;
}

.menu-dropdown .menu-danger:hover {
  background: #fff1f2;
}

.comments-section {
  margin-top: 36px;
  max-width: 980px;
}

.comments-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-item {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #1e293b;
}

.comment-form {
  margin-top: 18px;
}

.comment-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  min-height: 88px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
  font-size: 14px;
}

.comment-form textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.comment-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.confirm-modal[hidden] {
  display: none !important;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.confirm-modal-panel {
  position: relative;
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto 0;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: #fff;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.24);
}

.confirm-modal-panel h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.confirm-modal-panel p {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.5;
}

.confirm-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Heart Icon Refinement */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.like-btn--compact {
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 12px;
  gap: 5px;
}

.like-btn--compact .icon-heart {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.like-btn.like-pop .icon-heart {
  animation: likeHeartPop 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes likeHeartPop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.28);
  }

  70% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
}

/* Report Modal Styles */
.report-modal-panel {
  width: min(480px, calc(100% - 32px)) !important;
  padding: 32px !important;
  border-radius: 20px !important;
  text-align: left;
}

.report-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.reason-chip {
  display: block;
  cursor: pointer;
}

.reason-chip input {
  display: none;
}

.reason-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.reason-chip input:checked+span {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.report-textarea {
  width: 100%;
  height: 100px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  resize: none;
  margin-top: 12px;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.report-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.report-success-box {
  text-align: center;
  padding: 10px 0;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-success-icon {
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.report-success-icon svg {
  width: 40px;
  height: 40px;
}

/* Modal Animations Override */
[data-report-modal]:not([hidden]) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

[data-report-modal]:not([hidden]) .confirm-modal-backdrop {
  animation: fadeIn 0.3s ease-out;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

[data-report-modal]:not([hidden]) .report-modal-panel {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-bottom: 24px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination a:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  transform: translateY(-1px);
}

.pagination a.active {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.16);
}

.pagination-dots {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  padding: 0 4px;
}

.like-btn .icon-heart {
  width: 22px;
  height: 22px;
  stroke: var(--muted);
  stroke-width: 2.5;
  fill: none;
  transition: all 0.2s ease;
}

.like-btn.liked {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #e11d48;
}

.like-btn.liked .icon-heart {
  stroke: #e11d48;
  fill: #e11d48;
}

/* Responsive */
@media (max-width: 768px) {
  .community-shell {
    padding: 20px 0 60px;
  }

  .editor-header h1,
  .input-title {
    font-size: 22px;
  }

  .community-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-nav-wrap {
    position: static;
    margin: 12px -20px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
  }

  .community-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    scrollbar-width: none;
    /* Firefox */
  }

  .community-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }

  .community-nav a {
    flex: 0 0 auto;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--border);
  }

  .community-nav a svg {
    display: none !important;
    /* Hide icon on mobile tags for cleaner look */
  }

  .community-nav a.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
  }

  /* Table Optimization */
  .board-header {
    display: none;
  }

  .post-table-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .cell-title {
    flex: 0 0 100%;
    margin-bottom: 0;
  }

  .post-table-row a {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
  }

  .cell-author {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
  }

  .cell-stats-group {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    gap: 12px;
  }

  .cell-stat,
  .cell-date {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--muted);
    width: auto !important;
  }

  .cell-stat::before,
  .cell-date::before {
    display: none !important;
  }

  .mobile-icon {
    display: inline-flex !important;
    align-items: center;
    color: #94a3b8;
  }

  .cell-author .avatar {
    width: 20px !important;
    height: 20px !important;
    font-size: 9px !important;
  }

  .feature-post {
    min-height: 148px;
    padding: 18px;
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .post-header-top {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .post-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .post-title-lg {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
  }

  .post-stats {
    margin-left: 0;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }

  .content-body {
    font-size: 16px;
    line-height: 1.6;
  }

  .menu-dropdown {
    width: 128px;
  }

  /* Search Bar */
  .search-bar-wrap {
    margin: 20px 0;
  }

  .search-input-group input {
    padding: 12px 12px 12px 42px;
    font-size: 14px;
  }

  .search-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }

  /* Compose Button */
  .compose-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}