/* ==========================================================================
   themes/shared/components.css · 功能组件的基础样式（两套新主题共用）
   由 scratchpad/extract-components.py 从云笺（airjournal.css 等）机械抽取并去掉页面作用域前缀：
   评论区、表情/表情包面板、AI 助手、分享海报、回复弹窗、灯箱、审核提示、快捷拨号、代码块、弹幕墙、
   留言板视频、赞赏、目录、搜索弹层、明暗切换按钮等。各主题在自己的 theme.css 里用 --air-* 令牌和覆盖规则改观感。
   不要手改这里；要改某个组件的基础行为去改云笺，再重新抽取。
   ========================================================================== */
.ui.button.air-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 42px;
    border-radius: 999px !important;
    padding: 11px 18px !important;
    border: 1px solid var(--air-line) !important;
    background: rgba(255, 255, 255, .72) !important;
    color: #344054 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .04);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ui.button.air-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 32px rgba(23, 32, 51, .08);
    }
}
.ui.button.air-btn-primary {
    background: var(--air-ink) !important;
    color: #fff !important;
    border-color: var(--air-ink) !important;
    box-shadow: 0 16px 34px rgba(21, 30, 47, .16) !important;
}
.home-mini-program-overlay {
    position: fixed;
    inset: 0;
    z-index: 100020;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(15, 23, 42, .54);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity .22s ease, visibility 0s linear .22s;
}
.home-mini-program-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.home-mini-program-panel {
    position: relative;
    width: min(420px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 30px 30px 26px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border: 1px solid rgba(218, 226, 239, .92);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .2);
    color: var(--air-ink);
    text-align: center;
    transform: translateY(12px) scale(.975);
    transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}
.home-mini-program-overlay.is-open .home-mini-program-panel {
    transform: translateY(0) scale(1);
}
.home-mini-program-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background: #f2f5fa;
    color: #667085;
    font-size: 15px;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.home-mini-program-close:focus-visible {
    background: #e9efff;
    color: #405bdc;
}
@media (hover: hover) and (pointer: fine) {
    .home-mini-program-close:hover {
        background: #e9efff;
        color: #405bdc;
    }
    .home-mini-program-close:active, .home-mini-program-done:active {
        transform: scale(.98);
    }
}
.home-mini-program-close:focus-visible, .home-mini-program-done:focus-visible {
    outline: 2px solid rgba(64, 91, 220, .38);
    outline-offset: 3px;
}
.home-mini-program-kicker {
    margin: 1px 48px 6px;
    color: #405bdc;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
}
.home-mini-program-panel h2 {
    margin: 0;
    color: var(--air-ink);
    font-size: clamp(23px, 4vw, 28px);
    line-height: 1.2;
    letter-spacing: -.02em;
}
.home-mini-program-description {
    max-width: 31em;
    margin: 10px auto 20px;
    color: var(--air-muted);
    font-size: 14px;
    line-height: 1.7;
}
.home-mini-program-code-frame {
    width: min(286px, 78vw);
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #e7ebf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(32, 51, 89, .08);
}
.home-mini-program-code-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    -webkit-user-select: none;
    user-select: none;
}
.home-mini-program-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 17px 0 0;
    color: #536176;
    font-size: 13px;
    font-weight: 750;
}
.home-mini-program-done {
    display: none;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: #405bdc;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}
.home-mini-program-done:focus-visible {
    background: #314bc3;
}
@media (hover: hover) and (pointer: fine) {
    .home-mini-program-done:hover {
        background: #314bc3;
    }
}
@media (max-width: 600px) {
    .home-mini-program-overlay {
        place-items: end center;
        padding: 0;
    }
    .home-mini-program-panel {
        width: 100%;
        max-height: min(92vh, 760px);
        max-height: min(92dvh, 760px);
        padding: 28px 20px calc(22px + env(safe-area-inset-bottom));
        border-width: 1px 0 0;
        border-radius: 24px 24px 0 0;
        transform: translateY(28px);
    }
    .home-mini-program-description {
        margin-bottom: 16px;
        font-size: 13px;
    }
    .home-mini-program-code-frame {
        width: min(272px, 76vw);
        padding: 8px;
    }
    .home-mini-program-tip {
        margin-top: 14px;
    }
    .home-mini-program-done {
        display: block;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-mini-program-overlay, .home-mini-program-panel {
        transition: none;
    }
}
.hljs, .code-body {
    border-radius: 20px !important;
    background: #101828 !important;
    color: #e6eaf0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}
.hljs-comment, .hljs-quote {
    color: #98a2b3 !important;
}
#comment-editable, #comment-editable, #comment-editable {
    min-height: 128px !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 20px !important;
    background: #fafbfe !important;
    color: #344054 !important;
    box-shadow: none !important;
}
.ui.input input, .ui.input input, .ui.input input {
    border: 1px solid var(--air-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
}
.ui.threaded.comments > .comment, .ui.threaded.comments > .comment, .ui.threaded.comments > .comment {
    margin: 0 0 18px !important;
    padding: 22px !important;
    border: 1px solid var(--air-line) !important;
    border-radius: var(--air-radius-lg) !important;
    background: var(--air-surface) !important;
    box-shadow: 0 14px 42px rgba(23, 32, 51, .04) !important;
}
.comment-content, .comment-content, .comment-content {
    border: 0 !important;
    border-radius: 18px !important;
    background: #fafbfe !important;
    box-shadow: none !important;
    color: #344054 !important;
}
.message-danmaku-wall, .message-danmaku-wall {
    --danmaku-screen-inset: 12px;
    --danmaku-lane-count: 4;
    --danmaku-lane-size: 42px;
    --danmaku-item-height: 36px;
    --danmaku-item-gap: 32px;
    --danmaku-avatar-size: 28px;
    --danmaku-speed: 64;
    --danmaku-launch-interval: 680;
    margin: 28px auto 0 !important;
    padding: 22px !important;
    border: 1px solid rgba(218, 226, 239, .92) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .94)),
        #fff !important;
    box-shadow: 0 22px 56px rgba(20, 31, 55, .08) !important;
    overflow: hidden !important;
}
.message-danmaku-head, .message-danmaku-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}
.message-danmaku-kicker, .message-danmaku-kicker {
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 5px !important;
    color: var(--air-primary) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}
.message-danmaku-head h2, .message-danmaku-head h2 {
    margin: 0 !important;
    color: var(--air-ink) !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}
.message-danmaku-badge, .message-danmaku-badge {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(84, 112, 245, .16) !important;
    border-radius: 999px !important;
    background: rgba(84, 112, 245, .08) !important;
    color: #4968f2 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}
.message-danmaku-hint, .message-danmaku-hint {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 11px !important;
    border: 1px solid rgba(100, 116, 139, .14) !important;
    border-radius: 999px !important;
    background: rgba(248, 250, 252, .86) !important;
    color: rgba(71, 85, 105, .78) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}
.message-danmaku-screen, .message-danmaku-screen {
    position: relative !important;
    height: 190px !important;
    overflow: hidden !important;
    border: 1px solid rgba(218, 226, 239, .92) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(84, 112, 245, .12), transparent 28%),
        radial-gradient(circle at 88% 72%, rgba(13, 194, 184, .12), transparent 30%),
        linear-gradient(180deg, rgba(248, 251, 255, .96), rgba(255, 255, 255, .88)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
    isolation: isolate !important;
}
.message-danmaku-screen::before, .message-danmaku-screen::before, .message-danmaku-screen::after, .message-danmaku-screen::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 56px !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
.message-danmaku-screen::before, .message-danmaku-screen::before {
    left: 0 !important;
    background: linear-gradient(90deg, rgba(248, 251, 255, .98), transparent) !important;
}
.message-danmaku-screen::after, .message-danmaku-screen::after {
    right: 0 !important;
    background: linear-gradient(270deg, rgba(248, 251, 255, .98), transparent) !important;
}
.message-danmaku-empty, .message-danmaku-empty {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #8995aa !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.message-danmaku-item, .message-danmaku-item {
    position: absolute !important;
    left: 0 !important;
    z-index: 2 !important;
    display: inline-grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    width: max-content !important;
    max-width: calc(100% - (var(--danmaku-screen-inset) * 2)) !important;
    height: var(--danmaku-item-height) !important;
    padding: 4px 14px 4px 5px !important;
    border: 1px solid rgba(218, 226, 239, .9) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 12px 28px rgba(20, 31, 55, .1) !important;
    color: #273449 !important;
    white-space: nowrap !important;
    animation-name: message-danmaku-scroll !important;
    animation-duration: var(--danmaku-duration) !important;
    animation-timing-function: linear !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: forwards !important;
    will-change: transform !important;
}
.message-danmaku-item.is-measuring, .message-danmaku-item.is-measuring {
    visibility: hidden !important;
    animation: none !important;
    transform: none !important;
}
.message-danmaku-item.is-clickable, .message-danmaku-item.is-clickable {
    cursor: pointer !important;
    outline: none !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
.message-danmaku-item.is-clickable:focus-visible, .message-danmaku-item.is-clickable:focus-visible {
    border-color: rgba(73, 104, 242, .5) !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 16px 34px rgba(73, 104, 242, .16), 0 0 0 3px rgba(73, 104, 242, .08) !important;
}
@media (hover: hover) and (pointer: fine) {
    .message-danmaku-item.is-clickable:hover, .message-danmaku-item.is-clickable:hover {
        border-color: rgba(73, 104, 242, .5) !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 16px 34px rgba(73, 104, 242, .16), 0 0 0 3px rgba(73, 104, 242, .08) !important;
    }
    .message-danmaku-item.is-clickable:active, .message-danmaku-item.is-clickable:active {
        filter: brightness(.98) !important;
    }
}
.message-danmaku-avatar, .message-danmaku-avatar {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    width: var(--danmaku-avatar-size) !important;
    height: var(--danmaku-avatar-size) !important;
    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, .95) !important;
    background: #eef3fb !important;
    color: #4968f2 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}
.message-danmaku-avatar img, .message-danmaku-avatar img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.message-danmaku-text, .message-danmaku-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    color: #273449 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}
.message-danmaku-copy, .message-danmaku-copy {
    display: inline-block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.message-danmaku-emoji, .message-danmaku-emoji {
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}
.message-danmaku-emoji-fallback, .message-danmaku-emoji-fallback {
    flex: 0 0 auto !important;
    color: #6f7d93 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}
@media (max-width: 768px) {
    .message-danmaku-wall, .message-danmaku-wall {
        --danmaku-screen-inset: 10px;
        --danmaku-lane-count: 3;
        --danmaku-lane-size: 38px;
        --danmaku-item-height: 34px;
        --danmaku-item-gap: 24px;
        --danmaku-avatar-size: 25px;
        margin-top: 22px !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }
    .message-danmaku-head, .message-danmaku-head {
        align-items: flex-end !important;
    }
    .message-danmaku-head h2, .message-danmaku-head h2 {
        font-size: 19px !important;
    }
    .message-danmaku-badge, .message-danmaku-badge {
        padding: 0 9px !important;
        font-size: 11px !important;
    }
    .message-danmaku-hint, .message-danmaku-hint {
        min-height: 26px !important;
        padding: 0 9px !important;
        font-size: 11px !important;
    }
    .message-danmaku-screen, .message-danmaku-screen {
        height: 158px !important;
        border-radius: 18px !important;
    }
    .message-danmaku-item, .message-danmaku-item {
        padding-right: 12px !important;
    }
    .message-danmaku-avatar, .message-danmaku-avatar {
        border-radius: 9px !important;
    }
    .message-danmaku-text, .message-danmaku-text {
        font-size: 13px !important;
    }
    .message-danmaku-emoji, .message-danmaku-emoji {
        width: 20px !important;
        height: 20px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .message-danmaku-screen, .message-danmaku-screen {
        height: auto !important;
        min-height: 96px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-content: flex-start !important;
        gap: 10px !important;
        padding: 14px !important;
    }
    .message-danmaku-item, .message-danmaku-item {
        position: static !important;
        transform: none !important;
        animation: none !important;
    }
}
.comment .avatar img.is-broken-avatar, .comment .avatar img.is-broken-avatar {
    display: none !important;
}
.search-overlay .search-dialog {
    width: min(560px, calc(100vw - 40px)) !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 22px !important;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .22) !important;
}
.search-overlay .search-input-area {
    height: 66px !important;
    padding: 0 18px !important;
}
.search-overlay .search-input-field {
    min-width: 0 !important;
    height: 44px !important;
    font-family: var(--air-font) !important;
}
.search-overlay .search-submit-btn {
    border-radius: 999px !important;
    background: var(--air-ink) !important;
}
.el-pagination-container {
    display: flex !important;
    justify-content: center !important;
    margin: 34px 0 0 !important;
}
.el-pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.el-pagination .item {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .78) !important;
    color: var(--air-muted) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 26px rgba(23, 32, 51, .035) !important;
}
.el-pagination .item.active, .el-pagination .active.item {
    color: #fff !important;
    background: var(--air-ink) !important;
    border-color: var(--air-ink) !important;
}
.el-pagination .item.disabled {
    pointer-events: none !important;
    opacity: .46 !important;
}
.el-pagination .item.ellipsis {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}
.code-wrapper, .hljs, .code-body {
    border-color: #22304a !important;
    background: #101828 !important;
    color: #e6eaf0 !important;
}
.code-wrapper {
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .16) !important;
}
.code-header, .code-lang {
    border-color: #22304a !important;
    background: #101828 !important;
    color: #98a2b3 !important;
}
.code-copy {
    border: 1px solid #2b3b55 !important;
    background: #182235 !important;
    color: #d7e3f3 !important;
    box-shadow: none !important;
}
.reply-modal {
    padding: 22px !important;
    align-items: center !important;
    background: rgba(15, 23, 42, .46) !important;
    backdrop-filter: blur(10px) !important;
}
.reply-modal > .modal-content {
    width: min(560px, calc(100vw - 36px)) !important;
    max-width: 560px !important;
    overflow: hidden !important;
    border: 1px solid rgba(226, 232, 240, .9) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24) !important;
}
.reply-modal > .modal-content > div:first-child {
    padding: 18px 22px !important;
    border-bottom: 1px solid var(--air-line-soft) !important;
    background: linear-gradient(180deg, #fff, #f8fbff) !important;
}
.reply-modal .author, .reply-modal .author span {
    color: var(--air-primary) !important;
    font-weight: 850 !important;
}
.reply-modal .close-btn {
    width: 34px !important;
    height: 34px !important;
    top: 15px !important;
    right: 18px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--air-ink) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}
@media (hover: hover) and (pointer: fine) {
    .reply-modal .close-btn:hover {
        border-color: var(--air-line) !important;
        background: #f5f8ff !important;
    }
}
.reply-modal > .modal-content > div:nth-child(2) {
    padding: 22px !important;
}
.reply-modal #reply-editable {
    min-height: 154px !important;
    padding: 16px !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 18px !important;
    background: #f9fbff !important;
    color: var(--air-ink) !important;
    font-family: var(--air-font) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75) !important;
}
.reply-modal #reply-editable:focus {
    border-color: rgba(73, 104, 242, .45) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(73, 104, 242, .10) !important;
}
.reply-modal .emoji-trigger {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
}
@media (hover: hover) and (pointer: fine) {
    .reply-modal .emoji-trigger:hover {
        background: transparent !important;
    }
}
.reply-modal .emoji-panel {
    border: 1px solid var(--air-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 58px rgba(15, 23, 42, .16) !important;
}
.reply-modal .fields {
    gap: 14px !important;
}
.reply-modal .ui.input input, .reply-modal input.reply-qq, .reply-modal input.reply-nickname {
    height: 42px !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--air-ink) !important;
}
.reply-modal > .modal-content > div:last-child {
    padding: 16px 22px 20px !important;
    border-top: 1px solid var(--air-line-soft) !important;
    background: #fbfcff !important;
}
.reply-modal .cancel-btn, .reply-modal .submit-btn {
    min-width: 92px !important;
    height: 40px !important;
    border-radius: 999px !important;
    font-weight: 850 !important;
}
.reply-modal .cancel-btn {
    border: 1px solid var(--air-line) !important;
    background: #fff !important;
    color: var(--air-muted) !important;
}
.reply-modal .submit-btn {
    border: 1px solid var(--air-ink) !important;
    background: var(--air-ink) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(21, 30, 47, .16) !important;
}
@media (max-width: 640px) {
    .reply-modal {
        padding: 14px !important;
    }
    .reply-modal .fields {
        flex-direction: column !important;
        gap: 10px !important;
    }
}
.text > .comment-content, .replies-container .comment .text p, .replies-container .comment-content, .comment-content, .text > .comment-content, .replies-container .comment .text p, .replies-container .comment-content, .comment-content, .text > .comment-content, .replies-container .comment .text p, .replies-container .comment-content, .comment-content {
    margin: 0 !important;
    padding: 13px 16px 9px !important;
    border: 1px solid var(--air-line-soft) !important;
    border-radius: 18px !important;
    background: #f9fbff !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #344054 !important;
    font-family: "LXGW WenKai Screen", var(--blog-font-body), "PingFang SC", "Microsoft YaHei", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: .02em !important;
}
.comment-content.collapsed::after, .comment-content.collapsed::after, .comment-content.collapsed::after {
    background: linear-gradient(to bottom, transparent, var(--air-surface-soft));
}
.reply, .show-replies, .reply, .show-replies, .reply, .show-replies {
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
    margin: 0 !important;
    text-decoration: none !important;
}
.reply .ui.button, .toggle-replies-btn, .reply .ui.button, .toggle-replies-btn, .reply .ui.button, .toggle-replies-btn {
    width: auto !important;
    min-width: 76px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid rgba(73, 104, 242, .42) !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--air-primary) !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    transform: none !important;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.toggle-replies-btn::before, .toggle-replies-btn::before, .toggle-replies-btn::before {
    content: none !important;
    display: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .reply .ui.button:hover, .toggle-replies-btn:hover, .reply .ui.button:hover, .toggle-replies-btn:hover, .reply .ui.button:hover, .toggle-replies-btn:hover {
        border-color: var(--air-primary) !important;
        background: rgba(73, 104, 242, .08) !important;
        color: #3151d3 !important;
        box-shadow: 0 10px 22px rgba(73, 104, 242, .12) !important;
        transform: none !important;
    }
}
.toggle-replies-btn.expanded, .toggle-replies-btn.expanded, .toggle-replies-btn.expanded {
    border-color: var(--air-primary) !important;
    background: rgba(73, 104, 242, .10) !important;
    color: #3151d3 !important;
}
.reply .ui.button i, .toggle-replies-btn i, .reply .ui.button i, .toggle-replies-btn i, .reply .ui.button i, .toggle-replies-btn i {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
}
.toggle-buttons, .toggle-buttons, .toggle-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
}
.toggle-btn, .toggle-replies-btn, .toggle-btn, .toggle-replies-btn, .toggle-btn, .toggle-replies-btn {
    min-width: 92px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid rgba(73, 104, 242, .45) !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--air-primary) !important;
    box-shadow: 0 8px 20px rgba(73, 104, 242, .08) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    transform: none !important;
    animation: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.reply .ui.button, .reply .ui.button, .reply .ui.button {
    min-width: 68px !important;
}
.toggle-btn::before, .toggle-btn::after, .toggle-replies-btn::before, .toggle-replies-btn::after, .toggle-btn::before, .toggle-btn::after, .toggle-replies-btn::before, .toggle-replies-btn::after, .toggle-btn::before, .toggle-btn::after, .toggle-replies-btn::before, .toggle-replies-btn::after {
    content: none !important;
    display: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn:hover, .toggle-replies-btn:hover, .toggle-btn:hover, .toggle-replies-btn:hover, .toggle-btn:hover, .toggle-replies-btn:hover {
        border-color: rgba(73, 104, 242, .68) !important;
        background: rgba(73, 104, 242, .08) !important;
        color: #3151d3 !important;
        box-shadow: 0 12px 26px rgba(73, 104, 242, .14) !important;
        transform: none !important;
    }
}
.toggle-btn i, .toggle-replies-btn i, .toggle-btn i, .toggle-replies-btn i, .toggle-btn i, .toggle-replies-btn i {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    transform: none !important;
}
.toggle-btn.collapse i, .toggle-btn.collapse i, .toggle-btn.collapse i, .toggle-replies-btn.expanded i, .toggle-replies-btn.expanded i, .toggle-replies-btn.expanded i {
    transform: rotate(180deg) !important;
}
.reply-modal {
    align-items: center !important;
    overflow: visible !important;
}
.reply-modal > .modal-content {
    overflow: visible !important;
}
.reply-modal > .modal-content > div:nth-child(2) {
    position: relative !important;
    overflow: visible !important;
}
.reply-modal .emoji-panel {
    top: auto !important;
    bottom: 46px !important;
    left: 0 !important;
    width: min(380px, calc(100vw - 86px)) !important;
    max-height: min(220px, calc(100vh - 300px)) !important;
    overflow-y: auto !important;
    z-index: 10020 !important;
}
.toggle-btn.hidden, .toggle-replies-btn.hidden, .toggle-buttons .hidden, .toggle-btn.hidden, .toggle-replies-btn.hidden, .toggle-btn.hidden, .toggle-replies-btn.hidden, .toggle-btn.hidden, .toggle-replies-btn.hidden {
    display: none !important;
}
.code-wrapper .code-expand-btn, .ai-chat-message-content .code-expand-btn, .ai-chat-message-content.markdown-body .code-expand-btn {
    height: 44px !important;
    padding: 0 !important;
    gap: 8px !important;
    border-top: 1px solid #22304a !important;
    border-radius: 0 0 20px 20px !important;
    background: #101828 !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}
@media (hover: hover) and (pointer: fine) {
    .code-wrapper .code-expand-btn:hover, .ai-chat-message-content .code-expand-btn:hover, .ai-chat-message-content.markdown-body .code-expand-btn:hover {
        background: #182235 !important;
        color: #fff !important;
    }
}
.code-wrapper .code-expand-btn i, .ai-chat-message-content .code-expand-btn i, .ai-chat-message-content.markdown-body .code-expand-btn i {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
}
.ai-chat-action-btn {
    width: auto !important;
    height: 32px !important;
    min-width: 64px !important;
    padding: 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid #dfe5f1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #667389 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 2px 7px rgba(44, 62, 96, 0.05) !important;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-action-btn:hover {
        border-color: #cbd5e7 !important;
        background: #f8faff !important;
        color: #4968f2 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 5px 14px rgba(73, 104, 242, 0.10) !important;
    }
}
.ai-chat-action-btn[title="重新生成"] {
    min-width: 88px !important;
    border-color: #ccd6ff !important;
    background: #eef2ff !important;
    color: #4968f2 !important;
}
.ai-chat-action-btn.copied {
    border-color: #b8dfd1 !important;
    background: #f0faf6 !important;
    color: #16845e !important;
    box-shadow: none !important;
}
.ai-chat-action-btn i, .ai-chat-action-btn svg {
    width: 13px !important;
    height: 13px !important;
    color: currentColor !important;
    stroke: currentColor !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.code-wrapper.collapsed .code-body::after, .ai-chat-message-content .code-wrapper.collapsed .code-body::after, .ai-chat-message-content.markdown-body .code-wrapper.collapsed .code-body::after {
    height: 72px !important;
    background: linear-gradient(
        180deg,
        rgba(16, 24, 40, 0) 0%,
        rgba(16, 24, 40, .78) 56%,
        #101828 100%
    ) !important;
    box-shadow: none !important;
}
.search-overlay .search-dialog {
    width: min(580px, calc(100vw - 40px)) !important;
    height: 64px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 25px 80px rgba(15, 23, 42, .26) !important;
}
.search-overlay .search-input-area {
    height: 64px !important;
    padding: 0 20px !important;
    gap: 14px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.search-overlay .search-input-icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8da0bd !important;
}
.search-overlay .search-input-icon i {
    font-size: 18px !important;
    line-height: 1 !important;
}
.search-overlay .search-input-field {
    height: 64px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1e293b !important;
    font-size: 16px !important;
    line-height: 64px !important;
}
.search-overlay .search-input-field::placeholder {
    color: #c8d2df !important;
}
.toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse {
    width: auto !important;
    min-width: 0 !important;
    height: 32px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #4968f2 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:hover, .toggle-btn.collapse:hover {
        border-color: transparent !important;
        background: rgba(73, 104, 242, .08) !important;
        color: #3151d3 !important;
        box-shadow: none !important;
    }
}
.toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i {
    width: 18px !important;
    height: 18px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(73, 104, 242, .10) !important;
    color: #4968f2 !important;
    font-size: 10px !important;
    box-shadow: none !important;
}
.page-jump-btn, .page-jump-btn, .page-jump-btn, .page-jump-btn, .page-jump-btn {
    height: 36px !important;
    padding: 0 16px !important;
    border: 1px solid #151e2f !important;
    border-radius: 12px !important;
    background: #151e2f !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(21, 30, 47, .14) !important;
    font-weight: 850 !important;
}
@media (hover: hover) and (pointer: fine) {
    .page-jump-btn:hover, .page-jump-btn:hover, .page-jump-btn:hover, .page-jump-btn:hover, .page-jump-btn:hover {
        background: #243047 !important;
        border-color: #243047 !important;
    }
}
.el-pagination-container {
    margin-top: 54px !important;
    margin-bottom: 54px !important;
}
.show-replies[data-replycount="0"], .show-replies[data-replycount=""], .show-replies:not([data-replycount]) {
    display: none !important;
}
.toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i, .toggle-btn.expand i, .toggle-btn.collapse i {
    display: none !important;
}
.toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand, .toggle-btn.collapse {
    gap: 0 !important;
}
.code-wrapper {
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #0f1828 !important;
    box-shadow: 0 18px 42px rgba(15, 24, 40, .16) !important;
}
.code-header {
    min-height: 48px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 0 !important;
    background: #0f1828 !important;
    box-shadow: none !important;
}
.code-lang {
    color: #9fc1ff !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
}
.code-body, .code-body pre, .code-body pre code, .hljs {
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: #0f1828 !important;
    color: #eef5ff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
.code-body {
    padding: 0 !important;
}
.code-body pre {
    margin: 0 !important;
    padding: 18px 20px !important;
    line-height: 1.72 !important;
}
.code-body pre code, .hljs {
    font-family: var(--blog-font-code, "JetBrains Mono", "Fira Code", Consolas, monospace) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}
.hljs * {
    background: transparent !important;
}
.hljs-comment, .hljs-quote {
    color: #b5c0d0 !important;
    font-style: italic !important;
}
.hljs-keyword, .hljs-doctag, .hljs-formula {
    color: #ff6f91 !important;
}
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta .hljs-string {
    color: #9ee493 !important;
}
.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-type {
    color: #f8c37a !important;
}
.hljs-title, .hljs-section, .hljs-name, .hljs-selector-tag {
    color: #8cc8ff !important;
}
.hljs-built_in, .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta {
    color: #c4b5fd !important;
}
.hljs-deletion, .hljs-subst {
    color: #ff8a9a !important;
    background: transparent !important;
}
.hljs-attr, .hljs-property {
    color: #8cc8ff !important;
}
.hljs-selector-class, .hljs-selector-id, .hljs-selector-attr, .hljs-selector-pseudo {
    color: #f8c37a !important;
}
.hljs-template-tag {
    color: #c4b5fd !important;
}
.code-body .hljs-class .hljs-title, .code-body .hljs-title.class_, .code-body .hljs-title.function_, .hljs-class .hljs-title, .hljs-title.class_, .hljs-title.function_ {
    color: #8cc8ff !important;
}
.hljs-operator, .hljs-punctuation {
    color: inherit !important;
}
.code-wrapper .code-expand-btn, .ai-chat-message-content .code-expand-btn, .ai-chat-message-content.markdown-body .code-expand-btn {
    height: 46px !important;
    border: 0 !important;
    border-top: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 0 !important;
    background: #0f1828 !important;
    color: #dbe7f8 !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .code-wrapper .code-expand-btn:hover, .ai-chat-message-content .code-expand-btn:hover, .ai-chat-message-content.markdown-body .code-expand-btn:hover {
        background: #121e31 !important;
        color: #fff !important;
    }
}
.code-wrapper.collapsed .code-body::after, .ai-chat-message-content .code-wrapper.collapsed .code-body::after, .ai-chat-message-content.markdown-body .code-wrapper.collapsed .code-body::after {
    background: linear-gradient(180deg, rgba(15, 24, 40, 0), rgba(15, 24, 40, .72) 58%, #0f1828 100%) !important;
}
.reply-modal > .modal-content {
    max-height: calc(100vh - 44px) !important;
    overflow-x: visible !important;
    overflow-y: auto !important;
}
.reply-modal > .modal-content > div:nth-child(2) {
    overflow: visible !important;
}
.reply-modal #reply-editable {
    box-shadow: none !important;
}
.reply-modal .emoji-panel {
    position: static !important;
    inset: auto !important;
    width: min(432px, 100%) !important;
    max-height: min(252px, 34vh) !important;
    margin: 10px 0 12px !important;
    padding: 12px !important;
    overflow-y: auto !important;
}
.reply-modal .emoji-panel > div {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, 38px) !important;
    justify-content: start !important;
    gap: 6px !important;
}
.reply-modal .emoji-item {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
}
.emoji-panel .emoji-section-title {
    grid-column: 1 / -1;
    flex: 0 0 100%;
    width: 100%;
    margin: 2px 0 -2px;
    padding: 0 2px;
    color: var(--air-muted, #8a94a6);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
    user-select: none;
}
.emoji-panel .emoji-section-title:not(:first-child) {
    margin-top: 6px;
}
.air-no-content-toggle > .toggle-buttons, .toggle-buttons[data-air-expandable="false"], .comment-content[data-air-expandable="false"] ~ .toggle-buttons {
    display: none !important;
}
.message-danmaku-wall {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.guestbook-video-card {
    overflow: hidden !important;
}
.guestbook-video-head {
    margin-bottom: 12px !important;
}
.guestbook-video-frame {
    position: relative !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    border: 1px solid rgba(218, 226, 239, .96) !important;
    border-radius: 18px !important;
    background: #171d2b !important;
}
.guestbook-video-frame video {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: #171d2b !important;
    object-fit: contain !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .14s ease !important;
}
.guestbook-video-frame video.is-active {
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.guestbook-video-status {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: rgba(23, 29, 43, .86) !important;
    color: #f6f8fc !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 750 !important;
    text-align: center !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    transition: opacity .18s ease !important;
}
.guestbook-video-status.is-hidden {
    opacity: 0 !important;
}
.guestbook-video-status.is-error {
    background: rgba(38, 25, 31, .9) !important;
    color: #ffe9ed !important;
}
.guestbook-video-status.is-notice {
    inset: 12px 12px auto !important;
    min-height: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 10px !important;
    background: rgba(17, 24, 39, .78) !important;
    box-shadow: 0 8px 24px rgba(7, 12, 24, .18) !important;
    font-size: 11px !important;
    line-height: 16px !important;
    backdrop-filter: blur(8px) !important;
}
.guestbook-video-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 10px !important;
}
.guestbook-video-action {
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 11px !important;
    font: inherit !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease !important;
}
.guestbook-video-auto {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid #d3dceb !important;
    background: #fff !important;
    color: #536176 !important;
}
.guestbook-video-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: #c8d0dc !important;
    box-shadow: inset 0 0 0 1px rgba(96, 111, 133, .08) !important;
    transition: background-color .18s ease !important;
}
.guestbook-video-switch::after {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(30, 44, 68, .28) !important;
    transition: transform .18s cubic-bezier(.2, .8, .2, 1) !important;
}
.guestbook-video-auto.is-active {
    border-color: #d3dceb !important;
    background: #fff !important;
    color: #536176 !important;
    box-shadow: none !important;
}
.guestbook-video-auto.is-active .guestbook-video-switch {
    background: #405bdc !important;
}
.guestbook-video-auto.is-active .guestbook-video-switch::after {
    transform: translateX(12px) !important;
}
.guestbook-video-next {
    border: 1px solid #cdd7f7 !important;
    background: #eef2ff !important;
    color: #405bdc !important;
    box-shadow: none !important;
}
.guestbook-video-action:focus-visible {
    transform: translateY(-1px) !important;
}
@media (hover: hover) and (pointer: fine) {
    .guestbook-video-action:hover:not(:disabled) {
        transform: translateY(-1px) !important;
    }
}
.guestbook-video-auto:focus-visible {
    border-color: #bdc9dc !important;
    background: #f8fafc !important;
    color: #536176 !important;
}
@media (hover: hover) and (pointer: fine) {
    .guestbook-video-auto:hover:not(:disabled) {
        border-color: #bdc9dc !important;
        background: #f8fafc !important;
        color: #536176 !important;
    }
}
.guestbook-video-next:focus-visible {
    border-color: #b9c7f4 !important;
    background: #e4eaff !important;
    color: #354fc5 !important;
}
@media (hover: hover) and (pointer: fine) {
    .guestbook-video-next:hover:not(:disabled) {
        border-color: #b9c7f4 !important;
        background: #e4eaff !important;
        color: #354fc5 !important;
    }
}
.guestbook-video-action:focus-visible {
    outline: 3px solid rgba(84, 112, 245, .2) !important;
    outline-offset: 3px !important;
}
@media (hover: hover) and (pointer: fine) {
    .guestbook-video-action:active:not(:disabled) {
        transform: translateY(1px) scale(.99) !important;
    }
}
.guestbook-video-action:disabled {
    cursor: not-allowed !important;
    opacity: .68 !important;
}
.guestbook-video-next.is-preparing {
    cursor: pointer !important;
}
@media (prefers-reduced-motion: reduce) {
    .guestbook-video-action, .guestbook-video-switch, .guestbook-video-switch::after, .guestbook-video-status {
        transition: none !important;
    }
}
@media (max-width: 1099px) {
    .message-danmaku-wall {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}
@media (max-width: 720px) {
    .guestbook-video-card {
        display: none !important;
    }
}
.blog-theme-toggle {
    position: fixed !important;
    top: auto !important;
    right: 28px !important;
    bottom: 86px !important;
    z-index: 9998;
    display: inline-grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--air-line);
    border-radius: 50%;
    color: var(--air-muted);
    background: var(--air-surface);
    box-shadow: var(--air-shadow-soft);
    font-family: var(--air-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    transform: none !important;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .blog-theme-toggle:hover {
        border-color: var(--air-primary);
        color: var(--air-primary);
        background: var(--air-primary-soft);
        transform: translateY(-2px) scale(1.04) !important;
    }
}
.blog-theme-toggle:focus-visible {
    outline: 3px solid rgba(73, 104, 242, .24);
    outline-offset: 2px;
}
.blog-theme-toggle-icon {
    width: 18px;
    text-align: center;
}
.blog-theme-toggle-text {
    display: none;
}
.blog-theme-toggle {
    right: 25px !important;
    bottom: 160px !important;
}
body.air-modal-open .blog-theme-toggle, body.ai-chat-open .blog-theme-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.92) !important;
}
html[data-blog-theme="dark"] .post-toc-card, html[data-blog-theme="dark"] .share-image-modal-content {
    border-color: var(--air-line) !important;
    background: var(--air-surface-solid) !important;
    box-shadow: var(--air-shadow-soft) !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-comment, .hljs-quote) {
    color: #b5c0d0 !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-keyword, .hljs-doctag, .hljs-formula) {
    color: #ff6f91 !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute) {
    color: #9ee493 !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-type) {
    color: #f8c37a !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-title, .hljs-section, .hljs-name, .hljs-selector-tag) {
    color: #8cc8ff !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-built_in, .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta) {
    color: #c4b5fd !important;
}
html[data-blog-theme="dark"] .post-content pre :is(.hljs-deletion, .hljs-subst) {
    color: #ff8a9a !important;
}
html[data-blog-theme="dark"] .post-toc-title {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .post-toc-link {
    color: var(--air-muted) !important;
    background: transparent !important;
}
html[data-blog-theme="dark"] .post-toc-link.is-active {
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .post-toc-link:hover {
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] #comment-editable, html[data-blog-theme="dark"] .ui.input input {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    caret-color: var(--air-primary) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] #comment-editable:empty::before {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .ui.form .field > label, html[data-blog-theme="dark"] .ui.comments .comment .author, html[data-blog-theme="dark"] .ui.comments .comment .content {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .ui.comments .comment .metadata, html[data-blog-theme="dark"] .ui.comments .comment .date, html[data-blog-theme="dark"] .ui.comments .comment .actions {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .text > .comment-content, html[data-blog-theme="dark"] .replies-container .comment .text p, html[data-blog-theme="dark"] .replies-container .comment-content, html[data-blog-theme="dark"] .comment-content {
    border-color: var(--air-line) !important;
    color: #d7e0eb !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .reply .ui.button, html[data-blog-theme="dark"] .toggle-replies-btn {
    border-color: var(--air-primary) !important;
    color: var(--air-primary) !important;
    background: var(--air-surface-solid) !important;
}
html[data-blog-theme="dark"] .share-image-content, html[data-blog-theme="dark"] .share-image-tip, html[data-blog-theme="dark"] .share-image-close, html[data-blog-theme="dark"] .share-image-btn.secondary {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-solid) !important;
}
html[data-blog-theme="dark"] .share-image-body, html[data-blog-theme="dark"] .share-image-preview-shell {
    border-color: var(--air-line) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .share-image-preview-status {
    color: var(--air-muted) !important;
    background: rgba(25, 33, 46, .9) !important;
}
html[data-blog-theme="dark"] .share-image-tip strong, html[data-blog-theme="dark"] .share-image-title {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .share-image-tip p {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .share-image-btn.primary {
    color: #10151f !important;
    background: var(--air-primary) !important;
}
html[data-blog-theme="dark"] #search-overlay .search-dialog, html[data-blog-theme="dark"] #search-overlay .search-input-area, html[data-blog-theme="dark"] #search-overlay .search-footer {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-solid) !important;
}
html[data-blog-theme="dark"] #search-overlay input {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .blog-theme-toggle {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-solid) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .blog-theme-toggle:hover {
        border-color: var(--air-primary) !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .home-mini-program-overlay {
    background: rgba(2, 7, 18, .72) !important;
}
html[data-blog-theme="dark"] .home-mini-program-panel {
    border-color: var(--air-line) !important;
    background: var(--air-surface) !important;
    color: var(--air-ink) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42) !important;
}
html[data-blog-theme="dark"] .home-mini-program-panel h2 {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .home-mini-program-description, html[data-blog-theme="dark"] .home-mini-program-tip {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .home-mini-program-close {
    background: var(--air-surface-soft) !important;
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .home-mini-program-close:focus-visible {
    color: var(--air-primary) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .home-mini-program-close:hover {
        color: var(--air-primary) !important;
    }
}
html[data-blog-theme="dark"] .home-mini-program-code-frame {
    border-color: var(--air-line) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}
html[data-blog-theme="dark"] .post-toc-card, html[data-blog-theme="dark"] .share-image-modal-content, html[data-blog-theme="dark"] .ai-chat-window, html[data-blog-theme="dark"] .ai-chat-header, html[data-blog-theme="dark"] .ai-chat-input-area {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-solid) !important;
    box-shadow: var(--air-shadow-soft) !important;
}
html[data-blog-theme="dark"] .share-image-modal-content, html[data-blog-theme="dark"] .ai-chat-window {
    background: var(--air-surface-solid) !important;
}
html[data-blog-theme="dark"] .post-toc-card, html[data-blog-theme="dark"] .ai-chat-header, html[data-blog-theme="dark"] .ai-chat-input-area {
    background: var(--air-surface) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), var(--air-shadow-soft) !important;
}
html[data-blog-theme="dark"] .ai-chat-messages, html[data-blog-theme="dark"] .ai-chat-welcome-card, html[data-blog-theme="dark"] .ai-chat-input-wrapper, html[data-blog-theme="dark"] .ai-chat-message-content {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .ai-chat-input, html[data-blog-theme="dark"] .ai-chat-input-wrapper textarea {
    color: var(--air-ink) !important;
    background: transparent !important;
}
html[data-blog-theme="dark"] .ai-chat-input::placeholder, html[data-blog-theme="dark"] .ai-chat-input-wrapper textarea::placeholder {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .ai-chat-message-content, html[data-blog-theme="dark"] .ai-chat-message.ai .ai-chat-message-content.markdown-body {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-solid) !important;
    box-shadow: 0 8px 24px rgba(14, 18, 24, .16) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.user .ai-chat-message-content, html[data-blog-theme="dark"] .ai-chat-message.user .ai-chat-message-content.markdown-body {
    color: #f8fafc !important;
    background: #356aa8 !important;
    box-shadow: 0 8px 22px rgba(14, 18, 24, .2) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h1, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h2, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h3, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h4, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h5, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h6, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body strong {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h1, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body h2, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body hr {
    border-color: var(--air-line) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body p, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body li, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body em {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body del, html[data-blog-theme="dark"] .ai-chat-message-time, html[data-blog-theme="dark"] .ai-disclaimer, html[data-blog-theme="dark"] .ai-chat-input-hint, html[data-blog-theme="dark"] .ai-chat-welcome-note {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body a {
    color: var(--air-primary) !important;
    border-bottom-color: rgba(83, 157, 253, .34) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body blockquote {
    border-left-color: var(--air-primary) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-raised) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body code:not(pre code) {
    color: #9ec5ff !important;
    background: #232931 !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body pre, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body pre.hljs {
    border: 1px solid var(--air-line) !important;
    color: #dbe7f7 !important;
    background: #171d26 !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body table, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body th, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body td, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body tr, html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body tr:nth-child(even) {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .ai-chat-message.ai .markdown-body th {
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
}
html[data-blog-theme="dark"] .ai-chat-header-btn, html[data-blog-theme="dark"] .ai-chat-action-btn, html[data-blog-theme="dark"] .ai-chat-scroll-bottom, html[data-blog-theme="dark"] .ai-chat-quick-btn {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-raised) !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .ai-chat-header-btn:hover, html[data-blog-theme="dark"] .ai-chat-action-btn:hover, html[data-blog-theme="dark"] .ai-chat-scroll-bottom:hover, html[data-blog-theme="dark"] .ai-chat-quick-btn:hover {
        border-color: rgba(83, 157, 253, .46) !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .ai-chat-action-btn.copied {
    border-color: rgba(52, 211, 153, .32) !important;
    color: #6ee7b7 !important;
    background: rgba(16, 185, 129, .12) !important;
}
html[data-blog-theme="dark"] .ai-chat-loading {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-solid) !important;
    box-shadow: 0 8px 24px rgba(14, 18, 24, .16) !important;
}
html[data-blog-theme="dark"] .ai-chat-loading-dots span {
    background: var(--air-primary) !important;
}
html[data-blog-theme="dark"] .ai-chat-input-label, html[data-blog-theme="dark"] .ai-chat-welcome-title {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .ai-chat-error {
    border-color: rgba(248, 113, 113, .3) !important;
    color: #fecaca !important;
    background: rgba(127, 29, 29, .18) !important;
}
html[data-blog-theme="dark"] .ai-audit-toast {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
}
html[data-blog-theme="dark"] .message-danmaku-wall, html[data-blog-theme="dark"] .ui.threaded.comments > .comment {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-solid) !important;
    box-shadow: var(--air-shadow-soft) !important;
}
html[data-blog-theme="dark"] #comment-editable, html[data-blog-theme="dark"] .ui.input input, html[data-blog-theme="dark"] .comment-content {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .message-danmaku-wall, html[data-blog-theme="dark"] .ui.threaded.comments > .comment {
    background: var(--air-surface) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), var(--air-shadow-soft) !important;
}
html[data-blog-theme="dark"] #comment-editable:empty::before, html[data-blog-theme="dark"] .ui.comments .comment .metadata, html[data-blog-theme="dark"] .ui.comments .comment .date {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .ui.comments .comment .author, html[data-blog-theme="dark"] .ui.comments .comment .content {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .message-danmaku-screen {
    border-color: var(--air-line) !important;
    background: var(--air-surface-soft) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}
html[data-blog-theme="dark"] .message-danmaku-screen::before {
    background: linear-gradient(90deg, var(--air-surface-soft), transparent) !important;
}
html[data-blog-theme="dark"] .message-danmaku-screen::after {
    background: linear-gradient(270deg, var(--air-surface-soft), transparent) !important;
}
html[data-blog-theme="dark"] .message-danmaku-item, html[data-blog-theme="dark"] .message-danmaku-item.is-clickable:focus-visible {
    border-color: #43536a !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    box-shadow: 0 10px 24px rgba(5, 9, 14, .18) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .message-danmaku-item.is-clickable:hover {
        border-color: #43536a !important;
        color: var(--air-ink) !important;
        background: var(--air-surface-raised) !important;
        box-shadow: 0 10px 24px rgba(5, 9, 14, .18) !important;
    }
}
html[data-blog-theme="dark"] .message-danmaku-text {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .message-danmaku-kicker {
    color: var(--air-primary) !important;
}
html[data-blog-theme="dark"] .message-danmaku-hint, html[data-blog-theme="dark"] .message-danmaku-badge {
    border-color: #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
html[data-blog-theme="dark"] .reply .ui.button, html[data-blog-theme="dark"] .toggle-btn, html[data-blog-theme="dark"] .toggle-replies-btn, html[data-blog-theme="dark"] .guestbook-video-action {
    border-color: #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-surface-soft) !important;
}
html[data-blog-theme="dark"] .guestbook-video-action:focus-visible {
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .guestbook-video-action:hover, html[data-blog-theme="dark"] .reply .ui.button:hover, html[data-blog-theme="dark"] .toggle-btn:hover, html[data-blog-theme="dark"] .toggle-replies-btn:hover {
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .search-overlay.active {
    background: rgba(11, 15, 21, .72) !important;
}
html[data-blog-theme="dark"] #search-overlay .search-dialog, html[data-blog-theme="dark"] #search-overlay .search-input-area, html[data-blog-theme="dark"] #search-overlay .search-footer, html[data-blog-theme="dark"] #search-overlay .search-hints {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-solid) !important;
}
html[data-blog-theme="dark"] #search-overlay .search-input-icon, html[data-blog-theme="dark"] #search-overlay .search-clear-btn {
    color: var(--air-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] #search-overlay .search-clear-btn:hover {
        color: var(--air-ink) !important;
        background: var(--air-surface-soft) !important;
    }
}
html[data-blog-theme="dark"] #search-overlay .search-input-field::placeholder {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] #search-overlay .search-submit-btn {
    color: #17202b !important;
    background: var(--air-primary) !important;
}
@media (max-width: 768px) {
    html[data-blog-theme="dark"] .message-danmaku-wall {
        border-radius: 18px !important;
        box-shadow: 0 8px 24px rgba(5, 9, 14, .14) !important;
    }
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .blog-theme-toggle:not(.article-speed-action) {
        display: none !important;
    }
}
body.comment-sticker-open .article-speed-dial {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .blog-theme-toggle {
        transition: none !important;
    }
}
html[data-blog-theme="dark"] .replies-container .comment .text > p.comment-content, html[data-blog-theme="dark"] .replies-container .comment .text p, html[data-blog-theme="dark"] .replies-container .comment-content {
    border: 1px solid var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-soft) !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .el-pagination {
    border-color: transparent !important;
    color: var(--air-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .el-pagination .item.page, html[data-blog-theme="dark"] .el-pagination .item.arrow {
    border: 1px solid var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .el-pagination a.item:focus-visible {
    border-color: #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .el-pagination a.item:hover {
        border-color: #49698f !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .el-pagination .active.item {
    border: 1px solid #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
    box-shadow: inset 0 0 0 1px rgba(114, 168, 255, .06) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .el-pagination .active.item:hover {
        border: 1px solid #49698f !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
        box-shadow: inset 0 0 0 1px rgba(114, 168, 255, .06) !important;
    }
}
html[data-blog-theme="dark"] .el-pagination .disabled.item {
    border-color: var(--air-line-soft) !important;
    color: var(--air-soft) !important;
    background: var(--air-surface-solid) !important;
    opacity: .5 !important;
}
html[data-blog-theme="dark"] .el-pagination .item.ellipsis {
    color: var(--air-soft) !important;
    background: transparent !important;
}
html[data-blog-theme="dark"] .page-jump-label, html[data-blog-theme="dark"] .page-info {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .page-jump-input {
    border: 1px solid var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-soft) !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .page-jump-input::placeholder {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .page-jump-input:focus {
    border-color: var(--air-primary) !important;
    box-shadow: 0 0 0 3px rgba(114, 168, 255, .14) !important;
}
html[data-blog-theme="dark"] .page-jump-btn {
    border: 1px solid #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .emoji-panel, html[data-blog-theme="dark"] .emoji-panel, html[data-blog-theme="dark"] #emoji-selector, html[data-blog-theme="dark"] #emoji-selector, html[data-blog-theme="dark"] .emoji-selector-container, html[data-blog-theme="dark"] .emoji-selector-container {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    background-image: none !important;
    box-shadow: 0 18px 42px rgba(3, 7, 12, .34) !important;
}
html[data-blog-theme="dark"] .emoji-item:focus-visible, html[data-blog-theme="dark"] .emoji-item:focus-visible {
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .emoji-item:hover, html[data-blog-theme="dark"] .emoji-item:hover {
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .reply-modal > .modal-content, html[data-blog-theme="dark"] .reply-modal > .modal-content > div, html[data-blog-theme="dark"] .reply-modal > .modal-content, html[data-blog-theme="dark"] .reply-modal > .modal-content > div {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    background-image: none !important;
}
html[data-blog-theme="dark"] .reply-modal #reply-editable, html[data-blog-theme="dark"] .reply-modal #reply-editable {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-soft) !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .reply-modal #reply-editable:empty::before, html[data-blog-theme="dark"] .reply-modal #reply-editable:empty::before {
    color: var(--air-soft) !important;
}
html[data-blog-theme="dark"] .reply-modal .cancel-btn, html[data-blog-theme="dark"] .reply-modal .cancel-btn {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .reply-modal .cancel-btn:focus-visible, html[data-blog-theme="dark"] .reply-modal .cancel-btn:focus-visible {
    border-color: #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .reply-modal .cancel-btn:hover, html[data-blog-theme="dark"] .reply-modal .cancel-btn:hover {
        border-color: #49698f !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .ai-audit-toast, html[data-blog-theme="dark"] .ai-audit-toast {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    background-image: none !important;
    box-shadow: 0 16px 40px rgba(3, 7, 12, .32) !important;
}
html[data-blog-theme="dark"] .ai-audit-toast .toast-title, html[data-blog-theme="dark"] .ai-audit-toast .toast-title {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .ai-audit-toast .toast-subtitle, html[data-blog-theme="dark"] .ai-audit-toast .toast-subtitle {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .audit-result-modal .modal-content, html[data-blog-theme="dark"] .audit-result-modal .modal-content {
    border: 1px solid var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    background-image: none !important;
    box-shadow: 0 22px 60px rgba(3, 7, 12, .42) !important;
}
html[data-blog-theme="dark"] .audit-result-modal .modal-title, html[data-blog-theme="dark"] .audit-result-modal .modal-title {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .audit-result-modal .modal-message, html[data-blog-theme="dark"] .audit-result-modal .modal-message {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .audit-result-modal .modal-btn, html[data-blog-theme="dark"] .audit-result-modal .modal-btn {
    border: 1px solid #49698f !important;
    color: #17202b !important;
    background: var(--air-primary) !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .ai-chat-toggle, html[data-blog-theme="dark"] .ai-chat-header-btn, html[data-blog-theme="dark"] .ai-chat-scroll-bottom, html[data-blog-theme="dark"] .ai-chat-quick-btn {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .ai-chat-toggle:focus-visible, html[data-blog-theme="dark"] .ai-chat-header-btn:focus-visible, html[data-blog-theme="dark"] .ai-chat-scroll-bottom:focus-visible, html[data-blog-theme="dark"] .ai-chat-quick-btn:focus-visible {
    border-color: #49698f !important;
    color: var(--air-primary) !important;
    background: var(--air-primary-soft) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .ai-chat-toggle:hover, html[data-blog-theme="dark"] .ai-chat-header-btn:hover, html[data-blog-theme="dark"] .ai-chat-scroll-bottom:hover, html[data-blog-theme="dark"] .ai-chat-quick-btn:hover {
        border-color: #49698f !important;
        color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
    }
}
html[data-blog-theme="dark"] .ai-chat-send-btn:disabled {
    border: 1px solid var(--air-line) !important;
    color: var(--air-soft) !important;
    background: var(--air-surface-solid) !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] #lightbox .zoomButton, html[data-blog-theme="dark"] #lightbox #prevButton, html[data-blog-theme="dark"] #lightbox #nextButton {
    border: 1px solid var(--air-line) !important;
    color: var(--air-ink) !important;
    background: rgba(35, 44, 56, .9) !important;
    box-shadow: 0 8px 22px rgba(3, 7, 12, .28) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] #lightbox .zoomButton:hover, html[data-blog-theme="dark"] #lightbox #prevButton:hover, html[data-blog-theme="dark"] #lightbox #nextButton:hover {
        color: var(--air-primary) !important;
        background: var(--air-surface-soft) !important;
    }
}
html[data-blog-theme="dark"] .ai-chat-confirm-dialog {
    border-color: var(--air-line) !important;
    color: var(--air-ink) !important;
    background: var(--air-surface-raised) !important;
    background-image: none !important;
    box-shadow: 0 22px 60px rgba(3, 7, 12, .42) !important;
}
html[data-blog-theme="dark"] .ai-chat-confirm-dialog > div:first-child > div:first-child {
    border-color: rgba(214, 69, 69, .36) !important;
    background: rgba(214, 69, 69, .12) !important;
}
html[data-blog-theme="dark"] .ai-chat-confirm-dialog h3 {
    color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .ai-chat-confirm-dialog p {
    color: var(--air-muted) !important;
}
html[data-blog-theme="dark"] .ai-chat-confirm-dialog #confirm-cancel {
    border-color: var(--air-line) !important;
    color: var(--air-muted) !important;
    background: var(--air-surface-soft) !important;
}
.toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand:focus, .toggle-btn.collapse:focus, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand:focus, .toggle-btn.collapse:focus, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand:focus, .toggle-btn.collapse:focus, .toggle-btn.expand, .toggle-btn.collapse, .toggle-btn.expand:focus, .toggle-btn.collapse:focus {
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:active, .toggle-btn.collapse:active, .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:active, .toggle-btn.collapse:active, .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:active, .toggle-btn.collapse:active, .toggle-btn.expand:hover, .toggle-btn.collapse:hover, .toggle-btn.expand:active, .toggle-btn.collapse:active {
        border-color: transparent !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        transform: none !important;
        -webkit-tap-highlight-color: transparent;
    }
}
.comment-content img.emoji-inline, .comment-content img[src*="/emoji/"], .comment-content img.emoji-inline, .comment-content img[src*="/emoji/"] {
    vertical-align: middle !important;
    transform: translateY(-0.29em) !important;
}
.emoji-container > .emoji-trigger, .reply-modal .emoji-trigger {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    color: var(--air-primary) !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.emoji-container > .emoji-trigger:focus-visible, .emoji-container > .emoji-trigger[aria-expanded="true"], .reply-modal .emoji-trigger:focus-visible, .reply-modal .emoji-trigger[aria-expanded="true"] {
    border-color: transparent !important;
    color: var(--air-primary) !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .emoji-container > .emoji-trigger:hover, .emoji-container > .emoji-trigger:active, .reply-modal .emoji-trigger:hover, .reply-modal .emoji-trigger:active {
        border-color: transparent !important;
        color: var(--air-primary) !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        transform: none !important;
    }
}
.emoji-container > .emoji-trigger:focus-visible, .reply-modal .emoji-trigger:focus-visible, .comment-sticker-trigger:focus-visible {
    outline: 2px solid rgba(73, 104, 242, .46);
    outline-offset: 2px;
}
.emoji-container > .emoji-trigger i, .reply-modal .emoji-trigger i {
    color: currentColor !important;
    font-size: 19px !important;
}
.comment-sticker-host {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: max-content;
    max-width: 100%;
}
.comment-sticker-trigger {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--air-primary);
    background: transparent;
    font-family: var(--air-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.comment-sticker-trigger:focus-visible, .comment-sticker-trigger[aria-expanded="true"] {
    border-color: transparent;
    color: var(--air-primary);
    background: transparent;
    background-image: none;
    box-shadow: none;
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    .comment-sticker-trigger:hover, .comment-sticker-trigger:active {
        border-color: transparent;
        color: var(--air-primary);
        background: transparent;
        background-image: none;
        box-shadow: none;
        transform: none;
    }
}
.comment-sticker-trigger i {
    font-size: 19px;
}
.comment-sticker-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10029;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    overscroll-behavior: none;
    touch-action: none;
    animation: comment-sticker-fade-in .18s ease-out;
}
.comment-sticker-panel {
    position: fixed;
    z-index: 10030;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(210, 219, 232, .96);
    border-radius: 18px;
    color: var(--air-ink);
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 22px 60px rgba(21, 30, 47, .18), 0 2px 8px rgba(21, 30, 47, .06);
    font-family: var(--air-font);
    overscroll-behavior: contain;
    transform-origin: 24px 0;
    animation: comment-sticker-panel-in .16s ease-out;
}
.comment-sticker-panel-upward {
    transform-origin: 24px 100%;
    animation-name: comment-sticker-panel-in-upward;
}
.comment-sticker-panel[hidden], .comment-sticker-backdrop[hidden] {
    display: none !important;
}
.comment-sticker-head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 8px;
}
.comment-sticker-search-field {
    flex: 1;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 6px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--air-line);
    border-radius: 11px;
    color: var(--air-muted);
    background: var(--air-surface-soft);
    cursor: text;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.comment-sticker-search-field:focus-within {
    border-color: rgba(73, 104, 242, .5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(73, 104, 242, .12);
}
.comment-sticker-search-field i {
    flex: none;
    font-size: 13px;
}
.comment-sticker-search-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    color: var(--air-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px !important;
    -webkit-appearance: none;
    appearance: none;
}
.comment-sticker-search-field input::-webkit-search-cancel-button {
    display: none;
}
.comment-sticker-search-field input::placeholder {
    color: var(--air-muted);
    opacity: .8;
}
.comment-sticker-search-clear, .comment-sticker-close {
    flex: none;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--air-muted);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.comment-sticker-search-clear {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}
.comment-sticker-search-clear[hidden] {
    display: none;
}
.comment-sticker-close {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 16px;
}
.comment-sticker-close:focus-visible, .comment-sticker-search-clear:focus-visible, .comment-sticker-chip:focus-visible, .comment-sticker-item:focus-visible, .comment-sticker-more:focus-visible, .comment-sticker-retry:focus-visible {
    outline: 2px solid rgba(73, 104, 242, .46);
    outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
    .comment-sticker-close:hover, .comment-sticker-search-clear:hover {
        color: var(--air-ink);
        background: var(--air-surface-soft);
    }
    .comment-sticker-chip:hover {
        color: var(--air-primary);
        border-color: rgba(73, 104, 242, .32);
    }
    .comment-sticker-item:hover {
        border-color: rgba(73, 104, 242, .38);
        transform: translateY(-1px);
    }
}
.comment-sticker-chips {
    flex: none;
    display: flex;
    gap: 6px;
    padding: 0 36px 10px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.comment-sticker-chips::-webkit-scrollbar {
    display: none;
}
.comment-sticker-chip {
    flex: none;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--air-line);
    border-radius: 999px;
    color: var(--air-muted);
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 26px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
    -webkit-tap-highlight-color: transparent;
}
.comment-sticker-chip.is-active {
    border-color: transparent;
    color: #fff;
    background: var(--air-primary);
}
.comment-sticker-body {
    flex: 1;
    min-height: 0;
    padding: 0 12px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--air-line);
}
.comment-sticker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
}
.comment-sticker-item, .comment-sticker-skeleton {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}
.comment-sticker-item {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--air-line);
    background: var(--air-surface-soft);
    cursor: pointer;
    transition: border-color .16s ease, transform .16s ease, opacity .16s ease;
    -webkit-tap-highlight-color: transparent;
}
.comment-sticker-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    opacity: 1;
    transition: opacity .2s ease;
}
.comment-sticker-item.is-loading img {
    opacity: 0;
}
.comment-sticker-item.is-loading, .comment-sticker-skeleton {
    background:
        linear-gradient(100deg,
            rgba(226, 232, 240, .55) 20%,
            rgba(241, 245, 249, .95) 38%,
            rgba(226, 232, 240, .55) 56%);
    background-size: 220% 100%;
    animation: comment-sticker-shimmer 1.2s linear infinite;
}
.comment-sticker-skeleton {
    display: block;
}
.comment-sticker-item:active {
    transform: scale(.96);
}
.comment-sticker-item.is-picked {
    border-color: var(--air-primary);
    box-shadow: 0 0 0 2px rgba(73, 104, 242, .25);
}
.comment-sticker-item.is-picked::after {
    content: "\2713";
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--air-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.comment-sticker-panel.is-full .comment-sticker-item {
    opacity: .4;
    cursor: not-allowed;
}
.comment-sticker-panel.is-full .comment-sticker-hint {
    color: #d9480f;
}
.comment-sticker-panel.is-shaking .comment-sticker-foot {
    animation: comment-sticker-shake .32s ease;
}
.comment-sticker-status {
    padding: 28px 8px 8px;
    color: var(--air-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}
.comment-sticker-status[hidden] {
    display: none;
}
.comment-sticker-retry, .comment-sticker-more {
    border: 1px solid var(--air-line);
    border-radius: 999px;
    color: var(--air-primary);
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.comment-sticker-retry {
    height: 28px;
    margin-left: 8px;
    padding: 0 14px;
}
.comment-sticker-more {
    display: block;
    height: 32px;
    margin: 12px auto 0;
    padding: 0 18px;
}
.comment-sticker-more[hidden] {
    display: none;
}
.comment-sticker-more:disabled {
    color: var(--air-muted);
    cursor: default;
}
.comment-sticker-foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-top: 1px solid var(--air-line);
    color: var(--air-muted);
    font-size: 12px;
}
.comment-sticker-count {
    flex: none;
    font-variant-numeric: tabular-nums;
}
.comment-sticker-panel-mobile {
    right: 0;
    width: 100%;
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, .2);
    transform-origin: 50% 100%;
    animation-name: comment-sticker-sheet-in;
    animation-duration: .22s;
    touch-action: pan-y;
}
.comment-sticker-panel-mobile::before {
    content: "";
    flex: none;
    align-self: center;
    width: 38px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: #d5dce7;
}
.comment-sticker-panel-mobile .comment-sticker-head {
    padding-top: 8px;
}
.comment-sticker-panel-mobile .comment-sticker-search-field, .comment-sticker-panel-mobile .comment-sticker-close {
    height: 40px;
}
.comment-sticker-panel-mobile .comment-sticker-close {
    width: 40px;
}
.comment-sticker-panel-mobile .comment-sticker-search-field input {
    font-size: 16px !important;
}
.comment-sticker-panel-mobile .comment-sticker-chip {
    height: 32px;
    line-height: 30px;
    font-size: 13px;
}
.comment-sticker-panel-mobile .comment-sticker-foot {
    padding-bottom: env(safe-area-inset-bottom);
    min-height: calc(34px + env(safe-area-inset-bottom));
}
@media (max-width: 360px) {
    .comment-sticker-panel-mobile .comment-sticker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.comment-sticker-missing {
    display: inline-block;
    margin: 4px 0;
    color: var(--air-muted);
    font-size: 12px;
}
.comment-sticker-inline {
    display: inline-block !important;
    width: auto !important;
    max-width: min(200px, 92%) !important;
    height: auto !important;
    max-height: 200px !important;
    margin: 10px 4px 10px 0 !important;
    border-radius: 8px !important;
    vertical-align: middle !important;
    object-fit: contain !important;
    cursor: default;
    user-select: all;
    -webkit-user-drag: none;
}
html[data-blog-theme="dark"] .comment-sticker-trigger {
    border-color: transparent !important;
    color: var(--air-primary);
    background: transparent !important;
    box-shadow: none !important;
}
html[data-blog-theme="dark"] .comment-sticker-trigger:focus-visible, html[data-blog-theme="dark"] .comment-sticker-trigger[aria-expanded="true"] {
    border-color: transparent !important;
    color: var(--air-primary);
    background: transparent !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .comment-sticker-trigger:hover {
        border-color: transparent !important;
        color: var(--air-primary);
        background: transparent !important;
        box-shadow: none !important;
    }
}
html[data-blog-theme="dark"] .comment-sticker-panel {
    border-color: var(--air-line);
    color: var(--air-ink);
    background: var(--air-surface-raised);
    box-shadow: 0 22px 60px rgba(3, 7, 12, .5);
}
html[data-blog-theme="dark"] .comment-sticker-search-field:focus-within {
    background: var(--air-surface-solid);
}
html[data-blog-theme="dark"] .comment-sticker-panel .comment-sticker-search-field input {
    border: 0 !important;
    color: var(--air-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-text-fill-color: var(--air-ink) !important;
}
html[data-blog-theme="dark"] .comment-sticker-item img {
    background: transparent;
}
html[data-blog-theme="dark"] .comment-sticker-item.is-loading, html[data-blog-theme="dark"] .comment-sticker-skeleton {
    background:
        linear-gradient(100deg,
            rgba(52, 65, 82, .74) 20%,
            rgba(67, 82, 101, .92) 38%,
            rgba(52, 65, 82, .74) 56%);
    background-size: 220% 100%;
}
html[data-blog-theme="dark"] .comment-sticker-panel-mobile::before {
    background: rgba(148, 163, 184, .45);
}
html[data-blog-theme="dark"] .comment-sticker-panel.is-full .comment-sticker-hint {
    color: #ff9f6e;
}
@media (max-width: 640px) {
    body.comment-sticker-open {
        overscroll-behavior: none;
    }
    .comment-sticker-inline {
        max-width: min(200px, 86%) !important;
        max-height: 180px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .comment-sticker-panel, .comment-sticker-backdrop, .comment-sticker-trigger, .comment-sticker-item, .comment-sticker-skeleton, .comment-sticker-foot {
        animation: none !important;
        transition: none !important;
    }
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#lightbox img {
    max-width: 90%;
    max-height: 90%;
}
#lightbox .zoomButton {
    position: fixed;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    color: white;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: background-color 0.3s ease;
    z-index: 10001;
}
@media (hover: hover) and (pointer: fine) {
    #lightbox .zoomButton:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }
}
#lightbox .zoomButton {
    font-size: 30px;
}
.clear-input {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}
#emoji-selector {
    position: relative;
    display: none;
    border-radius: 5px;
    padding: 10px;
    z-index: 1;
}
.emoji-button-item {
    font-size: 19px;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    background: none;
}
.show-replies .ui.button {
    background: #1e88e5;
    color: white !important;
    border: none !important;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(30, 136, 229, 0.3);
}
@media (hover: hover) and (pointer: fine) {
    .show-replies .ui.button:hover {
        background: #1565c0;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(30, 136, 229, 0.4);
    }
    .show-replies .ui.button:active {
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(30, 136, 229, 0.3);
    }
}
.reply .ui.button {
    background: transparent !important;
    color: #009688 !important;
    border: 1px solid #009688 !important;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .reply .ui.button:hover {
        background: #e0f2f1 !important;
    }
}
.replies-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out, transform 0.3s ease-out;
    will-change: max-height, opacity, transform;
}
.replies-container.show {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
}
.replies-container .comment {
    margin: 15px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
}
.replies-container .comment .text p {
    background: #fafafa repeating-linear-gradient(-45deg, #fff, #fff 1.125rem, transparent 1.125rem, transparent 2.25rem) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15) !important;
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    color: #555 !important;
    text-align: left !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.error-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(245, 101, 101, 0.9);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 300px;
    word-break: break-word;
    white-space: normal;
}
.error-toast.show {
    opacity: 1;
}
.error-toast i {
    font-size: 16px;
    margin-right: 0;
}
.success-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 300px;
    word-break: break-word;
    white-space: normal;
}
.success-toast.show {
    opacity: 1;
}
.success-toast i {
    font-size: 16px;
    margin-right: 0;
}
.reply-modal input.reply-nickname.loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="%23e0e0e0" stroke-width="3" fill="none"/><path d="M12 2a10 10 0 0 1 10 10" stroke="%231989fa" stroke-width="3" fill="none"><animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" dur="0.8s" repeatCount="indefinite"/></path></svg>');
    background-repeat: no-repeat;
    background-position: right 28px center;
    background-size: 16px 16px;
    padding-right: 50px;
    transition: all 0.3s ease;
}
.reply-modal input.reply-qq.loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="%23e0e0e0" stroke-width="3" fill="none"/><path d="M12 2a10 10 0 0 1 10 10" stroke="%231989fa" stroke-width="3" fill="none"><animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" dur="0.8s" repeatCount="indefinite"/></path></svg>');
    background-repeat: no-repeat;
    background-position: right 28px center;
    background-size: 16px 16px;
    padding-right: 50px;
    transition: all 0.3s ease;
}
.reply-modal .ui.mini.circular.image.loading {
    opacity: 0.5;
    filter: grayscale(60%);
    animation: avatarPulse 0.6s ease-in-out infinite;
    border: 2px solid #1989fa;
    box-shadow: 0 0 8px rgba(25, 137, 250, 0.5);
}
#emoji-selector {
    position: relative;
    display: none;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
    padding: 0;
    overflow: hidden;
    z-index: 100;
}
.emoji-selector-container {
    max-width: 100%;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}
.emoji-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, 48px);
    justify-content: start;
    gap: 10px;
    padding: 15px;
    border-radius: 0 0 15px 15px;
    background-color: #f8faff;
    max-height: 300px;
    overflow-y: auto;
}
.emoji-panel.active {
    display: grid;
    animation: fadeIn 0.4s ease;
}
.emoji-button {
    font-size: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .emoji-button:hover {
        transform: translateY(-4px) scale(1.15) !important;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
    }
}
@media (max-width: 768px) {
    .emoji-panel {
        grid-template-columns: repeat(7, 1fr) !important;
        justify-content: stretch !important;
        gap: 6px !important;
        max-height: 350px !important;
        padding: 10px !important;
    }
    .emoji-button {
        background: none !important;
        font-size: 24px !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
    }
    .emoji-item {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
        margin: 0 !important;
        padding: 2px !important;
    }
    .emoji-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
    .reply-modal .emoji-panel {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
    }
    .reply-modal .emoji-panel > div {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 6px !important;
    }
    .reply-modal .emoji-item {
        width: 100% !important;
        margin: 0 !important;
    }
}
@media (max-width: 480px) {
    .emoji-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    .emoji-panel {
        grid-template-columns: repeat(7, 1fr) !important;
        justify-content: stretch !important;
        gap: 5px !important;
        padding: 8px !important;
    }
    .emoji-button {
        background: none !important;
        font-size: 22px !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
    }
    .emoji-item {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
        margin: 0 !important;
        padding: 2px !important;
    }
    .emoji-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
    .emoji-tab {
        padding: 8px 12px !important;
    }
    .reply-modal .emoji-panel {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
    }
    .reply-modal .emoji-panel > div {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 5px !important;
    }
    .reply-modal .emoji-item {
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
        aspect-ratio: 1/1;
        padding: 2px !important;
    }
    .reply-modal .emoji-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
}
.toggle-replies-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3498db;
    border: 1px solid #e0e0e0;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-replies-btn:hover {
        background: #f8fafd;
        border-color: #3498db;
        box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
    }
    .toggle-replies-btn:active {
        transform: scale(0.98);
    }
}
.toggle-replies-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}
.toggle-replies-btn.expanded {
    background: #f8fafd;
    border-color: #3498db;
}
.toggle-replies-btn.expanded i {
    transform: rotate(180deg);
}
.emoji-container {
    position: relative;
    margin-top: 15px;
}
.emoji-button {
    background: none !important;
    border: none !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 22px;
}
@media (hover: hover) and (pointer: fine) {
    .emoji-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(25, 137, 250, 0.4);
    }
}
.emoji-container {
    position: relative;
    text-align: left;
}
.emoji-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: none;
    grid-template-columns: repeat(auto-fill, 48px);
    justify-content: start;
    gap: 10px;
    width: 100%;
    max-height: 202px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    border: 1px solid #e1e8ed;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}
.emoji-panel.active {
    display: grid;
}
.emoji-item {
    font-size: 28px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: transparent;
    flex-shrink: 0;
}
.emoji-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
    .emoji-item:hover {
        transform: scale(1.15);
        background: #f0f7ff;
        box-shadow: 0 0 0 2px rgba(25, 137, 250, 0.3);
    }
}
@media (max-width: 768px) {
    .emoji-panel {
        grid-template-columns: repeat(7, 1fr) !important;
        justify-content: stretch !important;
        gap: 6px !important;
        max-height: 350px !important;
        padding: 10px !important;
        overflow-x: hidden !important;
    }
}
.emoji-trigger, .emoji-trigger:focus {
    background-color: transparent !important;
    background-image: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .emoji-trigger:hover, .emoji-trigger:active {
        background-color: transparent !important;
        background-image: none !important;
    }
}
/* 浅色系统配色下的 GitHub 浅色 token 配色已删：新主题的代码块底色永远是深色（#101828），深字压深底看不清 */

.code-wrapper {
    background: var(--code-bg) !important;
    border-radius: 8px !important;
    margin: 24px 0 !important;
    overflow: hidden !important;
    box-shadow: var(--code-shadow) !important;
    font-family: var(--blog-font-code) !important;
    border: 1px solid var(--code-border) !important;
    transition: all 0.3s ease !important;
    animation: code-fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
@media (hover: hover) and (pointer: fine) {
    .code-wrapper:hover {
        box-shadow: var(--code-shadow), 0 0 0 1px var(--code-border) !important;
        transform: translateY(-2px);
    }
}
.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px !important;
    background: var(--code-header-bg) !important;
    color: var(--code-text) !important;
    font-size: 13px !important;
    border-bottom: 1px solid var(--code-border) !important;
    user-select: none;
}
.code-lang {
    font-weight: 600 !important;
    color: var(--code-lang-color) !important;
    letter-spacing: 0.5px;
}
.code-copy {
    background: var(--code-copy-btn-bg) !important;
    border: none !important;
    color: var(--code-copy-text) !important;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    cursor: pointer;
    font-size: 12px !important;
    transition: all 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .code-copy:hover {
        background: var(--code-copy-btn-hover) !important;
        color: var(--code-copy-text-hover) !important;
    }
}
.ai-chat-message-content .code-wrapper, .ai-chat-message-content.markdown-body .code-wrapper {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    margin: 12px 0 !important;
}
.ai-chat-message-content .code-header, .ai-chat-message-content.markdown-body .code-header {
    background: #1a1d23 !important;
    color: #abb2bf !important;
    border-bottom: 1px solid #2c313a !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
}
.ai-chat-message-content .code-lang, .ai-chat-message-content.markdown-body .code-lang {
    color: #9da5b4 !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}
.ai-chat-message-content .code-copy, .ai-chat-message-content.markdown-body .code-copy {
    background: #2c313a !important;
    color: #9da5b4 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-message-content .code-copy:hover, .ai-chat-message-content.markdown-body .code-copy:hover {
        background: #3d424b !important;
        color: #ffffff !important;
    }
}
.ai-chat-message-content .code-body, .ai-chat-message-content.markdown-body .code-body {
    background: #282c34 !important;
}
.ai-chat-message-content .code-body pre, .ai-chat-message-content.markdown-body .code-body pre {
    background: #282c34 !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 0 !important;
}
.ai-chat-message-content .code-body pre code, .ai-chat-message-content .code-body pre code.hljs, .ai-chat-message-content.markdown-body .code-body pre code, .ai-chat-message-content.markdown-body .code-body pre code.hljs {
    background: transparent !important;
    box-shadow: none !important;
}
.ai-chat-message-content .code-wrapper.collapsed .code-body::after, .ai-chat-message-content.markdown-body .code-wrapper.collapsed .code-body::after {
    background: linear-gradient(to bottom, transparent, #282c34) !important;
}
.ai-chat-message-content .code-expand-btn, .ai-chat-message-content.markdown-body .code-expand-btn {
    background: #282c34 !important;
    color: #9da5b4 !important;
    border-top: 1px solid #3d424b !important;
    padding: 10px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-message-content .code-expand-btn:hover, .ai-chat-message-content.markdown-body .code-expand-btn:hover {
        background: #323842 !important;
        color: #ffffff !important;
    }
}
.code-body {
    position: relative;
    padding: 0 !important;
    overflow-x: auto !important;
    background: var(--code-bg) !important;
}
.code-body pre {
    margin: 0 !important;
    padding: 16px !important;
    background: transparent !important;
    border: none !important;
    font-family: inherit !important;
}
.code-body code {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    background: transparent !important;
    text-shadow: none !important;
    color: var(--code-text) !important;
    padding: 0 !important;
}
.code-body::-webkit-scrollbar {
    height: 8px !important;
    background-color: var(--code-scrollbar) !important;
}
.code-body::-webkit-scrollbar-thumb {
    background: var(--code-scrollbar-thumb) !important;
    border-radius: 4px !important;
}
@media (hover: hover) and (pointer: fine) {
    .code-body::-webkit-scrollbar-thumb:hover {
        background: var(--code-scrollbar-thumb-hover) !important;
    }
}
.code-wrapper.collapsed .code-body {
    overflow: hidden !important;
    position: relative;
}
.code-wrapper.collapsed .code-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--code-bg));
    pointer-events: none;
    z-index: 10;
}
.code-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    cursor: pointer;
    background: var(--code-header-bg);
    border-top: 1px solid var(--code-border);
    color: var(--code-text);
    font-size: 13px;
    transition: all 0.2s;
    user-select: none;
    font-family: var(--blog-font-sans);
}
@media (hover: hover) and (pointer: fine) {
    .code-expand-btn:hover {
        background: var(--code-copy-btn-hover);
        color: var(--code-copy-text-hover);
    }
}
.code-expand-btn i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}
.code-wrapper:not(.collapsed) .code-expand-btn i {
    transform: rotate(180deg);
}
.code-body {
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (min-width: 768px) {
    .emoji-item img {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
    .emoji-panel {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr)) !important;
    }
}
.share-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.share-image-content {
    background: white;
    border-radius: 20px;
    padding: 25px;
    max-width: 90%;
    width: 440px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}
.share-image-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}
#shareImageCanvas {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}
.share-image-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-image-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.share-image-btn.primary {
    background: linear-gradient(135deg, #00b5ad, #009c95);
    color: white;
}
@media (hover: hover) and (pointer: fine) {
    .share-image-btn.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 181, 173, 0.4);
    }
}
.share-image-btn.secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}
@media (hover: hover) and (pointer: fine) {
    .share-image-btn.secondary:hover {
        background: #e9ecef;
    }
}
@media (max-width: 767px) {
    .share-image-content {
        padding: 20px;
        width: 100%;
        max-width: 350px;
    }
    .share-image-title {
        font-size: 18px;
    }
    .share-image-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
.ai-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    font-family: var(--blog-font-sans);
}
.ai-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.ai-chat-toggle-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}
.ai-chat-toggle-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
    }
    .ai-chat-toggle:active {
        transform: scale(0.95);
    }
}
.ai-chat-toggle-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-toggle:hover .ai-chat-toggle-icon {
        transform: rotate(15deg) scale(1.1);
    }
}
.ai-chat-avatar img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.ai-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: badge-pulse 2s infinite;
    z-index: 1;
}
.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.ai-chat-resize-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    cursor: nw-resize;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 20px;
    transition: all 0.2s ease;
}
.ai-chat-resize-handle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-top-left-radius: 2px;
    transition: all 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-resize-handle:hover::before {
        border-left-color: rgba(255, 255, 255, 0.9);
        border-top-color: rgba(255, 255, 255, 0.9);
        width: 12px;
        height: 12px;
    }
}
.ai-chat-resize-handle.resizing::before {
    border-left-color: #667eea;
    border-top-color: #667eea;
    width: 12px;
    height: 12px;
}
.ai-chat-window.resizing {
    transition: none;
    user-select: none;
}
.ai-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}
.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ai-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ai-chat-title {
    font-size: 16px;
    font-weight: 600;
}
.ai-chat-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}
.ai-chat-header-actions {
    display: flex;
    gap: 8px;
}
.ai-chat-header-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-header-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.1);
    }
}
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}
.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-messages::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}
.ai-chat-message {
    display: flex;
    margin-bottom: 16px;
    animation: message-fade-in 0.3s ease;
}
.ai-chat-message.user {
    justify-content: flex-end;
}
.ai-chat-message.ai {
    justify-content: flex-start;
}
.ai-chat-message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: left;
    display: inline-block;
}
.ai-chat-message.ai .ai-chat-message-content {
    background: white;
    color: #374151;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-right: auto;
}
.ai-chat-message.user .ai-chat-message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}
.ai-typing-cursor {
    display: inline-block;
    color: #667eea;
    font-weight: 300;
    margin-left: 2px;
    animation: ai-cursor-blink 1s infinite;
}
.ai-chat-message-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    text-align: right;
}
.ai-chat-message.ai .ai-chat-message-time {
    text-align: left;
}
.ai-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    text-align: left;
    font-style: italic;
}
.ai-chat-message-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    opacity: 1;
}
.ai-chat-message.user .ai-chat-message-actions {
    justify-content: flex-end;
}
.ai-chat-message.ai .ai-chat-message-actions {
    justify-content: flex-start;
}
.ai-chat-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-action-btn:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
        transform: translateY(-1px);
    }
    .ai-chat-action-btn:active {
        transform: scale(0.92);
    }
}
.ai-chat-action-btn.copied {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-action-btn.copied:hover {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
    }
}
.ai-chat-pause-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-pause-btn:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
        color: #374151;
    }
}
.ai-chat-pause-btn i {
    font-size: 10px;
}
.ai-chat-resume-text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
    margin-left: 6px;
    position: relative;
    overflow: hidden;
}
.ai-chat-resume-text-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-resume-text-btn:hover::before {
        left: 100%;
    }
    .ai-chat-resume-text-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(16, 185, 129, 0.45);
    }
    .ai-chat-resume-text-btn:active {
        transform: translateY(0) scale(0.97);
        box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    }
}
.ai-chat-scroll-bottom {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #6b7280;
    font-size: 14px;
}
.ai-chat-scroll-bottom.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-scroll-bottom:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #667eea;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    .ai-chat-scroll-bottom:active {
        transform: translateX(-50%) scale(0.95);
    }
}
.ai-chat-scroll-bottom i {
    animation: bounce-down 1.5s ease-in-out infinite;
}
.ai-chat-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: fit-content;
}
.ai-chat-loading-dots {
    display: flex;
    gap: 4px;
}
.ai-chat-loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: loading-dot 1.4s ease-in-out infinite both;
}
.ai-chat-loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}
.ai-chat-loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}
.ai-chat-loading-text {
    font-size: 13px;
    color: #6b7280;
}
.ai-chat-input-area {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
}
.ai-chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.ai-chat-input {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}
.ai-chat-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.ai-chat-input::placeholder {
    color: #9ca3af;
}
.ai-chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-send-btn:hover:not(:disabled) {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
}
.ai-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.ai-chat-send-btn i {
    font-size: 16px;
}
.ai-chat-send-btn.paused {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: pulse-pause 2s ease-in-out infinite;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-send-btn.paused:hover {
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }
}
.ai-chat-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
.ai-chat-quick-btn {
    padding: 6px 12px;
    background: #f3f4f6;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-quick-btn:hover {
        background: #e5e7eb;
        color: #374151;
    }
}
.ai-chat-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
}
.ai-chat-welcome {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}
.ai-chat-welcome-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.ai-chat-welcome-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.ai-chat-welcome-text {
    font-size: 13px;
    line-height: 1.6;
}
.ai-chat-message-content pre, .ai-chat-message-content pre.hljs {
    background: #1f2937 !important;
    color: #e5e7eb !important;
    padding: 12px !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 8px 0 !important;
    border: none !important;
}
.ai-chat-message-content pre code, .ai-chat-message-content pre.hljs code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-family: var(--blog-font-code) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}
.ai-chat-message-content code {
    font-family: var(--blog-font-code);
}
.ai-chat-message-content p {
    margin: 0 0 8px 0;
}
.ai-chat-message-content p:last-child {
    margin-bottom: 0;
}
.ai-chat-message-content.markdown-body {
    font-size: 14px;
    line-height: 1.7;
}
.ai-chat-message-content.markdown-body h1, .ai-chat-message-content.markdown-body h2, .ai-chat-message-content.markdown-body h3, .ai-chat-message-content.markdown-body h4, .ai-chat-message-content.markdown-body h5, .ai-chat-message-content.markdown-body h6 {
    margin: 12px 0 8px 0;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
}
.ai-chat-message-content.markdown-body h1 {
    font-size: 18px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}
.ai-chat-message-content.markdown-body h2 {
    font-size: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
}
.ai-chat-message-content.markdown-body h3 {
    font-size: 15px;
}
.ai-chat-message-content.markdown-body h4, .ai-chat-message-content.markdown-body h5, .ai-chat-message-content.markdown-body h6 {
    font-size: 14px;
}
.ai-chat-message-content.markdown-body ul, .ai-chat-message-content.markdown-body ol {
    margin: 8px 0;
    padding-left: 20px;
}
.ai-chat-message-content.markdown-body li {
    margin: 4px 0;
}
.ai-chat-message-content.markdown-body ul li {
    list-style-type: disc;
}
.ai-chat-message-content.markdown-body ol li {
    list-style-type: decimal;
}
.ai-chat-message-content.markdown-body input[type="checkbox"] {
    margin-right: 6px;
    vertical-align: middle;
}
.ai-chat-message-content.markdown-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-message-content.markdown-body a:hover {
        border-bottom-color: #667eea;
    }
}
.ai-chat-message-content.markdown-body strong {
    font-weight: 600;
    color: #1f2937;
}
.ai-chat-message-content.markdown-body em {
    font-style: italic;
}
.ai-chat-message-content.markdown-body del {
    text-decoration: line-through;
    color: #9ca3af;
}
.ai-chat-message-content.markdown-body blockquote {
    margin: 8px 0;
    padding: 8px 12px;
    border-left: 4px solid #667eea;
    background: #f9fafb;
    border-radius: 0 8px 8px 0;
    color: #4b5563;
}
.ai-chat-message-content.markdown-body blockquote p {
    margin: 0;
}
.ai-chat-message-content.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 13px;
}
.ai-chat-message-content.markdown-body th, .ai-chat-message-content.markdown-body td {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    text-align: left;
}
.ai-chat-message-content.markdown-body th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}
.ai-chat-message-content.markdown-body tr:nth-child(even) {
    background: #f9fafb;
}
.ai-chat-message-content.markdown-body pre, .ai-chat-message-content.markdown-body pre.hljs {
    background: #1f2937 !important;
    color: #e5e7eb !important;
    padding: 12px !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 8px 0 !important;
    border: none !important;
}
.ai-chat-message-content.markdown-body pre code, .ai-chat-message-content.markdown-body pre.hljs code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-family: var(--blog-font-code) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}
.ai-chat-message-content.markdown-body code:not(pre code) {
    background: #f3f4f6;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--blog-font-code);
}
.ai-chat-message-content.markdown-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0;
}
.ai-chat-message-content.markdown-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}
.ai-chat-message.user .ai-chat-message-content.markdown-body {
    color: white;
}
.ai-chat-message.user .ai-chat-message-content.markdown-body h1, .ai-chat-message.user .ai-chat-message-content.markdown-body h2, .ai-chat-message.user .ai-chat-message-content.markdown-body h3, .ai-chat-message.user .ai-chat-message-content.markdown-body h4, .ai-chat-message.user .ai-chat-message-content.markdown-body h5, .ai-chat-message.user .ai-chat-message-content.markdown-body h6, .ai-chat-message.user .ai-chat-message-content.markdown-body strong {
    color: white;
}
.ai-chat-message.user .ai-chat-message-content.markdown-body code {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
.ai-chat-message.user .ai-chat-message-content.markdown-body a {
    color: #e0e7ff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}
.ai-chat-message.user .ai-chat-message-content.markdown-body blockquote {
    border-left-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
    .ai-chat-widget {
        bottom: 80px;
        right: 16px;
    }
    .ai-chat-toggle {
        width: 52px;
        height: 52px;
    }
    .ai-chat-toggle-icon {
        width: 36px;
        height: 36px;
    }
    .ai-chat-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }
    .ai-chat-window.active {
        transform: translateY(0);
    }
    .ai-chat-messages {
        padding: 16px;
    }
    .ai-chat-input-area {
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
    .ai-chat-scroll-bottom {
        bottom: 100px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .ai-chat-message-content {
        max-width: 85%;
        padding: 10px 14px;
        font-size: 13px;
    }
    .ai-chat-quick-questions {
        gap: 6px;
    }
    .ai-chat-quick-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}
.ai-audit-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    color: white;
    padding: 20px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    min-width: 260px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ai-audit-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.ai-audit-toast .toast-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.ai-audit-toast .toast-title {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.ai-audit-toast .toast-subtitle {
    font-size: 12px;
    opacity: 0.85;
}
.ai-audit-toast.style-tech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 30px rgba(118, 75, 162, 0.3);
}
.ai-audit-toast.style-tech .ai-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
}
.ai-audit-toast.style-tech .ai-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: tech-pulse-ring 2s ease-out infinite;
}
.ai-audit-toast.style-tech .ai-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: tech-pulse-ring 2s ease-out infinite 0.5s;
}
.ai-audit-toast.style-tech .tech-animation {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ai-audit-toast.style-tech .tech-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: tech-bounce 1.4s ease-in-out infinite both;
}
.ai-audit-toast.style-tech .tech-dot:nth-child(1) {
    animation-delay: -0.32s;
}
.ai-audit-toast.style-tech .tech-dot:nth-child(2) {
    animation-delay: -0.16s;
}
.ai-audit-toast.style-tech .tech-dot:nth-child(3) {
    animation-delay: 0s;
}
.ai-audit-toast.style-minimal {
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.ai-audit-toast.style-minimal .ai-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: minimal-float 3s ease-in-out infinite;
}
.ai-audit-toast.style-minimal .minimal-animation {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}
.ai-audit-toast.style-minimal .wave-bar {
    width: 3px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 2px;
    animation: minimal-wave 1.2s ease-in-out infinite;
}
.ai-audit-toast.style-minimal .wave-bar:nth-child(1) {
    animation-delay: 0s;
    height: 6px;
}
.ai-audit-toast.style-minimal .wave-bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 12px;
}
.ai-audit-toast.style-minimal .wave-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 18px;
}
.ai-audit-toast.style-minimal .wave-bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 12px;
}
.ai-audit-toast.style-minimal .wave-bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 6px;
}
.ai-audit-toast.style-particle {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 0 10px 40px rgba(15, 52, 96, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(102, 126, 234, 0.2);
}
.ai-audit-toast.style-particle .ai-icon {
    width: 48px;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.ai-audit-toast.style-particle .particle-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(102, 126, 234, 0.8);
    border-right-color: rgba(118, 75, 162, 0.6);
    animation: particle-spin 2s linear infinite;
}
.ai-audit-toast.style-particle .particle-ring:nth-child(2) {
    inset: 4px;
    border-top-color: rgba(118, 75, 162, 0.8);
    border-right-color: rgba(102, 126, 234, 0.6);
    animation: particle-spin 1.5s linear infinite reverse;
}
.ai-audit-toast.style-particle .particle-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-audit-toast.style-particle .particle-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: particle-pulse 1s ease-in-out infinite;
}
.ai-audit-toast.style-particle .particle-dot:nth-child(1) {
    animation-delay: 0s;
}
.ai-audit-toast.style-particle .particle-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.ai-audit-toast.style-particle .particle-dot:nth-child(3) {
    animation-delay: 0.4s;
}
.ai-audit-toast .ai-icon, .ai-audit-toast .tech-dot, .ai-audit-toast .wave-bar, .ai-audit-toast .particle-dot, .ai-audit-toast .particle-ring {
    will-change: transform, opacity;
    transform: translateZ(0);
}
@media (prefers-reduced-motion: reduce) {
    .ai-audit-toast .ai-icon, .ai-audit-toast .tech-dot, .ai-audit-toast .wave-bar, .ai-audit-toast .particle-dot, .ai-audit-toast .particle-ring, .ai-audit-toast .ai-icon::before, .ai-audit-toast .ai-icon::after {
        animation: none !important;
    }
}
@media (max-width: 768px) {
    .ai-audit-toast {
        min-width: 200px;
        padding: 16px 24px;
        font-size: 14px;
    }
    .ai-audit-toast .ai-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
}
.audit-result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10004;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.audit-result-modal.show {
    opacity: 1;
    visibility: visible;
}
.audit-result-modal .modal-content {
    background: white;
    padding: 32px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.audit-result-modal.show .modal-content {
    transform: scale(1);
}
.audit-result-modal .modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.audit-result-modal .modal-icon.reject {
    color: #ff4d4f;
}
.audit-result-modal .modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.audit-result-modal .modal-message {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.audit-result-modal .modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 36px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .audit-result-modal .modal-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }
}
.audit-result-modal.reject-modal .modal-btn {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
}
@media (hover: hover) and (pointer: fine) {
    .audit-result-modal.reject-modal .modal-btn:hover {
        box-shadow: 0 8px 20px rgba(255, 77, 79, 0.4);
    }
}
.ai-audit-toast, .ai-audit-toast.style-tech, .ai-audit-toast.style-minimal, .ai-audit-toast.style-particle {
    min-width: 240px;
    padding: 14px 18px;
    color: #151e2f;
    border: 1px solid rgba(230, 234, 240, .95);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(23, 32, 51, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.ai-audit-toast .ai-icon, .ai-audit-toast.style-particle .ai-icon, .ai-audit-toast.style-minimal .ai-icon, .ai-audit-toast.style-tech .ai-icon {
    display: none !important;
}
.ai-audit-toast .ai-icon::before {
    content: 'AI';
    position: static;
    display: inline;
    border: 0;
    color: #4968f2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    animation: none;
}
.ai-audit-toast .ai-icon::after, .ai-audit-toast .particle-ring {
    display: none !important;
}
.ai-audit-toast .toast-content {
    justify-content: center;
    gap: 10px;
}
.ai-audit-toast .toast-title {
    color: #151e2f;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}
.ai-audit-toast .particle-dots, .ai-audit-toast .tech-animation, .ai-audit-toast .minimal-animation {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 14px;
}
.ai-audit-toast .particle-dot, .ai-audit-toast .tech-dot, .ai-audit-toast .wave-bar {
    width: 5px !important;
    height: 5px !important;
    border-radius: 999px;
    background: #4968f2 !important;
    box-shadow: none !important;
    animation: air-audit-dot 1.1s ease-in-out infinite !important;
}
.ai-audit-toast .particle-dot:nth-child(2), .ai-audit-toast .tech-dot:nth-child(2), .ai-audit-toast .wave-bar:nth-child(2) {
    animation-delay: .16s !important;
}
.ai-audit-toast .particle-dot:nth-child(3), .ai-audit-toast .tech-dot:nth-child(3), .ai-audit-toast .wave-bar:nth-child(3) {
    animation-delay: .32s !important;
}
.tk-tag {
    display: inline-block;
    padding: 0 0.5em;
    font-size: 1em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8));
    border: 2px solid transparent;
    border-radius: 15px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8)),
        linear-gradient(135deg, #ffeaa7, #dfe6e9);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.tk-tag-green {
    background: linear-gradient(135deg, rgba(103, 194, 58, 0.13), rgba(103, 194, 58, 0.2));
    border: 2px solid transparent;
    border-radius: 15px;
    color: floralwhite;
    background-image: linear-gradient(rgba(103, 194, 58, 0.13), rgba(103, 194, 58, 0.2)),
        linear-gradient(135deg, #67c23a, #85ce61);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-weight: 600;
}
.tk-tag-teal {
    background: linear-gradient(135deg, rgba(255, 112, 67, 0.15), rgba(255, 112, 67, 0.25));
    border: 2px solid transparent;
    border-radius: 15px;
    color: #ffffff;
    background-image: linear-gradient(rgba(255, 112, 67, 0.15), rgba(255, 112, 67, 0.25)),
        linear-gradient(135deg, #FF7043, #FFAB91);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
@media (hover: hover) and (pointer: fine) {
    .tk-tag-teal:hover {
        color: #ffffff !important;
    }
}
.share-image-modal, .ai-chat-widget {
    --post-ui-primary: var(--air-primary, #4968f2);
    --post-ui-primary-soft: var(--air-primary-soft, #eef2ff);
    --post-ui-ink: var(--air-ink, #151e2f);
    --post-ui-muted: var(--air-muted, #667085);
    --post-ui-soft: var(--air-soft, #98a2b3);
    --post-ui-line: var(--air-line, #e6eaf0);
    --post-ui-line-soft: var(--air-line-soft, #f0f3f8);
    --post-ui-surface: var(--air-surface-solid, #ffffff);
    --post-ui-bg: var(--air-bg, #f7f8fb);
    --post-ui-radius: 18px;
    font-family: var(--blog-font-sans);
}
.share-image-modal {
    inset: 0;
    width: auto;
    height: auto;
    padding: 24px;
    background: rgba(21, 30, 47, .48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.share-image-content {
    width: min(760px, 100%);
    max-width: none;
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 1px solid rgba(230, 234, 240, .9);
    border-radius: 24px;
    background: var(--post-ui-surface);
    box-shadow: 0 28px 80px rgba(23, 32, 51, .18);
    text-align: left;
    overflow: hidden;
    animation: post-modal-enter .24s cubic-bezier(.16, 1, .3, 1);
}
.share-image-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--post-ui-line-soft);
}
.share-image-heading {
    min-width: 0;
}
.share-image-title {
    margin: 0;
    color: var(--post-ui-ink);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.02em;
}
.share-image-description {
    margin: 5px 0 0;
    color: var(--post-ui-muted);
    font-size: 13px;
    line-height: 1.55;
}
.share-image-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--post-ui-line);
    border-radius: 12px;
    background: #fff;
    color: #596579;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
@media (hover: hover) and (pointer: fine) {
    .share-image-close:hover {
        color: var(--post-ui-primary);
        border-color: #cbd5ff;
        background: var(--post-ui-primary-soft);
    }
    .share-image-close:active, .share-image-btn:active, .ai-chat-header-btn:active, .ai-chat-send-btn:active, .ai-chat-quick-btn:active, .ai-chat-toggle:active {
        transform: scale(.97);
    }
}
.share-image-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    min-height: 0;
    padding: 24px;
    background: #f8f9fc;
}
.share-image-preview-shell {
    position: relative;
    min-width: 0;
    min-height: 0;
    max-height: calc(100dvh - 190px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--post-ui-line);
    border-radius: var(--post-ui-radius);
    background: #eef1f7;
    overflow: auto;
}
#shareImageCanvas {
    display: block;
    width: min(100%, 375px) !important;
    height: auto !important;
    margin: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(23, 32, 51, .12);
}
.share-image-preview-status {
    position: absolute;
    inset: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 16px;
    background: rgba(247, 248, 251, .9);
    color: var(--post-ui-muted);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}
.share-image-preview-shell.is-loading .share-image-preview-status {
    display: flex;
}
.share-image-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
}
.share-image-side-intro {
    min-width: 0;
}
.share-image-side-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--post-ui-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.share-image-side-kicker::before {
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--post-ui-primary);
    content: '';
}
.share-image-side-intro strong {
    display: block;
    color: var(--post-ui-ink);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: -.02em;
}
.share-image-side-intro p {
    margin: 8px 0 0;
    color: var(--post-ui-muted);
    font-size: 12px;
    line-height: 1.7;
}
.share-image-tip {
    padding: 16px;
    border: 1px solid #dfe5f3;
    border-radius: 16px;
    background: var(--post-ui-primary-soft);
}
.share-image-tip-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--post-ui-primary-soft);
    color: var(--post-ui-primary);
    font-size: 14px;
}
.share-image-tip strong {
    display: block;
    margin-bottom: 6px;
    color: var(--post-ui-ink);
    font-size: 14px;
}
.share-image-tip p {
    margin: 0;
    color: var(--post-ui-muted);
    font-size: 12px;
    line-height: 1.65;
}
.share-image-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    justify-content: stretch;
    margin: 0;
}
.share-image-btn {
    min-height: 44px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.share-image-btn.primary {
    background: var(--post-ui-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(73, 104, 242, .2);
}
@media (hover: hover) and (pointer: fine) {
    .share-image-btn.primary:hover:not(:disabled) {
        background: #3f5dde;
        box-shadow: 0 13px 28px rgba(73, 104, 242, .26);
        transform: translateY(-1px);
    }
}
.share-image-btn.primary:disabled {
    opacity: .58;
    cursor: wait;
    box-shadow: none;
}
.share-image-btn.secondary {
    border-color: var(--post-ui-line);
    background: #fff;
    color: #4d596d;
}
@media (hover: hover) and (pointer: fine) {
    .share-image-btn.secondary:hover {
        border-color: #cbd5ff;
        background: var(--post-ui-primary-soft);
        color: var(--post-ui-primary);
    }
}
.share-image-btn.secondary.is-success {
    border-color: #c5d0ff;
    background: var(--post-ui-primary-soft);
    color: var(--post-ui-primary);
}
.share-image-btn.secondary.is-error {
    border-color: #ffd1d4;
    background: #fff6f6;
    color: #c93c43;
}
.share-image-btn.secondary:disabled {
    cursor: default;
}
@media (min-width: 768px) {
    .share-image-content {
        width: min(900px, 100%);
        display: flex;
        flex-direction: column;
    }
    .share-image-header {
        flex: 0 0 auto;
        align-items: center;
        padding: 20px 28px 18px;
    }
    .share-image-body {
        flex: 1 1 auto;
        grid-template-columns: minmax(0, 536px) minmax(0, 1fr);
        gap: 24px;
        padding: 24px;
    }
    .share-image-preview-shell {
        height: min(640px, calc(100dvh - 188px));
        max-height: none;
        align-items: center;
        padding: 20px;
        overflow: hidden;
    }
    #shareImageCanvas {
        width: auto !important;
        height: min(600px, calc(100dvh - 228px)) !important;
        max-width: 100%;
        box-shadow: none;
    }
    .share-image-side {
        align-self: stretch;
        min-height: 0;
        padding: 20px;
        border: 1px solid var(--post-ui-line);
        border-radius: var(--post-ui-radius);
        background: var(--post-ui-surface);
        overflow-y: auto;
    }
    .share-image-actions {
        margin-top: 8px;
    }
    .share-image-btn {
        min-height: 48px;
    }
    .share-image-tip {
        margin-top: auto;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .share-image-content {
        width: min(820px, 100%);
    }
    .share-image-header {
        padding-right: 22px;
        padding-left: 22px;
    }
    .share-image-body {
        grid-template-columns: minmax(0, 1fr) 244px;
        gap: 18px;
        padding: 18px;
    }
    .share-image-preview-shell, .share-image-side {
        padding: 18px;
    }
}
.ai-chat-widget {
    right: 24px;
    bottom: 28px;
    z-index: 9999;
}
body.ai-chat-open #scroll-to-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(.92) !important;
}
.ai-chat-toggle {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(230, 234, 240, .95);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 32, 51, .14);
}
.ai-chat-toggle-inner {
    border-radius: inherit;
    background: var(--post-ui-primary-soft);
    inset: 7px;
}
.ai-chat-toggle-inner::before {
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-toggle:hover {
        border-color: #cbd5ff;
        transform: translateY(-2px);
        box-shadow: 0 20px 42px rgba(23, 32, 51, .17);
    }
}
.ai-chat-toggle-icon {
    width: 38px;
    height: 38px;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-toggle:hover .ai-chat-toggle-icon {
        transform: translateY(-1px);
    }
}
.ai-chat-badge {
    top: -7px;
    right: -7px;
    width: 22px;
    height: 22px;
    border: 3px solid #fff;
    background: #e5484d;
    box-shadow: 0 5px 12px rgba(229, 72, 77, .25);
    animation: none;
}
.ai-chat-window {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 440px;
    height: min(680px, calc(100dvh - 56px));
    border: 1px solid rgba(217, 224, 236, .95);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(23, 32, 51, .18);
    transform: translateY(16px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .22s ease, visibility .22s ease, transform .22s cubic-bezier(.16, 1, .3, 1);
}
.ai-chat-window.active {
    transform: translateY(0) scale(1);
}
.ai-chat-resize-handle {
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-top-left-radius: 22px;
}
.ai-chat-resize-handle::before {
    width: 9px;
    height: 9px;
    border-top-color: #bcc6d6;
    border-left-color: #bcc6d6;
}
.ai-chat-resize-handle.resizing::before {
    width: 11px;
    height: 11px;
    border-top-color: var(--post-ui-primary);
    border-left-color: var(--post-ui-primary);
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-resize-handle:hover::before {
        width: 11px;
        height: 11px;
        border-top-color: var(--post-ui-primary);
        border-left-color: var(--post-ui-primary);
    }
}
.ai-chat-header {
    min-height: 72px;
    padding: 14px 14px 14px 18px;
    border-bottom: 1px solid var(--post-ui-line-soft);
    background: #fff;
    color: var(--post-ui-ink);
}
.ai-chat-header-info {
    gap: 11px;
    min-width: 0;
}
.ai-chat-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #dce3f5;
    border-radius: 14px;
    background: var(--post-ui-primary-soft);
}
.ai-chat-avatar img {
    width: 31px;
    height: 31px;
}
.ai-chat-title {
    overflow: hidden;
    color: var(--post-ui-ink);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-chat-subtitle {
    margin-top: 3px;
    color: var(--post-ui-muted);
    font-size: 12px;
    line-height: 1.3;
    opacity: 1;
}
.ai-chat-header-actions {
    gap: 6px;
}
.ai-chat-header-btn {
    width: 36px;
    height: 36px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f5f7fb;
    color: #69758a;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-header-btn:hover {
        border-color: var(--post-ui-line);
        background: #fff;
        color: var(--post-ui-primary);
        transform: none;
    }
}
.ai-chat-messages {
    padding: 20px 18px 22px;
    background: #f7f8fb;
    scrollbar-color: #cfd6e2 transparent;
    scrollbar-width: thin;
}
.ai-chat-messages::-webkit-scrollbar {
    width: 5px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: #cfd6e2;
    border-radius: 99px;
}
.ai-chat-message {
    margin-bottom: 18px;
    animation: post-message-enter .22s ease;
}
.ai-chat-message-content {
    max-width: 86%;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.7;
}
.ai-chat-message.ai .ai-chat-message-content {
    border: 1px solid #e7ebf2;
    border-bottom-left-radius: 5px;
    background: #fff;
    color: #344054;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .045);
}
.ai-chat-message.user .ai-chat-message-content {
    border-bottom-right-radius: 5px;
    background: var(--post-ui-primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(73, 104, 242, .18);
}
.ai-typing-cursor {
    color: var(--post-ui-primary);
}
.ai-chat-message-time, .ai-disclaimer {
    color: #8a95a8;
}
.ai-chat-action-btn {
    width: auto;
    min-width: 64px;
    height: 32px;
    padding: 0 11px;
    gap: 6px;
    border: 1px solid #dfe5f1;
    border-radius: 10px;
    background: #fff;
    color: #667389;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 7px rgba(44, 62, 96, .05);
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-action-btn:hover {
        border-color: #cbd5e7;
        background: #f8faff;
        color: var(--post-ui-primary);
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(73, 104, 242, .10);
    }
}
.ai-chat-action-btn::after {
    display: block;
}
.ai-chat-action-btn[title="复制内容"]::after {
    content: "复制";
}
.ai-chat-action-btn[title="重新生成"] {
    border-color: #ccd6ff;
    background: var(--post-ui-primary-soft);
    color: var(--post-ui-primary);
}
.ai-chat-action-btn[title="重新生成"]::after {
    content: "重新生成";
}
.ai-chat-action-btn.copied {
    border-color: #b8dfd1;
    background: #f0faf6;
    color: #16845e;
    box-shadow: none;
}
.ai-chat-action-btn.copied[title="复制内容"]::after {
    content: "已复制";
}
.ai-chat-pause-btn, .ai-chat-resume-text-btn {
    min-height: 30px;
    border-radius: 10px;
    box-shadow: none;
}
.ai-chat-resume-text-btn {
    background: var(--post-ui-primary);
}
.ai-chat-resume-text-btn::before {
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-resume-text-btn:hover {
        background: #3f5dde;
        box-shadow: none;
        transform: translateY(-1px);
    }
}
.ai-chat-scroll-bottom {
    bottom: 148px;
    width: 38px;
    height: 38px;
    border-color: #dfe4ed;
    background: #fff;
    color: #68758a;
    box-shadow: 0 10px 22px rgba(23, 32, 51, .12);
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-scroll-bottom:hover {
        border-color: #cbd5ff;
        background: var(--post-ui-primary-soft);
        color: var(--post-ui-primary);
        box-shadow: 0 12px 26px rgba(23, 32, 51, .14);
    }
}
.ai-chat-scroll-bottom i {
    animation: none;
}
.ai-chat-loading {
    padding: 11px 14px;
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .045);
}
.ai-chat-loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--post-ui-primary);
}
.ai-chat-welcome {
    padding: 0;
    color: var(--post-ui-muted);
    text-align: left;
}
.ai-chat-welcome-card {
    padding: 18px;
    border: 1px solid #e3e8f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(23, 32, 51, .045);
}
.ai-chat-welcome-profile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ai-chat-welcome-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #dce3f5;
    border-radius: 14px;
    background: var(--post-ui-primary-soft);
}
.ai-chat-welcome-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.ai-chat-welcome-title {
    margin: 1px 0 5px;
    color: var(--post-ui-ink);
    font-size: 15px;
    font-weight: 850;
}
.ai-chat-welcome-text {
    color: var(--post-ui-muted);
    font-size: 13px;
    line-height: 1.65;
}
.ai-chat-welcome-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--post-ui-line-soft);
    color: #737f92;
    font-size: 12px;
    line-height: 1.55;
}
.ai-chat-welcome-note i {
    margin-top: 3px;
    color: var(--post-ui-primary);
}
.ai-chat-input-area {
    padding: 13px 16px 15px;
    border-top: 1px solid var(--post-ui-line-soft);
    background: #fff;
}
.ai-chat-composer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}
.ai-chat-input-label {
    color: #48556a;
    font-size: 12px;
    font-weight: 800;
}
.ai-chat-input-hint {
    color: #98a2b3;
    font-size: 11px;
}
.ai-chat-quick-questions {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    margin: 0 0 10px;
    padding: 0 0 2px;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.ai-chat-quick-questions::-webkit-scrollbar {
    display: none;
}
.ai-chat-quick-btn {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #e1e6ef;
    border-radius: 10px;
    background: #f7f8fb;
    color: #556176;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-quick-btn:hover {
        border-color: #cbd5ff;
        background: var(--post-ui-primary-soft);
        color: var(--post-ui-primary);
    }
}
.ai-chat-input-wrapper {
    gap: 8px;
    padding: 5px 5px 5px 13px;
    border: 1px solid #d8deea;
    border-radius: 15px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ai-chat-input-wrapper:focus-within {
    border-color: var(--post-ui-primary);
    box-shadow: 0 0 0 3px rgba(73, 104, 242, .11);
}
.ai-chat-input {
    min-height: 38px;
    max-height: 112px;
    padding: 8px 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--post-ui-ink);
    font-size: 14px;
}
.ai-chat-input:focus {
    border: 0;
    box-shadow: none;
}
.ai-chat-input::placeholder {
    color: #8a95a8;
}
.ai-chat-send-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: var(--post-ui-primary);
    box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-send-btn:hover:not(:disabled) {
        background: #3f5dde;
        box-shadow: none;
        transform: translateY(-1px);
    }
}
.ai-chat-send-btn:disabled {
    background: #d8deea;
    color: #8994a7;
    opacity: 1;
}
.ai-chat-send-btn.paused {
    background: #d97706;
    animation: none;
}
.ai-chat-error {
    border-color: #ffd1d4;
    border-radius: 14px;
    background: #fff6f6;
}
.ai-chat-message-content.markdown-body a {
    color: var(--post-ui-primary);
}
@media (hover: hover) and (pointer: fine) {
    .ai-chat-message-content.markdown-body a:hover {
        border-bottom-color: var(--post-ui-primary);
    }
}
.ai-chat-message-content.markdown-body blockquote {
    border-left-color: var(--post-ui-primary);
    background: #f5f7ff;
}
.ai-chat-message-content.markdown-body code:not(pre code) {
    background: #eef2ff;
    color: #3f5dde;
}
@media (max-width: 767px) {
    body.ai-chat-open {
        overscroll-behavior: none;
    }
    .ai-chat-window {
        overscroll-behavior: contain;
    }
    .share-image-modal {
        align-items: flex-end;
        padding: 0;
        background: rgba(21, 30, 47, .5);
    }
    .share-image-content {
        width: 100%;
        max-width: none;
        max-height: min(94dvh, 860px);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 22px 22px 0 0;
        overflow-y: auto;
    }
    .share-image-header {
        position: sticky;
        top: 0;
        z-index: 4;
        padding: 17px 18px 14px;
        background: var(--post-ui-surface);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .share-image-description {
        display: none;
    }
    .share-image-close {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .share-image-body {
        display: block;
        padding: 14px;
    }
    .share-image-preview-shell {
        max-height: calc(94dvh - 218px);
        padding: 12px;
    }
    #shareImageCanvas {
        width: min(100%, 344px) !important;
    }
    .share-image-side {
        margin-top: 12px;
    }
    .share-image-side-intro {
        display: none;
    }
    .share-image-tip {
        display: none;
    }
    .share-image-actions {
        position: sticky;
        bottom: 0;
        grid-template-columns: 1fr 1.35fr;
        padding: 10px 0 calc(2px + env(safe-area-inset-bottom, 0px));
        background: var(--post-ui-bg);
    }
    .share-image-actions .primary {
        grid-column: 2;
        grid-row: 1;
    }
    .share-image-actions .secondary {
        grid-column: 1;
        grid-row: 1;
    }
    .ai-chat-widget {
        right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .ai-chat-toggle {
        width: 54px;
        height: 54px;
        border-radius: 17px;
    }
    .ai-chat-window {
        position: fixed;
        inset: 0;
        width: 100% !important;
        height: 100dvh !important;
        border: 0;
        border-radius: 0;
        transform: translateY(100%);
        transform-origin: bottom center;
        box-shadow: none;
    }
    .ai-chat-window.active {
        transform: translateY(0);
    }
    .ai-chat-resize-handle {
        display: none;
    }
    .ai-chat-header {
        min-height: 68px;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 10px 14px;
    }
    .ai-chat-avatar {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .ai-chat-title {
        max-width: 52vw;
        font-size: 14px;
    }
    .ai-chat-messages {
        padding: 16px 14px 20px;
    }
    .ai-chat-message-content {
        max-width: 90%;
        padding: 10px 13px;
        font-size: 13px;
    }
    .ai-chat-input-area {
        padding: 11px 12px calc(11px + env(safe-area-inset-bottom, 0px));
    }
    .ai-chat-input-hint {
        display: none;
    }
    .ai-chat-scroll-bottom {
        bottom: calc(142px + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 380px) {
    .share-image-preview-shell {
        max-height: calc(94dvh - 210px);
    }
    .ai-chat-header-btn {
        width: 34px;
        height: 34px;
    }
    .ai-chat-title {
        max-width: 46vw;
    }
}
@media (prefers-reduced-motion: reduce) {
    .share-image-content, .ai-chat-window, .ai-chat-message {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}
.post-toc-progress {
    display: none;
}
.post-toc-left {
    display: none;
}
.post-toc-left.is-empty .post-toc-list {
    display: none;
}
.post-toc-left.is-empty .post-toc-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
@media (min-width: 1320px) {
    .post-toc-left {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: sticky !important;
        top: 104px !important;
        align-self: start !important;
        max-height: calc(100vh - 128px) !important;
        overflow: hidden !important;
    }
    .code-wrapper {
        margin: 28px 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 38px rgba(16, 24, 40, .14) !important;
        transform: none !important;
    }
    @media (hover: hover) and (pointer: fine) {
        .code-wrapper:hover {
            transform: none !important;
        }
    }
    .code-header {
        min-height: 42px;
        padding: 0 14px !important;
    }
    .code-lang {
        font-size: 11px !important;
        font-weight: 900 !important;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .code-copy {
        min-width: 58px;
        height: 28px;
        padding: 0 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
    }
    .ai-chat-toggle-inner {
        background: transparent;
    }
    .ai-chat-toggle-icon {
        display: block !important;
        width: 34px;
        height: 34px;
    }
}
.post-toc-card {
    position: relative;
    padding: 18px 14px 14px;
    border: 1px solid var(--air-line);
    border-radius: var(--air-radius-md, 18px);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--air-shadow-soft);
}
.post-toc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 2px 12px;
    padding: 0 4px 14px;
    border-bottom: 1px solid var(--air-line-soft);
    color: var(--air-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
}
.post-toc-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.post-toc-title i {
    color: var(--air-primary);
    font-size: 13px;
}
.post-toc-progress {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--air-soft);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    white-space: nowrap;
}
.post-toc-progress strong {
    color: var(--air-primary);
    font-size: 11.5px;
}
.post-toc-list {
    max-height: calc(100vh - 206px);
    margin: 0 -4px;
    padding: 1px 4px 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-color: #d9e0ec transparent;
    scrollbar-width: thin;
}
.post-toc-list::-webkit-scrollbar {
    width: 4px;
}
.post-toc-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d9e0ec;
}
.post-toc-item {
    margin: 0;
}
.post-toc-item + .post-toc-item {
    margin-top: 2px;
}
.post-toc-link {
    position: relative;
    display: -webkit-box;
    padding: 8px 11px 8px 14px;
    border-radius: 10px;
    color: var(--air-muted);
    font-size: 13.25px;
    line-height: 1.5;
    text-decoration: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .18s ease, background-color .18s ease;
}
.post-toc-link::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 4px;
    width: 3px;
    border-radius: 999px;
    background: var(--air-primary);
    opacity: 0;
    transform: scaleY(.45);
    transition: opacity .18s ease, transform .18s ease;
}
.post-toc-link.is-active {
    color: var(--air-ink);
    background: var(--air-primary-soft);
    font-weight: 700;
}
.post-toc-link.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}
@media (hover: hover) and (pointer: fine) {
    .post-toc-link:hover {
        color: var(--air-ink);
        background: var(--air-surface-soft);
    }
}
.post-toc-link:focus:not(:focus-visible) {
    color: var(--air-muted);
    outline: none;
}
.post-toc-link.is-active:focus:not(:focus-visible) {
    color: var(--air-ink);
    background: var(--air-primary-soft);
}
.post-toc-link:focus-visible {
    color: var(--air-ink);
    border-radius: 10px;
    background: var(--air-surface-soft);
    outline: 2px solid rgba(76, 111, 255, .35);
    outline-offset: 2px;
}
.post-toc-level-3 .post-toc-link {
    padding-left: 26px;
    font-size: 12.75px;
}
.post-toc-level-4 .post-toc-link, .post-toc-level-5 .post-toc-link {
    padding-left: 38px;
    font-size: 12.25px;
    color: var(--air-muted);
}
@media (prefers-reduced-motion: reduce) {
    .post-toc-link {
        transition: none;
    }
    .post-toc-link::before {
        transition: none;
    }
}
@media (min-width: 1320px) {
    html[data-blog-theme="dark"] .post-toc-card {
        border-color: var(--air-line) !important;
        background: var(--air-surface-solid) !important;
        box-shadow: var(--air-shadow-soft) !important;
    }
    html[data-blog-theme="dark"] .post-toc-title {
        border-color: var(--air-line-soft) !important;
    }
    html[data-blog-theme="dark"] .post-toc-link {
        background: transparent !important;
    }
    @media (hover: hover) and (pointer: fine) {
        html[data-blog-theme="dark"] .post-toc-link:hover {
            color: var(--air-ink) !important;
            background: var(--air-surface-soft) !important;
        }
    }
    html[data-blog-theme="dark"] .post-toc-link.is-active {
        color: var(--air-ink) !important;
        background: var(--air-primary-soft) !important;
    }
    html[data-blog-theme="dark"] .post-toc-progress strong {
        color: var(--air-primary) !important;
    }
}
.article-speed-dial {
    position: fixed;
    right: 92px;
    bottom: 28px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    transition: opacity .18s ease, visibility .18s ease;
}
.article-speed-dial-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--air-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    color: var(--air-muted, #667085);
    box-shadow: 0 8px 22px rgba(23, 32, 51, .1);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease,
        box-shadow .18s ease, transform .18s ease;
}
@media (hover: hover) and (pointer: fine) {
    .article-speed-dial-toggle:hover {
        border-color: rgba(76, 111, 255, .34);
        background: var(--air-primary-soft);
        color: var(--air-primary);
        box-shadow: 0 10px 24px rgba(23, 32, 51, .12);
        transform: translateY(-1px);
    }
}
.article-speed-dial-toggle:focus-visible, .article-speed-dial .article-speed-action:focus-visible {
    outline: 3px solid rgba(73, 104, 242, .25);
    outline-offset: 3px;
}
.article-speed-dial-toggle i {
    font-size: 15px;
    transition: transform .24s ease;
}
body.quick-settings-open .article-speed-dial-toggle i {
    transform: rotate(90deg);
}
.article-speed-dial-actions {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.article-speed-dial .article-speed-action {
    position: absolute !important;
    top: 1px !important;
    right: auto !important;
    bottom: auto !important;
    left: 1px !important;
    z-index: 1;
    display: inline-grid !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
    border: 1px solid var(--air-line) !important;
    border-radius: 13px !important;
    background: var(--air-surface-solid, #fff) !important;
    color: var(--air-muted, #667085) !important;
    box-shadow: 0 8px 22px rgba(23, 32, 51, .1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(0, 0) scale(.82) !important;
    transition: opacity .18s ease, visibility .18s ease, border-color .18s ease,
        color .18s ease, background .18s ease, box-shadow .18s ease, transform .22s ease !important;
}
.article-speed-dial #scroll-to-top-btn {
    position: absolute !important;
    top: 1px !important;
    right: auto !important;
    bottom: auto !important;
    left: 1px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border: 1px solid var(--air-line) !important;
    border-radius: 13px !important;
    background: var(--air-surface-solid, #fff) !important;
    color: var(--air-muted, #667085) !important;
    box-shadow: 0 8px 22px rgba(23, 32, 51, .1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(0, 0) scale(.82) !important;
}
@media (hover: hover) and (pointer: fine) {
    .article-speed-dial .article-speed-action:hover {
        border-color: rgba(76, 111, 255, .38) !important;
        background: var(--air-primary-soft) !important;
        color: var(--air-primary) !important;
        box-shadow: 0 10px 24px rgba(23, 32, 51, .12) !important;
    }
}
body.quick-settings-open .article-speed-dial .article-speed-action {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
body.quick-settings-open .article-speed-dial #scroll-to-top-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, -56px) scale(1) !important;
}
@media (hover: hover) and (pointer: fine) {
    body.quick-settings-open .article-speed-dial #scroll-to-top-btn:hover {
        transform: translate(0, -57px) scale(1.03) !important;
    }
}
.article-speed-dial .blog-theme-toggle-icon {
    width: auto;
    font-size: 16px;
}
.article-speed-dial .blog-theme-toggle-text {
    display: none;
}
.article-speed-dial #scroll-to-top-btn svg {
    width: 17px;
    height: 17px;
}
.article-speed-dial .ai-chat-toggle-inner {
    inset: 5px;
    border-radius: 10px;
}
body.ai-chat-open .article-speed-dial, body.air-modal-open .article-speed-dial {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
html[data-blog-theme="dark"] .article-speed-dial-toggle {
    border-color: rgba(112, 191, 255, .24);
    background: var(--air-surface-solid);
    color: var(--air-primary);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
}
html[data-blog-theme="dark"] .article-speed-dial .article-speed-action {
    border-color: var(--air-line) !important;
    background: var(--air-surface-solid) !important;
    color: var(--air-muted) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}
@media (hover: hover) and (pointer: fine) {
    html[data-blog-theme="dark"] .article-speed-dial .article-speed-action:hover {
        border-color: var(--air-primary) !important;
        background: var(--air-primary-soft) !important;
        color: var(--air-primary) !important;
    }
}
@media (min-width: 768px) {
    .article-speed-dial .ai-chat-toggle-icon {
        display: block !important;
        width: 27px;
        height: 27px;
    }
}
@media (max-width: 767px) {
    .article-speed-dial {
        right: 18px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }
    .article-speed-dial-toggle {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        -webkit-tap-highlight-color: transparent;
    }
    @media (hover: hover) and (pointer: fine) {
        .article-speed-dial-toggle:hover, .article-speed-dial-toggle:active {
            border-color: var(--air-line);
            background: rgba(255, 255, 255, .94);
            color: var(--air-muted, #667085);
            box-shadow: 0 8px 22px rgba(23, 32, 51, .1);
            transform: none;
        }
        html[data-blog-theme="dark"] .article-speed-dial-toggle:hover, html[data-blog-theme="dark"] .article-speed-dial-toggle:active {
            border-color: rgba(112, 191, 255, .24);
            background: var(--air-surface-solid);
            color: var(--air-primary);
            box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
        }
    }
    .article-speed-dial .article-speed-action {
        top: 1px !important;
        left: 1px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        border-radius: 13px !important;
    }
    body.quick-settings-open .article-speed-dial .article-speed-action--left {
        transform: translate(-54px, -54px) scale(1) !important;
        -webkit-tap-highlight-color: transparent;
    }
    body.quick-settings-open .article-speed-dial #scroll-to-top-btn {
        transform: translate(0, -54px) scale(1) !important;
    }
    @media (hover: hover) and (pointer: fine) {
        body.quick-settings-open .article-speed-dial #scroll-to-top-btn:hover {
            transform: translate(0, -54px) scale(1) !important;
        }
    }
    .article-speed-dial .ai-chat-toggle-icon {
        display: block !important;
        width: 27px;
        height: 27px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .article-speed-dial, .article-speed-dial-toggle, .article-speed-dial-toggle i, .article-speed-dial .article-speed-action {
        transition: none !important;
    }
}
#comment-editable {
    min-height: 200px;
    max-height: 300px;
    font-family: var(--blog-font-sans);
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #4dd0e1;
    border-radius: 10px;
    padding: 15px;
    outline: none;
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
    background: #ffffff;
    transition: height 0.2s ease;
    margin-bottom: 10px;
}
#comment-editable:focus {
    border-color: #26a69a;
    box-shadow: 0 0 5px rgba(77, 208, 225, 0.3);
    background: #fff;
}
#comment-editable:empty:before {
    content: attr(placeholder);
    color: #aaa;
}
.emoji-inline {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 2px !important;
}
@media (max-width: 768px) {
    .emoji-inline, .emoji-item img, .comment-content img[src*="/emoji/"] {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}
@media (min-width: 769px) {
    .emoji-inline, .emoji-item img, .comment-content img[src*="/emoji/"] {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}
.post-reward {
    margin: 32px 0 8px;
    padding: 22px 18px 20px;
    border: 1px solid var(--air-line);
    border-radius: var(--air-radius-md);
    background: var(--air-surface-soft);
    text-align: center;
}
.post-reward-lead {
    margin: 0 0 14px;
    text-wrap: balance;
    color: var(--air-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}
.post-reward-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.post-reward-option {
    --reward-color: #07c160;
    --reward-soft: rgba(7, 193, 96, .1);
    display: inline-flex;
    min-height: 40px;
    min-width: 108px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--air-line);
    border-radius: 999px;
    background: var(--air-surface-solid);
    color: var(--air-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.post-reward-option.is-alipay {
    --reward-color: #1677ff;
    --reward-soft: rgba(22, 119, 255, .1);
}
html[data-blog-theme="dark"] .post-reward-option.is-alipay {
    --reward-color: #4d95ff;
    --reward-soft: rgba(77, 149, 255, .16);
}
html[data-blog-theme="dark"] .post-reward-option.is-wechat {
    --reward-color: #2fd07f;
    --reward-soft: rgba(47, 208, 127, .14);
}
.post-reward-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--reward-color);
}
@media (hover: hover) and (pointer: fine) {
    .post-reward-option:hover {
        border-color: var(--reward-color);
        color: var(--reward-color);
    }
}
.post-reward-option.is-active {
    border-color: var(--reward-color);
    background: var(--reward-soft);
    color: var(--reward-color);
    box-shadow: 0 0 0 3px var(--reward-soft);
}
.post-reward-option:focus-visible {
    outline: 2px solid var(--reward-color);
    outline-offset: 3px;
}
.post-reward-panel {
    margin-top: 18px;
    animation: post-reward-in .22s ease;
}
.post-reward-panel[hidden] {
    display: none;
}
.post-reward-code {
    display: block;
    width: min(240px, 100%);
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    background: var(--air-line-soft);
    box-shadow: var(--air-shadow-soft);
    opacity: 0;
    transition: opacity .2s ease;
}
.post-reward-panel.is-alipay .post-reward-code {
    width: min(220px, 100%);
}
.post-reward-code.is-loaded {
    opacity: 1;
}
.post-reward-hint {
    margin: 12px 0 0;
    color: var(--air-muted);
    font-size: 13px;
    line-height: 1.6;
}
.post-reward-hint-touch {
    display: none;
}
@media (hover: none) and (pointer: coarse) {
    .post-reward-hint-touch {
        display: inline;
    }
    .post-reward-hint-pointer {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .post-reward-panel {
        animation: none;
    }
    .post-reward-code {
        transition: none;
    }
}
.comment-input-div {
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(34, 36, 38, .15);
    border-radius: .28571429rem;
    padding: .78571429em 1em;
    background: #fff;
    outline: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: var(--blog-font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(0, 0, 0, .87);
    transition: border-color .1s ease, box-shadow .1s ease;
}
.comment-input-div:focus {
    border-color: #85b7d9;
    box-shadow: 0 0 0 0 rgba(34, 36, 38, .35) inset;
}
.comment-input-div[placeholder]:empty:before {
    content: attr(placeholder);
    color: rgba(191, 191, 191, .87);
    cursor: text;
}
.emoji-inline {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
    user-select: none;
    cursor: default;
}
.text > .comment-content {
    white-space: pre-wrap;
    background: #fafafa repeating-linear-gradient(-45deg, #fff, #fff 1.125rem, transparent 1.125rem, transparent 2.25rem);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    font-family: var(--blog-font-sans);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.3px;
    position: relative;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
@media (min-width: 768px) {
    .emoji-item img, .emoji-inline {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}
@media (min-width: 1024px) {
    .emoji-panel {
        grid-template-columns: repeat(15, 1fr) !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    .emoji-item {
        width: auto !important;
        height: auto !important;
        min-height: 40px !important;
    }
}
.show-replies .ui.button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border: none !important;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.show-replies .ui.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .show-replies .ui.button:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    }
    .show-replies .ui.button:hover::before {
        left: 100%;
    }
    .show-replies .ui.button:active {
        transform: translateY(0) scale(1.02);
    }
}
.reply .ui.button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8)) !important;
    color: #009688 !important;
    border: 2px solid transparent !important;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8)),
        linear-gradient(135deg, #4ecdc4, #44a3aa);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}
.reply .ui.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.3), transparent);
    transition: left 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .reply .ui.button:hover {
        transform: translateY(-2px) scale(1.05) !important;
        box-shadow: 0 6px 15px rgba(78, 205, 196, 0.3) !important;
    }
    .reply .ui.button:hover::before {
        left: 100%;
    }
}
.replies-container.show {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
}
.replies-container .comment {
    margin: 10px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    opacity: 1;
    transform: translateX(0);
}
.replies-container.show .comment {
    opacity: 1;
    transform: translateX(0);
}
.replies-container .comment .text p {
    background: #fafafa repeating-linear-gradient(-45deg, #fff, #fff 1.125rem, transparent 1.125rem, transparent 2.25rem) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15) !important;
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    color: #555 !important;
    text-align: left !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
@media (max-width: 768px) {
    .emoji-button {
        background: none !important;
        font-size: 26px !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
    }
}
@media (max-width: 480px) {
    .emoji-button {
        background: none !important;
        font-size: 24px !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1;
    }
    .reply-modal .emoji-item {
        width: 100% !important;
        margin: 0 !important;
    }
}
.toggle-replies-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8));
    color: #667eea;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 36px;
    gap: 6px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8)),
        linear-gradient(135deg, #667eea, #764ba2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}
.toggle-replies-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-replies-btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    }
    .toggle-replies-btn:hover::before {
        left: 100%;
    }
    .toggle-replies-btn:active {
        transform: translateY(0) scale(1.02);
    }
}
.toggle-replies-btn i {
    margin-left: 4px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}
.toggle-replies-btn.expanded {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}
.el-pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}
.el-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background: transparent;
    padding: 6px 4px;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.el-pagination .item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    height: 32px;
    text-align: center;
    margin: 0 4px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    color: #606266;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.el-pagination .item.ellipsis {
    background: none !important;
    border: none !important;
    min-width: 24px;
    cursor: default;
}
.el-pagination .item.arrow {
    font-size: 13px;
    min-width: 32px;
}
@media (hover: hover) and (pointer: fine) {
    .el-pagination a.item:hover, .el-pagination .active.item:hover {
        color: #409EFF;
    }
}
.el-pagination .active.item {
    background-color: #409EFF !important;
    color: white !important;
    font-weight: 600;
    border: none !important;
    box-shadow: 0 1px 4px rgba(64, 158, 255, 0.25);
}
@media (hover: hover) and (pointer: fine) {
    .el-pagination .active.item:hover {
        background-color: #409EFF !important;
        color: white !important;
        font-weight: 600;
        border: none !important;
        box-shadow: 0 1px 4px rgba(64, 158, 255, 0.25);
    }
}
.el-pagination .disabled.item {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    color: #c0c4cc;
    background-color: #f4f4f5 !important;
}
@media (max-width: 768px) {
    .el-pagination-container {
        width: 95%;
        margin: 1rem auto;
    }
    .el-pagination {
        padding: 6px;
        width: 100%;
        max-width: 100%;
    }
    .el-pagination .item {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        margin: 2px;
    }
    .el-pagination .item.arrow {
        min-width: 32px;
        font-size: 12px;
    }
}
.emoji-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: none;
    grid-template-columns: repeat(auto-fill, 48px);
    justify-content: start;
    gap: 10px;
    width: 100%;
    max-height: 290px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    border: 1px solid #e1e8ed;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}
.emoji-item {
    font-size: 28px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: transparent;
}
@media (max-width: 768px) {
    .replies-container, .comment-content, .toggle-replies-btn, .show-replies .ui.button {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        transform: translateZ(0);
    }
    .emoji-panel {
        grid-template-columns: repeat(5, 1fr);
        max-height: 120px;
        padding-left: 30px;
    }
    .emoji-item {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    .show-replies .ui.button, .reply .ui.button, .toggle-replies-btn {
        height: 32px;
        padding: 6px 12px;
        font-size: 11px;
        transition: all 0.2s ease-out;
    }
    .replies-container {
        transition: max-height 0.25s ease-out, opacity 0.15s ease-out;
    }
    .comment-content {
        transition: max-height 0.2s ease-out, opacity 0.15s ease-out;
    }
}
.show-replies .ui.button, .reply .ui.button, .toggle-replies-btn {
    height: 32px;
    padding: 6px 12px;
    font-size: 11px;
}
@media (max-width: 480px) {
    .emoji-panel {
        grid-template-columns: repeat(5, 1fr);
        max-height: 80px;
        padding-left: 30px;
        gap: 8px;
    }
    .emoji-item {
        font-size: 22px;
        width: 36px;
        height: 36px;
    }
    .replies-container {
        transition: max-height 0.2s ease-out;
    }
    .comment-content {
        transition: max-height 0.15s ease-out;
    }
    .toggle-replies-btn, .show-replies .ui.button, .toggle-btn {
        transition: all 0.15s ease-out;
    }
}
.page-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}
.page-jump-label {
    color: #606266;
    font-size: 14px;
}
.page-jump-input {
    width: 60px;
    height: 32px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    padding: 0 8px;
    text-align: center;
    transition: border-color 0.3s;
}
.page-jump-input:focus {
    border-color: #409EFF;
    outline: none;
}
.page-jump-btn {
    padding: 0 12px;
    height: 32px;
    background: #1989FA;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .page-jump-btn:hover {
        background: #007acc;
    }
}
.page-info {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    margin-top: 4px;
}
@media (max-width: 768px) {
    .page-jump {
        margin-top: 10px;
    }
}
.comment-content {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.comment-content {
    position: relative;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: hidden;
}
.comment-content.collapsed {
    max-height: 6.4em !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.comment-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.comment-content:not(.collapsed)::after {
    opacity: 0;
}
.toggle-buttons {
    display: flex;
    margin-top: 8px;
}
.toggle-btn {
    background: transparent !important;
    border: none;
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}
.toggle-btn:focus {
    background-color: transparent !important;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn:hover, .toggle-btn:active {
        background-color: transparent !important;
    }
}
.toggle-btn:focus-visible {
    outline: 2px solid rgba(52, 152, 219, 0.45);
    outline-offset: 2px;
}
.toggle-btn i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.toggle-btn.expand i {
    transform: rotate(0deg);
}
.toggle-btn.collapse i {
    transform: rotate(180deg);
}
.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn:hover {
        border-color: rgba(102, 126, 234, 0.4);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }
    .toggle-btn:hover::before {
        left: 100%;
    }
    .toggle-btn:active {
        transform: translateY(0) scale(1.02);
    }
}
.toggle-btn i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
    .toggle-btn.expand:hover i {
        transform: translateY(2px) rotate(0deg);
    }
    .toggle-btn.collapse:hover i {
        transform: translateY(2px) rotate(180deg);
    }
}
.toggle-btn {
    animation: slideInUp 0.4s ease-out;
    position: relative;
}
.el-pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
.el-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 6px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
}
.el-pagination .item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    text-align: center;
    margin: 0 3px;
    border-radius: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #4a5568;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.el-pagination .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .el-pagination .item:hover::before {
        left: 100%;
    }
    .el-pagination .item:hover {
        color: #667eea;
        background: rgba(102, 126, 234, 0.1);
        border-color: #667eea;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(102, 126, 234, 0.15);
    }
}
.el-pagination .active.item {
    background: #667eea !important;
    color: white !important;
    font-weight: 600;
    border-color: #667eea !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}
.ui.input input {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.ui.input input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
    background: rgba(255, 255, 255, 1);
}
.emoji-button {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (hover: hover) and (pointer: fine) {
    .emoji-button:hover {
        transform: scale(1.1);
        border-color: #4ecdc4;
        box-shadow: 0 6px 18px rgba(78, 205, 196, 0.25);
        background: rgba(255, 255, 255, 1) !important;
    }
    .emoji-button:active {
        transform: scale(1.05);
    }
}
#comment-editable {
    min-height: 200px;
    font-family: var(--blog-font-sans);
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #4dd0e1;
    border-radius: 10px;
    padding: 15px;
    outline: none;
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
    background: #ffffff;
    transition: all 0.3s;
    margin-bottom: 10px;
}
#comment-editable:focus {
    border-color: #26a69a;
    box-shadow: 0 0 5px rgba(77, 208, 225, 0.3);
    background: #fff;
}
#comment-editable:empty:before {
    content: attr(placeholder);
    color: #aaa;
}
.emoji-inline {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 2px !important;
}
@media (min-width: 768px) {
    .emoji-inline, .emoji-item img, .comment-content img[src*="/emoji/"] {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}

@keyframes message-danmaku-scroll {
    from {
        transform: translate3d(var(--danmaku-start), 0, 0);
    }
    to {
        transform: translate3d(var(--danmaku-end), 0, 0);
    }
}
@keyframes comment-sticker-panel-in {
    from { opacity: 0; transform: translateY(-4px) scale(.985); }
    to { opacity: 1; transform: none; }
}
@keyframes comment-sticker-panel-in-upward {
    from { opacity: 0; transform: translateY(4px) scale(.985); }
    to { opacity: 1; transform: none; }
}
@keyframes comment-sticker-sheet-in {
    from { transform: translateY(24px); opacity: .6; }
    to { transform: none; opacity: 1; }
}
@keyframes comment-sticker-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes comment-sticker-shimmer {
    to { background-position-x: -220%; }
}
@keyframes comment-sticker-shake {
    0%, 100% { transform: none; }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
@keyframes avatarPulse {
        0%, 100% {
            opacity: 0.5;
            transform: scale(1);
        }
        50% {
            opacity: 0.2;
            transform: scale(0.92);
        }
    }
@keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
@keyframes code-fade-in {
        from {
            opacity: 0;
            transform: translateY(4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
@keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-30px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
@keyframes badge-pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }
@keyframes message-fade-in {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
@keyframes ai-cursor-blink {
        0%, 50% {
            opacity: 1;
        }
        51%, 100% {
            opacity: 0;
        }
    }
@keyframes bounce-down {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(3px);
        }
    }
@keyframes loading-dot {
        0%, 80%, 100% {
            transform: scale(0);
        }
        40% {
            transform: scale(1);
        }
    }
@keyframes pulse-pause {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
@keyframes tech-pulse-ring {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.5);
            opacity: 0;
        }
    }
@keyframes tech-bounce {
        0%, 80%, 100% {
            transform: scale(0.6);
            opacity: 0.5;
        }
        40% {
            transform: scale(1);
            opacity: 1;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }
    }
@keyframes minimal-float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3px);
        }
    }
@keyframes minimal-wave {
        0%, 100% {
            transform: scaleY(0.4);
            opacity: 0.4;
        }
        50% {
            transform: scaleY(1);
            opacity: 1;
        }
    }
@keyframes particle-spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
@keyframes particle-pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.5;
            box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
        }
        50% {
            transform: scale(1.5);
            opacity: 1;
            box-shadow: 0 0 15px rgba(102, 126, 234, 0.8), 0 0 25px rgba(118, 75, 162, 0.6);
        }
    }
@keyframes air-audit-dot {
        0%,
        100% {
            transform: translateY(0);
            opacity: .35;
        }
        45% {
            transform: translateY(-4px);
            opacity: 1;
        }
    }
@keyframes post-modal-enter {
        from {
            opacity: 0;
            transform: translateY(18px) scale(.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
@keyframes post-message-enter {
        from {
            opacity: 0;
            transform: translateY(6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
@keyframes post-reward-in {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }

            to {
                opacity: 1;
                transform: none;
            }
        }
@keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px) rotateX(-10deg);
        }
        to {
            opacity: 1;
            transform: translateY(0) rotateX(0);
        }
    }
@keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
