/* =========================================================
   FICSVERSE — darkmodestelar.css
   Modo noturno do tema estelar.
   Carregue depois de estelar.css.
   ========================================================= */

body.dark-mode .fic-hero.fic-hero--split-cards > .fic-hero-content {
grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  width: 100%;
  min-width: 0;
  max-width: none;
  height: 300px;
  min-height: 300px;
  max-height: 300px;

  margin: 0;
  padding: 28px 36px 24px;
  background: var(--fic-hero);
  color: #fff;
  border-radius: 18px 0 0 18px;
  overflow: hidden;
  text-align: left;
}

body.dark-mode .fic-hero.fic-hero--split-cards > .hero-media-fade {
grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: block;
  width: 700px;
  max-width: 700px;
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--fic-hero);
  border-radius: 0 18px 18px 0;
  pointer-events: none;
}

body.dark-mode .fic-hero.fic-hero--split-cards > .hero-media-fade img {
display: block;
  width: 700px;
  max-width: none;
  height: 300px;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 14px 14px 0;
  object-fit: cover;
  object-position: center;
  background: var(--fic-hero);
  filter: none;
  box-shadow: -12px 0 28px rgba(30,30,30, .22);
  -webkit-mask-image: none;
  mask-image: none;
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-eyebrow {
display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 5px 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-title {
display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  color: #fff;
  font-family: Literata, Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
  text-shadow: 0 4px 14px rgba(30,30,30,.16);
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-author {
margin: 0 0 10px;
  color: #dcdcdc;
  font-size: .9rem;
  line-height: 1.2;
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-author b {
color: #fff;
  font-weight: 900;
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-hook {
width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  color: #fff;
  font-size: .8rem;
  font-style: italic;
  line-height: 1.4;
}

body.dark-mode .fic-hero.fic-hero--split-cards .fic-actions.compact {
display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 2px;
}

body.dark-mode .fic-hero.fic-hero--split-cards .font-label {
color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

body.dark-mode {
background: #171717 !important;
  color: #ece5f2 !important;
}

body.dark-mode .fv-shell,
body.dark-mode .fv-main {
background: #171717 !important;
}

body.dark-mode .fv-sidebar,
body.dark-mode #sidebar {
background: #242424 !important;
  border-right: 1px solid rgba(184,184,184,.18) !important;
  color: #ece5f2 !important;
}

body.dark-mode .sidebar-card {
background: #2b2b2b !important;
  border-color: rgba(184,184,184,.22) !important;
  color: #ece5f2 !important;
}

body.dark-mode .synopsis-text {
background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ece5f2 !important;
}

body.dark-mode .sidebar-card h2,
body.dark-mode .fv-logo,
body.dark-mode .mail,
body.dark-mode .info-list strong {
color: var(--fic-accent) !important;
  opacity: 1 !important;
}

body.dark-mode .sidebar-card p,
body.dark-mode .sidebar-card div,
body.dark-mode .sidebar-card li,
body.dark-mode .chapter-nav a {
color: #ece5f2 !important;
}

body.dark-mode .chapter-nav a,
body.dark-mode .chapter-nav li:first-child a {
background: transparent !important;
  color: #ece5f2 !important;
}

body.dark-mode .chapter-nav a:hover,
body.dark-mode .chapter-nav li:first-child a:hover {
background: rgba(var(--fic-accent-rgb), .22) !important;
  color: #fff !important;
}

body.dark-mode .tag-list span,
body.dark-mode .fic-poll .poll-option,
body.dark-mode .vote-percentage {
background: #333333 !important;
  border-color: rgba(184,184,184,.28) !important;
  color: #ece5f2 !important;
}

body.dark-mode .fic-chapter-card,
body.dark-mode .author-note-card,
body.dark-mode .fic-poll,
body.dark-mode .fic-comments {
background: #242424 !important;
  border-color: rgba(184,184,184,.22) !important;
  color: #ece5f2 !important;
}

body.dark-mode .fic-reading,
body.dark-mode .fic-reading *,
body.dark-mode .author-note-card #note,
body.dark-mode .author-note-card #note * {
color: #ece5f2 !important;
}

body.dark-mode .fic-chapter-stack::before {
border-left-color: rgba(184,184,184,.38) !important;
}

body.dark-mode .fic-chapter-card::before {
background: #242424 !important;
  border-color: rgba(184,184,184,.35) !important;
}

body.dark-mode .toggle-button {
background: #fff !important;
  color: var(--fic-accent) !important;
}

body.dark-mode .sidebar-toggle-button {
background: #2b2b2b !important;
  border-color: rgba(184,184,184,.28) !important;
  color: #fff !important;
}

@media (max-width: 1050px) {
  body.dark-mode .fic-hero.fic-hero--split-cards > .hero-media-fade {
  grid-column: 1;
      grid-row: 1;
      width: 100%;
      max-width: none;
      height: auto;
      min-height: 0;
      max-height: none;
      aspect-ratio: 7 / 3;
      border-radius: 18px 18px 0 0;
      background: var(--fic-hero);
  }

  body.dark-mode .fic-hero.fic-hero--split-cards > .fic-hero-content {
  grid-column: 1;
      grid-row: 2;
      height: auto;
      min-height: 0;
      max-height: none;
      padding: 24px 22px;
      border-radius: 0 0 18px 18px;
      text-align: center;
      align-items: center;
  }
}

body.dark-mode .fv-estante-btn {
background: #1f2026 !important;
  color: #d7d7df !important;
  border-color: rgba(var(--fic-accent-rgb), .45) !important;
  box-shadow: 0 4px 15px rgba(210, 210, 220, .08) !important;
}

body.dark-mode .fv-estante-btn:hover {
background: #292a31 !important;
  color: #ffffff !important;
  border-color: rgba(var(--fic-accent-rgb), .80) !important;
  box-shadow: 0 8px 22px rgba(210, 210, 220, .14) !important;
}

body.dark-mode .fv-estante-btn.fv-salvo {
background: var(--fic-accent) !important;
  color: #ffffff !important;
  border-color: var(--fic-accent) !important;
}

body.dark-mode #fv-estante-msg {
color: #c9c9d1 !important;
}

body.dark-mode .fic-ending {
color: #fff !important;
}

body.dark-mode .fic-chapter-card::before {
box-shadow:
    0 0 0 5px rgba(var(--fic-accent-rgb), .22),
    0 0 0 10px rgba(28, 28, 34, .96);
}

body.dark-mode .fic-report-error,
body.dark-mode .fic-report-error a {
color: #ffffff !important;
}

body.dark-mode .fic-chapter-stack::before {
  border-left: 0 !important;
  width: 2px !important;

  background: repeating-linear-gradient(
    to bottom,
    rgba(var(--fic-accent-rgb), .45) 0,
    rgba(var(--fic-accent-rgb), .45) 6px,
    transparent 6px,
    transparent 12px
  ) !important;
}

body.dark-mode #fv-salvar-trecho {
  background: linear-gradient(135deg, var(--fic-accent), var(--fic-accent-2)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .38) !important;
}

body.dark-mode #fv-salvar-trecho::before {
  background: var(--fic-accent) !important;
}