
.lab.web .stage { background: radial-gradient(ellipse 50% 52% at var(--cx, 42%) var(--cy, 56%), #4d545f 0%, #2a2e35 40%, #111215 74%, #08080a 100%); }
.lab.web .stage canvas.gl { cursor: grab; }
.lab.web .stage.col canvas.gl { -webkit-mask-image: linear-gradient(to bottom, transparent var(--m0, 0px), #000 calc(var(--m0, 0px) + var(--f0, 30px)), #000 calc(var(--m1, 100%) - var(--f1, 22px)), transparent var(--m1, 100%)); mask-image: linear-gradient(to bottom, transparent var(--m0, 0px), #000 calc(var(--m0, 0px) + var(--f0, 30px)), #000 calc(var(--m1, 100%) - var(--f1, 22px)), transparent var(--m1, 100%)); }
.viewing.lab.web .stage canvas.gl { opacity: 0; transition: opacity .2s linear .3s; }
@media (min-width: 900px) { .lab.web .load { left: 30%; max-width: 50%; } }
.lab.web .lablist { background: #000; box-shadow: var(--pad) 0 #08080a; }
.lab.web .lablist li a { grid-template-columns: 4ch 1fr; font-size: 16px; line-height: 23px; padding: 2px 8px; }
.lab.web .lablist li a small { font-size: 12px; line-height: 16px; }
.lab.web .lablist ol { max-height: max(168px, calc(var(--fh) - 422px)); overflow-y: auto; scroll-padding: 4px 0; scrollbar-width: thin; scrollbar-color: var(--k) transparent; padding: 4px 12px; margin: -4px -12px; }
.lab.web .lablist li[hidden], .lab.web .lablist-go[hidden] { display: none; }
.lab.web .lablist .go { display: none; }
.lab.web .lablist li.grp { margin-top: 10px; }
.lab.web .lablist li.grp:first-child { margin-top: 0; }
.lab.web .lablist .grp button { display: flex; justify-content: space-between; width: calc(100% + 16px); margin: 0 -8px 2px; padding: 1px 8px; border-bottom: 1px solid rgba(244, 244, 241, .28); color: var(--w2); font-size: 14px; line-height: 22px; text-align: left; }
.lab.web .lablist .grp button.on { color: var(--k); border-bottom-color: var(--k); }
.lab.web .lablist .grp button i { font-style: normal; }
.lab.web .lablist .grp button.open > span::before { content: "‹ "; }
.lab.web .lablist .grp button:focus-visible { outline: 2px solid var(--w); outline-offset: 2px; }

.live { position: fixed; z-index: 6; display: flex; flex-direction: column; background: #000; outline: 1.5px solid var(--g);
  transition: left .42s var(--ease), top .42s var(--ease), width .42s var(--ease), height .42s var(--ease); }
.live[hidden] { display: none; }
.live-bar { flex: none; display: flex; align-items: center; gap: 14px; height: 0; overflow: hidden; padding-left: 12px; background: var(--g); color: #000; font-size: 15px; white-space: nowrap; opacity: 0; transition: height .18s linear, opacity .18s linear; }
.live.open .live-bar { height: 30px; opacity: 1; transition-delay: .3s; }
.live-bar b { font-weight: 400; }
.live-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.live-bar button { align-self: stretch; padding: 0 12px; font-size: 13px; }
.live-bar [data-size][aria-pressed="true"], .live-close { background: #000; color: var(--g); }
.live-bar button:focus-visible { outline: 2px solid var(--w); outline-offset: -3px; }
.live-view { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #111; }
.live-view.narrow { background: #17181b; }
.live-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .3s linear; }
.live.loaded .live-shot { opacity: 0; pointer-events: none; }
.live-view.narrow .live-shot { opacity: 0; }
.live-frame { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; opacity: 0; transition: opacity .3s linear; }
.live.loaded .live-frame { opacity: 1; }

@media (max-width: 899px) {
  .lab.web .stage { background: radial-gradient(ellipse 84% 56% at var(--cx, 50%) var(--cy, 50%), #4d545f 0%, #2a2e35 44%, #111215 78%, #08080a 100%); }
  .lab.web .lablist { box-shadow: none; }
  .lab.web .stage { flex: none; height: clamp(190px, calc(var(--vh, 100svh) * .42), 380px); min-height: 0; }
  .lab.web .lablist { position: relative; inset: auto; flex: 1 1 0; min-height: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .lab.web .lablist > * { flex: none; }
  .lab.web .lablist > ol { flex: 0 1 auto; min-height: 0; max-height: none; width: auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .lab.web .lablist > ol::-webkit-scrollbar { display: none; }
  .lab.web .lablist > .lablist-go { display: none; }
  .lab.web .lablist li a.on { grid-template-columns: 4ch 1fr 56px; padding-right: 0; background: linear-gradient(to right, var(--k) calc(100% - 60px), transparent calc(100% - 60px), transparent calc(100% - 56px), var(--b) calc(100% - 56px)); }
  .lab.web .lablist li a.on .t, .lab.web .lablist li a.on small { padding-right: 14px; }
  .lab.web .lablist li a.on .go { display: grid; place-items: center; grid-column: 3; grid-row: 1 / span 2; margin: -2px 0; }
  .lab.web .lablist .grp button { justify-content: flex-start; }
  .lab.web .lablist .grp button > span { flex: 1 1 auto; }
  .lab.web .lablist .grp button.on:not(.open) { padding-right: 0; }
  .lab.web .lablist .grp button.on:not(.open) .go { display: grid; place-items: center; flex: none; width: 56px; align-self: stretch; min-height: 44px; margin: -1px 0 -1px 12px; background: var(--b); }
  .lab.web .lablist .go svg { width: 14px; height: 26px; fill: var(--y); }
  .nogl .lab.web .lablist .go, .nogl.lab.web .lablist .go { display: none !important; }
  .lab.web .lablist > ol.more-down { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); }
  .lab.web .lablist > ol.more-up { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30px); mask-image: linear-gradient(to bottom, transparent, #000 30px); }
  .lab.web .lablist > ol.more-up.more-down { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
  .lab.web .lablist > .mehr { height: 0; position: relative; }
  .lab.web .lablist.more-down > .mehr::before, .lab.web .lablist.more-up::before { content: ""; position: absolute; left: calc(50% - 7px); width: 13px; height: 7px; background: var(--k); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 7' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h13v1H0zM1 1h11v1H1zM2 2h9v1H2zM3 3h7v1H3zM4 4h5v1H4zM5 5h3v1H5zM6 6h1v1H6z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 7' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h13v1H0zM1 1h11v1H1zM2 2h9v1H2zM3 3h7v1H3zM4 4h5v1H4zM5 5h3v1H5zM6 6h1v1H6z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
  .lab.web .lablist.more-down > .mehr::before { bottom: 1px; }
  .lab.web .lablist.more-up::before { top: 2px; transform: rotate(180deg); }
  .lab.web .lablist li.grp { margin-top: 0; }
  .lab.web .lablist .grp button { min-height: 44px; align-items: center; }
  .live { outline: 0; }
  .live.open .live-bar { height: 44px; }
  .live-bar [data-size] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .live, .live-bar, .live-shot, .live-frame, .viewing.lab.web .stage canvas.gl { transition: none; } }
@media print { .live { display: none; } }

.live-out { align-self: stretch; display: grid; place-items: center; padding: 0 12px; background: #000; color: var(--g); font-size: 13px; }
.live-out[hidden] { display: none; }
.live-out:focus-visible { outline: 2px solid var(--w); outline-offset: -3px; }
.live.still .live-bar [data-size] { display: none; }
