/* PhimHDC V4.6 — independent /phim-le catalog.
   Reference: user-supplied HTML + full-page capture, 4 rows x 6 columns.
   This file is intentionally scoped to body.phdc-movie-list-page; /phim-bo keeps XPF.
*/
body.phdc-movie-list-page{background:#191a22;color:#f5f5f8}
body.phdc-movie-list-page .phdc-page{overflow:clip}
/* Wide full-bleed backdrop with portrait poster selector rail, matching reference. */
body.phdc-movie-list-page .phdc-movie-hero{height:min(39vw,720px);min-height:510px;max-height:720px;background:#191a22}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-media>img{object-position:center 35%;filter:brightness(.88);opacity:1}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-shade{
  background:linear-gradient(180deg,rgba(10,11,15,.5) 0%,rgba(11,12,16,.02) 24%,rgba(17,18,24,.06) 56%,rgba(25,26,34,.63) 83%,#191a22 100%),
             linear-gradient(90deg,rgba(12,13,18,.77) 0%,rgba(12,13,18,.32) 21%,transparent 68%)}
body.phdc-movie-list-page .phdc-movie-hero::before,
body.phdc-movie-list-page .phdc-movie-hero::after{display:none!important}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-slides::after{content:"";position:absolute;z-index:3;pointer-events:none;inset:auto 0 0;height:31%;background:linear-gradient(180deg,transparent,#191a22)}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumbnails{
  left:max(175px,10.3vw);bottom:12px;max-width:min(1110px,calc(100vw - 440px));gap:10px;padding:2px 1px 0;scroll-padding-inline:2px}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb{flex:0 0 clamp(104px,6.7vw,122px);width:clamp(104px,6.7vw,122px)}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-art{width:100%;height:auto;aspect-ratio:5/7;border-radius:10px;border-width:2px;filter:brightness(.72)}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-art img{object-fit:cover;object-position:center;width:100%;height:100%}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-title{max-width:100%;margin-top:7px;font-size:12px;line-height:1.4;color:#999aa6;font-weight:400}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb.is-active .phdc-hero-thumb-title{color:#fff}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb:hover .phdc-hero-thumb-art{transform:none;filter:brightness(1)}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls{right:3.2%;bottom:109px;gap:11px}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-pages{gap:8px;margin-right:12px}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-page{width:16px;height:5px}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-page.is-active{width:43px}
body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls>button{width:42px;height:42px;background:rgba(25,26,34,.2)}
body.phdc-movie-list-page .phdc-movie-no-hero{height:112px;background:#191a22}
/* Reference keeps a narrow central feed, not a stretched, gigantic 8-column grid. */
body.phdc-movie-list-page .phdc-movie-main{position:relative;z-index:7;margin-left:var(--phdc-nav);min-width:0;padding:0 24px 38px 0;background:#191a22;margin-top:-1px}
body.phdc-movie-list-page .phdc-movie-container{width:100%;max-width:1320px;margin:0}
body.phdc-movie-list-page .phdc-movie-list{margin:0;padding:18px 0 0}
body.phdc-movie-list-page .phdc-movie-list-heading{position:relative;min-height:45px;display:flex;align-items:center;gap:15px;margin-bottom:15px}
body.phdc-movie-list-page .phdc-movie-list-heading h1{font-size:clamp(24px,1.7vw,30px);font-weight:750;color:#f3f3f5;line-height:1.2;margin:0;letter-spacing:-.4px;position:relative;z-index:2}
body.phdc-movie-list-page .phdc-movie-watermark{font-family:Impact,sans-serif;position:absolute;left:0;top:-4px;letter-spacing:1px;opacity:.06;font-size:30px;pointer-events:none}
body.phdc-movie-list-page .phdc-movie-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:15px;row-gap:24px;width:100%}
body.phdc-movie-list-page .phdc-movie-card{width:100%;min-width:0;margin:0;display:block;color:#f4f4f6}
body.phdc-movie-list-page .phdc-movie-poster-link{position:relative;display:block;text-decoration:none;overflow:hidden;border-radius:9px;color:inherit;background:#262832;aspect-ratio:5/7;isolation:isolate}
body.phdc-movie-list-page .phdc-movie-cover{display:block;width:100%;height:100%;overflow:hidden}
body.phdc-movie-list-page .phdc-movie-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .28s ease,filter .28s ease}
body.phdc-movie-list-page .phdc-movie-card:is(:hover,:focus-within) .phdc-movie-cover img{transform:scale(1.04);filter:brightness(1.07) saturate(1.04)}
body.phdc-movie-list-page .phdc-movie-poster-link:focus-visible{outline:2px solid #ffe0a0;outline-offset:2px}
body.phdc-movie-list-page .phdc-movie-poster-label{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:stretch;justify-content:center;max-width:100%;white-space:nowrap;border-radius:3px 3px 0 0;overflow:hidden;color:#fff;font-size:11px;line-height:1.25;font-weight:500;text-align:center;box-shadow:0 -4px 16px rgba(0,0,0,.07)}
body.phdc-movie-list-page .phdc-movie-label-dub{background:rgba(75,80,96,.93);padding:5px 6px}
body.phdc-movie-list-page .phdc-movie-label-sub{background:rgba(13,136,74,.95);padding:5px 6px}
body.phdc-movie-list-page .phdc-movie-name{margin:9px 0 0;padding:0 2px;font-size:14px;line-height:1.45;font-weight:500;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.phdc-movie-list-page .phdc-movie-name a{color:#e4e5eb;text-decoration:none;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.phdc-movie-list-page .phdc-movie-card:is(:hover,:focus-within) .phdc-movie-name a{color:#ffe096}
body.phdc-movie-list-page .phdc-movie-empty{padding:45px 20px;text-align:center;border-radius:10px;background:#22242d}
body.phdc-movie-list-page .phdc-movie-empty a{color:#ffe096}
body.phdc-movie-list-page .phdc-movie-pagination{display:flex;align-items:center;justify-content:center;gap:9px;margin:32px auto 0;max-width:100%;flex-wrap:wrap}
body.phdc-movie-list-page .phdc-movie-page{display:flex;align-items:center;justify-content:center;min-width:46px;height:34px;padding:0 12px;text-align:center;background:#26272f;border:0;border-radius:7px;font-size:14px;font-weight:600;color:#c3c4c9;text-decoration:none;transition:background .18s,color .18s}
body.phdc-movie-list-page .phdc-movie-page:is(:hover,:focus-visible){background:#393b44;color:#fff}
body.phdc-movie-list-page .phdc-movie-page.is-current{background:#aa2025;color:#fff;box-shadow:0 4px 11px rgba(170,26,35,.17)}
body.phdc-movie-list-page .phdc-movie-page-dots{padding:0 4px;color:#9496a0}
body.phdc-movie-list-page .phdc-footer{max-width:1579px;margin-top:0}
/* UI overlays should not split the backdrop along the left sidebar boundary. */
body.phdc-movie-list-page .phdc-sidebar:not(.is-solid){background:linear-gradient(90deg,rgba(10,11,16,.83),rgba(10,11,16,.42) 81%,transparent)}
@media(max-width:1450px){
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumbnails{max-width:calc(100vw - 400px)}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb{flex-basis:clamp(96px,8vw,112px);width:clamp(96px,8vw,112px)}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-art{width:100%;height:auto;aspect-ratio:5/7}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-title{max-width:100%}
  body.phdc-movie-list-page .phdc-movie-grid{column-gap:12px;row-gap:22px}
}
@media(max-width:1100px){
  body.phdc-movie-list-page .phdc-movie-hero{min-height:490px;height:50vw}
  body.phdc-movie-list-page .phdc-movie-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  body.phdc-movie-list-page .phdc-movie-welcome-copy strong{font-size:16px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls{bottom:150px;right:20px}
}
@media(max-width:800px){
  body.phdc-movie-list-page .phdc-movie-hero{height:465px;min-height:465px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumbnails{left:15px;bottom:15px;max-width:calc(100vw - 30px);gap:9px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb{flex-basis:92px;width:92px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-art{width:100%;height:auto;aspect-ratio:5/7;border-radius:8px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb-title{max-width:100%;font-size:11px;margin-top:5px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls{bottom:210px;right:16px}
  body.phdc-movie-list-page .phdc-movie-main{margin-left:0;padding:0 13px 30px}
  body.phdc-movie-list-page .phdc-movie-list{padding-top:12px}
  body.phdc-movie-list-page .phdc-movie-welcome{margin-bottom:23px}
  body.phdc-movie-list-page .phdc-movie-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 11px}
  body.phdc-movie-list-page .phdc-movie-list-heading h1{font-size:24px}
  body.phdc-movie-list-page .phdc-footer{margin:0;max-width:unset}
}
@media(max-width:560px){
  body.phdc-movie-list-page .phdc-movie-hero{height:390px;min-height:390px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-thumb{flex-basis:78px;width:78px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls{bottom:178px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-controls>button{width:32px;height:32px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-pages{gap:5px;margin-right:4px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-page{width:11px;height:4px}
  body.phdc-movie-list-page .phdc-movie-hero .phdc-hero-page.is-active{width:23px}
  body.phdc-movie-list-page .phdc-movie-welcome{gap:8px;padding:11px 10px;min-height:90px}
  body.phdc-movie-list-page .phdc-movie-welcome-mascot{width:45px;height:68px}
  body.phdc-movie-list-page .phdc-movie-welcome-copy{padding-left:11px;font-size:11px;line-height:1.5}
  body.phdc-movie-list-page .phdc-movie-welcome-copy strong{font-size:13px}
  body.phdc-movie-list-page .phdc-movie-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 11px}
  body.phdc-movie-list-page .phdc-movie-name{font-size:12px}
  body.phdc-movie-list-page .phdc-movie-poster-label{font-size:10px}
  body.phdc-movie-list-page .phdc-movie-label-dub,body.phdc-movie-list-page .phdc-movie-label-sub{padding:4px 5px}
  body.phdc-movie-list-page .phdc-movie-page{min-width:36px;height:32px;padding:0 8px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){body.phdc-movie-list-page .phdc-movie-cover img,body.phdc-movie-list-page .phdc-movie-page{transition:none}}
