/* OBS overlay: transparent background */
html, body {
  width: 1920px;
  height: 1080px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/*
  When the giveaway mode is STANDARD, the wheel overlay should be hidden.
  We keep polling in wheel.js but visually hide the overlay.
*/
body.hidden #root {
  display: none;
}

#root {
  position: relative;
  width: 1920px;
  height: 1080px;
}

#wheelCanvas {
  position: absolute;
  inset: 0;
  background: transparent;
}

/* Pointer at top of wheel */
#pointer {
  position: absolute;
  left: 960px;
  top: 110px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 44px solid var(--ps-wheel-pointer-color, rgba(255,255,255,0.95));
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.35)) drop-shadow(0 0 10px var(--ps-wheel-pointer-accent, rgba(45,212,191,0.28)));
}
#pointer::after {
  content: "";
  position: absolute;
  left: -10px;
  top: -42px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid var(--ps-wheel-pointer-accent, rgba(45,212,191,0.92));
  opacity: 0.92;
}


/* HUD area bottom-left */
#hud {
  /*
    NOTE (v1.0.2): The text HUD is now handled by the separate wheel panel overlay
    (/overlays/wheel_panel/). We keep the DOM nodes for compatibility with the
    existing wheel.js logic, but hide the HUD in the wheel overlay itself.
  */
  display: none;
  position: absolute;
  left: 72px;
  bottom: 64px;
  width: 720px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
  user-select: none;
}

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

.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: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

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

.title {
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 18px;
  opacity: 0.92;
}

.winner {
  margin-top: 18px;
  font-size: 30px;
  font-weight: 900;
  opacity: 0.98;
}

/* small helper for when data is empty */
.dim {
  opacity: 0.75;
}
