/* WEBPHIM THEME V1 — independent design layer over the existing PHP application.
   Reference geometry: near-black background, minimal header, immersive hero, seven poster columns.
   Inter variable is ALREADY bundled in the base source; this patch distributes no fonts. */
@font-face{font-family:'WebPhim Inter';src:url('/public/assets/webfonts/inter/Inter-roman.var.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

:root{--wp-bg:#111216;--wp-panel:#18191e;--wp-black:#090a0e;--wp-fg:#f2f3f5;--wp-muted:#a0a1aa;--wp-green:#08c95b;--wp-line:#25262c;--wp-side:clamp(16px,3.8vw,72px)}

html.dark,html.dark body.gp-body,body.gp-body{background:var(--wp-bg)!important;color:var(--wp-fg);font-family:'WebPhim Inter',Inter,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:14px;line-height:1.5}

body.gp-body{overflow-x:clip}

body.gp-body .gp-page{min-height:55vh;flex:1;padding:0!important;max-width:100%;background:var(--wp-bg)}

body.gp-body a{text-decoration:none}

.wp-shell{width:calc(100% - var(--wp-side)*2);margin-inline:auto;max-width:1820px;min-width:0}

:focus-visible{outline:2px solid #11d763;outline-offset:3px}

/* slim, sticky header */
body .wp-header.pc-header{display:block!important;position:sticky!important;top:0!important;left:0!important;z-index:800!important;width:100%!important;max-width:100%!important;height:80px!important;margin:0!important;padding:0!important;background:rgba(8,9,13,.98)!important;box-shadow:0 1px 0 rgba(255,255,255,.025)!important;backdrop-filter:blur(14px)!important;overflow:visible!important}

.wp-header-inner{height:100%;display:flex;align-items:center;gap:clamp(24px,3vw,54px)}

.wp-header .wp-logo,.wp-mobile-menu-inner .wp-logo{display:inline-flex;flex:0 0 auto;gap:9px;align-items:center;font-size:18px!important;font-weight:750;color:#fafafa!important;letter-spacing:-.055em;white-space:nowrap}

.wp-logo-word>span{color:var(--wp-green)}
.wp-logo-symbol{display:inline-flex;align-items:center}
.wp-logo-symbol svg{width:31px;height:31px}

.wp-main-nav{flex:1;min-width:0;height:100%}
.wp-main-nav ul{display:flex;align-items:center;gap:clamp(18px,2vw,36px);height:100%;list-style:none;margin:0;padding:0}
.wp-main-nav a{display:inline-flex;align-items:center;height:100%;white-space:nowrap;color:#e9e9ec!important;font-size:14px;font-weight:520;transition:color .18s}
.wp-main-nav a:hover,.wp-main-nav a[aria-current=page]{color:var(--wp-green)!important}

.wp-header-actions{display:flex;align-items:center;gap:17px;margin-left:auto}
.wp-header-search{position:relative;width:270px;height:37px;display:flex;align-items:center;border-radius:6px;background:#34353a;border:1px solid #3b3c43;overflow:hidden}
.wp-header-search input{min-width:0;flex:1;max-width:100%;width:100%;height:100%;padding:0 10px 0 12px;background:transparent;border:0!important;outline:0!important;box-shadow:none!important;color:#fff!important;font-size:13px}
.wp-header-search input::placeholder{color:#8f9098}
.wp-header-search button{width:38px;height:36px;display:grid;place-items:center;padding:0;background:transparent;border:0;color:#c1c2c9;cursor:pointer}
.wp-header-search button:hover{color:#fff}

.wp-notification-link,.wp-login-link,.wp-search-mobile{display:inline-grid;place-items:center;width:29px;height:35px;padding:0;border:0;background:none;color:#c5c5ce!important}
.wp-notification-link:hover,.wp-login-link:hover,.wp-search-mobile:hover{color:var(--wp-green)!important}
.wp-search-mobile,.wp-menu-toggle{display:none!important}
.wp-account-menu{position:relative}
.wp-account-menu summary{cursor:pointer;list-style:none;width:30px;height:30px;border-radius:50%;overflow:hidden;display:block}
.wp-account-menu summary::-webkit-details-marker{display:none}
.wp-account-menu summary img{width:30px;height:30px;object-fit:cover;border-radius:50%}
.wp-account-links{position:absolute;right:0;top:42px;z-index:30;width:178px;background:#24252b;padding:8px;border:1px solid #36383f;box-shadow:0 15px 30px #0008;border-radius:8px}
.wp-account-links a{display:block;padding:9px 12px;color:#e3e3e6!important;font-size:13px;border-radius:4px}
.wp-account-links a:hover{background:#34363b;color:#fff!important}

.wp-mobile-menu-inner{padding:20px 24px}
.wp-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.wp-mobile-menu-head button{border:0;background:none;color:#fff;font-size:30px;cursor:pointer}
.gp-mobile-nav{background:#0e0f13!important}

.gp-search-overlay{background:rgba(8,9,13,.92)!important}
.gp-search-overlay .gp-search-modal{max-width:790px}

/* featured hero, full-bleed like the visual reference */
.wp-home{background:var(--wp-bg);min-width:0}
.wp-hero.pc-hero{position:relative;width:100%;height:clamp(425px,39vw,705px);padding:0!important;margin:0!important;background:#0c1013;overflow:hidden}
.wp-hero .wp-hero-stage{position:relative!important;width:100%;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden}
.wp-hero .pc-hero-slide{display:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;overflow:hidden!important;opacity:0;transition:opacity .65s ease}
.wp-hero .pc-hero-slide.active{display:block!important;opacity:1!important;z-index:2}
.wp-hero-slide .wp-hero-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 30%;filter:brightness(.78)}
.wp-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,14,18,.95) 0%,rgba(13,14,18,.86) 25%,rgba(13,14,18,.42) 57%,rgba(13,14,18,.16) 100%),linear-gradient(0deg,var(--wp-bg) 0%,transparent 38%,rgba(10,11,14,.18) 100%);pointer-events:none}
.wp-hero-content{position:relative;height:100%;z-index:2;display:flex;align-items:flex-start;padding-top:clamp(48px,4vw,92px)}
.wp-hero-copy{width:min(850px,70%)}
.wp-hero-title{font-size:clamp(34px,3.25vw,61px);line-height:1.06;letter-spacing:-.041em;font-weight:800;color:#f0f0f2;margin:0 0 16px!important;text-shadow:0 2px 10px #0005}
.wp-hero-title a{color:inherit!important}
.wp-hero-title a:hover{color:#fff!important}
.wp-hero-labels{display:flex;gap:5px;margin-bottom:10px}
.wp-hero-labels>span{font-size:11px;line-height:18px;font-weight:750;padding:1px 8px;border-radius:2px;color:#fff}
.wp-hero-top{background:#e06030}
.wp-hero-quality{background:#05ad57}
.wp-hero-details{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#f1f2f3;font-size:12px}
.wp-hero-details>span:not(:first-child){position:relative}
.wp-hero-details>span+span:before{content:'';display:inline-block;height:10px;width:1px;margin-right:10px;background:#92949d}
.wp-hero-details .wp-rating{color:#16dd73;font-weight:700}
.wp-hero-desc{font-size:13px;line-height:1.55;max-width:470px;color:#dedee1;margin:16px 0 18px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wp-hero-cta{display:inline-flex;align-items:center;gap:7px;font-weight:700;color:#fff!important;font-size:12px;border-bottom:1px solid #bbb;padding-bottom:6px;transition:color .15s}
.wp-hero-cta:hover{color:var(--wp-green)!important}
.wp-hero .wp-hero-dots{position:absolute!important;right:var(--wp-side)!important;bottom:36px!important;left:auto!important;z-index:6!important;display:flex!important;align-items:center;gap:8px}
.wp-hero-dots button{width:12px!important;height:4px!important;min-width:0!important;border:0!important;border-radius:1px!important;background:#6c6c73!important;opacity:.7!important;margin:0!important;padding:0!important}
.wp-hero-dots button.active{width:22px!important;background:#fff!important;opacity:1!important}
.wp-hero .wp-hero-arrows{position:absolute;z-index:6;right:var(--wp-side);top:48%;left:auto;display:flex;gap:8px;opacity:0;transition:opacity .2s}
.wp-hero:hover .wp-hero-arrows{opacity:1}
.wp-hero-arrows button{width:33px;height:42px;background:#111a!important;border:1px solid #fff4!important;color:#fff!important;font-size:27px;border-radius:2px;line-height:1;cursor:pointer}

/* homepage content sections */
.wp-home-sections{position:relative;z-index:4;margin-top:-52px;padding-bottom:45px}
.wp-home-nohero{margin-top:26px}
.wp-section{margin:0 0 30px;padding:0;min-width:0}
.wp-section-title{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.wp-section-title h2{margin:0!important;font-size:20px!important;line-height:1.4;font-weight:750;color:#ecedf1;letter-spacing:-.02em}
.wp-section-title a{display:grid;place-items:center;color:#e5e6eb!important;font-size:28px;line-height:20px;height:24px;width:26px;transition:transform .18s,color .18s}
.wp-section-title a:hover{color:var(--wp-green)!important;transform:translateX(3px)}
.wp-section-frame{position:relative;min-width:0}
.wp-section-items{min-width:0}
.wp-section-track{overflow-x:auto;overflow-y:hidden;display:grid;grid-auto-flow:column;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}
.wp-section-track::-webkit-scrollbar{display:none}
.wp-section-wide-items{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 6*16px)/7);gap:16px}
.wp-section-rail .wp-poster-grid{grid-auto-columns:calc((100% - 6*16px)/7);gap:16px}
.wp-section-grid .wp-poster-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px 18px}
.wp-rail-next{position:absolute;right:-17px;top:32%;z-index:5;display:flex;align-items:center;justify-content:center;width:40px;height:56px;border:0;border-radius:4px;background:rgba(20,21,26,.8);color:#dedee1;font-size:36px;cursor:pointer;box-shadow:0 2px 12px #0009}
.wp-rail-next:hover{color:#fff;background:#26282e}

.wp-wide-card{min-width:0;scroll-snap-align:start}
.wp-wide-card>a{position:relative;display:block;aspect-ratio:1.95/1;overflow:hidden;background:#23262e;border-radius:5px;color:#fff}
.wp-wide-card img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .25s}
.wp-wide-card:hover img{transform:scale(1.055)}
.wp-wide-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.54),transparent 57%)}
.wp-wide-episode{position:absolute;bottom:5px;right:7px;font-size:11px;color:#f3f3f5;text-shadow:0 1px 3px #000}
.wp-wide-play{position:absolute;inset:0;margin:auto;width:46px;height:46px;background:var(--wp-green);display:grid;place-items:center;color:#fff;border-radius:50%;font-size:18px;padding-left:3px;opacity:0;transform:scale(.82);transition:opacity .2s,transform .2s}
.wp-wide-card:hover .wp-wide-play{opacity:1;transform:scale(1)}
.wp-wide-card h3{margin:6px 0 0!important;font-size:13px;line-height:1.4;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e9e9ed}
.wp-wide-card h3 a{color:inherit!important}
.wp-wide-card h3 a:hover{color:var(--wp-green)!important}

/* standard poster, all lists/details/search shares it */
.gp-movie-card.wp-card{position:relative!important;display:block!important;overflow:visible!important;min-width:0!important;margin:0!important;background:none!important;box-shadow:none!important;scroll-snap-align:start}

.wp-card .wp-card-image{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:0.70!important;overflow:hidden!important;background:#2b2d34!important;border-radius:5px!important;cursor:pointer;border:0!important;box-shadow:none!important;transform:none!important}

.wp-card .wp-card-image:before,.wp-card .wp-card-image:after{display:none!important}
.wp-card .wp-card-image img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important;display:block!important;transform:none!important;transition:transform .3s ease,filter .25s}
.wp-card:hover .wp-card-image img{transform:scale(1.045)!important;filter:brightness(.86)}

.wp-card-gradient{position:absolute;inset:50% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.56),transparent);pointer-events:none}
.wp-card-placeholder{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;color:#777b85;font-size:15px;font-weight:750}
.wp-card .wp-card-badge{position:absolute!important;bottom:6px!important;right:7px!important;top:auto!important;left:auto!important;z-index:3!important;color:#f0f0f3!important;background:none!important;border:0!important;padding:0!important;font-size:12px!important;font-weight:450!important;line-height:1!important;letter-spacing:-.01em;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 5px #000}
.wp-card-badge strong{font-weight:700}
.wp-card .wp-card-hover-icon{position:absolute!important;z-index:5!important;inset:0!important;margin:auto!important;left:0!important;top:0!important;right:0!important;bottom:0!important;width:65px!important;height:65px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:var(--wp-green)!important;color:#fff!important;box-shadow:0 8px 25px #0006!important;opacity:0!important;visibility:visible!important;transform:scale(.8)!important;transition:opacity .22s ease,transform .22s ease!important}
.wp-card:hover .wp-card-hover-icon,.wp-card:focus-within .wp-card-hover-icon{opacity:1!important;transform:scale(1)!important}
.wp-card .wp-card-hover-icon svg{width:26px;height:26px}
.wp-card-episode{position:absolute;z-index:2;top:7px;left:6px;padding:3px 6px;color:#fff;background:rgba(0,0,0,.5);border-radius:3px;font-size:10px;font-weight:600;line-height:1.2}
.wp-card-title{font-size:13px!important;font-weight:480!important;line-height:1.45!important;letter-spacing:-.005em!important;margin:7px 0 0!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#e0e1e5!important}
.wp-card-title a{color:inherit!important}
.wp-card-title a:hover{color:var(--wp-green)!important}

/* catalog/list, maintain the existing filtering machinery behind a small expandable control */
.pc-catalog-page{background:var(--wp-bg)!important;color:#dedee2!important;min-height:55vh}
.pc-catalog-page .pc-catalog-container{width:calc(100% - var(--wp-side)*2)!important;max-width:1820px!important;margin-inline:auto!important;padding:25px 0 45px!important}
.pc-catalog-page .pc-catalog-head{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 16px!important;padding:0!important}
.pc-catalog-head h1{font-size:21px!important;color:#e6e6eb!important;font-weight:730!important;margin:0!important;letter-spacing:-.02em}
.pc-catalog-page .pc-catalog-grid,.gp-movie-grid:not(.wp-section-items){display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:21px 17px!important}
.pc-catalog-page .pc-catalog-grid{width:100%!important;max-width:none!important}
.pc-catalog-page .pc-catalog-filters{display:none!important;order:3;flex:1 0 100%;margin:4px 0 6px!important;padding:10px!important;border-radius:7px!important;background:#1b1c21!important}
.pc-catalog-page .pc-catalog-head.wp-filter-open .pc-catalog-filters{display:flex!important}
.wp-filter-toggle{display:inline-flex;align-items:center;gap:6px;background:#28292f;border:1px solid #3e3f46;padding:7px 11px;color:#e0e1e5;border-radius:5px;font-size:12px;cursor:pointer;white-space:nowrap}
.wp-filter-toggle:hover{border-color:#85868f}
.wp-filter-toggle[aria-expanded=true]{color:var(--wp-green)}
.pc-catalog-page .pc-catalog-pagination{display:flex!important;justify-content:center!important;align-items:center!important;gap:0!important;min-height:46px;margin:33px 0 5px!important;border:0!important}
.pc-catalog-pagination .pc-page-pill,.pc-catalog-pagination .wp-page-ellipsis{display:grid!important;place-items:center!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0 10px!important;background:#33343a!important;border:1px solid #484950!important;border-radius:0!important;color:#e5e5e7!important;font-size:13px!important;font-weight:550!important}
.pc-catalog-pagination .pc-page-pill:hover{background:#45474d!important}
.pc-catalog-pagination .pc-page-pill.is-current{background:#55565e!important;color:#fff!important}
.pc-catalog-pagination .wp-page-ellipsis{color:#94959e}
.pc-catalog-pagination .pc-page-pill:first-child{border-radius:3px 0 0 3px!important}
.pc-catalog-pagination .pc-page-pill:last-child{border-radius:0 3px 3px 0!important}

/* immersive details page */
.pc-detail-page.wp-detail-page{background:var(--wp-bg)!important;color:#dbdde2!important;min-height:65vh}
.wp-detail-hero{position:relative;min-height:620px;overflow:hidden;background:#111317}
.wp-detail-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 37%;filter:brightness(.76)}
.wp-detail-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111216 0%,rgba(17,18,22,.97) 17%,rgba(17,18,22,.64) 48%,rgba(17,18,22,.05) 100%),linear-gradient(0deg,#111216 0%,transparent 40%,rgba(17,18,22,.1) 100%)}
.wp-detail-hero-inner{position:relative;z-index:2;padding-top:100px;padding-bottom:48px}
.wp-detail-copy{width:min(670px,53%);min-width:0}
.wp-detail-copy h1{font-size:clamp(32px,2.95vw,56px);line-height:1.06;font-weight:820;letter-spacing:-.036em;color:#f8f8fa;margin:0 0 9px!important}
.wp-detail-original{font-size:14px;line-height:1.4;color:#c6c6cc;margin:0 0 12px!important}
.wp-detail-status{display:flex;align-items:center;gap:11px;margin:12px 0 7px}
.wp-detail-status>span{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:650}
.wp-detail-year{color:#fff}
.wp-detail-year:first-letter{background:#e25e23}
.wp-detail-year b{font-weight:500}
.wp-detail-state{background:#05ac56;color:#fff;padding:2px 8px;border-radius:2px}
.wp-detail-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px;color:#efeff1;margin-bottom:10px}
.wp-detail-meta>span+span::before{content:'';height:11px;width:1px;display:inline-block;background:#8e909a;margin-right:10px}
.wp-detail-meta .wp-rating{color:var(--wp-green);font-weight:700}
.wp-detail-stars{min-width:230px;max-width:410px;display:flex;gap:16px;align-items:center;padding:10px 13px;border-radius:3px;background:rgba(53,54,60,.82);margin:8px 0 14px}
.wp-detail-stars>span{color:#ffbc2c;font-size:23px;letter-spacing:2px;line-height:1}
.wp-detail-stars small{color:#ededf0;font-size:12px}
.wp-detail-fact{margin:6px 0!important;font-size:13px;color:#e0e0e3;line-height:1.5}
.wp-detail-fact strong{color:#b7b7be;font-weight:750}
.wp-detail-summary{margin-top:12px;color:#dddde1}
.wp-detail-summary>strong{display:block;font-size:13px;color:#b7b8c0;font-weight:700}
.wp-detail-summary p{font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0!important;color:#d1d1d6}
.wp-detail-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:22px}
.wp-detail-actions .wp-watch-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:var(--wp-green);border:1px solid var(--wp-green);border-radius:5px;padding:10px 16px;color:#fff!important;font-size:14px;font-weight:750}
.wp-detail-actions .wp-watch-button:hover{background:#0baf53}
.wp-detail-actions .wp-detail-action-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 12px;border:1px solid #565860;border-radius:5px;background:#1c1e25b8;color:#e9e9ee!important;font-size:12px;cursor:pointer}
.wp-detail-actions .wp-detail-action-secondary:hover{border-color:#eee}
.wp-detail-lower{padding:20px 0 4px}
.wp-detail-page .pc-detail-tabs{height:auto!important;display:flex!important;gap:24px!important;margin:0 0 14px!important;align-items:center!important;border-bottom:1px solid #26272c!important}
.wp-detail-page .pc-detail-tabs .pc-detail-tab{height:42px!important;padding:0 0 10px!important;color:#b6b6c0!important;font-size:13px!important;font-weight:650!important}
.wp-detail-page .pc-detail-tabs .pc-detail-tab.is-active{color:var(--wp-green)!important}
.wp-detail-page .pc-detail-tabs .pc-detail-tab.is-active:after{background:var(--wp-green)!important}
.wp-detail-page .pc-detail-tabbody{padding:10px 0 20px!important;min-height:0}
.wp-detail-page .pc-detail-description{max-width:910px!important;font-size:14px!important;line-height:1.75!important;color:#babdc6!important}
.wp-detail-page .pc-detail-info{display:flex!important;flex-wrap:wrap!important;gap:12px 35px!important;margin:10px 0 12px!important}
.wp-detail-page .pc-detail-info-row{display:flex!important;gap:7px!important;font-size:13px!important}
.wp-detail-page .pc-detail-info-row span{color:#a9aab1!important}
.wp-detail-page .pc-detail-info-row strong,.wp-detail-page .pc-detail-info-row a{color:#e2e3e7!important}
.wp-detail-page .pc-detail-tags{margin-top:12px}
.wp-detail-page .pc-detail-tags a{background:#2c2e34!important;color:#cbccd2!important}
.wp-detail-page .pc-detail-recommended{width:calc(100% - var(--wp-side)*2)!important;max-width:1820px!important;margin:20px auto 44px!important;padding:0!important}
.wp-detail-page .pc-detail-recommended h2{font-size:20px!important;font-weight:730!important;color:#cfd0d6!important;margin:0 0 14px!important}
.wp-detail-page .pc-detail-recommended-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:16px!important}
.wp-detail-page .pc-detail-recommended .gp-movie-card:nth-child(n+8){display:none!important}
.wp-detail-page .pc-detail-episode-card,.wp-detail-page .pc-detail-cast{color:#ddd!important}
.wp-detail-page .pc-detail-episode-info strong{color:#ececec!important}

/* watch: preserve player engine, server switching, episodes, reactions and comments */
body .pc-watch-page{width:calc(100% - var(--wp-side)*2)!important;max-width:1820px!important;margin:10px auto 0!important;padding:0 0 12px!important;color:#d6d7dd!important;background:var(--wp-bg)!important}
.pc-watch-page .pc-watch-player{margin:0 0 20px!important}
.pc-watch-page .app-detail-embed{background:#000!important;border:0!important;border-radius:4px!important}
.pc-watch-page .app-detail-embed .embed-play,.pc-watch-page .app-detail-embed .embed-code{border-radius:4px!important}
.pc-watch-page .app-detail-embed .embed-cover{background-image:none!important;background-color:#000!important}
.pc-watch-page .app-detail-embed .doi-server{display:none!important}
.pc-watch-page .app-detail-embed .play-btn{color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important}
.pc-watch-page .app-detail-embed .play-btn:before{border-left-color:#fff!important}
.pc-watch-page .detail-header{display:flex!important;align-items:flex-start!important;flex-direction:column!important;background:transparent!important;margin:10px 0 18px!important;gap:6px!important}
.pc-watch-page .detail-header:before{content:'◉  Chọn Server'!important;color:#a5a7b2!important;font-size:13px!important;margin-bottom:8px!important}
.pc-watch-page .btn-service{min-height:36px!important;min-width:95px!important;height:auto!important;padding:6px 15px!important;border:1px solid #343740!important;border-radius:4px!important;background:#1b1d23!important;color:#d8d9df!important;font-size:12px!important}
.pc-watch-page .btn-service.selected,.pc-watch-page .btn-service:hover{background:#1b3a27!important;border-color:var(--wp-green)!important;color:var(--wp-green)!important}
.pc-watch-page .btn-service:before{color:var(--wp-green)!important}
.pc-watch-page .pc-watch-info-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:0 0 24px!important}
.pc-watch-page .pc-watch-poster-col{display:none!important}
.pc-watch-page .pc-watch-content{padding:0!important;max-width:none!important;width:100%!important}
.pc-watch-page .pc-watch-kicker{color:#afb2bb!important;margin-bottom:4px!important}
.pc-watch-page .pc-watch-title{font-size:23px!important;font-weight:750!important;letter-spacing:-.02em!important;color:#e8e8eb!important}
.pc-watch-page .pc-watch-title span{font-size:15px!important;color:#b4b4bd!important}
.pc-watch-page .pc-watch-meta{font-size:12px!important;color:#999ba5!important;margin-top:8px!important}
.pc-watch-page .pc-watch-action-row{margin:9px 0 13px!important;gap:14px!important;min-height:36px!important}
.pc-watch-page .pc-watch-score{color:var(--wp-green)!important}
.pc-watch-page .pc-watch-score svg .progress{stroke:var(--wp-green)!important}
.pc-watch-page .pc-watch-icon,.pc-watch-page .pc-watch-like{background:#24262c!important;border-radius:4px!important;color:#d0d1d6!important}
.pc-watch-page .pc-watch-facts{display:flex!important;gap:10px 26px!important;flex-wrap:wrap!important;max-width:100%!important;margin:8px 0 16px!important}
.pc-watch-page .pc-watch-facts>div{display:flex!important;gap:6px!important;font-size:13px!important}
.pc-watch-page .pc-watch-facts span{color:#9c9da7!important}
.pc-watch-page .pc-watch-tags{display:none!important}
.pc-watch-page .pc-watch-season-box{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;position:static!important;background:transparent!important;border:0!important;padding:8px 0 15px!important;grid-row:auto!important}
.pc-watch-page .pc-watch-season-head{border:0!important;padding:0 0 10px!important;margin:0!important}
.pc-watch-page .pc-watch-episode-scroll{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px!important;height:auto!important;max-height:260px!important;overflow:auto!important;padding:0!important}
.pc-watch-page .pc-watch-episode-row{min-width:0!important;min-height:38px!important;padding:6px 8px!important;background:#07080d!important;border:1px solid #31333a!important;border-radius:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#b6b8c1!important}
.pc-watch-page .pc-watch-episode-row strong{font-size:12px!important;font-weight:600!important;white-space:nowrap!important}
.pc-watch-page .pc-watch-episode-row span{display:none!important}
.pc-watch-page .pc-watch-episode-row.is-active,.pc-watch-page .pc-watch-episode-row:hover{color:var(--wp-green)!important;border-color:var(--wp-green)!important}
.pc-watch-page .pc-watch-goto{display:none!important}
.pc-watch-page .pc-watch-ad-spacer{height:12px!important;min-height:0!important}
.pc-watch-page .pc-watch-comment-head{margin:16px 0 9px!important}
.pc-watch-page .pc-watch-comment-sort button.is-active{color:var(--wp-green)!important}

.pc-watch-recommended.pc-watch-recommended--full{width:calc(100% - var(--wp-side)*2)!important;max-width:1820px!important;margin:0 auto 35px!important;padding:0!important;color:#e4e4e7!important}
.pc-watch-recommended h2{margin:0 0 15px!important;font-size:20px!important;font-weight:720!important}
.pc-watch-recommended .pc-watch-recommended-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:16px!important}
.pc-watch-recommended .gp-movie-card:nth-child(n+8){display:none!important}

/* text pages, blogs, search, profiles remain functional with the new palette */
.pc-static-page{background:var(--wp-bg)!important;max-width:none!important;padding:25px var(--wp-side) 65px!important;color:#d9d9df!important}
.pc-static-page-inner{max-width:100%!important;margin:0 auto!important;padding:0!important}
.pc-static-page h1{color:#f2f2f4!important;font-size:23px!important}
.pc-static-page .pc-static-content{background:transparent!important;color:#cacbd1!important;line-height:1.75}
.pc-static-page .pc-static-content h2,.pc-static-page .pc-static-content h3{color:#e6e6e9!important}

body.gp-body .gp-movie-grid:not(.wp-section-items)>.gp-movie-card{min-width:0}

/* lower footer */
.wp-footer{background:#090a0e;border-top:1px solid var(--wp-line);padding:38px 0 23px;color:#a4a5af;font-size:12px}
.wp-footer-intro h2{font-size:20px;font-weight:750;text-align:center;color:#f0f0f2;margin:0 0 -1px;line-height:1.4}
.wp-footer-outline{border:2px solid #f05a18;border-radius:8px;padding:20px 25px;margin:0;text-align:center}
.wp-footer-outline p{margin:0 0 6px;color:#d4d4d9;font-size:13px;line-height:1.55}
.wp-footer-outline p:last-child{margin-bottom:0}
.wp-footer-outline strong{color:var(--wp-green)}
.wp-footer-device-links{display:flex;justify-content:space-evenly;gap:20px;padding:20px 15px}
.wp-footer-device-links span{background:#292a30;color:#cbccd2;display:inline-flex;align-items:center;justify-content:center;min-width:140px;padding:6px 17px;border-radius:3px;font-size:12px}
.wp-footer-bottom{border-top:1px solid #313239;padding-top:18px;color:#81838e}
.wp-footer-nav{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:10px}
.wp-footer-nav a{color:#b5b6bd!important}
.wp-footer-nav a:hover{color:var(--wp-green)!important}
.wp-footer-bottom p{margin:4px 0;font-size:11px;color:#6f727e}

/* responsive geometry */
@media(min-width:1850px){.wp-hero.pc-hero{height:720px}
.wp-hero-content{padding-top:100px}
}

@media(max-width:1400px){.wp-main-nav ul{gap:20px}
.wp-header-inner{gap:26px}
.wp-header-search{width:205px}
.wp-section-wide-items{grid-auto-columns:calc((100% - 5*14px)/6);gap:14px}
.wp-section-rail .wp-poster-grid{grid-auto-columns:calc((100% - 5*14px)/6);gap:14px}
.wp-section-grid .wp-poster-grid,.pc-catalog-page .pc-catalog-grid,.gp-movie-grid:not(.wp-section-items),.wp-detail-page .pc-detail-recommended-grid,.pc-watch-recommended .pc-watch-recommended-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.pc-watch-page .pc-watch-episode-scroll{grid-template-columns:repeat(10,minmax(0,1fr))}
}

@media(max-width:1090px){:root{--wp-side:24px}
.wp-main-nav ul{gap:14px}
.wp-main-nav a{font-size:12px}
.wp-header-search{width:166px}
.wp-logo-word{font-size:16px}
.wp-hero-copy{width:80%}
.wp-section-wide-items{grid-auto-columns:calc((100% - 3*14px)/4)}
.wp-section-rail .wp-poster-grid{grid-auto-columns:calc((100% - 3*14px)/4)}
.wp-section-grid .wp-poster-grid,.pc-catalog-page .pc-catalog-grid,.gp-movie-grid:not(.wp-section-items),.wp-detail-page .pc-detail-recommended-grid,.pc-watch-recommended .pc-watch-recommended-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.wp-detail-copy{width:min(620px,67%)}
.pc-watch-page .pc-watch-episode-scroll{grid-template-columns:repeat(8,minmax(0,1fr))}
}

@media(max-width:760px){:root{--wp-side:16px}
body .wp-header.pc-header{height:61px!important}
.wp-header-inner{gap:14px}
.wp-menu-toggle{display:inline-grid!important;place-items:center;background:none;border:0;color:#fff;height:38px;width:25px;padding:0}
.wp-main-nav{display:none!important}
.wp-header-search{display:none!important}
.wp-search-mobile{display:grid!important}
.wp-header-actions{gap:8px}
.wp-logo-word{font-size:17px}
.wp-logo-symbol svg{width:27px;height:27px}
.wp-hero.pc-hero{height:495px}
.wp-hero .wp-hero-image{object-position:60% 25%}
.wp-hero-overlay{background:linear-gradient(90deg,rgba(14,15,19,.92),rgba(14,15,19,.65) 55%,rgba(14,15,19,.15)),linear-gradient(0deg,var(--wp-bg) 0%,transparent 55%)}
.wp-hero-content{padding-top:62px}
.wp-hero-copy{width:100%;max-width:550px}
.wp-hero-title{font-size:35px;line-height:1.12}
.wp-hero-desc{max-width:450px;font-size:12px}
.wp-home-sections{margin-top:-30px}
.wp-section-title h2{font-size:18px!important}
.wp-section{margin-bottom:25px}
.wp-section-wide-items{grid-auto-columns:calc((100% - 14px)/2);gap:14px}
.wp-section-rail .wp-poster-grid{grid-auto-columns:calc((100% - 28px)/3);gap:14px}
.wp-section-grid .wp-poster-grid,.pc-catalog-page .pc-catalog-grid,.gp-movie-grid:not(.wp-section-items),.wp-detail-page .pc-detail-recommended-grid,.pc-watch-recommended .pc-watch-recommended-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.wp-card-title{font-size:12px!important}
.wp-card .wp-card-badge{font-size:10px!important}
.wp-card .wp-card-hover-icon{width:52px!important;height:52px!important}
.wp-wide-card h3{font-size:12px}
.wp-detail-hero{min-height:620px}
.wp-detail-shade{background:linear-gradient(90deg,rgba(17,18,22,.92),rgba(17,18,22,.5)),linear-gradient(0deg,var(--wp-bg),transparent 60%)}
.wp-detail-hero-inner{padding-top:70px}
.wp-detail-copy{width:100%;max-width:620px}
.wp-detail-copy h1{font-size:32px}
.wp-detail-meta,.wp-detail-fact{font-size:12px}
.wp-detail-page .pc-detail-tabs{gap:17px!important}
.wp-detail-page .pc-detail-tabs .pc-detail-tab{font-size:12px!important}
.pc-watch-page .pc-watch-episode-scroll{grid-template-columns:repeat(6,minmax(0,1fr))}
.wp-footer-device-links span{min-width:0;flex:1}
.wp-footer-outline{padding:14px}
.wp-footer-outline p{font-size:12px}
.wp-footer-intro h2{font-size:15px}
}

@media(max-width:460px){.wp-header-actions .wp-login-link,.wp-header-actions .wp-notification-link{display:none}
.wp-hero.pc-hero{height:465px}
.wp-hero-content{padding-top:68px}
.wp-hero-title{font-size:29px}
.wp-hero-details{font-size:11px}
.wp-hero-cta{display:none}
.wp-section-wide-items{grid-auto-columns:calc((100% - 12px)/2);gap:12px}
.wp-section-rail .wp-poster-grid{grid-auto-columns:calc((100% - 12px)/2);gap:12px}
.wp-section-grid .wp-poster-grid,.pc-catalog-page .pc-catalog-grid,.gp-movie-grid:not(.wp-section-items),.wp-detail-page .pc-detail-recommended-grid,.pc-watch-recommended .pc-watch-recommended-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.wp-rail-next{right:0;width:25px;height:44px;font-size:25px}
.wp-detail-hero-inner{padding-top:45px}
.wp-detail-hero{min-height:660px}
.wp-detail-copy h1{font-size:28px}
.wp-detail-stars{padding:9px 11px}
.wp-detail-stars>span{font-size:19px}
.wp-detail-summary p{font-size:12px}
.wp-detail-actions{gap:5px}
.wp-detail-actions .wp-detail-action-secondary{padding:8px;font-size:11px}
.wp-detail-page .pc-detail-tabs{gap:12px!important}
.wp-detail-page .pc-detail-tabs .pc-detail-tab{font-size:11px!important}
.pc-watch-page .pc-watch-title{font-size:20px!important}
.pc-watch-page .pc-watch-episode-scroll{grid-template-columns:repeat(4,minmax(0,1fr))}
.pc-catalog-pagination .pc-page-pill,.pc-catalog-pagination .wp-page-ellipsis{min-width:34px!important;height:38px!important;padding:0 6px!important}
.wp-footer-device-links{gap:8px}
.wp-footer-device-links span{font-size:10px;padding:6px}
}

@media(prefers-reduced-motion:reduce){.wp-section-track{scroll-behavior:auto}
.wp-card .wp-card-image img,.wp-card .wp-card-hover-icon,.wp-hero .pc-hero-slide{transition:none}
}

/* Detail-page structure: as in the reference, comments and suggestions come straight after the backdrop. */
@media(min-width:768px){body .wp-header.pc-header{height:64px!important}
.wp-detail-hero{min-height:clamp(480px,42vw,635px)}
.wp-detail-hero-inner{padding-top:clamp(70px,7vw,105px)}
}

.wp-detail-primary-comments{padding-top:5px;padding-bottom:3px;color:#c9cad2}

.wp-detail-primary-comments>h2{margin:0 0 13px;font-size:20px;font-weight:720;color:#b7bac3}

.wp-detail-primary-comments .pc-watch-comments{background:transparent!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}

.wp-detail-primary-comments .pc-watch-comment-head{margin:0 0 13px!important}

.wp-detail-primary-comments .pc-wc-notice{font-size:13px;color:#a3a5af}

.wp-detail-page .pc-detail-recommended{margin-top:12px!important;margin-bottom:28px!important}

.wp-detail-more{border-top:1px solid #25262d;padding:15px 0 20px;margin-bottom:26px}

.wp-detail-more>summary{color:#adb0b9;font-weight:650;cursor:pointer;list-style:initial;font-size:13px}

.wp-detail-more>summary:hover{color:var(--wp-green)}

.wp-detail-more .wp-detail-lower{margin-top:14px}

.wp-detail-stars>span{font-size:18px;letter-spacing:1px}


@media(min-width:1401px){.wp-header-search{width:230px}
}


/* Admin-uploaded image logos remain supported in the new header. */
.wp-header .wp-site-logo,.wp-mobile-menu-inner .wp-site-logo{display:block;width:auto;height:32px;max-width:185px;object-fit:contain}
