
:root{--bg:#fbf7ef;--card:#fffaf2;--text:#24180f;--muted:#7d6b5b;--border:#eadfcc;--accent:#b8792f;--accent2:#152b4d;--shadow:0 14px 35px rgba(64,39,14,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.wrap{max-width:1240px;margin:auto;padding:0 18px}.site-header{position:sticky;top:0;z-index:10;background:rgba(251,247,239,.88);backdrop-filter:blur(15px);border-bottom:1px solid var(--border)}.head-inner{height:72px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:24px;min-width:0}.brand-logo{width:auto;height:46px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.brand-logo .custom-logo-link{display:flex;align-items:center}.brand-logo img,.brand-logo .custom-logo{width:auto;max-width:180px;height:46px;object-fit:contain;border-radius:0}.site-title-text{display:block}.brand-text{display:block;min-width:0;line-height:1.05}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:600;margin-top:3px}.nav{display:flex;gap:18px;margin-left:auto}.nav a{font-size:14px;color:var(--muted);font-weight:700}.search-btn,.btn{border:0;border-radius:999px;padding:12px 18px;background:var(--text);color:var(--bg);font-weight:800;cursor:pointer}.btn.light{background:#fff;border:1px solid var(--border);color:var(--text)}.hero{margin:28px 0 38px;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:32px;background:linear-gradient(135deg,#fff8ee,#f0e1ca);box-shadow:var(--shadow)}.hero-slide{display:none;grid-template-columns:1fr 300px;gap:30px;align-items:center;padding:52px}.hero-slide.active{display:grid}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.22em;color:var(--accent);font-weight:900}.hero h1{font-size:clamp(38px,6vw,72px);line-height:.96;margin:12px 0}.hero p{font-size:18px;color:var(--muted);max-width:650px;line-height:1.65}.cover{height:360px;border-radius:18px;padding:26px;display:flex;align-items:flex-end;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.25);color:var(--ink,#fff);background:linear-gradient(135deg,var(--g1),var(--g2));font-weight:900}.cover span{font-size:26px;line-height:1.05}.hero-dots{position:absolute;bottom:18px;left:52px;display:flex;gap:8px}.dot{width:9px;height:9px;border-radius:9px;background:#9b8a77;opacity:.35}.dot.active{opacity:1;background:var(--accent)}.section{margin:34px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.section h2{font-size:30px;margin:4px 0 0}.view{font-size:14px;color:var(--accent);font-weight:800}.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.book-card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:14px;transition:.22s}.book-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.book-mini-cover{height:230px;border-radius:15px;background:linear-gradient(135deg,var(--g1),var(--g2));color:var(--ink);padding:18px;display:flex;align-items:flex-end;font-weight:900}.book-title{font-size:16px;font-weight:900;margin:12px 0 4px}.book-meta{font-size:13px;color:var(--muted)}.actions{display:flex;gap:8px;margin-top:12px}.actions .btn{font-size:12px;padding:9px 12px}.grid-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cat,.author{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:22px}.cat b{display:block;font-size:20px;margin:8px 0}.authors{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.author{text-align:center}.avatar{width:66px;height:66px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#f0d9b8;color:#7e4b16;font-weight:900}.footer{border-top:1px solid var(--border);padding:35px 0;margin-top:45px;color:var(--muted)}.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:28px 0}.single-book{display:grid;grid-template-columns:300px 1fr;gap:36px;padding:42px 0}.reader-shell{min-height:calc(100vh - 72px);background:#fffdf8}.reader-bar{position:sticky;top:72px;background:#fffaf2;border-bottom:1px solid var(--border);z-index:8;padding:12px 0}.reader-content{max-width:820px;margin:auto;padding:38px 20px;font-size:20px;line-height:1.9}.audio-box{max-width:760px;margin:40px auto;background:var(--card);border:1px solid var(--border);border-radius:30px;padding:26px;box-shadow:var(--shadow)}audio{width:100%;margin:20px 0}.notice{background:#fff3cd;border:1px solid #efd485;padding:12px 16px;border-radius:14px;color:#795400;margin:18px 0}.mobile-only{display:none}
@media(max-width:760px){.head-inner{height:64px}.brand{font-size:18px;max-width:70%}.brand-logo{height:38px}.brand-logo img,.brand-logo .custom-logo{max-width:145px;height:38px}.brand small,.nav{display:none}.search-btn{margin-left:auto;padding:10px 12px}.mobile-only{display:block}.hero-slide{grid-template-columns:1fr;padding:28px 20px 48px}.hero p{font-size:15px}.hero .cover{display:none}.hero-dots{left:22px}.shelf{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.book-card{min-width:158px;scroll-snap-align:start}.book-mini-cover{height:210px}.grid-cats{grid-template-columns:repeat(2,1fr)}.authors{display:flex;overflow-x:auto}.author{min-width:145px}.library-grid{grid-template-columns:repeat(2,1fr)}.single-book{grid-template-columns:1fr}.single-book .cover{height:420px}.reader-bar{top:64px}.reader-content{font-size:18px;padding:25px 16px}.btn{padding:10px 14px}}

/* v1.5 listen page polish */
.thuta-listen-wrap{max-width:760px!important}.thuta-audio-box-v15{max-width:680px;margin:28px auto 70px;padding:24px;border-radius:34px;background:rgba(255,250,242,.76);backdrop-filter:blur(12px);}.thuta-audio-box-v15 .thuta-back-btn{margin-bottom:12px}.thuta-listen-title{font-size:clamp(28px,4vw,40px);line-height:1.1;margin:8px 0 16px}.thuta-real-cover{object-fit:cover;padding:0!important;color:transparent!important;background:none!important}
@media(max-width:640px){.thuta-audio-box-v15{margin:12px 0 40px;padding:14px;border-radius:24px}.thuta-listen-title{font-size:26px;margin-left:4px}.thuta-listen-wrap{padding:0 12px!important}}


/* v1.6.2 Best Authors + Categories style */
.section-compact{margin:28px 0}.section-compact .section-head{align-items:center;margin-bottom:14px}.icon-title{display:flex;align-items:center;gap:10px;font-size:22px!important;margin:0!important}.icon-title span{font-size:20px}.authors-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:18px;align-items:start}.author-chip{text-align:center;display:block;min-width:0}.author-chip .avatar{width:74px;height:74px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f6ddc0,#6d4b35);color:#fff;font-weight:900;font-size:18px;box-shadow:0 8px 18px rgba(36,24,15,.14);border:3px solid #fff}.author-chip b{display:block;font-size:13px;line-height:1.15;color:var(--text);white-space:normal}.author-chip span{display:block;margin-top:3px;font-size:12px;color:var(--muted);font-weight:700}.category-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}.cat-tile{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px 12px;text-align:center;box-shadow:0 6px 18px rgba(36,24,15,.06);transition:.2s}.cat-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.cat-icon{width:44px;height:44px;border-radius:50%;margin:0 auto 10px;display:grid;place-items:center;background:#f5f1ff;font-size:23px}.cat-tile b{display:block;font-size:13px;line-height:1.15;color:var(--text)}.cat-tile span{display:block;margin-top:4px;font-size:12px;color:var(--muted);font-weight:700}.cat-tile.more .cat-icon{background:#f3f3f3;color:#777;font-weight:900;letter-spacing:2px}
@media(max-width:900px){.authors-strip,.category-strip{display:flex;overflow-x:auto;gap:14px;padding-bottom:8px;scroll-snap-type:x mandatory}.author-chip{min-width:92px;scroll-snap-align:start}.cat-tile{min-width:128px;scroll-snap-align:start}.author-chip .avatar{width:68px;height:68px}.section-head .view{font-size:13px}}

/* v2.0 Homepage Structure */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.blog-card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:0 8px 20px rgba(36,24,15,.06)}.blog-card h3{margin:0 0 8px;font-size:20px}.blog-card p{color:var(--muted);line-height:1.6}.footer b{display:block;margin-bottom:6px;color:var(--text)}
@media(max-width:760px){.blog-grid{grid-template-columns:1fr}.section{margin:28px 0}.section h2{font-size:24px}.section-head{align-items:center}.footer{text-align:center}}
.section-links{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.footer-nav ul{display:flex;gap:14px;justify-content:center;list-style:none;margin:12px 0 0;padding:0}.footer-nav a{color:inherit;text-decoration:none;opacity:.85}.footer-nav a:hover{opacity:1;text-decoration:underline}@media(max-width:720px){.section-links{width:100%;margin-top:8px}.footer-nav ul{flex-direction:row;flex-wrap:wrap;gap:14px;justify-content:center}.footer-nav li{display:inline-flex}}
.book-mini-cover.has-image{padding:0;overflow:hidden;background:none}.book-mini-cover.has-image img{width:100%;height:100%;object-fit:cover}.single-post-thumb{border-radius:22px;margin:18px 0;box-shadow:var(--shadow)}.blog-single .reader-content{padding-left:0;padding-right:0}

.category-page-grid,.authors-page-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.authors-page-grid{grid-template-columns:repeat(6,1fr)}@media(max-width:900px){.category-page-grid,.authors-page-grid{display:grid;grid-template-columns:repeat(2,1fr)}.authors-page-grid{grid-template-columns:repeat(3,1fr)}}

.cat-icon .cat-image,.author-chip .avatar .author-image{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.cat-icon:has(.cat-image){padding:0;overflow:hidden;background:#eee}.author-chip .avatar:has(.author-image){padding:0;overflow:hidden;background:#eee}

/* v3.4 Mobile App Style Hero Slider */
.hero.hero-app-style{margin:26px auto 34px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;position:relative;max-width:1120px;padding:0 36px}.hero.hero-app-style .hero-track{position:relative;overflow:hidden;border-radius:28px;background:radial-gradient(circle at 70% 22%,rgba(255,92,180,.34),transparent 32%),linear-gradient(135deg,#5724a4 0%,#162261 54%,#071024 100%);box-shadow:0 24px 70px rgba(7,16,36,.35);min-height:390px}.hero.hero-app-style .hero-slide{display:none;grid-template-columns:minmax(0,1fr) 390px;align-items:center;gap:32px;padding:54px 58px;color:#fff;min-height:390px}.hero.hero-app-style .hero-slide.active{display:grid}.hero.hero-app-style .hero-copy{position:relative;z-index:2}.hero.hero-app-style .hero-badge{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.13);backdrop-filter:blur(10px);font-weight:800;font-size:14px;color:#fff;margin-bottom:18px}.hero.hero-app-style h1{margin:0 0 16px;font-size:clamp(34px,5.3vw,64px);line-height:1.05;color:#fff;max-width:650px;text-shadow:0 10px 28px rgba(0,0,0,.24)}.hero.hero-app-style p{margin:0 0 24px;color:rgba(255,255,255,.83);font-size:17px;line-height:1.7;max-width:560px}.hero.hero-app-style .hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero.hero-app-style .btn{border:0;border-radius:999px;padding:14px 24px;font-weight:900;box-shadow:0 12px 24px rgba(0,0,0,.22)}.hero.hero-app-style .hero-read{background:linear-gradient(135deg,#ffd45a,#ff9f22);color:#1e1506}.hero.hero-app-style .hero-listen{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px)}.hero.hero-app-style .hero-art{min-height:300px;display:grid;place-items:center;position:relative}.hero.hero-app-style .hero-art img{width:min(330px,100%);height:330px;object-fit:cover;border-radius:18px;box-shadow:0 22px 55px rgba(0,0,0,.38);transform:rotate(-4deg);border:1px solid rgba(255,255,255,.22)}.hero.hero-app-style .hero-art span{width:min(310px,100%);height:330px;border-radius:18px;background:linear-gradient(135deg,var(--g1,#ffb35a),var(--g2,#6b2cff));color:var(--ink,#fff);display:flex;align-items:flex-end;padding:28px;font-size:28px;font-weight:900;box-shadow:0 22px 55px rgba(0,0,0,.38);transform:rotate(-4deg)}.hero.hero-app-style .hero-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:10px;z-index:3}.hero.hero-app-style .dot{width:12px;height:7px;border-radius:99px;background:rgba(255,255,255,.38);opacity:1;cursor:pointer;transition:.2s}.hero.hero-app-style .dot.active{width:30px;background:#ffc43d}.hero.hero-app-style .hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:54px;height:54px;border-radius:50%;border:0;background:rgba(15,22,45,.88);color:#fff;font-size:42px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.25)}.hero.hero-app-style .hero-prev{left:8px}.hero.hero-app-style .hero-next{right:8px}.hero.hero-app-style .hero-arrow:hover{background:#11182d}.hero.hero-app-style.mobile_app:before,.hero.hero-app-style.mobile_app:after{content:"";position:absolute;top:28px;width:170px;height:335px;border-radius:26px;background:linear-gradient(135deg,#0a3158,#071024);opacity:.26;z-index:-1}.hero.hero-app-style.mobile_app:before{left:-100px}.hero.hero-app-style.mobile_app:after{right:-100px;background:linear-gradient(135deg,#811d2b,#31050b)}
@media(max-width:900px){.hero.hero-app-style{padding:0 12px;margin-top:18px}.hero.hero-app-style .hero-track{border-radius:22px;min-height:330px}.hero.hero-app-style .hero-slide{grid-template-columns:1fr 150px;gap:12px;padding:26px 18px 52px;min-height:330px}.hero.hero-app-style .hero-badge{font-size:11px;padding:7px 11px;margin-bottom:12px}.hero.hero-app-style h1{font-size:28px;line-height:1.08;margin-bottom:10px}.hero.hero-app-style p{font-size:13px;line-height:1.55;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero.hero-app-style .btn{font-size:12px;padding:10px 13px}.hero.hero-app-style .hero-actions{gap:8px}.hero.hero-app-style .hero-art{min-height:190px}.hero.hero-app-style .hero-art img,.hero.hero-app-style .hero-art span{height:190px;width:135px;border-radius:13px;font-size:16px;padding:14px}.hero.hero-app-style .hero-arrow{width:38px;height:38px;font-size:30px;background:rgba(15,22,45,.7)}.hero.hero-app-style .hero-prev{left:-2px}.hero.hero-app-style .hero-next{right:-2px}.hero.hero-app-style.mobile_app:before,.hero.hero-app-style.mobile_app:after{display:none}.hero.hero-app-style .hero-dots{bottom:14px}}
@media(max-width:520px){.hero.hero-app-style .hero-slide{grid-template-columns:1fr 118px;padding:20px 14px 48px}.hero.hero-app-style h1{font-size:23px}.hero.hero-app-style .hero-art img,.hero.hero-app-style .hero-art span{width:110px;height:160px}.hero.hero-app-style .hero-listen{display:none}}

/* v3.5 Simple Image Only Hero Slider */
.hero-simple-banner{position:relative;margin:0 auto 28px;width:100%;max-width:100%;padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
.hero-simple-banner .hero-track{position:relative;width:100%;height:clamp(230px,31vw,420px);overflow:hidden;background:#ff00e8;border-radius:0}
.hero-simple-banner .hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .45s ease;z-index:1;background:#ff00e8;text-decoration:none}
.hero-simple-banner .hero-slide.active{opacity:1;visibility:visible;z-index:2}
.hero-simple-banner .hero-slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-simple-banner .hero-placeholder{width:100%;height:100%;display:grid;place-items:center;background:#ff00e8;color:#fff;font-size:clamp(32px,5vw,58px);font-weight:800;letter-spacing:.02em}
.hero-simple-banner .hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:58px;height:58px;border:0;background:transparent;color:#000;font-size:82px;font-weight:900;line-height:1;display:grid;place-items:center;cursor:pointer;text-shadow:none;box-shadow:none;border-radius:0;padding:0}
.hero-simple-banner .hero-prev{left:12px}.hero-simple-banner .hero-next{right:12px}
.hero-simple-banner .hero-arrow:hover{opacity:.75;background:transparent}
.hero-simple-banner .hero-dots{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:13px;z-index:6}
.hero-simple-banner .dot{width:13px;height:13px;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;display:block;transition:.2s}
.hero-simple-banner .dot.active{background:#000;transform:scale(1.08)}
@media(max-width:700px){.hero-simple-banner .hero-track{height:220px}.hero-simple-banner .hero-arrow{font-size:58px;width:42px;height:42px}.hero-simple-banner .hero-prev{left:6px}.hero-simple-banner .hero-next{right:6px}.hero-simple-banner .hero-dots{bottom:12px}.hero-simple-banner .dot{width:10px;height:10px}}

/* v4.0 Auto-Cut Image Hero Slider */
.hero-simple-banner{position:relative;margin:0 auto 28px;width:100%;max-width:100%;padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
.hero-simple-banner .hero-track{position:relative;width:100%;height:var(--hero-desktop-height,420px);overflow:hidden;background:#f2f2f2;border-radius:18px}
.hero-simple-banner .hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .45s ease;z-index:1;text-decoration:none}
.hero-simple-banner .hero-slide.active{opacity:1;visibility:visible;z-index:2}
.hero-simple-banner .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}
.hero-simple-banner .hero-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#f07cff,#7646ff);color:#fff;font-size:clamp(24px,4vw,48px);font-weight:800;letter-spacing:.02em;text-align:center;padding:20px}
.hero-simple-banner .hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:50px;height:50px;border:0;background:rgba(255,255,255,.85);color:#111;font-size:54px;font-weight:900;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.18);border-radius:50%;padding:0}
.hero-simple-banner .hero-prev{left:14px}.hero-simple-banner .hero-next{right:14px}
.hero-simple-banner .hero-arrow:hover{background:#fff}
.hero-simple-banner .hero-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:10px;z-index:6}
.hero-simple-banner .dot{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.65);cursor:pointer;display:block;transition:.2s;border:1px solid rgba(0,0,0,.15)}
.hero-simple-banner .dot.active{background:#111;transform:scale(1.12)}
@media(max-width:700px){.hero-simple-banner .hero-track{height:var(--hero-mobile-height,220px);border-radius:14px}.hero-simple-banner .hero-arrow{font-size:42px;width:36px;height:36px}.hero-simple-banner .hero-prev{left:7px}.hero-simple-banner .hero-next{right:7px}.hero-simple-banner .hero-dots{bottom:10px}.hero-simple-banner .dot{width:9px;height:9px}}


/* v4.1 HERO SLIDER AUTO-CUT FIX: force every slide image into a fixed crop box */
.hero-simple-banner,
.hero-simple-banner *{box-sizing:border-box}
.hero-simple-banner{width:100% !important;max-width:100% !important;overflow:hidden !important;background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important}
.hero-simple-banner .hero-track{position:relative !important;width:100% !important;height:var(--hero-desktop-height,420px) !important;min-height:0 !important;max-height:none !important;overflow:hidden !important;border-radius:18px !important;background:#f2f2f2 !important}
.hero-simple-banner .hero-slide{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;display:block !important;overflow:hidden !important;opacity:0 !important;visibility:hidden !important;z-index:1 !important;padding:0 !important;margin:0 !important;background:transparent !important}
.hero-simple-banner .hero-slide.active{opacity:1 !important;visibility:visible !important;z-index:2 !important}
.hero-simple-banner .hero-slide img,
.hero-simple-banner .hero-slide picture,
.hero-simple-banner .hero-slide picture img{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover !important;object-position:center center !important;display:block !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;transform:none !important}
.hero-simple-banner .hero-placeholder{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;display:grid !important;place-items:center !important;overflow:hidden !important}
@media(max-width:700px){.hero-simple-banner .hero-track{height:var(--hero-mobile-height,220px) !important;border-radius:14px !important}}

/* v4.2 Hero Slider Width + Height Auto Cut Fix
   Forces every uploaded hero image to fill the same banner box and crops both sides/top-bottom without stretching. */
main.wrap > .hero-simple-banner{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
}
.hero-simple-banner .hero-track{
    width:100% !important;
    height:var(--hero-desktop-height,420px) !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    position:relative !important;
}
.hero-simple-banner .hero-slide,
.hero-simple-banner .hero-slide.active{
    width:100% !important;
    height:100% !important;
    overflow:hidden !important;
}
.hero-simple-banner .hero-slide img{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    transform:translate(-50%,-50%) !important;
    display:block !important;
}
@media(max-width:700px){
    .hero-simple-banner .hero-track{
        height:var(--hero-mobile-height,220px) !important;
    }
}

/* v4.3 FINAL Hero Full Banner Auto Cut
   Full width inside the site container. Each slide uses CSS background-size: cover,
   so BOTH width and height are auto-cropped without stretching. */
main.wrap > section.hero.hero-simple-banner,
section.hero.hero-simple-banner{
    display:block !important;
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    margin:28px 0 36px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
section.hero.hero-simple-banner > .hero-track{
    display:block !important;
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    height:var(--hero-desktop-height,420px) !important;
    min-height:var(--hero-desktop-height,420px) !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    border-radius:18px !important;
    background:#ff00e8 !important;
}
section.hero.hero-simple-banner .hero-slide{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    padding:0 !important;
    margin:0 !important;
    opacity:0 !important;
    visibility:hidden !important;
    z-index:1 !important;
    overflow:hidden !important;
    background-color:#ff00e8 !important;
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    text-decoration:none !important;
}
section.hero.hero-simple-banner .hero-slide.active{
    opacity:1 !important;
    visibility:visible !important;
    z-index:2 !important;
}
section.hero.hero-simple-banner .hero-slide img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}
section.hero.hero-simple-banner .hero-placeholder{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:grid !important;
    place-items:center !important;
    background:#ff00e8 !important;
    color:#fff !important;
    font-size:clamp(28px,5vw,58px) !important;
    font-weight:800 !important;
    text-align:center !important;
}
section.hero.hero-simple-banner .hero-arrow{
    position:absolute !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    z-index:20 !important;
    width:54px !important;
    height:54px !important;
    border:0 !important;
    background:transparent !important;
    color:#000 !important;
    font-size:82px !important;
    font-weight:900 !important;
    line-height:1 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    cursor:pointer !important;
    padding:0 !important;
}
section.hero.hero-simple-banner .hero-prev{left:12px !important;}
section.hero.hero-simple-banner .hero-next{right:12px !important;}
section.hero.hero-simple-banner .hero-dots{
    position:absolute !important;
    left:50% !important;
    bottom:18px !important;
    transform:translateX(-50%) !important;
    display:flex !important;
    gap:12px !important;
    z-index:21 !important;
}
section.hero.hero-simple-banner .dot{
    width:12px !important;
    height:12px !important;
    border-radius:50% !important;
    display:block !important;
    background:rgba(255,255,255,.65) !important;
    border:0 !important;
    cursor:pointer !important;
}
section.hero.hero-simple-banner .dot.active{background:#000 !important;}
@media(max-width:700px){
    section.hero.hero-simple-banner > .hero-track{
        height:var(--hero-mobile-height,220px) !important;
        min-height:var(--hero-mobile-height,220px) !important;
        border-radius:14px !important;
    }
    section.hero.hero-simple-banner .hero-arrow{
        font-size:56px !important;
        width:40px !important;
        height:40px !important;
    }
    section.hero.hero-simple-banner .hero-prev{left:8px !important;}
    section.hero.hero-simple-banner .hero-next{right:8px !important;}
    section.hero.hero-simple-banner .dot{width:9px !important;height:9px !important;}
}

/* v4.4 REAL FULL BANNER HERO FIX
   Fixes: banner looked too small because older CSS/cache and background rendering constrained the slide.
   Result: one full-width banner, fixed height, image fills and crops both width/height without stretching. */
main.wrap > section.hero.hero-simple-banner,
body.home main.wrap > section.hero.hero-simple-banner,
section.hero.hero-simple-banner{
    width:100% !important;
    max-width:100% !important;
    min-width:100% !important;
    margin:28px 0 36px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
section.hero.hero-simple-banner > .hero-track{
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    height:var(--hero-desktop-height,420px) !important;
    min-height:360px !important;
    max-height:900px !important;
    overflow:hidden !important;
    border-radius:22px !important;
    background:#ff00e8 !important;
}
section.hero.hero-simple-banner .hero-slide,
section.hero.hero-simple-banner .hero-slide.active{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    display:block !important;
    background:#ff00e8 !important;
}
section.hero.hero-simple-banner .hero-slide{opacity:0 !important;visibility:hidden !important;z-index:1 !important;}
section.hero.hero-simple-banner .hero-slide.active{opacity:1 !important;visibility:visible !important;z-index:2 !important;}
section.hero.hero-simple-banner .hero-slide img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    transform:none !important;
}
section.hero.hero-simple-banner .hero-placeholder{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:grid !important;
    place-items:center !important;
    background:#ff00e8 !important;
    color:#fff !important;
    font-size:clamp(32px,5vw,62px) !important;
    font-weight:800 !important;
}
@media(max-width:700px){
    section.hero.hero-simple-banner > .hero-track{
        height:var(--hero-mobile-height,220px) !important;
        min-height:180px !important;
        max-height:500px !important;
        border-radius:14px !important;
    }
}


/* v4.5 Book showcase layout: Desktop 9 / 2 / 1, Mobile 3 / 2 / 1 */
.home .book-showcase,
.front-page .book-showcase,
.shelf.book-showcase{
  display:grid !important;
  grid-template-columns:repeat(9, minmax(0,1fr)) !important;
  gap:16px !important;
  overflow:visible !important;
  align-items:stretch;
}
.shelf.book-showcase .book-card{
  position:relative;
  min-width:0 !important;
  padding:0 !important;
  overflow:hidden;
  border-radius:18px;
  background:#080808;
  aspect-ratio:2/3;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.shelf.book-showcase .book-mini-cover{
  height:100% !important;
  width:100%;
  border-radius:18px;
  padding:0;
}
.shelf.book-showcase .book-mini-cover span{
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:18px 12px 54px;
  font-size:16px;
  line-height:1.12;
  background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.12) 55%,rgba(0,0,0,0));
}
.shelf.book-showcase .book-mini-cover.has-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.shelf.book-showcase .book-card:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:46%;
  pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.35),transparent);
}
.shelf.book-showcase .book-title,
.shelf.book-showcase .book-meta,
.shelf.book-showcase .actions{
  position:absolute;
  left:12px;
  right:12px;
  z-index:2;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.shelf.book-showcase .book-title{
  bottom:54px;
  margin:0;
  font-size:15px;
  line-height:1.15;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.shelf.book-showcase .book-meta{
  bottom:34px;
  font-size:12px;
  color:rgba(255,255,255,.75);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.shelf.book-showcase .actions{
  bottom:10px;
  display:flex;
  gap:6px;
  margin:0;
}
.shelf.book-showcase .actions .btn{
  padding:5px 8px;
  font-size:10px;
  line-height:1;
  border:0;
  background:rgba(255,255,255,.9);
  color:#111;
}
.shelf.book-showcase .actions .btn:not(.light){
  background:#1f120b;
  color:#fff;
}
/* Desktop row 2 has 2 cards centered, row 3 has 1 card centered */
@media(min-width:981px){
  .shelf.book-showcase .book-card:nth-child(10){grid-column:4 / span 1;}
  .shelf.book-showcase .book-card:nth-child(11){grid-column:5 / span 1;}
  .shelf.book-showcase .book-card:nth-child(12){grid-column:5 / span 1;}
}
@media(max-width:980px) and (min-width:761px){
  .shelf.book-showcase{grid-template-columns:repeat(5, minmax(0,1fr)) !important;}
}
@media(max-width:760px){
  .shelf.book-showcase{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding-bottom:0 !important;
  }
  .shelf.book-showcase .book-card{
    min-width:0 !important;
    border-radius:14px;
  }
  .shelf.book-showcase .book-mini-cover{border-radius:14px;}
  .shelf.book-showcase .book-card:nth-child(n+7){display:none;}
  .shelf.book-showcase .book-card:nth-child(4){grid-column:1 / span 1;}
  .shelf.book-showcase .book-card:nth-child(5){grid-column:2 / span 1;}
  .shelf.book-showcase .book-card:nth-child(6){grid-column:2 / span 1;}
  .shelf.book-showcase .book-title{font-size:12px;bottom:46px;left:8px;right:8px;}
  .shelf.book-showcase .book-meta{font-size:10px;bottom:29px;left:8px;right:8px;}
  .shelf.book-showcase .actions{bottom:7px;left:8px;right:8px;gap:4px;}
  .shelf.book-showcase .actions .btn{font-size:9px;padding:4px 6px;}
}


/* v4.6 Blog Posts responsive 6/2/1 desktop and 3/2/1 mobile */
.tsz-blog-mosaic{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:stretch}
.tsz-blog-mosaic .tsz-blog-card{grid-column:span 2;overflow:hidden;padding:0;display:flex;flex-direction:column;min-height:260px}
.tsz-blog-mosaic .tsz-blog-card:nth-child(7){grid-column:4 / span 3}
.tsz-blog-mosaic .tsz-blog-card:nth-child(8){grid-column:7 / span 3}
.tsz-blog-mosaic .tsz-blog-card:nth-child(9){grid-column:5 / span 4}
.tsz-blog-card .blog-thumb{display:block;position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,#f4d6a5,#b86c2c);overflow:hidden;text-decoration:none}
.tsz-blog-card .blog-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .25s ease}
.tsz-blog-card:hover .blog-thumb img{transform:scale(1.04)}
.tsz-blog-card .blog-thumb span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:900;font-size:22px;letter-spacing:.08em;background:linear-gradient(135deg,#1f130b,#c57a2c)}
.tsz-blog-card .blog-body{padding:16px}
.tsz-blog-card .blog-body h3{font-size:18px;line-height:1.25;margin:0 0 8px}
.tsz-blog-card .blog-body p{font-size:14px;margin:0 0 10px}
@media(max-width:760px){
  .tsz-blog-mosaic{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .tsz-blog-mosaic .tsz-blog-card{grid-column:span 2;min-height:220px}
  .tsz-blog-mosaic .tsz-blog-card:nth-child(4){grid-column:1 / span 3}
  .tsz-blog-mosaic .tsz-blog-card:nth-child(5){grid-column:4 / span 3}
  .tsz-blog-mosaic .tsz-blog-card:nth-child(6){grid-column:2 / span 4}
  .tsz-blog-mosaic .tsz-blog-card:nth-child(n+7){display:none}
  .tsz-blog-card .blog-body{padding:12px}
  .tsz-blog-card .blog-body h3{font-size:15px}
  .tsz-blog-card .blog-body p{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}


/* v4.7 Blog Posts SMALL CARD FIX: Desktop 6 / 2 / 1, Mobile 3 / 2 / 1 */
.section .blog-grid.tsz-blog-mosaic{
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card{
  grid-column:span 2 !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:16px !important;
}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(7){grid-column:4 / span 3 !important;}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(8){grid-column:7 / span 3 !important;}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(9){grid-column:5 / span 4 !important;}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(n+10){display:none !important;}
.section .blog-grid.tsz-blog-mosaic .blog-thumb{
  aspect-ratio: 3 / 2 !important;
  height:auto !important;
  border-radius:0 !important;
}
.section .blog-grid.tsz-blog-mosaic .blog-body{
  padding:10px 11px 12px !important;
}
.section .blog-grid.tsz-blog-mosaic .blog-body h3{
  font-size:13px !important;
  line-height:1.25 !important;
  margin:0 0 5px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.section .blog-grid.tsz-blog-mosaic .blog-body p{
  font-size:11px !important;
  line-height:1.35 !important;
  margin:0 0 6px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.section .blog-grid.tsz-blog-mosaic .blog-body .view{font-size:11px !important;}

@media(max-width:760px){
  .section .blog-grid.tsz-blog-mosaic{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card{
    grid-column:span 2 !important;
    border-radius:14px !important;
  }
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(4){grid-column:1 / span 3 !important;}
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(5){grid-column:4 / span 3 !important;}
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(6){grid-column:2 / span 4 !important;}
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(n+7){display:none !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-thumb{aspect-ratio:3 / 2 !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body{padding:8px !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body h3{font-size:11px !important;line-height:1.2 !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body p{display:none !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body .view{display:none !important;}
}

/* v4.8 Blog Posts ONE ROW SCROLL FIX */
.section .blog-grid.tsz-blog-mosaic{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  align-items:stretch !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory !important;
  -webkit-overflow-scrolling:touch !important;
  padding:4px 2px 14px !important;
  grid-template-columns:none !important;
}
.section .blog-grid.tsz-blog-mosaic::-webkit-scrollbar{height:6px !important;}
.section .blog-grid.tsz-blog-mosaic::-webkit-scrollbar-thumb{background:rgba(36,24,15,.22) !important;border-radius:999px !important;}
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card,
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(n){
  display:flex !important;
  flex:0 0 calc((100% - 70px) / 6) !important;
  width:calc((100% - 70px) / 6) !important;
  max-width:190px !important;
  min-width:150px !important;
  grid-column:auto !important;
  scroll-snap-align:start !important;
  border-radius:14px !important;
  padding:0 !important;
  overflow:hidden !important;
}
.section .blog-grid.tsz-blog-mosaic .blog-thumb{aspect-ratio:4 / 3 !important;}
.section .blog-grid.tsz-blog-mosaic .blog-body{padding:9px 10px 11px !important;}
.section .blog-grid.tsz-blog-mosaic .blog-body h3{font-size:12px !important;line-height:1.22 !important;margin:0 0 5px !important;}
.section .blog-grid.tsz-blog-mosaic .blog-body p{font-size:10.5px !important;line-height:1.3 !important;-webkit-line-clamp:2 !important;margin:0 0 6px !important;}
.section .blog-grid.tsz-blog-mosaic .blog-body .view{font-size:10.5px !important;}
@media(max-width:760px){
  .section .blog-grid.tsz-blog-mosaic{gap:10px !important;padding-bottom:12px !important;}
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card,
  .section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card:nth-child(n){
    display:flex !important;
    flex:0 0 calc((100% - 30px) / 3.5) !important;
    width:calc((100% - 20px) / 3) !important;
    min-width:105px !important;
    max-width:none !important;
    grid-column:auto !important;
  }
  .section .blog-grid.tsz-blog-mosaic .blog-thumb{aspect-ratio:3 / 2 !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body{padding:7px !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body h3{font-size:10.5px !important;line-height:1.15 !important;}
  .section .blog-grid.tsz-blog-mosaic .blog-body p,
  .section .blog-grid.tsz-blog-mosaic .blog-body .view{display:none !important;}
}

/* v4.9 Blog View All Archive Grid Fix */
.blog-archive-wrap{max-width:1280px !important;}
.blog-archive-section .blog-archive-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:14px !important;
  overflow:visible !important;
  padding:0 !important;
}
.blog-archive-grid .blog-archive-card{
  padding:0 !important;
  overflow:hidden !important;
  border-radius:14px !important;
  min-height:0 !important;
  box-shadow:0 8px 20px rgba(36,24,15,.06) !important;
}
.blog-archive-grid .blog-thumb{
  display:block !important;
  aspect-ratio:4 / 3 !important;
  overflow:hidden !important;
  background:linear-gradient(135deg,#f4d6a5,#b86c2c) !important;
  text-decoration:none !important;
  position:relative !important;
}
.blog-archive-grid .blog-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.blog-archive-grid .blog-thumb span{
  position:absolute !important;
  inset:0 !important;
  display:grid !important;
  place-items:center !important;
  color:#fff !important;
  font-weight:900 !important;
  background:linear-gradient(135deg,#1f130b,#c57a2c) !important;
}
.blog-archive-grid .blog-body{padding:9px 10px 11px !important;}
.blog-archive-grid .blog-body h3{font-size:12px !important;line-height:1.22 !important;margin:0 0 5px !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.blog-archive-grid .blog-body h3 a{text-decoration:none;color:inherit;}
.blog-archive-grid .blog-body p{font-size:10.5px !important;line-height:1.3 !important;margin:0 0 6px !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.blog-archive-grid .blog-body .view{font-size:10.5px !important;}
.blog-pagination{margin:28px 0;text-align:center;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.blog-pagination .page-numbers{padding:8px 12px;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:var(--text);background:var(--card);}
.blog-pagination .current{background:var(--primary);color:#fff;border-color:var(--primary);}
@media(max-width:900px){
  .blog-archive-section .blog-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;}
  .blog-archive-grid .blog-body{padding:7px !important;}
  .blog-archive-grid .blog-body h3{font-size:10.5px !important;line-height:1.15 !important;}
  .blog-archive-grid .blog-body p,.blog-archive-grid .blog-body .view{display:none !important;}
}
@media(max-width:420px){
  .blog-archive-section .blog-archive-grid{gap:8px !important;}
}


/* v5.1 Clean book covers + Categories responsive grid
   - Home book covers show image only. Title/Author/Buttons are available after clicking the book.
   - Categories: Desktop 8 columns, Mobile 4 columns. */
.shelf.book-showcase .book-card:after{
  display:none !important;
  content:none !important;
}
.shelf.book-showcase .book-title,
.shelf.book-showcase .book-meta,
.shelf.book-showcase .actions{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.shelf.book-showcase .book-mini-cover span{
  color:transparent !important;
  font-size:0 !important;
  text-indent:-9999px !important;
  padding:0 !important;
  background:transparent !important;
}
.shelf.book-showcase .book-mini-cover,
.shelf.book-showcase .book-mini-cover.has-image img{
  border-radius:18px !important;
}

.category-strip{
  display:grid !important;
  grid-template-columns:repeat(8,minmax(0,1fr)) !important;
  gap:14px !important;
  overflow:visible !important;
  padding-bottom:0 !important;
}
.category-strip .cat-tile{
  min-width:0 !important;
  width:auto !important;
}
@media(max-width:900px){
  .category-strip{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding-bottom:0 !important;
    scroll-snap-type:none !important;
  }
  .category-strip .cat-tile{
    min-width:0 !important;
    padding:12px 6px !important;
    border-radius:13px !important;
    scroll-snap-align:unset !important;
  }
  .category-strip .cat-icon{
    width:38px !important;
    height:38px !important;
    font-size:19px !important;
    margin-bottom:7px !important;
  }
  .category-strip .cat-tile b{
    font-size:11px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .category-strip .cat-tile span{
    font-size:9.5px !important;
    line-height:1.15 !important;
  }
}

/* v5.2: Reading & Listening, Trending, New Releases horizontal scroll
   - Home page book sections are one row and can be dragged/swiped sideways.
   - Desktop shows about 9.5 covers per view.
   - Mobile shows about 3.5 covers per view.
   - All covers remain clean; title/author/buttons stay hidden until single detail page. */
body.home main.wrap > section .shelf.book-showcase,
body.front-page main.wrap > section .shelf.book-showcase,
main.wrap > section .shelf.book-showcase{
  display:flex !important;
  flex-wrap:nowrap !important;
  grid-template-columns:none !important;
  gap:16px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  padding:2px 2px 14px !important;
  scroll-snap-type:x mandatory !important;
  -webkit-overflow-scrolling:touch !important;
  align-items:stretch !important;
}
body.home main.wrap > section .shelf.book-showcase > .book-card,
body.front-page main.wrap > section .shelf.book-showcase > .book-card,
main.wrap > section .shelf.book-showcase > .book-card,
body.home main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
body.front-page main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
  display:block !important;
  flex:0 0 calc((100% - 144px) / 9.5) !important;
  min-width:0 !important;
  grid-column:auto !important;
  scroll-snap-align:start !important;
}
body.home main.wrap > section .shelf.book-showcase::-webkit-scrollbar,
body.front-page main.wrap > section .shelf.book-showcase::-webkit-scrollbar,
main.wrap > section .shelf.book-showcase::-webkit-scrollbar{height:6px;}
body.home main.wrap > section .shelf.book-showcase::-webkit-scrollbar-thumb,
body.front-page main.wrap > section .shelf.book-showcase::-webkit-scrollbar-thumb,
main.wrap > section .shelf.book-showcase::-webkit-scrollbar-thumb{background:rgba(36,24,15,.22);border-radius:999px;}
@media(max-width:980px) and (min-width:761px){
  body.home main.wrap > section .shelf.book-showcase > .book-card,
  body.front-page main.wrap > section .shelf.book-showcase > .book-card,
  main.wrap > section .shelf.book-showcase > .book-card,
  body.home main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
  body.front-page main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
  main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
    flex-basis:calc((100% - 80px) / 5.5) !important;
  }
}
@media(max-width:760px){
  body.home main.wrap > section .shelf.book-showcase,
  body.front-page main.wrap > section .shelf.book-showcase,
  main.wrap > section .shelf.book-showcase{
    gap:10px !important;
    padding:2px 2px 12px !important;
  }
  body.home main.wrap > section .shelf.book-showcase > .book-card,
  body.front-page main.wrap > section .shelf.book-showcase > .book-card,
  main.wrap > section .shelf.book-showcase > .book-card,
  body.home main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
  body.front-page main.wrap > section .shelf.book-showcase > .book-card:nth-child(n),
  main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
    display:block !important;
    flex:0 0 calc((100% - 30px) / 3.5) !important;
    min-width:0 !important;
    grid-column:auto !important;
  }
}


/* v5.3: exact peek carousel — Desktop 9.5 cards, Mobile 3.5 cards */
main.wrap > section .shelf.book-showcase{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory !important;
  -webkit-overflow-scrolling:touch !important;
}
main.wrap > section .shelf.book-showcase > .book-card,
main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
  flex:0 0 calc((100% - 144px) / 9.5) !important;
  max-width:calc((100% - 144px) / 9.5) !important;
  min-width:0 !important;
  scroll-snap-align:start !important;
  grid-column:auto !important;
}
@media(max-width:980px) and (min-width:761px){
  main.wrap > section .shelf.book-showcase > .book-card,
  main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
    flex-basis:calc((100% - 80px) / 5.5) !important;
    max-width:calc((100% - 80px) / 5.5) !important;
  }
}
@media(max-width:760px){
  main.wrap > section .shelf.book-showcase{gap:10px !important;}
  main.wrap > section .shelf.book-showcase > .book-card,
  main.wrap > section .shelf.book-showcase > .book-card:nth-child(n){
    display:block !important;
    flex:0 0 calc((100% - 30px) / 3.5) !important;
    max-width:calc((100% - 30px) / 3.5) !important;
  }
}

/* v5.4: View All / archive pages use clean full-cover grid like homepage
   - Shows the entire book cover without cropping (object-fit: contain)
   - Compact responsive grid with title/author/buttons below the cover
   - Does not affect homepage horizontal shelves */
body.post-type-archive-book .library-grid,
body.post-type-archive-ts_book .library-grid,
body.post-type-archive-audiobook .library-grid,
body.tax-book_category .library-grid,
.archive .library-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
  padding:22px 0 28px !important;
}
body.post-type-archive-book .library-grid .book-card,
body.post-type-archive-ts_book .library-grid .book-card,
body.post-type-archive-audiobook .library-grid .book-card,
body.tax-book_category .library-grid .book-card,
.archive .library-grid .book-card{
  padding:12px !important;
  border-radius:18px !important;
  background:var(--card) !important;
  border:1px solid var(--border) !important;
  overflow:hidden !important;
  aspect-ratio:auto !important;
  min-height:0 !important;
  box-shadow:none !important;
}
body.post-type-archive-book .library-grid .book-card:hover,
body.post-type-archive-ts_book .library-grid .book-card:hover,
body.post-type-archive-audiobook .library-grid .book-card:hover,
body.tax-book_category .library-grid .book-card:hover,
.archive .library-grid .book-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 14px 30px rgba(36,24,15,.10) !important;
}
body.post-type-archive-book .library-grid .book-mini-cover,
body.post-type-archive-ts_book .library-grid .book-mini-cover,
body.post-type-archive-audiobook .library-grid .book-mini-cover,
body.tax-book_category .library-grid .book-mini-cover,
.archive .library-grid .book-mini-cover{
  width:100% !important;
  height:auto !important;
  aspect-ratio:2 / 3 !important;
  border-radius:14px !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body.post-type-archive-book .library-grid .book-mini-cover.has-image img,
body.post-type-archive-ts_book .library-grid .book-mini-cover.has-image img,
body.post-type-archive-audiobook .library-grid .book-mini-cover.has-image img,
body.tax-book_category .library-grid .book-mini-cover.has-image img,
.archive .library-grid .book-mini-cover.has-image img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:12px !important;
  background:#fff !important;
  display:block !important;
}
body.post-type-archive-book .library-grid .book-mini-cover span,
body.post-type-archive-ts_book .library-grid .book-mini-cover span,
body.post-type-archive-audiobook .library-grid .book-mini-cover span,
body.tax-book_category .library-grid .book-mini-cover span,
.archive .library-grid .book-mini-cover span{
  color:var(--text) !important;
  font-size:18px !important;
  text-indent:0 !important;
  padding:14px !important;
  background:linear-gradient(135deg,var(--g1),var(--g2)) !important;
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:flex-end !important;
}
body.post-type-archive-book .library-grid .book-title,
body.post-type-archive-ts_book .library-grid .book-title,
body.post-type-archive-audiobook .library-grid .book-title,
body.tax-book_category .library-grid .book-title,
.archive .library-grid .book-title{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  position:static !important;
  color:var(--text) !important;
  text-shadow:none !important;
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  margin:10px 0 3px !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}
body.post-type-archive-book .library-grid .book-meta,
body.post-type-archive-ts_book .library-grid .book-meta,
body.post-type-archive-audiobook .library-grid .book-meta,
body.tax-book_category .library-grid .book-meta,
.archive .library-grid .book-meta{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  position:static !important;
  color:var(--muted) !important;
  text-shadow:none !important;
  font-size:12px !important;
  margin:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body.post-type-archive-book .library-grid .actions,
body.post-type-archive-ts_book .library-grid .actions,
body.post-type-archive-audiobook .library-grid .actions,
body.tax-book_category .library-grid .actions,
.archive .library-grid .actions{
  display:flex !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  position:static !important;
  margin-top:10px !important;
  gap:7px !important;
}
body.post-type-archive-book .library-grid .actions .btn,
body.post-type-archive-ts_book .library-grid .actions .btn,
body.post-type-archive-audiobook .library-grid .actions .btn,
body.tax-book_category .library-grid .actions .btn,
.archive .library-grid .actions .btn{
  font-size:11px !important;
  padding:7px 10px !important;
  line-height:1 !important;
}
@media(max-width:1100px){
  body.post-type-archive-book .library-grid,
  body.post-type-archive-ts_book .library-grid,
  body.post-type-archive-audiobook .library-grid,
  body.tax-book_category .library-grid,
  .archive .library-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:15px !important;}
}
@media(max-width:760px){
  body.post-type-archive-book .library-grid,
  body.post-type-archive-ts_book .library-grid,
  body.post-type-archive-audiobook .library-grid,
  body.tax-book_category .library-grid,
  .archive .library-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;padding:16px 0 22px !important;}
  body.post-type-archive-book .library-grid .book-card,
  body.post-type-archive-ts_book .library-grid .book-card,
  body.post-type-archive-audiobook .library-grid .book-card,
  body.tax-book_category .library-grid .book-card,
  .archive .library-grid .book-card{padding:7px !important;border-radius:13px !important;}
  body.post-type-archive-book .library-grid .book-mini-cover,
  body.post-type-archive-ts_book .library-grid .book-mini-cover,
  body.post-type-archive-audiobook .library-grid .book-mini-cover,
  body.tax-book_category .library-grid .book-mini-cover,
  .archive .library-grid .book-mini-cover{border-radius:10px !important;}
  body.post-type-archive-book .library-grid .book-title,
  body.post-type-archive-ts_book .library-grid .book-title,
  body.post-type-archive-audiobook .library-grid .book-title,
  body.tax-book_category .library-grid .book-title,
  .archive .library-grid .book-title{font-size:11px !important;line-height:1.15 !important;margin-top:7px !important;}
  body.post-type-archive-book .library-grid .book-meta,
  body.post-type-archive-ts_book .library-grid .book-meta,
  body.post-type-archive-audiobook .library-grid .book-meta,
  body.tax-book_category .library-grid .book-meta,
  .archive .library-grid .book-meta{font-size:9.5px !important;}
  body.post-type-archive-book .library-grid .actions,
  body.post-type-archive-ts_book .library-grid .actions,
  body.post-type-archive-audiobook .library-grid .actions,
  body.tax-book_category .library-grid .actions,
  .archive .library-grid .actions{gap:4px !important;margin-top:7px !important;}
  body.post-type-archive-book .library-grid .actions .btn,
  body.post-type-archive-ts_book .library-grid .actions .btn,
  body.post-type-archive-audiobook .library-grid .actions .btn,
  body.tax-book_category .library-grid .actions .btn,
  .archive .library-grid .actions .btn{font-size:9px !important;padding:6px 7px !important;}
}


/* v5.5: FINAL View All / Books archive full-cover grid like Home Page
   Fixes /books/?sort=new showing large broken cards by targeting the template class directly.
   - Desktop: 8 columns full cover cards
   - Tablet: 5 columns
   - Mobile: 3 columns
   - Cover image shows fully (object-fit: contain) and never crops
   - Titles/authors/buttons stay below the cover, not over it
*/
.ts-books-archive-fullcover{
  max-width:1440px !important;
  width:100% !important;
}
.ts-books-archive-fullcover .section{
  margin-top:28px !important;
}
.ts-books-archive-fullcover .library-grid{
  display:grid !important;
  grid-template-columns:repeat(8,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
  width:100% !important;
  padding:22px 0 34px !important;
}
.ts-books-archive-fullcover .library-grid .book-card,
.ts-books-archive-fullcover .library-grid .book-card:nth-child(n){
  display:block !important;
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  padding:10px !important;
  margin:0 !important;
  overflow:visible !important;
  border-radius:16px !important;
  background:var(--card,#fffaf2) !important;
  border:1px solid var(--border,#eadfcc) !important;
  box-shadow:none !important;
  color:var(--text,#24180f) !important;
  transform:none !important;
}
.ts-books-archive-fullcover .library-grid .book-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 14px 30px rgba(36,24,15,.10) !important;
}
.ts-books-archive-fullcover .library-grid .book-card:after{
  display:none !important;
  content:none !important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:2 / 3 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:13px !important;
  background:#fff !important;
  color:var(--ink,var(--text,#24180f)) !important;
  box-shadow:none !important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover.has-image img,
.ts-books-archive-fullcover .library-grid .book-mini-cover img,
.ts-books-archive-fullcover .library-grid img.book-thumb{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:12px !important;
  background:#fff !important;
  padding:0 !important;
  margin:0 !important;
  transform:none !important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover:not(.has-image){
  background:linear-gradient(135deg,var(--g1,#f5d5b8),var(--g2,#c97b63)) !important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover span{
  display:flex !important;
  align-items:flex-end !important;
  width:100% !important;
  height:100% !important;
  padding:14px !important;
  color:var(--ink,#3a1f14) !important;
  font-size:clamp(12px,1vw,16px) !important;
  line-height:1.15 !important;
  text-indent:0 !important;
  background:linear-gradient(to top,rgba(255,255,255,.22),transparent) !important;
  overflow:hidden !important;
}
.ts-books-archive-fullcover .library-grid .book-title,
.ts-books-archive-fullcover .library-grid .book-meta,
.ts-books-archive-fullcover .library-grid .actions{
  display:flex !important;
  position:static !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  color:var(--text,#24180f) !important;
  text-shadow:none !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:auto !important;
}
.ts-books-archive-fullcover .library-grid .book-title{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  font-size:13px !important;
  line-height:1.22 !important;
  font-weight:900 !important;
  margin:9px 0 3px !important;
}
.ts-books-archive-fullcover .library-grid .book-meta{
  display:block !important;
  font-size:11px !important;
  color:var(--muted,#7d6b5b) !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  margin:0 !important;
}
.ts-books-archive-fullcover .library-grid .actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin-top:9px !important;
}
.ts-books-archive-fullcover .library-grid .actions .btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:10px !important;
  line-height:1 !important;
  padding:6px 8px !important;
  border-radius:999px !important;
  white-space:nowrap !important;
}
@media(max-width:1240px){
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:16px !important;}
}
@media(max-width:980px){
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:14px !important;}
}
@media(max-width:760px){
  .ts-books-archive-fullcover{padding-left:12px !important;padding-right:12px !important;}
  .ts-books-archive-fullcover .section-head{align-items:center !important;}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;padding:16px 0 24px !important;}
  .ts-books-archive-fullcover .library-grid .book-card{padding:6px !important;border-radius:12px !important;}
  .ts-books-archive-fullcover .library-grid .book-mini-cover{border-radius:10px !important;}
  .ts-books-archive-fullcover .library-grid .book-title{font-size:10.5px !important;line-height:1.15 !important;margin-top:6px !important;}
  .ts-books-archive-fullcover .library-grid .book-meta{font-size:9px !important;}
  .ts-books-archive-fullcover .library-grid .actions{gap:4px !important;margin-top:6px !important;}
  .ts-books-archive-fullcover .library-grid .actions .btn{font-size:8.5px !important;padding:5px 6px !important;}
}


/* v5.8: Support companion plugin Books post type (ts_book) archive grid */
body.post-type-archive-ts_book .library-grid,
body.tax-book_category .library-grid{
  display:grid !important;
  grid-template-columns:repeat(8,minmax(0,1fr)) !important;
  gap:20px !important;
}
body.post-type-archive-ts_book .library-grid .book-card,
body.tax-book_category .library-grid .book-card{
  width:auto !important; min-width:0 !important; padding:10px !important;
}
body.post-type-archive-ts_book .library-grid .book-mini-cover,
body.tax-book_category .library-grid .book-mini-cover{
  height:auto !important; aspect-ratio:2/3 !important; padding:0 !important; overflow:hidden !important;
}
body.post-type-archive-ts_book .library-grid .book-mini-cover.has-image img,
body.tax-book_category .library-grid .book-mini-cover.has-image img{
  width:100% !important; height:100% !important; object-fit:contain !important; object-position:center center !important;
}
@media(max-width:900px){
  body.post-type-archive-ts_book .library-grid,
  body.tax-book_category .library-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:14px !important;}
}
@media(max-width:560px){
  body.post-type-archive-ts_book .library-grid,
  body.tax-book_category .library-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:12px !important;}
}


/* v6.2: Accurate counter layout for Categories and Best Authors */
.cat-tile span,
.author-chip span{
  font-variant-numeric: tabular-nums;
}
@media(max-width:900px){
  .authors-strip{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding-bottom:0 !important;
    scroll-snap-type:none !important;
  }
  .author-chip{
    min-width:0 !important;
    scroll-snap-align:unset !important;
  }
  .author-chip .avatar{
    width:54px !important;
    height:54px !important;
  }
  .author-chip b{
    font-size:11px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .author-chip span{
    font-size:9.5px !important;
  }
}

/* v6.3 search + clean single detail */
.thuta-search-form{display:flex;align-items:center;gap:8px;margin-left:16px;position:relative}
.thuta-search-input{width:0;max-width:0;opacity:0;padding:0;border:0;transition:all .22s ease;background:#fff;border-radius:999px;height:40px;color:#2b1b12}
.thuta-search-form:focus-within .thuta-search-input,.thuta-search-form:hover .thuta-search-input{width:220px;max-width:220px;opacity:1;padding:0 14px;border:1px solid rgba(62,38,23,.14)}
.thuta-search-form .search-btn{border:0;cursor:pointer;white-space:nowrap;text-decoration:none}
.thuta-search-page-form{display:flex;gap:10px;margin:12px 0 24px;max-width:680px}
.thuta-search-page-form input[type="search"]{flex:1;border:1px solid rgba(62,38,23,.16);border-radius:14px;padding:12px 14px;background:#fff;color:#2b1b12}
.thuta-search-grid.library-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.thuta-clean-note{display:none!important}
@media (max-width:900px){.head-inner{gap:10px}.thuta-search-form{margin-left:0}.thuta-search-form:focus-within .thuta-search-input,.thuta-search-form:hover .thuta-search-input{width:150px;max-width:150px}.thuta-search-grid.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.thuta-search-page-form{flex-direction:column}}

/* v6.5.1 footer mobile horizontal fix */
.footer-nav ul{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;list-style:none;margin:12px 0 0;padding:0;}
.footer-nav li{display:inline-flex;}
.footer-nav a{white-space:nowrap;}
@media(max-width:720px){.footer-nav ul{flex-direction:row!important;flex-wrap:wrap!important;gap:12px 16px!important;justify-content:center!important}.footer{text-align:center}}


/* v7.0 Final Stable polish */
.nav .nav-link{position:relative;padding:8px 0;white-space:nowrap}
.nav .nav-link.active{color:var(--text);font-weight:900}
.nav .nav-link.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:99px;background:var(--accent)}
.thuta-search-form{display:flex;align-items:center;gap:8px;min-width:260px}
.thuta-search-input{width:100%;border:1px solid var(--border);border-radius:999px;background:#fffaf2;padding:11px 14px;color:var(--text);outline:none}
.thuta-search-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(184,121,47,.12)}
.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-nav ul{display:flex;align-items:center;gap:18px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.footer-nav a{font-weight:800;color:var(--muted)}
.footer-nav a:hover{color:var(--accent)}
.footer-copyright{width:100%;margin:8px 0 0;font-size:13px}
@media(max-width:760px){.head-inner{gap:10px}.thuta-search-form{min-width:0;margin-left:auto}.thuta-search-input{display:none}.search-btn{font-size:0;padding:10px 12px}.search-btn:before{content:"🔍";font-size:16px}.footer .wrap{justify-content:center;text-align:center}.footer-nav ul{justify-content:center;gap:14px}.footer-copyright{text-align:center}.nav{display:none}}

/* v7.1 Review / Wishlist / Share buttons */
.thuta-book-social-actions{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:22px;
  flex-wrap:wrap;
}
.thuta-book-action{
  appearance:none;
  border:0;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:64px;
  color:#3c2a1d;
  font:inherit;
  padding:4px 6px;
  transition:transform .18s ease, color .18s ease;
}
.thuta-book-action:hover{transform:translateY(-2px);color:var(--accent,#b8792f)}
.thuta-action-icon{
  width:30px;
  height:30px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  line-height:1;
  background:#fffaf2;
  border:1px solid rgba(62,38,23,.10);
  box-shadow:0 8px 20px rgba(38,22,10,.06);
}
.thuta-review-action .thuta-action-icon{color:#0b72b9}
.thuta-wishlist-action .thuta-action-icon{color:#ff4e88}
.thuta-share-action .thuta-action-icon{color:#18a66a}
.thuta-wishlist-action.is-active .thuta-action-icon{background:#fff0f6;color:#ff1f73;border-color:rgba(255,31,115,.22)}
.thuta-wishlist-action.is-active .thuta-action-icon::before{content:'♥'}
.thuta-wishlist-action.is-active .thuta-action-icon{font-size:0}
.thuta-wishlist-action.is-active .thuta-action-icon::before{font-size:21px}
.thuta-action-label{font-size:12px;font-weight:700;color:#5f5147}
.thuta-book-action:focus-visible{outline:3px solid rgba(184,121,47,.25);outline-offset:4px;border-radius:12px}
@media(max-width:720px){
  .thuta-book-social-actions{justify-content:center;gap:18px;margin-top:18px}
  .thuta-action-icon{width:28px;height:28px;font-size:22px}
  .thuta-action-label{font-size:11px}
}


/* v7.2 Login Plugin Hook: Search + Login side-by-side */
.header-extra-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.head-inner .thuta-search-form{flex:0 0 auto}.head-inner{overflow:visible}.site-header{overflow:visible}@media(max-width:760px){.header-extra-actions{margin-left:0}.head-inner .thuta-search-form{margin-left:auto}.header-extra-actions .ts-header-login-btn{padding:10px 12px}}

/* ========================================================================
   ThutaSone Official Design System v1.0 — Theme v8.0.0
   ======================================================================== */
:root{
  --thuta-primary:#0A7A5A;
  --thuta-primary-dark:#065F46;
  --thuta-primary-light:#D1FAE5;
  --thuta-secondary:#1F2937;
  --thuta-surface:#F9FAFB;
  --thuta-card:#FFFFFF;
  --thuta-border:#E5E7EB;
  --thuta-text:#1F2937;
  --thuta-muted:#6B7280;
  --thuta-info:#2563EB;
  --thuta-premium:#7C3AED;
  --thuta-warning:#F97316;
  --thuta-error:#DC2626;
  --thuta-success:#16A34A;
  --thuta-radius-button:16px;
  --thuta-radius-card:20px;
  --thuta-shadow:0 10px 30px rgba(31,41,55,.08);
  --thuta-container:1240px;
}
html{scroll-behavior:smooth;color-scheme:light;}
html.thuta-dark{color-scheme:dark;--thuta-surface:#0D0F14;--thuta-card:#1F2937;--thuta-border:#374151;--thuta-text:#FFFFFF;--thuta-muted:#CBD5E1;--thuta-shadow:0 12px 36px rgba(0,0,0,.28)}
body.thutasone-design-system-v1{margin:0;background:var(--thuta-surface);color:var(--thuta-text);font-family:Poppins,"Noto Sans Myanmar",Pyidaungsu,system-ui,-apple-system,sans-serif;transition:background .2s ease,color .2s ease;padding-bottom:0}
.wrap{width:min(calc(100% - 32px),var(--thuta-container));margin-inline:auto}
a{color:inherit}.material-symbols-rounded{font-family:'Material Symbols Rounded';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}
.site-header{position:sticky;top:0;z-index:1000;background:color-mix(in srgb,var(--thuta-card) 92%,transparent);border-bottom:1px solid var(--thuta-border);backdrop-filter:blur(18px)}
.thuta-app-header{min-height:72px;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:20px}.thuta-profile-action{display:none}.thuta-header-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--thuta-primary-light)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.brand-logo img,.custom-logo{width:auto;max-width:48px;height:48px;object-fit:contain}.brand-text{display:flex;flex-direction:column;line-height:1.15}.site-title-text{font-weight:700;font-size:20px;color:var(--thuta-primary)}.site-tagline{font-size:11px;color:var(--thuta-muted);margin-top:3px}
.nav{display:flex;align-items:center;justify-content:center;gap:8px}.nav-link{padding:10px 14px;border-radius:14px;text-decoration:none;font-weight:500;color:var(--thuta-secondary);transition:.2s ease}html.thuta-dark .nav-link{color:#E5E7EB}.nav-link:hover,.nav-link.active{color:var(--thuta-primary);background:var(--thuta-primary-light)}
.header-extra-actions{display:flex;align-items:center;gap:8px}.thuta-icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--thuta-border);border-radius:14px;background:var(--thuta-card);color:var(--thuta-text);text-decoration:none;cursor:pointer}.thuta-icon-button:hover{border-color:var(--thuta-primary);color:var(--thuta-primary)}
.thuta-header-search-row{padding-bottom:12px}.thuta-search-form{max-width:760px;margin-inline:auto;position:relative;display:flex;align-items:center;background:var(--thuta-card);border:1px solid var(--thuta-border);border-radius:16px;padding:4px 4px 4px 44px;box-shadow:0 4px 16px rgba(31,41,55,.04)}.thuta-search-icon{position:absolute;left:14px;color:var(--thuta-muted)}.thuta-search-input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--thuta-text)!important;padding:12px 8px!important;font:inherit!important}.search-btn,.btn,.button,button[type=submit],input[type=submit]{min-height:44px;border:0;border-radius:var(--thuta-radius-button);background:var(--thuta-primary);color:#fff;padding:10px 18px;font:600 14px/1 Poppins,"Noto Sans Myanmar",sans-serif;cursor:pointer;transition:transform .16s ease,background .16s ease}.search-btn:hover,.btn:hover,.button:hover,button[type=submit]:hover,input[type=submit]:hover{background:var(--thuta-primary-dark);transform:translateY(-1px)}
.section{margin-block:40px}.section-head h2,.icon-title{color:var(--thuta-text);letter-spacing:-.02em}.view{color:var(--thuta-primary)!important;font-weight:600;text-decoration:none}.notice{border-radius:16px;border:1px solid var(--thuta-border);background:var(--thuta-card);padding:16px}
.book-card,.blog-card,.cat-tile,.author-chip,.thuta-clean-single-book,.reader-shell,.audio-player-shell{border-radius:var(--thuta-radius-card)!important;background:var(--thuta-card)!important;border:1px solid var(--thuta-border)!important;box-shadow:var(--thuta-shadow)!important;color:var(--thuta-text)!important;overflow:hidden}.book-card img,.book-cover img{border-radius:16px;transition:transform .25s ease}.book-card:hover img{transform:scale(1.025)}.cat-tile,.author-chip{transition:transform .18s ease,border-color .18s ease}.cat-tile:hover,.author-chip:hover{transform:translateY(-3px);border-color:var(--thuta-primary)!important}
.hero{border-radius:24px!important;overflow:hidden;box-shadow:var(--thuta-shadow)}.hero-arrow{background:rgba(13,15,20,.54)!important;color:#fff!important;border-radius:50%!important;width:44px!important;height:44px!important;padding:0!important}.dot.active{background:var(--thuta-primary)!important}
.footer{margin-top:64px;padding:40px 0 96px;background:var(--thuta-secondary);color:#fff}.footer-nav ul{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0}.footer a{color:#fff}.footer-copyright{color:#D1D5DB}
.thuta-mobile-nav{display:none}
:focus-visible{outline:3px solid color-mix(in srgb,var(--thuta-primary) 55%,transparent);outline-offset:3px}
@media(max-width:900px){.thuta-app-header{grid-template-columns:auto 1fr auto;min-height:64px}.thuta-profile-action{display:block}.brand{justify-self:center}.brand-text{display:none}.brand-logo img,.custom-logo{height:44px;max-width:112px}.nav{display:none}.header-extra-actions [data-thuta-theme-toggle]{display:none}.thuta-header-search-row{padding-bottom:10px}.search-btn{font-size:0;width:44px;padding:0}.search-btn:after{content:'→';font-size:18px}.wrap{width:min(calc(100% - 24px),var(--thuta-container))}.section{margin-block:28px}.thuta-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:1200;background:color-mix(in srgb,var(--thuta-card) 94%,transparent);border:1px solid var(--thuta-border);border-radius:20px;box-shadow:0 14px 44px rgba(0,0,0,.18);backdrop-filter:blur(20px);padding:7px}.thuta-mobile-nav-item{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;padding:7px 2px;border-radius:14px;text-decoration:none;color:var(--thuta-muted)}.thuta-mobile-nav-item small{font-size:10px;white-space:nowrap}.thuta-mobile-nav-item.active,.thuta-mobile-nav-item:hover{background:var(--thuta-primary-light);color:var(--thuta-primary)}body.thutasone-design-system-v1{padding-bottom:92px}.footer{padding-bottom:112px}}
@media(max-width:520px){.thuta-app-header{gap:8px}.header-extra-actions{gap:4px}.thuta-icon-button{width:40px;height:40px}.thuta-search-form{padding-left:40px}.section-head h2{font-size:20px}.hero{border-radius:20px!important}}

/* ========================================================================
   ThutaSone Theme v8.1.0 — App-style responsive polish
   ======================================================================== */
@media (min-width:901px){
  .site-header{position:sticky;top:0}
  .thuta-app-header{
    min-height:76px;
    display:grid;
    grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);
    align-items:center;
    gap:24px;
  }
  .brand{justify-self:start;max-width:340px}
  .brand-logo{display:flex;align-items:center;flex:0 0 auto}
  .brand-logo .custom-logo-link{display:flex;align-items:center}
  .brand-logo img,.brand-logo .custom-logo{
    width:auto!important;
    height:50px!important;
    max-width:190px!important;
    object-fit:contain!important;
  }
  .brand-text{display:flex!important}
  .site-title-text{font-size:21px}
  .nav{justify-self:center;margin:0;gap:4px}
  .nav-link{padding:10px 13px}
  .header-extra-actions{justify-self:end}
  .thuta-header-search-row{padding:0 0 14px}
  .thuta-search-form{max-width:820px}
}

/* Header logo fallback remains clearly branded even when the uploaded logo is tiny. */
.brand:not(:has(.brand-logo))::before{
  content:'menu_book';
  font-family:'Material Symbols Rounded';
  font-size:32px;
  color:var(--thuta-primary);
}

/* App-like hero card while preserving the user's uploaded slide artwork. */
.hero-simple-banner{
  margin-top:22px!important;
  border:1px solid var(--thuta-border)!important;
  background:var(--thuta-card)!important;
  border-radius:24px!important;
  box-shadow:0 16px 42px rgba(31,41,55,.10)!important;
}
.hero-simple-banner .hero-track,
.hero-simple-banner .hero-slide{border-radius:24px!important}
.hero-simple-banner .hero-slide{padding:0!important;background:var(--thuta-card)!important}
.hero-simple-banner .hero-slide img{
  width:100%!important;
  height:var(--hero-desktop-height,420px)!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:24px!important;
}
.hero-simple-banner .hero-dots{
  left:50%!important;
  bottom:14px!important;
  transform:translateX(-50%);
  padding:7px 10px;
  border-radius:999px;
  background:rgba(13,15,20,.42);
  backdrop-filter:blur(8px);
}
.hero-simple-banner .dot{width:8px;height:8px;background:#fff!important;opacity:.48}
.hero-simple-banner .dot.active{width:24px;opacity:1}
.hero-simple-banner .hero-arrow{
  top:50%!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  place-items:center!important;
  font-size:30px!important;
  line-height:1!important;
  z-index:3!important;
}
.hero-simple-banner .hero-prev{left:16px!important}
.hero-simple-banner .hero-next{right:16px!important}

/* Stronger section rhythm and consistent app cards. */
main.wrap{padding-top:2px}
.section{margin-block:38px!important}
.section-head{align-items:center!important;margin-bottom:16px!important}
.section-head h2,.icon-title{font-size:clamp(21px,2.1vw,30px)!important;font-weight:700!important}
.eyebrow{color:var(--thuta-warning)!important;font-size:11px!important;letter-spacing:.18em!important}
.category-strip,.authors-strip{gap:14px!important}
.cat-tile,.author-chip{
  min-height:116px;
  padding:16px 10px!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.cat-icon{
  width:48px!important;height:48px!important;
  background:var(--thuta-primary-light)!important;
  color:var(--thuta-primary)!important;
}
.author-chip .avatar{border-color:var(--thuta-card)!important;box-shadow:0 8px 20px rgba(31,41,55,.12)!important}
.cat-tile b,.author-chip b{color:var(--thuta-text)!important}
.cat-tile span,.author-chip span{color:var(--thuta-muted)!important}

/* Book shelves: clean, equal covers, no cramped overlays. */
.shelf{gap:14px!important}
.shelf .book-card{border-radius:18px!important}
.shelf .book-mini-cover{aspect-ratio:2/3!important;height:auto!important;background:var(--thuta-card)!important}
.shelf .book-mini-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
.shelf.book-showcase .book-card{box-shadow:0 8px 24px rgba(31,41,55,.08)!important}

/* Blog cards use the same Material 3 visual language. */
.section .blog-grid.tsz-blog-mosaic > article.blog-card.tsz-blog-card{
  border-radius:18px!important;
  border:1px solid var(--thuta-border)!important;
  box-shadow:0 8px 24px rgba(31,41,55,.08)!important;
}
.section .blog-grid.tsz-blog-mosaic::-webkit-scrollbar-thumb{background:var(--thuta-border)!important}

/* Footer: aligned, readable and less visually empty. */
.footer{margin-top:56px!important;padding:36px 0 40px!important}
.footer>.wrap{
  display:grid!important;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:14px 28px;
}
.footer>.wrap>b{font-size:18px;color:#fff}
.footer-nav{grid-column:2;grid-row:1 / span 2}
.footer-copyright{grid-column:1;margin:0!important}

/* Dark mode surfaces. */
html.thuta-dark .site-header{background:rgba(13,15,20,.92)}
html.thuta-dark .thuta-search-form,
html.thuta-dark .cat-tile,
html.thuta-dark .author-chip{background:var(--thuta-card)!important}
html.thuta-dark .hero-simple-banner{box-shadow:0 18px 48px rgba(0,0,0,.34)!important}

@media(max-width:900px){
  .thuta-app-header{grid-template-columns:44px 1fr 44px!important;min-height:64px!important}
  .brand{justify-self:center!important;max-width:170px}
  .brand-logo img,.brand-logo .custom-logo{height:40px!important;max-width:145px!important}
  .header-extra-actions{justify-self:end}
  .header-extra-actions>a:not(:last-of-type),
  .header-extra-actions>button{display:none!important}
  .header-extra-actions .thuta-icon-button{display:grid!important}
  .thuta-header-search-row{padding-bottom:10px!important}
  .thuta-search-form{max-width:none!important}
  .hero-simple-banner{margin-top:14px!important;border-radius:20px!important}
  .hero-simple-banner .hero-track,.hero-simple-banner .hero-slide,.hero-simple-banner .hero-slide img{border-radius:20px!important}
  .hero-simple-banner .hero-slide img{height:var(--hero-mobile-height,220px)!important}
  .hero-simple-banner .hero-arrow{width:38px!important;height:38px!important;font-size:25px!important}
  .hero-simple-banner .hero-prev{left:8px!important}.hero-simple-banner .hero-next{right:8px!important}
  .category-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;gap:9px!important}
  .cat-tile{min-width:0!important;min-height:96px;padding:10px 5px!important;border-radius:16px!important}
  .cat-icon{width:40px!important;height:40px!important;margin-bottom:7px!important}
  .cat-tile b{font-size:10.5px!important}.cat-tile span{font-size:8.5px!important}
  .authors-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .footer>.wrap{display:flex!important;flex-direction:column!important;text-align:center!important}
  .footer-nav{order:2}.footer-copyright{order:3}
}

@media(max-width:520px){
  .wrap{width:min(calc(100% - 20px),var(--thuta-container))!important}
  .thuta-search-form{border-radius:14px!important}
  .section{margin-block:26px!important}
  .section-head{margin-bottom:12px!important}
  .section-head h2,.icon-title{font-size:20px!important}
  .view{font-size:12px!important}
  .hero-simple-banner .hero-slide img{min-height:190px}
}


/* v8.1.1: Books archive compatibility hotfix.
   Never apply archive grid/card declarations to the BODY element itself.
   Supports the thutasone-website plugin archive container. */
body.post-type-archive-book,
body.post-type-archive-ts_book,
body.post-type-archive-audiobook {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  writing-mode:horizontal-tb !important;
}
body.post-type-archive-book main.tswv6-books-page,
body.post-type-archive-ts_book main.tswv6-books-page,
body.post-type-archive-audiobook main.tswv6-books-page {
  display:block !important;
  width:min(calc(100% - 36px),1240px) !important;
  max-width:1240px !important;
  min-width:0 !important;
  margin:0 auto !important;
  writing-mode:horizontal-tb !important;
}
body.post-type-archive-book main.tswv6-books-page *,
body.post-type-archive-ts_book main.tswv6-books-page *,
body.post-type-archive-audiobook main.tswv6-books-page * {
  writing-mode:horizontal-tb !important;
}
@media(max-width:760px){
  body.post-type-archive-book main.tswv6-books-page,
  body.post-type-archive-ts_book main.tswv6-books-page,
  body.post-type-archive-audiobook main.tswv6-books-page {
    width:min(calc(100% - 24px),1240px) !important;
  }
}

/* ========================================================================
   ThutaSone Theme v8.1.2 — Mobile color parity
   Keep Website, Book Archive and plugin-rendered Book Detail pages aligned
   with the official mobile palette.
   ======================================================================== */
:root{
  --bg:var(--thuta-surface);
  --card:var(--thuta-card);
  --text:var(--thuta-text);
  --muted:var(--thuta-muted);
  --border:var(--thuta-border);
  --accent:var(--thuta-primary);
  --accent2:var(--thuta-primary-dark);
}
body.thutasone-design-system-v1,
body.post-type-archive-book,
body.post-type-archive-ts_book,
body.single-book,
body.single-ts_book{
  background:var(--thuta-surface)!important;
  color:var(--thuta-text)!important;
}
.eyebrow{color:var(--thuta-primary)!important}
.book-card .actions .btn,
.ts-books-archive-fullcover .actions .btn{
  border-radius:16px!important;
  border:1px solid var(--thuta-primary)!important;
  background:var(--thuta-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.book-card .actions .btn:hover,
.ts-books-archive-fullcover .actions .btn:hover{
  background:var(--thuta-primary-dark)!important;
  border-color:var(--thuta-primary-dark)!important;
}
.book-card .actions .btn.light,
.ts-books-archive-fullcover .actions .btn.light{
  background:var(--thuta-card)!important;
  color:var(--thuta-primary)!important;
  border-color:var(--thuta-primary)!important;
}
.book-card .actions .btn.light:hover,
.ts-books-archive-fullcover .actions .btn.light:hover{
  background:var(--thuta-primary-light)!important;
  color:var(--thuta-primary-dark)!important;
}

/* Book Detail Pro compatibility. These selectors intentionally override the
   plugin's former amber palette without changing its layout or logic. */
.tsbdp-page,
.tsbdp-shell,
.tsbdp-book-detail{
  --tsbdp-bg:var(--thuta-surface)!important;
  --tsbdp-card:var(--thuta-card)!important;
  --tsbdp-ink:var(--thuta-text)!important;
  --tsbdp-muted:var(--thuta-muted)!important;
  --tsbdp-accent:var(--thuta-primary)!important;
  --tsbdp-accent-deep:var(--thuta-primary-dark)!important;
  --tsbdp-line:var(--thuta-border)!important;
}
.tsbdp-page{background:var(--thuta-surface)!important;color:var(--thuta-text)!important}
.tsbdp-action-button{
  border-radius:16px!important;
  background:var(--thuta-primary)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(10,122,90,.20)!important;
}
.tsbdp-action-button:hover{background:var(--thuta-primary-dark)!important;color:#fff!important}
.tsbdp-fact{background:var(--thuta-card)!important;border:1px solid var(--thuta-border)!important}
.tsbdp-fact-icon,.tsbdp-summary-icon{background:var(--thuta-primary-light)!important;color:var(--thuta-primary-dark)!important}
.tsbdp-fact-copy span,.tsbdp-title,.tsbdp-summary{color:var(--thuta-text)!important}
.tsbdp-summary{border-color:var(--thuta-border)!important}
.tsbdp-summary a,.tsbdp-see-more,.tsbdp-section-heading a{color:var(--thuta-primary)!important}
.tsbdp-back{background:var(--thuta-secondary)!important;color:#fff!important}

html.thuta-dark .tsbdp-fact-icon,
html.thuta-dark .tsbdp-summary-icon{background:rgba(10,122,90,.22)!important;color:#6EE7B7!important}
html.thuta-dark .book-card .actions .btn.light{background:var(--thuta-card)!important;color:#6EE7B7!important}


/* ========================================================================
   ThutaSone Theme v8.1.3 — Compact header and library grid refinement
   ======================================================================== */
@media (min-width:901px){
  .site-header{position:sticky!important;top:0!important}
  .thuta-app-header{
    min-height:58px!important;
    height:58px!important;
    grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr)!important;
    gap:16px!important;
  }
  .brand-logo img,.brand-logo .custom-logo{
    height:36px!important;
    max-width:132px!important;
  }
  .brand-text{display:flex!important}
  .site-title-text{font-size:18px!important;line-height:1!important}
  .site-tagline{display:none!important}
  .nav{gap:2px!important}
  .nav-link{padding:8px 10px!important;font-size:13px!important}
  .header-extra-actions{gap:6px!important}
  .thuta-icon-button{width:38px!important;height:38px!important;border-radius:12px!important}
  .thuta-header-search-row{padding:0 0 9px!important}
  .thuta-search-form{max-width:780px!important;min-height:42px!important;border-radius:14px!important;padding:2px 3px 2px 40px!important}
  .thuta-search-input{padding:9px 7px!important;font-size:13px!important}
  .search-btn{min-height:36px!important;padding:8px 18px!important;border-radius:12px!important}
}

/* Make a tiny transparent-canvas logo readable while keeping the site name visible. */
.brand-logo{overflow:visible!important}
.brand-logo .custom-logo-link{overflow:visible!important}
.brand-logo img,.brand-logo .custom-logo{transform:scale(1.18);transform-origin:center}
.brand-text:empty::before,.site-title-text:empty::before{content:'THUTASONE'}

/* Plugin-rendered Books archive: match the mobile app shelf proportions. */
body.post-type-archive-book main.tswv6-books-page,
body.post-type-archive-ts_book main.tswv6-books-page,
body.post-type-archive-audiobook main.tswv6-books-page{
  width:min(calc(100% - 32px),1240px)!important;
  max-width:1240px!important;
  padding:26px 0 64px!important;
}
.tswv6-books-head{margin-bottom:20px!important}
.tswv6-books-head h1{font-size:clamp(28px,3vw,42px)!important}
.tswv6-book-grid{
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.tswv6-book-card{min-width:0!important}
.tswv6-book-card .cover{
  border-radius:14px!important;
  box-shadow:0 8px 20px rgba(31,41,55,.10)!important;
}
.tswv6-book-card h2{
  font-size:12px!important;
  line-height:1.25!important;
  margin:8px 1px 0!important;
  min-height:30px;
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tswv6-action-row{gap:5px!important;margin-top:7px!important}
.tswv6-action-row a,.tswv6-action-row button,.tswv6-action-row [role="button"]{
  min-height:30px!important;
  padding:5px 6px!important;
  font-size:10px!important;
  border-radius:12px!important;
}
.tswv6-action-row .read{background:var(--thuta-card)!important;color:var(--thuta-primary)!important;border-color:var(--thuta-primary)!important}
.tswv6-action-row .listen{background:var(--thuta-primary)!important;color:#fff!important;border-color:var(--thuta-primary)!important}

@media(max-width:1180px){.tswv6-book-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
@media(max-width:980px){.tswv6-book-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:760px){
  body.post-type-archive-book main.tswv6-books-page,
  body.post-type-archive-ts_book main.tswv6-books-page,
  body.post-type-archive-audiobook main.tswv6-books-page{width:min(calc(100% - 20px),1240px)!important;padding:18px 0 110px!important}
  .tswv6-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  .tswv6-book-card h2{font-size:10.5px!important;min-height:27px!important}
  .tswv6-action-row{grid-template-columns:1fr!important}
  .tswv6-action-row a,.tswv6-action-row button,.tswv6-action-row [role="button"]{font-size:9px!important;min-height:28px!important}
}


/* ========================================================================
   ThutaSone Theme v8.1.4 — Production layout polish and reliable cache bust
   ======================================================================== */
:root{--thuta-container:1320px}

/* Desktop header: compact, balanced and readable even when the uploaded logo
   contains a large transparent canvas. */
@media (min-width:901px){
  .site-header{position:sticky!important;top:0!important;z-index:1000!important}
  .thuta-app-header{
    width:min(calc(100% - 40px),1320px)!important;
    min-height:64px!important;height:64px!important;
    grid-template-columns:48px minmax(190px,1fr) auto minmax(190px,1fr)!important;
    gap:14px!important;
  }
  .thuta-profile-action{display:grid!important;justify-self:start!important}
  .brand{justify-self:start!important;gap:10px!important;max-width:260px!important}
  .brand-logo img,.brand-logo .custom-logo{
    width:44px!important;height:44px!important;max-width:44px!important;
    object-fit:contain!important;transform:scale(1.35)!important;
  }
  .brand-text{display:flex!important;min-width:0!important}
  .site-title-text{display:block!important;font-size:18px!important;font-weight:800!important;color:var(--thuta-primary)!important}
  .nav{justify-self:center!important;gap:4px!important}
  .nav-link{font-size:13px!important;padding:8px 10px!important}
  .header-extra-actions{justify-self:end!important}
  .thuta-header-search-row{width:min(calc(100% - 40px),1320px)!important;padding:0 0 10px!important}
  .thuta-search-form{max-width:760px!important;min-height:42px!important}
}

/* Keep the first section clear of the sticky header and reduce excess blank
   space without allowing overlap. */
main,.home-main,.site-main{scroll-margin-top:124px}
.hero-simple-banner{margin-top:18px!important;margin-bottom:26px!important}
.section{margin-block:34px!important}
.section-head{margin-bottom:14px!important}

/* Library archive: enforce the requested full-width, nine-column desktop grid.
   Plugin CSS loads after/before the theme on different installations, so these
   selectors use high specificity and !important deliberately. */
body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
}
body.post-type-archive-book .tswv6-book-card .cover,
body.post-type-archive-ts_book .tswv6-book-card .cover,
body.post-type-archive-audiobook .tswv6-book-card .cover{
  aspect-ratio:2/3!important;height:auto!important;border-radius:14px!important;
}
body.post-type-archive-book .tswv6-book-card img,
body.post-type-archive-ts_book .tswv6-book-card img,
body.post-type-archive-audiobook .tswv6-book-card img{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
body.post-type-archive-book .tswv6-action-row,
body.post-type-archive-ts_book .tswv6-action-row,
body.post-type-archive-audiobook .tswv6-action-row{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;
}
body.post-type-archive-book .tswv6-action-row a,
body.post-type-archive-ts_book .tswv6-action-row a,
body.post-type-archive-audiobook .tswv6-action-row a{
  width:100%!important;min-width:0!important;padding:5px 3px!important;font-size:9px!important;
}

/* Home shelves: equal cover geometry and cleaner rhythm. */
.book-card .cover,.books-row .book-card .cover{aspect-ratio:2/3!important;overflow:hidden!important;border-radius:14px!important}
.book-card .cover img,.books-row .book-card .cover img{width:100%!important;height:100%!important;object-fit:cover!important}
.cat-tile,.author-chip{transition:transform .18s ease,box-shadow .18s ease!important}
.cat-tile:hover,.author-chip:hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px rgba(31,41,55,.12)!important}
.cat-tile span,.author-chip span{color:var(--thuta-muted)!important}

@media(max-width:1180px){
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}
@media(max-width:980px){
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .site-header{position:sticky!important;top:0!important}
  .thuta-app-header{min-height:60px!important;height:60px!important}
  .brand-logo img,.brand-logo .custom-logo{width:38px!important;height:38px!important;max-width:38px!important;transform:scale(1.25)!important}
  .site-title-text{font-size:15px!important}
  .thuta-header-search-row{padding-bottom:8px!important}
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  body.post-type-archive-book .tswv6-action-row,
  body.post-type-archive-ts_book .tswv6-action-row,
  body.post-type-archive-audiobook .tswv6-action-row{grid-template-columns:1fr!important}
}
@media(max-width:390px){
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ========================================================================
   ThutaSone Theme v8.1.6 — Stable library polish
   Keeps the original hero slider and finishes the plugin-rendered Books page.
   ======================================================================== */
body.post-type-archive-book main.tswv6-books-page,
body.post-type-archive-ts_book main.tswv6-books-page,
body.post-type-archive-audiobook main.tswv6-books-page{
  width:min(calc(100% - 40px),1320px)!important;
  max-width:1320px!important;
  padding:30px 0 72px!important;
}
body.post-type-archive-book .tswv6-books-head,
body.post-type-archive-ts_book .tswv6-books-head,
body.post-type-archive-audiobook .tswv6-books-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,380px)!important;
  gap:28px!important;
  align-items:end!important;
  margin-bottom:26px!important;
}
body.post-type-archive-book .tswv6-books-head .eyebrow,
body.post-type-archive-ts_book .tswv6-books-head .eyebrow,
body.post-type-archive-audiobook .tswv6-books-head .eyebrow{
  color:var(--thuta-primary)!important;
}
body.post-type-archive-book .tswv6-books-head h1,
body.post-type-archive-ts_book .tswv6-books-head h1,
body.post-type-archive-audiobook .tswv6-books-head h1{
  margin:5px 0 10px!important;
  font-size:clamp(32px,4vw,48px)!important;
  line-height:1.05!important;
}
body.post-type-archive-book .tswv6-books-head form,
body.post-type-archive-ts_book .tswv6-books-head form,
body.post-type-archive-audiobook .tswv6-books-head form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  width:100%!important;
}
body.post-type-archive-book .tswv6-books-head input,
body.post-type-archive-ts_book .tswv6-books-head input,
body.post-type-archive-audiobook .tswv6-books-head input{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  border:1px solid var(--thuta-border)!important;
  border-radius:14px!important;
  background:var(--thuta-card)!important;
  color:var(--thuta-text)!important;
  padding:10px 14px!important;
  font:500 13px/1.2 Poppins,"Noto Sans Myanmar",sans-serif!important;
}
body.post-type-archive-book .tswv6-books-head button,
body.post-type-archive-ts_book .tswv6-books-head button,
body.post-type-archive-audiobook .tswv6-books-head button{
  min-height:44px!important;
  border-radius:14px!important;
  background:var(--thuta-primary)!important;
  color:#fff!important;
}
body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:22px 16px!important;
}
body.post-type-archive-book .tswv6-book-card,
body.post-type-archive-ts_book .tswv6-book-card,
body.post-type-archive-audiobook .tswv6-book-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
body.post-type-archive-book .tswv6-book-card .cover,
body.post-type-archive-ts_book .tswv6-book-card .cover,
body.post-type-archive-audiobook .tswv6-book-card .cover{
  background:var(--thuta-card)!important;
  border:1px solid var(--thuta-border)!important;
  box-shadow:0 8px 22px rgba(31,41,55,.09)!important;
  overflow:hidden!important;
}
body.post-type-archive-book .tswv6-book-card img,
body.post-type-archive-ts_book .tswv6-book-card img,
body.post-type-archive-audiobook .tswv6-book-card img{
  object-fit:contain!important;
  background:#fff!important;
  transform:none!important;
}
body.post-type-archive-book .tswv6-book-card h2,
body.post-type-archive-ts_book .tswv6-book-card h2,
body.post-type-archive-audiobook .tswv6-book-card h2{
  color:var(--thuta-text)!important;
  font-size:12px!important;
  line-height:1.3!important;
  min-height:32px!important;
  margin:9px 1px 0!important;
}
body.post-type-archive-book .tswv6-action-row,
body.post-type-archive-ts_book .tswv6-action-row,
body.post-type-archive-audiobook .tswv6-action-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin-top:8px!important;
}
/* Remove oversized color emoji rendering. Labels remain compact and consistent. */
body.post-type-archive-book .tswv6-action-row .read,
body.post-type-archive-ts_book .tswv6-action-row .read,
body.post-type-archive-audiobook .tswv6-action-row .read,
body.post-type-archive-book .tswv6-action-row .listen,
body.post-type-archive-ts_book .tswv6-action-row .listen,
body.post-type-archive-audiobook .tswv6-action-row .listen{
  font-size:0!important;
  min-height:32px!important;
  padding:7px 5px!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
body.post-type-archive-book .tswv6-action-row .read::after,
body.post-type-archive-ts_book .tswv6-action-row .read::after,
body.post-type-archive-audiobook .tswv6-action-row .read::after{
  content:'Read';font:700 10px/1 Poppins,"Noto Sans Myanmar",sans-serif;
}
body.post-type-archive-book .tswv6-action-row .listen::after,
body.post-type-archive-ts_book .tswv6-action-row .listen::after,
body.post-type-archive-audiobook .tswv6-action-row .listen::after{
  content:'Listen';font:700 10px/1 Poppins,"Noto Sans Myanmar",sans-serif;
}
body.post-type-archive-book .tswv6-pagination .page-numbers,
body.post-type-archive-ts_book .tswv6-pagination .page-numbers,
body.post-type-archive-audiobook .tswv6-pagination .page-numbers{
  border:1px solid var(--thuta-border)!important;
  background:var(--thuta-card)!important;
  color:var(--thuta-text)!important;
}
body.post-type-archive-book .tswv6-pagination .current,
body.post-type-archive-ts_book .tswv6-pagination .current,
body.post-type-archive-audiobook .tswv6-pagination .current{
  background:var(--thuta-primary)!important;color:#fff!important;border-color:var(--thuta-primary)!important;
}
@media(max-width:1180px){
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.post-type-archive-book .tswv6-books-head,
  body.post-type-archive-ts_book .tswv6-books-head,
  body.post-type-archive-audiobook .tswv6-books-head{grid-template-columns:1fr!important;align-items:start!important}
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:600px){
  body.post-type-archive-book main.tswv6-books-page,
  body.post-type-archive-ts_book main.tswv6-books-page,
  body.post-type-archive-audiobook main.tswv6-books-page{width:min(calc(100% - 20px),1320px)!important;padding:20px 0 108px!important}
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
  body.post-type-archive-book .tswv6-books-head form,
  body.post-type-archive-ts_book .tswv6-books-head form,
  body.post-type-archive-audiobook .tswv6-books-head form{grid-template-columns:1fr auto!important}
  body.post-type-archive-book .tswv6-action-row,
  body.post-type-archive-ts_book .tswv6-action-row,
  body.post-type-archive-audiobook .tswv6-action-row{grid-template-columns:1fr!important}
}
@media(max-width:390px){
  body.post-type-archive-book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-ts_book main.tswv6-books-page .tswv6-book-grid,
  body.post-type-archive-audiobook main.tswv6-books-page .tswv6-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ========================================================================
   ThutaSone Theme v8.2.0 — Mobile UI parity for Logo, Books, Categories, Authors
   ======================================================================== */
:root{
  --ts-app-primary:#0A7A5A;
  --ts-app-primary-dark:#065F46;
  --ts-app-primary-light:#D1FAE5;
  --ts-app-bg:#F9FAFB;
  --ts-app-card:#FFFFFF;
  --ts-app-text:#1F2937;
  --ts-app-muted:#6B7280;
  --ts-app-border:#E5E7EB;
}

/* Clear, app-like brand treatment. Works even when the uploaded logo has whitespace. */
.site-header .thuta-app-header{
  width:min(calc(100% - 36px),1320px)!important;
  max-width:1320px!important;
  display:grid!important;
  grid-template-columns:auto minmax(210px,1fr) auto!important;
  grid-template-areas:"profile brand actions" "nav nav nav"!important;
  gap:8px 22px!important;
  align-items:center!important;
  padding:12px 0 8px!important;
  min-height:92px!important;
}
.site-header .thuta-profile-action{grid-area:profile!important}
.site-header .brand{
  grid-area:brand!important;
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  color:var(--ts-app-primary)!important;
  min-width:0!important;
}
.site-header .brand-logo{
  width:34px!important;height:34px!important;overflow:hidden!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.site-header .brand-logo .custom-logo-link{width:100%!important;height:100%!important;display:flex!important}
.site-header .brand-logo img,.site-header .brand-logo .custom-logo{
  width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;
  transform:scale(1.55)!important;transform-origin:center!important;
}
.site-header .brand-text{display:block!important;line-height:1!important}
.site-header .site-title-text{
  display:block!important;font-size:22px!important;line-height:1!important;font-weight:800!important;
  letter-spacing:.01em!important;text-transform:uppercase!important;color:var(--ts-app-primary)!important;
}
.site-header .site-tagline{display:none!important}
.site-header .header-extra-actions{grid-area:actions!important;justify-self:end!important}
.site-header .nav{
  grid-area:nav!important;justify-self:center!important;margin:0!important;gap:8px!important;
  padding:2px!important;background:transparent!important;
}
.site-header .nav-link{
  padding:8px 12px!important;border-radius:12px!important;color:var(--ts-app-muted)!important;
  font-size:13px!important;font-weight:700!important;line-height:1!important;
}
.site-header .nav-link.active{
  color:var(--ts-app-text)!important;background:var(--ts-app-primary-light)!important;
  box-shadow:inset 0 -2px 0 var(--ts-app-primary)!important;
}
.site-header .thuta-icon-button{
  color:var(--ts-app-text)!important;background:var(--ts-app-card)!important;
  border:1px solid var(--ts-app-border)!important;border-radius:14px!important;
}
.site-header .thuta-header-search-row{width:min(calc(100% - 36px),900px)!important;padding:0 0 12px!important}
.site-header .thuta-search-form{
  border:1px solid var(--ts-app-border)!important;border-radius:18px!important;background:var(--ts-app-card)!important;
  box-shadow:0 7px 22px rgba(31,41,55,.055)!important;
}
.site-header .search-btn{background:var(--ts-app-primary)!important;color:#fff!important;border-radius:14px!important}
.site-header .search-btn:hover{background:var(--ts-app-primary-dark)!important}

/* Shared app page heading. */
.thuta-library-page,.thuta-directory-page{padding-top:28px!important;padding-bottom:72px!important}
.thuta-library-page .section-head h1,.thuta-directory-page .section-head h1{
  display:flex!important;align-items:center!important;gap:10px!important;color:var(--ts-app-text)!important;
}
.thuta-library-page .section-head h1 .material-symbols-rounded,
.thuta-directory-page .section-head h1 .material-symbols-rounded{color:var(--ts-app-primary)!important;font-size:30px!important}
.thuta-library-page .view,.thuta-directory-page .view{color:var(--ts-app-primary)!important}

/* Native theme Books archive cards. */
.ts-books-archive-fullcover .library-grid{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:22px 16px!important;
}
.ts-books-archive-fullcover .book-card{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;
  display:flex!important;flex-direction:column!important;min-width:0!important;
}
.ts-books-archive-fullcover .book-mini-cover{
  aspect-ratio:2/3!important;height:auto!important;background:var(--ts-app-card)!important;
  border:1px solid var(--ts-app-border)!important;border-radius:16px!important;padding:10px!important;
  box-shadow:0 8px 22px rgba(31,41,55,.08)!important;overflow:hidden!important;
}
.ts-books-archive-fullcover .book-mini-cover img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:10px!important}
.ts-books-archive-fullcover .book-title{font-size:12px!important;line-height:1.3!important;color:var(--ts-app-text)!important;margin:9px 2px 0!important;min-height:32px!important}
.ts-books-archive-fullcover .book-meta{font-size:10px!important;color:var(--ts-app-muted)!important}
.ts-books-archive-fullcover .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:8px!important}
.ts-books-archive-fullcover .actions .btn{
  min-width:0!important;min-height:32px!important;padding:6px 5px!important;border-radius:10px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  font-size:9.5px!important;background:var(--ts-app-primary)!important;color:#fff!important;border:1px solid var(--ts-app-primary)!important;
}
.ts-books-archive-fullcover .actions .btn.light{background:#fff!important;color:var(--ts-app-primary)!important}
.ts-books-archive-fullcover .actions .material-symbols-rounded{font-size:14px!important}

/* Plugin-rendered /books page: remove large emoji icons and use app button treatment. */
body.post-type-archive-book .tswv6-action-row .read,
body.post-type-archive-ts_book .tswv6-action-row .read,
body.post-type-archive-audiobook .tswv6-action-row .read,
body.post-type-archive-book .tswv6-action-row .listen,
body.post-type-archive-ts_book .tswv6-action-row .listen,
body.post-type-archive-audiobook .tswv6-action-row .listen{
  font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:10px!important;min-height:32px!important;padding:6px 5px!important;box-shadow:none!important;
}
body.post-type-archive-book .tswv6-action-row .read,
body.post-type-archive-ts_book .tswv6-action-row .read,
body.post-type-archive-audiobook .tswv6-action-row .read{background:#fff!important;color:var(--ts-app-primary)!important;border:1px solid var(--ts-app-primary)!important}
body.post-type-archive-book .tswv6-action-row .listen,
body.post-type-archive-ts_book .tswv6-action-row .listen,
body.post-type-archive-audiobook .tswv6-action-row .listen{background:var(--ts-app-primary)!important;color:#fff!important;border:1px solid var(--ts-app-primary)!important}
body.post-type-archive-book .tswv6-action-row .read::before,
body.post-type-archive-ts_book .tswv6-action-row .read::before,
body.post-type-archive-audiobook .tswv6-action-row .read::before{content:'menu_book';font-family:'Material Symbols Rounded';font-size:14px;line-height:1;margin-right:3px}
body.post-type-archive-book .tswv6-action-row .listen::before,
body.post-type-archive-ts_book .tswv6-action-row .listen::before,
body.post-type-archive-audiobook .tswv6-action-row .listen::before{content:'headphones';font-family:'Material Symbols Rounded';font-size:14px;line-height:1;margin-right:3px}

/* Categories: same white cards, green accent and mobile list presentation. */
.thuta-categories-page .category-page-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;
}
.thuta-categories-page .cat-tile{
  display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
  align-items:center!important;text-align:left!important;column-gap:14px!important;
  padding:14px!important;border:1px solid var(--ts-app-border)!important;border-radius:18px!important;
  background:var(--ts-app-card)!important;box-shadow:0 6px 18px rgba(31,41,55,.055)!important;
}
.thuta-categories-page .cat-icon{grid-row:1/3!important;width:54px!important;height:54px!important;border-radius:15px!important;margin:0!important;background:#F0FDF4!important}
.thuta-categories-page .cat-tile b{font-size:14px!important;color:var(--ts-app-text)!important}
.thuta-categories-page .cat-tile span{font-size:11px!important;color:var(--ts-app-muted)!important;margin:2px 0 0!important}
.thuta-categories-page .cat-tile::after{content:'chevron_right';font-family:'Material Symbols Rounded';grid-column:3;grid-row:1/3;color:var(--ts-app-muted);font-size:22px}

/* Authors: app profile cards on desktop, compact rows on mobile. */
.thuta-authors-page .authors-page-grid{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;
}
.thuta-authors-page .author-chip{
  display:grid!important;grid-template-columns:60px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
  align-items:center!important;text-align:left!important;column-gap:13px!important;
  padding:13px!important;border:1px solid var(--ts-app-border)!important;border-radius:18px!important;
  background:var(--ts-app-card)!important;box-shadow:0 6px 18px rgba(31,41,55,.055)!important;
}
.thuta-authors-page .author-chip .avatar{grid-row:1/3!important;width:60px!important;height:60px!important;margin:0!important;border:2px solid var(--ts-app-primary-light)!important;box-shadow:none!important}
.thuta-authors-page .author-chip b{font-size:13px!important;color:var(--ts-app-text)!important}
.thuta-authors-page .author-chip span{font-size:11px!important;color:var(--ts-app-muted)!important;margin:2px 0 0!important}
.thuta-authors-page .author-chip::after{content:'chevron_right';font-family:'Material Symbols Rounded';grid-column:3;grid-row:1/3;color:var(--ts-app-muted);font-size:22px}

/* Home sections also adopt the mobile app green/black palette. */
.category-strip .cat-tile,.authors-strip .author-chip{background:var(--ts-app-card)!important;border-color:var(--ts-app-border)!important}
.category-strip .cat-icon{background:#F0FDF4!important;border:1px solid rgba(10,122,90,.18)!important}
.authors-strip .author-chip .avatar{border-color:var(--ts-app-primary-light)!important}
.section-head .view,.view{color:var(--ts-app-primary)!important}

@media(max-width:1100px){
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .thuta-categories-page .category-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .thuta-authors-page .authors-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .site-header .thuta-app-header{
    width:min(calc(100% - 24px),1320px)!important;min-height:60px!important;padding:8px 0!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-areas:"profile brand actions"!important;gap:8px!important;
  }
  .site-header .brand-logo{width:28px!important;height:28px!important}
  .site-header .site-title-text{font-size:16px!important}
  .site-header .nav{display:none!important}
  .site-header .header-extra-actions{gap:5px!important}
  .site-header .header-extra-actions .thuta-icon-button{width:38px!important;height:38px!important}
  .site-header .thuta-header-search-row{width:min(calc(100% - 24px),900px)!important;padding-bottom:10px!important}
  .thuta-library-page,.thuta-directory-page{padding-top:18px!important;padding-bottom:108px!important}
  .thuta-library-page .section-head,.thuta-directory-page .section-head{align-items:center!important}
  .thuta-library-page .section-head h1,.thuta-directory-page .section-head h1{font-size:27px!important}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
  .ts-books-archive-fullcover .actions{grid-template-columns:1fr!important}
  .thuta-categories-page .category-page-grid,.thuta-authors-page .authors-page-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;overflow:visible!important;
  }
  .thuta-categories-page .cat-tile,.thuta-authors-page .author-chip{width:100%!important;min-width:0!important;scroll-snap-align:none!important}
}
@media(max-width:390px){.ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

html[data-thuta-theme="dark"] .thuta-categories-page .cat-tile,
html[data-thuta-theme="dark"] .thuta-authors-page .author-chip,
html[data-thuta-theme="dark"] .site-header .thuta-search-form,
html[data-thuta-theme="dark"] .site-header .thuta-icon-button{background:#1F2937!important;border-color:#374151!important}
html[data-thuta-theme="dark"] .site-header .nav-link.active{background:rgba(10,122,90,.28)!important;color:#fff!important}

/* =========================================================
   ThutaSone Theme v8.3.0 — Books Library Production Redesign
   ========================================================= */
:root{--ts-primary:#0A7A5A;--ts-primary-dark:#065F46;--ts-primary-light:#D1FAE5;--ts-surface:#F8FAFC;--ts-card:#fff;--ts-border:#E5E7EB;--ts-text:#172033;--ts-muted:#667085;--ts-footer:#172538}
body{font-family:Poppins,"Noto Sans Myanmar",sans-serif;background:var(--ts-surface);color:var(--ts-text)}
.wrap{max-width:1480px;padding-left:32px;padding-right:32px}
.site-header{position:sticky;top:0;background:rgba(255,255,255,.96);border-bottom:1px solid var(--ts-border);box-shadow:0 2px 14px rgba(15,23,42,.035);backdrop-filter:blur(14px)}
.thuta-desktop-header{min-height:92px;display:grid;grid-template-columns:auto auto minmax(320px,1fr) auto;align-items:center;gap:26px}
.thuta-mobile-header{display:none}
.brand{font-size:28px;color:var(--ts-primary-dark);gap:12px;white-space:nowrap}
.brand-logo{height:58px;min-width:50px;overflow:visible}
.brand-logo .custom-logo-link{height:58px;display:flex;align-items:center}
.brand-logo img,.brand-logo .custom-logo{height:58px!important;width:auto!important;max-width:82px!important;object-fit:contain!important;transform:scale(1.08)}
.site-title-text{text-transform:uppercase;letter-spacing:-.025em;font-weight:800;font-size:27px;line-height:1;color:var(--ts-primary-dark)}
.nav{margin:0;gap:6px;align-items:center}
.nav .nav-link{display:flex;align-items:center;gap:7px;padding:12px 15px;border-radius:14px;font-size:14px;color:#263345;font-weight:700;transition:.2s}
.nav .nav-link .material-symbols-rounded{font-size:21px}
.nav .nav-link:hover,.nav .nav-link.active{background:var(--ts-primary-light);color:var(--ts-primary-dark)}
.nav .nav-link.active:after{display:none}
.thuta-header-search{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;height:52px;border:1px solid #DDE3EA;border-radius:16px;background:#fff;padding:4px 5px 4px 15px;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.thuta-header-search .thuta-search-input{border:0!important;box-shadow:none!important;background:transparent!important;width:100%;padding:0 12px;font-family:inherit;color:var(--ts-text);outline:0}
.thuta-header-search .search-btn{border-radius:13px;background:var(--ts-primary);padding:12px 22px;color:#fff}
.header-extra-actions{display:flex;gap:9px;align-items:center}
.thuta-icon-button{width:46px;height:46px;border:1px solid var(--ts-border);border-radius:50%;background:#fff;color:#172033;display:grid;place-items:center}
.thuta-icon-button:hover{background:var(--ts-primary-light);color:var(--ts-primary-dark)}

.thuta-books-page-section{margin:34px 0 56px!important;min-height:570px}
.thuta-library-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:20px}
.thuta-library-heading-row .eyebrow{color:var(--ts-primary);font-size:12px;letter-spacing:.18em}
.thuta-library-heading-row h1{font-size:52px;line-height:1.05;margin:9px 0 8px;letter-spacing:-.04em;color:var(--ts-text)}
.thuta-library-description{margin:0;color:#344054;font-size:16px}
.thuta-archive-search{width:min(420px,100%);height:52px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border:1px solid var(--ts-border);background:#fff;border-radius:16px;padding:4px 5px 4px 15px;box-shadow:0 5px 18px rgba(15,23,42,.035)}
.thuta-archive-search input{min-width:0;border:0;background:transparent;outline:0;font:inherit;padding:0 8px}
.thuta-archive-search button{height:42px;border:0;border-radius:12px;padding:0 20px;background:var(--ts-primary);color:#fff;font-weight:700;cursor:pointer}

.ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important;padding:16px 0 36px!important}
.ts-books-archive-fullcover .library-grid .book-card{display:flex!important;flex-direction:column!important;min-width:0!important;padding:12px!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--ts-border)!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;overflow:visible!important;transition:transform .2s,box-shadow .2s!important}
.ts-books-archive-fullcover .library-grid .book-card:hover{transform:translateY(-4px)!important;box-shadow:0 15px 32px rgba(15,23,42,.10)!important}
.ts-books-archive-fullcover .library-grid .book-mini-cover{width:100%!important;height:auto!important;aspect-ratio:2/3!important;border-radius:12px!important;background:#F3F5F7!important;overflow:hidden!important}
.ts-books-archive-fullcover .library-grid .book-mini-cover.has-image img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:12px!important;background:#F3F5F7!important}
.ts-books-archive-fullcover .library-grid .book-title{min-height:35px!important;margin:10px 2px 2px!important;font-size:13px!important;line-height:1.28!important;color:var(--ts-text)!important;font-weight:700!important}
.ts-books-archive-fullcover .library-grid .book-meta{display:none!important}
.ts-books-archive-fullcover .library-grid .actions{margin-top:auto!important;padding-top:9px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.ts-books-archive-fullcover .library-grid .actions .btn{min-width:0!important;height:33px!important;padding:0 5px!important;border-radius:8px!important;font-size:10.5px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;background:var(--ts-primary)!important;color:#fff!important;border:1px solid var(--ts-primary)!important}
.ts-books-archive-fullcover .library-grid .actions .btn.light{background:#fff!important;color:var(--ts-primary-dark)!important;border-color:var(--ts-primary)!important}
.ts-books-archive-fullcover .library-grid .actions .material-symbols-rounded{font-size:15px!important}
.ts-books-archive-fullcover .navigation.pagination{margin:5px 0 0;text-align:center}
.ts-books-archive-fullcover .nav-links{display:flex;justify-content:center;gap:8px}
.ts-books-archive-fullcover .page-numbers{min-width:38px;height:38px;padding:0 11px;border:1px solid var(--ts-border);border-radius:9px;background:#fff;display:grid;place-items:center;color:var(--ts-text);font-weight:600}
.ts-books-archive-fullcover .page-numbers.current{background:var(--ts-primary);color:#fff;border-color:var(--ts-primary)}

.thuta-rich-footer{margin-top:45px;padding:50px 0;background:linear-gradient(135deg,#172538,#10202f);color:#fff;border:0}
.thuta-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:60px}
.thuta-rich-footer .brand{color:#fff;margin-bottom:15px}.thuta-rich-footer .site-title-text{color:#fff;font-size:25px}
.thuta-rich-footer p,.thuta-rich-footer small{color:#C7D0DA}.thuta-rich-footer h3{font-size:16px;margin:4px 0 18px}.thuta-rich-footer a:not(.brand){display:block;color:#D5DCE4;margin:10px 0;font-size:14px}.thuta-rich-footer a:hover{color:#fff}

@media(max-width:1260px){.thuta-desktop-header{grid-template-columns:auto 1fr auto}.nav{order:3;grid-column:1/-1;justify-content:center;margin-top:-13px;padding-bottom:8px}.thuta-header-search{grid-column:2}.ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:900px){.thuta-desktop-header{display:none}.thuta-mobile-header{display:flex;min-height:70px;align-items:center;justify-content:space-between}.thuta-mobile-header .brand-logo,.thuta-mobile-header .brand-logo .custom-logo-link{height:44px}.thuta-mobile-header .brand-logo img{height:44px!important}.thuta-mobile-header .site-title-text{font-size:20px}.wrap{padding-left:18px;padding-right:18px}.thuta-library-heading-row{align-items:stretch;flex-direction:column}.thuta-archive-search{width:100%}.thuta-library-heading-row h1{font-size:40px}.ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.thuta-footer-grid{grid-template-columns:1fr 1fr;gap:35px}}
@media(max-width:600px){body{padding-bottom:82px}.thuta-library-heading-row h1{font-size:34px}.thuta-library-description{font-size:14px}.ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ts-books-archive-fullcover .library-grid .book-card{padding:8px!important;border-radius:14px!important}.ts-books-archive-fullcover .library-grid .book-title{font-size:12px!important}.ts-books-archive-fullcover .library-grid .actions .btn{font-size:10px!important}.thuta-footer-grid{grid-template-columns:1fr}.thuta-rich-footer{padding:36px 0 110px}.thuta-rich-footer .thuta-footer-grid>div:not(:first-child){display:none}}

/* =========================================================
   ThutaSone Theme v9.0.0 — Final Header + Books Archive Fix
   This block intentionally comes last and wins over legacy CSS.
   ========================================================= */
:root{
  --ts9-green:#0A7A5A;
  --ts9-green-dark:#065F46;
  --ts9-green-soft:#D1FAE5;
  --ts9-text:#172033;
  --ts9-muted:#667085;
  --ts9-border:#E5E7EB;
  --ts9-bg:#F8FAFC;
  --ts9-card:#FFFFFF;
}
body{background:var(--ts9-bg)!important;color:var(--ts9-text)!important;overflow-x:hidden}
.site-header{position:sticky!important;top:0!important;z-index:999!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--ts9-border)!important;box-shadow:0 3px 18px rgba(15,23,42,.05)!important}
.site-header .wrap{max-width:1480px!important;width:calc(100% - 40px)!important;padding:0!important}
.site-header .thuta-desktop-header{
  min-height:88px!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:22px!important;
}
.site-header .brand{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;min-width:245px!important;margin:0!important;overflow:visible!important}
.site-header .thuta-brand-mark{width:52px!important;height:52px!important;display:grid!important;place-items:center!important;flex:0 0 52px!important;border-radius:15px!important;background:linear-gradient(145deg,var(--ts9-green),var(--ts9-green-dark))!important;color:#fff!important;box-shadow:0 8px 22px rgba(10,122,90,.22)!important}
.site-header .thuta-brand-mark .material-symbols-rounded{font-size:31px!important;line-height:1!important}
.site-header .brand-logo{display:none!important}
.site-header .brand-text,.site-header .site-title-text{display:block!important;visibility:visible!important;opacity:1!important}
.site-header .site-title-text{font-family:Poppins,"Noto Sans Myanmar",sans-serif!important;font-size:28px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.04em!important;color:var(--ts9-green-dark)!important;text-transform:uppercase!important;white-space:nowrap!important}
.site-header .nav{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;flex:0 0 auto!important;margin:0!important;padding:0!important;order:initial!important;grid-column:auto!important}
.site-header .nav .nav-link{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:46px!important;padding:0 14px!important;border-radius:14px!important;color:#344054!important;font-size:13.5px!important;font-weight:700!important;white-space:nowrap!important}
.site-header .nav .nav-link .material-symbols-rounded{font-size:20px!important}
.site-header .nav .nav-link:hover,.site-header .nav .nav-link.active{background:var(--ts9-green-soft)!important;color:var(--ts9-green-dark)!important;box-shadow:inset 0 -2px 0 var(--ts9-green)!important}
.site-header .thuta-header-search{height:50px!important;min-width:280px!important;max-width:none!important;flex:1 1 420px!important;display:grid!important;grid-template-columns:auto minmax(80px,1fr) auto!important;align-items:center!important;margin:0!important;padding:4px 5px 4px 14px!important;border:1px solid #DDE3EA!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.04)!important;order:initial!important;grid-column:auto!important}
.site-header .thuta-header-search .thuta-search-icon{position:static!important;font-size:22px!important;color:#667085!important}
.site-header .thuta-header-search .thuta-search-input{display:block!important;width:100%!important;min-width:0!important;height:40px!important;padding:0 10px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:13px!important;color:var(--ts9-text)!important}
.site-header .thuta-header-search .search-btn{height:40px!important;min-height:40px!important;padding:0 20px!important;border-radius:12px!important;font-size:13px!important;background:var(--ts9-green)!important;color:#fff!important}
.site-header .header-extra-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:0 0 auto!important;margin:0!important}
.site-header .header-extra-actions .thuta-icon-button{display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;background:#fff!important;border:1px solid var(--ts9-border)!important;color:var(--ts9-text)!important}
.site-header .header-extra-actions .thuta-icon-button:hover{background:var(--ts9-green-soft)!important;color:var(--ts9-green-dark)!important;border-color:#A7F3D0!important}

/* Books archive: consistent card geometry; no detached/oversized action icons. */
main.ts-books-archive-fullcover{max-width:1480px!important;width:calc(100% - 40px)!important;padding:0!important;margin:0 auto!important}
.ts-books-archive-fullcover .thuta-books-page-section{margin:34px 0 64px!important;min-height:560px!important}
.ts-books-archive-fullcover .thuta-library-heading-row{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:28px!important;margin-bottom:20px!important}
.ts-books-archive-fullcover .thuta-library-heading-row h1{margin:8px 0!important;font-size:48px!important;line-height:1!important;color:var(--ts9-text)!important}
.ts-books-archive-fullcover .library-grid{
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  padding:16px 0 36px!important;
  align-items:stretch!important;
}
.ts-books-archive-fullcover .library-grid .book-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid var(--ts9-border)!important;
  border-radius:18px!important;
  background:var(--ts9-card)!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  overflow:hidden!important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  margin:0!important;
  padding:0!important;
  border-radius:12px!important;
  background:#F1F5F9!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.ts-books-archive-fullcover .library-grid .book-mini-cover img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  border-radius:0!important;
  transform:none!important;
}
.ts-books-archive-fullcover .library-grid .book-title{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  min-height:34px!important;
  margin:10px 2px 4px!important;
  color:var(--ts9-text)!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.ts-books-archive-fullcover .library-grid .book-meta{display:none!important}
.ts-books-archive-fullcover .library-grid .actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
  margin:auto 0 0!important;
  padding:7px 0 0!important;
  overflow:visible!important;
}
.ts-books-archive-fullcover .library-grid .actions .btn{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 5px!important;
  border:1px solid var(--ts9-green)!important;
  border-radius:8px!important;
  background:var(--ts9-green)!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  transform:none!important;
}
.ts-books-archive-fullcover .library-grid .actions .btn.light{background:#fff!important;color:var(--ts9-green-dark)!important}
.ts-books-archive-fullcover .library-grid .actions .btn .material-symbols-rounded{font-family:"Material Symbols Rounded"!important;font-size:14px!important;line-height:1!important;width:14px!important;height:14px!important;overflow:hidden!important;flex:0 0 14px!important}
.ts-books-archive-fullcover .library-grid .actions .btn span:last-child{display:inline!important;font-size:10px!important;line-height:1!important}

@media(max-width:1320px){
  .site-header .brand{min-width:210px!important}.site-header .site-title-text{font-size:24px!important}
  .site-header .nav .nav-link{padding:0 10px!important;font-size:12px!important}
  .site-header .thuta-header-search{flex-basis:300px!important;min-width:220px!important}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
@media(max-width:1040px){
  .site-header .thuta-desktop-header{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:14px!important;padding:10px 0 12px!important}
  .site-header .brand{min-width:0!important}.site-header .nav{grid-column:1/-1!important;grid-row:2!important;justify-content:center!important}
  .site-header .thuta-header-search{grid-column:2!important;grid-row:1!important}.site-header .header-extra-actions{grid-column:3!important;grid-row:1!important}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .site-header .thuta-desktop-header{display:none!important}
  .site-header .thuta-mobile-header{display:flex!important;min-height:70px!important;align-items:center!important;justify-content:space-between!important}
  .site-header .thuta-mobile-header .brand{min-width:0!important;gap:9px!important}
  .site-header .thuta-mobile-header .thuta-brand-mark{display:grid!important;width:43px!important;height:43px!important;flex-basis:43px!important;border-radius:13px!important}
  .site-header .thuta-mobile-header .thuta-brand-mark .material-symbols-rounded{font-size:26px!important}
  .site-header .thuta-mobile-header .brand-logo{display:none!important}
  .site-header .thuta-mobile-header .site-title-text{display:block!important;font-size:20px!important}
  main.ts-books-archive-fullcover{width:calc(100% - 28px)!important}
  .ts-books-archive-fullcover .thuta-library-heading-row{flex-direction:column!important;align-items:stretch!important}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:620px){
  .site-header .thuta-mobile-header .site-title-text{font-size:18px!important}
  .ts-books-archive-fullcover .thuta-library-heading-row h1{font-size:34px!important}
  .ts-books-archive-fullcover .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .ts-books-archive-fullcover .library-grid .book-card{padding:8px!important;border-radius:14px!important}
  .ts-books-archive-fullcover .library-grid .book-title{font-size:11.5px!important;min-height:32px!important}
  .ts-books-archive-fullcover .library-grid .actions .btn{height:30px!important;min-height:30px!important;font-size:9.5px!important}
  .ts-books-archive-fullcover .library-grid .actions .btn .material-symbols-rounded{font-size:13px!important}
}
\n\n/* =========================================================\n   ThutaSone Theme v9.1.0 — Books archive rebuild\n   ========================================================= */\n.site-header .ts-brand-lockup{display:flex!important;align-items:center!important;gap:12px!important;min-width:255px!important}\n.site-header .ts-brand-lockup .thuta-brand-mark{width:52px!important;height:52px!important;flex:0 0 52px!important;border-radius:15px!important}\n.site-header .ts-brand-lockup .thuta-brand-mark .material-symbols-rounded{font-size:31px!important}\n.site-header .ts-brand-lockup .site-title-text{display:block!important;font-size:30px!important;font-weight:800!important;letter-spacing:-.045em!important;color:#065F46!important;text-transform:uppercase!important;line-height:1!important}\n.site-header .brand-logo{display:none!important}\n\nmain.ts-books-archive-fullcover{max-width:1480px!important;width:calc(100% - 48px)!important;margin:0 auto!important;padding:0!important}\n.ts-books-archive-fullcover .thuta-books-page-section{margin:34px 0 70px!important}\n.ts-books-archive-fullcover .thuta-library-heading-row{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:28px!important;margin-bottom:18px!important}\n.ts-books-archive-fullcover .thuta-library-heading-row h1{font-size:48px!important;margin:8px 0!important;line-height:1!important}\n.ts-books-archive-fullcover .thuta-archive-search{display:grid!important;grid-template-columns:auto minmax(180px,1fr) auto!important;align-items:center!important;width:min(420px,100%)!important;height:48px!important;padding:4px 5px 4px 14px!important;background:#fff!important;border:1px solid #E2E8F0!important;border-radius:15px!important}\n.ts-books-archive-fullcover .thuta-archive-search input{height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0 10px!important}\n.ts-books-archive-fullcover .thuta-archive-search button{height:38px!important;padding:0 20px!important;border:0!important;border-radius:11px!important;background:#0A7A5A!important;color:#fff!important;font-weight:700!important}\n\n.ts9-books-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:18px!important;width:100%!important;padding:14px 0 36px!important;align-items:stretch!important}\n.ts9-book-card{display:flex!important;flex-direction:column!important;min-width:0!important;background:#fff!important;border:1px solid #E5E7EB!important;border-radius:18px!important;padding:10px!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;overflow:hidden!important;transition:transform .2s ease,box-shadow .2s ease!important}\n.ts9-book-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 32px rgba(15,23,42,.10)!important}\n.ts9-book-cover{display:block!important;width:100%!important;aspect-ratio:2/3!important;border-radius:12px!important;background:#F1F5F9!important;overflow:hidden!important}\n.ts9-book-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important}\n.ts9-cover-placeholder{display:flex!important;width:100%!important;height:100%!important;align-items:flex-end!important;padding:14px!important;background:linear-gradient(145deg,#D1FAE5,#0A7A5A)!important;color:#fff!important;font-size:13px!important;font-weight:800!important}\n.ts9-book-body{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important}\n.ts9-book-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:36px!important;margin:10px 2px 8px!important;color:#172033!important;font-size:12.5px!important;line-height:1.4!important;font-weight:700!important}\n.ts9-book-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:auto!important}\n.ts9-book-actions:has(.ts9-action:only-child){grid-template-columns:1fr!important}\n.ts9-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;height:34px!important;min-height:34px!important;padding:0 6px!important;border-radius:9px!important;font-size:10px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important}\n.ts9-action svg{display:block!important;width:14px!important;height:14px!important;flex:0 0 14px!important;fill:currentColor!important}\n.ts9-read{background:#fff!important;border:1px solid #0A7A5A!important;color:#065F46!important}\n.ts9-listen{background:#0A7A5A!important;border:1px solid #0A7A5A!important;color:#fff!important}\n.ts9-action:hover{filter:brightness(.96)!important}\n\n@media(max-width:1320px){.ts9-books-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.site-header .ts-brand-lockup{min-width:220px!important}.site-header .ts-brand-lockup .site-title-text{font-size:25px!important}}\n@media(max-width:1040px){.ts9-books-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}\n@media(max-width:900px){main.ts-books-archive-fullcover{width:calc(100% - 28px)!important}.ts-books-archive-fullcover .thuta-library-heading-row{flex-direction:column!important;align-items:stretch!important}.ts9-books-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.site-header .thuta-mobile-header .ts-brand-lockup{min-width:0!important}.site-header .thuta-mobile-header .ts-brand-lockup .site-title-text{font-size:21px!important}.site-header .thuta-mobile-header .ts-brand-lockup .thuta-brand-mark{width:46px!important;height:46px!important;flex-basis:46px!important}}\n@media(max-width:620px){.ts-books-archive-fullcover .thuta-library-heading-row h1{font-size:36px!important}.ts9-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ts9-book-card{padding:8px!important;border-radius:14px!important}.ts9-book-title{font-size:11.5px!important;min-height:33px!important}.ts9-action{height:32px!important;min-height:32px!important;font-size:9.5px!important}}\nhtml[data-thuta-theme="dark"] .ts9-book-card{background:#1F2937!important;border-color:#374151!important}html[data-thuta-theme="dark"] .ts9-book-title{color:#F9FAFB!important}\n
/* =========================================================
   ThutaSone Theme v9.2.0 — discovery rows + books final polish
   ========================================================= */
.site-header .ts-brand-lockup{min-width:285px!important}
.site-header .ts-brand-lockup .thuta-brand-mark{width:58px!important;height:58px!important;flex:0 0 58px!important}
.site-header .ts-brand-lockup .site-title-text{font-size:33px!important}
.ts92-library-page{max-width:1480px!important}
.ts92-discovery-section{margin:30px 0 34px}
.ts92-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.ts92-section-head h2{display:flex;align-items:center;gap:9px;margin:0;color:#172033;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.ts92-section-head h2 .material-symbols-rounded{color:#0A7A5A;font-size:26px}
.ts92-section-head>a{color:#067552;font-weight:700;font-size:14px;white-space:nowrap}
.ts92-category-row,.ts92-author-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px;width:100%}
.ts92-category-card{display:flex;min-width:0;height:136px;flex-direction:column;align-items:center;justify-content:center;padding:12px;background:#fff;border:1px solid #E5E7EB;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.055);text-align:center;transition:.2s ease}
.ts92-category-card:hover,.ts92-author-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.10)}
.ts92-category-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:8px;border-radius:15px;background:#ECFDF5;overflow:hidden;font-size:30px;color:#08785A}
.ts92-category-icon img{width:100%!important;height:100%!important;object-fit:contain!important}
.ts92-category-card strong,.ts92-author-card strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:13px;line-height:1.35}
.ts92-category-card small,.ts92-author-card small{margin-top:3px;color:#667085;font-size:11px;font-weight:600}
.ts92-author-card{display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;color:#172033}
.ts92-author-photo{display:block;width:100%;aspect-ratio:1/1;margin-bottom:8px;border-radius:18px;background:linear-gradient(145deg,#0A7A5A,#12A979);overflow:hidden;box-shadow:0 7px 18px rgba(10,122,90,.16)}
.ts92-author-photo img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center top!important}
.ts92-results-toolbar{display:flex;align-items:center;justify-content:space-between;margin:38px 0 2px;color:#344054;font-size:13px;font-weight:600}
.ts92-books-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important;padding-top:12px!important}
.ts92-books-grid .ts9-book-card{padding:10px!important;border-radius:16px!important}
.ts92-books-grid .ts9-book-cover{aspect-ratio:2/3!important;background:#F8FAFC!important;border-radius:10px!important}
.ts92-books-grid .ts9-book-image{object-fit:contain!important;padding:0!important;background:#fff!important}
.ts92-books-grid .ts9-book-title{font-size:12px!important;line-height:1.35!important;margin:9px 2px 7px!important;min-height:33px!important}
.ts92-books-grid .ts9-book-actions{gap:5px!important}
.ts92-books-grid .ts9-action{height:32px!important;min-height:32px!important;border-radius:8px!important;font-size:9.5px!important;padding:0 5px!important}
.ts92-books-grid .ts9-action svg{width:13px!important;height:13px!important;flex-basis:13px!important}
.ts92-library-page .navigation.pagination{display:flex;justify-content:center;margin:14px 0 48px}
.ts92-library-page .nav-links{display:flex;gap:8px;align-items:center}
.ts92-library-page .page-numbers{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #E5E7EB;border-radius:10px;background:#fff;color:#344054;font-weight:700}
.ts92-library-page .page-numbers.current{background:#0A7A5A;border-color:#0A7A5A;color:#fff}
@media(max-width:1320px){.ts92-category-row,.ts92-author-row{grid-template-columns:repeat(6,minmax(0,1fr))}.ts92-books-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.site-header .ts-brand-lockup{min-width:245px!important}.site-header .ts-brand-lockup .site-title-text{font-size:28px!important}}
@media(max-width:980px){.ts92-category-row,.ts92-author-row{display:flex;overflow-x:auto;gap:12px;padding:2px 2px 14px;scroll-snap-type:x mandatory}.ts92-category-card{min-width:138px;scroll-snap-align:start}.ts92-author-card{min-width:145px;scroll-snap-align:start}.ts92-books-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:620px){.ts92-section-head h2{font-size:20px}.ts92-category-card{min-width:116px;height:122px;border-radius:16px}.ts92-author-card{min-width:124px}.ts92-author-photo{border-radius:16px}.ts92-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ts92-books-grid .ts9-book-card{padding:8px!important}.site-header .thuta-mobile-header .ts-brand-lockup .site-title-text{font-size:22px!important}.site-header .thuta-mobile-header .ts-brand-lockup .thuta-brand-mark{width:49px!important;height:49px!important;flex-basis:49px!important}}
html[data-thuta-theme="dark"] .ts92-category-card,html[data-thuta-theme="dark"] .ts92-books-grid .ts9-book-card{background:#1F2937!important;border-color:#374151!important}html[data-thuta-theme="dark"] .ts92-section-head h2,html[data-thuta-theme="dark"] .ts92-category-card strong,html[data-thuta-theme="dark"] .ts92-author-card strong{color:#F9FAFB!important}

/* =========================================================
   ThutaSone v10.0.0 — clean Flutter-aligned production UI
   This final block intentionally overrides legacy patches.
   ========================================================= */
:root{--ts10-green:#0A7A5A;--ts10-green-dark:#065F46;--ts10-green-soft:#D1FAE5;--ts10-ink:#172033;--ts10-muted:#667085;--ts10-border:#E5E7EB;--ts10-bg:#F8FAFC;--ts10-card:#fff}
body{background:var(--ts10-bg)!important;color:var(--ts10-ink)!important}
.site-header.ts10-header{position:sticky!important;top:0!important;z-index:9999!important;width:100%!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--ts10-border)!important;backdrop-filter:blur(16px)!important}
.site-header.ts10-header .ts10-header-inner{width:min(1480px,calc(100% - 40px))!important;min-height:86px!important;margin:0 auto!important;display:grid!important;grid-template-columns:auto auto minmax(280px,1fr) auto!important;align-items:center!important;gap:22px!important;padding:12px 0!important}
.ts10-brand{display:flex!important;align-items:center!important;gap:11px!important;min-width:245px!important;text-decoration:none!important}
.ts10-brand::before,.ts10-brand::after{display:none!important;content:none!important}
.ts10-brand-mark{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:16px!important;background:linear-gradient(145deg,#0A7A5A,#087052)!important;color:#fff!important;box-shadow:0 8px 20px rgba(10,122,90,.22)!important}
.ts10-brand-mark .material-symbols-rounded{font-size:33px!important}
.ts10-brand-name{display:block!important;color:var(--ts10-green-dark)!important;font-size:29px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.035em!important;white-space:nowrap!important}
.ts10-nav{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important}
.ts10-nav-link{display:flex!important;align-items:center!important;gap:7px!important;height:46px!important;padding:0 14px!important;border-radius:14px!important;color:#344054!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
.ts10-nav-link .material-symbols-rounded{font-size:19px!important}
.ts10-nav-link.active,.ts10-nav-link:hover{background:var(--ts10-green-soft)!important;color:var(--ts10-green-dark)!important;box-shadow:inset 0 -2px 0 var(--ts10-green)!important}
.ts10-header-search{height:48px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:4px 5px 4px 15px!important;border:1px solid var(--ts10-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:0 4px 16px rgba(15,23,42,.035)!important}
.ts10-header-search>span{color:#667085!important;font-size:22px!important}.ts10-header-search input{min-width:0!important;width:100%!important;height:38px!important;border:0!important;outline:0!important;background:transparent!important;color:#172033!important;font:500 13px Poppins,'Noto Sans Myanmar',sans-serif!important}.ts10-header-search button{height:38px!important;padding:0 22px!important;border:0!important;border-radius:11px!important;background:var(--ts10-green)!important;color:#fff!important;font-weight:700!important;cursor:pointer!important}
.ts10-header-actions{display:flex!important;align-items:center!important;gap:8px!important}.ts10-icon-button{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:1px solid var(--ts10-border)!important;border-radius:50%!important;background:#fff!important;color:#172033!important}.ts10-icon-button .material-symbols-rounded{font-size:22px!important}.ts10-avatar{width:42px!important;height:42px!important;border-radius:50%!important;object-fit:cover!important}

.ts10-library-page{padding:0 0 50px!important}.ts10-container{width:min(1480px,calc(100% - 40px))!important;margin:0 auto!important}.ts10-page-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:30px!important;padding:32px 0 22px!important}.ts10-eyebrow{color:var(--ts10-green)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.17em!important}.ts10-page-heading h1{margin:5px 0 8px!important;color:var(--ts10-ink)!important;font-size:44px!important;line-height:1!important;letter-spacing:-.04em!important}.ts10-page-heading p{margin:0!important;color:#344054!important;font-size:15px!important}.ts10-archive-search{display:grid!important;grid-template-columns:20px minmax(180px,260px) auto!important;align-items:center!important;gap:8px!important;height:46px!important;padding:4px 5px 4px 13px!important;border:1px solid var(--ts10-border)!important;border-radius:14px!important;background:#fff!important}.ts10-archive-search>span{font-size:20px!important;color:#667085!important}.ts10-archive-search input{height:36px!important;border:0!important;outline:0!important;background:transparent!important;font:500 12px Poppins,'Noto Sans Myanmar',sans-serif!important}.ts10-archive-search button{height:36px!important;padding:0 20px!important;border:0!important;border-radius:10px!important;background:var(--ts10-green)!important;color:#fff!important;font-weight:700!important}
.ts10-discovery{margin:22px 0 32px!important}.ts10-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:14px!important}.ts10-section-head h2{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;color:var(--ts10-ink)!important;font-size:23px!important;line-height:1.2!important;letter-spacing:-.025em!important}.ts10-section-head h2 .material-symbols-rounded{font-size:25px!important;color:var(--ts10-green)!important}.ts10-section-head>a{color:var(--ts10-green-dark)!important;font-size:13px!important;font-weight:700!important}
.ts10-category-grid,.ts10-author-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important;width:100%!important}
.ts10-category-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;height:142px!important;min-width:0!important;padding:12px!important;border:1px solid var(--ts10-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;text-align:center!important;overflow:hidden!important}.ts10-category-icon{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;margin-bottom:8px!important;border-radius:16px!important;background:#ECFDF5!important;color:var(--ts10-green)!important;font-size:31px!important;overflow:hidden!important}.ts10-category-icon img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important}.ts10-category-card strong,.ts10-author-card strong{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--ts10-ink)!important;font-size:12.5px!important;line-height:1.35!important}.ts10-category-card small,.ts10-author-card small{margin-top:3px!important;color:var(--ts10-muted)!important;font-size:11px!important;font-weight:600!important}
.ts10-author-card{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:center!important;text-align:center!important}.ts10-author-image{display:block!important;width:100%!important;aspect-ratio:1/1!important;margin-bottom:8px!important;border-radius:18px!important;background:linear-gradient(145deg,#0A7A5A,#12A979)!important;overflow:hidden!important;box-shadow:0 8px 20px rgba(10,122,90,.16)!important}.ts10-author-image img,.ts10-author-image .author-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;border-radius:0!important;object-fit:cover!important;object-position:center top!important}.ts10-category-card:hover,.ts10-author-card:hover{transform:translateY(-3px)!important;transition:.2s ease!important}

.ts10-books-toolbar{margin:38px 0 10px!important;color:#344054!important;font-size:13px!important;font-weight:600!important}.ts10-books-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important;width:100%!important;align-items:stretch!important}.ts10-books-grid>.ts9-book-card{display:flex!important;flex-direction:column!important;min-width:0!important;padding:10px!important;border:1px solid var(--ts10-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(15,23,42,.055)!important;overflow:hidden!important}.ts10-books-grid .ts9-book-cover{display:block!important;width:100%!important;aspect-ratio:2/3!important;border-radius:11px!important;background:#F1F5F9!important;overflow:hidden!important}.ts10-books-grid .ts9-book-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;padding:0!important;object-fit:cover!important;object-position:center!important}.ts10-books-grid .ts9-book-body{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important}.ts10-books-grid .ts9-book-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:35px!important;margin:9px 2px 8px!important;color:var(--ts10-ink)!important;font-size:12px!important;font-weight:700!important;line-height:1.42!important}.ts10-books-grid .ts9-book-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:auto!important}.ts10-books-grid .ts9-book-actions:has(.ts9-action:only-child){grid-template-columns:1fr!important}.ts10-books-grid a.ts9-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;height:33px!important;min-height:33px!important;max-height:33px!important;padding:0 5px!important;border-radius:9px!important;font-size:9.5px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;background-image:none!important}.ts10-books-grid a.ts9-action svg{display:block!important;width:13px!important;height:13px!important;min-width:13px!important;max-width:13px!important;max-height:13px!important;flex:0 0 13px!important;fill:currentColor!important}.ts10-books-grid a.ts9-read{border:1px solid var(--ts10-green)!important;background:#fff!important;color:var(--ts10-green-dark)!important}.ts10-books-grid a.ts9-listen{border:1px solid var(--ts10-green)!important;background:var(--ts10-green)!important;color:#fff!important}
/* Kill legacy/plugin emoji-sized archive controls inside our clean grid. */
.ts10-books-grid .book-actions:not(.ts9-book-actions),.ts10-books-grid .reader-buttons,.ts10-books-grid .book-buttons{display:none!important}.ts10-books-grid a.ts9-action img,.ts10-books-grid a.ts9-action .emoji{display:none!important}
.ts10-library-page .navigation.pagination{display:flex!important;justify-content:center!important;margin:32px 0 10px!important}.ts10-library-page .nav-links{display:flex!important;align-items:center!important;gap:8px!important}.ts10-library-page .page-numbers{display:grid!important;place-items:center!important;min-width:38px!important;height:38px!important;padding:0 10px!important;border:1px solid var(--ts10-border)!important;border-radius:10px!important;background:#fff!important;color:#344054!important;font-weight:700!important}.ts10-library-page .page-numbers.current{border-color:var(--ts10-green)!important;background:var(--ts10-green)!important;color:#fff!important}
/* Home categories and authors use the same square Flutter-style language. */
.front-page .category-strip,.home .category-strip{gap:16px!important}.front-page .cat-tile,.home .cat-tile{height:142px!important;border-radius:18px!important}.front-page .authors-strip,.home .authors-strip{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important}.front-page .author-chip,.home .author-chip{min-width:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.front-page .author-chip .avatar,.home .author-chip .avatar{width:100%!important;height:auto!important;aspect-ratio:1/1!important;margin:0 0 8px!important;border-radius:18px!important;overflow:hidden!important;background:linear-gradient(145deg,#0A7A5A,#12A979)!important}.front-page .author-chip .avatar img,.home .author-chip .avatar img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center top!important;border-radius:0!important}
@media(max-width:1280px){.site-header.ts10-header .ts10-header-inner{grid-template-columns:auto auto minmax(220px,1fr) auto!important;gap:12px!important}.ts10-brand{min-width:205px!important}.ts10-brand-name{font-size:25px!important}.ts10-brand-mark{width:52px!important;height:52px!important;flex-basis:52px!important}.ts10-nav-link{padding:0 10px!important}.ts10-category-grid,.ts10-author-grid,.ts10-books-grid,.front-page .authors-strip,.home .authors-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:980px){.site-header.ts10-header .ts10-header-inner{grid-template-columns:auto 1fr auto!important}.ts10-brand{min-width:0!important}.ts10-brand-name{font-size:22px!important}.ts10-nav{display:none!important}.ts10-header-search{max-width:none!important}.ts10-category-grid,.ts10-author-grid{display:flex!important;overflow-x:auto!important;gap:12px!important;padding:2px 2px 14px!important;scroll-snap-type:x mandatory!important}.ts10-category-card{min-width:138px!important;scroll-snap-align:start!important}.ts10-author-card{min-width:148px!important;scroll-snap-align:start!important}.ts10-books-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.front-page .authors-strip,.home .authors-strip{display:flex!important;overflow-x:auto!important}.front-page .author-chip,.home .author-chip{min-width:145px!important}}
@media(max-width:720px){.site-header.ts10-header .ts10-header-inner{width:calc(100% - 24px)!important;min-height:70px!important;grid-template-columns:auto 1fr auto!important;padding:9px 0!important}.ts10-brand-mark{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:14px!important}.ts10-brand-name{font-size:20px!important}.ts10-header-search{display:none!important}.ts10-header-actions .ts10-icon-button:nth-child(2){display:none!important}.ts10-container{width:calc(100% - 24px)!important}.ts10-page-heading{align-items:stretch!important;flex-direction:column!important;padding-top:24px!important}.ts10-page-heading h1{font-size:36px!important}.ts10-archive-search{width:100%!important;grid-template-columns:20px 1fr auto!important}.ts10-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ts10-books-grid>.ts9-book-card{padding:8px!important;border-radius:14px!important}.ts10-section-head h2{font-size:21px!important}.ts10-category-card{min-width:116px!important;height:126px!important}.ts10-author-card{min-width:126px!important}.ts10-books-grid .ts9-book-title{font-size:11.5px!important}.ts10-books-grid a.ts9-action{font-size:9px!important}}
html[data-thuta-theme="dark"] body,html.thuta-dark body{background:#111827!important;color:#F9FAFB!important}html[data-thuta-theme="dark"] .site-header.ts10-header,html.thuta-dark .site-header.ts10-header{background:rgba(17,24,39,.97)!important;border-color:#374151!important}html[data-thuta-theme="dark"] .ts10-category-card,html[data-thuta-theme="dark"] .ts10-books-grid>.ts9-book-card,html.thuta-dark .ts10-category-card,html.thuta-dark .ts10-books-grid>.ts9-book-card{background:#1F2937!important;border-color:#374151!important}html[data-thuta-theme="dark"] .ts10-brand-name,html[data-thuta-theme="dark"] .ts10-page-heading h1,html[data-thuta-theme="dark"] .ts10-section-head h2,html[data-thuta-theme="dark"] .ts10-category-card strong,html[data-thuta-theme="dark"] .ts10-author-card strong,html[data-thuta-theme="dark"] .ts10-books-grid .ts9-book-title{color:#F9FAFB!important}

/* v10.1.0 — Best Authors horizontal portrait rail (Flutter aligned) */
.front-page .section-compact:has(.authors-strip),
.home .section-compact:has(.authors-strip){
  margin-top:34px!important;
  margin-bottom:34px!important;
}
.front-page .section-compact:has(.authors-strip) .section-head,
.home .section-compact:has(.authors-strip) .section-head,
.ts10-discovery:has(.ts10-author-grid) .ts10-section-head{
  align-items:center!important;
  margin-bottom:18px!important;
}
.front-page .section-compact:has(.authors-strip) .icon-title,
.home .section-compact:has(.authors-strip) .icon-title,
.ts10-discovery:has(.ts10-author-grid) h2{
  font-size:28px!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.front-page .section-compact:has(.authors-strip) .view,
.home .section-compact:has(.authors-strip) .view,
.ts10-discovery:has(.ts10-author-grid) .ts10-section-head>a{
  font-size:15px!important;
  font-weight:800!important;
}
.front-page .authors-strip,
.home .authors-strip,
.ts10-author-grid{
  display:flex!important;
  grid-template-columns:none!important;
  gap:18px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:2px 2px 12px!important;
  scroll-snap-type:x mandatory!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(10,122,90,.28) transparent!important;
}
.front-page .authors-strip::-webkit-scrollbar,
.home .authors-strip::-webkit-scrollbar,
.ts10-author-grid::-webkit-scrollbar{height:6px!important}
.front-page .authors-strip::-webkit-scrollbar-thumb,
.home .authors-strip::-webkit-scrollbar-thumb,
.ts10-author-grid::-webkit-scrollbar-thumb{background:rgba(10,122,90,.28)!important;border-radius:999px!important}
.front-page .author-chip,
.home .author-chip,
.ts10-author-card{
  flex:0 0 154px!important;
  min-width:154px!important;
  width:154px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:center!important;
  scroll-snap-align:start!important;
}
.front-page .author-chip .avatar,
.home .author-chip .avatar,
.ts10-author-image{
  display:block!important;
  width:154px!important;
  height:154px!important;
  min-width:154px!important;
  margin:0 0 10px!important;
  border:0!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#0a7a5a,#0d956d)!important;
  box-shadow:0 10px 22px rgba(6,95,70,.16)!important;
}
.front-page .author-chip .avatar img,
.home .author-chip .avatar img,
.ts10-author-image img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  border-radius:0!important;
}
.front-page .author-chip b,
.home .author-chip b,
.ts10-author-card strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 3px!important;
  overflow:hidden!important;
  color:var(--ts-app-text,#1f2937)!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.front-page .author-chip span,
.home .author-chip span,
.ts10-author-card small{
  display:block!important;
  margin-top:4px!important;
  color:var(--ts-app-muted,#64748b)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
html[data-thuta-theme="dark"] .front-page .author-chip b,
html[data-thuta-theme="dark"] .home .author-chip b,
html[data-thuta-theme="dark"] .ts10-author-card strong{color:#f8fafc!important}
html[data-thuta-theme="dark"] .front-page .author-chip span,
html[data-thuta-theme="dark"] .home .author-chip span,
html[data-thuta-theme="dark"] .ts10-author-card small{color:#aab5c4!important}
@media(max-width:760px){
  .front-page .author-chip,.home .author-chip,.ts10-author-card{flex-basis:126px!important;min-width:126px!important;width:126px!important}
  .front-page .author-chip .avatar,.home .author-chip .avatar,.ts10-author-image{width:126px!important;height:126px!important;min-width:126px!important;border-radius:18px!important}
  .front-page .section-compact:has(.authors-strip) .icon-title,.home .section-compact:has(.authors-strip) .icon-title,.ts10-discovery:has(.ts10-author-grid) h2{font-size:23px!important}
}

/* v10.2.0 — Categories full green square rail, matching Best Authors sizing */
.front-page .category-strip,
.home .category-strip,
.ts10-category-grid{
  display:flex!important;
  grid-template-columns:none!important;
  gap:18px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:2px 2px 12px!important;
  scroll-snap-type:x mandatory!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(10,122,90,.28) transparent!important;
}
.front-page .category-strip::-webkit-scrollbar,
.home .category-strip::-webkit-scrollbar,
.ts10-category-grid::-webkit-scrollbar{height:6px!important}
.front-page .category-strip::-webkit-scrollbar-thumb,
.home .category-strip::-webkit-scrollbar-thumb,
.ts10-category-grid::-webkit-scrollbar-thumb{background:rgba(10,122,90,.28)!important;border-radius:999px!important}
.front-page .cat-tile,
.home .cat-tile,
.ts10-category-card{
  flex:0 0 154px!important;
  min-width:154px!important;
  width:154px!important;
  height:154px!important;
  aspect-ratio:1/1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:14px 10px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#064E3B,#0B5F47)!important;
  box-shadow:0 10px 24px rgba(6,78,59,.20)!important;
  color:#fff!important;
  text-align:center!important;
  scroll-snap-align:start!important;
  overflow:hidden!important;
}
.front-page .cat-tile:hover,
.home .cat-tile:hover,
.ts10-category-card:hover{
  transform:translateY(-3px)!important;
  background:linear-gradient(145deg,#065F46,#0A7A5A)!important;
  box-shadow:0 14px 30px rgba(6,78,59,.28)!important;
}
.front-page .cat-tile .cat-icon,
.home .cat-tile .cat-icon,
.ts10-category-icon{
  width:66px!important;
  height:66px!important;
  min-width:66px!important;
  margin:0 auto 10px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:38px!important;
  overflow:hidden!important;
}
.front-page .cat-tile .cat-icon img,
.home .cat-tile .cat-icon img,
.ts10-category-icon img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
}
.front-page .cat-tile b,
.home .cat-tile b,
.ts10-category-card strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.front-page .cat-tile span,
.home .cat-tile span,
.ts10-category-card small{
  display:block!important;
  margin-top:5px!important;
  color:rgba(255,255,255,.90)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:600!important;
}
.front-page .cat-tile.more .cat-icon,
.home .cat-tile.more .cat-icon{background:transparent!important;color:#fff!important}
html[data-thuta-theme="dark"] .front-page .cat-tile,
html[data-thuta-theme="dark"] .home .cat-tile,
html[data-thuta-theme="dark"] .ts10-category-card,
html.thuta-dark .front-page .cat-tile,
html.thuta-dark .home .cat-tile,
html.thuta-dark .ts10-category-card{
  background:linear-gradient(145deg,#064E3B,#0B5F47)!important;
  border-color:rgba(255,255,255,.12)!important;
}
@media(max-width:760px){
  .front-page .cat-tile,.home .cat-tile,.ts10-category-card{
    flex-basis:126px!important;
    min-width:126px!important;
    width:126px!important;
    height:126px!important;
    border-radius:18px!important;
    padding:10px 8px!important;
  }
  .front-page .cat-tile .cat-icon,.home .cat-tile .cat-icon,.ts10-category-icon{
    width:54px!important;height:54px!important;min-width:54px!important;margin-bottom:7px!important
  }
  .front-page .cat-tile b,.home .cat-tile b,.ts10-category-card strong{font-size:13px!important}
  .front-page .cat-tile span,.home .cat-tile span,.ts10-category-card small{font-size:11px!important}
}


/* =========================================================
   v10.3.0 — WordPress Site Identity logo support
   Header branding is no longer hardcoded. The logo uploaded at
   Appearance > Customize > Site Identity is rendered directly.
   ========================================================= */
.site-header.ts10-header .ts10-branding{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:250px!important;
  max-width:290px!important;
  min-height:64px!important;
  overflow:visible!important;
}
.site-header.ts10-header .ts10-branding .custom-logo-link{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  max-width:100%!important;
  height:64px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
}
.site-header.ts10-header .ts10-branding .custom-logo,
.site-header.ts10-header .ts10-branding .custom-logo-link img{
  display:block!important;
  width:auto!important;
  max-width:260px!important;
  height:auto!important;
  max-height:64px!important;
  object-fit:contain!important;
  object-position:left center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.site-header.ts10-header .ts10-brand-fallback{
  display:flex!important;
  align-items:center!important;
  min-height:56px!important;
  color:#065F46!important;
  text-decoration:none!important;
}
.site-header.ts10-header .ts10-brand-fallback .ts10-brand-name{
  font-size:30px!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}
@media(max-width:1280px){
  .site-header.ts10-header .ts10-branding{min-width:210px!important;max-width:235px!important}
  .site-header.ts10-header .ts10-branding .custom-logo,
  .site-header.ts10-header .ts10-branding .custom-logo-link img{max-width:220px!important;max-height:58px!important}
}
@media(max-width:980px){
  .site-header.ts10-header .ts10-branding{min-width:0!important;max-width:190px!important;min-height:54px!important}
  .site-header.ts10-header .ts10-branding .custom-logo-link{height:54px!important}
  .site-header.ts10-header .ts10-branding .custom-logo,
  .site-header.ts10-header .ts10-branding .custom-logo-link img{max-width:185px!important;max-height:52px!important}
}
@media(max-width:720px){
  .site-header.ts10-header .ts10-branding{max-width:160px!important;min-height:48px!important}
  .site-header.ts10-header .ts10-branding .custom-logo-link{height:48px!important}
  .site-header.ts10-header .ts10-branding .custom-logo,
  .site-header.ts10-header .ts10-branding .custom-logo-link img{max-width:155px!important;max-height:46px!important}
  .site-header.ts10-header .ts10-brand-fallback .ts10-brand-name{font-size:21px!important}
}

/* =========================================================
   v10.4.0 — Authors directory grid + Books archive parity
   ========================================================= */
.ts104-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.ts104-authors-page,.ts104-books-page{min-height:65vh;padding:42px 0 64px;background:#f9fafb}
.ts104-directory-heading{margin-bottom:28px}
.ts104-directory-heading h1{display:flex;align-items:center;gap:10px;margin:7px 0 0;color:#1f2937;font-size:42px;line-height:1.08;font-weight:800}
.ts104-directory-heading h1 .material-symbols-rounded{color:#0a7a5a;font-size:34px}
.ts104-authors-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 18px;align-items:start}
.ts104-author-card{display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;text-decoration:none;background:transparent!important;border:0!important;box-shadow:none!important}
.ts104-author-photo{display:block;width:100%;aspect-ratio:1/1;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#0a7a5a,#16a276);box-shadow:0 8px 22px rgba(10,122,90,.16)}
.ts104-author-photo img,.ts104-author-photo .author-image{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center top!important;border-radius:0!important}
.ts104-author-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;width:100%;margin-top:10px;color:#1f2937;font-size:14px;line-height:1.25;font-weight:800}
.ts104-author-card small{display:block;margin-top:4px;color:#667085;font-size:12px;font-weight:700}
.ts104-author-card:hover .ts104-author-photo{transform:translateY(-3px);box-shadow:0 14px 30px rgba(10,122,90,.22);transition:.2s ease}

.ts104-books-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.ts104-books-heading h1{margin:6px 0 0;color:#1f2937;font-size:44px;line-height:1.05;font-weight:800}
.ts104-books-search{display:grid;grid-template-columns:22px minmax(210px,1fr) auto;align-items:center;gap:8px;width:min(100%,520px);padding:5px 5px 5px 15px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.ts104-books-search .material-symbols-rounded{color:#64748b;font-size:21px}
.ts104-books-search input{width:100%;height:42px;padding:0;border:0!important;outline:0!important;background:transparent!important;color:#1f2937;font:inherit;box-shadow:none!important}
.ts104-books-search button{height:42px;padding:0 22px;border:0;border-radius:12px;background:#0a7a5a;color:#fff;font-weight:800;cursor:pointer}
.ts104-books-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:20px 14px;align-items:stretch}
.ts104-books-grid>.ts9-book-card{display:flex!important;min-width:0!important;flex-direction:column!important;padding:10px!important;border:1px solid #e5e7eb!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;overflow:hidden!important}
.ts104-books-grid .ts9-book-cover{display:block!important;width:100%!important;aspect-ratio:2/3!important;border-radius:11px!important;background:#f1f5f9!important;overflow:hidden!important}
.ts104-books-grid .ts9-book-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important}
.ts104-books-grid .ts9-book-body{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important}
.ts104-books-grid .ts9-book-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:35px!important;margin:9px 2px 8px!important;color:#1f2937!important;font-size:12px!important;font-weight:800!important;line-height:1.4!important}
.ts104-books-grid .ts9-book-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:auto!important}
.ts104-books-grid .ts9-book-actions:has(.ts9-action:only-child){grid-template-columns:1fr!important}
.ts104-books-grid a.ts9-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;height:32px!important;min-height:32px!important;padding:0 5px!important;border-radius:8px!important;font-size:10px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important}
.ts104-books-grid a.ts9-action svg{width:13px!important;height:13px!important;min-width:13px!important;fill:currentColor!important}
.ts104-books-grid a.ts9-read{border:1px solid #0a7a5a!important;background:#fff!important;color:#087353!important}
.ts104-books-grid a.ts9-listen{border:1px solid #0a7a5a!important;background:#0a7a5a!important;color:#fff!important}
.ts104-books-page .navigation.pagination{display:flex;justify-content:center;margin:32px 0 0}
.ts104-books-page .nav-links{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.05)}
.ts104-books-page .page-numbers{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:999px;color:#344054;font-weight:800;text-decoration:none}
.ts104-books-page .page-numbers.current{background:#16a34a;color:#fff}
.ts104-books-page .page-numbers .material-symbols-rounded{font-size:18px}
@media(max-width:1280px){.ts104-authors-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ts104-books-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:980px){.ts104-authors-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ts104-books-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ts104-books-heading{align-items:stretch;flex-direction:column}.ts104-books-search{width:100%}}
@media(max-width:640px){.ts104-container{width:calc(100% - 24px)}.ts104-authors-page,.ts104-books-page{padding:28px 0 48px}.ts104-directory-heading h1,.ts104-books-heading h1{font-size:34px}.ts104-authors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.ts104-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.ts104-books-search{grid-template-columns:20px 1fr auto;padding-left:12px}.ts104-books-search button{padding:0 14px}.ts104-books-grid>.ts9-book-card{padding:8px!important}}
html[data-thuta-theme="dark"] .ts104-authors-page,html[data-thuta-theme="dark"] .ts104-books-page,html.thuta-dark .ts104-authors-page,html.thuta-dark .ts104-books-page{background:#111827}
html[data-thuta-theme="dark"] .ts104-directory-heading h1,html[data-thuta-theme="dark"] .ts104-books-heading h1,html[data-thuta-theme="dark"] .ts104-author-card strong,html[data-thuta-theme="dark"] .ts104-books-grid .ts9-book-title,html.thuta-dark .ts104-directory-heading h1,html.thuta-dark .ts104-books-heading h1,html.thuta-dark .ts104-author-card strong,html.thuta-dark .ts104-books-grid .ts9-book-title{color:#f9fafb!important}
html[data-thuta-theme="dark"] .ts104-books-grid>.ts9-book-card,html[data-thuta-theme="dark"] .ts104-books-search,html.thuta-dark .ts104-books-grid>.ts9-book-card,html.thuta-dark .ts104-books-search{background:#1f2937!important;border-color:#374151!important}

/* =========================================================
   v10.5.0 — Books archive: Flutter/Home-style production grid
   ========================================================= */
.ts105-books-page{
  min-height:68vh;
  padding:34px 0 58px;
  background:#f9fafb;
}
.ts105-container{
  width:min(1490px,calc(100% - 72px));
  margin:0 auto;
}
.ts105-books-heading{margin:0 0 24px}
.ts105-eyebrow{
  margin-bottom:8px;
  color:#087353;
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.15em;
}
.ts105-books-heading h1{
  margin:0;
  color:#1f2937;
  font-size:48px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.035em;
}
.ts105-books-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:24px 14px;
  align-items:stretch;
}
.ts105-books-grid>.ts9-book-card{
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  padding:12px!important;
  border:1px solid #e8ebef!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.ts105-books-grid>.ts9-book-card:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.09)!important;
}
.ts105-books-grid .ts9-book-cover{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  aspect-ratio:2/3!important;
  padding:0!important;
  border-radius:10px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.ts105-books-grid .ts9-book-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
.ts105-books-grid .ts9-cover-placeholder{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  padding:16px!important;
  background:linear-gradient(145deg,#d1fae5,#0a7a5a)!important;
  color:#fff!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:800!important;
}
.ts105-books-grid .ts9-book-body{
  display:flex!important;
  min-width:0!important;
  flex:1!important;
  flex-direction:column!important;
}
.ts105-books-grid .ts9-book-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  min-height:37px!important;
  margin:10px 2px 9px!important;
  color:#172033!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.ts105-books-grid .ts9-book-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:auto!important;
}
.ts105-books-grid .ts9-book-actions:has(.ts9-action:only-child){grid-template-columns:1fr!important}
.ts105-books-grid a.ts9-action{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 6px!important;
  border-radius:7px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ts105-books-grid a.ts9-action svg{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  fill:currentColor!important;
}
.ts105-books-grid a.ts9-read{
  border:1px solid #0a7a5a!important;
  background:#fff!important;
  color:#087353!important;
}
.ts105-books-grid a.ts9-listen{
  border:1px solid #0a7a5a!important;
  background:#0a7a5a!important;
  color:#fff!important;
}
.ts105-books-page .navigation.pagination{
  display:flex!important;
  justify-content:center!important;
  margin:34px 0 0!important;
}
.ts105-books-page .nav-links{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:8px 14px!important;
  border:1px solid #e5e7eb!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(15,23,42,.055)!important;
}
.ts105-books-page .page-numbers{
  display:grid!important;
  place-items:center!important;
  min-width:36px!important;
  height:36px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  color:#344054!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.ts105-books-page .page-numbers.current{background:#16a34a!important;color:#fff!important}
.ts105-books-page .page-numbers:hover:not(.current){background:#ecfdf5!important;color:#087353!important}
.ts105-books-page .page-numbers .material-symbols-rounded{font-size:18px!important}
@media(max-width:1360px){
  .ts105-container{width:min(1220px,calc(100% - 48px))}
  .ts105-books-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
}
@media(max-width:1180px){.ts105-books-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:980px){
  .ts105-container{width:calc(100% - 36px)}
  .ts105-books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px}
}
@media(max-width:640px){
  .ts105-books-page{padding:26px 0 44px}
  .ts105-container{width:calc(100% - 24px)}
  .ts105-books-heading{margin-bottom:18px}
  .ts105-eyebrow{font-size:11px}
  .ts105-books-heading h1{font-size:36px}
  .ts105-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .ts105-books-grid>.ts9-book-card{padding:9px!important;border-radius:13px!important}
  .ts105-books-grid .ts9-book-title{font-size:12px!important;min-height:34px!important}
  .ts105-books-grid a.ts9-action{height:32px!important;min-height:32px!important;font-size:10px!important}
}
html[data-thuta-theme="dark"] .ts105-books-page,html.thuta-dark .ts105-books-page{background:#111827!important}
html[data-thuta-theme="dark"] .ts105-books-heading h1,html.thuta-dark .ts105-books-heading h1{color:#f8fafc!important}
html[data-thuta-theme="dark"] .ts105-books-grid>.ts9-book-card,html.thuta-dark .ts105-books-grid>.ts9-book-card{background:#1f2937!important;border-color:#374151!important}
html[data-thuta-theme="dark"] .ts105-books-grid .ts9-book-cover,html.thuta-dark .ts105-books-grid .ts9-book-cover{background:#111827!important}
html[data-thuta-theme="dark"] .ts105-books-grid .ts9-book-title,html.thuta-dark .ts105-books-grid .ts9-book-title{color:#f8fafc!important}

/* =========================================================
   v10.6.0 — Completely replaced /books/ with production grid
   ========================================================= */
.ts106-books-page{min-height:68vh;padding:30px 0 56px;background:#f9fafb}
.ts106-container{width:min(1490px,calc(100% - 72px));margin:0 auto}
.ts106-books-heading{margin:0 0 25px}
.ts106-eyebrow{margin-bottom:8px;color:#087353;font-size:13px;font-weight:800;line-height:1;letter-spacing:.14em}
.ts106-books-heading h1{margin:0;color:#1f2937;font-size:48px;font-weight:800;line-height:1.05;letter-spacing:-.035em}
.ts106-books-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px 14px;align-items:stretch}
.ts106-books-grid>.ts9-book-card{display:flex!important;position:relative!important;min-width:0!important;flex-direction:column!important;margin:0!important;padding:11px!important;border:1px solid #e5e7eb!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important;overflow:hidden!important}
.ts106-books-grid .ts9-book-cover{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;aspect-ratio:2/3!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.ts106-books-grid .ts9-book-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;object-fit:cover!important;object-position:center!important}
.ts106-books-grid .ts9-cover-placeholder{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;padding:14px!important;background:linear-gradient(145deg,#d1fae5,#0a7a5a)!important;color:#fff!important;font-weight:800!important;text-align:center!important}
.ts106-books-grid .ts9-book-body{display:flex!important;min-width:0!important;flex:1!important;flex-direction:column!important;margin:0!important;padding:0!important}
.ts106-books-grid .ts9-book-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:38px!important;margin:10px 2px 9px!important;padding:0!important;color:#172033!important;font-size:13px!important;font-weight:800!important;line-height:1.42!important;text-decoration:none!important}
.ts106-books-grid .ts9-book-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;margin:auto 0 0!important;padding:0!important}
.ts106-books-grid .ts9-book-actions:has(.ts9-action:only-child){grid-template-columns:1fr!important}
.ts106-books-grid a.ts9-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;height:34px!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:0 5px!important;border-radius:7px!important;font-family:inherit!important;font-size:11px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;box-sizing:border-box!important}
.ts106-books-grid a.ts9-action svg{display:block!important;width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;fill:currentColor!important}
.ts106-books-grid a.ts9-read{border:1px solid #0a7a5a!important;background:#fff!important;color:#087353!important}
.ts106-books-grid a.ts9-listen{border:1px solid #0a7a5a!important;background:#0a7a5a!important;color:#fff!important}
/* Never allow legacy/plugin emoji controls to escape the new card. */
.ts106-books-page .book-actions:not(.ts9-book-actions),.ts106-books-page .reader-actions,.ts106-books-page .audio-actions,.ts106-books-page .book-buttons{display:none!important}
.ts106-pagination{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:34px auto 0;padding:8px 14px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.055)}
.ts106-pagination .page-numbers{display:grid;place-items:center;min-width:36px;height:36px;padding:0 9px;border-radius:999px;color:#344054;font-weight:800;text-decoration:none}
.ts106-pagination .page-numbers.current{background:#16a34a;color:#fff}
.ts106-pagination .page-numbers:hover:not(.current){background:#ecfdf5;color:#087353}
.ts106-pagination .material-symbols-rounded{font-size:18px}
@media(max-width:1360px){.ts106-container{width:min(1220px,calc(100% - 48px))}.ts106-books-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1180px){.ts106-books-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:980px){.ts106-container{width:calc(100% - 36px)}.ts106-books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px}}
@media(max-width:640px){.ts106-books-page{padding:25px 0 44px}.ts106-container{width:calc(100% - 24px)}.ts106-books-heading{margin-bottom:18px}.ts106-eyebrow{font-size:11px}.ts106-books-heading h1{font-size:36px}.ts106-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.ts106-books-grid>.ts9-book-card{padding:9px!important}.ts106-books-grid .ts9-book-title{min-height:35px!important;font-size:12px!important}.ts106-books-grid a.ts9-action{height:32px!important;min-height:32px!important;font-size:10px!important}}
html[data-thuta-theme="dark"] .ts106-books-page,html.thuta-dark .ts106-books-page{background:#111827!important}
html[data-thuta-theme="dark"] .ts106-books-heading h1,html.thuta-dark .ts106-books-heading h1{color:#f8fafc!important}
html[data-thuta-theme="dark"] .ts106-books-grid>.ts9-book-card,html.thuta-dark .ts106-books-grid>.ts9-book-card{background:#1f2937!important;border-color:#374151!important}
html[data-thuta-theme="dark"] .ts106-books-grid .ts9-book-cover,html.thuta-dark .ts106-books-grid .ts9-book-cover{background:#111827!important}
html[data-thuta-theme="dark"] .ts106-books-grid .ts9-book-title,html.thuta-dark .ts106-books-grid .ts9-book-title{color:#f8fafc!important}
