/* mkc custom styles — based on pi-book */

/* Better CJK typography */
:root {
    --content-max-width: 820px;
}

.content main {
    font-size: 1.575rem;
    line-height: 1.85;
}

/* Mermaid diagram sizing */
.content main .mermaid {
    text-align: center;
    margin: 1.5em 0;
}

/* Blockquote styling */
.content main blockquote {
    border-left: 4px solid #4a9eff;
    background: #f0f7ff;
    padding: 0.8em 1.2em;
    margin: 1em 0;
}

/* Section emphasis */
.content main h3:has(+ p strong) {
    margin-top: 2em;
}

/* Code block typography */
.content main pre code {
    font-size: 0.88em;
    line-height: 1.5;
}

/* Version/note block variant */
.content main blockquote:last-of-type {
    border-left-color: #9e9e9e;
    background: #f5f5f5;
    font-size: 0.92em;
}
