.lh-banben,
.lh-banben1 {
    vertical-align: -0.1em !important;
    font-size: 18px;
}

.lh-zhuanjiguangpan {
    font-size: 22px;
}

/*版本信息 颜色主题：默认浅色 */
:root {
    --bg-body: #e7f1f7;
    --bg-window: #ffffff;
    --bg-header: #2c9bb8;
    --bg-row-hover: rgba(44, 155, 184, 0.08);
    --border-color: #d3dde6;
    --text-main: #1f2933;
    --text-sub: #6b7280;
    --badge-bg: #e67e22;
    --badge-text: #ffffff;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
    --radius-lg: 14px;
}

.night {
    --bg-body: #050b12;
    --bg-window: #111827;
    --bg-header: #1d4ed8;
    --bg-row-hover: rgba(96, 165, 250, 0.16);
    --border-color: #1f2937;
    --text-main: #e5e7eb;
    --text-sub: #9ca3af;
    --badge-bg: #ea7a1f;
    --badge-text: #ffffff;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.night .single-content tbody tr:nth-child(odd) {
    background: #1f1e1e70;
}

.window {
    margin: 10px auto;
    width: 98%;
    background: var(--bg-window);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(10px);
}

/* 标题栏 */
.window-header,
.window-header-s,
.window-header-w,
.window-header-k,
.window-header-g {
    padding: 2px 20px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.window-header {
    background: var(--be-bg-m);
}

.window-header-s {
    background: linear-gradient(to right, #FF9800, #ec8e30);
}

.window-header-w {
    background: linear-gradient(to right, var(--be-bg-btn), var(--be-bg-btn));
}

.window-header-k {
    background: linear-gradient(to right, #009688, #4CAF50);
}

.window-header-g {
    background: linear-gradient(to right, #c818a8, #ec8e30);
    gap: 1px;
}

.window-header-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.window-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.badge-bottom {
    display: flex;
    background-color: #f9f9f9;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 0 10px;
    line-height: 18px !important;
}

.badge-bottom h2 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-bottom span {
    font-size: 12px;
    color: var(--text-sub);
}

.yousj-wenz {
    margin-left: auto;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.yousj-wenz-img {
    width: 22px !important;
    height: 22px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    box-shadow: none !important;
}

/* 表格 */
.table-wrapper {
    border: .5px solid var(--border-ddd);
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), transparent 55%);
    overflow-x: auto;
}

.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.7);
    border-radius: 999px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.image-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
    font-size: 14px;
    margin: auto;
    border-width: 1px;
}

.image-table thead {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.06));
}

.image-table th,
.image-table td {
    padding: 6px 14px;
    text-align: left;
    white-space: nowrap;
}

.image-table th {
    font-size: 13px;
    color: var(--text-sub);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.image-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.image-table tr:last-child td {
    border-bottom: none;
    vertical-align: middle !important;
}

.image-table tbody tr:hover {
    background-color: var(--bg-row-hover);
}

.col-name {
    max-width: 440px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag1 {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    margin-left: 6px;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.window .fa {
    padding: 4px 3px 0px 0px !important;
}

.badge-bottom small {
    opacity: 0.9;
    font-size: 75%;
    margin-left: 8px;
    letter-spacing: 0.15em;
}

/* 小屏优化 */
@media (max-width: 640px) {
    .window {
        border-radius: 12px;
    }

    .window-header,
    .window-header-s,
    .window-header-g,
    .window-header-w,
    .window-header-k {
        padding: 12px 14px;
        font-size: 16px;
    }

    .window-body {
        padding: 12px;
    }

    .image-table th,
    .image-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .badge-bottom {
        font-size: 15px;
        padding: 8px 14px;
        letter-spacing: 0.05em;
        gap: 0px;
        flex-direction: column;
    }

    .col-name {
        max-width: 260px;
    }
}

.single-content ul li,
.single-content ol li {
    margin: 0 0 0 3em;
}

/* 夜间模式适配 */

body.dark-theme .window {
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    color: var(--main-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

body.dark-theme .table-wrapper {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 55%);
    border-color: var(--main-border-color);
}

/* 标题栏文字保持白色 */
body.dark-theme .window-header,
body.dark-theme .window-header-s,
body.dark-theme .window-header-w,
body.dark-theme .window-header-k,
body.dark-theme .window-header-g {
    color: #ffffff !important;
    opacity: 0.95;
}

body.dark-theme .window-header-dot {
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

/* 表格内容 */
body.dark-theme .image-table {
    color: var(--main-color);
}

body.dark-theme .image-table thead {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

body.dark-theme .badge-bottom {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--muted-color);
}

body.dark-theme .image-table th {
    color: var(--muted-color);
    border-bottom-color: var(--main-border-color);
}

body.dark-theme .image-table td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: var(--main-color);
}

body.dark-theme .image-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* 奇数行背景 */
body.dark-theme .single-content tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* 标签 */
body.dark-theme .tag1 {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
}

body.dark-theme .badge-bottom h2 {
    color: var(--main-color) !important;
}

body.dark-theme .badge-bottom span,
body.dark-theme .badge-bottom small {
    color: var(--muted-color) !important;
}

/* 滚动条 */
body.dark-theme .table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* 列表项 */
body.dark-theme .single-content ul li,
body.dark-theme .single-content ol li {
    color: var(--main-color) !important;
}

/* 字体颜色修正 */
body.dark-theme .window-body {
    color: var(--main-color) !important;
}

body.dark-theme .lh-banben,
body.dark-theme .lh-banben1,
body.dark-theme .lh-zhuanjiguangpan {
    color: var(--main-color) !important;
}

body.dark-theme .wp-posts-content img {
    box-shadow: none !important;
    border: none !important;
}

/* 移动端深色 */
@media (max-width: 640px) {
    body.dark-theme .window {
        border-radius: 12px;
        border: 1px solid var(--main-border-color) !important;
    }
}