/* Sanctus TV final-fit layer: visual refinement only, no structural injections. */
:root{--stv-finish-gold:#d7b56c;--stv-finish-border:rgba(226,202,154,.12)}
.mature-topbar{box-shadow:0 5px 26px rgba(0,0,0,.23)!important}
.mature-home-body,.directory-main{min-width:0}
.mature-rail-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mature-rail-head h2{line-height:1.24!important;text-wrap:balance}
.mature-rail-track{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.mature-poster,.directory-grid .channel-card{transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease!important}
.mature-poster{border:1px solid var(--stv-finish-border)!important;overflow:hidden}
.directory-grid .channel-card{min-width:0}
.directory-grid .channel-info{min-width:0}
.directory-grid .channel-info h3{overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.directory-grid .channel-visual img{max-width:100%}
.directory-grid .channel-card:focus-within,.mature-poster:focus-within{outline:2px solid var(--stv-finish-gold);outline-offset:2px}
.stv4-tabs button:focus-visible,.stv4-search input:focus-visible,.stv4-watch-actions button:focus-visible,.stv4-title-actions button:focus-visible{outline:2px solid var(--stv-finish-gold);outline-offset:2px}
.stv4-tabs button,.stv4-title-actions button,.stv4-watch-actions button{transition:background-color .16s ease,border-color .16s ease}
.stv4-search:focus-within{border-color:rgba(215,181,108,.65)!important;box-shadow:0 0 0 3px rgba(215,181,108,.08)}
@media(min-width:721px){.directory-grid .channel-card:hover,.mature-poster:hover{box-shadow:0 15px 30px rgba(0,0,0,.30)!important;border-color:rgba(215,181,108,.26)!important}}
@media(max-width:720px){.mature-home-body{overflow-x:clip}.mature-rail{margin-bottom:24px!important}.mature-rail-head h2{font-size:1.15rem!important}.mature-rail-track{gap:10px!important}.directory-grid{min-width:0}.directory-grid .channel-card{min-width:0}.stv4-tabs button{min-height:39px}.stv4-search input{min-width:0}}
@media(max-width:370px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.directory-grid .channel-info h3{font-size:12px!important}.stv4-title h1{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){.mature-poster,.directory-grid .channel-card,.stv4-tabs button,.stv4-title-actions button,.stv4-watch-actions button{transition:none!important}}
