html {
overflow-x: hidden;
scroll-behavior: smooth;
} .middle-header .menu a,
.middle-header .menu-sidebar a,
.main-container .card-body .list a {
display: inline-flex;
align-items: center;
min-height: 28px;
line-height: 1.35;
}
.middle-header .settings .theme-link,
.middle-header .settings .mobile-menu-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
}
body,
.wrapper {
max-width: 100%;
overflow-x: clip;
}
img,
video,
iframe {
max-width: 100%;
} img[loading="lazy"] {
animation: none;
background: #ececec;
}
body .wrapper header .middle-header .logo img {
display: block;
width: 163px;
height: auto;
}
.skip-link {
position: fixed;
top: .5rem;
left: .5rem;
z-index: 100000;
padding: .7rem 1rem;
border-radius: .35rem;
background: #fff;
color: #111;
font-weight: 600;
transform: translateY(-150%);
}
.skip-link:focus {
transform: translateY(0);
}
:where(a, button, input, select, textarea):focus-visible {
outline: 3px solid #ffae57;
outline-offset: 3px;
}
.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.mobile-menu-toggle {
min-width: 44px;
min-height: 44px;
padding: .5rem;
border: 0;
background: transparent;
color: inherit;
cursor: pointer;
}
.bottom-header button {
min-width: 44px;
min-height: 44px;
}
#search_input > div {
display: flex;
}
html body.dark #search_input input[type="search"] {
color: #f3f4f6 !important;
background-color: #17191d !important;
}
html body.dark #search_input input[type="search"]::placeholder {
color: #aeb4bd;
opacity: 1;
}
.c-nav-tabs .c-tabs-content li.active > a {
color: #17191d !important;
}
html body footer.footer .footer-bottom .copy-text,
html body footer.footer .footer-bottom .copy-text a {
color: #b8bcc2 !important;
}
html body.dark .th-home-intro a,
html body.dark .th-home-faq a {
color: #60aefc !important;
text-decoration: underline;
text-decoration-thickness: .08em;
text-underline-offset: .14em;
}
#search_input input[type="search"] {
min-width: 0;
width: 100%;
height: 44px;
padding: .7rem 1rem;
border: 1px solid #bababa;
border-radius: 10px 0 0 10px;
background: #fdfdfd;
color: #333;
}
.summary_image img,
.collection-item-thumbnail-wrapper img {
height: auto;
}
.chapter-video-frame video {
display: block;
width: 100%;
height: auto;
background: #000;
}
.review-trust {
margin-top: .35rem;
font-size: .82rem;
line-height: 1.45;
opacity: .78;
}
.review-trust a {
color: inherit;
text-decoration: underline;
}
.category-review-note {
margin: 0 0 1.1rem;
font-size: .82rem;
opacity: .72;
}
.category-review-note a {
color: inherit;
text-decoration: underline;
}
.editorial-page {
padding: clamp(1rem, 3vw, 2.5rem);
}
.editorial-page__article {
max-width: 820px;
margin: 0 auto;
font-size: 1rem;
line-height: 1.75;
}
.editorial-page__article h1 {
margin-bottom: 1rem;
line-height: 1.2;
}
.editorial-page__article h2 {
margin-top: 2rem;
line-height: 1.3;
}
@media (max-width: 767px) {
body .wrapper header .top-header {
min-height: auto;
padding: .5rem .75rem;
line-height: 1.4;
text-align: center;
}
body .wrapper header .middle-header {
padding-inline: .75rem;
grid-template-columns: minmax(0, 1fr) auto !important;
align-items: center;
box-sizing: border-box;
}
body .wrapper header .middle-header .logo img {
width: 100px;
max-width: min(52vw, 190px);
height: auto;
}
body .wrapper header .middle-header .menu-sidebar {
left: .75rem;
right: .75rem;
width: auto;
max-height: calc(100vh - 90px);
overflow-y: auto;
}
body .wrapper header .middle-header .settings {
display: flex;
align-items: center;
justify-self: end;
gap: .25rem;
margin-left: 0;
}
body .wrapper header .middle-header .settings .theme-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
}
body .wrapper .main-container {
width: auto !important;
margin: 1rem .75rem !important;
}
.main-container,
.main_container {
min-width: 0;
max-width: 100%;
}
body .wrapper .main-container .main_container {
display: block;
width: 100%;
}
body .wrapper .main-container .main_container > * {
width: 100%;
max-width: 100% !important;
box-sizing: border-box;
}
body .wrapper .main-container .main_container > .card {
margin-bottom: 1.25rem;
}
.site-heading {
padding-inline: .25rem;
font-size: clamp(1.25rem, 6vw, 1.5rem) !important;
line-height: 1.3;
overflow-wrap: break-word;
}
.th-home-intro,
.th-home-faq {
padding-inline: .25rem !important;
overflow-wrap: anywhere;
}
.manga-page .entrySynopsis {
gap: 1rem;
}
.manga-page .summary_image,
.manga-page .metadata {
min-width: 0;
max-width: 100%;
}
} @media (max-width: 768px) { footer .footer-col li a,
footer .footer-bottom .footer-links li a {
display: inline-block;
padding: 10px 0;
min-height: 40px;
line-height: 20px;
box-sizing: border-box;
} body .wrapper .main-container .main_container .card .card-body ul li .review,
body .wrapper .main-container .main_container .card .card-body ul li .review_force {
width: 35px; height: 44px;
right: 0;
background-size: 11px 11px;
background-position: 50% 50%;
transform: translateY(-50%);
} .card-footer a { display: block; }
.card-footer a button { min-height: 44px; } .th-bhs-item p + a {
display: inline-block;
padding: 12px 0;
min-height: 44px;
box-sizing: border-box;
} body .r34-card__dur, body .r34-card__score, body .r34-badge,
body .cptv-card__dur, body .cptv-card__score, body .cptv-badge,
body .item__rating, body .ch-field__label,
body .r34-card small, body .cptv-card small, main small,
body .r34-seg__btn small, body .cptv-seg__btn small, body .r34-pill small, body .cptv-pill small,
body .collection-hub .ch-field__label { font-size: 12px; }
} html { scroll-padding-top: 120px; }
@media (max-width: 768px) { body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
body select, body textarea { font-size: 16px !important; }
}  :root{
--th-link-dark:#5aa9ff; --th-muted-dark:#aaadb0; --th-muted2-dark:#b8b9bd; --th-accent-dark:#ff6b94;
--th-on-brand:#1f1300; --th-on-green:#06210f;
--th-ink-light:#1d1d20; --th-muted-light:#55555a; --th-link-light:#0b5cad; --th-accent-light:#a35200;
} body main p a:not([class]), body .th-bhs-intro a { text-decoration: underline; text-underline-offset: 2px; } body.dark .th-bhs-item [style*="opacity"] { opacity: 1 !important; }
body.dark .th-bhs-item p, body.dark .th-bhs-item span { color: var(--th-muted-dark); }
body.dark .th-bhs-item a, body.dark .th-bhs-intro a, body.dark main p a:not([class]) { color: var(--th-link-dark); }
body.dark .r34-pill small { color: var(--th-muted2-dark); }
body.dark .r34-section-link { color: var(--th-accent-dark); }
body.dark .btn-site .text, body.dark .btn-site { color: var(--th-on-green); }
body.dark .title_all_info_subtext a, body.dark .manga-description, body.dark .ch-breadcrumb a, body.dark .copy-text, body.dark .copy-text a, body.dark a[title] > strong > span { color: var(--th-muted-dark); }
body.dark nav > a { color: var(--th-muted-dark); } body:not(.dark) .top-header, body:not(.dark) .top-header * { color: var(--th-ink-light); }
body:not(.dark) .footer-logo, body:not(.dark) footer .footer-col h3, body:not(.dark) .footer-brand p, body:not(.dark) footer .footer-col li a { color: var(--th-ink-light); }
body:not(.dark) .copy-text, body:not(.dark) .copy-text a { color: var(--th-ink-light); }
body:not(.dark) .r34-trending__label, body:not(.dark) .ch-breadcrumb a, body:not(.dark) .r34-pill small, body:not(.dark) .manga-description { color: var(--th-muted-light); }
body:not(.dark) .mobile_link_count, body:not(.dark) span.mobile_link_count { color: var(--th-muted-light); }
body:not(.dark) .title_all_info_subtext a { color: var(--th-muted-dark); }
body:not(.dark) .title_all_info_subtext span.count, body:not(.dark) .wp-pagenavi a.larger, body:not(.dark) .wp-pagenavi span.pages, body:not(.dark) .wp-pagenavi a.page { color: var(--th-ink-light); }
body:not(.dark) .item__total-views span { color: var(--th-link-dark); }
body:not(.dark) .link-category a span { color: var(--th-accent-light); } body .r34-pill small, body .cptv-pill small { opacity: 1 !important; }
body.dark .r34-pill small { color: var(--th-muted2-dark) !important; }
body:not(.dark) .r34-pill small { color: var(--th-muted-light) !important; }
body.dark a > strong > span, body.dark .active > span { color: var(--th-muted-dark); }
body.dark nav > a { color: var(--th-muted-dark) !important; }
body.dark .copy-text, body.dark .copy-text a { color: var(--th-muted-dark) !important; }
body:not(.dark) .copy-text, body:not(.dark) .copy-text a { color: var(--th-ink-light) !important; }
body:not(.dark) .footer-logo, body:not(.dark) footer .footer-col h3, body:not(.dark) .footer-brand p, body:not(.dark) footer .footer-col li a { color: var(--th-ink-light) !important; opacity: 1 !important; }
body.dark .review-trust, body.dark .review-trust * { color: var(--th-muted-dark); opacity: 1; }
body:not(.dark) .review-trust, body:not(.dark) .review-trust * { color: var(--th-muted-light); opacity: 1; }
body .back-button > .text, body .back-button { color: var(--th-on-brand) !important; }
body .btn-site > .text, body .btn-site { color: var(--th-on-green) !important; } html body footer.footer .footer-bottom, html body footer.footer .footer-bottom .copy-text, html body footer.footer .footer-bottom .copy-text a { opacity: 1 !important; }
html body:not(.dark) footer.footer .footer-bottom .copy-text, html body:not(.dark) footer.footer .footer-bottom .copy-text a { color: var(--th-ink-light) !important; }
html body.dark footer.footer .footer-bottom .copy-text, html body.dark footer.footer .footer-bottom .copy-text a { color: var(--th-muted-dark) !important; }
body:not(.dark) .title_all_info_subtext .count { color: var(--th-ink-light) !important; }
body:not(.dark) nav[aria-label="Popular archives"] > a, body:not(.dark) .ch-breadcrumb a { color: var(--th-muted-light) !important; }
body:not(.dark) .mobile_link_count, body:not(.dark) .other_fact_label { color: var(--th-muted-light) !important; }
body.dark .other_fact_label { color: var(--th-muted-dark) !important; }
body:not(.dark) a[href$="tophentai.com/"] > span { color: var(--th-accent-light) !important; }
body:not(.dark) .ch-see-all { color: #4456c7 !important; }
body:not(.dark) .wp-pagenavi .last, body:not(.dark) .wp-pagenavi .first { color: var(--th-ink-light) !important; }
body.dark a > strong > span { color: var(--th-muted-dark) !important; } body.dark a > strong > span { opacity: 1 !important; } body.dark .other_fact_value, body.dark .where_to_read_box .where_to_read, body.dark .ch-breadcrumb a { color: var(--th-muted-dark) !important; }
body:not(.dark) .other_fact_value, body:not(.dark) .ch-field__label, body:not(.dark) .r34-trending__label { color: var(--th-muted-light) !important; opacity: 1 !important; }
body.dark .category-review-note a, body.dark a.link[href="/"] { color: var(--th-link-dark) !important; }
body.dark .ch-see-all { color: #8d9dff !important; } body.dark .ch-breadcrumb, body.dark .r34-breadcrumb { color: var(--th-muted-dark); }
body.dark .ch-breadcrumb a, body.dark .r34-breadcrumb a { color: #c9ccd0 !important; text-decoration: underline; text-underline-offset: 2px; }
body:not(.dark) .ch-breadcrumb a, body:not(.dark) .r34-breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }  body .r34-card__dur, body .r34-card__score, body .cptv-card__dur, body .cptv-card__score, body .r34-badge--res, body .cptv-badge--res { background: rgba(0, 0, 0, .8) !important; }
body .r34-badge--video, body .cptv-badge--video { background: #c8174b !important; }
body .r34-badge--gif, body .cptv-badge--gif { background: #6d28d9 !important; } body .ch-breadcrumb { opacity: 1 !important; }
body.dark .ch-breadcrumb, body.dark .ch-breadcrumb span { color: var(--th-muted-dark) !important; }
body:not(.dark) .ch-breadcrumb, body:not(.dark) .ch-breadcrumb span { color: var(--th-muted-light) !important; }
body.dark .ch-breadcrumb a { color: #c9ccd0 !important; text-decoration: underline !important; text-underline-offset: 2px; }
body:not(.dark) .ch-breadcrumb a { color: var(--th-ink-light) !important; text-decoration: underline !important; text-underline-offset: 2px; } body:not(.dark) .r34-section-link { color: #c4124a !important; }
body:not(.dark) .wp-pagenavi a, body:not(.dark) .wp-pagenavi span { color: var(--th-ink-light) !important; }
body:not(.dark) .r34-pill small { color: var(--th-ink-light) !important; } body:not(.dark) .th-bhs-item [style*="opacity"] { opacity: 1 !important; }
body:not(.dark) .th-bhs-item p, body:not(.dark) .th-bhs-item span { color: var(--th-muted-dark); }
body:not(.dark) .th-bhs-item a, body:not(.dark) .th-bhs-intro a { color: var(--th-link-dark); } body .title_all_info_subtext a { color: var(--th-muted-dark) !important; } .title_all_info_subtext .th-chip{display:inline-flex;flex-wrap:nowrap;align-items:stretch}
.th-read-jump{display:inline-flex;align-items:center;min-height:44px;margin:8px 0 4px;padding:0 18px;border-radius:8px;background:#ffc107;color:#1f1300!important;font-weight:600;font-size:15px;text-decoration:none}
.th-read-jump:hover,.th-read-jump:focus-visible{background:#ffd54f}