html { scroll-behavior: smooth; }
body { margin: 0; background: #0d100e; color: #a0aca3; font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #8fbfa3; text-decoration: none; }
a:hover { color: #a8d4b9; }
* { box-sizing: border-box; }
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }
details[open] .om-plus { transform: rotate(45deg); }
@media (max-width: 1180px) { .om-navlinks { display: none !important; } }
@media (max-width: 1000px) { .om-fluxo { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .om-novel-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 620px) { .om-fluxo { grid-template-columns: minmax(0, 1fr) !important; } .om-novel-grid { grid-template-columns: 1fr !important; } }
.om-perio[data-ativo="true"] { background: #2f6b4f !important; color: #ffffff !important; }
.om-idioma[data-ativo="true"] { background: #172019 !important; color: #f4f6f3 !important; }
@media (max-width: 560px) { .om-logotexto { display: none !important; } }
@media (max-width: 520px) { .om-sigla { display: none !important; } }

/* Hover (no design original era o atributo style-hover). !important porque os estilos base estão inline. */
.hv-link:hover { color: #f4f6f3 !important; }
.hv-btn:hover { background: #38805e !important; color: #ffffff !important; }
.hv-plano:hover { background: #38805e !important; border: 1px solid #38805e !important; color: #ffffff !important; }
.hv-play:hover { transform: scale(1.06); background: #38805e !important; }
[hidden] { display: none !important; }
.upload-sel:hover { border-color: #38805e !important; }
.lang-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #2a3a30; border-radius: 12px; background: #141a16; box-shadow: 0 18px 40px rgba(0,0,0,0.45); display: flex; flex-direction: column; gap: 2px; }
.lang-opt { display: flex; align-items: center; padding: 10px 12px; border: none; border-radius: 8px; background: transparent; color: #c6cec8; cursor: pointer; font-family: 'IBM Plex Sans', sans-serif; font-size: 14.5px; text-align: left; transition: background-color .1s; }
.lang-opt:hover { background: #1a231c; color: #f4f6f3; }
.lang-opt[data-selected] { background: #172019; color: #f4f6f3; }
#drop-zone:hover { border-color: #38805e; }
#drop-zone.drop-active { border-color: #2f6b4f !important; background: rgba(47,107,79,0.08) !important; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr !important; text-align: center; } .hero-grid h1, .hero-grid p { margin-left: auto !important; margin-right: auto !important; } .hero-preview { min-height: 320px !important; max-width: 520px; margin: 0 auto; } }
@media (max-width: 480px) { .upload-langs { flex-direction: column !important; gap: 10px !important; } .upload-langs > span { display: none !important; } .hero-preview { min-height: 240px !important; } }

/* "Continue lendo" no fim dos posts (trecho gerado por scripts/gerar-idiomas.mjs). */
.art .art-rel { margin-top: 56px; border-top: 1px solid #1a211c; }
.art .art-rel ul { list-style: none; padding-left: 0; }
.art .art-rel li { margin-bottom: 10px; }
.art .art-rel a::before { content: "→ "; color: #5d6b62; }
