/* Teljes képernyős 16:9 kivetítő / TV nézet – távolról is kristálytiszta kontraszt */

body.projector-body {
  background: #0D1321;
  color: #F8F4EC;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 36px 20px;
  gap: 22px;
}

.proj-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.proj-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  color: #FFFFFF;
  margin: 0;
}
.proj-stats {
  display: flex;
  gap: 18px;
}
.proj-stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: 16px;
  text-align: center;
  min-width: 130px;
}
.proj-stat strong {
  display: block;
  font-size: 1.9rem;
  color: #F6C343;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.proj-stat span {
  font-size: 0.85rem;
  color: #B4C0D8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proj-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  min-height: 0;
}

.proj-panel {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.proj-panel h2 {
  color: #F6C343;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

.proj-leaders {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
}
.proj-leader-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  font-weight: 700;
}
.proj-leader-row.top-1 { background: linear-gradient(90deg, rgba(246, 195, 67, 0.28), rgba(246, 195, 67, 0.08)); }
.proj-leader-row.top-2 { background: linear-gradient(90deg, rgba(217, 223, 232, 0.2), rgba(255, 255, 255, 0.05)); }
.proj-leader-row.top-3 { background: linear-gradient(90deg, rgba(227, 165, 120, 0.22), rgba(255, 255, 255, 0.05)); }

.proj-rank {
  font-size: 1.4rem;
  font-weight: 800;
  color: #F6C343;
  font-variant-numeric: tabular-nums;
}
.proj-balance {
  font-variant-numeric: tabular-nums;
  color: #F6C343;
}

.proj-right-col {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  min-height: 0;
}
.proj-questions {
  display: grid;
  gap: 14px;
  overflow: hidden;
}
.proj-q-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
}
.proj-q-card h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin: 0 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.proj-q-outcomes {
  display: grid;
  gap: 7px;
}
.proj-q-out {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #DCE3F2;
}
.proj-q-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 3px;
}
.proj-q-bar > div {
  height: 100%;
  background: #F6C343;
  border-radius: 999px;
}

.proj-qr-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: #101726;
  border-radius: 20px;
  padding: 16px 22px;
}
.proj-qr-svg {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}
.proj-qr-svg svg { width: 100%; height: 100%; }

.proj-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #96A6C4;
}

/* Result announcement celebration overlay */
.proj-banner {
  position: fixed;
  inset: 32px;
  z-index: 60;
  background: linear-gradient(135deg, #1E2D4F, #101726);
  border: 3px solid #F6C343;
  border-radius: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition-property: opacity, transform;
  transition-duration: 300ms;
}
.proj-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.proj-banner h2 {
  font-size: 3rem;
  color: #F6C343;
  margin: 0 0 18px;
}
.proj-banner .winner-answer {
  font-size: 4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}
