/* body-doubling-shell.css — the body-doubling call on the desktop shell.
 *
 * The call's own look lives in body-doubling.css; the shell's frame in
 * desktop-shell.css. What only exists where the two meet goes here.
 */
/* The desktop shell's topbar also holds the Today chip on the left and the
   horizon controls on the right, so a flex centre lands wherever the space
   between them happens to be. Seth, 2026-10-31: "the tabs at the top are
   centered on the screen … on stable it's centered but on beta it isn't". Pinned
   to the topbar's true centre, the page's, like the shell's own middle
   (styles/desktop-shell.css). And no Today chip: the call's Calendar tab is
   always today (bd_calendar_pane.js), so its date picker had nothing to pick. */
html[data-desktop-shell]:is([data-bd='call'], [data-bd='solo']) .bd-topbar-right {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  flex: none;
  pointer-events: auto;
}
/* No bar across the top: the tabs and the clock float as islands over the page
   (Seth, 2026-11-04: "the tabs at the top are an island that's floating … so we
   don't just have a bar across the screen at the top"). The topbar keeps its
   place (sticky, and its centre is the main column's) at no height and no fill,
   so the page runs up under it; only the islands take clicks. Their track is
   glass, not the 5% tint it was on a bar, so what scrolls under stays behind. */
html[data-desktop-shell]:is([data-bd='call'], [data-bd='solo']) .app-shell > header.topbar {
  min-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}
html[data-desktop-shell]:is([data-bd='call'], [data-bd='solo']) :is(.bd-tabs, .bd-clock) {
  background: var(--bd-float-bg);
  border-color: var(--bd-float-edge);
  box-shadow: var(--bd-float-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
/* Faces, though, never go under it: the call's Video tab keeps the islands'
   height clear (12px + 46px + 12px). The calendar, the timer and the goals
   scroll under them. */
html[data-desktop-shell][data-bd='call'][data-bd-tab='video'] #do-view-root {
  padding-top: 70px;
}
html[data-desktop-shell]:is([data-bd='call'], [data-bd='solo']) #desktop-today {
  display: none !important;
}
