


#credits-open {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
}

#credits-sheet {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px - var(--sat) - var(--sab));
  overflow-y: auto;
  margin: auto;
  padding: 20px 22px 16px;
  border: none;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-panel);
  background: var(--bg);
  color: var(--body-text);
  box-shadow: var(--card-shadow);
  font-family: var(--font-ui);
}
#credits-sheet::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); }
#credits-sheet h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--ink);
}
#credits-sheet .credits-list {
  margin: 0 0 16px;
  padding: 0 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#credits-sheet .credits-list li { margin: 0 0 6px; }
#credits-sheet .credits-list a { color: var(--accent-dark); }
#credits-sheet .credits-buttons { display: flex; justify-content: flex-end; }
#credits-sheet .credits-buttons button { min-height: 44px; min-width: 88px; }

#settings-credits {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
