/* ===== Cinema-Grade Video Hub (_bss_core/css/bss-video.css) ===== */

@property --bsv-fade-start{
  syntax:"<length>";
  inherits:false;
  initial-value:0px;
}
@property --bsv-fade-end{
  syntax:"<length>";
  inherits:false;
  initial-value:0px;
}
@keyframes bsv-reveal-fade-start{
  to{ --bsv-fade-start:var(--bsv-fade-size); }
}
@keyframes bsv-hide-fade-end{
  from{ --bsv-fade-end:var(--bsv-fade-size); }
}

html.bsv-light-doc,
html.bsv-light-doc body,
html.bsv-light-doc .content{
  background:#FAF8F4!important;
}
html.bsv-dark-doc,
html.bsv-dark-doc body,
html.bsv-dark-doc .content{
  background:#111317!important;
}

.bsv-legacy-hidden{
  display:none!important;
}

.bsv-sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Warm Editorial Ivory Default Tokens */
.bsv-root{
  --v-bg:#FAF8F4;
  --v-card:#FFFFFF;
  --v-surface:#F2EDE3;
  --v-surface-2:#E7DFCF;
  --v-ink:#1D1B18;
  --v-muted:#665E53;
  --v-line:rgba(29,27,24,.11);
  --v-line-strong:rgba(29,27,24,.22);
  --v-accent:#9A3412;
  --v-accent-hover:#7C2D12;
  --v-accent-soft:rgba(154,52,18,.10);
  --v-accent-ink:#FFFDF9;
  --v-gold:#B45309;
  --v-gold-soft:rgba(180,83,9,.13);
  --v-ok:#15803D;
  --v-ok-soft:rgba(21,128,61,.12);
  --v-yt:#CC181E;
  --v-yt-hover:#A81217;
  --v-bar-bg:rgba(250,248,244,.90);
  --v-shadow:0 10px 30px rgba(29,27,24,.07);
  --v-stage-shadow:0 18px 46px rgba(15,12,10,.20);
  --v-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --v-serif:Georgia,"Charter","Palatino Linotype","Book Antiqua",Palatino,Cambria,"Times New Roman",serif;

  position:relative;
  background:var(--v-bg);
  color:var(--v-ink);
  font-family:var(--v-sans);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  min-height:60vh;
}

.bsv-root[data-v-theme="dark"]{
  --v-bg:#111317;
  --v-card:#191C22;
  --v-surface:#22262F;
  --v-surface-2:#2C313D;
  --v-ink:#F2EFE9;
  --v-muted:#A4A096;
  --v-line:rgba(255,255,255,.10);
  --v-line-strong:rgba(255,255,255,.22);
  --v-accent:#E07A4B;
  --v-accent-hover:#F08C5D;
  --v-accent-soft:rgba(224,122,75,.16);
  --v-accent-ink:#16110D;
  --v-gold:#F59E0B;
  --v-gold-soft:rgba(245,158,11,.15);
  --v-ok:#4ADE80;
  --v-ok-soft:rgba(74,222,128,.14);
  --v-bar-bg:rgba(17,19,23,.90);
  --v-shadow:0 14px 36px rgba(0,0,0,.44);
  --v-stage-shadow:0 22px 54px rgba(0,0,0,.55);
}

@media (prefers-color-scheme:dark){
  .bsv-root[data-v-theme="auto"]{
    --v-bg:#111317;
    --v-card:#191C22;
    --v-surface:#22262F;
    --v-surface-2:#2C313D;
    --v-ink:#F2EFE9;
    --v-muted:#A4A096;
    --v-line:rgba(255,255,255,.10);
    --v-line-strong:rgba(255,255,255,.22);
    --v-accent:#E07A4B;
    --v-accent-hover:#F08C5D;
    --v-accent-soft:rgba(224,122,75,.16);
    --v-accent-ink:#16110D;
    --v-gold:#F59E0B;
    --v-gold-soft:rgba(245,158,11,.15);
    --v-ok:#4ADE80;
    --v-ok-soft:rgba(74,222,128,.14);
    --v-bar-bg:rgba(17,19,23,.90);
    --v-shadow:0 14px 36px rgba(0,0,0,.44);
    --v-stage-shadow:0 22px 54px rgba(0,0,0,.55);
  }
}

.bsv-root *,
.bsv-root *::before,
.bsv-root *::after{
  box-sizing:border-box;
}

.bsv-wrap{
  max-width:1260px;
  margin-inline:auto;
  padding:20px 18px 48px;
}

/* Shared SVG Icons */
.bsv-ico{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none;
  display:inline-block;
  vertical-align:middle;
}

/* Shared Buttons & Segmented Controls */
.bsv-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-inline-size:40px;
  min-block-size:40px;
  padding:7px 14px;
  border-radius:11px;
  border:1px solid var(--v-line);
  background:var(--v-card);
  color:var(--v-ink)!important;
  font:600 .87rem/1.25 var(--v-sans);
  text-decoration:none!important;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .12s ease;
}
.bsv-btn:hover{
  border-color:var(--v-accent);
  color:var(--v-accent)!important;
}
.bsv-btn:active{
  transform:scale(.98);
}
.bsv-btn:disabled{
  opacity:.42;
  cursor:not-allowed;
  transform:none;
}
.bsv-btn:focus-visible,
.bsv-pill:focus-visible,
.bsv-seg button:focus-visible,
.bsv-select:focus-visible,
.bsv-fav-btn:focus-visible,
.bsv-facade:focus-visible,
.bsv-upnext-item:focus-visible,
.bsv-more-btn:focus-visible{
  outline:2px solid var(--v-accent);
  outline-offset:2px;
}
.bsv-btn--soft{
  background:var(--v-surface);
  border-color:transparent;
}
.bsv-btn--soft:hover{
  background:var(--v-surface-2);
  color:var(--v-ink)!important;
}
.bsv-btn--pri{
  background:var(--v-accent);
  border-color:var(--v-accent);
  color:var(--v-accent-ink)!important;
}
.bsv-btn--pri:hover{
  background:var(--v-accent-hover);
  border-color:var(--v-accent-hover);
  color:var(--v-accent-ink)!important;
}
.bsv-btn--yt{
  background:var(--v-yt);
  border-color:var(--v-yt);
  color:#fff!important;
}
.bsv-btn--yt:hover{
  background:var(--v-yt-hover);
  border-color:var(--v-yt-hover);
  color:#fff!important;
}
.bsv-btn.is-on{
  background:var(--v-accent-soft);
  border-color:color-mix(in srgb,var(--v-accent) 45%,transparent);
  color:var(--v-accent)!important;
}
.bsv-btn.is-ok{
  background:var(--v-ok-soft);
  border-color:color-mix(in srgb,var(--v-ok) 40%,transparent);
  color:var(--v-ok)!important;
}

@media (pointer:coarse){
  .bsv-btn,
  .bsv-select{
    min-block-size:40px;
  }
  .bsv-pill,
  .bsv-seg button{
    min-block-size:36px;
  }
}

.bsv-seg{
  display:inline-flex;
  align-items:center;
  padding:3px;
  border-radius:12px;
  background:var(--v-surface);
  border:1px solid var(--v-line);
  gap:2px;
}
.bsv-seg button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:0;
  background:transparent;
  color:var(--v-muted);
  font:600 .82rem/1.2 var(--v-sans);
  min-block-size:34px;
  padding:6px 12px;
  border-radius:9px;
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.bsv-seg button:hover{
  color:var(--v-ink);
}
.bsv-seg button.is-on{
  background:var(--v-card);
  color:var(--v-ink);
  box-shadow:0 1px 4px rgba(0,0,0,.10);
}

/* ===== HERO HEADER BAR ===== */
.bsv-top{
  border:1px solid var(--v-line);
  border-radius:20px;
  padding:20px 24px;
  margin-bottom:20px;
  background:
    radial-gradient(ellipse 55% 95% at 96% 10%,var(--v-gold-soft),transparent 70%),
    linear-gradient(155deg,var(--v-card) 0%,var(--v-surface) 100%);
  box-shadow:var(--v-shadow);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 20px;
}
.bsv-top-copy{
  min-inline-size:0;
  flex:1 1 300px;
}
.bsv-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font:700 .74rem/1.2 var(--v-sans);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--v-accent);
  margin-bottom:6px;
}
.bsv-eyebrow-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--v-accent);
}
.bsv-title-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
}
.bsv-hero-title{
  margin:0;
  font-family:var(--v-serif);
  font-weight:700;
  font-size:clamp(1.6rem,1.25rem + 1.4vw,2.2rem);
  line-height:1.15;
  text-wrap:balance;
  color:var(--v-ink);
}
.bsv-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.bsv-stat-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-block-size:28px;
  padding:4px 11px;
  border-radius:999px;
  background:var(--v-card);
  border:1px solid var(--v-line);
  font:600 .8rem/1.2 var(--v-sans);
  color:var(--v-muted);
}
.bsv-stat-pill strong{
  color:var(--v-ink);
  font-weight:750;
}
.bsv-top-tools{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

/* ===== VIDEO WATCH STAGE ===== */
.bsv-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:20px;
  align-items:start;
  margin-bottom:24px;
}
.bsv-stage.is-theater{
  grid-template-columns:minmax(0,1fr);
}
@media (max-width:991.98px){
  .bsv-stage{
    grid-template-columns:minmax(0,1fr);
  }
}

.bsv-main{
  min-inline-size:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.bsv-player-shell{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:18px;
  overflow:hidden;
  background:#0C0B0A;
  border:1px solid var(--v-line-strong);
  box-shadow:var(--v-stage-shadow);
}
.bsv-player-shell iframe,
.bsv-player-shell .bsv-yt-host{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Crisp Poster Facade (zero YouTube JS until interaction) */
.bsv-facade{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:#0C0B0A;
  color:#fff;
  cursor:pointer;
  text-align:left;
}
.bsv-facade img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.bsv-facade:hover img{
  transform:scale(1.02);
}
.bsv-facade-scrim{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center,rgba(12,10,8,.18) 0%,rgba(12,10,8,.42) 60%,rgba(12,10,8,.68) 100%),
    linear-gradient(to top,rgba(12,10,8,.76) 0%,transparent 42%);
  pointer-events:none;
}
.bsv-facade-play{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(204,24,30,.92);
  color:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.18);
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.bsv-facade-play svg{
  width:28px;
  height:28px;
  fill:currentColor;
  transform:translateX(2px);
}
.bsv-facade:hover .bsv-facade-play{
  transform:translate(-50%,-50%) scale(1.08);
  background:#E11D24;
  box-shadow:0 16px 40px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.24);
}
.bsv-facade-foot{
  position:absolute;
  inset:auto 16px 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  pointer-events:none;
}
.bsv-facade-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(17,15,13,.76);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.18);
  font:600 .82rem/1.2 var(--v-sans);
  color:#FFFDF9;
}

/* Stage Action Toolbar */
.bsv-lbl-short,
.bsv-yt-short{
  display:none;
}
.bsv-toolbar{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px 12px;
  border-radius:15px;
  border:1px solid var(--v-line);
  background:var(--v-card);
  box-shadow:0 4px 14px rgba(29,27,24,.04);
}
.bsv-tb-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.bsv-tb-nav{
  justify-content:space-between;
}
.bsv-nav-pair{
  display:flex;
  align-items:center;
  gap:8px;
}
.bsv-autonext-btn{
  gap:9px;
}
.bsv-sw{
  position:relative;
  flex:none;
  width:32px;
  height:18px;
  border-radius:999px;
  background:var(--v-line-strong);
  transition:background-color .16s ease;
}
.bsv-sw::after{
  content:"";
  position:absolute;
  inset:2px auto auto 2px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.22);
  transition:transform .16s ease;
}
.bsv-autonext-btn.is-on .bsv-sw{
  background:var(--v-accent);
}
.bsv-autonext-btn.is-on .bsv-sw::after{
  transform:translateX(14px);
}
.bsv-tb-actions{
  gap:6px;
  padding-top:8px;
  border-top:1px solid var(--v-line);
}
.bsv-tb-actions .bsv-btn{
  min-block-size:36px;
  padding:6px 10px;
  font-size:.82rem;
  gap:5px;
}
@media (min-width:992px) and (max-width:1120px){
  .bsv-stage{
    grid-template-columns:minmax(0,1fr) 332px;
    gap:16px;
  }
}
@media (min-width:601px) and (max-width:1120px){
  .bsv-tb-nav .bsv-btn{
    min-block-size:36px;
    padding:6px 10px;
    font-size:.82rem;
    gap:6px;
  }
  .bsv-tb-actions .bsv-btn{
    padding:6px 8px;
    font-size:.79rem;
    gap:5px;
  }
}
@media (max-width:1120px){
  .bsv-tb-actions .bsv-lbl-full{
    display:none;
  }
  .bsv-tb-actions .bsv-lbl-short{
    display:inline;
  }
}
@media (max-width:991.98px){
  .bsv-hide-md{
    display:none!important;
  }
}
.bsv-toolbar-grp{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

/* Copy Button Bubble (strict opacity reveal per copy-button guide) */
.bsv-copy-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.bsv-copy-tip{
  position:absolute;
  inset:auto auto calc(100% + 8px) 50%;
  transform:translateX(-50%) translateY(4px);
  padding:5px 10px;
  border-radius:8px;
  background:var(--v-ink);
  color:var(--v-card);
  font:650 .76rem/1.2 var(--v-sans);
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  z-index:20;
  transition:opacity .18s ease,transform .18s ease;
}
.bsv-copy-wrap:has([data-copied]) .bsv-copy-tip,
.bsv-copy-wrap:has([data-failed]) .bsv-copy-tip{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.bsv-copy-wrap:has([data-failed]) .bsv-copy-tip{
  background:var(--v-yt);
  color:#fff;
}

/* Stage Side Details & Up Next */
.bsv-side{
  border:1px solid var(--v-line);
  border-radius:18px;
  background:var(--v-card);
  padding:18px 18px 16px;
  box-shadow:var(--v-shadow);
  display:flex;
  flex-direction:column;
  gap:14px;
  min-inline-size:0;
  overflow:hidden;
}
.bsv-stage.is-theater .bsv-side{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);
  gap:18px 24px;
  align-items:start;
}
@media (max-width:760px){
  .bsv-stage.is-theater .bsv-side{
    grid-template-columns:minmax(0,1fr);
  }
}

.bsv-side-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 8px;
  margin-bottom:6px;
}
.bsv-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 9px;
  border-radius:999px;
  background:var(--v-surface);
  color:var(--v-muted);
  font:650 .74rem/1.25 var(--v-sans);
}
.bsv-badge--accent{
  background:var(--v-accent-soft);
  color:var(--v-accent);
}
.bsv-badge--ok{
  background:var(--v-ok-soft);
  color:var(--v-ok);
}

.bsv-side-title{
  margin:0;
  font-family:var(--v-serif);
  font-weight:700;
  font-size:1.32rem;
  line-height:1.25;
  text-wrap:balance;
  color:var(--v-ink);
}
.bsv-side-short{
  margin:4px 0 0;
  font:600 .86rem/1.4 var(--v-sans);
  color:var(--v-accent);
}
.bsv-desc{
  position:relative;
  margin-top:10px;
  font-size:.93rem;
  line-height:1.6;
  color:var(--v-muted);
  overflow-wrap:break-word;
}
.bsv-desc p{
  margin:0 0 .75em;
}
.bsv-desc p:last-child{
  margin-bottom:0;
}
.bsv-desc.is-clamped{
  max-height:128px;
  overflow:hidden;
}
.bsv-desc.is-clamped::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:52px;
  background:linear-gradient(to bottom,transparent,var(--v-card));
  pointer-events:none;
}
.bsv-more-btn{
  margin-top:6px;
  padding:4px 0;
  border:0;
  background:transparent;
  color:var(--v-accent);
  font:700 .82rem/1.2 var(--v-sans);
  cursor:pointer;
}
.bsv-more-btn:hover{
  text-decoration:underline;
}

/* Up Next Quick Queue */
.bsv-upnext{
  border-top:1px solid var(--v-line);
  padding-top:12px;
  min-inline-size:0;
  overflow:hidden;
}
.bsv-stage.is-theater .bsv-upnext{
  border-top:0;
  padding-top:0;
  border-inline-start:1px solid var(--v-line);
  padding-inline-start:20px;
}
@media (max-width:760px){
  .bsv-stage.is-theater .bsv-upnext{
    border-inline-start:0;
    padding-inline-start:0;
    border-top:1px solid var(--v-line);
    padding-top:12px;
  }
}
.bsv-upnext-head{
  margin:0 0 8px;
  font:700 .76rem/1.2 var(--v-sans);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--v-muted);
}
.bsv-upnext-list{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.bsv-upnext-item{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  max-width:100%;
  min-inline-size:0;
  overflow:hidden;
  padding:6px;
  border-radius:11px;
  border:1px solid transparent;
  background:var(--v-surface);
  color:var(--v-ink);
  text-align:left;
  cursor:pointer;
  transition:background-color .14s ease,border-color .14s ease;
}
.bsv-upnext-item:hover{
  background:var(--v-surface-2);
  border-color:var(--v-line-strong);
}
.bsv-upnext-thumb{
  width:84px;
  aspect-ratio:16 / 9;
  border-radius:7px;
  object-fit:cover;
  flex:none;
  background:#141210;
}
.bsv-upnext-info{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-inline-size:0;
  flex:1 1 0%;
  overflow:hidden;
}
.bsv-upnext-title{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font:650 .83rem/1.3 var(--v-sans);
  color:var(--v-ink);
}
.bsv-upnext-sub{
  display:block;
  margin-top:0;
  font:500 .75rem/1.25 var(--v-sans);
  color:var(--v-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bsv-upnext-end{
  margin:0;
  font:500 .8rem/1.4 var(--v-sans);
  color:var(--v-muted);
}

/* ===== SEARCH & FILTER BAR ===== */
.bsv-filterbar{
  position:sticky;
  top:0;
  z-index:25;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  padding:11px 14px;
  margin-bottom:20px;
  border-radius:16px;
  background:var(--v-bar-bg);
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  backdrop-filter:blur(12px) saturate(150%);
  border:1px solid var(--v-line);
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}
.bsv-searchbox{
  position:relative;
  flex:1 1 240px;
  min-inline-size:0;
  display:flex;
  align-items:center;
}
.bsv-searchbox svg{
  position:absolute;
  left:12px;
  width:16px;
  height:16px;
  color:var(--v-muted);
  pointer-events:none;
}
.bsv-searchbox input{
  width:100%;
  min-block-size:40px;
  padding:8px 34px 8px 38px;
  border-radius:11px;
  border:1px solid var(--v-line);
  background:var(--v-card);
  color:var(--v-ink);
  font:500 .92rem/1.3 var(--v-sans);
  outline:0;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.bsv-searchbox input:focus{
  border-color:var(--v-accent);
  box-shadow:0 0 0 3px var(--v-accent-soft);
}
.bsv-searchclr{
  position:absolute;
  right:6px;
  width:28px;
  height:28px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--v-muted);
  font-size:1.1rem;
  cursor:pointer;
}
.bsv-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.bsv-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-block-size:36px;
  padding:6px 13px;
  border-radius:999px;
  border:1px solid var(--v-line);
  background:var(--v-card);
  color:var(--v-muted);
  font:600 .83rem/1.2 var(--v-sans);
  cursor:pointer;
  transition:all .15s ease;
}
.bsv-pill:hover{
  border-color:var(--v-accent);
  color:var(--v-ink);
}
.bsv-pill.is-on{
  background:var(--v-accent);
  border-color:var(--v-accent);
  color:var(--v-accent-ink);
}
.bsv-pill-n{
  font-size:.75rem;
  opacity:.82;
}
.bsv-filter-right{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.bsv-select{
  min-block-size:38px;
  padding:6px 12px;
  border-radius:11px;
  border:1px solid var(--v-line);
  background:var(--v-card);
  color:var(--v-ink);
  font:600 .84rem/1.2 var(--v-sans);
  cursor:pointer;
}

/* ===== VIDEO GRID & LIST CARDS (card + container queries + content-visibility) ===== */
.bsv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
}
.bsv-root[data-v-view="list"] .bsv-grid{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}

.bsv-card-slot{
  container-type:inline-size;
  min-inline-size:0;
}
.bsv-card-slot.is-deferred{
  content-visibility:auto;
  contain-intrinsic-size:auto none auto 280px;
}
.bsv-root[data-v-view="list"] .bsv-card-slot.is-deferred{
  contain-intrinsic-size:auto none auto 122px;
}
.bsv-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  height:100%;
  border:2px solid var(--v-line);
  border-radius:16px;
  background:var(--v-card);
  overflow:hidden;
  box-shadow:0 4px 14px rgba(29,27,24,.04);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.bsv-card.is-current{
  border-color:var(--v-accent);
  box-shadow:0 0 0 3px var(--v-accent-soft),var(--v-shadow);
}
.bsv-card:has(.bsv-card-trigger:hover){
  transform:translateY(-2px);
  border-color:var(--v-accent);
  box-shadow:var(--v-shadow);
}
.bsv-card:has(.bsv-card-trigger:focus-visible){
  border-color:var(--v-accent);
  box-shadow:0 0 0 3px var(--v-accent-soft);
}

.bsv-media{
  position:relative;
  background:#141210;
  overflow:hidden;
}
.bsv-media img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  transition:transform .35s ease;
}
.bsv-card:has(.bsv-card-trigger:hover) .bsv-media img{
  transform:scale(1.03);
}
.bsv-media-play{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%) scale(.92);
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(17,15,13,.76);
  color:#fff;
  opacity:.85;
  transition:opacity .18s ease,transform .18s ease,background-color .18s ease;
  pointer-events:none;
}
.bsv-media-play svg{
  width:19px;
  height:19px;
  fill:currentColor;
  transform:translateX(1px);
}
.bsv-card:has(.bsv-card-trigger:hover) .bsv-media-play,
.bsv-card.is-current .bsv-media-play{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
  background:var(--v-yt);
}
.bsv-media-status{
  position:absolute;
  inset:10px auto auto 10px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(17,15,13,.82);
  color:#FFFDF9;
  font:650 .72rem/1.2 var(--v-sans);
  pointer-events:none;
}
.bsv-media-status.is-now{
  background:var(--v-accent);
  color:var(--v-accent-ink);
}
.bsv-media-status.is-done{
  background:rgba(21,128,61,.92);
  color:#fff;
}

/* Favorite Button inside Card (elevated z-index: 1 directly on control, never wrapper!) */
.bsv-fav-btn{
  position:absolute;
  inset:10px 10px auto auto;
  z-index:1;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(17,15,13,.66);
  color:#FFFDF9;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background-color .15s ease,transform .12s ease,color .15s ease;
}
.bsv-fav-btn:hover{
  transform:scale(1.06);
  background:rgba(17,15,13,.88);
}
.bsv-fav-btn.is-on{
  background:#B45309;
  border-color:#F59E0B;
  color:#FFFDF9;
}
.bsv-fav-btn svg{
  width:16px;
  height:16px;
}

.bsv-card-body{
  padding:13px 15px 15px;
  display:flex;
  flex-direction:column;
  gap:5px;
  min-inline-size:0;
  overflow:hidden;
}
.bsv-card-title{
  margin:0;
  font-family:var(--v-serif);
  font-weight:700;
  font-size:1.03rem;
  line-height:1.3;
  min-inline-size:0;
  max-width:100%;
}
.bsv-card-trigger{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:var(--v-ink);
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.bsv-card-title-txt{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bsv-card-trigger:focus-visible{
  outline:none;
}
.bsv-card-trigger::after{
  content:"";
  position:absolute;
  inset:0;
}
.bsv-card-short{
  display:block;
  margin:0;
  font:500 .83rem/1.4 var(--v-sans);
  color:var(--v-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Distinct Horizontal List Cards across ALL widths */
.bsv-root[data-v-view="list"] .bsv-card{
  grid-template-columns:204px minmax(0,1fr);
  align-items:stretch;
}
.bsv-root[data-v-view="list"] .bsv-media{
  min-height:114px;
}
.bsv-root[data-v-view="list"] .bsv-media img{
  height:100%;
}
.bsv-root[data-v-view="list"] .bsv-card-body{
  padding:12px 54px 12px 16px;
  justify-content:center;
  gap:5px;
}
.bsv-root[data-v-view="list"] .bsv-fav-btn{
  inset:50% 12px auto auto;
  transform:translateY(-50%);
  border-color:var(--v-line);
  background:var(--v-surface);
  color:var(--v-muted);
}
.bsv-root[data-v-view="list"] .bsv-fav-btn:hover{
  transform:translateY(-50%) scale(1.06);
  background:var(--v-surface-2);
}
.bsv-root[data-v-view="list"] .bsv-fav-btn.is-on{
  background:var(--v-gold);
  border-color:var(--v-gold);
  color:#fff;
}

/* Compact Mobile Horizontal Row inside List View */
.bsv-root[data-v-view="list"] .bsv-card-slot{
  container-type:inline-size;
}
@container (max-width:520px){
  .bsv-root[data-v-view="list"] .bsv-card{
    grid-template-columns:96px minmax(0,1fr);
    align-items:center;
    padding:7px 42px 7px 7px;
    gap:10px;
    border-radius:13px;
  }
  .bsv-root[data-v-view="list"] .bsv-media{
    width:96px;
    min-height:0;
    border-radius:8px;
  }
  .bsv-root[data-v-view="list"] .bsv-media img{
    height:auto;
    aspect-ratio:16 / 9;
  }
  .bsv-root[data-v-view="list"] .bsv-media-play{
    width:26px;
    height:26px;
  }
  .bsv-root[data-v-view="list"] .bsv-media-play svg{
    width:11px;
    height:11px;
  }
  .bsv-root[data-v-view="list"] .bsv-media-status{
    inset:4px auto auto 4px;
    padding:1px 5px;
    font-size:.62rem;
    max-width:calc(100% - 8px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .bsv-root[data-v-view="list"] .bsv-card-body{
    padding:0;
    gap:3px;
  }
  .bsv-root[data-v-view="list"] .bsv-card-title{
    font-size:.92rem;
    line-height:1.25;
  }
  .bsv-root[data-v-view="list"] .bsv-card-short{
    font-size:.76rem;
    line-height:1.3;
  }
  .bsv-root[data-v-view="list"] .bsv-fav-btn{
    inset:50% 6px auto auto;
    width:32px;
    height:32px;
  }
  .bsv-root[data-v-view="list"] .bsv-fav-btn svg{
    width:14px;
    height:14px;
  }
}

/* Empty & No-Results States */
.bsv-empty,
.bsv-empty-stage{
  padding:42px 22px;
  border-radius:18px;
  border:1px dashed var(--v-line-strong);
  background:var(--v-card);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.bsv-empty p,
.bsv-empty-stage p{
  margin:0;
  color:var(--v-muted);
  max-width:48ch;
}
.bsv-empty-stage h2{
  margin:0;
  font-family:var(--v-serif);
  font-weight:700;
  font-size:1.4rem;
}

@media (max-width:768px){
  .bsv-filterbar{
    position:static;
    padding:10px;
    gap:8px;
    margin-bottom:14px;
  }
  .bsv-pills{
    width:100%;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:6px;
    padding:1px 0 4px;
    scroll-padding-inline:24px;
    --bsv-fade-size:24px;
    --bsv-fade-dir:right;
    --bsv-fade-start-pos:0;
    --bsv-fade-end-pos:100%;
    --scrollbar-thumb:var(--v-line-strong);
    --scrollbar-track:transparent;
    scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width:thin;
    mask:
      linear-gradient(black,black) no-clip subtract,
      linear-gradient(to var(--bsv-fade-dir),black,transparent) var(--bsv-fade-start-pos) 0 / var(--bsv-fade-start) 100% no-repeat no-clip,
      linear-gradient(to var(--bsv-fade-dir),transparent,black) var(--bsv-fade-end-pos) 0 / var(--bsv-fade-end) 100% no-repeat no-clip;
    animation:bsv-reveal-fade-start linear both,bsv-hide-fade-end linear both;
    animation-timeline:scroll(self inline);
    animation-range:0 var(--bsv-fade-size),calc(100% - var(--bsv-fade-size)) 100%;
  }
  .bsv-pill{
    flex:none;
    min-block-size:34px;
    padding:5px 11px;
    font-size:.8rem;
  }
  .bsv-filter-right{
    width:100%;
    flex-wrap:nowrap;
    justify-content:space-between;
  }
  .bsv-select{
    flex:1 1 auto;
    min-inline-size:0;
    min-block-size:38px;
  }
}

@supports not (animation-timeline:scroll()){
  @media (max-width:768px){
    .bsv-pills{
      animation:none;
      transition:--bsv-fade-start .2s,--bsv-fade-end .2s;
    }
    .bsv-pills.more-start{ --bsv-fade-start:var(--bsv-fade-size); }
    .bsv-pills.more-end{ --bsv-fade-end:var(--bsv-fade-size); }
  }
}

@supports not (scrollbar-color:auto){
  @media (max-width:768px){
    .bsv-pills{
      scrollbar-width:auto;
    }
    .bsv-pills::-webkit-scrollbar{
      height:4px;
    }
    .bsv-pills::-webkit-scrollbar-thumb{
      background:var(--scrollbar-thumb);
      border-radius:999px;
    }
    .bsv-pills::-webkit-scrollbar-track{
      background:var(--scrollbar-track);
    }
  }
}

@media (max-width:600px){
  .bsv-wrap{
    padding:12px 12px 36px;
  }
  .bsv-top{
    padding:12px 14px;
    border-radius:16px;
    gap:10px;
    margin-bottom:14px;
  }
  .bsv-eyebrow{
    margin-bottom:4px;
  }
  .bsv-hero-title{
    font-size:1.48rem;
  }
  .bsv-stat-pill{
    min-block-size:24px;
    padding:3px 9px;
    font-size:.74rem;
  }
  .bsv-top-tools{
    width:100%;
    justify-content:space-between;
    flex-wrap:nowrap;
    gap:8px;
  }
  .bsv-top-tools .bsv-btn--yt{
    min-block-size:36px;
    padding:5px 11px;
    font-size:.8rem;
  }
  .bsv-top-tools .bsv-seg button{
    min-block-size:30px;
    padding:4px 9px;
    font-size:.76rem;
  }
  .bsv-player-shell{
    border-radius:14px;
  }
  .bsv-facade-play{
    width:58px;
    height:58px;
  }
  .bsv-facade-play svg{
    width:23px;
    height:23px;
  }
  .bsv-toolbar{
    padding:9px;
    gap:8px;
    border-radius:14px;
  }
  .bsv-tb-nav{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .bsv-nav-pair{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
  }
  .bsv-nav-pair .bsv-btn{
    width:100%;
    min-block-size:40px;
    padding:6px 10px;
    font-size:.84rem;
  }
  .bsv-autonext-btn{
    width:100%;
    justify-content:flex-start;
    min-block-size:40px;
    padding:7px 12px;
    font-size:.84rem;
  }
  .bsv-an-lbl{
    margin-inline-end:auto;
  }
  .bsv-tb-actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    padding-top:8px;
  }
  .bsv-tb-actions .bsv-copy-wrap{
    width:100%;
  }
  .bsv-tb-actions .bsv-btn{
    width:100%;
    min-inline-size:0;
    min-block-size:48px;
    flex-direction:column;
    gap:3px;
    padding:6px 1px;
    font-size:.60rem;
    letter-spacing:-.01em;
    line-height:1.15;
    border-radius:10px;
  }
  .bsv-tb-actions .bsv-btn span{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .bsv-tb-actions .bsv-lbl-full{
    display:none;
  }
  .bsv-tb-actions .bsv-lbl-short{
    display:inline;
  }
  .bsv-side{
    padding:15px 14px;
    border-radius:16px;
  }
  .bsv-upnext-thumb{
    width:76px;
  }
  .bsv-grid{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .bsv-root[data-v-view="list"] .bsv-grid{
    gap:8px;
  }
  .bsv-root[data-v-view="list"] .bsv-card-slot.is-deferred{
    contain-intrinsic-size:auto none auto 74px;
  }
  .bsv-hide-xs{
    display:none;
  }
}

@media (max-width:440px){
  .bsv-yt-full{
    display:none;
  }
  .bsv-yt-short{
    display:inline;
  }
}

@media (prefers-reduced-motion:reduce){
  .bsv-root *,
  .bsv-root *::before,
  .bsv-root *::after{
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}
