/*
Theme Name: ManhwaToon.me Reader Child
Description: Dark reader design for ManhwaToon.me, built for the uploaded Madara 1.7.3.12 parent.
Author: ManhwaToon.me
Template: madara
Version: 1.2.28
Text Domain: manhwatoons-child
*/
:root{--mt-bg:#08090b;--mt-panel:#14161c;--mt-line:#292c35;--mt-text:#e9eaf0;--mt-muted:#979ba6;--mt-accent:#47ccec;--mt-blue:#007baa;--mt-purple:#8150ff}html{scroll-behavior:smooth}body{background:var(--mt-bg)!important;color:var(--mt-text)!important;font-family:Arial,Helvetica,sans-serif!important;padding-top:68px}body a{color:inherit}body a:hover{color:var(--mt-accent)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mt-accent);outline-offset:4px}.site-header{display:none!important}.site-content,.body-wrap,.wrap,.c-page-content,.content-area,.c-page,.c-page__content{background:transparent!important}.mt-header{position:fixed;inset:0 0 auto;z-index:1000;background:rgba(8,9,11,.97);border-bottom:1px solid #292334;height:68px}.mt-header-inner{max-width:1380px;margin:auto;height:100%;padding:0 28px;display:flex;align-items:center;gap:28px}.mt-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;white-space:nowrap;color:#e9f8ff!important;text-decoration:none}.mt-brand span{background:linear-gradient(100deg,#f4faff 35%,#23b8e0);background-clip:text;-webkit-background-clip:text;color:transparent}.mt-logo{width:42px;height:42px;object-fit:contain;border-radius:50%}#mt-nav{margin:auto}.mt-menu{display:flex;list-style:none;gap:2px;padding:4px!important;margin:0!important;background:#161616;border:1px solid #2b2b2b;border-radius:30px}.mt-menu a{display:block;padding:8px 16px;font-size:13px;font-weight:700;white-space:nowrap;color:#bdbdc4;border-radius:22px;text-decoration:none}.mt-menu a:hover,.mt-menu .current-menu-item a{background:#303034;color:white}.mt-header-actions{display:flex;gap:18px}.mt-header-actions button,.mt-header-actions a,.mt-menu-toggle{background:none;border:0;color:white;font-size:25px;padding:4px;line-height:1.2}.mt-menu-toggle{display:none}.mt-skip{position:fixed;top:-100px;left:20px;z-index:5000;background:#fff;color:#000;padding:12px}.mt-skip:focus{top:10px}.mt-home{color:var(--mt-text)}.mt-hero{position:relative;min-height:380px;overflow:hidden;background:#111016}.mt-slide{position:relative;min-height:380px}.mt-slide[hidden]{display:none}.mt-hero-bg{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;filter:blur(18px);opacity:.27;transform:scale(1.1)}.mt-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.4),rgba(8,9,11,.1),rgba(8,9,11,.6))}.mt-hero-inner{position:relative;z-index:1;max-width:1280px;margin:auto;padding:35px 28px;display:flex;align-items:center;justify-content:space-between;gap:60px;min-height:380px}.mt-hero-copy{border-left:2px solid var(--mt-accent);padding:0 0 0 20px;max-width:800px}.mt-kicker{display:inline-block;background:#0076a8;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:800}.mt-hero h1{color:white;font-size:34px;font-weight:800;line-height:1.18;margin:16px 0}.mt-hero p{font-size:14px;line-height:1.7;max-width:630px;color:#ddd}.mt-tags{display:flex;flex-wrap:wrap;gap:6px;max-height:58px;overflow:hidden}.mt-tags a{font-size:10px;background:#ffffff1a;border-radius:15px;padding:3px 9px;color:#eee}.mt-hero-cover{flex:0 0 225px}.mt-hero-cover img{width:225px;height:310px;object-fit:cover;border-radius:9px}.mt-hero-buttons{display:flex;gap:12px;margin-top:18px}.mt-button{display:inline-block;border:1px solid var(--mt-accent);background:#0076a5;color:white!important;font-weight:700;padding:10px 22px;border-radius:6px;text-decoration:none;font-size:13px}.mt-outline{background:transparent;border-color:#888}.mt-dots{position:absolute;bottom:12px;left:50%;display:flex;gap:7px;z-index:2;transform:translateX(-50%)}.mt-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#777}.mt-dots button[aria-pressed=true]{background:var(--mt-accent)}.mt-home-content{max-width:1280px;margin:auto;padding:0 28px 50px}.mt-section{margin:38px 0 55px}.mt-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.mt-section-head h2{font-size:20px;font-weight:800;color:var(--mt-text);margin:0}.mt-section-head h2>span{display:inline-flex;align-items:center;justify-content:center;background:#133e4b;border-radius:8px;width:27px;height:27px;margin-right:8px;font-size:17px}.mt-section-head>a,.mt-section-head>span{font-size:12px;color:var(--mt-accent)}.mt-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 108px)/10);gap:12px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#263c44 transparent}.mt-card{min-width:0;scroll-snap-align:start}.mt-cover{display:block;position:relative;aspect-ratio:2/2.85;overflow:hidden;background:#171c23;border:1px solid #26323a;border-radius:6px}.mt-cover img{height:100%;width:100%;object-fit:cover;transition:transform .25s}.mt-cover:hover img{transform:scale(1.04)}.mt-no-cover{height:100%;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;font-size:13px}.mt-card h3{font-size:12px;font-weight:700;line-height:1.4;margin:8px 0;color:var(--mt-text)}.mt-card h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none}.mt-card small{font-size:10px;color:var(--mt-muted)}.mt-rank,.mt-new{position:absolute;top:5px;left:5px;font-size:10px;font-weight:800;background:#007fa8;color:#fff;padding:1px 6px;border-radius:4px}.mt-rank{background:#151820b8}.mt-updates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 14px}.mt-updates .mt-card h3{font-size:14px}.mt-chapter{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #20232a;font-size:11px;text-decoration:none;color:#c8cad2}.mt-chapter span{font-size:10px;color:var(--mt-muted)}.mt-view-switch{display:flex;padding:3px;border:1px solid #283139;border-radius:7px;background:#131519}.mt-view-switch button{background:transparent;border:0;color:#93959d;font-size:11px;padding:5px 12px;border-radius:5px}.mt-view-switch button[aria-pressed=true]{background:var(--mt-accent);color:#06151d}.mt-updates[data-view=detailed]{grid-template-columns:repeat(3,minmax(0,1fr))}.mt-updates[data-view=detailed] .mt-card,.mt-updates[data-view=list] .mt-card{display:flex;gap:14px;align-items:start}.mt-updates[data-view=detailed] .mt-cover{width:90px;flex:none}.mt-card-info{min-width:0;width:100%}.mt-updates[data-view=list]{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-updates[data-view=list] .mt-cover{width:50px;flex:none}.mt-updates[data-view=list] .mt-chapter{display:inline-flex;margin-right:12px}.mt-pagination>ul.page-numbers{display:flex;justify-content:center;gap:7px;list-style:none;padding:0;margin:28px 0}.mt-pagination a,.mt-pagination span.current,.mt-pagination span.dots{display:block;padding:5px 11px;border:1px solid #26333b;border-radius:4px;font-size:12px;color:var(--mt-accent)}.mt-pagination span.current{background:#0076a5;color:white}.mt-ranking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 70px}.mt-ranking-item{display:flex;align-items:center;gap:13px;text-decoration:none;min-width:0}.mt-ranking-item>b{background:#173e4d;color:var(--mt-accent);border-radius:6px;padding:1px 7px;font-size:12px}.mt-ranking-item img{width:45px;height:64px;object-fit:cover;border-radius:4px}.mt-ranking-item strong{display:block;font-size:12px;color:var(--mt-text)}.mt-ranking-item small{display:block;font-size:10px;color:var(--mt-muted);margin-top:4px}.mt-dialog{padding:38px 32px;width:min(440px,calc(100% - 30px));max-height:90dvh;overflow:auto;color:var(--mt-text);background:linear-gradient(150deg,#17181f,#0c0d12);border:1px solid #35343e;border-radius:24px;box-shadow:0 25px 100px #000a}.mt-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.mt-dialog h2{font-size:27px;font-weight:800;color:white;margin:16px 0 6px}.mt-dialog input:not([type=checkbox]):not([type=submit]){width:100%;padding:13px 14px;color:#eee;background:#1e1f26;border:1px solid #383a45;border-radius:12px;min-height:46px}.mt-dialog label{display:block;font-size:12px;font-weight:700;margin-bottom:10px}.mt-dialog p{color:#989ba6;font-size:13px}.mt-dialog input[type=submit]{background:var(--mt-purple);color:white;border:0;border-radius:25px;padding:12px 30px;font-weight:700}.mt-dialog form{margin-top:24px}.mt-dialog form>p{margin-bottom:22px}.mt-dialog .login-remember label{display:flex;align-items:center;gap:8px}.mt-dialog .mt-button{margin-top:18px}.mt-close{position:absolute;right:14px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff0c;color:#bbb;font-size:28px;line-height:25px}.mt-auth{text-align:center}.mt-auth-brand{display:flex;align-items:center;justify-content:center;gap:9px;font-size:18px;font-weight:800;color:var(--mt-accent)}.mt-auth form{text-align:left;padding:24px;border:1px solid #282a34;border-radius:19px}.mt-auth-tabs{display:flex;background:#202129;border-radius:12px;padding:5px;margin-top:20px}.mt-auth-tabs>*{flex:1;padding:9px;font-size:13px;font-weight:700}.mt-auth-tabs>span{background:var(--mt-purple);border-radius:9px;color:white}.mt-auth a{color:#a47bff}.mt-forgot{font-size:12px}.site-footer{background:#0c0d10!important;border-top:1px solid var(--mt-line);color:var(--mt-muted)}.site-footer .bottom-footer{padding:25px!important}.site-footer a{color:var(--mt-accent)}
/* Restyle native Madara templates; retain its data and action hooks. */
body .profile-manga{background:linear-gradient(150deg,#231c24,#111319 70%)!important;padding:30px 0!important}body .profile-manga .post-title h1,body .post-title h1{color:#f2f2f5;font-size:29px;font-weight:800}body .profile-manga .summary_image{background:transparent;padding:0;width:210px}body .profile-manga .summary_image img{border-radius:8px}body .profile-manga .tab-summary{background:transparent;padding:15px 0}body .profile-manga .summary_content{background:transparent!important;color:#bfc2cc}body .profile-manga .summary-heading h5,body .profile-manga .post-content_item .summary-content{color:#d5d7df}body .profile-manga .post-content_item a{color:var(--mt-accent)}body .profile-manga .summary-content a{display:inline-block;font-size:12px}body .profile-manga .post-status{border-color:#34343c}body .c-btn,body .c-btn.c-btn_style-1{background:var(--mt-blue);border-radius:6px;color:white}body .c-blog__heading,body .c-blog__heading h2,body .c-blog__heading h3,body .c-blog__heading h4,body .widget-title,body .widget-title h4{color:#e9eaf0!important;border-color:#30323b!important}body .description-summary,body .summary__content{color:#c4c7d0}body .listing-chapters_wrap{background:#101216;border:1px solid #292c34;border-radius:8px;padding:16px}body .listing-chapters_wrap ul.main li{border-color:#252831}body .listing-chapters_wrap a{color:#d3d8e1}body .listing-chapters_wrap a:hover{color:var(--mt-accent)}body .chapter-release-date{color:#7f8490}body .c-tabs-item__content,body .c-tabs-item__content .post-title h3,body .tab-wrap .c-blog__heading{color:#ddd}body .c-tabs-item__content .c-tabs-item__title a{color:#ddd}body .c-tabs-item__content .summary-content{color:#a0a5b2}body .c-tabs-item__content .c-tabs-item__title{border-color:#262a33}body .c-tabs-item{background:transparent!important}body .c-sidebar{color:#ddd}body #comments{background:#101217;padding:24px;border-radius:10px;color:#ccc}body #comments h2,body #comments h3,body #comments h4{color:#ddd}body #comments textarea,body #comments input:not([type=submit]){background:#191c24;color:#ddd;border:1px solid #333744;border-radius:8px}body .c-breadcrumb .breadcrumb a,body .c-breadcrumb .breadcrumb{color:#9ca2ad}body select{background:#171a21;color:#ddd;border-color:#373c49}.mt-reader-tools{position:fixed;right:14px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;padding:8px;background:#11141a;border:1px solid #2b303a;border-radius:18px;z-index:990}.mt-reader-tools>*{display:flex;align-items:center;justify-content:center;width:36px;height:42px;background:none;color:var(--mt-accent);border:0;font-size:23px;text-decoration:none}body:has(.reading-content){background:#000!important}body .reading-content{max-width:760px;margin:0 auto!important;padding:0!important;background:#000}body .reading-content img{max-width:100%!important;height:auto}body .reading-content .page-break{margin:0!important;padding:0!important}body.mt-wide .reading-content{max-width:1100px}body:has(.reading-content) .c-page-content{padding-top:0}body:has(.reading-content) .reading-content-wrap .container{max-width:none}body:has(.reading-content) .reading-content-wrap .main-col{width:100%;max-width:100%;flex:0 0 100%}body:has(.reading-content) .reading-content-wrap .sidebar-col{display:none}body:has(.reading-content) .text-left{color:#aaa}
@media(min-width:1200px){body.single-wp-manga:not(:has(.reading-content)) .container{max-width:1060px}}
@media(max-width:1100px){.mt-menu a{padding:8px 10px;font-size:12px}.mt-header-inner{gap:14px}.mt-brand{font-size:20px}.mt-rail{grid-auto-columns:calc((100% - 72px)/7)}.mt-hero h1{font-size:29px}}
@media(max-width:800px){body{padding-top:60px}.mt-header{height:60px}.mt-header-inner{padding:0 18px}.mt-brand{margin-right:auto}.mt-logo{width:34px;height:34px}.mt-menu-toggle{display:block;order:3}#mt-nav{display:none;position:absolute;top:59px;left:0;right:0;background:#101115;padding:15px;border-bottom:1px solid #30323a}#mt-nav.is-open{display:block}.mt-menu{border:0;border-radius:0;flex-wrap:wrap;background:none}.mt-menu a{padding:10px 14px}.mt-header-actions{gap:16px}.mt-hero-inner{min-height:330px;padding:30px 22px;gap:20px}.mt-slide,.mt-hero{min-height:330px}.mt-hero-cover{flex-basis:150px}.mt-hero-cover img{width:150px;height:215px}.mt-hero h1{font-size:25px}.mt-hero p{font-size:12px}.mt-home-content{padding:0 20px 35px}.mt-updates{grid-template-columns:repeat(3,minmax(0,1fr))}.mt-rail{grid-auto-columns:calc((100% - 48px)/5)}.mt-updates[data-view=detailed]{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-ranking{gap:20px}.mt-reader-tools{right:5px;padding:4px}.mt-reader-tools>*{width:28px;height:36px;font-size:20px}.mt-dialog{padding:30px 22px}body .profile-manga .summary_image{width:160px}}
@media(max-width:480px){.mt-brand{font-size:18px}.mt-hero-inner{padding:25px 18px;gap:12px;min-height:310px}.mt-hero,.mt-slide{min-height:310px}.mt-hero-cover{flex-basis:105px}.mt-hero-cover img{width:105px;height:155px}.mt-hero-copy{padding-left:12px}.mt-hero h1{font-size:21px}.mt-hero p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.mt-tags{display:none}.mt-hero-buttons{gap:8px;flex-wrap:wrap}.mt-button{padding:8px 12px;font-size:11px}.mt-home-content{padding-left:14px;padding-right:14px}.mt-section-head h2{font-size:17px}.mt-section-head{gap:8px}.mt-view-switch button{padding:4px 7px;font-size:10px}.mt-updates{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px}.mt-rail{grid-auto-columns:calc((100% - 30px)/3.4);gap:10px}.mt-updates[data-view=detailed],.mt-updates[data-view=list]{grid-template-columns:1fr}.mt-ranking{grid-template-columns:1fr}.mt-reader-tools{top:auto;bottom:12px;left:50%;right:auto;transform:translateX(-50%);flex-direction:row;border-radius:15px}.mt-reader-tools>*{width:37px;height:36px}.mt-dialog h2{font-size:23px}body .profile-manga .post-title h1{font-size:23px}body #comments{padding:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Compact searchable series overlay. */
#mt-search.mt-search-dialog{width:min(560px,calc(100% - 28px));height:min(840px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border-radius:18px;background:#111;overflow:hidden;color:#eee;margin:24px auto auto;box-shadow:0 25px 110px #000b}
#mt-search[open]{display:flex;flex-direction:column}#mt-search .mt-search-bar{margin:0;padding:16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #242424;flex:none}#mt-search .mt-search-bar>span{color:#8d9199;font-size:26px}#mt-search #mt-search-input{min-width:0;flex:1;width:auto;margin:0;background:#111;border:1px solid #747474;border-radius:0;padding:10px 13px;height:40px;min-height:40px;font-size:14px;color:#eee}#mt-search #mt-search-input::placeholder{color:#818181}#mt-search .mt-search-submit{background:#40c7df;color:#07151c;border:0;border-radius:9px;min-width:38px;height:38px;font-size:25px;line-height:1;padding:0}#mt-search .mt-search-esc{border:1px solid #333;border-radius:4px;background:#202020;color:#999;font-size:11px;line-height:1;padding:5px 8px}#mt-search .mt-search-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:12px 16px 16px;scrollbar-width:thin;scrollbar-color:#626262 #191919;overscroll-behavior:contain}#mt-search h2{font-size:11px;letter-spacing:.5px;font-weight:800;margin:0 0 11px;line-height:1.5}#mt-search h2 span{color:#a15bff;margin-right:6px}#mt-search .mt-search-row{display:flex;align-items:center;gap:12px;min-width:0;padding:7px 0 9px;text-decoration:none;border-radius:6px}#mt-search .mt-search-row:hover{background:#1b1c20}#mt-search .mt-search-rank{width:12px;flex:0 0 12px;color:#777;font-size:14px}#mt-search .mt-search-row img,#mt-search .mt-search-placeholder{height:56px;width:42px;flex:0 0 42px;object-fit:cover;border-radius:4px;background:#252630}#mt-search .mt-search-placeholder{display:grid;place-items:center;color:#999}#mt-search .mt-search-info{min-width:0;flex:1}#mt-search strong{display:block;color:#eee;font-size:13px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}#mt-search small{display:block;margin-top:6px;color:#888;font-size:12px;font-weight:600}#mt-search em{color:#f8b900;font-style:normal;margin-left:8px;font-weight:400}#mt-search .mt-search-browse{flex:none;display:block;text-align:center;background:#191919;border-top:1px solid #292929;padding:15px;font-size:13px;font-weight:700;text-decoration:none;color:#eee}#mt-search-status{font-size:12px;color:#aaa}#mt-search-status:not(:empty){padding:12px 0}#mt-search-results[aria-busy=true]{opacity:.5}@media(max-width:480px){#mt-search.mt-search-dialog{margin-top:12px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}#mt-search .mt-search-bar{padding:12px;gap:7px}#mt-search .mt-search-bar>span{display:none}#mt-search #mt-search-input{font-size:13px;padding:9px}#mt-search .mt-search-scroll{padding:12px}#mt-search strong{font-size:12px}}
#mt-search .mt-advanced-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;background:#1b1e25;border:1px solid #30353f;border-radius:8px;color:#69d5ed;font-size:12px;font-weight:700;margin-bottom:14px}#mt-search .mt-advanced{margin:0 0 18px;padding:14px;background:#17191f;border:1px solid #2b3039;border-radius:10px}#mt-search .mt-advanced[hidden]{display:none}#mt-search .mt-advanced-note{font-size:11px;color:#a4a9b4;margin:0 0 14px;line-height:1.5}#mt-search .mt-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#mt-search .mt-filter-grid label{margin:0;font-size:11px;color:#c6cbd3}#mt-search .mt-filter-grid select,#mt-search .mt-filter-grid input{display:block;margin-top:6px;width:100%;min-width:0;min-height:38px;height:38px;padding:7px 9px;border-radius:6px;border:1px solid #3a3d48;background:#111318;color:#e4e7ed;font-size:12px}#mt-search .mt-advanced-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px}#mt-search .mt-advanced-actions .mt-button{margin:0;padding:9px 14px;font-size:12px}#mt-search .mt-filter-reset{background:none;border:0;color:#aaa;font-size:11px;padding:7px 0}@media(max-width:360px){#mt-search .mt-filter-grid{grid-template-columns:1fr}}
.mt-bottom-nav,.mt-drawer-title,.mt-drawer-backdrop{display:none}
@media(max-width:800px){
body{padding-bottom:88px}.mt-header{z-index:1100}.mt-menu-open{overflow:hidden}.mt-header-inner{gap:20px}.mt-header-actions{gap:20px}.mt-menu-toggle{font-size:26px}.mt-drawer-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;background:#0009;border:0;z-index:1101;cursor:default}
#mt-nav{display:none;position:fixed;inset:0 auto 0 0;width:min(320px,88vw);height:100dvh;padding:0 12px 25px;background:#1b1a2d;overflow:auto;border:0;z-index:1102;margin:0;box-shadow:20px 0 60px #0008}#mt-nav.is-open{display:block}.mt-drawer-title{display:flex;align-items:center;justify-content:space-between;padding:18px 10px;margin-bottom:12px;border-bottom:1px solid #ffffff12;color:#fff}.mt-drawer-title strong{font-size:18px}.mt-drawer-close{background:none;border:0;color:#9c9aaa;font-size:30px;padding:0 8px}.mt-menu{display:flex;flex-direction:column;gap:6px;padding:0!important;border:0;background:none;border-radius:0}.mt-menu li{width:100%;list-style:none}.mt-menu a{font-size:15px;padding:14px;border-radius:9px;color:#efeff6;white-space:normal}.mt-menu a:hover,.mt-menu .current-menu-item a{background:#7626de;color:white}
.mt-bottom-nav{position:fixed;z-index:1050;display:flex;justify-content:space-around;align-items:center;bottom:max(10px,env(safe-area-inset-bottom));left:12px;right:12px;max-width:480px;margin:auto;height:64px;border:1px solid #282a30;border-radius:21px;background:#0c0e10f5;box-shadow:0 8px 30px #0008;backdrop-filter:blur(12px)}.mt-bottom-nav>a,.mt-bottom-nav>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 2px;background:none;border:0;color:#848991;font-size:10px;font-weight:700;text-decoration:none}.mt-bottom-nav span{font-size:25px;line-height:28px;font-weight:400}.mt-bottom-nav [aria-current=page],.mt-bottom-nav a:hover,.mt-bottom-nav button:hover{color:#42d7f3}.mt-bottom-nav [aria-current=page] span{text-shadow:0 0 14px #17cbe4}
.mt-hero{margin:10px 8px 0;border-radius:18px;min-height:440px}.mt-slide{min-height:440px}.mt-hero-inner{flex-direction:column-reverse;justify-content:center;gap:16px;min-height:440px;padding:44px 22px 48px}.mt-hero-cover{flex:none}.mt-hero-cover img{width:155px;height:210px;object-fit:cover;border:2px solid #43d3ef;box-shadow:0 0 20px #25c5ed44;border-radius:12px}.mt-hero-copy{border:0;padding:0;text-align:center;width:100%}.mt-kicker{position:absolute;top:16px;left:15px;background:none;border-radius:0;padding:0;font-size:10px;letter-spacing:1px}.mt-hero h1{font-size:23px;line-height:1.3;margin:3px 0 20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mt-hero p,.mt-hero .mt-tags{display:none}.mt-hero-buttons{justify-content:center;margin-top:0}.mt-hero-buttons .mt-outline{display:none}.mt-hero-buttons .mt-button{border-radius:28px;padding:12px 28px;min-width:155px;box-shadow:0 0 20px #1db8e333;font-size:13px}.mt-dots{bottom:16px}.mt-home-content{padding-top:5px}.mt-section{margin-top:30px}
body.single-wp-manga:not(:has(.reading-content)) .profile-manga .post-title{text-align:center}body.single-wp-manga:not(:has(.reading-content)) .profile-manga .tab-summary{display:flex!important;flex-direction:column;align-items:center}body.single-wp-manga:not(:has(.reading-content)) .profile-manga .summary_image{float:none!important;width:160px!important;max-width:160px;margin:0 auto 24px!important;padding:0!important}body.single-wp-manga:not(:has(.reading-content)) .profile-manga .summary_image img{width:160px!important;height:auto;border-radius:10px}body.single-wp-manga:not(:has(.reading-content)) .profile-manga .summary_content_wrap{width:100%!important;float:none!important;padding:0!important;margin:0!important}body.single-wp-manga:not(:has(.reading-content)) .profile-manga .summary_content{padding:0!important}.mt-ranking{grid-template-columns:1fr;gap:24px}.mt-ranking-item img{width:58px;height:80px}.mt-ranking-item strong{font-size:14px}.mt-ranking-item small{font-size:11px;line-height:1.5}.mt-ranking-item>b{font-size:15px;padding:2px 8px}
body:has(.reading-content) .mt-bottom-nav{display:none}
}
@media(max-width:480px){.mt-hero,.mt-slide,.mt-hero-inner{min-height:440px}.mt-hero-inner{gap:18px;padding-top:48px}.mt-hero-cover{flex-basis:auto}.mt-hero-cover img{width:155px;height:210px}.mt-hero h1{font-size:22px;margin-bottom:20px}.mt-brand{font-size:19px}.mt-header-inner{padding:0 15px;gap:18px}}
.mt-catalog{max-width:1330px;margin:0 auto;padding:30px 28px 60px}.mt-catalog h1{font-size:30px;line-height:1.2;font-weight:800;color:#ececf2;margin:0 0 8px}.mt-catalog .mt-section-head p{font-size:12px;margin:0;color:#b7bac4}.mt-catalog-search{display:flex;max-width:440px;gap:0;border:1px solid #32343e;background:#171922;border-radius:7px;padding:4px;margin:20px 0}.mt-catalog-search input{flex:1;min-width:0;border:0;background:#232638;color:#ddd;padding:7px 10px;font-size:12px}.mt-catalog-search button{background:#007aa7;color:#d6f3ff;border:0;border-radius:4px;font-size:12px;padding:5px 16px}.mt-filter-row{display:flex;gap:14px;align-items:center;margin:12px 0}.mt-filter-row>b{font-size:10px;letter-spacing:1px;flex:0 0 47px;color:#d5d5df}.mt-filter-row>div{display:flex;gap:6px;min-width:0}.mt-chip{display:inline-block;white-space:nowrap;padding:5px 12px;border:1px solid #3b3c42;border-radius:22px;font-size:11px;background:#1b1c1e;color:#b8b9bf;text-decoration:none}.mt-chip:hover,.mt-chip.is-active{background:#053346;border-color:#4ad5f1;color:#5eddf5}.mt-genre-scroll{overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#34515c transparent}.mt-count{font-size:12px;color:#c9cbd4;margin:16px 0}.mt-catalog-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:22px 14px}.mt-status-badge{position:absolute;right:4px;top:5px;border-radius:12px;background:#0c111be6;font-size:9px;color:#b7e4cd;padding:2px 6px}.mt-home .mt-status-badge{display:none}.mt-catalog-updates .mt-updates[data-view=detailed] .mt-card{background:#111214;border:1px solid #2b2c31;border-radius:9px;padding:12px;min-height:190px}.mt-catalog-updates .mt-updates[data-view=detailed] .mt-cover{width:85px}.mt-catalog-updates .mt-updates[data-view=detailed] h3{font-size:13px;margin-top:0;color:#53d6f4}.mt-catalog-updates .mt-updates[data-view=detailed] .mt-chapter{font-size:11px;padding:7px 0}.mt-catalog-updates .mt-updates[data-view=detailed] .mt-chapter span{display:none}
@media(max-width:1100px){.mt-catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:800px){.mt-catalog{padding:24px 18px 60px}.mt-catalog h1{font-size:25px}.mt-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.mt-catalog .mt-section-head{align-items:flex-start}.mt-filter-row{gap:8px}.mt-chip{padding:5px 9px}.mt-catalog-updates .mt-updates[data-view=detailed]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mt-catalog{padding:22px 14px 50px}.mt-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-catalog-updates .mt-updates[data-view=detailed]{grid-template-columns:1fr}.mt-status-badge{font-size:8px}.mt-catalog .mt-section-head{flex-wrap:wrap}.mt-catalog-search{max-width:none}}

/* Stable box sizing independent of parent CSS and page builder settings. */
.mt-catalog,.mt-catalog *,.mt-home,.mt-home *,.mt-header,.mt-header *,.mt-dialog,.mt-dialog *,.mt-bottom-nav,.mt-bottom-nav *{box-sizing:border-box}
body.admin-bar .mt-header{top:32px}
@media(max-width:782px){body.admin-bar .mt-header{top:46px}}

/* Retain parent Madara account styling. */
#form-login,#form-sign-up,#form-reset{z-index:2100}.modal-backdrop{z-index:2000}

/* Madara's jQuery UI suggestions for the catalog search field. */
.mt-catalog-search{position:relative}.mt-catalog-search .ui-autocomplete{position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-height:340px;overflow:auto;z-index:1200;list-style:none;margin:4px 0 0;padding:6px;background:#151820;border:1px solid #353c4b;border-radius:8px;box-shadow:0 12px 30px #0008}.mt-catalog-search .ui-menu-item{display:block;margin:0;padding:0;border:0;color:#dfe5ed;font-size:13px}.mt-catalog-search .ui-menu-item a,.mt-catalog-search .ui-menu-item-wrapper{display:block;padding:10px 12px;color:#dfe5ed;text-decoration:none}.mt-catalog-search .ui-menu-item:hover,.mt-catalog-search .ui-state-active{background:#173b4a;color:#6adbf2;border:0;border-radius:5px}
/* Series detail page: clearer hierarchy while preserving Madara's live controls. */
body.mt-series-page .profile-manga{background:radial-gradient(ellipse at 15% 5%,#23334766,transparent 60%),linear-gradient(135deg,#181922,#0c1017)!important;border-bottom:1px solid #242b35;padding:30px 0 42px!important}
body.mt-series-page .profile-manga .post-title{margin:12px 0 26px}body.mt-series-page .profile-manga .post-title h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.7px;color:#f3f5fa!important;margin:0}
body.mt-series-page .profile-manga .tab-summary{display:flex;align-items:flex-start;gap:32px;background:transparent!important;padding:0!important}
body.mt-series-page .profile-manga .summary_image{float:none!important;flex:0 0 210px;width:210px!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:12px;box-shadow:0 16px 45px #0006}
body.mt-series-page .profile-manga .summary_image a{display:block}body.mt-series-page .profile-manga .summary_image img{width:100%!important;height:auto;border-radius:12px;border:1px solid #ffffff20}
body.mt-series-page .profile-manga .summary_content_wrap{float:none!important;flex:1;width:auto!important;min-width:0;padding:0!important;margin:0!important}
body.mt-series-page .profile-manga .summary_content{padding:0!important;margin:0!important;background:transparent!important;display:flex;flex-wrap:wrap;gap:18px 24px}
body.mt-series-page .profile-manga .summary_content .post-content{flex:1 1 310px;width:auto!important;min-width:0;padding:0!important}
body.mt-series-page .profile-manga .summary_content .post-status{flex:1 1 140px;width:auto!important;float:none;padding:16px!important;background:#ffffff05;border:1px solid #ffffff0e;border-radius:10px}
body.mt-series-page .post-content_item{display:flex;align-items:baseline;gap:14px;margin:0 0 13px!important;line-height:1.6;font-size:13px}
body.mt-series-page .post-content_item .summary-heading{flex:0 0 82px;width:82px!important}body.mt-series-page .post-content_item .summary-heading h5{color:#919dac!important;font-size:12px!important;font-weight:600;margin:0;line-height:1.6}
body.mt-series-page .post-content_item .summary-content{width:auto!important;flex:1;min-width:0;font-size:13px!important;color:#d7deea!important;overflow-wrap:anywhere}
body.mt-series-page .genres-content a{background:#16344266;border:1px solid #2e4c5a;border-radius:16px;padding:3px 10px;margin:0 4px 6px 0!important;font-size:11px!important;display:inline-block!important;text-decoration:none}
body.mt-series-page .post-rating{margin:0 0 15px!important;padding:0!important}body.mt-series-page .post-rating i{font-size:21px}
body.mt-series-page #init-links{display:flex;flex-wrap:wrap;gap:10px;width:100%;margin:4px 0 0!important}body.mt-series-page #init-links .c-btn{min-width:150px;padding:12px 24px!important;border-radius:8px!important;font-size:14px!important;font-weight:700;line-height:1.4;background:#007fae!important;color:#fff!important;border:1px solid #39cce8!important;text-align:center;text-decoration:none;box-shadow:0 4px 16px #0084ab22}
body.mt-series-page #init-links .c-btn+.c-btn{background:#192a35!important;border-color:#375563!important}
body.mt-series-page .c-page-content{padding-top:30px}body.mt-series-page .main-col-inner{padding-right:10px}body.mt-series-page .c-blog__heading{border:0!important;border-bottom:1px solid #29313b!important;padding:0 0 12px!important;margin:0 0 18px!important}body.mt-series-page .c-blog__heading h2,body.mt-series-page .c-blog__heading h3{font-size:16px!important;font-weight:800!important;letter-spacing:.2px;text-transform:none!important;line-height:1.5}
body.mt-series-page .summary__content{font-size:14px;line-height:1.85;color:#b9c2cf}body.mt-series-page .description-summary{margin-bottom:32px}
body.mt-series-page .listing-chapters_wrap{padding:6px 16px!important;border:1px solid #293441!important;border-radius:12px;background:#11161e!important}body.mt-series-page .listing-chapters_wrap ul{padding-left:0!important;margin:0!important;list-style:none}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter{padding:13px 2px!important;border-bottom:1px solid #242e3a!important;line-height:1.5}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter:last-child{border-bottom:0!important}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter>a{font-size:13px!important;font-weight:600;color:#dde6f2!important}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter:hover{background:#15273566}body.mt-series-page .chapter-release-date{font-size:11px!important;color:#8d9bad!important}body.mt-series-page .c-content-readmore{padding:14px 0}body.mt-series-page .content-readmore{font-size:12px;color:#56cfe9!important}
body.mt-series-page .sidebar-col .widget{padding:18px!important;margin:0 0 20px!important;background:#10151d!important;border:1px solid #28323e!important;border-radius:12px;color:#bcc5d0}body.mt-series-page .sidebar-col .widget-title{background:none!important;padding:0 0 12px!important;border-bottom:1px solid #293441!important;margin-bottom:16px!important}body.mt-series-page .sidebar-col .widget-title h4{background:none!important;font-size:14px!important;font-weight:800!important;padding:0!important}body.mt-series-page .sidebar-col .c-tabs-item__content{padding:0!important}body.mt-series-page .sidebar-col .chapter{font-size:11px!important}body.mt-series-page .sidebar-col img{border-radius:6px}body.mt-series-page .sidebar-col .post-title h3,body.mt-series-page .sidebar-col .post-title h4{font-size:12px!important;line-height:1.5!important}body.mt-series-page .sidebar-col a{color:#b9cbdc}
body.mt-series-page #comments{margin:30px 0;padding:22px!important;background:#10151d!important;border:1px solid #293441;border-radius:12px}body.mt-series-page .related-reading-content h5{font-size:12px!important;line-height:1.5}body.mt-series-page .related-reading-content img{border-radius:7px}
@media(min-width:1100px){body.mt-series-page .container{max-width:1180px!important}body.mt-series-page .profile-manga .summary_content .post-status{flex-basis:180px}}
@media(max-width:800px){body.mt-series-page .profile-manga{padding:24px 0 28px!important}body.mt-series-page .profile-manga .tab-summary{gap:20px}body.mt-series-page .profile-manga .summary_image{flex-basis:auto!important;width:170px!important;max-width:170px!important;margin:0 auto!important}body.mt-series-page .profile-manga .summary_image img{width:170px!important}body.mt-series-page .profile-manga .summary_content_wrap{width:100%!important;flex:auto}body.mt-series-page .profile-manga .summary_content{gap:12px}body.mt-series-page .profile-manga .summary_content .post-status{flex-basis:100%}body.mt-series-page .profile-manga .post-title h1{font-size:27px!important}body.mt-series-page .main-col-inner{padding-right:0}body.mt-series-page #init-links{justify-content:center}body.mt-series-page .post-content_item .summary-heading{flex-basis:76px;width:76px!important}}
@media(max-width:480px){body.mt-series-page .post-content_item{gap:10px;font-size:12px}body.mt-series-page .post-content_item .summary-content{font-size:12px!important}body.mt-series-page .listing-chapters_wrap{padding:4px 12px!important}body.mt-series-page #init-links .c-btn{flex:1;min-width:120px;padding:11px 14px!important}body.mt-series-page .chapter-release-date{font-size:10px!important}body.mt-series-page #comments{padding:15px!important}}
/* Reference refinement: compact series hero and a single reading column. */
@media(min-width:801px){body.mt-series-page .container{max-width:960px!important}body.mt-series-page .profile-manga .container>.row>.col-12{display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:28px;align-items:start}body.mt-series-page .profile-manga .c-breadcrumb{grid-column:1/-1}body.mt-series-page .profile-manga .post-title{grid-column:2;grid-row:2;margin:0 0 14px!important}body.mt-series-page .profile-manga .tab-summary{display:contents!important}body.mt-series-page .profile-manga .summary_image{grid-column:1;grid-row:2 / span 2;width:210px!important;max-width:210px;align-self:start}body.mt-series-page .profile-manga .summary_content_wrap{grid-column:2;grid-row:3;width:100%!important}body.mt-series-page .profile-manga .post-title h1{font-size:26px!important;letter-spacing:-.4px}body.mt-series-page .profile-manga .summary_content .post-status{flex:1 1 100%;padding:12px 14px!important;display:flex;flex-wrap:wrap;gap:8px 20px}body.mt-series-page .profile-manga .summary_content .post-status .post-content_item{flex:1 1 40%;margin:0!important}body.mt-series-page .profile-manga .summary_content .post-content{flex-basis:100%}body.mt-series-page .post-content_item{margin-bottom:8px!important;gap:10px}body.mt-series-page .post-content_item .summary-heading{flex-basis:72px;width:72px!important}body.mt-series-page #init-links .c-btn{min-width:135px;padding:10px 18px!important;font-size:13px!important}}
body.mt-series-page .profile-manga{background:radial-gradient(ellipse at 90% 15%,#3e060e77,transparent 65%),linear-gradient(130deg,#181315,#110a0e 70%)!important;border-bottom:0;padding-top:24px!important;padding-bottom:28px!important}
body.mt-series-page .c-page-content .main-col{flex:0 0 100%!important;width:100%!important;max-width:100%!important}body.mt-series-page .c-page-content .sidebar-col{display:none!important}body.mt-series-page .main-col-inner{padding:0!important}body.mt-series-page .profile-manga .summary_image{box-shadow:none}body.mt-series-page .profile-manga .summary_image img{border-radius:5px}body.mt-series-page .profile-manga .summary_content{gap:12px}body.mt-series-page .profile-manga .summary_content .post-status{background:#ffffff03;border-color:#ffffff14;border-radius:7px}
body.mt-series-page .post-rating{background:#ffffff06;padding:12px 14px!important;border:1px solid #ffffff12;border-radius:7px}body.mt-series-page .genres-content a{background:#24232a;border-color:#484047;color:#7dd3eb!important;font-size:10px!important;padding:3px 10px;margin-bottom:5px!important}body.mt-series-page .summary__content{font-size:13px;line-height:1.85;color:#c7c7d0}body.mt-series-page .c-blog__heading{border-bottom:0!important;margin-bottom:14px!important;padding-bottom:0!important}body.mt-series-page .c-blog__heading h2,body.mt-series-page .c-blog__heading h3{font-size:12px!important;letter-spacing:1px;text-transform:uppercase!important;color:#98939d!important}body.mt-series-page .c-blog__heading i{display:none}
body.mt-series-page .listing-chapters_wrap{border:0!important;background:transparent!important;padding:0!important;border-radius:0}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter{padding:13px 0!important;border-bottom:1px solid #252126!important;min-height:55px}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter>a{font-size:13px!important;line-height:1.5;color:#e2e0e6!important}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter .chapter-release-date{display:block;float:none;font-size:10px!important;line-height:1.4;margin-top:4px;color:#827d88!important}body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter:hover{background:#ffffff03}body.mt-series-page .description-summary{margin-bottom:35px}body.mt-series-page .c-content-readmore{text-align:center}body.mt-series-page .content-readmore{display:inline-block;padding:8px 20px;border:1px solid #3a343b;border-radius:5px;background:#181519;font-size:11px!important;color:#b6b0bb!important}
body.mt-series-page .related-manga,body.mt-series-page .related-reading-content{margin-top:26px}body.mt-series-page .related-reading-content img{border-radius:4px}body.mt-series-page .related-reading-content h5{font-size:11px!important}
@media(max-width:800px){body.mt-series-page .container{max-width:720px!important}body.mt-series-page .profile-manga .summary_content .post-status{display:block}body.mt-series-page .profile-manga .post-title h1{font-size:25px!important}body.mt-series-page .profile-manga .summary_image img{border-radius:7px}}
.mt-detail-hero{max-width:960px;margin:0 auto;padding:26px 24px 30px;background:radial-gradient(ellipse at 95% 0,#40000977,transparent 65%),linear-gradient(120deg,#100d11,#14070b)}.mt-detail-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px}.mt-detail-cover img{display:block;width:200px;height:auto;max-height:310px;object-fit:cover;border-radius:9px}.mt-detail-info{min-width:0}.mt-detail-info h1{font-size:27px;line-height:1.2;font-weight:800;color:#efedf5;margin:0 0 12px;letter-spacing:-.5px}.mt-alternative{display:inline-block;max-width:100%;margin:0 0 20px;background:#ffffff05;border:1px solid #ffffff1c;border-radius:14px;font-size:11px;color:#aaa}.mt-alternative summary{padding:4px 12px;cursor:pointer}.mt-alternative p{padding:8px 12px;font-size:12px;color:#ccc}.mt-creators{margin:12px 0 10px}.mt-creators>div{display:flex;gap:14px;align-items:baseline;font-size:12px;margin:7px 0}.mt-creators span{min-width:40px;color:#d7d4dc}.mt-creators a{color:#50c8ec}.mt-detail-pills,.mt-detail-genres{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}.mt-detail-pills>span,.mt-detail-genres a{padding:5px 12px;border:1px solid #3c353c;background:#242128aa;border-radius:20px;color:#d8d4dc;font-size:11px;line-height:1.5;text-decoration:none}.mt-detail-pills .mt-status-pill{border-color:#154c34;background:#0e2e24aa}.mt-detail-genres a{color:#60cdeb;font-size:11px}.mt-detail-actions{display:flex;align-items:center;gap:8px;margin-bottom:14px}.mt-detail-actions #init-links{flex:1;display:flex;margin:0!important;gap:8px;min-width:0}.mt-detail-actions #init-links .c-btn{flex:1;min-width:0!important;font-size:12px!important;padding:11px 14px!important;text-align:center;border-radius:6px!important;background:#0078a5!important;color:#e2f6ff!important;border:1px solid #0078a5!important}.mt-detail-actions #init-links .c-btn+.c-btn{background:#19171c!important;border-color:#3f3039!important}.mt-detail-bookmark{border:1px solid #44343c;background:#292027;border-radius:6px;padding:9px 12px;color:#52c7eb;font-size:12px;min-height:40px}.mt-detail-bookmark .action_detail{display:none}.mt-detail-bookmark a{color:#52c7eb}.mt-detail-rating{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #49303988;border-radius:9px;background:linear-gradient(100deg,#24232a99,#30101355);margin:0 0 14px}.mt-detail-rating strong{font-size:32px;color:#e6e4ee;line-height:1;font-weight:800}.mt-detail-rating>div>span{font-size:10px;color:#8d8995;margin-left:8px}.mt-detail-rating small{display:block;font-size:8px;font-weight:700;letter-spacing:.4px;color:#c7c1cb;margin-top:4px}.mt-detail-stars{text-align:right}.mt-detail-stars .post-rating{background:none!important;border:0!important;padding:0!important;margin:0!important}.mt-detail-stars .post-total-rating{display:none}.mt-detail-stars i{font-size:21px}.mt-information{border:1px solid #44303988;border-radius:9px;background:#ffffff02;overflow:hidden}.mt-information summary{padding:12px 14px;font-size:11px;color:#ddd9e3;font-weight:800;cursor:pointer;border-bottom:1px solid #ffffff0b;list-style-position:inside}.mt-information dl{margin:0;padding:0 14px}.mt-information dl>div{display:grid;grid-template-columns:1fr auto 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff0a;font-size:11px}.mt-information dl>div:last-child{border:0}.mt-information dt{font-weight:400;color:#d2ccd6}.mt-information dd{margin:0;color:#dad6df;font-weight:700;text-align:right}
@media(max-width:800px){.mt-detail-hero{margin:0 14px;padding:24px 18px}.mt-detail-grid{grid-template-columns:155px minmax(0,1fr);gap:20px}.mt-detail-cover img{width:155px}.mt-detail-info h1{font-size:23px}.mt-detail-actions{flex-wrap:wrap}.mt-detail-rating{padding:13px}}
@media(max-width:600px){.mt-detail-grid{grid-template-columns:1fr;gap:22px}.mt-detail-cover img{width:165px;margin:auto}.mt-detail-info h1{text-align:center;font-size:25px}.mt-detail-pills,.mt-detail-genres{justify-content:center}.mt-creators{margin-top:18px}.mt-detail-hero{margin:0 8px;padding:22px 16px}.mt-detail-actions #init-links{flex-basis:100%}.mt-detail-bookmark{margin:auto}.mt-information dl>div{gap:8px;font-size:10px}}

/* Login UI is not dependent on Bootstrap availability. Native AJAX forms stay intact. */
body.mt-account-lock{overflow:hidden}#form-login.mt-account-open,#form-sign-up.mt-account-open,#form-reset.mt-account-open{display:block!important;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;overflow:auto!important;opacity:1!important;visibility:visible!important;background:#000b!important;z-index:2500!important}#form-login.mt-account-open .modal-dialog,#form-sign-up.mt-account-open .modal-dialog,#form-reset.mt-account-open .modal-dialog{transform:none!important;opacity:1!important;position:relative}
/* Remove separators between chapter rows. */
body.mt-series-page .listing-chapters_wrap li,
body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter,
body.mt-series-page .listing-chapters_wrap li.wp-manga-chapter:last-child,
body.mt-series-page .listing-chapters_wrap li>a{border:0!important;box-shadow:none!important;background-image:none!important}
body.mt-series-page .listing-chapters_wrap li:before,
body.mt-series-page .listing-chapters_wrap li:after{border:0!important;box-shadow:none!important;background-image:none!important}
/* Rating label, five native interactive stars, then personal rating caption. */
.mt-detail-stars{min-width:150px;display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.mt-detail-stars>small{margin:0;font-size:9px;letter-spacing:.8px}
.mt-detail-stars .user-rating{display:grid!important;grid-template-columns:repeat(5,24px);justify-content:end;align-items:center;column-gap:2px;row-gap:7px;float:none!important;visibility:visible!important;opacity:1!important}
.mt-detail-stars .user-rating .ratings_stars{display:block!important;float:none!important;position:relative;font-size:23px!important;line-height:26px;color:#8f7881;cursor:pointer;margin:0!important;text-align:center}
.mt-detail-stars .user-rating .ratings_stars.rating_current,.mt-detail-stars .user-rating .ratings_stars.rating_current_half,.mt-detail-stars .user-rating .ratings_stars:hover{color:#ffc75b!important}
.mt-detail-stars .user-rating .score{grid-column:1/-1;display:block!important;float:none!important;position:static!important;text-align:right;font-size:10px!important;line-height:1.4;color:#bfb1ba!important;margin:0!important;padding:0!important;white-space:normal}
@media(max-width:480px){.mt-detail-stars{min-width:126px}.mt-detail-stars .user-rating{grid-template-columns:repeat(5,21px)}.mt-detail-stars .user-rating .ratings_stars{font-size:21px!important}}

/* Use the full wordmark without duplicate site-title text. */
.mt-brand .mt-logo{display:block;width:235px!important;height:auto!important;max-width:100%;max-height:46px;object-fit:contain;border-radius:0!important;flex:none}
@media(max-width:800px){.mt-brand .mt-logo{width:195px!important;max-height:38px}}
@media(max-width:480px){.mt-brand .mt-logo{width:175px!important;max-height:34px}.mt-header-inner{gap:14px}.mt-header-actions{gap:14px}}
@media(max-width:360px){.mt-brand .mt-logo{width:145px!important}.mt-header-inner{gap:10px}.mt-header-actions{gap:10px}}

/* Pagination: style the list separately from its numbered links. */
.mt-pagination{display:flex;justify-content:center;clear:both;width:100%;padding:30px 0 12px}
.mt-pagination>ul.page-numbers{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;list-style:none!important;margin:0!important;padding:0!important}
.mt-pagination>ul.page-numbers>li{display:block!important;list-style:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important}
.mt-pagination li>a.page-numbers,.mt-pagination li>span.page-numbers{display:inline-flex!important;align-items:center;justify-content:center;min-width:38px;height:38px;width:auto;margin:0!important;padding:0 12px!important;border:1px solid #2b3b48!important;border-radius:8px!important;background:#111820;color:#9fdcf0;font-size:13px!important;font-weight:600;line-height:1!important;text-decoration:none;box-sizing:border-box;white-space:nowrap}
.mt-pagination li>span.current{background:#0783ae!important;border-color:#26bfdc!important;color:#fff!important;box-shadow:0 3px 12px #008fbc25}
.mt-pagination li>a:hover,.mt-pagination li>a:focus-visible{background:#173849!important;border-color:#42cce6!important;color:#fff!important}
.mt-pagination li>span.dots{border-color:transparent!important;background:transparent!important;color:#7c8d9a!important;min-width:24px;padding:0 4px!important}
.mt-pagination li>a.prev,.mt-pagination li>a.next{min-width:70px}
@media(max-width:480px){.mt-pagination>ul.page-numbers{gap:6px}.mt-pagination li>a.page-numbers,.mt-pagination li>span.page-numbers{min-width:33px;height:35px;padding:0 9px!important;font-size:12px!important}.mt-pagination li>a.prev,.mt-pagination li>a.next{min-width:60px}}

.mt-dots{align-items:center}.mt-dots .mt-autoplay-toggle{width:24px;height:22px;border-radius:5px;background:#10151aaa;color:#c7ebf3;font-size:12px;line-height:22px;margin-left:5px;padding:0}

/* Compact chapter buttons beneath series cards. */
.mt-card .mt-chapter{border:1px solid #29323d;border-radius:6px;background:#11151b;padding:7px 9px;margin-top:6px;align-items:center;min-height:32px;line-height:1.4;transition:border-color .18s,background-color .18s,color .18s}
.mt-card .mt-chapter:hover,.mt-card .mt-chapter:focus-visible{border-color:#42899b;background:#14232b;color:#84e3f7}
.mt-card .mt-chapter span{flex-shrink:0;color:#8cabb8;font-size:10px}
.mt-catalog-updates .mt-updates[data-view=detailed] .mt-card .mt-chapter{padding:7px 9px}
.mt-updates[data-view=list] .mt-card .mt-chapter{margin:4px 8px 0 0}

/* Reserve two title lines so chapter buttons align across grid cards. */
.mt-updates[data-view=grid] .mt-card h3,.mt-catalog-grid .mt-card h3{height:2.8em;min-height:2.8em;line-height:1.4;overflow:hidden;margin:8px 0}
.mt-updates[data-view=grid] .mt-card h3 a,.mt-catalog-grid .mt-card h3 a{line-height:inherit}

.mt-bottom-nav button[data-mt-account]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer}
.mt-bottom-nav button[data-mt-account] span{font-size:20px}

/* Keep mobile navigation anchored to the viewport while content scrolls. */
@media(max-width:800px){
html,body{transform:none!important;filter:none!important;perspective:none!important}
.mt-header{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;margin:0!important;transform:none!important;transition:none!important;animation:none!important;height:60px;z-index:1100}
body{padding-top:60px!important}
body.admin-bar .mt-header{top:32px!important}
}
@media(max-width:782px){body.admin-bar .mt-header{top:46px!important}}
@media(max-width:600px){#wpadminbar{position:fixed!important}}

/* Responsive header account actions; isolate from parent button typography. */
.mt-header .mt-header-actions{align-items:center;flex-shrink:0}
.mt-header .mt-auth-buttons{display:flex!important;align-items:center;gap:8px!important;flex:none;white-space:nowrap}
.mt-header .mt-header-actions .mt-auth-button{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;width:auto!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0 14px!important;border:1px solid #3a4a56!important;border-radius:7px!important;background:#18212a!important;color:#e9f2f7!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer}
.mt-header .mt-header-actions .mt-auth-signup{background:#0785a8!important;border-color:#27b4d1!important;color:#fff!important}
.mt-header .mt-header-actions .mt-auth-button:hover{background:#253642!important;border-color:#6acee2!important}
.mt-header .mt-header-actions .mt-auth-signup:hover{background:#079cbd!important}
@media(max-width:800px){.mt-header-inner{gap:10px}.mt-header .mt-auth-buttons{gap:6px!important}.mt-header .mt-header-actions .mt-auth-button{height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:11px!important}}
@media(max-width:480px){.mt-header-inner{gap:6px;padding:0 10px}.mt-brand{min-width:0;flex:1;margin-right:auto}.mt-brand .mt-logo{width:100%!important;max-width:145px!important;object-fit:contain}.mt-header-actions{gap:5px}.mt-header .mt-auth-buttons{gap:5px!important}.mt-header .mt-header-actions .mt-auth-button{padding:0 8px!important;font-size:10px!important}.mt-menu-toggle{padding:3px;font-size:23px;flex-shrink:0}}
@media(max-width:360px){.mt-brand .mt-logo{max-width:112px!important}.mt-header-inner{padding:0 8px;gap:4px}.mt-header .mt-header-actions .mt-auth-button{padding:0 6px!important}}

/* Native Madara user menu inside an accessible click/tap dropdown. */
.mt-user-dropdown{position:relative;color:#e5edf3}
.mt-user-dropdown summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:12px;font-weight:700;padding:4px}
.mt-user-dropdown summary::-webkit-details-marker{display:none}
.mt-user-dropdown summary img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.mt-user-dropdown summary:focus-visible{outline:2px solid #47ccec;outline-offset:3px}
.mt-native-user-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:200px;max-width:calc(100vw - 24px);padding:8px;background:#141a22;border:1px solid #35424e;border-radius:9px;box-shadow:0 12px 30px #0008;z-index:1150}
.mt-native-user-menu .c-user_item>span{display:block;padding:8px 10px;font-size:12px;color:#9bb0bf}
.mt-native-user-menu .c-user_avatar-image{display:none}
.mt-native-user-menu .c-user_menu{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;list-style:none;margin:0;padding:0;background:none;box-shadow:none;width:auto}
.mt-header-actions .mt-native-user-menu a{display:block;font-size:12px;line-height:1.5;padding:10px;border-radius:5px;color:#dfebf3;text-decoration:none}
.mt-header-actions .mt-native-user-menu a:hover{background:#223441;color:#79deef}
@media(max-width:480px){.mt-user-dropdown summary>span:not([aria-hidden]){display:none}}

/* Native Madara title badges, including custom links. */
.mt-title-badges{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:18px;margin:7px 0 0}
.mt-card-info .mt-title-badges{height:20px;min-height:20px;overflow:hidden;margin:6px 0 0}
.mt-card-info:not(:has(.mt-title-badges)):before{content:"";display:block;height:20px;margin-top:6px}
.mt-title-badges .manga-title-badges{display:inline-block;float:none;margin:0;padding:3px 6px;border-radius:4px;background:#087fa0;color:#fff;font-size:9px;font-weight:800;line-height:1.2;vertical-align:middle}
.mt-title-badges .manga-title-badges.hot{background:#d84b3f}.mt-title-badges .manga-title-badges.new{background:#087fa0}.mt-title-badges .manga-title-badges.custom{background:#7751b5}
.mt-title-badges a{display:inline-flex;gap:4px;text-decoration:none}

/* Chapter navigation: retain native Previous, Next and Manga Info links only. */
body.reading-manga #chapter-heading,body.reading-manga .wp-manga-nav .entry-header_wrap,body.reading-manga .wp-manga-nav .select-view,body.reading-manga .wp-manga-nav .mobile-nav-btn{display:none!important}
body.reading-manga .wp-manga-nav .select-pagination{width:100%!important;float:none!important;margin:0!important;padding:0!important}
body.reading-manga .wp-manga-nav .select-pagination .nav-links{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:12px 0}
body.reading-manga .wp-manga-nav .select-pagination .nav-links>div{float:none!important;margin:0!important}
body.reading-manga .wp-manga-nav .select-pagination .nav-links a{margin:0!important}

/* Reference-style outlined account pills; mobile account actions live in drawer. */
.mt-header .mt-header-actions .mt-auth-button,.mt-header .mt-drawer-auth .mt-auth-button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:78px;height:35px!important;min-height:35px!important;margin:0!important;padding:0 17px!important;border:2px solid #737780!important;border-radius:999px!important;background:transparent!important;color:#e2e3e8!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;box-shadow:none!important;white-space:nowrap}
.mt-header .mt-header-actions .mt-auth-button:hover,.mt-header .mt-drawer-auth .mt-auth-button:hover{border-color:#c6ccd4!important;background:#ffffff0b!important;color:#fff!important}
.mt-header .mt-drawer-auth{display:none!important}
@media(max-width:800px){
.mt-header-actions>.mt-auth-buttons{display:none!important}
.mt-header .mt-drawer-auth{display:flex!important;gap:8px!important;flex-wrap:wrap;padding:22px 14px;margin-top:14px;border-top:1px solid #ffffff12}
.mt-header .mt-drawer-auth .mt-auth-button{min-width:90px;height:36px!important;min-height:36px!important;padding:0 17px!important;font-size:12px!important}
}

/* Chapter NEW labels follow Madara's native archive-date filter and time range. */
.mt-card .mt-chapter .mt-chapter-tail{display:inline-flex!important;align-items:center;gap:7px;flex-shrink:0}
.mt-card .mt-chapter-new{display:inline-block;background:#089bb5;color:#fff;font-size:8px;line-height:1;padding:3px 4px;border-radius:3px;font-weight:800;letter-spacing:.2px}
.mt-catalog-updates .mt-updates[data-view=detailed] .mt-chapter .mt-chapter-tail>span{display:none}

/* Compact desktop account pills. */
@media(min-width:801px){
.mt-header .mt-header-actions>.mt-auth-buttons{gap:6px!important}
.mt-header .mt-header-actions .mt-auth-button{width:auto!important;min-width:65px!important;height:30px!important;min-height:30px!important;padding:0 12px!important;border:1px solid #727985!important;border-radius:999px!important;background:transparent!important;color:#dce0e6!important;font-size:11px!important;font-weight:600!important;line-height:1!important;letter-spacing:0!important}
.mt-header .mt-header-actions .mt-auth-button:hover{border-color:#b8c5d0!important;background:#ffffff09!important;color:#fff!important}
}

/* Highlight the app download destination in desktop and mobile navigation. */
.mt-header .mt-menu .mt-get-app a{background:#087f9e!important;color:#fff!important;border:1px solid #42c5df;border-radius:22px;font-weight:800;box-shadow:0 0 12px #27b6d322}
.mt-header .mt-menu .mt-get-app a:hover{background:#0a9dbb!important;border-color:#9beaf7}
@media(max-width:800px){.mt-header .mt-menu .mt-get-app{margin:8px 12px}.mt-header .mt-menu .mt-get-app a{text-align:center;padding:11px 18px!important}}

.mt-header .section_adult a{display:inline-flex;align-items:center;gap:5px;font-size:10px!important;white-space:nowrap;padding:6px!important;border:1px solid #535e69;border-radius:20px;color:#aeb7c3}
.mt-header .section_adult .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#717986}
.mt-header .section_adult.on .dot{background:#43d98e}
@media(max-width:800px){.mt-header .section_adult a{font-size:9px!important}}
