/* screen.css —— 大屏端（出题 C01 + 排行榜） */

/* ===== 出题 ===== */
#view-quiz { height: 100%; background: url("../img/bg.jpg") center/cover no-repeat; }
.quiz-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
}
.quiz-title { height: 64px; margin-bottom: 120px; }
.num-circles {
  display: flex;
  gap: 130px;
  align-items: center;
}

/* ... existing code ... */
.circle {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.circle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/c01-bg.png") center/contain no-repeat;
  animation: circle-spin 8s linear infinite;
}
.circle span {
  position: relative;
  z-index: 1;
  font-size: 120px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
@keyframes circle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* ... existing code ... */

/* ===== 排行榜 ===== */
#view-rank { height: 100%; overflow-y: auto; background: url("../img/bg2.jpg") center/cover no-repeat; }
.rank-wrap {
  min-height: 100%;
  padding: 40px 60px 60px;
  display: flex;
  flex-direction: column;
}
.rank-head {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.rank-wings { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rank-status { position: absolute; right: 40px; bottom: 8px; z-index: 2; font-size: 20px; font-weight: 700; color: #dbe3ff; letter-spacing: 1px; }
.rank-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.rank-col {
  border: 2px dashed rgba(255, 255, 255, .5);
  border-radius: 6px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.rank-item { display: flex; align-items: center; gap: 24px; }
.rank-badge {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: url("../img/num.png") center/contain no-repeat;
  color: #1a2a8f;
  font-size: 26px;
  font-weight: 800;
}
.rank-item.top .rank-badge { background: none; width: 78px; height: 78px; }
.rank-item.top .rank-badge img { width: 100%; height: 100%; object-fit: contain; }
.rank-team { flex: 1; font-size: 30px; font-weight: 700; }
.rank-score { font-size: 30px; font-weight: 700; text-align: right; white-space: nowrap; }
