.limbo-comic-dial {
  --dial-ink: #0f0d09;
  --dial-paper: #fff1cc;
  --dial-pink: #ff087a;
  --dial-display: Impact, "Arial Black", "Arial Narrow", sans-serif;
  --dial-grain: url("/redesign-art/paper.webp");
  aspect-ratio: 1;
  container-type: inline-size;
  isolation: isolate;
}

.limbo-comic-dial > .limbo-comic-canvas {
  position: absolute;
  z-index: 1;
  inset: -7% auto auto -7%;
  inline-size: 114%;
  block-size: 114%;
  pointer-events: none;
}

/* Reuse the WebGL material under the canvas so scrolling never clips the printed plate. */
.limbo-comic-static-dial {
  position: absolute;
  inset: -7%;
  background: url("/redesign-art/limbo-plate.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

.limbo-comic-rays {
  position: absolute;
  z-index: 2;
  inset: -12% auto auto 61.15%;
  inline-size: 16.9%;
  block-size: 12.2%;
  pointer-events: none;
}

.limbo-comic-rays i {
  position: absolute;
  display: block;
  background: var(--dial-ink);
  clip-path: var(--ray);
}

.limbo-comic-rays i::after {
  position: absolute;
  inset: .62cqw;
  background: var(--dial-paper);
  clip-path: var(--ray);
  content: "";
}

.limbo-comic-rays i:nth-child(1) {
  --ray: polygon(0 0, 100% 4%, 19% 100%, 7% 96%);
  inset: 0 73% 18% 0;
}

.limbo-comic-rays i:nth-child(2) {
  --ray: polygon(49% 0, 100% 20%, 4% 100%, 0 94%);
  inset: 7% 24% 3% 24%;
}

.limbo-comic-rays i:nth-child(3) {
  --ray: polygon(81% 0, 100% 53%, 6% 100%, 0 94%);
  inset: 47% 0 1% 47%;
}

.limbo-comic-readout {
  position: absolute;
  z-index: 3;
  inset: 0;
  color: var(--dial-ink);
  text-align: center;
  pointer-events: none;
}

.limbo-comic-readout-title {
  position: absolute;
  inset: 22.7% 15% auto 19%;
  margin: 0;
  color: inherit;
  font: 900 10.3cqw/.98 var(--dial-display);
  letter-spacing: -.035em;
  transform: rotate(-5deg) skewX(-20deg);
}

.limbo-comic-readout-title::after {
  position: absolute;
  inset: auto 15% -3.6cqw 17%;
  block-size: 3.3cqw;
  background: var(--dial-pink);
  clip-path: polygon(0 90%, 7% 62%, 19% 39%, 34% 18%, 48% 5%, 65% 0, 81% 8%,
    95% 21%, 100% 37%, 76% 37%, 55% 53%, 42% 73%, 39% 83%, 41% 55%, 26% 87%,
    29% 61%, 11% 81%, 0 100%);
  content: "";
}

.limbo-comic-readout-result {
  position: absolute;
  display: grid;
  place-items: center;
  inset: 39.5% auto auto 13.3%;
  inline-size: 74%;
  block-size: 31%;
  transform: rotate(-7deg);
  isolation: isolate;
}

.limbo-comic-readout-result::before {
  position: absolute;
  z-index: -1;
  inset: -6% -2%;
  background: url("/redesign-art/limbo-brush.webp") center / 100% 100% no-repeat;
  content: "";
}

.limbo-comic-readout-result > output {
  color: inherit;
  font: 900 32cqw/.91 var(--dial-display);
  letter-spacing: -.046em;
  white-space: nowrap;
  transform: skewX(-22deg) scaleY(.91) translateY(-.8cqw);
}

.limbo-comic-arena[data-instant-phase="confirmed"][data-round-tone="win"]:not([data-instant-draft="true"]) .limbo-comic-readout-result > output {
  color: #115027;
}

.limbo-comic-arena[data-instant-phase="confirmed"][data-round-tone="loss"]:not([data-instant-draft="true"]) .limbo-comic-readout-result > output {
  color: #9a162f;
}

.limbo-comic-target {
  --sticker-cut: polygon(
    7% 6%, 12% 3%, 15% 5%, 20% 1%, 23% 4%, 27% 2%, 32% 4%, 37% 0, 41% 4%,
    45% 2%, 49% 4%, 53% 0, 56% 3%, 60% 2%, 65% 5%, 69% 2%, 73% 4%, 77% 1%,
    82% 4%, 87% 2%, 89% 5%, 93% 3%, 95% 8%, 99% 10%, 97% 19%, 99% 24%,
    96% 28%, 99% 35%, 97% 41%, 99% 48%, 96% 53%, 98% 60%, 96% 64%, 99% 71%,
    96% 78%, 98% 84%, 93% 94%, 89% 95%, 86% 98%, 81% 95%, 77% 98%, 74% 95%,
    69% 99%, 65% 96%, 61% 98%, 57% 95%, 53% 98%, 49% 96%, 46% 99%, 41% 96%,
    37% 100%, 33% 97%, 29% 98%, 24% 95%, 21% 99%, 16% 96%, 12% 99%, 9% 95%,
    5% 97%, 5% 93%, 1% 91%, 3% 84%, 0 78%, 4% 72%, 3% 65%, 6% 61%,
    3% 55%, 6% 48%, 4% 42%, 8% 37%, 5% 32%, 9% 24%, 7% 18%, 10% 12%
  );
  position: absolute;
  z-index: 4;
  inset: auto -6.4% 2% auto;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4%;
  inline-size: 43.3%;
  block-size: 29.5%;
  color: var(--dial-ink);
  text-align: center;
  transform: rotate(-7deg);
  isolation: isolate;
  pointer-events: none;
}

.limbo-comic-target::before,
.limbo-comic-target::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--dial-ink);
  clip-path: var(--sticker-cut);
  content: "";
}

.limbo-comic-target::after {
  inset: .68cqw;
  background: var(--dial-grain) center / 240px, var(--dial-paper);
  background-blend-mode: soft-light;
}

.limbo-comic-target > span {
  margin-left: 6%;
  font: 900 8cqw/.94 var(--dial-display);
  letter-spacing: -.04em;
  transform: skewX(-19deg);
}

.limbo-comic-target > strong {
  display: grid;
  place-items: center;
  inline-size: 83%;
  block-size: 13.3cqw;
  margin-left: 2%;
  color: #fff9f2;
  font: 900 11.7cqw/.95 var(--dial-display);
  letter-spacing: -.04em;
  white-space: nowrap;
  transform: skewX(-19deg);
  isolation: isolate;
}

.limbo-comic-target > strong::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--dial-pink);
  transform: skewX(7deg);
  content: "";
}
