[data-theme="manuscript"] {
    --bg: #f9f8f5;
    --bg-secondary: #f0eee9;
    --bg-tertiary: #e6e3dc;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #999;
    --border: #cccbc6;
    --border-light: #dddcd7;
    --accent: #c0392b;
    --accent-hover: #962d22;
    --accent-light: #f7ecea;

    --font-sans: "IBM Plex Mono", "Courier New", "Courier", monospace;
    --font-serif: "IBM Plex Mono", "Courier New", "Courier", monospace;
    --font-mono: "IBM Plex Mono", "Courier New", "Courier", monospace;
    --font-heading: "IBM Plex Mono", "Courier New", "Courier", monospace;
    --font-body: "IBM Plex Mono", "Courier New", "Courier", monospace;

    --radius: 0px;
    --radius-sm: 0px;
    --radius-big: 0px;

    --shadow-sm: none;
    --shadow: none;
    --shadow-md: none;
}

[data-theme="manuscript"] .article-content,
[data-theme="manuscript"] .editor-preview {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.01em;
}

[data-theme="manuscript"] .article-content {
    padding: 0 3rem;
}

[data-theme="manuscript"] .article-content h1,
[data-theme="manuscript"] .article-content h2,
[data-theme="manuscript"] .article-content h3,
[data-theme="manuscript"] .article-header h1,
[data-theme="manuscript"] .editor-preview h1,
[data-theme="manuscript"] .editor-preview h2,
[data-theme="manuscript"] .editor-preview h3,
[data-theme="manuscript"] .list-page h1,
[data-theme="manuscript"] .feed-top-bar h2,
[data-theme="manuscript"] .article-slice-title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: var(--text);
}

[data-theme="manuscript"] .article-content h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 3rem;
}

[data-theme="manuscript"] .article-content h2 {
    font-size: 1.15rem;
    text-align: center;
    margin-top: 2.5rem;
}

[data-theme="manuscript"] .article-content h3 {
    font-size: 1rem;
}

[data-theme="manuscript"] .article-content p {
    margin-bottom: 1.5em;
    text-indent: 2.5rem;
}

[data-theme="manuscript"] .article-content p:first-of-type {
    text-indent: 0;
}

[data-theme="manuscript"] a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 0.15em;
}

[data-theme="manuscript"] a:hover {
    color: var(--accent-hover);
}

[data-theme="manuscript"] .article-content ul {
    list-style: none;
    padding-left: 1rem;
}

[data-theme="manuscript"] .article-content ul li {
    position: relative;
    margin-bottom: 0.5em;
}

[data-theme="manuscript"] .article-content ul li::before {
    content: "-";
    position: absolute;
    left: -0.8rem;
    color: var(--text);
    font-weight: 700;
}

[data-theme="manuscript"] .article-content ol {
    padding-left: 2.5rem;
}

[data-theme="manuscript"] .article-content ol li::marker {
    font-weight: 700;
}

[data-theme="manuscript"] blockquote {
    margin: 1.5rem 3rem;
    padding: 0.4rem 0;
    border: none;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

[data-theme="manuscript"] code,
[data-theme="manuscript"] pre {
    font-family: var(--font-mono);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.9em;
}

[data-theme="manuscript"] code {
    padding: 0.08rem 0.2rem;
    color: var(--accent);
    text-transform: none;
    letter-spacing: 0;
}

[data-theme="manuscript"] pre {
    padding: 0.8rem;
    overflow-x: auto;
}

[data-theme="manuscript"] table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

[data-theme="manuscript"] th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--text);
}

[data-theme="manuscript"] th,
[data-theme="manuscript"] td {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
}

[data-theme="manuscript"] hr {
    border: 0;
    text-align: center;
    margin: 3rem 0;
}

[data-theme="manuscript"] hr::after {
    content: "~ * ~";
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 0.5em;
}

[data-theme="manuscript"] .article-content > p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.6rem;
    line-height: 0.8;
    margin-right: 0.15em;
    margin-top: 0.1em;
    color: var(--accent);
    font-weight: 700;
}

[data-theme="manuscript"] ::selection {
    background: #dddcd7;
    color: #1a1a1a;
}
