/* Video page, home hero video and pop-up player */
.hero-video{position:relative;}
.hero-video video.art{display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; background:#E7F1E9;}
.hv-btn{position:absolute; right:14px; top:14px; display:inline-flex; align-items:center; gap:8px; border:0; cursor:pointer;
  background:rgba(0,59,27,.86); color:#fff; font:inherit; font-weight:700; font-size:.88rem; padding:9px 14px 9px 10px; border-radius:999px;
  box-shadow:0 6px 18px -6px rgba(0,0,0,.4); backdrop-filter:blur(4px);}
.hv-btn:hover{background:var(--navy-deep);}
.hv-ico{display:flex; width:26px; height:26px; border-radius:50%; background:var(--amber); color:#3A2B00; align-items:center; justify-content:center;}
.hv-ico svg{width:16px; height:16px;}
.hero-video.no-auto .hv-btn{right:50%; top:50%; transform:translate(50%,-50%); padding:12px 18px 12px 12px; font-size:1rem;}
.hero-video.no-auto .hv-ico{width:40px; height:40px;}
.hero-video.no-auto .hv-ico svg{width:22px; height:22px;}

.vjump{display:flex; flex-wrap:wrap; gap:8px; margin-top:22px;}
.vjump a{display:inline-flex; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.14); color:#fff; text-decoration:none; font-weight:600; font-size:.92rem; border:1px solid rgba(255,255,255,.28);}
.vjump a:hover{background:rgba(255,255,255,.24); color:#fff;}
.vsec .sec-head p{margin-top:6px;}
.vsec .muted{color:var(--muted); font-weight:600;}
.vgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:22px 18px; margin-top:26px;}
.vgrid.four{grid-template-columns:repeat(4,1fr);}
.vcard{appearance:none; border:0; background:none; padding:0; margin:0; text-align:left; font:inherit; color:inherit; cursor:pointer; display:flex; flex-direction:column; gap:4px;}
.vthumb{position:relative; display:block; border-radius:18px; overflow:hidden; aspect-ratio:9/16; background:#1F5E37; box-shadow:var(--shadow-2); margin-bottom:8px; border:1px solid var(--line);}
.vthumb img{width:100%; height:100%; object-fit:cover; transition:transform .3s ease;}
.vcard:hover .vthumb img{transform:scale(1.04);}
.vplay{position:absolute; left:50%; top:50%; width:58px; height:58px; margin:-29px 0 0 -29px; border-radius:50%; background:rgba(255,255,255,.95); color:var(--navy); display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px -6px rgba(0,0,0,.45);}
.vplay svg{width:26px; height:26px; margin-left:3px;}
.vtag{position:absolute; left:10px; top:10px; background:var(--amber); color:#3A2B00; font-weight:800; font-size:.75rem; padding:4px 9px; border-radius:999px;}
.vcard b{font-size:1rem; line-height:1.3; color:var(--ink);}
.vcard .vline{font-size:.86rem; line-height:1.4; color:var(--muted);}
.vcard:focus-visible .vthumb{outline:3px solid var(--amber); outline-offset:3px;}
.vfeature{max-width:860px; margin-top:22px;}
.vfeature .vcard.wide .vthumb{aspect-ratio:16/9;}
.vfeature .vcard b{font-size:1.2rem;}
.vfeature .vplay{width:76px; height:76px; margin:-38px 0 0 -38px;}
.vfeature .vplay svg{width:34px; height:34px;}
.vnote{font-size:.92rem; color:var(--muted); max-width:760px; margin:0;}
.vhome .sec-head.row{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap;}
.vhome .sec-head.row .btn svg{width:18px; height:18px;}

/* pop-up player */
.vmodal{position:fixed; inset:0; z-index:200; background:rgba(0,20,8,.86); display:flex; align-items:center; justify-content:center; padding:20px;}
.vmodal[hidden]{display:none;}
.vbox{width:min(420px,100%); max-height:100%; display:flex; flex-direction:column; gap:12px;}
.vbox.wide{width:min(960px,100%);}
.vbox video{width:100%; max-height:calc(100vh - 150px); aspect-ratio:9/16; background:#000; border-radius:18px; object-fit:contain;}
.vbox.wide video{aspect-ratio:16/9;}
.vmeta{display:flex; align-items:center; justify-content:space-between; gap:12px; color:#fff;}
.vmeta b{display:block; font-size:1.05rem; line-height:1.3;}
.vmeta span{display:block; font-size:.86rem; opacity:.8; line-height:1.4;}
.vbtns{display:flex; gap:8px; flex:none;}
.vbtns button{border:0; border-radius:999px; font:inherit; font-weight:700; font-size:.9rem; padding:10px 16px; cursor:pointer;}
.vshare{background:var(--wa); color:#fff;}
.vclose{background:rgba(255,255,255,.16); color:#fff;}
body.vmodal-open{overflow:hidden;}

@media (max-width:860px){
  .vgrid, .vgrid.four{grid-template-columns:repeat(2,1fr); gap:18px 14px;}
  .vplay{width:48px; height:48px; margin:-24px 0 0 -24px;}
  .vplay svg{width:22px; height:22px;}
  .vmodal{padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px)); align-items:flex-end;}
  .vbox{width:100%;}
  .vbox video{max-height:calc(100vh - 170px); margin:0 auto; width:auto; max-width:100%;}
  .vmeta{padding:0 4px;}
  .vhome .sec-head.row .btn{width:100%;}
}
@media (prefers-reduced-motion:reduce){ .vthumb img{transition:none;} }
body.vmodal-open .app-tabs, body.vmodal-open .app-install{display:none !important;}
.hv-txt{white-space:nowrap;}
