/* Yedyub: shared Takni/Jedyub dark UI, with the site's amber identity. */
:root{--manga-ui-accent:#f9b65b;--manga-ui-accent-strong:#e99832;--manga-ui-surface:#211d18;--manga-ui-surface-soft:#2b251e;--manga-ui-text:#faf3e9;--manga-ui-muted:#bfb3a3;--yb-line:#44382b}
html{background:#14120f!important}
body{color:var(--manga-ui-text)!important;background:radial-gradient(ellipse at 50% 0,rgba(249,182,91,.08),transparent 42rem),#14120f!important}
body .body-wrap,body .body-wrap>.wrap,body .site-content{background:transparent!important}
body .site-header .main-navigation.style-1{padding:14px 0!important;background:linear-gradient(120deg,#181510,#211d18)!important;border-bottom:1px solid var(--yb-line);box-shadow:0 10px 30px #0003}
body .site-header .main-navigation_wrap{display:flex!important;align-items:center;gap:24px;min-height:58px}
body .site-header .wrap_branding{flex:0 0 156px;width:156px!important;padding:0!important}
body .site-header .wrap_branding a{display:block}
body .site-header .wrap_branding img{width:auto!important;max-width:156px!important;max-height:62px!important;height:auto!important}
body .site-header .main-menu{flex:1;min-width:0;width:auto!important;padding:0!important}
body .site-header .main-menu ul.main-navbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;justify-content:flex-end}
body .site-header .main-menu ul.main-navbar>li>a{margin:0!important;padding:9px 12px!important;color:var(--manga-ui-text)!important;background:transparent;border-radius:8px;font-size:14px;font-weight:600;line-height:1.5;transition:background .15s,color .15s}
body .site-header .main-menu ul.main-navbar>li.current-menu-item>a,body .site-header .main-menu ul.main-navbar>li>a:hover{background:#f9b65b1c!important;color:var(--manga-ui-accent)!important}
body .site-header .main-menu ul.main-navbar>li>a:before{display:none!important}
body .site-header .main-menu ul.sub-menu{background:var(--manga-ui-surface)!important;border:1px solid var(--yb-line);border-radius:10px}
body .site-header .main-menu ul.sub-menu a{color:var(--manga-ui-text)!important}
body .site-header .search-navigation:empty,body .site-header .c-sub-header-nav.no-subnav{display:none!important}
/* Keep the existing search form and its native submission behavior. */
body .site-header .c-header__top{display:flex;flex-direction:column;background:transparent!important}
body .site-header .main-navigation{order:0}
body .site-header .c-header__top > .search-main-menu{order:1;display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;opacity:1!important;visibility:visible!important;transform:none!important;padding:12px 20px!important;margin:0!important;background:#191611!important;border-bottom:1px solid var(--yb-line);list-style:none}
body .site-header .c-header__top > .search-main-menu>li{display:block;max-width:720px;margin:0 auto;padding:0}
body .site-header #blog-post-search{display:flex!important;position:relative;gap:8px;width:100%;margin:0;padding:0}
body .site-header #blog-post-search input[type=text]{flex:1;min-width:0;width:100%!important;height:42px!important;margin:0!important;padding:0 15px!important;color:var(--manga-ui-text)!important;background:#2b251e!important;border:1px solid #55432e!important;border-radius:8px!important}
body .site-header #blog-post-search input[type=submit]{position:static!important;flex:0 0 auto;width:auto!important;height:42px!important;margin:0!important;padding:0 22px!important;background:var(--manga-ui-accent)!important;color:#24190b!important;border:0!important;border-radius:8px!important;font-size:14px!important;font-weight:700}
body .site-header input::placeholder{color:var(--manga-ui-muted)!important}
body .site-header .off-canvas{background:#211d18!important;color:var(--manga-ui-text)!important;border-right:1px solid var(--yb-line)}
body .off-canvas a{color:var(--manga-ui-text)!important}
body .site-header .menu_icon__open>span,body .site-header .menu_icon__close>span{background:var(--manga-ui-accent)!important}
body .c-page-content{padding-top:28px}
body .entry-header{margin:0 0 24px!important;padding:20px 24px!important;background:linear-gradient(110deg,#2b2319,#1c1915)!important;border:1px solid var(--yb-line)!important;border-left:4px solid var(--manga-ui-accent)!important;border-radius:12px}
body .entry-header .entry-title,body .entry-header .entry-header_wrap{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body .entry-header h1{margin:0!important;color:var(--manga-ui-text)!important;font-size:clamp(20px,2.3vw,30px)!important;font-weight:700;line-height:1.45!important;overflow-wrap:anywhere}
body .entry-header p{color:var(--manga-ui-muted)!important;line-height:1.8;margin:12px 0 0}
body .page-content-listing .page-item-detail{background:#211d18;border:1px solid #3c3227;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #0002;transition:border-color .15s,box-shadow .15s}
body .page-content-listing .page-item-detail:hover{border-color:#916a37;box-shadow:0 10px 28px #0004}
body .page-content-listing.item-big_thumbnail .item-thumb.video-block{border-radius:11px 11px 0 0!important;background:#171410}
body .page-content-listing.item-big_thumbnail .item-summary{padding:13px 14px 15px!important;background:transparent!important}
body .page-content-listing .post-title{margin:0!important;padding:0!important}
body .page-content-listing .post-title h2{margin:0!important;font-size:16px!important;line-height:1.55!important}
body .page-content-listing .post-title a,body .widget .post-title a{color:var(--manga-ui-text)!important}
body .page-content-listing .post-title a:hover,body .widget .post-title a:hover{color:var(--manga-ui-accent)!important}
body .video-block .video-status,body .tab-thumb .video-status{color:#ffd698!important;background:rgba(26,20,13,.94)!important;border:1px solid #a2753d!important;border-radius:6px;box-shadow:0 2px 8px #0004;font-size:12px}
/* Match Takni/Jedyub pagination geometry with Yedyub's amber palette. */
body .wp-pagenavi{float:none!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:42px 0 0!important;padding:12px!important;background:var(--manga-ui-surface);border:1px solid #f9b65b47;border-radius:16px;box-shadow:0 14px 35px #00000047}
body .wp-pagenavi a,body .wp-pagenavi span{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;height:40px;min-height:40px;margin:0!important;padding:0 12px!important;color:var(--manga-ui-text)!important;background:var(--manga-ui-surface-soft)!important;border:1px solid #ffffff12!important;border-radius:10px;font-weight:700;line-height:1;text-decoration:none!important;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}
body .wp-pagenavi .current,body .wp-pagenavi a:hover{color:#24190b!important;background:linear-gradient(135deg,var(--manga-ui-accent),var(--manga-ui-accent-strong))!important;border-color:transparent!important;box-shadow:0 8px 20px #e9983252}
body .wp-pagenavi a:hover{transform:translateY(-2px)}
body .wp-pagenavi span.pages,body .wp-pagenavi span.extend{min-width:auto;color:var(--manga-ui-muted)!important;background:transparent!important;border-color:transparent!important;box-shadow:none}
@media(max-width:600px){body .wp-pagenavi{gap:6px;padding:10px!important;border-radius:14px}body .wp-pagenavi a,body .wp-pagenavi span{min-width:36px;height:36px;min-height:36px;padding:0 10px!important}}
body .c-blog__heading,body .widget-heading{color:var(--manga-ui-text)!important;border-color:var(--yb-line)!important}
body .c-blog__heading h4,body .widget-heading h4{color:var(--manga-ui-text)!important}
body.manga-page .profile-manga{background:transparent!important}
body.manga-page .profile-manga .tab-summary,body .search-wrap .row.c-tabs-item__content{padding:22px!important;background:#211d18!important;border:1px solid var(--yb-line);border-radius:12px;margin-bottom:20px}
body .summary_content,body .video-title{color:var(--manga-ui-text)!important;background:#211d18!important;border-color:var(--yb-line)!important;border-radius:10px}
body .post-content,body .summary-content,body .post-content_item{min-width:0;color:var(--manga-ui-muted)!important}
body .post-content a,body .summary-content a{overflow-wrap:anywhere}
body .genres-content a,body .tags-content a,body .content-tags a,body .tag-color{color:#f7d8af!important;background:#342a1e!important;border:1px solid #665034!important;border-radius:6px!important;padding:5px 10px!important;height:auto!important;white-space:normal!important}
body .genres-content a:hover,body .tags-content a:hover,body .content-tags a:hover{color:#24190b!important;background:var(--manga-ui-accent)!important}
body .site-footer{margin-top:28px;background:#100f0c!important;color:var(--manga-ui-muted)!important;border-top:1px solid #8c6634!important;box-shadow:none!important}
body .site-footer .top-footer,body .site-footer .bottom-footer,body .site-footer .c-footer-sidebar{background:transparent!important;border-color:var(--yb-line)!important}
body .site-footer a{color:#d5be9f!important}
body .site-footer a:hover{color:var(--manga-ui-accent)!important}
body .site-footer p{color:var(--manga-ui-muted)!important}
body .site-header a:focus-visible,body .site-header button:focus-visible,body .wp-pagenavi a:focus-visible,body .page-item-detail a:focus-visible{outline:2px solid var(--manga-ui-accent)!important;outline-offset:3px}
@media(min-width:992px){body .site-header .c-togle__menu{display:none!important}}
@media(max-width:991.98px){body .site-header .main-menu{display:none!important}body .site-header .main-navigation.style-1{padding:10px 0!important}body .site-header .main-navigation_wrap{position:relative;justify-content:center;min-height:48px}body .site-header .wrap_branding{flex-basis:128px;width:128px!important}body .site-header .wrap_branding img{max-width:128px!important;max-height:48px!important}body .site-header .c-togle__menu{display:block!important;position:absolute;left:0;top:50%;transform:translateY(-50%)}body .site-header .menu_icon__open{width:40px;height:40px;border:1px solid #665034;border-radius:8px;background:#2b251e;padding:9px}body .site-header .c-header__top > .search-main-menu{padding:10px 15px!important}}
@media(max-width:767.98px){body .c-page-content{padding-top:20px}body .entry-header{padding:16px!important;margin-bottom:20px!important}body .page-content-listing .post-title h2{font-size:15px!important}body.manga-page .profile-manga .tab-summary{padding:15px!important}body .site-header #blog-post-search input[type=submit]{padding:0 14px!important}}
@media(prefers-reduced-motion:reduce){body .site-header *,body .page-item-detail,body .wp-pagenavi *{transition:none!important}}
body .site-header .c-header__top > .search-main-menu>li{position:static!important;float:none!important;width:100%!important;height:auto!important;transform:none!important}
body .site-header #blog-post-search{height:42px!important;min-height:42px!important;top:auto!important;bottom:auto!important}
body .site-header .wrap_branding .logo{width:100%!important;height:auto!important;padding:0!important}
body .site-header .main-navigation_wrap{padding:0!important}
body .site-header .menu_icon__open>span{width:20px!important;margin-left:0!important;margin-right:0!important}

/* Only the top-level search form is shown; keep the native widget script for autocomplete. */
body .site-header .main-navigation .search-navigation{display:none!important}
body .site-header .c-header__top > .search-main-menu{box-sizing:border-box;max-width:100%;z-index:20}
body .site-header #blog-post-search{box-sizing:border-box;max-width:100%}
body .site-header #blog-post-search .ui-autocomplete{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;max-height:320px;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;margin:0;padding:6px;background:#211d18!important;border:1px solid #665034!important;border-radius:8px;z-index:1000;color:#faf3e9!important}
body .site-header #blog-post-search .ui-autocomplete li{display:block!important;float:none!important;white-space:normal!important;overflow-wrap:anywhere;background:transparent!important;color:#faf3e9!important}
body .site-header #blog-post-search .ui-autocomplete li>div{padding:10px!important;white-space:normal!important;color:#faf3e9!important}
body .site-header #blog-post-search .ui-autocomplete .ui-state-active{background:#342a1e!important;border-color:transparent!important;color:#f9b65b!important}
/* Compact home heading and four desktop videos; tablet/phone sizing stays large. */
body.home .entry-header h1{font-size:20px!important;line-height:1.5!important}
body.home .entry-header{padding:15px 20px!important}
@media(min-width:1200px){body .page-content-listing.item-big_thumbnail .row.no-gutters > [class*="badge-pos-"]{flex-basis:25%!important;width:25%!important;max-width:25%!important}}
/* Progressive enhancement: search remains visible if JavaScript is unavailable. */
html.yb-js .site-header .c-header__top > .search-main-menu,body .site-header.yb-search-ready .c-header__top > .search-main-menu{display:none!important}
body .site-header.yb-search-ready.yb-search-open .c-header__top > .search-main-menu{display:block!important}
body .site-header .yb-search-toggle{display:inline-flex;flex:0 0 40px;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin:0;background:#2b251e;border:1px solid #665034;border-radius:8px;color:#f9b65b;cursor:pointer}
body .site-header .yb-search-toggle svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
body .site-header .yb-search-toggle:hover,body .site-header .yb-search-toggle[aria-expanded=true]{background:#44331d}
body .site-header .menu_icon__open{position:relative!important;display:block!important;width:40px!important;height:40px!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
body .site-header .menu_icon__open>span{position:absolute!important;left:9px!important;width:20px!important;height:2px!important;margin:0!important;transform:none!important;border-radius:2px}
body .site-header .menu_icon__open>span:nth-child(1){top:12px!important}
body .site-header .menu_icon__open>span:nth-child(2){top:19px!important}
body .site-header .menu_icon__open>span:nth-child(3){top:26px!important}
@media(max-width:991.98px){body .site-header .yb-search-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%)}body .site-header .main-navigation_wrap{min-height:48px!important}body .site-header .c-togle__menu{height:40px!important;margin:0!important;padding:0!important}body .site-header .wrap_branding{margin:0 auto!important}}
@media(max-width:767.98px){body.home .entry-header h1{font-size:18px!important}}
body .site-header .yb-search-toggle{position:relative}
body .site-header .yb-search-toggle svg{position:absolute!important;left:50%!important;top:50%!important;width:21px!important;height:21px!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important}
@media(max-width:991.98px){body .site-header .yb-search-toggle{position:absolute}}

/* Compact banner spacing; separate the video details from the player. */
body .c-sidebar.c-top-sidebar.wp-manga{padding-top:12px!important;padding-bottom:12px!important}
body .c-sidebar.c-top-sidebar.wp-manga .widget:last-child{margin-bottom:0!important}
body .c-sidebar.c-top-sidebar.wp-manga .cat-ban{margin-top:0!important;margin-bottom:0!important}
body.home .c-page-content{padding-top:12px}
body.home .c-page-content>.content-area{margin-top:0}
body.manga-page .profile-manga .tab-summary{margin-top:16px!important}

/* Takni/Jedyub result cards, using Yedyub's amber palette. */
body .site-header #blog-post-search .manga-autocomplete{border-radius:10px!important;box-shadow:0 16px 34px #0006}
body .site-header #blog-post-search .manga-autocomplete>li.search-item{min-height:0!important;padding:0!important;border:0!important;border-bottom:1px solid #f9b65b1a!important}
body .site-header #blog-post-search .manga-autocomplete>li.search-item:last-child{border-bottom:0!important}
body .site-header #blog-post-search .manga-autocomplete>li.search-item>.manga-search-result{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;margin:0!important;padding:8px 10px!important;color:var(--manga-ui-text)!important;background:transparent!important;border:0!important;text-align:left!important;box-sizing:border-box;text-decoration:none}
body .site-header #blog-post-search .manga-autocomplete>li.search-item>.manga-search-result:hover,body .site-header #blog-post-search .manga-autocomplete>li.search-item>.manga-search-result.ui-state-active{background:#f9b65b1a!important}
body .site-header #blog-post-search .manga-search-result:before{display:none!important;content:none!important}
body .site-header #blog-post-search .manga-search-result-thumb{display:block!important;width:42px!important;height:42px!important;max-width:42px!important;object-fit:cover!important;border:1px solid #ffffff1f!important;border-radius:50%!important;background:#f9b65b2e!important;margin:0!important}
body .site-header #blog-post-search .manga-search-result-copy{display:block!important;min-width:0!important;overflow:hidden!important}
body .site-header #blog-post-search .manga-search-result-title{display:block!important;overflow:hidden!important;color:var(--manga-ui-text)!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body .site-header #blog-post-search .manga-search-result-category{display:block!important;overflow:hidden!important;margin-top:3px!important;color:var(--manga-ui-accent)!important;font-size:12px!important;line-height:1.25!important;text-overflow:ellipsis!important;white-space:nowrap!important}
