body {
    max-width: 900px;
    margin: auto;
}

/* Hide the default GitHub page title (repo name) */
.markdown-body > h1:first-child,
.markdown-body::before {
    display: none;
}

/* Display images with caption */
figure > img {
    display: block;
    max-width: 100%;
    margin: 2rem auto 1rem;
    border: 1px solid #d0d7de;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #f6f8fa;
    padding: 0.5rem;
}
figure {
    margin: 2rem 0 1rem;
    text-align: center;
}
figcaption {
    font-size: 0.95rem;
    color: #6a737d;
    margin-top: 0.5rem;
}
figure > img.screenshot:not(.full-width) {
    max-width: clamp(15px, 90%, 450px);
}

/* Code blocks */
.markdown-body .highlight pre,
.markdown-body pre {
  background: #000000c7;
  color: #c9d1d9;
  font-family: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 1.25rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}
.markdown-body .highlight pre::after,
.markdown-body pre::after {
  content: "Code";
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.15rem .6rem .1rem .8rem;
  font-size: 0.7rem;
  background: #626262a6;
  color: white;
  border-bottom-right-radius: 6px;
  font-family: sans-serif;
}
pre .k,
pre.highlight .k,
pre .kd,
pre.highlight .kd,
pre .o,
pre.highlight .o {
    color: darkcyan;
}

@media screen and (max-width: 600px) {
    body {
        margin: 2.5rem 1rem;
    }
}