@charset "UTF-8";
:root {
  font-family:
    Inter,
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #203d35;
  background: #f6f4eb;
  font-synthesis: none;
  --ink: #203d35;
  --muted: #66756b;
  --line: #203d3526;
  --paper: #f6f4eb;
  --peach: #f4b79b;
  --mint: #d5e5cd;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 46px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.18s,
    transform 0.18s;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #a34828;
  outline-offset: 5px;
}
input {
  min-width: 0;
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover:not(:disabled) {
  background: #345449;
}
.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover {
  background: #eaece2;
}
.site-header {
  height: 101px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 5.2%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.8px;
  min-height: 44px;
}
.brand-period {
  color: #c77b54;
  margin-left: -8px;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: relative;
  margin-right: 2px;
}
.brand-mark:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: -5px;
  bottom: -3px;
  background: var(--peach);
  border: 2px solid var(--paper);
  border-radius: 50%;
}
.header-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}
.lobby {
  position: relative;
  max-width: 1600px;
  margin: auto;
  padding: 77px 7% 0;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 22px;
}
.lobby-copy {
  position: relative;
  z-index: 1;
}
.lobby-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 29px;
}
.tiny-ring {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
h1 {
  font-size: clamp(49px, 5.5vw, 84px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -4.5px;
  margin: 0 0 26px;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -4px;
}
.intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 33px;
}
#create-form {
  max-width: 395px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 10px;
}
.address-input {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #8b9b8b;
  border-radius: 9px;
  background: #fffdf6;
  padding: 0 15px;
  height: 58px;
}
.address-input:focus-within {
  box-shadow: 0 0 0 3px #d5e5cd;
  border-color: var(--ink);
}
.address-input input {
  border: 0;
  background: transparent;
  flex: 1;
  width: 100%;
  font-size: 16px;
  color: var(--ink);
  height: 100%;
  outline: none;
}
.address-input span {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.field-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 9px 0 18px;
}
.create-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 23px;
  font-size: 14px;
}
.create-button span {
  font-size: 22px;
  line-height: 1;
}
.error {
  color: #9c392b;
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
}
.error:empty {
  display: none;
}
.text-link {
  display: inline-block;
  font-size: 14px;
  margin: 12px 0;
  text-underline-offset: 4px;
  min-height: 44px;
  padding-top: 10px;
}
.quiet-note {
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0 0;
  display: flex;
  gap: 9px;
  align-items: center;
}
.small-spark {
  font-size: 19px;
}
.lobby-art {
  position: relative;
  min-width: 0;
  align-self: center;
  height: 510px;
  margin-top: -35px;
}
.art-bubble {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}
.peach {
  width: 300px;
  height: 300px;
  background: var(--peach);
  left: 3%;
  top: 21px;
  box-shadow: inset -20px -20px 45px #d68a6220;
}
.forest {
  width: 193px;
  height: 193px;
  background: var(--ink);
  right: -2%;
  top: 213px;
  display: grid;
  place-items: center;
  color: var(--paper);
}
.mint {
  width: 172px;
  height: 172px;
  background: var(--mint);
  left: 10%;
  top: 333px;
  display: grid;
  place-items: center;
}
.asterisk {
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  font-weight: 400;
  transform: rotate(-8deg);
}
.arc {
  position: absolute;
  border: 1px solid #203d3580;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  top: 44px;
}
.arc-one {
  left: 14px;
}
.arc-two {
  left: 77px;
}
.loop {
  width: 98px;
  height: 98px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.loop:before,
.loop:after {
  content: "";
  position: absolute;
  inset: 12px -12px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(45deg);
}
.loop:after {
  transform: rotate(-45deg);
}
.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 400px;
  height: 400px;
  left: 1%;
  top: 65px;
  transform: rotate(-30deg);
}
.orbit-two {
  width: 440px;
  height: 280px;
  left: 0;
  top: 125px;
  transform: rotate(54deg);
}
.art-caption {
  position: absolute;
  right: 5%;
  bottom: 3px;
  font-size: 9px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}
.art-dot {
  position: absolute;
  right: 13%;
  top: 58px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}
.lobby-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 21px 0 25px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.claim {
  text-align: center;
  margin: 65px auto;
  max-width: 650px;
  padding: 0 24px;
}
.claim h1 {
  font-size: 66px;
}
.claim > p:not(.eyebrow):not(.field-hint):not(.error) {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.claim .claim-address {
  font-family: ui-monospace, monospace;
  color: var(--ink) !important;
  overflow-wrap: anywhere;
}
.claim-symbol {
  margin: 0 auto 25px;
  width: 70px;
  height: 70px;
  background: var(--mint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  font-weight: 300;
}
.claim .primary {
  margin: 10px 0;
}
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 100px 20px;
  font-size: 14px;
  color: var(--muted);
}
.room-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: auto;
}
.room-tag {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 700;
}
#room-label {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
#copy-link {
  flex-shrink: 0;
}
#copy-link > span {
  margin-right: 6px;
}
.room {
  min-height: calc(100dvh - 101px);
  display: flex;
  flex-direction: column;
  padding: 0 5.2%;
}
.room-topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 0;
  font-size: 11px;
  color: var(--muted);
}
#connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b99462;
}
.online .status-dot {
  background: #4b7a57;
}
.room-mode {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.stage-wrap {
  position: relative;
  flex: 1;
  display: grid;
  align-items: center;
  min-height: 360px;
  padding: 24px 0 40px;
}
.stage {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 35px;
  padding: 12px;
}
:is(.bubble, .screen-tile) {
  position: relative;
  flex: 0 0 clamp(170px, 25vw, 300px);
  width: clamp(170px, 25vw, 300px);
}
.bubble-media {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid #fffdf7;
  background: var(--mint);
  box-shadow:
    0 2px 0 #203d3510,
    0 15px 40px #203d3512;
  overflow: hidden;
}
:is(.bubble, .screen-tile) video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #b2c6b3;
}
.bubble.self video {
  transform: scaleX(-1);
}
.spectating .bubble.remote video {
  filter: blur(19px);
  transform: scale(1.13);
}
.bubble-label {
  display: block;
  height: 24px;
  line-height: 24px;
  text-align: center;
  opacity: 0;
  font-size: 11px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bubble-label,
.bubble-label-editor {
  width: 100%;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
}
.bubble-label:hover:not(:disabled) {
  transform: none;
}
.bubble-label {
  font-size: 11px;
  cursor: text;
  transition: none;
}
.screen-tile p:not(:empty) {
  opacity: 1;
}
.bubble.link-failed .bubble-media {
  border-color: #d6a087;
}
.empty {
  text-align: center;
  position: relative;
  padding: 5px 0 10px;
}
.empty-orb {
  width: 133px;
  height: 133px;
  border: 1px solid #203d3530;
  background: radial-gradient(circle at 30% 30%, #eff3e7, #d8e7d1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  box-shadow:
    0 0 0 17px #203d3503,
    0 0 0 18px #203d3508;
}
.empty-orb > span {
  font-size: 79px;
  color: #53705a;
  font-family: Georgia, serif;
  font-weight: 400;
}
.empty .eyebrow {
  font-size: 9px;
  margin: 0 0 11px;
  color: var(--muted);
}
.empty h2 {
  font-family: Georgia, serif;
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 0 0 12px;
}
.empty > p:last-child {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.room-notices {
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}
.session-issue {
  font-size: 12px;
  line-height: 1.7;
  color: #814332;
  border-radius: 10px;
  background: #f3e5d9;
  padding: 12px 18px;
  margin: 0 0 17px;
}
.control-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  bottom: 0;
  z-index: 3;
}
.room-counts {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 150px;
}
.people-icon {
  font-size: 33px;
  line-height: 1;
  color: #637c69;
}
.room-counts > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.room-counts strong {
  font-size: 12px;
  font-weight: 600;
}
.room-counts span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.control-guidance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.control-guidance strong {
  font-size: 13px;
  font-weight: 500;
}
.control-guidance > span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.control-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#camera-button {
  min-width: 153px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
}
.button-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
#camera-button.live {
  background: var(--peach);
  color: var(--ink);
}
#camera-button.live .button-dot {
  border-radius: 2px;
  background: var(--ink);
  border: 0;
}
.spectator-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 15px;
  line-height: 1.6;
}
.invite-fallback {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.invite-fallback label {
  flex-basis: 100%;
  margin: 0;
}
.invite-fallback input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: white;
  width: 100%;
  font-size: 13px;
}
#enable-sound {
  margin-bottom: 16px;
}
@media (min-width: 1500px) {
  .lobby {
    padding-top: 100px;
  }
  .lobby-art {
    max-width: 520px;
  }
  .lobby-bottom {
    margin-top: 95px;
  }
}
@media (max-width: 1050px) {
  .lobby {
    padding-top: 65px;
    grid-template-columns: 1.2fr 1fr;
    padding-left: 5.2%;
    padding-right: 5.2%;
  }
  h1 {
    letter-spacing: -3px;
  }
  h1 em {
    letter-spacing: -3px;
  }
  .lobby-art {
    height: 440px;
    transform: scale(0.85);
    transform-origin: center;
  }
  .peach {
    left: 0;
    width: 255px;
    height: 255px;
  }
  .arc {
    width: 175px;
    height: 175px;
  }
  .arc-two {
    left: 65px;
  }
  .forest {
    width: 160px;
    height: 160px;
    top: 220px;
  }
  .asterisk {
    font-size: 115px;
  }
  .mint {
    width: 145px;
    height: 145px;
    top: 292px;
  }
  .orbit {
    width: 320px;
    height: 330px;
  }
  .orbit-two {
    width: 350px;
    height: 250px;
  }
  .control-bar {
    gap: 20px;
  }
  .control-guidance > span {
    max-width: 300px;
  }
  .room-counts {
    min-width: 110px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 83px;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .brand {
    font-size: 25px;
  }
  .header-note {
    font-size: 10px;
    max-width: 110px;
    text-align: right;
    line-height: 1.6;
  }
  .lobby {
    display: block;
    padding-top: 44px;
  }
  .lobby-copy {
    max-width: 520px;
  }
  .lobby h1 {
    font-size: clamp(48px, 9.5vw, 69px);
  }
  .lobby-art {
    height: 285px;
    max-width: 370px;
    margin: 28px auto 0;
    transform: scale(0.7);
    transform-origin: top center;
  }
  .lobby-bottom {
    margin-top: 53px;
    gap: 20px;
    line-height: 1.6;
  }
  .lobby-bottom span:last-child {
    text-align: right;
  }
  .room-heading {
    order: 3;
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .room-heading .room-tag {
    flex-shrink: 0;
  }
  #copy-link {
    margin-left: auto;
    padding: 10px 14px;
    font-size: 12px;
  }
  .room {
    min-height: calc(100dvh - 124px);
  }
  .stage-wrap {
    min-height: 340px;
    padding: 10px 0 28px;
  }
  :is(.bubble, .screen-tile) {
    flex-basis: clamp(160px, 37vw, 255px);
    width: clamp(160px, 37vw, 255px);
    border-width: 5px;
  }
  .stage {
    gap: 22px;
    padding: 5px;
  }
  .control-bar {
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 0 max(18px, env(safe-area-inset-bottom));
  }
  .control-guidance {
    order: -1;
    flex-basis: 100%;
    gap: 5px;
  }
  .control-actions {
    margin-left: auto;
    flex: 1;
  }
  .room-counts {
    min-width: 95px;
  }
  .control-actions .secondary {
    font-size: 11px;
    padding: 10px 12px;
  }
  .spectator-note {
    font-size: 9px;
  }
  .claim {
    margin: 45px auto;
  }
  .claim h1 {
    font-size: 55px;
  }
  .room-topline {
    padding: 17px 0;
  }
  .room-mode {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
}
@media (max-width: 380px) {
  .site-header {
    margin: 0 18px;
    gap: 8px;
  }
  .header-note {
    max-width: 90px;
  }
  .lobby {
    padding: 34px 23px 0;
  }
  .lobby h1 {
    font-size: 44px;
    letter-spacing: -2.8px;
  }
  .lobby h1 em {
    letter-spacing: -2.5px;
  }
  .lobby-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 23px;
  }
  .intro {
    font-size: 14px;
  }
  .address-input {
    padding: 0 10px;
  }
  .address-input span {
    font-size: 11px;
  }
  .field-hint {
    font-size: 10px;
  }
  .lobby-art {
    margin-left: -25px;
    margin-right: -25px;
    transform: scale(0.65);
    height: 265px;
  }
  .lobby-bottom {
    font-size: 9px;
  }
  .room-mode {
    max-width: 102px;
    text-align: right;
    line-height: 1.5;
  }
  :is(.bubble, .screen-tile) {
    flex-basis: 211px;
    width: 211px;
  }
  .control-actions {
    gap: 7px;
  }
  #camera-button {
    min-width: 135px;
    padding: 12px 15px;
  }
  .empty h2 {
    font-size: 30px;
  }
  .claim h1 {
    font-size: 46px;
  }
  .claim p.field-hint {
    font-size: 10px;
  }
}
body:has(#room:not([hidden])) {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body:has(#room:not([hidden])) .site-header {
  flex-shrink: 0;
}
body:has(#room:not([hidden])) #app {
  flex: 1;
  min-height: 0;
}
.room {
  height: 100%;
  min-height: 0;
}
.room-topline,
.control-bar,
.room-notices,
.spectator-note,
.invite-fallback {
  flex-shrink: 0;
}
.stage-wrap {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.control-bar {
  position: relative;
  bottom: auto;
}
.empty {
  padding: 25px 0;
}
.stage {
  min-height: min-content;
}
@media (max-width: 760px) {
  :is(.bubble, .screen-tile) {
    flex-basis: clamp(122px, 36vw, 255px);
    width: clamp(122px, 36vw, 255px);
  }
  .stage {
    gap: 16px;
    padding: 5px;
  }
  .stage-wrap {
    padding: 12px 0 24px;
  }
  .bubble-label {
    bottom: 14px;
    font-size: 10px;
    padding: 6px 10px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 22px;
  }
  :is(.bubble, .screen-tile) {
    flex-basis: 122px;
    width: 122px;
  }
  .bubble-label {
    bottom: 11px;
    font-size: 9px;
    padding: 5px 8px;
  }
  .empty-orb {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
  }
  .empty-orb > span {
    font-size: 60px;
  }
  .room-notices {
    max-width: 100%;
  }
  .session-issue {
    font-size: 11px;
    padding: 8px 12px;
    margin-bottom: 10px;
  }
}
/* Keep exit paint above the reclaimed workspace, without animating layout. */
body:has(#room:not([hidden])) .site-header,
body:has(#room:not([hidden])) .room-topline {
  opacity: 1;
  transform: translateY(0);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease-out;
}
body.room-chrome-collapsed:has(#room:not([hidden])) .site-header,
body.room-chrome-collapsed:has(#room:not([hidden])) .room-topline {
  opacity: 0;
  transform: translateY(-28px);
  position: fixed;
  z-index: 3;
  top: var(--chrome-top);
  left: var(--chrome-left);
  width: var(--chrome-width);
  height: var(--chrome-height);
  margin: 0;
  pointer-events: none;
}
.room-content {
  overflow-anchor: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 0 3px 24px;
}
.room-content .stage-wrap {
  min-height: 220px;
  overflow: visible;
  padding: 20px 0 30px;
}
.room-content .stage-wrap:has(.stage:not([hidden])) {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 0;
  padding: 8px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* A single scrollable row keeps busy rooms from covering the workspace. */
.room-content .stage:not([hidden]) {
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: safe center;
  gap: 12px;
  padding: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}
.room-content .stage:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  border-radius: 12px;
}
.room-content .stage:not([hidden]) :is(.bubble, .screen-tile) {
  width: clamp(80px, 10vw, 120px);
  flex-basis: clamp(80px, 10vw, 120px);
  border-width: 4px;
}
.room-content .stage .bubble-label {
  bottom: 8px;
  font-size: 9px;
  padding: 4px 7px;
}
.room-content .empty-orb {
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
}
.room-content .empty-orb > span {
  font-size: 48px;
}
.room-content .empty h2 {
  font-size: 29px;
}
.room-content .empty .eyebrow {
  display: none;
}
.room-content :is(.bubble, .screen-tile) {
  width: clamp(130px, 19vw, 220px);
  flex-basis: clamp(130px, 19vw, 220px);
}
.room-apps {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffdf7;
  padding: 22px 25px 16px;
}
.room-apps:empty {
  display: none;
}
.workspace-navigation {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.workspace-navigation > button {
  flex: 0 0 auto;
  font-size: 12px;
  min-height: 37px;
  padding: 8px 12px;
  white-space: nowrap;
}
.app-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
}
.app-tabs button {
  min-height: 37px;
  padding: 8px 18px;
  font-size: 12px;
  white-space: nowrap;
  border: 0;
}
.app-tabs [aria-selected="true"] {
  background: var(--mint);
}
.workspace-status {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 0;
  min-height: 16px;
}
.workspace-status:empty {
  margin: 0;
  min-height: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.app-panel,
.draft-preview {
  position: relative;
}
.app-frame {
  display: block;
  border: 0;
  width: 100%;
  height: 310px;
  background: #fffdf7;
  border-radius: 10px;
}
.app-builder {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 15px;
}
.app-builder form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.app-builder label {
  flex-basis: 100%;
  margin: 0;
}
.app-builder textarea {
  flex: 1 1 250px;
}
.app-builder form button {
  font-size: 12px;
}
.app-builder textarea,
.feedback-panel textarea {
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px;
  border: 1px solid #8b9b8b;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  width: 100%;
  resize: vertical;
}
textarea:focus-visible {
  outline: 3px solid #a34828;
  outline-offset: 3px;
}
.draft-preview {
  border: 1px dashed #8b9b8b;
  border-radius: 12px;
  margin-bottom: 15px;
}
.draft-preview:empty {
  display: none;
}
.draft-preview > .eyebrow {
  padding: 10px 16px 0;
  font-size: 8px;
  color: var(--muted);
}
.host-file-action {
  position: absolute;
  z-index: 2;
  inset: 12px;
  bottom: auto;
  padding: 18px;
  background: var(--paper);
  border: 1px solid #8b9b8b;
  border-radius: 12px;
  box-shadow: 0 8px 25px #203d3526;
}
.host-file-action p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 0;
}
.host-file-action button {
  margin-right: 8px;
}
#room .screen-tile .bubble-media {
  border-radius: 12px;
}
.screen-tile video {
  object-fit: contain;
  background: #203d35;
}
.screen-tile .bubble-label {
  margin: 0;
  cursor: default;
}
.spectating .screen-tile.remote video {
  filter: blur(19px);
}
#mic-button[aria-pressed="true"],
#screen-button[aria-pressed="true"] {
  background: var(--mint);
}
.feedback-widget {
  position: fixed;
  z-index: 6;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.feedback-widget > button {
  background: #fffdf7;
  box-shadow: 0 2px 12px #203d3510;
  min-height: 34px;
  padding: 8px 14px;
  font-size: 11px;
}
.feedback-panel {
  width: min(350px, calc(100vw - 32px));
  max-height: calc(100dvh - 85px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 15px 60px #203d3529;
}
.feedback-panel label {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}
.feedback-panel .field-hint {
  font-size: 10px;
  margin-bottom: 12px;
}
.feedback-panel button {
  font-size: 12px;
}
.feedback-status {
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.feedback-status:empty {
  display: none;
}
body:not(.mobile-video-pin) .control-bar {
  margin-bottom: 46px;
}
@media (max-width: 760px) {
  .room-apps {
    padding: 17px 14px 10px;
    border-radius: 15px;
  }
  .workspace-heading h2 {
    font-size: 25px;
  }
  .workspace-heading .eyebrow {
    font-size: 7px;
  }
  .workspace-heading button {
    font-size: 11px;
    padding: 8px 12px;
  }
  .app-frame {
    height: 330px;
  }
  .control-bar {
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .control-guidance {
    gap: 2px;
  }
  .control-guidance > span {
    display: none;
  }
  .control-actions {
    gap: 6px;
  }
  .room-counts {
    display: none;
  }
  .spectator-note {
    text-align: left;
    font-size: 8px;
  }
  .room-content .stage-wrap {
    min-height: 210px;
  }
  .room-content :is(.bubble, .screen-tile) {
    width: clamp(122px, 33vw, 200px);
    flex-basis: clamp(122px, 33vw, 200px);
  }
  #camera-button {
    min-width: 125px;
    min-height: 44px;
    font-size: 12px;
  }
}
.bubble-video-stage {
  display: contents;
}
body.mobile-video-pin:has(#room:not([hidden])) .site-header,
body.mobile-video-pin:has(#room:not([hidden])) .room-topline,
body.mobile-video-pin .room > .spectator-note {
  display: none;
}
body.mobile-video-pin .room {
  padding: 0;
}
body.mobile-video-pin .room-content {
  padding: 0;
  scrollbar-gutter: auto;
  transform: none !important;
}
body.mobile-video-pin .bubble-focus {
  height: var(--mobile-focus-height);
  padding: 0;
  position: relative;
}
body.mobile-video-pin #room .bubble-focus :is(.bubble, .screen-tile) {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body.mobile-video-pin #room .bubble-focus .bubble-media {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-height: none;
  aspect-ratio: auto;
}
body.mobile-video-pin .bubble-focus-controls {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
}
body.mobile-video-pin .bubble-focus-controls button:disabled,
body.mobile-video-pin .bubble-focus:has(button:disabled) .bubble-focus-status {
  display: none;
}
body.mobile-video-pin .bubble-focus-status:not(:empty) {
  position: absolute;
  bottom: 24px;
  width: 100%;
  background: var(--paper);
}
body.mobile-video-pin .pin-compact .bubble-focus > * {
  visibility: hidden;
}
body.mobile-video-pin .room-content .stage-wrap:has(.stage:not([hidden])) {
  padding: 0;
  height: calc(clamp(40px, 12dvh, 80px) + 48px);
}
body.mobile-video-pin .room-content .stage:not([hidden]) {
  height: 100%;
}
body.mobile-video-pin
  #room
  .room-content
  .stage:not([hidden])
  :is(.bubble, .screen-tile) {
  width: clamp(40px, 12dvh, 80px);
  flex-basis: clamp(40px, 12dvh, 80px);
}
body.mobile-video-pin .room-apps {
  min-height: 100dvh;
}
body.mobile-video-pin:not(:has(.pin-compact)) .feedback-widget {
  visibility: hidden;
}
body.mobile-video-pin .control-bar {
  position: static;
  padding-bottom: max(64px, env(safe-area-inset-bottom));
}

.bubble-focus {
  padding: 8px;
  text-align: center;
}
.room-content .bubble-focus :is(.bubble, .screen-tile) {
  width: min(100%, 640px);
  margin: 0 auto;
}
#room .bubble-focus .bubble-media {
  aspect-ratio: 16 / 9;
  max-height: min(42dvh, var(--focus-video-height));
  margin-inline: auto;
  border-radius: 16px;
}
.bubble-focus video {
  cursor: pointer;
  object-fit: contain;
}
.bubble-focus .bubble-label,
.bubble-focus .bubble-label-editor {
  margin-inline: auto;
}
.bubble-focus-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bubble-focus-controls button {
  min-height: 44px;
  padding: 8px 16px;
}
.bubble-focus-status:empty {
  display: none;
}
.bubble-focus-status {
  font-size: 12px;
  margin: 8px 0;
}
.bubble-video-stage:fullscreen {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
  padding: 8px;
}
#room .bubble-video-stage:fullscreen .bubble-focus :is(.bubble, .screen-tile) {
  width: min(100%, 1200px);
}
#room .bubble-video-stage:fullscreen .bubble-focus .bubble-media {
  max-height: var(--focus-video-height);
}
#room .bubble-video-stage:fullscreen .stage-wrap {
  position: static;
  flex: 0 0 auto;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
