/* Catálogo amplo: seis capas por linha no desktop, com redução em telas menores. */
.play-main[data-kind="vod"] .item-grid,
.play-main[data-kind="series"] .item-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 22px}
.play-main:is([data-kind="vod"],[data-kind="series"]) .poster{border-radius:15px}
.play-main:is([data-kind="vod"],[data-kind="series"]) .item-title{font-size:15px;line-height:1.4}
.play-main:is([data-kind="vod"],[data-kind="series"]) .item-card small{font-size:12px}
.play-main{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - var(--play-header-height,78px));padding-bottom:22px}
.play-hero{flex-shrink:0}
.catalog-layout{flex:none;position:sticky;top:calc(var(--play-header-height,78px) + 20px);height:calc(100vh - var(--play-header-height,78px) - 42px);height:calc(100dvh - var(--play-header-height,78px) - 42px);min-height:0;margin-top:28px;grid-template-areas:"categories search" "categories content";grid-template-rows:auto minmax(0,1fr);row-gap:0}
.catalog-layout>.category-panel{grid-area:categories;position:static;align-self:stretch;height:100%;min-height:0;max-height:none;overscroll-behavior-y:auto}
.catalog-content{grid-area:content;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-gutter:stable;padding:2px 10px 10px 0}
.catalog-content:focus-visible{outline:2px solid #c6a156;outline-offset:3px;border-radius:8px}
.catalog-content .poster:hover{outline-offset:-2px}
.catalog-layout>.toolbar{grid-area:search;margin:0;min-width:0;padding:0 0 20px}
.toolbar input{min-width:0}
.toolbar span{flex-shrink:0}

/* As regras de rolagem ficam restritas ao PLAY, onde esta folha é carregada. */
html,*{scrollbar-width:thin;scrollbar-color:#8b6b30 #19160f}
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-track{background:#19160f;border-radius:10px}
::-webkit-scrollbar-thumb{background:#8b6b30;border:2px solid #19160f;border-radius:10px}
::-webkit-scrollbar-thumb:hover{background:#bc9850}
::-webkit-scrollbar-corner{background:transparent}

@media(max-width:1439px){
 .play-main:is([data-kind="vod"],[data-kind="series"]) .item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}
}
@media(max-width:1099px){
 .play-main:is([data-kind="vod"],[data-kind="series"]) .item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:901px){
 .play-main:not(.catalog-docked) .catalog-content,
 .play-main:not(.catalog-docked) .category-panel{overflow-y:hidden}
}
@media(max-width:900px){
 .play-main{height:auto;min-height:calc(100dvh - var(--play-header-height,78px))}
 .catalog-layout{position:static;top:auto;height:auto;flex:none;grid-template-areas:"categories" "search" "content";grid-template-rows:auto auto minmax(0,1fr)}
 .catalog-layout>.category-panel{height:auto;max-height:none;margin-bottom:20px}
 .catalog-content{height:65vh;height:65dvh;min-height:240px}
}
@media(max-width:599px){
 .play-main:is([data-kind="vod"],[data-kind="series"]) .item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .play-main:is([data-kind="vod"],[data-kind="series"]) .item-title{font-size:14px}
}
