:root{--bg:#0e0f13;--panel:#171920;--panel2:#20232c;--text:#f7f8fb;--muted:#aab0bf;--pink:#f16c8a;--pink2:#ff91aa;--yellow:#ffd86b;--line:#2b2f39;--ok:#43d17d;--danger:#ff6b6b;--shadow:0 16px 45px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:radial-gradient(circle at 90% -10%,rgba(241,108,138,.12),transparent 30%),var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 28px));margin:auto}.header{position:sticky;top:0;z-index:30;background:rgba(14,15,19,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{min-height:72px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;white-space:nowrap}.brand img{width:46px;height:46px;border-radius:14px;object-fit:cover;border:2px solid rgba(255,216,107,.5);box-shadow:0 7px 20px rgba(0,0,0,.24)}.brand span b{color:var(--yellow)}.links{display:flex;gap:18px;color:#d9dce5;font-size:14px}.links a:hover{color:var(--yellow)}.search{margin-left:auto;display:flex;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:0 12px;min-width:280px}.search input{width:100%;background:transparent;border:0;outline:0;color:var(--text);padding:12px}.hero{margin-top:26px;min-height:370px;border-radius:26px;padding:40px;display:flex;align-items:end;position:relative;overflow:hidden;background:linear-gradient(115deg,rgba(241,108,138,.92),rgba(12,13,17,.28)),url('assets/logo-original.jpg') center 37%/cover;box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,15,19,.96),transparent 68%)}.hero-content{position:relative;z-index:2;max-width:650px}.eyebrow{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px;font-weight:900;letter-spacing:.04em}.hero h1{font-size:clamp(36px,5vw,64px);margin:10px 0 8px;line-height:.98;letter-spacing:-.035em}.hero p{color:#f6dfe5;max-width:580px;line-height:1.65}.hero-actions,.row-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border:0;border-radius:12px;padding:12px 18px;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn-primary{background:var(--yellow);color:#191919}.btn-primary:hover{filter:brightness(1.04)}.btn-secondary{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.16)}.btn-danger{background:rgba(255,107,107,.12);color:#ffb0b0;border:1px solid rgba(255,107,107,.25)}.btn:disabled{opacity:.45;cursor:not-allowed}.section{margin:34px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}.section h2{font-size:23px;margin:0}.section small,.muted{color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.chip{padding:9px 13px;border:1px solid var(--line);background:var(--panel);color:#e7e9f0;border-radius:999px;cursor:pointer}.chip.active{background:var(--pink);border-color:var(--pink);color:white}.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s;min-width:0}.card:hover{transform:translateY(-4px);border-color:#4a5061;box-shadow:0 15px 35px rgba(0,0,0,.18)}.poster{aspect-ratio:2/3;background:linear-gradient(160deg,#303442,#15171d);position:relative;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover;display:block}.badge{position:absolute;left:9px;bottom:9px;background:rgba(14,15,19,.86);backdrop-filter:blur(7px);padding:6px 8px;border-radius:8px;font-size:11px;font-weight:850}.card-body{padding:12px}.card-title{font-weight:850;line-height:1.3;min-height:42px;overflow:hidden}.meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin-top:9px}.empty{padding:30px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px;background:rgba(255,255,255,.015)}.footer{border-top:1px solid var(--line);margin-top:46px;padding:28px 0;color:var(--muted);font-size:13px}.footer .container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-links{display:flex;gap:14px}.detail{display:grid;grid-template-columns:270px 1fr;gap:30px;margin-top:30px;align-items:start}.detail .cover{border-radius:22px;overflow:hidden;aspect-ratio:2/3;background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow)}.detail .cover img{width:100%;height:100%;object-fit:cover}.detail h1{font-size:42px;margin:5px 0 10px;letter-spacing:-.025em}.tags{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}.tag{padding:7px 10px;background:var(--panel2);border:1px solid var(--line);border-radius:999px;color:#d8dce6;font-size:13px}.episode-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.ep{background:var(--panel);border:1px solid var(--line);padding:10px;border-radius:10px;text-align:center;cursor:pointer}.ep:hover,.ep.active{background:var(--pink);border-color:var(--pink)}.player{aspect-ratio:16/9;background:#030303;border-radius:18px;overflow:hidden;border:1px solid var(--line);display:grid;place-items:center}.player iframe{width:100%;height:100%;border:0}.watch-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.checkpoint{margin:18px 0;padding:20px;background:linear-gradient(135deg,rgba(241,108,138,.16),rgba(255,216,107,.07));border:1px solid rgba(241,108,138,.31);border-radius:18px}.gate{text-align:center;padding:34px 20px}.gate h2{margin:6px 0 8px}.gate-count{font-size:38px;font-weight:950;color:var(--yellow);margin:10px 0}.donate-grid{display:grid;grid-template-columns:170px 1fr;gap:20px;align-items:center}.donate-qr{width:170px;height:170px;border-radius:16px;background:#fff;object-fit:contain;padding:7px}.admin{display:grid;grid-template-columns:220px 1fr;gap:20px;margin-top:24px}.sidebar{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:12px;height:max-content;position:sticky;top:92px}.sidebar button{display:block;width:100%;text-align:left;padding:11px;border:0;border-radius:10px;color:#d9dce5;background:transparent;cursor:pointer}.sidebar button.active,.sidebar button:hover{background:var(--panel2);color:#fff}.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 12px 36px rgba(0,0,0,.10)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800;color:#dfe2eb}.field input,.field select,.field textarea{background:#101218;border:1px solid var(--line);color:var(--text);border-radius:11px;padding:11px;outline:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:#5e6578}.checkline{display:flex;align-items:center;gap:9px;color:#dfe2eb}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;vertical-align:top}.table th{color:#cdd1dc;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ok);margin-right:6px}.status-dot.off{background:#697080}.login-wrap{min-height:65vh;display:grid;place-items:center}.login-card{width:min(460px,100%);background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:24px}.notice{padding:14px 16px;border-radius:14px;background:rgba(255,216,107,.08);border:1px solid rgba(255,216,107,.25);color:#f4e5af}.notice.error{background:rgba(255,107,107,.08);border-color:rgba(255,107,107,.26);color:#ffc0c0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#111319;border:1px solid var(--line);border-radius:15px;padding:16px}.stat b{display:block;font-size:27px;margin-top:6px}.kbd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#0d0f14;border:1px solid var(--line);border-radius:8px;padding:2px 6px}.codebox{white-space:pre-wrap;word-break:break-all;background:#0d0f14;border:1px solid var(--line);padding:14px;border-radius:14px;color:#dbe0eb;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.steps{counter-reset:step;display:grid;gap:12px}.step{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}.step:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--yellow);color:#141414;font-weight:900}.toast{position:fixed;right:18px;bottom:18px;z-index:100;background:#20242d;border:1px solid var(--line);color:#fff;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.toast.error{border-color:rgba(255,107,107,.45)}.hidden{display:none!important}
@media(max-width:1000px){.grid{grid-template-columns:repeat(4,1fr)}.episode-grid{grid-template-columns:repeat(8,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.links{display:none}.search{min-width:0}.grid{grid-template-columns:repeat(3,1fr)}.detail{grid-template-columns:190px 1fr}.episode-grid{grid-template-columns:repeat(6,1fr)}.admin{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;gap:4px;position:static}.sidebar button{white-space:nowrap;width:auto}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container{width:min(100% - 18px,1180px)}.nav{min-height:64px;gap:10px}.brand span{font-size:16px}.brand img{width:40px;height:40px}.search{display:none}.hero{min-height:330px;padding:22px;border-radius:18px}.hero h1{font-size:39px}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.card{border-radius:14px}.detail{grid-template-columns:1fr}.detail .cover{width:58%;margin:auto}.detail h1{font-size:31px}.episode-grid{grid-template-columns:repeat(5,1fr)}.watch-head{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.donate-grid{grid-template-columns:1fr}.donate-qr{width:150px;height:150px}.footer .container{display:block}.footer-links{margin-top:10px}}

/* ===== V4 polish ===== */
.container{width:min(1440px,calc(100% - 36px))}
.hero{min-height:300px;padding:34px 40px;margin-top:22px}
.hero h1{font-size:clamp(34px,4.3vw,56px)}
.section{margin:28px 0}
.grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.card-title{min-height:40px}
.admin{grid-template-columns:230px minmax(0,1fr)}
.panel{padding:20px}
.poster-preview-wrap{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.poster-preview{width:120px;aspect-ratio:2/3;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#101218;display:grid;place-items:center;color:var(--muted);font-size:12px}
.poster-preview img{width:100%;height:100%;object-fit:cover;display:block}
.upload-box{flex:1;min-width:240px;border:1px dashed #444b5b;border-radius:14px;padding:16px;background:#111319}
.upload-box input[type=file]{width:100%;padding:9px;background:#0e1015;border:1px solid var(--line);border-radius:10px;color:var(--muted)}
.upload-help{font-size:12px;color:var(--muted);line-height:1.55;margin-top:8px}
.bulk-box{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#111319}
.bulk-box textarea{min-height:170px;resize:vertical}
.inline-fields{display:grid;grid-template-columns:170px 1fr;gap:12px;align-items:end}
.thumb{width:48px;height:68px;border-radius:8px;object-fit:cover;border:1px solid var(--line);vertical-align:middle;margin-right:10px;background:#111319}
.movie-cell{display:flex;align-items:center;min-width:230px}
.small-note{font-size:12px;color:var(--muted);line-height:1.5}
.divider{height:1px;background:var(--line);margin:18px 0}
.progress-line{font-size:12px;color:var(--yellow);margin-top:8px;min-height:18px}
.preview-link{font-size:12px;color:var(--yellow);word-break:break-all}
.stat b.compact{font-size:21px}

@media(max-width:1250px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.container{width:min(100% - 24px,1440px)}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin{grid-template-columns:1fr}.inline-fields{grid-template-columns:1fr}}
@media(max-width:600px){.container{width:min(100% - 18px,1440px)}.hero{min-height:285px;padding:22px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.poster-preview{width:96px}.panel{padding:15px}}
.mobile-search-wrap{display:none;margin-top:14px}.mobile-search{display:flex!important;width:100%;min-width:0;margin:0}.mobile-search input{padding:13px}
@media(max-width:600px){.mobile-search-wrap{display:block}.filters{margin-top:14px}}


/* ===== V5 cinematic featured hero ===== */
.cinema-hero{margin-top:0;min-height:590px;position:relative;overflow:hidden;border-radius:0 0 28px 28px;background:#0a0b0f;box-shadow:0 22px 58px rgba(0,0,0,.28);isolation:isolate}
.cinema-hero-bg{position:absolute;inset:0;background-image:var(--hero-bg);background-size:cover;background-position:center 28%;transform:scale(1.01);z-index:-3}
.cinema-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(5,6,9,.98) 0%,rgba(5,6,9,.83) 31%,rgba(5,6,9,.34) 59%,rgba(5,6,9,.12) 100%),linear-gradient(0deg,rgba(14,15,19,1) 0%,rgba(14,15,19,.12) 36%,rgba(14,15,19,.2) 100%)}
.cinema-hero-content{position:absolute;left:clamp(28px,4.5vw,72px);bottom:70px;max-width:650px;z-index:2}
.cinema-brand-kicker{font-size:12px;font-weight:900;letter-spacing:.08em;color:var(--pink2);margin-bottom:16px}
.cinema-hero h1{font-size:clamp(42px,6vw,82px);line-height:.95;letter-spacing:-.045em;margin:0 0 18px;text-wrap:balance;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.cinema-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.hero-pill{display:inline-flex;align-items:center;min-height:31px;padding:6px 10px;border-radius:8px;background:rgba(13,15,20,.74);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(10px);font-size:13px;font-weight:750}.hero-pill-soft{background:rgba(255,255,255,.1)}.hero-pill-accent{background:var(--yellow);color:#141414;border-color:transparent}
.cinema-hero p{font-size:18px;line-height:1.6;color:#d8dbe3;max-width:620px;margin:0 0 22px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 20px rgba(0,0,0,.45)}
.cinema-actions{display:flex;gap:12px;flex-wrap:wrap}.cinema-play{background:var(--pink2);color:#1d0f16;border-radius:999px;padding:15px 24px;font-size:16px}.cinema-info{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:15px 22px}
.hero-thumbs{position:absolute;right:28px;bottom:26px;display:flex;gap:10px;z-index:3;max-width:46%;justify-content:flex-end}.hero-thumb{width:92px;height:58px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:11px;overflow:hidden;background:#111;cursor:pointer;position:relative;transition:.2s;box-shadow:0 8px 20px rgba(0,0,0,.24)}.hero-thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.74}.hero-thumb span{position:absolute;inset:auto 5px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:9px;text-align:left;text-shadow:0 1px 6px #000}.hero-thumb:hover,.hero-thumb.active{transform:translateY(-4px);border-color:var(--pink2)}.hero-thumb.active img{opacity:1}.hero-loading{min-height:420px;display:grid;place-items:center;color:var(--muted)}
.backdrop-preview-wrap{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}.backdrop-preview{width:min(440px,100%);aspect-ratio:16/9;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#101218;display:grid;place-items:center;color:var(--muted);font-size:12px}.backdrop-preview img{width:100%;height:100%;object-fit:cover;display:block}

/* Header closer to a streaming catalog */
.header .nav{gap:20px}.header .brand{font-size:22px}.header .search{order:1;margin-left:8px;min-width:330px;max-width:440px;flex:1}.header .links{order:2;margin-left:auto;font-weight:650}.header .brand{order:0}

@media(max-width:1000px){.cinema-hero{min-height:520px}.cinema-hero-content{bottom:92px}.hero-thumbs{left:24px;right:24px;bottom:22px;max-width:none;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}.hero-thumb{flex:0 0 82px}.header .search{display:none}.header .links{margin-left:auto}}
@media(max-width:700px){.cinema-hero{min-height:540px;border-radius:0 0 20px 20px}.cinema-hero-bg{background-position:center top}.cinema-hero-shade{background:linear-gradient(0deg,rgba(5,6,9,.99) 0%,rgba(5,6,9,.9) 39%,rgba(5,6,9,.22) 80%),linear-gradient(90deg,rgba(5,6,9,.45),transparent)}.cinema-hero-content{left:20px;right:20px;bottom:105px;max-width:none}.cinema-hero h1{font-size:clamp(36px,10vw,52px)}.cinema-hero p{font-size:15px;-webkit-line-clamp:2}.hero-thumbs{left:20px;right:20px}.hero-thumb{width:74px;height:48px}.hero-thumb span{display:none}.cinema-play,.cinema-info{padding:12px 18px}.header .links{display:none}}

/* ===== V6 catalog navigation + advanced search ===== */
.catalog-links{display:flex;align-items:center;gap:2px;overflow:visible}.catalog-links>a,.nav-dropdown-toggle{display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:0 10px;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:650;white-space:nowrap;cursor:pointer;border-radius:10px}.catalog-links>a:hover,.nav-dropdown-toggle:hover,.nav-dropdown.open>.nav-dropdown-toggle{background:rgba(255,255,255,.06);color:#fff}.nav-chevron{font-size:13px;color:var(--muted);transition:.18s}.nav-dropdown.open .nav-chevron{transform:rotate(180deg)}.nav-dropdown{position:relative}.nav-dropdown-menu{position:absolute;top:calc(100% + 10px);left:0;z-index:130;display:none;width:230px;max-height:390px;overflow-y:auto;padding:8px;background:rgba(18,20,26,.98);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 52px rgba(0,0,0,.42);backdrop-filter:blur(16px)}.nav-dropdown.open>.nav-dropdown-menu,.nav-dropdown.open>.advanced-search-panel{display:block}.nav-dropdown-menu a{display:flex;align-items:center;gap:9px;padding:10px 11px;color:#e9ebf2;border-radius:9px;font-size:13px}.nav-dropdown-menu a:hover{background:#242833;color:#fff}.nav-menu-all{color:var(--yellow)!important;font-weight:800;border-bottom:1px solid var(--line);margin-bottom:5px}.nav-menu-loading{padding:10px 11px;color:var(--muted);font-size:12px}.advanced-dropdown{position:relative}.advanced-toggle{color:#f3d7e3}.advanced-search-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:140;display:none;width:min(540px,calc(100vw - 28px));padding:18px;background:rgba(18,20,26,.99);border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 64px rgba(0,0,0,.5);backdrop-filter:blur(20px)}.advanced-search-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--line)}.advanced-search-head b{display:block;font-size:18px}.advanced-search-head small{display:block;color:var(--muted);margin-top:4px}.advanced-close{border:0;background:#242833;color:#fff;width:32px;height:32px;border-radius:9px;font-size:21px;cursor:pointer}.advanced-section{padding-top:15px}.advanced-label{font-weight:800;font-size:13px;margin-bottom:10px}.advanced-options{display:flex;flex-wrap:wrap;gap:8px;max-height:172px;overflow-y:auto;padding-right:4px}.filter-check{position:relative;cursor:pointer}.filter-check input{position:absolute;opacity:0;pointer-events:none}.filter-check span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid #363b48;border-radius:999px;background:#171a21;color:#d9dce5;font-size:12px;transition:.16s}.filter-check input:checked+span{background:rgba(255,216,107,.14);border-color:var(--yellow);color:var(--yellow);box-shadow:inset 0 0 0 1px rgba(255,216,107,.12)}.status-options{max-height:none}.advanced-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.advanced-actions .btn{min-width:120px;justify-content:center}.header{overflow:visible}.header .nav{overflow:visible}.header .search{min-width:260px}
@media(max-width:1180px){.catalog-links>a,.nav-dropdown-toggle{padding:0 7px;font-size:13px}.header .search{min-width:220px}.advanced-toggle{max-width:165px}}
@media(max-width:1000px){.catalog-links{display:none}.header .search{display:flex;order:2;margin-left:auto;max-width:390px}.advanced-search-panel{position:fixed;left:14px;right:14px;top:76px;width:auto}.nav-dropdown-menu{position:fixed;left:14px;right:14px;top:76px;width:auto;max-height:60vh}}
@media(max-width:700px){.header .search{display:none}}

/* ===== V6.2 polished advanced search + genre manager ===== */
.advanced-search-panel{
  position:fixed!important;
  top:82px!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%);
  width:min(760px,calc(100vw - 32px))!important;
  padding:0!important;
  overflow:hidden;
  border-radius:22px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(180deg,rgba(25,27,34,.995),rgba(16,18,24,.995))!important;
  box-shadow:0 30px 90px rgba(0,0,0,.58)!important;
  backdrop-filter:blur(24px)!important;
  grid-template-columns:minmax(0,1.65fr) minmax(220px,.9fr);
}
.nav-dropdown.open>.advanced-search-panel{display:grid!important}
.advanced-search-head{
  grid-column:1/-1;
  padding:20px 22px 18px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(110deg,rgba(241,108,138,.12),rgba(255,216,107,.05),transparent 70%);
}
.advanced-search-head b{font-size:20px!important;letter-spacing:-.015em}
.advanced-search-head small{font-size:12px;line-height:1.5}
.advanced-close{width:36px!important;height:36px!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.08)!important}
.advanced-close:hover{background:rgba(255,255,255,.12)!important}
.advanced-section{
  margin:18px 0 18px 18px;
  padding:16px!important;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  min-width:0;
}
.advanced-section:nth-of-type(3){margin-left:12px;margin-right:18px}
.advanced-label{font-size:12px!important;text-transform:uppercase;letter-spacing:.08em;color:#cfd3dd;margin-bottom:12px!important}
.advanced-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;max-height:210px!important;padding-right:6px!important}
.status-options{grid-template-columns:1fr!important;max-height:none!important}
.filter-check{display:block;min-width:0}
.filter-check span{
  position:relative;
  display:flex!important;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:42px!important;
  padding:9px 11px!important;
  border-radius:12px!important;
  background:#151821!important;
  border:1px solid #323744!important;
  color:#e1e4eb!important;
  font-size:13px!important;
  line-height:1.25;
}
.filter-check span:before{
  content:"";
  width:17px;height:17px;flex:0 0 17px;
  border-radius:6px;
  border:1px solid #525968;
  background:#0f1117;
  box-shadow:inset 0 0 0 3px #0f1117;
}
.filter-check:hover span{border-color:#4c5362!important;background:#1b1e27!important}
.filter-check input:checked+span{
  background:linear-gradient(135deg,rgba(255,216,107,.13),rgba(241,108,138,.08))!important;
  border-color:rgba(255,216,107,.75)!important;
  color:#fff0b8!important;
  box-shadow:none!important;
}
.filter-check input:checked+span:before{background:var(--yellow);border-color:var(--yellow);box-shadow:inset 0 0 0 4px #18140a}
.advanced-actions{
  grid-column:1/-1;
  margin:0!important;
  padding:16px 20px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:rgba(7,8,11,.36);
}
.advanced-actions .btn{min-width:138px!important;border-radius:12px!important}
.advanced-actions .btn-primary{box-shadow:0 8px 22px rgba(255,216,107,.12)}

.genre-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;max-width:720px}
.genre-add-form .field{min-width:0}.genre-add-form .btn{height:44px;white-space:nowrap}
.genre-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.genre-admin-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#111319}
.genre-admin-item>div:first-child{min-width:0}.genre-admin-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genre-admin-item small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.btn-sm{padding:8px 10px!important;font-size:12px;border-radius:9px!important}

@media(max-width:760px){
  .advanced-search-panel{top:70px!important;width:calc(100vw - 18px)!important;grid-template-columns:1fr;max-height:calc(100vh - 82px);overflow:auto}
  .advanced-search-head,.advanced-actions{grid-column:1}
  .advanced-section,.advanced-section:nth-of-type(3){margin:12px 12px 0!important}
  .advanced-options{grid-template-columns:1fr 1fr!important;max-height:none!important}
  .status-options{grid-template-columns:1fr!important}
  .advanced-actions{position:sticky;bottom:0;z-index:2;backdrop-filter:blur(16px)}
  .genre-admin-grid{grid-template-columns:1fr}
  .genre-add-form{grid-template-columns:1fr}
}
@media(max-width:460px){.advanced-options{grid-template-columns:1fr!important}.advanced-actions{display:grid!important;grid-template-columns:1fr 1fr}.advanced-actions .btn{min-width:0!important;width:100%}}


/* ===== V6.4 cleaner menu + comments ===== */
.nav-chevron{display:none!important}.nav-dropdown-toggle{position:relative;padding-left:12px!important;padding-right:12px!important}.nav-dropdown.open>.nav-dropdown-toggle{background:rgba(255,255,255,.07)!important;color:#fff!important}.nav-dropdown.open>.nav-dropdown-toggle:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--yellow),var(--pink))}.advanced-toggle{color:#f3d7e3!important}
.comments-section{margin-top:24px}.comments-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}.comments-head h2{margin:0}.comments-head small{display:block;color:var(--muted);margin-top:5px}.comment-count{font-size:12px;color:var(--muted);white-space:nowrap}.comment-compose{padding:16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#171a21,#12141a);margin-bottom:14px}.comment-name-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.comment-name-row input{max-width:280px}.comment-compose input,.comment-compose textarea{width:100%;border:1px solid #363b48;background:#0f1117;color:var(--text);border-radius:12px;padding:11px 12px;font:inherit;outline:none}.comment-compose input:focus,.comment-compose textarea:focus{border-color:rgba(255,216,107,.8);box-shadow:0 0 0 3px rgba(255,216,107,.08)}.comment-compose textarea{resize:vertical;min-height:92px}.comment-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.comment-hint{font-size:11px;color:var(--muted)}.comment-notice{margin-top:10px}.comment-list{display:grid;gap:10px}.comment-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#12141a}.comment-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font-weight:900;background:linear-gradient(135deg,rgba(255,216,107,.2),rgba(241,108,138,.22));border:1px solid rgba(255,255,255,.08);color:#fff2bd}.comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.comment-meta b{font-size:14px}.comment-meta time,.comment-meta span{font-size:11px;color:var(--muted)}.comment-content p{margin:7px 0 0;line-height:1.6;color:#e7e9ef;word-break:break-word}.comment-admin-list{display:grid;gap:10px;margin-top:14px}.comment-admin-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#111319}.comment-admin-item.is-hidden{opacity:.58}.comment-admin-main{min-width:0;flex:1}.comment-admin-main p{margin:7px 0 0;line-height:1.55;white-space:pre-wrap;word-break:break-word}.btn-danger{background:#33171c!important;border-color:#74303b!important;color:#ffb4c0!important}.btn-danger:hover{background:#482028!important}
@media(max-width:700px){.comment-actions{align-items:stretch;flex-direction:column}.comment-actions .btn{width:100%;justify-content:center}.comment-name-row{align-items:stretch;flex-direction:column}.comment-name-row input{max-width:none}.comment-admin-item{flex-direction:column}.comment-admin-item .row-actions{width:100%;justify-content:flex-end}.comments-head{align-items:flex-start;flex-direction:column;gap:5px}}

/* ===== V6.6 unified responsive UI ===== */
/* Keep the same information architecture on desktop, tablet and phone. */
.mobile-search-wrap{display:none!important}
.header{--vvp-header-h:72px}

@media (max-width:1000px){
  .header .nav{
    min-height:auto;
    display:grid!important;
    grid-template-columns:auto minmax(180px,1fr);
    align-items:center;
    gap:8px 12px!important;
    padding:8px 0 9px;
  }
  .header .brand{grid-column:1;grid-row:1;order:unset!important;font-size:20px}
  .header .brand img{width:42px;height:42px;border-radius:13px}
  .header .search{
    grid-column:2;grid-row:1;
    display:flex!important;
    order:unset!important;
    margin:0!important;
    width:100%;max-width:none!important;min-width:0!important;
    height:44px;
  }
  .header .search input{padding:10px 8px;min-width:0}
  .header .catalog-links{
    grid-column:1/-1;grid-row:2;
    display:flex!important;
    align-items:center;
    flex-wrap:wrap;
    gap:4px!important;
    width:100%;
    margin:0!important;
    padding-top:2px;
  }
  .catalog-links>a,.nav-dropdown-toggle{
    min-height:36px!important;
    padding:0 10px!important;
    font-size:13px!important;
    border-radius:9px!important;
  }
  .nav-dropdown-menu{
    position:fixed!important;
    top:calc(var(--vvp-header-h,112px) + 7px)!important;
    left:12px!important;right:12px!important;
    width:auto!important;
    max-height:min(55vh,420px)!important;
    transform:none!important;
  }
  .advanced-search-panel{
    top:calc(var(--vvp-header-h,112px) + 7px)!important;
    max-height:calc(100vh - var(--vvp-header-h,112px) - 18px)!important;
  }
  .cinema-hero{margin-top:12px;min-height:540px;border-radius:22px}
  .cinema-hero-content{left:28px;right:28px;bottom:96px;max-width:620px}
  .hero-thumbs{left:28px;right:28px;bottom:22px;max-width:none;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}
  .hero-thumb{flex:0 0 82px}
}

@media (max-width:700px){
  .container{width:min(100% - 18px,1440px)!important}
  .header .nav{grid-template-columns:auto minmax(0,1fr);gap:7px 9px!important;padding:7px 0 8px}
  .header .brand{font-size:17px!important;gap:8px}
  .header .brand img{width:38px!important;height:38px!important;border-radius:12px!important}
  .header .search{height:40px!important;padding:0 9px!important;border-radius:12px!important}
  .header .search input{font-size:13px;padding:9px 6px!important}
  .header .catalog-links{display:flex!important;gap:3px!important;padding-top:1px}
  .catalog-links>a,.nav-dropdown-toggle{min-height:34px!important;padding:0 8px!important;font-size:12px!important}

  .cinema-hero{margin-top:10px!important;min-height:510px!important;border-radius:18px!important}
  .cinema-hero-bg{background-position:center 24%!important}
  .cinema-hero-shade{background:linear-gradient(0deg,rgba(5,6,9,.99) 0%,rgba(5,6,9,.88) 43%,rgba(5,6,9,.28) 78%),linear-gradient(90deg,rgba(5,6,9,.55),transparent)!important}
  .cinema-hero-content{left:18px!important;right:18px!important;bottom:94px!important;max-width:none!important}
  .cinema-brand-kicker{font-size:10px;margin-bottom:10px}
  .cinema-hero h1{font-size:clamp(34px,10vw,48px)!important;line-height:1!important;margin-bottom:12px!important}
  .cinema-meta{gap:6px;margin-bottom:11px}.hero-pill{min-height:27px;padding:5px 8px;font-size:11px}
  .cinema-hero p{font-size:14px!important;line-height:1.5!important;-webkit-line-clamp:2!important;margin-bottom:14px!important}
  .cinema-actions{gap:8px}.cinema-play,.cinema-info{padding:11px 16px!important;font-size:14px!important}
  .hero-thumbs{left:18px!important;right:18px!important;bottom:18px!important;gap:8px!important}
  .hero-thumb{flex:0 0 70px!important;width:70px!important;height:44px!important;border-radius:9px!important}.hero-thumb span{display:none!important}

  .filters{margin:16px 0!important;gap:7px!important}.chip{padding:8px 10px;font-size:12px}
  .section{margin:26px 0!important}.section h2{font-size:20px!important}.section-head{margin-bottom:11px!important}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .card{border-radius:14px!important}.card-body{padding:10px!important}.card-title{font-size:14px;min-height:37px}.meta{font-size:10px;margin-top:7px}
  .badge{font-size:10px;padding:5px 7px}

  .detail{grid-template-columns:110px minmax(0,1fr)!important;gap:14px!important;margin-top:20px!important;align-items:start!important}
  .detail .cover{width:110px!important;margin:0!important;border-radius:14px!important}
  .detail h1{font-size:25px!important;margin-top:0!important}.tags{gap:5px;margin:7px 0 10px}.tag{font-size:10px;padding:5px 7px}
  .detail p{font-size:13px;line-height:1.55}
  .episode-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}.ep{padding:9px 5px;font-size:12px}
  .player{border-radius:12px!important}.watch-head{gap:8px!important}

  .advanced-search-panel{width:calc(100vw - 18px)!important;border-radius:18px!important}
  .advanced-search-head{padding:16px 16px 14px!important}.advanced-search-head b{font-size:18px!important}
  .advanced-section,.advanced-section:nth-of-type(3){margin:10px 10px 0!important;padding:12px!important}
  .advanced-options{grid-template-columns:1fr 1fr!important;gap:7px!important}.filter-check span{min-height:39px!important;font-size:12px!important}
  .advanced-actions{padding:12px!important;gap:8px!important}.advanced-actions .btn{min-width:0!important;flex:1;padding:11px 12px}

  .comments-section{margin-top:20px!important}.comment-compose{padding:13px!important}.comment-card{grid-template-columns:36px minmax(0,1fr)!important;padding:12px!important}.comment-avatar{width:36px!important;height:36px!important}
  .donate-grid{grid-template-columns:130px 1fr!important;gap:14px!important}.donate-qr{width:130px!important;height:130px!important}

  .footer{margin-top:34px!important;padding:22px 0!important}.footer .container{display:flex!important;flex-direction:column;gap:8px!important}.footer-links{margin-top:0!important;flex-wrap:wrap}
}

@media (max-width:480px){
  .header .nav{grid-template-columns:1fr!important}
  .header .brand{grid-column:1;grid-row:1}
  .header .search{grid-column:1;grid-row:2;width:100%!important}
  .header .catalog-links{grid-column:1;grid-row:3}
  .catalog-links>a,.nav-dropdown-toggle{font-size:11.5px!important;padding:0 7px!important}
  .cinema-hero{min-height:500px!important}
  .cinema-hero-content{bottom:91px!important}
  .detail{grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important}.detail .cover{width:96px!important}.detail h1{font-size:22px!important}
  .episode-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .advanced-options{grid-template-columns:1fr!important}.advanced-actions{display:grid!important;grid-template-columns:1fr 1fr}.advanced-actions .btn{width:100%}
  .donate-grid{grid-template-columns:1fr!important}.donate-qr{width:140px!important;height:140px!important}
}

/* V6.7: movie title on watch page links back to detail page */
.watch-movie-link{display:inline-block;color:var(--muted);font-size:14px;line-height:1.45;cursor:pointer;transition:color .16s ease,text-decoration-color .16s ease;text-underline-offset:4px;text-decoration:underline;text-decoration-color:transparent}.watch-movie-link:hover,.watch-movie-link:focus-visible{color:var(--yellow);text-decoration-color:currentColor;outline:none}


/* V7.3 — lựa chọn nguồn video */
.video-source-box{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:12px 14px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035)}
.video-source-title{font-size:13px;color:var(--muted,#a7a9b4)}
.video-source-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.source-btn{appearance:none;border:1px solid rgba(255,255,255,.12);background:#17191f;color:#f4f4f5;border-radius:999px;padding:9px 13px;font:inherit;font-weight:700;cursor:pointer;transition:.18s ease}
.source-btn:hover{border-color:rgba(255,216,107,.55);transform:translateY(-1px)}
.source-btn.active{background:#ffd86b;color:#141414;border-color:#ffd86b}
.source-admin-list{display:flex;gap:6px;flex-wrap:wrap}
.source-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:rgba(255,216,107,.13);border:1px solid rgba(255,216,107,.25);font-size:12px;font-weight:700}
.source-badge-drive{background:rgba(112,184,255,.11);border-color:rgba(112,184,255,.24)}
@media(max-width:720px){.video-source-box{align-items:stretch;flex-direction:column}.video-source-actions{justify-content:stretch}.source-btn{flex:1;min-width:0}.video-source-title{line-height:1.45}}


/* V7.5 — responsive player: keep YouTube 16:9, give Google Drive a portrait-friendly frame on phones */
.youtube-player{aspect-ratio:16/9;}
.drive-player{background:#000;}

@media (max-width:700px){
  .drive-player{
    aspect-ratio:9/16 !important;
    width:min(100%,430px) !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 auto !important;
    border-radius:14px !important;
    overflow:hidden !important;
  }
  .drive-player iframe{
    width:100% !important;
    height:100% !important;
    border:0 !important;
    display:block !important;
  }
}

@media (min-width:701px){
  .drive-player{
    aspect-ratio:16/9;
    width:100%;
  }
}


/* V7.6 - Drive video ngang: giữ đúng khung 16:9 trên desktop và mobile */
.youtube-player,
.drive-player{
  width:100%;
  aspect-ratio:16/9 !important;
  background:#000;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
}

.youtube-player iframe,
.drive-player iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}

@media (max-width:700px){
  .youtube-player,
  .drive-player{
    width:100% !important;
    aspect-ratio:16/9 !important;
    min-height:0 !important;
    max-height:none !important;
    height:auto !important;
    margin:0 auto !important;
    border-radius:12px !important;
    overflow:hidden !important;
  }

  .youtube-player iframe,
  .drive-player iframe{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    display:block !important;
  }
}


/* V7.7 - Google Drive mobile fallback
   The Drive iframe UI is controlled by Google and can render incorrectly on mobile.
   On mobile we default to a clean launcher, with an optional inline fallback. */
.drive-mobile-card{
  width:100%;
  aspect-ratio:16/9;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%,rgba(255,216,107,.08),transparent 35%),
    #050609;
  display:grid;
  place-items:center;
  padding:18px;
}
.drive-mobile-inner{
  width:min(430px,100%);
  text-align:center;
}
.drive-mobile-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin:0 auto 10px;
  border-radius:999px;
  background:var(--yellow);
  color:#181818;
  font-weight:900;
  font-size:22px;
}
.drive-mobile-inner h3{margin:0 0 7px;font-size:20px}
.drive-mobile-inner p{margin:0 auto 14px;color:var(--muted);font-size:13px;line-height:1.5;max-width:360px}
.drive-mobile-open,.drive-inline-try{margin:4px}
.drive-player-mobile-inline{
  width:100%!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  overflow:hidden!important;
}
.drive-player-mobile-inline iframe{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
}


/* V7.8 - Mobile Drive card đồng bộ nhận diện Vịt Vàng Phim */
.drive-mobile-card{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.11);
  background:#050609;
  box-shadow:0 16px 38px rgba(0,0,0,.26);
  isolation:isolate;
}
.drive-mobile-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--drive-bg);
  background-size:cover;
  background-position:center;
  filter:saturate(.9) brightness(.72);
  transform:scale(1.02);
  z-index:-3;
}
.drive-mobile-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(6,7,10,.38) 0%,rgba(6,7,10,.18) 38%,rgba(6,7,10,.88) 100%),
    linear-gradient(90deg,rgba(6,7,10,.32),transparent 55%);
  z-index:-2;
}
.drive-mobile-top{
  position:absolute;
  left:12px;
  right:12px;
  top:11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  z-index:2;
}
.drive-mobile-brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:#fff;
  font-size:12px;
  font-weight:850;
  text-shadow:0 1px 8px rgba(0,0,0,.6);
}
.drive-mobile-brand img{
  width:30px;
  height:30px;
  border-radius:9px;
  object-fit:cover;
  border:1px solid rgba(255,216,107,.45);
}
.drive-mobile-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(14,15,19,.72);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  color:#fff;
  font-size:11px;
  font-weight:850;
}
.drive-mobile-content{
  position:absolute;
  left:14px;
  right:14px;
  bottom:13px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:
    "play copy"
    "actions actions";
  align-items:center;
  gap:9px 11px;
  z-index:2;
}
.drive-mobile-play{
  grid-area:play;
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--yellow);
  color:#171717;
  font-size:17px;
  font-weight:950;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.drive-mobile-copy{grid-area:copy;min-width:0}
.drive-mobile-title{
  color:#fff;
  font-size:15px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:0 1px 10px rgba(0,0,0,.65);
}
.drive-mobile-episode{
  color:rgba(255,255,255,.78);
  font-size:11px;
  font-weight:700;
  margin-top:3px;
}
.drive-mobile-actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.drive-mobile-actions .btn{
  min-height:38px;
  padding:9px 12px;
  font-size:12px;
  border-radius:10px;
}
.drive-back-source{
  border:0;
  background:transparent;
  color:rgba(255,255,255,.84);
  font-size:11px;
  font-weight:800;
  padding:7px 2px;
  cursor:pointer;
}
.drive-back-source:hover{color:var(--yellow)}
.drive-player-mobile-inline{
  margin-top:0!important;
}

@media (max-width:480px){
  .drive-mobile-card{border-radius:13px}
  .drive-mobile-top{left:10px;right:10px;top:9px}
  .drive-mobile-brand span{font-size:11px}
  .drive-mobile-content{left:11px;right:11px;bottom:10px;gap:7px 9px}
  .drive-mobile-play{width:36px;height:36px;font-size:15px}
  .drive-mobile-title{font-size:13px}
  .drive-mobile-actions .btn{min-height:34px;padding:8px 10px;font-size:11px}
}


/* V7.10 - Perceived performance / skeleton loading */
@keyframes vvpSkeletonPulse{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}
.skeleton{
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#171a21 25%,#242832 42%,#171a21 62%);
  background-size:240% 100%;
  animation:vvpSkeletonPulse 1.35s linear infinite;
  border-radius:10px;
}
.skeleton-line{height:14px}
.skeleton-line.sm{height:10px}
.skeleton-line.lg{height:28px}
.skeleton-w-30{width:30%}.skeleton-w-45{width:45%}.skeleton-w-60{width:60%}.skeleton-w-75{width:75%}.skeleton-w-90{width:90%}

.home-hero-skeleton{
  position:absolute;
  left:40px;
  right:40px;
  bottom:40px;
  max-width:650px;
  display:grid;
  gap:11px;
}
.home-hero-skeleton .skeleton-title{height:54px;width:min(520px,82%)}
.home-hero-skeleton .skeleton-meta{height:28px;width:min(340px,62%)}
.home-hero-skeleton .skeleton-desc{height:14px;width:min(600px,92%)}
.home-hero-skeleton .skeleton-actions{height:42px;width:230px}

.skeleton-card{
  pointer-events:none;
  min-height:0;
}
.skeleton-card .poster{
  background:linear-gradient(90deg,#171a21 25%,#242832 42%,#171a21 62%);
  background-size:240% 100%;
  animation:vvpSkeletonPulse 1.35s linear infinite;
}
.skeleton-card .card-body{display:grid;gap:9px}
.skeleton-card .sk-title{height:14px;width:85%}
.skeleton-card .sk-meta{height:10px;width:55%}

.detail-skeleton{
  display:grid;
  grid-template-columns:270px 1fr;
  gap:30px;
  margin-top:30px;
  align-items:start;
}
.detail-skeleton-cover{aspect-ratio:2/3;border-radius:22px}
.detail-skeleton-copy{display:grid;gap:13px;padding-top:6px}
.detail-skeleton-copy .skeleton-title{height:42px;width:min(560px,85%)}
.episode-skeleton-grid{
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:8px;
}
.episode-skeleton-grid .skeleton{height:42px;border-radius:10px}

.watch-skeleton{margin-top:28px}
.watch-skeleton-head{
  display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px
}
.watch-skeleton-copy{display:grid;gap:9px;min-width:220px}
.watch-skeleton-player{
  aspect-ratio:16/9;
  width:100%;
  border-radius:18px;
}
.watch-player-loading{
  aspect-ratio:16/9;
  width:100%;
  border-radius:18px;
  border:1px solid var(--line);
  background:#050609;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.watch-player-loading-inner{
  width:min(360px,80%);
  display:grid;
  gap:10px;
}
.watch-player-loading .skeleton{height:14px}
.watch-player-loading .skeleton:first-child{height:24px;width:58%}

@media(max-width:700px){
  .home-hero-skeleton{left:18px;right:18px;bottom:28px}
  .home-hero-skeleton .skeleton-title{height:40px}
  .detail-skeleton{grid-template-columns:110px minmax(0,1fr);gap:14px;margin-top:20px}
  .detail-skeleton-cover{border-radius:14px}
  .detail-skeleton-copy .skeleton-title{height:28px}
  .episode-skeleton-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .watch-skeleton-player,.watch-player-loading{border-radius:12px}
}
@media(max-width:480px){
  .detail-skeleton{grid-template-columns:96px minmax(0,1fr);gap:12px}
}
