:root {
  color-scheme: dark;
  --sona-ink: #050817;
  --sona-deep: #0a1026;
  --sona-cyan: #6be7ff;
  --sona-blue: #6f9cff;
  --sona-violet: #8d73ff;
  --sona-lilac: #c8c7ff;
  --sona-glass: rgba(164, 210, 255, 0.12);
  --sona-rim: rgba(194, 244, 255, 0.56);
  --sona-glow: rgba(107, 231, 255, 0.34);
  --glass-blur: 8px;
  --space-glass-blur: 4px;
  --active-space-glass-blur: 3px;
  --user-glass-blur: 3px;
  --glass-fill: rgba(255, 255, 255, 0.21);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-edge-strong: rgba(255, 255, 255, 0.8);
  --glass-edge-soft: rgba(255, 255, 255, 0.3);
  --glass-inner-glow: rgba(255, 255, 255, 0.16);
  --liquid-glass-filter: none;
  --liquid-glass-soft-filter: none;
  --rank-gold: #ffbf43;
  --rank-purple: #a77cff;
  --rank-green: #54e89a;
  --rank-yellow: #f4ff5e;
  --rank-blue: #5ab5ff;
  --rank-white: #f7fbff;
  --current-user-orange: #ff6a00;
  --current-user-orange-hot: #ff9b2f;
  --current-space-glow: rgba(255, 106, 0, 0.58);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sona-ink);
  color: #f3f8fb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.liquid-glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 7%, rgba(141, 115, 255, 0.16), transparent 24%),
    radial-gradient(circle at 72% 32%, rgba(107, 231, 255, 0.1), transparent 30%),
    radial-gradient(circle at 50% 86%, rgba(111, 156, 255, 0.15), transparent 44%),
    linear-gradient(145deg, #050817, #070d20 58%, #030611);
}

.app-header {
  position: absolute;
  z-index: 24;
  left: 28px;
  right: 28px;
  top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 144px;
  min-width: 0;
  padding: 8px 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background-color: #02040b;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 46%),
    radial-gradient(circle at 32% 72%, rgba(66, 82, 146, 0.2), transparent 54%),
    linear-gradient(145deg, rgba(9, 13, 31, 0.96), rgba(1, 3, 8, 0.94));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 28px rgba(107, 231, 255, 0.13),
    0 14px 34px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  pointer-events: auto;
}

.brand-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(420px, 48vw);
  height: 128px;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 18px rgba(107, 231, 255, 0.24))
    drop-shadow(0 0 34px rgba(141, 115, 255, 0.18));
}

.stage.is-stacked-layout {
  height: 100vh;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.stage.is-stacked-layout::after {
  display: block;
  height: var(--stage-scroll-height, 100vh);
  pointer-events: none;
  content: "";
}

.stage.is-stacked-layout.is-focus-view {
  min-height: 100vh;
  overflow: hidden;
}

.self-card {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  margin-left: auto;
  padding: 14px 12px 14px 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background:
    radial-gradient(circle at 92% 22%, rgba(107, 231, 255, 0.15), transparent 34%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(18, 31, 63, 0.74), rgba(3, 7, 20, 0.72));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    inset 0 0 22px rgba(240, 250, 255, 0.08),
    0 0 28px rgba(107, 231, 255, 0.13),
    0 14px 34px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  pointer-events: auto;
  transition:
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.self-card > * {
  position: relative;
  z-index: 1;
}

.stage.is-joining .self-card {
  opacity: 0.55;
  transform: scale(0.96);
}

.self-card.is-parked {
  opacity: 0.82;
}

.self-copy {
  min-width: 0;
  text-align: right;
}

.self-avatar {
  position: relative;
  order: 2;
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  margin-right: -4px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 196, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 244, 232, 0.86), transparent 28%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.05)),
    linear-gradient(145deg, rgba(255, 155, 47, 0.52), var(--current-user-orange));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 22px 10px rgba(255, 255, 255, 0.12),
    0 0 0 7px rgba(255, 106, 0, 0.14),
    0 0 34px rgba(255, 122, 24, 0.42),
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 22px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  cursor: default;
  outline: none;
  transition:
    border-color 360ms ease,
    background 420ms ease,
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.self-avatar::after {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.72);
  content: "";
  background:
    linear-gradient(#fff, #fff) center / 6px 28px no-repeat,
    radial-gradient(circle, transparent 43%, rgba(255, 255, 255, 0.9) 45% 58%, transparent 60%);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.self-card.is-parked .self-avatar {
  cursor: pointer;
  border-color: rgba(255, 226, 196, 0.94);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 244, 232, 0.9), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 106, 0, 0.1)),
    linear-gradient(145deg, var(--current-user-orange-hot), var(--current-user-orange));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 24px 12px rgba(255, 255, 255, 0.16),
    0 0 0 10px rgba(255, 106, 0, 0.22),
    0 0 44px rgba(255, 122, 24, 0.56),
    0 16px 34px rgba(0, 0, 0, 0.3),
    inset 0 0 24px rgba(255, 255, 255, 0.2);
}

.self-card.is-parked .self-avatar:hover,
.self-card.is-parked .self-avatar:focus-visible {
  transform: scale(1.06);
  border-color: rgba(255, 244, 232, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 26px 14px rgba(255, 255, 255, 0.2),
    0 0 0 12px rgba(255, 106, 0, 0.26),
    0 0 54px rgba(255, 122, 24, 0.66),
    0 18px 40px rgba(0, 0, 0, 0.3),
    inset 0 0 24px rgba(255, 255, 255, 0.22);
}

.self-card.is-parked .self-avatar::after {
  opacity: 0.86;
  transform: scale(1);
}

.self-card strong,
.self-card span {
  display: block;
}

.self-card span {
  margin-top: 4px;
  color: rgba(234, 241, 248, 0.68);
  font-size: 18px;
}

.self-card strong {
  font-size: 24px;
}

.note-panel {
  position: absolute;
  right: 28px;
  top: 28px;
  width: min(312px, calc(100vw - 56px));
  padding: 14px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow);
  color: rgba(235, 244, 251, 0.77);
  line-height: 1.4;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    opacity 420ms ease,
    transform 650ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.brand-logo::before,
.self-card::before,
.note-panel::before,
.space-label::before,
.user-details::before,
.create-space-dialog::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-edge-strong),
    transparent
  );
  content: "";
  filter: none;
  pointer-events: none;
}

.brand-logo::after,
.self-card::after,
.note-panel::after,
.space-label::after,
.user-details::after,
.create-space-dialog::after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    var(--glass-edge-strong),
    transparent,
    var(--glass-edge-soft)
  );
  content: "";
  pointer-events: none;
}

.space-cell::before {
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.48), transparent 22%),
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.2) 68%, transparent 78%),
    radial-gradient(circle at 54% 68%, rgba(255, 255, 255, 0.11), transparent 46%);
  content: "";
  filter: none;
  opacity: 0.24;
  pointer-events: none;
}

.space-cell::after {
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 31% 21%, rgba(255, 255, 255, 0.34), transparent 32%),
    radial-gradient(circle at 74% 78%, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.3) 68%, transparent 78%);
  box-shadow: none;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.user-bubble::before {
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.62), transparent 24%),
    radial-gradient(circle at 66% 28%, rgba(217, 250, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.2) 70%, transparent 82%);
  content: "";
  filter: none;
  opacity: 0.72;
  pointer-events: none;
}

.user-bubble::after {
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 68% 76%, rgba(120, 230, 255, 0.12), transparent 36%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(255, 255, 255, 0.18) 72%, transparent 82%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 7px 9px 18px rgba(255, 255, 255, 0.16),
    inset -9px -11px 22px rgba(0, 0, 0, 0.16);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.flight-avatar::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.36), transparent 30%),
    radial-gradient(circle at 72% 84%, rgba(255, 255, 255, 0.12), transparent 44%);
  content: "";
  filter: none;
  pointer-events: none;
}

.flight-avatar::after {
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: inherit;
  background: none;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.note-panel p {
  margin: 0;
}

.note-panel p + p {
  margin-top: 6px;
}

.spaces {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--cluster-width, var(--cluster-size));
  height: var(--cluster-height, var(--cluster-size));
  transform: translate(-50%, -50%);
  transition:
    top 720ms cubic-bezier(0.16, 0.96, 0.18, 1),
    width 720ms cubic-bezier(0.16, 0.96, 0.18, 1),
    height 720ms cubic-bezier(0.16, 0.96, 0.18, 1),
    transform 720ms cubic-bezier(0.16, 0.96, 0.18, 1);
}

.create-space-bubble {
  position: absolute;
  z-index: 2;
  left: calc(50% + var(--space-x));
  top: calc(50% + var(--space-y));
  display: grid;
  width: var(--space-size);
  height: var(--space-size);
  padding: 0;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid rgba(194, 244, 255, 0.7);
  border-radius: 50%;
  appearance: none;
  background:
    radial-gradient(circle at 31% 18%, rgba(255, 255, 255, 0.62), transparent 26%),
    radial-gradient(circle at 58% 64%, rgba(107, 231, 255, 0.22), transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(141, 115, 255, 0.26), transparent 50%),
    linear-gradient(180deg, rgba(240, 252, 255, 0.28), rgba(73, 112, 210, 0.18) 54%, rgba(13, 24, 54, 0.38));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.68),
    inset 0 -1px 4px rgba(255, 255, 255, 0.14),
    inset 9px 11px 26px rgba(255, 255, 255, 0.14),
    inset -12px -14px 28px rgba(0, 0, 0, 0.18),
    inset 0 0 22px rgba(210, 248, 255, 0.14),
    0 0 26px rgba(107, 231, 255, 0.26),
    0 14px 30px rgba(0, 0, 0, 0.28);
  color: rgba(242, 250, 255, 0.96);
  cursor: pointer;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  outline: none;
  transition:
    left 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    top 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    width 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    height 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    border-color 420ms ease,
    box-shadow 520ms ease,
    filter 420ms ease,
    transform 820ms cubic-bezier(0.16, 0.96, 0.18, 1);
}

.create-space-bubble::before {
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.58), transparent 25%),
    radial-gradient(circle at 68% 30%, rgba(217, 250, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.18) 70%, transparent 82%);
  content: "";
  filter: none;
  opacity: 0.72;
  pointer-events: none;
}

.create-space-bubble::after {
  position: absolute;
  z-index: 0;
  inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 68% 76%, rgba(141, 115, 255, 0.14), transparent 36%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(255, 255, 255, 0.16) 72%, transparent 82%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 8px 10px 20px rgba(255, 255, 255, 0.14),
    inset -10px -12px 24px rgba(0, 0, 0, 0.16);
  content: "";
  pointer-events: none;
}

.create-space-bubble .material-symbols-rounded {
  position: relative;
  z-index: 1;
  font-size: 44px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(107, 231, 255, 0.46);
}

.create-space-bubble:hover,
.create-space-bubble:focus-visible {
  border-color: rgba(222, 250, 255, 0.9);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.74),
    inset 0 -1px 4px rgba(255, 255, 255, 0.16),
    inset 10px 12px 28px rgba(255, 255, 255, 0.18),
    inset -12px -14px 30px rgba(0, 0, 0, 0.16),
    0 0 0 8px rgba(141, 115, 255, 0.12),
    0 0 42px rgba(107, 231, 255, 0.42),
    0 18px 36px rgba(0, 0, 0, 0.3);
  filter: saturate(1.16) brightness(1.08);
}

.stage.is-layout-settling .create-space-bubble {
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity 360ms ease;
}

.create-space-dialog {
  position: fixed;
  z-index: 70;
  left: var(--dialog-left, 50%);
  top: var(--dialog-top, 50%);
  width: min(280px, calc(100vw - 42px));
  padding: 8px;
  transform: translate(-50%, 0);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07)),
    linear-gradient(145deg, rgba(14, 25, 58, 0.88), rgba(4, 8, 21, 0.9));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 22px 10px var(--glass-inner-glow),
    0 0 28px rgba(107, 231, 255, 0.18),
    0 18px 38px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}

.create-space-dialog[hidden] {
  display: none;
}

.create-space-dialog input {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(215, 250, 255, 0.34);
  border-radius: 999px;
  outline: none;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    rgba(4, 9, 24, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  color: rgba(245, 250, 255, 0.96);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
}

.create-space-dialog input::placeholder {
  color: rgba(234, 241, 248, 0.54);
}

.create-space-dialog input:focus {
  border-color: rgba(194, 244, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.1),
    0 0 0 4px rgba(107, 231, 255, 0.12);
}

.create-space-dialog.is-invalid input {
  border-color: rgba(255, 132, 190, 0.76);
  animation: create-space-invalid 260ms ease;
}

.stage.is-layout-settling .spaces {
  will-change: transform, opacity;
  transition: none;
}

.stage.is-repacking .space-motion,
.stage.is-switching .space-motion,
.stage.is-layout-settling .space-motion,
.stage.is-layout-settling .create-space-bubble {
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.stage.is-stacked-layout .spaces {
  top: var(--spaces-top-offset);
  transform: translateX(-50%);
}

.stage.is-focus-view .spaces {
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
}

.space {
  position: absolute;
  z-index: 1;
  left: calc(50% + var(--space-x));
  top: calc(50% + var(--space-y));
  width: var(--space-size);
  height: var(--space-size);
  --space-label-top-from-bottom: 44px;
  --space-glass-highlight: rgba(244, 250, 255, 0.48);
  --space-glass-tint: rgba(107, 231, 255, 0.09);
  --space-glow: rgba(107, 231, 255, 0.24);
  --space-rim: rgba(194, 244, 255, 0.52);
  transform: translate(-50%, -50%);
  cursor: pointer;
  outline: none;
  transition:
    left 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    top 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    width 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    height 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    opacity 420ms ease,
    filter 520ms ease,
    transform 820ms cubic-bezier(0.16, 0.96, 0.18, 1);
}

.space-motion {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
}

.stage.is-focus-view .self-card {
  opacity: 0.32;
  transform: scale(0.86);
}

.stage.is-focus-view .note-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.stage.is-focus-view .space {
  opacity: 0.12;
  filter: saturate(0.58) blur(0.4px);
  pointer-events: none;
}

.stage.is-focus-view .space.is-active {
  z-index: 30;
  left: 50%;
  top: 50%;
  width: var(--focus-space-size);
  height: var(--focus-space-size);
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition:
    left 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    top 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    width 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    height 820ms cubic-bezier(0.16, 0.96, 0.18, 1),
    opacity 420ms ease,
    filter 520ms ease,
    transform 820ms cubic-bezier(0.16, 0.96, 0.18, 1);
}

.space:focus-visible .space-cell {
  border-color: var(--space-rim);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.18),
    0 0 0 7px rgba(141, 115, 255, 0.14),
    0 0 38px var(--space-glow),
    0 18px 38px rgba(0, 0, 0, 0.22);
}

.spaces.has-active .space.is-dimmed {
  opacity: 0.46;
  filter: saturate(0.72) blur(0.2px);
}

.spaces.has-active .space.is-dimmed .space-cell {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.3), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, rgba(107, 231, 255, 0.08), rgba(141, 115, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 24px 10px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(107, 231, 255, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.2);
}

.space.is-active {
  z-index: 8;
}

.space.is-target {
  z-index: 10;
}

.stage.is-repacking .space.is-source,
.stage.is-repacking .space.is-target {
  will-change: transform, opacity;
  transition: opacity 420ms ease;
}

.stage.is-switching .space.is-source,
.stage.is-switching .space.is-target {
  will-change: transform, opacity;
  transition: opacity 420ms ease;
}

.stage.is-layout-settling .space {
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity 420ms ease;
}

.stage.is-repacking .space.is-target .user-bubble {
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.26),
    0 0 28px rgba(83, 238, 177, 0.4),
    0 12px 24px rgba(0, 0, 0, 0.26);
}

.space-cell {
  position: relative;
  isolation: isolate;
  width: var(--space-size);
  height: var(--space-size);
  overflow: hidden;
  border: 1px solid var(--space-rim);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 18%, var(--space-glass-highlight), transparent 24%),
    radial-gradient(circle at 52% 58%, var(--space-glass-tint), transparent 72%),
    radial-gradient(circle at 78% 84%, var(--space-glow), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 46%, rgba(0, 0, 0, 0.14));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.48),
    inset 0 -1px 3px rgba(255, 255, 255, 0.08),
    inset 0 0 16px rgba(255, 255, 255, 0.08),
    0 0 18px var(--space-glow),
    0 10px 22px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;
  animation: none;
  transition:
    width 1180ms cubic-bezier(0.22, 0.64, 0.26, 1),
    height 1180ms cubic-bezier(0.22, 0.64, 0.26, 1),
    border-color 420ms ease,
    box-shadow 650ms ease,
    background 650ms ease;
}

.stage.is-focus-view .space.is-active .space-cell {
  width: var(--focus-space-size);
  height: var(--focus-space-size);
  overflow: visible;
  border-width: 1px;
  background-size:
    124% 124%,
    100% 100%;
  backface-visibility: hidden;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
  will-change: width, height;
}

.space.is-active .space-cell,
.space.is-source .space-cell,
.space.is-target .space-cell {
  border-color: var(--space-rim);
  background:
    radial-gradient(circle at 30% 18%, var(--space-glass-highlight), transparent 24%),
    radial-gradient(circle at 54% 58%, var(--space-glass-tint), transparent 70%),
    radial-gradient(circle at 76% 82%, var(--space-glow), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.09) 48%, rgba(0, 0, 0, 0.14));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.5),
    inset 0 -1px 3px rgba(255, 255, 255, 0.1),
    inset 0 0 18px rgba(255, 255, 255, 0.1),
    0 0 22px var(--space-glow),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.space.is-source .space-cell {
  border-color: var(--space-rim);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.18),
    inset 0 -18px 30px rgba(154, 231, 216, 0.11),
    0 24px 54px rgba(0, 0, 0, 0.26);
}

.spaces.has-active .space:not(.is-active):hover .space-cell {
  border-color: rgba(194, 244, 255, 0.82);
  background:
    radial-gradient(circle at 29% 17%, rgba(255, 255, 255, 0.68), transparent 25%),
    radial-gradient(circle at 54% 58%, var(--space-glass-tint), transparent 70%),
    radial-gradient(circle at 74% 80%, var(--space-glow), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1) 48%, rgba(0, 0, 0, 0.12));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 2px 5px rgba(255, 255, 255, 0.72),
    inset 0 -2px 6px rgba(255, 255, 255, 0.16),
    inset 0 0 32px 16px rgba(255, 255, 255, 0.16),
    inset 22px 24px 56px rgba(255, 255, 255, 0.15),
    inset -24px -28px 58px rgba(0, 0, 0, 0.16),
    inset 0 -24px 46px var(--space-glow),
    0 0 0 7px rgba(141, 115, 255, 0.14),
    0 0 40px rgba(107, 231, 255, 0.3),
    0 26px 58px rgba(0, 0, 0, 0.26);
}

.spaces.has-active .space:not(.is-active):focus-visible .space-cell {
  border-color: rgba(194, 244, 255, 0.82);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.2),
    inset 0 -20px 34px rgba(107, 231, 255, 0.16),
    0 0 0 7px rgba(141, 115, 255, 0.14),
    0 0 40px rgba(107, 231, 255, 0.3),
    0 26px 58px rgba(0, 0, 0, 0.26);
}

.spaces.has-active .space:not(.is-active):hover .space-label {
  border-color: rgba(194, 244, 255, 0.52);
  background:
    radial-gradient(circle at 28% 0%, rgba(107, 231, 255, 0.24), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    linear-gradient(145deg, rgba(19, 31, 64, 0.96), rgba(5, 9, 23, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 24px 12px rgba(255, 255, 255, 0.13),
    0 0 22px rgba(107, 231, 255, 0.26),
    0 16px 30px rgba(0, 0, 0, 0.36);
}

.spaces.has-active .space:not(.is-active):focus-visible .space-label {
  border-color: rgba(194, 244, 255, 0.52);
  background:
    radial-gradient(circle at 28% 0%, rgba(107, 231, 255, 0.24), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    linear-gradient(145deg, rgba(19, 31, 64, 0.96), rgba(5, 9, 23, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 24px 12px rgba(255, 255, 255, 0.13),
    0 0 22px rgba(107, 231, 255, 0.26),
    0 16px 30px rgba(0, 0, 0, 0.36);
}

.stage.is-repacking .space.is-source .space-cell,
.stage.is-repacking .space.is-target .space-cell {
  animation-play-state: paused;
  transition: none;
}

.stage.is-switching .space.is-source .space-cell,
.stage.is-switching .space.is-target .space-cell {
  transition: none;
}

.stage.is-layout-settling .space-cell {
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: none;
}

.stage.is-layout-settling .user-bubble,
.stage.is-layout-settling .space-label {
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity 360ms ease;
}

.space.rank-1 .space-cell {
  --space-glass-highlight: rgba(255, 240, 180, 0.82);
  --space-glass-tint: rgba(255, 185, 42, 0.42);
  --space-glow: rgba(255, 183, 46, 0.64);
  --space-rim: rgba(255, 211, 100, 0.82);
}

.space.rank-2 .space-cell {
  --space-glass-highlight: rgba(226, 211, 255, 0.78);
  --space-glass-tint: rgba(158, 104, 255, 0.4);
  --space-glow: rgba(166, 111, 255, 0.58);
  --space-rim: rgba(196, 166, 255, 0.78);
  animation-delay: -0.8s;
}

.space.rank-3 .space-cell {
  --space-glass-highlight: rgba(210, 255, 229, 0.76);
  --space-glass-tint: rgba(58, 223, 132, 0.36);
  --space-glow: rgba(64, 235, 145, 0.54);
  --space-rim: rgba(135, 255, 189, 0.74);
  animation-delay: -1.5s;
}

.space.rank-4 .space-cell {
  --space-glass-highlight: rgba(252, 255, 196, 0.74);
  --space-glass-tint: rgba(244, 255, 66, 0.34);
  --space-glow: rgba(244, 255, 94, 0.48);
  --space-rim: rgba(248, 255, 142, 0.7);
  animation-delay: -2.1s;
}

.space.rank-5 .space-cell {
  --space-glass-highlight: rgba(214, 239, 255, 0.74);
  --space-glass-tint: rgba(61, 163, 255, 0.38);
  --space-glow: rgba(75, 183, 255, 0.52);
  --space-rim: rgba(142, 210, 255, 0.72);
  animation-delay: -2.8s;
}

.space.rank-6 .space-cell {
  --space-glass-highlight: rgba(255, 255, 255, 0.76);
  --space-glass-tint: rgba(235, 246, 255, 0.3);
  --space-glow: rgba(247, 251, 255, 0.44);
  --space-rim: rgba(247, 251, 255, 0.72);
  animation-delay: -3.4s;
}

.space.is-active .space-cell {
  --space-glass-highlight: rgba(255, 232, 210, 0.82);
  --space-glass-tint: rgba(255, 118, 20, 0.34);
  --space-glow: rgba(255, 118, 20, 0.68);
  --space-rim: rgba(255, 145, 45, 0.92);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 244, 232, 0.74), transparent 24%),
    radial-gradient(circle at 54% 58%, rgba(255, 118, 20, 0.36), transparent 70%),
    radial-gradient(circle at 76% 82%, rgba(255, 106, 0, 0.34), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 153, 64, 0.1) 48%, rgba(70, 26, 0, 0.16));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.54),
    inset 0 -1px 3px rgba(255, 255, 255, 0.1),
    inset 0 0 18px rgba(255, 170, 92, 0.12),
    0 0 26px var(--current-space-glow),
    0 10px 22px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.stage.is-repacking .space-cell,
.stage.is-switching .space-cell,
.stage.is-layout-settling .space-cell {
  filter: none;
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.48),
    inset 0 -1px 3px rgba(255, 255, 255, 0.08),
    inset 0 0 16px rgba(255, 255, 255, 0.08),
    0 0 18px var(--space-glow),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.stage.is-repacking .space-cell::before,
.stage.is-switching .space-cell::before,
.stage.is-layout-settling .space-cell::before {
  opacity: 0.24;
}

.stage.is-repacking .space-cell::after,
.stage.is-switching .space-cell::after,
.stage.is-layout-settling .space-cell::after {
  opacity: 0;
  box-shadow: none;
}

.user-bubble {
  position: absolute;
  left: calc(50% + var(--bubble-x));
  top: calc(50% + var(--bubble-y));
  display: grid;
  width: var(--bubble-size);
  height: var(--bubble-size);
  overflow: hidden;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid rgba(215, 250, 255, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.82), transparent 25%),
    radial-gradient(circle at 54% 60%, rgba(105, 220, 255, 0.42), transparent 58%),
    radial-gradient(circle at 76% 82%, rgba(72, 141, 255, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(239, 252, 255, 0.48), rgba(87, 178, 230, 0.26) 54%, rgba(22, 48, 82, 0.26));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 3px rgba(255, 255, 255, 0.1),
    inset 0 0 12px rgba(210, 248, 255, 0.12),
    0 0 12px rgba(122, 226, 255, 0.24),
    0 6px 14px rgba(0, 0, 0, 0.2);
  color: rgba(244, 249, 255, 0.94);
  font-size: 20px;
  font-weight: 790;
  letter-spacing: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  transition:
    opacity 360ms ease,
    background 520ms ease,
    box-shadow 420ms ease,
    filter 420ms ease,
    width 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    height 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    border-radius 760ms cubic-bezier(0.12, 0.88, 0.16, 1),
    left 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    top 1040ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.stage.is-repacking .user-bubble,
.stage.is-repacking .space-label,
.stage.is-switching .user-bubble,
.stage.is-switching .space-label {
  will-change: transform, opacity;
  transition: opacity 360ms ease;
}

.stage.is-repacking .user-bubble,
.stage.is-switching .user-bubble,
.stage.is-layout-settling .user-bubble {
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 3px rgba(255, 255, 255, 0.1),
    inset 0 0 12px rgba(210, 248, 255, 0.12),
    0 0 12px rgba(122, 226, 255, 0.24),
    0 6px 14px rgba(0, 0, 0, 0.2);
}

.stage.is-repacking .user-bubble::after,
.stage.is-switching .user-bubble::after,
.stage.is-layout-settling .user-bubble::after {
  opacity: 0;
}

.user-bubble.has-camera {
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.76), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(141, 115, 255, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(245, 252, 255, 0.42), rgba(107, 194, 255, 0.24) 55%, rgba(24, 52, 95, 0.28));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.66),
    inset 0 -1px 4px rgba(255, 255, 255, 0.12),
    inset 8px 10px 24px rgba(255, 255, 255, 0.14),
    inset -10px -12px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 22px rgba(255, 255, 255, 0.2),
    0 0 22px rgba(111, 156, 255, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.stage.is-focus-view .space.is-active .user-bubble {
  left: calc(50% + var(--focus-bubble-x, var(--bubble-x)));
  top: calc(50% + var(--focus-bubble-y, var(--bubble-y)));
  width: 88px;
  height: 88px;
  overflow: visible;
  border-width: 1px;
}

.stage.is-focus-view .space.is-active .user-bubble.has-camera {
  width: 116px;
  height: 88px;
  border-radius: 28px;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-focused {
  z-index: 9;
  left: 50%;
  top: 50%;
  width: var(--video-tile-width);
  height: var(--video-tile-height);
  border-radius: 34px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  cursor: default;
  transition:
    opacity 320ms ease,
    background 420ms ease,
    box-shadow 420ms ease,
    filter 420ms ease,
    width 900ms cubic-bezier(0.18, 0.72, 0.22, 1),
    height 900ms cubic-bezier(0.18, 0.72, 0.22, 1),
    border-radius 720ms cubic-bezier(0.12, 0.88, 0.16, 1);
  will-change: width, height;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-focused::before,
.stage.is-video-focus .space.is-active .user-bubble.is-video-focused::after {
  filter: none;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-orbit {
  z-index: 4;
  width: 88px;
  height: 88px;
  opacity: var(--video-orbit-opacity, 1);
}

.user-bubble.is-entering {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.24);
}

.user-bubble.is-newcomer {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.88), transparent 29%),
    radial-gradient(circle at 72% 78%, rgba(141, 115, 255, 0.36), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    linear-gradient(145deg, rgba(107, 231, 255, 0.72), rgba(112, 78, 255, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 24px 12px rgba(255, 255, 255, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.28),
    0 0 36px rgba(107, 231, 255, 0.58),
    0 0 22px rgba(141, 115, 255, 0.36),
    0 10px 22px rgba(0, 0, 0, 0.26);
}

.user-bubble.is-current-user {
  z-index: 8;
  border-color: rgba(255, 226, 196, 0.96);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 244, 232, 0.96), transparent 27%),
    radial-gradient(circle at 72% 82%, rgba(255, 172, 68, 0.82), transparent 46%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.42), rgba(255, 151, 42, 0.5) 54%, var(--current-user-orange));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.76),
    inset 0 -1px 4px rgba(255, 255, 255, 0.2),
    inset 8px 10px 26px rgba(255, 234, 216, 0.2),
    inset -10px -12px 28px rgba(111, 36, 0, 0.18),
    inset 0 0 24px rgba(255, 255, 255, 0.24),
    0 0 0 12px rgba(255, 106, 0, 0.24),
    0 0 62px rgba(255, 122, 24, 0.72),
    0 0 38px rgba(255, 183, 78, 0.58),
    0 12px 26px rgba(0, 0, 0, 0.32);
  color: rgba(255, 252, 248, 0.98);
  filter: saturate(1.42) brightness(1.16);
}

.user-bubble.is-arriving {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
}

.user-bubble.is-landing-impact {
  opacity: 1;
  overflow: visible;
  transition:
    background 520ms ease,
    box-shadow 420ms ease,
    filter 420ms ease,
    width 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    height 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    border-radius 760ms cubic-bezier(0.12, 0.88, 0.16, 1),
    left 1040ms cubic-bezier(0.18, 0.72, 0.22, 1),
    top 1040ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.user-bubble.is-landing-impact::after {
  z-index: 0;
  inset: -16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 48%, rgba(255, 226, 196, 0.82) 51%, rgba(255, 106, 0, 0.42) 58%, transparent 70%);
  box-shadow: none;
  opacity: 0;
  transform: scale(0.58);
  animation: landing-impact-ring 560ms cubic-bezier(0.18, 0.86, 0.22, 1);
}

.stage.is-repacking .space.is-target .user-bubble.is-arriving {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  box-shadow: none;
}

.space.is-active .user-bubble {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.68),
    inset 0 -1px 4px rgba(255, 255, 255, 0.14),
    inset 8px 10px 24px rgba(255, 255, 255, 0.14),
    inset -10px -12px 26px rgba(8, 28, 55, 0.18),
    inset 0 0 20px rgba(210, 248, 255, 0.22),
    0 0 24px rgba(122, 226, 255, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.24);
}

.spaces.has-active .space:not(.is-active):hover .user-bubble,
.spaces.has-active .space:not(.is-active):focus-visible .user-bubble {
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.7),
    inset 0 -1px 4px rgba(255, 255, 255, 0.14),
    inset 8px 10px 24px rgba(255, 255, 255, 0.16),
    inset -10px -12px 26px rgba(0, 0, 0, 0.14),
    inset 0 0 22px rgba(255, 255, 255, 0.2),
    0 0 24px rgba(107, 231, 255, 0.32),
    0 10px 20px rgba(0, 0, 0, 0.24);
  filter: saturate(1.16) brightness(1.06);
}

.space.is-active .user-bubble.is-current-user {
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.76),
    inset 0 -1px 4px rgba(255, 255, 255, 0.2),
    inset 8px 10px 26px rgba(255, 234, 216, 0.2),
    inset -10px -12px 28px rgba(111, 36, 0, 0.18),
    inset 0 0 24px rgba(255, 255, 255, 0.24),
    0 0 0 12px rgba(255, 106, 0, 0.24),
    0 0 62px rgba(255, 122, 24, 0.72),
    0 0 38px rgba(255, 183, 78, 0.58),
    0 12px 26px rgba(0, 0, 0, 0.32);
}

.stage.is-focus-view .space.is-active .user-bubble.is-current-user {
  z-index: 7;
  border-color: rgba(255, 226, 196, 0.98);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 248, 240, 0.98), transparent 29%),
    radial-gradient(circle at 76% 80%, rgba(255, 177, 74, 0.82), transparent 44%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.46), rgba(255, 151, 42, 0.54) 54%, var(--current-user-orange));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.78),
    inset 0 -1px 4px rgba(255, 255, 255, 0.2),
    inset 9px 12px 28px rgba(255, 234, 216, 0.22),
    inset -11px -13px 30px rgba(111, 36, 0, 0.18),
    inset 0 0 26px rgba(255, 255, 255, 0.26),
    0 0 0 14px rgba(255, 106, 0, 0.25),
    0 0 70px rgba(255, 122, 24, 0.76),
    0 0 46px rgba(255, 183, 78, 0.6),
    0 14px 30px rgba(0, 0, 0, 0.32);
  filter: saturate(1.45) brightness(1.18);
}

.user-bubble.is-leaving {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.82), transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(255, 132, 190, 0.62), rgba(96, 42, 148, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 24px 12px rgba(255, 255, 255, 0.14),
    inset 0 0 18px rgba(255, 255, 255, 0.24),
    0 0 28px rgba(141, 115, 255, 0.46),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

.bubble-initials {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.stage.is-focus-view .space.is-active .bubble-initials {
  font-size: 28px;
}

.camera-preview {
  position: absolute;
  z-index: 1;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, rgba(88, 207, 255, 0.34), rgba(18, 43, 70, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(255, 255, 255, 0.14),
    inset 0 0 18px rgba(255, 255, 255, 0.16),
    0 0 18px rgba(92, 213, 255, 0.16);
  color: rgba(233, 250, 255, 0.66);
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.camera-preview::before {
  position: absolute;
  width: 34px;
  height: 22px;
  border: 1px solid rgba(237, 252, 255, 0.26);
  border-radius: 9px;
  background:
    radial-gradient(circle at 34% 36%, rgba(237, 252, 255, 0.5), transparent 18%),
    rgba(237, 252, 255, 0.12);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.16),
    0 0 12px rgba(91, 215, 255, 0.18);
  content: "";
}

.camera-preview::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 16px;
  border-radius: 4px 8px 8px 4px;
  background: rgba(237, 252, 255, 0.22);
  box-shadow: 0 0 8px rgba(91, 215, 255, 0.18);
  content: "";
}

.user-bubble.has-camera .camera-preview {
  opacity: 0.68;
}

.stage.is-focus-view .space.is-active .user-bubble.has-camera .camera-preview {
  opacity: 1;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-focused .camera-preview {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.video-zoom-indicator {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 12px;
  width: min(236px, calc(100% - 48px));
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(221, 248, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(7, 15, 22, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(76, 203, 255, 0.16),
    inset 0 0 10px rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: opacity 260ms ease;
}

.video-zoom-fill {
  position: absolute;
  left: 50%;
  top: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(95, 215, 255, 0.28), rgba(234, 252, 255, 0.88), rgba(95, 215, 255, 0.28));
  box-shadow: 0 0 14px rgba(120, 220, 255, 0.42);
  transform: translateX(-50%) scaleX(var(--video-zoom-progress, 0));
  transform-origin: center;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-focused .video-zoom-indicator {
  opacity: 1;
}

.user-bubble.is-video-zoom-limit .video-zoom-indicator {
  animation: video-zoom-limit-pulse 420ms ease;
}

.user-bubble.is-video-exit-warning {
  animation: video-exit-warning-pulse 420ms ease;
}

.user-details {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: calc(100% + 9px);
  display: inline-grid;
  grid-template-columns: auto minmax(min-content, max-content) auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  column-gap: 8px;
  width: max-content;
  max-width: min(272px, calc(var(--focus-space-size, var(--space-size)) * 0.38));
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(22, 34, 45, 0.94), rgba(8, 14, 20, 0.86));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 18px rgba(83, 238, 177, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.stage.is-focus-view .space.is-active .user-details {
  opacity: 1;
  transform: translate(-50%, 0);
}

.user-name {
  position: relative;
  z-index: 1;
  color: rgba(247, 253, 255, 0.98);
  font-size: 13px;
  font-weight: 740;
  line-height: 1.12;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.user-actions {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 10px);
  display: flex;
  gap: 6px;
  width: max-content;
  padding: 7px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(22, 34, 45, 0.96), rgba(7, 13, 19, 0.88));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 16px rgba(120, 220, 255, 0.14),
    0 16px 32px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.bubble-indicators {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 9px;
  display: flex;
  gap: 5px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 280ms ease;
}

.stage.is-focus-view .space.is-active .bubble-indicators {
  opacity: 0;
  animation: none;
}

.status-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(222, 255, 242, 0.58);
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 0 8px rgba(114, 255, 199, 0.16);
}

.status-icon.is-off {
  border-color: rgba(255, 157, 169, 0.3);
  background: rgba(255, 95, 120, 0.16);
  color: rgba(255, 213, 219, 0.92);
  box-shadow: 0 0 10px rgba(255, 95, 120, 0.22);
}

.nameplate-status {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  font-size: 14px;
  opacity: 0.86;
}

.nameplate-status.is-on {
  border-color: rgba(153, 255, 216, 0.18);
  background: rgba(111, 255, 196, 0.1);
  color: rgba(219, 255, 241, 0.76);
}

.nameplate-level {
  position: absolute;
  z-index: 0;
  inset: 2px;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.nameplate-water {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: 0;
  height: var(--voice-level);
  border-radius: 45% 45% 0 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(108, 232, 255, 0.44), rgba(68, 198, 194, 0.24));
  opacity: 0.28;
  transform: translateY(18%);
}

.user-bubble.is-voice-active .nameplate-water {
  opacity: 0.78;
}

.icon-button.is-video-view {
  border-color: rgba(120, 220, 255, 0.34);
  background: rgba(80, 190, 255, 0.14);
  color: rgba(225, 249, 255, 0.92);
  box-shadow:
    0 0 14px rgba(84, 203, 255, 0.18),
    0 0 12px rgba(255, 255, 255, 0.04) inset;
}

.stage.is-video-focus .space.is-active .user-bubble.is-video-focused .icon-button.is-video-fullscreen {
  display: none;
}

.stage.is-focus-view .space.is-active .user-bubble:hover,
.stage.is-focus-view .space.is-active .user-bubble.is-actions-open,
.stage.is-focus-view .space.is-active .user-bubble:focus-within {
  z-index: 40;
  overflow: visible;
}

.stage.is-focus-view .space.is-active .user-bubble:hover .user-actions,
.stage.is-focus-view .space.is-active .user-bubble.is-actions-open .user-actions,
.stage.is-focus-view .space.is-active .user-bubble:focus-within .user-actions {
  z-index: 45;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.space-label {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: calc(100% - var(--space-label-top-from-bottom));
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(108px, calc(var(--space-size) * 0.72), 176px);
  min-height: 50px;
  padding: 8px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(22, 34, 45, 0.94), rgba(8, 14, 20, 0.84));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 14px var(--space-glow),
    0 14px 28px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: rgba(245, 251, 255, 0.92);
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  pointer-events: none;
}

.space.is-temporary-empty .space-label {
  width: clamp(112px, calc(var(--space-size) * 1.24), 150px);
  padding: 8px 14px 12px;
}

.temporary-countdown {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: 2px;
  padding-bottom: 6px;
  overflow: hidden;
  color: rgba(194, 244, 255, 0.76);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
}

.temporary-countdown::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(107, 231, 255, 0.14), rgba(194, 244, 255, 0.92), rgba(141, 115, 255, 0.58));
  box-shadow:
    0 0 10px rgba(107, 231, 255, 0.34),
    0 0 16px rgba(141, 115, 255, 0.2);
  content: "";
  transform: scaleX(var(--temporary-countdown-progress, 1));
  transform-origin: left center;
  animation: temporary-countdown-shrink var(--temporary-countdown-duration, 30000ms) linear forwards;
}

.stage.is-focus-view .space.is-active .space-label {
  top: -104px;
  bottom: auto;
  width: clamp(240px, calc(var(--focus-space-size) * 0.42), 380px);
  padding: 14px 28px;
}

.space-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -112px;
  display: flex;
  gap: 12px;
  justify-content: center;
  width: max-content;
  padding: 12px 14px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(22, 34, 45, 0.94), rgba(8, 14, 20, 0.84));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 14px var(--space-glow),
    0 14px 28px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.18, 0.92, 0.24, 1);
}

.stage.is-focus-view .space.is-active .space-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.28), transparent 44%),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 14px rgba(255, 255, 255, 0.12),
    0 0 12px rgba(255, 255, 255, 0.05) inset;
  color: rgba(245, 251, 255, 0.86);
  cursor: pointer;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.space-controls .icon-button {
  width: 58px;
  height: 58px;
}

.icon-button .material-symbols-rounded {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1;
}

.space-controls .icon-button .material-symbols-rounded {
  font-size: 30px;
}

.icon-button.is-danger {
  border-color: rgba(255, 133, 148, 0.34);
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, 0.2), transparent 42%),
    rgba(255, 76, 98, 0.18);
  box-shadow:
    0 0 14px rgba(255, 84, 104, 0.16),
    0 0 12px rgba(255, 255, 255, 0.04) inset;
  color: rgba(255, 224, 228, 0.92);
}

.icon-button.is-danger:hover,
.icon-button.is-danger:focus-visible {
  border-color: rgba(255, 166, 178, 0.5);
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, 0.24), transparent 42%),
    rgba(255, 76, 98, 0.26);
  box-shadow:
    0 0 18px rgba(255, 84, 104, 0.24),
    0 0 12px rgba(255, 255, 255, 0.05) inset;
}

.icon-button::after {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(14, 23, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 20px rgba(0, 0, 0, 0.24);
  color: rgba(245, 251, 255, 0.9);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  white-space: nowrap;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.icon-button:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.icon-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.space-label strong,
.space-label span {
  display: block;
  width: 100%;
  text-align: center;
}

.flight-avatar {
  position: absolute;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: visible;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(145deg, var(--glass-fill), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(116, 208, 255, 0.22));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 24px 12px var(--glass-inner-glow),
    0 0 0 12px rgba(139, 237, 255, 0.09),
    0 20px 48px rgba(0, 0, 0, 0.3),
    inset 0 0 22px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: rgba(255, 252, 248, 0.98);
  font-size: 20px;
  font-weight: 790;
  letter-spacing: 0;
  isolation: isolate;
  --flight-angle: 0deg;
}

.flight-avatar-label {
  position: relative;
  z-index: 3;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.flight-trail {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: clamp(72px, 150%, 146px);
  height: 30%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 122, 24, 0), rgba(255, 122, 24, 0.44) 58%, rgba(255, 236, 208, 0.86));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--flight-angle)) translateX(-54%);
  transform-origin: center center;
}

.flight-particle {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 232, 0.98), rgba(255, 122, 24, 0.74) 58%, rgba(255, 122, 24, 0));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(calc(var(--flight-angle) + var(--particle-spread))) translateX(-38px) scale(0.7);
  transform-origin: center center;
  animation: flight-particle-drift 760ms cubic-bezier(0.22, 0.72, 0.24, 1) infinite;
  animation-delay: var(--particle-delay);
}

.flight-avatar.is-current-user {
  border-color: rgba(255, 226, 196, 0.94);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 244, 232, 0.9), transparent 30%),
    linear-gradient(145deg, rgba(255, 226, 196, 0.4), rgba(255, 106, 0, 0.16)),
    linear-gradient(145deg, var(--current-user-orange-hot), var(--current-user-orange));
  box-shadow:
    0 0 0 12px rgba(255, 106, 0, 0.24),
    0 0 58px rgba(255, 122, 24, 0.68),
    0 20px 48px rgba(0, 0, 0, 0.3),
    inset 0 0 24px rgba(255, 255, 255, 0.26);
}

.flight-avatar.is-returning {
  border-color: rgba(255, 226, 196, 0.94);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 244, 232, 0.9), transparent 30%),
    radial-gradient(circle at 72% 82%, rgba(255, 172, 68, 0.78), transparent 46%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.42), rgba(255, 151, 42, 0.5) 54%, var(--current-user-orange));
  box-shadow:
    0 0 0 12px rgba(255, 106, 0, 0.24),
    0 0 58px rgba(255, 122, 24, 0.68),
    0 20px 48px rgba(0, 0, 0, 0.3),
    inset 0 0 24px rgba(255, 255, 255, 0.26);
}

@keyframes flight-particle-drift {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--flight-angle) + var(--particle-spread))) translateX(-22px) scale(0.42);
  }

  36% {
    opacity: 0.82;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--flight-angle) + var(--particle-spread))) translateX(-82px) scale(0.08);
  }
}

@keyframes landing-impact-ring {
  0% {
    opacity: 0.92;
    transform: scale(0.58);
  }

  62% {
    opacity: 0.52;
  }

  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes nameplate-water-rise {
  0%,
  100% {
    transform: translateY(18%);
  }

  50% {
    transform: translateY(4%);
  }
}

@keyframes nameplate-water-drift {
  0%,
  100% {
    border-radius: 46% 54% 0 0;
    transform: translate(-1%, 14%);
  }

  50% {
    border-radius: 58% 42% 0 0;
    transform: translate(1.6%, 7%);
  }
}

@keyframes video-zoom-limit-pulse {
  0%,
  100% {
    border-color: rgba(221, 248, 255, 0.38);
    box-shadow:
      0 0 16px rgba(76, 203, 255, 0.16),
      inset 0 0 10px rgba(255, 255, 255, 0.08);
  }

  42% {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
      0 0 24px rgba(150, 230, 255, 0.48),
      inset 0 0 14px rgba(255, 255, 255, 0.28);
  }
}

@keyframes video-exit-warning-pulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0.22),
      0 0 20px rgba(76, 203, 255, 0.24),
      0 8px 18px rgba(0, 0, 0, 0.22);
  }

  42% {
    border-color: rgba(255, 221, 153, 0.94);
    box-shadow:
      inset 0 0 24px rgba(255, 255, 255, 0.28),
      0 0 0 7px rgba(255, 195, 80, 0.14),
      0 0 38px rgba(255, 195, 80, 0.36),
      0 14px 32px rgba(0, 0, 0, 0.3);
  }
}

@keyframes create-space-invalid {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-5px);
  }

  70% {
    transform: translateX(5px);
  }
}

@keyframes temporary-countdown-shrink {
  to {
    transform: scaleX(0);
  }
}

@keyframes space-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes focus-glass-breathe {
  0%,
  100% {
    background-position:
      32% 24%,
      center;
  }

  42% {
    background-position:
      38% 18%,
      center;
  }

  72% {
    background-position:
      27% 29%,
      center;
  }
}

@keyframes focus-indicator-pulse {
  0%,
  100% {
    filter: brightness(0.95);
  }

  46% {
    filter: brightness(1.18);
  }
}

.space-label strong {
  overflow: hidden;
  color: rgba(245, 251, 255, 0.86);
  font-size: 18px;
  font-weight: 730;
  line-height: 1;
  text-overflow: ellipsis;
}

.space-label span {
  margin-top: 5px;
  color: rgba(236, 247, 255, 0.56);
  font-size: 14px;
  font-weight: 620;
  line-height: 1;
}

.stage.is-focus-view .space.is-active .space-label strong {
  font-size: 26px;
  font-weight: 760;
}

.stage.is-focus-view .space.is-active .space-label span {
  margin-top: 7px;
  font-size: 16px;
}

@media (max-width: 760px) {
  body {
    overflow: hidden;
  }

  .stage:not(.is-stacked-layout) {
    min-height: 860px;
  }

  .note-panel {
    left: 28px;
    top: 104px;
  }

  .stage:not(.is-stacked-layout) .spaces {
    transform: translate(-50%, -42%) scale(0.86);
  }
}
