/* === Extra UI (modal + custom player) === */
.modalOverlay{
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.78);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.modalOverlay.show{display:flex}
.modalCard{
  max-width:min(1100px, 96vw);
  max-height:92vh;
  background:rgba(15,15,17,.92);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
}
.modalClose{
  position:absolute; top:12px; right:12px;
  width:42px; height:42px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff; cursor:pointer;
  display:grid; place-items:center;
  font-size:22px;
}
.modalClose:hover{background:rgba(255,255,255,.09)}
.modalBody{display:block}
.modalBody img{display:block; width:100%; height:auto; max-height:92vh; object-fit:contain; background:#000}

/* Custom video player */
.vplayer{
  position:relative;
  width:100%;
  height:100%;
  background:#000;
}
.vplayer video{
  width:100%;
  height:100%;
  display:block;
  background:#000;
}
.vcontrols{
  position:absolute; left:10px; right:10px; bottom:10px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:10px 12px;
  display:flex;
  gap:10px;
  align-items:center;
}
.vbtn{
  width:38px;height:38px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff; cursor:pointer;
  display:grid;place-items:center;
  user-select:none;
}
.vbtn:hover{background:rgba(255,255,255,.10)}
.vtime{color:rgba(255,255,255,.8); font-size:12px; min-width:90px; text-align:center}
.vbar{
  flex:1;
  height:8px;
  background:rgba(255,255,255,.16);
  border-radius:999px;
  overflow:hidden;
  cursor:pointer;
}
.vbar > div{height:100%; width:0%; background:rgba(228,108,28,.95)}
.vvol{
  width:88px;
  height:8px;
  background:rgba(255,255,255,.16);
  border-radius:999px;
  overflow:hidden;
  cursor:pointer;
}
.vvol > div{height:100%; width:65%; background:rgba(255,255,255,.78)}
/* Video preview tile (first frame + play overlay) */
.videoThumb{
  position:relative;
  width:100%;
  height:100%;
}
.videoThumb video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#000;
  filter:saturate(1.05) contrast(1.05);
}
.videoOverlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
  color:#fff;
  pointer-events:none;
}
.playIcon{
  width:64px;height:64px;border-radius:22px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.38);
  display:grid;place-items:center;
  font-size:26px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.playLabel{
  font-weight:800;
  font-size:14px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
}
