@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   THEME TRAMPHIM — nền xanh đen, nhấn vàng, rail icon trái
   Mọi rule gói trong body.of-theme (trừ rail/bottomnav dùng fixed)
   ============================================================ */
:root{
  --of-bg:#0a0a0b;
  --of-bg2:#0e0e10;
  --of-panel:#131315;
  --of-panel2:#1a1a1e;
  --of-line:#26262c;
  --of-txt:#f2f2f3;
  --of-mut:#9c9ca3;
  --of-acc:#00c853;
  --of-acc2:#00a844;
  --of-r:12px;
}
body.of-theme{
  background:var(--of-bg);
  color:var(--of-txt);
  font-family:'Be Vietnam Pro',system-ui,sans-serif;
}
body.of-theme a{color:inherit;}
body.of-theme ::selection{background:var(--of-acc);color:#111;}
.of-wrap{max-width:none;margin:0;padding:0 16px;}
/* Trang chi tiet: dan full man hinh, sat ra menu rail */
body.of-theme .of-dfull{max-width:none;padding-left:16px;padding-right:16px;}

/* ---------- RAIL ICON TRÁI (PC) ---------- */
.of-rail{
  position:fixed;left:0;top:0;bottom:0;width:76px;z-index:1200;
  background:#0c0c0e;border-right:1px solid var(--of-line);
  display:flex;flex-direction:column;align-items:stretch;padding:86px 6px 14px;gap:4px;
}
.of-rail-item{
  display:flex;flex-direction:column;align-items:center;gap:5px;
  padding:10px 2px;border-radius:12px;color:var(--of-mut);text-decoration:none;
  font-size:10.5px;font-weight:500;text-align:center;transition:color .15s,background .15s;
}
.of-rail-item svg{width:21px;height:21px;}
.of-rail-item:hover{color:#fff;background:rgba(255,255,255,.05);}
.of-rail-item.on{color:var(--of-acc);}
@media(min-width:993px){
  body.of-theme{padding-left:76px;}
}
@media(max-width:992px){
  .of-rail{display:none;}
}

/* ---------- HEADER ---------- */
.of-header{
  position:sticky;top:0;z-index:1100;
  background:rgba(10,10,11,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(33,42,71,.7);
}
.of-header-in{
  max-width:none;margin:0;padding:0 16px;height:62px;
  display:flex;align-items:center;gap:20px;
}
.of-burger{display:none;width:38px;height:38px;border-radius:10px;border:1px solid var(--of-line);background:var(--of-panel);cursor:pointer;flex-shrink:0;padding:0;}
.of-burger span{display:block;width:17px;height:2px;background:#e7ebf5;margin:4px auto;border-radius:2px;}
.of-logo{display:flex;align-items:center;gap:8px;text-decoration:none;flex-shrink:0;}
.of-logo img{height:36px;width:auto;}
.of-logo-txt{font-size:24px;font-weight:900;color:#fff;letter-spacing:-.3px;white-space:nowrap;}
.of-search{position:relative;flex-shrink:0;}
.of-search form{
  display:flex;align-items:center;background:#17171c;border:1px solid transparent;border-radius:999px;
  padding:0 8px 0 15px;height:40px;width:270px;transition:border-color .2s,width .25s;
}
.of-search form:focus-within{border-color:var(--of-acc);width:310px;}
.of-search svg{color:#79829c;flex-shrink:0;}
.of-search input{flex:1;background:none;border:0;outline:0;color:#fff;font-size:14.5px;padding:0 9px;min-width:0;font-family:inherit;}
.of-search input::placeholder{color:#79829c;}
.of-search .search-suggest{position:absolute;top:calc(100% + 8px);left:0;width:350px;background:#121214;border:1px solid var(--of-line);border-radius:12px;max-height:400px;overflow:auto;box-shadow:0 18px 44px rgba(0,0,0,.6);z-index:960;}
.of-search .sg-item{display:flex;gap:10px;align-items:center;padding:8px 10px;text-decoration:none;color:#fff;}
.of-search .sg-item:hover{background:#1d1d21;}
.of-search .sg-item img{width:42px;height:58px;object-fit:cover;border-radius:5px;flex-shrink:0;}
.of-search .sg-item .t{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.of-search .sg-item .o{font-size:12px;color:var(--of-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.of-search-btn{display:none;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--of-line);background:var(--of-panel);color:#e7ebf5;cursor:pointer;flex-shrink:0;padding:0;}
.of-nav{display:flex;align-items:center;gap:4px;margin-left:6px;}
.of-nav > a, .of-dd-btn{
  color:#dbe1f0;text-decoration:none;font-size:15px;font-weight:600;
  padding:8px 11px;border-radius:9px;background:none;border:0;cursor:pointer;font-family:inherit;
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
}
.of-nav > a:hover, .of-dd-btn:hover{color:var(--of-acc);}
.of-dd-wrap{position:relative;}
.of-dd-menu{
  position:absolute;top:calc(100% + 8px);left:0;min-width:230px;max-height:380px;overflow:auto;
  background:#121214;border:1px solid var(--of-line);border-radius:12px;padding:7px;
  box-shadow:0 18px 44px rgba(0,0,0,.6);z-index:1150;
  display:grid;grid-template-columns:1fr 1fr;gap:2px;
}
.of-dd-menu[hidden]{display:none;}
.of-dd-menu a{color:#dbe1f0;text-decoration:none;font-size:14px;padding:7px 10px;border-radius:8px;white-space:nowrap;}
.of-dd-menu a:hover{background:#1d1d21;color:var(--of-acc);}
.of-dd-more{grid-template-columns:1fr;min-width:250px;}
.of-dd-sep{grid-column:1/-1;font-size:11.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--of-mut);padding:9px 10px 4px;border-top:1px solid var(--of-line);margin-top:5px;}
.of-dd-years{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;}
.of-user{margin-left:auto;display:flex;align-items:center;gap:10px;flex-shrink:0;}
.of-member-btn{
  display:inline-flex;align-items:center;gap:8px;background:#17171c;color:#fff!important;border:1px solid var(--of-line);
  font-weight:700;font-size:14.5px;padding:9px 18px;border-radius:999px;text-decoration:none;transition:background .15s;
}
.of-member-btn:hover{border-color:var(--of-acc);color:var(--of-acc)!important;}
.of-member-btn span{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.of-user-out{color:var(--of-mut);font-size:13.5px;text-decoration:none;}
.of-user-out:hover{color:#fff;}

/* Menu mobile (vs-mmenu dung chung, doi mau theo theme) */
body.of-theme .vs-mmenu{background:#0e0e10;border-bottom:1px solid var(--of-line);}
body.of-theme .vs-mmenu-member{background:var(--of-acc);color:#141414;}
body.of-theme .vs-mmenu-item{background:var(--of-panel);color:#e7ebf5;border-color:var(--of-line);}

/* ---------- NÚT CHUNG ---------- */
.of-btn-watch{
  display:inline-flex;align-items:center;gap:9px;background:linear-gradient(180deg,#00d95f,#00b248);
  color:#fff!important;font-weight:800;font-size:16px;padding:13px 32px;border-radius:999px;text-decoration:none;
  box-shadow:0 10px 28px rgba(0,200,83,.30);transition:transform .15s, box-shadow .15s;
}
.of-btn-watch:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(0,200,83,.42);}
.of-btn-ghost{
  display:inline-flex;align-items:center;padding:12px 26px;border-radius:999px;
  border:1px solid rgba(255,255,255,.35);color:#fff!important;font-weight:600;font-size:15.5px;text-decoration:none;
  background:rgba(13,18,32,.35);backdrop-filter:blur(4px);
}
.of-btn-ghost:hover{border-color:#fff;}
.of-chip{display:inline-flex;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#e7ebf5;font-size:12px;font-weight:600;padding:3px 9px;border-radius:7px;}
.of-chip.yel{background:rgba(0,200,83,.16);border-color:rgba(0,200,83,.45);color:var(--of-acc);}
.of-chip.star{color:var(--of-acc);}

/* ---------- HERO TRANG CHỦ ---------- */
.of-hero{position:relative;height:540px;overflow:hidden;background:var(--of-bg);}
.of-hero-slide{
  position:absolute;inset:0;background-size:cover;background-position:center 20%;
  opacity:0;pointer-events:none;transition:opacity .7s ease;
}
.of-hero-slide.on{opacity:1;pointer-events:auto;}
.of-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,7,8,.95) 20%,rgba(7,7,8,.55) 52%,rgba(7,7,8,.08) 80%),linear-gradient(to top,var(--of-bg) 0%,rgba(10,10,11,.45) 20%,transparent 48%),linear-gradient(to bottom,rgba(7,7,8,.55),transparent 30%);}
.of-hero-in{position:absolute;left:0;right:0;bottom:64px;max-width:none;margin:0;padding:0 16px;}
.of-hero-kick{color:var(--of-acc);font-weight:800;font-size:13px;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:10px;}
.of-hero-title{font-size:40px;font-weight:800;line-height:1.15;margin:0 0 6px;max-width:700px;}
.of-hero-title a{color:#fff;text-decoration:none;}
.of-hero-origin{color:#c3cadf;font-size:17px;margin-bottom:14px;}
.of-hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;}
.of-hero-desc{color:#c9d0e4;font-size:15.5px;line-height:1.65;max-width:620px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 20px;}
.of-hero-acts{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.of-hero-thumbs{position:absolute;right:28px;bottom:64px;display:flex;gap:9px;z-index:3;}
.of-hero-thumb{width:52px;height:74px;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.22);padding:0;background:none;cursor:pointer;transition:border-color .2s,transform .2s;}
.of-hero-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.of-hero-thumb.on{border-color:var(--of-acc);transform:translateY(-4px);}

/* ---------- KHỐI TRANG CHỦ ---------- */
.of-sec{margin-top:32px;}
.of-sec-head{display:flex;align-items:center;gap:14px;margin-bottom:15px;}
.of-sec-title{font-size:21px;font-weight:800;margin:0;color:#fff;}
.of-sec-title::before{content:"";display:inline-block;width:4px;height:19px;border-radius:3px;background:var(--of-acc);margin-right:10px;vertical-align:-2px;}
.of-more{margin-left:auto;color:var(--of-mut);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;}
.of-more:hover{color:var(--of-acc);}
.of-more span{font-size:17px;}

/* Card poster */
.of-poster-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 14px;}
.of-card-p{display:block;text-decoration:none;color:var(--of-txt);min-width:0;}
.of-card-p .of-thumb{position:relative;border-radius:var(--of-r);overflow:hidden;aspect-ratio:2/3;background:var(--of-panel);}
.of-card-p .of-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s;}
.of-card-p:hover .of-thumb img{transform:scale(1.05);}
.of-b-split{
  position:absolute;left:8px;bottom:8px;display:inline-flex;border-radius:6px;overflow:hidden;
  font-size:11px;font-weight:700;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.45);
}
.of-b-dark{background:rgba(10,13,24,.88);color:#fff;padding:5px 7px;}
.of-b-yel{background:var(--of-acc);color:#fff;padding:5px 7px;}
.of-card-p .of-name{font-size:14.5px;font-weight:600;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.of-card-p:hover .of-name{color:var(--of-acc);}
.of-card-p .of-origin{font-size:12.5px;color:var(--of-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;}

/* Rail TOP (so thu tu lon) */
.of-toprail{display:flex;gap:16px;overflow-x:auto;padding:6px 2px 14px;scrollbar-width:none;}
.of-toprail::-webkit-scrollbar{display:none;}
.of-topcard{
  counter-increment:tpno;flex:0 0 auto;width:296px;display:flex;gap:13px;align-items:center;
  background:var(--of-panel);border:1px solid var(--of-line);border-radius:14px;padding:12px;text-decoration:none;color:var(--of-txt);
}
.of-toprail{counter-reset:tpno;}
.of-topno::before{
  content:counter(tpno);font-size:52px;font-weight:900;line-height:1;
  background:linear-gradient(180deg,#00e065,#00a844);-webkit-background-clip:text;background-clip:text;color:transparent;
  min-width:56px;text-align:center;
}
.of-topthumb{width:62px;height:88px;border-radius:8px;overflow:hidden;flex-shrink:0;}
.of-topthumb img{width:100%;height:100%;object-fit:cover;display:block;}
.of-topinfo{min-width:0;display:flex;flex-direction:column;gap:3px;}
.of-topname{font-weight:700;font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.of-topcard:hover .of-topname{color:var(--of-acc);}
.of-topog{color:var(--of-mut);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.of-topmeta{color:var(--of-mut);font-size:12.5px;}

/* ---------- ARCHIVE ---------- */
.of-crumb{display:flex;align-items:center;gap:8px;color:var(--of-mut);font-size:13.5px;padding:18px 0 4px;flex-wrap:wrap;}
.of-crumb a{color:var(--of-mut);text-decoration:none;}
.of-crumb a:hover{color:var(--of-acc);}
.of-crumb .cur{color:#fff;}
.of-page-t{font-size:30px;font-weight:800;margin:8px 0 4px;}
.of-page-d{color:var(--of-mut);font-size:14.5px;margin:0 0 8px;}
.of-arc{margin-top:10px;}
.of-filter-toggle{
  display:inline-flex;align-items:center;gap:8px;background:none;border:0;color:#fff;
  font-size:16px;font-weight:700;cursor:pointer;padding:10px 2px;font-family:inherit;
}
.of-filter-toggle:hover{color:var(--of-acc);}
.of-filterbar{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:var(--of-panel);
  border:1px solid var(--of-line);border-radius:12px;padding:13px;margin:4px 0 20px;
}
.of-filterbar[hidden]{display:none;}
.of-filterbar select{
  background:#101012;color:#e7ebf5;border:1px solid var(--of-line);border-radius:9px;
  padding:9px 12px;font-size:14px;font-family:inherit;outline:0;cursor:pointer;
}
.of-filterbar select:focus{border-color:var(--of-acc);}
.of-btn-filter{
  display:inline-flex;align-items:center;gap:7px;background:var(--of-acc);color:#171106;border:0;
  font-weight:700;font-size:14px;padding:10px 18px;border-radius:9px;cursor:pointer;font-family:inherit;margin-left:auto;
}
.of-btn-clear{color:var(--of-mut);font-size:14px;text-decoration:none;}
.of-btn-clear:hover{color:#fff;}
.of-empty{color:var(--of-mut);padding:34px 0;font-size:15px;}
body.of-theme .v-pagination{margin:30px 0 8px;}
body.of-theme .page-control{display:flex;align-items:center;justify-content:center;gap:14px;}
body.of-theme .btn-circle{
  width:46px;height:46px;border-radius:50%;background:var(--of-panel);border:1px solid var(--of-line);
  color:#fff;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:19px;
}
body.of-theme .btn-circle:hover{border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme .page-current{
  display:inline-flex;align-items:center;gap:9px;background:var(--of-panel);border:1px solid var(--of-line);
  border-radius:999px;padding:7px 18px;color:var(--of-mut);font-size:14.5px;font-weight:600;
}
body.of-theme .page-current input{
  width:48px;background:#101012;border:1px solid var(--of-line);border-radius:8px;color:#fff;
  text-align:center;padding:6px 4px;font-size:14.5px;font-family:inherit;outline:0;
}

/* ---------- TRANG CHI TIẾT ---------- */
.of-dhero{position:relative;background-size:cover;background-position:center 18%;background-color:#0d1220;}
.of-dhero-shade{position:absolute;inset:0;background:linear-gradient(to top,var(--of-bg) 3%,rgba(10,14,26,.55) 45%,rgba(10,14,26,.45) 100%),linear-gradient(90deg,rgba(10,14,26,.65),transparent 60%);}
.of-dhero-in{position:relative;padding-top:12px;padding-bottom:26px;}
.of-dcrumb{padding-top:8px;}
.of-dhead{display:flex;gap:26px;margin-top:8px;}
.of-dposter{flex-shrink:0;}
.of-dposter img{width:196px;height:294px;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 44px rgba(0,0,0,.55);display:block;}
.of-dinfo{flex:1;min-width:0;padding-top:8px;}
.of-dtitle{font-size:32px;font-weight:800;line-height:1.2;margin:0 0 5px;color:#fff;}
.of-dorigin{color:#c3cadf;font-size:16px;margin-bottom:13px;}
.of-dbadges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;}
.of-bdg{display:inline-flex;border:1px solid rgba(255,255,255,.4);color:#fff;font-size:12.5px;font-weight:600;padding:4px 11px;border-radius:7px;background:rgba(13,18,32,.35);}
.of-dmeta-grid{display:flex;gap:44px;flex-wrap:wrap;margin-bottom:20px;}
.of-dmeta-col{min-width:250px;}
.of-dm{display:flex;gap:10px;font-size:14.5px;padding:3.5px 0;}
.of-dm span{color:var(--of-mut);min-width:76px;flex-shrink:0;}
.of-dm b{font-weight:500;color:#e7ebf5;}
.of-dm b a{color:#e7ebf5;text-decoration:none;}
.of-dm b a:hover{color:var(--of-acc);}
.of-dactions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.of-dactions .of-btn-watch{padding:12px 30px;font-size:15.5px;}
.of-btn-trailer{
  display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);
  color:#fff;font-weight:600;font-size:15px;padding:11px 24px;border-radius:999px;cursor:pointer;font-family:inherit;
}
.of-btn-trailer:hover{border-color:#fff;}
.of-dacts-sep{width:1px;height:30px;background:rgba(255,255,255,.22);margin:0 4px;}
.of-act{
  display:inline-flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;color:#dbe1f0;
  cursor:pointer;font-family:inherit;text-decoration:none;padding:4px 7px;font-size:12px;
}
.of-act:hover{color:var(--of-acc);}
.of-act.on{color:var(--of-acc);}
.of-act.on svg{fill:var(--of-acc);}
.of-info-toggle{display:none;}
.of-dcols{display:grid;grid-template-columns:280px minmax(0,1fr);gap:30px;margin-top:26px;align-items:start;}
.of-dside{position:sticky;top:82px;}
.of-dsec{margin-bottom:28px;}
.of-dsec-t{font-size:18px;font-weight:800;margin:0 0 14px;color:#fff;}
.of-dsec-t::before{content:"";display:inline-block;width:4px;height:16px;border-radius:3px;background:var(--of-acc);margin-right:9px;vertical-align:-2px;}
/* Dien vien: luoi 2 cot vong tron lon (ghi de vs-actor-row mac dinh) */
body.of-theme .of-dactors .vs-actor-row{display:grid;grid-template-columns:1fr 1fr;gap:16px 8px;overflow:visible;padding:0;}
body.of-theme .of-dactors .vs-actor{display:flex;flex-direction:column;align-items:center;gap:7px;text-decoration:none;width:auto;}
body.of-theme .of-dactors .vs-actor-ph{width:84px;height:84px;border-radius:50%;overflow:hidden;background:var(--of-panel2);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;color:var(--of-mut);border:1px solid var(--of-line);}
body.of-theme .of-dactors .vs-actor-ph img{width:100%;height:100%;object-fit:cover;}
body.of-theme .of-dactors .vs-actor-name{font-size:13px;color:#dbe1f0;text-align:center;line-height:1.35;}
body.of-theme .of-dactors .vs-actor:hover .vs-actor-name{color:var(--of-acc);}
.of-dirlist{display:flex;flex-direction:column;gap:10px;}
.of-dir{display:flex;align-items:center;gap:11px;text-decoration:none;color:#dbe1f0;}
.of-dir-av{width:42px;height:42px;border-radius:50%;background:var(--of-panel2);border:1px solid var(--of-line);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--of-mut);flex-shrink:0;}
.of-dir-name{font-size:14.5px;}
.of-dir:hover .of-dir-name{color:var(--of-acc);}
/* Tab tap phim + server + tap */
.of-tabs{display:flex;gap:22px;border-bottom:1px solid var(--of-line);margin-bottom:16px;}
.of-tab{font-size:16.5px;font-weight:700;color:#fff;padding:0 2px 10px;border-bottom:2.5px solid var(--of-acc);margin-bottom:-1px;}
body.of-theme .tph-svrow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;}
body.of-theme .tph-servers{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.of-sv-lb{color:var(--of-mut);font-size:14px;margin-right:2px;}
body.of-theme .tph-server{
  background:var(--of-panel);border:1px solid var(--of-line);color:#dbe1f0;border-radius:9px;
  padding:8px 15px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;
}
body.of-theme .tph-server:hover{border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme .tph-server.active{background:rgba(0,200,83,.13);border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme .tph-svcount{background:var(--of-acc);color:#171106;border-radius:6px;font-size:11px;padding:1px 6px;margin-left:5px;font-weight:800;}
body.of-theme .tph-sort{background:var(--of-panel);border:1px solid var(--of-line);color:#dbe1f0;border-radius:9px;padding:8px 13px;font-size:13.5px;cursor:pointer;font-family:inherit;display:inline-flex;gap:6px;align-items:center;}
body.of-theme .tph-eps{display:flex;flex-wrap:wrap;gap:9px;}
body.of-theme .tph-ep{
  background:var(--of-panel);border:1px solid var(--of-line);color:#e7ebf5;border-radius:9px;
  padding:9px 16px;font-size:14px;font-weight:600;text-decoration:none;
}
body.of-theme .tph-ep:hover{border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme .tph-ep.hidden{display:none!important;}
body.of-theme .vs-watch-vers{display:flex;flex-wrap:wrap;gap:9px;}
body.of-theme .vs-watch-ver{
  background:var(--of-panel);border:1px solid var(--of-line);color:#e7ebf5;border-radius:9px;
  padding:10px 18px;font-size:14.5px;font-weight:600;text-decoration:none;
}
body.of-theme .vs-watch-ver:hover{border-color:var(--of-acc);color:var(--of-acc);}
/* Hop noi dung */
.of-plot-box{background:var(--of-panel);border:1px solid var(--of-line);border-radius:14px;padding:18px 20px;}
.of-plot-t{font-size:17px;font-weight:800;margin:0 0 10px;color:#fff;border-left:4px solid var(--of-acc);padding-left:11px;}
.of-plot{color:#c9d0e4;font-size:15px;line-height:1.75;}
.of-dchips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;}
.of-dchips-lb{color:var(--of-mut);font-size:14px;}
.of-chip2{background:var(--of-panel);border:1px solid var(--of-line);color:#dbe1f0;font-size:13px;padding:5px 12px;border-radius:999px;}
/* Trailer modal */
.of-trailer-modal{position:fixed;inset:0;background:rgba(4,6,12,.86);z-index:2000;display:flex;align-items:center;justify-content:center;padding:18px;}
.of-trailer-box{position:relative;width:min(880px,100%);}
.of-trailer-frame{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden;background:#000;}
.of-trailer-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.of-trailer-close{position:absolute;top:-42px;right:0;background:none;border:0;color:#fff;font-size:30px;cursor:pointer;line-height:1;}

/* ---------- BÌNH LUẬN (partial dung chung) ---------- */
body.of-theme .op-comment-panel{background:var(--of-panel);border:1px solid var(--of-line);border-radius:14px;color:#dbe1f0;padding:18px 20px;}
body.of-theme .op-comment-panel a{color:var(--of-acc);}
body.of-theme .vs-cmt-login{border-color:var(--of-line)!important;background:rgba(255,255,255,.03);}
body.of-theme .vs-cmt-login a{color:var(--of-acc)!important;}

/* ---------- TRANG XEM PHIM (template mac dinh + CSS theme) ---------- */
body.of-theme #wrapper.wrapper-watch{padding:18px 0 30px;}
body.of-theme .wp-bread{color:var(--of-mut);margin-bottom:14px;}
body.of-theme .wp-bread a{color:var(--of-mut);}
body.of-theme #player-frame{border-radius:14px;overflow:hidden;background:#000;box-shadow:0 18px 50px rgba(0,0,0,.5);}
body.of-theme .wm-episodes .child-box,
body.of-theme .wc-side .child-box{
  background:var(--of-panel);border:1px solid var(--of-line);border-radius:14px;color:#dbe1f0;
}
body.of-theme .child-box .child-header{color:#fff;font-weight:700;}
body.of-theme .streaming-server{
  background:var(--of-panel2);border:1px solid var(--of-line);color:#dbe1f0;border-radius:9px;font-weight:600;
}
body.of-theme .streaming-server:hover{border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme .streaming-server.active{background:rgba(0,200,83,.14);border-color:var(--of-acc);color:var(--of-acc);}
body.of-theme #wsEps .tph-ep.active,
body.of-theme .tph-ep.cur{background:var(--of-acc);border-color:var(--of-acc);color:#171106;}
body.of-theme .ws-actors .vs-actor-name{color:#dbe1f0;}
body.of-theme .child-suggest .item{border-bottom:1px solid var(--of-line);}
body.of-theme .child-suggest .item:last-child{border-bottom:0;}
body.of-theme .child-suggest .item-title a{color:#eef1f8;}
body.of-theme .child-suggest .item-title a:hover{color:var(--of-acc);}
body.of-theme .child-suggest .alias-title{color:var(--of-mut);}
body.of-theme .child-suggest .tag-small{background:var(--of-panel2);color:#c9d0e4;border-radius:6px;}
body.of-theme .vs-stars-row svg{color:var(--of-acc);}
/* Trang xem phim: cach le cac khoi cho thoang (Le 2026-10-21) */
body.of-theme .wm-episodes .box-body{padding:16px 18px 18px;}
body.of-theme #wsEps.tph-eps{gap:12px;}
body.of-theme .child-discuss{margin-top:22px;}
body.of-theme .child-discuss .child-header{padding:18px 20px 0;}
body.of-theme .child-discuss .child-content{padding:8px 20px 20px;}
body.of-theme .child-discuss .op-comment-panel{background:transparent;border:0;border-radius:0;padding:0;}
body.of-theme .child-actors .child-header{padding:18px 20px 2px;}
body.of-theme .child-actors .child-actors-list{padding:14px 20px 20px!important;}
/* De xuat cho ban: 1 nen den thong nhat, khong long nen xam trong nen den */
body.of-theme .wc-side .child-suggest{background:transparent;border-color:transparent;}
body.of-theme .child-suggest .child-header{padding:18px 20px 0;}
body.of-theme .child-suggest .child-content{padding:8px 20px 16px;}

/* ---------- CÁC TRANG MẶC ĐỊNH KHÁC (tim kiem, dien vien...) ---------- */
body.of-theme .cards-grid-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 14px;}
body.of-theme .page-title, body.of-theme .section-title{color:#fff;}

/* ---------- FOOTER ---------- */
.of-footer{border-top:1px solid var(--of-line);background:#080809;margin-top:44px;}
.of-footer-in{max-width:1480px;margin:0 auto;padding:38px 28px 10px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:36px;}
.of-footer-logo{display:inline-block;margin-bottom:14px;}
.of-footer-desc{color:var(--of-mut);font-size:14.5px;line-height:1.7;max-width:480px;}
.of-footer-desc b{color:var(--of-acc);}
.of-socials{display:flex;gap:9px;margin-top:16px;}
.of-socials a{width:36px;height:36px;border-radius:50%;background:var(--of-panel);border:1px solid var(--of-line);display:flex;align-items:center;justify-content:center;}
.of-socials img{width:17px;height:17px;}
.of-footer-col h4{color:#fff;font-size:14px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;margin:2px 0 15px;}
.of-footer-col a{display:block;color:var(--of-mut);text-decoration:none;font-size:14.5px;padding:4.5px 0;}
.of-footer-col a::before{content:"›";margin-right:8px;color:var(--of-acc);}
.of-footer-col a:hover{color:var(--of-acc);}
.of-footer-bottom{border-top:1px solid var(--of-line);padding:16px 28px;text-align:center;color:var(--of-mut);font-size:13.5px;max-width:1480px;margin:22px auto 0;}
/* Menu day mobile */
body.of-theme .vs-bottomnav{background:rgba(10,10,11,.97);border-top:1px solid var(--of-line);}
body.of-theme .vs-bottomnav a{color:var(--of-mut);}
body.of-theme .vs-bottomnav a.active{color:var(--of-acc);}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1280px){
  .of-search form{width:210px;}
  .of-search form:focus-within{width:240px;}
  .of-nav > a, .of-dd-btn{padding:8px 8px;font-size:14.5px;}
}
@media(max-width:1180px){
  .of-poster-grid, body.of-theme .cards-grid-wrapper{grid-template-columns:repeat(5,minmax(0,1fr));}
  .of-hero{height:480px;}
  .of-hero-title{font-size:34px;}
}
@media(max-width:992px){
  .of-nav{display:none;}
  .of-burger{display:block;}
  .of-search-btn{display:flex;margin-left:auto;}
  .of-user{margin-left:0;}
  body.of-theme #search.of-search{display:none;}
  body.of-theme #search.of-search.of-open{
    display:block!important;position:absolute;top:calc(100% + 8px);left:10px;right:10px;z-index:990;
  }
  body.of-theme #search.of-search.of-open form{width:100%;height:44px;background:#101012;box-shadow:0 16px 40px rgba(0,0,0,.6);}
  body.of-theme #search.of-search.of-open form:focus-within{width:100%;}
  body.of-theme #search.of-search.of-open input{font-size:16px;}
  body.of-theme #search.of-search.of-open .search-suggest{left:0;right:0;width:auto;}
  .of-header-in{gap:12px;padding:0 14px;}
  .of-wrap{padding:0 14px;}
  .of-hero{height:430px;}
  .of-hero-in{bottom:44px;padding:0 14px;}
  .of-hero-thumbs{display:none;}
  .of-hero-title{font-size:28px;}
  .of-poster-grid, body.of-theme .cards-grid-wrapper{grid-template-columns:repeat(4,minmax(0,1fr));}
  .of-dcols{grid-template-columns:1fr;}
  .of-dside{position:static;order:2;}
  body.of-theme .of-dactors .vs-actor-row{display:flex;overflow-x:auto;gap:14px;padding-bottom:6px;}
  body.of-theme .of-dactors .vs-actor{flex:0 0 auto;}
  .of-footer-in{grid-template-columns:1fr 1fr;}
}
@media(max-width:768px){
  .of-dhead{flex-direction:column;align-items:center;text-align:center;gap:16px;}
  .of-dposter img{width:172px;height:258px;}
  .of-dinfo{padding-top:0;width:100%;}
  .of-dtitle{font-size:25px;}
  .of-dbadges{justify-content:center;}
  .of-dmeta-grid{display:none;gap:20px;text-align:left;}
  .of-dhead.info-open .of-dmeta-grid{display:flex;}
  .of-dmeta-col{min-width:0;flex:1;}
  .of-info-toggle{
    display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:var(--of-acc);
    font-size:15.5px;font-weight:700;cursor:pointer;font-family:inherit;margin:14px auto 0;padding:6px;
  }
  .of-info-toggle svg{transition:transform .2s;}
  .of-info-toggle.open svg{transform:rotate(180deg);}
  .of-dactions{justify-content:center;}
  .of-dactions .of-btn-watch{flex:1;justify-content:center;max-width:420px;}
  .of-dacts-sep{display:none;}
  body.of-theme #wrapper.wrapper-watch{padding-top:10px;}
}
@media(max-width:600px){
  .of-poster-grid, body.of-theme .cards-grid-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 9px;}
  .of-card-p .of-name{font-size:13px;}
  .of-sec-title{font-size:18px;}
  .of-hero{height:390px;}
  .of-hero-desc{-webkit-line-clamp:2;}
  .of-footer-in{grid-template-columns:1fr;padding:30px 16px 6px;}
  .of-footer-bottom{padding:14px 16px;}
  .of-page-t{font-size:24px;}
  .of-member-btn span{display:none;}
  .of-member-btn{padding:9px 12px;}
  .of-logo-txt{font-size:20px;}
}

/* ============================================================
   ONFLIX — khác biệt cấu trúc so với khung gốc
   ============================================================ */
.of-logo-dot{color:var(--of-acc);}
/* Rail: muc dang chon co soc xanh ben trai + chu xanh */
.of-rail-item{position:relative;}
.of-rail-item.on{color:var(--of-acc);}
.of-rail-item.on::before{content:"";position:absolute;left:-6px;top:18%;bottom:18%;width:3.5px;border-radius:3px;background:var(--of-acc);}
/* Tieu de khoi trang chu: khong soc, chu thuong trang dam */
.of-sec-title::before{display:none;}
.of-sec-title{letter-spacing:.1px;}
/* Hero: tieu de lon hon, nut phat xanh */
.of-hero-title{font-size:44px;font-weight:900;}

/* --- Card poster Onflix: IMDb goc trai tren, huy hieu tap day poster --- */
.of-b-imdb{
  position:absolute;top:6px;left:6px;background:linear-gradient(180deg,#f7b733,#f59e0b);color:#1a1206;
  font-size:9px;font-weight:800;padding:2px 5px;border-radius:5px;box-shadow:0 4px 12px rgba(0,0,0,.4);z-index:2;
}
.of-b-eps{position:absolute;left:6px;bottom:6px;display:inline-flex;gap:5px;z-index:2;}
.of-b-ep{
  background:rgba(8,8,10,.88);color:#fff;font-size:9px;font-weight:700;
  padding:3px 5px;border-radius:5px;box-shadow:0 4px 12px rgba(0,0,0,.4);
}
.of-b-ep.tm{background:var(--of-acc);color:#fff;}

/* --- Archive: hang tab + luoi 7 cot --- */
.of-tabs-row{display:flex;gap:26px;border-bottom:1px solid var(--of-line);margin:14px 0 4px;overflow-x:auto;scrollbar-width:none;}
.of-tabs-row::-webkit-scrollbar{display:none;}
.of-tabs-row a{
  color:var(--of-mut);text-decoration:none;font-size:16.5px;font-weight:700;padding:0 2px 11px;white-space:nowrap;
  border-bottom:2.5px solid transparent;margin-bottom:-1px;
}
.of-tabs-row a:hover{color:#fff;}
.of-tabs-row a.on{color:var(--of-acc);border-color:var(--of-acc);}
@media(min-width:1400px){
  .of-poster-grid.of-cols-7{grid-template-columns:repeat(7,minmax(0,1fr));}
}

/* --- TRANG CHI TIẾT ONFLIX (hero khong poster, 2 cot noi dung/tap) --- */
.of-dhero2{position:relative;background-size:cover;background-position:center 16%;background-color:#0c0c0e;display:flex;min-height:430px;}
.of-dhero2-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,9,.96) 30%,rgba(8,8,9,.72) 58%,rgba(8,8,9,.35) 85%),linear-gradient(to top,var(--of-bg) 2%,transparent 40%);}
.of-dhero2-in{position:relative;padding:26px 28px 30px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;}
.of-dbadges2{display:flex;gap:8px;align-items:center;margin-bottom:14px;flex-wrap:wrap;}
.of-bdg-q{background:var(--of-acc);color:#fff;font-size:11px;font-weight:800;padding:3px 8px;border-radius:6px;}
.of-bdg-d{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px;}
.of-bdg-y{color:#d7d7db;font-size:13px;font-weight:600;}
.of-dtitle2{font-size:42px;font-weight:900;line-height:1.14;margin:0 0 7px;color:#fff;max-width:900px;}
.of-dorigin2{color:#c9c9ce;font-size:17.5px;margin-bottom:13px;}
.of-dstatus2{color:var(--of-acc);font-weight:700;font-size:15.5px;margin-bottom:15px;display:flex;align-items:center;gap:8px;}
.of-dmeta2{color:#bdbdc2;font-size:14.5px;line-height:1.75;max-width:880px;}
.of-dmeta2 b{color:#ececef;font-weight:600;}
.of-dmeta2 a{color:#ececef;text-decoration:none;}
.of-dmeta2 a:hover{color:var(--of-acc);}
.of-dmeta2 .sep{margin:0 12px;color:#55555c;}
.of-dacts2{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-top:21px;}
.of-btn-play{
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap;background:linear-gradient(180deg,#00d95f,#00b248);color:#fff!important;
  font-weight:800;font-size:15.5px;letter-spacing:.5px;text-transform:uppercase;padding:14px 30px;border-radius:10px;
  text-decoration:none;box-shadow:0 10px 28px rgba(0,200,83,.28);transition:transform .15s;
}
.of-btn-play:hover{transform:translateY(-1px);}
.of-pill-act{
  display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);
  color:#ececef;font-weight:600;font-size:14.5px;padding:12px 20px;border-radius:10px;cursor:pointer;font-family:inherit;text-decoration:none;
}
.of-pill-act:hover{border-color:var(--of-acc);color:var(--of-acc);}
.of-pill-act.on{color:var(--of-acc);border-color:var(--of-acc);}
.of-pill-act.on svg{fill:var(--of-acc);}
.of-dcols2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:36px;margin-top:28px;align-items:start;}
.of-side-t{font-size:15px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#fff;margin:0 0 13px;border-left:3.5px solid var(--of-acc);padding-left:10px;}
.of-dsec2{margin-bottom:30px;}
.of-plot2{color:#c6c6cb;font-size:14.5px;line-height:1.8;text-align:justify;}
.of-dirnames{color:#ececef;font-size:14.5px;line-height:1.7;}
.of-dirnames a{color:#ececef;text-decoration:none;}
.of-dirnames a:hover{color:var(--of-acc);}
body.of-theme .of-actors2 .vs-actor-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 6px;overflow:visible;padding:0;}
body.of-theme .of-actors2 .vs-actor{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;width:auto;min-width:0;}
body.of-theme .of-actors2 .vs-actor-ph{width:56px;height:56px;border-radius:50%;overflow:hidden;background:var(--of-panel2);display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;color:var(--of-mut);border:1px solid var(--of-line);}
body.of-theme .of-actors2 .vs-actor-ph img{width:100%;height:100%;object-fit:cover;}
body.of-theme .of-actors2 .vs-actor-name{font-size:11.5px;color:#d7d7db;text-align:center;line-height:1.3;}
body.of-theme .of-actors2 .vs-actor:hover .vs-actor-name{color:var(--of-acc);}
.of-gchips{display:flex;gap:8px;flex-wrap:wrap;}
.of-gchip{
  border:1px solid var(--of-line);background:var(--of-panel);color:#d7d7db;font-size:12px;font-weight:700;
  letter-spacing:.5px;text-transform:uppercase;padding:6px 12px;border-radius:7px;text-decoration:none;
}
.of-gchip:hover{border-color:var(--of-acc);color:var(--of-acc);}
.of-info-t{width:100%;}
/* Ten class rieng of-irow: tranh trung .row cua CSS nen (Bootstrap gon: .row>* width:100% lam vo hang) */
.of-info-t .of-irow{display:flex;flex-wrap:nowrap;align-items:baseline;justify-content:space-between;gap:14px;padding:7.5px 0;border-bottom:1px solid rgba(38,38,44,.65);font-size:14px;}
.of-info-t .of-irow:last-child{border-bottom:0;}
.of-info-t .k{color:var(--of-mut);flex:0 0 auto;}
.of-info-t .v{color:#ececef;font-weight:600;text-align:right;min-width:0;}
.of-info-t .v a{color:#ececef;text-decoration:none;}
.of-info-t .v a:hover{color:var(--of-acc);}
/* Tab bar cot phai */
.of-tabs2{display:flex;gap:24px;border-bottom:1px solid var(--of-line);margin-bottom:16px;overflow-x:auto;scrollbar-width:none;}
.of-tabs2::-webkit-scrollbar{display:none;}
.of-tabs2 .tb{
  color:var(--of-mut);font-size:15px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;
  padding:0 2px 11px;border-bottom:2.5px solid transparent;margin-bottom:-1px;background:none;border-top:0;border-left:0;border-right:0;
  cursor:pointer;font-family:inherit;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;
}
.of-tabs2 .tb:hover{color:#fff;}
.of-tabs2 .tb.on{color:var(--of-acc);border-bottom-color:var(--of-acc);}
body.of-theme .of-dmain2 .tph-server.active{background:var(--of-acc);border-color:var(--of-acc);color:#fff;}
body.of-theme .of-dmain2 .tph-svcount{background:#fff;color:#0a0a0b;}
.of-eps-lb{color:#d7d7db;font-size:14.5px;font-weight:600;margin:2px 0 12px;}
.of-eps-lb b{color:#fff;}
/* Footer lien he */
.of-contact-icons{display:flex;flex-direction:column;gap:13px;}
.of-contact-icons a{display:flex;align-items:center;gap:11px;color:var(--of-mut);text-decoration:none;font-size:14.5px;}
.of-contact-icons a:hover{color:var(--of-acc);}
.of-contact-icons .ic{
  width:34px;height:34px;border-radius:50%;background:var(--of-panel);border:1px solid var(--of-line);
  display:flex;align-items:center;justify-content:center;color:var(--of-acc);flex-shrink:0;
}
@media(min-width:993px){
  .of-footer-in{grid-template-columns:1.5fr 1fr 1fr 1fr;}
}
@media(max-width:992px){
  .of-dcols2{grid-template-columns:1fr;}
  .of-dtitle2{font-size:31px;}
  body.of-theme .of-actors2 .vs-actor-row{display:flex;overflow-x:auto;gap:13px;padding-bottom:6px;}
  body.of-theme .of-actors2 .vs-actor{flex:0 0 auto;}
}
@media(max-width:600px){
  .of-dhero2-in{padding:18px 14px 22px;}
  .of-dtitle2{font-size:25px;}
  .of-hero-title{font-size:29px;}
  .of-btn-play{flex:1;justify-content:center;}
}

/* ---------- TRANG CHỦ: MENU TRONG SUỐT ĐÈ HERO + HERO FULL NGANG (Le 2026-10-21) ---------- */
body.of-home .of-header{
  position:fixed;left:0;right:0;top:0;
  background:linear-gradient(180deg,rgba(6,6,7,.55),rgba(6,6,7,0));
  border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background .25s;
}
body.of-home .of-header.of-scrolled{
  background:rgba(10,10,11,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(33,42,71,.7);
}
body.of-home .of-rail{background:linear-gradient(90deg,rgba(6,6,7,.45),rgba(6,6,7,0) 85%);border-right:0;}
@media(min-width:993px){
  body.of-home .of-hero{margin-left:-76px;height:min(88vh,740px);min-height:540px;}
  body.of-home .of-hero-in{padding-left:92px;}
}
/* Khoi Top (phim bo / top phim): 4 phim 1 hang, the to */
body.of-theme .of-toprail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;overflow:visible;padding:6px 0 10px;}
body.of-theme .of-topcard{width:auto;padding:16px;gap:15px;}
body.of-theme .of-topno::before{font-size:66px;min-width:74px;}
body.of-theme .of-topthumb{width:84px;height:118px;border-radius:10px;}
body.of-theme .of-topname{font-size:16px;}
@media(max-width:1200px){
  body.of-theme .of-toprail{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body.of-theme .of-toprail{grid-template-columns:1fr;}
  body.of-theme .of-topthumb{width:70px;height:98px;}
  body.of-theme .of-topno::before{font-size:54px;min-width:60px;}
}
@media(min-width:993px) and (max-width:1280px){
  .of-hero-thumb{width:44px;height:62px;}
}

/* ---------- FULL LỀ MỌI TRANG + MENU TRONG SUỐT MỌI TRANG (Le 2026-10-21) ---------- */
body.of-theme .of-header{
  position:fixed;left:0;right:0;top:0;
  background:linear-gradient(180deg,rgba(6,6,7,.55),rgba(6,6,7,0));
  border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background .25s;
}
body.of-theme .of-header.of-scrolled{
  background:rgba(10,10,11,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(33,42,71,.7);
}
body.of-theme .of-rail{background:linear-gradient(90deg,rgba(6,6,7,.45),rgba(6,6,7,0) 85%);border-right:0;}
/* Header fixed: day noi dung xuong 62px; hero full-bleed thi keo len sat top de menu de len anh */
body.of-theme #app{padding-top:62px;}
body.of-theme .of-hero{margin-top:-62px;}
body.of-theme .of-dhero2{margin-top:-62px;}
/* Trang dung template chung (dang nhap/dang ky/tim kiem...): bo gioi han .container */
body.of-theme .container{max-width:none;}
/* Chi tiet: khung binh luan dan het cot phai (bo max-width 1100px cua CSS nen) */
body.of-theme .of-dmain2 .tph-comments{max-width:none;}
@media(max-width:768px){
  body.of-theme .of-dhero2{min-height:330px;}
}

/* ---------- MOBILE: TOPBAR + TRÀN NỘI DUNG TRANG CHI TIẾT (Le 2026-10-21) ---------- */
/* CSS nen co rule @media(max-width:799px) header{position:relative!important} de ca theme -> ep lai fixed cho Onflix */
@media(max-width:799px){
  body.of-theme .of-header{position:fixed!important;top:0!important;left:0!important;right:0!important;}
}
@media(max-width:992px){
  /* Dien vien: giu luoi can giua, bo dang flex truot ngang (lam phinh cot + lech 1 ben) */
  body.of-theme .of-actors2 .vs-actor-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 6px;overflow:visible;padding:0;}
  body.of-theme .of-actors2 .vs-actor{width:auto;min-width:0;}
  .of-dside2,.of-dmain2{min-width:0;}
  /* Tab chi tiet: xuong dong gon thay vi truot ngang cat chu "Binh luan" */
  .of-tabs2{flex-wrap:wrap;overflow:visible;gap:10px 20px;}
}
@media(max-width:600px){
  /* Trang chi tiet: le 6px moi ben */
  body.of-theme .of-dfull{padding-left:6px;padding-right:6px;}
  .of-dhero2-in{padding-left:6px;padding-right:6px;}
  /* Hero mobile: cao hon chut + mo ta 2 dong de khoi chu khong de len topbar */
  .of-hero{height:470px;}
  .of-hero-desc{-webkit-line-clamp:2;}
  .of-chip{font-size:12px;padding:3px 9px;}
}

/* ---------- MOBILE: NHÃN TỤT DƯỚI TOPBAR + NÚT CHIẾU PHÁT 1 DÒNG (Le 2026-10-21) ---------- */
@media(max-width:768px){
  /* Hero chi tiet: noi dung bat dau duoi topbar co dinh, hang nhan HD/LT/nam khong bi che */
  body.of-theme .of-dhero2{min-height:0;}
  .of-dhero2-in{justify-content:flex-start;padding-top:76px;}
}
@media(max-width:600px){
  .of-chip{font-size:11px;padding:3px 8px;}
  .of-btn-play{flex:0 1 auto;padding:12px 20px;font-size:14.5px;}
}

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