:root {
  color-scheme: light;
  --bg1: #0f172a;
  --bg2: #0ea5e9;
  --bg3: #67e8f9;
  --text: #e6f7ff;
  --muted: rgba(230,247,255,0.72);
  --card: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.24);
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg1), var(--bg2) 55%, var(--bg3));
  min-height: 100vh;
}
.bg {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
}
.wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
}
.card {
  width: min(680px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(18px);
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #d7fbff;
  font-size: 13px;
}
h1, h2, p { margin: 0; }
h1 {
  font-size: 32px;
  margin-top: 14px;
  margin-bottom: 12px;
}
h2 {
  font-size: 24px;
  margin-bottom: 18px;
}
.desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
strong {
  font-size: 18px;
}
.countdown {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 700;
}
.notice {
  color: #fff6d9;
  background: rgba(255, 184, 0, 0.14);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: #04263a;
  font-weight: 700;
  background: linear-gradient(135deg, #a5f3fc, #67e8f9);
}
.tip, .status, .subtle {
  color: var(--muted);
}
.joined, .winner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.winner-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}
.avatar.small {
  width: 56px;
  height: 56px;
}
.winner-name {
  font-size: 22px;
  font-weight: 700;
}
.status.ok {
  color: #bbf7d0;
}
.subtle {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
}
@media (max-width: 640px) {
  .card { padding: 22px; border-radius: 20px; }
  h1 { font-size: 26px; }
  .meta { grid-template-columns: 1fr; }
  .winner-name { font-size: 20px; }
}
