/* 寒潭雁影：与 ryanwan.cn 对齐的深墨绿、暖金与米白色板 */
:root {
    --background-color: #0b2420 !important;
    --ghost-accent-color: #caa56a !important;
    --color-white: #f5f0e5;
    --color-lighter-gray: rgba(245, 240, 229, 0.08);
    --color-light-gray: #c9d1c4;
    --color-mid-gray: #91a29b;
    --color-dark-gray: #bac7bd;
    --color-darker-gray: #f3efe5;
    --color-primary-text: #f3efe5;
    --color-secondary-text: rgba(232, 240, 232, 0.68);
    --color-border: rgba(217, 232, 219, 0.18);
    --color-dark-border: rgba(217, 232, 219, 0.52);
    --color-darkmode: #071a17;
    --font-kaiti: KaiTi, STKaiti, "Kaiti SC", "BiauKai", "DFKai-SB", serif;
}

body,
.gh-button,
.gh-form,
.gh-form-input,
.gh-navigation,
.gh-card-meta,
.gh-footer {
    font-family: var(--font-kaiti);
}

h1, h2, h3, h4, h5, h6,
.gh-navigation-logo,
.gh-footer-logo,
.gh-header-title,
.gh-card-title,
.gh-article-title,
.gh-content,
.is-title,
.is-body {
    font-family: var(--font-kaiti) !important;
    letter-spacing: 0.04em;
}

body {
    background-color: #0b2420;
    background-image:
        radial-gradient(circle at 18% 0%, rgba(39, 84, 73, 0.28), transparent 34rem),
        linear-gradient(rgba(215, 235, 218, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(215, 235, 218, 0.035) 1px, transparent 1px);
    background-size: auto, 6px 6px, 6px 6px;
    color: var(--color-primary-text);
}

.gh-navigation,
.gh-navigation-actions {
    background: rgba(7, 29, 25, 0.94);
    border-bottom: 1px solid rgba(202, 165, 106, 0.24);
}

.gh-navigation-logo,
.gh-navigation a,
.gh-footer a,
a {
    color: #f3efe5;
}

.gh-navigation .nav a,
.gh-card-meta,
.gh-footer,
.gh-footer-signup-subhead {
    color: rgba(231, 239, 230, 0.72);
}

.gh-header.is-classic,
.gh-header.is-classic .gh-header-inner {
    background:
        radial-gradient(circle at 76% 28%, rgba(39, 92, 79, 0.64), transparent 32rem),
        linear-gradient(135deg, #071d19 0%, #103930 58%, #0a2520 100%);
}

.gh-header.is-classic {
    border-block: 1px solid rgba(202, 165, 106, 0.18);
}

.gh-header-title,
.gh-header .is-title {
    color: #f5f0e5;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.gh-button,
.gh-form .gh-button,
.kg-button-card .kg-btn {
    background: #caa56a;
    color: #102720;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.gh-button:hover,
.gh-form .gh-button:hover,
.kg-button-card .kg-btn:hover {
    background: #e0bd84;
    opacity: 1;
}

.gh-form {
    background: rgba(245, 240, 229, 0.1);
    border: 1px solid rgba(202, 165, 106, 0.32);
    border-radius: 5px;
}

.gh-form-input,
.gh-form-input::placeholder {
    color: rgba(245, 240, 229, 0.72);
}

.gh-container,
.gh-main,
.gh-footer {
    background: transparent;
}

.gh-card,
.gh-article,
.gh-archive-inner,
.gh-container-title,
.gh-footer-bar {
    border-color: rgba(217, 232, 219, 0.18) !important;
}

.gh-card-link {
    border-bottom: 1px solid rgba(217, 232, 219, 0.16);
    padding-bottom: 24px;
}

.gh-card-title,
.gh-article-title,
.gh-content h2,
.gh-content h3 {
    color: #f5f0e5;
}

.gh-content,
.gh-content p,
.gh-content li,
.gh-card-excerpt,
.gh-article-excerpt {
    color: rgba(236, 241, 234, 0.86);
    line-height: 1.9;
}

.gh-content a,
.gh-card-meta a,
figcaption a {
    color: #d9b676;
    text-decoration-color: rgba(217, 182, 118, 0.5);
}

blockquote:not([class]) {
    border-left-color: #caa56a;
    color: #d9e3d7;
}

.gh-footer {
    border-top: 1px solid rgba(202, 165, 106, 0.22);
}

@media (max-width: 767px) {
    .gh-navigation,
    .gh-navigation-actions {
        background: #071d19;
    }

    h1, h2, h3, h4, h5, h6,
    .gh-navigation-logo,
    .gh-card-title,
    .gh-article-title {
        letter-spacing: 0.025em;
    }
}
