/* Consolidated layout: predictable breakpoints, readable text, reachable filters. */
:root{--bg:#0d0c14;--panel:#181622;--panel2:#201c2e;--line:#3c344d;--muted:#bcb3ca;--purple:#9464f5;--purple2:#c4a3ff;--text:#f6f3fc;--chip:#241f32}
html{color-scheme:dark;scrollbar-color:#77618f #0d0c14}
body.th-ui{background:var(--bg);color:var(--text);font:15px/1.5 Inter,system-ui,-apple-system,Segoe UI,sans-serif;overflow-x:clip}
.th-ui .topbar{background:#12101b;border-color:var(--line)}
.th-ui .topbar-inner{min-height:72px;width:calc(100% - 40px);max-width:none;gap:16px}
.th-ui .brand{font-size:23px}.th-ui .top-actions{gap:8px}.th-ui .top-actions .icon-btn{width:44px;height:44px}
.th-ui #desktopNav{display:none}
.th-ui .mobile-menu[hidden]{display:none!important}
.th-menu-toggle{width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:10px;background:transparent;color:#f6f3fc;cursor:pointer;flex:none}
.th-menu-toggle svg{display:block;width:22px;height:22px}
.th-ui .th030da-sidebar{position:fixed;left:0;top:72px;bottom:0;width:204px;padding:22px 12px;background:#12101b;border-right:1px solid var(--line);z-index:40;overflow:auto}
.th-ui .th030da-group{font-size:11px;font-weight:700;color:#bcb3ca;letter-spacing:.12em;margin:0 12px 12px}
.th-ui .th030da-navlink{display:flex;align-items:center;min-height:46px;padding:10px 14px;border-radius:9px;margin-bottom:4px;text-decoration:none;color:#ded6ed;font-weight:600}
.th-ui .th030da-navlink:hover{background:#241f32}.th-ui .th030da-navlink[aria-current=page]{background:#352345;color:#fff}
.th-ui .th030da-navlink[href*="format=SHORT"]{padding-left:26px;font-size:14px}
.th-ui .th030da-sidebar-foot{padding:28px 12px;color:#bcb3ca;font-size:12px}
.th-ui #view,.th-ui .site-footer{margin-left:204px}
.th-ui.th-nav-collapsed .th030da-sidebar{display:none}.th-ui.th-nav-collapsed #view,.th-ui.th-nav-collapsed .site-footer{margin-left:0}
.th-ui #view>.page>.container{width:calc(100% - 64px);max-width:1440px}
.th-ui .page{padding:30px 0 48px}.th-ui .section{margin-top:32px}
.th-ui .hero.hero-rotator{min-height:0;padding:32px;border-radius:18px;background:#1d172b;border:1px solid #544069;box-shadow:none}
.th-ui .hero-bg,.th-ui .hero-shade,.th-ui .hero-dots,.th-ui .hero::before{display:none}
.th-ui .hero-copy{text-align:left;margin:0;max-width:900px;text-shadow:none}
.th-ui .hero-kicker{background:none;padding:0;border:0;color:#c4a3ff;font-size:13px;margin-bottom:12px}
.th-ui .hero h1{font-size:clamp(32px,4vw,48px);line-height:1.1;margin-bottom:12px}
.th-ui .hero p{font-size:16px;line-height:1.6;color:#d8cee7;margin:0 0 22px;max-width:760px}
.th-ui .search-wrap{margin:0;max-width:850px}.th-ui .search{background:#f8f5ff;border:1px solid #d0c4e5;box-shadow:none;min-width:0}
.th-ui .search input{min-width:0;color:#241931;padding:14px 8px;font-size:16px}.th-ui .search input::placeholder{color:#655774}
.th-ui .search button{background:#59319a;min-width:44px;min-height:44px}.th-ui .filter-trigger{color:#fff;border-color:#806a9b;min-height:48px}
.th-ui .hero-trust{display:none}.th-ui .hero .search-icon{color:#655774}
.th-ui .section-head h2,.th-discovery h2{font-size:22px;line-height:1.3;margin:0}
.th-ui .section-eyebrow{color:#bcb3ca;font-size:11px}.th-ui .link{color:#cfafff;min-height:44px;display:inline-flex;align-items:center}
.th-ui .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.th-ui .card{min-width:0}
.th-ui .card h3{font-size:16px;line-height:1.45;margin:12px 0 8px;overflow-wrap:anywhere}
.th-ui .thumb{border-radius:12px;background-color:#211c2a}.th-ui .card:hover .thumb{transform:none;box-shadow:none}
.th-ui .stats{color:#bcb3ca;font-size:13px;gap:8px 14px;flex-wrap:wrap}.th-ui .card-compact-line{color:#bcb3ca;font-size:12px}
.th-ui .tag{background:#282135;color:#e4dcef;font-size:12px}.th-ui .meta{gap:6px;min-height:0}
.th-ui .quick-filter-wrap{margin:18px 0;align-items:flex-start}.th-ui .quick-filter-label{display:none}
.th-ui .category-row{flex-wrap:wrap;overflow:visible;padding:0;gap:8px}.th-ui .chip{border-color:#594866;border-radius:9px;min-height:44px;background:#241f32;color:#e4dcef;font-size:14px}
.th-ui .chip.active{background:#59319a;border-color:#aa81ea;color:#fff}.th-ui .chip.purple{background:#30213f;border-color:#806a9b}
.th-ui .title-block{background:none;border:0;padding:0;margin-bottom:20px}.th-ui .title-block h1{font-size:30px}
.th-ui .age-focus{color:#bcb3ca}.th-ui .result-count{color:#bcb3ca}
.th-ui .toolbar,.th-ui .explore-search{gap:12px;flex-wrap:wrap}
.th-ui .explore-search .search{background:#211c2e;border-color:#685777}.th-ui .explore-search .search input{color:#fff}
.th-ui .select,.th-ui .field{background:#211c2e;border-color:#685777;min-height:44px;font-size:15px}
.th-ui .layout{display:block}
.th-ui .layout>div{min-width:0}
.th-ui .chip-row{flex-wrap:wrap;overflow:visible;padding:0;gap:8px}
.th-ui .right-rail{display:block!important;background:#181622;border-color:#51405e;box-shadow:none}
.th-filter-disclosure{min-width:0}.th-filter-disclosure>summary{font-weight:700;cursor:pointer;min-height:48px;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #685777;border-radius:10px;background:#211c2e;margin-bottom:12px}
.th-filter-disclosure>summary::before{content:'+';font-size:20px}.th-filter-disclosure[open]>summary::before{content:'−'}
.th-ui .filter-group label.title{font-size:14px}.th-ui .filter-group .hint{color:#bcb3ca}
.th-discovery{margin:28px 0}.th-discovery .section-head{margin-bottom:16px}.th-discovery p{color:#bcb3ca;margin:6px 0 0}
.th-format-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.th-format-grid a{display:flex;align-items:center;gap:16px;padding:20px;min-height:96px;border:1px solid #51405e;border-radius:12px;background:#181622;color:#f6f3fc;text-decoration:none}
.th-format-grid a:hover{border-color:#c4a3ff;background:#241b30}.th-format-grid a>span:last-child{margin-left:auto;color:#c4a3ff}
.th-format-icon{font-size:28px;color:#c4a3ff}.th-format-grid strong{display:block;font-size:17px}.th-format-grid small{display:block;color:#bcb3ca;font-size:13px;margin-top:4px}
.th-ui .th-upcoming{font-size:13px;margin-top:14px;color:#bcb3ca}
.th-taxonomy{border:1px solid #51405e;border-radius:14px;padding:20px;margin-bottom:28px;background:#181622;display:grid;gap:16px}
.th-taxonomy-row{display:flex;align-items:center;gap:16px}.th-taxonomy-label{min-width:120px;font-size:14px;font-weight:700;color:#d9cce8}
.th-taxonomy-row>div{display:flex;gap:8px;flex-wrap:wrap}.th-taxonomy-chip{display:inline-flex;align-items:center;min-height:44px;border:1px solid #685777;border-radius:8px;padding:9px 14px;text-decoration:none;color:#e9e0f5;background:#241f32;font-size:14px}
.th-taxonomy-chip.active{background:#59319a;border-color:#aa81ea;color:#fff}
.th-ui .empty-state{color:#c7bbd5;border-color:#685777;background:#181622}.th-ui .rights-note{color:#e2d2ba}
.th-ui .site-footer{background:#12101b;border-color:var(--line)}.th-ui .footer-col a,.th-ui .footer-brand p,.th-ui .footer-bottom{color:#bcb3ca}
.th-ui .mobile-bottom{z-index:70;background:#12101b}.th-ui .mobile-bottom a{min-height:48px;color:#e4dcef;font-size:12px}
@media(min-width:1550px){.th-ui .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.th-ui .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-ui #view>.page>.container{width:calc(100% - 40px)}}
@media(max-width:1000px){.th-ui .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-format-grid{grid-template-columns:1fr}.th-ui .hero.hero-rotator{padding:24px}}
@media(max-width:700px){
 .th-ui .topbar-inner{width:calc(100% - 24px);min-height:66px;gap:8px}.th-ui .brand{font-size:18px}.th-ui .brand-mark{width:26px;height:26px}.th-ui .top-actions{gap:4px}
 .th-ui .top-actions>a[href="#library"],.th-ui #globalSearchBtn{display:none}.th-ui #view,.th-ui .site-footer{margin-left:0}
 .th-ui .th030da-sidebar{display:none;top:66px;width:min(300px,90vw);bottom:66px;border-right:1px solid #806a9b}.th-ui.th-nav-open .th030da-sidebar{display:block}
 .th-ui #view>.page>.container{width:calc(100% - 24px)}.th-ui .page{padding:18px 0 40px}.th-ui .hero.hero-rotator{padding:22px 18px}.th-ui .hero h1{font-size:32px}.th-ui .hero p{font-size:15px}
 .th-ui .search-wrap{display:flex;flex-wrap:wrap}.th-ui .search-wrap .search{flex-basis:100%}.th-ui .filter-trigger{display:inline-flex;align-items:center;justify-content:center}
 .th-ui .section{margin-top:28px}.th-ui .grid{gap:22px 12px}.th-ui .section-head h2{font-size:20px}.th-ui .card h3{font-size:15px}
 .th-ui .quick-filter-wrap{display:block}.th-ui .category-row{padding:0}.th-format-grid a{padding:16px;min-height:90px}
 .th-taxonomy{padding:16px}.th-taxonomy-row{display:block}.th-taxonomy-label{display:block;margin-bottom:8px}.th-taxonomy-chip{padding:9px 12px}
 .th-ui .toolbar select{max-width:100%}.th-ui .right-rail{padding:16px}.th-ui .footer-inner{grid-template-columns:1fr}
}
@media(max-width:380px){.th-ui .grid{grid-template-columns:1fr}.th-ui .brand{font-size:16px}.th-ui .brand-mark{display:none}}

.th-basic-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.th-basic-filters .filter-group{margin:0;padding:0;border:0}
.th-basic-filters .title{display:block;margin-bottom:8px;font-weight:600}
.th-basic-filters select{width:100%}
.th-filter-disclosure{margin:16px 0 24px}
.th-ui .right-rail .filter-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.th-ui .right-rail .filter-group{margin:0}
.th-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:28px 0;flex-wrap:wrap}
.th-pagination button:disabled{opacity:.45;cursor:default}
@media(max-width:900px){.th-ui .right-rail .filter-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.th-basic-filters,.th-ui .right-rail .filter-list{grid-template-columns:minmax(0,1fr)}}
.th-thumbnail-fallback{display:flex;align-items:center;justify-content:center;min-height:140px;height:100%;padding:16px;color:#c7bbd5;font-size:14px;text-align:center}.th-ui .thumb{position:relative}.th-ui .thumb .badge.warning{left:8px;top:8px;color:#ffe1a1;background:#342916;border-color:#ad844a}
