/* Shared BRB walkthrough player. Sites theme it with the --p-* custom properties. */
.brb-player{--p-bg:#0f1720;--p-fg:#f1f5f9;--p-muted:#b9c4d0;--p-accent:#8ec5ff;--p-hover:#ffffff1a;position:relative}
.brb-player video{display:block;width:100%;cursor:pointer}
.brb-player-bar{display:flex;align-items:center;gap:6px;padding:6px 8px;background:var(--p-bg);color:var(--p-fg)}
.brb-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1;cursor:pointer}
.brb-btn:hover{background:var(--p-hover)}
.brb-btn svg{width:20px;height:20px;fill:currentColor}
.brb-btn[aria-expanded=true],.brb-btn[aria-pressed=true]{background:#ffffff26}
.brb-btn:focus-visible,.brb-range:focus-visible,.brb-cue:focus-visible{outline:2px solid var(--p-accent);outline-offset:2px}
.brb-range{flex:1 1 auto;min-width:60px;height:24px;margin:0 4px;accent-color:var(--p-accent);cursor:pointer}
.brb-volume{flex:0 0 84px}
.brb-time{flex:none;min-width:76px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--p-muted);text-align:center}
.brb-captions{min-height:3.4em;padding:8px 12px;background:#000;color:#fff;font-size:16px;line-height:1.5;text-align:center;white-space:pre-line}
.brb-captions[hidden],.brb-transcript[hidden]{display:none}
.brb-transcript{max-height:260px;overflow:auto;padding:10px 10px 12px;background:var(--p-bg);color:var(--p-fg);border-top:1px solid #ffffff24}
.brb-transcript p{margin:0 0 8px;padding:0 6px;font-size:12px;line-height:1.5;color:var(--p-muted)}
.brb-transcript ol{list-style:none;margin:0;padding:0}
.brb-cue{display:flex;gap:12px;width:100%;padding:6px;border:0;border-radius:4px;background:none;color:inherit;font:inherit;font-size:13px;line-height:1.5;text-align:left;white-space:pre-line;cursor:pointer}
.brb-cue:hover{background:var(--p-hover)}
.brb-cue[aria-current=true]{background:#ffffff26}
.brb-cue time{flex:none;min-width:40px;color:var(--p-accent);font-variant-numeric:tabular-nums}
.brb-player:fullscreen{display:flex;flex-direction:column;width:100%;height:100%;background:#000}
.brb-player:fullscreen video{flex:1 1 auto;min-height:0;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.brb-player:fullscreen .brb-transcript{max-height:30vh}
@media (max-width:600px){
  .brb-player-bar{flex-wrap:wrap;gap:2px 4px}
  .brb-player-bar .brb-seek{order:-1;flex:1 1 100%;margin:4px 6px}
  .brb-time{margin-right:auto;text-align:left;padding-left:6px}
}
