@font-face {
    font-family: "LXGW WenKai Screen";
    src: url("../font/LXGWWenKai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.awei_mobile_nav {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.awei_mobile_nav.is-open {
    pointer-events: auto;
    opacity: 1;
}

.awei_mobile_nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.awei_mobile_nav.is-open .awei_mobile_nav__overlay {
    opacity: 1;
}

.awei_mobile_nav__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(260px, 80vw);
    background: #fff;
    box-shadow: 8px 0 30px rgba(31, 45, 61, 0.25);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

body[data-theme='dark'] .awei_mobile_nav__panel {
    background: rgba(15, 23, 42, 0.98);
    color: #f5f7ff;
}

.awei_mobile_nav.is-open .awei_mobile_nav__panel {
    transform: translateX(0);
}

.awei_mobile_nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.awei_mobile_nav__title {
    font-weight: 600;
    font-size: 16px;
}

.awei_mobile_nav__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
}

.awei_mobile_nav__links {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.awei_mobile_nav__link {
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    font-size: 15px;
}

.awei_mobile_nav__link.is-active {
    font-weight: 600;
    color: #409eff;
}

body[data-theme='dark'] .awei_mobile_nav__link.is-active {
    color: #7bb0ff;
}

/* 主题默认字体栈 */
:root {
    --awei-font-family: -apple-system, BlinkMacSystemFont, "LXGW WenKai Screen", sans-serif;
    --awei-width: min(800px, calc(100% - 20px));
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--awei-font-family);
}

body {
    background: #f3f5f7;
}

body.awei_nav_lock {
    overflow: hidden;
}

.awei_header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 999;
}

.awei_header_logo img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    /* 如果原图不是正方形 */
}


.awei_header_inner {
    width: var(--awei-width);
    margin: 0 auto;
    padding: 10px;
    display: flex;
}

.awei_header_nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px 0 10px;
}

.awei_header_actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.awei_icon_button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #1f2d3d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(31, 45, 61, 0.08);
}

.awei_icon_button:hover,
.awei_icon_button:focus {
    color: #409eff;
    border-color: rgba(64, 158, 255, 0.4);
    outline: none;
}

.awei_icon_button i {
    pointer-events: none;
}

.awei_action_placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.awei_nav_link {
    position: relative;
    padding: 10px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.awei_nav_link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 5px;
    background: rgba(116, 198, 255, 0.35);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.25s ease, background 0.25s ease;
}

.awei_nav_link:hover,
.awei_nav_link.is-active {
    color: #409eff;
}

.awei_nav_link:hover::after,
.awei_nav_link.is-active::after {
    width: 36px;
    height: 3px;
    background: rgba(116, 198, 255, 0.85);
}

.awei_nav_toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.awei_nav_toggle span {
    width: 20px;
    height: 2px;
    background: #1f2d3d;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.awei_nav_toggle span:nth-child(2) {
    width: 16px;
}

.awei_nav_toggle span:last-child {
    width: 20px;
}

body[data-theme='dark'] .awei_nav_toggle span {
    background: #e2e8f0;
}

body[data-theme='dark'] .awei_nav_toggle {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(226, 232, 240, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
    .awei_header_inner {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .awei_header_nav {
        order: 1;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    .awei_header_logo {
        order: 2;
        margin: 0 auto;
    }

    .awei_header_actions {
        order: 3;
        margin-left: 0;
        gap: 8px;
        padding-right: 20px;
    }

    .awei_header_actions .awei_icon_button {
        display: none;
    }

    .awei_header_actions .awei_icon_button[data-search-toggle],
    .awei_header_actions .awei_icon_button[data-theme-toggle] {
        display: inline-flex;
    }

    .awei_nav_toggle {
        display: inline-flex;
    }
}

/* 首页文章样式 */
.awei_main {
    width: var(--awei-width);
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.awei_post_card {
    display: flex;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.02);
    padding: 5px;
    gap: 10px;
}

.awei_post_thumb {
    width: 240px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

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

.awei_post_thumb.is-placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
}

.awei_post_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.awei_post_head {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    border-bottom: 1px solid #eef0f3;
    padding-bottom: 5px;
}

.awei_post_head h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.awei_post_head h2 a {
    color: #1f2d3d;
    text-decoration: none;
}

.awei_post_head h2 a:hover {
    color: #32c8de;
}

.awei_post_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
    padding: 5px 5px;
    border-radius: 4px;
    background: var(--badge-bg, #32c8de);
    color: var(--badge-color, #fff);
    text-decoration: none;
    transition: transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.awei_post_badge:hover {
    transform: translateY(-1px);
}

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

.awei_post_badge_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.awei_post_excerpt {
    color: #606266;
    font-size: 14px;
}

.awei_post_meta {
    list-style: none;
    display: flex;
    gap: 16px;
    color: #909399;
    font-size: 13px;
    padding: 0;
}

.awei_post_meta .icon {
    margin-right: 6px;
}


.awei_post_meta_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid #eef0f3;
    width: 100%;
}

@media (max-width: 640px) {
    .awei_post_thumb {
        width: 120px;
        height: 90px;
    }

    .awei_post_excerpt,
    .awei_post_excerpt p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.awei_post_tags {
    display: flex;
    gap: 6px;
}

.awei_post_tags a {
    font-size: 11px;
    padding: 1.8px 10px;
    border-radius: 12px;
    background: #f0f9ff;
    color: #3a8ee6;
    text-decoration: none;
}

.awei_empty {
    text-align: center;
    padding: 80px 0;
    color: #909399;
    font-size: 16px;
}

.awei_pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding-bottom: 30px;
}

.awei_pagination .page-navigator {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.awei_pagination .page-navigator li a,
.awei_pagination .page-navigator li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e4e7ed;
    color: #606266;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.awei_pagination .page-navigator li a:hover {
    border-color: #409eff;
    color: #409eff;
}

.awei_pagination .page-navigator li.current span,
.awei_pagination .page-navigator li a.current {
    background: #409eff;
    border-color: #409eff;
    color: #fff;
}

.awei_pagination .page-navigator li.next a,
.awei_pagination .page-navigator li.prev a {
    width: 44px;
}

/* 底部样式 */
.awei_footer {
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    padding: 5px 0;
}

.awei_footer_inner {
    text-align: center;
    color: #606266;
    font-size: 13px;
    line-height: 1.8;
}

.awei_footer_inner a {
    color: #409eff;
    text-decoration: none;
}

/* 搜索框样式 */
.awei_search_overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.awei_search_overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.awei_search_dialog {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
}

.awei_search_form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.awei_search_form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f5f7fb;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.awei_search_form input:focus {
    border-color: rgba(64, 158, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.15);
}

.awei_search_dialog_close {
    flex-shrink: 0;
}

body.awei_search_lock {
    overflow: hidden;
}

/* 暗黑模式 */
body[data-theme="dark"] {
    background: #12171f;
    color: #cfd8e3;
}

body[data-theme="dark"] .awei_header,
body[data-theme="dark"] .awei_footer,
body[data-theme="dark"] .awei_search_dialog,
body[data-theme="dark"] .awei_post_card,
body[data-theme="dark"] .awei_pagination .page-navigator li a,
body[data-theme="dark"] .awei_pagination .page-navigator li span {
    background: rgba(23, 30, 42, 0.92);
    color: #e5edf7;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .awei_post_excerpt,
body[data-theme="dark"] .awei_post_meta,
body[data-theme="dark"] .awei_footer_inner,
body[data-theme="dark"] .awei_post_tags a {
    color: #a7b6cc;
}

body[data-theme="dark"] .awei_post_tags a {
    background: rgba(64, 158, 255, 0.12);
    border: 1px solid rgba(64, 158, 255, 0.3);
}

body[data-theme="dark"] .awei_nav_link,
body[data-theme="dark"] .awei_nav_link:visited {
    color: #cfd8e3;
}

body[data-theme="dark"] .awei_nav_link.is-active,
body[data-theme="dark"] .awei_nav_link:hover {
    color: #7bb0ff;
}

body[data-theme="dark"] .awei_icon_button {
    background: rgba(20, 27, 39, 0.9);
    color: #d8e3f6;
    border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .awei_post_head h2 a {
    color: #f7fbff;
}

body[data-theme="dark"] .awei_post_head h2 a:hover {
    color: #9dc6ff;
}

.awei_icon_button.is-dark {
    color: #ffd166;
    border-color: rgba(255, 209, 102, 0.5);
}

body[data-theme="dark"] .awei_search_overlay {
    background: rgba(3, 6, 12, 0.85);
}

/* 返回顶部/底部按钮样式 */
.awei-scroll-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.awei-scroll-buttons.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.awei-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.awei-scroll-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.awei-scroll-button i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

/* 暗黑模式样式 */
[data-theme='dark'] .awei-scroll-button {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

[data-theme='dark'] .awei-scroll-button:hover {
    background: rgba(44, 55, 73, 0.9);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .awei-scroll-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .awei-scroll-button {
        width: 36px;
        height: 36px;
    }
    
    .awei-scroll-button i {
        font-size: 16px;
    }
}

/* 旧版返回顶部按钮样式（隐藏） */
.awei_icon_button[data-scroll-top] {
    display: none !important;
}
    display: none;
}

[data-scroll-top] {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body[data-theme="dark"] [data-scroll-top] {
    color: #dfe8ff;
}

/* 首页信息通知 */
.awei_home_notice {
    width: var(--awei-width);
    margin: 20px auto 20px auto;
    padding: 12px 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #303133;
}

.awei_home_notice:hover {
    border-color: rgba(64, 158, 255, 0.35);
}

.awei_home_notice_icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(64, 158, 255, 0.15);
    color: #409eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.awei_home_notice_text {
    font-size: 14px;
}

body[data-theme="dark"] .awei_post_content {
    background: rgba(23, 30, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.06);
    color: #e6eefc;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .awei_post_title {
    color: #f8fbff;
}

body[data-theme="dark"] .awei_post_meta_bar {
    color: #99a6bd;
}

body[data-theme="dark"] .awei_post_meta_item .label {
    color: #70798d;
}

body[data-theme='dark'] .awei_post_breadcrumb .divider {
    color: #556079;
}

body[data-theme='dark'] .awei_post_body {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_post_body blockquote {
    background: rgba(56, 189, 248, 0.08);
    border-left: 4px solid rgba(59, 130, 246, 0.8);
    color: #cbd5f5;
}

body[data-theme='dark'] .awei_post_body pre {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12);
}

body[data-theme='dark'] .awei_post_body pre code,
body[data-theme='dark'] .awei_post_body code {
    background: transparent;
    color: #f8fafc;
}

body[data-theme='dark'] .awei_post_body table {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .awei_post_body hr {
    border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme='dark'] .awei_post_nav {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.6);
}

body[data-theme='dark'] .awei_post_nav>div {
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_post_nav>div:hover {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
}

body[data-theme='dark'] .awei_post_nav .nav_label {
    color: #94a3b8;
}

body[data-theme="dark"] .awei_home_notice {
    background: rgba(23, 30, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.06);
    color: #dfe7ff;
}

body[data-theme="dark"] .awei_home_notice_icon {
    background: rgba(64, 158, 255, 0.3);
    color: #fff;
}

/* 文章页样式 */
.awei_post_main {
    width: var(--awei-width);
    margin: 25px auto;
}

.awei_post_breadcrumb {
    width: var(--awei-width);
    margin: 0 auto;
    font-size: 14px;
    color: #8f9399;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.awei_post_breadcrumb .divider {
    color: #c0c4cc;
}

.awei_post_content {
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.awei_post_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 5px;
}

.awei_post_title {
    font-size: 28px;
    margin: 0;
    color: #1f2d3d;
}

.awei_post_meta_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 13px;
    color: #909399;
    justify-content: center;
}

.awei_post_meta_item {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.awei_post_meta_item .label {
    color: #c0c4cc;
}

.awei_post_body {
    line-height: 1.8;
    color: #303133;
    word-break: break-word;
    overflow: hidden;
}
.awei_post_body ol {
    padding-left: 2em;
    margin: 1em 0;
    overflow: hidden;
}

.awei_post_body ol li {
    margin: 0.5em 0;
    padding-left: 0.5em;
}

.awei_post_body img,
.awei_post_body video,
.awei_post_body iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius:4px;
}

.awei_post_body table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.awei_post_body pre code {
    font-family: Consolas, "Fira Code", Menlo, Monaco, "Courier New", monospace;
    font-size: 14px;
    white-space: pre;
}

.awei-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: #fff;
}

.awei-lightbox.is-active {
    display: flex;
}

.awei-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.awei-lightbox__content {
    position: relative;
    margin: 0;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1;
    padding-bottom: 1rem;
}

.awei-lightbox__img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.awei-lightbox__caption {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.35rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.9);
    pointer-events: none;
    z-index: 10001;
}

.awei-lightbox__top {
    position: fixed;
    top: 0.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.85);
    pointer-events: none;
    z-index: 10001;
}

.awei-lightbox__counter {
    pointer-events: auto;
}

.awei-lightbox__actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    pointer-events: auto;
}

.awei-lightbox__action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.awei-lightbox__action:hover,
.awei-lightbox__action.is-active {
    background: rgba(59, 130, 246, 0.8);
}

.awei-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.awei-lightbox__nav:hover {
    background: rgba(59, 130, 246, 0.85);
}

.awei-lightbox__nav--prev {
    left: 1.5rem;
}

.awei-lightbox__nav--next {
    right: 1.5rem;
}

.awei-lightbox__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

body[data-theme='dark'] .awei-lightbox__overlay {
    background: rgba(0, 0, 0, 0.92);
}

.awei-lightbox.is-zoomed .awei-lightbox__img {
    max-width: none;
    max-height: none;
    width: 90vw;
    height: auto;
}

.awei_post_end {
    margin: 30px auto 10px auto;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #9aa0aa;
    font-size: 14px;
}

.awei_post_end::before,
.awei_post_end::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
}

.awei_post_end::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
}

.awei_post_nav {
    margin: 15px auto 15px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
}

.awei_post_nav>div {
    padding: 18px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    color: #303133;
    transition: background 0.2s ease, color 0.2s ease;
}

.awei_post_nav>div:last-child {
    border-right: none;
}

.awei_post_nav>div:hover {
    background: #409eff;
    color: #fff;
}

.awei_post_nav>div:hover .nav_title,
.awei_post_nav>div:hover .nav_label,
.awei_post_nav>div:hover a {
    color: #fff;
}

.awei_post_nav a {
    display: block;
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
}

.awei_post_nav .nav_title {
    font-size: 15px;
    font-weight: 500;
}

.awei_post_nav .nav_label {
    font-size: 13px;
    color: #a0a4ad;
}

/* 友链页面样式 */
.awei_friend_site {
    width: var(--awei-width);
    margin: 30px auto;
}

.awei_friend_site__glass {
    background: #fff;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.12);
    padding: 10px;
    position: relative;
}

.awei_friend_site__top {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    flex-wrap: wrap;
}

.awei_friend_site__avatar {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.awei_friend_site__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awei_friend_site__intro {
    flex: 1;
    min-width: 180px;
}

.awei_friend_site__intro h2 {
    margin: 0;
    font-size: 20px;
    color: #1f2d3d;
}

.awei_friend_site__intro p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.awei_friend_site__actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.awei_friend_action {
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 158, 255, 0.12);
    color: #1f2d3d;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.awei_friend_action i {
    color: #409eff;
    font-size: 16px;
}

.awei_friend_action:hover,
.awei_friend_action.is-loading {
    background: #409eff;
    color: #fff;
}

.awei_friend_action:hover i,
.awei_friend_action.is-loading i {
    color: #fff;
}

.awei_friend_action.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.awei_friend_site__meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.awei_friend_info {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    background: #f5f7fb;
    border-radius: 4px;
    padding: 10px;
}

.awei_friend_info__label {
    font-size: 14px;
    color: #7c8595;
    font-weight: 600;
}

.awei_friend_info__value {
    font-size: 14px;
    color: #374151;
    word-break: break-all;
}

.awei_friend_info__copy {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
    background: rgba(64, 158, 255, 0.15);
    color: #409eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.awei_friend_info__copy:hover,
.awei_friend_info__copy.is-success {
    background: #409eff;
    color: #fff;
}

.awei_friend_links {
    width: var(--awei-width);
    margin: 25px auto 60px auto;
}

.awei_friend_group {
    margin-bottom: 30px;
    background: #fcfdff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.awei_friend_group__title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 14px;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 5px;
}

.awei_friend_group__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.awei_friend_card {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awei_friend_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(64, 158, 255, 0.15);
}

.awei_friend_card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 4;
    overflow: hidden;
    background: rgba(64, 158, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #409eff;
    flex-shrink: 0;
}

.awei_friend_card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awei_friend_card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.awei_friend_card__name {
    font-weight: 600;
    color: #1f2937;
}

.awei_friend_card__desc {
    font-size: 13px;
    color: #6b7280;
}

.awei_friend_card__status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
}

.awei_friend_card__status.is-up {
    color: #22c55e;
}

.awei_friend_card__status.is-down {
    color: #ef4444;
}

.awei_friend_card__status.is-loading {
    color: #409eff;
}

.awei_friend_card__status.is-error {
    color: #f97316;
}

.awei_friend_toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    min-width: 120px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #00a44e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 50;
}

.awei_friend_toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.awei_friend_toast.is-error {
    background: #e53935;
}

/* 归档页面样式 */
.awei_archive_section {
    width: var(--awei-width);
    margin: 10px auto;
}

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

.awei_archive_stat {
    --archive-accent: linear-gradient(180deg, #0ea5e9, #0284c7);
    --archive-accent-color: #0284c7;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 20px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    min-height: 80px;
    height: 80px;
    box-sizing: border-box;
}

.awei_archive_stat__stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-image: var(--archive-accent);
}

.awei_archive_stat__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.awei_archive_stat__label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1;
}

.awei_archive_stat__value {
    font-size: 28px;
    font-weight: 600;
    color: var(--archive-accent-color);
    line-height: 1;
}

.awei_archive_stat__icon {
    margin-left: auto;
    font-size: 26px;
    color: #cbd5f5;
}

.awei_archive_stat.is-green {
    --archive-accent: linear-gradient(180deg, #2dd4bf, #10b981);
    --archive-accent-color: #0fba81;
}

.awei_archive_stat.is-cyan {
    --archive-accent: linear-gradient(180deg, #22d3ee, #06b6d4);
    --archive-accent-color: #0ea5e9;
}

.awei_archive_stat.is-blue {
    --archive-accent: linear-gradient(180deg, #60a5fa, #3b82f6);
    --archive-accent-color: #2563eb;
}

.awei_archive_stat.is-purple {
    --archive-accent: linear-gradient(180deg, #a855f7, #7c3aed);
    --archive-accent-color: #8b5cf6;
}

.awei_archive_section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 5px;
}

.awei_archive_card {
    background: #fcfdff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.awei_archive_section__header h2 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
}

.awei_archive_section__header h2 i {
    color: #409eff;
}

.awei_archive_section__header span {
    font-size: 13px;
    color: #94a3b8;
}

.awei_archive_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.awei_archive_tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f2f6fc;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.awei_archive_tag__count {
    font-weight: 600;
}

.awei_archive_tag:hover {
    border-color: #409eff;
    color: #409eff;
    background: rgba(64, 158, 255, 0.08);
}

.awei_archive_categories {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    background: #fcfdff;
    border-radius: 4px;
    padding: 10px;
}

.awei_archive_category a {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f2f6fc;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    text-decoration: none;
    color: #1f2937;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.awei_archive_category__count {
    color: #94a3b8;
    font-size: 13px;
}

.awei_archive_category a:hover {
    border-color: #409eff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.awei_archive_timeline {
    list-style: none;
    padding: 10px;
    margin: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.awei_archive_timeline__item {
    margin-left: 18px;
    position: relative;
    padding: 8px 0;
}

.awei_archive_timeline__item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5b8cff;
    box-shadow: 0 0 0 5px rgba(91, 140, 255, 0.15);
}

.awei_archive_timeline__panel {
    border: none;
    border-radius: 4px;
    background: #f2f6fc;
    overflow: visible;
    position: relative;
}

.awei_archive_timeline__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    margin: 0;
    padding: 5px;
    font-size: 15px;
    color: #1f2d3d;
    position: relative;
    font-weight: 500;
}

.awei_archive_timeline__summary::after {
    content: none;
    font-weight: 900;
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.awei_archive_timeline__panel[open] .awei_archive_timeline__summary::after {
    transform: rotate(180deg);
}

.awei_archive_timeline__count {
    color: #94a3b8;
    font-size: 13px;
}

.awei_archive_post_list {
    list-style: none;
    margin: 0;
    background: #f2f6fc;
    border-top: 1px solid rgba(91, 140, 255, 0.12);
}

.awei_archive_post {
    padding: 5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.awei_archive_post:last-child {
    border-bottom: none;
}

.awei_archive_post a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
    font-size: 13px;
}

.awei_archive_post__date {
    color: #94a3b8;
    min-width: 48px;
}

.awei_archive_post__title {
    flex: 1;
}

.awei_archive_empty {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* 微语页面 */
.awei_memos {
    margin: 20px auto 40px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 10px;
}

.awei_memos>.awei_archive_section__header {
    margin-bottom: 10px;
}

.awei_memo_form {
    margin-top: 16px;
    margin-bottom: 20px;
    background: #f8fbff;
    border-radius: 4px;
    border: 1px dashed rgba(64, 158, 255, 0.4);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.awei_memo_form textarea {
    min-height: 120px;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 10px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

.awei_memo_form textarea:focus {
    outline: none;
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.15);
}

.awei_memo_form__actions {
    display: flex;
    justify-content: flex-end;
}

.awei_memo_form .awei_button {
    border: none;
    background: #409eff;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.awei_memo_form .awei_button:hover {
    background: #2f81e7;
    box-shadow: 0 10px 20px rgba(64, 158, 255, 0.25);
}

.awei_memo_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.awei_memo_item {
    background: #fcfdff;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 10px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.awei_memo_item__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.awei_memo_item__time {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.awei_memo_delete_form {
    margin: 0;
}

.awei_memo_delete_btn {
    border: none;
    background: transparent;
    color: #cbd5f5;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.awei_memo_delete_btn:hover {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.awei_modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

.awei_modal.is-active {
    opacity: 1;
    pointer-events: all;
}

.awei_modal__dialog {
    width: min(320px, 90vw);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    animation: aweiModalPop 0.2s ease;
}

.awei_modal__dialog h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f2937;
}

.awei_modal__dialog p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

.awei_modal__actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.awei_modal__btn {
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.awei_modal__btn--ghost {
    background: #f1f5f9;
    color: #475569;
}

.awei_modal__btn--danger {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}

@keyframes aweiModalPop {
    from {
        transform: translateY(10px) scale(0.98);
        opacity: 0.6;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.awei_memo_item__time::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.awei_memo_item__body {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .awei_memos {
        padding: 14px;
    }

    .awei_memo_form textarea {
        min-height: 100px;
    }
}

/* 关于页面样式 */
.awei_about_section {
    width: var(--awei-width);
    margin: 25px auto;
}

.awei_about_card {
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
}

.awei_about_card p {
    margin: 6px 0;
    color: #606266;
    line-height: 1.8;
}

.awei_about_intro.is-typed .awei_about_typing {
    font-weight: 600;
}

.awei_about_intro.is-typed .awei_about_typing.is-first {
    color: #409eff;
}

.awei_about_intro.is-typed .awei_about_typing.is-second {
    color: #f56c6c;
}

.awei_about_contacts {
    width: var(--awei-width);
    margin: 10px auto 10px auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
    padding: 10px;
    box-sizing: border-box;
}

.awei_about_contacts h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #1f2d3d;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebeef5;
}

.awei_about_contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.awei_about_contacts li {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    color: #4a4f59;
}

.awei_about_contacts .label {
    color: #909399;
}

.awei_about_contacts .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f4f6fb;
    color: #409eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.awei_about_contacts a {
    color: #409eff;
    text-decoration: none;
}

.awei_about_contacts a:hover {
    text-decoration: underline;
}

.awei_equip_section {
    width: var(--awei-width);
    margin: 10px auto 10px;
}

.awei_equip_panel {
    background: #fcfdff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.awei_equip_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 5px;
}

.awei_equip_header h1 {
    margin: 0;
    font-size: 28px;
    color: #1f2d3d;
}

.awei_equip_empty {
    margin: 0;
    font-size: 14px;
    color: #909399;
}

.awei_equip_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.awei_equip_card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.awei_equip_card:hover {
    transform: translateY(-4px);
}

.awei_equip_thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.awei_equip_thumb img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.awei_equip_thumb__placeholder {
    font-size: 34px;
    font-weight: 600;
    color: #c0c4cc;
}

.awei_equip_body {
    flex: 1;
}

.awei_equip_title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 8px;
}

body[data-theme='dark'] .awei_equip_header h1,
body[data-theme='dark'] .awei_equip_title {
    color: #f5f7ff;
}

.awei_equip_desc {
    margin: 0;
    font-size: 14px;
    color: #606266;
    line-height: 1.7;
}

.awei_equip_status {
    margin-top: 10px;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
}

.awei_equip_actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.awei_equip_detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(64, 158, 255, 0.4);
    color: #409eff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.awei_equip_detail:hover {
    background: #ecf5ff;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.25);
}

.awei_equip_status--primary {
    background: #ecf5ff;
    color: #409eff;
    border-color: rgba(64, 158, 255, 0.3);
}

.awei_equip_status--success {
    background: #f0f9eb;
    color: #67c23a;
    border-color: rgba(103, 194, 58, 0.3);
}

.awei_equip_status--warning {
    background: #fdf6ec;
    color: #e6a23c;
    border-color: rgba(230, 162, 60, 0.3);
}

.awei_equip_status--danger {
    background: #fef0f0;
    color: #f56c6c;
    border-color: rgba(245, 108, 108, 0.3);
}

.awei_equip_status--secondary {
    background: #f4f4f5;
    color: #909399;
    border-color: rgba(144, 147, 153, 0.3);
}

.awei_equip_status--disabled {
    background: #f5f7fa;
    color: #c0c4cc;
    border-color: rgba(192, 196, 204, 0.3);
}

@media (max-width: 768px) {
    .awei_equip_grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .awei_equip_header h1 {
        font-size: 22px;
    }
}

.awei_about_blog {
    width: var(--awei-width);
    margin: 10px auto 10px auto;
}

.awei_about_blog .awei_about_card {
    display: flex;
    gap: 20px;
    padding: 10px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body[data-theme='dark'] {
    background: #0f172a;
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_header {
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.65);
}

body[data-theme='dark'] .awei_header_nav .awei_nav_link {
    color: #cbd5f5;
}

body[data-theme='dark'] .awei_nav_link::after {
    background: rgba(56, 189, 248, 0.45);
}

body[data-theme='dark'] .awei_nav_link.is-active::after,
body[data-theme='dark'] .awei_nav_link:hover::after {
    background: rgba(59, 130, 246, 0.85);
}

body[data-theme='dark'] .awei_icon_button {
    background: #1e293b;
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.6);
}

body[data-theme='dark'] .awei_icon_button:hover,
body[data-theme='dark'] .awei_icon_button:focus {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.6);
}

body[data-theme='dark'] .awei_search_dialog {
    background: #1e2539;
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_search_form input {
    background: #0f172a;
    color: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.4);
}

body[data-theme='dark'] .awei_search_overlay::before {
    background: rgba(2, 6, 23, 0.85);
}

body[data-theme='dark'] .awei_post_card,
body[data-theme='dark'] .awei_about_card,
body[data-theme='dark'] .awei_about_contacts,
body[data-theme='dark'] .awei_about_blog .awei_about_card,
body[data-theme='dark'] .awei_about_personality .awei_about_card,
body[data-theme='dark'] .awei_about_journey .awei_about_card,
body[data-theme='dark'] .awei_friend_site__glass,
body[data-theme='dark'] .awei_friend_group,
body[data-theme='dark'] .awei_friend_card,
body[data-theme='dark'] .awei_equip_panel,
body[data-theme='dark'] .awei_equip_card,
body[data-theme='dark'] .awei_memos,
body[data-theme='dark'] .awei_memo_item,
body[data-theme='dark'] .awei_friend_toast {
    background: #1a243a;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.65);
}

body[data-theme='dark'] .awei_memo_form {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .awei_memo_form textarea {
    background: #0b1220;
    border-color: rgba(148, 163, 184, 0.35);
    color: #f8fafc;
}

body[data-theme='dark'] .awei_memo_form textarea::placeholder {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_memo_form .awei_button {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    color: #f8fafc;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

body[data-theme='dark'] .awei_memo_form .awei_button:hover {
    background: linear-gradient(135deg, #2494db, #2563eb);
}

body[data-theme='dark'] .awei_memo_item__time {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_memo_item__body {
    color: #f8fafc;
}

body[data-theme='dark'] .awei_memo_delete_btn {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_memo_delete_btn:hover {
    color: #f87171;
}

body[data-theme='dark'] .awei_friend_card__desc,
body[data-theme='dark'] .awei_equip_desc,
body[data-theme='dark'] .awei_about_contacts li,
body[data-theme='dark'] .awei_about_card p {
    color: #cbd5f5;
}

body[data-theme='dark'] .awei_equip_status {
    border-color: rgba(148, 163, 184, 0.35);
}

body[data-theme='dark'] .awei_equip_status--primary {
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_equip_status--success {
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
}

body[data-theme='dark'] .awei_equip_status--warning {
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
}

body[data-theme='dark'] .awei_equip_status--danger {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
}

body[data-theme='dark'] .awei_equip_status--secondary,
body[data-theme='dark'] .awei_equip_status--disabled {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5f5;
}

body[data-theme='dark'] .awei_friend_card__placeholder,
body[data-theme='dark'] .awei_equip_thumb__placeholder {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_friend_group__title,
body[data-theme='dark'] .awei_equip_header h2,
body[data-theme='dark'] .awei_equip_header h3,
body[data-theme='dark'] .awei_equip_header h4,
body[data-theme='dark'] h2,
body[data-theme='dark'] h3,
body[data-theme='dark'] h4 {
    color: rgba(255, 255, 255, 0.86) !important;
}

body[data-theme='dark'] .awei_friend_info__label {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_friend_info__value {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_about_server .key,
body[data-theme='dark'] .awei_about_stack .key {
    color: #cbd5f5;
}

body[data-theme='dark'] .awei_about_server .value,
body[data-theme='dark'] .awei_about_stack .value {
    color: #f8fafc;
}

body[data-theme='dark'] .awei_about_contacts .icon {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_about_contacts a {
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_equip_thumb {
    background: #0f172a;
}

body[data-theme='dark'] .awei_friend_group,
body[data-theme='dark'] .awei_friend_site__glass {
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .awei_friend_card {
    border-color: rgba(148, 163, 184, 0.12);
}

body[data-theme='dark'] .awei-code-card {
    border-color: rgba(148, 163, 184, 0.25);
    background: #0f172a;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.55);
}

body[data-theme='dark'] .awei-code-card__top {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

body[data-theme='dark'] .awei-code-card__body,
body[data-theme='dark'] .awei-code {
    background: #0b1220;
    color: #e2e8f0;
}

body[data-theme='dark'] .awei-code-card__lines {
    background: rgba(15, 23, 42, 0.7);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme='dark'] .awei-code-card__copy {
    color: #94a3b8;
}

body[data-theme='dark'] .awei-code-card__copy:hover {
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_friend_site__glass {
    background: #111a2d;
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_friend_site__avatar img {
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.55);
}

body[data-theme='dark'] .awei_friend_site__intro h2,
body[data-theme='dark'] .awei_friend_site__intro p {
    color: #f8fafc;
}

body[data-theme='dark'] .awei_friend_action {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_friend_action:hover {
    color: #38bdf8;
    border-color: #38bdf8;
}

body[data-theme='dark'] .awei_friend_info {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .awei_friend_info__value {
    color: #f8fafc;
}

body[data-theme='dark'] .awei_friend_info__copy {
    color: #7dd3fc;
}

body[data-theme='dark'] .awei_friend_info__copy:hover {
    color: #38bdf8;
}

body[data-theme='dark'] .awei_friend_card__body .awei_friend_card__name,
body[data-theme='dark'] .awei_friend_card__body .awei_friend_card__desc {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_friend_card__status {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_archive_card {
    background: #141c2f;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.6);
}

body[data-theme='dark'] .awei_archive_section__header h2,
body[data-theme='dark'] .awei_archive_section__header span {
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_archive_stat {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .awei_archive_stat__stripe {
    opacity: 0.8;
}

body[data-theme='dark'] .awei_archive_stat__label {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_archive_stat__value {
    color: #a5b4fc;
}

body[data-theme='dark'] .awei_archive_tags {
    border-color: rgba(148, 163, 184, 0.1);
}

body[data-theme='dark'] .awei_archive_tag {
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5f5;
    background: rgba(15, 23, 42, 0.6);
}

body[data-theme='dark'] .awei_archive_tag:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
    background: rgba(8, 47, 73, 0.6);
}

body[data-theme='dark'] .awei_archive_categories {
    background: #111a2d;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

body[data-theme='dark'] .awei_archive_category a {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.4);
    color: #e2e8f0;
}

body[data-theme='dark'] .awei_archive_category__count,
body[data-theme='dark'] .awei_archive_timeline__count,
body[data-theme='dark'] .awei_archive_post__date,
body[data-theme='dark'] .awei_archive_empty {
    color: #94a3b8;
}

body[data-theme='dark'] .awei_archive_timeline {
    background: rgba(15, 23, 42, 0.7);
    box-shadow: inset 0 1px 0 rgba(2, 6, 23, 0.6);
}

body[data-theme='dark'] .awei_archive_timeline__line {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.5), rgba(59, 130, 246, 0.5));
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.6);
}

body[data-theme='dark'] .awei_archive_timeline__panel {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.15);
}

body[data-theme='dark'] .awei_archive_timeline__summary {
    color: #f8fafc;
}

body[data-theme='dark'] .awei_archive_timeline__item::before {
    background: #38bdf8;
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.25);
}

body[data-theme='dark'] .awei_archive_post_list {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(56, 189, 248, 0.15);
}

body[data-theme='dark'] .awei_archive_post__title {
    color: #f8fafc;
}

.awei_about_server,
.awei_about_stack {
    flex: 1;
    min-width: 0;
}

.awei_about_server h2,
.awei_about_stack h2 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #1f2d3d;
    padding-bottom: 6px;
    border-bottom: 1px solid #ebeef5;
}

.awei_about_server ul,
.awei_about_stack ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.awei_about_server li,
.awei_about_stack li {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #4a4f59;
    padding: 6px 0;
}

.awei_about_server .icon,
.awei_about_stack .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f4f6fb;
    color: #409eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.awei_about_server .key,
.awei_about_stack .key {
    width: 120px;
    color: #909399;
    font-weight: 500;
}

.awei_about_server .value,
.awei_about_stack .value {
    flex: 1;
    color: #1f2d3d;
    line-height: 1.6;
}

.awei_about_stack .stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.awei_about_personality {
    width: var(--awei-width);
    margin: 10px auto 10px auto;
}

.awei_about_personality .awei_about_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid rgba(24, 144, 255, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.awei_about_personality .awei_about_card:hover {
    background: #fff9d6;
    box-shadow: 0 15px 30px rgba(246, 173, 85, 0.25);
    transform: translateY(-2px);
}

.awei_personality_left {
    flex: 1;
    min-width: 0;
}

.awei_personality_label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 10px;
}

.awei_personality_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.awei_personality_type {
    font-size: 24px;
    font-weight: 700;
    color: #2eb872;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.awei_personality_desc {
    margin: 0 0 12px;
    color: #4a4f59;
    line-height: 1.6;
}

.awei_personality_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #409eff;
    text-decoration: none;
    font-weight: 600;
}

.awei_personality_link:hover {
    text-decoration: underline;
}

.awei_personality_image {
    flex-shrink: 0;
    width: 200px;
    max-width: 40%;
    text-align: right;
}

.awei_personality_image img {
    width: 44%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .awei_about_personality .awei_about_card {
        flex-direction: column;
        text-align: center;
    }

    .awei_personality_left {
        text-align: center;
    }

    .awei_personality_image {
        max-width: 60%;
    }
}

.awei_about_journey {
    width: var(--awei-width);
    margin: 10px auto 10px auto;
}

.awei_about_journey .awei_about_card {
    margin: 10px auto 10px auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
    padding: 10px;
}

.awei_about_journey h2 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #1f2d3d;
    border-bottom: 1px solid #ebeef5;
}

.awei_about_journey p {
    margin: 10px 0;
    line-height: 1.8;
    color: #4a4f59;
}

.awei_about_stack .tag {
    padding: 6px 12px;
    background: #ecf5ff;
    border-radius: 999px;
    color: #409eff;
    font-size: 13px;
}

@media (max-width: 768px) {

    .awei_about_blog .awei_about_card {
        flex-direction: column;
        padding: 10px;
    }

    .awei_about_server,
    .awei_about_stack {
        width: 100%;
    }

    .awei_friend_site,
    .awei_friend_links {
        width: calc(100% - 30px);
        margin: 20px auto;
    }

    .awei_friend_info {
        grid-template-columns: 60px 1fr 30px;
    }
}

/* 评论区新版样式 */
.comment-panel {
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-sizing: border-box;
}

.comment-panel__header {
    border-bottom: 1px solid #eef0f5;
    padding-bottom: 12px;
}

.comment-panel__title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2d3d;
}

.comment-form {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(79, 147, 255, 0.15);
    box-sizing: border-box;
}

.comment-form__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form__login p {
    margin: 0;
    color: #54667a;
}

.comment-fields-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.comment-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.comment-field input {
    border: 1px solid #d7dfef;
    border-radius: 4px;
    padding: 10px 12px;
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}

.comment-field input:focus,
.comment-editor textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.comment-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.comment-editor textarea {
    min-height: 140px;
    border: 1px solid #d7dfef;
    border-radius: 4px;
    padding: 10px;
    resize: vertical;
    font-size: 14px;
    outline: none;
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.comment-actions__left {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.comment-emoji-panel {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 14px;
    width: 260px;
    max-height: calc(3 * 44px + 2 * 8px + 14px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 4px;
    background: linear-gradient(160deg, #f5f8ff 0%, #ffffff 65%, #f8fbff 100%);
    box-shadow: 0 16px 40px rgba(74, 104, 255, 0.18);
    border: 1px solid rgba(108, 140, 255, 0.25);
    z-index: 5;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 140, 255, 0.65) transparent;
}

.comment-emoji-panel::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.comment-emoji-panel::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.comment-emoji-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(140deg, rgba(108, 140, 255, 0.85), rgba(126, 205, 255, 0.85));
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.comment-emoji-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(140deg, rgba(108, 140, 255, 1), rgba(126, 205, 255, 1));
}

.comment-emoji-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 28px;
    width: 16px;
    height: 16px;
    background: inherit;
    border-left: 1px solid rgba(108, 140, 255, 0.25);
    border-top: 1px solid rgba(108, 140, 255, 0.25);
    transform: rotate(45deg);
}

.comment-emoji-panel.is-open {
    display: grid;
}

.comment-emoji {
    border: none;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: inset 0 0 0 1px rgba(108, 140, 255, 0.1);
}

.comment-emoji:hover {
    background: linear-gradient(160deg, #f6f0ff, #e4f0ff);
    box-shadow: inset 0 0 0 1px rgba(108, 140, 255, 0.25), 0 6px 12px rgba(80, 121, 255, 0.18);
    transform: translateY(-2px);
}


.comment-action {
    border: 1px solid #d8dff0;
    background: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #4b5563;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-action--ghost {
    border-color: transparent;
    color: #6b7280;
    background: transparent;
}

.comment-submit {
    border: 1px solid #66c3df;
    border-radius: 4px;
    padding: 5px 5px;
    background: #74cfe7;
    color: #ffffff;
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s ease, transform .2s ease;
}

.comment-submit:hover {
    background: #63bfd8;
    transform: translateY(-1px);
}

.comment-closed {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.comment-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-item {
    list-style: none;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eef1f5;
    box-shadow: none;
}

.comment-item__head {
    display: flex;
    gap: 12px;
}

.comment-item__avatar img {
    border-radius: 50%;
}

.comment-item__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comment-item__author {
    font-weight: 600;
    color: #1f2d3d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-item__name {
    font-size: 14px;
}

.comment-item__level {
    font-size: 12px;
    color: #f97316;
    background: rgba(249, 115, 22, 0.12);
    padding: 2px 8px;
    border-radius: 999px;
}

.comment-reply-button {
    font-size: 12px;
    color: #808695;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity .2s ease;
}

.comment-reply-button::before {
    content: '\f064';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
}

.comment-reply-button:hover {
    color: #6a6f82;
}

.comment-item:hover .comment-reply-button {
    opacity: 1;
}

.comment-item__meta-line {
    margin-top: 4px;
    font-size: 13px;
    color: #8c94a8;
}


.comment-item__content {
    padding: 5px;
    background: #f7f8fb;
    border-radius: 4px;
    border: 1px solid #eef0f5;
    margin-left: 63px;
}

.comment-item__meta-extra {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #8c94a8;
}

.comment-children {
    margin-top: 12px;
    padding-left: 0;
    border-left: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-pagination {
    margin-top: 16px;
    text-align: right;
}

body[data-theme='dark'] .comment-panel {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.6);
}

body[data-theme='dark'] .comment-panel__header {
    border-color: rgba(148, 163, 184, 0.35);
}

body[data-theme='dark'] .comment-panel__title {
    color: #f8fafc;
}

body[data-theme='dark'] .comment-form,
body[data-theme='dark'] .comment-list,
body[data-theme='dark'] .comment-item {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

body[data-theme='dark'] .comment-field input,
body[data-theme='dark'] .comment-editor textarea {
    background: #0b1220;
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

body[data-theme='dark'] .comment-field input::placeholder,
body[data-theme='dark'] .comment-editor textarea::placeholder {
    color: #94a3b8;
}

body[data-theme='dark'] .comment-form__login p,
body[data-theme='dark'] .comment-fields-row label,
body[data-theme='dark'] .comment-actions,
body[data-theme='dark'] .comment-item__meta-line,
body[data-theme='dark'] .comment-item__meta-extra,
body[data-theme='dark'] .comment-closed {
    color: #cbd5f5;
}

body[data-theme='dark'] .comment-emoji-panel {
    background: #111a2d;
    border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme='dark'] .comment-emoji {
    background: rgba(15, 23, 42, 0.8);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

body[data-theme='dark'] .comment-action,
body[data-theme='dark'] .comment-submit {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #f8fafc;
}

body[data-theme='dark'] .comment-action--ghost {
    background: transparent;
    color: #cbd5f5;
}

body[data-theme='dark'] .comment-submit:hover {
    background: rgba(56, 189, 248, 0.35);
}

body[data-theme='dark'] .comment-item__content {
    background: rgba(8, 12, 23, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08);
    color: #f8fafc;
}

body[data-theme='dark'] .comment-item__author,
body[data-theme='dark'] .comment-item__name,
body[data-theme='dark'] .comment-item__level,
body[data-theme='dark'] .comment-reply-button {
    color: #e2e8f0;
}

body[data-theme='dark'] .comment-reply-button {
    background: rgba(59, 130, 246, 0.12);
    border-radius: 999px;
    padding: 2px 8px;
}

body[data-theme='dark'] .comment-reply-button:hover {
    color: #7dd3fc;
}