/* ============================================================
   THEME MOTCHILL — nền đen, điểm nhấn cam (kiểu motchill)
   Load sau custom.css. Mọi rule khóa trong body.mc-theme.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{
  --mc-bg:#060606; --mc-panel:#0d0d0f; --mc-panel2:#141416; --mc-line:#232326;
  --mc-txt:#f5f5f4; --mc-mut:#a8a29e; --mc-acc:#f59e0b; --mc-acc2:#ff8a00;
  --mc-acc-soft:rgba(245,158,11,.14); --mc-r:10px;
}
body.mc-theme{background:var(--mc-bg)!important;color:var(--mc-txt);font-family:'Be Vietnam Pro','Roboto Condensed',Arial,sans-serif!important;font-size:16px;}
body.mc-theme h1,body.mc-theme h2,body.mc-theme h3,body.mc-theme h4,body.mc-theme h5,body.mc-theme h6,
body.mc-theme p,body.mc-theme a,body.mc-theme span,body.mc-theme div,body.mc-theme li,
body.mc-theme label,body.mc-theme button,body.mc-theme input,body.mc-theme select,body.mc-theme textarea{font-family:inherit;}
body.mc-theme .mc-logo-txt,body.mc-theme .mc-sec-title,body.mc-theme .mc-page-t,body.mc-theme .mc-widget-t,
body.mc-theme .tph-title,body.mc-theme .mc-card-l.big .mc-cap .mc-name{font-family:'Be Vietnam Pro','Be Vietnam Pro',Arial,sans-serif;letter-spacing:.2px;}
body.mc-theme a{color:var(--mc-txt);}
body.mc-theme a:hover{color:var(--mc-acc);}
body.mc-theme ::selection{background:var(--mc-acc);color:#000;}
body.mc-theme::-webkit-scrollbar{width:10px;height:8px}
body.mc-theme::-webkit-scrollbar-thumb{background:#2c2c2e;border-radius:8px}
body.mc-theme::-webkit-scrollbar-track{background:#0a0a0a}
body.mc-theme #app{background:var(--mc-bg);}
body.mc-theme .container{max-width:1460px;}
body.mc-theme #body-load{background:var(--mc-bg);}

/* ---------- HEADER ---------- */
.mc-header{position:sticky;top:0;z-index:900;background:rgba(5,5,5,.92);backdrop-filter:blur(10px);border-bottom:1px solid #17171a;}
.mc-header-in{max-width:1460px;margin:0 auto;padding:0 16px;height:60px;display:flex;align-items:center;gap:22px;}
.mc-logo{display:flex;align-items:center;gap:7px;text-decoration:none;flex-shrink:0;}
.mc-logo img{height:36px;width:auto;max-width:170px;object-fit:contain;}
.mc-logo-txt{font-size:24px;font-weight:800;letter-spacing:-.5px;color:#fff;text-transform:lowercase;}
.mc-logo-badge{background:var(--mc-acc);color:#000;font-size:11px;font-weight:800;padding:2px 5px;border-radius:5px;line-height:1;transform:translateY(-6px);}
.mc-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0;}
.mc-nav>a,.mc-nav .mc-dd-btn{color:#e7e5e4;font-size:15.5px;font-weight:600;font-weight:500;padding:8px 10px;border-radius:8px;text-decoration:none;white-space:nowrap;background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:5px;}
.mc-nav>a:hover,.mc-nav .mc-dd-btn:hover{color:var(--mc-acc);}
.mc-dd-wrap{position:relative;}
.mc-dd-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:480px;max-width:640px;background:#101012;border:1px solid var(--mc-line);border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:2px 8px;box-shadow:0 18px 44px rgba(0,0,0,.65);z-index:950;}
.mc-dd-menu a{color:#d6d3d1;font-size:13.5px;padding:7px 9px;border-radius:7px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-dd-menu a:hover{background:var(--mc-acc-soft);color:var(--mc-acc);}
.mc-dd-menu.mc-dd-years{min-width:300px;grid-template-columns:repeat(3,1fr);}
.mc-search{margin-left:auto;position:relative;flex-shrink:0;}
.mc-search form{display:flex;align-items:center;background:#17171a;border:1px solid #26262a;border-radius:999px;padding:0 6px 0 14px;height:38px;width:250px;transition:border-color .2s,width .25s;}
.mc-search form:focus-within{border-color:var(--mc-acc);width:290px;}
.mc-search svg{color:#8a8a8f;flex-shrink:0;}
.mc-search input{flex:1;background:none;border:0;outline:0;color:#fff;font-size:14.5px;padding:0 8px;min-width:0;}
.mc-search input::placeholder{color:#71717a;}
.mc-search .search-suggest{position:absolute;top:calc(100% + 8px);left:auto;right:0;width:340px;background:#101012;border:1px solid var(--mc-line);border-radius:12px;max-height:400px;overflow:auto;box-shadow:0 18px 44px rgba(0,0,0,.65);z-index:960;}
.mc-search .sg-item{display:flex;gap:10px;align-items:center;padding:8px 10px;text-decoration:none;color:#fff;}
.mc-search .sg-item:hover{background:#1b1b1e;}
.mc-search .sg-item img{width:42px;height:58px;object-fit:cover;border-radius:5px;flex-shrink:0;}
.mc-search .sg-item .t{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-search .sg-item .o{font-size:12px;color:var(--mc-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-user{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.mc-login-btn{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:14px;font-weight:600;text-decoration:none;padding:8px 4px;}
.mc-login-btn svg{color:var(--mc-acc);}
.mc-login-btn:hover{color:var(--mc-acc);}
.mc-user-name{color:#fff;font-size:14px;font-weight:600;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-user-out{color:var(--mc-mut);font-size:13px;text-decoration:none;}
.mc-user-out:hover{color:var(--mc-acc);}
.mc-burger{display:none;background:none;border:0;color:#fff;padding:8px;cursor:pointer;}
.mc-burger span{display:block;width:22px;height:2px;background:#fff;margin:5px 0;border-radius:2px;}

/* mobile menu (tái dùng markup .rx-mmenu của theme gốc) */
body.mc-theme .rx-mmenu{background:#0b0b0d;border:1px solid var(--mc-line);}
body.mc-theme .rx-mmenu-item{background:#141416;color:#fff;}
body.mc-theme .rx-mmenu-member{background:var(--mc-acc);color:#000;}

/* ---------- KHUNG TRANG ---------- */
.mc-wrap{max-width:1460px;margin:0 auto;padding:6px 16px 30px;}
.mc-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start;}
.mc-aside{position:sticky;top:76px;display:flex;flex-direction:column;gap:26px;}

/* ---------- TIÊU ĐỀ KHỐI ---------- */
.mc-sec{margin-top:26px;}
.mc-sec-head{display:flex;align-items:center;gap:14px;margin-bottom:14px;flex-wrap:wrap;}
.mc-sec-title{font-size:21px;font-weight:800;text-transform:uppercase;letter-spacing:.2px;color:var(--mc-acc);border-bottom:2px solid var(--mc-acc);padding-bottom:5px;margin:0;}
.mc-sec-title.plain{color:#fff;border-bottom-color:var(--mc-acc);}
.mc-tabs{display:flex;gap:6px;flex-wrap:wrap;}
.mc-tabs a{font-size:13px;font-weight:500;color:#d6d3d1;background:#17171a;border:1px solid #232326;padding:6px 13px;border-radius:8px;text-decoration:none;}
.mc-tabs a:hover{border-color:var(--mc-acc);color:var(--mc-acc);}
.mc-tabs a.on{background:var(--mc-acc);border-color:var(--mc-acc);color:#000;font-weight:700;}
.mc-more{margin-left:auto;font-size:13.5px;color:#d6d3d1;text-decoration:none;display:inline-flex;align-items:center;gap:4px;}
.mc-more:hover{color:var(--mc-acc);}

/* ---------- CARD POSTER ---------- */
.mc-card-p{display:block;text-decoration:none;min-width:0;}
.mc-card-p .mc-thumb{position:relative;border-radius:var(--mc-r);overflow:hidden;aspect-ratio:2/3;background:#17171a;}
.mc-card-p .mc-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
.mc-card-p:hover .mc-thumb img{transform:scale(1.06);}
.mc-card-p .mc-name{font-size:15px;font-weight:600;color:#fff;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-card-p .mc-origin{font-size:12.5px;color:var(--mc-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-card-p:hover .mc-name{color:var(--mc-acc);}
/* huy hiệu */
.mc-b{position:absolute;font-size:11px;font-weight:700;line-height:1;padding:5px 8px;border-radius:6px;white-space:nowrap;z-index:2;}
.mc-b-lang{top:8px;left:8px;background:rgba(10,10,10,.78);color:#fff;backdrop-filter:blur(3px);}
.mc-b-lang.tm{background:rgba(190,90,0,.88);}
.mc-b-q{top:8px;right:8px;background:var(--mc-acc);color:#000;text-transform:uppercase;}
.mc-b-ep{bottom:8px;left:8px;background:rgba(10,10,10,.8);color:#fbbf24;}
.mc-b-na{bottom:8px;left:8px;background:rgba(10,10,10,.8);color:#e7e5e4;display:inline-flex;align-items:center;gap:4px;}

/* ---------- CARD LANDSCAPE ---------- */
.mc-card-l{display:block;text-decoration:none;min-width:0;}
.mc-card-l .mc-thumb{position:relative;border-radius:var(--mc-r);overflow:hidden;aspect-ratio:16/9;background:#17171a;}
.mc-card-l .mc-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
.mc-card-l:hover .mc-thumb img{transform:scale(1.05);}
.mc-card-l .mc-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.25) 45%,transparent 70%);}
.mc-card-l .mc-cap{position:absolute;left:12px;right:12px;bottom:10px;z-index:2;}
.mc-card-l .mc-cap .mc-name{font-size:15px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-card-l .mc-cap .mc-origin{font-size:12.5px;color:#c9c9cc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-card-l.big .mc-cap .mc-name{font-size:19px;}
.mc-card-l.big .mc-cap .mc-origin{font-size:13.5px;}

/* ---------- LƯỚI & RAIL ---------- */
.mc-poster-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px 14px;}
.mc-layout .mc-poster-grid{grid-template-columns:repeat(4,1fr);}
.mc-land-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.mc-feat{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:14px;align-items:start;}
.mc-feat .mc-card-l.big{grid-row:span 2;}
.mc-feat .mc-card-l.big{height:100%;}
.mc-feat .mc-card-l.big .mc-thumb{height:100%;}
.mc-feat .mc-card-l:not(.big) .mc-thumb{aspect-ratio:16/9;}
/* cụm huy hiệu góc trái trên card landscape + lưới ngang dưới khối featured */
.mc-badges{position:absolute;top:8px;left:8px;display:flex;gap:6px;z-index:2;}
.mc-badges .mc-b{position:static;}
.mc-b-acc{background:var(--mc-acc);color:#000;text-transform:uppercase;}
.mc-b-lang2{background:rgba(10,10,10,.78);color:#fff;backdrop-filter:blur(3px);}
.mc-land-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px;}
.mc-block-body{transition:opacity .2s;}
.mc-block-body.loading{opacity:.4;pointer-events:none;}
.mc-tabs a{cursor:pointer;}
.mc-rail{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;scrollbar-width:thin;scroll-behavior:smooth;}
.mc-rail .mc-card-p{flex:1 0 168px;scroll-snap-align:start;}
.mc-rail-wrap{position:relative;}
.mc-rail-btn{position:absolute;top:34%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid #2c2c2f;background:rgba(12,12,14,.88);color:#fff;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;backdrop-filter:blur(4px);}
.mc-rail-btn:hover{background:var(--mc-acc);color:#000;border-color:var(--mc-acc);}
.mc-rail-btn.prev{left:-8px;}
.mc-rail-btn.next{right:-8px;}
.mc-rail-btn.off{opacity:0;pointer-events:none;}

/* ---------- SIDEBAR: HOT TUẦN / ĐÁNH GIÁ / TRENDING ---------- */
.mc-widget{background:var(--mc-panel);border:1px solid #17171a;border-radius:14px;padding:16px;}
.mc-widget-t{font-size:16px;font-weight:800;text-transform:uppercase;color:var(--mc-acc);margin:0 0 12px;display:flex;align-items:center;gap:8px;}
.mc-widget-t::before{content:"";width:4px;height:18px;background:var(--mc-acc);border-radius:2px;}
.mc-rank{display:flex;flex-direction:column;gap:4px;}
.mc-rank a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;text-decoration:none;}
.mc-rank a:hover{background:#17171a;}
.mc-rank .no{font-size:17px;font-weight:800;color:#57534e;width:26px;text-align:center;flex-shrink:0;}
.mc-rank a:nth-child(-n+3) .no{color:#000;background:var(--mc-acc);width:26px;height:26px;line-height:26px;border-radius:50%;font-size:14px;}
.mc-rank .nm{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-rank .vw{font-size:12px;color:var(--mc-mut);}
.mc-rate{display:flex;flex-direction:column;gap:6px;}
.mc-rate a{display:flex;gap:11px;padding:7px;border-radius:10px;text-decoration:none;align-items:center;}
.mc-rate a:hover{background:#17171a;}
.mc-rate img{width:52px;height:72px;object-fit:cover;border-radius:7px;flex-shrink:0;}
.mc-rate .nm{font-size:14px;font-weight:600;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mc-rate .og{font-size:12px;color:var(--mc-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mc-rate .meta{font-size:12px;color:var(--mc-mut);display:flex;gap:10px;margin-top:2px;flex-wrap:wrap;}
.mc-rate .star{color:var(--mc-acc);font-weight:700;}

/* ---------- ARCHIVE: BỘ LỌC ---------- */
.mc-crumb{font-size:13px;color:var(--mc-mut);padding:14px 0 4px;display:flex;gap:8px;flex-wrap:wrap;}
.mc-crumb a{color:var(--mc-mut);text-decoration:none;}
.mc-crumb a:hover{color:var(--mc-acc);}
.mc-page-t{font-size:29px;font-weight:800;margin:6px 0 4px;}
.mc-page-d{color:var(--mc-mut);font-size:14px;margin-bottom:16px;}
.mc-filterbar{display:flex;gap:10px;flex-wrap:wrap;background:var(--mc-panel);border:1px solid #17171a;border-radius:12px;padding:12px;margin-bottom:20px;}
.mc-filterbar select{background:#17171a;color:#fff;border:1px solid #2a2a2e;border-radius:9px;padding:9px 12px;font-size:13.5px;flex:1;min-width:130px;outline:0;}
.mc-filterbar select:focus{border-color:var(--mc-acc);}
.mc-filterbar .mc-btn-filter{background:var(--mc-acc);color:#000;font-weight:700;border:0;border-radius:9px;padding:9px 20px;cursor:pointer;font-size:14px;display:inline-flex;align-items:center;gap:7px;}
.mc-filterbar .mc-btn-clear{background:#26262a;color:#e7e5e4;border:0;border-radius:9px;padding:9px 16px;cursor:pointer;font-size:14px;text-decoration:none;display:inline-flex;align-items:center;}
.mc-empty{padding:34px 10px;color:var(--mc-mut);text-align:center;font-size:15px;}

/* ---------- PHÂN TRANG (partial mặc định: prev/next + ô nhảy trang) ---------- */
body.mc-theme .v-pagination{display:flex;justify-content:center;margin:26px 0 6px;}
body.mc-theme .page-control{display:flex;align-items:center;gap:14px;}
body.mc-theme .page-control .btn-circle{width:44px;height:44px;border-radius:50%;background:var(--mc-acc)!important;border:0;color:#000!important;display:inline-flex;align-items:center;justify-content:center;}
body.mc-theme .page-control .btn-circle[disabled]{background:#26262a!important;color:#71717a!important;}
body.mc-theme .page-control a.btn-circle:hover{background:var(--mc-acc2)!important;}
body.mc-theme .page-current{display:flex;align-items:center;gap:8px;color:var(--mc-mut);font-size:14px;}
body.mc-theme .page-current input{width:58px;background:#17171a;border:1px solid #2a2a2e;color:#fff;border-radius:8px;padding:7px 9px;text-align:center;outline:0;}
body.mc-theme .page-current input:focus{border-color:var(--mc-acc);}

/* ---------- CARD MẶC ĐỊNH (tìm kiếm / diễn viên / lịch chiếu) ---------- */
body.mc-theme .cards-grid-wrapper{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 14px;}
body.mc-theme .sw-item{background:transparent!important;border:0!important;}
body.mc-theme .sw-item .v-thumbnail{border-radius:var(--mc-r);overflow:hidden;display:block;}
body.mc-theme .sw-item .info .item-title a{color:#fff;font-size:14px;font-weight:600;}
body.mc-theme .sw-item .info .item-title a:hover{color:var(--mc-acc);}
body.mc-theme .sw-item .info .alias-title a{color:var(--mc-mut);font-size:12.5px;}
body.mc-theme .tag-small{background:#1c1c1f;color:#d6d3d1;border:1px solid #26262a;}
body.mc-theme .cards-row .category-name{color:#fff;}
body.mc-theme .row-header .category-name{color:var(--mc-acc);text-transform:uppercase;}
body.mc-theme #wrapper{background:var(--mc-bg);}
body.mc-theme .fluid-gap{max-width:1460px;margin:0 auto;padding:0 16px;}

/* bộ lọc mặc định (rx-filter) trên các trang dùng template gốc */
body.mc-theme .rx-filter-btn{background:#17171a;border:1px solid #2a2a2e;color:#fff;}
body.mc-theme .rx-filter-menu{background:#101012;border:1px solid var(--mc-line);}
body.mc-theme .rx-filter-menu a{color:#d6d3d1;}
body.mc-theme .rx-filter-menu a:hover,body.mc-theme .rx-filter-menu a.active{background:var(--mc-acc-soft);color:var(--mc-acc);}

/* ---------- TRANG CHI TIẾT (template gốc .tph-*) ---------- */
body.mc-theme .tph-wrap{background:var(--mc-bg);}
body.mc-theme .tph-watch{background:var(--mc-acc)!important;color:#000!important;font-weight:800;border-radius:10px;}
body.mc-theme .tph-watch:hover{background:var(--mc-acc2)!important;}
body.mc-theme .tph-badge.imdb{background:#1c1c1f;border:1px solid #2c2c2f;color:#fbbf24;}
body.mc-theme .tph-badge.hd{background:var(--mc-acc);color:#000;}
body.mc-theme .tph-tab.active,body.mc-theme .tph-tab.on{background:var(--mc-acc);color:#000;border-color:var(--mc-acc);}
body.mc-theme .tph-server.active,body.mc-theme .tph-server.on{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;}
body.mc-theme .tph-ep{background:#17171a;border:1px solid #26262a;color:#e7e5e4;border-radius:9px;}
body.mc-theme .tph-ep:hover,body.mc-theme .tph-ep.active{border-color:var(--mc-acc);color:var(--mc-acc);}
body.mc-theme .rx-watch-ver:hover,body.mc-theme .rx-watch-ver.active{border-color:var(--mc-acc);color:var(--mc-acc);}
body.mc-theme .tph-sec-t{color:#fff;}
body.mc-theme .tph-side-item:hover .tph-side-name{color:var(--mc-acc);}
body.mc-theme .bb-rect .rect-sub{background:#374151;}
body.mc-theme .bb-rect .rect-tm{background:#b45309;}

/* ---------- TRANG XEM PHIM ---------- */
body.mc-theme #player-frame{background:#000;border-radius:12px;overflow:hidden;border:1px solid #1c1c1f;}
body.mc-theme .src-btn.active,body.mc-theme .btn-src.active{background:var(--mc-acc)!important;color:#000!important;border-color:var(--mc-acc)!important;font-weight:700;}
body.mc-theme .ep-btn.active{background:var(--mc-acc)!important;color:#000!important;font-weight:700;}

/* ---------- BÌNH LUẬN ---------- */
body.mc-theme .cmt-item,body.mc-theme .comment-item{background:var(--mc-panel);border:1px solid #17171a;}
body.mc-theme textarea,body.mc-theme input[type="text"],body.mc-theme input[type="email"],body.mc-theme input[type="password"]{caret-color:var(--mc-acc);}

/* ---------- FOOTER ---------- */
.mc-footer{background:#050505;border-top:1px solid #141416;margin-top:36px;}
.mc-footer-in{max-width:1460px;margin:0 auto;padding:34px 16px 22px;display:grid;grid-template-columns:minmax(0,1fr) 190px 190px;gap:30px;}
.mc-footer-desc{color:#b8b4ae;font-size:13.5px;line-height:1.65;max-width:640px;}
.mc-footer-desc p{margin:0 0 10px;}
.mc-footer h4{font-size:15px;font-weight:700;color:#fff;margin:0 0 12px;}
.mc-footer-col a{display:block;color:#a8a29e;font-size:13.5px;text-decoration:none;padding:4px 0;}
.mc-footer-col a:hover{color:var(--mc-acc);}
.mc-footer-logo{display:flex;align-items:center;gap:7px;margin-bottom:14px;text-decoration:none;}
.mc-socials{display:flex;gap:8px;margin-top:14px;}
.mc-socials a{width:34px;height:34px;border-radius:50%;background:#17171a;display:inline-flex;align-items:center;justify-content:center;}
.mc-socials a:hover{background:var(--mc-acc-soft);}
.mc-socials img{width:17px;height:17px;}
.mc-footer-bottom{border-top:1px solid #141416;padding:14px 16px;text-align:center;color:#78716c;font-size:13px;max-width:1460px;margin:0 auto;}
body.mc-theme #totop{background:var(--mc-acc);color:#000;border:0;}

/* ---------- BOTTOM NAV MOBILE ---------- */
body.mc-theme .rx-bottomnav{background:rgba(8,8,8,.96);border-top:1px solid #1c1c1f;backdrop-filter:blur(8px);}
body.mc-theme .rx-bottomnav a{color:#a8a29e;}
body.mc-theme .rx-bottomnav a.active{color:var(--mc-acc);}

/* ---------- TRANG ĐĂNG NHẬP / ĐĂNG KÝ / TÀI KHOẢN ---------- */
body.mc-theme .auth-wrap,body.mc-theme .auth-card{background:var(--mc-panel);}
body.mc-theme .btn-primary,body.mc-theme button.btn-primary{background:var(--mc-acc);border-color:var(--mc-acc);color:#000;font-weight:700;}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1180px){
  .mc-layout{grid-template-columns:minmax(0,1fr) 290px;}
  .mc-layout .mc-poster-grid{grid-template-columns:repeat(3,1fr);}
  .mc-search form{width:200px;} .mc-search form:focus-within{width:230px;}
  .mc-nav>a,.mc-nav .mc-dd-btn{padding:8px 7px;font-size:14px;}
}
@media(max-width:992px){
  .mc-layout{grid-template-columns:1fr;}
  .mc-aside{position:static;}
  .mc-poster-grid{grid-template-columns:repeat(4,1fr);}
  .mc-layout .mc-poster-grid{grid-template-columns:repeat(4,1fr);}
  .mc-layout{grid-template-columns:minmax(0,1fr);}
  .mc-feat{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:none;}
  .mc-feat .mc-card-l.big{grid-column:span 2;grid-row:auto;height:auto;}
  .mc-feat .mc-card-l.big .mc-thumb{aspect-ratio:16/9;height:auto;}
  .mc-land-grid4{grid-template-columns:repeat(2,minmax(0,1fr));}
  .mc-nav{display:none;}
  .mc-burger{display:block;}
  .mc-search{margin-left:auto;}
  body.mc-theme .cards-grid-wrapper{grid-template-columns:repeat(3,1fr);}
  .mc-footer-in{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .mc-header-in{gap:10px;padding:0 10px;}
  .mc-logo-txt{font-size:20px;}
  .mc-logo img{height:30px;}
  .mc-search form{width:150px;} .mc-search form:focus-within{width:170px;}
  .mc-login-btn span{display:none;}
  .mc-poster-grid,.mc-layout .mc-poster-grid{grid-template-columns:repeat(3,1fr);gap:13px 9px;}
  .mc-rail .mc-card-p{flex:1 0 128px;}
  .mc-rail-btn{display:none;}
  .mc-land-grid{grid-template-columns:1fr;}
  .mc-feat{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;}
  .mc-sec-title{font-size:16px;}
  .mc-page-t{font-size:21px;}
  body.mc-theme .cards-grid-wrapper{grid-template-columns:repeat(2,1fr);}
  .mc-footer-in{grid-template-columns:1fr;}
  .mc-card-p .mc-name{font-size:12.5px;} .mc-card-p .mc-origin{font-size:11.5px;}
  .mc-b{font-size:10px;padding:4px 6px;}
}

/* ---------- TRANG CHI TIẾT (theme detail.php) ---------- */
.mc-dhero{position:relative;height:400px;background-size:cover;background-position:center 22%;background-color:#101014;}
.mc-dhero-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(6,6,6,.96) 2%,rgba(6,6,6,.35) 45%,rgba(6,6,6,.25) 100%);}
.mc-play-big{position:absolute;left:50%;top:50%;transform:translate(-50%,-58%);width:66px;height:66px;border-radius:50%;background:var(--mc-acc);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 34px rgba(245,158,11,.45);transition:transform .2s;z-index:2;}
.mc-play-big:hover{transform:translate(-50%,-58%) scale(1.08);}
.mc-play-big svg{margin-left:3px;}
.mc-dhead{display:flex;gap:26px;position:relative;z-index:3;}
.mc-dposter{flex:0 0 178px;margin-top:-110px;}
.mc-dposter img{width:178px;height:262px;object-fit:cover;border-radius:12px;border:1px solid #2a2a2e;box-shadow:0 16px 40px rgba(0,0,0,.6);display:block;}
.mc-dinfo{flex:1;min-width:0;padding-top:12px;}
.mc-dtitle{font-size:34px;font-weight:700;line-height:1.12;margin:0;color:#fff;}
.mc-dorigin{font-size:19px;color:#c9c9cc;margin-top:3px;}
.mc-dactions{display:flex;align-items:center;gap:10px;margin-top:16px;flex-wrap:wrap;}
.mc-btn-trailer{display:inline-flex;align-items:center;gap:8px;background:#17171a;border:1px solid #333338;color:#fff;font-size:14.5px;font-weight:600;padding:10px 18px;border-radius:10px;cursor:pointer;}
.mc-btn-trailer:hover{border-color:var(--mc-acc);color:var(--mc-acc);}
.mc-btn-watch{display:inline-flex;align-items:center;gap:8px;background:var(--mc-acc);color:#000!important;font-size:15px;font-weight:800;padding:10px 20px;border-radius:10px;text-decoration:none;}
.mc-btn-watch:hover{background:var(--mc-acc2);color:#000!important;}
.mc-icon-btn{width:42px;height:42px;border-radius:10px;background:#17171a;border:1px solid #333338;color:#e7e5e4;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.mc-icon-btn:hover{border-color:var(--mc-acc);color:var(--mc-acc);}
.mc-icon-btn.on{background:var(--mc-acc-soft);border-color:var(--mc-acc);color:var(--mc-acc);}
.mc-dash-box{display:block;margin-top:16px;border:1.5px dashed rgba(245,158,11,.55);border-radius:10px;padding:13px 16px;color:#e7e5e4;font-size:15px;text-decoration:none;background:rgba(245,158,11,.05);}
.mc-dash-box b{color:#fff;text-decoration:underline;}
.mc-dash-box:hover{color:#fff;}
.mc-dmeta{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;margin-top:16px;font-size:15px;color:#d6d3d1;}
.mc-dmeta b{color:#fff;}
.mc-q-badge{background:var(--mc-acc);color:#000;font-weight:800;font-size:12.5px;padding:3px 9px;border-radius:6px;text-transform:uppercase;}
.mc-drating{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap;}
.mc-stars{display:inline-flex;gap:2px;}
.mc-rating-txt{font-size:14.5px;color:#d6d3d1;}
.mc-dviews{display:flex;align-items:center;gap:7px;margin-top:10px;color:#d6d3d1;font-size:14.5px;}
.mc-dshare{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:15px;font-weight:600;}
.mc-dshare a{width:34px;height:34px;border-radius:50%;background:#1b1b1e;color:#fff;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;}
.mc-dshare a:hover{background:var(--mc-acc);color:#000;}
.mc-share-more{width:34px;height:34px;border-radius:50%;background:#1b1b1e;border:0;color:#fff;font-size:17px;cursor:pointer;line-height:1;}
.mc-share-more:hover{background:var(--mc-acc);color:#000;}
.mc-dchips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px;}
.mc-dchips-lb{font-size:15.5px;font-weight:700;color:#fff;margin-right:2px;}
.mc-chip{background:#26262b;color:#e7e5e4;font-size:13.5px;font-weight:500;padding:6px 13px;border-radius:999px;text-decoration:none;display:inline-block;}
a.mc-chip:hover{background:var(--mc-acc);color:#000;}
.mc-dsec{margin-top:30px;}
.mc-dsec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.mc-dsec-t{font-size:20px;font-weight:700;color:#fff;margin:0 0 14px;}
.mc-dsec-head .mc-dsec-t{margin-bottom:14px;}
.mc-scroll-btns{display:inline-flex;gap:8px;}
.mc-scroll-btns button{width:36px;height:36px;border-radius:50%;background:#1b1b1e;border:1px solid #2a2a2e;color:#fff;font-size:19px;cursor:pointer;line-height:1;}
.mc-scroll-btns button:hover{background:var(--mc-acc);color:#000;border-color:var(--mc-acc);}
/* diễn viên: avatar tròn cuộn ngang */
.mc-actors{padding-bottom:6px;}
body.mc-theme .rx-actor-row{display:flex;gap:20px;padding:2px;overflow-x:auto;scrollbar-width:none;}
body.mc-theme .rx-actor-row::-webkit-scrollbar{display:none;}
body.mc-theme .rx-actor{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;width:96px;}
body.mc-theme .rx-actor-ph{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#26262b;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;color:#a8a29e;flex-shrink:0;}
body.mc-theme .rx-actor-ph img{width:100%;height:100%;object-fit:cover;display:block;}
body.mc-theme .rx-actor-name{font-size:13.5px;color:#e7e5e4;text-align:center;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.mc-theme .rx-actor:hover .rx-actor-name{color:var(--mc-acc);}
.mc-dirlist{display:flex;gap:20px;flex-wrap:wrap;}
.mc-dir{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;width:96px;}
.mc-dir-av{width:88px;height:88px;border-radius:50%;background:#333338;color:#f5f5f4;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;}
.mc-dir-av-empty{background:#1c1c1f;border:1px dashed #333338;}
.mc-dir-name{font-size:13.5px;color:#e7e5e4;text-align:center;}
.mc-dir:hover .mc-dir-name{color:var(--mc-acc);}
/* tập phim */
.mc-ep-note{display:flex;gap:9px;align-items:flex-start;border:1.5px dashed rgba(245,158,11,.55);border-radius:10px;padding:12px 15px;color:#fbbf24;font-size:14.5px;background:rgba(245,158,11,.05);margin-bottom:16px;line-height:1.45;}
.mc-ep-note svg{flex-shrink:0;margin-top:1px;}
body.mc-theme .tph-svrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;}
body.mc-theme .tph-servers{display:flex;gap:8px;flex-wrap:wrap;}
body.mc-theme .tph-server{background:#23232a;border:1px solid #333338;color:#e7e5e4;font-size:14px;font-weight:600;padding:9px 16px;border-radius:9px;cursor:pointer;display:inline-flex;gap:7px;align-items:center;}
body.mc-theme .tph-server:hover{border-color:var(--mc-acc);color:var(--mc-acc);}
body.mc-theme .tph-svcount{background:rgba(255,255,255,.16);border-radius:6px;padding:0 6px;font-size:12px;}
body.mc-theme .tph-sort{margin-left:auto;background:#17171a;border:1px solid #333338;color:#d6d3d1;font-size:13.5px;padding:9px 13px;border-radius:9px;cursor:pointer;display:inline-flex;gap:7px;align-items:center;}
body.mc-theme .tph-eps{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:10px;}
body.mc-theme .tph-ep{background:#23232a;border:1px solid #2e2e34;color:#e7e5e4;text-align:center;padding:11px 4px;border-radius:9px;font-size:14.5px;font-weight:600;text-decoration:none;}
body.mc-theme .tph-ep:hover{border-color:var(--mc-acc);color:var(--mc-acc);}
body.mc-theme #tphEps .tph-ep.hidden{display:none!important;}
body.mc-theme .rx-watch-vers{display:flex;gap:10px;flex-wrap:wrap;}
body.mc-theme .rx-watch-ver{background:#23232a;border:1px solid #2e2e34;color:#e7e5e4;padding:10px 16px;border-radius:9px;font-size:14.5px;font-weight:600;text-decoration:none;}
/* nội dung + bình luận */
.mc-content-chip{display:inline-block;background:#26262b;color:#fff;font-size:14px;font-weight:700;padding:8px 15px;border-radius:9px;margin-bottom:14px;}
.mc-plot{font-size:15.5px;line-height:1.75;color:#d6d3d1;}
.mc-plot p{margin:0 0 10px;}
.mc-plot b{color:#fff;}
body.mc-theme .op-comment-panel{background:transparent!important;}
body.mc-theme .comment-textarea,body.mc-theme .op-comment-form textarea{background:#121214!important;border:1px solid #2a2a2e!important;color:#fff!important;border-radius:12px;}
body.mc-theme .rx-cmt-submit,body.mc-theme .op-comment-form .btn-primary{background:var(--mc-acc)!important;border-color:var(--mc-acc)!important;color:#000!important;font-weight:700;border-radius:999px;}
/* trailer modal */
.mc-trailer-modal{position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:1200;display:flex;align-items:center;justify-content:center;padding:18px;}
.mc-trailer-box{position:relative;width:min(880px,100%);}
.mc-trailer-frame{position:relative;padding-top:56.25%;background:#000;border-radius:12px;overflow:hidden;}
.mc-trailer-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.mc-trailer-close{position:absolute;top:-42px;right:0;background:none;border:0;color:#fff;font-size:32px;cursor:pointer;line-height:1;}

/* ---------- TRANG XEM PHIM (template gốc, phủ màu Motchill) ---------- */
body.mc-theme .wrapper-watch,body.mc-theme .makeup.wrapper-watch{background:var(--mc-bg);}
body.mc-theme .child-box{background:var(--mc-panel);border:1px solid #17171a;border-radius:14px;}
body.mc-theme .child-header .heading-sm,body.mc-theme .heading-md{color:#fff;}
body.mc-theme .streaming-server{background:#23232a!important;border:1px solid #333338!important;color:#e7e5e4!important;border-radius:8px!important;}
body.mc-theme .streaming-server:hover{border-color:var(--mc-acc)!important;color:var(--mc-acc)!important;}
body.mc-theme .wm-episodes .rx-watch-ver.active{background:var(--mc-acc)!important;border-color:var(--mc-acc)!important;color:#000!important;font-weight:800;}
body.mc-theme .cg-body-box{background:transparent;}

/* ---------- DETAIL / WATCH MOBILE ---------- */
@media(max-width:768px){
  .mc-dhero{height:210px;}
  .mc-play-big{width:56px;height:56px;transform:translate(-50%,-50%);}
  .mc-play-big:hover{transform:translate(-50%,-50%) scale(1.06);}
  .mc-dhead{flex-direction:column;gap:0;}
  .mc-dposter{display:none;}
  .mc-dinfo{padding-top:14px;}
  .mc-dtitle{font-size:26px;}
  .mc-dorigin{font-size:16.5px;}
  body.mc-theme .tph-eps{grid-template-columns:repeat(5,1fr);gap:8px;}
  body.mc-theme .tph-ep{padding:10px 2px;font-size:13.5px;}
  body.mc-theme .rx-actor-ph{width:74px;height:74px;}
  body.mc-theme .rx-actor{width:82px;}
  .mc-dir-av{width:74px;height:74px;}
  .mc-dir{width:82px;}
  .mc-dsec-t{font-size:18px;}
  #player-frame{border-radius:8px!important;}
}

/* ---------- MOBILE: CHỐNG TRÀN NGANG (grid blowout) ---------- */
body.mc-theme{overflow-x:clip;}
.mc-rate-tx{min-width:0;}
.mc-cap{min-width:0;}
@media(max-width:400px){
  .mc-logo-txt{font-size:18px;}
  .mc-search{max-width:112px;}
}

/* ---------- FEATURED: FLEX 2 CỘT (card lớn cao đúng = 2 hàng card nhỏ) ---------- */
.mc-feat{display:flex;gap:14px;align-items:stretch;}
.mc-feat .mc-card-l.big{flex:0 0 calc((100% - 14px)*.4872);height:auto;}
.mc-feat-smalls{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-content:start;}
@media(min-width:993px){
  .mc-feat .mc-card-l.big .mc-thumb{height:100%;}
}
@media(max-width:992px){
  .mc-feat{flex-direction:column;}
  .mc-feat .mc-card-l.big{flex:none;width:100%;}
}
@media(max-width:600px){
  .mc-feat-smalls{gap:10px;}
}

/* ---------- DETAIL: breadcrumb né poster + bình luận full bề ngang ---------- */
@media(min-width:769px){
  .mc-dcrumb{padding-left:206px;}
}
body.mc-theme .tph-comments .op-comment-panel{max-width:none!important;width:100%;}
body.mc-theme .tph-comments .op-comment-list,
body.mc-theme .tph-comments .op-comment-form,
body.mc-theme .tph-comments .op-comment-top{max-width:none!important;}

/* ---------- WATCH: chừa lề 2 bên cho cân đối (desktop) ---------- */
@media(min-width:993px){
  body.mc-theme .wrapper-watch{padding-left:20px;padding-right:20px;}
}
body.mc-theme .child-actors-list{min-width:0;overflow:hidden;}

/* ---------- FEATURED: GRID VÙNG TƯỜNG MINH (chốt) ---------- */
.mc-feat{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:14px;align-items:stretch;}
.mc-feat .mc-card-l.big{grid-column:1;grid-row:1 / span 2;height:auto;flex:none;}
.mc-feat .mc-card-l.big .mc-thumb{height:100%;aspect-ratio:auto;}
.mc-feat-smalls{grid-column:2 / span 2;grid-row:1 / span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-content:start;min-width:0;flex:none;}
@media(max-width:992px){
  .mc-feat{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .mc-feat .mc-card-l.big{grid-column:1 / span 2;grid-row:auto;}
  .mc-feat .mc-card-l.big .mc-thumb{aspect-ratio:16/9;height:auto;}
  .mc-feat-smalls{grid-column:1 / span 2;grid-row:auto;}
}

/* ---------- WATCH: thu hẹp khoảng cách header -> player ---------- */
body.mc-theme #wrapper.wrapper-watch{padding-top:30px;}
body.mc-theme .wp-bread{margin-bottom:18px;}

/* ---------- WATCH: khung bình luận cách khối tập + lề trong ---------- */
body.mc-theme .child-discuss{margin-top:22px;}
body.mc-theme .child-discuss .child-header{padding:16px 18px 0;}
body.mc-theme .child-discuss .child-content{padding:14px 18px 18px;}

/* ---------- WATCH: khối diễn viên — tiêu đề có lề ---------- */
body.mc-theme .child-actors .child-header{padding:15px 16px 2px;font-size:17px;}
body.mc-theme .child-actors .child-actors-list{padding:14px 16px 16px!important;}

/* ---------- WATCH: Đề xuất cho bạn — thiết kế lại ---------- */
body.mc-theme .child-suggest .child-header{padding:15px 16px 4px;font-size:17px;}
body.mc-theme .child-suggest .child-content{padding:6px 16px 12px;}
body.mc-theme .child-suggest .cc-top{display:flex;flex-direction:column;}
body.mc-theme .child-suggest .item{padding:11px 0;border-bottom:1px solid #1e1e22;}
body.mc-theme .child-suggest .item:last-child{border-bottom:0;padding-bottom:4px;}
body.mc-theme .child-suggest .h-item{display:flex;gap:12px;align-items:flex-start;}
body.mc-theme .child-suggest .v-thumb-m{flex:0 0 98px;width:98px;height:68px;border-radius:9px;overflow:hidden;background:#17171a;}
body.mc-theme .child-suggest .v-thumbnail{display:block;width:100%;height:100%;}
body.mc-theme .child-suggest .v-thumbnail img{width:100%;height:100%;object-fit:cover;display:block;}
body.mc-theme .child-suggest .info{flex:1;min-width:0;padding-top:1px;}
body.mc-theme .child-suggest .item-title{font-size:15px;font-weight:600;line-height:1.35;margin:0 0 3px;}
body.mc-theme .child-suggest .item-title a{color:#f5f5f4;text-decoration:none;}
body.mc-theme .child-suggest .item-title a:hover{color:var(--mc-acc);}
body.mc-theme .child-suggest .alias-title{font-size:12.5px;color:#a8a29e;margin-bottom:7px;}
body.mc-theme .child-suggest .info-line{display:flex;gap:6px;flex-wrap:wrap;}
body.mc-theme .child-suggest .tag-small{background:#26262b;color:#d6d3d1;font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:6px;}
@media(max-width:768px){
  body.mc-theme #wrapper.wrapper-watch{padding-top:16px;}
  body.mc-theme .child-discuss .child-header{padding:14px 14px 0;}
  body.mc-theme .child-discuss .child-content{padding:12px 14px 14px;}
}

/* ---------- DETAIL: an thanh truot rail + o dang nhap binh luan o giua ---------- */
body.mc-theme .mc-rail{scrollbar-width:none;padding-bottom:2px;}
body.mc-theme .mc-rail::-webkit-scrollbar{display:none;}
body.mc-theme .rx-cmt-login{max-width:600px;margin-left:auto;margin-right:auto;}

/* ---------- Font moi: tang nhe cac khoi chu chinh cho de doc ---------- */
body.mc-theme .mc-plot{font-size:15.5px;line-height:1.8;color:#e7e5e4;}
body.mc-theme .mc-cap .mc-name{font-size:15px;}
body.mc-theme .op-comment-panel{font-size:15px;}

/* ---------- MOBILE: nút kính lúp + ô tìm kiếm xổ xuống ---------- */
.mc-search-btn{display:none;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid #26262a;background:#17171a;color:#e4e4e7;cursor:pointer;flex-shrink:0;padding:0;}
@media(max-width:1359px){
  .mc-search-btn{display:flex;margin-left:auto;}
  body.mc-theme #search.mc-search.mc-open{display:block!important;position:absolute;top:calc(100% + 8px);left:10px;right:10px;z-index:990;margin:0;}
  body.mc-theme #search.mc-search.mc-open form{width:100%;height:44px;background:#101012;box-shadow:0 16px 40px rgba(0,0,0,.6);}
  body.mc-theme #search.mc-search.mc-open form:focus-within{width:100%;}
  body.mc-theme #search.mc-search.mc-open input{font-size:16px;}
  body.mc-theme #search.mc-search.mc-open .search-suggest{left:0;right:0;width:auto;}
}

/* ---------- HOME: khối aside lùi xuống ngang hàng tiêu đề section đầu ---------- */
body.mc-theme .mc-aside{margin-top:10px;}

/* ---------- FIX SUBMENU MOBILE: xo full hang, khong cat chu (2026-10-21) ---------- */
@media(max-width:768px){
  body.mc-theme .rx-mmenu-drop.open{grid-column:1/-1!important;display:block!important}
  body.mc-theme .rx-mmenu-drop.open .rx-mmenu-sub{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px;max-height:260px}
  body.mc-theme .rx-mmenu-sub a{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
}
