/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    min-height: 100vh;
    transition: none;
}

/* ========== 主题：白天模式（千禧年旧核） ========== */
body.theme-light {
    --bg: #d9d0c0;
    --card-bg: #ede4d8;
    --text-primary: #3a3530;
    --text-secondary: #6b5e52;
    --border-light: #c8bdb0;
    --border-dark: #a89888;
    --accent: #b87b8a;
    --accent-soft: #7a9a7b;
    --fab-bg: #c4b0a0;
    --fab-color: #3a3530;
    --header-bg: #ede4d8;
    --sidebar-bg: #ede4d8;
    --shadow-outset: 3px 3px 0 #a89888, 0 0 0 1px #f0e8dc inset;
    --shadow-inset: 2px 2px 4px #a89888 inset, -1px -1px 2px #f0e8dc inset;
    --link-color: #b87b8a;
    
    background-color: var(--bg);
    background-image: 
        repeating-linear-gradient(45deg, rgba(160, 140, 120, 0.03) 0px, rgba(160, 140, 120, 0.03) 2px, 
                                  transparent 2px, transparent 6px),
        radial-gradient(circle at 30% 40%, rgba(200, 170, 140, 0.08) 0%, transparent 50%);
    color: var(--text-primary);
    font-family: 'Times New Roman', Times, serif;
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light .post-title,
body.theme-light .header-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: normal;
    letter-spacing: 0.5px;
}

body.theme-light .post-title {
    text-shadow: 1px 0 0 rgba(255, 100, 100, 0.15), -1px 0 0 rgba(100, 100, 255, 0.1);
}

body.theme-light img {
    filter: sepia(0.35) saturate(0.7) contrast(1.1);
    image-rendering: pixelated;
}

body.theme-light button {
    font-family: 'Times New Roman', Times, serif;
}

/* ========== 主题：夜间模式（千禧年赛博朋克 + Frutiger Aero） ========== */
body.theme-dark {
    --bg: #04040a;
    --card-bg: rgba(10, 10, 18, 0.78);
    --text-primary: #d8dce8;
    --text-secondary: #8899bb;
    --border-glow: #00e5ff;
    --border-glow2: #d000ff;
    --accent: #ff2d78;
    --accent-soft: #00e5ff;
    --fab-bg: linear-gradient(180deg, #120018 0%, #0a0a18 100%);
    --fab-color: #ff2d78;
    --header-bg: rgba(10, 10, 18, 0.9);
    --sidebar-bg: rgba(10, 10, 18, 0.85);
    --shadow-glow: 0 0 28px rgba(255, 45, 120, 0.1), 0 0 55px rgba(208, 0, 255, 0.06), 0 0 90px rgba(0, 229, 255, 0.04);
    --link-color: #ff6b9d;
    
    background-color: #04040a;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px),
        radial-gradient(ellipse at 20% 30%, rgba(255, 45, 120, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
    background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
    color: var(--text-primary);
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .post-title,
body.theme-dark .header-title {
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 
        0 0 20px rgba(255, 45, 120, 0.6),
        0 0 45px rgba(255, 45, 120, 0.3),
        0 0 70px rgba(208, 0, 255, 0.2),
        1px 0 0 rgba(0, 229, 255, 0.3);  /* 轻微色差/故障感 */
    color: #ffffff !important;
    text-transform: none;
}

body.theme-dark .post-title {
    display: inline-block;
    border-left: 4px solid #ff0080;
    padding-left: 16px;
    box-shadow: 0 0 20px #ff008060;
}

body.theme-dark a {
    text-shadow: 0 0 6px #00ccff;
    color: var(--link-color);
}

body.theme-dark button {
    font-family: 'Tahoma', 'Verdana', sans-serif;
    font-weight: bold;
}

/* ========== 主题：墨水屏模式（保持不变） ========== */
body.theme-ink {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --text-primary: #000000;
    --text-secondary: #000000;
    --border-color: #000000;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --shadow: none;
    --link-color: #000000;
    --fab-bg: #000000;
    --fab-color: #ffffff;
    --sidebar-bg: #ffffff;
    background-color: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.theme-ink * {
    border-color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.theme-ink img {
    filter: grayscale(100%) contrast(150%);
}

body.theme-ink a,
body.theme-ink button {
    text-decoration: underline;
}

body.theme-ink .post-title,
body.theme-ink h1,
body.theme-ink h2,
body.theme-ink h3 {
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    border-left: none !important;
    padding-left: 0 !important;
}

/* ========== 头部 ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
}

body.theme-light #header {
    box-shadow: var(--shadow-outset);
}

body.theme-dark #header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
    border-bottom: 3px solid #ff0080;
    box-shadow: 0 0 25px #ff0080cc, 0 4px 0 #00000080;
}

body.theme-ink #header {
    border-bottom: 2px solid #000000;
}

.header-left, .header-right {
    width: 48px;
}

.header-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

body.theme-dark .header-title {
    text-shadow: 0 0 10px #00f3ff, 0 0 25px #00f3ff, 0 0 5px #ff00ff;
    letter-spacing: 3px;
    color: #00f3ff;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

body.theme-dark .menu-toggle {
    text-shadow: 0 0 10px #00ccff;
}

/* ========== 主内容区 ========== */
#content {
    margin-top: 56px;
    padding: 16px;
    min-height: calc(100vh - 56px);
}

.page {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.page.active {
    display: block;
}

/* ========== 文章卡片 ========== */
.post-card {
    background: var(--card-bg);
    margin-bottom: 20px;
    padding: 20px;
    cursor: pointer;
    border-radius: 0px;
}

body.theme-light .post-card {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    box-shadow: var(--shadow-outset);
}

body.theme-dark .post-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 10, 18, 0.78);
    border: 1px solid rgba(255, 45, 120, 0.2);
    border-left: 4px solid #00e5ff;
    margin: 8px 4px 12px 4px;
    position: relative;
    overflow: visible;
    box-shadow: 
        -4px -4px 0 -2px #04040a, -4px -4px 0 0 #ff2d78,
        4px -4px 0 -2px #04040a, 4px -4px 0 0 #d000ff,
        -4px 4px 0 -2px #04040a, -4px 4px 0 0 #d000ff,
        4px 4px 0 -2px #04040a, 4px 4px 0 0 #00e5ff,
        0 0 22px rgba(255, 45, 120, 0.06), 0 0 50px rgba(208, 0, 255, 0.03), 0 0 90px rgba(0, 229, 255, 0.02);
    clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 96% 100%, 0% 100%);
    transition: all 0.4s ease;
}

/* 卡片顶部发光横线 */
body.theme-dark .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00e5ff, #ff2d78, #d000ff, transparent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* 卡片顶部发光横线 */
body.theme-dark .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00e5ff, #6a5adc, transparent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

body.theme-ink .post-card {
    border: 2px solid #000000;
}

.post-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 16px;
}

.post-info {
    padding: 0;
}

.post-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

body.theme-light .post-title {
    text-shadow: 1px 0 0 rgba(255, 100, 100, 0.15), -1px 0 0 rgba(100, 100, 255, 0.1);
}

body.theme-dark .post-title {
    display: inline-block;
    border-left: 4px solid #00e5ff;
    padding-left: 16px;
    box-shadow: none;
    text-shadow: 
        0 0 18px rgba(255, 45, 120, 0.5),
        0 0 40px rgba(255, 45, 120, 0.2),
        1px 0 0 rgba(0, 229, 255, 0.25);
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

body.theme-ink .post-title {
    text-transform: none;
    letter-spacing: normal;
    border-left: none;
    padding-left: 0;
    box-shadow: none;
}

.post-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

body.theme-dark .post-excerpt {
    text-shadow: 0 0 2px #00ccff40;
}

.post-lock {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ========== 置顶标记 ========== */
.post-top {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 0px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: middle;
}

body.theme-light .post-top {
    background: var(--accent);
    color: #f0e8dc;
    border-style: outset;
    border-width: 1px;
    border-color: #d4b0a0 #a07060 #a07060 #d4b0a0;
}

body.theme-dark .post-top {
    background: linear-gradient(180deg, #ff0080 0%, #cc0066 100%);
    color: #ffffff;
    border: 1px solid #00ccff;
    box-shadow: 0 0 10px #ff0080;
    text-shadow: 0 0 4px #ffffff;
}

body.theme-ink .post-top {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

/* ========== Markdown 内容样式 ========== */
.markdown-body {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 16px 0;
    text-indent: 2em;
}

/* 夜间模式文章页细格子背景 */
body.theme-dark .markdown-body {
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 20px 20px;
    background-position: center center;
    border-radius: 2px;
}

.markdown-body h1 {
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--border-dark, var(--border-glow)) !important;
    padding-bottom: 8px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body h2 {
    color: var(--text-primary) !important;
    border-left: 4px solid var(--accent, #ff0080) !important;
    padding-left: 16px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body h3 {
    color: var(--text-primary) !important;
    padding-left: 8px;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.markdown-body h3::before {
    content: "◆ ";
    color: var(--accent, #ff0080);
    font-size: 0.9em;
}

.markdown-body h4 {
    color: var(--text-primary) !important;
    margin-top: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.markdown-body h4::before {
    content: "◇ ";
    color: var(--accent, #ff0080);
    font-size: 0.9em;
}

.markdown-body h5,
.markdown-body h6 {
    color: var(--text-primary) !important;
    margin-top: 16px;
    margin-bottom: 10px;
}

body.theme-dark .markdown-body h2 {
    text-shadow: 3px 3px 0 #000000c0, 0 0 15px #ff0080, 0 0 30px #ff0080, 0 0 5px #00ccff;
    border-bottom: 3px solid #ff0080 !important;
    padding-bottom: 8px;
    display: inline-block;
}

.markdown-body a {
    color: var(--link-color) !important;
}

.markdown-body code {
    background: var(--bg) !important;
}

.markdown-body pre {
    background: var(--bg) !important;
    border: 1px solid var(--border-dark, var(--border-glow));
}

.markdown-body table {
    display: block;
    overflow-x: auto;
}

.markdown-body p {
    margin-bottom: 1.2em;
}

/* ========== FAB 浮动按钮 ========== */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 200;
}

.fab {
    width: 30px;
    height: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

body.theme-light .fab {
    background: var(--fab-bg);
    color: var(--fab-color);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    box-shadow: var(--shadow-outset);
    font-family: 'Times New Roman', Times, serif;
}

body.theme-dark .fab {
    background: linear-gradient(180deg, #0a0a18 0%, #04040a 100%);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.45);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.15), 0 0 40px rgba(0, 229, 255, 0.05);
    text-shadow: 0 0 10px #00e5ff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
    position: relative;
}

body.theme-dark .fab::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 12px;
    height: 10px;
    background: linear-gradient(180deg, #ffffff80 0%, transparent 100%);
    border-radius: 2px;
    pointer-events: none;
}

body.theme-ink .fab {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.wiki-fab {
    position: relative;
    bottom: auto;
    right: auto;
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.fab-menu.open {
    display: flex;
}

.fab-item {
    padding: 12px 20px;
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 0px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
}

body.theme-light .fab-item {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    box-shadow: var(--shadow-outset);
}

body.theme-dark .fab-item {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 15px #ff0080cc, 0 0 5px #00ccff, 2px 2px 0 #000000;
    text-shadow: 0 0 6px #00ccff;
    background: rgba(10, 12, 24, 0.9);
}

body.theme-ink .fab-item {
    border: 2px solid #000000;
}

/* ========== 侧边栏 ========== */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: var(--sidebar-bg);
    z-index: 300;
    transition: transform 0.2s;
    overflow-y: auto;
    border-radius: 0px;
}

body.theme-light .sidebar {
    border-style: inset;
    border-width: 2px;
    border-color: var(--border-dark) var(--border-light) var(--border-light) var(--border-dark);
    box-shadow: var(--shadow-outset);
}

body.theme-ink .sidebar {
    border: 2px solid #000000;
}

.sidebar-left {
    left: 0;
    transform: translateX(-100%);
}

.sidebar-right {
    right: 0;
    transform: translateX(100%);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: bold;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

.sidebar-content {
    padding: 16px;
}

/* ========== 侧边栏菜单样式 ========== */
.menu-section {
    margin-bottom: 20px;
}

.menu-section-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item {
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 0px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: bold;
}

body.theme-light .menu-item {
    border: 1px solid transparent;
}

body.theme-light .menu-item:hover {
    background: var(--bg);
    border-style: outset;
    border-width: 1px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .menu-item {
    text-shadow: 0 0 6px #00ccff;
    border-left: 3px solid transparent;
}

body.theme-dark .menu-item:hover {
    background: rgba(0, 229, 255, 0.06);
    border-left: 3px solid #00e5ff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.12);
    text-shadow: 0 0 8px #00e5ff;
}

body.theme-ink .menu-item:hover {
    background: #cccccc;
}

.menu-subitem {
    padding: 10px 16px 10px 48px;
    margin: 2px 0;
    border-radius: 0px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

.menu-subitem::before {
    content: "•";
    position: absolute;
    left: 32px;
    opacity: 0.7;
    font-size: 16px;
}

body.theme-dark .menu-subitem:hover {
    background: linear-gradient(90deg, #ff008030 0%, #00ccff15 100%);
    border-left: 3px solid #00ccff;
    box-shadow: 0 0 10px #ff008060;
}

/* ========== 目录项 ========== */
.toc-item {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 0px;
    transition: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.theme-dark .toc-item:hover {
    background: linear-gradient(90deg, #ff008040 0%, #00ccff20 100%);
    border-left: 3px solid #00ccff;
    text-shadow: 0 0 6px #00ccff;
}

.toc-h1 { padding-left: 0px; font-weight: bold; }
.toc-h2 { padding-left: 12px; }
.toc-h3 { padding-left: 28px; font-size: 13px; opacity: 0.9; }
.toc-h4 { padding-left: 44px; font-size: 12px; opacity: 0.8; }

/* ========== 主题选项 ========== */
.theme-option {
    padding: 16px;
    cursor: pointer;
    margin-bottom: 8px;
    border-radius: 0px;
    font-weight: bold;
}

body.theme-light .theme-option {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    background: var(--card-bg);
}

body.theme-dark .theme-option {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 15px #ff0080cc, 0 0 5px #00ccff, 2px 2px 0 #000000;
    text-shadow: 0 0 6px #00ccff;
    background: rgba(10, 12, 24, 0.8);
}

body.theme-dark .theme-option:hover {
    background: #1a0a2e;
    box-shadow: 0 0 25px #ff0080, 0 0 10px #00ccff, 2px 2px 0 #000000;
}

/* ========== 遮罩层 ========== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 250;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* ========== 弹窗 ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 0px;
    max-width: 400px;
    width: 100%;
}

body.theme-light .modal-content {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    box-shadow: var(--shadow-outset);
}

body.theme-dark .modal-content {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 30px #ff0080cc, 0 0 10px #00ccff, 3px 3px 0 #000000;
    background: rgba(10, 12, 24, 0.95);
}

.modal-content h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border-radius: 0px;
    font-size: 16px;
    margin-bottom: 16px;
    background: var(--bg);
    color: var(--text-primary);
}

body.theme-light .modal-content input {
    border-style: inset;
    border-width: 2px;
    border-color: var(--border-dark) var(--border-light) var(--border-light) var(--border-dark);
}

body.theme-dark .modal-content input {
    border: 2px solid #00ccff;
    border-top: 2px solid #ff0080;
    border-left: 2px solid #ff0080;
    box-shadow: 0 0 10px #00ccff60 inset;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 0px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background: var(--bg);
    color: var(--text-primary);
}

body.theme-light .modal-buttons button {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .modal-buttons button {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 10px #ff008060;
    text-shadow: 0 0 4px #00ccff;
}

.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 8px;
}

/* ========== 归档页 ========== */
.archive-year {
    margin-top: 24px;
    margin-bottom: 16px;
}

.archive-year h2 {
    font-size: 22px;
    padding-bottom: 8px;
}

body.theme-light .archive-year h2 {
    border-bottom: 2px solid var(--border-dark);
}

body.theme-dark .archive-year h2 {
    text-shadow: 3px 3px 0 #000000c0, 0 0 15px #ff0080, 0 0 5px #00ccff;
    border-bottom: 3px solid #ff0080;
    display: inline-block;
}

.archive-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-dark, var(--border-glow));
    cursor: pointer;
}

.archive-date {
    width: 80px;
    color: var(--text-secondary);
    font-size: 14px;
}

.archive-title {
    flex: 1;
    color: var(--text-primary);
}

/* ========== 分类页 ========== */
.taxonomy-section {
    margin-bottom: 32px;
}

.taxonomy-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.taxonomy-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* 电脑端双栏 */
@media (min-width: 769px) {
    .taxonomy-list {
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
}

.taxonomy-parent {
    padding: 4px 0;
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.6;
}

.taxonomy-child {
    padding: 2px 0 2px 20px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.6;
}

.taxonomy-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
}

.tag-item {
    cursor: pointer;
    padding: 6px 14px;
    font-weight: bold;
    font-size: 13px;
    border-radius: 4px;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

body.theme-light .tag-item {
    background: var(--card-bg);
    color: var(--text-primary);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    box-shadow: var(--shadow-outset);
}

body.theme-dark .tag-item {
    background: #0a0a1e;
    color: #ffffff;
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 10px #ff008060;
    text-shadow: 0 0 5px #00ccff;
}

body.theme-ink .tag-item {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

/* ========== 专栏页 ========== */
.columns-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.column-item {
    padding: 16px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: bold;
}

body.theme-light .column-item {
    background: var(--card-bg);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .column-item {
    background: rgba(10, 12, 24, 0.8);
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 10px #ff008060;
    text-shadow: 0 0 4px #00ccff;
}

/* ========== 分页器 ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.page-btn,
.page-num {
    padding: 8px 14px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

body.theme-light .page-btn,
body.theme-light .page-num {
    background: var(--card-bg);
    color: var(--text-primary);
    border-style: outset;
    border-width: 1px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .page-btn,
body.theme-dark .page-num {
    background: #0a0a1e;
    color: #ffffff;
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    text-shadow: 0 0 5px #00ccff;
}

body.theme-light .page-num.active {
    background: var(--accent);
    color: #f0e8dc;
    border-style: inset;
}

body.theme-dark .page-num.active {
    background: linear-gradient(180deg, #ff0080 0%, #cc0066 100%);
    text-shadow: 0 0 12px #ffffff, 0 0 8px #ff0080;
    border-color: #00ccff;
    box-shadow: 0 0 20px #ff0080, 0 0 8px #00ccff, 2px 2px 0 #000000;
}

.page-btn.disabled,
.page-num.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    padding: 8px 4px;
    color: var(--text-secondary);
}

/* ========== Wiki FAB ========== */
.wiki-fab {
    position: relative;
    bottom: auto;
    right: auto;
}

/* ========== Wiki 侧边栏底部 ========== */
.sidebar-footer {
    padding: 16px;
    border-top: 2px solid var(--border-dark, var(--border-glow));
}

.wiki-home-link {
    padding: 12px 16px;
    border-radius: 0px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

body.theme-light .wiki-home-link {
    background: var(--bg);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .wiki-home-link {
    background: #0a0a1e;
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    text-shadow: 0 0 6px #00ccff;
    box-shadow: 0 0 10px #ff008060;
}

/* ========== Wiki 首页 ========== */
.wiki-home {
    padding: 0 16px;
}

.wiki-project-card {
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 0px;
}

body.theme-light .wiki-project-card {
    background: var(--card-bg);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .wiki-project-card {
    background: rgba(10, 12, 24, 0.8);
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 20px #ff0080cc, 0 0 5px #00ccff, 3px 3px 0 #000000;
    backdrop-filter: blur(8px);
}

.wiki-project-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    cursor: pointer;
    user-select: none;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
    margin-bottom: 12px;
}

.wiki-volume-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 10px 12px;
    margin-left: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px dashed var(--border-dark, var(--border-glow));
}

.wiki-toggle {
    display: inline-block;
    width: 20px;
    font-size: 14px;
}

.wiki-article-count {
    font-size: 13px;
    font-weight: normal;
    margin-left: 4px;
    opacity: 0.8;
}

.wiki-project-content,
.wiki-volume-content {
    overflow: hidden;
}

.wiki-project-content.collapsed,
.wiki-volume-content.collapsed {
    display: none;
}

.wiki-article-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 32px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.wiki-article-list-root {
    margin-left: 32px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.wiki-article-item {
    padding: 10px 14px;
    border-radius: 0px;
    cursor: pointer;
    color: var(--text-primary);
}

body.theme-dark .wiki-article-item:hover {
    background: linear-gradient(90deg, #ff008040 0%, #00ccff20 100%);
    border-left: 3px solid #00ccff;
    text-shadow: 0 0 6px #00ccff;
}

/* ========== Wiki 文章页 ========== */
.wiki-article {
    padding: 0 16px;
}

.wiki-breadcrumb {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
    margin-bottom: 16px;
}

.wiki-breadcrumb-link {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.wiki-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 2px solid var(--border-dark, var(--border-glow));
}

.wiki-nav-btn {
    padding: 10px 16px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.theme-light .wiki-nav-btn {
    background: var(--card-bg);
    color: var(--text-primary);
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .wiki-nav-btn {
    background: #0a0a1e;
    color: #ffffff;
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    text-shadow: 0 0 5px #00ccff;
}

/* ========== Wiki 目录侧边栏 ========== */
#wikiTocSidebar .sidebar-content {
    padding: 8px;
}

.wiki-toc-project {
    margin-bottom: 8px;
}

.wiki-toc-project-header {
    padding: 10px 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0px;
    display: flex;
    align-items: center;
    gap: 4px;
}

body.theme-dark .wiki-toc-project-header {
    text-shadow: 0 0 5px #00ccff;
}

.wiki-toc-toggle {
    font-size: 12px;
    width: 16px;
    display: inline-block;
}

.wiki-toc-project-content {
    display: none;
    margin-left: 20px;
}

.wiki-toc-project-content.open {
    display: block;
}

.wiki-toc-volume {
    margin: 4px 0;
}

.wiki-toc-volume-header {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 0px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: bold;
}

.wiki-toc-volume-content {
    display: none;
    margin-left: 20px;
}

.wiki-toc-volume-content.open {
    display: block;
}

.wiki-toc-article {
    padding: 8px 12px 8px 32px;
    cursor: pointer;
    border-radius: 0px;
    font-size: 13px;
    color: var(--text-secondary);
}

body.theme-dark .wiki-toc-article:hover {
    background: linear-gradient(90deg, #ff008040 0%, #00ccff20 100%);
    border-left: 3px solid #00ccff;
}

body.theme-dark .wiki-toc-article.active {
    background: linear-gradient(90deg, #ff0080 0%, #cc0066 100%);
    color: #ffffff;
    text-shadow: 0 0 8px #ffffff;
}

/* ========== 密码提示 ========== */
.password-hint {
    background: var(--bg);
    padding: 10px 14px;
    border-radius: 0px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    display: none;
}

body.theme-light .password-hint {
    border-left: 4px solid var(--accent);
}

body.theme-dark .password-hint {
    border-left: 4px solid #ff0080;
    box-shadow: 0 0 10px #ff008060 inset;
}

/* ========== 短代码样式 ========== */

/* 原生 details 折叠块 */
details {
    margin: 20px 0;
    border-radius: 0px;
    overflow: hidden;
}

body.theme-light details {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    background: var(--card-bg);
}

body.theme-dark details {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 15px #ff008080, 2px 2px 0 #000000;
    background: rgba(10, 12, 24, 0.8);
    backdrop-filter: blur(8px);
}

summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    list-style: none;
}

body.theme-light summary {
    background: var(--bg);
    border-bottom: 1px solid var(--border-dark);
}

body.theme-dark summary {
    background: linear-gradient(180deg, #1a0a2e 0%, #0a0a1e 100%);
    border-bottom: 2px solid #00ccff;
    text-shadow: 0 0 8px #00ccff;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
    transition: transform 0.1s;
}

details[open] summary::before {
    content: '▼';
}

/* 提示框 */
.note {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    margin: 20px 0;
    border-radius: 0px;
}

body.theme-light .note {
    border-style: inset;
    border-width: 2px;
    border-left-width: 6px;
}

body.theme-dark .note {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 6px solid #00ccff;
    box-shadow: 0 0 15px #ff008080;
    background: rgba(10, 12, 24, 0.6);
    backdrop-filter: blur(8px);
}

.note-icon {
    font-size: 18px;
    line-height: 1;
}

.note-content {
    flex: 1;
}

.note-default { border-left-color: #888; }
.note-primary { border-left-color: #3498db; }
.note-success { border-left-color: #2ecc71; }
.note-warning { border-left-color: #f1c40f; }
.note-danger { border-left-color: #e74c3c; }
.note-tip { border-left-color: #9b59b6; }

/* 标签 */
.label {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 2px;
    border-radius: 0px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

body.theme-light .label {
    border-style: outset;
    border-width: 1px;
}

body.theme-dark .label {
    border: 1px solid #00ccff;
    box-shadow: 0 0 8px #ff0080;
    text-shadow: 0 0 4px #ffffff;
}

.label-default { background: #888; color: #fff; }
.label-primary { background: #3498db; color: #fff; }
.label-success { background: #2ecc71; color: #fff; }
.label-warning { background: #f1c40f; color: #333; }
.label-danger { background: #e74c3c; color: #fff; }
.label-info { background: #1abc9c; color: #fff; }

/* 按钮 */
.button {
    display: inline-block;
    padding: 8px 18px;
    margin: 4px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

body.theme-light .button {
    border-style: outset;
    border-width: 2px;
}

body.theme-dark .button {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 10px #ff008080;
    text-shadow: 0 0 5px #00ccff;
}

.button-default { background: var(--bg); color: var(--text-primary); }
.button-primary { background: #3498db; color: #fff; }
.button-success { background: #2ecc71; color: #fff; }
.button-warning { background: #f1c40f; color: #333; }
.button-danger { background: #e74c3c; color: #fff; }

/* 进度条 */
.progress {
    height: 24px;
    margin: 16px 0;
    border-radius: 0px;
    overflow: hidden;
}

body.theme-light .progress {
    background: var(--bg);
    border-style: inset;
    border-width: 2px;
}

body.theme-dark .progress {
    background: #0a0a1e;
    border: 2px solid #00ccff;
    box-shadow: 0 0 10px #00ccff60 inset;
}

.progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.progress-primary { background: #3498db; }
.progress-success { background: #2ecc71; }
.progress-warning { background: #f1c40f; color: #333; }
.progress-danger { background: #e74c3c; }

/* 时间线 */
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-dark, var(--border-glow));
}

body.theme-dark .timeline::before {
    background: linear-gradient(180deg, #ff0080 0%, #00ccff 100%);
    box-shadow: 0 0 10px #ff0080;
}

.timeline-node {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 0px;
    background: var(--accent, #ff0080);
}

body.theme-dark .timeline-node::before {
    background: #ff0080;
    border: 2px solid #00ccff;
    box-shadow: 0 0 15px #ff0080;
}

.timeline-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline-content {
    color: var(--text-secondary);
}

/* 相册 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.gallery-item {
    border-radius: 0px;
    overflow: hidden;
}

body.theme-light .gallery-item {
    border-style: outset;
    border-width: 2px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-dark .gallery-item {
    border: 2px solid #ff0080;
    border-top: 2px solid #00ccff;
    border-left: 2px solid #00ccff;
    box-shadow: 0 0 15px #ff008080;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 引用块 */
.quote {
    margin: 20px 0;
    padding: 20px 24px;
    border-radius: 0px;
    font-style: italic;
}

body.theme-light .quote {
    background: var(--bg);
    border-left: 6px solid var(--accent);
    border-style: inset;
    border-width: 2px;
}

body.theme-dark .quote {
    background: rgba(10, 12, 24, 0.7);
    border: 2px solid #ff0080;
    border-left: 6px solid #00ccff;
    box-shadow: 0 0 20px #ff008080;
    backdrop-filter: blur(8px);
}

.quote footer {
    margin-top: 12px;
    font-style: normal;
    color: var(--text-secondary);
}

/* 标记 */
mark {
    padding: 2px 6px;
    border-radius: 0px;
}

.mark-yellow { background: #f1c40f; color: #333; }
.mark-green { background: #2ecc71; color: #fff; }
.mark-blue { background: #3498db; color: #fff; }
.mark-red { background: #e74c3c; color: #fff; }
.mark-purple { background: #9b59b6; color: #fff; }

/* 键盘按键 */
kbd {
    display: inline-block;
    padding: 3px 8px;
    margin: 0 2px;
    border-radius: 0px;
    font-family: monospace;
    font-size: 13px;
}

body.theme-light kbd {
    background: var(--bg);
    border-style: outset;
    border-width: 2px;
}

body.theme-dark kbd {
    background: #0a0a1e;
    border: 2px solid #00ccff;
    border-top: 2px solid #ff0080;
    box-shadow: 0 0 8px #00ccff;
    text-shadow: 0 0 4px #00ccff;
}

.kbd-plus {
    margin: 0 4px;
    color: var(--text-secondary);
}

/* 彩虹文字 */
.rainbow-text {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

/* 波浪文字 */
.wavy-text {
    text-decoration: underline wavy var(--link-color);
    text-underline-offset: 4px;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    #content {
        padding: 12px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .markdown-body {
        font-size: 15px;
    }
    
    .fab {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .fab-container {
        bottom: 16px;
        right: 16px;
    }
}

/* ========== 触摸优化 ========== */
button, .menu-item, .menu-subitem, .toc-item, .theme-option, .post-card, 
.taxonomy-parent, .taxonomy-child, .column-item, .tag-item, .wiki-article-item,
.wiki-nav-btn, .wiki-home-link {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark, var(--border-glow));
    border-radius: 0px;
}

body.theme-dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff0080 0%, #00ccff 100%);
    box-shadow: 0 0 10px #ff0080;
}

/* ========== FAB 并排布局 ========== */
.fab-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.fab-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.small-fab {
    /* 继承 .fab 的尺寸，不需要额外设置 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .small-fab {
    /* 继承 .fab 的尺寸，不需要额外设置 */
    }
}

/* ========== 标签页 ========== */
.tabs {
    margin: 20px 0;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.tab-header {
    padding: 8px 18px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0px;
    transition: none;
}

body.theme-light .tab-header {
    background: var(--bg);
    color: var(--text-secondary);
    border-style: outset;
    border-width: 1px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}

body.theme-light .tab-header.active {
    background: var(--card-bg);
    color: var(--text-primary);
    border-style: inset;
}

body.theme-dark .tab-header {
    background: #0a0a1e;
    color: var(--text-secondary);
    border: 1px solid #00ccff60;
    text-shadow: 0 0 4px #00ccff;
}

body.theme-dark .tab-header.active {
    background: linear-gradient(180deg, #1a0a2e 0%, #0a0a1e 100%);
    color: #00f3ff;
    border: 2px solid #ff00ff;
    border-top: 2px solid #00f3ff;
    border-left: 2px solid #00f3ff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
    text-shadow: 0 0 8px #00f3ff;
}

body.theme-ink .tab-header {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

body.theme-ink .tab-header.active {
    background: #000000;
    color: #ffffff;
}

.tab-content {
    display: none;
    padding: 16px 0;
}

.tab-content.active {
    display: block;
}

/* ========== 夜间模式·迷宫观测点 ========== */

/* 卡片 hover 效果 */
body.theme-dark .post-card:hover {
    border-color: rgba(255, 45, 120, 0.55);
    box-shadow:
        -4px -4px 0 -2px #04040a, -4px -4px 0 0 #ff2d78,
        4px -4px 0 -2px #04040a, 4px -4px 0 0 #d000ff,
        -4px 4px 0 -2px #04040a, -4px 4px 0 0 #d000ff,
        4px 4px 0 -2px #04040a, 4px 4px 0 0 #00e5ff,
        0 0 32px rgba(255, 45, 120, 0.18), 0 0 65px rgba(208, 0, 255, 0.08), 0 0 100px rgba(0, 229, 255, 0.05);
    background: rgba(14, 14, 28, 0.88);
    transform: translateY(-1px);
}

/* 侧边栏 */
body.theme-dark .sidebar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    background: rgba(5, 5, 10, 0.95);
    border-left: 4px solid #00e5ff;
    border-right: 1px solid rgba(208, 0, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 45, 120, 0.12), 0 0 60px rgba(208, 0, 255, 0.06), 3px 3px 0 rgba(0, 0, 0, 0.9);
}

/* 菜单项 */
body.theme-dark .menu-item {
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
    border-left: 3px solid transparent;
}

body.theme-dark .menu-item:hover {
    background: rgba(255, 45, 120, 0.06);
    border-left: 3px solid #ff2d78;
    box-shadow: 0 0 16px rgba(255, 45, 120, 0.12);
    text-shadow: 0 0 8px #ff2d78;
}

/* 头部导航 */
body.theme-dark #header {
    border-bottom: 1px solid rgba(255, 45, 120, 0.25) !important;
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.08), 0 0 40px rgba(208, 0, 255, 0.04), 0 4px 0 rgba(0, 0, 0, 0.6) !important;
}

/* 标签页 */
body.theme-dark .tab-header.active {
    background: linear-gradient(180deg, #0a0a18 0%, #04040a 100%);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    text-shadow: 0 0 8px #00e5ff;
}

/* 按钮、标签等装饰 */
body.theme-dark .fab-item,
body.theme-dark .theme-option,
body.theme-dark .wiki-home-link {
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15) !important;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.5) !important;
}

/* 归档/专栏项等 */
body.theme-dark .archive-item,
body.theme-dark .column-item {
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

body.theme-dark .column-item:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.15);
}

/* 滚动条 */
body.theme-dark ::-webkit-scrollbar-thumb {
    background: rgba(106, 90, 205, 0.4);
    box-shadow: 0 0 8px rgba(106, 90, 205, 0.3);
}

/* ========== 夜间模式卡片信号条 ========== */
body.theme-dark .post-card .signal-bars {
    position: absolute;
    bottom: 16px;
    right: 20px;
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 15px;
    opacity: 0.6;
}

body.theme-dark .post-card .signal-bar {
    width: 3px;
    background: #ff2d78;
    border-radius: 1px;
    box-shadow: 0 0 4px #ff2d78;
}

body.theme-dark .header-title {
    text-shadow: 0 0 10px #00e5ff, 0 0 25px #00e5ff, 0 0 5px #d000ff;
    color: #88ddff;
}

body.theme-dark .menu-toggle {
    text-shadow: 0 0 10px #d000ff;
}

body.theme-dark .post-card .signal-bar:nth-child(1) { height: 4px; }
body.theme-dark .post-card .signal-bar:nth-child(2) { height: 7px; }
body.theme-dark .post-card .signal-bar:nth-child(3) { height: 10px; }
body.theme-dark .post-card .signal-bar:nth-child(4) { height: 15px; }

/* 菜单栏图标链接 */
.menu-links-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border-dark, var(--border-glow));
}
.menu-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-dark, var(--border-glow));
    transition: 0.2s;
}
body.theme-dark .menu-link-icon {
    border-color: rgba(0,229,255,0.3);
    text-shadow: 0 0 6px rgba(0,229,255,0.5);
}
body.theme-dark .menu-link-icon:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0,229,255,0.25);
}
body.theme-light .menu-link-icon:hover,
body.theme-ink .menu-link-icon:hover {
    background: var(--bg);
    border-color: var(--accent);
}

/* ========================================== */
/* 主题：蓝调模式（凌晨·海边·克莱因蓝·欧风信封） */
/* 增强：侧面黎明金光 / 朝霞晚霞色彩（稳定版）   */
/* ========================================== */

body.theme-blue {
    /* ---- 核心色彩 ---- */
    --bg: #0a1628;
    --card-bg: rgba(14, 26, 48, 0.8);
    --text-primary: #c8d8f0;
    --text-secondary: #7a90b8;
    --border-glow: #2a5696;
    --border-glow2: #3a6aaa;
    --accent: #5a88c0;
    --accent-soft: #7aa8d8;
    --fab-bg: linear-gradient(180deg, #0f2244 0%, #0a1628 100%);
    --fab-color: #a0c8f0;
    --header-bg: rgba(10, 22, 40, 0.93);
    --sidebar-bg: rgba(10, 22, 40, 0.9);
    --shadow-glow: 0 0 40px rgba(30, 80, 160, 0.2), 0 0 80px rgba(20, 60, 120, 0.1);
    --link-color: #6699cc;
    --envelope-ink: #3a6aaa;
    --seal-wax: #8b4a6b;

    /* 霞光 / 黎明金粉色调 */
    --dawn-gold: #e8b86a;
    --dawn-rose: #e08a6e;
    --dawn-glow: #f0c080;

    /* ---- 基底 ---- */
    background-color: var(--bg);
    background-image:
        /* 信纸纤维纹理 */
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.006) 0px, rgba(255, 255, 255, 0.006) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.004) 0px, rgba(255, 255, 255, 0.004) 1px, transparent 1px, transparent 2px),
        /* 海风横向柔光 */
        linear-gradient(180deg, rgba(30, 70, 130, 0.1) 0%, transparent 28%, transparent 72%, rgba(10, 40, 80, 0.12) 100%),
        /* 深蓝光晕 */
        radial-gradient(ellipse at 20% 25%, rgba(40, 100, 180, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 60%, rgba(20, 60, 140, 0.1) 0%, transparent 55%),
        /* 侧面黎明金光 / 朝霞渐变（左右两侧） */
        linear-gradient(90deg, rgba(232, 184, 106, 0.08) 0%, rgba(232, 138, 110, 0.04) 15%, transparent 35%, transparent 65%, rgba(224, 138, 110, 0.04) 85%, rgba(232, 184, 106, 0.08) 100%),
        /* 右侧晚霞光晕（椭圆） */
        radial-gradient(ellipse at 95% 20%, rgba(224, 138, 110, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 75%, rgba(240, 192, 128, 0.08) 0%, transparent 55%);
    background-size: 100% 3px, 2px 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    color: var(--text-primary);
    font-family: 'Georgia', 'Palatino', 'Times New Roman', serif;
}

/* ---- 标题：加入暖色光晕 ---- */
body.theme-blue h1,
body.theme-blue h2,
body.theme-blue h3,
body.theme-blue h4,
body.theme-blue .post-title,
body.theme-blue .header-title {
    font-family: 'Georgia', 'Palatino', serif;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.04em;
    text-shadow: 
        0 0 30px rgba(80, 140, 220, 0.35), 
        0 0 60px rgba(40, 100, 180, 0.15),
        1px 0 0 rgba(232, 184, 106, 0.2);
    color: #d8e8f8 !important;
    text-transform: none;
}

body.theme-blue .post-title {
    display: inline-block;
    border-left: 3px solid var(--envelope-ink);
    padding-left: 18px;
    box-shadow: none;
    position: relative;
}
/* 标题右侧落霞点缀 */
body.theme-blue .post-title::after {
    content: "";
    position: absolute;
    right: -24px;
    top: 2px;
    width: 28px;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(232, 184, 106, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

body.theme-blue a {
    color: var(--link-color);
    text-shadow: 0 0 4px rgba(80, 140, 220, 0.3);
    transition: text-shadow 0.2s;
}
body.theme-blue a:hover {
    text-shadow: 0 0 8px rgba(232, 184, 106, 0.5), 0 0 4px #6699cc;
}

body.theme-blue button {
    font-family: 'Georgia', 'Palatino', serif;
}

/* ---- 头部：融入金色底边 ---- */
body.theme-blue #header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 184, 106, 0.4);
    box-shadow: 0 0 40px rgba(30, 80, 160, 0.15), 0 4px 0 rgba(232, 138, 110, 0.2);
}

body.theme-blue .header-title {
    color: #b0d0f0 !important;
    text-shadow: 0 0 20px rgba(80, 140, 220, 0.45), 0 0 10px rgba(232, 184, 106, 0.3);
    letter-spacing: 3px;
    font-style: italic;
}

body.theme-blue .menu-toggle {
    text-shadow: 0 0 8px rgba(80, 140, 220, 0.4);
}

/* ---- 文章卡片：信封风格 + 霞光边缘 ---- */
body.theme-blue .post-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(14, 26, 48, 0.72);
    border: 1px solid rgba(40, 90, 160, 0.3);
    border-left: 3px solid var(--envelope-ink);
    margin: 8px 4px 14px 4px;
    position: relative;
    overflow: visible;
    box-shadow:
        -3px -3px 0 -1px #0a1628, -3px -3px 0 0 var(--envelope-ink),
        3px -3px 0 -1px #0a1628, 3px -3px 0 0 var(--envelope-ink),
        -3px 3px 0 -1px #0a1628, -3px 3px 0 0 var(--envelope-ink),
        3px 3px 0 -1px #0a1628, 3px 3px 0 0 var(--envelope-ink),
        6px 0 20px rgba(232, 184, 106, 0.12),   /* 右侧金色光晕 */
        -6px 0 20px rgba(80, 140, 220, 0.08),
        0 0 35px rgba(30, 80, 160, 0.12);
    clip-path: polygon(0% 0%, 100% 0%, 100% 94%, 97% 100%, 0% 100%);
    transition: all 0.35s ease;
}

/* 火漆印章 */
body.theme-blue .post-card::after {
    content: '⚓';
    position: absolute;
    bottom: 10px;
    right: 16px;
    font-size: 14px;
    color: var(--seal-wax);
    opacity: 0.5;
    pointer-events: none;
    text-shadow: 0 0 6px var(--seal-wax);
}

/* 顶部线性光：蓝金渐变 */
body.theme-blue .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #5588bb, var(--dawn-gold), #e08a6e, transparent);
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
}

body.theme-blue .post-card:hover {
    border-color: rgba(50, 110, 180, 0.55);
    box-shadow:
        -3px -3px 0 -1px #0a1628, -3px -3px 0 0 var(--envelope-ink),
        3px -3px 0 -1px #0a1628, 3px -3px 0 0 var(--envelope-ink),
        -3px 3px 0 -1px #0a1628, -3px 3px 0 0 var(--envelope-ink),
        3px 3px 0 -1px #0a1628, 3px 3px 0 0 var(--envelope-ink),
        8px 0 28px rgba(232, 184, 106, 0.2),
        0 0 50px rgba(30, 80, 160, 0.22);
    background: rgba(16, 30, 54, 0.8);
    transform: translateY(-1px);
}

body.theme-blue .post-excerpt {
    text-shadow: 0 0 2px rgba(80, 140, 220, 0.15);
    font-style: italic;
    color: #a0b8d8;
}

body.theme-blue .post-top {
    background: var(--envelope-ink);
    color: #d0e0f8;
    border: 1px solid #5588bb;
    box-shadow: 0 0 8px rgba(50, 100, 170, 0.4);
    font-style: italic;
    font-size: 10px;
    letter-spacing: 0.05em;
}

/* ---- 侧边栏：通过背景渐变增加霞光，不使用伪元素干扰点击 ---- */
body.theme-blue .sidebar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(10, 22, 40, 0.9);
    border-left: 3px solid var(--envelope-ink);
    border-right: 1px solid rgba(40, 90, 160, 0.2);
    box-shadow: 0 0 40px rgba(30, 80, 160, 0.15), 3px 3px 0 rgba(0, 0, 0, 0.7);
    /* 增加两侧暖色光晕背景（不影响点击） */
    background-image: 
        linear-gradient(90deg, rgba(232, 184, 106, 0.1) 0%, transparent 12%),
        linear-gradient(270deg, rgba(224, 138, 110, 0.12) 0%, transparent 12%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

body.theme-blue .menu-item {
    text-shadow: 0 0 6px rgba(80, 140, 220, 0.2);
    border-left: 3px solid transparent;
    font-style: italic;
    transition: all 0.2s;
}

body.theme-blue .menu-item:hover {
    background: rgba(40, 100, 180, 0.07);
    border-left: 3px solid var(--dawn-gold);
    box-shadow: 0 0 20px rgba(30, 80, 160, 0.18), inset 3px 0 8px rgba(232, 184, 106, 0.1);
    text-shadow: 0 0 10px rgba(80, 140, 220, 0.4), 0 0 6px rgba(232, 184, 106, 0.3);
}

/* ---- FAB 增加暖色点缀 ---- */
body.theme-blue .fab {
    background: linear-gradient(180deg, #0f2244 0%, #0a1628 100%);
    color: #a0c8f0;
    border: 1px solid rgba(50, 100, 170, 0.5);
    box-shadow: 0 0 20px rgba(30, 80, 160, 0.2), 0 0 40px rgba(20, 60, 120, 0.08);
    text-shadow: 0 0 10px rgba(80, 140, 220, 0.5);
    transition: all 0.2s;
}
body.theme-blue .fab:hover {
    border-color: var(--dawn-gold);
    box-shadow: 0 0 30px rgba(232, 184, 106, 0.3), 0 0 20px rgba(30, 80, 160, 0.3);
    text-shadow: 0 0 12px #e8b86a;
    color: #ffe0b0;
}

body.theme-blue .fab-item {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 184, 106, 0.4);
    border-left: 3px solid var(--dawn-gold);
    transition: all 0.2s;
}
body.theme-blue .fab-item:hover {
    background: rgba(232, 184, 106, 0.15);
    border-color: #e8b86a;
}

/* ---- 文章页内部：背景网格增加暖色 ---- */
body.theme-blue .markdown-body {
    background-image:
        linear-gradient(rgba(40, 90, 160, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 90, 160, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 184, 106, 0.05) 0%, transparent 10%) !important;
    background-size: 20px 20px, 20px 20px, 100% 100%;
    font-family: 'Georgia', 'Palatino', serif;
}

body.theme-blue .markdown-body h2 {
    border-left: 3px solid var(--envelope-ink) !important;
    text-shadow: 0 0 15px rgba(50, 100, 170, 0.35), 0 0 8px rgba(232, 184, 106, 0.2);
    position: relative;
}
body.theme-blue .markdown-body h2::after {
    content: "☀️";
    font-size: 1.2rem;
    position: absolute;
    right: -28px;
    top: 0;
    opacity: 0.5;
    pointer-events: none;
}

body.theme-blue .markdown-body h3::before,
body.theme-blue .markdown-body h4::before {
    color: var(--envelope-ink);
}

/* ---- 分页器 融入暖色 ---- */
body.theme-blue .pagination .page-btn,
body.theme-blue .pagination .page-num {
    background: rgba(14, 26, 48, 0.7);
    color: #b0d0f0;
    border: 1px solid rgba(50, 100, 170, 0.45);
    font-family: 'Georgia', serif;
    font-style: italic;
    box-shadow: 0 0 8px rgba(30, 80, 160, 0.15);
    transition: all 0.2s;
}

body.theme-blue .pagination .page-btn:hover,
body.theme-blue .pagination .page-num:hover {
    border-color: var(--dawn-gold);
    box-shadow: 0 0 14px rgba(232, 184, 106, 0.3), 0 0 8px rgba(40, 90, 160, 0.2);
    background: rgba(232, 184, 106, 0.1);
    color: #ffe0c0;
}

body.theme-blue .pagination .page-num.active {
    background: var(--envelope-ink);
    color: #e8f0f8;
    border-color: var(--dawn-gold);
    box-shadow: 0 0 16px rgba(40, 90, 160, 0.4), 0 0 30px rgba(232, 184, 106, 0.3);
}

/* ---- 标签 ---- */
body.theme-blue .tag-item {
    background: rgba(14, 26, 48, 0.7);
    color: #b0d0f0;
    border: 1px solid rgba(50, 100, 170, 0.5);
    box-shadow: 0 0 8px rgba(30, 80, 160, 0.2);
    font-style: italic;
    transition: all 0.2s;
}
body.theme-blue .tag-item:hover {
    border-color: var(--dawn-gold);
    box-shadow: 0 0 12px rgba(232, 184, 106, 0.3);
    background: rgba(232, 184, 106, 0.1);
}

body.theme-blue .column-item {
    background: rgba(14, 26, 48, 0.7);
    border: 1px solid rgba(40, 90, 160, 0.3);
    font-style: italic;
}

body.theme-blue .column-item:hover {
    border-color: rgba(50, 110, 180, 0.55);
    box-shadow: 0 0 20px rgba(30, 80, 160, 0.2), 4px 0 12px rgba(232, 184, 106, 0.1);
}

body.theme-blue .tab-header.active {
    background: linear-gradient(180deg, #0f2244 0%, #0a1628 100%);
    color: #b0d0f0;
    border: 1px solid rgba(50, 100, 170, 0.5);
    box-shadow: 0 0 12px rgba(30, 80, 160, 0.2);
    text-shadow: 0 0 8px rgba(80, 140, 220, 0.45);
}

/* ---- 图片：轻微暖色叠加 ---- */
body.theme-blue img {
    filter: brightness(0.88) saturate(0.75) sepia(0.1);
}

/* ---- 滚动条 ---- */
body.theme-blue ::-webkit-scrollbar-thumb {
    background: rgba(40, 90, 160, 0.5);
    box-shadow: 0 0 10px rgba(30, 80, 160, 0.3);
}
body.theme-blue ::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 184, 106, 0.5);
}

/* ========================================== */
/* 蓝调模式增强 END（稳定版）                  */
/* ========================================== */

/* 夜间模式正文像素字体 */
body.theme-dark .post-excerpt,
body.theme-dark .markdown-body,
body.theme-dark .markdown-body p,
body.theme-dark .markdown-body li,
body.theme-dark .markdown-body td,
body.theme-dark .post-meta,
body.theme-dark .archive-item,
body.theme-dark .archive-date,
body.theme-dark .archive-title,
body.theme-dark .taxonomy-parent,
body.theme-dark .taxonomy-child,
body.theme-dark .tag-item,
body.theme-dark .column-item,
body.theme-dark .wiki-article-item,
body.theme-dark .wiki-breadcrumb,
body.theme-dark .wiki-nav-btn,
body.theme-dark .menu-item,
body.theme-dark .menu-subitem,
body.theme-dark .toc-item,
body.theme-dark .fab-item,
body.theme-dark .theme-option,
body.theme-dark .wiki-home-link,
body.theme-dark .page-btn,
body.theme-dark .page-num,
body.theme-dark .tab-header,
body.theme-dark .note,
body.theme-dark .label,
body.theme-dark .button,
body.theme-dark .quote {
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace !important;
}

/* ========================================== */
/* 主题：粉黑风格（手帐堆叠·粉主黑辅·虚线版） */
/* ========================================== */

body.theme-pinkblack {
    /* ---- 核心色彩 ---- */
    --bg: #fef5f8;
    --card-bg: #ffffff;
    --text-primary: #2d1a24;
    --text-secondary: #7a5a6a;
    --border-glow: #f0c8d8;
    --border-glow2: #f8d8e4;
    --accent: #e84393;
    --accent-soft: #fca5c2;
    --accent-blue: #b8e0f0;
    --accent-purple: #d4c8e8;
    --fab-bg: #2d1a24;
    --fab-color: #ffffff;
    --header-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --shadow-glow: none;
    --link-color: #e84393;
    --envelope-ink: #e84393;
    --seal-wax: #2d1a24;

    /* ---- 基底 ---- */
    background-color: var(--bg);
    background-image:
        /* 粉色圆点 */
        radial-gradient(circle at 10% 15%, rgba(232, 67, 147, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 25% 35%, rgba(252, 165, 194, 0.04) 1.5px, transparent 1.5px),
        radial-gradient(circle at 45% 20%, rgba(232, 67, 147, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 65% 50%, rgba(252, 165, 194, 0.05) 2px, transparent 2px),
        /* 水蓝圆点 */
        radial-gradient(circle at 80% 30%, rgba(184, 224, 240, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 12% 62%, rgba(184, 224, 240, 0.04) 1.5px, transparent 1.5px),
        /* 浅紫圆点 */
        radial-gradient(circle at 55% 68%, rgba(212, 200, 232, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 72% 78%, rgba(212, 200, 232, 0.04) 1px, transparent 1px),
        /* 竖直虚线（缝线感） */
        repeating-linear-gradient(90deg, rgba(232, 67, 147, 0.03) 0px, rgba(232, 67, 147, 0.03) 2px, transparent 2px, transparent 8px),
        /* 横虚线 */
        repeating-linear-gradient(0deg, rgba(232, 67, 147, 0.02) 0px, rgba(232, 67, 147, 0.02) 2px, transparent 2px, transparent 10px);
    background-size: 
        65px 65px, 85px 85px, 70px 70px, 90px 90px, 60px 60px, 75px 75px, 80px 80px, 70px 70px,
        8px 8px,
        100% 10px;
    color: var(--text-primary);
    font-family: 'Georgia', 'Times New Roman', 'Hiragino Mincho Pro', 'Noto Serif SC', serif;
}

/* ---- 标题 ---- */
body.theme-pinkblack h1,
body.theme-pinkblack h2,
body.theme-pinkblack h3,
body.theme-pinkblack h4,
body.theme-pinkblack .post-title,
body.theme-pinkblack .header-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
    text-shadow: none;
    color: var(--text-primary) !important;
    text-transform: none;
}

body.theme-pinkblack .post-title {
    display: inline-block;
    border-left: 4px dotted var(--accent);
    padding-left: 14px;
    box-shadow: none;
    font-size: 21px;
}

body.theme-pinkblack a {
    color: var(--link-color);
    text-decoration: underline wavy var(--accent-soft);
    text-underline-offset: 4px;
    text-shadow: none;
}

body.theme-pinkblack button {
    font-family: 'Georgia', serif;
    font-style: normal;
}

/* ---- 头部 ---- */
body.theme-pinkblack #header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 2px dotted var(--accent-soft);
    box-shadow: 0 2px 8px rgba(180, 80, 120, 0.06);
    background: var(--header-bg);
}

body.theme-pinkblack .header-title {
    color: var(--text-primary) !important;
    text-shadow: none;
    letter-spacing: 1px;
    font-style: normal;
    font-size: 17px;
    font-weight: 700;
}

body.theme-pinkblack .menu-toggle {
    text-shadow: none;
    color: var(--text-primary);
}

/* ---- 文章卡片 ---- */
body.theme-pinkblack .post-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--card-bg);
    border: 2px dotted var(--border-glow);
    border-radius: 2px;
    margin: 10px 0 20px 0;
    position: relative;
    overflow: visible;
    box-shadow:
        4px 4px 0 0 #ffe8f0,
        8px 8px 0 0 #e0f0f8,
        12px 12px 0 0 #f0e8f8,
        0 2px 8px rgba(180, 100, 130, 0.08);
    clip-path: none;
    transition: all 0.25s ease;
}

/* 顶部胶带 */
body.theme-pinkblack .post-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 40px;
    width: 70px;
    height: 22px;
    background: var(--accent-soft);
    border-radius: 2px;
    border: 1px dashed rgba(255,255,255,0.6);
    transform: rotate(-2deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    pointer-events: none;
    z-index: 2;
}

/* 右下角爱心 */
body.theme-pinkblack .post-card::after {
    content: '💗';
    position: absolute;
    bottom: -8px;
    right: -6px;
    font-size: 16px;
    opacity: 0.8;
    pointer-events: none;
    transform: rotate(5deg);
    z-index: 2;
}

body.theme-pinkblack .post-card:hover {
    border-color: var(--accent);
    border-style: dashed;
    box-shadow:
        4px 4px 0 0 #ffd8e8,
        8px 8px 0 0 #d0e8f4,
        12px 12px 0 0 #e8dcf4,
        0 4px 16px rgba(200, 80, 130, 0.12);
    background: #fff;
    transform: translateY(-2px);
}

body.theme-pinkblack .post-excerpt {
    text-shadow: none;
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
}

body.theme-pinkblack .post-top {
    background: var(--accent);
    color: #ffffff;
    border: 1px dashed var(--accent-soft);
    border-radius: 10px;
    box-shadow: none;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 3px 10px;
}

body.theme-pinkblack .post-lock {
    color: var(--accent);
    text-shadow: none;
}

/* ---- 侧边栏 ---- */
body.theme-pinkblack .sidebar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--sidebar-bg);
    border-left: 3px dotted var(--accent-soft);
    border-right: 2px dotted var(--accent-blue);
    box-shadow: -2px 0 8px rgba(180, 100, 130, 0.04);
    clip-path: none;
}

body.theme-pinkblack .sidebar-header {
    border-bottom: 2px dotted var(--border-glow);
}

body.theme-pinkblack .menu-item {
    text-shadow: none;
    border-left: none;
    font-style: normal;
    border-radius: 4px;
    margin: 3px 0;
    padding: 10px 14px;
    color: var(--text-primary);
    border-bottom: 1px dotted var(--border-glow);
}

body.theme-pinkblack .menu-item:hover {
    background: #fff0f5;
    border-left: 3px dotted var(--accent);
    border-bottom: 1px dotted var(--accent);
    box-shadow: none;
    text-shadow: none;
}

body.theme-pinkblack .menu-subitem {
    border-bottom: 1px dotted rgba(232, 67, 147, 0.1);
}

body.theme-pinkblack .menu-subitem::before {
    color: var(--accent);
}

/* 菜单链接图标 */
body.theme-pinkblack .menu-link-icon {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px dashed var(--border-glow);
}

body.theme-pinkblack .menu-link-icon:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    border-style: dotted;
}

/* ---- FAB ---- */
body.theme-pinkblack .fab {
    background: var(--fab-bg);
    color: var(--fab-color);
    border: 2px dotted var(--accent-soft);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    text-shadow: none;
    clip-path: none;
    border-radius: 50%;
}

body.theme-pinkblack .fab:hover {
    background: #3d2a34;
    border-style: dashed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.theme-pinkblack .fab::after {
    display: none;
}

/* ---- 文章页内部 ---- */
body.theme-pinkblack .markdown-body {
    background-image:
        /* 左侧竖虚线 */
        repeating-linear-gradient(90deg, rgba(232, 67, 147, 0.04) 0px, rgba(232, 67, 147, 0.04) 2px, transparent 2px, transparent 6px) !important;
    background-size: 6px 100% !important;
    background-position: left center !important;
    background-repeat: repeat-y !important;
    background-color: transparent !important;
    font-family: 'Georgia', serif;
}

body.theme-pinkblack .markdown-body h2 {
    border-left: none !important;
    border-bottom: 3px dotted var(--accent-soft);
    padding-bottom: 6px;
    text-shadow: none;
    display: inline-block;
    color: var(--text-primary) !important;
}

body.theme-pinkblack .markdown-body h3::before,
body.theme-pinkblack .markdown-body h4::before {
    color: var(--accent);
    content: "♡ ";
}

/* ---- 分页器 ---- */
body.theme-pinkblack .pagination .page-btn,
body.theme-pinkblack .pagination .page-num {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px dashed var(--border-glow);
    font-family: 'Georgia', serif;
    font-style: normal;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(180, 100, 130, 0.06);
}

body.theme-pinkblack .pagination .page-btn:hover,
body.theme-pinkblack .pagination .page-num:hover {
    border-color: var(--accent);
    border-style: dotted;
    background: #fff5f8;
    box-shadow: 0 2px 8px rgba(200, 80, 130, 0.1);
}

body.theme-pinkblack .pagination .page-num.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    border-style: dashed;
    box-shadow: 0 2px 8px rgba(200, 80, 130, 0.2);
}

/* ---- 标签 ---- */
body.theme-pinkblack .tag-item {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px dashed var(--border-glow);
    box-shadow: none;
    border-radius: 20px;
    font-style: normal;
    font-size: 12px;
    padding: 5px 14px;
}

body.theme-pinkblack .tag-item:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    border-style: dotted;
}

body.theme-pinkblack .column-item {
    background: var(--card-bg);
    border: 1px dashed var(--border-glow);
    font-style: normal;
    border-radius: 4px;
    color: var(--text-primary);
}

body.theme-pinkblack .column-item:hover {
    border-color: var(--accent);
    border-style: dotted;
    box-shadow: 0 2px 12px rgba(200, 80, 130, 0.08);
}

body.theme-pinkblack .tab-header.active {
    background: var(--accent);
    color: #ffffff;
    border: 1px dashed var(--accent-soft);
    box-shadow: none;
    text-shadow: none;
    border-radius: 4px;
}

/* ---- 图片 ---- */
body.theme-pinkblack img {
    filter: none;
    border-radius: 2px;
    border: 2px dotted var(--border-glow);
    padding: 4px;
}

/* ---- 滚动条 ---- */
body.theme-pinkblack ::-webkit-scrollbar-thumb {
    background: var(--border-glow);
    box-shadow: none;
    border-radius: 6px;
}

/* ---- 折叠块 ---- */
body.theme-pinkblack details {
    border: 1px dashed var(--border-glow);
    background: #ffffff;
}

body.theme-pinkblack summary {
    background: #fff5f8;
    border-bottom: 1px dotted var(--border-glow);
    font-style: normal;
}

/* ---- 提示框 ---- */
body.theme-pinkblack .note {
    border: 1px dashed var(--border-glow);
    background: #ffffff;
}

/* ---- 归档页 ---- */
body.theme-pinkblack .archive-year h2 {
    border-bottom: 2px dotted var(--accent-soft);
}

body.theme-pinkblack .archive-item {
    border-bottom: 1px dotted var(--border-glow);
}

/* ---- 信号条 ---- */
body.theme-pinkblack .signal-bars {
    display: none;
}

/* ========================================== */
/* 粉黑风格（虚线版） END */
/* ========================================== */

/* ========================================== */
/* 主题：池核·Aero（水下光泡·磨砂光泽·空灵） */
/* ========================================== */

body.theme-poolcore {
    /* ---- 核心色彩 ---- */
    --bg: #e7f3f7;
    --card-bg: rgba(255, 255, 255, 0.45);
    --text-primary: #2d4a55;
    --text-secondary: #5a7885;
    --border-glow: #b8dce8;
    --border-glow2: #cfe8f2;
    --accent: #4ea8c8;
    --accent-soft: #8cd0e5;
    --accent-blue: #6fc8e0;
    --accent-green: #7ec8a0;
    --fab-bg: linear-gradient(135deg, #4ea8c8, #6fc8e0);
    --fab-color: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.6);
    --sidebar-bg: rgba(255, 255, 255, 0.5);
    --shadow-glow: 0 8px 30px rgba(100, 180, 210, 0.2);
    --link-color: #3a8aa0;
    --aero-glass: rgba(255, 255, 255, 0.55);
    --aero-glow: rgba(200, 240, 255, 0.5);

    /* ---- 基底：瓷砖 + 光纹 + 气泡 ---- */
    background-color: var(--bg);
    background-image:
        /* 瓷砖线 */
        repeating-linear-gradient(0deg, rgba(160, 210, 225, 0.25) 0px, rgba(160, 210, 225, 0.25) 1px, transparent 1px, transparent 70px),
        repeating-linear-gradient(90deg, rgba(160, 210, 225, 0.25) 0px, rgba(160, 210, 225, 0.25) 1px, transparent 1px, transparent 90px),
        /* Aero 自然光纹（模拟水下光线折射） */
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.4) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(-20deg, rgba(120, 200, 220, 0.15) 0px, rgba(120, 200, 220, 0.15) 1px, transparent 1px, transparent 7px),
        /* 水泡（不同大小） */
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 25% 45%, rgba(255, 255, 255, 0.6) 2px, transparent 3px),
        radial-gradient(circle at 35% 15%, rgba(200, 240, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.5) 3px, transparent 4px),
        radial-gradient(circle at 75% 25%, rgba(180, 225, 240, 0.6) 2px, transparent 3px),
        radial-gradient(circle at 85% 45%, rgba(255, 255, 255, 0.55) 1px, transparent 2px),
        radial-gradient(circle at 10% 65%, rgba(200, 240, 255, 0.5) 2px, transparent 3px),
        radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.65) 3px, transparent 4px),
        /* 底部草绿光斑（Aero 自然气息） */
        radial-gradient(ellipse at 20% 80%, rgba(130, 200, 160, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 85%, rgba(110, 180, 140, 0.15) 0%, transparent 40%),
        /* 天空光晕 */
        radial-gradient(ellipse at 50% 0%, rgba(180, 225, 240, 0.35) 0%, transparent 60%);
    background-size:
        100% 70px, 90px 100%,
        8px 8px, 7px 7px,
        120px 120px, 110px 110px, 130px 130px, 100px 100px, 115px 115px, 125px 125px, 105px 105px, 95px 95px,
        100% 100%, 100% 100%, 100% 100%;
    background-position: center center;
    color: var(--text-primary);
    font-family: 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
}

/* ---- Aero 标题：柔和阴影 ---- */
body.theme-poolcore h1,
body.theme-poolcore h2,
body.theme-poolcore h3,
body.theme-poolcore h4,
body.theme-poolcore .post-title,
body.theme-poolcore .header-title {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-weight: 450;
    font-style: normal;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(140, 210, 230, 0.4);
    color: #234350 !important;
}

body.theme-poolcore .post-title {
    display: inline-block;
    border-left: 4px solid var(--accent);
    border-radius: 0 4px 4px 0;
    padding-left: 16px;
    box-shadow: 0 2px 10px rgba(78, 168, 200, 0.15);
}

body.theme-poolcore a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(78, 168, 200, 0.35);
    transition: all 0.2s;
}

body.theme-poolcore a:hover {
    border-bottom-color: var(--accent);
    color: #1e606e;
    text-shadow: 0 0 8px rgba(110, 200, 220, 0.4);
}

body.theme-poolcore button {
    font-family: 'Segoe UI', sans-serif;
    border-radius: 20px;
}

/* ---- 头部：毛玻璃+光泽 ---- */
body.theme-poolcore #header {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(200, 230, 240, 0.5);
    box-shadow: 0 4px 25px rgba(140, 200, 220, 0.2);
    background: var(--header-bg);
}

body.theme-poolcore .header-title {
    color: #2d5a68 !important;
    text-shadow: 0 1px 5px rgba(160, 225, 240, 0.4);
    letter-spacing: 2px;
    font-weight: 500;
}

body.theme-poolcore .menu-toggle {
    color: #3a6a78;
}

/* ---- 文章卡片：通透气泡感 ---- */
body.theme-poolcore .post-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--card-bg);
    border: 1px solid rgba(210, 235, 245, 0.5);
    border-radius: 16px;
    margin: 14px 0 22px 0;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(140, 200, 220, 0.15),
        0 10px 30px rgba(140, 200, 220, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(200, 230, 240, 0.4);
    transition: all 0.35s ease;
}

/* 顶部高光条 */
body.theme-poolcore .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), rgba(180, 230, 245, 0.6), transparent);
    border-radius: 0 0 10px 10px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
}

/* 气泡装饰 */
body.theme-poolcore .post-card::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 20px;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.8) 0%, rgba(200,240,255,0.3) 60%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(180, 225, 240, 0.4);
    pointer-events: none;
    z-index: 1;
}

body.theme-poolcore .post-card:hover {
    border-color: rgba(160, 215, 235, 0.7);
    box-shadow:
        0 6px 24px rgba(140, 200, 220, 0.25),
        0 14px 40px rgba(140, 200, 220, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(200, 230, 240, 0.6);
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

body.theme-poolcore .post-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
}

body.theme-poolcore .post-top {
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(78, 168, 200, 0.3);
    padding: 3px 12px;
    font-weight: 500;
}

body.theme-poolcore .post-lock {
    color: var(--accent);
}

/* ---- 侧边栏：毛玻璃+圆角 ---- */
body.theme-poolcore .sidebar {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: var(--sidebar-bg);
    border-left: 1px solid rgba(210, 235, 245, 0.5);
    border-right: none;
    box-shadow: -4px 0 20px rgba(140, 200, 220, 0.1);
    clip-path: none;
    border-radius: 0;
}

body.theme-poolcore .sidebar-header {
    border-bottom: 1px solid rgba(180, 215, 230, 0.4);
}

body.theme-poolcore .menu-item {
    border-radius: 8px;
    margin: 3px 0;
    padding: 10px 14px;
    color: var(--text-primary);
}

body.theme-poolcore .menu-item:hover {
    background: rgba(180, 220, 240, 0.25);
    border-left: 4px solid var(--accent);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

body.theme-poolcore .menu-link-icon {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(200, 225, 235, 0.5);
    border-radius: 50%;
    transition: all 0.2s;
}

body.theme-poolcore .menu-link-icon:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(78, 168, 200, 0.3);
}

/* ---- FAB：Aero 光泽按钮 ---- */
body.theme-poolcore .fab {
    background: var(--fab-bg);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 22px rgba(78, 168, 200, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s;
}

body.theme-poolcore .fab:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(78, 168, 200, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ---- 文章内页：水纹背景 ---- */
body.theme-poolcore .markdown-body {
    background-image:
        repeating-linear-gradient(0deg, rgba(160, 215, 230, 0.08) 0px, rgba(160, 215, 230, 0.08) 1px, transparent 1px, transparent 4px) !important;
    background-size: 100% 4px !important;
    font-family: 'Segoe UI', sans-serif;
}

body.theme-poolcore .markdown-body h2 {
    border-left: none !important;
    border-bottom: 2px solid rgba(140, 200, 220, 0.35);
    padding-bottom: 6px;
    text-shadow: 0 1px 5px rgba(140, 210, 230, 0.3);
    display: inline-block;
}

body.theme-poolcore .markdown-body h3::before {
    content: "◌ ";
    color: var(--accent-green);
}

body.theme-poolcore .markdown-body h4::before {
    content: "◦ ";
    color: var(--accent-blue);
}

/* ---- 分页器 ---- */
body.theme-poolcore .pagination .page-btn,
body.theme-poolcore .pagination .page-num {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(190, 220, 235, 0.4);
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(140, 200, 220, 0.1);
}

body.theme-poolcore .pagination .page-btn:hover,
body.theme-poolcore .pagination .page-num:hover {
    background: rgba(200, 230, 245, 0.5);
    border-color: var(--accent);
}

body.theme-poolcore .pagination .page-num.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ---- 标签 ---- */
body.theme-poolcore .tag-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(190, 220, 235, 0.4);
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(100, 160, 180, 0.1);
}

body.theme-poolcore .tag-item:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

body.theme-poolcore .column-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(190, 220, 235, 0.4);
    border-radius: 8px;
    color: var(--text-primary);
}

body.theme-poolcore .column-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(140, 200, 220, 0.15);
}

body.theme-poolcore .tab-header.active {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(78, 168, 200, 0.25);
}

/* ---- 图片 ---- */
body.theme-poolcore img {
    filter: brightness(1.02) saturate(0.9);
    border-radius: 8px;
    border: 1px solid rgba(200, 225, 235, 0.5);
    box-shadow: 0 4px 12px rgba(140, 200, 220, 0.15);
}

/* ---- 滚动条 ---- */
body.theme-poolcore ::-webkit-scrollbar-thumb {
    background: rgba(160, 210, 225, 0.5);
    border-radius: 10px;
}

body.theme-poolcore ::-webkit-scrollbar-track {
    background: var(--bg);
}

/* ---- 折叠块 ---- */
body.theme-poolcore details {
    border: 1px solid rgba(200, 225, 235, 0.5);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

body.theme-poolcore summary {
    background: rgba(180, 215, 230, 0.2);
    border-radius: 8px;
}

/* ---- 提示框 ---- */
body.theme-poolcore .note {
    border: 1px solid rgba(200, 225, 235, 0.5);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

/* ---- 归档页 ---- */
body.theme-poolcore .archive-year h2 {
    border-bottom: 1px solid rgba(180, 215, 230, 0.4);
}

body.theme-poolcore .archive-item {
    border-bottom: 1px solid rgba(200, 220, 235, 0.2);
    border-radius: 6px;
    transition: background 0.2s;
}

body.theme-poolcore .archive-item:hover {
    background: rgba(200, 230, 245, 0.2);
}

/* ---- 菜单分割 ---- */
body.theme-poolcore .menu-links-row {
    border-top: 1px solid rgba(180, 215, 230, 0.4);
}

/* ========================================== */
/* 【池核·Aero】模式 END */
/* ========================================== */

/* ========== 秘密归档页 ========== */
.secret-archive-year {
    margin-top: 24px;
    margin-bottom: 16px;
}

.secret-archive-year h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-dark, var(--border-glow));
}

body.theme-dark .secret-archive-year h2 {
    text-shadow: 3px 3px 0 #000000c0, 0 0 15px #ff0080, 0 0 5px #00ccff;
    border-bottom: 3px solid #ff0080;
    display: inline-block;
}

.secret-archive-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-dark, var(--border-glow));
    cursor: pointer;
    flex-wrap: wrap;
    gap: 6px;
}

.secret-archive-date {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    min-width: 80px;
}

.secret-archive-title {
    flex: 1;
    color: var(--text-primary);
    font-weight: bold;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.secret-archive-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.secret-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

body.theme-light .secret-tag {
    background: var(--card-bg);
    color: var(--text-primary);
    border-style: outset;
    border-width: 1px;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
}
body.theme-dark .secret-tag {
    background: #0a0a1e;
    color: #ffffff;
    border: 1px solid #00ccff;
    box-shadow: 0 0 6px #ff008060;
    text-shadow: 0 0 4px #00ccff;
}
body.theme-ink .secret-tag {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.secret-tag:hover {
    opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .secret-archive-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 0;
    }
    .secret-archive-tags {
        margin-left: 0;
    }
    .secret-archive-title {
        white-space: normal;
    }
}

/* ========================================== */
/* 主题：森林模式 · 绿植遍地（浅翠版）      */
/* ========================================== */

body.theme-forest {
    /* ---- 核心色彩：清新森林色调，比之前更浅亮一些 ---- */
    --bg: #123a20;                 /* 明亮的深绿基底 */
    --card-bg: rgba(25, 55, 35, 0.85);
    --text-primary: #f0fff0;
    --text-secondary: #cce0cc;
    --border-light: #3a7a4a;
    --border-dark: #2a5a3a;
    --accent: #7ad07a;             /* 更鲜亮的嫩芽绿 */
    --accent-soft: #a0e0a0;
    --accent-deep: #3a9a50;
    --accent-moss: #7a9a6a;
    --accent-sand: #d0f0b0;
    --fab-bg: linear-gradient(135deg, #2a6a3a, #0a3a1a);
    --fab-color: #d0ffc0;
    --header-bg: rgba(10, 30, 18, 0.88);
    --sidebar-bg: rgba(10, 30, 18, 0.92);
    --shadow-outset: 6px 6px 0 rgba(0, 0, 0, 0.2);
    --shadow-inset: inset 2px 2px 6px rgba(0,0,0,0.2), inset -1px -1px 4px rgba(80,120,60,0.2);
    --link-color: #a0e0a0;

    background-color: #0e2e1a;
    /* 拼接背景：藤蔓 + 叶片 + 光斑（色调更鲜亮） */
    background-image:
        /* 藤蔓 / 树枝纹理 */
        repeating-linear-gradient(100deg, rgba(80, 140, 80, 0.2) 0px, rgba(80, 140, 80, 0.2) 2px, transparent 2px, transparent 12px),
        repeating-linear-gradient(10deg, rgba(60, 120, 60, 0.15) 0px, rgba(60, 120, 60, 0.15) 1px, transparent 1px, transparent 8px),
        /* 叶片光斑（模拟阳光透射） */
        radial-gradient(circle at 12% 20%, rgba(120, 200, 100, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 85% 40%, rgba(140, 210, 100, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 40% 70%, rgba(100, 180, 80, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 85%, rgba(120, 200, 90, 0.1) 0%, transparent 38%),
        /* 细碎叶子形状（点阵） */
        radial-gradient(circle at 18% 45%, #5a9a5a 1.5px, transparent 2px),
        radial-gradient(circle at 33% 72%, #6aaa6a 2px, transparent 2.5px),
        radial-gradient(circle at 78% 22%, #4a8e4a 1.5px, transparent 2px),
        radial-gradient(circle at 92% 62%, #7aba7a 1.2px, transparent 1.8px),
        radial-gradient(circle at 55% 15%, #5aa85a 1.5px, transparent 2px),
        /* 阳光倾泻线条 */
        linear-gradient(120deg, rgba(200, 240, 150, 0.08) 0%, rgba(0, 0, 0, 0) 40%);
    background-size:
        18px 18px, 12px 12px,
        180px 180px, 200px 200px, 220px 220px, 190px 190px,
        120px 120px, 140px 140px, 110px 110px, 130px 130px, 100px 100px,
        100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    color: var(--text-primary);
    font-family: 'Segoe UI', 'Roboto', 'Quicksand', system-ui, sans-serif;
}

/* 标题：藤蔓缠绕 / 叶片光泽 */
body.theme-forest h1,
body.theme-forest h2,
body.theme-forest h3,
body.theme-forest h4,
body.theme-forest .post-title,
body.theme-forest .header-title {
    font-family: 'Quicksand', 'Segoe UI', 'Georgia', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 8px rgba(100, 200, 100, 0.3);
    color: #d0ffc0 !important;
}
body.theme-forest .post-title {
    border-left: 6px solid var(--accent);
    padding-left: 18px;
    background: linear-gradient(95deg, rgba(40, 80, 40, 0.5), transparent 70%);
    display: inline-block;
    width: fit-content;
    border-radius: 0 16px 16px 0;
}

/* 链接：蔓生藤须 */
body.theme-forest a {
    color: #a8e0a8;
    text-decoration: none;
    border-bottom: 1px dotted #6aaa6a;
    transition: 0.2s;
}
body.theme-forest a:hover {
    color: #d0ffc0;
    border-bottom-color: #a8ffa8;
    text-shadow: 0 0 6px #88e088;
}

/* 头部：苔藓覆盖感 */
body.theme-forest #header {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--accent-deep);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
body.theme-forest .header-title {
    background: rgba(30, 65, 35, 0.7);
    padding: 5px 22px;
    border-radius: 40px;
    box-shadow: inset 0 1px 2px rgba(160, 220, 120, 0.3), 0 2px 6px rgba(0,0,0,0.2);
    color: #dcffc0 !important;
}
body.theme-forest .menu-toggle {
    background: #1e442a;
    border-radius: 30px;
    padding: 6px 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    color: #c0ffa0;
}

/* 文章卡片：落叶/苔藓层叠 */
body.theme-forest .post-card {
    background: var(--card-bg);
    border: 1px solid rgba(100, 180, 100, 0.5);
    border-radius: 24px 8px 24px 8px;
    margin: 22px 0 30px;
    padding: 20px 24px 24px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(180, 230, 140, 0.25);
    position: relative;
    backdrop-filter: blur(4px);
    transition: 0.2s;
}
/* 左上角藤蔓装饰 */
body.theme-forest .post-card::before {
    content: "🌿🌱";
    position: absolute;
    top: -12px;
    left: 16px;
    font-size: 22px;
    opacity: 0.8;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
/* 右下角藤蔓装饰（替换信号条） */
body.theme-forest .post-card::after {
    content: "🍃🌿";
    position: absolute;
    bottom: -8px;
    right: 16px;
    font-size: 20px;
    opacity: 0.75;
    transform: rotate(0deg);
}
body.theme-forest .post-card:hover {
    transform: translateY(-4px);
    border-color: #8ae08a;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(180, 230, 140, 0.4);
    background: rgba(25, 65, 40, 0.9);
}
body.theme-forest .post-excerpt {
    color: #d8f0d0;
    background: rgba(10, 35, 20, 0.5);
    padding: 10px 14px;
    border-radius: 18px;
    border-left: 4px solid var(--accent-soft);
}
body.theme-forest .post-top {
    background: var(--accent-deep);
    color: #e0ffd0;
    border-radius: 30px;
    font-size: 11px;
    padding: 4px 16px;
    box-shadow: inset 0 -1px 0 #2a6a3a, 2px 2px 0 #0a2a12;
}
body.theme-forest .post-lock {
    background: #1e4a2a;
    padding: 3px 14px;
    border-radius: 30px;
    font-size: 12px;
    display: inline-block;
}

/* 隐藏原有的信号条，统一使用卡片装饰 */
body.theme-forest .signal-bars {
    display: none;
}

/* 侧边栏：树干质感 */
body.theme-forest .sidebar {
    background: var(--sidebar-bg);
    border-left: 3px solid var(--accent);
    border-right: 1px solid #2a5a3a;
    box-shadow: -8px 0 18px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}
body.theme-forest .sidebar-header {
    background: #1a3a22;
    margin: -16px -16px 0 -16px;
    padding: 16px;
    border-bottom: 2px solid var(--accent);
}
body.theme-forest .menu-item {
    background: rgba(30, 60, 35, 0.7);
    margin: 8px 0;
    border-radius: 0 30px 30px 0;
    border-left: 5px solid var(--accent-soft);
    font-weight: 600;
    color: #d0ffc0;
}
body.theme-forest .menu-item:hover {
    background: #2c5a38;
    border-left-width: 8px;
    border-left-color: var(--accent);
    transform: translateX(5px);
}
body.theme-forest .menu-subitem::before {
    content: "🌱";
    left: 20px;
    font-size: 12px;
}
body.theme-forest .menu-link-icon {
    background: #1e442a;
    border-radius: 50%;
    border: 1px solid #6aaa6a;
    transition: 0.15s;
    color: #c0ffb0;
}
body.theme-forest .menu-link-icon:hover {
    background: #6aaa6a;
    color: #0a2416;
    transform: scale(1.1) rotate(5deg);
}

/* FAB 绿石质感 */
body.theme-forest .fab {
    background: var(--fab-bg);
    border-radius: 16px 4px 16px 4px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(120, 180, 80, 0.4);
    color: #dcffc0;
}
body.theme-forest .fab:hover {
    background: linear-gradient(135deg, #2a6a3a, #0a3a1a);
    transform: translate(-2px, -2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}
body.theme-forest .fab-item {
    background: #1c462a;
    border: 1px solid var(--accent);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #d0ffc0;
}

/* 文章内页：叶片脉络背景 */
body.theme-forest .markdown-body {
    background-image: 
        repeating-linear-gradient(0deg, #2a553a 0px, #2a553a 1px, transparent 1px, transparent 36px),
        repeating-linear-gradient(90deg, #2a553a 0px, #2a553a 1px, transparent 1px, transparent 28px);
    background-size: 100% 36px, 28px 100%;
    background-color: transparent;
    font-family: 'Segoe UI', 'Quicksand', sans-serif;
    padding: 12px 18px;
    border-radius: 12px;
}
body.theme-forest .markdown-body h2 {
    border-left: 6px solid var(--accent);
    background: rgba(30, 70, 35, 0.6);
    display: inline-block;
    padding: 6px 20px 6px 20px;
    border-radius: 0 40px 40px 0;
    color: #e0ffd0;
}
body.theme-forest .markdown-body h3::before {
    content: "🌿 ";
    color: #a8e0a8;
}
body.theme-forest .markdown-body h4::before {
    content: "🍀 ";
    color: #90d090;
}
body.theme-forest .markdown-body blockquote {
    border-left: 5px solid #6aaa6a;
    background: rgba(20, 55, 30, 0.5);
    border-radius: 8px 24px 24px 8px;
    padding: 12px 20px;
}

/* 分页器：苔玉按钮 */
body.theme-forest .pagination .page-btn,
body.theme-forest .pagination .page-num {
    background: #1e442a;
    border: 1px solid #6aaa6a;
    border-radius: 40px;
    font-weight: bold;
    transition: 0.1s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #d0ffc0;
}
body.theme-forest .pagination .page-btn:hover,
body.theme-forest .pagination .page-num:hover {
    background: #3a7a4a;
    color: #ffffff;
    border-color: #a0e0a0;
    transform: translate(-1px, -1px);
}
body.theme-forest .pagination .page-num.active {
    background: var(--accent);
    color: #0a2416;
    border-color: #b0ffb0;
}

/* 标签 & 专栏 叶片标签 */
body.theme-forest .tag-item {
    background: #1e442a;
    border: 1px solid #6aaa6a;
    border-radius: 30px;
    padding: 6px 20px;
    box-shadow: inset 0 0 0 1px rgba(140, 200, 120, 0.2), 0 2px 6px rgba(0,0,0,0.2);
    color: #d0ffc0;
}
body.theme-forest .tag-item:hover {
    background: #4a9a5a;
    color: #0a2a12;
    border-color: #c0ffa0;
}
body.theme-forest .column-item {
    background: #1c4028;
    border-left: 8px solid var(--accent);
    border-radius: 0 28px 28px 0;
    margin: 12px 0;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #e0ffd0;
}

/* 选项卡（苔藓/树皮） */
body.theme-forest .tab-header {
    background: #1a4022;
    border-radius: 30px 30px 0 0;
    margin-right: 4px;
    font-weight: bold;
    color: #c8e8b0;
}
body.theme-forest .tab-header.active {
    background: var(--accent-deep);
    color: #daffc0;
    border-bottom: 2px solid #a0ffa0;
}
body.theme-forest .tabs-header {
    border-bottom: 2px solid #4a8a5a;
}

/* 归档页 森林年轮 */
body.theme-forest .archive-year h2 {
    background: rgba(30, 70, 40, 0.7);
    display: inline-block;
    padding: 6px 28px;
    border-radius: 40px;
    font-size: 1.4rem;
    border-left: none;
    box-shadow: inset 0 -1px 0 #6aaa6a, 0 4px 10px rgba(0,0,0,0.2);
}
body.theme-forest .archive-item {
    background: rgba(20, 55, 30, 0.6);
    margin: 8px 0;
    border-radius: 24px;
    padding: 10px 20px;
    border-bottom: none;
    transition: 0.1s;
}
body.theme-forest .archive-item:hover {
    background: #2a6840;
    transform: translateX(6px);
}

/* 时间线（藤蔓向上） */
body.theme-forest .timeline::before {
    background: repeating-linear-gradient(0deg, #6aaa6a, #2a6a3a);
}
body.theme-forest .timeline-node::before {
    background: #8bc48a;
    border: 2px solid #c0ffb0;
    width: 18px;
    height: 18px;
}

/* 相册 & 引用 & 提示框 绿植镶边 */
body.theme-forest .gallery-item {
    border: 2px solid #6aaa6a;
    border-radius: 20px;
    padding: 6px;
    background: rgba(30, 65, 35, 0.5);
}
body.theme-forest .quote {
    background: rgba(25, 65, 30, 0.7);
    border-left: 8px solid var(--accent);
    border-radius: 20px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}
body.theme-forest .note {
    border-left: 8px solid var(--accent-soft);
    background: rgba(20, 50, 28, 0.7);
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
body.theme-forest .note-icon {
    background: #2d6840;
    border-radius: 50%;
    padding: 6px;
}

/* 图片：藤蔓相框 */
body.theme-forest img {
    filter: brightness(1.02) contrast(1.05) saturate(1.1);
    border: 4px solid #4a8a5a;
    border-radius: 24px 8px 24px 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
}
body.theme-forest img:hover {
    transform: scale(1.01);
    border-color: #a0e0a0;
}

/* 滚动条：树干纹 */
body.theme-forest ::-webkit-scrollbar-thumb {
    background: repeating-linear-gradient(45deg, #5a9e5a, #5a9e5a 6px, #3e7e3e 6px, #3e7e3e 12px);
    border-radius: 12px;
}
body.theme-forest ::-webkit-scrollbar-track {
    background: #0e2e1a;
}

/* 秘密空间 & Wiki 绿意 */
body.theme-forest .secret-tag {
    background: #1e442a;
    border: 1px solid #6aaa6a;
    border-radius: 30px;
    color: #d0ffc0;
}
body.theme-forest .secret-archive-item {
    background: rgba(30, 70, 40, 0.7);
    margin-bottom: 8px;
    border-radius: 24px;
    padding: 10px 16px;
}
body.theme-forest .wiki-project-card,
body.theme-forest .wiki-home-link {
    background: rgba(20, 55, 30, 0.7);
    border: 1px solid #5a9a5a;
    border-radius: 28px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
body.theme-forest .wiki-article-item {
    background: rgba(25, 70, 35, 0.6);
    border-radius: 40px;
    margin: 6px 0;
    padding: 8px 18px;
}
body.theme-forest .wiki-article-item:hover {
    background: #3a784a;
    transform: translateX(6px);
}

/* 弹窗 & 输入框 苔藓石质感 */
body.theme-forest .modal-content {
    background: #0e2e1a;
    border: 2px solid #6aaa6a;
    border-radius: 32px;
    box-shadow: 0 15px 28px rgba(0, 0, 0, 0.4);
}
body.theme-forest .modal-content input {
    border-radius: 50px;
    background: #1c4028;
    border: 1px solid #6aaa6a;
    color: #e0ffd0;
}
body.theme-forest .modal-buttons button {
    border-radius: 40px;
    background: #2a6840;
    font-weight: bold;
    color: #e0ffd0;
}
body.theme-forest .modal-buttons button:hover {
    background: var(--accent);
    color: #0a2a12;
}
/* ========== 森林模式 · 绿植遍地 END ========== */

/* ========================================== */
/* 主题：DOS模式（黑色屏幕 · 粗粝像素）     */
/* ========================================== */

body.theme-dos {
    /* ---- 核心色彩：经典 CGA/EGA 绿/灰 ---- */
    --bg: #000000;
    --card-bg: #0a0a0a;
    --text-primary: #3bc43b;
    --text-secondary: #9bbb9b;
    --border-light: #1f4f1f;
    --border-dark: #0a2f0a;
    --accent: #3bc43b;
    --accent-soft: #6f9e6f;
    --fab-bg: #000000;
    --fab-color: #3bc43b;
    --header-bg: #000000;
    --sidebar-bg: #0a0a0a;
    --shadow-outset: 1px 1px 0 #1f4f1f;
    --shadow-inset: inset 1px 1px 0 #1f4f1f, inset -1px -1px 0 #0a2f0a;
    --link-color: #6f9e6f;

    background-color: #000000;
    /* 粗粝扫描线 + 微小的像素噪点 */
    background-image:
        repeating-linear-gradient(0deg, #0a1f0a 0px, #0a1f0a 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, #081408 0px, #081408 1px, transparent 1px, transparent 4px),
        radial-gradient(circle at 20% 30%, #1a3a1a 0.5px, transparent 0.5px);
    background-size: 100% 4px, 5px 100%, 40px 40px;
    color: #3bc43b;
    font-family: 'Courier New', 'Consolas', 'MS Sans Serif', monospace;
    font-size: 15px;
    line-height: 1.5;
    text-shadow: 0 0 1px #3bc43b;
}

/* ---- 所有元素强制像素感 ---- */
body.theme-dos * {
    font-family: 'Courier New', 'Consolas', monospace !important;
    border-radius: 0px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    letter-spacing: normal;
    font-weight: normal;
}

/* 标题：大写 + 下划线（像 DOS 菜单） */
body.theme-dos h1,
body.theme-dos h2,
body.theme-dos h3,
body.theme-dos h4,
body.theme-dos .post-title,
body.theme-dos .header-title {
    font-family: 'Courier New', monospace !important;
    font-weight: bold;
    text-transform: uppercase;
    color: #3bc43b !important;
    border-bottom: 1px solid #1f4f1f;
    letter-spacing: 1px;
    background: none;
    text-shadow: none;
}
body.theme-dos .post-title {
    border-left: 3px solid #3bc43b;
    padding-left: 12px;
    margin-left: 0;
    background: none;
}

/* 链接：下划线（无特效） */
body.theme-dos a {
    color: #6f9e6f;
    text-decoration: underline;
}
body.theme-dos a:hover {
    color: #9fdf9f;
    text-decoration: none;
    background: #1a3a1a;
}

/* 头部：纯黑 + 单线条 */
body.theme-dos #header {
    background: #000000;
    border-bottom: 2px solid #3bc43b;
    height: 48px;
    box-shadow: none;
    backdrop-filter: none;
}
body.theme-dos .header-title {
    font-size: 16px;
    letter-spacing: 2px;
    color: #3bc43b !important;
    background: none;
    padding: 0;
    border-radius: 0;
    text-transform: uppercase;
}
body.theme-dos .menu-toggle {
    background: none;
    border: 1px solid #3bc43b;
    color: #3bc43b;
    font-size: 20px;
    padding: 4px 10px;
}

/* 文章卡片：像素边框 + 无内边距圆角 */
body.theme-dos .post-card {
    background: #0a0a0a;
    border: 1px solid #3bc43b;
    margin: 16px 0;
    padding: 12px;
    box-shadow: 2px 2px 0 #1f4f1f;
    position: relative;
}
body.theme-dos .post-card::before,
body.theme-dos .post-card::after {
    display: none;
}
body.theme-dos .post-card:hover {
    border-color: #9fdf9f;
    box-shadow: 3px 3px 0 #2a5f2a;
    transform: translate(-1px, -1px);
}
body.theme-dos .post-excerpt {
    color: #9bbb9b;
    font-size: 13px;
    border-left: 2px solid #1f4f1f;
    padding-left: 8px;
    margin-top: 8px;
}
body.theme-dos .post-top {
    background: #1a3a1a;
    color: #9fdf9f;
    border: 1px solid #3bc43b;
    border-radius: 0;
    font-size: 10px;
    padding: 2px 8px;
    text-transform: uppercase;
}
body.theme-dos .post-lock {
    font-family: monospace;
    font-size: 11px;
    color: #9bbb9b;
}

/* 信号条 → 变成等宽像素条 */
body.theme-dos .signal-bars {
    display: flex;
    gap: 3px;
    position: absolute;
    bottom: 8px;
    right: 12px;
}
body.theme-dos .signal-bar {
    width: 6px;
    background: #3bc43b;
    opacity: 0.7;
}
body.theme-dos .signal-bar:nth-child(1) { height: 5px; }
body.theme-dos .signal-bar:nth-child(2) { height: 9px; }
body.theme-dos .signal-bar:nth-child(3) { height: 13px; }
body.theme-dos .signal-bar:nth-child(4) { height: 17px; }

/* 侧边栏：粗粝黑框 */
body.theme-dos .sidebar {
    background: #000000;
    border: 2px solid #3bc43b;
    border-left: none;
    box-shadow: -2px 0 0 #1f4f1f;
}
body.theme-dos .sidebar-header {
    border-bottom: 1px solid #3bc43b;
    padding: 8px;
}
body.theme-dos .menu-item {
    border: 1px solid #1f4f1f;
    margin: 6px 0;
    padding: 8px;
    background: #050505;
    color: #3bc43b;
    text-transform: uppercase;
    font-size: 13px;
}
body.theme-dos .menu-item:hover {
    background: #1a3a1a;
    border-color: #3bc43b;
}
body.theme-dos .menu-subitem::before {
    content: ">";
    left: 16px;
    opacity: 1;
    color: #3bc43b;
}
body.theme-dos .menu-link-icon {
    background: #000;
    border: 1px solid #3bc43b;
    color: #3bc43b;
    border-radius: 0;
}
body.theme-dos .menu-link-icon:hover {
    background: #1a3a1a;
    color: #9fdf9f;
}

/* FAB 按钮：DOS 风格方块 */
body.theme-dos .fab {
    background: #000;
    border: 1px solid #3bc43b;
    box-shadow: 2px 2px 0 #1f4f1f;
    color: #3bc43b;
    border-radius: 0;
}
body.theme-dos .fab:hover {
    background: #1a3a1a;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #2a5f2a;
}
body.theme-dos .fab-item {
    background: #050505;
    border: 1px solid #3bc43b;
    box-shadow: 2px 2px 0 #1f4f1f;
    color: #3bc43b;
    font-size: 12px;
    text-transform: uppercase;
}

/* 文章内页：类似 EDIT 文本编辑器 */
body.theme-dos .markdown-body {
    background: #0a0a0a;
    border: 1px solid #3bc43b;
    padding: 16px;
    font-size: 14px;
}
body.theme-dos .markdown-body h2 {
    border-left: none;
    border-bottom: 1px dashed #3bc43b;
    display: block;
    padding: 4px 0;
}
body.theme-dos .markdown-body h3::before {
    content: ">";
    color: #3bc43b;
    margin-right: 8px;
}
body.theme-dos .markdown-body h4::before {
    content: "-";
    color: #6f9e6f;
}
body.theme-dos .markdown-body blockquote {
    border-left: 3px solid #3bc43b;
    background: #050505;
    padding: 8px 12px;
}
body.theme-dos .markdown-body code,
body.theme-dos .markdown-body pre {
    background: #000;
    border: 1px solid #1f4f1f;
    color: #9bbb9b;
}

/* 分页器：数字按键风格 */
body.theme-dos .pagination .page-btn,
body.theme-dos .pagination .page-num {
    background: #000;
    border: 1px solid #3bc43b;
    color: #3bc43b;
    padding: 4px 12px;
    margin: 0 2px;
    font-family: monospace;
}
body.theme-dos .pagination .page-btn:hover,
body.theme-dos .pagination .page-num:hover {
    background: #1a3a1a;
    border-color: #9fdf9f;
}
body.theme-dos .pagination .page-num.active {
    background: #3bc43b;
    color: #000;
    border-color: #3bc43b;
}

/* 标签 & 专栏 */
body.theme-dos .tag-item {
    background: #050505;
    border: 1px solid #3bc43b;
    color: #3bc43b;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11px;
    text-transform: uppercase;
}
body.theme-dos .tag-item:hover {
    background: #1a3a1a;
}
body.theme-dos .column-item {
    background: #0a0a0a;
    border-left: 4px solid #3bc43b;
    margin: 8px 0;
    padding: 8px;
}

/* 选项卡 */
body.theme-dos .tab-header {
    background: #000;
    border: 1px solid #3bc43b;
    border-bottom: none;
    padding: 6px 12px;
}
body.theme-dos .tab-header.active {
    background: #1a3a1a;
    border-bottom: 1px solid #000;
    margin-bottom: -1px;
}
body.theme-dos .tabs-header {
    border-bottom: 1px solid #3bc43b;
}

/* 归档页 */
body.theme-dos .archive-year h2 {
    border-left: none;
    border-bottom: 1px solid #3bc43b;
    padding-left: 0;
}
body.theme-dos .archive-item {
    border-bottom: 1px dotted #1f4f1f;
    padding: 6px 0;
}
body.theme-dos .archive-item:hover {
    background: #0a1f0a;
}

/* 时间线 */
body.theme-dos .timeline::before {
    background: #3bc43b;
    width: 2px;
}
body.theme-dos .timeline-node::before {
    background: #3bc43b;
    border: none;
    width: 10px;
    height: 10px;
}

/* 相册 & 引用 & 提示框 */
body.theme-dos .gallery-item {
    border: 1px solid #3bc43b;
}
body.theme-dos .quote {
    border-left: 4px solid #3bc43b;
    background: #050505;
}
body.theme-dos .note {
    border-left: 4px solid #3bc43b;
    background: #0a0a0a;
}

/* 图片：像素化处理 */
body.theme-dos img {
    filter: grayscale(0.9) contrast(1.5) brightness(0.8);
    image-rendering: pixelated;
    border: 1px solid #3bc43b;
}

/* 滚动条：纯色窄条 */
body.theme-dos ::-webkit-scrollbar {
    width: 8px;
}
body.theme-dos ::-webkit-scrollbar-track {
    background: #000;
}
body.theme-dos ::-webkit-scrollbar-thumb {
    background: #3bc43b;
    border: 1px solid #0a2f0a;
}

/* 秘密 & Wiki 适配 */
body.theme-dos .secret-tag,
body.theme-dos .wiki-project-card,
body.theme-dos .wiki-home-link,
body.theme-dos .wiki-article-item {
    background: #050505;
    border: 1px solid #3bc43b;
}
body.theme-dos .wiki-article-item:hover {
    background: #1a3a1a;
}
body.theme-dos .modal-content {
    background: #000;
    border: 2px solid #3bc43b;
    box-shadow: 5px 5px 0 #1f4f1f;
}
body.theme-dos .modal-content input {
    background: #0a0a0a;
    border: 1px solid #3bc43b;
    color: #3bc43b;
}
/* ========== DOS模式 END ========== */