/*
Theme Name: Cinema Red Lite
Theme URI: https://example.com/
Author: Cinema Red Lite
Description: Lightweight responsive dark red video and photo WordPress theme.
Version: 2.5.18
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cinema-red-lite
License: GPL-2.0-or-later
*/
:root{--bg:#0c0d10;--panel:#17191f;--fg:#f5f5f6;--muted:#a6a7ad;--accent:#ec243a;--line:#2b2d35}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.6 system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}button,input,select{font:inherit}button{cursor:pointer}.wrap{width:min(1320px,calc(100% - 32px));margin:auto}.site-header{background:#131419;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.head-inner{display:flex;align-items:center;gap:26px;min-height:72px}.brand{font-weight:900;font-size:25px;letter-spacing:-.8px;white-space:nowrap}.brand b{color:var(--accent)}.custom-logo{max-height:46px;width:auto}.main-nav{flex:1}.main-nav ul{display:flex;gap:22px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.main-nav .current-menu-item>a,.main-nav .current-menu-ancestor>a{color:var(--accent)}.search-form{display:flex;gap:5px}.search-form input{min-width:0;width:180px;background:#242630;color:white;border:1px solid #383a45;border-radius:7px;padding:9px}.search-form button,.btn{border:0;background:var(--accent);color:white;border-radius:7px;padding:9px 14px;font-weight:700}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:26px 0 16px}.section-head h1,.section-head h2{font-size:23px;line-height:1.3;margin:0}.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.movie-card{min-width:0}.poster{display:block;aspect-ratio:16/10;background:#242630;border-radius:9px;overflow:hidden;position:relative}.poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.movie-card:hover img{transform:scale(1.04)}.pill{position:absolute;bottom:8px;right:8px;background:#090a0dcc;color:white;border-radius:4px;padding:2px 7px;font-size:11px}.movie-title{font-size:14px;font-weight:700;line-height:1.4;margin:8px 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.movie-meta{font-size:12px;color:var(--muted)}.pagination{display:flex;justify-content:center;gap:8px;margin:30px 0;flex-wrap:wrap}.pagination .page-numbers{padding:8px 13px;background:var(--panel);border-radius:6px}.pagination .current{background:var(--accent)}.single-article{max-width:1100px;margin:28px auto}.single-article h1{font-size:clamp(22px,3vw,32px);line-height:1.35;margin:0 0 8px}.player{aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden;margin:18px 0}.player iframe,.player video{width:100%;height:100%;border:0;display:block}.entry-content{overflow-wrap:anywhere}.entry-content iframe{max-width:100%}.tax-links{margin:15px 0}.tax-links a{display:inline-block;background:var(--panel);padding:5px 10px;border-radius:5px;margin:3px}.site-footer{border-top:1px solid var(--line);margin-top:50px;padding:26px 0;color:var(--muted)}.empty{padding:40px 0}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;width:1px;height:1px}.screen-reader-text:focus{position:static;width:auto;height:auto;clip:auto}.menu-toggle{display:none;background:#242630;border:0;color:white;padding:8px 12px;border-radius:5px}@media(max-width:1050px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.head-inner{flex-wrap:wrap;padding:12px 0;gap:12px}.main-nav{order:3;flex-basis:100%}}@media(max-width:720px){.wrap{width:min(100% - 24px,1320px)}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand{font-size:21px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;order:4}.main-nav.open{display:block}.main-nav ul{display:block}.main-nav li{padding:7px 0}.search-form{order:3;width:100%}.search-form input{width:100%;flex:1}.section-head h1,.section-head h2{font-size:20px}.movie-title{font-size:13px}.poster{aspect-ratio:16/10}}
/* Counter controls */
.crl-engagement{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 18px;color:var(--muted);font-size:14px}.crl-engagement button{border:1px solid var(--line);border-radius:8px;padding:7px 12px;background:var(--panel);color:var(--fg)}.crl-engagement button:hover{border-color:var(--accent)}.crl-engagement button:disabled{opacity:.65;cursor:default}.crl-vote-message{font-size:12px}

/* Version 1.2 */
.movie-card .pill:empty{display:none}
.movie-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px}
.crl-card-stats{display:flex;gap:9px;font-size:12px;white-space:nowrap}
.crl-post-images{margin-top:18px}.crl-post-images img{max-width:100%;height:auto}

/* Engagement immediately beneath video */
.single-article > .crl-engagement{margin:12px 0 20px}

/* Smart iframe viewing controls - version 1.4 */
.crl-smart-player{margin:10px 0 0}.crl-player-stage{width:100%;max-width:100%;transition:width .18s ease}.crl-player-stage .player{margin:0;aspect-ratio:16/9;width:100%;background:#000;overflow:hidden;border-radius:10px}.crl-player-stage iframe{width:100%;height:100%;border:0}

.crl-sort{display:flex;align-items:center;gap:8px}.crl-sort select,.crl-report select{background:#242630;color:#fff;border:1px solid #41444e;border-radius:7px;padding:8px}.crl-trending{margin:22px 0 34px}.crl-trending .section-head a{font-size:14px;color:var(--accent)}.crl-report{margin:8px 0 18px}.crl-report button{background:#22242a;color:#eee;border:1px solid #444;border-radius:7px;padding:7px 12px}.crl-report form{padding:12px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.crl-report form[hidden],.crl-recent[hidden]{display:none}.crl-recent{margin:30px 0}.crl-recent-items{display:grid}#crl-recent-items{display:flex;flex-wrap:wrap;gap:10px}#crl-recent-items a{padding:8px 12px;background:var(--panel);border-radius:8px;max-width:300px}@media(max-width:720px){.section-head{flex-wrap:wrap}.crl-sort{width:100%;justify-content:space-between}}

.crl2-watched .poster:after{content:"✓ Đã xem";position:absolute;bottom:8px;left:8px;background:#101010d9;color:#fff;font-size:11px;padding:3px 7px;border-radius:5px}
.crl2-actions,.crl2-backup{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.crl2-actions button,.crl2-actions a,.crl2-backup button{background:#22242a;color:#eee;border:1px solid #555;border-radius:7px;padding:9px 13px;text-decoration:none;cursor:pointer}
.crl2-series-links{display:flex;flex-wrap:wrap;gap:10px}.crl2-series-links a{background:#202127;border-radius:7px;padding:8px 12px}

.crl22-search{position:relative;max-width:380px;margin:8px 0}.crl22-search label{font-size:12px;display:block}.crl22-search input{width:100%;padding:10px;background:#202127;color:white;border:1px solid #555;border-radius:8px}#crl22-suggest{position:absolute;top:100%;left:0;right:0;z-index:20;background:#22232a;box-shadow:0 10px 20px #0008}#crl22-suggest a{display:block;padding:10px;border-bottom:1px solid #444;color:white}.crl22-period{display:inline-flex;margin:8px}.crl22-period select{padding:7px;background:#222;color:#fff;border-radius:7px}.crl22-flag{position:absolute;top:7px;right:7px;font-size:11px;padding:3px 6px;border-radius:4px;color:white}.crl22-new{background:#b91c1c}.crl22-hot{background:#9a3412;top:30px}.crl22-ad{margin:12px 0}#crl22-more{display:block;margin:20px auto;padding:12px 28px;background:#b91c1c;color:#fff;border:0;border-radius:8px;cursor:pointer}.crl22-topics{margin:15px 0}.crl22-topics a{margin:0 6px}

#crl23-grid{background:#24252b;color:#fff;border:1px solid #555;border-radius:8px;padding:8px 12px;cursor:pointer}
.crl23-list .cards{display:block}.crl23-list .movie-card{display:grid;grid-template-columns:minmax(110px,200px) 1fr;gap:10px;margin-bottom:12px}.crl23-list .movie-card .poster{grid-row:span 2}.crl23-list .movie-meta{align-self:start}
.crl23-player-help{padding:10px;color:#eee}.crl23-player-help[hidden]{display:none}.crl23-player-help button{background:#303039;color:white;border:1px solid #666;padding:6px;border-radius:6px}
.crl23-tag-related{margin-top:24px}

.movie-card .poster{position:relative}

/* v2.5.6: fixed grid layout, no list toggle or period filter. */

/* Keep thumbnail and player layout stable while images load. */
.movie-card .poster img{aspect-ratio:420/263;object-fit:cover}
.crl-player-stage iframe{aspect-ratio:16/9;max-width:100%}

/* Next episode card */
.crl-next-part{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#121318;border:2px solid #ec243a;border-radius:12px;padding:18px 20px;margin:18px 0 22px;color:#fff}
.crl-next-info{flex:1 1 240px}.crl-next-info span{font-size:12px;color:#b4b6c0}.crl-next-info h2{font-size:22px;color:#fff;margin:7px 0}.crl-next-info p{font-size:14px;color:#bbb;margin:0}
.crl-next-actions{display:flex;gap:10px;flex-wrap:wrap}.crl-next-watch,.crl-next-copy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:8px;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}.crl-next-watch{background:#ec243a;color:#fff!important;border:1px solid #ec243a}.crl-next-copy{background:transparent;color:#fff;border:1px solid #777d91}
@media(max-width:600px){.crl-next-part{padding:14px}.crl-next-info h2{font-size:19px}.crl-next-actions{width:100%}.crl-next-actions>*{flex:1 1 130px}}

/* Tip beside video error report */
.crl-reload-hint{display:inline-block;margin-left:10px;font-size:13px;color:#fff;font-weight:700;background:#9f1828;padding:8px 12px;border-radius:6px;vertical-align:middle;line-height:1.5}
@media(max-width:600px){.crl-reload-hint{font-size:12px;margin-left:8px}}

/* Prominent reload action next to the video-error button */
.crl-report a.crl-reload-hint,
.crl-report a.crl-reload-hint:visited {
 display:inline-flex!important;align-items:center!important;
 background:#b91c32!important;color:#fff!important;
 font-weight:800!important;font-size:14px!important;
 border:1px solid #e8455b!important;border-radius:7px!important;
 padding:10px 14px!important;text-decoration:none!important;
 margin-left:10px!important;line-height:1.4!important;
 box-shadow:0 2px 8px rgba(0,0,0,.25)!important;
}
.crl-report a.crl-reload-hint:hover,
.crl-report a.crl-reload-hint:focus {background:#e11d48!important;color:#fff!important;}
@media(max-width:600px){.crl-report a.crl-reload-hint{margin:8px 0 0!important;font-size:13px!important;}}

/* Reload hint: smaller font and distinct separation from report button */
.crl-report a.crl-reload-hint{font-size:11.2px!important;margin-left:18px!important;}
@media(max-width:600px){.crl-report a.crl-reload-hint{font-size:11.2px!important;margin-left:12px!important;margin-top:8px!important;}}

/* Hide video time readouts; retain seek bar and TVC skip countdown. */
.crl-mp4-clock,.plyr__time,.plyr__controls__item.plyr__time{display:none!important}

/* Recent searches and hot tags */
.crl-discovery{margin:20px 0 8px;display:grid;gap:14px}.crl-discovery-recent,.crl-discovery-hot{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:13px 16px}.crl-discovery-recent[hidden]{display:none}.crl-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.crl-discovery-heading strong{font-size:15px}.crl-discovery-heading button{background:none;border:0;color:var(--muted);font-size:13px;padding:2px 4px}.crl-discovery-heading button:hover{color:var(--accent)}.crl-discovery-chips{display:flex;gap:8px;flex-wrap:wrap}.crl-discovery-chips a{display:inline-block;max-width:100%;overflow-wrap:anywhere;background:#262831;border:1px solid #373943;color:#e7e7ec;border-radius:20px;padding:5px 12px;font-size:13px;line-height:1.5}.crl-discovery-chips a:hover{border-color:var(--accent);color:#fff}.crl-discovery-chips .crl-hot-chip{background:#321c23;border-color:#63303b;color:#ffb8c2}@media(max-width:720px){.crl-discovery{margin-top:14px;gap:10px}.crl-discovery-recent,.crl-discovery-hot{padding:12px}.crl-discovery-chips{gap:7px}.crl-discovery-chips a{font-size:12px;padding:5px 10px}}

/* Discovery area inside the footer */
.site-footer .crl-discovery{margin:0 0 18px;text-align:left}.site-footer .crl-footer-copyright{text-align:center}

/* Footer discovery: shared searches and popular tags */
.site-footer .crl-discovery{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 24px;text-align:left}
.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{background:linear-gradient(145deg,#1c1e26,#15161c);border:1px solid #353741;border-radius:14px;padding:20px;min-width:0;box-shadow:0 5px 20px #0002}
.site-footer .crl-discovery-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid #353741}
.site-footer .crl-discovery-heading strong{color:#fff;font-size:17px;line-height:1.4}
.site-footer .crl-discovery-icon{color:#ff5265;font-size:21px;vertical-align:-1px;margin-right:5px}
.site-footer .crl-discovery-subtitle{font-size:12px;color:#a7aab5}
.site-footer .crl-discovery-chips{display:flex;flex-wrap:wrap;gap:9px}
.site-footer .crl-discovery-chips a{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;border-radius:8px;padding:8px 12px;font-size:13px;line-height:1.45;transition:background .15s,border-color .15s,transform .15s}
.site-footer .crl-search-chip{background:#292c36;border:1px solid #414551;color:#e9eaf0}
.site-footer .crl-hot-chip{background:#3a2028;border:1px solid #693340;color:#ffccd2;font-weight:600}
.site-footer .crl-discovery-chips a:hover{background:#ab2538;border-color:#f04b61;color:white;transform:translateY(-1px)}
.site-footer .crl-discovery-empty{font-size:13px;color:#a7aab5}
@media(max-width:760px){.site-footer .crl-discovery{grid-template-columns:1fr;gap:12px}.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{padding:15px}.site-footer .crl-discovery-heading strong{font-size:16px}.site-footer .crl-discovery-chips a{padding:7px 10px;font-size:12px}}

/* Footer: clear individual keyword boxes and comma separators */
.site-footer .crl-discovery{gap:20px;margin-bottom:26px}
.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{border:2px solid #454955;border-radius:14px;padding:20px;background:#191b23;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.site-footer .crl-discovery-chips{display:flex;flex-wrap:wrap;align-items:center;gap:10px 8px}
.site-footer .crl-discovery-chips a.crl-search-chip,.site-footer .crl-discovery-chips a.crl-hot-chip{display:inline-flex;align-items:center;min-height:36px;padding:8px 13px;border-radius:7px;border:1px solid #596070;background:#292e3a;color:#f2f3f6;font-size:13px;font-weight:600;line-height:1.45;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.site-footer .crl-discovery-chips a.crl-hot-chip{background:#38222a;border-color:#a04456;color:#ffd9df}
.site-footer .crl-discovery-chips a.crl-search-chip:hover,.site-footer .crl-discovery-chips a.crl-hot-chip:hover{background:#b52840;border-color:#ff627b;color:#fff}
/* Commas are visible between boxed items, not part of the clickable keyword. */
.site-footer .crl-discovery-chips a:not(:last-of-type)::after{content:",";position:relative;left:17px;margin-right:5px;color:#c8cbd4;font-weight:700;pointer-events:none}
.site-footer .crl-discovery-chips a:not(:last-of-type){margin-right:10px}
@media(max-width:760px){.site-footer .crl-discovery{gap:14px}.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{padding:14px}.site-footer .crl-discovery-chips{gap:9px 7px}.site-footer .crl-discovery-chips a.crl-search-chip,.site-footer .crl-discovery-chips a.crl-hot-chip{min-height:34px;padding:7px 10px;font-size:12px}}


/* Footer discovery demo layout - v2.5.8 */
.site-footer .crl-discovery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;margin:0 0 28px!important;text-align:left!important}
.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{display:block!important;min-width:0!important;background:#111317!important;border:1px solid #d32638!important;border-radius:16px!important;padding:24px!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important}
.site-footer .crl-discovery-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;border-bottom:1px solid #34363c!important;padding-bottom:16px!important;margin-bottom:18px!important}
.site-footer .crl-discovery-heading strong{font-size:clamp(18px,2vw,25px)!important;font-weight:800!important;color:#fff!important}
.site-footer .crl-discovery-icon{font-size:26px!important;color:#ff344b!important;margin-right:8px!important}
.site-footer .crl-discovery-subtitle{font-size:12px!important;color:#a7a9b1!important}
.site-footer .crl-discovery-chips{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important}
.site-footer .crl-discovery-chips a.crl-search-chip,.site-footer .crl-discovery-chips a.crl-hot-chip{position:relative!important;display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-height:40px!important;margin:0!important;padding:8px 15px!important;white-space:normal!important;overflow-wrap:anywhere!important;border-radius:22px!important;text-decoration:none!important;font-size:14px!important;line-height:1.45!important;box-shadow:none!important;transition:background .2s,border-color .2s!important}
.site-footer .crl-discovery-chips a.crl-search-chip{background:#17191d!important;border:1px solid #6c7079!important;color:#f2f2f4!important;font-weight:500!important}
.site-footer .crl-discovery-chips a.crl-search-chip::before{content:'⌕';font-size:21px;line-height:12px;color:#c5c7cd;margin-right:7px}
.site-footer .crl-discovery-chips a.crl-hot-chip{background:#30151b!important;border:1px solid #ed3045!important;color:#fff!important;font-weight:700!important}
.site-footer .crl-discovery-chips a.crl-hot-chip:hover,.site-footer .crl-discovery-chips a.crl-search-chip:hover{background:#ad2438!important;border-color:#ff5b6e!important;color:white!important}
.site-footer .crl-discovery-chips a::after{content:none!important;display:none!important}
.site-footer .crl-footer-copyright{border-top:1px solid #303239!important;padding-top:18px!important;text-align:left!important}
@media(max-width:760px){.site-footer .crl-discovery{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.site-footer .crl-discovery-recent,.site-footer .crl-discovery-hot{padding:16px!important}.site-footer .crl-discovery-chips{gap:9px!important}.site-footer .crl-discovery-chips a.crl-search-chip,.site-footer .crl-discovery-chips a.crl-hot-chip{font-size:12px!important;min-height:34px!important;padding:7px 11px!important}}

/* Episode and album thumbnail grids */
.crl-episode-section{margin:24px 0;padding:18px;border:1px solid #363943;border-radius:12px;background:#16181f}
.crl-episode-section h2{font-size:20px;margin:0 0 16px;color:#fff}
.crl-episode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.crl-episode-card{display:flex;flex-direction:column;position:relative;min-width:0;padding:8px;border:1px solid #343943;border-radius:10px;background:#20232c;color:#fff;text-decoration:none!important;gap:6px}
.crl-episode-card:hover,.crl-episode-card.is-current{border-color:#e33a51;background:#2b2029}
.crl-episode-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;overflow:hidden;border-radius:7px;background:#30343e;color:#e53a51;font-size:26px}
.crl-episode-image img{width:100%;height:100%;object-fit:cover;display:block}
.crl-episode-title{font-size:13px;font-weight:700;line-height:1.45;overflow-wrap:anywhere;color:#fff}
.crl-episode-number{font-size:12px;color:#f18b9b}
.crl-episode-current{position:absolute;top:13px;left:13px;padding:4px 7px;background:#c5263d;border-radius:4px;color:#fff;font-size:11px;font-weight:700}
@media(max-width:850px){.crl-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.crl-episode-section{padding:12px}.crl-episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.crl-episode-card{padding:6px}.crl-episode-title{font-size:12px}}

/* Cinema Red Lite v2.5.12 — premium episode/album cards */
.crl-episode-section{margin:26px 0;padding:22px;border:1px solid #30313b;border-radius:18px;background:linear-gradient(145deg,#1b1c24,#111218);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.crl-episode-section h2{display:flex;align-items:center;gap:10px;margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid #34343d;color:#fafafa;font-size:clamp(17px,2vw,22px);font-weight:800;line-height:1.4}
.crl-episode-section h2::before{content:'';display:block;flex:0 0 4px;width:4px;height:23px;border-radius:5px;background:#f13d54;box-shadow:0 0 12px #ed36534a}
.crl-episode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.crl-episode-card{display:flex;flex-direction:column;position:relative;min-width:0;gap:0;padding:0;overflow:hidden;border:1px solid #333641;border-radius:13px;background:#20212a;color:#fff;text-decoration:none!important;box-shadow:0 5px 16px #0003;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}
.crl-episode-card:hover{transform:translateY(-4px);border-color:#ef425a;background:#29212b;box-shadow:0 12px 25px #0006}
.crl-episode-card.is-current{border:2px solid #ff405a;background:#2a1d27;box-shadow:0 0 0 2px #ff405a20,0 8px 22px #0004}
.crl-episode-image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;width:100%;overflow:hidden;border-radius:0;background:linear-gradient(135deg,#353743,#20212b);color:#ff5269;font-size:30px}
.crl-episode-image::after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0007);pointer-events:none}
.crl-episode-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,filter .25s ease}
.crl-episode-card:hover .crl-episode-image img{transform:scale(1.06);filter:brightness(.9)}
.crl-episode-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;margin:11px 12px 5px;font-size:13px;font-weight:750;line-height:1.45;color:#f5f5f7;overflow-wrap:anywhere}
.crl-episode-number{align-self:flex-start;order:-1;position:absolute;top:10px;right:10px;z-index:2;padding:5px 10px;border:1px solid #ffffff38;border-radius:7px;background:#111b;color:#fff;font-size:11px;font-weight:800;line-height:1.2;backdrop-filter:blur(6px)}
.crl-episode-card.is-current .crl-episode-number{background:#e7354e;border-color:#e7354e}
.crl-episode-current{position:absolute;z-index:3;top:10px;left:10px;padding:5px 9px;border-radius:7px;background:#f13d54;color:#fff;font-size:11px;font-weight:800;box-shadow:0 3px 10px #0006}
.crl-episode-card::after{content:'Xem phần này ›';display:block;margin:0 12px 12px;font-size:11px;font-weight:700;color:#fa788b}
.crl-episode-card.is-current::after{content:'● Đang phát';color:#ff657c}
@media(max-width:900px){.crl-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}}
@media(max-width:600px){.crl-episode-section{padding:13px;margin:18px 0;border-radius:13px}.crl-episode-section h2{margin-bottom:13px;padding-bottom:11px}.crl-episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crl-episode-card{border-radius:10px}.crl-episode-title{font-size:12px;margin:9px 9px 5px}.crl-episode-number{top:7px;right:7px;padding:4px 7px;font-size:10px}.crl-episode-current{top:7px;left:7px;padding:4px 6px;font-size:10px}.crl-episode-card::after{margin:0 9px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.crl-episode-card,.crl-episode-image img{transition:none}.crl-episode-card:hover{transform:none}.crl-episode-card:hover .crl-episode-image img{transform:none}}

/* v2.5.14 — episode gallery directly below player */
.single-article > .crl-episode-section{width:100%;margin:16px 0 22px;padding:18px;background:#15161d;border:1px solid #30313c;border-radius:14px;box-shadow:0 8px 28px #0003}
.single-article > .crl-episode-section h2{font-size:19px;font-weight:800;color:#fff;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #33343e;line-height:1.4}
.single-article > .crl-episode-section .crl-episode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.single-article .crl-episode-grid > .crl-episode-card{position:relative;display:block;min-width:0;overflow:hidden;padding:0;margin:0;border:1px solid #363744;border-radius:11px;background:#20212a;color:#fff;box-shadow:0 3px 10px #0004;text-decoration:none!important;transition:border-color .2s,transform .2s,box-shadow .2s}
.single-article .crl-episode-grid > .crl-episode-card:hover{border-color:#f13d54;transform:translateY(-3px);box-shadow:0 7px 20px #0007}
.single-article .crl-episode-grid > .crl-episode-card.is-current{border:2px solid #ff334f;box-shadow:0 0 0 2px #ff334f22,0 6px 20px #0005}
.single-article .crl-episode-image{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;position:relative;background:#282a34;border-radius:0}
.single-article .crl-episode-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.single-article .crl-episode-card:hover img{transform:scale(1.05)}
.single-article .crl-episode-image:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#0009)}
.single-article .crl-episode-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:9px 10px 10px;min-height:2.8em;font-size:13px;font-weight:700;line-height:1.4;color:#f7f7f9}
.single-article .crl-episode-number{position:absolute;top:8px;right:8px;z-index:2;display:block;padding:4px 8px;background:#101015dd;border:1px solid #ffffff38;border-radius:6px;color:#fff;font-size:11px;font-weight:800}
.single-article .crl-episode-current{position:absolute;top:8px;left:8px;z-index:3;padding:4px 8px;background:#e92643;border-radius:6px;color:#fff;font-size:11px;font-weight:800}
.single-article .crl-episode-card:after{display:none}
@media(max-width:900px){.single-article > .crl-episode-section .crl-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.single-article > .crl-episode-section{padding:11px;margin:12px 0 18px;border-radius:11px}.single-article > .crl-episode-section h2{font-size:16px;margin-bottom:12px}.single-article > .crl-episode-section .crl-episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.single-article .crl-episode-title{font-size:12px;margin:7px 8px 9px}.single-article .crl-episode-number,.single-article .crl-episode-current{font-size:10px;padding:3px 6px;top:6px}.single-article .crl-episode-number{right:6px}.single-article .crl-episode-current{left:6px}}

/* CPU minimal: related cards */
.crl-min-related{margin:22px 0}.crl-min-related h2{margin:0 0 15px}.crl-min-related .cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}@media(max-width:750px){.crl-min-related .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
