html, body {
  width: 1920px;
  height: 1080px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  font-family: var(--ps-font-family);
}

:root{
  --ps-accent:#22c55e;
  --ps-text:#e7f0ff;
  --ps-font-scale:1;
  --ps-panel-scale:1;
  --ps-bg-alpha:0.35;
  --ps-title-scale:1;
  --ps-panel-bg-rgb:17 24 39;
  --ps-panel-bg-alpha:0.72;
  --ps-font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

#card {
  position: absolute;
  left: 72px;
  bottom: 64px;
  width: 760px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgb(var(--ps-panel-bg-rgb) / var(--ps-panel-bg-alpha));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  color: var(--ps-text);
  transform: scale(var(--ps-panel-scale));
  transform-origin: left bottom;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.spacer { flex: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: calc(14px * var(--ps-font-scale));
  letter-spacing: 0.08em;
  font-weight: 700;
}

#modeBadge{
  box-shadow: 0 0 0 1px rgba(0,0,0,0.0), 0 0 0 1px var(--ps-accent) inset;
}

.badge.subtle {
  font-weight: 600;
  opacity: 0.9;
}

.timer {
  font-size: calc(20px * var(--ps-font-scale));
  font-weight: 900;
  letter-spacing: 0.08em;
}

.title {
  font-size: calc(42px * var(--ps-title-scale) * var(--ps-font-scale));
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 10px;
}

.subtitle {
  font-size: calc(18px * var(--ps-font-scale));
  opacity: 0.92;
  margin-bottom: 12px;
}

.top {
  font-size: calc(16px * var(--ps-font-scale));
  opacity: 0.95;
}

/* Hide this panel unless the active giveaway mode is STANDARD */
body.hidden {
  opacity: 0;
}

/* Admin preview mode centers the panel so the full design is visible */
body.preview #card{
  left: 50%;
  top: 50%;
  bottom: auto;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(var(--ps-panel-scale));
}
