/* BL Video Codes 1.6.0 — eigen SKSM-player met YouTube IFrame API */
.blvc-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin:1.5rem 0}
.blvc-item{min-width:0;padding:1.15rem;border:1px solid rgba(127,127,127,.28);border-radius:12px;background:var(--wp--preset--color--base,#fff);color:inherit;box-shadow:0 3px 14px rgba(0,0,0,.05)}
.blvc-title{margin:.25rem 0 .65rem;font-size:1.3rem}
.blvc-description{margin:.5rem 0 1rem}
.blvc-thumb img{display:block;width:100%;height:auto;max-height:280px;object-fit:cover;border-radius:8px;margin-bottom:.8rem}
.blvc-code-form{display:flex;flex-wrap:wrap;gap:.7rem;align-items:end;margin-top:1rem}
.blvc-code-form label{display:flex;flex-direction:column;gap:.35rem;flex:1 1 180px;font-weight:600}
.blvc-code-form input{box-sizing:border-box;width:100%;min-height:44px;padding:.65rem .75rem;border:1px solid #8c8f94;border-radius:6px;font:inherit}
.blvc-code-form button,.blvc-open{min-height:44px;padding:.7rem 1.1rem;border:0;border-radius:6px;background:#202a35;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.blvc-code-form button:hover,.blvc-open:hover{filter:brightness(1.18)}
.blvc-error{flex-basis:100%;margin:.25rem 0;color:#b32d2e}
.blvc-message{padding:1rem;border-left:4px solid #b32d2e;background:#fff5f5}
.blvc-player-shell{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#080b10 var(--blvc-poster) center/cover no-repeat;isolation:isolate;color:#fff}
.blvc-player-shell:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(4,8,14,.42),rgba(4,8,14,.72));z-index:0;pointer-events:none}
.blvc-youtube-slot,.blvc-youtube-slot>div,.blvc-youtube-slot iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.blvc-youtube-slot iframe{pointer-events:none!important}
.blvc-interaction-shield{position:absolute;z-index:4;inset:0;background:transparent;cursor:default;touch-action:pan-y}
.blvc-play-overlay{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;border:0;background:transparent;color:#fff;cursor:pointer;font:inherit}
.blvc-play-overlay[hidden],.blvc-custom-controls[hidden]{display:none!important}
.blvc-play-overlay:disabled{cursor:wait}
.blvc-play-icon{position:relative;display:block;width:72px;height:72px;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(0,0,0,.42);transition:transform .2s,background .2s}
.blvc-play-icon:after{content:"";position:absolute;top:21px;left:28px;border-top:14px solid transparent;border-bottom:14px solid transparent;border-left:21px solid #fff}
.blvc-play-overlay:hover .blvc-play-icon{transform:scale(1.08);background:rgba(0,0,0,.72)}
.blvc-play-label{padding:6px 13px;border-radius:30px;background:rgba(0,0,0,.68);font-size:.9rem;font-weight:700;letter-spacing:.02em}
.blvc-custom-controls{position:absolute;z-index:7;left:0;right:0;bottom:0;display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 12px;background:linear-gradient(transparent,rgba(0,0,0,.92));color:#fff;opacity:.25;transition:opacity .2s}
.blvc-player-shell:hover .blvc-custom-controls,.blvc-custom-controls:focus-within{opacity:1}
.blvc-control{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;cursor:pointer;font-size:18px}
.blvc-control:hover{background:rgba(255,255,255,.16)}
.blvc-control-symbol{line-height:1}
.blvc-current-time,.blvc-duration{flex:0 0 auto;font:12px/1.2 Arial,sans-serif;color:#fff;font-variant-numeric:tabular-nums}
.blvc-seek{flex:1 1 auto;min-width:30px;accent-color:#e6e6e6;cursor:pointer}
.blvc-volume{width:76px;flex:0 1 76px;accent-color:#e6e6e6;cursor:pointer}
.blvc-player-inline{margin:.75rem 0}
.blvc-dialog{padding:0;border:1px solid rgba(255,255,255,.15);border-radius:12px;width:min(1100px,94vw);max-width:none;max-height:92vh;background:#080b10;color:#fff;box-shadow:0 20px 80px rgba(0,0,0,.65)}
.blvc-dialog::backdrop{background:rgba(0,0,0,.88);backdrop-filter:blur(3px)}
.blvc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:48px;padding:.55rem .9rem;font-size:1rem}
.blvc-close{border:0;background:transparent;color:#fff;font-size:2rem;line-height:1;cursor:pointer}
.blvc-dialog .blvc-player-shell{border-radius:0}
.blvc-launcher{margin:.5rem 0}
@media(max-width:680px){.blvc-library{grid-template-columns:1fr}.blvc-item{padding:1rem}.blvc-code-form{align-items:stretch}.blvc-code-form button{width:100%}.blvc-dialog{width:96vw;max-height:85vh}.blvc-play-icon{width:62px;height:62px}.blvc-play-icon:after{top:17px;left:24px}.blvc-custom-controls{gap:5px;padding:6px}.blvc-volume{width:48px;flex-basis:48px}.blvc-current-time,.blvc-duration{font-size:10px}}


/* Mobiele bediening: volume wordt door iOS/Android op toestel-niveau geregeld. */
@media (hover:none) and (pointer:coarse){
  .blvc-volume{display:none!important}
  .blvc-mute{min-width:38px;min-height:38px}
  .blvc-custom-controls{opacity:1;min-height:54px;padding:7px 10px;gap:7px}
  .blvc-control{width:38px;height:38px;font-size:20px}
  .blvc-current-time,.blvc-duration{font-size:11px}
  .blvc-seek{min-height:24px}
}

/* CSS-fullscreen als mobiele browser geen Fullscreen API toestaat. */
.blvc-player-shell.blvc-mobile-fullscreen{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background-color:#000!important;
}
.blvc-player-shell.blvc-mobile-fullscreen .blvc-youtube-slot,
.blvc-player-shell.blvc-mobile-fullscreen .blvc-youtube-slot>div,
.blvc-player-shell.blvc-mobile-fullscreen .blvc-youtube-slot iframe{
  width:100%!important;
  height:100%!important;
}
.blvc-player-shell.blvc-mobile-fullscreen .blvc-custom-controls{
  padding-bottom:max(10px, env(safe-area-inset-bottom));
}
body.blvc-fullscreen-active{overflow:hidden!important}
