:root {
  --bg: #100c0a;
  --card: #1a1512;
  --ink: #f7f1ea;
  --soft: rgba(247, 241, 234, 0.6);
  --faint: rgba(247, 241, 234, 0.34);
  --line: rgba(247, 241, 234, 0.1);
  --accent: #ff9a3d;
  --glow: 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(80% 55% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%), var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 12px;
}

.hh { position: relative; width: min(322px, 100%); padding: 14px 14px 8px; border-radius: 26px; background: linear-gradient(180deg, #211a16, var(--card)); box-shadow: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 60px -30px rgba(0, 0, 0, 0.8); overflow: hidden; }
/* the warm light that comes on with the happy hour */
.hh::before { content: ""; position: absolute; left: -10%; right: -10%; top: -46%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); opacity: calc(var(--glow) * 0.5); pointer-events: none; }
.hh > * { position: relative; }

.hh__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; }
.hh__name { min-width: 0; display: grid; }
.hh__name b { font-size: 15px; line-height: 20px; font-weight: 720; letter-spacing: -0.01em; }
.hh__name span { font-size: 11.500px; line-height: 15px; font-weight: 540; color: var(--soft); }
.hh__clock { flex: none; font-size: 28px; line-height: 32px; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hh__clock b { font-weight: inherit; }

.hh__state { height: 26px; margin-top: 8px; padding: 0 10px; border-radius: 9px; background: rgba(247, 241, 234, 0.06); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: 12px; line-height: 26px; font-weight: 640; color: var(--soft); white-space: nowrap; transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
.hh__state span { display: block; }
.hh.is-on .hh__state { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }

.hh__time { position: relative; margin-top: 12px; padding: 0 9px; }
.hh__track { position: relative; height: 8px; border-radius: 4px; background: rgba(247, 241, 234, 0.1); }
/* the happy hour on the day's track */
.hh__band { position: absolute; top: 0; bottom: 0; left: 25%; width: 50%; border-radius: 4px; background: color-mix(in srgb, var(--accent) 40%, transparent); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.hh.is-on .hh__band { background: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent); }
.hh__knob { position: absolute; top: 50%; left: var(--p, 16.670%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 4px 8px -2px rgba(0, 0, 0, 0.7); transition: transform 0.2s ease; }
.hh__range { position: absolute; left: 0; right: 0; top: -12px; width: 100%; height: 32px; margin: 0; opacity: 0; cursor: grab; touch-action: pan-y; }
.hh__range:active { cursor: grabbing; }
.hh__time:has(.hh__range:focus-visible) .hh__knob { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.hh__time:has(.hh__range:active) .hh__knob { transform: scale(1.14); }
.hh__hours { display: flex; justify-content: space-between; margin: 7px -9px 0; font-size: 10px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.hh__hours span { width: 36px; text-align: center; }

.hh__menu { list-style: none; margin-top: 8px; }
.hh__drink { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 2px; border-top: 1px solid var(--line); }
.hh__what { min-width: 0; display: grid; }
.hh__what b { font-size: 13.500px; line-height: 18px; font-weight: 680; }
.hh__what span { font-size: 11.500px; line-height: 15px; font-weight: 540; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh__price { flex: none; display: flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; }
.hh__price s { font-size: 12px; font-weight: 560; color: var(--faint); opacity: 0; }
.hh__roll { height: 22px; overflow: hidden; }
.hh__roll b { display: block; min-width: 30px; text-align: right; font-size: 16px; line-height: 22px; font-weight: 740; letter-spacing: -0.01em; transition: color 0.3s ease; }
.hh__drink.is-low .hh__roll b { color: var(--accent); }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #f7f1ea; stroke: #100c0a; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 6; }
