:root {
  --bg: #000000;
  --card: #121315;
  --card-hi: #1b1c20;
  --ink: #f6f5f1;
  --soft: rgba(246, 245, 241, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #e8c26a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: 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: 16px;
}

.aw {
  width: min(388px, 100%);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 16px 14px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px var(--line),
    0 34px 70px -34px color-mix(in srgb, var(--accent) 34%, transparent);
}
.aw__side { display: flex; flex-direction: column; min-width: 0; }
.aw__label { font-size: 12px; font-weight: 540; color: var(--soft); }
/* the year: four boxes, one per digit, each clips the digit that leaves and the one that arrives */
.aw__year { display: flex; margin: 8px 0 auto -2px; font-size: 46px; line-height: 50px; height: 50px; font-weight: 720; font-stretch: 84%; letter-spacing: -0.02em; color: var(--accent); }
.aw__digit { position: relative; display: block; width: 0.56em; height: 50px; overflow: hidden; }
.aw__digit span { position: absolute; left: 0; right: 0; top: 0; text-align: center; }
.aw__count { font-size: 11.5px; font-weight: 480; color: var(--soft); line-height: 15px; }
.aw__count b { font-weight: 660; color: var(--ink); }

.aw__list { position: relative; display: grid; align-content: start; }
.aw__mark { position: absolute; left: -8px; top: 0; width: 2px; height: 38px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent); opacity: 0; }
.prize { display: block; width: 100%; padding: 0 0 0 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.prize + .prize { border-top: 1px solid var(--line); }
.prize:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }
.prize__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; }
.prize__name { min-width: 0; font-size: 14px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(246, 245, 241, 0.72); transition: color 0.3s ease; }
.prize__by { flex: none; font-size: 11.5px; font-weight: 480; color: var(--soft); white-space: nowrap; }
.prize.is-on .prize__name { color: var(--ink); }
.prize__more { display: block; height: 0; overflow: hidden; }
.prize__more span { display: block; padding: 0 0 10px; font-size: 12.5px; line-height: 16px; font-weight: 460; color: var(--soft); }
.prize__more b { font-weight: 620; color: var(--accent); }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: #ffffff;
  stroke: #14151a;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

@media (max-width: 360px) {
  .aw { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 15px 12px 12px 14px; }
  .aw__year { font-size: 38px; }
  .prize__by { display: none; }
}
@media (min-width: 700px) and (min-height: 500px) {
  .aw { zoom: 1.3; }
}
@media (min-width: 1100px) and (min-height: 760px) {
  .aw { zoom: 1.6; }
}
