/* === system UI font (no webfont) === */
html, body, .font-sans {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* labs-chrome: shots + dock + glass (release bundle) */

/* === shots === */
/* Match public/<slug>/index.html marketing carousel:
   ~800×900 stills, radius 16px, soft shadow/border — no phone bezel. */

.labs-shots {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .labs-shots {
    margin-left: -1.75rem;
    margin-right: -1.75rem;
  }
}

.labs-shots-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.25rem 1.25rem 0.75rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (min-width: 640px) {
  .labs-shots-track {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

.labs-shots-track::-webkit-scrollbar {
  display: none;
}

.labs-shots-item {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 160px;
  max-width: 240px;
  user-select: none;
  transition: transform 0.3s ease;
}

.labs-shots-item:hover {
  transform: translateY(-4px);
}

/* Shared marketing ratio (UniverSoul / WordCrush stills ≈ 800×900).
   Portrait demo.mp4 letterboxes inside via object-fit: contain. */
.labs-shots-media {
  width: 100%;
  aspect-ratio: 800 / 900;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  pointer-events: none;
}

@media (max-width: 640px) {
  .labs-shots-item {
    flex: 0 0 70%;
    max-width: none;
  }
}

/* === dock === */
/* macOS Dock: glass plate widens with magnification; dots stay under icons. */

.labs-dock-nav {
  left: 0;
  right: 0;
}

.labs-dock-plate {
  position: relative;
  height: 60px;
  padding: 0 12px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  overflow: visible;
  border-radius: 18px;
  box-sizing: border-box;
  transition: padding 0.12s ease;
}

.labs-dock-plate.is-touch {
  height: 56px;
  max-width: 96vw;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
}

/* Slot width is driven by JS during magnification (base 48 / touch 42). */
.labs-dock-slot {
  width: 48px;
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin: 0 4px;
  transition: width 0.08s cubic-bezier(0.25, 1, 0.5, 1), flex-basis 0.08s cubic-bezier(0.25, 1, 0.5, 1);
}

.labs-dock-plate.is-touch .labs-dock-slot {
  width: 42px;
  margin: 0 3px;
  transition: none;
}

.labs-dock-sep {
  align-self: center;
  width: 1px;
  height: 28px;
  margin: 0 6px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  flex: 0 0 auto;
}

.dark .labs-dock-sep {
  background: rgba(255, 255, 255, 0.25);
}

.labs-dock-item {
  width: 48px;
  height: 48px;
  position: relative;
  transform-origin: bottom center;
  will-change: transform;
  z-index: 2;
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1);
}

.labs-dock-plate.is-touch .labs-dock-item {
  width: 42px;
  height: 42px;
  transition: none;
}

.labs-dock-icon {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 22%;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform-origin: bottom center;
}

.dark .labs-dock-icon {
  border-color: rgba(255, 255, 255, 0.1);
}

.labs-dock-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.labs-dock-icon.is-about img {
  object-fit: contain;
  padding: 12%;
  background: #020617;
  box-sizing: border-box;
}

/* Dot sits in the same slot as the icon, so it tracks as the slot widens. */
.labs-dock-dot {
  height: 6px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex: 0 0 auto;
}

.labs-dock-dot > span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.dark .labs-dock-dot > span {
  background: rgba(255, 255, 255, 0.65);
}

.labs-dock-dot > span.is-active {
  background: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

.labs-dock-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #f8fafc;
  background: rgba(20, 20, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.labs-dock-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: rgba(20, 20, 24, 0.88);
}

.dark .labs-dock-tip {
  background: rgba(12, 12, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .labs-dock-tip::after {
  border-top-color: rgba(12, 12, 16, 0.92);
}

@keyframes labs-dock-bounce {
  0%,
  100% {
    translate: 0 0;
  }
  30% {
    translate: 0 -16px;
  }
  60% {
    translate: 0 -6px;
  }
}

.labs-dock-item.is-bouncing .labs-dock-icon {
  animation: labs-dock-bounce 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* === glass === */
/* Liquid Glass (Xcode 26/27 / macOS Tahoe–inspired).
   Overrides .macos-glass-* from index.css. Specular + rim work everywhere;
   SVG lens refraction is progressive enhancement (Chromium). */

:root {
  --labs-glass-blur-bar: 28px;
  --labs-glass-blur-window: 44px;
  --labs-glass-blur-dock: 36px;
  --labs-glass-sat: 200%;
  --labs-glass-rim: rgba(255, 255, 255, 0.55);
  --labs-glass-rim-soft: rgba(255, 255, 255, 0.18);
  --labs-glass-shade: rgba(0, 0, 0, 0.28);
}

.dark {
  --labs-glass-rim: rgba(255, 255, 255, 0.42);
  --labs-glass-rim-soft: rgba(255, 255, 255, 0.14);
  --labs-glass-shade: rgba(0, 0, 0, 0.45);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .macos-glass-bar,
  .macos-glass-window,
  .macos-glass-dock {
    position: relative;
    isolation: isolate;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: transparent;
    border-color: transparent;
  }

  /* Frosted body — sits behind content */
  .macos-glass-bar::before,
  .macos-glass-window::before,
  .macos-glass-dock::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.06) 42%,
        rgba(255, 255, 255, 0.02) 100%
      ),
      rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(var(--labs-glass-blur-bar)) saturate(var(--labs-glass-sat))
      brightness(1.06);
    backdrop-filter: blur(var(--labs-glass-blur-bar)) saturate(var(--labs-glass-sat))
      brightness(1.06);
    box-shadow:
      inset 0 0.5px 0 var(--labs-glass-rim),
      inset 0 0 0 0.5px var(--labs-glass-rim-soft);
  }

  .dark .macos-glass-bar::before,
  .dark .macos-glass-window::before,
  .dark .macos-glass-dock::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.04) 38%,
        rgba(0, 0, 0, 0.12) 100%
      ),
      rgba(22, 22, 28, 0.52);
  }

  .macos-glass-window::before {
    -webkit-backdrop-filter: blur(var(--labs-glass-blur-window)) saturate(180%) brightness(1.03);
    backdrop-filter: blur(var(--labs-glass-blur-window)) saturate(180%) brightness(1.03);
    background:
      linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.14) 36%,
        rgba(255, 255, 255, 0.06) 100%
      ),
      rgba(252, 252, 254, 0.78);
  }

  .dark .macos-glass-window::before {
    background:
      linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(0, 0, 0, 0.28) 100%
      ),
      rgba(18, 18, 24, 0.8);
  }

  .macos-glass-dock::before {
    -webkit-backdrop-filter: blur(var(--labs-glass-blur-dock)) saturate(220%) brightness(1.08);
    backdrop-filter: blur(var(--labs-glass-blur-dock)) saturate(220%) brightness(1.08);
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.05) 100%
      ),
      rgba(255, 255, 255, 0.28);
  }

  .dark .macos-glass-dock::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 48%,
        rgba(0, 0, 0, 0.18) 100%
      ),
      rgba(28, 28, 36, 0.42);
  }

  /* Soft specular highlight (no displacement) */
  .macos-glass-bar::after,
  .macos-glass-window::after,
  .macos-glass-dock::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.06) 28%,
      transparent 52%
    );
    mix-blend-mode: soft-light;
    opacity: 0.9;
  }

  .dark .macos-glass-bar::after,
  .dark .macos-glass-window::after,
  .dark .macos-glass-dock::after {
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.05) 30%,
      transparent 55%
    );
    opacity: 0.85;
  }

  /* Keep real UI above glass layers */
  .macos-glass-bar > *,
  .macos-glass-window > *,
  .macos-glass-dock > * {
    position: relative;
    z-index: 2;
  }
}

/* Outer depth — liquid glass floats more softly than flat Material */
.macos-window-shadow {
  box-shadow:
    0 28px 80px -16px rgba(0, 0, 0, 0.42),
    0 10px 28px -12px rgba(0, 0, 0, 0.28),
    0 0 0 0.5px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dark .macos-window-shadow {
  box-shadow:
    0 36px 96px -18px rgba(0, 0, 0, 0.78),
    0 12px 32px -10px rgba(0, 0, 0, 0.55),
    0 0 0 0.5px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.macos-dock-shadow {
  box-shadow:
    0 22px 56px -12px rgba(0, 0, 0, 0.38),
    0 6px 18px -8px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(255, 255, 255, 0.28),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.dark .macos-dock-shadow {
  box-shadow:
    0 28px 64px -12px rgba(0, 0, 0, 0.72),
    0 8px 22px -8px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(255, 255, 255, 0.16),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.macos-popover-shadow {
  box-shadow:
    0 16px 48px -10px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dark .macos-popover-shadow {
  box-shadow:
    0 20px 56px -10px rgba(0, 0, 0, 0.72),
    0 0 0 0.5px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Edge refraction SVG lens removed — caused irregular rim lines */

@media (prefers-reduced-transparency: reduce) {
  .macos-glass-bar::before,
  .macos-glass-window::before,
  .macos-glass-dock::before {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(250, 250, 252, 0.94) !important;
  }

  .dark .macos-glass-bar::before,
  .dark .macos-glass-window::before,
  .dark .macos-glass-dock::before {
    background: rgba(28, 28, 32, 0.94) !important;
  }

  .macos-glass-bar::after,
  .macos-glass-window::after,
  .macos-glass-dock::after {
    display: none;
  }
}

/* Desktop wallpaper dims/blurs when any window is open */
.labs-wallpaper-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  filter: none;
  transition: filter 0.55s ease, transform 0.55s ease, opacity 0.55s ease;
}

.labs-wallpaper-media.is-dimmed {
  /* Blur only — keep brightness so the desktop doesn’t go dark */
  transform: scale(1.06);
  filter: blur(22px) saturate(1.05);
}

.labs-wallpaper-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.28) 100%);
  transition: background 0.55s ease, opacity 0.55s ease;
}

.labs-wallpaper-veil.is-dimmed {
  /* No extra darkening when windows are open */
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.06) 60%, rgba(0, 0, 0, 0.18) 100%);
}


/* === about hero (purge-safe; do not rely on Tailwind gap-4 / items-start) === */
.labs-about-hero {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 0.85rem;
  align-items: start;
  text-align: left;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.dark .labs-about-hero {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .labs-about-hero {
    grid-template-columns: 9rem minmax(0, 1fr);
    column-gap: 1.5rem;
  }
}

.labs-about-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(148, 163, 184, 0.25);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(15, 23, 42, 0.18);
}

.dark .labs-about-avatar {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.labs-about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.labs-about-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.labs-about-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .labs-about-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.labs-about-id {
  min-width: 0;
  text-align: left;
}

.labs-about-id h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dark .labs-about-id h2 {
  color: #fff;
}

@media (min-width: 640px) {
  .labs-about-id h2 {
    font-size: 1.5rem;
  }
}

.labs-about-id .labs-about-role {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0284c7;
}

.dark .labs-about-id .labs-about-role {
  color: #38bdf8;
}

@media (min-width: 640px) {
  .labs-about-id .labs-about-role {
    font-size: 0.875rem;
  }
}

.labs-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.labs-about-bio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.labs-about-bio p {
  margin: 0;
  text-align: left;
}

.labs-about-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 1rem;
  text-align: left;
}


/* === mobile visual viewport shell === */
.labs-shell {
  /* Fixed + translateZ creates containing block so menu/dock/windows stay inside visible VV */
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
  touch-action: manipulation;
}

.labs-menubar {
  box-sizing: border-box;
  height: calc(2rem + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
}

.labs-dock-nav {
  bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
  padding-bottom: 0;
}

/* Touch: lift dock a hair so it clears home-indicator + browser gesture area */
.labs-dock-plate.is-touch {
  margin-bottom: 0.15rem;
}


/* === home clock (liquid glass capsule; no SVG displacement) === */
.labs-home-clock {
  position: absolute;
  left: 0;
  right: 0;
  top: max(12%, calc(2.5rem + env(safe-area-inset-top, 0px)));
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: center;
  user-select: none;
}

.labs-home-clock-glass {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.1rem 1.85rem 1rem;
  border-radius: 1.75rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 18px 48px -16px rgba(0, 0, 0, 0.45),
    0 0 0 0.5px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.labs-home-clock-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.12) 38%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(36px) saturate(200%) brightness(1.08);
  backdrop-filter: blur(36px) saturate(200%) brightness(1.08);
}

.dark .labs-home-clock-glass {
  box-shadow:
    0 22px 56px -14px rgba(0, 0, 0, 0.62),
    0 0 0 0.5px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.dark .labs-home-clock-glass::before {
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    rgba(18, 18, 24, 0.28);
}

.labs-home-clock-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 32%,
    transparent 58%
  );
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.labs-home-clock-time,
.labs-home-clock-date {
  position: relative;
  z-index: 2;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 6px 20px rgba(0, 0, 0, 0.18);
}

.labs-home-clock-time {
  font-size: clamp(4.25rem, 14vw, 7.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.labs-home-clock-date {
  font-size: clamp(1.05rem, 3.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.94;
}

.labs-home-clock-zones {
  position: relative;
  z-index: 2;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  max-width: min(92vw, 36rem);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  font-weight: 560;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  opacity: 0.88;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 6px 20px rgba(0, 0, 0, 0.18);
}

.labs-home-clock-zone {
  white-space: nowrap;
}

.labs-home-clock-zone-label {
  opacity: 0.92;
}

.labs-home-clock-zone-date {
  opacity: 0.78;
  font-weight: 500;
}

.labs-home-clock-zone-date--diff {
  opacity: 1;
  font-weight: 650;
}

.labs-home-clock-zone-time {
  font-weight: 620;
}

.labs-home-clock-sep {
  opacity: 0.55;
}

@media (max-height: 520px) {
  .labs-home-clock {
    top: max(8%, calc(2.25rem + env(safe-area-inset-top, 0px)));
  }
  .labs-home-clock-glass {
    padding: 0.75rem 1.35rem 0.7rem;
    border-radius: 1.35rem;
  }
  .labs-home-clock-time {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .labs-home-clock-glass::before {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(40, 40, 48, 0.82) !important;
  }
  .labs-home-clock-glass::after {
    display: none;
  }
}


/* === window resize handles === */
.labs-window-frame {
  position: fixed;
}

.labs-window-frame.is-resizing {
  user-select: none;
}

.labs-win-handle {
  position: absolute;
  z-index: 30;
  background: transparent;
  touch-action: none;
}

.labs-win-handle-n {
  top: 0;
  left: 10px;
  right: 10px;
  height: 6px;
  cursor: ns-resize;
}
.labs-win-handle-s {
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 6px;
  cursor: ns-resize;
}
.labs-win-handle-e {
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 6px;
  cursor: ew-resize;
}
.labs-win-handle-w {
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 6px;
  cursor: ew-resize;
}
.labs-win-handle-ne {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}
.labs-win-handle-nw {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}
.labs-win-handle-se {
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}
.labs-win-handle-sw {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}
