.join-panel {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 30px;
}

.join-panel::before {
  inset: 0;
}

.join-inner {
  display: grid;
  gap: 22px;
}

.join-head {
  display: grid;
  gap: 10px;
  text-align: center;
}

.join-form {
  display: grid;
  gap: 16px;
}

.join-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.join-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(13,9,7,.34);
  border: 1px solid rgba(255,210,122,.18);
  box-shadow:
    0 0 14px rgba(255,138,61,.08),
    inset 0 0 12px rgba(255,210,122,.03);
  outline: none;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.join-input:focus {
  border-color: rgba(255,210,122,.36);
  box-shadow:
    0 0 18px rgba(255,138,61,.18),
    0 0 28px rgba(255,210,122,.08),
    inset 0 0 12px rgba(255,210,122,.04);
}

.join-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.join-status {
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--text);
  border: 1px solid rgba(255,210,122,.18);
  background: rgba(60,36,24,.22);
  text-align: center;
}

.join-status.is-error {
  border-color: rgba(255,120,70,.38);
  color: #ffd8cc;
  text-shadow:
    0 0 10px rgba(255,110,60,.38);
}

.hidden {
  display: none !important;
}

.scan-wrap {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.scan-wrap h2 {
  margin: 0;
  text-align: center;
}

.camera-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,210,122,.20);
  box-shadow:
    0 0 26px rgba(255,138,61,.14),
    inset 0 0 20px rgba(255,210,122,.03);
  background: rgba(13,9,7,.38);
}

.camera-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.join-help,
.camera-note {
  margin: 0;
  color: rgba(255,243,223,.58);
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 700px) {
  .join-panel {
    padding: 24px 16px;
  }

  .join-actions {
    justify-content: flex-start;
  }

  .join-actions .btn {
    flex: 1 1 auto;
  }
}

.guest-choice-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.guest-choice-row .btn {
  width: 100%;
  justify-content: center;
}