/* Demo-spezifische Ergänzungen zu shared/style.css */

.hr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .hr-layout {
    grid-template-columns: 1fr;
  }
}

.hr-side h2 {
  font-size: var(--es-side-heading-size, 0.95rem);
  margin: 0 0 10px;
}

.hr-side p {
  font-size: var(--es-side-text-size, 0.83rem);
  color: var(--es-text-dim);
  line-height: 1.55;
  margin: 0 0 10px;
}

.hr-side p:last-child {
  margin-bottom: 0;
}

/* Sternvorschau: kleiner, "eingebetteter Bildschirm" mit Nahaufnahme des
   aktuell eingestellten Sterns (Farbe/Größe/Animation je nach Phase). */
.hr-star-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.hr-star-preview canvas {
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #000;
  border: 1px solid var(--es-panel-border);
  border-radius: var(--es-radius-sm);
  box-shadow: var(--es-shadow);
  display: block;
}

.hr-preview-caption {
  font-size: 0.75rem;
  color: var(--es-text-dim);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 16px;
}

.hr-hint {
  font-size: var(--es-side-hint-size, 0.78rem);
  color: var(--es-accent);
  margin-top: 10px;
}

.hr-explainer {
  margin-top: 16px;
}

.hr-explainer h2 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.hr-explainer p {
  font-size: 0.88rem;
  color: var(--es-text-dim);
  line-height: 1.6;
  margin: 0 0 10px;
}

.hr-explainer p:last-child {
  margin-bottom: 0;
}

#playBtn:disabled {
  opacity: 0.5;
  cursor: default;
}
