.web-mode-main {
  width: min(900px, calc(100% - 32px));
}
.web-mode-content {
  min-height: 520px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.category-tile,
.option-btn,
.vote-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-align: left;
}
.category-tile {
  min-height: 135px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-tile:hover,
.option-btn:hover,
.vote-card:hover {
  border-color: rgba(255, 212, 38, 0.5);
  background: rgba(255, 212, 38, 0.08);
}
.category-tile i {
  font-size: 1.5rem;
  font-style: normal;
}
.category-tile strong {
  font-size: 1.05rem;
}
.category-tile small {
  color: #8fa0b4;
}
.quiz-progress {
  height: 7px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ffd426);
}
.quiz-question {
  margin: 0 0 22px;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.25;
  text-align: center;
}
.daily-lineup {
  margin: -6px 0 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(rgba(5, 18, 28, 0.28), rgba(5, 18, 28, 0.74)),
    repeating-linear-gradient(
      90deg,
      rgba(34, 197, 94, 0.09) 0,
      rgba(34, 197, 94, 0.09) 12.5%,
      transparent 12.5%,
      transparent 25%
    );
}
.daily-lineup span {
  padding: 7px 5px;
  border-radius: 9px;
  background: rgba(2, 10, 18, 0.7);
  color: #d7e2ec;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-btn {
  min-height: 68px;
  padding: 15px;
  font-weight: 800;
  text-align: center;
}
.option-btn:disabled {
  cursor: default;
}
.option-btn.correct {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.18);
}
.option-btn.wrong {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.17);
}
.quiz-meta {
  margin-bottom: 13px;
  display: flex;
  justify-content: space-between;
  color: #91a1b4;
  font-size: 0.76rem;
  font-weight: 850;
}
.quiz-meta b {
  color: var(--yellow);
}
.center-card {
  text-align: center;
}
.center-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}
.center-card p {
  color: #9dacbd;
}
.big-result {
  margin: 10px 0;
  color: var(--yellow);
  font-size: 4.5rem;
  font-weight: 950;
}
.action-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.setup-list {
  display: grid;
  gap: 9px;
}
.player-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.player-row input {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}
.icon-btn {
  width: 45px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #ff9a9a;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.imposter-controls {
  margin-top: 17px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.role-cover,
.role-reveal {
  min-height: 320px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}
.role-cover {
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 212, 38, 0.12),
      transparent 45%
    ),
    rgba(255, 255, 255, 0.035);
}
.role-reveal.team {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.09);
}
.role-reveal.imposter {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.09);
}
.role-reveal h2 {
  font-size: 2.2rem;
}
.secret-word {
  margin: 10px 0;
  color: var(--yellow);
  font-size: 2.3rem;
  font-weight: 950;
}
.vote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vote-card {
  padding: 16px;
  font-weight: 850;
}
.vote-card.selected {
  border-color: var(--yellow);
  color: #0b1520;
  background: var(--yellow);
}
.mode-ad {
  margin-top: 20px;
}
.daily-done {
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 15px;
  color: #c9f8da;
  background: rgba(34, 197, 94, 0.1);
}
@media (max-width: 620px) {
  .category-grid,
  .option-grid,
  .vote-grid {
    grid-template-columns: 1fr;
  }
  .web-mode-content {
    min-height: 470px;
  }
  .daily-lineup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .imposter-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .role-cover,
  .role-reveal {
    min-height: 280px;
  }
  .big-result {
    font-size: 3.7rem;
  }
}
.question-image {
  width: 100%;
  max-height: 260px;
  margin: 0 0 18px;
  object-fit: cover;
  border-radius: 16px;
}
