.w-hero {
  position: relative;
  overflow-x: clip;
}
.w-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - var(--w-header));
  padding-top: 24px;
  padding-bottom: 48px;
}
.w-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  align-content: center;
  max-width: 600px;
}
.w-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--w-line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--w-ink-2);
}
.w-hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--w-accent);
}
.w-hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 8px;
}
.w-hero-path {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.w-hero .w-hero-stage {
  position: static;
}
.w-hero-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  --k: 1;
}
.w-hero-av {
  position: absolute;
  left: var(--lx);
  top: var(--ly);
  width: calc(var(--s) * var(--k));
  height: calc(var(--s) * var(--k));
  margin: calc(var(--s) * var(--k) / -2) 0 0 calc(var(--s) * var(--k) / -2);
  touch-action: none;
  cursor: grab;
  z-index: 2;
  transition: opacity 0.22s var(--w-ease);
}
.w-hero-play.is-live .w-hero-av {
  left: 0;
  top: 0;
  margin: 0;
  will-change: transform;
  animation: w-hero-in 0.7s var(--w-ease) backwards;
  animation-delay: calc(var(--i, 0) * 60ms + 100ms);
}
@keyframes w-hero-in {
  from {
    opacity: 0;
  }
}
.w-hero-av::after {
  content: attr(data-name);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  translate: -50% 0;
  font: 600 12px/1 var(--w-sans);
  text-shadow: none;
  color: var(--w-muted);
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.2s var(--w-ease), opacity 0.2s var(--w-ease);
}
.w-hero-av:hover::after,
.w-hero-av.is-grab::after,
.w-hero-av.is-near::after {
  color: var(--w-ink);
}
.w-hero-av.is-grab {
  cursor: grabbing;
  z-index: 4;
}
.w-hero-av.is-flying {
  pointer-events: none;
  z-index: 6;
}
.w-hero-av.is-flying::after {
  opacity: 0;
}
.w-hero-av.is-landed {
  opacity: 0;
}

.w-hero-room {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 240, 255, 0.13);
  background: rgba(22, 21, 27, 0.86);
  opacity: 0;
  transition: opacity 0.35s var(--w-ease);
  pointer-events: none;
  z-index: 1;
}
.w-hero-room.is-on {
  opacity: 1;
}
.w-hero-room-floor {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(to top, rgba(255, 138, 76, 0.16), rgba(255, 138, 76, 0) 58%);
}
.w-hero-room-floor::after {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--w-grad);
}
.w-hero-room-head {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  background: var(--w-panel);
  border: 1px solid rgba(255, 240, 255, 0.16);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--w-ease);
}
.w-hero-room-head.is-on {
  opacity: 1;
}
.w-hero-room-head b {
  font-weight: 650;
}
.w-hero-room-count {
  color: var(--w-muted);
}
.w-hero-room-count::before {
  content: '·';
  margin-right: 8px;
}
.w-hero-room-ico {
  color: var(--w-muted);
  transition: color 0.15s;
}
.w-hero-room-ico.is-talk {
  color: var(--w-speak);
}

.w-hero-you {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--w-ease);
}
.w-hero-play:not(.is-live) .w-hero-you {
  display: none;
}
.w-hero-you.is-on {
  opacity: 1;
}
.w-hero-you-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--w-grad);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
}
.w-hero-you::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 138, 76, 0.1);
}
.w-hero-you-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--w-sans);
  color: #ffbe4b;
  white-space: nowrap;
}

.w-hero-ui {
  position: absolute;
  z-index: 3;
  right: calc(max(0px, (100% - var(--w-max)) / 2) + var(--w-pad));
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.3s var(--w-ease);
}
.w-hero.is-leaving .w-hero-ui {
  opacity: 0;
  pointer-events: none;
}
.w-hero-play:not(.is-live) ~ .w-hero-ui {
  display: none;
}
.w-hero-hint-touch {
  display: none;
}
@media (pointer: coarse) {
  .w-hero-hint-pointer {
    display: none;
  }
  .w-hero-hint-touch {
    display: inline;
  }
}
.w-hero-gather {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--w-control);
  background: var(--w-ground);
  color: var(--w-ink-2);
  font: 600 13.5px/1 var(--w-sans);
  transition: color 0.16s var(--w-ease), border-color 0.16s var(--w-ease);
}
.w-hero-gather:hover {
  color: var(--w-ink);
  border-color: var(--w-muted);
}
.w-hero-gather[aria-pressed='true'] {
  border-color: var(--w-accent);
  color: var(--w-ink);
}

@media (max-width: 1000px) {
  .w-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-content: start;
  }
  .w-hero-copy {
    max-width: 640px;
  }
  .w-hero .w-hero-stage {
    position: relative;
    height: 420px;
    margin: 0 calc(var(--w-pad) * -1);
    touch-action: pan-y;
  }
  .w-hero-av {
    left: var(--mx);
    top: var(--my);
  }
  .w-hero-ui {
    right: var(--w-pad);
    bottom: 10px;
  }
}
@media (max-width: 760px) {
  .w-hero-grid {
    padding-top: 12px;
    padding-bottom: 8px;
  }
  .w-hero-copy {
    gap: 18px;
  }
  .w-hero-badge {
    font-size: 12.5px;
    padding: 5px 12px 5px 10px;
  }
  .w-hero-paths {
    display: grid;
    gap: 12px;
    margin-top: 4px;
  }
  .w-hero-path {
    justify-items: stretch;
    gap: 8px;
  }
  .w-hero-path .w-btn {
    width: 100%;
    min-height: 52px;
  }
  .w-hero-path .w-btn-meta {
    text-align: center;
    font-size: 13.5px;
  }
  .w-hero .w-hero-stage {
    height: 300px;
  }
  .w-hero-play {
    --k: 0.64;
  }
  .w-hero-av--extra {
    display: none;
  }
  .w-hero-av::after {
    top: calc(100% + 6px);
    font-size: 11px;
  }
  .w-hero-hint {
    display: none;
  }
  .w-hero-gather {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w-hero-ui {
    display: none;
  }
}

.w-house {
  overflow-x: clip;
}
.w-house-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.w-house-stage {
  --hs: 1.3;
  position: relative;
  min-height: calc(500px * var(--hs) + 12px);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.w-house-stage.is-rotating {
  cursor: grabbing;
}
.w-house-world {
  --yaw: 0deg;
  position: absolute;
  left: calc(50% - 240px * var(--hs));
  top: calc(50% + 62px * var(--hs));
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform-origin: 0 0;
  transform: scale3d(var(--hs), var(--hs), var(--hs)) rotateX(55deg) rotateZ(-45deg) translate(180px, 150px) rotateZ(var(--yaw)) translate(-180px, -150px);
}
.w-house-world :is(i, b, s, u, span):not(.w-house-me) {
  pointer-events: none;
}
.w-house-p,
.w-house-fx,
.w-house-fy,
.w-house-bb,
.w-house-pad {
  position: absolute;
  display: block;
}
.w-house-p {
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px);
  height: calc(var(--d) * 1px);
  transform: translateZ(calc(var(--z) * 1px));
}
.w-house-fy {
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  transform-origin: 0 0;
  transform: translateZ(calc(var(--z, 0) * 1px)) rotateX(-90deg) translateY(-100%);
}
.w-house-fx {
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--d) * 1px);
  height: calc(var(--h) * 1px);
  transform-origin: 0 0;
  transform: translateZ(calc(var(--z, 0) * 1px)) rotateZ(90deg) rotateX(-90deg) translateY(-100%);
}
.w-house-bb {
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  transform-origin: 50% 100%;
  transform: translateZ(calc(var(--z) * 1px)) rotateZ(calc(45deg - var(--yaw))) rotateX(-55deg);
}

.w-house-ground {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.w-house-pl-top {
  background:
    repeating-linear-gradient(0deg, rgba(255, 236, 220, 0.035) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(255, 236, 220, 0.035) 0 1px, transparent 1px 20px),
    #19171e;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.09);
}
.w-house-pl-l {
  background: #1b1920;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.07);
}
.w-house-pl-r {
  background: #121015;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.06);
}
.w-house-pl-l b,
.w-house-pl-r b {
  position: absolute;
  left: 16px;
  top: 14px;
  font: 500 10.5px/1 var(--w-mono);
  letter-spacing: 0.08em;
  color: #8b8394;
  white-space: nowrap;
}
.w-house-pl-r b {
  left: 40px;
}
.w-house-leds {
  position: absolute;
  right: 104px;
  top: 16px;
  display: flex;
  gap: 6px;
}
.w-house-leds u {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffbe4b;
  box-shadow: 0 0 6px rgba(255, 190, 75, 0.7);
}
.w-house-leds u:nth-child(2) {
  background: #ff8a4c;
  animation: w-house-blink 2.4s steps(1) infinite;
}
.w-house-leds u:nth-child(3) {
  background: #3a3541;
  box-shadow: none;
}
.w-house-vents {
  position: absolute;
  right: 22px;
  top: 12px;
  width: 64px;
  height: 14px;
  background: repeating-linear-gradient(90deg, #08070a 0 3px, transparent 3px 7px);
  opacity: 0.9;
}
@keyframes w-house-blink {
  50% {
    opacity: 0.25;
  }
}

.w-house-room {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  background: #1c1a21;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.07);
  transition: transform 0.35s var(--w-ease), background-color 0.4s var(--w-ease), box-shadow 0.3s var(--w-ease);
}
.w-house-room:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}
.w-house-room.is-hover,
.w-house-room:hover {
  transform: translateZ(calc((var(--z) + 4) * 1px));
  box-shadow: inset 0 0 0 1.5px rgba(255, 190, 75, 0.55);
}
.w-house-room.is-target {
  box-shadow: inset 0 0 0 2px #ffbe4b;
}
.w-house-room-name {
  position: absolute;
  font: 600 9px/1 var(--w-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-faint);
  white-space: nowrap;
  transition: color 0.4s var(--w-ease);
}
.w-house-tile {
  position: absolute;
  width: 52px;
  height: 62px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 236, 220, 0.1);
  background: rgba(17, 16, 21, 0.5);
  transition: border-color 0.12s linear;
}
.w-house-tile.is-speaking {
  border-color: var(--w-speak);
}
.w-house-wall {
  background: #141218;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.05);
}
.w-house-wall-r {
  background: #1c1a22;
}
.w-house-seg {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: opacity 0.6s var(--w-ease);
  opacity: 0;
  background: linear-gradient(0deg, rgba(255, 150, 70, 0.22), rgba(255, 150, 70, 0) 80%);
}
.w-house-win {
  position: absolute;
  top: 16px;
  width: 34px;
  height: 50px;
  background: #0e0d12;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.12);
  transition: background 0.5s var(--w-ease), box-shadow 0.5s var(--w-ease);
}
.w-house-win::before,
.w-house-win::after {
  content: '';
  position: absolute;
  background: rgba(17, 16, 21, 0.75);
}
.w-house-win::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  margin-left: -0.75px;
}
.w-house-win::after {
  left: 0;
  right: 0;
  top: 46%;
  height: 1.5px;
}
.w-house-tv {
  position: absolute;
  width: 124px;
  height: 58px;
  border-radius: 3px;
  background: #0b0a0e;
  box-shadow: 0 0 0 2px #2b2832;
  overflow: hidden;
  transition: filter 0.5s var(--w-ease);
  filter: brightness(0.45);
}
.w-house-tv-board {
  position: absolute;
  left: 34px;
  top: 4px;
  width: 50px;
  height: 50px;
  background:
    radial-gradient(circle at 3.125px 3.125px, #ffbe4b 2px, transparent 2.4px) 6.25px 0 / 12.5px 12.5px,
    repeating-conic-gradient(#2c2620 0 25%, #a8865f 0 50%) 0 0 / 12.5px 12.5px;
}
.w-house-tv-live {
  position: absolute;
  left: 4px;
  top: 4px;
  font: 700 7px/1 var(--w-sans);
  font-style: normal;
  color: #fff;
  background: var(--w-live);
  border-radius: 2px;
  padding: 2px 3px;
}
.w-house-cap {
  background: #2b2731;
}
.w-house-par {
  background: #201d26;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.06);
}
.w-house-fx.w-house-par {
  background: #26222d;
}
.w-house-part {
  background: #242029;
  box-shadow: inset 0 1px 0 rgba(255, 236, 220, 0.12);
}
.w-house-roof {
  position: absolute;
  left: 0;
  width: 360px;
  height: 163px;
  background: repeating-linear-gradient(0deg, rgba(255, 214, 170, 0.07) 0 1px, transparent 1px 16px);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 170, 0.3);
}
.w-house-roof-n {
  top: 150px;
  transform-origin: 50% 0;
  transform: translateZ(232px) rotateX(-23.1deg);
}
.w-house-roof-f {
  top: -13px;
  transform-origin: 50% 100%;
  transform: translateZ(232px) rotateX(23.1deg);
}
.w-house-gable svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.w-house-gable polygon {
  fill: rgba(255, 214, 170, 0.035);
  stroke: rgba(255, 214, 170, 0.3);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.w-house-guide {
  background: repeating-linear-gradient(0deg, rgba(255, 214, 170, 0.32) 0 4px, transparent 4px 9px);
}

.w-house-pad {
  left: calc(var(--x) * 1px - 14px);
  top: calc(var(--y) * 1px - 14px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  transform: translateZ(41px);
}
.w-house-me {
  width: 36px;
  height: 36px;
  margin: -36px 0 0 -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid transparent;
  background: linear-gradient(#1d1b23, #1d1b23) padding-box, var(--w-grad) border-box;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}
.w-house-me b {
  font: 700 11px/1 var(--w-sans);
  color: var(--w-ink);
  letter-spacing: -0.01em;
}
.w-house-me.is-lifted {
  cursor: grabbing;
}
.w-house-me-shadow {
  width: 30px;
  height: 30px;
  left: calc(var(--x) * 1px - 15px);
  top: calc(var(--y) * 1px - 15px);
  transform: translateZ(40.6px);
}
.w-house-stack {
  width: 76px;
  height: 52px;
  margin: -52px 0 0 -38px;
  display: grid;
  gap: 4px;
  align-content: end;
}
.w-house-msg {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 14px;
  padding: 0 5px;
  border-radius: 5px;
  background: #24212b;
  box-shadow: 0 0 0 1px rgba(255, 236, 220, 0.08);
}
.w-house-msg b {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}
.w-house-msg s {
  height: 3px;
  border-radius: 2px;
  background: #6f6779;
  text-decoration: none;
}
.w-house-msg em {
  margin-left: auto;
  width: 12px;
  height: 7px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--w-accent);
}
.w-house-pics {
  width: 70px;
  height: 30px;
  margin: -30px 0 0 -35px;
  display: flex;
  gap: 6px;
}
.w-house-pics i {
  flex: 1;
  border-radius: 4px;
  box-shadow: 0 0 0 1.5px #2b2832;
  background: linear-gradient(160deg, #ffbe4b, #ff6a63 70%, #6e56cf);
  opacity: 0.6;
}
.w-house-pics i + i {
  background: linear-gradient(200deg, #12a594, #0f3a3a 70%);
  margin-top: 6px;
}
.w-house-pin {
  width: 48px;
  height: 30px;
  margin: -30px 0 0 -24px;
  padding: 5px 6px;
  border-radius: 6px;
  background: #24212b;
  box-shadow: 0 0 0 1px rgba(255, 236, 220, 0.1);
  color: var(--w-accent);
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 3px 4px;
  align-content: center;
}
.w-house-pin s {
  height: 3px;
  border-radius: 2px;
  background: #6f6779;
  align-self: center;
}
.w-house-pin s + s {
  grid-column: 2;
  width: 60%;
}
.w-house-stack,
.w-house-pics,
.w-house-pin {
  transition: opacity 0.4s var(--w-ease), transform 0.4s var(--w-ease);
}

[data-lit~='game'] .w-house-room[data-room='game'],
[data-lit~='lounge'] .w-house-room[data-room='lounge'],
[data-lit~='general'] .w-house-room[data-room='general'],
[data-lit~='shots'] .w-house-room[data-room='shots'],
[data-lit~='links'] .w-house-room[data-room='links'] {
  background:
    radial-gradient(closest-side at 50% 42%, rgba(255, 190, 75, 0.26), rgba(255, 138, 76, 0.08) 65%, rgba(255, 106, 99, 0)),
    #221e24;
}
[data-lit~='game'] .w-house-room[data-room='game'] .w-house-room-name,
[data-lit~='lounge'] .w-house-room[data-room='lounge'] .w-house-room-name,
[data-lit~='general'] .w-house-room[data-room='general'] .w-house-room-name,
[data-lit~='shots'] .w-house-room[data-room='shots'] .w-house-room-name,
[data-lit~='links'] .w-house-room[data-room='links'] .w-house-room-name {
  color: #ffbe4b;
}
[data-lit~='game'] .w-house-seg[data-room='game'],
[data-lit~='lounge'] .w-house-seg[data-room='lounge'],
[data-lit~='links'] .w-house-seg[data-room='links'] {
  opacity: 1;
}
[data-lit~='lounge'] .w-house-win[data-room='lounge'],
[data-lit~='links'] .w-house-win[data-room='links'] {
  background: linear-gradient(180deg, #ffd889 0%, #ffad5a 55%, #ff7f57 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 200, 0.6), 0 0 18px rgba(255, 160, 80, 0.35);
}
[data-lit~='game'] .w-house-tv {
  filter: none;
}
[data-here='lounge'] .w-house-room[data-room='lounge'],
[data-here='game'] .w-house-room[data-room='game'] {
  background:
    radial-gradient(closest-side at 50% 46%, rgba(255, 200, 90, 0.38), rgba(255, 138, 76, 0.12) 65%, rgba(255, 106, 99, 0)),
    #262027;
}
.w-house-ripple {
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--w-speak);
  animation: w-house-ripple 0.9s var(--w-ease) forwards;
}
@keyframes w-house-ripple {
  from {
    transform: translateZ(44.6px) scale(0.3);
    opacity: 1;
  }
  to {
    transform: translateZ(44.6px) scale(2.4);
    opacity: 0;
  }
}

.w-house-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.w-house-hint {
  position: absolute;
  left: calc(50% - 300px * var(--hs));
  top: calc(50% + 150px * var(--hs));
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.3 var(--w-mono);
  color: var(--w-ink-2);
  white-space: nowrap;
  transition: opacity 0.4s var(--w-ease);
}
.w-house-hint .icon {
  order: 2;
  color: #ffbe4b;
  transform: rotate(-90deg);
}
.w-house-ui [hidden] {
  display: none !important;
}
.w-house-hint.is-gone {
  opacity: 0;
}
.w-house-card,
.w-house-pop {
  position: absolute;
  left: 0;
  top: 0;
  background: #1d1b23;
  border: 1px solid #2f2b36;
  border-radius: 14px;
  box-shadow: var(--w-shadow-window);
  color: var(--w-app-text);
  --tx: -50%;
  transform: translate(var(--tx), calc(-100% - 14px));
}
.w-house-card.is-in,
.w-house-pop.is-in {
  animation: w-house-pop-in 0.28s var(--w-ease);
}
.w-house-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 10px;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}
.w-house-card-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2a2631;
  color: var(--w-accent);
}
.w-house-card b {
  display: block;
  font-weight: 600;
}
.w-house-card small {
  display: block;
  font-size: 12.5px;
  color: var(--w-app-muted);
}
.w-house-card .w-house-avs {
  display: flex;
  margin-left: 4px;
}
.w-house-avs .w-ava {
  margin-left: -6px;
  outline: 2px solid #1d1b23;
}
.w-house-pop {
  width: 300px;
  padding: 12px 14px 14px;
  font-size: 13.5px;
  line-height: 1.4;
}
.w-house-pop-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2a2731;
}
.w-house-pop-head span {
  color: var(--w-app-muted);
  font-weight: 400;
}
.w-house-pop .w-house-m {
  padding: 4px 0;
}
.w-house-pop .w-house-m p {
  font-size: 13.5px;
}
.w-house-pop-imgs {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.w-house-pop-imgs i {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(160deg, #ffbe4b, #ff6a63 70%, #6e56cf);
}
.w-house-pop-imgs i + i {
  background: linear-gradient(200deg, #12a594, #0f3a3a 70%);
}
@keyframes w-house-pop-in {
  from {
    opacity: 0;
    transform: translate(var(--tx), calc(-100% - 4px)) scale(0.96);
  }
}
.w-house-note {
  position: absolute;
  left: 24px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 300px;
  border-radius: 14px;
  background: var(--w-app-panel);
  border: 1px solid rgba(54, 208, 143, 0.35);
  color: var(--w-app-text);
  box-shadow: var(--w-shadow-window);
  animation: w-house-note-in 0.35s var(--w-ease);
}
.w-house-note-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--w-speak);
  box-shadow: 0 0 0 3px rgba(54, 208, 143, 0.2);
}
.w-house-note-text {
  display: grid;
  font-size: 13.5px;
  line-height: 1.3;
}
.w-house-note-text b {
  color: var(--w-speak);
  font-weight: 600;
}
.w-house-note-ctl {
  margin-left: auto;
  display: flex;
  gap: 10px;
  color: var(--w-app-muted);
}
.w-house-note-leave {
  color: var(--w-live);
}
@keyframes w-house-note-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.w-house-seat {
  width: 26px;
  height: 26px;
  left: calc(var(--x) * 1px - 13px);
  top: calc(var(--y) * 1px - 13px);
  border-radius: 8px;
  background: rgba(255, 236, 220, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.08);
}
.w-house-tok {
  width: 30px;
  height: 30px;
  margin: -30px 0 0 -15px;
}
.w-house-face {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--w-spring), opacity 0.22s var(--w-ease);
}
.w-house-tok:not(.is-in) .w-house-face {
  transform: translateY(-6px) scale(0.25);
  opacity: 0;
}
.w-house-tok.is-speaking .w-house-face,
.w-house-me.is-speaking {
  box-shadow: var(--w-ring);
}

.w-house-m {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  padding: 7px 0;
}
.w-house-m-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
}
.w-house-m-head b {
  font-weight: 600;
}
.w-house-m-head time {
  font-size: 12px;
  color: var(--w-app-muted);
}
.w-house-reacts {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.w-house-react {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: 9px;
  background: #1f1d25;
  box-shadow: inset 0 0 0 1px #2f2b36;
  font-size: 13px;
}
.w-house-react b {
  font-weight: 600;
  font-size: 12.5px;
}
.w-house-react.is-mine {
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.7);
  background: rgba(255, 138, 61, 0.1);
}

@media (max-width: 1260px) {
  .w-house-stage {
    --hs: 1.12;
  }
}
@media (max-width: 1100px) {
  .w-house-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 40px;
  }
  .w-house-stage {
    --hs: 0.96;
  }
}
@media (max-width: 1000px) {
  .w-house-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .w-house-stage {
    --hs: 1.1;
    margin: 0 calc(var(--w-pad) * -1);
    order: -1;
  }
  .w-house-hint {
    left: 50% !important;
    top: auto !important;
    bottom: 6px;
    translate: -50% 0;
  }
  .w-house-hint .icon {
    display: none;
  }
}
@media (max-width: 760px) {
  .w-house-stage {
    --hs: 0.6;
  }
  .w-house-hint {
    font-size: 11px;
  }
  .w-house-note {
    left: 12px;
    right: 12px;
    bottom: 8px;
    min-width: 0;
  }
  .w-house-pop {
    width: 260px;
  }
}
@media (max-width: 374px) {
  .w-house-stage {
    --hs: 0.54;
  }
}

.w-world {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.w-rooms {
  min-width: 0;
}
.w-rail {
  position: sticky;
  top: calc(var(--w-header) + 24px);
  margin: 24px 0 96px;
  padding: 10px;
  border: 1px solid var(--w-line);
  border-radius: 18px;
  background: var(--w-panel);
  font-size: 14px;
}
.w-rail-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
}
.w-rail-group:hover {
  background: var(--w-raised);
}
.w-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--w-raised);
  font: 700 11.5px/1 var(--w-sans);
  color: var(--w-ink-2);
}
.w-rail-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 6px 0 4px;
  padding: 8px 10px;
  border: 1px solid var(--w-line);
  border-radius: 9px;
  background: var(--w-app-bg);
  color: var(--w-muted);
  font-size: 13px;
  text-align: left;
}
.w-rail-search > span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-rail-cap {
  margin: 14px 8px 6px;
  font: 650 11px/1 var(--w-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-faint);
}
.w-rail-row {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  column-gap: 8px;
  padding: 7px 8px;
  border-radius: 9px;
  color: var(--w-ink-2);
  text-decoration: none;
  transition: background-color 160ms var(--w-ease), color 160ms var(--w-ease);
}
.w-rail-row:hover {
  background: var(--w-raised);
  color: var(--w-ink);
}
.w-rail-row .icon {
  color: var(--w-faint);
}
.w-rail-row--voice .icon {
  color: var(--w-speak);
}
.w-rail-row small {
  grid-column: 2 / 4;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--w-faint);
}
.w-rail-row.is-here {
  background: var(--w-raised);
  color: var(--w-ink);
}
.w-rail-row.is-here::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--w-accent);
}
.w-rail-count {
  font: 650 11px/1 var(--w-sans);
  color: var(--w-speak);
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(54, 208, 143, 0.12);
}
.w-rail-people {
  display: grid;
  gap: 6px;
  margin: 2px 0 6px 34px;
}
.w-rail-people li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--w-muted);
}
.w-rail-people .w-ava.is-speaking {
  box-shadow: 0 0 0 2px var(--w-panel), 0 0 0 3.5px var(--w-speak);
}
.w-rail-sep {
  height: 1px;
  margin: 10px 4px;
  background: var(--w-line);
}
.w-rail-me {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 8px;
  border-radius: 12px;
  background: var(--w-app-bg);
}
.w-rail-me b {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
}
.w-rail-me div > span {
  display: block;
  font-size: 11.5px;
  color: var(--w-faint);
  line-height: 1.3;
}
.w-rail-gear {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--w-muted);
}
.w-rail-gear:hover,
.w-rail-gear.is-here {
  background: var(--w-raised);
  color: var(--w-accent);
}

.w-scene {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: var(--w-header);
}
.w-scene + .w-scene {
  border-top: 1px solid var(--w-line);
}
.w-rooms > .w-scene {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.w-scene-text {
  display: grid;
  gap: 20px;
  align-content: start;
}
.w-scene-text .w-room {
  margin-bottom: 4px;
}
.w-scene-text .w-facts {
  margin-top: 12px;
}
.w-stage {
  position: relative;
  min-width: 0;
}

@media (max-width: 1279px) {
  .w-world {
    display: block;
  }
  .w-rail {
    display: none;
  }
}
@media (max-width: 1000px) {
  .w-rooms > .w-scene {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .w-scene {
    padding: 72px 0;
  }
}

.w-rooms > .w-scene.w-chat {
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: 64px;
}
.w-chat-stage {
  position: relative;
  padding-right: 34px;
}
.w-chat-win {
  display: flex;
  flex-direction: column;
  height: 620px;
  border-radius: 20px;
  background: var(--w-app-bg);
  user-select: none;
}
.w-chat-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 42px;
  padding: 0 10px 0 16px;
  flex: none;
}
.w-chat-app {
  font: 700 13px/1 var(--w-sans);
  color: var(--w-ink);
  white-space: nowrap;
}
.w-chat-app i {
  font-style: normal;
  font-weight: 400;
  color: var(--w-faint);
  margin: 0 4px;
}
.w-chat-find {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(270px, 60%);
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--w-line);
  border-radius: 8px;
  background: var(--w-panel);
  color: var(--w-faint);
  font-size: 12px;
  text-align: left;
  transition: border-color 160ms var(--w-ease), color 160ms var(--w-ease);
}
.w-chat-find span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.w-chat-find:hover {
  border-color: var(--w-control);
  color: var(--w-ink-2);
}

.w-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--w-line);
  border-bottom: 1px solid var(--w-line);
  flex: none;
}
.w-chat-hash {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--w-raised);
  color: var(--w-accent);
}
.w-chat-title {
  display: grid;
  line-height: 1.25;
}
.w-chat-title b {
  font-size: 15px;
  font-weight: 650;
}
.w-chat-title span {
  font-size: 12.5px;
  color: var(--w-muted);
}
.w-chat-tools {
  margin-left: auto;
  display: flex;
  gap: 16px;
  color: var(--w-muted);
}

.w-chat-pins {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 2px;
  padding: 7px 10px;
  border: 1px dashed transparent;
  border-radius: 10px;
  background: rgba(255, 138, 61, 0.07);
  font-size: 13px;
  flex: none;
  transition: background-color 180ms var(--w-ease), border-color 180ms var(--w-ease), transform 220ms var(--w-spring);
}
.w-chat-pins-icon {
  display: grid;
  place-items: center;
  color: var(--w-accent);
}
.w-chat-pins > b {
  font: 650 11.5px/1 var(--w-sans);
  letter-spacing: 0.04em;
  color: var(--w-accent);
}
.w-chat-pins-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--w-ink-2);
}
.w-chat-pins-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--w-ink);
}
.w-chat-pins-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 138, 61, 0.16);
  color: var(--w-accent);
  font: 650 11.5px/20px var(--w-sans);
  text-align: center;
}
.w-chat-win.is-dragging-msg .w-chat-pins,
.w-chat-win.is-dragging-msg .w-chat-composer {
  border-color: rgba(255, 138, 61, 0.55);
  border-style: dashed;
}
.w-chat-pins.is-over {
  background: rgba(255, 138, 61, 0.16);
  border-color: var(--w-accent) !important;
  transform: scale(1.015);
}
.w-chat-pins.is-stamp {
  animation: w-chat-stamp 520ms var(--w-ease);
}
@keyframes w-chat-stamp {
  0% {
    background: rgba(255, 138, 61, 0.32);
    transform: scale(1.03);
  }
  100% {
    background: rgba(255, 138, 61, 0.07);
    transform: none;
  }
}

.w-chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
}
.w-chat-day {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 16px 6px;
  font-size: 11.5px;
  color: var(--w-muted);
}
.w-chat-day::before,
.w-chat-day::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--w-line);
}
.w-chat-day span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--w-panel);
}
.w-chat-list {
  display: grid;
}
.w-chat-msg {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 7px 16px;
  outline: none;
  transition: background-color 160ms var(--w-ease), opacity 160ms var(--w-ease);
}
.w-chat-msg > .w-ava {
  margin-top: 2px;
}
.w-chat-msg.is-pinned > .w-ava {
  margin-top: 20px;
}
.w-chat-msg.has-quote > .w-ava {
  margin-top: 22px;
}
.w-chat-msg.has-quote.is-pinned > .w-ava {
  margin-top: 40px;
}
.w-chat-msg:hover,
.w-chat-msg:focus-visible {
  background: rgba(255, 255, 255, 0.025);
}
.w-chat-msg:focus-visible {
  box-shadow: inset 2px 0 0 var(--focus);
}
.w-chat-msg.is-hidden {
  display: none;
}
.w-chat-msg.is-new {
  animation: w-chat-in 520ms var(--w-spring) both;
}
@keyframes w-chat-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}
.w-chat-msg.is-src {
  opacity: 0.35;
}
.w-chat-win:not(.is-dragging-emo) .w-chat-msg {
  cursor: grab;
}
.w-chat-win.is-dragging-msg .w-chat-msg,
.w-chat-win.is-dragging-emo .w-chat-msg {
  cursor: grabbing;
}
.w-chat-msg.is-over {
  background: rgba(255, 138, 61, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(255, 138, 61, 0.65);
  border-radius: 10px;
}
.w-chat-body {
  min-width: 0;
}
.w-chat-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.3;
}
.w-chat-meta b {
  font-size: 14px;
  font-weight: 650;
}
.w-chat-meta time {
  font-size: 11.5px;
  color: var(--w-muted);
}
.w-chat-text {
  margin-top: 1px;
  font-size: 14.5px;
  line-height: 1.45;
  color: #e9e3ec;
  overflow-wrap: anywhere;
}
.w-chat-pinmark {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  font: 650 11.5px/1.3 var(--w-sans);
  color: var(--w-accent);
}
.w-chat-pinmark.is-new {
  animation: w-chat-in 420ms var(--w-spring) both;
}
.w-chat-quote {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--w-muted);
  min-width: 0;
}
.w-chat-quote::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 22px;
  height: 13px;
  border-left: 2px solid var(--w-line-2);
  border-top: 2px solid var(--w-line-2);
  border-top-left-radius: 7px;
}
.w-chat-quote b {
  font-weight: 650;
  color: var(--w-ink-2);
  flex: none;
}
.w-chat-quote > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.w-chat-quote .w-ava {
  font-size: 9px;
}
.w-chat-file {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid var(--w-line);
  border-radius: 12px;
  background: var(--w-panel);
}
.w-chat-file-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 138, 61, 0.12);
  color: var(--w-accent);
}
.w-chat-file-name {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.w-chat-file-name b {
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.w-chat-file-name small {
  font-size: 12px;
  color: var(--w-muted);
}
.w-chat-file-dl {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--w-muted);
}
.w-chat-sticker {
  width: 92px;
  height: 92px;
  margin-top: 4px;
  transform-origin: 50% 80%;
}
.w-chat-msg:hover .w-chat-sticker {
  animation: w-chat-wave 900ms var(--w-ease);
}
@keyframes w-chat-wave {
  20% {
    transform: rotate(-6deg) scale(1.04);
  }
  45% {
    transform: rotate(5deg) scale(1.04);
  }
  70% {
    transform: rotate(-3deg);
  }
}

.w-chat-reacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.w-chat-reacts:not(:empty) {
  margin-top: 6px;
}
.w-chat-react {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--w-line-2);
  border-radius: 8px;
  background: var(--w-panel);
  color: var(--w-ink-2);
  font-size: 13px;
  line-height: 1;
  transition: border-color 160ms var(--w-ease), background-color 160ms var(--w-ease);
}
.w-chat-react b {
  font: 650 12px/1 var(--w-sans);
  font-variant-numeric: tabular-nums;
}
.w-chat-react:hover {
  border-color: var(--w-control);
}
.w-chat-react.is-mine {
  border-color: rgba(255, 138, 61, 0.7);
  background: rgba(255, 138, 61, 0.12);
  color: var(--w-ink);
}
.w-chat-react.is-pop {
  animation: w-chat-pop 520ms var(--w-spring);
}
@keyframes w-chat-pop {
  0% {
    transform: scale(0.4);
  }
  60% {
    transform: scale(1.14);
  }
  100% {
    transform: none;
  }
}

.w-chat-acts {
  position: absolute;
  top: -14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--w-line-2);
  border-radius: 10px;
  background: var(--w-panel);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms var(--w-ease), transform 140ms var(--w-ease);
}
.w-chat-msg:hover .w-chat-acts,
.w-chat-msg:focus-within .w-chat-acts,
.w-chat-msg.is-menu .w-chat-acts {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.w-chat-win.is-dragging-msg .w-chat-acts,
.w-chat-win.is-dragging-emo .w-chat-acts {
  display: none;
}
.w-chat-acts button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--w-muted);
}
.w-chat-acts button:hover {
  background: var(--w-raised);
  color: var(--w-ink);
}
.w-chat-pick {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--w-line-2);
  border-radius: 12px;
  background: var(--w-panel);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  animation: w-pop 160ms var(--w-ease);
}
.w-chat-pick button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 19px;
  line-height: 1;
}
.w-chat-pick button:hover,
.w-chat-pick button:focus-visible {
  background: var(--w-raised);
}

.w-chat-replying {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 12px -10px;
  padding: 8px 12px 18px;
  border-radius: 12px 12px 0 0;
  background: var(--w-raised);
  font-size: 12.5px;
  color: var(--w-muted);
  flex: none;
  animation: w-chat-in 300ms var(--w-ease) both;
}
.w-chat-replying[hidden] {
  display: none;
}
.w-chat-replying b {
  font-weight: 650;
  flex: none;
}
.w-chat-replying-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--w-ink-2);
}
.w-chat-replying button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--w-muted);
}
.w-chat-replying button:hover {
  background: var(--w-hover);
  color: var(--w-ink);
}

.w-chat-composer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 12px 12px;
  height: 48px;
  padding: 0 6px;
  border: 1px solid var(--w-line-2);
  border-radius: 12px;
  background: var(--w-panel);
  flex: none;
  transition: border-color 160ms var(--w-ease), background-color 160ms var(--w-ease), transform 220ms var(--w-spring);
}
.w-chat-composer:has(.w-chat-input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.w-chat-composer.is-over {
  border-color: var(--w-accent) !important;
  background: rgba(255, 138, 61, 0.08);
  transform: scale(1.012);
}
.w-chat-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--w-ink);
  font-size: 14.5px;
  user-select: text;
}
.w-chat-input::placeholder {
  color: var(--w-faint);
}
.w-chat-cbtn,
.w-chat-send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--w-muted);
  flex: none;
}
.w-chat-cbtn:hover {
  background: var(--w-raised);
  color: var(--w-ink);
}
.w-chat-send {
  background: var(--w-raised);
  transition: background-color 160ms var(--w-ease), color 160ms var(--w-ease);
}
.w-chat-composer.has-text .w-chat-send {
  background: var(--w-accent);
  color: var(--w-on-accent);
}

.w-chat-tray {
  position: absolute;
  right: 0;
  top: 104px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 10px 7px 10px;
  border: 1px solid var(--w-line-2);
  border-radius: 18px;
  background: var(--w-panel);
  box-shadow: var(--w-shadow-window);
}
.w-chat-tray .w-hint {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.w-chat-tray .w-hint::before {
  margin-bottom: 2px;
}
.w-chat-tray-row {
  display: grid;
  gap: 4px;
}
.w-chat-emo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  transition: transform 220ms var(--w-spring), background-color 160ms var(--w-ease);
}
.w-chat-emo:hover {
  background: var(--w-raised);
  transform: scale(1.12) rotate(-6deg);
}
.w-chat-emo:active {
  cursor: grabbing;
}
.w-chat-emo.is-src {
  opacity: 0.3;
}
.w-chat-tray.is-pulse .w-chat-emo {
  animation: w-chat-pulse 700ms var(--w-spring) both;
}
.w-chat-tray.is-pulse .w-chat-emo:nth-child(2) { animation-delay: 50ms; }
.w-chat-tray.is-pulse .w-chat-emo:nth-child(3) { animation-delay: 100ms; }
.w-chat-tray.is-pulse .w-chat-emo:nth-child(4) { animation-delay: 150ms; }
.w-chat-tray.is-pulse .w-chat-emo:nth-child(5) { animation-delay: 200ms; }
.w-chat-tray.is-pulse .w-chat-emo:nth-child(6) { animation-delay: 250ms; }
@keyframes w-chat-pulse {
  40% {
    transform: scale(1.22) translateX(-3px);
  }
}

.w-chat-hint {
  margin: 14px 0 0 4px;
}
.w-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  pointer-events: none;
  will-change: transform;
}
.w-chat-ghost-emo {
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}
.w-chat-ghost-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--w-line-2);
  border-radius: 12px;
  background: var(--w-raised);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  color: var(--w-ink);
  font-size: 13.5px;
  line-height: 1.3;
}
.w-chat-ghost-msg span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 1279px) {
  .w-rooms > .w-scene.w-chat {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .w-rooms > .w-scene.w-chat {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .w-chat-stage {
    padding-right: 0;
  }
  .w-chat-win {
    height: 560px;
    border-radius: 16px;
  }
  .w-chat-app {
    display: none;
  }
  .w-chat-find {
    width: 100%;
    margin: 0 10px;
  }
  .w-chat-tools {
    gap: 12px;
  }
  .w-chat-tools .icon:first-child {
    display: none;
  }
  .w-chat-msg {
    padding: 7px 12px;
    column-gap: 10px;
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .w-chat-msg > .w-ava {
    --s: 32px !important;
  }
  .w-chat-quote::before {
    left: -26px;
    width: 18px;
  }
  .w-chat-tray {
    position: relative;
    top: auto;
    right: auto;
    justify-items: stretch;
    gap: 4px;
    margin-top: 14px;
    padding: 12px 8px 6px;
  }
  .w-chat-tray .w-hint {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0 8px;
  }
  .w-chat-tray-row {
    display: flex;
    justify-content: space-between;
    gap: 0;
  }
  .w-chat-emo {
    width: 38px;
    height: 40px;
    font-size: 20px;
  }
}

.w-rooms > .w-scene.w-voice {
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.w-voice-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 56px;
  align-items: end;
}
.w-voice-intro-a {
  display: grid;
  gap: 20px;
}
.w-voice-intro-b {
  display: grid;
  gap: 18px;
}
.w-voice-intro-b .w-facts {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  border-top: 0;
}
.w-voice-intro-b .w-facts li {
  border-bottom: 0;
  padding: 2px 0;
  white-space: nowrap;
}

.w-voice-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 20px;
  align-items: start;
}

.w-voice-room {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--w-app-bg);
  transition: box-shadow 200ms var(--w-ease), opacity 300ms var(--w-ease), filter 300ms var(--w-ease);
  user-select: none;
}
.w-voice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--w-line);
}
.w-voice-head-icon {
  display: grid;
  place-items: center;
  color: var(--w-speak);
}
.w-voice-head b {
  font-size: 15px;
  font-weight: 650;
}
.w-voice-count {
  font-size: 13px;
  color: var(--w-muted);
}

.w-voice-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}
.w-voice-tiles.has-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.w-voice-tiles.has-5 > .w-voice-tile {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}
.w-voice-tiles.has-5 > .w-voice-tile:nth-child(4) {
  grid-column: 2 / span 2;
}
.w-voice-tiles.has-5 .w-ava {
  --s: 60px !important;
}
.w-voice-tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--w-line);
  border-radius: 18px;
  background: #19171d;
  overflow: hidden;
  transition: border-color 200ms var(--w-ease), box-shadow 200ms var(--w-ease);
}
.w-voice-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 60% at 50% 50%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%);
  opacity: 0.55;
  transition: opacity 300ms var(--w-ease);
}
.w-voice-tile .w-ava {
  position: relative;
  transition: box-shadow 160ms var(--w-ease), transform 260ms var(--w-spring);
}
.w-voice-tile.is-speaking {
  border-color: rgba(54, 208, 143, 0.75);
  box-shadow: 0 0 0 1px rgba(54, 208, 143, 0.25), 0 0 24px -6px rgba(54, 208, 143, 0.45);
}
.w-voice-tile.is-speaking .w-voice-glow {
  opacity: 1;
}
.w-voice-tile.is-speaking .w-ava {
  box-shadow: 0 0 0 3px #19171d, 0 0 0 6px var(--w-speak), 0 0 22px 4px rgba(54, 208, 143, 0.35);
}
.w-voice-tile.is-speaking .w-ava--you {
  box-shadow: 0 0 0 3px var(--w-you) inset, 0 0 0 3px #19171d, 0 0 0 6px var(--w-speak), 0 0 22px 4px rgba(54, 208, 143, 0.35);
}
.w-voice-cam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.w-voice-name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(10, 9, 13, 0.62);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.w-voice-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(10, 9, 13, 0.62);
  color: var(--w-live);
}
.w-voice-tile.is-you {
  animation: w-voice-in 520ms var(--w-spring) both;
}
@keyframes w-voice-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

.w-voice-bar {
  display: flex;
  justify-content: center;
  padding: 2px 16px 18px;
}
.w-voice-join {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(54, 208, 143, 0.5);
  border-radius: 14px;
  background: rgba(54, 208, 143, 0.1);
  color: var(--w-ink);
  font: 600 15px/1 var(--w-sans);
  transition: background-color 160ms var(--w-ease), transform 160ms var(--w-ease);
}
.w-voice-join .icon {
  color: var(--w-speak);
}
.w-voice-join:hover {
  background: rgba(54, 208, 143, 0.18);
}
.w-voice-join:active {
  transform: scale(0.98);
}
.w-voice-ctrls {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--w-line);
  border-radius: 18px;
  background: var(--w-panel);
  animation: w-voice-in 420ms var(--w-spring) both;
}
.w-voice-ctrls[hidden],
.w-voice-join[hidden] {
  display: none;
}
.w-voice-cb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--w-raised);
  color: var(--w-ink);
  transition: background-color 160ms var(--w-ease), color 160ms var(--w-ease), transform 160ms var(--w-ease);
}
.w-voice-cb:hover {
  background: var(--w-hover);
}
.w-voice-cb:active {
  transform: scale(0.95);
}
.w-voice-cb.is-off {
  color: var(--w-live);
}
.w-voice-cb.is-on {
  background: var(--w-accent);
  color: var(--w-on-accent);
}
.w-voice-cb--leave {
  width: 64px;
  background: var(--w-live);
  color: #fff;
}
.w-voice-cb--leave:hover {
  background: #f2606a;
}

.w-voice-drop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding-bottom: 22px;
  border: 2px dashed rgba(54, 208, 143, 0.75);
  border-radius: 20px;
  background: rgba(17, 16, 21, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--w-ease);
}
.w-voice-drop span {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--w-panel);
  border: 1px solid rgba(54, 208, 143, 0.5);
  font: 600 14px/1 var(--w-sans);
  color: var(--w-speak);
}
.w-voice-layout.is-dragging .w-voice-room {
  box-shadow: var(--w-shadow-window), 0 0 0 1px rgba(54, 208, 143, 0.35);
}
.w-voice-room.is-over .w-voice-drop {
  opacity: 1;
}
.w-voice-ghost .w-ava--you {
  box-shadow: 0 0 0 3px var(--w-you) inset, 0 18px 36px rgba(0, 0, 0, 0.55);
}

.w-voice-side {
  display: grid;
  gap: 14px;
}
.w-voice-me {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 14px;
  padding: 16px;
  border: 1px dashed var(--w-line-2);
  border-radius: 18px;
}
.w-voice-me .w-hint {
  grid-column: 1 / -1;
}
.w-voice-chip {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transition: transform 260ms var(--w-spring), opacity 200ms var(--w-ease);
}
.w-voice-chip:hover {
  transform: scale(1.06) rotate(-4deg);
}
.w-voice-chip:active {
  cursor: grabbing;
}
.w-voice-chip .w-ava--you {
  box-shadow: 0 0 0 3px var(--w-you) inset, 0 10px 24px -8px rgba(255, 106, 99, 0.55);
}
.w-voice-chip.is-src,
.w-voice-me.is-away .w-voice-chip {
  opacity: 0.28;
  transform: scale(0.9);
}
.w-voice-me.is-away {
  border-style: solid;
  border-color: var(--w-line);
}
.w-voice-me.is-away .w-hint {
  display: none;
}
.w-voice-tile.is-cam > .w-ava {
  display: none;
}
.w-voice-me-text {
  display: grid;
  line-height: 1.3;
}
.w-voice-me-text b {
  font-size: 15px;
  font-weight: 650;
}
.w-voice-me-text span {
  font-size: 13px;
  color: var(--w-muted);
}
.w-voice-me-text span.is-live {
  color: var(--w-speak);
}

.w-voice-connected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(54, 208, 143, 0.28);
  border-radius: 14px;
  background: rgba(54, 208, 143, 0.07);
  animation: w-voice-in 420ms var(--w-spring) both;
}
.w-voice-connected[hidden] {
  display: none;
}
.w-voice-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--w-speak);
  box-shadow: 0 0 0 4px rgba(54, 208, 143, 0.16);
  flex: none;
}
.w-voice-connected div {
  display: grid;
  line-height: 1.3;
  flex: 1;
}
.w-voice-connected b {
  font-size: 14px;
  font-weight: 650;
  color: var(--w-speak);
}
.w-voice-connected span {
  font-size: 12.5px;
  color: var(--w-ink-2);
}
.w-voice-connected button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--w-muted);
}
.w-voice-connected button:hover {
  background: var(--w-raised);
  color: var(--w-live);
}

.w-voice-online {
  padding: 12px 8px 8px;
  border-radius: 18px;
}
.w-voice-cap {
  margin: 0 10px 6px;
  font: 650 11px/1 var(--w-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-faint);
}
.w-voice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 160ms var(--w-ease), border-color 160ms var(--w-ease);
}
.w-voice-person:hover {
  background: var(--w-raised);
}
.w-voice-person.is-over {
  border-color: rgba(54, 208, 143, 0.65);
  background: rgba(54, 208, 143, 0.08);
}
.w-voice-person.is-calling {
  background: rgba(54, 208, 143, 0.08);
}
.w-voice-person.is-calling small {
  color: var(--w-speak);
}
.w-voice-pname {
  display: grid;
  flex: 1;
  line-height: 1.25;
}
.w-voice-pname b {
  font-size: 14px;
  font-weight: 600;
}
.w-voice-pname small {
  font-size: 12px;
  color: var(--w-muted);
}
.w-voice-call-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--w-line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--w-speak);
  transition: background-color 160ms var(--w-ease), transform 160ms var(--w-ease);
}
.w-voice-call-btn:hover {
  background: rgba(54, 208, 143, 0.12);
  transform: rotate(-12deg);
}

.w-voice-layout.is-calling .w-voice-room {
  opacity: 0.38;
  filter: saturate(0.6);
}
.w-voice-call {
  position: absolute;
  z-index: 4;
  left: calc((100% - 272px - 20px) / 2);
  top: 50%;
  width: 320px;
  padding: 26px 22px 20px;
  border-radius: 22px;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: w-voice-callin 460ms var(--w-spring) both;
}
.w-voice-call[hidden] {
  display: none;
}
@keyframes w-voice-callin {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.92);
  }
}
.w-voice-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
}
.w-voice-ring i {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid var(--w-speak);
  opacity: 0;
  animation: w-voice-ripple 1800ms var(--w-ease) infinite;
}
.w-voice-ring i:nth-child(2) {
  animation-delay: 600ms;
}
.w-voice-ring i:nth-child(3) {
  animation-delay: 1200ms;
}
@keyframes w-voice-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
.w-voice-call b.w-voice-call-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.w-voice-call-state {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--w-muted);
  font-variant-numeric: tabular-nums;
}
.w-voice-call-state.is-live {
  color: var(--w-speak);
}
.w-voice-call-pair {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 6px 0 16px;
}
.w-voice-call-pair figure {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--w-ink-2);
}
.w-voice-call-pair .w-ava.is-speaking {
  box-shadow: 0 0 0 3px var(--w-app-bg), 0 0 0 6px var(--w-speak), 0 0 22px 4px rgba(54, 208, 143, 0.35);
}
.w-voice-call-pair .w-ava--you.is-speaking {
  box-shadow: 0 0 0 3px var(--w-you) inset, 0 0 0 3px var(--w-app-bg), 0 0 0 6px var(--w-speak);
}
.w-voice-call-ctrls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .w-voice-intro {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .w-voice-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .w-voice-call {
    left: 50%;
    top: 40%;
  }
}
@media (max-width: 760px) {
  .w-rooms > .w-scene.w-voice {
    gap: 32px;
  }
  .w-voice-intro-b .w-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .w-voice-tiles {
    gap: 8px;
    padding: 10px;
  }
  .w-voice-tile {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .w-voice-tile .w-ava {
    --s: 52px !important;
  }
  .w-voice-tiles.has-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .w-voice-tiles.has-5 > .w-voice-tile,
  .w-voice-tiles.has-5 > .w-voice-tile:nth-child(4) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .w-voice-tiles.has-5 > .w-voice-tile:nth-child(5) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
  }
  .w-voice-tiles.has-5 .w-ava {
    --s: 48px !important;
  }
  .w-voice-name {
    left: 8px;
    bottom: 8px;
    font-size: 12px;
  }
  .w-voice-ctrls {
    gap: 6px;
    padding: 6px;
  }
  .w-voice-cb {
    width: 46px;
    height: 42px;
  }
  .w-voice-cb--leave {
    width: 52px;
  }
  .w-voice-call {
    width: min(320px, calc(100% - 24px));
  }
}

.w-rooms > .w-scene.w-screen {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.w-screen-text {
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  column-gap: 40px;
  align-items: end;
}
.w-screen-head {
  display: grid;
  gap: 20px;
  align-content: start;
}
.w-screen-head .w-room {
  margin-bottom: 4px;
}
.w-screen-text .w-facts {
  margin-top: 0;
}

.w-screen-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 24px;
  align-items: end;
}

.w-screen-app {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.w-screen-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--w-app-line);
  font-size: 14px;
}
.w-screen-bar b {
  font-weight: 650;
  white-space: nowrap;
}
.w-screen-bar-icon {
  color: var(--w-speak);
  display: inline-grid;
}
.w-screen-sub {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--w-app-muted);
  font-size: 13px;
}
.w-screen-app[data-state='idle'] .w-screen-info,
.w-screen-app[data-state='picking'] .w-screen-info {
  display: none;
}

.w-screen-main {
  position: relative;
  height: 340px;
  margin: 14px 14px 0;
}

.w-screen-stream {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0b0a0e;
  transform-origin: 0 0;
}
.w-screen-app[data-state='idle'] .w-screen-stream,
.w-screen-app[data-state='picking'] .w-screen-stream {
  visibility: hidden;
}
.w-screen-desk {
  position: absolute;
  inset: 0;
  display: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 240, 255, 0.06) 1px, transparent 1.5px) 0 0 / 18px 18px,
    #1b1720;
}
.w-screen-desk i {
  position: absolute;
  left: 18px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #2b2632;
}
.w-screen-desk i:nth-child(1) {
  top: 18px;
}
.w-screen-desk i:nth-child(2) {
  top: 64px;
}
.w-screen-desk i:nth-child(3) {
  top: 110px;
}
.w-screen-app[data-source='screen'] .w-screen-desk {
  display: block;
}

.w-screen-window {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 30px 1fr;
  background: #17141c;
}
.w-screen-app[data-source='screen'] .w-screen-window {
  inset: 9% 7% 12% 15%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.w-screen-wtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #221e28;
  font: 500 11.5px/1 var(--w-mono);
  color: var(--w-app-muted);
}
.w-screen-wtitle i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3542;
}
.w-screen-wtitle span {
  margin-left: 8px;
}

.w-screen-game {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 0;
  padding: 14px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 220, 180, 0.05) 1px, transparent 1.5px) 0 0 / 14px 14px,
    #2a1f19;
}
.w-screen-app[data-view='notes'] .w-screen-game,
.w-screen-app[data-view='player'] .w-screen-game {
  display: none;
}

.w-screen-board {
  position: relative;
  height: 100%;
  max-height: 288px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: conic-gradient(#8a5a3a 0 25%, #ead6b4 0 50%, #8a5a3a 0 75%, #ead6b4 0) 0 0 / 25% 25%;
  box-shadow: 0 0 0 6px #4a3326, 0 0 0 7px #6b4a35, 0 14px 30px rgba(0, 0, 0, 0.45);
}
.w-screen-pc {
  position: absolute;
  width: 12.5%;
  height: 12.5%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
  transition:
    left 460ms cubic-bezier(0.34, 1.32, 0.64, 1),
    top 460ms cubic-bezier(0.34, 1.32, 0.64, 1),
    transform 220ms var(--w-ease),
    opacity 260ms var(--w-ease);
}
.w-screen-pc::before {
  content: '';
  position: absolute;
  inset: 11%;
  border-radius: 50%;
}
.w-screen-pc.is-w::before {
  background: radial-gradient(circle at 35% 30%, #fff8ea, #f2d2a4 58%, #c1915a);
  box-shadow: 0 2px 0 #7a5530, 0 4px 8px rgba(0, 0, 0, 0.35);
}
.w-screen-pc.is-b::before {
  background: radial-gradient(circle at 35% 30%, #5d5468, #241f2a 72%);
  box-shadow: 0 2px 0 #0a090c, 0 4px 8px rgba(0, 0, 0, 0.4);
}
.w-screen-pc.is-king::after {
  content: '';
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  border: 2px solid rgba(255, 190, 75, 0.9);
}
.w-screen-pc.is-b.is-king::after {
  border-color: rgba(255, 190, 75, 0.75);
}
.w-screen-app.is-yours .w-screen-pc.is-w.can-move {
  cursor: pointer;
}
.w-screen-app.is-yours .w-screen-pc.is-w.can-move:hover {
  transform: translateY(-3px);
}
.w-screen-pc.is-picked {
  transform: translateY(-4px) scale(1.06);
  z-index: 2;
}
.w-screen-pc.is-picked::before {
  box-shadow: 0 0 0 3px var(--w-accent), 0 8px 14px rgba(0, 0, 0, 0.45);
}
.w-screen-pc.is-gone {
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}
.w-screen-pc:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
  border-radius: 50%;
}
.w-screen-target {
  position: absolute;
  width: 12.5%;
  height: 12.5%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}
.w-screen-target::before {
  content: '';
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: rgba(255, 138, 61, 0.85);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.22);
  animation: w-scr-dot 1.4s var(--w-ease) infinite;
}
.w-screen-target.is-take::before {
  inset: 28%;
  background: transparent;
  border: 3px solid var(--w-accent);
}
@keyframes w-scr-dot {
  50% {
    transform: scale(0.8);
  }
}
.w-screen-target:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -3px;
}

.w-screen-side {
  display: grid;
  gap: 6px;
  min-width: 92px;
  color: #ead6b4;
}
.w-screen-turn {
  font: 600 12px/1.3 var(--w-mono);
  letter-spacing: 0.02em;
  color: #c9ae8a;
}
.w-screen-score {
  font: 600 26px/1 var(--w-mono);
  letter-spacing: -0.02em;
}

.w-screen-other {
  display: none;
}
.w-screen-app[data-view='notes'] .w-screen-other.is-notes,
.w-screen-app[data-view='player'] .w-screen-other.is-player {
  display: grid;
}
.w-screen-other.is-notes {
  align-content: start;
  gap: 12px;
  padding: 26px 30px;
  background: #f4eee5;
}
.w-screen-other.is-notes i {
  height: 9px;
  border-radius: 4px;
  background: #d6ccbd;
}
.w-screen-other.is-notes i:nth-child(1) {
  width: 46%;
  height: 14px;
  background: #3b3440;
}
.w-screen-other.is-notes i:nth-child(3) {
  width: 82%;
}
.w-screen-other.is-notes i:nth-child(5) {
  width: 64%;
}
.w-screen-other.is-player {
  place-items: center;
  align-content: center;
  gap: 18px;
  background: #1a1620;
}
.w-screen-other.is-player b {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2b2632;
  color: #f3eef0;
}
.w-screen-other.is-player i {
  width: 56%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--w-accent) 0 38%, #3a3542 38%);
}

.w-screen-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 10px;
  background: rgba(17, 16, 21, 0.86);
  font-size: 13px;
  font-weight: 600;
}
.w-screen-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 2px;
}
.w-screen-eq i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--w-app-muted);
  transform-origin: bottom;
  animation: w-scr-eq 0.9s ease-in-out infinite;
}
.w-screen-eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.w-screen-eq i:nth-child(3) {
  animation-delay: -0.55s;
}
.w-screen-eq i:nth-child(4) {
  animation-delay: -0.15s;
}
@keyframes w-scr-eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.w-screen-app[data-audio='off'] .w-screen-eq {
  display: none;
}

.w-screen-idle {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.w-screen-app[data-state='idle'] .w-screen-idle,
.w-screen-app[data-state='picking'] .w-screen-idle {
  display: grid;
}
.w-screen-tile {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--w-app-panel);
  border: 1px solid var(--w-app-line);
}
.w-screen-tile:has(.is-speaking) {
  border-color: rgba(54, 208, 143, 0.55);
}
.w-screen-name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(10, 9, 12, 0.7);
  font-size: 12.5px;
  font-weight: 600;
}

.w-screen-picker {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(10, 9, 12, 0.66);
}
.w-screen-picker[hidden] {
  display: none;
}
.w-screen-pick {
  width: min(440px, 94%);
  padding: 16px;
  border: 1px solid var(--w-line-2);
  border-radius: 16px;
  background: #1a1820;
  box-shadow: var(--w-shadow-window);
  animation: w-pop 220ms var(--w-ease);
}
.w-screen-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}
.w-screen-x {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--w-app-muted);
}
.w-screen-x:hover {
  background: var(--w-app-raised);
}
.w-screen-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--w-app-bg);
  border: 1px solid var(--w-app-line);
}
.w-screen-tabs button {
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--w-app-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.w-screen-tabs button[aria-selected='true'] {
  background: var(--w-app-raised);
  color: var(--w-app-text);
}
.w-screen-srcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.w-screen-srcs[hidden] {
  display: none;
}
.w-screen-src {
  display: grid;
  gap: 7px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--w-app-text);
  font-size: 12.5px;
  text-align: left;
}
.w-screen-src:hover {
  background: var(--w-app-raised);
}
.w-screen-src.is-picked {
  border-color: var(--w-accent);
  background: rgba(255, 138, 61, 0.08);
}
.w-screen-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  overflow: hidden;
  background: #241f2a;
}
.w-screen-thumb.is-board {
  background:
    conic-gradient(#8a5a3a 0 25%, #ead6b4 0 50%, #8a5a3a 0 75%, #ead6b4 0) 50% 50% / 12.5% 20% no-repeat,
    #2a1f19;
}
.w-screen-thumb.is-board::before {
  content: '';
  position: absolute;
  inset: 12% 30%;
  background: conic-gradient(#8a5a3a 0 25%, #ead6b4 0 50%, #8a5a3a 0 75%, #ead6b4 0) 0 0 / 25% 25%;
  border-radius: 2px;
}
.w-screen-thumb.is-notes {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12% 14%;
  background: #f4eee5;
}
.w-screen-thumb.is-notes i {
  height: 4px;
  border-radius: 2px;
  background: #d0c5b5;
}
.w-screen-thumb.is-notes i:first-child {
  width: 55%;
  background: #3b3440;
}
.w-screen-thumb.is-player {
  display: grid;
  place-items: center;
}
.w-screen-thumb.is-player i {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3a3542;
}
.w-screen-thumb.is-desk {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 240, 255, 0.08) 1px, transparent 1.5px) 0 0 / 8px 8px,
    #1b1720;
}
.w-screen-thumb.is-desk i {
  position: absolute;
  inset: 16% 12% 22% 26%;
  border-radius: 3px;
  background:
    conic-gradient(#8a5a3a 0 25%, #ead6b4 0 50%, #8a5a3a 0 75%, #ead6b4 0) 50% 60% / 14% 22% no-repeat,
    #2a1f19;
}
.w-screen-audio,
.w-screen-duck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.w-screen-audio {
  padding: 10px 2px 2px;
  border-top: 1px solid var(--w-app-line);
  font-size: 13.5px;
}
.w-screen-audio small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--w-app-muted);
}
.w-screen-audio input,
.w-screen-duck input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.w-screen-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--w-control);
  border-radius: 5px;
  color: transparent;
  transition: background-color 160ms var(--w-ease), border-color 160ms var(--w-ease);
}
input:checked + .w-screen-check {
  border-color: var(--w-accent);
  background: var(--w-accent);
  color: var(--w-on-accent);
}
input:focus-visible + .w-screen-check {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.w-screen-pick-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.w-screen-go {
  border: 0;
  background: var(--w-accent);
  color: var(--w-on-accent);
}
.w-screen-go:hover {
  background: #ff9a57;
}

.w-screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}
.w-screen-people {
  display: flex;
  gap: 8px;
  padding-left: 2px;
}
.w-screen-ctrls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--w-app-line);
  border-radius: 14px;
  background: var(--w-app-panel);
}
.w-screen-ctl {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: var(--w-app-raised);
  color: var(--w-app-text);
}
.w-screen-ctl.is-leave {
  width: 52px;
  background: var(--w-live);
  color: #fff;
}
.w-screen-share {
  position: relative;
  transition: background-color 160ms var(--w-ease), color 160ms var(--w-ease);
}
.w-screen-share:hover {
  background: #2c2833;
}
.w-screen-app[data-state='live'] .w-screen-share {
  background: var(--w-accent);
  color: var(--w-on-accent);
}
.w-screen-app[data-state='idle'] .w-screen-share::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid var(--w-accent);
  animation: w-scr-call 1.6s var(--w-ease) infinite;
}
@keyframes w-scr-call {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}
.w-screen-stop {
  display: none;
  width: auto;
  white-space: nowrap;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(239, 75, 85, 0.45);
  background: transparent;
  color: #ff8a90;
  font-size: 13.5px;
  font-weight: 600;
}
.w-screen-stop:hover {
  background: rgba(239, 75, 85, 0.1);
}
.w-screen-app[data-state='live'] .w-screen-stop {
  display: inline-flex;
}

.w-screen-hint {
  position: absolute;
  top: 78px;
  right: 30px;
  z-index: 6;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(17, 16, 21, 0.9);
  border: 1px solid var(--w-line-2);
  pointer-events: none;
  transition: opacity 240ms var(--w-ease);
}
.w-screen-hint.is-off {
  opacity: 0;
}
.w-screen-app[data-state='idle'] .w-screen-hint {
  top: auto;
  right: 66px;
  bottom: 76px;
}
.w-screen-app[data-state='idle'] .w-screen-hint::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--w-line-2);
  border-bottom: 1px solid var(--w-line-2);
  background: #16151b;
  transform: rotate(45deg);
}
.w-screen-app[data-state='picking'] .w-screen-hint {
  display: none;
}

.w-screen-viewer {
  align-self: center;
}
.w-screen-vhead {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--w-app-line);
  font-size: 13px;
}
.w-screen-vhead b {
  font-weight: 600;
  color: var(--w-app-muted);
}
.w-screen-mini {
  position: relative;
  display: grid;
  place-items: center;
  height: 132px;
  margin: 12px 12px 0;
  border-radius: 10px;
  background: #2a1f19;
  overflow: hidden;
}
.w-screen-mini .w-live {
  position: absolute;
  left: 8px;
  top: 8px;
}
.w-screen-mini-board {
  position: relative;
  height: 84%;
  aspect-ratio: 1;
  border-radius: 3px;
  background: conic-gradient(#8a5a3a 0 25%, #ead6b4 0 50%, #8a5a3a 0 75%, #ead6b4 0) 0 0 / 25% 25%;
  transition: opacity 240ms var(--w-ease);
}
.w-screen-mini-board i {
  position: absolute;
  width: 12.5%;
  height: 12.5%;
  transition: left 460ms var(--w-ease), top 460ms var(--w-ease), opacity 260ms var(--w-ease);
}
.w-screen-mini-board i::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: #f0d0a2;
}
.w-screen-mini-board i.is-b::before {
  background: #2b2532;
}
.w-screen-mini-board i.is-gone {
  opacity: 0;
}
.w-screen-viewer[data-view='notes'] .w-screen-mini {
  background: #f4eee5;
}
.w-screen-viewer[data-view='player'] .w-screen-mini {
  background: #1a1620;
}
.w-screen-viewer:not([data-view='board']) .w-screen-mini-board {
  opacity: 0;
}
.w-screen-viewer[data-live='off'] .w-screen-mini {
  background: var(--w-app-panel);
}
.w-screen-viewer[data-live='off'] .w-screen-mini > * {
  opacity: 0;
}

.w-screen-vbar {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.w-screen-vwho {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.w-screen-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  font-size: 13px;
}
.w-screen-slabel {
  grid-column: 1 / 3;
  color: var(--w-app-muted);
}
.w-screen-slider output {
  min-width: 38px;
  text-align: right;
  font: 500 12px/1 var(--w-mono);
  color: var(--w-app-muted);
}
.w-screen-slider input {
  --p: 80%;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.w-screen-slider input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--w-accent) var(--p), #34303c var(--p));
}
.w-screen-slider input::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--w-accent) var(--p), #34303c var(--p));
}
.w-screen-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: #f3eef0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: transform 160ms var(--w-spring);
}
.w-screen-slider input:active::-webkit-slider-thumb {
  transform: scale(1.18);
}
.w-screen-slider input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #f3eef0;
}
.w-screen-meter {
  grid-column: 1 / 3;
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: #23212a;
  overflow: hidden;
}
.w-screen-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: 3px;
  background: var(--w-accent);
  transform-origin: left;
  transform: scaleX(0.5);
}
.w-screen-meter.is-voice i {
  background: var(--w-speak);
  transform: scaleX(0);
}
.w-screen-duck {
  align-items: center;
  padding-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
}
.w-screen-ducknote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 34px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--w-app-muted);
  opacity: 0.35;
  transition: opacity 240ms var(--w-ease), color 240ms var(--w-ease);
}
.w-screen-ducknote::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #4a4552;
  transition: background-color 240ms var(--w-ease);
}
.w-screen-ducknote.is-on {
  opacity: 1;
  color: var(--w-app-text);
}
.w-screen-ducknote.is-on::before {
  background: var(--w-speak);
}

@media (prefers-reduced-motion: reduce) {
  .w-screen-target::before,
  .w-screen-eq i,
  .w-screen-app[data-state='idle'] .w-screen-share::after {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .w-screen-text {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .w-screen-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .w-screen-viewer {
    max-width: 420px;
  }
}
@media (max-width: 760px) {
  .w-screen-main {
    height: 232px;
    margin: 10px 10px 0;
  }
  .w-screen-bar {
    height: 46px;
    padding: 0 12px;
  }
  .w-screen-sub {
    display: none;
  }
  .w-screen-game {
    gap: 14px;
    padding: 10px;
  }
  .w-screen-side {
    min-width: 0;
  }
  .w-screen-score {
    font-size: 18px;
  }
  .w-screen-turn {
    font-size: 10.5px;
  }
  .w-screen-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
  }
  .w-screen-people .w-ava {
    --s: 28px !important;
  }
  .w-screen-ctrls {
    justify-content: space-between;
    gap: 4px;
  }
  .w-screen-ctl {
    width: 36px;
    height: 36px;
  }
  .w-screen-ctl.is-leave {
    width: 44px;
  }
  .w-screen-stop {
    width: 36px;
    padding: 0;
  }
  .w-screen-stop span:last-child {
    display: none;
  }
  .w-screen-srcs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .w-screen-srcs .w-screen-src:nth-child(3) {
    display: none;
  }
  .w-screen-pick {
    padding: 12px;
  }
  .w-screen-audio small {
    display: none;
  }
  .w-screen-hint {
    top: 58px;
    right: 18px;
  }
  .w-screen-mini {
    height: 112px;
  }
}

.w-rooms > .w-scene.w-sound {
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 56px;
}
.w-sound-stage {
  order: -1;
}

.w-sound-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
}
.w-sound-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--w-app-text);
}
.w-sound-note {
  font-size: 12px;
  line-height: 1.4;
  color: var(--w-app-muted);
}

.w-sound-field {
  position: relative;
  height: 286px;
  border-radius: 14px;
  border: 1px solid var(--w-app-line);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 240, 255, 0.05) 1px, transparent 1.5px) 0 0 / 16px 16px,
    var(--w-app-panel);
  z-index: 3;
  touch-action: pan-y;
}
.w-sound-word {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  font: 600 16px/1 var(--w-sans);
  letter-spacing: -0.01em;
  color: #8f869b;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}
.w-sound-word.is-big {
  font-size: 21px;
  font-weight: 700;
  color: #b0a6bb;
}
.w-sound-field.is-live .w-sound-word {
  left: 0 !important;
  top: 0 !important;
}
.w-sound-word.is-out {
  opacity: 0;
}
.w-sound-me {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  transform: translate(-50%, -46%);
}
.w-sound-me .w-ava {
  font-size: 22px;
  transition: box-shadow 120ms linear;
}
.w-sound-level {
  position: relative;
  width: 132px;
  height: 6px;
  border-radius: 3px;
  background: #23212a;
  overflow: hidden;
}
.w-sound-level i {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--w-speak);
  transform-origin: left;
  transform: scaleX(0.45);
}
.w-sound-fieldhint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  transition: opacity 240ms var(--w-ease);
}
.w-sound-fieldhint.is-off {
  opacity: 0;
}

.w-sound-ns {
  display: grid;
  gap: 8px;
}
.w-sound-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--w-app-line);
  border-radius: 11px;
  background: var(--w-app-bg);
}
.w-sound-seg label {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.w-sound-seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.w-sound-seg label span {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--w-app-muted);
  transition: color 200ms var(--w-ease);
}
.w-sound-seg label:hover span {
  color: var(--w-app-text);
}
.w-sound-seg input:checked + span {
  color: var(--w-app-text);
  background: #2a2732;
}
.w-sound-seg.is-live input:checked + span {
  background: transparent;
}
.w-sound-seg input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.w-sound-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  height: 36px;
  border-radius: 8px;
  background: #2a2732;
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.55);
  display: none;
  transition: transform 340ms cubic-bezier(0.34, 1.3, 0.64, 1), width 340ms var(--w-ease);
}
.w-sound-seg.is-live .w-sound-thumb {
  display: block;
}
.w-sound-thumb.is-gulp {
  box-shadow: inset 0 0 0 1px var(--w-accent), 0 0 0 3px rgba(255, 138, 61, 0.22);
}
.w-sound-maxhint {
  visibility: hidden;
}
.w-sound-ns:has(input[value='3']:checked) .w-sound-maxhint {
  visibility: visible;
}

.w-sound-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
}
.w-sound-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--w-app-line);
  border-radius: 14px;
  background: var(--w-app-panel);
}

.w-sound-game {
  position: relative;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  background: #241b1f;
}
.w-sound-hud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.w-sound-hills {
  fill: #3b2a2b;
}
.w-sound-hills2 {
  fill: #4a3430;
}
.w-sound-cross {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1.5px solid rgba(243, 238, 240, 0.85);
  border-radius: 50%;
}
.w-sound-cross::before,
.w-sound-cross::after {
  content: '';
  position: absolute;
  background: rgba(243, 238, 240, 0.85);
}
.w-sound-cross::before {
  left: 50%;
  top: -9px;
  bottom: -9px;
  width: 1.5px;
  margin-left: -0.75px;
  -webkit-mask: linear-gradient(#000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px));
  mask: linear-gradient(#000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px));
}
.w-sound-cross::after {
  top: 50%;
  left: -9px;
  right: -9px;
  height: 1.5px;
  margin-top: -0.75px;
  -webkit-mask: linear-gradient(90deg, #000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px));
  mask: linear-gradient(90deg, #000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px));
}
.w-sound-hp {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 3px;
}
.w-sound-hp i {
  width: 16px;
  height: 5px;
  border-radius: 1.5px;
  background: #ffbe4b;
}
.w-sound-hp i:last-child {
  background: #5a4636;
}
.w-sound-map {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 22px;
  height: 22px;
  border: 1px solid #9a91a3;
  border-radius: 50%;
  background: rgba(17, 16, 21, 0.55);
}
.w-sound-map i {
  position: absolute;
  left: 11px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffbe4b;
}
.w-sound-cap {
  margin-top: 2px;
  font-size: 12px;
  color: var(--w-app-muted);
}
.w-sound-roomtile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--w-app-line);
  border-radius: 999px;
  background: var(--w-app-bg);
  font-size: 12.5px;
  color: var(--w-app-muted);
}
.w-sound-roomtile .w-ava {
  font-size: 10.5px;
}
.w-sound-keyrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-sound-keyrow .w-sound-arrow {
  flex: none;
  width: 14px;
}
.w-sound-key {
  position: relative;
  flex: none;
  min-width: 48px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #45404e;
  border-bottom-width: 5px;
  border-radius: 10px;
  background: #24212b;
  color: var(--w-app-text);
  font: 700 17px/1 var(--w-mono);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 90ms var(--w-ease), border-bottom-width 90ms var(--w-ease), background-color 120ms var(--w-ease);
}
.w-sound-key:hover {
  background: #2b2833;
}
.w-sound-key[aria-pressed='true'] {
  transform: translateY(4px);
  border-bottom-width: 1px;
  border-color: #c96a2c;
  background: var(--w-accent);
  color: var(--w-on-accent);
}

.w-sound-opt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  border-top: 1px solid var(--w-app-line);
}
.w-sound-label + .w-sound-opt {
  border-top: 0;
}
.w-sound-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.3;
  cursor: pointer;
}
.w-sound-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.w-sound-toggle {
  position: relative;
  flex: none;
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: #3a3642;
  transition: background-color 180ms var(--w-ease);
}
.w-sound-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3eef0;
  transition: transform 260ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.w-sound-switch input:checked + .w-sound-toggle {
  background: var(--w-accent);
}
.w-sound-switch input:checked + .w-sound-toggle::after {
  transform: translateX(14px);
}
.w-sound-switch input:focus-visible + .w-sound-toggle {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.w-sound-echo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 84px;
  height: 26px;
  color: var(--w-app-muted);
}
.w-sound-echo i {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid #9a91a3;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  opacity: 0;
  animation: w-snd-wave 1.6s linear infinite;
}
.w-sound-echo i:nth-of-type(2) {
  animation-delay: 0.53s;
}
.w-sound-echo i:nth-of-type(3) {
  animation-delay: 1.06s;
}
@keyframes w-snd-wave {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
    transform: translateX(46px);
  }
}
.w-sound-echo.is-on i {
  animation-name: w-snd-wave-stop;
}
@keyframes w-snd-wave-stop {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  12% {
    opacity: 1;
  }
  55% {
    opacity: 0.8;
    transform: translateX(34px);
  }
  70%,
  100% {
    opacity: 0;
    transform: translateX(40px);
  }
}
.w-sound-wall {
  position: absolute;
  left: 50px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 1px;
  background: var(--w-accent);
  opacity: 0;
  transition: opacity 200ms var(--w-ease);
}
.w-sound-echo.is-on .w-sound-wall {
  opacity: 1;
}
.w-sound-mic {
  display: inline-grid;
  transition: color 160ms var(--w-ease);
}
.w-sound-echo.is-hit .w-sound-mic {
  color: #ff8a90;
}

.w-sound-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 68px;
  justify-content: space-between;
  height: 30px;
}
.w-sound-bars i {
  width: 4.5px;
  height: 30px;
  border-radius: 2px;
  background: var(--w-speak);
  transform: scaleY(0.4);
  transition: transform 180ms var(--w-ease);
}

.w-sound-hear {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  flex: none;
  height: 34px;
  padding: 0 11px 0 10px;
  border: 1px solid var(--w-control);
  border-radius: 9px;
  background: transparent;
  color: var(--w-app-text);
  font-size: 13px;
  font-weight: 600;
}
.w-sound-hear:hover {
  background: #1f1d25;
}
.w-sound-hear[aria-pressed='true'] {
  border-color: var(--w-accent);
  color: #ffa66b;
}
.w-sound-delay {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.45;
  transition: opacity 200ms var(--w-ease);
}
.w-sound-delay.is-on {
  opacity: 1;
}
.w-sound-delay .w-ava {
  font-size: 9px;
}
.w-sound-delay small {
  font: 500 11px/1 var(--w-mono);
  color: var(--w-app-muted);
}
.w-sound-arrow {
  width: 10px;
  height: 1px;
  background: #6b6575;
  position: relative;
}
.w-sound-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #6b6575;
  border-right: 1px solid #6b6575;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .w-sound-echo i {
    animation: none;
  }
}

@media (max-width: 1000px) {
  .w-rooms > .w-scene.w-sound {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .w-sound-stage {
    order: 0;
  }
}
@media (max-width: 760px) {
  .w-sound-panel {
    padding: 10px;
    gap: 12px;
  }
  .w-sound-field {
    height: 260px;
  }
  .w-sound-word {
    font-size: 14px;
  }
  .w-sound-word.is-big {
    font-size: 17px;
  }
  .w-sound-me .w-ava {
    --s: 72px !important;
    font-size: 18px;
  }
  .w-sound-seg label span {
    font-size: 12px;
    height: 34px;
  }
  .w-sound-thumb {
    height: 34px;
  }
  .w-sound-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 460px) {
  .w-sound-seg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .w-sound-seg label span {
    font-size: 13px;
  }
}

.w-rooms > .w-server {
  align-items: start;
}
.w-server .w-scene-text {
  position: sticky;
  top: calc(var(--w-header) + 40px);
}
.w-server-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.w-server-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.w-srv-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.w-srv-where {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--w-line-2);
  border-radius: 13px;
  background: var(--w-panel);
}
.w-srv-where button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--w-muted);
  font: 600 14.5px/1 var(--w-sans);
  white-space: nowrap;
  transition: background-color 180ms var(--w-ease), color 180ms var(--w-ease), box-shadow 180ms var(--w-ease);
}
.w-srv-where .icon {
  flex: none;
}
.w-srv-where button:hover {
  color: var(--w-ink);
}
.w-srv-where button[aria-checked='true'] {
  background: var(--w-raised);
  color: var(--w-ink);
  box-shadow: inset 0 0 0 1px var(--w-line-2);
}
.w-srv-where button[aria-checked='true'] .icon {
  color: var(--w-accent);
}
.w-srv-addr {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.w-srv-addr-cap {
  font-size: 12.5px;
  color: var(--w-muted);
}
.w-srv-addr-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid var(--w-control);
  border-radius: 11px;
  background: var(--w-app-bg);
  transition: border-color 180ms var(--w-ease);
}
.w-srv-addr-field:focus-within {
  border-color: var(--w-accent);
}
.w-srv-addr-field input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  padding: 0 42px 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--w-ink);
  font: 500 16px/1 var(--w-mono);
  letter-spacing: -0.01em;
}
.w-srv-addr-field input:focus-visible {
  outline: 0;
}
.w-srv-ok {
  position: absolute;
  right: 14px;
  display: inline-grid;
  color: var(--w-ink-2);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 200ms var(--w-ease), transform 260ms var(--w-spring);
}
.w-server-stage.is-valid .w-srv-ok {
  opacity: 1;
  transform: none;
}

.w-srv-art {
  position: relative;
  width: 100%;
  aspect-ratio: 742 / 518;
  margin: 6px 0 4px;
}
.w-srv-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.w-srv-layer {
  transform: translateY(var(--dy, 0px));
  transition: transform 460ms var(--w-spring);
  cursor: pointer;
}
.w-srv-layer .t,
.w-srv-layer .l,
.w-srv-layer .r {
  transition: fill 220ms var(--w-ease);
}
.w-srv-layer .t {
  stroke: rgba(255, 245, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.w-srv-layer[data-layer='data'] .t { fill: #3a3543; }
.w-srv-layer[data-layer='data'] .l { fill: #27232e; }
.w-srv-layer[data-layer='data'] .r { fill: #1d1a23; }
.w-srv-layer[data-layer='code'] .t { fill: #443e4e; }
.w-srv-layer[data-layer='code'] .l { fill: #2f2b37; }
.w-srv-layer[data-layer='code'] .r { fill: #231f2a; }
.w-srv-layer[data-layer='tolktak'] .t { fill: var(--w-accent); stroke: rgba(255, 240, 220, 0.35); }
.w-srv-layer[data-layer='tolktak'] .l { fill: #e2702d; }
.w-srv-layer[data-layer='tolktak'] .r { fill: #b6561f; }
.w-srv-layer.is-hot .t { fill: #5a5266; }
.w-srv-layer.is-hot .l { fill: #3d3746; }
.w-srv-layer.is-hot .r { fill: #2d2934; }
.w-srv-layer[data-layer='tolktak'].is-hot .t { fill: #ffa25e; }
.w-srv-layer[data-layer='tolktak'].is-hot .l { fill: #f07c37; }
.w-srv-lead {
  fill: none;
  stroke: var(--w-line-2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 200ms var(--w-ease);
}
.w-srv-layer.is-hot .w-srv-lead {
  stroke: var(--w-accent);
}
.w-srv-engrave {
  font: 600 14px/1 var(--w-mono);
  fill: #3d1b07;
  letter-spacing: 0.01em;
}

.w-iso-house .hs-wall-l { fill: #2a2630; }
.w-iso-house .hs-wall-r { fill: #211e27; }
.w-iso-house .hs-roof-f { fill: #3a3444; }
.w-iso-house .hs-roof-b { fill: #26222d; }
.w-iso-house .hs-gable { fill: #25222b; }
.w-iso-house .hs-roof-line {
  fill: none;
  stroke: rgba(255, 240, 255, 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.w-iso-house .hs-win-r { opacity: 0.88; }
.w-iso-house .hs-mull {
  fill: none;
  stroke: #2a2630;
  stroke-width: 3;
}
.w-iso-house .hs-door { fill: #18161d; }
.w-iso-house .hs-door-light { fill: #ffc66e; }
.w-srv-house .hs-mull {
  stroke-width: 2;
}
.w-srv-layer--house.is-hot .hs-win {
  filter: brightness(1.12);
}

.w-srv-hw {
  opacity: 0;
  transform: translate(-150px, -86px);
  transition: transform 520ms var(--w-ease), opacity 360ms var(--w-ease);
  pointer-events: none;
}
.w-srv-hw.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.w-srv-hw.is-leaving {
  opacity: 0;
  transform: translate(170px, 98px);
}
.w-srv-hw.is-reset {
  transition: none;
}
.w-srv-floor {
  fill: rgba(0, 0, 0, 0.42);
  filter: blur(14px);
}
.w-srv-layer--hw .t { fill: #35303d; }
.w-srv-layer--hw .l { fill: #2a2630; }
.w-srv-layer--hw .r { fill: #1f1c25; }
.w-srv-layer--hw.is-hot .t { fill: #4a4355; }
.w-srv-layer--hw.is-hot .l { fill: #332e3b; }
.w-srv-layer--hw .bay,
.w-srv-layer--hw .slit {
  fill: #19171e;
}
.w-srv-hw .pwr,
.w-srv-hw .pwr-i {
  fill: none;
  stroke: #6b6575;
  stroke-width: 2;
  stroke-linecap: round;
}
.w-srv-hw .led {
  fill: #ffbe4b;
}
.w-srv-hw .led-dim {
  fill: #3a3642;
}
.w-srv-hw .unit .t { fill: #2a2630; }
.w-srv-hw .unit .l { fill: #201d26; }
.w-srv-hw .unit .r { fill: #1a181f; }
.w-srv-hw .unit .bay { fill: #16141a; }
.w-srv-hw .unit.u1 { opacity: 0.8; }
.w-srv-hw .unit.u2 { opacity: 0.6; }
.w-srv-hw .unit.u3 { opacity: 0.4; }
.w-srv-hw .unit:not(.own) .led { fill: #6b5a3c; }
.w-srv-hw .unit.own .t { fill: #34303c; }
.w-srv-hw .unit.own .l { fill: #29252f; }
.w-srv-hw .vps-tag {
  font: 700 10px/1 var(--w-mono);
  fill: #9a91a3;
  letter-spacing: 0.12em;
}
.w-srv-hw .post .t { fill: #4a4553; }
.w-srv-hw .post .l { fill: #36323e; }
.w-srv-hw .post .r { fill: #2a2731; }
.w-srv-hw .blink {
  animation: w-srv-blink 1.6s steps(1) infinite;
}
.w-srv-hw .blink.b2 {
  animation-duration: 2.3s;
  animation-delay: -0.7s;
}
@keyframes w-srv-blink {
  50% {
    fill: #6b5a3c;
  }
}
.w-srv-hw.is-thump .w-srv-layer--hw {
  animation: w-srv-thump 420ms var(--w-ease);
}
@keyframes w-srv-thump {
  30% {
    transform: translateY(4px);
  }
}
.w-srv-soft {
  transform: translateY(var(--lift, 0px));
  transition: transform 340ms var(--w-ease);
}
.w-server-stage.is-drop .w-srv-soft,
.w-server-stage.is-drop .w-srv-labels li {
  transition: transform 560ms cubic-bezier(0.34, 1.7, 0.64, 1);
}

.w-srv-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.w-srv-labels li {
  position: absolute;
  left: 68.17%;
  top: 0;
  transform: translateY(-50%) translateY(var(--dy, 0px)) translateY(var(--lift-px, 0px));
  transition: transform 460ms var(--w-spring);
}
.w-srv-labels li.w-srv-label-hw {
  --lift-px: 0px !important;
}
.w-server-stage.is-swapping .w-srv-labels li {
  transition: transform 340ms var(--w-ease);
}
.w-srv-labels button {
  display: grid;
  gap: 2px;
  padding: 6px 10px 6px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  pointer-events: auto;
  transition: background-color 180ms var(--w-ease);
}
.w-srv-labels b {
  font: 650 14.5px/1.2 var(--w-sans);
  color: var(--w-ink);
  transition: color 180ms var(--w-ease);
}
@media (min-width: 761px) {
  .w-srv-labels b {
    white-space: nowrap;
  }
}
.w-srv-labels button.is-hot {
  background: var(--w-panel);
}
.w-srv-labels button.is-hot b {
  color: var(--w-accent);
}

.w-srv-term {
  border-radius: 16px;
}
.w-srv-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--w-line);
  font-size: 13px;
  color: var(--w-muted);
}
.w-srv-cmds {
  padding: 10px 6px;
  counter-reset: none;
}
.w-srv-cmds li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 4px 0 10px;
  border-radius: 9px;
  transition: background-color 160ms var(--w-ease);
}
.w-srv-cmds li:hover {
  background: var(--w-panel);
}
.w-srv-cmds code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font: 450 14px/1.6 var(--w-mono);
  color: var(--w-ink);
  scrollbar-width: none;
}
.w-srv-cmds code::-webkit-scrollbar {
  display: none;
}
.w-srv-prompt {
  color: var(--w-faint);
  user-select: none;
}
.w-srv-copy {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--w-faint);
  opacity: 0.55;
  transition: opacity 160ms var(--w-ease), background-color 160ms var(--w-ease), color 160ms var(--w-ease);
}
.w-srv-cmds li:hover .w-srv-copy,
.w-srv-copy:focus-visible {
  opacity: 1;
}
.w-srv-copy:hover {
  background: var(--w-raised);
  color: var(--w-ink);
}
.w-srv-copy.is-done {
  opacity: 1;
  color: var(--w-ink);
}
.w-srv-term-foot {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--w-line);
  font-size: 13px;
  color: var(--w-muted);
}

@media (max-width: 1279px) {
  .w-server .w-scene-text {
    position: static;
  }
}
@media (max-width: 760px) {
  .w-srv-where {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .w-srv-where button {
    min-width: 0;
    justify-content: center;
    padding: 0 6px;
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    gap: 6px;
  }
  .w-srv-art {
    margin: 0;
    aspect-ratio: auto !important;
  }
  .w-srv-svg {
    position: static;
    height: auto;
  }
  .w-srv-labels {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
    margin-top: 8px;
    pointer-events: auto;
  }
  .w-srv-labels li {
    position: static;
    transform: none !important;
  }
  .w-srv-labels button {
    padding: 6px 4px;
  }
  .w-srv-cmds code {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.5;
    padding: 6px 0;
  }
  .w-srv-lead {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w-srv-hw .blink {
    animation: none;
  }
}

.w-finale {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--w-line);
  background: linear-gradient(180deg, #0a090d 0%, #0d0c11 48%, var(--w-ground) 100%);
}
.w-fin-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 36%, #000 58%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 36%, #000 58%);
}
.w-fin-stars circle {
  fill: #fff0d8;
}
.w-fin-stars .tw {
  animation: w-fin-tw 4s ease-in-out infinite alternate;
}
@keyframes w-fin-tw {
  0% {
    opacity: 0.12;
  }
  100% {
    opacity: 0.85;
  }
}
.w-fin-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 880px;
  padding-top: 112px;
  padding-bottom: 88px;
}
.w-fin-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  align-content: center;
}
.w-fin-copy .w-lead {
  margin-top: -4px;
}
.w-fin-cta {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 14px;
}
.w-fin-btn {
  min-height: 62px;
  padding: 0 30px;
  border-radius: 14px;
  font-size: 18px;
}

.w-fin-os {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid var(--w-line);
}
.w-fin-row {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--w-line);
}
.w-fin-row::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--w-accent);
  opacity: 0;
  transition: opacity 200ms var(--w-ease);
}
.w-fin-row.is-yours::before {
  opacity: 1;
}
.w-fin-row-name {
  display: grid;
  gap: 5px;
}
.w-fin-row-name b {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.w-fin-yours {
  display: none;
  font: 650 10.5px/1 var(--w-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-accent);
}
.w-fin-row.is-yours .w-fin-yours {
  display: block;
}
.w-fin-row-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.w-fin-row-files a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--w-line-2);
  border-radius: 10px;
  background: rgba(22, 21, 27, 0.72);
  color: var(--w-ink);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 160ms var(--w-ease), background-color 160ms var(--w-ease), transform 160ms var(--w-ease);
}
.w-fin-row-files a span {
  font: 500 12px/1 var(--w-mono);
  color: var(--w-muted);
}
.w-fin-row-files a.is-yours {
  border-color: var(--w-accent);
}
.w-fin-row-files a:hover {
  border-color: var(--w-control);
  background: var(--w-raised);
}
.w-fin-row-files a:active {
  transform: translateY(1px);
}
.w-fin-links {
  font-size: 15px;
  color: var(--w-muted);
}
.w-fin-links + .w-fin-links {
  margin-top: -8px;
}

.w-fin-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 720;
  max-width: 700px;
  justify-self: end;
}
.w-fin-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.w-fin-shadow {
  fill: rgba(0, 0, 0, 0.55);
  filter: blur(18px);
}
.w-fin-plinth .t {
  fill: #2c2832;
  stroke: rgba(255, 240, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.w-fin-plinth .l {
  fill: #221f28;
}
.w-fin-plinth .r {
  fill: #1a181f;
}
.w-fin-engrave {
  font: 600 15px/1 var(--w-mono);
  fill: #6f6779;
  letter-spacing: 0.02em;
}
.w-fin-plinth .led {
  fill: #ffbe4b;
}
.w-fin-plinth .led-b {
  animation: w-fin-led 2.6s steps(1) infinite;
}
@keyframes w-fin-led {
  50% {
    fill: #5f4f35;
  }
}
.w-fin-glow {
  fill: url(#w-fin-spill);
  transition: opacity 400ms var(--w-ease);
}
.w-fin-doorglow {
  fill: url(#w-fin-spill);
  opacity: 0;
  transition: opacity 420ms var(--w-ease);
}
.w-fin-house .hs-door {
  transition: opacity 420ms var(--w-ease);
}
.w-fin-gable-win {
  fill: url(#w-fin-house-glow);
  opacity: 0.8;
}
.w-fin-gable-bars {
  fill: none;
  stroke: #25222b;
  stroke-width: 2.5;
}
.w-fin-p .sh {
  opacity: 0.55;
}
.w-fin-p .sep {
  fill: #ffcf8f;
}
.w-fin-p .ring {
  fill: none;
  stroke: var(--w-speak);
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 120ms linear;
}
.w-fin-p.is-speaking .ring {
  opacity: 1;
}
.w-fin-you-in {
  opacity: 0;
  transform: translateY(14px) scale(0.7);
  transition: opacity 260ms var(--w-ease), transform 520ms var(--w-spring);
}
.w-fin-you .sh {
  fill: rgba(0, 0, 0, 0.45);
}
.w-fin-you .bd {
  fill: #16151b;
  stroke: var(--w-you);
  stroke-width: 3;
}
.w-fin-you text {
  font: 700 10px/1 var(--w-sans);
  fill: #f3eef0;
  text-anchor: middle;
}
.w-fin-scene.is-open .hs-door {
  opacity: 0.08;
}
.w-fin-scene.is-open .w-fin-doorglow {
  opacity: 1;
}
.w-fin-scene.is-open .w-fin-you-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .w-fin-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 24px;
  }
  .w-fin-scene {
    order: -1;
    justify-self: center;
    max-width: 620px;
    margin-bottom: -40px;
  }
  .w-fin-sky {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, 0.3) 50%);
    mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, 0.3) 50%);
  }
}
@media (max-width: 760px) {
  .w-fin-grid {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .w-fin-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .w-fin-row::before {
    left: -10px;
  }
  .w-fin-row-name {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .w-fin-btn {
    width: 100%;
  }
  .w-fin-cta {
    justify-items: stretch;
  }
  .w-fin-cta .w-btn-meta {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w-fin-stars .tw,
  .w-fin-plinth .led-b {
    animation: none;
  }
}
