/* The logo is the whole header. Temporary lab controls belong to the hero. */
.screen { position: relative; padding-top: 82px; }
.floating-header {
  position: fixed;
  z-index: 70;
  top: max(24px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
}
.site-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid #96969c;
  border-radius: 18.2857px;
  background: rgba(18, 18, 20, .75);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
  transition: background-color 180ms ease;
}
.site-logo svg { display: block; width: 32px; height: 36.5714px; }
.site-logo:focus-visible { outline: 2px solid #f460c4; outline-offset: 5px; }
.hero-tools {
  position: absolute;
  z-index: 30;
  top: 30px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
@media (hover: hover) {
  .site-logo:hover { background-color: rgba(18, 18, 20, .85); }
}
@media (max-width: 600px) {
  .screen { padding-top: 70px; }
  .floating-header { top: max(16px, env(safe-area-inset-top)); }
  .hero-tools { top: 22px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-logo { transition: none; }
}
@media print {
  .floating-header, .hero-tools { display: none; }
}
