.bd-demo {
  --cor:#b22c34;
  min-width:0; overflow:hidden; background:#fcfbf9; border:1px solid #d1cec9;
  border-radius:16px; box-shadow:0 19px 38px -29px #352f31;
}
.bd-cab,.bd-titulo,.bd-controle,.bd-papel,.bd-canal { display:flex; align-items:center; gap:8px }
.bd-cab { padding:12px clamp(12px,2vw,26px); border-bottom:1px solid #e6e2dd; gap:12px }
.bd-titulo { font-weight:720; font-size:14px; letter-spacing:-.02em }
.bd-sinal { height:8px; width:8px; border-radius:2px; background:#ba2630 }
.bd-demo-tag { font-size:11px; color:#605e63 }
.bd-controle { margin-left:auto; padding:7px 10px; border:1px solid #d7d3cf; border-radius:20px; background:white; color:#413f43; font-size:12px }
.bd-controle i { width:7px; height:9px; border-inline:2px solid }
.bd-demo[data-pausada=true] .bd-controle i { width:0; height:0; border:5px solid transparent; border-left:7px solid currentColor; border-right:0 }
.bd-palco { display:grid; grid-template-columns:minmax(100px,.8fr) 1.35fr; align-items:center; position:relative; isolation:isolate; background:radial-gradient(ellipse at 19% 75%,color-mix(in srgb,var(--cor) 17%,#fff),transparent 53%),#faf9f7 }
.bd-estacao { display:grid; place-items:center; position:relative; width:100%; min-width:0; aspect-ratio:1.36; min-height:130px }
.bd-protagonista { width:82%; height:100%; max-height:200px; z-index:1; object-fit:contain; --sombra-bolt:drop-shadow(0 12px 8px #24202a20) }
.bd-piso,.bd-orbita { position:absolute; bottom:9%; width:72%; height:16%; border:1px solid color-mix(in srgb,var(--cor) 37%,transparent); border-radius:50% }
.bd-piso { background:radial-gradient(ellipse,color-mix(in srgb,var(--cor) 25%,transparent),transparent 70%) }
.bd-orbita { width:82%; bottom:7%; height:20%; opacity:.45 }
.bd-tarefa { position:relative; padding:16px 18px 18px 4px; min-width:0 }
.bd-papel { color:var(--cor); font-size:12px; font-weight:720 }
.bd-papel i { border-radius:2px; width:8px; height:8px; background:currentColor }
.bd-tarefa h4 { margin:5px 0; font-size:clamp(19px,1.85vw,32px); line-height:1.08; letter-spacing:-.045em; color:#242328 }
.bd-canal { font-size:12px; color:#605b63 }
.bd-instrumento { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin-top:12px }
.bd-instrumento span { display:inline-flex; align-items:center; gap:5px; border:1px solid #e3ded9; background:#fff; color:#403e43; border-radius:5px; padding:4px 7px; font-size:11px }
.bd-onda { height:22px; display:flex; align-items:center; gap:2px }
.bd-onda i { width:2px; height:calc(var(--altura) * 2px); border-radius:2px; background:var(--cor) }
.bd-trilho { position:absolute; inset:auto 0 0; height:2px; background:#e5e0da; overflow:hidden }
.bd-tempo { display:block; height:100%; background:var(--cor); transform-origin:left; animation:bd-percurso 7s linear both }
.bd-demo[data-pausada=true] .bd-tempo { animation-play-state:paused }
@keyframes bd-percurso { from { transform:scaleX(0) } to { transform:scaleX(1) } }
.bd-equipe { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; padding:10px }
.bd-etapa { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:64px; gap:2px; min-width:0; padding:4px 2px; background:transparent; border:1px solid transparent; border-radius:8px; color:#433f46; font-size:11px; font-weight:620 }
.bd-etapa img { width:39px; height:39px }
.bd-etapa:hover { background:#f0ece7 }
.bd-etapa[aria-pressed=true] { background:color-mix(in srgb,var(--cor) 7%,white); border-color:var(--cor); color:var(--cor) }
.bd-etapa:active,.bd-controle:active { background:#e9e5e1 }
@media(max-width:640px) {
  .bd-equipe { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bd-etapa { flex-direction:row; justify-content:flex-start; padding:2px 5px; min-height:44px; }
  .bd-etapa img { width:30px; height:30px; }
  .bd-etapa span { min-width:0; overflow-wrap:anywhere; }
  .bd-cab { flex-wrap:wrap; gap:5px; } .bd-demo-tag { display:none; }
  .bd-palco { grid-template-columns:minmax(66px,.57fr) 1.43fr; }
  .bd-estacao { aspect-ratio:auto; height:130px; }
}
@media(max-width:380px) { .bd-etapa { flex-direction:column; justify-content:center; min-height:54px; } }
@media(prefers-reduced-motion:reduce) { .bd-tempo { opacity:0 } }
@media(prefers-contrast:more) { .bd-demo,.bd-etapa[aria-pressed=true],.bd-controle { border-color:currentColor } }

.bt-vitrine .bd-demo { border-color: #414148; color: #f7f7fa; background: #1e1f22; box-shadow: none; }
.bt-vitrine .bd-cab { border-color: #37383d; }
.bt-vitrine .bd-demo-tag, .bt-vitrine .bd-canal { color: #bdbec8; }
.bt-vitrine .bd-controle { min-height: 44px; color: #f4f4f6; background: #2d2e33; border-color: #53545b; }
.bt-vitrine .bd-palco { background: radial-gradient(ellipse at 20% 90%,color-mix(in srgb,var(--cor) 25%,transparent),transparent 65%), #242529; }
.bt-vitrine .bd-papel { color: color-mix(in srgb,var(--cor) 43%,white); }
.bt-vitrine .bd-tarefa h4 { color: #fafafa; letter-spacing: -.015em; line-height: 1.14; }
.bt-vitrine .bd-instrumento { font-variant-numeric: tabular-nums; letter-spacing: normal; }
.bt-vitrine .bd-instrumento span { color: #e8e8ed; border-color: #48494f; background: #303136; }
.bt-vitrine .bd-trilho { background: #393a3f; }
.bt-vitrine .bd-etapa { color: #d8d8df; }
.bt-vitrine .bd-etapa:hover, .bt-vitrine .bd-controle:hover { background: #34353b; }
.bt-vitrine .bd-etapa[aria-pressed=true] {
  border-color: color-mix(in srgb,var(--cor) 40%,#929298);
  color: #fff; background: color-mix(in srgb,var(--cor) 20%,#292a2d);
}
