/* === CSS Custom Properties === */
:root {
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-subtle: #eef2ff;
    --accent-border: #c7d2fe;
    --bg-primary: #fafaf9;
    --bg-surface: #f5f5f4;
    --bg-elevated: rgba(255, 255, 255, 0.85);
    --border: #e7e5e4;
    --border-subtle: #f0eeec;
    --badge-green-bg: #ecfdf5;
    --badge-green-text: #059669;
    --badge-green-border: rgba(5, 150, 105, 0.2);
    --badge-amber-bg: #fffbeb;
    --badge-amber-text: #d97706;
    --badge-amber-border: rgba(217, 119, 6, 0.2);
    --badge-rose-bg: #fff1f2;
    --badge-rose-text: #e11d48;
    --badge-rose-border: rgba(225, 29, 72, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle, var(--border) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px clamp(20px, 5vw, 80px);
}

/* Top accent bar */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #4f46e5);
    z-index: 100;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

code {
    font-family: "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

#intro, #examples, #cheatsheet, #blog-index, .blog-post, .columns-wrapper, #example-nav {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#intro { animation-delay: 0.05s; }
#examples, .columns-wrapper { animation-delay: 0.15s; }
#example-nav { animation-delay: 0.25s; }

/* === Navigation === */
#nav {
    position: sticky;
    top: 3px;
    z-index: 50;
    display: flex;
    align-items: center;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: var(--shadow-sm);
}

#nav a {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

#nav a:hover { text-decoration: none; }

#nav .nav-cheatsheet + .nav-cheatsheet {
    margin-left: 8px;
}

#nav .nav-cheatsheet {
    margin-left: auto;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

#nav .nav-cheatsheet:hover {
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.nav-active { font-weight: 700; }
.nav-breadcrumb { color: var(--text-tertiary); margin-left: 4px; font-family: "Inter", system-ui, sans-serif; font-size: 14px; }

/* === Intro / Index === */
#intro {
    padding: 64px 0 20px;
    margin-bottom: 16px;
}

#intro::after {
    content: '';
    display: block;
    height: 1px;
    margin-top: 16px;
    background: linear-gradient(90deg, var(--accent), var(--border), transparent);
}

#intro h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

#intro p { color: var(--text-secondary); margin-bottom: 8px; }

/* === Sponsor Strip === */
#sponsor-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    margin: 8px 0 24px;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
}

#sponsor-strip.active {
    border-style: solid;
}

.sponsor-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    white-space: nowrap;
    flex-shrink: 0;
}

.sponsor-identity {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sponsor-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.sponsor-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.sponsor-tagline {
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sponsor-placeholder {
    font-family: "Inter", system-ui, sans-serif;
    font-style: italic;
    color: var(--text-tertiary);
}

.sponsor-cta {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.sponsor-cta:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    text-decoration: none;
}

.sponsor-strip-link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.sponsor-strip-link:hover .sponsor-name {
    color: var(--accent);
}

/* === Category List === */
.category { margin-bottom: 40px; }
.category h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.category ul { list-style: none; padding-left: 2px; }
.category li {
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.category li::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 2px;
    height: 18px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.2s ease;
}

.category li:hover { transform: translateX(4px); }
.category li:hover::before { transform: translateY(-50%) scaleY(1); }

.category li a { font-weight: 500; }

/* === Badges === */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease;
}

.badge:hover { transform: scale(1.05); }

.badge-beginner { background: var(--badge-green-bg); color: var(--badge-green-text); border: 1px solid var(--badge-green-border); }
.badge-intermediate { background: var(--badge-amber-bg); color: var(--badge-amber-text); border: 1px solid var(--badge-amber-border); }
.badge-advanced { background: var(--badge-rose-bg); color: var(--badge-rose-text); border: 1px solid var(--badge-rose-border); }

.complexity {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

/* === Meta Bar === */
#meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
}

/* === Two-Column Layout === */
.columns-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    min-height: 60vh;
}

.docs-column {
    padding: 24px 32px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
}

.docs-seg { margin-bottom: 12px; }
.docs-seg p { margin-bottom: 8px; }
.docs-seg h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.docs-seg h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.code-column {
    position: relative;
    background: var(--bg-surface);
    padding: 24px 24px;
    overflow-x: auto;
    border-top: 2px solid var(--accent);
    box-shadow: none;
}

/* === Copy Button === */
.copy-btn {
    position: sticky;
    top: 8px;
    float: right;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.03);
}

.copy-btn:active { transform: scale(0.98); }

.copy-btn.copied {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.code-seg pre {
    margin: 0 0 8px;
    padding: 0;
    white-space: pre;
}

.code-seg code {
    font-size: 13.5px;
    line-height: 1.55;
}

/* === Example Navigation === */
#example-nav {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 24px;
    font-size: 13px;
}

#example-nav a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-weight: 500;
    transition: all 0.2s ease;
}

#example-nav a:hover {
    background: var(--accent-subtle);
    border-color: var(--accent-border);
    color: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

#example-nav .spacer { flex: 1; }

/* === Cheatsheet === */
#cheatsheet { padding: 40px 0 20px; }
#cheatsheet h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
#cheatsheet .subtitle { color: var(--text-secondary); margin-bottom: 40px; }

.pattern {
    margin-bottom: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pattern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
}

.pattern h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 16px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--accent);
}

.pattern-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding: 24px;
}

.pattern-body h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.smells ul, .examples-list ul { list-style: disc; padding-left: 18px; }
.smells li, .examples-list li { font-size: 14px; margin-bottom: 4px; }
.insight p { font-size: 14px; font-style: italic; color: var(--text-primary); }

/* === Blog Index === */
#blog-index { padding: 40px 0 20px; }
#blog-index h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
#blog-index .subtitle { color: var(--text-secondary); margin-bottom: 40px; }

.blog-list { display: flex; flex-direction: column; gap: 20px; }

.blog-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-surface);
    transition: all 0.2s ease;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
    text-decoration: none;
    color: inherit;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.blog-card h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-tertiary);
    white-space: nowrap;
    font-family: "JetBrains Mono", monospace;
}

.blog-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.blog-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid var(--accent-border);
}

/* === Blog Post === */
.blog-post { padding: 40px 0 20px; max-width: 720px; }

.blog-post-header { margin-bottom: 32px; }
.blog-post-header h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Blog content prose styling */
.blog-content { font-size: 15px; line-height: 1.8; color: var(--text-primary); }
.blog-content h1 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
}
.blog-content h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 32px 0 12px;
}
.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 8px;
}
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.blog-content li { margin-bottom: 6px; }
.blog-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.blog-content a:hover { color: var(--accent-hover); }

.blog-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 8px 20px;
    margin: 16px 0;
    color: var(--text-secondary);
    font-style: italic;
    background: var(--bg-surface);
    border-radius: 0 8px 8px 0;
}

.blog-content pre {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    overflow-x: auto;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.55;
}

.blog-content code {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.blog-content pre code {
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.blog-content strong { font-weight: 600; }

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 14px;
}
.blog-content th, .blog-content td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--border);
}
.blog-content th {
    background: var(--bg-surface);
    font-weight: 600;
}

.blog-post-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.blog-post-footer a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
}

.blog-post-footer a:hover {
    background: var(--accent-subtle);
    border-color: var(--accent-border);
    color: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* === Footer === */
#footer {
    margin-top: 80px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

#footer a {
    text-underline-offset: 3px;
    text-decoration-color: var(--border);
}

/* === Dark Mode === */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e5e5e5;
        --text-secondary: #a1a1aa;
        --text-tertiary: #71717a;
        --accent: #818cf8;
        --accent-hover: #a5b4fc;
        --accent-subtle: #1e1b4b;
        --accent-border: #3730a3;
        --bg-primary: #0f0f14;
        --bg-surface: #18181f;
        --bg-elevated: rgba(15, 15, 20, 0.85);
        --border: #2a2a35;
        --border-subtle: #1f1f28;
        --badge-green-bg: #052e16;
        --badge-green-text: #34d399;
        --badge-green-border: rgba(52, 211, 153, 0.2);
        --badge-amber-bg: #451a03;
        --badge-amber-text: #fbbf24;
        --badge-amber-border: rgba(251, 191, 36, 0.2);
        --badge-rose-bg: #4c0519;
        --badge-rose-text: #fb7185;
        --badge-rose-border: rgba(251, 113, 133, 0.2);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    body::before {
        background: linear-gradient(90deg, #818cf8, #a78bfa, #818cf8);
    }

    .code-column pre,
    .code-column code {
        color: #e6edf3;
    }

    .code-column {
        box-shadow: inset 4px 0 12px -4px rgba(129, 140, 248, 0.06);
    }

    .nav-cheatsheet:hover {
        color: #fff;
    }

    .copy-btn.copied,
    .copy-btn:hover {
        color: #fff;
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .columns { grid-template-columns: 1fr; }
    .pattern-body { grid-template-columns: 1fr; }
    #intro { padding-top: 40px; }
    #intro h1 { font-size: 32px; }
    #cheatsheet h1 { font-size: 32px; }
    #blog-index h1 { font-size: 32px; }
    .blog-card-header { flex-direction: column; gap: 4px; }
    .blog-post-header h1 { font-size: 28px; }
    .blog-post-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .docs-column { padding: 16px 20px; }
    .code-column { padding: 16px 20px; }
}

/* Chroma syntax highlighting (light) */
/* Background */ .bg { background-color: #f7f7f7; }
/* PreWrapper */ .chroma { background-color: #f7f7f7; -webkit-text-size-adjust: none; }
/* Error */ .chroma .err { color: #f6f8fa; background-color: #82071e }
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #dedede }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #cf222e }
/* KeywordConstant */ .chroma .kc { color: #cf222e }
/* KeywordDeclaration */ .chroma .kd { color: #cf222e }
/* KeywordNamespace */ .chroma .kn { color: #cf222e }
/* KeywordPseudo */ .chroma .kp { color: #cf222e }
/* KeywordReserved */ .chroma .kr { color: #cf222e }
/* KeywordType */ .chroma .kt { color: #cf222e }
/* NameAttribute */ .chroma .na { color: #1f2328 }
/* NameClass */ .chroma .nc { color: #1f2328 }
/* NameConstant */ .chroma .no { color: #0550ae }
/* NameDecorator */ .chroma .nd { color: #0550ae }
/* NameEntity */ .chroma .ni { color: #6639ba }
/* NameLabel */ .chroma .nl { color: #990000; font-weight: bold }
/* NameNamespace */ .chroma .nn { color: #24292e }
/* NameOther */ .chroma .nx { color: #1f2328 }
/* NameTag */ .chroma .nt { color: #0550ae }
/* NameBuiltin */ .chroma .nb { color: #6639ba }
/* NameBuiltinPseudo */ .chroma .bp { color: #6a737d }
/* NameVariable */ .chroma .nv { color: #953800 }
/* NameVariableClass */ .chroma .vc { color: #953800 }
/* NameVariableGlobal */ .chroma .vg { color: #953800 }
/* NameVariableInstance */ .chroma .vi { color: #953800 }
/* NameVariableMagic */ .chroma .vm { color: #953800 }
/* NameFunction */ .chroma .nf { color: #6639ba }
/* NameFunctionMagic */ .chroma .fm { color: #6639ba }
/* LiteralString */ .chroma .s { color: #0a3069 }
/* LiteralStringAffix */ .chroma .sa { color: #0a3069 }
/* LiteralStringBacktick */ .chroma .sb { color: #0a3069 }
/* LiteralStringChar */ .chroma .sc { color: #0a3069 }
/* LiteralStringDelimiter */ .chroma .dl { color: #0a3069 }
/* LiteralStringDoc */ .chroma .sd { color: #0a3069 }
/* LiteralStringDouble */ .chroma .s2 { color: #0a3069 }
/* LiteralStringEscape */ .chroma .se { color: #0a3069 }
/* LiteralStringHeredoc */ .chroma .sh { color: #0a3069 }
/* LiteralStringInterpol */ .chroma .si { color: #0a3069 }
/* LiteralStringOther */ .chroma .sx { color: #0a3069 }
/* LiteralStringRegex */ .chroma .sr { color: #0a3069 }
/* LiteralStringSingle */ .chroma .s1 { color: #0a3069 }
/* LiteralStringSymbol */ .chroma .ss { color: #032f62 }
/* LiteralNumber */ .chroma .m { color: #0550ae }
/* LiteralNumberBin */ .chroma .mb { color: #0550ae }
/* LiteralNumberFloat */ .chroma .mf { color: #0550ae }
/* LiteralNumberHex */ .chroma .mh { color: #0550ae }
/* LiteralNumberInteger */ .chroma .mi { color: #0550ae }
/* LiteralNumberIntegerLong */ .chroma .il { color: #0550ae }
/* LiteralNumberOct */ .chroma .mo { color: #0550ae }
/* Operator */ .chroma .o { color: #0550ae }
/* OperatorWord */ .chroma .ow { color: #0550ae }
/* Punctuation */ .chroma .p { color: #1f2328 }
/* Comment */ .chroma .c { color: #57606a }
/* CommentHashbang */ .chroma .ch { color: #57606a }
/* CommentMultiline */ .chroma .cm { color: #57606a }
/* CommentSingle */ .chroma .c1 { color: #57606a }
/* CommentSpecial */ .chroma .cs { color: #57606a }
/* CommentPreproc */ .chroma .cp { color: #57606a }
/* CommentPreprocFile */ .chroma .cpf { color: #57606a }
/* GenericDeleted */ .chroma .gd { color: #82071e; background-color: #ffebe9 }
/* GenericEmph */ .chroma .ge { color: #1f2328 }
/* GenericInserted */ .chroma .gi { color: #116329; background-color: #dafbe1 }
/* GenericOutput */ .chroma .go { color: #1f2328 }
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
/* TextWhitespace */ .chroma .w { color: #ffffff }

@media (prefers-color-scheme: dark) {
/* Reset light-theme token colors */
.chroma [class] { color: #e6edf3; }
/* Background */ .bg { color: #e6edf3; background-color: #0d1117; }
/* PreWrapper */ .chroma { color: #e6edf3; background-color: #0d1117; -webkit-text-size-adjust: none; }
/* Error */ .chroma .err { color: #f85149 }
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #6e7681 }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #737679 }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #6e7681 }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #ff7b72 }
/* KeywordConstant */ .chroma .kc { color: #79c0ff }
/* KeywordDeclaration */ .chroma .kd { color: #ff7b72 }
/* KeywordNamespace */ .chroma .kn { color: #ff7b72 }
/* KeywordPseudo */ .chroma .kp { color: #79c0ff }
/* KeywordReserved */ .chroma .kr { color: #ff7b72 }
/* KeywordType */ .chroma .kt { color: #ff7b72 }
/* NameClass */ .chroma .nc { color: #f0883e; font-weight: bold }
/* NameConstant */ .chroma .no { color: #79c0ff; font-weight: bold }
/* NameDecorator */ .chroma .nd { color: #d2a8ff; font-weight: bold }
/* NameEntity */ .chroma .ni { color: #ffa657 }
/* NameException */ .chroma .ne { color: #f0883e; font-weight: bold }
/* NameLabel */ .chroma .nl { color: #79c0ff; font-weight: bold }
/* NameNamespace */ .chroma .nn { color: #ff7b72 }
/* NameProperty */ .chroma .py { color: #79c0ff }
/* NameTag */ .chroma .nt { color: #7ee787 }
/* NameVariable */ .chroma .nv { color: #79c0ff }
/* NameVariableClass */ .chroma .vc { color: #79c0ff }
/* NameVariableGlobal */ .chroma .vg { color: #79c0ff }
/* NameVariableInstance */ .chroma .vi { color: #79c0ff }
/* NameVariableMagic */ .chroma .vm { color: #79c0ff }
/* NameFunction */ .chroma .nf { color: #d2a8ff; font-weight: bold }
/* NameFunctionMagic */ .chroma .fm { color: #d2a8ff; font-weight: bold }
/* Literal */ .chroma .l { color: #a5d6ff }
/* LiteralDate */ .chroma .ld { color: #79c0ff }
/* LiteralString */ .chroma .s { color: #a5d6ff }
/* LiteralStringAffix */ .chroma .sa { color: #79c0ff }
/* LiteralStringBacktick */ .chroma .sb { color: #a5d6ff }
/* LiteralStringChar */ .chroma .sc { color: #a5d6ff }
/* LiteralStringDelimiter */ .chroma .dl { color: #79c0ff }
/* LiteralStringDoc */ .chroma .sd { color: #a5d6ff }
/* LiteralStringDouble */ .chroma .s2 { color: #a5d6ff }
/* LiteralStringEscape */ .chroma .se { color: #79c0ff }
/* LiteralStringHeredoc */ .chroma .sh { color: #79c0ff }
/* LiteralStringInterpol */ .chroma .si { color: #a5d6ff }
/* LiteralStringOther */ .chroma .sx { color: #a5d6ff }
/* LiteralStringRegex */ .chroma .sr { color: #79c0ff }
/* LiteralStringSingle */ .chroma .s1 { color: #a5d6ff }
/* LiteralStringSymbol */ .chroma .ss { color: #a5d6ff }
/* LiteralNumber */ .chroma .m { color: #a5d6ff }
/* LiteralNumberBin */ .chroma .mb { color: #a5d6ff }
/* LiteralNumberFloat */ .chroma .mf { color: #a5d6ff }
/* LiteralNumberHex */ .chroma .mh { color: #a5d6ff }
/* LiteralNumberInteger */ .chroma .mi { color: #a5d6ff }
/* LiteralNumberIntegerLong */ .chroma .il { color: #a5d6ff }
/* LiteralNumberOct */ .chroma .mo { color: #a5d6ff }
/* Operator */ .chroma .o { color: #ff7b72; font-weight: bold }
/* OperatorWord */ .chroma .ow { color: #ff7b72; font-weight: bold }
/* Comment */ .chroma .c { color: #8b949e; font-style: italic }
/* CommentHashbang */ .chroma .ch { color: #8b949e; font-style: italic }
/* CommentMultiline */ .chroma .cm { color: #8b949e; font-style: italic }
/* CommentSingle */ .chroma .c1 { color: #8b949e; font-style: italic }
/* CommentSpecial */ .chroma .cs { color: #8b949e; font-weight: bold; font-style: italic }
/* CommentPreproc */ .chroma .cp { color: #8b949e; font-weight: bold; font-style: italic }
/* CommentPreprocFile */ .chroma .cpf { color: #8b949e; font-weight: bold; font-style: italic }
/* GenericDeleted */ .chroma .gd { color: #ffa198; background-color: #490202 }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { color: #ffa198 }
/* GenericHeading */ .chroma .gh { color: #79c0ff; font-weight: bold }
/* GenericInserted */ .chroma .gi { color: #56d364; background-color: #0f5323 }
/* GenericOutput */ .chroma .go { color: #8b949e }
/* GenericPrompt */ .chroma .gp { color: #8b949e }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #79c0ff }
/* GenericTraceback */ .chroma .gt { color: #ff7b72 }
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
/* TextWhitespace */ .chroma .w { color: #6e7681 }

}
