/* ScottPlot 5 Cookbook mdBook テーマ */

:root {
  --content-max-width: 1080px;
}

.content main {
  max-width: var(--content-max-width);
}

/* recipe-sp5 レシピブロック */
.recipe-sp5-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.45rem 0.75rem;
  color: #ddd;
  background: #181818;
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.18);
}

.recipe-sp5-dots {
  display: inline-flex;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.recipe-sp5-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  display: inline-block;
}

.recipe-sp5-dots span:nth-child(1) {
  background: #ff5f57;
}

.recipe-sp5-dots span:nth-child(2) {
  background: #ffbd2e;
}

.recipe-sp5-dots span:nth-child(3) {
  background: #28c840;
}

.recipe-sp5-file {
  color: #ddd;
  opacity: 0.75;
  text-decoration: none;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  flex: 1 1 auto;
}

.recipe-sp5-file:hover {
  opacity: 1;
  text-decoration: underline;
}

.recipe-sp5-copy {
  color: #ddd;
  background: transparent;
  border: 1px solid #555;
  border-radius: 0.25rem;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.recipe-sp5-copy:hover {
  background: #2a2a2a;
}

.recipe-sp5-head + pre {
  margin-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
}

.recipe-sp5-foot {
  text-align: right;
  font-size: 0.85rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.recipe-sp5-foot a {
  text-decoration: none;
}

.recipe-sp5-foot a:hover {
  text-decoration: underline;
}

/* レシピ一覧リスト */
.recipe-list {
  margin-top: 1rem;
}

.recipe-list li {
  margin: 0.35rem 0;
}
