/* Player Docs */

/* Hide components before defined */
fortyfour-player:not(:defined) {
  visibility: hidden;
}

/* Example Block */
.example-block {
  margin-bottom: 1.5rem;
}

.example-block__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ff-text);
  margin: 0 0 0.125rem;
}

.example-block__desc {
  font-size: 0.75rem;
  color: var(--ff-muted);
  margin: 0 0 0.5rem;
}

.example-block__desc code {
  font-family: var(--ff-font-mono);
  font-size: 0.8125em;
  background: var(--ff-accent-subtle);
  color: var(--ff-accent);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}

.example-block__desc a {
  color: var(--ff-accent);
  text-decoration: none;
}

.example-block__desc a:hover {
  text-decoration: underline;
}

/* Example Preview */
.example-preview {
  padding: 1rem;
  background: var(--ff-bg-subtle);
  border: 1px solid var(--ff-border);
  border-radius: 6px;
}

.example-preview--dark {
  background: #111827;
}

/* Player Stack (Examples page) */
.player-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.player-stack__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-stack__label {
  font-size: 0.6875rem;
  color: var(--ff-muted);
  font-family: var(--ff-font-mono);
}

/* Back to Top */
.back-to-top {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ff-border);
  text-align: center;
}

.back-to-top__link {
  font-size: 0.8125rem;
  color: var(--ff-muted);
  text-decoration: none;
}

.back-to-top__link:hover {
  color: var(--ff-text);
}
