/* controller-play: join, topic, lie, vote */
/* JOIN VIEW */
.join-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.join-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.join-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-code {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px;
  background: rgba(0, 242, 254, 0.06);
  border: 2px solid var(--border-neon);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-code:focus {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

.input-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 18px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.input-text:focus {
  border-color: var(--accent-cyan);
}

.avatar-selector {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.avatar-option {
  font-size: 1.8rem;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.avatar-option:hover {
  background: var(--bg-surface-elevated);
  transform: scale(1.05);
}

.avatar-option.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.18);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
}

/* MOBILE TOPIC VOTING */
.mobile-topics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.mobile-topic-btn {
  padding: 18px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-glass-card);
  color: var(--text-main);
  cursor: pointer;
  min-height: 80px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.mobile-topic-btn:active {
  transform: scale(0.97);
}

.mobile-topic-btn.voted {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.15);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

/* MOBILE LIE INPUT */
.lie-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.premise-card {
  padding: 18px 20px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
}

.voting-premise-card {
  margin-bottom: 12px;
  font-size: 1.7rem;
  padding: 18px 16px;
}

.mobile-jackpot {
  width: 100%;
  padding: 18px 16px 20px;
  margin-bottom: 10px;
  border-radius: 16px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.35), rgba(18, 12, 4, 0.92) 62%);
  border: 2px solid rgba(255, 215, 0, 0.65);
  box-shadow: 0 0 40px rgba(255, 189, 0, 0.45), inset 0 0 30px rgba(255, 80, 0, 0.2);
  animation: jackpotPulse 0.9s ease-in-out infinite alternate;
}

.mobile-jackpot[hidden] {
  display: none !important;
}

.mobile-jackpot-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ffe38a;
}

.mobile-jackpot-amount {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffe566;
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.8);
}

.mobile-jackpot-sub {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

@keyframes jackpotPulse {
  0% { transform: scale(0.98); filter: brightness(1); }
  100% { transform: scale(1.03); filter: brightness(1.12); }
}

.textarea-lie {
  width: 100%;
  height: 110px;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease;
}

.textarea-lie:focus {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

/* MOBILE VOTING GRID */
.mobile-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.mobile-option-btn {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: var(--bg-glass-card);
  color: var(--text-main);
  cursor: pointer;
  min-height: 60px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.mobile-option-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.mobile-option-btn.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.2);
  box-shadow: var(--shadow-neon);
}

.mobile-option-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-style: dashed;
}

.own-lie-badge {
  font-size: 0.75rem;
  color: var(--accent-yellow);
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

