.kb-reel {
  --reel-gold:#ffd35f; --reel-ink:#f7efff; --reel-muted:#b6a7c7;
  clear:both; min-width:0; margin:22px 0 32px; text-align:left; color:var(--reel-ink);
  background:linear-gradient(155deg,#201329,#0f0a1a 80%);
  border:1px solid rgba(201,154,255,.24); border-radius:22px; padding:14px;
  box-shadow:0 16px 38px rgba(4,1,12,.36);
}
.kb-reel *, .kb-reel { box-sizing:border-box; }
.kb-reel [hidden] { display:none!important; }
.kb-reel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 3px 11px; }
.kb-reel-label { display:block; color:var(--reel-muted); font:600 11px/1.3 system-ui,sans-serif; }
.kb-reel .kb-reel-head h2 { margin:3px 0 0; color:var(--reel-ink); font:750 clamp(16px,2vw,21px)/1.18 system-ui,sans-serif; overflow-wrap:anywhere; }
.kb-reel-position { flex:none; padding:5px 10px; border:1px solid rgba(255,211,95,.32); border-radius:999px; background:#292034; color:var(--reel-gold); font:700 12px/1.3 system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.kb-reel-stage {
  position:relative; isolation:isolate; width:100%; aspect-ratio:16/9; overflow:hidden; border-radius:13px;
  border:1px solid rgba(235,210,255,.15); background:radial-gradient(ellipse at center,#291232,#0c0712);
}
.kb-reel-stage.is-portrait {
  background:radial-gradient(ellipse at 25% 60%,#31193f,transparent 65%),radial-gradient(ellipse at 82% 25%,#32213c,#100a1c 68%);
}
.kb-reel-backdrop { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; filter:blur(30px) brightness(.43); transform:scale(1.08); opacity:.74; pointer-events:none; }
.kb-reel-stage video, .kb-reel-alt { position:absolute; display:block; inset:0; width:100%; height:100%; object-fit:contain; background:transparent; }
.kb-reel-start {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:clamp(44px,10vw,64px); aspect-ratio:1;
  display:grid; place-items:center; background:var(--reel-gold); border:0; border-radius:50%; cursor:pointer;
  box-shadow:0 0 0 7px rgba(255,211,95,.14),0 6px 25px #100916aa;
}
.kb-reel-start span { width:0; height:0; border:8px solid transparent; border-left:14px solid #1c1022; border-right:0; margin-left:3px; }
.kb-reel-start:hover { filter:brightness(1.13); }
.kb-reel :focus-visible { outline:2px solid var(--reel-gold); outline-offset:3px; }
.kb-reel-error { position:absolute; inset:0; margin:0; padding:20px; display:grid; align-content:center; justify-items:center; gap:5px; text-align:center; color:var(--reel-ink); }
.kb-reel-error a { color:var(--reel-gold); text-decoration:underline; }
.kb-reel ol.kb-reel-list { list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:8px; padding:0; margin:11px 0 0; }
.kb-reel-list li { min-width:0; }
.kb-reel-card { padding:5px 8px 5px 5px; width:100%; height:100%; min-height:58px; display:flex; gap:8px; align-items:center; text-align:left; color:var(--reel-ink); background:rgba(237,201,255,.05); border:1px solid rgba(238,208,255,.15); border-radius:11px; cursor:pointer; }
.kb-reel-card:hover { background:rgba(237,201,255,.13); }
.kb-reel-card[aria-current] { border-color:rgba(255,211,95,.7); background:linear-gradient(130deg,#493143,#21152b); }
.kb-reel-thumb { position:relative; display:grid; place-items:center; aspect-ratio:4/3; width:54px; flex:none; overflow:hidden; border-radius:6px; background:linear-gradient(135deg,#4d2756,#312245); }
.kb-reel-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.kb-reel-thumb span { position:relative; padding:2px 5px; border-radius:5px; background:#150e20dd; color:#fff; font:700 10px/1.3 system-ui,sans-serif; }
.kb-reel-card-text { display:grid; gap:3px; min-width:0; }
.kb-reel-name { font:700 13px/1.15 system-ui,sans-serif; overflow-wrap:anywhere; }
.kb-reel-card-status { font:600 10.5px/1.15 system-ui,sans-serif; color:var(--reel-muted); }
.kb-reel-card[aria-current] .kb-reel-card-status { color:var(--reel-gold); }
[data-reel-modal].kb-reel { margin:0; }
[data-reel-modal] .kb-reel-stage { max-height:54dvh; }
#modal-video-info { white-space:pre-line; }
@media (max-width:560px) {
  .kb-reel { padding:9px; border-radius:16px; }
  .kb-reel-stage { border-radius:9px; aspect-ratio:5/4; }
  .kb-reel ol.kb-reel-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .kb-reel-thumb { width:35px; }
  .kb-reel-card { gap:6px; min-height:48px; }
  .kb-reel-name { font-size:12px; }
}
