/* Ivory card stock, the same in both themes. */
.ticket {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  padding: 0.75rem;
  border-radius: 16px;
  background: #f8f4e9;
  box-shadow:
    inset 0 0 0 3px var(--brass),
    0 10px 24px -12px rgb(0 0 0 / 0.6);
}

.ticket-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.5rem;
  height: 100%;
}

.ticket-cells li {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ebe3cf;
  font-size: clamp(2rem, 11vw, 3.25rem);
  line-height: 1;
}

.ticket.won .ticket-cells li.hit {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-deep);
}

.ticket-foil {
  position: absolute;
  inset: 0.75rem;
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  border-radius: 10px;
  font-family: var(--display);
  cursor: grab;
  touch-action: none;
  transition: opacity 0.4s;
}

.ticket-foil.gone {
  opacity: 0;
  pointer-events: none;
}

.paytable {
  width: min(100%, 30rem);
  font-size: 0.9375rem;
}

.paytable p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.paytable ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.25rem 2.5rem;
}

.paytable li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.paytable span {
  letter-spacing: 0.1em;
}

.paytable b {
  font-weight: 700;
}
