@font-face {
    font-family: "Dochub Gilroy";
    src: url("../fonts/gilroy-regular-400.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Dochub Gilroy";
    src: url("../fonts/gilroy-medium-500.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Dochub Gilroy";
    src: url("../fonts/gilroy-bold-700.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --text: #171c19;
    --muted: #717572;
    --muted-soft: #9aa3b2;
    --line: rgba(148, 163, 184, 0.22);
    --line-strong: #eceef1;
    --primary: #3248f2;
    --primary-dark: #2332a9;
    --primary-soft: rgba(50, 72, 242, 0.08);
    --surface: #ffffff;
    --surface-soft: #f8f9fa;
    --surface-panel: #fcfcfd;
    --surface-elevated: rgba(255, 255, 255, 0.9);
    --surface-elevated-strong: rgba(255, 255, 255, 0.88);
    --text-strong: #0f172a;
    --text-soft: #3f4441;
    --nav-text: #1e2433;
    --code-bg: #14141b;
    --code-text: #eef2ff;
    --inline-code-bg: #f1f2f8;
    --inline-code-text: #2332a9;
    --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.06);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1280px;
    --font-sans: "Dochub Gilroy", "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-display: "Dochub Gilroy", "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1218;
    --text: #e7ebf3;
    --muted: #9ca5b5;
    --muted-soft: #748094;
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: #283142;
    --primary: #6e73fe;
    --primary-dark: #5860f2;
    --primary-soft: rgba(110, 115, 254, 0.12);
    --surface: #151922;
    --surface-soft: #191f2a;
    --surface-panel: #111620;
    --surface-elevated: rgba(17, 22, 32, 0.86);
    --surface-elevated-strong: rgba(17, 22, 32, 0.94);
    --text-strong: #f3f6fc;
    --text-soft: #c4cbda;
    --nav-text: #d6dce8;
    --code-bg: #0d1118;
    --code-text: #eef2ff;
    --inline-code-bg: rgba(110, 115, 254, 0.14);
    --inline-code-text: #b9c1ff;
    --shadow-soft: 0 22px 48px rgba(0, 0, 0, 0.32);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 9% 9%, rgba(255, 201, 218, 0.34), transparent 24%),
        radial-gradient(circle at 78% 8%, rgba(189, 205, 255, 0.34), transparent 27%),
        radial-gradient(circle at 85% 58%, rgba(255, 212, 228, 0.22), transparent 24%),
        radial-gradient(circle at 50% 70%, rgba(180, 196, 255, 0.18), transparent 20%),
        #fff;
    font: 16px/1.65 var(--font-sans);
    font-kerning: normal;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page-post,
body.page-single {
    background:
        linear-gradient(180deg, #ffffff 0%, #fcfcfd 52%, #ffffff 100%);
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 8% 10%, rgba(73, 95, 255, 0.16), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(40, 70, 186, 0.16), transparent 26%),
        radial-gradient(circle at 72% 68%, rgba(94, 71, 181, 0.14), transparent 22%),
        #0f1218;
}

html[data-theme="dark"] body.page-post,
html[data-theme="dark"] body.page-single {
    background:
        linear-gradient(180deg, #0f1218 0%, #111722 50%, #0f1218 100%);
}

body.page-post .site-header,
body.page-single .site-header {
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

body.page-post .header-inner,
body.page-single .header-inner {
    padding: 14px 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 24px;
    top: -44px;
    z-index: 100;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-top: 0;
    transition: background-color 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease, border-color 0.24s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    transition: padding 0.24s ease;
}

.site-header.is-scrolled {
    background: var(--surface-elevated-strong);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled .header-inner {
    padding: 14px 0;
}

body.page-post .site-nav,
body.page-single .site-nav {
    gap: 36px;
}

.site-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-brand {
    flex: 1 1 0;
    min-width: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    border: 2px solid #31b9f7;
    color: #2563eb;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 246, 255, 0.94));
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    position: relative;
    overflow: hidden;
}

.brand-logo-image {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 34px;
    object-fit: contain;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 3px 4px;
    border-radius: 999px;
    border: 1.5px solid rgba(37, 99, 235, 0.34);
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 10px;
    height: 1.5px;
    background: rgba(37, 99, 235, 0.42);
    border-radius: 999px;
}

.brand-text,
.footer-text {
    display: grid;
    gap: 1px;
}

.brand-text strong,
.footer-text strong {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.brand-text span {
    color: var(--muted);
    font-size: 0.54rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 48px;
    flex: 0 0 auto;
}

.site-nav a,
.header-link {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5rem;
    color: var(--nav-text);
    white-space: nowrap;
}

.site-nav a:hover,
.header-link:hover,
.footer-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 0;
    justify-content: flex-end;
    min-width: 0;
}

.header-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-button,
.button-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: rgba(110, 115, 254, 0.24);
    background: var(--surface-soft);
    color: var(--text-strong);
    outline: none;
    transform: translateY(-1px);
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.theme-toggle-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.theme-toggle-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle-icon-moon {
    display: inline-flex;
}

.header-button:hover,
.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.button-text {
    min-height: 40px;
    padding: 0;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.hero {
    position: relative;
    padding: 154px 0 118px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    filter: blur(64px);
}

.hero::before {
    top: -24px;
    left: -6%;
    width: 520px;
    height: 520px;
    background: rgba(255, 183, 207, 0.28);
}

.hero::after {
    right: -4%;
    top: 56px;
    width: 620px;
    height: 520px;
    background: rgba(183, 201, 255, 0.32);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(91, 87, 246, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5rem;
    box-shadow: 0 12px 30px rgba(129, 139, 192, 0.08);
}

.hero-badge a {
    color: var(--primary);
    font-weight: 600;
}

.hero h1,
.section-intro h2,
.cta-copy h2 {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.hero h1 {
    max-width: 50rem;
    margin: 26px auto 0;
    font-weight: 700;
    font-size: clamp(3rem, 5.4vw, 3.75rem);
    line-height: 1.01;
    letter-spacing: -0.04em;
    color: var(--text-strong);
    text-wrap: balance;
}

.hero h1 span {
    display: block;
    color: var(--primary);
    margin-top: 0.06em;
    font-size: 1em;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.hero-highlight svg {
    position: absolute;
    left: 0;
    top: 69%;
    width: 100%;
    height: 0.54em;
    z-index: -1;
    fill: rgba(165, 180, 252, 0.72);
}

.hero-highlight-text {
    position: relative;
}

.hero-text {
    max-width: 46rem;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    max-width: 41rem;
    margin: 32px auto 0;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 30px rgba(120, 132, 184, 0.08);
    backdrop-filter: blur(12px);
}

.hero-search:focus-within {
    border-color: rgba(50, 72, 242, 0.2);
    box-shadow: 0 0 0 3px rgba(50, 72, 242, 0.08);
}

.hero-search input {
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    outline: none;
    font-size: 0.9rem;
}

.hero-search input::placeholder {
    color: var(--muted-soft);
}

.hero-search button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.resources-section {
    position: relative;
    padding: 98px 0 104px;
}

.section-intro {
    max-width: 720px;
}

.section-intro-left {
    max-width: 760px;
}

.section-intro h2,
.cta-copy h2 {
    margin-top: 14px;
    line-height: 1.08;
}

.section-intro h2 {
    font-size: clamp(2.15rem, 3.6vw, 3.2rem);
}

.cta-copy h2 {
    max-width: 34rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.14;
}

.section-intro p:last-child,
.footer-text p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.resources-shell {
    max-width: 1120px;
}

.resources-intro {
    max-width: 43rem;
}

.resources-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.resources-copy h2 {
    margin: 10px 0 0;
    font-size: clamp(1.82rem, 3.1vw, 2.58rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.resources-copy p {
    max-width: 41rem;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.resources-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 42px;
    margin: 52px 0 0;
}

.resources-feature-item {
    min-width: 0;
    display: grid;
    align-content: start;
}

.resources-feature-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--text-strong);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.resources-feature-text {
    display: block;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.78;
}

.resources-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    color: var(--primary);
}

.resources-feature-icon svg {
    width: 24px;
    height: 24px;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.site-footer {
    padding: 46px 0 76px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 28px;
    border-top: 4px solid rgba(91, 87, 246, 0.42);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--muted);
    font-weight: 600;
}

.resources-feature-icon,
.button,
.header-button,
.hero-search button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.resources-feature-item:hover .resources-feature-icon {
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .cta-inner,
    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 0;
    }

    .site-nav {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-inner {
        max-width: 100%;
    }

    .hero h1 {
        max-width: 10.8em;
        font-size: clamp(2.68rem, 9vw, 3.3rem);
        line-height: 0.95;
        letter-spacing: -0.068em;
    }

    .hero-text {
        max-width: 29rem;
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.78;
    }

    .hero-actions {
        flex-wrap: wrap;
        width: auto;
        max-width: none;
        gap: 18px;
        margin-top: 30px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin-top: 22px;
        padding: 7px;
        border-radius: 14px;
    }

    .header-actions {
        flex: 0 0 auto;
        margin-left: 0;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-link {
        display: none;
    }

    .resources-section {
        padding: 60px 0;
    }

    .resources-copy h2 {
        font-size: clamp(1.7rem, 5vw, 2.1rem);
    }

    .resources-copy p {
        font-size: 1rem;
        line-height: 1.74;
    }

    .resources-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 28px;
        margin-top: 42px;
    }

    .resources-feature-title {
        font-size: 1.18rem;
    }

    .resources-feature-text {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .button-text {
        justify-content: center;
    }

    .footer-inner {
        text-align: center;
    }

    .footer-brand,
    .footer-nav,
    .footer-meta {
        justify-content: center;
    }
    .cta-copy h2 {
        font-size: clamp(1.7rem, 5vw, 2.1rem);
    }
}

@media (max-width: 640px) {
    .resources-section {
        padding: 50px 0 56px;
    }

    .resources-shell {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .resources-intro {
        max-width: 100%;
    }

    .resources-kicker {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .resources-copy h2 {
        margin-top: 12px;
        font-size: clamp(1.56rem, 6.6vw, 1.9rem);
        line-height: 1.14;
        letter-spacing: -0.035em;
    }

    .resources-copy p {
        max-width: 100%;
        margin-top: 18px;
        font-size: 0.96rem;
        line-height: 1.74;
    }

    .resources-feature-list {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 34px;
    }

    .resources-feature-title {
        gap: 10px;
        font-size: 1.04rem;
        line-height: 1.42;
    }

    .resources-feature-text {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .resources-feature-icon {
        width: 22px;
        height: 22px;
    }

    .resources-feature-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 560px) {
    body.page-home {
        background: #fff;
    }

    html[data-theme="dark"] body.page-home {
        background: #0f1218;
    }

    .container {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .site-header {
        padding-top: 0;
    }

    .site-brand {
        gap: 8px;
    }

    .header-inner {
        gap: 8px;
        padding: 14px 0;
    }

    .site-header.is-scrolled .header-inner {
        padding: 11px 0;
    }

    .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .header-button {
        min-height: 34px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 0.8rem;
        min-width: 52px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }

    .theme-toggle-icon,
    .theme-toggle-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding-top: 114px;
        padding-bottom: 64px;
    }

    .hero::before {
        top: -96px;
        left: 50%;
        width: 380px;
        height: 220px;
        background: rgba(255, 183, 207, 0.14);
        transform: translateX(-50%);
    }

    .hero::after {
        right: 50%;
        top: auto;
        bottom: -88px;
        width: 340px;
        height: 220px;
        background: rgba(183, 201, 255, 0.14);
        transform: translateX(50%);
    }

    .hero-badge,
    .section-kicker {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.75rem;
        line-height: 1.2rem;
    }

    .hero-badge {
        display: none;
    }

    .hero h1 {
        max-width: 9.6em;
        margin-top: 0;
        font-size: clamp(2.56rem, 11vw, 3rem);
        line-height: 0.95;
        letter-spacing: -0.068em;
    }

    .hero-highlight svg {
        top: 70%;
        height: 0.54em;
    }

    .hero-text {
        max-width: 20.5rem;
        margin-top: 20px;
        font-size: 0.98rem;
        line-height: 1.78;
    }

    .hero-actions {
        gap: 18px;
        justify-content: center;
        margin-top: 28px;
    }

    .button {
        min-height: 42px;
        padding: 0 17px;
        font-size: 0.88rem;
        border-radius: 10px;
    }

    .button-text {
        min-height: 42px;
        font-size: 0.86rem;
    }

    .hero-search {
        display: none;
    }

    .resources-section {
        padding: 46px 0 52px;
    }

    .cta-copy h2,
    .section-intro h2 {
        font-size: 1.76rem;
    }

    .cta-copy h2 {
        max-width: 100%;
        font-size: 1.54rem;
        line-height: 1.18;
    }

    .resources-copy h2 {
        font-size: 1.46rem;
    }

    .resources-copy p {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .resources-feature-list {
        gap: 20px;
        margin-top: 28px;
    }

    .resources-feature-title {
        font-size: 0.98rem;
        line-height: 1.4;
    }

    .resources-feature-text {
        font-size: 0.9rem;
        line-height: 1.66;
    }

    .resources-feature-icon {
        width: 17px;
        height: 17px;
    }

    .resources-feature-icon svg {
        width: 17px;
        height: 17px;
    }

    .cta-actions {
        width: 100%;
        gap: 14px;
        flex-wrap: wrap;
    }

    .brand-mark {
        min-width: 34px;
        height: 20px;
        font-size: 0.64rem;
    }

    .brand-logo-image {
        max-width: 108px;
        max-height: 28px;
    }

    .brand-text strong,
    .footer-text strong {
        font-size: 0.98rem;
    }

    .brand-text span {
        display: none;
    }

    .footer-inner {
        gap: 18px;
        padding-top: 22px;
    }

    .footer-text p {
        margin-top: 12px;
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .footer-nav a {
        font-size: 0.88rem;
    }
}

@media (max-width: 400px) {
    .container {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .hero {
        padding-top: 104px;
        padding-bottom: 46px;
    }

    .hero h1 {
        max-width: 9.8em;
        font-size: 2.28rem;
    }

    .hero-text {
        max-width: 17.4rem;
        font-size: 0.9rem;
    }

    .hero-actions {
        gap: 14px;
    }

    .button {
        min-height: 40px;
        padding: 0 15px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-main-shell,
.not-found-shell {
    padding: 148px 0 92px;
}

.post-main-shell .container,
.not-found-shell .container {
    width: min(calc(100% - 56px), 1384px);
}

.post-shell {
    display: grid;
    gap: 40px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(236px, 260px) minmax(0, 1fr) minmax(176px, 192px);
    gap: clamp(28px, 2.8vw, 40px);
    align-items: start;
}

.post-main-column {
    display: grid;
    gap: 32px;
    min-width: 0;
    justify-items: start;
    max-width: none;
}

.doc-sidebar,
.doc-outline {
    display: grid;
    gap: 18px;
    min-width: 0;
    position: sticky;
    top: 98px;
    align-self: start;
}

.doc-sidebar-inner,
.doc-outline-inner {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-height: calc(100vh - 122px);
}

.doc-sidebar-inner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.not-found-card {
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 60px rgba(120, 132, 184, 0.08);
}

.post-header-card,
.post-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.doc-outline-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.doc-nav {
    min-width: 0;
    padding: 0;
    max-height: calc(100vh - 122px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #d4d8df transparent;
}

.doc-nav-title,
.doc-outline-title {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    font-family: var(--font-sans);
    line-height: 1.6;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.doc-nav-tree,
.doc-outline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.doc-nav-tree {
    display: grid;
    gap: 6px;
}

.doc-nav-section {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.doc-nav-disclosure {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.doc-nav-disclosure > summary {
    list-style: none;
}

.doc-nav-disclosure > summary::-webkit-details-marker {
    display: none;
}

.doc-nav-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    width: 100%;
    min-height: 36px;
    padding: 0 4px 0 8px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-soft);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.5;
    appearance: none;
    cursor: pointer;
    list-style: none;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.doc-nav-summary-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.doc-nav-summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    color: var(--muted-soft);
    transform: rotate(45deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.doc-nav-disclosure[open] > .doc-nav-summary::after {
    transform: rotate(225deg);
    margin-top: 3px;
}

.doc-nav-summary-link::after {
    display: none;
}

.doc-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    flex: 0 0 18px;
    font-size: 0.96rem;
    line-height: 1;
}

.doc-nav-summary-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-nav-summary:hover {
    color: var(--text-strong);
    border-left-color: rgba(50, 72, 242, 0.18);
    background: transparent;
}

.doc-nav-summary:focus-visible {
    outline: none;
    color: var(--text-strong);
    border-left-color: rgba(50, 72, 242, 0.24);
    background: transparent;
}

.doc-nav-section.is-current-sort .doc-nav-summary {
    color: var(--text-strong);
}

.doc-nav-item {
    display: grid;
    gap: 0;
}

.doc-nav-item > a,
.doc-outline-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 36px;
    padding: 7px 12px 7px 8px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.45;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.doc-nav-link-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-outline-list a {
    padding: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.72;
    background: transparent;
    border-left: 0;
}

.doc-nav-item > a:hover,
.doc-outline-list a:hover {
    color: var(--text-strong);
    background: transparent;
}

.doc-outline-list a:hover {
    color: var(--text-soft);
    background: transparent;
}

.doc-nav-item.is-current > a {
    background: transparent;
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 650;
    box-shadow: none;
}

.doc-nav-children {
    display: grid;
    gap: 2px;
    margin-left: 0;
    margin-top: 2px;
    padding-left: 0;
    border-left: 0;
    list-style: none;
}

.doc-nav-children .doc-nav-item > a {
    min-height: 36px;
    padding: 7px 12px 7px 18px;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 500;
}

.doc-outline-nav {
    min-width: 0;
    max-height: calc(100vh - 156px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #d4d8df transparent;
}

.doc-outline-inner {
    padding-left: 12px;
    border-left: 1px solid var(--line-strong);
}

.doc-nav::-webkit-scrollbar,
.doc-outline-nav::-webkit-scrollbar {
    width: 4px;
}

.doc-nav::-webkit-scrollbar-track,
.doc-outline-nav::-webkit-scrollbar-track {
    background: transparent;
}

.doc-nav::-webkit-scrollbar-thumb,
.doc-outline-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d4d8df;
}

.doc-outline-list {
    display: grid;
    gap: 3px;
    padding-left: 0;
    border-left: 0;
}

.doc-outline-list li {
    position: relative;
}

.doc-outline-list a {
    position: relative;
    padding: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: 0.79rem;
    font-weight: 400;
    line-height: 1.46;
    background: transparent;
}

.doc-outline-list a::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 0.84em;
    width: 2px;
    height: 13px;
    border-radius: 999px;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.doc-outline-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.doc-outline-title {
    margin-bottom: 6px;
}

.post-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.post-breadcrumbs a:hover,
.post-content-body a:hover,
.post-admin-link a:hover {
    color: var(--primary);
}

.doc-outline-mobile {
    display: none;
    margin-top: 16px;
}

.doc-nav-mobile {
    display: none;
    width: 100%;
    align-self: stretch;
}

.doc-outline-mobile {
    width: 100%;
    align-self: stretch;
}

.doc-nav-mobile-toggle,
.doc-outline-mobile-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: none;
    color: var(--text-soft);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.doc-mobile-toggle-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
    text-align: left;
    flex: 1 1 auto;
}

.doc-mobile-toggle-label {
    color: var(--muted-soft);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.doc-mobile-toggle-title {
    min-width: 0;
    overflow: hidden;
    color: var(--text-strong);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-nav-mobile-toggle:hover,
.doc-nav-mobile-toggle:focus-visible,
.doc-outline-mobile-toggle:hover,
.doc-outline-mobile-toggle:focus-visible {
    border-color: #d8dce2;
    background: #fbfcfd;
    color: #171c19;
    outline: none;
}

.doc-nav-mobile-toggle::after,
.doc-outline-mobile-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    color: #9aa3b2;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.doc-nav-mobile-toggle[aria-expanded="true"]::after,
.doc-outline-mobile-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
    margin-top: 4px;
}

.doc-nav-mobile-panel,
.doc-outline-mobile-panel {
    position: static;
    width: 100%;
    max-height: min(60vh, 460px);
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px dashed var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.doc-nav-mobile-panel .doc-nav-tree {
    gap: 4px;
    padding: 0;
}

.doc-nav-mobile-panel .doc-nav-summary,
.doc-nav-mobile-panel .doc-nav-item > a {
    border-radius: 0;
    background: transparent;
}

.doc-nav-mobile-panel .doc-nav-summary:hover,
.doc-nav-mobile-panel .doc-nav-item > a:hover,
.doc-nav-mobile-panel .doc-nav-summary:focus-visible,
.doc-nav-mobile-panel .doc-nav-item > a:focus-visible {
    background: transparent;
    outline: none;
}

.doc-nav-mobile-panel .doc-nav-item.is-current > a {
    background: transparent;
}

.doc-outline-mobile-panel .doc-outline-list {
    gap: 4px;
    padding: 0;
}

.doc-outline-mobile-panel .doc-outline-list a {
    padding-left: 12px;
}

.doc-outline-mobile-panel .doc-outline-list a::before {
    left: 0;
}

.doc-outline-mobile-panel .doc-outline-list li.is-sub a {
    padding-left: 16px;
}

.post-content-body > * {
    max-width: 100%;
    min-width: 0;
}

.post-content-body pre {
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.post-content-body table {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.post-content-body iframe,
.post-content-body video,
.post-content-body embed {
    max-width: 100%;
}

.post-title,
.not-found-card h1 {
    margin: 10px 0 0;
    max-width: 20ch;
    font-size: clamp(1.78rem, 2.3vw, 2.28rem);
    font-weight: 720;
    font-family: var(--font-display);
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.post-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.55;
}

.post-meta-strip span {
    position: relative;
}

.post-meta-strip span + span::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(113, 117, 114, 0.55);
    transform: translateY(-50%);
}

.post-lead {
    display: block;
    margin-top: 20px;
    padding: 17px 18px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface-panel);
    box-shadow: none;
}

.post-lead-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 22px;
    margin: 0 0 10px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
}

.post-lead-mark::after {
    content: "内容摘要";
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.post-lead p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.82;
}

.post-header-card,
.post-card,
.post-pager,
.discussion-section {
    width: min(100%, 820px);
}

.post-cover {
    margin-top: 24px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 8.7;
    background: rgba(226, 232, 240, 0.5);
}

.post-content-card {
    padding-top: 10px;
    min-width: 0;
}

.post-content-body {
    width: 100%;
    min-width: 0;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.9;
    word-break: break-word;
}

.post-content-body > :first-child {
    margin-top: 0;
}

.post-content-body > :last-child {
    margin-bottom: 0;
}

.post-content-body h2,
.post-content-body h3,
.post-content-body h4 {
    margin: 2.05em 0 0.82em;
    color: var(--text-strong);
    font-family: var(--font-display);
    line-height: 1.26;
    letter-spacing: -0.028em;
}

.post-content-body h2 {
    font-size: clamp(1.34rem, 1.52vw, 1.64rem);
    font-weight: 700;
}

.post-content-body h3 {
    font-size: clamp(1.12rem, 1.18vw, 1.28rem);
    font-weight: 680;
}

.post-content-body h4 {
    font-size: 0.98rem;
    font-weight: 650;
}

.post-content-body p,
.post-content-body ul,
.post-content-body ol,
.post-content-body blockquote,
.post-content-body pre,
.post-content-body table {
    margin: 1.08em 0;
}

.post-content-body p,
.post-content-body li {
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.post-content-body ul,
.post-content-body ol {
    padding-left: 1.4rem;
}

.post-content-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(50, 72, 242, 0.22);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.post-content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.6em auto;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
    cursor: zoom-in;
}

.post-content-body blockquote {
    padding: 18px 20px;
    border-left: 2px solid #dbe1ff;
    border-radius: 0 12px 12px 0;
    background: var(--surface-soft);
    color: var(--text-soft);
}

.post-content-body blockquote > :first-child {
    margin-top: 0;
}

.post-content-body blockquote > :last-child {
    margin-bottom: 0;
}

.post-content-body :not(pre) > code {
    padding: 0.14em 0.38em;
    border-radius: 6px;
    background: var(--inline-code-bg);
    color: var(--inline-code-text);
    font-family: var(--font-mono);
    font-size: 0.92em;
    white-space: break-spaces;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.post-content-body pre {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: var(--code-bg);
    color: var(--code-text);
    box-shadow: none;
    position: relative;
}

.post-content-body pre.is-copyable {
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.post-content-body pre.is-copyable:hover,
.post-content-body pre.is-copyable:focus-visible {
    border-color: rgba(110, 115, 254, 0.28);
    background: #14141b;
    outline: none;
}

.post-content-body pre.is-copied {
    border-color: rgba(110, 115, 254, 0.4);
    background: #14141b;
}

.post-content-body pre.is-copyable:active {
    background: #14141b;
    border-color: rgba(110, 115, 254, 0.32);
}

.post-content-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    display: block;
    width: max-content;
    min-width: 100%;
    max-width: none;
    font-family: var(--font-mono);
    line-height: 1.72;
    cursor: inherit;
}

.post-content-body :not(pre) > code.is-inline-copyable {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.post-content-body :not(pre) > code.is-inline-copyable:hover {
    background: #e8ecff;
    color: #1f2fad;
}

.post-content-body :not(pre) > code.is-inline-copyable.is-copied {
    background: rgba(110, 115, 254, 0.14);
    color: #1f2fad;
    box-shadow: 0 0 0 2px rgba(110, 115, 254, 0.08);
}

.post-content-body pre .token.comment,
.post-content-body pre .token.prolog,
.post-content-body pre .token.doctype,
.post-content-body pre .token.cdata {
    color: #7f8aa3;
}

.post-content-body pre .token.punctuation {
    color: #c8d1e7;
}

.post-content-body pre .token.property,
.post-content-body pre .token.tag,
.post-content-body pre .token.constant,
.post-content-body pre .token.symbol,
.post-content-body pre .token.deleted {
    color: #f38ba8;
}

.post-content-body pre .token.boolean,
.post-content-body pre .token.number {
    color: #f8c471;
}

.post-content-body pre .token.selector,
.post-content-body pre .token.attr-name,
.post-content-body pre .token.string,
.post-content-body pre .token.char,
.post-content-body pre .token.builtin,
.post-content-body pre .token.inserted {
    color: #a6e3a1;
}

.post-content-body pre .token.operator,
.post-content-body pre .token.entity,
.post-content-body pre .token.url,
.post-content-body pre .language-css .token.string,
.post-content-body pre .style .token.string {
    color: #89dceb;
}

.post-content-body pre .token.atrule,
.post-content-body pre .token.attr-value,
.post-content-body pre .token.keyword {
    color: #8aadf4;
}

.post-content-body pre .token.function,
.post-content-body pre .token.class-name {
    color: #c6a0f6;
}

.post-content-body pre .token.regex,
.post-content-body pre .token.important,
.post-content-body pre .token.variable {
    color: #f5bde6;
}

.post-content-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    white-space: nowrap;
}

.post-content-body th,
.post-content-body td {
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-align: left;
}

.post-content-body th {
    background: var(--surface-soft);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.post-admin-link {
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.9rem;
}

.doc-outline-list li.is-sub a {
    padding-left: 8px;
    font-size: 0.77rem;
}

.doc-outline-list a.is-active {
    background: transparent;
    color: #3248f2;
    font-weight: 600;
}

.doc-outline-list a.is-active::before {
    background: #3248f2;
}

.post-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 2px;
}

.post-pager-link {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-strong);
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.post-pager-link:hover {
    border-color: #dbe1ff;
    background: var(--surface-soft);
}

.post-pager-link-next {
    text-align: right;
}

.post-pager-eyebrow {
    color: var(--muted);
    font-size: 0.8rem;
}

.post-pager-link strong {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--primary);
}

.discussion-section {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
}

.discussion-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-strong);
}

.discussion-list-head h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 650;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    color: var(--text-strong);
}

.discussion-list-head span {
    color: #717572;
    font-size: 0.76rem;
    line-height: 1.4;
}

.discussion-form-card > .discussion-list-head {
    padding-bottom: 12px;
    margin-bottom: 0;
}

.discussion-form-card > .discussion-list-head h3 {
    font-size: 0.96rem;
    font-weight: 680;
}

.discussion-form-card > .discussion-list-head span {
    font-size: 0.8rem;
}

.discussion-form-card,
.discussion-list-card {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.discussion-form-note,
.discussion-empty {
    margin: 0;
    color: #717572;
    font-size: 0.78rem;
    line-height: 1.55;
}

.discussion-form-note {
    margin-top: 0;
}

.discussion-closed-tip {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.75;
}

.discussion-reply-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #717572;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.discussion-reply-button:hover {
    color: #3248f2;
}

.discussion-comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.discussion-reply-button {
    position: relative;
}

.discussion-reply-button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.discussion-reply-button:hover::after,
.discussion-reply-button:focus-visible::after {
    opacity: 1;
}

.discussion-reply-button.is-active {
    color: #3248f2;
}

.discussion-reply-button.is-active::after {
    opacity: 1;
}

.discussion-form.is-replying .discussion-editor {
    border-color: rgba(50, 72, 242, 0.26);
    box-shadow: 0 0 0 3px rgba(50, 72, 242, 0.06);
}

.discussion-form {
    display: block;
}

.discussion-editor {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface-panel);
    box-shadow: none;
    overflow: hidden;
}

.discussion-editor:focus-within {
    border-color: var(--text-strong);
    box-shadow: 0 0 0 3px rgba(23, 28, 25, 0.05);
    background: var(--surface);
}

.discussion-textarea {
    width: 100%;
    min-height: 208px;
    padding: 16px 18px 12px;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.78;
    resize: vertical;
}

.discussion-textarea::placeholder,
.discussion-input::placeholder {
    color: #b1b7c4;
}

.discussion-textarea:focus,
.discussion-input:focus {
    outline: none;
}

.discussion-editor-divider {
    height: 1px;
    margin: 0;
    background: var(--line-strong);
}

.discussion-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px 14px;
    border-top: 1px solid var(--line-strong);
    background: var(--surface-panel);
}

.discussion-form-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.discussion-input,
.discussion-current-user {
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.82rem;
}

.discussion-input {
    width: 100%;
    max-width: 220px;
    padding: 0 14px;
}

.discussion-input:focus {
    border-color: var(--text-strong);
    box-shadow: 0 0 0 3px rgba(23, 28, 25, 0.05);
}

.discussion-input-secondary {
    max-width: 260px;
}

.discussion-current-user {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    color: var(--muted);
    font-size: 0.82rem;
    background: var(--surface-soft);
    border-color: transparent;
}

.discussion-captcha {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.discussion-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.discussion-login-tip {
    color: var(--muted);
    font-size: 0.82rem;
}

.discussion-login-tip a {
    color: var(--primary);
    font-weight: 600;
}

.discussion-submit {
    min-width: 124px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: #3248f2;
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.discussion-submit:hover {
    background: #2332a9;
    transform: translateY(-1px);
}

.discussion-list {
    display: grid;
    gap: 0;
}

.discussion-comment {
    display: block;
    padding: 12px 0;
}

.discussion-comment:first-child {
    padding-top: 0;
}

.discussion-list > .discussion-comment + .discussion-comment {
    padding-top: 12px;
    border-top: 1px solid var(--line-strong);
}

.discussion-comment-child {
    margin-top: 10px;
    padding-left: 0;
    border-left: 0;
}

.discussion-comment-body {
    min-width: 0;
}

.discussion-comment-meta {
    display: flex;
    align-items: center;
    gap: 6px 10px;
    flex-wrap: wrap;
}

.discussion-comment-meta strong {
    font-size: 0.86rem;
    color: var(--text-strong);
}

.discussion-comment-meta span {
    margin-left: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.discussion-comment-content {
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.74;
    word-break: break-word;
}

.discussion-comment-content p:first-child {
    margin-top: 0;
}

.discussion-comment-content p:last-child {
    margin-bottom: 0;
}

.discussion-comment-children {
    display: grid;
    gap: 0;
    margin-top: 8px;
    padding-left: 10px;
    border-left: 1px solid #f1f2f4;
}

.discussion-comment-children .discussion-comment:last-child {
    padding-bottom: 0;
}

.discussion-pagination {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.82rem;
}

.discussion-pagination a,
.discussion-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    margin: 0 4px 4px 0;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.discussion-list-end {
    margin: 0;
    color: #9aa3b2;
    font-size: 0.78rem;
    text-align: left;
}

html[data-theme="dark"] .site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .brand-mark {
    border-color: rgba(107, 183, 255, 0.72);
    color: #8fc8ff;
    background: linear-gradient(180deg, rgba(24, 34, 53, 0.96), rgba(18, 28, 44, 0.98));
}

html[data-theme="dark"] .brand-mark::before {
    border-color: rgba(107, 183, 255, 0.32);
}

html[data-theme="dark"] .brand-mark::after {
    background: rgba(107, 183, 255, 0.28);
}

html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .resources-copy p,
html[data-theme="dark"] .resources-feature-text,
html[data-theme="dark"] .footer-nav a,
html[data-theme="dark"] .footer-meta {
    color: var(--muted);
}

html[data-theme="dark"] .hero-search {
    background: rgba(17, 22, 32, 0.78);
    border: 1px solid var(--line-strong);
    box-shadow: none;
}

html[data-theme="dark"] .hero-search:focus-within {
    border-color: rgba(110, 115, 254, 0.3);
    box-shadow: 0 0 0 3px rgba(110, 115, 254, 0.08);
}

html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .section-kicker {
    border-color: rgba(110, 115, 254, 0.18);
    background: rgba(18, 23, 32, 0.82);
    box-shadow: none;
}

html[data-theme="dark"] .hero-badge a,
html[data-theme="dark"] .resources-kicker {
    color: #b8c0ff;
}

html[data-theme="dark"] .hero h1 {
    color: var(--text-strong);
}

html[data-theme="dark"] .hero-highlight svg {
    fill: rgba(110, 115, 254, 0.34);
}

html[data-theme="dark"] .hero-search input {
    color: var(--text);
}

html[data-theme="dark"] .hero-search input::placeholder {
    color: var(--muted-soft);
}

html[data-theme="dark"] .not-found-card,
html[data-theme="dark"] .post-lead {
    background: rgba(21, 25, 34, 0.82);
    border-color: var(--line-strong);
    box-shadow: none;
}

html[data-theme="dark"] .resources-feature-icon {
    color: #a5acff;
}

html[data-theme="dark"] .resources-feature-title,
html[data-theme="dark"] .post-title,
html[data-theme="dark"] .not-found-card h1 {
    color: var(--text-strong);
}

html[data-theme="dark"] .site-footer {
    background: transparent;
}

html[data-theme="dark"] .footer-inner {
    border-top-color: rgba(110, 115, 254, 0.36);
}

html[data-theme="dark"] .doc-nav-summary,
html[data-theme="dark"] .doc-nav-item > a,
html[data-theme="dark"] .doc-outline-list a,
html[data-theme="dark"] .doc-nav-children .doc-nav-item > a {
    color: var(--text-soft);
}

html[data-theme="dark"] .doc-nav-summary:hover,
html[data-theme="dark"] .doc-nav-summary:focus-visible,
html[data-theme="dark"] .doc-nav-item > a:hover,
html[data-theme="dark"] .doc-nav-item > a:focus-visible,
html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-summary:hover,
html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item > a:hover,
html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-summary:focus-visible,
html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item > a:focus-visible {
    color: var(--text-strong);
    background: transparent;
}

html[data-theme="dark"] .doc-nav-item.is-current > a,
html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item.is-current > a {
    background: transparent;
    color: #b9c1ff;
}

html[data-theme="dark"] .doc-outline-inner {
    border-left-color: var(--line-strong);
}

html[data-theme="dark"] .doc-outline-list a.is-active {
    color: #c8ceff;
}

html[data-theme="dark"] .doc-outline-list a.is-active::before {
    background: #6e73fe;
}

html[data-theme="dark"] .doc-nav::-webkit-scrollbar-thumb,
html[data-theme="dark"] .doc-outline-nav::-webkit-scrollbar-thumb {
    background: #3a4559;
}

html[data-theme="dark"] .doc-nav-mobile-toggle,
html[data-theme="dark"] .doc-outline-mobile-toggle {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--text-soft);
}

html[data-theme="dark"] .doc-nav-mobile-toggle:hover,
html[data-theme="dark"] .doc-nav-mobile-toggle:focus-visible,
html[data-theme="dark"] .doc-outline-mobile-toggle:hover,
html[data-theme="dark"] .doc-outline-mobile-toggle:focus-visible {
    border-color: rgba(110, 115, 254, 0.28);
    background: var(--surface);
    color: var(--text-strong);
}

html[data-theme="dark"] .doc-mobile-toggle-label {
    color: var(--muted-soft);
}

html[data-theme="dark"] .doc-mobile-toggle-title {
    color: var(--text-strong);
}

html[data-theme="dark"] .post-lead-mark {
    border-color: rgba(110, 115, 254, 0.24);
    background: rgba(110, 115, 254, 0.08);
}

html[data-theme="dark"] .post-lead-mark::after {
    color: #b9c1ff;
}

html[data-theme="dark"] .post-lead p {
    color: #d3d9e6;
}

html[data-theme="dark"] .post-cover {
    background: rgba(31, 38, 52, 0.78);
}

html[data-theme="dark"] .post-content-body img {
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

html[data-theme="dark"] .post-content-body blockquote {
    border-left-color: rgba(110, 115, 254, 0.36);
}

html[data-theme="dark"] .post-content-body :not(pre) > code.is-inline-copyable:hover {
    background: rgba(110, 115, 254, 0.2);
    color: #d8ddff;
}

html[data-theme="dark"] .post-content-body :not(pre) > code.is-inline-copyable.is-copied {
    background: rgba(110, 115, 254, 0.22);
    color: #eef1ff;
}

html[data-theme="dark"] .post-content-body th,
html[data-theme="dark"] .post-content-body td {
    border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .post-tags a {
    border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .post-pager-link:hover {
    border-color: rgba(110, 115, 254, 0.24);
}

html[data-theme="dark"] .discussion-form.is-replying .discussion-editor {
    box-shadow: 0 0 0 3px rgba(110, 115, 254, 0.1);
}

html[data-theme="dark"] .discussion-editor:focus-within,
html[data-theme="dark"] .discussion-input:focus {
    box-shadow: 0 0 0 3px rgba(231, 235, 243, 0.06);
}

html[data-theme="dark"] .discussion-textarea::placeholder,
html[data-theme="dark"] .discussion-input::placeholder {
    color: #657088;
}

html[data-theme="dark"] .discussion-submit {
    box-shadow: none;
}

html[data-theme="dark"] .dochub-reading-progress {
    background: rgba(40, 49, 66, 0.72);
}

html[data-theme="dark"] .dochub-backtop {
    border-color: var(--line-strong);
    background: rgba(21, 25, 34, 0.94);
    color: var(--text);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .dochub-backtop:hover,
html[data-theme="dark"] .dochub-backtop:focus-visible {
    background: rgba(28, 34, 46, 0.98);
}

html[data-theme="dark"] .dochub-lightbox {
    background: rgba(4, 8, 14, 0.82);
}

html[data-theme="dark"] .dochub-lightbox-close {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
    .post-main-column {
        justify-items: stretch;
    }

    .doc-nav-mobile,
    .doc-outline-mobile {
        display: block;
    }

    .doc-nav-mobile,
    .doc-outline-mobile {
        overflow: hidden;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
    }

    .doc-nav-mobile-toggle,
    .doc-outline-mobile-toggle {
        min-height: 48px;
        padding: 11px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .doc-nav-mobile-toggle:hover,
    .doc-nav-mobile-toggle:focus-visible,
    .doc-outline-mobile-toggle:hover,
    .doc-outline-mobile-toggle:focus-visible {
        border: 0;
        background: var(--surface-soft);
    }

    .doc-mobile-toggle-copy {
        gap: 2px;
    }

    .doc-mobile-toggle-label {
        font-size: 0.63rem;
        letter-spacing: 0.06em;
    }

    .doc-mobile-toggle-title {
        font-size: 0.88rem;
        line-height: 1.35;
        white-space: nowrap;
    }

    .doc-nav-mobile-panel,
    .doc-outline-mobile-panel {
        margin-top: 0;
        padding: 0 8px 8px;
        border-top: 1px solid var(--line);
    }

    .doc-nav-mobile-panel .doc-nav-tree,
    .doc-outline-mobile-panel .doc-outline-list {
        padding-top: 8px;
    }

    .doc-nav-mobile-panel .doc-nav-summary,
    .doc-nav-mobile-panel .doc-nav-item > a {
        min-height: 38px;
        padding: 0 12px;
        border-left: 0;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .doc-nav-mobile-panel .doc-nav-summary:hover,
    .doc-nav-mobile-panel .doc-nav-item > a:hover,
    .doc-nav-mobile-panel .doc-nav-summary:focus-visible,
    .doc-nav-mobile-panel .doc-nav-item > a:focus-visible {
        background: var(--surface-soft);
    }

    .doc-nav-mobile-panel .doc-nav-item.is-current > a {
        background: rgba(50, 72, 242, 0.08);
        color: var(--primary);
        font-weight: 650;
    }

    .doc-nav-mobile-panel .doc-nav-children {
        gap: 4px;
        margin-top: 4px;
    }

    .doc-nav-mobile-panel .doc-nav-children .doc-nav-item > a {
        min-height: 34px;
        padding: 0 12px 0 22px;
        font-size: 0.8rem;
    }

    .doc-outline-mobile-panel .doc-outline-list {
        gap: 6px;
    }

    .doc-outline-mobile-panel .doc-outline-list a {
        padding-left: 12px;
        font-size: 0.8rem;
        line-height: 1.46;
    }

    .doc-outline-mobile-panel .doc-outline-list a::before {
        left: 0;
    }

    .doc-outline-mobile-panel .doc-outline-list li.is-sub a {
        padding-left: 20px;
    }

    html[data-theme="dark"] .doc-nav-mobile-toggle,
    html[data-theme="dark"] .doc-outline-mobile-toggle,
    html[data-theme="dark"] .doc-nav-mobile-toggle:hover,
    html[data-theme="dark"] .doc-nav-mobile-toggle:focus-visible,
    html[data-theme="dark"] .doc-outline-mobile-toggle:hover,
    html[data-theme="dark"] .doc-outline-mobile-toggle:focus-visible {
        border: 0;
        background: transparent;
    }

    html[data-theme="dark"] .doc-nav-mobile,
    html[data-theme="dark"] .doc-outline-mobile {
        border-color: var(--line-strong);
        background: var(--surface);
    }

    html[data-theme="dark"] .doc-nav-mobile-toggle:hover,
    html[data-theme="dark"] .doc-nav-mobile-toggle:focus-visible,
    html[data-theme="dark"] .doc-outline-mobile-toggle:hover,
    html[data-theme="dark"] .doc-outline-mobile-toggle:focus-visible {
        background: rgba(255, 255, 255, 0.02);
    }

    html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-summary:hover,
    html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item > a:hover,
    html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-summary:focus-visible,
    html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item > a:focus-visible {
        background: rgba(255, 255, 255, 0.03);
    }

    html[data-theme="dark"] .doc-nav-mobile-panel .doc-nav-item.is-current > a {
        background: rgba(110, 115, 254, 0.1);
    }
}

.dochub-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 95;
    height: 2px;
    pointer-events: none;
    background: rgba(236, 238, 241, 0.55);
}

.dochub-reading-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #3248f2 0%, #6e73fe 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.12s linear;
}

.dochub-backtop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    color: #171c19;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(12px);
}

.dochub-backtop:hover {
    background: #fff;
    border-color: rgba(110, 115, 254, 0.2);
}

.dochub-backtop:focus-visible {
    outline: none;
    border-color: rgba(110, 115, 254, 0.32);
}

.dochub-backtop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.dochub-backtop-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.dochub-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dochub-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(6px);
}

.dochub-lightbox[hidden] {
    display: none !important;
}

.dochub-lightbox-image {
    display: block;
    max-width: min(100%, 1120px);
    max-height: calc(100vh - 88px);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.dochub-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

body.is-lightbox-open {
    overflow: hidden;
}

#emlogEchoLog h2,
#emlogEchoLog h3 {
    scroll-margin-top: 104px;
}

.not-found-card {
    max-width: 42rem;
}

.not-found-card p {
    margin: 16px 0 28px;
    color: var(--muted);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 860px) {
    .post-main-shell,
    .not-found-shell {
        padding: 128px 0 72px;
    }

    .post-main-shell .container,
    .not-found-shell .container {
        width: min(calc(100% - 40px), 100%);
    }

    .post-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .doc-sidebar,
    .doc-outline {
        position: static;
    }

    .doc-sidebar {
        display: none;
    }

    .doc-outline {
        display: none;
    }

    .doc-sidebar-inner,
    .doc-nav {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .post-main-column {
        order: 1;
        gap: 22px;
        min-width: 0;
    }

    .post-header-card,
    .post-card,
    .post-pager,
    .discussion-section {
        width: 100%;
    }

    .post-cover {
        aspect-ratio: 16 / 9;
    }

    .doc-sidebar-inner {
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .doc-nav-mobile,
    .doc-outline-mobile {
        display: block;
    }

    .doc-nav-mobile {
        position: static;
    }

    .doc-nav-mobile-panel,
    .doc-outline-mobile-panel {
        max-height: min(68vh, 520px);
    }

    .post-shell,
    .post-layout,
    .post-main-column,
    .post-content-card,
    .post-content-body {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .post-main-shell,
    .not-found-shell {
        padding: 120px 0 60px;
    }

    .post-main-shell .container,
    .not-found-shell .container {
        width: min(calc(100% - 28px), 100%);
    }

    .post-layout {
        gap: 20px;
    }

    .post-title,
    .not-found-card h1 {
        max-width: none;
        font-size: 1.62rem;
    }

    .post-breadcrumbs {
        gap: 4px;
        font-size: 0.76rem;
    }

    .post-meta-strip {
        gap: 6px 12px;
        margin-top: 12px;
        font-size: 0.78rem;
    }

    .post-lead {
        margin-top: 16px;
        padding: 16px;
    }

    .post-cover {
        margin-top: 16px;
        border-radius: 14px;
    }

    .doc-nav-mobile {
        margin-top: 0;
    }

    .doc-nav-mobile-toggle,
    .doc-outline-mobile-toggle {
        min-height: 46px;
        padding: 11px 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.82rem;
    }

    .doc-mobile-toggle-label {
        font-size: 0.62rem;
    }

    .doc-mobile-toggle-title {
        font-size: 0.82rem;
    }

    .doc-nav-mobile-panel,
    .doc-outline-mobile-panel {
        margin-top: 0;
        padding: 0 8px 8px;
        border-top: 1px solid var(--line-strong);
    }

    .doc-nav-summary {
        min-height: 36px;
        padding: 0 4px 0 8px;
    }

    .doc-nav-title,
    .doc-outline-title {
        font-size: 0.72rem;
        margin-bottom: 10px;
        letter-spacing: 0.06em;
    }

    .doc-nav-item > a {
        min-height: 36px;
        padding: 7px 10px 7px 8px;
        border-radius: 0;
    }

    .doc-nav-icon {
        width: 18px;
        flex-basis: 18px;
        font-size: 0.94rem;
    }

    .doc-nav-children {
        padding-left: 0;
    }

    .doc-nav-children .doc-nav-item > a {
        min-height: 34px;
        padding: 7px 10px 7px 18px;
    }

    .doc-nav-mobile-panel .doc-nav-summary,
    .doc-nav-mobile-panel .doc-nav-item > a {
        min-height: 36px;
        padding: 0 10px;
        border-radius: 8px;
    }

    .doc-nav-mobile-panel .doc-nav-children .doc-nav-item > a {
        min-height: 34px;
        padding: 0 10px 0 20px;
    }

    .doc-outline-mobile-panel .doc-outline-list {
        gap: 6px;
        padding-top: 8px;
    }

    .doc-outline-mobile-panel .doc-outline-list a {
        font-size: 0.8rem;
    }

    html[data-theme="dark"] .doc-nav-mobile-toggle,
    html[data-theme="dark"] .doc-outline-mobile-toggle,
    html[data-theme="dark"] .doc-nav-mobile-toggle:hover,
    html[data-theme="dark"] .doc-nav-mobile-toggle:focus-visible,
    html[data-theme="dark"] .doc-outline-mobile-toggle:hover,
    html[data-theme="dark"] .doc-outline-mobile-toggle:focus-visible {
        border: 0;
        background: transparent;
    }

    .post-content-body {
        font-size: 0.94rem;
        line-height: 1.82;
    }

    .post-content-body h2 {
        font-size: 1.18rem;
    }

    .post-content-body h3 {
        font-size: 1.02rem;
    }

    .post-content-body pre,
    .post-content-body table {
        width: 100%;
        border-radius: 12px;
    }

    .post-content-body pre {
        padding: 16px;
    }

    .post-content-body :not(pre) > code {
        word-break: break-all;
    }

    .post-content-body th,
    .post-content-body td {
        padding: 10px 12px;
    }

    .post-pager {
        grid-template-columns: 1fr;
    }

    .post-pager-link-next {
        text-align: left;
    }

    .discussion-list-head h3 {
        font-size: 0.94rem;
    }

    .discussion-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .discussion-form-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .discussion-textarea {
        min-height: 152px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .discussion-editor-divider {
        margin-left: 18px;
        margin-right: 18px;
    }

    .discussion-editor-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 16px 14px;
    }

    .discussion-comment-children {
        padding-left: 14px;
    }

    .discussion-input,
    .discussion-input-secondary,
    .discussion-current-user {
        max-width: none;
        width: 100%;
    }

    .discussion-form-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .discussion-submit {
        width: 100%;
        min-width: 0;
    }

    .dochub-backtop {
        right: 16px;
        bottom: 16px;
        width: 38px;
        height: 38px;
    }

    .dochub-backtop-icon,
    .dochub-backtop-icon svg {
        width: 16px;
        height: 16px;
    }

    .footer-meta {
        padding-top: 14px;
        font-size: 0.8rem;
    }

    .dochub-lightbox {
        padding: 16px;
    }

    .dochub-lightbox-image {
        max-height: calc(100vh - 72px);
        border-radius: 12px;
    }

    .dochub-lightbox-close {
        top: 12px;
        right: 12px;
    }
}
