:root {
  --pink: #ed3a78;
  --pink-deep: #c92c63;
  --pink-mid: #f27da9;
  --blue: #1449a0;
  --navy: #012660;
  --navy-deep: #011a42;
  --navy-ink: #010f27;
  --mint: #bafde4;
  --paper: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.62);
  --display: "Anton", "Inter Tight", system-ui, sans-serif;
  --heading: "Inter Tight", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--navy-ink);
  cursor: none;
}

#stage {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 1920px;
  height: 1080px;
  flex-direction: column;
  color: var(--paper);
  background:
    radial-gradient(1400px 700px at 85% -10%, rgba(20, 73, 160, 0.55), transparent 60%),
    radial-gradient(1100px 800px at -10% 110%, rgba(237, 58, 120, 0.16), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-ink) 100%);
  font-family: var(--body);
  transform-origin: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 56px 22px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 20px; width: 420px; }
.brand-pinky { height: 88px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-top {
  color: var(--pink);
  font-family: var(--display);
  font-size: 42px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-bottom {
  margin-top: 7px;
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.screen-heading { text-align: center; }
.screen-heading h1 {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.screen-sub {
  margin-top: 10px;
  color: var(--pink-mid);
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.status { width: 420px; text-align: right; }
.clock {
  font-family: var(--heading);
  font-size: 44px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.freshness { margin-top: 6px; color: var(--muted); font-size: 22px; font-weight: 600; }

.board {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  padding: 26px 56px 12px;
}

.goals {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 150px;
}

.goalv { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.goalv-memberships { width: 610px; }
.goalv-ticket { width: 385px; }
.goalv-label {
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.goalv-sub {
  margin-top: -8px;
  color: var(--pink-mid);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.goalv-num {
  font-family: var(--heading);
  font-size: 64px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}
.goalv-num span { color: var(--muted); font-size: 38px; font-weight: 700; }
.goalv-caption {
  color: var(--pink-mid);
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thermo-svg { width: 610px; height: 480px; overflow: visible; }
.gaugev-svg { width: 385px; height: 480px; }
.goal-scale line { stroke: rgba(255, 255, 255, 0.3); stroke-width: 2; }
.goal-scale text {
  fill: var(--muted);
  font-family: var(--heading);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.gauge-target-tag {
  fill: rgba(255, 255, 255, 0.85);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gauge-chip-text {
  font-family: var(--heading);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-anchor: middle;
}

.sale-line { stroke: var(--pink-mid); stroke-width: 3; }
.sale-dot { fill: var(--mint); stroke: var(--navy-ink); stroke-width: 4; }
.sale-card { fill: rgba(1, 15, 39, 0.96); stroke: rgba(255, 255, 255, 0.2); stroke-width: 2; }
.sale-number { fill: var(--pink-mid); font-family: var(--heading); font-size: 24px; font-weight: 800; }
.sale-name { fill: var(--paper); font-family: var(--heading); font-size: 22px; font-weight: 800; }
.sale-time { fill: var(--muted); font-family: var(--heading); font-size: 18px; font-weight: 700; }

.bottombar { display: flex; align-items: center; gap: 28px; padding: 14px 56px 30px; }
.rotation-dots { display: flex; gap: 12px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.dot.active { background: var(--pink); }
.rotation-track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.rotation-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--pink-mid));
  animation: rotation-progress 18s linear forwards;
}
body.is-paused .rotation-progress { animation-play-state: paused; }

.board-msg { margin: auto; color: var(--muted); font-family: var(--heading); font-size: 40px; font-weight: 700; }

@keyframes rotation-progress { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .rotation-progress { animation: none; width: 100%; }
}
