@charset "UTF-8";

body.article-detail-page {
    --article-page-bg: #f3f6fa;
    --article-surface: #ffffff;
    --article-border: #e6ebf2;
    --article-heading: #172033;
    --article-text: #344054;
    --article-muted: #7b8798;
    --article-shadow: 0 18px 54px rgba(31, 50, 81, .08), 0 2px 8px rgba(31, 50, 81, .04);
    background: var(--article-page-bg);
    color: var(--article-text);
}

.article-detail-page .article-detail-main {
    overflow: visible !important;
    padding-top: 34px !important;
    padding-bottom: 54px !important;
    background: transparent !important;
}

.article-detail-page .article-detail-shell {
    width: 100%;
    padding: 0 20px;
}

.article-detail-page .article-detail-breadcrumb {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 16px;
    border: 0;
    color: var(--article-muted);
    font-size: 13px;
}

.article-detail-page .article-detail-breadcrumb ul {
    display: flex;
    align-items: center;
    height: auto;
    line-height: 1.5;
}

.article-detail-page .article-detail-breadcrumb ul li {
    position: relative;
    padding: 7px 0;
    background: transparent;
    color: inherit !important;
    font-weight: 500;
}

.article-detail-page .article-detail-breadcrumb ul li.sta {
    background: transparent;
    color: var(--article-muted) !important;
    font-weight: 600;
}

.article-detail-page .article-detail-breadcrumb ul li + li {
    margin-left: 24px;
}

.article-detail-page .article-detail-breadcrumb ul li + li::before {
    position: absolute;
    left: -15px;
    color: #bdc5d1;
    content: "/";
}

.article-detail-page .article-detail-breadcrumb ul li:first-child:hover {
    color: var(--main-now-color) !important;
}

.article-detail-page .article-detail-card {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 58px 70px 70px;
    border: 1px solid var(--article-border);
    border-radius: 24px;
    background: var(--article-surface);
    box-shadow: var(--article-shadow);
}

.article-detail-page .ArticleIntroduction {
    max-width: 900px;
    margin: 0 auto 44px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--article-border);
    text-align: center;
}

.article-detail-page .ArticleIntroduction .ArticleName {
    margin: 0;
    color: var(--article-heading);
    font-size: clamp(34px, 3vw, 42px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.32;
}

.article-detail-page .ArticleIntroduction .Order {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 18px;
    color: var(--article-muted);
    font-size: 13px;
    line-height: 1.6;
}

.article-detail-page .ArticleIntroduction .Order > div:nth-of-type(n+2) {
    margin-left: 0;
}

.article-detail-page .ArticleIntroduction .userTime {
    position: relative;
}

.article-detail-page .ArticleIntroduction .userTime + .userTime::before {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b3bdcb;
    content: "";
    transform: translateY(-50%);
}

.article-detail-page .ArticleIframeContent {
    min-width: 0;
    max-width: 900px;
    margin: 0 auto;
    color: var(--article-text);
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
    word-break: normal;
}

.article-detail-page .ArticleIframeContent p {
    margin: 0 0 1.35em;
}

.article-detail-page .ArticleIframeContent h2,
.article-detail-page .ArticleIframeContent h3,
.article-detail-page .ArticleIframeContent h4 {
    color: var(--article-heading);
    font-weight: 750;
    line-height: 1.45;
}

.article-detail-page .ArticleIframeContent h2 {
    position: relative;
    margin: 2.6em 0 .9em;
    padding-left: 16px;
    font-size: 27px;
    letter-spacing: -.02em;
}

.article-detail-page .ArticleIframeContent h2::before {
    position: absolute;
    top: .24em;
    bottom: .24em;
    left: 0;
    width: 4px;
    border-radius: 4px;
    background: var(--main-now-color);
    content: "";
}

.article-detail-page .ArticleIframeContent h3 {
    margin: 2.2em 0 .75em;
    font-size: 22px;
}

.article-detail-page .ArticleIframeContent h4 {
    margin: 1.8em 0 .65em;
    font-size: 19px;
}

.article-detail-page .ArticleIframeContent strong {
    color: #202a3d;
    font-weight: 700;
}

.article-detail-page .ArticleIframeContent a {
    color: var(--main-now-color);
    text-decoration-color: rgba(var(--main-now-color-rgb), .4);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-detail-page .ArticleIframeContent img,
.article-detail-page .ArticleIframeContent video,
.article-detail-page .ArticleIframeContent iframe,
.article-detail-page .ArticleIframeContent svg,
.article-detail-page .ArticleIframeContent canvas {
    max-width: 100% !important;
}

.article-detail-page .ArticleIframeContent img {
    display: block;
    width: auto !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 50, 81, .1);
}

.article-detail-page .ArticleIframeContent table {
    display: block;
    width: max-content !important;
    max-width: 100% !important;
    margin: 28px 0;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.article-detail-page .ArticleIframeContent blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--main-now-color);
    border-radius: 0 12px 12px 0;
    background: rgba(var(--main-now-color-rgb), .06);
    color: #526176;
}

.article-detail-page .ArticleIframeContent pre {
    max-width: 100%;
    margin: 28px 0;
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: 12px;
    white-space: pre;
}

.article-detail-page .ArticleIframeContent code {
    overflow-wrap: normal;
    word-break: normal;
}

.article-detail-page .article-origin-notice {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 18px 22px;
    border: 1px solid rgba(var(--main-now-color-rgb), .18);
    border-radius: 12px;
    background: rgba(var(--main-now-color-rgb), .055);
    color: #526176;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
}

.article-detail-page .article-origin-notice a {
    margin-left: 5px;
    color: var(--main-now-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

html.portal-dark body.article-detail-page {
    --article-page-bg: #0b1220;
    --article-surface: #111b2e;
    --article-border: #293a52;
    --article-heading: #f2f6fc;
    --article-text: #d7e2f1;
    --article-muted: #91a2b8;
    --article-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

html.portal-dark .article-detail-page .article-detail-breadcrumb ul li + li::before {
    color: #586a83;
}

html.portal-dark .article-detail-page .ArticleIframeContent strong {
    color: #f0f5fc;
}

html.portal-dark .article-detail-page .ArticleIframeContent blockquote,
html.portal-dark .article-detail-page .article-origin-notice {
    color: #afbed1;
}

html.portal-dark .article-detail-page .ArticleIframeContent img {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

@media screen and (max-width: 770px) {
    .article-detail-page .article-detail-main {
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        padding: 0 8px 30px !important;
    }

    .article-detail-page .article-detail-shell {
        padding: 0;
    }

    .article-detail-page .article-detail-breadcrumb {
        margin-bottom: 10px;
        padding: 0 8px;
        overflow: visible;
        font-size: 12px;
    }

    .article-detail-page .article-detail-breadcrumb ul {
        height: auto;
        line-height: 1.5;
    }

    .article-detail-page .article-detail-breadcrumb ul li {
        padding: 6px 0;
    }

    .article-detail-page .article-detail-card {
        padding: 30px 20px 38px;
        border-radius: 16px;
    }

    .article-detail-page .ArticleIntroduction {
        margin-bottom: 30px;
        padding-bottom: 24px;
    }

    .article-detail-page .ArticleIntroduction .ArticleName {
        font-size: 28px;
        letter-spacing: -.025em;
        line-height: 1.38;
    }

    .article-detail-page .ArticleIntroduction .Order {
        gap: 5px 18px;
        margin-top: 14px;
        font-size: 12px;
    }

    .article-detail-page .ArticleIntroduction .userTime + .userTime::before {
        left: -10px;
    }

    .article-detail-page .ArticleIframeContent {
        font-size: 16px;
        line-height: 1.88;
    }

    .article-detail-page .ArticleIframeContent p {
        margin-bottom: 1.25em;
    }

    .article-detail-page .ArticleIframeContent h2 {
        margin-top: 2.25em;
        padding-left: 13px;
        font-size: 23px;
    }

    .article-detail-page .ArticleIframeContent h2::before {
        width: 3px;
    }

    .article-detail-page .ArticleIframeContent h3 {
        font-size: 20px;
    }

    .article-detail-page .ArticleIframeContent img {
        margin: 24px auto;
        border-radius: 10px;
    }

    .article-detail-page .ArticleIframeContent blockquote {
        margin: 22px 0;
        padding: 16px 18px;
    }

    .article-detail-page .article-origin-notice {
        margin-top: 36px;
        padding: 16px 18px;
        text-align: left;
    }
}

@media screen and (max-width: 390px) {
    .article-detail-page .article-detail-card {
        padding-right: 16px;
        padding-left: 16px;
    }

    .article-detail-page .ArticleIntroduction .ArticleName {
        font-size: 26px;
    }
}
