:is(body.single-post, body.mho-series-page) .mho-post-overview,
:is(body.single-post, body.mho-series-page) article .entry-content > .manga-reader-base {
    width: min(calc(100% - 88px), 1440px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
    box-sizing: border-box;
}

.mho-post-overview {
    padding: 42px 0 54px;
    color: #fff;
}

:is(body.single-post, body.mho-series-page) header.mho-post-heading {
    display: block !important;
}

.mho-post-overview *,
.mho-post-reader-heading * {
    box-sizing: border-box;
}

:is(body.single-post, body.mho-series-page) .mho-post-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.mho-post-part {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 14px 0 0 !important;
    color: #b7a1cc;
    font-size: 22px;
    font-weight: 600;
}

.mho-post-part::before {
    content: none;
}

.mho-post-layout {
    display: grid;
    grid-template-columns: clamp(230px, 23vw, 360px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
    margin-top: 32px;
}

.mho-post-cover {
    position: relative;
    isolation: isolate;
    margin: 0 12px 12px 0;
}

.mho-post-cover::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12px -12px -12px 12px;
    border: 2px solid #ed159d;
}

.mho-post-cover img,
.mho-post-no-cover {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    object-fit: cover;
    background: #181020;
}

.mho-post-no-cover {
    display: grid;
    place-items: center;
    padding: 24px;
    color: #baaaca;
}

.mho-post-info {
    min-width: 0;
    padding-top: 4px;
}

.mho-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
}

:is(body.single-post, body.mho-series-page) .mho-post-tags .tag-categoria {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 7px 15px;
    border: 1px solid #513061;
    border-radius: 999px;
    background: #2b153b;
    color: #dcc1ed;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

:is(body.single-post, body.mho-series-page) .mho-post-tags .tag-categoria:hover {
    border-color: #bd63e5;
    background: #402051;
}

.mho-post-original > span,
.mho-post-facts dt {
    color: #b9a5ce;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

.mho-post-original p {
    margin: 3px 0 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.mho-post-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 40px;
    margin: 24px 0 0;
}

.mho-post-facts > div {
    min-width: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #3b2c48;
}

.mho-post-facts .mho-post-characters {
    grid-column: 1 / -1;
}

.mho-post-facts dd {
    margin: 3px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mho-post-facts dd a {
    color: inherit !important;
    text-decoration: none !important;
}

.mho-post-facts dd a:hover {
    color: #e4b6ff;
}

.mho-post-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

:is(body.single-post, body.mho-series-page) .mho-post-actions .mho-post-read,
:is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    min-height: 56px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 12px 28px !important;
    border: 2px solid transparent !important;
    border-radius: 16px !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 17px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

:is(body.single-post, body.mho-series-page) .mho-post-actions .mho-post-read {
    background: linear-gradient(120deg, #8f18ef, #7514df) !important;
}

:is(body.single-post, body.mho-series-page) .mho-post-actions .mho-post-read:hover {
    background: #a52bff !important;
}

:is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga {
    border-color: #ed149d !important;
    background: transparent !important;
}

:is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga:hover,
:is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga.ativo {
    background: #ed149d22 !important;
}

.mho-post-actions .icone-coracao {
    color: #ff28ae;
    font-family: sans-serif;
    font-size: 30px;
    line-height: 1;
}

.mho-post-overview :is(a, button):focus-visible {
    outline: 3px solid #f1cbff;
    outline-offset: 5px;
}

.manga-reader-base#mh-reader-v7 {
    scroll-margin-top: 88px;
}

.mho-post-reader-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 26px;
}

.mho-post-reader-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #4d355c;
}

:is(body.single-post, body.mho-series-page) .mho-post-reader-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none !important;
}

@media (max-width: 1000px) {
    :is(body.single-post, body.mho-series-page) .mho-post-overview,
    :is(body.single-post, body.mho-series-page) article .entry-content > .manga-reader-base {
        width: calc(100% - 48px) !important;
    }
    .mho-post-layout { grid-template-columns: minmax(190px, 30%) minmax(0, 1fr); gap: 30px; }
    .mho-post-facts { column-gap: 24px; }
    .mho-post-actions { gap: 12px; }
    :is(body.single-post, body.mho-series-page) .mho-post-actions .mho-post-read,
    :is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga { padding-inline: 20px !important; }
}

@media (max-width: 700px) {
    :is(body.single-post, body.mho-series-page) .mho-post-overview,
    :is(body.single-post, body.mho-series-page) article .entry-content > .manga-reader-base {
        width: calc(100% - 32px) !important;
    }
    .mho-post-overview { padding: 26px 0 36px; }
    :is(body.single-post, body.mho-series-page) .mho-post-heading h1 { font-size: clamp(27px, 6.5vw, 38px); }
    .mho-post-part { margin-top: 12px !important; font-size: 18px; gap: 14px; }
    .mho-post-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 26px; }
    .mho-post-cover { width: min(68%, 270px); margin: 0 auto 12px; }
    .mho-post-tags { gap: 8px; margin-bottom: 22px; }
    :is(body.single-post, body.mho-series-page) .mho-post-tags .tag-categoria { padding: 7px 12px; }
    .mho-post-original p { font-size: 24px; }
    .mho-post-facts { gap: 16px 22px; margin-top: 22px; }
    .mho-post-facts dt, .mho-post-original > span { font-size: 16px; }
    .mho-post-facts dd { font-size: 19px; }
    .mho-post-actions { margin-top: 26px; }
    :is(body.single-post, body.mho-series-page) .mho-post-actions .mho-post-read { flex: 1 1 100%; }
    :is(body.single-post, body.mho-series-page) .mho-post-actions .btn-favoritar-manga { flex: 1 1 100%; }
    .mho-post-reader-heading { gap: 16px; margin-bottom: 20px; }
    :is(body.single-post, body.mho-series-page) .mho-post-reader-heading h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .mho-post-overview * { transition: none !important; }
}
