.footer-stickers {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  width: 100%;
  height: clamp(280px, 22vw, 345px);
  margin: 0 auto;
  padding: 12px 12px 16px;
  overflow: hidden;
  isolation: isolate;
}
.footer-sticker {
  --sticker-unit: clamp(56px, 9vw, 116px);
  width: calc(var(--sticker-unit) * var(--sticker-size, 1));
  padding: 0;
  color: inherit;
  line-height: 1;
  border: 0;
  background: transparent;
  transform: rotate(var(--sticker-tilt, 0deg));
  user-select: none;
  -webkit-user-select: none;
}
@supports (width: 1cqi) {
  .footer-sticker {--sticker-unit: clamp(56px, 9cqi, 116px)}
}
.footer-sticker:disabled {opacity: 1; cursor: default}
.footer-sticker:focus-visible {
  outline: 2px dashed #ffdc62;
  outline-offset: 4px;
}
.footer-sticker img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.footer-sticker-book img {
  border: 3px solid #fff7e9;
  border-radius: 4px;
  box-shadow: 2px 5px 5px #180b0966;
}
.footer-sticker-box img {
  filter: drop-shadow(1.7px 0 #fff7e9) drop-shadow(-1.7px 0 #fff7e9)
    drop-shadow(0 1.7px #fff7e9) drop-shadow(0 -1.7px #fff7e9)
    drop-shadow(2px 4px 4px #180b0966);
}
.footer-sticker-logo, .footer-sticker-grade, .footer-sticker-success,
.footer-sticker-dollar, .footer-sticker-exam {
  border: 3px solid #fff7e9;
  box-shadow: 2px 5px 5px #180b0966;
}
.footer-sticker-logo {
  padding: 8px 7px;
  border-radius: 7px;
  background: #371c19;
}
.footer-sticker-grade {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffce3d;
  color: #5d2620;
  font: 900 calc(var(--sticker-unit) * .38)/1 Arial, sans-serif;
  letter-spacing: -.09em;
}
.footer-sticker-success {
  padding: 7px 3px 9px;
  border-radius: 8px;
  background: #d7dfcf;
  color: #26372f;
  font: italic 900 calc(var(--sticker-unit) * .24)/1 Arial, sans-serif;
  letter-spacing: -.06em;
}
.footer-sticker-cap {aspect-ratio: 1.3}
.sticker-cap-art {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(2px 0 #fff7e9) drop-shadow(-2px 0 #fff7e9)
    drop-shadow(0 2px #fff7e9) drop-shadow(0 -2px #fff7e9)
    drop-shadow(2px 5px 4px #180b0966);
}
.sticker-cap-board, .sticker-cap-crown, .sticker-cap-tassel {
  position: absolute;
  display: block;
}
.sticker-cap-board {
  inset: 9% 2% 33%;
  background: #393540;
  clip-path: polygon(50% 0, 100% 47%, 50% 100%, 0 47%);
}
.sticker-cap-crown {
  inset: 36% 24% 10%;
  background: #24232c;
  border-radius: 0 0 50% 50%;
}
.sticker-cap-tassel {
  inset: 37% 12% 16% auto;
  width: 5%;
  border-radius: 999px;
  background: #ffce3d;
}
.sticker-cap-tassel::after {
  content: "";
  position: absolute;
  inset: auto -50% 0;
  height: 34%;
  border-radius: 45% 45% 20% 20%;
  background: inherit;
}
.footer-sticker-dollar {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c7dd9f;
  color: #223d28;
  font: 900 calc(var(--sticker-unit) * .49)/1 Arial, sans-serif;
}
.footer-sticker-exam {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7%;
  position: relative;
  aspect-ratio: .77;
  padding: calc(var(--sticker-unit) * .105);
  border-radius: 4px 13px 4px 4px;
  background: #fbecd2;
  color: #5d2620;
  text-align: left;
}
.footer-sticker-exam::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 19%;
  aspect-ratio: 1;
  border-radius: 0 9px 0 2px;
  background: #dfc9a9;
}
.sticker-exam-title {
  font: 900 calc(var(--sticker-unit) * .15)/1 Arial, sans-serif;
  letter-spacing: .035em;
}
.sticker-exam-line {
  display: block;
  width: 84%;
  height: 2px;
  border-radius: 2px;
  background: #8b7360;
}
.sticker-exam-bubbles {
  display: block;
  width: 100%;
  aspect-ratio: 4;
  background: radial-gradient(circle closest-side, transparent 47%, #8b5243 52% 70%, transparent 76%)
    left / 25% 100%;
}
.footer-stickers.is-live {display: block}
.footer-stickers.is-live .footer-sticker {
  position: absolute;
  top: 0;
  left: 0;
  touch-action: none;
  cursor: default;
}
.footer-stickers.is-live .footer-sticker.is-grabbed {z-index: 1}

@media (max-width: 760px) {
  .footer-stickers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: space-evenly;
    height: clamp(325px, 52vw, 405px);
  }
  .footer-sticker {--sticker-unit: clamp(57px, 11vw, 83px)}
  .footer-stickers:not(.is-live) .footer-sticker:last-child {grid-column: 2 / span 2}
}
@media (max-width: 420px) {
  .footer-stickers {
    height: clamp(315px, 87vw, 365px);
    padding-inline: 6px;
  }
  .footer-sticker {--sticker-unit: clamp(48px, 15vw, 62px)}
}
@media (min-width: 2200px) {
  .footer-stickers {grid-template-columns: repeat(13, minmax(0, 1fr)); align-items: end}
}
