[data-theme="tokyo-nightpaper"] {
    --bg: #0a0d14;
    --bg-secondary: #111622;
    --bg-tertiary: #182030;

    --text: #ffffff;
    --text-secondary: #d0d8e8;
    --text-muted: #8088a0;

    --border: #334466;
    --border-light: #405580;

    --accent: #ff3366;
    --accent-hover: #ff5580;
    --accent-light: #2a1020;

    --success: #7ce0b8;
    --warning: #ffcf70;
    --danger: #ff6b6b;

    --font-sans: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-serif: "Noto Serif JP", "Source Serif 4", serif;
    --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;

    --font-heading: var(--font-sans);
    --font-body: var(--font-serif);

    --shadow-sm: 0 1px 2px #00000022;
    --shadow: 0 4px 12px #0000002e;
    --shadow-md: 0 8px 24px #0000003d;
}

/* Typography */

[data-theme="tokyo-nightpaper"] .article-content,
[data-theme="tokyo-nightpaper"] .editor-preview {
    line-height: 1.82;
    letter-spacing: 0.01em;
}

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

/* Links */

[data-theme="tokyo-nightpaper"] a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

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

/* Lists */

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

[data-theme="tokyo-nightpaper"] .article-content ul li {
    position: relative;
    margin-bottom: 0.45rem;
}

[data-theme="tokyo-nightpaper"] .article-content ul li::before {
    content: "▸";
    position: absolute;
    left: -1.1rem;
    color: var(--accent);
    font-size: 0.9em;
}

[data-theme="tokyo-nightpaper"] .article-content ol li::marker {
    color: var(--accent);
    font-weight: 700;
}

/* Blockquotes */

[data-theme="tokyo-nightpaper"] blockquote {
    margin: 1.6rem 0;
    padding: 0.8rem 1.2rem;
    border-left: 3px solid var(--accent);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-style: italic;
}

/* Code */

[data-theme="tokyo-nightpaper"] code,
[data-theme="tokyo-nightpaper"] pre {
    font-family: var(--font-mono);
    background: #10151d;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
}

[data-theme="tokyo-nightpaper"] code {
    padding: 0.12rem 0.32rem;
    color: #ffd3dc;
}

[data-theme="tokyo-nightpaper"] pre {
    padding: 1rem;
    overflow-x: auto;
}

/* Horizontal rules */

[data-theme="tokyo-nightpaper"] hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2.4rem 0;
}

/* Tables */

[data-theme="tokyo-nightpaper"] table {
    border-collapse: collapse;
    width: 100%;
}

[data-theme="tokyo-nightpaper"] th {
    background: var(--bg-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

[data-theme="tokyo-nightpaper"] th,
[data-theme="tokyo-nightpaper"] td {
    border: 1px solid var(--border);
    padding: 0.75rem 0.9rem;
}

/* Drop cap */

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