/* ── Info pages (How it works / About) ── */
.info-wrap {
  color:       rgba(255, 255, 255, 0.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  margin:      0 auto;
  max-width:   760px;
  padding:     48px clamp(18px, 4vw, 40px) 80px;
}
.info-wrap--room-manage {
  max-width: 1120px;
}
.info-wrap--room-lobby {
  max-width: 1120px;
}
.info-topbar {
  margin-bottom: 32px;
}
.info-back {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}
.info-back:hover {
  color: rgba(255, 255, 255, 0.85);
}
.info-title {
  font-size:   clamp(24px, 4vw, 34px);
  font-style:  italic;
  font-weight: 700;
  margin:      6px 0 30px;
}
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: clamp(18px, 3vw, 26px);
}
.info-card a{
  color: rgba(255, 255, 255, 1);
}
.info-card a:hover{
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}
.more-games-link {
  align-items: center;
  display:     inline-flex;
  flex-wrap:   wrap;
  gap:         12px;
  text-decoration: none;
}
.more-games-link:hover {
  text-decoration: none;
}
.more-games-link:hover .more-games-name {
  text-decoration: underline;
}
.more-games-icon {
  align-items:     center;
  background:      rgba(255, 255, 255, 0.07);
  border:          1px solid rgba(255, 255, 255, 0.12);
  border-radius:   10px;
  display:         flex;
  flex-shrink:     0;
  height:          52px;
  justify-content: center;
  width:           52px;
}
.more-games-name {
  font-size: 1rem;
}
.info-score-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}
.info-score-row {
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 0;
}
.info-score-label {
  min-width: 0;
  opacity: 0.7;
}
.info-score-pts {
  flex-shrink: 0;
  font-weight: 700;
  opacity: 0.85;
}
.info-score-row--bonus .info-score-pts {
  color: rgba(180, 255, 160, 0.9);
}
.info-score-row--max {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2px;
}
.info-score-row--max .info-score-label,
.info-score-row--max .info-score-pts {
  font-weight: 700;
  opacity: 1;
}

@media (min-width: 980px) {
  .info-wrap {
    max-width: 860px;
  }
}

@media (max-width: 767px) {
  .info-card {
    margin-bottom: 12px;
  }
  .info-title {
    margin-bottom: 22px;
  }
}

@media (max-width: 420px) {
  .info-score-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

/* ── Help Desk ── */
.helpdesk-hp {
  left:     -9999px;
  opacity:  0;
  position: absolute;
  top:      -9999px;
}
.helpdesk-error {
  background:     rgba(255, 80, 80, 0.08);
  border:         1px solid rgba(255, 80, 80, 0.25);
  border-radius:  6px;
  color:          rgba(255, 140, 140, 0.9);
  font-size:      13px;
  margin-bottom:  12px;
  padding:        10px 14px;
}

/* ── Error screen ── */
.error-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 16px;
}
