:root {
  color: #f7f3ea;
  background: #12161c;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245, 197, 24, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 80%, rgba(45, 106, 63, 0.28), transparent 46%),
    #12161c;
}

a { color: inherit; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.back {
  color: #c5cdd8;
  text-decoration: none;
  font-size: 14px;
}

h1 {
  margin: 18px 0 8px;
  font-size: 36px;
}

.lead {
  margin: 0 0 22px;
  color: #c5cdd8;
  line-height: 1.6;
}

.panel {
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 18px;
  padding: 20px;
}

label { display: block; margin: 12px 0; }

input[type="text"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f1419;
  color: white;
  font: inherit;
}

.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

button, .linkish {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
}

.primary { background: #f5c518; color: #1a1404; font-weight: 700; }
.ghost { background: transparent; color: #f7f3ea; border: 1px solid rgba(255,255,255,0.2); }
.danger { background: #8d2b22; color: white; }
.wide { width: 100%; }

.room-code {
  font-size: 28px;
  letter-spacing: 0.18em;
  margin: 0 0 8px;
}

.people { list-style: none; padding: 0; margin: 18px 0; }
.people li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c534a;
}
.dot.on { background: #5cb85c; box-shadow: 0 0 10px #5cb85c; }

.status { min-height: 1.4em; color: #f5c518; }
.warn { color: #ffb4a8; }
.hidden { display: none; }
.note { color: #8b95a5; font-size: 13px; line-height: 1.6; }
