.page-hero.shake-lineup-hero {
  overflow: hidden;
  background: #f9d6e0;
  color: #31152b;
  padding-block: clamp(2.5rem, 6vw, 6rem);
}
.shake-lineup-hero h1 {
  font-size: clamp(2.6rem, 8.1vw, 8.4rem);
  text-shadow: .035em .045em #fff8ee;
}
.shake-lineup-hero h1 span {
  display: block;
  color: #861e55;
}
.shake-lineup-hero .actions { margin-top: 1.5rem; }
.shake-lineup-hero .actions .button { margin-top: 0; }
.shake-lineup-hero .button.yellow { box-shadow: .22rem .24rem #31152b; }
.shake-lineup-poster {
  justify-self: center;
  width: min(90%, 25rem);
  border: .35rem solid #fff9ee;
  box-shadow: .65rem .75rem #240508;
  transform: rotate(3deg);
}
.shake-lineup-poster img, .protein-feature img { width: 100%; }

.drink-feature.shake-feature {
  text-align: center;
  background: #230c13;
  color: #fff9ee;
}
.drink-feature.shake-feature h2 {
  color: var(--yellow);
  text-shadow: .035em .045em #a91932;
}
.shake-feature > p { margin-inline: auto; }

.shake-wheel {
  --wheel-accent: #83abff;
  width: min(100%, 52rem);
  margin: 1rem auto 0;
}
.shake-wheel-stage {
  position: relative;
  aspect-ratio: 1.28;
  container-type: inline-size;
}
.shake-wheel-stage::before {
  content: "";
  position: absolute;
  inset: 9% 13% 11%;
  border: 2px dashed #f9ca7f90;
  border-radius: 50%;
}
.shake-wheel-center {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 41%;
  transform: translate(-50%, -50%);
  isolation: isolate;
}
.shake-wheel-center::before,
.shake-wheel-center::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 14%;
  aspect-ratio: 1;
  background: var(--wheel-accent);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 60%, 50% 100%, 39% 60%, 0 50%, 39% 38%);
  pointer-events: none;
}
.shake-wheel-center::before {
  top: 10%;
  left: 0;
  transform: rotate(-14deg);
}
.shake-wheel-center::after {
  right: 0;
  top: 59%;
  width: 11%;
  background: #fff1d8;
  transform: rotate(17deg);
}
.shake-wheel-art {
  position: relative;
  width: 86%;
  margin-inline: auto;
  aspect-ratio: 1.18;
  overflow: hidden;
  border: .3rem solid #fff1d8;
  background: var(--wheel-accent);
  box-shadow: .45rem .5rem var(--wheel-accent), .75rem .85rem #12060a;
  transform: rotate(5deg);
}
.shake-wheel-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.shake-wheel-poster[src$="/shake-poster-fruity-pebbles.webp"] { object-position: center 62%; }
.shake-wheel-flavors {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shake-wheel-flavors li {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 20%;
  transform: translate(-50%, -50%);
}
.shake-flavor {
  display: grid;
  justify-items: center;
  gap: .45rem;
  width: 100%;
  padding: .2rem;
  color: #fff9ee;
  font: inherit;
  font-weight: 800;
  text-align: center;
  line-height: 1.08;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: .4rem;
}
.shake-flavor img {
  width: 65%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 61%;
  border: .2rem solid var(--flavor-accent);
  border-radius: 50%;
}
.shake-flavor span { font-size: clamp(.84rem, 2.1cqw, 1.05rem); }
.shake-flavor:hover img,
.shake-flavor:focus-visible img,
.shake-flavor[aria-pressed="true"] img {
  outline: .15rem solid #fff9ee;
  outline-offset: .2rem;
}
.shake-flavor:focus-visible { outline: 2px solid #fff9ee; }
.shake-wheel-detail {
  position: relative;
  z-index: 2;
  width: 94%;
  margin: -1.65rem auto 0;
  text-align: center;
  transform: rotate(-4deg);
}
.shake-wheel-detail strong {
  display: grid;
  min-height: 2.65em;
  align-items: center;
  padding: .35em .7em;
  background: var(--wheel-accent);
  color: #200b12;
  clip-path: polygon(0 8%, 5% 5%, 5% 0, 100% 4%, 97% 36%, 100% 59%, 97% 97%, 4% 100%, 5% 91%, 0 89%, 3% 63%);
  font: 900 clamp(1.35rem, 3.5cqw, 2.15rem)/.98 var(--display);
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.shake-wheel-detail p {
  width: 88%;
  min-height: 3.6em;
  display: grid;
  align-items: center;
  margin: 0 auto;
  padding: .4em .6em;
  background: #fff1d8;
  box-shadow: .25rem .3rem #12060a;
  color: #200b12;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.protein-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  background: var(--yellow);
  color: var(--black);
}
.protein-feature h2 { font-size: clamp(2.5rem, 6vw, 6rem); }
.protein-feature p { margin: 1rem 0 1.4rem; max-width: 34rem; }
.protein-feature figure {
  width: min(88%, 23rem);
  justify-self: center;
  border: .35rem solid var(--black);
  transform: rotate(-3deg);
  box-shadow: .65rem .75rem var(--black);
}

@media (max-width: 650px) {
  .shake-wheel-stage { aspect-ratio: auto; }
  .shake-wheel-stage::before { display: none; }
  .shake-wheel-center {
    position: relative;
    top: auto;
    left: auto;
    width: min(88%, 20rem);
    margin: 1.65rem auto 1.25rem;
    transform: none;
  }
  .shake-wheel-flavors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem .15rem;
    margin-top: 1.6rem;
  }
  .shake-wheel-flavors li { position: static; width: auto; transform: none; }
  .shake-flavor img { width: 78%; }
  .protein-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .shake-flavor img { transition: transform 180ms ease-out; }
  .shake-flavor:hover img, .shake-flavor:focus-visible img { transform: scale(1.11) rotate(-6deg); }
  .shake-wheel-art { transition: box-shadow 200ms ease-out; }
  .shake-wheel-detail strong { transition: background-color 200ms ease-out; }
}

@property --orbit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.shake-wheel-spin {
  margin: .75rem auto 0;
  cursor: pointer;
  box-shadow: .22rem .28rem #100408;
}
.shake-wheel-spin[hidden] { display: none; }
.shake-wheel-spin[aria-disabled="true"] { cursor: wait; }
.shake-wheel-spin span { font-size: 1.28em; line-height: 1; }
@media (min-width: 651px) {
  .shake-wheel-stage { margin-top: 1rem; }
  .has-wheel-result .shake-wheel-stage::after {
    content: "";
    position: absolute;
    top: -.75rem;
    left: 50%;
    z-index: 3;
    border: .4rem solid transparent;
    border-top: .7rem solid var(--yellow);
    transform: translateX(-50%);
    pointer-events: none;
  }
  .shake-wheel-flavors li {
    left: calc(50% + 38% * sin(var(--orbit-angle)));
    top: calc(49% - 39% * cos(var(--orbit-angle)));
  }
}
@media (min-width: 651px) and (prefers-reduced-motion: no-preference) {
  .shake-wheel-flavors li { transition: --orbit-angle var(--spin-duration, 0ms) cubic-bezier(.32, .1, .3, 1); }
}
