/* Anime profile: a child-theme composition around Madara's native data/hooks. */
body.single-wp-manga.verdant-library { background: var(--nox-bg); }
body.single-wp-manga.verdant-library .site-content { overflow: clip; }
.nox-manga-profile { color: var(--nox-text); }
.nox-profile-hero { position: relative; isolation: isolate; overflow: hidden; padding: 42px 0 62px; border: 0; background: var(--nox-bg) !important; }
.nox-profile-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 49.8%, #ffffff05 50%, transparent 50.2%); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #0008, transparent 82%); pointer-events: none; }
.nox-profile-backdrop { position: absolute; z-index: -2; inset: -48px; background-image: linear-gradient(90deg, var(--nox-bg) 4%, color-mix(in srgb, var(--nox-bg) 77%, transparent) 46%, color-mix(in srgb, var(--nox-bg) 88%, transparent)), var(--nox-profile-poster); background-position: center; background-size: cover; opacity: .38; filter: blur(22px) saturate(.8); transform: scale(1.08); }
.nox-profile-container { position: relative; }
.nox-profile-heading { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 48px; align-items: end; }
.nox-profile-heading .c-breadcrumb-wrapper { grid-column: 1 / -1; margin: 0 0 44px; }
.nox-profile-heading .c-breadcrumb { padding: 0; }
.nox-profile-heading .breadcrumb { margin: 0; padding: 0; }
.nox-profile-heading .breadcrumb li { color: color-mix(in srgb, var(--nox-muted) 84%, transparent); }
.nox-profile-heading .breadcrumb li a { color: color-mix(in srgb, var(--nox-muted) 84%, transparent); }
.nox-profile-heading .breadcrumb li:last-child { color: var(--nox-text); }
.nox-profile-kicker { grid-column: 2; margin: 0 0 11px; color: var(--nox-accent); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.nox-profile-heading .post-title { grid-column: 2; margin: 0; }
body.single-wp-manga .nox-profile-heading .post-title h1 { max-width: 890px; margin: 0 0 31px; color: var(--nox-text); font-size: clamp(43px, 5.2vw, 76px) !important; font-weight: 760; line-height: .98; letter-spacing: -.058em; text-wrap: balance; }
.nox-profile-heading .manga-title-badges { vertical-align: middle; margin: 0 7px 12px 0; }

body.single-wp-manga .nox-profile-hero .tab-summary { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; margin: 0; padding: 0; border: 0; background: transparent; }
body.single-wp-manga .nox-profile-hero .tab-summary.no-thumb { grid-template-columns: 1fr; }
body.single-wp-manga .nox-profile-hero .summary_image { position: relative; width: 100% !important; margin: 0; overflow: visible; border: 0; border-radius: 8px; background: transparent !important; box-shadow: 0 28px 62px #000b; }
body.single-wp-manga .nox-profile-hero .summary_image::before { content: ""; position: absolute; z-index: -1; inset: 12px -10px -12px 10px; border: 1px solid color-mix(in srgb, var(--nox-accent) 55%, transparent); border-radius: 8px; }
body.single-wp-manga .nox-profile-hero .summary_image a { display: block; }
body.single-wp-manga .nox-profile-hero .summary_image img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 8px; object-fit: cover; }
body.single-wp-manga .nox-profile-hero .summary_content_wrap { width: 100%; min-width: 0; padding: 0; }
body.single-wp-manga.verdant-library .nox-profile-hero .tab-summary .summary_content { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(235px, .75fr); gap: 12px; min-height: 100%; padding: 0 !important; border: 0; background: transparent !important; }
body.single-wp-manga .nox-profile-hero .summary_content .post-content { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100% !important; }
body.single-wp-manga .nox-profile-hero .summary_content .loader-inner { position: absolute; }
body.single-wp-manga .nox-profile-hero .post-rating { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; min-height: 57px; margin: 0 0 3px; padding: 11px 17px; border: 1px solid #ffffff1b; border-radius: 9px; background: color-mix(in srgb, var(--nox-surface) 83%, transparent); backdrop-filter: blur(12px); }
body.single-wp-manga .nox-profile-hero .post-total-rating,
body.single-wp-manga .nox-profile-hero .user-rating { display: flex; align-items: center; gap: 2px; }
body.single-wp-manga .nox-profile-hero .ratings_stars { margin: 0; font-size: 15px; }
body.single-wp-manga .nox-profile-hero .score { margin-inline-start: 9px; color: var(--nox-text) !important; font-size: 11px; }
body.single-wp-manga .nox-profile-hero .post-content_item { display: grid; grid-template-columns: minmax(72px, .34fr) minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; margin: 0; padding: 16px 17px; border: 1px solid #ffffff17 !important; border-radius: 9px; background: color-mix(in srgb, var(--nox-surface) 81%, transparent); backdrop-filter: blur(12px); }
body.single-wp-manga .nox-profile-hero .post-content_item:has(.genres-content) { grid-column: 1 / -1; }
body.single-wp-manga .nox-profile-hero .summary-heading { width: auto !important; padding: 0; }
body.single-wp-manga .nox-profile-hero .summary-heading h5 { margin: 2px 0 0; color: var(--nox-muted) !important; font-size: 9px; font-weight: 760; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
body.single-wp-manga .nox-profile-hero .summary-content { width: auto !important; min-width: 0; padding: 0; color: var(--nox-text) !important; font-size: 13px; line-height: 1.65; }
body.single-wp-manga .nox-profile-hero .summary-content a { color: var(--nox-text) !important; }
body.single-wp-manga .nox-profile-hero .summary-content a:hover { color: var(--nox-accent) !important; }
body.single-wp-manga .nox-profile-hero .rate-title { display: none; }
body.single-wp-manga .nox-profile-hero .genres-content { display: flex !important; flex-wrap: wrap; gap: 7px; width: 100% !important; height: auto !important; max-height: none !important; overflow: visible !important; }
body.single-wp-manga .nox-profile-hero .genres-content a { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid #ffffff1a; border-radius: 30px; background: #ffffff08; font-size: 10px; }
body.single-wp-manga .nox-profile-hero .post-status { display: grid !important; grid-template-columns: 1fr; gap: 12px; align-self: start; align-content: start; width: 100% !important; margin: 0; }
body.single-wp-manga .nox-profile-hero .post-status .post-content_item { width: 100% !important; height: auto !important; }
body.single-wp-manga .nox-profile-hero .manga-action { display: flex; align-items: center; box-sizing: border-box; width: 100% !important; min-height: 56px; margin: 0; padding: 12px 17px; border: 1px solid #ffffff17; border-radius: 9px; background: color-mix(in srgb, var(--nox-surface) 81%, transparent); }
body.single-wp-manga .nox-profile-hero .manga-action :is(.count-comment, .add-bookmark) { display: flex; align-items: center; gap: 9px; }
body.single-wp-manga .nox-profile-hero .action_icon a { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: color-mix(in srgb, var(--nox-accent) 13%, transparent); color: var(--nox-accent) !important; }
body.single-wp-manga .nox-profile-hero .action_detail { color: var(--nox-muted) !important; font-size: 10px; }
body.single-wp-manga .nox-profile-hero #init-links { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; width: 100%; margin: 6px 0 0; padding: 0; }
body.single-wp-manga .nox-profile-hero #init-links > span { display: block; }
body.single-wp-manga .nox-profile-hero #init-links .c-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 0; padding: 10px 17px; border: 1px solid var(--nox-accent) !important; border-radius: 8px; background: var(--nox-accent) !important; color: #171211 !important; font-size: 12px; font-weight: 780; }
body.single-wp-manga .nox-profile-hero #init-links > span + span .c-btn { background: transparent !important; color: var(--nox-text) !important; }
body.single-wp-manga .nox-profile-hero #init-links .c-btn:hover { border-color: var(--nox-accent-hover) !important; background: var(--nox-accent-hover) !important; color: #171211 !important; }

body.single-wp-manga .nox-profile-content { background: var(--nox-bg); }
body.single-wp-manga .nox-profile-content .content-area { padding: 72px 0 84px; }
body.single-wp-manga .nox-profile-layout { display: flex; align-items: flex-start; }
body.single-wp-manga .nox-profile-layout.sidebar-left { flex-direction: row-reverse; }
body.single-wp-manga .nox-profile-layout > .main-col,
body.single-wp-manga .nox-profile-layout > .sidebar-col { float: none; }
.nox-profile-section { margin: 0 0 56px; }
.nox-profile-section-heading { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.nox-profile-section-heading > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--nox-accent) 56%, var(--nox-line)); border-radius: 50%; color: var(--nox-accent); font-size: 10px; font-weight: 780; }
.nox-profile-section-heading p { margin: 0 0 3px; color: var(--nox-muted); font-size: 9px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.nox-profile-section-heading h2 { margin: 0; color: var(--nox-text); font-size: clamp(25px, 2.6vw, 34px); font-weight: 730; line-height: 1.1; letter-spacing: -.038em; }
body.single-wp-manga .nox-profile-description .description-summary { padding: 29px 31px; border: 1px solid var(--nox-line); border-radius: 12px; background: var(--nox-surface); }
body.single-wp-manga .nox-profile-description .summary__content { color: color-mix(in srgb, var(--nox-text) 79%, var(--nox-muted)); font-size: 14px; line-height: 1.9; }
body.single-wp-manga .nox-profile-description .summary__content > :last-child { margin-bottom: 0; }
body.single-wp-manga .nox-profile-description .summary__content.show-more::after { background: linear-gradient(transparent, var(--nox-surface)) !important; }
body.single-wp-manga .nox-profile-description .c-content-readmore { position: relative; margin-top: 15px; text-align: start; }
body.single-wp-manga .nox-profile-description .content-readmore { min-height: 38px; padding: 7px 14px; border: 1px solid var(--nox-line); border-radius: 6px; color: var(--nox-accent); font-size: 11px; }

.nox-profile-chapters { position: relative; }
.nox-chapter-tools { display: flex; align-items: center; gap: 13px; margin: 0 58px 18px 0; }
.rtl .nox-chapter-tools { margin: 0 0 18px 58px; }
.nox-chapter-search-wrap { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; min-height: 44px; margin: 0; padding: 0 13px; border: 1px solid var(--nox-line); border-radius: 8px; background: var(--nox-surface); color: var(--nox-muted); }
body.single-wp-manga .nox-chapter-search-wrap input[type=search] { width: 100%; height: 42px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--nox-text); font-size: 12px; box-shadow: none; }
body.single-wp-manga .nox-chapter-search-wrap input[type=search]::placeholder { color: var(--nox-muted); opacity: 1; }
.nox-chapter-search-wrap:focus-within { border-color: var(--nox-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nox-accent) 13%, transparent); }
.nox-chapter-count { flex: 0 0 auto; color: var(--nox-muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.nox-chapter-empty { margin: 18px 0; padding: 20px; border: 1px dashed var(--nox-line); border-radius: 8px; color: var(--nox-muted); text-align: center; }
body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll { max-height: min(70vh, 760px) !important; overflow-x: hidden !important; overflow-y: auto !important; padding-inline-end: 8px !important; scrollbar-color: var(--nox-accent) var(--nox-surface); scrollbar-gutter: stable; scrollbar-width: thin; overscroll-behavior: contain; }
body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll:focus-visible { outline: 2px solid var(--nox-accent); outline-offset: 5px; }
body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll::-webkit-scrollbar { width: 9px; }
body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll::-webkit-scrollbar-track { border-radius: 999px; background: var(--nox-surface); }
body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll::-webkit-scrollbar-thumb { border: 2px solid var(--nox-surface); border-radius: 999px; background: var(--nox-accent); }
body.single-wp-manga .nox-profile-chapters.nox-filtering .listing-chapters_wrap .wp-manga-chapter { display: flex !important; }
body.single-wp-manga .nox-profile-chapters.nox-filtering .listing-chapters_wrap .wp-manga-chapter[hidden] { display: none !important; }
body.single-wp-manga .nox-profile-chapters > .c-blog__heading,
body.single-wp-manga .nox-profile-chapters #manga-chapters-holder > .c-blog__heading { position: absolute; top: 0; inset-inline-end: 0; width: 42px; height: 42px; margin: 0; padding: 0; border: 0; background: transparent; }
body.single-wp-manga .nox-profile-chapters > .c-blog__heading h2,
body.single-wp-manga .nox-profile-chapters #manga-chapters-holder > .c-blog__heading h2 { display: none; }
body.single-wp-manga .nox-profile-chapters > .c-blog__heading .btn-reverse-order,
body.single-wp-manga .nox-profile-chapters #manga-chapters-holder .btn-reverse-order { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border: 1px solid var(--nox-line); border-radius: 50%; background: var(--nox-raised); color: var(--nox-muted); }
body.single-wp-manga .nox-profile-chapters > .c-blog__heading .btn-reverse-order:hover,
body.single-wp-manga .nox-profile-chapters #manga-chapters-holder .btn-reverse-order:hover { border-color: var(--nox-accent); color: var(--nox-accent); }
body.single-wp-manga .nox-profile-chapters .page-content-listing.single-page,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap { margin: 0; padding: 0; border: 0; background: transparent; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap::after { content: none !important; display: none !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; }
body.single-wp-manga .nox-profile-chapters .wp-manga-chapter { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; min-height: 59px; margin: 0; padding: 8px 17px !important; border: 1px solid var(--nox-line) !important; border-radius: 8px; background: var(--nox-surface); transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap li.wp-manga-chapter::after { content: none !important; display: none !important; }
body.single-wp-manga .nox-profile-chapters .wp-manga-chapter:hover { border-color: color-mix(in srgb, var(--nox-accent) 58%, var(--nox-line)) !important; background: var(--nox-raised); transform: translateY(-1px); }
body.single-wp-manga .nox-profile-chapters .wp-manga-chapter > a { position: relative; z-index: 1; min-width: 0; padding: 9px 0; overflow: hidden; color: var(--nox-text); font-size: 12px; font-weight: 680; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap li.wp-manga-chapter .chapter-release-date { position: static !important; inset: auto !important; flex: 0 0 auto; transform: none !important; }
body.single-wp-manga .nox-profile-chapters .chapter-release-date i { color: var(--nox-muted); font-size: 9px; font-style: normal; white-space: nowrap; }
body.single-wp-manga .nox-profile-sidebar { position: sticky; top: 30px; }
body.single-wp-manga .nox-profile-sidebar .widget { border-radius: 10px; background: var(--nox-surface); }
body.single-wp-manga :is(#manga-discussion, .related-manga, .c-tabs-item__content) { border-color: var(--nox-line); }

@media (max-width: 991px) {
    .nox-profile-heading { grid-template-columns: 205px minmax(0, 1fr); column-gap: 36px; }
    body.single-wp-manga .nox-profile-hero .tab-summary { grid-template-columns: 205px minmax(0, 1fr); gap: 36px; }
    body.single-wp-manga.verdant-library .nox-profile-hero .tab-summary .summary_content { grid-template-columns: 1fr; }
    body.single-wp-manga .nox-profile-hero .summary_content .post-content,
    body.single-wp-manga .nox-profile-hero .post-status { grid-template-columns: 1fr; }
    body.single-wp-manga .nox-profile-hero .post-content_item:has(.genres-content),
    body.single-wp-manga .nox-profile-hero .post-rating,
    body.single-wp-manga .nox-profile-hero #init-links { grid-column: auto; }
    body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .nox-profile-hero { padding: 24px 0 42px; }
    .nox-profile-heading { display: block; }
    .nox-profile-heading .c-breadcrumb-wrapper { margin-bottom: 31px; }
    .nox-profile-kicker { margin-bottom: 8px; }
    body.single-wp-manga .nox-profile-heading .post-title h1 { margin-bottom: 25px; font-size: clamp(36px, 12vw, 55px) !important; line-height: 1.04; }
    body.single-wp-manga .nox-profile-hero .tab-summary { grid-template-columns: 1fr; gap: 33px; }
    body.single-wp-manga .nox-profile-hero .summary_image { width: min(58vw, 220px) !important; justify-self: center; }
    body.single-wp-manga .nox-profile-hero .summary_content .post-content { grid-template-columns: 1fr; }
    body.single-wp-manga .nox-profile-hero .post-content_item { grid-template-columns: minmax(68px, .3fr) minmax(0, 1fr); padding: 14px; }
    body.single-wp-manga .nox-profile-hero #init-links { grid-template-columns: 1fr; }
    body.single-wp-manga .nox-profile-content .content-area { padding: 46px 0 60px; }
    body.single-wp-manga .nox-profile-layout { display: block; }
    body.single-wp-manga .nox-profile-description .description-summary { padding: 22px 20px; }
    .nox-profile-section { margin-bottom: 44px; }
    .nox-profile-section-heading { margin-bottom: 19px; }
    .nox-chapter-tools,
    .rtl .nox-chapter-tools { align-items: stretch; flex-direction: column; gap: 9px; margin: 0 0 16px; }
    .nox-chapter-search-wrap { flex-basis: auto; width: 100%; }
    .nox-chapter-count { padding-inline: 3px; }
    body.single-wp-manga .nox-profile-chapters .wp-manga-chapter { min-height: 56px; padding: 7px 13px !important; }
    body.single-wp-manga .nox-profile-chapters .nox-chapter-scroll { max-height: min(64vh, 560px) !important; padding-inline-end: 5px !important; }
    body.single-wp-manga .nox-profile-sidebar { position: static; }
}

@media (max-width: 420px) {
    body.single-wp-manga .nox-profile-hero .post-content_item { grid-template-columns: 1fr; gap: 5px; }
    body.single-wp-manga .nox-profile-hero .post-status { grid-template-columns: 1fr; }
    body.single-wp-manga .nox-profile-chapters .wp-manga-chapter { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .nox-profile-chapters .wp-manga-chapter { transition: none !important; }
}

.rtl .nox-profile-kicker,
.rtl .nox-profile-section-heading p { letter-spacing: 0; }

/* Unified poster/title/details stage. Madara's table selectors are stronger than
   the original child styles, so keep these resets scoped to this profile. */
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero { margin-bottom: 0 !important; padding: clamp(26px, 4vw, 48px) 0 clamp(42px, 5vw, 68px); border-bottom: 1px solid var(--nox-line); }
.nox-profile-breadcrumb { margin-bottom: clamp(20px, 3vw, 36px); }
.nox-profile-breadcrumb .c-breadcrumb-wrapper { margin: 0; padding: 0; }
.nox-profile-breadcrumb .c-breadcrumb { padding: 0; }
.nox-profile-breadcrumb .breadcrumb { margin: 0; padding: 0; }
.nox-profile-stage { display: grid; grid-template-columns: clamp(190px, 21vw, 250px) minmax(0, 1fr); grid-template-areas: "poster heading" "poster details"; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 50px); row-gap: 18px; align-items: start; }
.nox-profile-stage.no-poster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "details"; }
.nox-profile-heading { display: block; grid-area: heading; min-width: 0; }
.nox-profile-heading .post-title { min-width: 0; margin: 0; }
.nox-profile-kicker { margin: 0 0 9px; font-size: 11px; letter-spacing: .12em; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .post-title h1 { max-width: 21ch; margin: 0 !important; color: var(--nox-text) !important; font-size: clamp(30px, 3.8vw, 52px) !important; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.nox-profile-heading .manga-title-badges { float: none; display: inline-flex; margin: 0 7px 10px 0; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary { display: contents !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_image { grid-area: poster; display: block !important; align-self: start; width: 100% !important; margin: 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid color-mix(in srgb, var(--nox-accent) 33%, var(--nox-line)); border-radius: 14px; background: var(--nox-surface) !important; box-shadow: 0 24px 54px #0008; }
.nox-profile-hero .summary_image img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: inherit; object-fit: cover; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content_wrap { grid-area: details; display: block !important; position: static !important; width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content_wrap .summary_content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; position: static !important; min-height: 0 !important; margin: 0 !important; padding: clamp(17px, 2vw, 24px) !important; border: 1px solid var(--nox-line); border-radius: 14px; background: color-mix(in srgb, var(--nox-surface) 93%, transparent) !important; color: var(--nox-text) !important; font-size: 14px; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content .post-content,
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content .post-status { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; position: relative; width: 100% !important; min-width: 0; margin: 0 !important; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-rating { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 40px; margin: 0 !important; padding: 0 0 13px; border: 0; border-bottom: 1px solid var(--nox-line); border-radius: 0; background: transparent; backdrop-filter: none; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .post-rating i { margin: 0 1px; font-size: 18px; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .post-rating span.score { margin-inline-start: 8px; color: var(--nox-text) !important; font-size: 13px; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item,
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-status .post-content_item { display: grid !important; grid-template-columns: minmax(76px, .35fr) minmax(0, 1fr); gap: 10px; min-width: 0; margin: 0 !important; padding: 12px 0; border: 0 !important; border-bottom: 1px solid var(--nox-line) !important; border-radius: 0; background: transparent; backdrop-filter: none; font-size: 13px; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item .summary-heading,
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item .summary-content { display: block !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item .summary-heading h5 { margin: 1px 0 0; color: var(--nox-muted) !important; font-size: 11px; font-weight: 700; line-height: 1.55; letter-spacing: 0; text-transform: none; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item .summary-content { color: var(--nox-text) !important; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
body.single-wp-manga .nox-profile-hero .summary-content a:not(:first-child) { margin: 0 !important; }
body.single-wp-manga.manga-page .nox-profile-hero .genres-content { display: flex !important; flex-wrap: wrap; gap: 6px; width: 100% !important; height: auto !important; max-height: none !important; overflow: visible !important; font-size: 0; }
body.single-wp-manga .nox-profile-hero .genres-content a { min-height: 27px; padding: 3px 9px; background: var(--nox-raised); font-size: 11px; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-status .manga-action { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: 18px; width: 100% !important; margin: 0 !important; padding: 14px 0 0 !important; border: 0; background: transparent; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-status .manga-action .count-comment,
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-status .manga-action .add-bookmark { display: flex; align-items: center; gap: 8px; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.single-wp-manga.manga-page .nox-profile-hero .action_icon a i { color: var(--nox-accent) !important; font-size: 18px !important; }
body.single-wp-manga .nox-profile-hero .action_detail { font-size: 12px; text-align: start !important; }
body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary #init-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; padding: 4px 0 0; }
body.single-wp-manga .nox-profile-hero #init-links .c-btn { min-height: 48px; font-size: 13px; }
body.single-wp-manga .nox-profile-hero.summary-layout-2 .post-content > .post-status,
body.single-wp-manga .nox-profile-hero.summary-layout-2 .post-content > #init-links,
body.single-wp-manga .nox-profile-hero.summary-layout-2 .post-content > .manga-excerpt { grid-column: 1 / -1; }
body.single-wp-manga .nox-profile-hero.summary-layout-2 .summary_content .manga-excerpt { color: var(--nox-text); font-size: 14px; line-height: 1.8; }
body.single-wp-manga .nox-profile-layout > .main-col { flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
body.single-wp-manga .nox-profile-layout > .sidebar-col { flex: 0 0 28%; width: auto; max-width: 320px; min-width: 0; }

/* The full Madara list stays mounted; only this inner wrapper scrolls. */
.nox-chapter-tools,
.rtl .nox-chapter-tools { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.nox-chapter-search-wrap { flex: 1 1 230px; min-width: 0; min-height: 46px; border-radius: 10px; }
.nox-chapter-count { flex: 0 0 auto; padding: 0; font-size: 12px; }
.nox-order-toggle { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--nox-line); border-radius: 10px; background: var(--nox-surface); color: var(--nox-text); cursor: pointer; }
.nox-order-toggle:not(:disabled):hover { border-color: var(--nox-accent); color: var(--nox-accent); }
.nox-order-toggle:disabled { opacity: .45; cursor: default; }
.nox-chapter-empty[hidden] { display: none !important; }
body.single-wp-manga .nox-profile-chapters .c-blog__heading { display: none !important; }
body.single-wp-manga .nox-profile-chapters .c-chapter-readmore { display: none !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap.nox-chapter-scroll { max-height: min(66vh, 640px) !important; overflow-x: hidden !important; overflow-y: auto !important; padding: 3px 7px 3px 0 !important; }
.rtl .nox-profile-chapters .listing-chapters_wrap.nox-chapter-scroll { padding: 3px 0 3px 7px !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; max-height: none !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap::before,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap > ul.main.version-chap::after,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter::before,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter::after { content: none !important; display: none !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100% !important; min-width: 0; min-height: 62px; margin: 0 !important; padding: 10px 16px !important; border: 1px solid var(--nox-line) !important; border-radius: 10px; background: var(--nox-surface); transition: border-color .2s ease, background-color .2s ease; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter:hover,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter:focus-within { border-color: var(--nox-accent) !important; background: var(--nox-raised); transform: none; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter > a { display: block; min-width: 0; max-width: 100%; padding: 4px 0; overflow: visible; color: var(--nox-text); font-size: 14px; font-weight: 680; line-height: 1.45; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; text-decoration: none !important; }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter > a:hover,
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter.unread > a { color: var(--nox-accent); }
body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter .chapter-release-date { position: static !important; inset: auto !important; flex: 0 0 auto; margin: 0 !important; transform: none !important; }
body.single-wp-manga .nox-profile-chapters .chapter-release-date i { font-size: 11px; }
body.single-wp-manga .nox-profile-chapters.nox-filtering .listing-chapters_wrap li.wp-manga-chapter[hidden] { display: none !important; }
body.single-wp-manga .nox-profile-chapters.nox-filtering .listing-chapters_wrap ul.sub-chap { display: block !important; }

@media (max-width: 991px) {
    body.single-wp-manga .nox-profile-layout { display: block; }
    body.single-wp-manga .nox-profile-layout > .main-col,
    body.single-wp-manga .nox-profile-layout > .sidebar-col { width: 100%; max-width: 100%; }
    body.single-wp-manga .nox-profile-sidebar { position: static; margin-top: 32px; }
}
@media (max-width: 767px) {
    .nox-profile-stage { grid-template-columns: clamp(132px, 26vw, 190px) minmax(0, 1fr); column-gap: 22px; }
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .post-title h1 { font-size: clamp(29px, 5vw, 39px) !important; }
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content .post-content,
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .summary_content .post-status { grid-template-columns: minmax(0, 1fr); }
    body.single-wp-manga .nox-profile-hero .post-content_item:has(.genres-content) { grid-column: auto; }
}
@media (max-width: 620px) {
    .nox-profile-stage { grid-template-columns: minmax(104px, 30%) minmax(0, 1fr); grid-template-areas: "poster heading" "details details"; row-gap: 20px; column-gap: 18px; }
    .nox-profile-stage.no-poster { grid-template-columns: 1fr; grid-template-areas: "heading" "details"; }
    .nox-profile-kicker { margin-bottom: 7px; }
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .post-title h1 { font-size: clamp(27px, 6vw, 36px) !important; line-height: 1.16; }
    .nox-chapter-search-wrap { flex-basis: 100%; }
    .nox-chapter-count { flex: 1 1 0; padding-inline-start: 3px; }
}
@media (max-width: 420px) {
    .nox-profile-stage { grid-template-columns: minmax(96px, 29%) minmax(0, 1fr); column-gap: 14px; }
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-content_item,
    body.single-wp-manga.manga-page .profile-manga.nox-profile-hero .tab-summary .post-status .post-content_item { grid-template-columns: minmax(70px, .34fr) minmax(0, 1fr); gap: 8px; }
    body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap li.wp-manga-chapter { align-items: flex-start; flex-direction: column; gap: 2px; padding: 10px 13px !important; }
    body.single-wp-manga .nox-profile-chapters .listing-chapters_wrap.nox-chapter-scroll { max-height: min(62vh, 510px) !important; }
}
