body {
  background: #b82720;
  color: #fff;
}
.wheel-page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #d33a30 0%, #c52f28 42%, #a91f1a 100%);
  overflow: hidden;
  position: relative;
}
.wheel-page::before,
.wheel-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.wheel-page::before { width: 180px; height: 180px; top: 70px; left: -70px; }
.wheel-page::after  { width: 120px; height: 120px; top: 210px; right: -50px; }

.wheel-header {
  position: relative;
  text-align: center;
  padding: 26px 16px 16px;
}
.wheel-header .event {
  font-size: 12px; letter-spacing: 3px; color: #ffd7cd; margin-bottom: 8px;
}
.wheel-header h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 3px 0 #9d1b16, 0 6px 12px rgba(0,0,0,.25), 0 0 18px rgba(255,220,200,.35);
  font-weight: 900;
}
.wheel-header h1 span { display: block; }
.wheel-header .sparkle { color: #ffe9a8; font-size: 18px; margin: 0 8px; vertical-align: top; }
.wheel-header .subtitle {
  margin-top: 10px; font-size: 14px; color: #ffe2d9; letter-spacing: 1px;
}

.user-bar {
  position: relative;
  margin: 10px 16px 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(110,20,15,.45);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.user-bar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.6); }
.user-bar .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-bar .chance {
  background: #f6c453; color: #7d2419; border-radius: 20px;
  padding: 5px 12px; font-size: 13px; font-weight: 700; white-space: nowrap;
}

.wheel-panel {
  position: relative;
  margin: 18px 16px 0;
  padding: 22px 12px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
#communityWheel { max-width: 330px; margin: 0 auto; }
.rule-line {
  margin: 18px 0 0; font-size: 13px; color: #ffd8d0;
}
.rule-line b { color: #ffe08a; }

.stats-bar {
  position: relative;
  margin: 16px 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #ffd8d0;
}
.stats-bar a { color: #ffe08a; text-decoration: none; }

.action-row {
  position: relative;
  margin: 18px 16px 0;
  display: flex; gap: 12px;
}
.action-row .btn { flex: 1; background: #fff; color: #c8322b; border: 1px solid rgba(255,255,255,.6); }
.action-row .btn-primary { background: #f6c453; color: #7d2419; border-color: #f6c453; }

.claim-qr { width: 190px; height: 190px; margin: 10px auto 16px; display: block; background: #fff; border-radius: 8px; }
.claim-qr-note { font-size: 12px; color: #888; margin: -8px 0 16px; }
.modal { color: #333; }
.modal .field input { height: 44px; }
