/* Hard to Watch public shell. These overrides do not load in wp-admin. */
html[data-theme=light] {
 --theme_color:#f3f6f7; --ac-bg:#f3f6f7; --header:#fff;
 --ac-text:#20333d; --ac-text-soft:#536772; --ac-text-muted:#536772;
 --ac-border:#d5dfe3; --ac-border-soft:#e2e9ec; --ac-surface-3:#fff;
 --htw-green:#12665e; --htw-green-soft:#e5f2ef;
}
/* Hidden features remain in source and can be restored without migration. */
.ac-mob-profile-wrap,#profile_menu,#ac-mob-theme-toggle,#ac-theme-toggle,
.ac-mob-user,.home .ac-trending-wrapper,.home .ac-trending-section,.home .ac-popular-series,
.ac-xp-exchange,.ac-store-stat:has(#ac-store-cookie-balance),.ac-store-stat:has(#ac-store-xp-balance),
.ac-pkg-value-row.is-bonus,#ac-header-cookie-balance,#ac-header-cookie-balance + span,
.ac-mob-bal:has(#ac-mob-cookies),#ac-sp-themes,.ac-sp-section:has(#ac-sp-themes),
a[href*="/profile/"],a[href$="/profile"],a[href*="/popular-series/"],a[href*="/trending/"] {display:none!important;}
a[href*="/user/"] {pointer-events:none;cursor:default;color:inherit!important;text-decoration:none!important;}
#main_header a:has(#ac-header-cookie-balance)>svg,
#main_header a:has(#ac-header-cookie-balance)>span[style] {display:none!important;}
#main_header {box-shadow:none!important;border-bottom:1px solid #d5dfe3!important;}
#main_header>div {padding:14px 24px;}
#main_header .ac-header-row {min-height:48px;gap:24px;}
#main_header .ac-header-left {gap:22px;}
#main_header .ac-header-logo {width:106px;min-width:106px;height:48px;}
#main_header .htw-wordmark {gap:4px;padding:0;}
#main_header .htw-wordmark>span {font-size:10px;letter-spacing:.17em;color:#536772;}
#main_header .htw-wordmark strong {font-size:23px;letter-spacing:-.045em;color:#12665e;}
#main_header .ac-main-nav-link {border-radius:6px;background:transparent;border:0;gap:8px;padding:10px 12px;}
#main_header .ac-main-nav-link:hover {background:#e5f2ef;color:#12665e;}
#main_header .htw-nav-icon {width:21px;height:21px;fill:none;}
#main_header .htw-nav-icon path,#main_header .htw-nav-icon circle {fill:none;}
#main_header .htw-nav-icon path[fill],#main_header .htw-nav-icon circle[fill] {fill:currentColor;}
#main_header .htw-session-link {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border-radius:6px;background:#12665e;color:#fff;font-size:13px;font-weight:650;white-space:nowrap;}
#main_header .htw-session-link:hover {background:#0c514b;}
#main_header .ac-header-right {gap:12px;}
#main_header .ac-header-search {background:#f3f6f7;border:1px solid #d5dfe3;border-radius:6px;}
.ac-mob-drawer {background:#fff!important;color:#20333d;}
.ac-mob-nav-item:hover {background:#e5f2ef!important;}
.home main {gap:32px;padding-top:28px;}
/* Book artwork anchors the featured shelf; text gets a clear reading column. */
.home .ac-hero-wrapper {--ac-hero-accent:#12665e;border:0;border-radius:12px;background:#fff;}
.home .ac-hero-panel {grid-template-columns:minmax(0,1fr) 235px;gap:64px;height:390px;padding:36px 64px;background:#fff;}
.home .ac-hero-cover-link {grid-column:2;grid-row:1;width:220px;transform:rotate(3deg);border-radius:8px;box-shadow:6px 6px 0 #dcece8;}
.home .ac-hero-cover {height:310px;aspect-ratio:auto;border:0;border-radius:8px;background-size:cover;}
.home .ac-hero-content {grid-column:1;grid-row:1;max-width:650px;align-items:flex-start;}
.home .ac-hero-title {font-size:clamp(26px,3vw,40px);line-height:1.12;font-weight:750;letter-spacing:-.035em;-webkit-line-clamp:3;color:#20333d;}
.home .ac-hero-genres {margin:16px 0 0;}
.home .ac-hero-genre {background:#e5f2ef!important;color:#12665e!important;border:0!important;border-radius:4px;padding:5px 9px;font-size:12px;}
.home .ac-hero-synopsis {font-size:15px;line-height:1.7;color:#536772;margin:16px 0 22px;-webkit-line-clamp:3;}
.home .ac-hero-read {background:#12665e!important;color:#fff!important;border:0;border-radius:6px;min-height:44px;padding:12px 20px;box-shadow:none!important;}
.home .ac-hero-read:hover {background:#0c514b!important;}
.home .ac-hero-nav {background:#eff5f4;border-top:0;padding:14px 28px;}
.home .ac-hero-thumb {border-radius:5px;opacity:.65;}
.home .ac-hero-thumb.is-active {opacity:1;border-color:#12665e!important;}
.home .ac-hero-progress {display:none!important;}
.home .ac-fp-cards {display:flex;gap:16px;}
.home .ac-fp-card {flex:1;background:#fff;border:1px solid #d5dfe3;border-radius:8px;padding:20px 24px;box-shadow:none;}
.home .ac-fp-card-bar {display:none;}
.home .ac-fp-card-title {font-size:17px;color:#20333d;}
.home .ac-fp-card-sub {font-size:13px;color:#536772;}
.home .ac-fp-btn {border:1px solid #12665e;border-radius:6px;min-height:44px;padding:10px 18px;background:#fff!important;color:#12665e!important;box-shadow:none;}
.home .ac-fp-btn:hover {background:#e5f2ef!important;}
:is(#main_header,.ac-hero-wrapper,.ac-fp-cards) :is(a,button):focus-visible {outline:3px solid #248b80;outline-offset:3px;}
@media(max-width:900px){
 .home .ac-hero-panel {grid-template-columns:minmax(0,1fr) 175px;gap:28px;padding:28px 32px;height:350px;}
 .home .ac-hero-cover-link {width:170px;}
 .home .ac-hero-cover {height:250px;}
 #main_header .ac-header-left {gap:12px;}
}
@media(max-width:600px){
 #main_header>div {padding:10px 16px;}
 #main_header .ac-header-row {gap:8px;}
 #main_header .ac-header-left {gap:10px;}
 #main_header .ac-header-logo {width:83px;min-width:83px;}
 #main_header .htw-wordmark strong {font-size:20px;}
 #main_header .htw-wordmark>span {font-size:8px;}
 #main_header .htw-session-link {min-height:40px;padding:9px 12px;font-size:12px;}
 #main_header .ac-header-right {gap:6px;}
 .home main {padding-top:16px;gap:24px;}
 .home .ac-hero-panel {grid-template-columns:minmax(0,1fr) 105px;align-items:start;gap:16px;padding:24px 20px;height:355px;}
 .home .ac-hero-cover-link {width:100px;margin-top:6px;}
 .home .ac-hero-cover {height:150px;}
 .home .ac-hero-content {display:contents;}
 .home .ac-hero-title {grid-column:1;grid-row:1;font-size:25px;line-height:1.15;align-self:start;margin:0;}
 .home .ac-hero-genres {display:none;}
 .home .ac-hero-synopsis {grid-column:1/-1;grid-row:2;margin:0;font-size:14px;-webkit-line-clamp:2;}
 .home .ac-hero-read {grid-column:1/-1;grid-row:3;justify-self:start;margin:0;}
 .home .ac-hero-nav {padding:12px 16px;}
 .home .ac-fp-card {padding:16px;gap:12px;}
 .home .ac-fp-card-title {font-size:15px;}
 .home .ac-fp-card-sub {font-size:12px;}
 .home .ac-fp-btn {padding:10px 12px;font-size:12px;}
 .home .ac-fp-cards {flex-direction:column;}
}
.home .ac-trending,#ac-sp h4:has(+ #ac-sp-themes) {display:none!important;}
.home .ac-hero-read {display:inline-flex!important;}
@media(max-width:639px){
 #main_header .ac-header-logo {display:flex!important;}
 #main_header .ac-header-left {flex:1;min-width:0;gap:8px;}
 #main_header #showPanelButtonMobile {width:40px;min-width:40px;flex:0 0 40px;margin-left:auto;}
 #main_header .ac-header-right {flex:none;}
 #main_header .ac-mob-hamburger {width:40px;min-width:40px;}
}
.home #report_modal>div {background:#fff;border:1px solid #d5dfe3;border-radius:10px;color:#20333d;box-shadow:none;}
.home #report_modal p,.home #report_modal label,.home #report_modal input {color:#536772;}
.home #report_modal :is(select,textarea) {background:#f9fbfc;border:1px solid #bacbd2;color:#20333d;}
.home #report_modal textarea::placeholder {color:#536772;}
.home #report_modal #close_report_modal {color:#536772;}
.home #report_modal #submit_report_btn {background:#12665e!important;color:#fff;}
.home #report_modal #submit_report_btn:hover {background:#0c514b!important;}
/* Quiet footer: a brand line, useful links, and a small legal row. */
#site-footer {background:#fff;border-top:1px solid #d5dfe3;margin-top:56px;}
#site-footer .ac-footer-body {max-width:1152px;margin:auto;padding:32px 24px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:32px;}
#site-footer .ac-footer-brand {padding:0;border:0;gap:8px;}
#site-footer .ac-footer-brand-name {font-size:20px;letter-spacing:-.035em;color:#12665e;font-weight:700;}
#site-footer .ac-footer-brand-tagline {color:#536772;font-size:12px;line-height:1.7;max-width:280px;}
#site-footer .ac-footer-brand-tagline-desktop {display:block;}
#site-footer .ac-footer-brand-tagline-mobile {display:none;}
#site-footer .ac-footer-col {display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0;border:0;}
#site-footer .ac-footer-col-label {font-size:13px;font-weight:600;color:#20333d;text-transform:none;letter-spacing:0;margin-bottom:4px;}
#site-footer .ac-footer-col a {min-height:32px;font-size:12px;color:#536772;}
#site-footer .ac-footer-col a:hover {color:#12665e;text-decoration:underline;}
#site-footer .ac-footer-bar {max-width:1104px;margin:auto;padding:16px 0 24px;background:transparent;border-top:1px solid #e2e9ec;color:#536772;gap:12px;}
#site-footer .ac-footer-bar-copy,#site-footer .ac-footer-credits {font-size:11px;white-space:normal;}
#site-footer .ac-footer-bar-copy strong,#site-footer .ac-footer-credits a {color:#536772;font-weight:500;}
#site-footer .ac-footer-credits svg {width:11px;height:11px;fill:#12665e;}
@media(max-width:640px){
 #site-footer {margin-top:36px;}
 #site-footer .ac-footer-body {grid-template-columns:1fr 1fr;padding:24px 20px 20px;gap:20px;}
 #site-footer .ac-footer-brand {grid-column:1/-1;}
 #site-footer .ac-footer-brand-name {font-size:18px;}
 #site-footer .ac-footer-col a {min-height:36px;}
 #site-footer .ac-footer-bar {margin:0 20px;padding:16px 0 20px;flex-direction:row;justify-content:space-between;align-items:center;text-align:left;flex-wrap:wrap;}
}
#site-footer .ac-footer-bar {width:auto;}

/* Hide the thumbnail navigation beneath the featured slide. */
.home .ac-hero-nav {display:none!important;}
/* Hide the mode controls, retaining existing content filtering. */
#ac-nsfw-toggle,#ac-mob-nsfw-toggle,
.ac-mob-nav:has(#ac-mob-nsfw-toggle),
.ac-mob-nav:has(#ac-mob-nsfw-toggle)+.ac-mob-divider {display:none!important;}
/* Recently Added: a steady cover grid with readable titles. */
.home .ac-ra-slider {overflow:visible;cursor:auto;user-select:auto;}
.home .ac-ra-track[data-layout=grid] {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:24px 16px;transform:none;will-change:auto;}
.home .ac-ra-card {width:auto;min-width:0;}
.home .ac-ra-card .ac-ra-cover {aspect-ratio:2/3;border-radius:6px;border:0;}
.home .ac-ra-card .ac-ra-meta {margin-top:9px;}
.home .ac-ra-card .ac-ra-title {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:13px;line-height:1.45;font-weight:600;color:#20333d;}
.home .ac-ra-card .ac-ra-text {gap:5px;}
.home .ac-ra-card .ac-ra-genres {font-size:11px;line-height:1.4;color:#536772;}
.home .ac-ra-card .ac-ra-badge--type {display:none!important;}
.home .ac-ra-card .ac-ra-badge--status {background:#12665e;backdrop-filter:none;border:0;border-radius:3px;font-size:9px;line-height:16px;padding:1px 5px;}
.home .ac-ra-card a:focus-visible {outline:3px solid #248b80;outline-offset:3px;}
@media(max-width:900px){.home .ac-ra-track[data-layout=grid] {grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:640px){
 .home .ac-ra-track[data-layout=grid] {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px;}
 .home .ac-ra-card .ac-ra-title {font-size:12px;line-height:1.4;}
 .home .ac-ra-card .ac-ra-genres {font-size:10px;line-height:1.4;}
 .home .ac-ra-card .ac-ra-meta {margin-top:7px;}
 .home .ac-ra-card .ac-ra-badges {top:5px;left:5px;}
 .home .ac-ra-card .ac-ra-badge--status {font-size:8px;line-height:14px;padding:1px 4px;}
}
