/* CÔ BE PHIM - trang xem phim v5.0 / one-column Motchill-style layout.
   Only loaded on watch routes. Reuses film-detail comment/rating components. */
.mc-page .mc-watch{padding-top:56px;min-height:100vh;background:#000;color:#f4f4f4;font-size:14px;line-height:1.55}
.mc-page .mc-watch *{box-sizing:border-box}
.mc-page .mc-watch .mc-watch-container{width:90%;max-width:1710px;margin:0 auto;padding:0 0 34px;position:relative}
.mc-watch-screenreader-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.mc-watch .mc-watch-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:11px;color:#8e9baa;font-size:13px;padding:13px 0 12px;border-bottom:1px solid #25282d;margin:0 0 12px;min-height:44px}
.mc-watch .mc-watch-breadcrumb a{color:#91a0ad;text-decoration:none;transition:color .15s}
.mc-watch .mc-watch-breadcrumb a:hover{color:#ff7e08}
.mc-watch .mc-watch-breadcrumb>span:last-child{color:#7b8796;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.mc-watch .mc-watch-callout{border:1px dashed #ed7900;border-radius:0;min-height:42px;padding:10px 11px;line-height:1.45;margin:0 0 14px;font-size:14px;color:#eee}
.mc-watch .mc-watch-callout a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:#ff7e08;text-underline-offset:2px}
.mc-watch .mc-watch-callout a:hover{color:#ff8b10}
.mc-watch .mc-watch-player-section{margin:0 0 7px;background:#02050a;border-radius:5px;overflow:hidden}
.mc-watch .xpf-w-player-shell{width:100%;max-width:none;padding:0;margin:0;scroll-margin-top:66px;outline:none}
.mc-watch .xpf-w-stage{width:100%;aspect-ratio:16/9;background:#02050a;isolation:isolate;overflow:hidden;border-radius:5px}
.mc-watch .xpf-w-placeholder{background:#080b16}
.mc-watch .xpf-w-placeholder>img.mc-watch-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.8}
.mc-watch .mc-watch-cover-shadow{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.72),transparent 27%),linear-gradient(90deg,rgba(1,7,21,.17),transparent)}
.mc-watch .xpf-w-start{z-index:3;inset:0;display:flex;flex-direction:column;gap:13px;align-items:center;justify-content:center}
.mc-watch .xpf-w-start>span{max-width:80%;font-size:14px;color:#f0f0f0;font-weight:550;text-shadow:0 2px 8px #000;opacity:1}
.mc-watch .xpf-w-start>p{font-size:16px;font-weight:600;text-shadow:0 1px 5px #000}
.mc-watch .xpf-w-play,.mc-watch .xpf-w-resume{display:flex;align-items:center;justify-content:center;width:55px;height:55px;background:#ff8600;color:#fff!important;border:0;border-radius:50%;box-shadow:0 6px 23px #0007;transition:background .18s,transform .18s,box-shadow .18s}
.mc-watch .xpf-w-play svg,.mc-watch .xpf-w-resume svg{height:25px;width:25px;fill:currentColor;stroke:none;stroke-width:0;margin-left:4px}
.mc-watch .xpf-w-play:hover,.mc-watch .xpf-w-resume:hover{background:#ff9f26;transform:scale(1.08);box-shadow:0 0 0 5px #ff7e0833,0 6px 23px #0007}
.mc-watch .xpf-w-resume{position:absolute;left:50%;top:50%;z-index:5;transform:translate(-50%,-50%)}
.mc-watch .xpf-w-resume:hover{transform:translate(-50%,-50%) scale(1.08)}
.mc-watch .xpf-w-host,.mc-watch .xpf-w-host iframe,.mc-watch .xpf-w-host>div,.mc-watch .xpf-w-host video{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;border:0;object-fit:contain}
.mc-watch .xpf-w-error,.mc-watch .xpf-w-loader{color:#fff;background:#090a0ce8;z-index:6}
.mc-watch .xpf-w-error button,.mc-watch .mc-watch-player-action{color:#fff;background:#ff8500;border:0;border-radius:6px;padding:9px 15px}
.mc-watch .mc-watch-server-hint{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:#ec8c20;margin:8px 0 9px}
.mc-watch .mc-watch-server-hint svg{flex:none;color:#ff8500}
.mc-watch .mc-watch-server-section{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.mc-watch .xpf-w-source.mc-watch-server{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:132px;max-width:100%;min-height:34px;padding:7px 11px;border:1px solid #263545;border-radius:4px;color:#cbd7eb;background:#25354c;box-shadow:none;font-size:12px;line-height:1.3;font-weight:600;text-align:center;transition:background .15s,color .15s,border-color .15s,transform .15s}
.mc-watch .mc-watch-server:hover{background:#364b69;color:#fff;border-color:#516a88;transform:translateY(-1px)}
.mc-watch .mc-watch-server.is-active{background:#03d774;border-color:#03d774;color:#062619;box-shadow:none}
.mc-watch .mc-watch-server.is-active:hover{background:#36ed91;color:#072c1a}
.mc-watch .mc-watch-share.mc-detail-social{display:flex;align-items:center;gap:11px;margin:12px 0 19px;font-size:13px}
.mc-watch .mc-watch-share strong{font-weight:600}
.mc-watch .mc-watch-share a,.mc-watch .mc-watch-share button{color:#fff;min-width:22px;height:25px;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:0;transition:color .15s,transform .15s}
.mc-watch .mc-watch-share a:hover,.mc-watch .mc-watch-share button:hover{color:#ff8500;transform:translateY(-2px)}
.mc-watch .mc-watch-share svg{width:17px;height:17px}
.mc-watch .mc-watch-section-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.mc-watch .mc-watch-section-top h2,.mc-watch .mc-watch-rating-section>h2,.mc-watch .mc-watch-summary>h2{margin:0;color:#fff;font-size:16px;font-weight:700;line-height:1.35}
.mc-watch .mc-watch-episodes-section{margin:12px 0 20px}
.mc-watch .mc-watch-episode-nav{display:flex;align-items:center;gap:5px}
.mc-watch .mc-watch-episode-nav button{border:1px solid #2b3039;border-radius:4px;background:#151c26;color:#cbd3dd;padding:4px 9px;font-size:11px;transition:background .18s,color .18s}
.mc-watch .mc-watch-episode-nav button:hover:not(:disabled){color:#fff;background:#28384d}
.mc-watch .mc-watch-episode-nav button:disabled{opacity:.35;cursor:not-allowed}
.mc-watch .mc-watch-season-row{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:12px;color:#aab5c2}
.mc-watch .mc-watch-season-row select{background:#253247;border:1px solid #3a485a;border-radius:4px;color:#fff;padding:5px 8px}
.mc-watch .mc-watch-episode-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;max-height:220px;overflow-y:auto;overflow-x:hidden;padding:0;scrollbar-color:#313c4b transparent;scrollbar-width:thin}
.mc-watch .mc-watch-episode-grid .xpf-w-episode{display:flex;align-items:center;justify-content:center;min-width:0;height:32px;padding:4px 6px;background:#253247;color:#cdd6e4;border:1px solid #253247;border-radius:3px;box-shadow:none;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,color .15s}
.mc-watch .mc-watch-episode-grid .xpf-w-episode:hover{background:#3a4b65;color:#fff;border-color:#3a4b65}
.mc-watch .mc-watch-episode-grid .xpf-w-episode.is-active{background:#ff8500;border-color:#ff8500;color:#101010;font-weight:700}
.mc-watch .mc-watch-empty{margin:10px 0;color:#8f9baa;font-size:13px}
.mc-watch .mc-watch-extra-controls{margin:6px 0 18px;color:#8c9baa}
.mc-watch .mc-watch-extra-controls details{border:0}
.mc-watch .mc-watch-extra-controls summary{cursor:pointer;display:inline-flex;align-items:center;gap:7px;color:#8995a4;font-size:12px;list-style:none}
.mc-watch .mc-watch-extra-controls summary:hover{color:#ffa132}
.mc-watch .mc-watch-extra-controls summary::-webkit-details-marker{display:none}
.mc-watch .mc-watch-setting-inner{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;padding:12px 0;border-top:1px solid #252525}
.mc-watch .mc-watch-setting-inner button{display:inline-flex;align-items:center;gap:6px;background:#17202a;color:#b8c6d8;border:1px solid #2c3642;border-radius:4px;padding:7px 11px;font-size:12px;transition:background .16s,color .16s}
.mc-watch .mc-watch-setting-inner button:hover{background:#29394e;color:#fff}
.mc-watch .mc-watch-setting-inner button[aria-pressed=true]{color:#ffb45f;border-color:#ff7e0870}
.mc-watch .mc-watch-setting-inner button b{font-size:9px;color:#99a0ac}
.mc-watch .xpf-w-status{padding:9px 12px;background:#141b26;border:1px solid #2a3847;color:#cfdae8;font-size:13px;border-radius:4px;margin-bottom:15px!important}
.mc-watch .mc-watch-rating-section{margin:17px 0 18px}
.mc-watch .mc-watch-rating-section>h2{margin-bottom:7px}
.mc-watch .mc-detail-rating{margin:0;row-gap:5px;column-gap:9px;min-height:28px}
.mc-watch .mc-detail-stars{gap:2px}
.mc-watch .mc-detail-star{width:22px;height:22px}
.mc-watch .mc-detail-star svg{width:22px;height:22px}
.mc-watch .mc-detail-score-text{font-size:13px}
.mc-watch .mc-watch-comments.mc-detail-comments{margin:16px 0 23px;padding:0 0 23px;border-top:0;border-bottom:1px solid #242424}
.mc-watch .mc-detail-comments-header{margin:0 0 12px;padding:0 0 8px;border-color:#262626}
.mc-watch .mc-detail-comments-header h2{font-size:16px}
.mc-watch .mc-detail-comments-header>span{height:22px;min-width:24px;background:#ff7e0824;color:#ff870a}
.mc-watch .mc-detail-comment-form{margin-bottom:20px}
.mc-watch .mc-detail-comment-compose textarea{min-height:100px;background:#111;border:1px solid #2a2a2a;border-radius:8px;font-size:13px;padding:13px 15px}
.mc-page .mc-watch .mc-detail-comment-compose textarea:focus,.mc-page .mc-watch .mc-detail-comment-compose textarea:focus-visible{border:1px solid #eb800b!important;outline:none!important;box-shadow:none!important}
.mc-watch .mc-detail-comment-avatar{flex:0 0 38px}
.mc-watch .mc-detail-submit{background:#ff8500;color:#131313!important;font-weight:750}
.mc-watch .mc-detail-submit:hover{background:#ffa733}
.mc-watch .mc-detail-comment-list{gap:16px}
.mc-watch .mc-detail-comment-body{background:#0c0c0c}
.mc-watch .mc-watch-summary{padding:3px 0 21px;border-bottom:1px solid #222}
.mc-watch .mc-watch-summary h2{font-size:16px;margin:0 0 12px}
.mc-watch .mc-watch-summary-text{margin:0;color:#d7d9de;font-size:14px;line-height:1.75;white-space:normal;overflow-wrap:anywhere}
.mc-watch .mc-watch-recommendations.mc-detail-recommendations{margin:34px 0 20px}
.mc-watch .mc-watch-recommendations .mc-detail-section-head{border-bottom:1px solid #292929;margin-bottom:9px;padding-bottom:7px}
.mc-watch .mc-watch-recommendations .mc-detail-section-head>h2{font-size:18px;padding:0 0 6px;border-bottom:2px solid #ff8500;margin-bottom:-10px}
.mc-watch .mc-detail-recommend-track{gap:12px;scrollbar-width:none}
.mc-watch .mc-detail-recommend-track>.mc-featured-card{flex:0 0 176px;width:176px;min-width:176px}
.mc-watch .mc-detail-recommend-track>.mc-featured-card:hover p{color:#ff870c}
.mc-page .xhd-overlay{position:fixed;inset:0;z-index:1501;display:flex;align-items:center;justify-content:center}
.mc-page .xhd-overlay .xhd-backdrop{position:absolute;inset:0;border:0;background:#000a;cursor:pointer}
.mc-page .xhd-overlay .xhd-dialog{position:relative;z-index:2;width:min(500px,calc(100vw - 28px));max-height:90vh;overflow:auto;border-radius:10px;background:#191b20;color:#f5f5f5;box-shadow:0 20px 80px #000b}
.mc-page .mc-watch-login-dialog header{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #333}
.mc-page .mc-watch-login-dialog h2{font-size:17px;margin:0}
.mc-page .mc-watch-login-dialog header button{border:0;background:none;color:#fff;font-size:24px}
.mc-page .mc-watch-login-body{padding:22px}
.mc-page .mc-watch-login-body p{margin:0 0 19px;color:#cdd3db}
.mc-page .mc-watch-login-button{background:#ff8500;color:#000;padding:9px 18px;display:inline-flex;border-radius:5px;font-weight:700}
.mc-page .mc-watch-toast{position:fixed;bottom:25px;right:25px;padding:10px 16px;border-radius:7px;background:#252930;border:1px solid #4e5663;color:#fff;z-index:6000;max-width:300px;box-shadow:0 6px 30px #000b}
.mc-page .xpf-w-modal .xhd-dialog{border-radius:10px}
.mc-page .xpf-w-modal .xpf-w-share-dialog,.mc-page .xpf-w-modal .xpf-w-report-dialog,.mc-page .xpf-w-modal .xpf-w-collection-dialog{background:#171a20}
.mc-page .xpf-cinema .mc-watch .mc-watch-container{max-width:none;padding:0}
body.xpf-cinema .mc-watch .mc-watch-player-section{position:fixed;inset:56px 0 0;z-index:1300;border-radius:0}
body.xpf-cinema .mc-watch .xpf-w-stage{aspect-ratio:auto;height:calc(100vh - 56px);border-radius:0}
@media(min-width:1536px){.mc-page .mc-watch .mc-watch-container{max-width:1710px}}
@media(max-width:1023px){.mc-page .mc-watch .mc-watch-container{width:94%;padding:0 8px 24px}.mc-watch .mc-watch-episode-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.mc-watch .mc-detail-recommend-track>.mc-featured-card{flex-basis:166px;width:166px;min-width:166px}}
@media(max-width:767px){.mc-page .mc-watch{padding-top:56px}.mc-page .mc-watch .mc-watch-container{width:100%;padding:0 10px 24px}.mc-watch .mc-watch-breadcrumb{font-size:11px;gap:6px;padding:12px 0 10px}.mc-watch .mc-watch-breadcrumb>span:last-child{max-width:130px}.mc-watch .mc-watch-callout{font-size:12px;padding:9px;min-height:38px}.mc-watch .xpf-w-start>span{font-size:11px}.mc-watch .xpf-w-play{width:46px;height:46px}.mc-watch .xpf-w-play svg{width:21px;height:21px}.mc-watch .mc-watch-server-hint{font-size:11px}.mc-watch .mc-watch-server-section{gap:6px}.mc-watch .xpf-w-source.mc-watch-server{min-width:auto;min-height:32px;font-size:11px;padding:6px 9px}.mc-watch .mc-watch-episode-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.mc-watch .mc-watch-episode-nav button{font-size:10px}.mc-watch .mc-detail-comment-avatar{display:none}.mc-watch .mc-detail-recommend-track>.mc-featured-card{min-width:145px;width:145px;flex-basis:145px}.mc-watch .mc-watch-summary-text{font-size:13px}.mc-watch .mc-detail-star,.mc-watch .mc-detail-star svg{height:20px;width:20px}.mc-watch .mc-detail-stars{gap:0}}
@media(max-width:420px){.mc-watch .mc-watch-episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mc-watch .mc-watch-section-top{flex-wrap:wrap}.mc-watch .mc-detail-comment-controls{flex-wrap:wrap}.mc-watch .mc-watch-share.mc-detail-social{gap:9px}}
@media(prefers-reduced-motion:reduce){.mc-watch *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* v5.1: reference-sized watch typography and crisp 1px focus border.
   Watch-only overrides: film detail and homepage styles stay untouched. */
@media(min-width:768px){
 .mc-page .mc-watch{font-size:16px;line-height:1.55}
 .mc-watch .mc-watch-breadcrumb{font-size:14px}
 .mc-watch .mc-watch-callout{font-size:16px;min-height:44px}
 .mc-watch .mc-watch-server-hint{font-size:14px}
 .mc-watch .mc-watch-server-hint svg{width:18px;height:18px}
 .mc-watch .xpf-w-source.mc-watch-server{font-size:14px;min-height:36px;padding:8px 13px}
 .mc-watch .mc-watch-share.mc-detail-social{font-size:14px}
 .mc-watch .mc-watch-share svg{width:20px;height:20px}
 .mc-watch .mc-watch-share a,.mc-watch .mc-watch-share button{min-width:25px;height:27px}
 .mc-watch .mc-watch-section-top h2,.mc-watch .mc-watch-rating-section>h2,.mc-watch .mc-watch-summary>h2{font-size:18px}
 .mc-watch .mc-watch-episode-nav button{font-size:13px}
 .mc-watch .mc-watch-season-row{font-size:14px}
 .mc-watch .mc-watch-episode-grid .xpf-w-episode{font-size:14px;height:35px}
 .mc-watch .mc-watch-extra-controls summary{font-size:14px}
 .mc-watch .mc-watch-setting-inner button{font-size:14px}
 .mc-watch .mc-detail-stars{gap:3px}
 .mc-watch .mc-detail-star,.mc-watch .mc-detail-star svg{width:24px;height:24px}
 .mc-watch .mc-detail-score-text{font-size:14px}
 .mc-watch .mc-detail-comments-header h2{font-size:18px}
 .mc-watch .mc-detail-comment-avatar{flex-basis:43px}
 .mc-watch .mc-detail-comment-avatar svg{width:42px;height:42px}
 .mc-watch .mc-detail-comment-compose textarea{min-height:112px;font-size:16px;line-height:1.55}
 .mc-watch .mc-detail-comment-pic{width:50px;height:50px;font-size:18px}
 .mc-watch .mc-detail-comment-top{gap:11px}
 .mc-watch .mc-detail-comment-author,.mc-watch .mc-detail-comment-text{font-size:16px}
 .mc-watch .mc-detail-comment-date{font-size:14px}
 .mc-watch .mc-detail-comment-actions button{font-size:13px}
 .mc-watch .mc-detail-comment-actions svg{width:17px;height:17px}
 .mc-watch .mc-detail-replies .mc-detail-comment-pic{width:40px;height:40px;font-size:16px}
 .mc-watch .mc-watch-summary-text{font-size:16px}
 .mc-watch .mc-watch-recommendations .mc-detail-section-head>h2{font-size:20px}
}
/* Single subdued hairline: prevent global focus-visible outlines/rings. */
.mc-page .mc-watch .mc-detail-comment-compose textarea:focus,
.mc-page .mc-watch .mc-detail-comment-compose textarea:focus-visible,
.mc-page .mc-watch .mc-detail-reply-form textarea:focus,
.mc-page .mc-watch .mc-detail-reply-form textarea:focus-visible{
 border:1px solid rgba(255,132,0,.55)!important;
 outline:none!important;outline-offset:0!important;box-shadow:none!important;
}
/* Progressive AJAX comment paging, matching the original rounded centered control. */
.mc-page .mc-watch .mc-detail-comment-pagination{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:45px;margin-top:22px}
.mc-page .mc-watch .mc-watch-comments-more{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:205px;min-height:44px;padding:10px 22px;white-space:nowrap;border:1px solid #363636;border-radius:999px;background:#0b0b0b;color:#f5f5f5;font-size:15px;font-weight:600;line-height:1.35;transition:border-color .18s,background .18s,color .18s}
.mc-page .mc-watch .mc-watch-comments-more:hover:not(:disabled){border-color:#ff870e;background:#18100a;color:#ff9b2d}
.mc-page .mc-watch .mc-watch-comments-more:focus-visible{outline:1px solid #ff870e;outline-offset:3px}
.mc-page .mc-watch .mc-watch-comments-more:disabled{cursor:wait;color:#d98b2d;border-color:#6e3d07;background:#191005}
.mc-watch-comments-spinner{display:inline-block;width:17px;height:17px;border:2px solid rgba(255,133,0,.25);border-top-color:#ff870e;border-radius:50%;animation:mc-watch-comment-spin .75s linear infinite;flex:none}
.mc-watch-comments-more-error{font-size:12px;color:#c89a70;text-align:center}
@keyframes mc-watch-comment-spin{to{transform:rotate(360deg)}}
@media(max-width:767px){
 .mc-page .mc-watch .mc-watch-comments-more{font-size:14px;min-height:42px;min-width:190px}
 .mc-watch .mc-detail-comment-compose textarea{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.mc-watch-comments-spinner{animation-duration:2s}}

.mc-page .mc-watch .mc-detail-comment-pagination:empty{min-height:0;margin-top:0}
