.community-shell {
  color: #111827;
}

.community-shell.learnix-page-shell {
  margin-top: 100px;
}

.community-shell:not(.learnix-page-shell) {
  width: min(1200px, calc(100% - 40px));
  margin: 80px auto 88px;
}

.community-frame {
  width: 100%;
  margin: 0 20px 88px;
}

.community-head {
  margin-bottom: 8px;
  width: 100%;
}

.community-board-tabs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.community-board-tabs a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  background: #fff;
}

.community-board-tabs a.is-active {
  border-color: #3b72f2;
  color: #1d4ed8;
  background: #eef4ff;
}

.community-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.community-search {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.community-filter-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.community-sort-select {
  min-width: 140px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 40px 0 16px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  font-weight: 500;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 1 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.51715 5.82726C4.21566 5.52425 3.72684 5.52425 3.42534 5.82726C3.12384 6.13027 3.12384 6.62155 3.42534 6.92456L7.45331 10.9727C7.75481 11.2758 8.24363 11.2758 8.54512 10.9727L12.5731 6.92456C12.8746 6.62155 12.8746 6.13027 12.5731 5.82726C12.2716 5.52425 11.7828 5.52425 11.4813 5.82726L7.99922 9.32681L4.51715 5.82726Z' fill='%23242424'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.community-filter-right {
  min-width: 320px;
  max-width: 440px;
  width: 38%;
}

.community-searchbox {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}

.community-searchbox .search-icon {
  top: 10px;
  left: 14px;
}

.community-search-input {
  width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 999px !important;
  color: #111827;
  height: 40px;
  padding: 0 14px 0 42px;
}

.community-search-input::placeholder {
  color: #9ca3af;
}

.community-search-submit {
  display: none;
}

.community-write-btn {
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  padding: 0 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.community-write-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.community-write-btn.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.community-primary-btn {
  border-color: #3b72f2;
  background: #3b72f2;
  color: #fff;
}

.community-primary-btn:hover {
  border-color: #2f63dc;
  background: #2f63dc;
}

.community-table-wrap {
  margin-top: 14px;
  border: 1px solid #EEE;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

.community-grid-head {
  display: grid;
  grid-template-columns: 0.6fr 3.7fr 1.2fr 1.1fr 1.2fr;
  align-items: center;
  background: #F8F8FA;
  color: #242424;
  font-size: 14px;
  padding: 0;
  border-bottom: 1px solid #EEE;
  font-weight: 700;
}

.community-grid-col {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid #FFF;
  box-sizing: border-box;
}

.community-sort-head {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #242424;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.community-grid-col.col-title .community-sort-head {
  justify-content: flex-start;
}

.community-sort-head.is-active {
  color: #0b63f3;
}

.community-sort-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.community-sort-head.is-active .community-sort-icon {
  color: #0b63f3;
}

.community-sort-icon svg {
  width: 14px;
  height: 14px;
}

.community-sort-icon.icon-transition {
  animation: communitySortIconSwap 160ms ease-out;
}

@keyframes communitySortIconSwap {
  0% { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.community-grid-body {
  display: block;
  width: 100%;
}

.community-grid-row {
  display: grid;
  grid-template-columns: 0.6fr 3.7fr 1.2fr 1.1fr 1.2fr;
  align-items: center;
  border-bottom: 1px solid #EEE;
  background: #fff;
}

.community-grid-row:last-child {
  border-bottom: 1px solid #EEE;
}

.community-grid-cell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 13px;
  color: #242424;
  box-sizing: border-box;
}

.community-grid-cell.col-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 12px 12px 16px;
}

.community-grid-col.col-title,
.community-grid-cell.col-title {
  justify-content: flex-start;
  text-align: left;
}

.community-title-cell a {
  color: #242424;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
}

.community-title-cell a:hover {
  color: #2563eb;
}

.community-title-meta {
  display: none;
}

.community-pin-badge,
.community-tag-badge,
.community-solved-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 999px;
  padding: 0 9px;
  margin-right: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.community-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  height: 20px;
  border-radius: 999px;
  padding: 0 7px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
}

.community-reaction-cell {
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  gap: 10px;
}

.community-reaction-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.community-reaction-item svg {
  width: 14px;
  height: 14px;
  color: #9a9a9a;
}

.community-reaction-item strong {
  font-size: 13px;
  font-weight: 700;
  color: #5f5f5f;
}

.community-empty {
  text-align: center;
  color: #9ca3af;
  padding: 34px 14px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #EEE;
}

.community-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.community-page-nav,
.community-page-link {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #fff;
}

.community-page-link.is-active {
  border-color: #3b72f2;
  background: #3b72f2;
  color: #fff;
}

.community-page-nav.is-muted {
  color: #9ca3af;
  background: #f9fafb;
}

.community-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}

.community-alert.is-success {
  background: #edfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.community-alert.is-error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.community-post-nav {
  margin-bottom: 12px;
}

.community-post-nav a {
  color: #3b72f2;
  text-decoration: none;
  font-weight: 700;
}

.community-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280 !important;
  transition: color 0.15s ease;
}

.community-back-link:hover {
  color: #111827 !important;
}

.community-back-link svg {
  width: 16px;
  height: 16px;
}

.community-post-card,
.community-write-card,
.community-comments-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 22px;
}

.community-post-card h1,
.community-write-card h1 {
  margin: 0;
  color: #111827;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}

.community-post-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #6b7280;
  font-size: 13px;
}

.community-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.community-post-meta-item svg {
  width: 15px;
  height: 15px;
  color: #9ca3af;
}

.community-post-meta-item strong {
  color: #111827;
  font-weight: 700;
}

.community-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b63f3;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.community-post-content {
  margin-top: 20px;
  color: #1f2937;
  line-height: 1.7;
  font-size: 15px;
  min-height: 180px;
}

.community-post-footer,
.community-write-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.community-post-actions-left,
.community-post-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.community-inline-form {
  margin: 0;
}

.community-comments-card {
  margin-top: 14px;
  padding: 18px 22px;
}

.community-comments-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
}

.community-comments-card h2 span {
  color: #3b72f2;
}

.community-comment-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.55;
  color: #111827;
}

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

.community-comment-login,
.community-comment-empty {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
}

.community-comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-comment-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}

.community-comment-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.community-comment-item header strong {
  color: #111827;
}

.community-comment-item header span {
  color: #6b7280;
}

.community-comment-item p {
  margin: 8px 0 0;
  color: #1f2937;
  line-height: 1.6;
  font-size: 14px;
}

.community-comment-delete {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.community-write-card > p {
  margin: 8px 0 0;
  color: #6b7280;
}

.community-guide-box {
  margin-top: 14px;
  border: 1px solid #dbe8ff;
  background: #f7faff;
  color: #334155;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.community-write-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.community-write-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.community-write-form input,
.community-write-form textarea,
.community-write-form select {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: #111827;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  display: block;
}

.community-write-form select {
  padding: 0 12px;
  height: 44px;
}

.community-write-btn.is-liked {
  border-color: #0b63f3;
  color: #ffffff;
  background: #0b63f3;
  box-shadow: 0 10px 24px rgba(11, 99, 243, 0.24);
}

.community-like-button {
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.community-like-button svg {
  width: 16px;
  height: 16px;
}

.community-like-button:active {
  transform: scale(0.96);
}

.community-like-button:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.community-like-button.is-liked:hover {
  box-shadow: 0 12px 26px rgba(11, 99, 243, 0.28);
}

.community-comments-card-modern {
  margin-top: 16px;
}

.community-comment-empty-card {
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 28px 16px;
  text-align: center;
}

.community-post-content pre {
  margin: 14px 0;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.community-post-content code {
  font-family: "JetBrains Mono", Consolas, Monaco, "Courier New", monospace;
  font-size: 0.92em;
}

.community-post-content :not(pre) > code {
  background: #f3f4f6;
  color: #1e3a8a;
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 980px) {
  .community-shell.learnix-page-shell {
    margin-top: 56px;
  }

  .community-shell:not(.learnix-page-shell) {
    margin-top: 56px;
    margin-bottom: 64px;
  }

  .community-frame {
    margin: 0 20px 64px;
  }

  .community-board-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .community-search {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .community-filter-left {
    width: 100%;
  }

  .community-sort-select {
    flex: 1;
    min-width: 0;
  }

  .community-filter-right {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .community-actions > .community-write-btn {
    width: 100%;
  }

  .community-grid-head {
    grid-template-columns: 1fr 1.1fr 1.1fr;
  }

  .community-grid-row {
    grid-template-columns: 1fr 1.1fr 1.1fr;
  }

  .community-grid-cell {
    min-height: 70px;
    padding: 12px 10px;
  }

  .community-grid-cell.col-id,
  .community-grid-col.col-id,
  .community-grid-cell.col-views,
  .community-grid-col.col-views {
    display: none;
  }

  .community-grid-head {
    border-bottom: 1px solid #EEE;
  }

  .community-grid-col.col-title,
  .community-grid-cell.col-title {
    grid-column: 1 / 2;
  }

  .community-grid-col.col-nickname,
  .community-grid-cell.col-nickname,
  .community-grid-col.col-date,
  .community-grid-cell.col-date {
    justify-content: center;
    text-align: center;
  }
}

/* System-manage style baseline */
.community-board-tabs {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  border-bottom: 1px solid #e5eaf3;
  padding: 0 4px;
}

.community-board-tabs a {
  min-height: 0;
  padding: 0 2px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.community-board-tabs a.is-active {
  color: #2563eb;
  background: transparent;
  border: 0;
  box-shadow: inset 0 -2px 0 #2563eb;
}

.community-write-btn,
.community-page-nav,
.community-page-link {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
}

.community-primary-btn,
.community-page-link.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.community-sort-select,
.community-searchbox,
.community-search-input,
.community-comment-form textarea,
.community-write-form input,
.community-write-form textarea,
.community-write-form select {
  border-radius: 12px;
  border-color: #cbd5e1;
}

.community-comment-form textarea {
  min-height: 96px;
}

.community-comment-list {
  gap: 12px;
}

.community-comment-item {
  max-width: 78%;
  border-radius: 16px;
  padding: 12px 14px;
  align-self: flex-start;
  border: 1px solid #d8e0ed;
  background: #f8fafc;
}

.community-comment-item.is-mine {
  margin-left: auto;
  border-color: #111827;
  background: #111827;
}

.community-comment-item.is-mine header strong,
.community-comment-item.is-mine header span,
.community-comment-item.is-mine p {
  color: #ffffff;
}

.community-comment-item header {
  flex-wrap: wrap;
}

.community-comment-delete {
  margin-top: 10px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff1f2;
}

@media (max-width: 980px) {
  .community-board-tabs {
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .community-board-tabs a {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .community-comment-item {
    max-width: 100%;
  }
}

/* Post/Comment screen polish */
.community-post-card,
.community-comments-card {
  border-color: #dbe3ef;
  border-radius: 14px;
}

.community-post-card header,
.community-post-content,
.community-post-footer,
.community-comments-card,
.community-comments-card h2,
.community-comment-list {
  text-align: left;
}

.community-post-card h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.community-post-meta {
  font-size: 14px;
  color: #64748b;
}

.community-post-content {
  min-height: 180px;
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
}

.community-comments-card h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.community-comment-form textarea {
  min-height: 90px;
  border-radius: 14px;
}

.community-comment-actions {
  margin-top: 8px;
}

.community-comment-item {
  display: block;
  max-width: 72%;
  padding: 12px 14px;
  border-radius: 16px;
}

.community-comment-item.is-other {
  margin-right: auto;
}

.community-comment-item.is-mine {
  margin-left: auto;
}

.community-comment-item header {
  margin-bottom: 6px;
}

.community-comment-item p {
  margin-top: 0;
}

.community-comment-item .community-inline-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .community-post-card h1 {
    font-size: 24px;
  }

  .community-post-meta,
  .community-post-content {
    font-size: 14px;
  }

  .community-comments-card h2 {
    font-size: 22px;
  }

  .community-comment-item {
    max-width: 100%;
  }
}

/* Final comment layout: simple list (not chat bubbles) */
.community-comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-comment-item {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
}

.community-comment-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.community-comment-item header strong {
  color: #111827;
}

.community-comment-item header span {
  color: #6b7280;
  font-size: 13px;
}

.community-comment-item p {
  margin: 0;
  color: #1f2937;
}

.community-comment-item .community-inline-form {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.community-comment-delete {
  margin-top: 0;
}

.community-comment-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5eaf3;
}

.community-comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 120px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  resize: vertical;
}

.community-comments-card {
  overflow: hidden;
}

.community-comments-card .community-comment-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.community-comments-card .community-comment-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  align-self: auto !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.community-comments-card .community-comment-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5eaf3;
}

/* community post detail compact refresh 2026-04-16d */
.community-post-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.community-post-card-modern {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 0;
  overflow: hidden;
}

.community-post-header-modern,
.community-post-card-modern .community-post-content,
.community-post-footer-modern {
  padding: 18px 20px;
}

.community-post-header-modern {
  border-bottom: 1px solid #f1f5f9;
}

.community-post-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.community-post-title {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.community-post-meta {
  margin-top: 10px;
  gap: 12px;
}

.community-post-meta-item {
  min-height: 20px;
}

.community-post-content {
  margin-top: 0;
  min-height: 0;
  font-size: 16px;
  line-height: 1.72;
  color: #1f2937;
}

.community-post-footer-modern {
  margin-top: 0;
  border-top: 1px solid #f1f5f9;
}

.community-post-footer-modern .community-write-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.community-like-button {
  border-color: #dbeafe;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.community-like-button.is-liked {
  box-shadow: 0 10px 22px rgba(11, 99, 243, 0.24);
}

.community-like-button:active {
  transform: scale(0.95);
}

.community-comments-card-modern {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 16px 20px;
}

.community-comments-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
}

.community-comments-title span {
  color: #0b63f3;
}

.community-comments-card-modern .community-comment-list {
  gap: 8px !important;
}

.community-comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #eef2f7 !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  background: #ffffff !important;
}

.community-comment-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 14px;
  font-weight: 800;
}

.community-comment-body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

.community-comment-author-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.community-comment-item header {
  margin-bottom: 2px;
}

.community-comment-item header strong {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.community-comment-item header span {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.community-comment-writer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  border-radius: 7px;
  padding: 0 7px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.community-comment-item p {
  margin: 2px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.community-comment-actions-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.community-comment-ghost-btn {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.community-comment-ghost-btn svg {
  width: 13px;
  height: 13px;
}

.community-comment-delete {
  margin-top: 0;
  border: 0;
  background: transparent;
  color: #ef4444;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  min-height: 0;
  height: auto;
}

.community-comment-actions-row .community-inline-form {
  margin-left: auto;
}

.community-comment-form {
  margin-top: 10px;
  padding-top: 10px;
}

.community-comment-form textarea {
  min-height: 104px;
  border-radius: 12px;
}

.community-comment-actions .community-write-btn {
  height: 38px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .community-post-header-modern,
  .community-post-card-modern .community-post-content,
  .community-post-footer-modern {
    padding: 14px 14px;
  }

  .community-post-title {
    font-size: 24px;
  }

  .community-comments-card-modern {
    padding: 14px;
  }

  .community-comment-item header strong {
    font-size: 18px;
  }

  .community-comment-item p {
    font-size: 16px;
  }
}

/* community_post flat style: align with system/admin minimal card aesthetics */
.community-post-card-modern,
.community-comments-card-modern {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.community-post-card-modern {
  margin-top: 6px;
}

.community-post-header-modern,
.community-post-card-modern .community-post-content,
.community-post-footer-modern {
  border: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: transparent;
  padding-left: 2px;
  padding-right: 2px;
}

.community-post-header-modern {
  padding-top: 16px;
  padding-bottom: 14px;
}

.community-post-card-modern .community-post-content {
  padding-top: 14px;
  padding-bottom: 14px;
}

.community-post-footer-modern {
  padding-top: 12px;
  padding-bottom: 12px;
}

.community-comments-card-modern {
  margin-top: 12px;
  padding: 0 2px 0;
}

.community-comments-title {
  margin: 0;
  padding: 10px 0 10px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 18px;
}

.community-comments-card-modern .community-comment-list {
  gap: 6px !important;
  padding-top: 10px;
}

.community-comment-item {
  border: 1px solid #edf1f5 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 9px 10px !important;
}

.community-comment-form {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.community-comment-form textarea {
  min-height: 88px;
  border-radius: 10px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .community-post-header-modern,
  .community-post-card-modern .community-post-content,
  .community-post-footer-modern {
    padding-left: 0;
    padding-right: 0;
  }

  .community-comments-card-modern {
    padding-left: 0;
    padding-right: 0;
  }

  .community-comment-item header strong {
    font-size: 14px;
  }

  .community-comment-item p {
    font-size: 13px;
  }
}

/* 2026-04-16i: post/comment like icon fill + write page visual alignment */
.community-like-button {
  border-color: #dbe3ee;
  background: #ffffff;
  color: #64748b;
  box-shadow: none;
}

.community-like-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.community-like-button.is-liked {
  border-color: #fecaca;
  background: #fff1f2;
  color: #ef4444;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.12);
}

.community-like-button:hover {
  border-color: #cbd5e1;
  box-shadow: none;
}

.community-like-button.is-liked:hover {
  border-color: #fca5a5;
  box-shadow: none;
}

.community-like-button.is-like-pop,
.community-comment-ghost-btn.is-like-pop {
  animation: communityLikePop 180ms ease-out;
}

@keyframes communityLikePop {
  0% { transform: scale(0.92); opacity: 0.82; }
  100% { transform: scale(1); opacity: 1; }
}

.community-comment-ghost-btn {
  color: #94a3b8;
}

.community-comment-ghost-btn svg {
  fill: currentColor;
}

.community-comment-ghost-btn.is-liked {
  color: #ef4444;
}

.community-comment-actions-row .community-inline-form {
  margin-left: 0;
}

.community-comment-actions-row .community-comment-delete-form {
  margin-left: auto;
}

.community-comment-delete {
  cursor: pointer;
}

.community-write-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 2px 14px;
  width: 100%;
  box-sizing: border-box;
}

.community-write-card h1 {
  margin: 0;
  padding: 14px 0 8px;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.community-write-card > p {
  margin: 0 0 12px;
  color: #64748b;
}

.community-guide-box {
  border-radius: 10px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
}

.community-write-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  box-sizing: border-box;
}

.community-write-form label {
  gap: 6px;
  font-size: 13px;
  text-align: left;
  align-items: flex-start;
}

.community-write-form input,
.community-write-form select {
  min-height: 44px;
  border-color: #d5dbe5;
  border-radius: 10px;
}

.community-write-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

#communityEditor,
#communityEditEditor,
#communityEditor .toastui-editor-defaultUI,
#communityEditEditor .toastui-editor-defaultUI,
#communityEditor .vditor,
#communityEditEditor .vditor {
  width: 100%;
  box-sizing: border-box;
}

#communityEditor .vditor,
#communityEditEditor .vditor {
  border: 1px solid #d5dbe5;
  border-radius: 10px;
  overflow: hidden;
}

#communityEditor .vditor-toolbar,
#communityEditEditor .vditor-toolbar {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding-left: 8px !important;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: 52px;
  scrollbar-width: thin;
}

#communityEditor .vditor-reset,
#communityEditEditor .vditor-reset {
  padding: 20px 24px;
}

.community-write-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.68fr);
  gap: 12px;
  align-items: end;
}

.community-write-row > label {
  text-align: left;
  align-items: flex-start;
}

.community-score-share-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.community-helper-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.community-helper-stack {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.community-helper-label-text {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.community-helper-tag {
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid #cfd9e6;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.community-helper-tag:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

#communityEditor .vditor-toolbar,
#communityEditEditor .vditor-toolbar {
  overflow-x: auto;
  overflow-y: hidden;
}

#communityEditor .vditor-toolbar button,
#communityEditEditor .vditor-toolbar button {
  flex-shrink: 0;
}

#communityEditor .vditor-toolbar__item,
#communityEditEditor .vditor-toolbar__item,
#communityEditor .vditor-toolbar__divider,
#communityEditEditor .vditor-toolbar__divider {
  flex-shrink: 0;
}

#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]),
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]),
.community-post-content table:not([data-learnix-rank-core="1"]) {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 14px 0 26px;
  box-shadow: none;
}

#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th,
#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) td,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) td,
.community-post-content table:not([data-learnix-rank-core="1"]) th,
.community-post-content table:not([data-learnix-rank-core="1"]) td {
  border-bottom: 1px solid #e8edf3;
  padding: 22px 18px;
  text-align: left;
  font-size: 15px;
  line-height: 1.45;
  color: #334155;
  background: transparent;
  vertical-align: middle;
}

#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th,
.community-post-content table:not([data-learnix-rank-core="1"]) th {
  background: transparent;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  border-bottom: 1.5px solid #0f172a;
  padding-top: 10px;
  padding-bottom: 16px;
}

#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) td:last-child,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) td:last-child,
.community-post-content table:not([data-learnix-rank-core="1"]) td:last-child,
#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th:last-child,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) th:last-child,
.community-post-content table:not([data-learnix-rank-core="1"]) th:last-child {
  text-align: right;
}

#communityEditor .vditor-reset table:not([data-learnix-rank-core="1"]) tr:last-child td,
#communityEditEditor .vditor-reset table:not([data-learnix-rank-core="1"]) tr:last-child td,
.community-post-content table:not([data-learnix-rank-core="1"]) tr:last-child td {
  border-bottom: 0;
}

#communityEditor .vditor-reset blockquote,
#communityEditEditor .vditor-reset blockquote,
.community-post-content blockquote {
  position: relative;
  margin: 18px 0 12px;
  padding: 24px 28px 22px 82px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #f8fafc;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

#communityEditor .vditor-reset blockquote::before,
#communityEditEditor .vditor-reset blockquote::before,
.community-post-content blockquote::before {
  content: "i";
  position: absolute;
  left: 26px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #d5deea;
  background: #ffffff;
  color: #2563eb;
  font-size: 24px;
  font-weight: 900;
  line-height: 42px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

#communityEditor .toastui-editor-toolbar,
#communityEditEditor .toastui-editor-toolbar {
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: stretch;
  flex-wrap: nowrap;
  scrollbar-width: thin;
}

#communityEditor .toastui-editor-toolbar-icons,
#communityEditEditor .toastui-editor-toolbar-icons {
  flex-shrink: 0;
}

#communityEditor .toastui-editor-defaultUI-toolbar,
#communityEditEditor .toastui-editor-defaultUI-toolbar {
  width: 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

#communityEditor .toastui-editor-toolbar-group,
#communityEditEditor .toastui-editor-toolbar-group,
#communityEditor .toastui-editor-toolbar-divider,
#communityEditEditor .toastui-editor-toolbar-divider {
  flex-shrink: 0;
}

#communityEditor .toastui-editor-ww-container .toastui-editor-contents,
#communityEditEditor .toastui-editor-ww-container .toastui-editor-contents,
#communityEditor .toastui-editor-ww-container .ProseMirror,
#communityEditEditor .toastui-editor-ww-container .ProseMirror {
  text-align: left !important;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]),
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]),
.community-post-content table:not([data-learnix-rank-core="1"]) {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 14px 0 26px;
  box-shadow: none;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th,
#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td,
.community-post-content table:not([data-learnix-rank-core="1"]) th,
.community-post-content table:not([data-learnix-rank-core="1"]) td {
  border-bottom: 1px solid #e8edf3;
  padding: 22px 18px;
  text-align: left;
  font-size: 15px;
  line-height: 1.45;
  color: #334155;
  background: transparent;
  vertical-align: middle;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th + th,
#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td + td,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th + th,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td + td,
.community-post-content table:not([data-learnix-rank-core="1"]) th + th,
.community-post-content table:not([data-learnix-rank-core="1"]) td + td {
  border-left: 0;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) tr:last-child td,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) tr:last-child td,
.community-post-content table:not([data-learnix-rank-core="1"]) tr:last-child td {
  border-bottom: 0;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th,
.community-post-content table:not([data-learnix-rank-core="1"]) th {
  background: transparent;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  border-bottom: 1.5px solid #0f172a;
  padding-top: 10px;
  padding-bottom: 16px;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th::selection,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th::selection,
#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th *::selection,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th *::selection {
  color: #0f172a;
  background: rgba(147, 197, 253, 0.45);
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) tbody tr:hover td,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) tbody tr:hover td,
.community-post-content table:not([data-learnix-rank-core="1"]) tbody tr:hover td {
  background: transparent;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:last-child,
#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th:last-child,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:last-child,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) th:last-child,
.community-post-content table:not([data-learnix-rank-core="1"]) td:last-child,
.community-post-content table:not([data-learnix-rank-core="1"]) th:last-child {
  text-align: right;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:first-child,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:first-child,
.community-post-content table:not([data-learnix-rank-core="1"]) td:first-child {
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(2),
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(2),
.community-post-content table:not([data-learnix-rank-core="1"]) td:nth-child(2) {
  color: #64748b;
  font-size: 16px;
  font-weight: 800;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(3),
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(3),
.community-post-content table:not([data-learnix-rank-core="1"]) td:nth-child(3) {
  color: #475569;
  font-size: 16px;
  font-weight: 700;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(4),
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:nth-child(4),
.community-post-content table:not([data-learnix-rank-core="1"]) td:nth-child(4) {
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

#communityEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:last-child,
#communityEditEditor .toastui-editor-contents table:not([data-learnix-rank-core="1"]) td:last-child,
.community-post-content table:not([data-learnix-rank-core="1"]) td:last-child {
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

#communityEditor .toastui-editor-contents blockquote,
#communityEditEditor .toastui-editor-contents blockquote,
.community-post-content blockquote {
  position: relative;
  margin: 18px 0 12px;
  padding: 24px 28px 22px 82px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #f8fafc;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

#communityEditor .toastui-editor-contents blockquote::before,
#communityEditEditor .toastui-editor-contents blockquote::before,
.community-post-content blockquote::before {
  content: "i";
  position: absolute;
  left: 26px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #d5deea;
  background: #ffffff;
  color: #2563eb;
  font-size: 24px;
  font-weight: 900;
  line-height: 42px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

#communityEditor .toastui-editor-contents blockquote p:first-child,
#communityEditEditor .toastui-editor-contents blockquote p:first-child,
.community-post-content blockquote p:first-child {
  margin-top: 0;
}

#communityEditor .toastui-editor-contents blockquote p:last-child,
#communityEditEditor .toastui-editor-contents blockquote p:last-child,
.community-post-content blockquote p:last-child {
  margin-bottom: 0;
}

#communityEditor .toastui-editor-contents blockquote strong,
#communityEditEditor .toastui-editor-contents blockquote strong,
.community-post-content blockquote strong {
  display: block;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

#communityEditor .toastui-editor-contents blockquote a,
#communityEditEditor .toastui-editor-contents blockquote a,
.community-post-content blockquote a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.community-post-content [style*="text-align: center"],
.community-post-content [style*="text-align:center"],
.community-post-content .te-align-center,
.community-post-content [align="center"] {
  text-align: center !important;
}

.community-post-content [style*="text-align: right"],
.community-post-content [style*="text-align:right"],
.community-post-content .te-align-right,
.community-post-content [align="right"] {
  text-align: right !important;
}

.community-post-content [style*="text-align: left"],
.community-post-content [style*="text-align:left"],
.community-post-content .te-align-left,
.community-post-content [align="left"] {
  text-align: left !important;
}

.community-post-content .score-share-card {
  margin: 10px 0;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.community-post-content .score-share-rank-row,
.toastui-editor-contents .score-share-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
}

.community-post-content .score-share-rank-left,
.toastui-editor-contents .score-share-rank-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.community-post-content .score-share-rank-badge,
.toastui-editor-contents .score-share-rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #cbd5e1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.community-post-content .score-share-rank-text,
.toastui-editor-contents .score-share-rank-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.community-post-content .score-share-rank-text strong,
.toastui-editor-contents .score-share-rank-text strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.community-post-content .score-share-rank-text span,
.toastui-editor-contents .score-share-rank-text span {
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
}

.community-post-content .score-share-rank-score,
.toastui-editor-contents .score-share-rank-score {
  color: #1e3a8a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.community-post-content .score-share-card__divider,
.toastui-editor-contents .score-share-card__divider {
  height: 1px;
  background: #e2e8f0;
  margin: 12px 0 10px;
}

.community-post-content .score-share-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.community-post-content .score-share-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e0ecff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.community-post-content .score-share-card__total {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 10px;
}

.community-post-content .score-share-card__title {
  font-size: 13px;
  color: #475569;
  font-weight: 700;
  margin-bottom: 6px;
}

.community-post-content .score-share-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.community-post-content .score-share-card__list li {
  padding: 7px 9px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e7edf5;
}

.community-post-content .score-share-card__list li p {
  margin: 0;
}

.community-post-content .learnix-rank-card,
#communityEditor .vditor-reset .learnix-rank-card,
#communityEditEditor .vditor-reset .learnix-rank-card {
  max-width: 760px;
  margin: 20px auto;
  border: 1px solid #d6deea;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  display: flex;
}

.community-post-content .learnix-rank-card__left,
#communityEditor .vditor-reset .learnix-rank-card__left,
#communityEditEditor .vditor-reset .learnix-rank-card__left {
  width: 30%;
  min-width: 170px;
  background: #061636;
  color: #ffffff;
  padding: 18px 12px;
  text-align: center;
}

.community-post-content .learnix-rank-card__label,
#communityEditor .vditor-reset .learnix-rank-card__label,
#communityEditEditor .vditor-reset .learnix-rank-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6ea8ff;
}

.community-post-content .learnix-rank-card__rank,
#communityEditor .vditor-reset .learnix-rank-card__rank,
#communityEditEditor .vditor-reset .learnix-rank-card__rank {
  margin-top: 8px;
  line-height: 1;
}

.community-post-content .learnix-rank-card__rank strong,
#communityEditor .vditor-reset .learnix-rank-card__rank strong,
#communityEditEditor .vditor-reset .learnix-rank-card__rank strong {
  font-size: 50px;
  font-weight: 900;
}

.community-post-content .learnix-rank-card__rank span,
#communityEditor .vditor-reset .learnix-rank-card__rank span,
#communityEditEditor .vditor-reset .learnix-rank-card__rank span {
  font-size: 16px;
  font-weight: 700;
  margin-left: 4px;
}

.community-post-content .learnix-rank-card__top,
#communityEditor .vditor-reset .learnix-rank-card__top,
#communityEditEditor .vditor-reset .learnix-rank-card__top {
  margin: 10px auto 0;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: #2f67f6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.community-post-content .learnix-rank-card__right,
#communityEditor .vditor-reset .learnix-rank-card__right,
#communityEditEditor .vditor-reset .learnix-rank-card__right {
  flex: 1;
  padding: 14px 18px;
}

.community-post-content .learnix-rank-card__points,
#communityEditor .vditor-reset .learnix-rank-card__points,
#communityEditEditor .vditor-reset .learnix-rank-card__points {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #0f172a;
}

.community-post-content .learnix-rank-card__points span,
#communityEditor .vditor-reset .learnix-rank-card__points span,
#communityEditEditor .vditor-reset .learnix-rank-card__points span {
  font-size: 28px;
  font-weight: 800;
}

.community-post-content .learnix-rank-card__points em,
#communityEditor .vditor-reset .learnix-rank-card__points em,
#communityEditEditor .vditor-reset .learnix-rank-card__points em {
  font-size: 14px;
  color: #3b82f6;
  font-style: normal;
  vertical-align: middle;
}

.community-post-content .learnix-rank-card__meta,
#communityEditor .vditor-reset .learnix-rank-card__meta,
#communityEditEditor .vditor-reset .learnix-rank-card__meta {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.community-post-content .learnix-rank-card__divider,
#communityEditor .vditor-reset .learnix-rank-card__divider,
#communityEditEditor .vditor-reset .learnix-rank-card__divider {
  height: 1px;
  background: #e5eaf3;
  margin: 13px 0 11px;
}

.community-post-content .learnix-rank-card__footer,
#communityEditor .vditor-reset .learnix-rank-card__footer,
#communityEditEditor .vditor-reset .learnix-rank-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community-post-content .learnix-rank-card__date,
#communityEditor .vditor-reset .learnix-rank-card__date,
#communityEditEditor .vditor-reset .learnix-rank-card__date {
  font-size: 12px;
  color: #334155;
  font-weight: 700;
}

.community-post-content .learnix-rank-card__brand,
#communityEditor .vditor-reset .learnix-rank-card__brand,
#communityEditEditor .vditor-reset .learnix-rank-card__brand {
  font-size: 12px;
  color: #c0cad8;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .community-write-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .community-helper-label,
  .community-helper-tag {
    min-height: 36px;
  }

  .community-post-content .learnix-rank-card,
  #communityEditor .vditor-reset .learnix-rank-card,
  #communityEditEditor .vditor-reset .learnix-rank-card {
    display: block;
  }

  .community-post-content .learnix-rank-card__left,
  #communityEditor .vditor-reset .learnix-rank-card__left,
  #communityEditEditor .vditor-reset .learnix-rank-card__left {
    width: 100%;
    min-width: 0;
  }
}
