[hidden] {
    display: none !important;
}

/* =========================================================
   独立文章页
   ========================================================= */
.article-page {
    min-height: 100vh;
    background-attachment: fixed;
}

.article-page footer {
    position: static;
    top: auto;
    width: auto;
    padding: 0;
    font-size: inherit;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color), rgba(132, 199, 254, .45));
    box-shadow: 0 0 12px rgba(132, 199, 254, .5);
    transition: width .08s linear;
}

.article-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px max(24px, calc((100vw - 1100px) / 2));
    border-bottom: 1px solid var(--black-a-5);
    background: rgba(8, 14, 24, .38);
    backdrop-filter: blur(18px);
}

.article-brand {
    color: #f4fbff;
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 19px;
    letter-spacing: .03em;
    text-decoration: none;
}

.article-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-back {
    color: rgba(244, 251, 255, .6);
    font-size: 12px;
    text-decoration: none;
    transition: color .25s;
}

.article-back:hover {
    color: var(--theme-color);
}

.article-theme {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #f4fbff;
    font-size: 16px;
    cursor: pointer;
    transition: border-color .25s, transform .25s;
}

.article-theme:hover {
    border-color: var(--theme-color);
    transform: rotate(-12deg);
}

.article-shell {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 118px 0 56px;
}

.article-paper {
    overflow: hidden;
    border: 1px solid var(--black-a-10);
    border-radius: 22px;
    background: var(--container-1);
    box-shadow: 0 26px 90px rgba(0, 0, 0, .18);
    backdrop-filter: blur(30px);
}

.article-cover {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: var(--black-a-10);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
}

.article-cover-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 10, 20, .05) 25%, rgba(4, 10, 20, .72) 100%),
        linear-gradient(90deg, rgba(4, 10, 20, .2), transparent 60%);
}

.article-cover-meta {
    position: absolute;
    bottom: 20px;
    left: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .88);
    font-family: var(--mono, monospace);
    font-size: 10px;
    letter-spacing: .06em;
}

.article-category {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(0, 0, 0, .22);
    color: #eaf8ff;
    backdrop-filter: blur(5px);
}

.article-head {
    padding: 38px 54px 26px;
}

.article-kicker {
    margin: 0 0 12px;
    color: var(--theme-color);
    font-family: var(--mono, monospace);
    font-size: 10px;
    letter-spacing: .1em;
}

.article-head h1 {
    margin: 0;
    color: var(--txt-b-pure);
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.article-lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--black-a-60);
    font-size: 15px;
    line-height: 2;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 46px;
    padding: 0 54px 42px;
}

.article-content {
    min-width: 0;
    color: var(--black-a-80);
    font-size: 15px;
    line-height: 2.15;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content p {
    margin: 0 0 1.5em;
}

.article-content h2 {
    margin: 2.3em 0 .9em;
    padding-top: .2em;
    color: var(--txt-b-pure);
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.article-content h2::before {
    content: "#";
    margin-right: 8px;
    color: var(--theme-color);
    font-family: var(--mono, monospace);
    font-size: 13px;
    font-weight: 400;
    opacity: .55;
}

.article-content h3 {
    margin: 1.8em 0 .7em;
    color: var(--txt-b-pure);
    font-size: 18px;
}

.article-content a {
    color: var(--theme-color);
    border-bottom: 1px solid rgba(132, 199, 254, .35);
    text-decoration: none;
}

.article-content blockquote {
    margin: 1.8em 0;
    padding: 14px 20px;
    border-left: 2px solid var(--theme-color);
    background: var(--black-a-5);
    color: var(--black-a-60);
}

.article-content code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--black-a-10);
    font-family: var(--mono, monospace);
    font-size: .9em;
}

.article-content pre {
    overflow-x: auto;
    padding: 18px;
    border: 1px solid var(--black-a-10);
    border-radius: 12px;
    background: rgba(0, 0, 0, .28);
}

.article-content pre code {
    padding: 0;
    background: transparent;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
}

.article-toc {
    position: sticky;
    top: 102px;
    align-self: start;
    padding: 16px 0 0;
}

.article-toc-title {
    margin: 0 0 12px;
    color: var(--black-a-50);
    font-family: var(--mono, monospace);
    font-size: 9px;
    letter-spacing: .12em;
}

.article-toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-toc a {
    padding: 5px 0 5px 12px;
    border-left: 1px solid var(--black-a-10);
    color: var(--black-a-50);
    font-size: 11px;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s, border-color .2s;
}

.article-toc a:hover,
.article-toc a.is-active {
    border-color: var(--theme-color);
    color: var(--txt-b-pure);
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 54px;
    padding: 22px 0;
    border-top: 1px solid var(--black-a-5);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.article-tags span {
    padding: 4px 9px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    color: var(--black-a-50);
    font-size: 10px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-copy-link {
    padding: 7px 12px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    background: transparent;
    color: var(--black-a-60);
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    transition: border-color .25s, color .25s;
}

.article-copy-link:hover {
    border-color: var(--theme-color);
    color: var(--txt-b-pure);
}

.article-copy-tip {
    color: var(--theme-color);
    font-size: 10px;
    opacity: 0;
    transition: opacity .2s;
}

.article-copy-tip.is-show {
    opacity: 1;
}

.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.article-pager-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid var(--black-a-10);
    border-radius: 14px;
    background: var(--white-a-30);
    text-decoration: none;
    transition: border-color .25s, transform .25s;
}

.article-pager-link:hover {
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

.article-pager-link.is-empty {
    visibility: hidden;
}

.article-pager-next {
    text-align: right;
}

.article-pager-label {
    color: var(--black-a-50);
    font-family: var(--mono, monospace);
    font-size: 9px;
    letter-spacing: .1em;
}

.article-pager-title {
    overflow: hidden;
    color: var(--txt-b-pure);
    font-size: 12px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-site-footer {
    padding: 40px 0 10px;
    color: var(--black-a-50);
    font-size: 11px;
    line-height: 2;
    text-align: center;
}

.article-site-footer a {
    color: var(--black-a-60);
    border-bottom: 1px solid var(--black-a-10);
    text-decoration: none;
}

.article-site-footer a:hover {
    color: var(--theme-color);
}

.article-copyright {
    margin-top: 16px;
    font-size: 9px;
    opacity: .62;
}

.article-error {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--container-1);
    color: var(--txt-b-pure);
    text-align: center;
}

.article-error[hidden] {
    display: none;
}

.article-error a {
    color: var(--theme-color);
}

@media screen and (max-width: 900px) {
    .article-nav {
        padding: 14px 18px;
    }

    .article-shell {
        width: min(100% - 24px, 760px);
        padding-top: 100px;
    }

    .article-cover {
        height: 300px;
    }

    .article-head {
        padding: 28px 28px 22px;
    }

    .article-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 28px 32px;
    }

    .article-toc {
        position: static;
        order: -1;
        padding: 14px 16px;
        border: 1px solid var(--black-a-5);
        border-radius: 12px;
        background: var(--black-a-5);
    }

    .article-toc nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 14px;
    }

    .article-toc a {
        padding: 2px 0;
        border-left: 0;
        border-bottom: 1px solid transparent;
    }

    .article-toc a.is-active {
        border-bottom-color: var(--theme-color);
    }

    .article-footer {
        margin: 0 28px;
    }
}

@media screen and (max-width: 600px) {
    .article-back {
        font-size: 11px;
    }

    .article-brand {
        font-size: 17px;
    }

    .article-shell {
        width: calc(100% - 16px);
        padding-top: 88px;
    }

    .article-paper {
        border-radius: 16px;
    }

    .article-cover {
        height: 260px;
    }

    .article-cover-meta {
        bottom: 14px;
        left: 18px;
    }

    .article-head {
        padding: 22px 18px 18px;
    }

    .article-head h1 {
        font-size: 27px;
    }

    .article-lead {
        font-size: 13px;
        line-height: 1.9;
    }

    .article-layout {
        gap: 18px;
        padding: 0 18px 26px;
    }

    .article-content {
        font-size: 14px;
        line-height: 2.05;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 0 18px;
    }

    .article-pager {
        grid-template-columns: 1fr;
    }

    .article-pager-next {
        text-align: left;
    }

    .article-site-footer {
        padding-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reading-progress,
    .article-pager-link,
    .article-theme {
        transition: none;
    }
}

/* =========================================================
   评论
   ========================================================= */
.article-user {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.article-user a,
.article-user-name {
    overflow: hidden;
    max-width: 120px;
    color: rgba(244, 251, 255, .72);
    font-size: 11px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-user a:hover {
    color: #87c7fe;
}

.article-user-logout {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(244, 251, 255, .36);
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.article-user-logout:hover {
    color: #ffb1ba;
}

.comments-paper {
    margin-top: 18px;
    padding: 30px 54px 34px;
    border: 1px solid var(--black-a-10);
    border-radius: 22px;
    background: var(--container-1);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .13);
    backdrop-filter: blur(30px);
}

.comments-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--black-a-5);
}

.comments-eyebrow {
    margin: 0 0 5px;
    color: var(--theme-color);
    font-family: var(--mono, monospace);
    font-size: 8px;
    letter-spacing: .16em;
}

.comments-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--txt-b-pure);
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 24px;
    font-weight: 600;
}

.comments-count {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    color: var(--black-a-50);
    font-family: var(--mono, monospace);
    font-size: 10px;
    font-weight: 400;
}

.comments-hint {
    margin: 0;
    color: var(--black-a-50);
    font-size: 10px;
}

.comments-guest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px dashed var(--black-a-15);
    border-radius: 12px;
    background: var(--black-a-5);
}

.comments-guest p {
    margin: 0;
    color: var(--black-a-60);
    font-size: 12px;
    line-height: 1.7;
}

.comments-login-link {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(132, 199, 254, .35);
    border-radius: 999px;
    background: rgba(132, 199, 254, .13);
    color: var(--theme-color);
    font-size: 10px;
    text-decoration: none;
    transition: background-color .25s, transform .25s;
}

.comments-login-link:hover {
    background: rgba(132, 199, 254, .22);
    transform: translateY(-1px);
}

.comment-form {
    margin-top: 20px;
}

.comment-form textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    padding: 14px 16px;
    border: 1px solid var(--black-a-10);
    border-radius: 12px;
    outline: 0;
    background: var(--white-a-30);
    color: var(--txt-b-pure);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.8;
    resize: vertical;
    transition: border-color .25s, box-shadow .25s;
}

.comment-form textarea::placeholder {
    color: var(--black-a-40);
}

.comment-form textarea:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(132, 199, 254, .08);
}

.comment-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.comment-counter {
    color: var(--black-a-40);
    font-family: var(--mono, monospace);
    font-size: 9px;
}

.comment-submit {
    padding: 9px 18px;
    border: 1px solid rgba(132, 199, 254, .35);
    border-radius: 999px;
    background: var(--theme-color);
    color: #061321;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, opacity .25s;
}

.comment-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(132, 199, 254, .3);
}

.comment-submit:disabled {
    opacity: .5;
    cursor: default;
}

.comment-error,
.comment-status {
    margin: 12px 0 0;
    font-size: 10px;
    line-height: 1.7;
}

.comment-error {
    color: #e47b86;
}

.comment-status {
    color: var(--black-a-50);
}

.comment-status.is-error {
    color: #e47b86;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--black-a-5);
}

.comment-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.comment-avatar {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: linear-gradient(145deg, hsl(var(--avatar-hue) 55% 48%), hsl(var(--avatar-hue) 45% 32%));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}

.comment-body {
    min-width: 0;
    flex: 1;
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.comment-head strong {
    color: var(--txt-b-pure);
    font-size: 12px;
    font-weight: 600;
}

.comment-head time {
    color: var(--black-a-40);
    font-family: var(--mono, monospace);
    font-size: 9px;
}

.comment-delete {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--black-a-40);
    font-family: inherit;
    font-size: 9px;
    cursor: pointer;
}

.comment-delete:hover {
    color: #e47b86;
}

.comment-text {
    margin: 7px 0 0;
    color: var(--black-a-70);
    font-size: 12px;
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.comment-empty {
    margin: 20px 0 0;
    padding: 22px;
    border: 1px dashed var(--black-a-10);
    border-radius: 12px;
    color: var(--black-a-40);
    font-size: 11px;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .comments-paper {
        padding: 24px 28px 28px;
    }
}

@media screen and (max-width: 600px) {
    .article-user-name,
    .article-user a {
        max-width: 64px;
    }

    .article-back {
        display: none;
    }

    .comments-paper {
        margin-top: 12px;
        padding: 22px 18px 24px;
        border-radius: 16px;
    }

    .comments-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .comments-guest {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .comment-item {
        gap: 10px;
    }

    .comment-avatar {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .comment-text {
        font-size: 11.5px;
    }
}

/* 文章点赞 */
.article-like-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.article-like {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    background: var(--white-a-30);
    color: var(--black-a-60);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: border-color .2s, color .2s, background-color .2s, transform .2s;
    overflow: visible;
}

.article-like:hover {
    border-color: var(--theme-color);
    color: var(--txt-b-pure);
    transform: translateY(-1px);
}

.article-like-icon {
    width: 15px;
    height: 15px;
    transition: fill .2s, transform .2s;
}

.article-like.is-liked .article-like-icon {
    fill: currentColor;
    transform: scale(1.18);
}

.article-like-count {
    color: var(--txt-b-pure);
    font-family: var(--mono, monospace);
    font-size: 11px;
}

.article-like-label {
    color: var(--black-a-50);
}

.article-like-hint {
    color: var(--black-a-40);
    font-size: 9px;
}

.article-like-float {
    position: absolute;
    top: 1px;
    right: 13px;
    color: var(--theme-color);
    font-family: var(--mono, monospace);
    font-size: 10px;
    pointer-events: none;
    animation: likeFloat .62s ease-out forwards;
}

@keyframes likeFloat {
    0% {
        opacity: 0;
        transform: translateY(4px) scale(.8);
    }
    25% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-18px) scale(1.05);
    }
}

@media screen and (max-width: 600px) {
    .article-like-row {
        margin-top: 16px;
    }

    .article-like {
        padding: 7px 12px;
        font-size: 10px;
    }

    .article-like-hint {
        font-size: 9px;
    }
}

/* 阅读页的排版收束 */
.article-layout.no-toc {
    display: block;
}

.article-layout.no-toc .article-content {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.article-content {
    max-width: 720px;
    font-size: 15.5px;
}

.article-content > p:first-child {
    color: var(--txt-b-pure);
    font-size: 16px;
    letter-spacing: .01em;
}

.article-lead {
    max-width: 780px;
    padding: 2px 0 2px 18px;
    border-left: 2px solid var(--theme-color);
    color: var(--black-a-70);
    font-size: 14px;
}

.article-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 20px 54px 4px;
    color: var(--black-a-40);
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 11px;
    letter-spacing: .18em;
}

.article-end span {
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--black-a-15));
}

.article-end span:last-child {
    background: linear-gradient(90deg, var(--black-a-15), transparent);
}

.article-end i {
    font-style: normal;
    color: var(--black-a-50);
}

.article-head {
    max-width: 920px;
}

.article-cover img {
    filter: saturate(.92) contrast(1.02);
}

.article-paper {
    position: relative;
}

.article-paper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    left: 9%;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190, 235, 255, .48), transparent);
    pointer-events: none;
}

.article-toc {
    padding-top: 8px;
}

.article-toc a {
    font-size: 11px;
}

.article-pager-link {
    background: var(--white-a-1);
}

.article-pager-link:hover .article-pager-title {
    color: var(--theme-color);
}

.article-site-footer {
    opacity: .92;
}

@media screen and (max-width: 900px) {
    .article-content {
        max-width: none;
    }

    .article-end {
        margin-right: 28px;
        margin-left: 28px;
    }

    .article-lead {
        max-width: none;
    }
}

@media screen and (max-width: 600px) {
    .article-content {
        font-size: 14px;
    }

    .article-content > p:first-child {
        font-size: 14.5px;
    }

    .article-lead {
        padding-left: 13px;
        font-size: 12.5px;
    }

    .article-end {
        margin-right: 18px;
        margin-left: 18px;
    }
}

/* =========================================================
   v60 阅读页：更像一篇独立博客，而不是卡片落地页
   ========================================================= */
.article-nav {
    border-bottom: 1px solid var(--black-a-5);
    background: var(--container-1);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .05);
}

.article-brand {
    color: var(--txt-b-pure);
    text-shadow: none;
}

.article-back {
    color: var(--black-a-60);
}

.article-back:hover {
    color: var(--theme-color);
}

.article-theme {
    border-color: var(--black-a-10);
    background: var(--white-a-30);
    color: var(--txt-b-pure);
}

.article-shell {
    width: min(980px, calc(100% - 40px));
    padding-top: 104px;
}

.article-paper {
    border-radius: 7px;
    border: 1px solid var(--black-a-10);
    background: var(--container-1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .14);
}

.article-paper::before {
    display: none;
}

.article-cover {
    height: 420px;
}

.article-head {
    max-width: none;
    padding: 36px 54px 22px;
}

.article-head h1 {
    max-width: 860px;
    font-size: clamp(31px, 4.2vw, 47px);
    line-height: 1.3;
}

.article-byline {
    margin: 13px 0 0;
    color: var(--black-a-40);
    font-family: var(--mono, monospace);
    font-size: 9px;
    letter-spacing: .1em;
}

.article-lead {
    margin-top: 20px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.95;
}

.article-like-row {
    margin-top: 18px;
}

.article-layout {
    gap: 38px;
    padding: 0 54px 16px;
}

.article-layout.no-toc .article-content {
    max-width: 730px;
}

.article-content {
    font-size: 15.5px;
    line-height: 2.2;
}

.article-content > p:first-child {
    font-size: 16px;
    line-height: 2.25;
}

.article-content h2 {
    margin-top: 2.1em;
    padding-top: 1em;
    border-top: 1px solid var(--black-a-5);
}

.article-end {
    margin: 16px 54px 0;
}

.article-footer {
    margin: 0 54px;
    padding: 20px 0;
    border-top: 1px solid var(--black-a-5);
}

.comments-paper {
    margin: 0;
    padding: 30px 54px 38px;
    border: 0;
    border-top: 1px solid var(--black-a-5);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.comments-head h2 {
    font-size: 22px;
}

.comments-guest {
    border-style: solid;
    background: var(--black-a-5);
}

.article-pager {
    width: min(980px, 100%);
    margin: 20px auto 0;
    gap: 0;
    border-top: 1px solid var(--black-a-10);
    border-bottom: 1px solid var(--black-a-5);
}

.article-pager-link {
    padding: 18px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.article-pager-link:hover {
    background: transparent;
    transform: none;
}

.article-pager-prev {
    padding-right: 24px;
}

.article-pager-next {
    padding-left: 24px;
    border-left: 1px solid var(--black-a-5);
}

.article-pager-title {
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 15px;
    font-weight: 500;
}

.article-pager-link:hover .article-pager-title {
    color: var(--theme-color);
}

.article-site-footer {
    padding-top: 36px;
    opacity: .9;
}

@media screen and (max-width: 900px) {
    .article-shell {
        width: min(100% - 24px, 760px);
        padding-top: 92px;
    }

    .article-cover {
        height: 320px;
    }

    .article-head {
        padding: 28px 28px 18px;
    }

    .article-layout {
        padding: 0 28px 14px;
    }

    .article-end {
        margin-right: 28px;
        margin-left: 28px;
    }

    .article-footer {
        margin: 0 28px;
    }

    .comments-paper {
        padding: 26px 28px 30px;
    }

    .article-pager {
        width: min(100% - 24px, 760px);
    }
}

@media screen and (max-width: 600px) {
    .article-nav {
        padding: 12px 16px;
    }

    .article-brand {
        font-size: 17px;
    }

    .article-shell {
        width: calc(100% - 16px);
        padding-top: 82px;
    }

    .article-paper {
        border-radius: 5px;
    }

    .article-cover {
        height: 220px;
    }

    .article-head {
        padding: 24px 20px 16px;
    }

    .article-head h1 {
        font-size: 28px;
        line-height: 1.38;
    }

    .article-byline {
        margin-top: 10px;
    }

    .article-lead {
        margin-top: 16px;
        padding-left: 13px;
        font-size: 12.5px;
    }

    .article-layout {
        padding: 0 20px 12px;
    }

    .article-content {
        font-size: 14px;
        line-height: 2.1;
    }

    .article-content > p:first-child {
        font-size: 14.5px;
    }

    .article-end {
        margin-right: 20px;
        margin-left: 20px;
    }

    .article-footer {
        margin: 0 20px;
        padding: 16px 0;
    }

    .comments-paper {
        padding: 24px 20px 28px;
    }

    .article-pager {
        width: calc(100% - 16px);
        grid-template-columns: 1fr;
    }

    .article-pager-next {
        border-top: 1px solid var(--black-a-5);
        border-left: 0;
    }

    .article-pager-link {
        padding: 15px 2px;
    }
}

/* =========================================================
   v62 标题先行 + 文中配图 + 有手感的喜欢
   ========================================================= */
.article-head {
    padding: 46px 54px 18px;
}

.article-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 15px;
}

.article-topline .article-category {
    padding: 3px 9px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    background: var(--black-a-5);
    color: var(--theme-color);
    font-family: var(--mono, monospace);
    font-size: 9px;
    letter-spacing: .04em;
}

.article-topline > span:not(.article-category) {
    color: var(--black-a-40);
    font-family: var(--mono, monospace);
    font-size: 9px;
    letter-spacing: .04em;
}

.article-topline > span + span::before {
    content: "·";
    margin-right: 9px;
    color: var(--black-a-20);
}

.article-head h1 {
    margin-top: 0;
}

.article-byline {
    margin-top: 12px;
}

.article-lead {
    margin-top: 20px;
}

/* 配图放在标题下面，而不是做成落地页大横幅 */
.article-figure {
    width: min(760px, calc(100% - 108px));
    margin: 4px auto 30px;
}

.article-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    object-fit: cover;
    border: .5px solid var(--black-a-10);
    border-radius: 4px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.article-figure figcaption {
    margin-top: 7px;
    color: var(--black-a-30);
    font-family: var(--mono, monospace);
    font-size: 8px;
    letter-spacing: .08em;
    text-align: right;
}

.article-layout {
    padding-top: 0;
}

/* 喜欢 */
.article-like-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    min-height: 48px;
}

.article-like {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 18px 0 8px;
    border: 1px solid var(--black-a-10);
    border-radius: 999px;
    background: var(--white-a-30);
    color: var(--black-a-70);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    overflow: visible;
    transition: border-color .2s, color .2s, background-color .2s, transform .15s;
}

.article-like:hover {
    border-color: var(--theme-color);
    color: var(--txt-b-pure);
    background: var(--black-a-5);
}

.article-like:active {
    transform: scale(.96);
}

.article-like-heart {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--theme-color), rgba(93, 170, 236, .75));
    color: #07111f;
    box-shadow: 0 5px 14px rgba(100, 185, 255, .24);
    transition: transform .2s, box-shadow .2s;
}

.article-like-icon {
    width: 16px;
    height: 16px;
}

.article-like:hover .article-like-heart {
    box-shadow: 0 7px 20px rgba(100, 185, 255, .38);
}

.article-like.is-liked .article-like-heart {
    animation: heartPop .36s cubic-bezier(.2, .9, .3, 1.3);
}

.article-like.is-liked .article-like-icon {
    fill: currentColor;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    38% { transform: scale(1.32) rotate(-8deg); }
    70% { transform: scale(.92); }
    100% { transform: scale(1); }
}

.article-like-count-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: var(--black-a-40);
    font-size: 9px;
    transition: color .2s;
}

.article-like-count-wrap strong {
    color: var(--txt-b-pure);
    font-family: "思源宋体 SemiBold", "Songti SC", "STSong", "SimSun", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    transition: transform .18s, color .18s;
}

.article-like-count-wrap.is-bumped strong {
    color: var(--theme-color);
    animation: countBump .34s cubic-bezier(.2, .9, .3, 1.3);
}

@keyframes countBump {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-4px) scale(1.18); }
    100% { transform: translateY(0) scale(1); }
}

.article-like-heart-float {
    position: absolute;
    top: 9px;
    left: 20px;
    z-index: 2;
    color: var(--theme-color);
    font-size: calc(10px * var(--s, 1));
    line-height: 1;
    pointer-events: none;
    animation: likeHeartFly .82s ease-out var(--d, 0ms) forwards;
    text-shadow: 0 0 8px rgba(132, 199, 254, .65);
}

@keyframes likeHeartFly {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(0) scale(.6);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1.1);
    }
}

/* 文章页的唱片放到右下，不压标题 */
.article-page .record-player {
    top: auto;
    right: 22px;
    bottom: 22px;
}

@media screen and (max-width: 900px) {
    .article-head {
        padding: 32px 28px 16px;
    }

    .article-figure {
        width: calc(100% - 56px);
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 600px) {
    .article-head {
        padding: 26px 20px 14px;
    }

    .article-topline {
        gap: 7px;
        margin-bottom: 12px;
    }

    .article-topline > span + span::before {
        margin-right: 7px;
    }

    .article-lead {
        margin-top: 16px;
    }

    .article-figure {
        width: calc(100% - 40px);
        margin-bottom: 22px;
    }

    .article-figure img {
        aspect-ratio: 1.75 / 1;
    }

    .article-like-row {
        margin-top: 20px;
    }

    .article-like {
        height: 44px;
        padding-right: 16px;
    }

    .article-like-heart {
        width: 29px;
        height: 29px;
    }

    .article-like-count-wrap strong {
        font-size: 20px;
    }

    .article-page .record-player {
        top: auto;
        right: 12px;
        bottom: 14px;
    }
}

/* =========================================================
   v63 设计规范复查：12px 下限、0.5px 边框、安全区、触控热区
   ========================================================= */
.article-paper,
.article-figure img,
.article-like,
.article-pager,
.article-pager-next {
    border-width: .5px;
}

.article-topline .article-category,
.article-topline > span:not(.article-category) {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.article-topline > span + span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin-right: 9px;
    background: var(--black-a-15);
    vertical-align: -1px;
}

.article-head h1,
.comments-head h2 {
    text-wrap: balance;
}

.article-byline {
    font-size: 12px;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.article-lead {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--black-a-10);
    border-left: 0;
}

.article-end {
    font-size: 12px;
}

.article-tags span {
    font-size: 12px;
}

.article-copy-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
}

.article-copy-tip {
    font-size: 12px;
}

.article-pager-label {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.article-pager-title {
    font-size: 15px;
}

.article-toc a {
    font-size: 12px;
}

.article-site-footer {
    font-size: 12px;
}

.article-copyright {
    font-size: 12px;
}

.article-footer-sep {
    display: inline-block;
    width: 1px;
    height: 10px;
    margin: 0 8px;
    background: var(--black-a-15);
    vertical-align: -1px;
}

/* 导航触控热区 */
.article-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    font-size: 12px;
}

.article-theme {
    width: 44px;
    height: 44px;
    font-size: 17px;
}

.article-user a,
.article-user-logout {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
}

.article-user-logout {
    padding: 0 4px;
}

/* 喜欢数字和文字 */
.article-like,
.article-like-count-wrap {
    font-size: 12px;
}

.article-like-count-wrap strong {
    font-variant-numeric: tabular-nums;
}

/* 评论 */
.comments-hint,
.comment-counter,
.comment-head time,
.comment-delete,
.comment-status,
.comment-error {
    font-size: 12px;
}

.comment-head strong {
    font-size: 13px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.9;
}

.comment-delete {
    min-width: 44px;
    min-height: 32px;
    padding: 4px 0;
}

.comments-login-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
}

.comment-form textarea {
    font-size: 14px;
}

.comment-head time {
    font-variant-numeric: tabular-nums;
}

/* 手机端安全区与软键盘 */
@media screen and (max-width: 600px) {
    .article-nav {
        padding-top: calc(12px + env(safe-area-inset-top));
        padding-right: calc(16px + env(safe-area-inset-right));
        padding-bottom: 12px;
        padding-left: calc(16px + env(safe-area-inset-left));
    }

    .article-shell {
        padding-top: calc(82px + env(safe-area-inset-top));
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .article-page .record-player {
        right: calc(12px + env(safe-area-inset-right));
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .article-like {
        height: 48px;
    }

    .article-like-heart {
        width: 32px;
        height: 32px;
    }

    .comment-form textarea,
    .article-field input {
        font-size: 16px;
    }

    .article-pager-link {
        min-height: 64px;
    }
}

html.dark .article-head h1,
html.dark .comments-head h2,
html.dark .article-pager-title {
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .article-like,
    .article-like-heart,
    .article-like-count-wrap strong {
        transition: none;
    }

    .article-like-heart-float {
        display: none;
    }
}

.article-nav,
.article-footer,
.comments-paper,
.article-pager {
    border-width: .5px;
}

.article-toc-title,
.comments-count,
.comment-empty {
    font-size: 12px;
}

.comment-delete {
    min-height: 44px;
}

.comment-avatar-img {
    display: block;
    padding: 0;
    object-fit: cover;
    background: var(--black-a-5);
}

/* 文章页昼夜同步 + 日间模式对比 */
.dn-toggle-article {
    display: inline-grid;
    place-items: center;
    width: 82px;
    height: 44px;
    margin: 0;
    overflow: hidden;
}

.article-user a,
.article-user-name {
    color: var(--black-a-60);
}

.article-user-logout {
    color: var(--black-a-50);
}

.article-user-logout:hover {
    color: #c14d59;
}

.article-like {
    background: transparent;
    border-color: var(--black-a-15);
    color: var(--black-a-70);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.article-like * {
    user-select: none;
    -webkit-user-select: none;
}

.article-like:hover {
    background: var(--black-a-5);
    color: var(--txt-b-pure);
}

.article-like-count-wrap {
    color: var(--black-a-50);
}

.article-like-label {
    color: var(--black-a-60);
}

.article-pager-label {
    color: var(--black-a-50);
}

.article-pager-title {
    color: var(--txt-b-pure);
}

.comment-delete {
    color: var(--black-a-50);
}

@media screen and (max-width: 600px) {
    .dn-toggle-article {
        width: 74px;
        height: 44px;
        --dn-scale: .082;
    }
}

.comment-avatar-wrap {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.comment-avatar-wrap .comment-avatar {
    width: 34px;
    height: 34px;
}

.comment-avatar-wrap[data-frame="ring"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(132, 199, 254, .72);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(132, 199, 254, .24);
    pointer-events: none;
}

.comment-avatar-wrap[data-frame="spark"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 20deg, #8ed1ff, #f7b2d9, #8ed1ff, #8ed1ff);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    pointer-events: none;
}

.comment-avatar-wrap[data-frame="spark"]::after {
    content: "✦";
    position: absolute;
    top: -3px;
    right: 0;
    color: #e8b6d8;
    font-size: 8px;
    line-height: 1;
    pointer-events: none;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-byline img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    border: .5px solid var(--black-a-10);
}

.article-byline span {
    display: inline-flex;
    align-items: center;
}

/* 文章页：新闻式顶部配图 + 模糊文章背景 + 更柔和的上下篇 */
body.article-page::before {
    content: "";
    position: fixed;
    inset: -28px;
    z-index: -2;
    background-image: var(--article-bg, none);
    background-size: cover;
    background-position: center;
    filter: blur(26px) brightness(.62);
    transform: scale(1.08);
    opacity: .9;
}

body.article-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(247, 252, 255, .5), rgba(238, 248, 254, .64));
}

html.dark body.article-page::after {
    background: linear-gradient(180deg, rgba(5, 13, 24, .62), rgba(5, 13, 24, .76));
}

.article-paper > .article-figure {
    width: 100%;
    margin: 0;
    padding: 0;
}

.article-paper > .article-figure img {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-paper > .article-head {
    padding-top: 30px;
}

.article-pager {
    gap: 12px;
    border: 0;
    background: transparent;
}

.article-pager-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82px;
    padding: 14px 18px;
    border: .5px solid var(--black-a-10);
    border-radius: 12px;
    background: var(--container-1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.article-pager-link:hover {
    border-color: var(--theme-color);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .1);
}

.article-pager-prev {
    align-items: flex-start;
    padding-right: 18px;
}

.article-pager-next {
    align-items: flex-end;
    padding-left: 18px;
    border-left: .5px solid var(--black-a-10);
    text-align: right;
}

.article-pager-label {
    color: var(--black-a-40);
    font-size: 11px;
}

.article-pager-label::before {
    content: "← ";
    color: var(--theme-color);
}

.article-pager-next .article-pager-label::before {
    content: "";
}

.article-pager-next .article-pager-label::after {
    content: " →";
    color: var(--theme-color);
}

.article-pager-title {
    margin-top: 4px;
    color: var(--txt-b-pure);
    font-size: 14px;
}

@media screen and (max-width: 600px) {
    body.article-page::before {
        filter: blur(18px) brightness(.66);
    }

    .article-paper > .article-figure img {
        aspect-ratio: 1.75 / 1;
        max-height: 280px;
    }

    .article-pager {
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    .article-pager-next {
        align-items: flex-start;
        padding-left: 18px;
        border-top: .5px solid var(--black-a-10);
        border-left: .5px solid var(--black-a-10);
        text-align: left;
    }

    .article-pager-next .article-pager-label::before {
        content: "← ";
        color: var(--theme-color);
    }

    .article-pager-next .article-pager-label::after {
        content: " ↓";
    }
}

.article-like.is-liked {
    border-color: var(--theme-color);
    background: color-mix(in srgb, var(--theme-color) 16%, transparent);
}

.article-like.is-liked .article-like-label {
    color: var(--txt-b-pure);
}

.article-like.is-liked .article-like-icon {
    fill: currentColor;
}

.article-like.is-liked .article-like-heart {
    background: linear-gradient(145deg, #ffb3c2, var(--theme-color));
}

.article-like.is-popping .article-like-heart {
    animation: heartPop .4s cubic-bezier(.2, .9, .3, 1.3);
}

.article-like-row.article-like-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 26px 0 0;
    padding: 20px 0 0;
    border-top: .5px solid var(--black-a-10);
}

.article-like-row.article-like-footer .article-like-count-wrap {
    font-size: 14px;
}

@media screen and (max-width: 600px) {
    .article-like-row.article-like-footer {
        margin-top: 20px;
        padding-top: 16px;
    }
}

.comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.comments-head .article-like-row {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.comments-head .article-like-count-wrap {
    font-size: 13px;
}

@media screen and (max-width: 560px) {
    .comments-head {
        align-items: flex-start;
    }

    .comments-head .article-like-row {
        transform: translateY(-2px);
    }
}

.article-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: .5px solid var(--black-a-10);
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--black-a-60);
}

.article-like:hover {
    border-color: var(--theme-color);
    background: var(--black-a-5);
    color: var(--theme-color);
}

.article-like.is-liked {
    border-color: var(--theme-color);
    background: color-mix(in srgb, var(--theme-color) 12%, transparent);
    color: var(--theme-color);
}

.article-like-heart {
    width: 18px;
    height: 18px;
    background: none;
    box-shadow: none;
}

.article-like-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.article-like.is-liked .article-like-icon {
    fill: currentColor;
    stroke: currentColor;
}

.article-like.is-liked .article-like-heart {
    background: none;
    animation: none;
}

.article-like-label,
.article-like-count-wrap {
    font-size: 13px;
    font-weight: 500;
}

.article-like-heart-float {
    display: none !important;
}

.article-like-count-wrap.is-bumped {
    animation: none !important;
}

/* 简洁点赞：空心心形 + 下方数字 */
.simple-like-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    position: relative;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.simple-like {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--txt-b-pure) !important;
}

.simple-like:hover,
.simple-like:active {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.simple-like .article-like-heart {
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.simple-like .article-like-icon {
    width: 28px !important;
    height: 28px !important;
    fill: none !important;
    stroke: currentColor !important;
}

.simple-like:hover .article-like-heart {
    transform: scale(1.08) !important;
}

.simple-like-count {
    display: block;
    color: var(--txt-b-pure);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 400;
    opacity: .78;
}

.simple-like-row .article-like-label {
    display: none !important;
}

.like-limit-pop {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 30;
    width: max-content;
    max-width: 210px;
    transform: translateX(-50%);
    padding: 8px 11px;
    border: 1px solid rgba(132, 199, 254, .28);
    border-radius: 9px;
    background: rgba(248, 252, 255, .97);
    color: #1c3f58;
    box-shadow: 0 10px 30px rgba(5, 18, 30, .18);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

html.dark .like-limit-pop {
    border-color: rgba(132, 199, 254, .28);
    background: rgba(8, 20, 34, .97);
    color: #eaf7ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* 删除评论确认弹窗 */
.comment-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 11, 20, .48);
    backdrop-filter: blur(8px);
}

.comment-confirm-card {
    width: min(360px, 100%);
    padding: 26px 24px 20px;
    border: 1px solid rgba(165, 215, 245, .28);
    border-radius: 18px;
    background: rgba(248, 252, 255, .98);
    color: #17384d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
    text-align: center;
}

html.dark .comment-confirm-card {
    border-color: rgba(132, 199, 254, .22);
    background: rgba(8, 20, 34, .98);
    color: #eaf7ff;
}

.comment-confirm-card p {
    margin: 0 0 20px;
    font-size: 16px;
}

.comment-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.comment-confirm-actions button {
    min-width: 110px;
    min-height: 40px;
    border: 1px solid rgba(120, 170, 200, .3);
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    color: inherit;
    cursor: pointer;
}

.comment-confirm-actions .confirm-yes {
    border-color: rgba(132, 199, 254, .7);
    background: #84c7fe;
    color: #07111f;
}

html.dark .comment-confirm-actions button {
    border-color: rgba(165, 215, 245, .22);
    background: rgba(255, 255, 255, .06);
}

html.dark .comment-confirm-actions .confirm-yes {
    background: #84c7fe;
    color: #07111f;
}

.like-limit-pop {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    max-width: min(210px, 72vw) !important;
}

/* 评论区显示全部十种头像框 */
.comment-avatar-wrap[data-frame="gold"]::before,
.comment-avatar-wrap[data-frame="sakura"]::before,
.comment-avatar-wrap[data-frame="ocean"]::before,
.comment-avatar-wrap[data-frame="forest"]::before,
.comment-avatar-wrap[data-frame="sunset"]::before,
.comment-avatar-wrap[data-frame="neon"]::before,
.comment-avatar-wrap[data-frame="cloud"]::before,
.comment-avatar-wrap[data-frame="flame"]::before,
.comment-avatar-wrap[data-frame="aurora"]::before,
.comment-avatar-wrap[data-frame="royal"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.comment-avatar-wrap[data-frame="gold"]::before { border: 1.5px solid #ffd76a; box-shadow: 0 0 9px rgba(255,179,0,.55); }
.comment-avatar-wrap[data-frame="sakura"]::before { border: 1.5px solid #ffa9c9; box-shadow: 0 0 9px rgba(255,143,190,.55); }
.comment-avatar-wrap[data-frame="ocean"]::before { border: 1.5px solid #63d5ff; box-shadow: 0 0 9px rgba(19,143,214,.55); }
.comment-avatar-wrap[data-frame="forest"]::before { border: 1.5px solid #74e29b; box-shadow: 0 0 9px rgba(43,168,106,.55); }
.comment-avatar-wrap[data-frame="sunset"]::before { border: 1.5px solid #ff9a62; box-shadow: 0 0 9px rgba(168,55,255,.45); }
.comment-avatar-wrap[data-frame="neon"]::before { border: 1.5px solid #b689ff; box-shadow: 0 0 10px rgba(105,247,255,.5); }
.comment-avatar-wrap[data-frame="cloud"]::before { border: 1.5px solid #e5f5ff; box-shadow: 0 0 9px rgba(185,221,255,.6); }
.comment-avatar-wrap[data-frame="flame"]::before { border: 1.5px solid #ff755c; box-shadow: 0 0 10px rgba(255,78,53,.55); }
.comment-avatar-wrap[data-frame="aurora"]::before { border: 1.5px solid #7bffd8; box-shadow: 0 0 10px rgba(52,156,255,.55); }
.comment-avatar-wrap[data-frame="royal"]::before { border: 1.5px solid #e7c86a; box-shadow: 0 0 10px rgba(139,92,255,.55); }

.comment-avatar-wrap[data-frame]:not([data-frame="none"]) .comment-avatar {
    border: 0;
}

.simple-like.is-liked {
    color: var(--theme-color) !important;
}

.simple-like.is-liked .article-like-icon {
    fill: var(--theme-color) !important;
    stroke: var(--theme-color) !important;
}

.simple-like.is-tapped .article-like-heart {
    animation: simpleLikePop .36s cubic-bezier(.22, 1.4, .36, 1);
}

@keyframes simpleLikePop {
    0% { transform: scale(1); }
    38% { transform: scale(1.36); }
    68% { transform: scale(.9); }
    100% { transform: scale(1); }
}

/* 防止连续回车把评论区撑成大片空白 */
.comment-text {
    max-height: 14em;
    overflow: auto;
    overflow-wrap: anywhere;
}
