.pi-reveal-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #00180fb8;
  pointer-events: none;
}
.pi-reveal {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 6;
  width: min(390px, calc(100vw - 24px));
  padding: 18px 22px 16px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 2px solid #dfbf76;
  border-radius: 16px;
  background: linear-gradient(150deg, #104a36, #062b22 72%);
  box-shadow: 0 18px 48px #00150edb, inset 0 1px #fff4c93b;
  color: #ffe9b4;
  text-align: center;
}
.pi-reveal[hidden], .pi-reveal-scrim[hidden] { display: none; }
.pi-reveal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
}
.pi-reveal-heading strong { color: #a9d4ae; font-size: 12px; }
.pi-reveal-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}
.pi-reveal-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pi-reveal-tile {
  display: grid;
  place-items: center;
  width: 70px;
  height: 95px;
  overflow: hidden;
  border: 1px solid #e0d6bd;
  border-bottom: 5px solid #a49778;
  border-radius: 6px;
  background: #fffbed;
  color: #366a50;
  box-shadow: 0 4px 0 #63836e;
}
.pi-reveal-tile img { width: 100%; height: 100%; object-fit: fill; }
.pi-reveal-question { font: 800 42px/1 Georgia, serif; }
.pi-reveal-kind { font-size: 14px; font-weight: 800; }
.pi-reveal-next { color: #d4c59e; font-size: 13px; font-weight: 700; }
.pi-reveal-status { min-height: 20px; margin: 16px 0 0; font-size: 13px; font-weight: 700; }
.pi-reveal.is-rolling .pi-reveal-slot:first-child .pi-reveal-tile {
  box-shadow: 0 0 0 3px #f4d08177, 0 4px 0 #63836e;
}
.pi-reveal.is-settled .pi-reveal-tile {
  box-shadow: 0 0 0 2px #f4d08177, 0 4px 0 #63836e;
}
.pi-reveal-active .joker-marker,
.pi-reveal-active .online-joker-marker,
.pi-reveal-active .event-line,
.pi-reveal-active .boost-zone,
.pi-reveal-active .self-area { visibility: hidden; }
@media (max-width: 700px) {
  .pi-reveal { top: 47%; width: min(310px, calc(100vw - 20px)); padding: 14px 16px; }
  .pi-reveal-heading { font-size: 15px; }
  .pi-reveal-display { gap: 15px; margin-top: 13px; }
  .pi-reveal-tile { width: 54px; height: 73px; }
  .pi-reveal-kind { font-size: 12px; }
  .pi-reveal-status { font-size: 11px; margin-top: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-reveal.is-rolling .pi-reveal-slot:first-child .pi-reveal-tile { box-shadow: 0 4px 0 #63836e; }
}
