/* Layout preferences only; all site colors come from the original stylesheet. */
/* Three genuinely different catalog arrangements, with the sidebar kept on the right. */
html[data-dt-layout="posters"] .episodes-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
html[data-dt-layout="posters"] .episodes-list .card,html[data-dt-layout="posters"] .episodes-list .episode-card{border-radius:11px!important}
html[data-dt-layout="posters"] .episodes-list :is(.content,.body){padding:15px!important}
html[data-dt-layout="posters"] .episodes-list :is(h3,h3 a){font-size:.93rem!important;line-height:1.5!important}
html[data-dt-layout="compact"] .episodes-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html[data-dt-layout="compact"] .episodes-list :is(.card,.episode-card){display:grid!important;grid-template-columns:140px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:8px!important;border-radius:8px!important}
html[data-dt-layout="compact"] .episodes-list :is(.thumbnail,.thumb){width:140px!important;height:auto!important;aspect-ratio:16/9!important;align-self:center!important;border-radius:5px!important}
html[data-dt-layout="compact"] .episodes-list :is(.content,.body){padding:2px 4px 2px 0!important;min-width:0!important}
html[data-dt-layout="compact"] .episodes-list :is(h3,h3 a){font-size:.85rem!important;line-height:1.45!important}
html[data-dt-layout="compact"] .episodes-list :is(.post-meta,.meta){margin-top:5px!important;gap:5px!important}
html[data-dt-layout="compact"] .episodes-list .episode-date-card{right:4px!important;bottom:4px!important;max-width:calc(100% - 8px)!important;padding:3px 4px!important;font-size:9px!important;line-height:1.2!important;white-space:normal!important}
html[data-dt-layout="compact"] .episodes-list .episode-number-card{top:4px!important;right:4px!important;padding:3px 4px!important;font-size:9px!important;line-height:1.2!important}
/* Catalog toolbar and appearance controls. */
.dt-catalog-layouts{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:2px 0;min-width:0}
.dt-catalog-layout-label{flex:0 0 auto;color:var(--cinema-muted);font-size:11px;font-weight:600}
.dt-catalog-layout-buttons{display:flex;gap:6px;min-width:0}
.dt-catalog-layout-buttons>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid transparent;border-radius:5px;background:rgba(145,207,193,.035);color:var(--cinema-muted);font:inherit;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer}
.dt-catalog-layout-buttons>button[aria-pressed="true"]{background:rgba(145,207,193,.12);border-color:rgba(145,207,193,.17);color:var(--cinema-accent)}
.dt-catalog-layout-buttons>button:hover{background:rgba(145,207,193,.08);color:var(--cinema-text)}
.dt-catalog-layout-buttons>button:focus-visible{outline:2px solid var(--cinema-accent);outline-offset:2px}

.dt-catalog-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:18px;min-width:0}
.dt-catalog-toolbar>.catalog-tools{flex:1 1 220px;min-width:0;margin:0}
.dt-catalog-toolbar>.dt-catalog-layouts{flex:0 0 auto;gap:8px;margin:0}
.dt-catalog-toolbar .dt-catalog-layout-buttons>button{padding:8px}
.dt-catalog-toolbar .catalog-tools input{flex:1 1 100px;width:0}
@media(max-width:1280px){html[data-dt-layout="compact"] .episodes-list :is(.card,.episode-card){grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important}html[data-dt-layout="compact"] .episodes-list :is(.thumbnail,.thumb){width:112px!important}}
@media(max-width:1100px){.dt-catalog-toolbar .dt-catalog-layout-buttons svg{display:none}.dt-catalog-toolbar{gap:10px}}
@media(max-width:900px){.dt-catalog-toolbar{display:block;margin-bottom:14px}.dt-catalog-toolbar>.catalog-tools{margin-bottom:12px}.dt-catalog-layout-buttons{flex:1}html[data-dt-layout="posters"] .episodes-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:740px){html[data-dt-layout="compact"] .episodes-list{grid-template-columns:minmax(0,1fr)!important}html[data-dt-layout="compact"] .episodes-list :is(.card,.episode-card){grid-template-columns:120px minmax(0,1fr)!important}html[data-dt-layout="compact"] .episodes-list :is(.thumbnail,.thumb){width:120px!important}}
@media(max-width:640px){html[data-dt-layout="posters"] .episodes-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}html[data-dt-layout="posters"] .episodes-list :is(.content,.body){padding:10px!important}html[data-dt-layout="posters"] .episodes-list :is(h3,h3 a){font-size:.84rem!important}.dt-catalog-layouts{gap:8px;margin-bottom:14px}.dt-catalog-layout-buttons{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.dt-catalog-layout-buttons>button{min-width:0;min-height:40px;padding:8px 5px;font-size:11px}.dt-catalog-layout-buttons svg{display:none}}
@media(max-width:360px){html[data-dt-layout="compact"] .episodes-list :is(.card,.episode-card){grid-template-columns:104px minmax(0,1fr)!important;gap:9px!important}html[data-dt-layout="compact"] .episodes-list :is(.thumbnail,.thumb){width:104px!important}}
