/* Perspective Effect Playground — senaryo kartları (shadow playground HUD ile birlikte) */

.doc-perspective-playground__readout-stack {
  flex: 1 1 12rem;
  max-width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.22rem;
  text-align: right;
}

.doc-perspective-playground__readout-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
}

.doc-perspective-playground__readout-main {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.doc-perspective-playground__readout-insight {
  display: block;
  margin: 0;
  max-width: 100%;
  font-size: 0.68rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(165, 205, 235, 0.88);
}

.doc-perspective-playground__mode-chip {
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.14rem 0.42rem;
  border-radius: 6px;
  border: 1px solid rgba(110, 175, 235, 0.48);
  color: rgba(195, 228, 255, 0.96);
  background: rgba(8, 18, 32, 0.92);
  white-space: nowrap;
}

.doc-perspective-playground__mode-chip.is-scenario {
  border-color: rgba(130, 210, 255, 0.55);
}

.doc-perspective-playground__mode-chip.is-custom {
  border-color: rgba(255, 175, 120, 0.55);
  color: rgba(255, 215, 185, 0.98);
  background: rgba(28, 18, 12, 0.55);
}

.doc-perspective-playground__scenarios {
  width: 100%;
  margin-top: 0.1rem;
  padding-top: 0.38rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.doc-perspective-playground__scenarios-lead {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(155, 185, 215, 0.9);
  font-weight: 500;
}

.doc-perspective-playground__scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.45rem;
  width: 100%;
}

.doc-perspective-playground__scenario {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
  margin: 0;
  padding: 0.48rem 0.58rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(88, 125, 175, 0.38);
  background: rgba(5, 10, 20, 0.88);
  color: rgba(210, 228, 248, 0.96);
  font-family: var(--font-sans, system-ui, sans-serif);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.doc-perspective-playground__scenario:hover {
  border-color: rgba(120, 195, 255, 0.52);
  background: rgba(8, 16, 30, 0.92);
}

.doc-perspective-playground__scenario:focus-visible {
  outline: 2px solid rgba(94, 200, 255, 0.8);
  outline-offset: 2px;
}

.doc-perspective-playground__scenario.is-active {
  border-color: rgba(120, 210, 255, 0.72);
  background: linear-gradient(165deg, rgba(12, 28, 48, 0.95) 0%, rgba(6, 14, 28, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(80, 180, 255, 0.22) inset,
    0 0 18px rgba(60, 160, 255, 0.18);
}

.doc-perspective-playground__scenario-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(225, 238, 255, 0.98);
}

.doc-perspective-playground__scenario-angle {
  font-weight: 600;
  color: rgba(160, 210, 255, 0.95);
}

.doc-perspective-playground__scenario-hint {
  display: block;
  font-size: 0.66rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(145, 175, 210, 0.92);
}

.doc-perspective-playground__scenario.is-active .doc-perspective-playground__scenario-hint {
  color: rgba(175, 210, 240, 0.96);
}

@media (max-width: 520px) {
  .doc-perspective-playground__scenario-grid {
    grid-template-columns: 1fr;
  }

  .doc-perspective-playground__readout-stack {
    flex-basis: 100%;
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .doc-perspective-playground__readout-top {
    justify-content: flex-start;
  }

  .doc-perspective-playground__readout-main {
    text-align: left;
  }
}
