/* Take C. The real camera bubbles share the shoreline with the live presentations. */
html[data-dock="d"] .dock [data-tog="screen"] > .ic { display: block; }
html[data-dock="d"] .dock .sharing-label { font-size: 13.5px; font-weight: 600; color: var(--talk); }
html[data-dock="d"] .dock [data-tog="screen"]:has(.sharing-label:not([hidden])) {
  display: flex; align-items: flex-start; justify-content: center; gap: 7px;
  width: auto; min-width: 108px; padding: 9px 14px 0; line-height: 27px; color: var(--talk);
}
html[data-dock="d"] .dock [data-tog="screen"]:has(.sharing-label:not([hidden]))::before,
html[data-dock="d"] .dock [data-tog="screen"]:has(.sharing-label:not([hidden]))::after {
  width: 112px; margin-left: -56px;
}
html[data-dock="d"] .dock [data-tog="screen"]:has(.sharing-label:not([hidden]))::after {
  animation: dring 4.8s cubic-bezier(.2, .55, .35, 1) infinite;
}
.screen-panel { position: absolute; z-index: 2; inset-inline: 1vw;
  bottom: max(35%, calc(var(--screen-foot-height, 80px) + 22px)); pointer-events: none; }
.screen-row { display: flex; justify-content: center; align-items: flex-end; gap: min(2.2vw, 34px); }
.screen-row > *, .screen-choices { pointer-events: auto; }
.screen-row > .who { --w: min(6.8vw, 11vh); --up: 0px; order: 5; margin: 0 0 min(2vw, 26px); }
.screen-row > .who[data-screen-side="left"] { order: 1; }
.screen-row > .who[data-key="self"] { --w: min(8.5vw, 14vh); order: 2; margin: 0; }
.screen-stand { position: relative; order: 4; flex: 0 1 min(19vw, 35vh); min-width: 0; margin-bottom: min(1.5vw, 20px); }
.screen-stand.is-selected { order: 3; flex-basis: min(52vw, 86vh); margin-bottom: 0; }
.screen-glass {
  padding: clamp(2px, .44vw, 6px); border: 1px solid rgb(190 220 235 / .36);
  border-radius: clamp(9px, 1.2vw, 17px); background: rgb(130 170 190 / .12);
  box-shadow: 0 8px 24px rgb(0 0 0 / .28), inset 0 1px rgb(255 255 255 / .09);
  -webkit-box-reflect: below 9px linear-gradient(to bottom, transparent 37%, rgb(0 0 0 / .19));
}
.screen-glass video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: inherit; background: #080e15; }
@supports not (-webkit-box-reflect: below) {
  .screen-stand::after { content: ""; position: absolute; inset: calc(100% + 9px) 4px auto; aspect-ratio: 16/9;
    transform: scaleY(-1); background: var(--reflection) center / contain no-repeat; opacity: .17;
    mask-image: linear-gradient(to top, black, transparent 70%); pointer-events: none; }
}
.screen-stand:not(.is-selected) .screen-glass { filter: brightness(.72); }
.screen-stand > .who { --w: clamp(42px, 5.5vw, 82px); position: absolute; z-index: 4;
  bottom: calc(var(--w) * -.2); left: calc(var(--w) * -.32); margin: 0; box-shadow: 0 0 0 3px rgb(3 12 20 / .9); }
.screen-stand:not(.is-selected) > .who { --w: clamp(32px, 4.3vw, 64px); }
.screen-stand > .who .refl, .screen-stand > .who .rip, .screen-stand > .who.talk .rip { display: none; }
.screen-row > .screen-badge::after { content: "▣"; position: absolute; top: 0; right: 0; z-index: 3;
  display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--talk); border-radius: 50%; background: var(--matte); color: var(--talk); }
.screen-caption, .screen-expand, .screen-mine, .screen-choices button {
  border-radius: 999px; border: 1px solid rgb(205 230 240 / .2); background: rgb(5 16 26 / .86); color: var(--ink);
}
.screen-caption { position: absolute; left: min(4.8vw, 68px); bottom: 5%; max-width: 80%; padding: 6px 11px; font-weight: 550;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-caption::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--talk); }
.screen-stand.own .screen-caption { left: 12px; }
.screen-watch { position: absolute; inset: 0; width: 100%; border-radius: 13px; z-index: 2; }
.screen-expand { position: absolute; z-index: 4; top: 9px; right: 9px; width: 44px; height: 44px; font-size: 25px; }
.screen-mine { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; border-radius: 16px; padding: 13px; white-space: nowrap; }
.screen-mine strong { display: block; margin-bottom: 4px; }
.screen-live { display: block; max-width: 32ch; white-space: normal; font-size: 12px; color: var(--ink2); }
.screen-mine button, .screen-actions button { min-height: 40px; padding: 4px 12px; margin: 2px; border: 1px solid rgb(205 230 240 / .2); border-radius: 999px; }
.screen-stop { color: var(--leave); }
.screen-stand.own.is-selected .screen-glass video { filter: brightness(.62); }
.screen-stand:not(.is-selected) .screen-mine, .screen-choices { display: none; }
.screen-panel:fullscreen { inset: 0; width: 100%; height: 100%; background: #05090d; pointer-events: auto; }
.screen-panel:fullscreen .screen-row { height: 100%; }
.screen-panel:fullscreen .screen-row > :not(.is-selected), .screen-panel:fullscreen .screen-stand .who { display: none; }
.screen-panel:fullscreen .is-selected { width: 100%; height: 100%; flex: 1; }
.screen-panel:fullscreen .screen-glass, .screen-panel:fullscreen video { width: 100%; height: 100%; border: 0; padding: 0; border-radius: 0; }
.screen-panel:fullscreen .screen-choices { position: absolute; top: 10px; left: 10px; right: 65px; display: flex; gap: 5px; overflow: auto; }
.screen-choices button { min-height: 44px; padding: 3px 12px; flex: none; }
.screen-choices button[aria-pressed=true] { border-color: var(--talk); }
#stage:has(.screen-panel:not([hidden])) .head { top: 12px; left: 22%; right: 22%; }
#stage:has(.screen-panel:not([hidden])) .head h1 { font-size: 20px; }
#stage:has(.screen-panel:not([hidden])) .head p { margin-top: 2px; }
#stage:has(.screen-panel:not([hidden])) .notes { top: 62px; }
.screen-picker { position: fixed; inset: auto 0 max(80px, 10vh); width: min(380px, 94vw); margin: 0 auto; padding: 16px;
  border: 1px solid rgb(185 215 235 / .24); border-radius: 22px; color: var(--ink); background: linear-gradient(#283540,#0b1822); }
.screen-picker::backdrop { background: rgb(0 7 15 / .24); }
.screen-picker h2 { font-size: 17px; margin-bottom: 12px; }
.screen-picker fieldset { border: 0; margin: 10px 0; padding: 0; min-width: 0; }
.screen-picker legend { color: var(--ink2); width: 100%; }
.screen-picker legend small { float: right; color: var(--talk); }
.screen-options { display: grid; grid-template-columns: repeat(5, 1fr); padding: 3px; border-radius: 12px; background: #101b23; margin-top: 5px; }
.screen-options label { position: relative; cursor: pointer; }
.screen-options input { position: absolute; opacity: 0; }
.screen-options span { display: grid; place-items: center; min-height: 40px; padding: 2px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.screen-options :checked + span { background: #38424a; font-weight: 650; }
.screen-options .measured span { text-decoration: underline; text-decoration-color: var(--talk); text-underline-offset: 5px; }
.screen-options :focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.screen-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.screen-actions button:last-child, .screen-actions button:nth-child(2):has(+ [hidden]) { background: var(--ink); color: var(--on); }
.screen-picker p, .screen-picker details { margin-top: 9px; font-size: 13px; }
.screen-picker .heavy { color: #ffe0a8; }
@media (max-width: 700px) {
  .screen-stand > .who .person-controls {
    width: 36px; height: 36px; top: auto; bottom: -6px; right: -8px;
  }
}
@media (max-width: 640px) {
  .screen-panel { inset-inline: 8px; bottom: max(24%, 100px); }
  .screen-row { flex-wrap: wrap; gap: 28px 8px; }
  .screen-stand.is-selected { order: 0; flex-basis: 100%; }
  .screen-stand { flex-basis: 23%; margin-bottom: 0; }
  .screen-row > .who { --w: min(11vw, 62px); margin-bottom: 0; }
  .screen-row > .who[data-key="self"] { --w: min(16vw, 80px); }
  .screen-stand > .who { --w: 48px; left: 6px; bottom: -16px; }
  .screen-stand:not(.is-selected) > .who { --w: 28px; }
  .screen-stand:not(.is-selected) .screen-caption { display: none; }
  .screen-stand.is-selected .screen-glass { -webkit-box-reflect: unset; }
  .screen-stand.is-selected::after { display: none; }
  .screen-caption { left: 62px; }
  #stage:has(.screen-panel:not([hidden])) .notes { top: 104px; }
}
@media (max-height: 450px) {
  .screen-panel { bottom: max(22%, calc(var(--screen-foot-height, 80px) + 22px)); }
  .screen-stand.is-selected { max-width: max(120px, calc((100vh - var(--screen-foot-height, 80px) - 88px) * 1.7778)); }
  .screen-picker { inset: 8px 0 auto; max-height: 94vh; overflow: auto; }
}
.screen-panel:fullscreen .screen-stand.is-selected { max-width: none; }
@media (prefers-reduced-motion: reduce) {
  .screen-glass { -webkit-box-reflect: unset; }
  .screen-stand::after { display: none; }
}
@media (orientation: landscape) and (max-height: 450px) and (max-width: 640px) {
  .screen-row { flex-wrap: nowrap; gap: 8px; }
  .screen-stand.is-selected { order: 3; flex-basis: min(52vw, 86vh); }
  .screen-stand { flex-basis: 18vw; }
  .screen-row > .who { --w: 8vw; }
  .screen-row > .who[data-key="self"] { --w: 10vw; }
}
