.entry-content { font-size: 1rem; line-height: 1.95; min-width: 0; overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { line-height: 1.4; letter-spacing: -.025em; margin: 1.9em 0 .75em; font-weight: 650; scroll-margin-top: 120px; }
.entry-content h1 { font-size: 1.95rem; }
.entry-content h2 { font-size: 1.55rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content pre, .entry-content table, .entry-content blockquote { margin: 1.2em 0; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; }
.entry-content li { padding-left: .25em; }
.entry-content li + li { margin-top: .25em; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 4px; }
.entry-content strong { font-weight: 650; }
.entry-content blockquote { padding: 15px 22px; border-left: 3px solid var(--brand); border-radius: 0 16px 16px 0; background: var(--bg-soft); color: var(--text-2); font-size: .95rem; }
.entry-content blockquote > :first-child { margin-top: 0; }
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .85em; padding: .16em .4em; background: var(--bg-soft); border-radius: 6px; overflow-wrap: anywhere; }
.entry-content pre { overflow: auto; background: #192235; color: #edf2fb; padding: 22px; border-radius: 18px; font-size: .85rem; line-height: 1.7; scrollbar-width: thin; }
.entry-content pre code { background: none; padding: 0; font-size: inherit; color: inherit; overflow-wrap: normal; }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .86rem; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-weight: 600; background: var(--bg-soft); }
.entry-content figure { margin-inline: 0; }
.entry-content img { max-width: 100% !important; min-width: 0 !important; height: auto !important; border-radius: 20px; margin: 24px auto; box-shadow: var(--shadow-soft); object-fit: contain; }
.entry-content figcaption { font-size: .78rem; color: var(--text-2); text-align: center; margin-top: -9px; }
.entry-content iframe, .entry-content video { max-width: 100%; border-radius: 16px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content mjx-container { max-width: 100%; }
.entry-content mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; padding: .4rem 0; }
.entry-content .katex-display { overflow-x: auto; overflow-y: hidden; padding-block: .3rem; }
@media (max-width: 700px) { .entry-content { font-size: .94rem; line-height: 1.9; } .entry-content img { border-radius: 14px; } }
