.prompt-stage {
  min-height: 820px;
}

.prompt-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prompt-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 74px;
  border-radius: 14px;
  border: 1px solid rgba(145, 184, 206, 0.16);
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 163, 90, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(15, 22, 30, 0.98), rgba(8, 12, 17, 1));
}

.prompt-thumb span {
  position: absolute;
  display: block;
  border-radius: 999px;
  border: 1px solid rgba(159, 212, 226, 0.16);
  background: rgba(255, 255, 255, 0.09);
}

.prompt-thumb-network span:nth-child(1) { left: 10%; top: 16%; width: 15%; height: 12%; }
.prompt-thumb-network span:nth-child(2) { left: 39%; top: 16%; width: 15%; height: 12%; }
.prompt-thumb-network span:nth-child(3) { left: 68%; top: 16%; width: 15%; height: 12%; }
.prompt-thumb-network span:nth-child(4) { left: 22%; top: 56%; width: 15%; height: 12%; }
.prompt-thumb-network span:nth-child(5) { left: 50%; top: 56%; width: 15%; height: 12%; }
.prompt-thumb-network span:nth-child(6) { left: 78%; top: 56%; width: 15%; height: 12%; }

.prompt-thumb-golden span {
  top: 28%;
  width: 14%;
  height: 18%;
}
.prompt-thumb-golden span:nth-child(1) { left: 6%; }
.prompt-thumb-golden span:nth-child(2) { left: 24%; }
.prompt-thumb-golden span:nth-child(3) { left: 42%; }
.prompt-thumb-golden span:nth-child(4) { left: 60%; }
.prompt-thumb-golden span:nth-child(5) { left: 78%; }
.prompt-thumb-golden span:nth-child(6) { display: none; }

.prompt-thumb-picard span:nth-child(1) { left: 44%; top: 11%; width: 12%; height: 14%; }
.prompt-thumb-picard span:nth-child(2) { left: 68%; top: 24%; width: 12%; height: 14%; }
.prompt-thumb-picard span:nth-child(3) { left: 68%; top: 56%; width: 12%; height: 14%; }
.prompt-thumb-picard span:nth-child(4) { left: 44%; top: 70%; width: 12%; height: 14%; }
.prompt-thumb-picard span:nth-child(5) { left: 20%; top: 56%; width: 12%; height: 14%; }
.prompt-thumb-picard span:nth-child(6) { left: 20%; top: 24%; width: 12%; height: 14%; }

.prompt-thumb-lanes span {
  left: 10%;
  width: 80%;
  height: 10%;
}
.prompt-thumb-lanes span:nth-child(1) { top: 12%; }
.prompt-thumb-lanes span:nth-child(2) { top: 28%; }
.prompt-thumb-lanes span:nth-child(3) { top: 44%; }
.prompt-thumb-lanes span:nth-child(4) { top: 60%; }
.prompt-thumb-lanes span:nth-child(5) { top: 76%; }
.prompt-thumb-lanes span:nth-child(6) { display: none; }

.prompt-stage .studio-item {
  padding: 0.38rem 0.5rem;
  border-width: clamp(1px, calc(var(--item-border-width, 0.8) * 0.08cqw), 4px);
  font-size: clamp(7px, calc(var(--item-font-size, 1.1) * 0.68cqw), 18px);
}

.prompt-stage .studio-item.type-prompt {
  gap: 0.12rem;
  justify-content: start;
}

.prompt-stage .studio-item.type-prompt .item-title {
  font-size: 1em;
  font-weight: 800;
  line-height: 1.1;
}

.prompt-stage .studio-item.type-prompt .item-subtitle {
  font-size: 0.74em;
  color: rgba(247, 251, 255, 0.74);
}

.prompt-stage .studio-item.type-phase,
.prompt-stage .studio-item.type-lane,
.prompt-stage .studio-item.type-label {
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.prompt-stage .studio-item.type-core {
  display: grid;
  place-items: center;
  text-align: center;
}

.prompt-stage .studio-item.type-core .item-title {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.18em;
  letter-spacing: 0.08em;
}

.prompt-stage .studio-item.type-core .item-subtitle {
  font-size: 0.76em;
  color: rgba(247, 251, 255, 0.76);
}

.prompt-stage .studio-item.is-golden {
  box-shadow:
    0 0 0 1px rgba(255, 222, 138, 0.18),
    0 0 22px rgba(216, 163, 90, 0.12),
    0 18px 28px rgba(0, 0, 0, 0.28);
}

.prompt-lines path {
  transition: opacity 160ms ease;
}

.prompt-lines .is-golden-edge {
  filter: drop-shadow(0 0 8px rgba(216, 163, 90, 0.2));
}

.stage-band-label {
  fill: rgba(237, 245, 252, 0.72);
  font-size: 3.2px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-band-label-gold {
  fill: rgba(255, 214, 129, 0.88);
}

.successor-list {
  display: grid;
  gap: 0.65rem;
}

.successor-card {
  padding: 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(145, 184, 206, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.successor-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.successor-card p {
  margin: 0;
  color: var(--console-muted);
  line-height: 1.55;
}

.prompt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 184, 206, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--console-text);
  font-size: 0.78rem;
}

.meta-pill.is-golden {
  border-color: rgba(239, 179, 109, 0.38);
  background: rgba(239, 179, 109, 0.12);
  color: #ffe2b5;
}

@media (max-width: 1100px) {
  .prompt-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .prompt-panel-grid {
    grid-template-columns: 1fr;
  }

  .prompt-stage {
    min-height: 700px;
  }
}
