.join { min-height: 100dvh; display: grid; place-content: center; gap: 28px; padding: 24px; text-align: center; }
.join__title { margin: 0; font: 700 clamp(56px, 16vw, 160px)/0.95 var(--font-display); letter-spacing: 0.02em; }
.join__form { display: grid; gap: 12px; width: min(360px, 88vw); margin: 0 auto; }
.join__label { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.join__code { text-align: center; font: 700 44px/1 var(--font-display); letter-spacing: 0.3em; padding: 14px 10px 14px 24px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 14px; outline: 0; }
.join__code:focus { border-color: var(--accent); }
.join__button { border: 0; border-radius: 12px; padding: 14px; background: #fff; color: #0b2747; font-weight: 750; }
.join__button:disabled { opacity: 0.6; }
.join__error { margin: 0; color: var(--danger); font-size: 14px; }

.stage { position: fixed; inset: 0; overflow: hidden; text-align: center; cursor: none; user-select: none; -webkit-user-select: none; }
.stage__title, .stage__time, .stage__subtitle {
  position: absolute; left: 50%; margin: 0; white-space: nowrap; color: #fff;
  font-family: var(--font-display); font-weight: 700; line-height: 0.95; text-transform: uppercase;
}
.stage__title { top: 9%; transform: translateX(-50%); font-size: clamp(28px, 11.6vh, 140px); max-width: 95%; }
.stage__time {
  top: 47%; transform: translate(-50%, -50%) scale(var(--scale, 1)); transform-origin: 50% 50%;
  font-size: clamp(92px, min(40vh, 26vw), 600px); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1;
}
.stage__subtitle { bottom: 6%; transform: translateX(-50%); font-weight: 500; font-size: clamp(20px, 4.2vh, 57px); max-width: 95%; }
.stage--urgent .stage__time, .stage--ended .stage__time { color: var(--danger); }
.stage--paused .stage__time { opacity: 0.55; }
.stage__ended { position: absolute; left: 50%; top: 72%; transform: translate(-50%, -50%); white-space: nowrap;
  font: 700 clamp(18px, 3.6vh, 44px)/1.1 var(--font-display); letter-spacing: 0.14em; color: #fff; text-shadow: 0 1px 12px #082440; }

.status { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px;
  background: rgba(5, 19, 37, 0.8); color: var(--muted); font-size: 13px; z-index: 5; }

@media (max-width: 580px) {
  .stage__title { top: 13%; font-size: clamp(25px, 9vh, 110px); }
  .stage__time { font-size: min(40vh, 27vw); }
}

.stage__menu { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 4;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.stage--menu .stage__menu { opacity: 1; transform: none; pointer-events: auto; }
.stage--menu { cursor: default; }
.stage__menu button { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 650;
  background: rgba(5, 19, 37, 0.74); color: #e9f5ff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stage__menu button.danger { color: #ffb4b4; }
