[hidden] {
  display: none !important;
}
.rewards-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 22px;
  align-items: start;
}
.rewards-grid > .lab-panel {
  min-width: 0;
  height: 100%;
}
.rewards-grid h2,
.rewards-rules h2,
.rewards-history h2 {
  margin: 0 0 12px;
}
.rewards-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.rewards-summary > div {
  display: grid;
  gap: 4px;
}
.rewards-summary strong {
  font-size: clamp(30px, 4vw, 46px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.rewards-summary p {
  flex: 1;
  color: var(--muted);
}
.rewards-status {
  min-height: 24px;
  margin: 10px 0 20px;
}
.rewards-days {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
}
.rewards-days li {
  display: grid;
  gap: 5px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: 12px 4px;
  background: var(--surface-soft);
  font-size: 13px;
}
.rewards-days strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.rewards-days li:last-child {
  grid-column: span 2;
  background: var(--teal-soft);
}
.rewards-days .current {
  border: 2px solid var(--primary);
  padding: 11px 3px;
  color: var(--primary);
}
.rewards-days .done {
  color: var(--accent-teal);
}
.rewards-days small {
  min-height: 18px;
}
.rewards-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.rewards-title .eyebrow {
  margin-top: 0;
}
.rewards-wheel-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin: 24px auto 12px;
}
.rewards-wheel {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wheel-rim {
  fill: var(--primary);
}
.wheel-bulbs circle {
  fill: var(--on-primary);
}
.wheel-base {
  fill: var(--card);
}
.wheel-rotor {
  transform-origin: 200px 200px;
  transform-box: view-box;
}
.wheel-sector {
  fill: var(--primary-soft);
  stroke: var(--card);
  stroke-width: 2;
}
.rewards-prize:nth-child(4n + 2) .wheel-sector {
  fill: var(--teal-soft);
}
.rewards-prize:nth-child(4n + 3) .wheel-sector {
  fill: var(--warm-soft);
}
.rewards-prize:nth-child(4n + 4) .wheel-sector {
  fill: var(--violet-soft);
}
.wheel-label {
  fill: var(--fg);
  pointer-events: none;
}
.wheel-points {
  font-size: 30px;
  font-weight: 700;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.wheel-unit {
  font-size: 18px;
  font-family: var(--font-body);
}
.rewards-prize.selected .wheel-sector {
  fill: var(--primary-soft);
  stroke: var(--primary);
  stroke-width: 6;
}
.rewards-prize.selected .wheel-label {
  fill: var(--primary);
}
.rewards-wheel-pointer {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(50% - 13px);
  width: 26px;
  height: 34px;
  background: var(--accent-warm);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
#draw.rewards-wheel-button {
  position: absolute;
  left: calc(50% - 46px);
  top: calc(50% - 46px);
  width: 92px;
  height: 92px;
  min-width: 0;
  border: 6px solid var(--card);
  border-radius: 50%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-card);
}
.rewards-wheel-button span {
  font-size: 17px;
  font-weight: 650;
}
.rewards-wheel-button small {
  font-size: 12px;
  font-weight: 400;
}
#draw.rewards-wheel-button:disabled {
  opacity: 1;
  background: var(--surface-soft);
  color: var(--muted);
  border-color: var(--card);
  box-shadow: none;
}
#draw.rewards-wheel-button[aria-busy="true"] {
  background: var(--primary);
  color: var(--on-primary);
}
.wheel-instruction {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.6;
}
.rewards-details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.rewards-details summary {
  cursor: pointer;
  color: var(--primary);
  font-size: 14px;
  padding: 6px 0;
}
.rewards-details summary:hover {
  text-decoration: underline;
}
.rewards-details summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.rewards-probabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}
.rewards-result {
  min-height: 48px;
  color: var(--fg);
  font-weight: 600;
}
.rewards-rules,
.rewards-history {
  margin-top: 22px;
}
.rewards-rules p {
  line-height: 1.85;
}
.rewards-pending {
  padding: 16px;
  background: var(--warm-soft);
  border-radius: var(--radius-field);
}
.rewards-pending p {
  margin-top: 0;
}
.rewards-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rewards-ledger {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.rewards-ledger li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.rewards-ledger p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.rewards-ledger strong {
  align-self: center;
  white-space: nowrap;
}
.rewards-guest {
  margin-bottom: 20px;
}
.rewards-guest .lab-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.rewards-history .lab-btn {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .rewards-grid {
    grid-template-columns: 1fr;
  }
  .rewards-summary {
    flex-wrap: wrap;
    gap: 16px;
  }
  .rewards-summary p {
    min-width: 140px;
  }
  .rewards-summary > button {
    width: 100%;
  }
  .rewards-title {
    align-items: start;
    flex-wrap: wrap;
  }
  header.top nav {
    flex-wrap: wrap;
  }
}

#checkin {
  min-width: 174px;
}
