.aether-lobby {
  max-width:1190px;
  min-height:calc(100svh - 160px);
}
.aether-lobby .aether-intro { margin-block:clamp(12px,4vw,48px) 25px; }
.aether-lobby .aether-intro h1 { margin-bottom:8px; }
.aether-intro-actions { display:flex; flex-wrap:wrap; gap:8px; }
.motion-recovery { color:var(--ink); }
body:not(.no-motion) .motion-recovery { display:none; }
.spatial-help { display:grid; justify-items:end; gap:7px; }
.spatial-help .motion-recovery { pointer-events:auto; background:var(--surface-card); }
.aether-spaces {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));
  gap:15px;
}
.aether-space,.aether-empty {
  background:radial-gradient(ellipse at 9% -14%,rgba(var(--accent-rgb),.23),transparent 58%),var(--surface-card);
  box-shadow:var(--rim),var(--panel-shadow);
}
.aether-space { padding:0; }
.aether-space-open {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  width:100%;
  min-height:106px;
  border:0;
  padding:18px 61px 18px 18px;
  background:none;
  color:var(--ink);
  border-radius:inherit;
  text-align:left;
}
.aether-space-open:focus-visible { outline-offset:-4px; }
.space-symbol {
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid var(--edge);
  border-radius:17px;
  background:linear-gradient(153deg,rgba(var(--accent-rgb),.37),rgba(var(--accent-rgb),.10));
  box-shadow:var(--rim);
  color:var(--ink);
  font-size:1.55rem;
}
.space-text { min-width:0; display:grid; gap:4px; }
.space-text strong { overflow-wrap:anywhere; font-size:1.08rem; line-height:1.25; }
.space-arrow { color:var(--quiet); font-size:.95rem; }
.space-menu { position:absolute; top:50%; right:10px; translate:0 -50%; border-color:transparent; }
.aether-empty { min-height:238px; display:grid; align-content:center; justify-items:start; gap:12px; }
.aether-empty h2,.aether-empty p { margin:0; }
.aether-empty p { color:var(--quiet); }
body[data-route="workspace"]:not([data-workspace-board]) .veil {
  background:radial-gradient(ellipse at top right,rgba(var(--accent-rgb),.18),transparent 62%),rgba(var(--frost),.82);
}
.spatial-bubble[data-pinch-ready] .droplet-skin {
  border-color:var(--key);
  box-shadow:var(--rim),0 0 0 3px var(--halo),0 0 28px var(--halo);
}
.spatial-bubble .symbol { text-shadow:0 0 14px rgba(var(--accent-rgb),.55); }

#bubble-reader {
  width:min(660px,calc(100% - 24px));
  padding:clamp(18px,4vw,34px);
  overscroll-behavior:contain;
}
#bubble-reader h2 {
  margin:12px 0 15px;
  font-size:clamp(1.7rem,4vw,2.4rem);
  font-weight:650;
  overflow-wrap:anywhere;
}
#bubble-reader-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.bubble-reader-head .eyebrow { color:var(--quiet); }
.bubble-reader-actions {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.bubble-media-tools {
  margin:12px 0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 12px;
}
.bubble-media {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));
  align-items:start;
  gap:12px;
}
.bubble-media:empty { display:none; }
.bubble-media figure {
  min-width:0;
  overflow:hidden;
  margin:0;
  border:1px solid var(--edge);
  border-radius:17px;
  background:var(--surface-input);
}
.bubble-media :is(img,video) {
  display:block;
  width:100%;
  max-height:44svh;
  object-fit:contain;
  background:#080912;
}
.bubble-media figcaption,.bubble-media figure p {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 8px;
  justify-content:space-between;
  padding:9px 11px;
  color:var(--quiet);
  overflow-wrap:anywhere;
  font-size:.84rem;
}
.bubble-media figcaption button { padding:4px 9px; }
.writer #bubble-media-file[hidden] { display:none; }
@media(max-width:820px){
  .aether-lobby .aether-intro { align-items:flex-start; flex-direction:column; gap:15px; }
}
@media(max-width:620px){
  .spatial-help { flex-basis:100%; justify-items:start; }
}
