@charset "UTF-8";
/* =============================================================================
   SISTEMA DE COMENTÁRIOS REMARK42 & SALÃO DOS HERÓIS (GAMIFICAÇÃO DE ALTO NÍVEL)
   Crafted with absolute mastery by ninjacoder
   - Paleta: Tons Escuros de Azul Meia-Noite & Verde Jade Celestial (Tom sobre Tom)
   - Zero elementos amadores: Estilo AAA, glassmorphism e iluminação esmeralda
   - SEO Acessível para Googlebot com Schema.org DiscussionForumPosting
   ============================================================================= */

:root {
  --rank-gold: #fbbf24;
  --rank-silver: #38bdf8;
  --rank-bronze: #34d399;
  
  --realm-mortal: #94a3b8;
  --realm-qi: #10b981;
  --realm-fundacao: #38bdf8;
  --realm-nucleo: #818cf8;
  --realm-alma: #f59e0b;
  --realm-soberano: #2dd4bf;
  --realm-celestial: #a855f7;

  --comm-bg-card: #0d172e;
  --comm-bg-inner: #0f1a35;
  --comm-bg-hover: #132244;
  --comm-bg-input: #080e1c;
  --comm-border: #1a2c4e;
  --comm-border-glow: rgba(14, 165, 233, 0.4);
}

html[data-theme="light"] {
  --comm-bg-card: #ffffff;
  --comm-bg-inner: #f8fafc;
  --comm-bg-hover: #f1f5f9;
  --comm-bg-input: #ffffff;
  --comm-border: #e2e8f0;
  --comm-border-glow: rgba(14, 165, 233, 0.3);
}

html[data-theme="sepia"] {
  --comm-bg-card: #fdfbf7;
  --comm-bg-inner: #f7f1e5;
  --comm-bg-hover: #efe7d7;
  --comm-bg-input: #fdfbf7;
  --comm-border: #e3d7c3;
  --comm-border-glow: rgba(180, 83, 9, 0.3);
}

/* =============================================================================
   1. CONTAINER PRINCIPAL DE COMENTÁRIOS NO LEITOR & NOVEL.HTML
   ============================================================================= */
.comments-container-wrapper,
.comments-section-container {
  margin: 40px auto 50px auto;
  max-width: 960px;
  background: var(--comm-bg-card);
  border: 1px solid var(--comm-border);
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.comments-header-row,
.comments-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--comm-border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.comments-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.comments-title-icon,
.comments-icon {
  font-size: 1.5rem;
  background: var(--color-manga-red-light, rgba(14, 165, 233, 0.1));
  border: 1.5px solid var(--color-manga-red-border, rgba(14, 165, 233, 0.3));
  color: var(--color-manga-red, #0ea5e9);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.comments-main-title,
.comments-title-wrap h3 {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--zh-text-title);
  margin: 0;
}

.comments-title-wrap p {
  font-size: 0.8rem;
  color: var(--zh-text-muted, #94a3b8);
  margin: 2px 0 0 0;
}

/* BOTÃO DE ALTO NÍVEL: SALÃO DOS HERÓIS (ESTILO NINJACODER) */
.btn-hero-ranking,
.btn-open-ranking,
#btnOpenRanking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-manga-red-light, rgba(14, 165, 233, 0.1));
  border: 1.5px solid var(--color-manga-red-border, rgba(14, 165, 233, 0.35));
  color: var(--color-manga-red, #0ea5e9);
  padding: 9px 20px;
  border-radius: 22px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 14px rgba(14, 165, 233, 0.25);
}

.btn-hero-ranking:hover,
.btn-open-ranking:hover,
#btnOpenRanking:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 22px rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
}

/* =============================================================================
   2. CARD DO STATUS DE CULTIVAÇÃO DO USUÁRIO (NEXUS STYLE)
   ============================================================================= */
.user-cultivation-card {
  background: var(--comm-bg-inner);
  border: 1px solid var(--comm-border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.user-cult-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar-frame {
  position: relative;
  width: 50px;
  height: 50px;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.user-avatar-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #080d1a;
  border: 1.5px solid #10b981;
  border-radius: 50%;
  font-size: 0.7rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.user-name-box {
  display: flex;
  flex-direction: column;
}

.user-display-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cultivation-realm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-manga-red-light, rgba(14, 165, 233, 0.1));
  color: var(--color-manga-red, #0ea5e9);
  border: 1px solid var(--color-manga-red-border, rgba(14, 165, 233, 0.3));
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.user-xp-details {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

.user-xp-bar-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xp-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
}

.xp-bar-rail {
  width: 100%;
  height: 10px;
  background: var(--comm-border);
  border: 1px solid var(--comm-border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9 0%, #0ea5e9 60%, #f59e0b 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
  transition: width 0.4s ease;
}

/* =============================================================================
   3. ÁREA DE COMENTÁRIOS INTERATIVA & REFINADA (DESIGN NINJACODER)
   ============================================================================= */
#remark42 {
  min-height: 280px;
  width: 100%;
}

.remark-placeholder-box {
  background: var(--comm-bg-inner);
  border: 1px solid var(--comm-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.remark-placeholder-box h4 {
  font-size: 1.05rem;
  color: var(--zh-text-title);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remark-placeholder-box p {
  color: #94a3b8;
}

.remark-comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}

.remark-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--comm-bg-input);
  border: 1.5px solid var(--comm-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--zh-text-title);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.remark-textarea:focus {
  border-color: var(--color-manga-red, #0ea5e9);
  box-shadow: 0 0 12px var(--color-manga-red-light, rgba(14, 165, 233, 0.15));
}

.remark-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-post-comment {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.4);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-post-comment:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #cc1122 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.55);
}

/* Lista de comentários locais / SEO */
.local-comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.local-comment-card {
  background: var(--comm-bg-inner);
  border: 1px solid var(--comm-border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.2s;
}

.local-comment-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: var(--comm-bg-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.local-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.local-comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--zh-text-title);
}

.local-comment-date {
  font-size: 0.75rem;
  color: #64748b;
}

.local-comment-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--zh-text-main);
}

.local-comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.action-vote-btn {
  background: transparent;
  border: none;
  color: #38bdf8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  transition: all 0.15s;
}

.action-vote-btn:hover {
  color: #34d399;
  transform: translateY(-1px);
}

/* Bloco SEO semântico crawlable (acessível para Googlebot) */
.seo-comments-markup {
  margin-top: 20px;
  border-top: 1px dashed var(--comm-border);
  padding-top: 14px;
  font-size: 0.78rem;
  color: #64748b;
}

/* =============================================================================
   4. MODAL DO RANKING DE USUÁRIOS (SALÃO DOS HERÓIS - ESTILO NEXUS)
   ============================================================================= */
.nexus-ranking-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nexus-ranking-modal-mask.open {
  display: flex;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.nexus-ranking-modal {
  background: var(--comm-bg-card);
  border: 1.5px solid var(--comm-border);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(16, 185, 129, 0.2);
  overflow: hidden;
}

.nexus-modal-header {
  padding: 20px 24px;
  background: var(--comm-bg-inner);
  border-bottom: 1px solid var(--comm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nexus-modal-title-box h3 {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--zh-text-title);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nexus-modal-title-box p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 3px 0 0 0;
}

.nexus-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
}

.nexus-modal-close:hover {
  color: #ffffff;
}

.nexus-modal-tabs {
  display: flex;
  background: var(--comm-bg-inner);
  border-bottom: 1px solid var(--comm-border);
  padding: 4px 16px;
  gap: 8px;
}

.nexus-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.nexus-tab-btn.active {
  color: #34d399;
}

.nexus-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
}

.nexus-modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
}

/* Regras de cultivo explicativas */
.cultivation-rules-banner {
  background: var(--color-manga-red-light, rgba(14, 165, 233, 0.08));
  border: 1px solid var(--color-manga-red-border, rgba(14, 165, 233, 0.25));
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  color: var(--zh-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cultivation-rules-banner strong {
  color: var(--color-manga-red, #0ea5e9);
}

/* Lista do Ranking */
.ranking-table-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--comm-bg-inner);
  border: 1px solid var(--comm-border);
  border-radius: 10px;
  padding: 10px 14px;
  transition: all 0.15s;
}

.ranking-row-item:hover {
  background: var(--comm-bg-hover);
  border-color: var(--color-manga-red, #0ea5e9);
}

/* Destaques do Pódio */
.ranking-row-item.rank-1 {
  border-color: rgba(245, 158, 11, 0.6);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), #0a1122);
}

.ranking-row-item.rank-2 {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), #0a1122);
}

.ranking-row-item.rank-3 {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), #0a1122);
}

.rank-position-col {
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: 1.1rem;
  font-weight: 800;
  width: 32px;
  text-align: center;
}

.rank-pos-1 { color: #fbbf24; }
.rank-pos-2 { color: #38bdf8; }
.rank-pos-3 { color: #34d399; }
.rank-pos-other { color: #64748b; font-size: 0.9rem; }

.rank-avatar-col {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--comm-border);
}

.rank-user-details-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-username {
  font-weight: 700;
  font-size: 0.88rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rank-user-submeta {
  font-size: 0.72rem;
  color: #94a3b8;
}

.rank-stats-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.rank-xp-val {
  font-weight: 800;
  font-size: 0.85rem;
  color: #34d399;
}

.rank-comments-count {
  font-size: 0.7rem;
  color: #64748b;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
  .comments-container-wrapper,
  .comments-section-container {
    padding: 16px 12px;
    margin: 24px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .user-cultivation-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }
  .user-xp-bar-wrap {
    width: 100%;
  }
  .remark-form-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-post-comment {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  .nexus-ranking-modal {
    width: 96vw;
    max-width: 96vw;
    max-height: 92vh;
    border-radius: 14px;
  }
  .nexus-modal-header {
    padding: 14px 16px;
  }
  .nexus-modal-body {
    padding: 12px 14px;
  }
  .nexus-podium-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.seo-crawler-content {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* === SOMBRAS ADAPTATIVAS PARA COMENTÁRIOS === */
html[data-theme="light"] .comments-container-wrapper,
html[data-theme="light"] .comments-section-container,
html[data-theme="light"] .user-cultivation-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}
html[data-theme="sepia"] .comments-container-wrapper,
html[data-theme="sepia"] .comments-section-container,
html[data-theme="sepia"] .user-cultivation-card {
  box-shadow: 0 4px 18px rgba(67, 44, 23, 0.06) !important;
}

/* =============================================================================
   SISTEMA DE COMENTARIOS ESTILO DISQUS (NATIVO & BLINDADO)
   ============================================================================= */
.disqus-native-wrapper {
  background: rgba(13, 23, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  font-family: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}

.disqus-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.disqus-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.disqus-count-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
}

.disqus-count-label {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
}

.disqus-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.disqus-sort-tabs {
  display: inline-flex;
  background: #080e1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.disqus-sort-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.disqus-sort-btn:hover {
  color: #ffffff;
}

.disqus-sort-btn.active {
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

/* Postbox */
.disqus-postbox {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.disqus-avatar-col {
  flex-shrink: 0;
}

.disqus-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #080e1c;
  border: 2px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.25);
}

.disqus-input-col {
  flex: 1;
}

.disqus-textarea-wrap {
  position: relative;
  border-radius: 10px;
  background: #080e1c;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.disqus-textarea-wrap:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.25);
}

.disqus-textarea-wrap textarea {
  width: 100%;
  min-height: 85px;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
}

.disqus-postbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.disqus-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.disqus-btn-tool {
  background: #080e1c;
  color: #eab308;
  border: 1px dashed rgba(234, 179, 8, 0.5);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.disqus-btn-tool:hover {
  background: rgba(234, 179, 8, 0.12);
  border-color: #eab308;
}

.disqus-author-indicator {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disqus-author-indicator strong {
  color: #f8fafc;
}

.disqus-change-name {
  background: none;
  border: none;
  color: #38bdf8;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.85rem;
}

.disqus-btn-submit {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.disqus-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.disqus-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Comment Thread (Disqus-like) */
.disqus-comment-node {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.disqus-comment-node.is-reply {
  margin-bottom: 14px;
}

.disqus-comment-avatar {
  flex-shrink: 0;
}

.disqus-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #080e1c;
  border: 2px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.disqus-comment-node.is-reply .disqus-avatar-circle {
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
}

.disqus-comment-content {
  flex: 1;
  min-width: 0;
}

.disqus-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.disqus-comment-author {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.92rem;
}

.disqus-badge-realm,
.disqus-badge-sect {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid;
  background: rgba(255, 255, 255, 0.03);
}

.disqus-bullet {
  color: #475569;
  font-size: 0.8rem;
}

.disqus-comment-time {
  color: #64748b;
  font-size: 0.76rem;
}

.disqus-comment-body {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 8px;
  word-break: break-word;
}

.disqus-comment-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
}

.disqus-vote-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #94a3b8;
  padding: 3px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.78rem;
  transition: all 0.15s ease;
}

.disqus-vote-btn:hover:not(.is-owner) {
  border-color: #0284c7;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.1);
}

.disqus-vote-btn.active {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.disqus-vote-btn.is-owner {
  cursor: default;
  opacity: 0.7;
}

.disqus-reply-btn,
.disqus-share-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 2px 4px;
  transition: color 0.15s ease;
}

.disqus-reply-btn:hover,
.disqus-share-btn:hover {
  color: #38bdf8;
}

/* Replies indent guide */
.disqus-replies-wrap {
  margin-left: 12px;
  margin-top: 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}

/* Inline Reply Box */
.disqus-inline-reply {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 12px;
  background: #080e1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.disqus-inline-reply textarea {
  width: 100%;
  min-height: 65px;
  background: #0d172e;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 10px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
}

.disqus-inline-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.disqus-inline-reply-actions .btn-cancel-reply {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

.disqus-inline-reply-actions .btn-send-reply {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* Disqus Empty State */
.disqus-empty-state {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
}

.disqus-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  opacity: 0.7;
}

.disqus-empty-state p {
  margin: 0;
  font-size: 0.95rem;
}

/* Spoilers */
.spoiler-tag {
  display: inline-block;
  background: #1e293b;
  color: #eab308;
  border: 1px dashed rgba(234, 179, 8, 0.5);
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.spoiler-tag:hover {
  background: rgba(234, 179, 8, 0.12);
}

.spoiler-tag .spoiler-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.spoiler-tag .spoiler-content {
  display: none;
}

.spoiler-tag.revealed {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #0284c7;
  color: #f8fafc;
}

.spoiler-tag.revealed .spoiler-label {
  display: none;
}

.spoiler-tag.revealed .spoiler-content {
  display: inline;
}
