.stage-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4) var(--sp-3);
  margin-top: var(--sp-3);
  padding: 0;
  list-style: none;
}

.stage-card {
  display: grid;
  align-content: start;
  gap: var(--sp-1);
  text-align: center;
}

.stage-window {
  position: relative;
  width: min(100%, 200px);
  margin: 0 auto var(--sp-1);
  aspect-ratio: 100 / 125;
}

.stage-window-glass {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: url(#arch-clip);
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(230, 196, 111, 0.3), transparent 72%),
    linear-gradient(180deg, #3a1a2a, #140d1c);
}

.stage-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--gold-line-strong);
  stroke-width: 1px;
  pointer-events: none;
}

.stage-frame path {
  vector-effect: non-scaling-stroke;
}

.stage-card.is-shown .stage-frame {
  stroke: var(--gold);
}

.stage-face {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 92%;
  height: auto;
  transform: translateX(-50%);
}

.stage-card.is-hidden .stage-face {
  filter: brightness(0);
  opacity: 0.88;
}

.stage-card.is-hidden .stage-window-glass {
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(255, 107, 125, 0.4), transparent 75%),
    linear-gradient(180deg, #4a1a2c, #1a0e1e);
}

.stage-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--ivory-mid);
  font-size: var(--fs-sm);
}

.stage-legend-shadow {
  flex: none;
  width: 18px;
  height: 24px;
  clip-path: url(#arch-clip);
  background: linear-gradient(180deg, #4a1a2c, #1a0e1e);
  box-shadow: inset 0 -10px 0 #000;
}

.stage-number {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.stage-title {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.4;
}

.stage-boss {
  color: var(--ivory-mid);
  font-size: var(--fs-sm);
}

.stage-big {
  display: inline-block;
  margin-left: var(--sp-1);
  padding: 0 6px;
  border: 1px solid var(--crimson);
  color: var(--crimson);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.stage-facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 var(--sp-2);
  color: var(--ivory-sub);
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stage-lives-note {
  color: var(--ivory-sub);
  font-size: var(--fs-sm);
  text-align: center;
}

.stage-lives-diffs {
  font-family: var(--font-en);
  font-weight: 700;
}

.ura {
  display: grid;
  gap: var(--sp-2);
  justify-items: center;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gold-line);
  text-align: center;
}

.ura-heading {
  font-family: var(--font-head);
  font-size: calc(var(--fs-h2) * 0.8);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ura-lead {
  color: var(--ivory-mid);
}

.ura-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  width: 100%;
  margin-top: var(--sp-2);
  padding: 0;
  list-style: none;
}

.ura-item {
  display: grid;
  gap: 2px;
  padding: var(--sp-2) var(--sp-3);
}

.ura-item + .ura-item {
  box-shadow: inset 1px 0 0 var(--gold-line);
}

.ura-title {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ura-subtitle {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
}

.ura-boss {
  color: var(--ivory-sub);
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .stage-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ura-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ura-item + .ura-item {
    box-shadow: inset 0 1px 0 var(--gold-line);
  }
}
