* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #070910;
  color: #e8ecff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#stage {
  position: fixed;
  inset: 0;
  display: block;
}

.join {
  position: fixed;
  top: 16px;
  right: 16px;
  width: min(260px, 42vw);
  padding: 14px 16px 12px;
  background: rgba(14, 18, 32, 0.82);
  border: 1px solid rgba(120, 150, 220, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  text-align: center;
}

.join.hidden { display: none; }

.join-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(200, 210, 255, 0.55);
}

.join-code {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 2px 0 10px;
}

.join-qr {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  image-rendering: pixelated;
  border-radius: 8px;
  background: #fff;
}

.join-hint {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(210, 218, 255, 0.7);
}

.join-hint code,
.join-more code {
  color: #bcd0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.join-more {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(210, 218, 255, 0.6);
  text-align: left;
}

.join-more summary {
  cursor: pointer;
  text-align: center;
}

.join-more ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.join-more li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
