/* ============================================================
   Cyber Glass Pro — 花里胡哨终极版 CSS
   配合 JS 实现：粒子星空 / 卡片光追 / 自定义光标 / 滚动揭示 / 打字机
   粘贴到博客园后台 "设置 > 页面定制 CSS 代码"
   ============================================================ */

/* ===== CSS 变量 ===== */
:root {
    --bg-deep: #06060d;
    --bg-surface: #0f0f1a;
    --bg-glass: rgba(18,18,35,.6);
    --text-primary: #e8e6f0;
    --text-secondary: #a09cb8;
    --text-tertiary: #6b6880;
    --border-glass: rgba(255,255,255,.06);
    --border-glow: rgba(140,120,255,.3);
    --glow-purple: #8c78ff;
    --glow-pink: #f062a6;
    --glow-cyan: #5eeadb;
    --glow-blue: #6da3ff;
    --glow-gold: #f5b642;
    --gradient-1: linear-gradient(135deg, #8c78ff, #f062a6);
    --gradient-2: linear-gradient(135deg, #5eeadb, #6da3ff);
    --gradient-3: linear-gradient(135deg, #f5b642, #f062a6);
    --gradient-hero: linear-gradient(135deg, #8c78ff 0%, #f062a6 40%, #f5b642 100%);
    --shadow-glow-purple: 0 0 30px rgba(140,120,255,.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code",
        "Consolas", "Monaco", monospace;
}

/* ===== 自定义光标 ===== */
html.custom-cursor-active body { cursor: none; }
html.custom-cursor-active a,
html.custom-cursor-active button,
html.custom-cursor-active input,
html.custom-cursor-active textarea,
html.custom-cursor-active .diggit,
html.custom-cursor-active .buryit,
html.custom-cursor-active .commentbox_tab,
html.custom-cursor-active .comment_icon,
html.custom-cursor-active .cnblogs-toc-button,
html.custom-cursor-active .menu,
html.custom-cursor-active .back-to-top,
html.custom-cursor-active .tag-item,
html.custom-cursor-active .sidebar-links a,
html.custom-cursor-active #green_channel a,
html.custom-cursor-active #btn_comment_submit,
html.custom-cursor-active .btn_my_zzk,
html.custom-cursor-active .postTitle a,
html.custom-cursor-active .c_b_p_desc_readmore,
html.custom-cursor-active #nav_next_page a,
html.custom-cursor-active input[type="submit"],
html.custom-cursor-active input[type="button"] {
    cursor: none !important;
}
#custom-cursor {
    position: fixed; top: 0; left: 0;
    width: 30px; height: 30px;
    border: 2px solid rgba(200,180,255,.85);
    border-radius: 50%;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s, border-color .2s, background .2s, box-shadow .2s;
    box-shadow: 0 0 18px rgba(140,120,255,.5), 0 0 4px rgba(200,180,255,.5), inset 0 0 6px rgba(140,120,255,.15);
}
#custom-cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 8px; height: 8px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 4px #fff;
}
#custom-cursor.hover {
    width: 48px; height: 48px;
    border-color: rgba(255,140,200,.9);
    background: rgba(240,98,166,.12);
    box-shadow: 0 0 30px rgba(240,98,166,.55), 0 0 8px rgba(255,140,200,.5);
}

/* ===== Canvas 粒子背景 ===== */
#particle-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* ===== 全局 ===== */
body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
#home { background: transparent; max-width: 100%; position: relative; z-index: 1; }

/* ===== 隐藏广告 ===== */
#cnblogs_ch,
.ad_text_commentbox,
#ad_text_under_commentbox,
#under_post_card1,
#under_post_card2,
#opt_under_post,
#HistoryToday,
#related_posts_card,
#vip_tip { display: none !important; }

/* ===== 顶部导航栏 ===== */
#top_nav {
    background: rgba(8,8,18,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: relative; z-index: 100;
}
#top_nav .navbar-list li a {
    color: var(--text-secondary) !important;
    font-size: .875em; font-weight: 500;
    transition: all var(--transition);
}
#top_nav .navbar-list li a:hover {
    color: var(--glow-purple) !important;
    text-shadow: 0 0 12px rgba(140,120,255,.4);
}

/* ===== 页首装饰条 ===== */
#custom-top-bar {
    background: var(--gradient-3);
    text-align: center; padding: 6px 0;
    position: relative; z-index: 10; overflow: hidden;
}
#custom-top-bar::before {
    content: "";
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    animation: topBarShine 3s ease-in-out infinite;
}
@keyframes topBarShine {
    0% { left: -60%; }
    100% { left: 120%; }
}
.top-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.top-bar-icon {
    font-size: 13px; color: rgba(0,0,0,.5);
    animation: topBarSpin 3s linear infinite;
}
@keyframes topBarSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}
.top-bar-text {
    color: rgba(0,0,0,.7); font-size: .78em;
    letter-spacing: 3px; font-weight: 700;
}

/* ===== 全局光晕背景 ===== */
#custom-bg-glow-1, #custom-bg-glow-2 {
    position: fixed; border-radius: 50%;
    pointer-events: none; z-index: 0;
    filter: blur(120px);
    opacity: .12; transition: transform 1.5s ease-out;
}
#custom-bg-glow-1 {
    width: 600px; height: 600px;
    background: var(--glow-purple);
    top: -200px; right: -200px;
}
#custom-bg-glow-2 {
    width: 400px; height: 400px;
    background: var(--glow-pink);
    bottom: -100px; left: -100px;
}

/* ===== Header ===== */
#header {
    background: linear-gradient(180deg, rgba(15,15,26,1) 0%, rgba(15,15,26,.9) 100%);
    padding: 50px 40px 30px;
    border-bottom: 1px solid var(--border-glass);
    position: relative; z-index: 2;
}
#blogTitle h1 { margin: 0 0 8px; position: relative; }
#blogTitle h1 a {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em; font-weight: 800;
    letter-spacing: -1px;
    transition: all var(--transition);
    position: relative;
    display: inline-block;
}
/* 打字机光标 */
.typewriter-cursor {
    display: inline-block;
    width: 3px; height: 0.85em;
    background: var(--glow-pink);
    margin-left: 2px; vertical-align: text-bottom;
    animation: cursorBlink .8s step-end infinite;
    box-shadow: 0 0 8px var(--glow-pink);
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
#blogTitle h1 a:hover { filter: brightness(1.2); }
#blogTitle h2 { color: var(--text-tertiary); font-size: .9em; font-weight: 400; }

/* ===== 导航菜单 ===== */
#navigator { margin-top: 22px; }
#navList { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
#navList li a.menu {
    display: inline-block; padding: 7px 16px;
    color: var(--text-secondary) !important;
    font-size: .85em; font-weight: 500;
    border-radius: 20px; text-decoration: none;
    transition: all var(--transition);
    background: rgba(255,255,255,.04);
    border: 1px solid transparent;
}
#navList li a.menu:hover {
    background: rgba(140,120,255,.12);
    border-color: rgba(140,120,255,.25);
    color: #fff !important;
    box-shadow: 0 0 20px rgba(140,120,255,.15);
}
.blogStats { color: var(--text-tertiary) !important; font-size: .8em; margin-top: 12px; }

/* ===== 主布局 ===== */
#main { padding: 32px 40px; gap: 32px; display: flex; position: relative; z-index: 1; }
#mainContent { flex: 1; min-width: 0; }
.forFlow { display: flex; flex-direction: column; gap: 0; }

/* ===== 滚动揭示动画 ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s cubic-bezier(.25,.46,.45,.94),
                transform .6s cubic-bezier(.25,.46,.45,.94);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 文章卡片 — 光追效果 ===== */
.day, #post_detail, #comment_form,
.sidebar-block, .newsItem, .catList,
.catListPostCategory, .catListPostArchive, .catListView {
    position: relative;
    overflow: hidden;
}
/* 光追 overlay */
.card-glow-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
    opacity: 0; transition: opacity .3s;
    mix-blend-mode: screen;
}
/* JS 会动态设置 background */

/* ===== 文章卡片（列表页） ===== */
.day {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 28px 32px; margin-bottom: 16px;
    border: 1px solid var(--border-glass);
    transition: all var(--transition);
    position: relative; overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.day::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-1);
    opacity: 0; transition: opacity var(--transition); z-index: 2;
}
.day:hover::before { opacity: 1; }
.day:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-2px);
}
.day .dayTitle a {
    color: var(--text-tertiary) !important; font-size: .78em;
    text-decoration: none; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px;
}
.postTitle { position: relative; z-index: 2; }
.postTitle a {
    color: var(--text-primary) !important;
    font-size: 1.15em; font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: -.3px;
}
.postTitle a:hover {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.postCon { position: relative; z-index: 2; }
.c_b_p_desc { color: var(--text-secondary) !important; font-size: .9em; line-height: 1.7; }
.c_b_p_desc_readmore { color: var(--glow-purple) !important; font-weight: 500; text-decoration: none; font-size: .85em; }
.c_b_p_desc_readmore:hover { text-decoration: underline; }
.postDesc {
    margin-top: 14px; padding-top: 12px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-tertiary) !important; font-size: .78em;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    position: relative; z-index: 2;
}
.postDesc a { color: var(--glow-purple) !important; text-decoration: none; font-weight: 500; }
.postDesc a:hover { text-decoration: underline; }

/* ===== 单篇文章页 ===== */
#post_detail {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    border: 1px solid var(--border-glass);
}
.post .postTitle {
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}
.post .postTitle a {
    font-size: 1.65em; font-weight: 700;
    letter-spacing: -.5px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 文章正文 ===== */
#cnblogs_post_body { font-size: 1em; line-height: 1.85; color: var(--text-primary); position: relative; z-index: 2; }
#cnblogs_post_body h1, #cnblogs_post_body h2,
#cnblogs_post_body h3, #cnblogs_post_body h4 {
    font-weight: 600; color: #fff;
    margin: 2em 0 .8em; letter-spacing: -.3px;
}
#cnblogs_post_body h3 {
    font-size: 1.25em; padding-bottom: 8px;
    border-bottom: 1px solid var(--border-glass);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#cnblogs_post_body p { margin: 1em 0; }
#cnblogs_post_body a {
    color: var(--glow-cyan); text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
#cnblogs_post_body a:hover { border-bottom-color: var(--glow-cyan); text-shadow: 0 0 10px rgba(94,234,219,.3); }
#cnblogs_post_body ul, #cnblogs_post_body ol { padding-left: 1.5em; }
#cnblogs_post_body li { margin: .4em 0; }
#cnblogs_post_body blockquote {
    margin: 1.5em 0; padding: 16px 20px;
    background: rgba(140,120,255,.06);
    border-left: 3px solid var(--glow-purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary); font-style: italic;
}
#cnblogs_post_body img {
    max-width: 100%; border-radius: var(--radius-md);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

/* ===== 合集 ===== */
.current-collection {
    background: rgba(140,120,255,.06);
    border-radius: var(--radius-md);
    padding: 16px 20px; margin-bottom: 24px;
    border: 1px solid var(--border-glass);
}
.current-collection-title a { color: #fff !important; font-weight: 600; font-size: .9em; }
.current-collection-links a {
    color: var(--text-secondary) !important; font-size: .85em;
    text-decoration: none; padding: 4px 0; display: block;
    transition: color var(--transition);
}
.current-collection-links a:hover { color: var(--glow-purple) !important; }

/* ===== 代码块 ===== */
.cnblogs_code, .cnblogs_Highlighter, pre.highlighter-hljs, pre:not([class*="brush:"]) {
    background: #0d0d1a !important;
    border-radius: var(--radius-md) !important;
    margin: 1.5em 0 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.cnblogs_code_toolbar {
    background: #121225 !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
    padding: 8px 14px !important;
}
.cnblogs_code_toolbar span { color: #666 !important; font-size: .8em; }
.cnblogs_code pre, pre.highlighter-hljs {
    padding: 20px 24px !important;
    font-family: var(--font-mono) !important;
    font-size: .875em !important; line-height: 1.7 !important;
    color: #d4d4e8 !important;
}
.cnblogs_code code, pre.highlighter-hljs code { font-family: var(--font-mono) !important; }
.hljs-ln-numbers {
    color: #444 !important; padding-right: 14px !important;
    text-align: right !important; user-select: none;
    border-right: 1px solid rgba(255,255,255,.04);
}
#cnblogs_post_body code:not(.hljs):not([class*="language"]) {
    background: rgba(140,120,255,.1);
    color: #f0a0c0; padding: 2px 7px; border-radius: 4px;
    font-family: var(--font-mono); font-size: .875em;
    border: 1px solid rgba(140,120,255,.2);
}

/* ===== 作者信息 ===== */
#author_profile {
    background: rgba(255,255,255,.03);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border: 1px solid var(--border-glass);
    position: relative; z-index: 2;
}
#author_profile_info { display: flex; align-items: center; gap: 12px; }
.author_avatar {
    width: 44px !important; height: 44px !important;
    border-radius: 50%;
    border: 2px solid var(--glow-purple);
    box-shadow: 0 0 16px rgba(140,120,255,.25);
    transition: all var(--transition);
}
.author_avatar:hover { box-shadow: 0 0 30px rgba(240,98,166,.4); transform: scale(1.1); }
#author_profile_detail a { color: #fff !important; font-weight: 600; font-size: .9em; text-decoration: none; }

/* ===== 推荐/顶踩 ===== */
#green_channel { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; }
#green_channel a {
    display: inline-block; padding: 7px 18px;
    font-size: .82em; font-weight: 500; border-radius: 20px;
    text-decoration: none !important;
    transition: all var(--transition);
    color: var(--text-secondary) !important;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-glass);
}
#green_channel a:hover {
    background: rgba(140,120,255,.15);
    color: #fff !important;
    border-color: rgba(140,120,255,.3);
    box-shadow: 0 0 20px rgba(140,120,255,.2);
}
#div_digg { display: flex; align-items: center; gap: 12px; margin: 16px 0; position: relative; z-index: 2; }
.diggit, .buryit {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 18px; border-radius: 20px;
    font-size: .85em; font-weight: 500; cursor: pointer;
    transition: all var(--transition);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}
.diggit:hover {
    background: rgba(94,234,219,.1); border-color: rgba(94,234,219,.3);
    color: var(--glow-cyan);
    box-shadow: 0 0 20px rgba(94,234,219,.15);
}
.buryit:hover {
    background: rgba(240,98,166,.1); border-color: rgba(240,98,166,.3);
    color: var(--glow-pink);
    box-shadow: 0 0 20px rgba(240,98,166,.15);
}
#post_next_prev { margin-top: 20px; font-size: .9em; color: var(--text-tertiary); position: relative; z-index: 2; }
#post_next_prev a {
    color: var(--glow-purple) !important; text-decoration: none; font-weight: 500;
    transition: all var(--transition);
}
#post_next_prev a:hover { text-shadow: 0 0 10px rgba(140,120,255,.4); }

/* ===== 评论区 ===== */
#comment_form {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid var(--border-glass);
    margin-top: 24px;
}
#commentform_title label { font-size: 1.1em; font-weight: 600; color: #fff; }
.commentbox_main { margin-top: 12px; }
.commentbox_title {
    display: flex; align-items: center; gap: 2px;
    margin-bottom: 8px;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-sm); padding: 3px;
    width: fit-content;
}
.commentbox_tab {
    display: inline-block; padding: 6px 16px;
    font-size: .82em; font-weight: 500; border-radius: var(--radius-sm);
    cursor: pointer; color: var(--text-tertiary);
    transition: all var(--transition);
}
.commentbox_tab.active {
    background: rgba(140,120,255,.15);
    color: #fff;
}
.commentbox_tab:hover:not(.active) { color: var(--text-secondary); }
.comment_icon {
    padding: 4px 6px; border-radius: 4px; cursor: pointer;
    transition: all var(--transition);
    color: var(--text-tertiary);
    display: inline-flex; align-items: center;
}
.comment_icon:hover { background: rgba(140,120,255,.1); color: #fff; }
#tbCommentBody {
    width: 100%; min-height: 140px; padding: 14px 16px;
    font-family: var(--font-sans); font-size: .95em; line-height: 1.7;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background: rgba(10,10,20,.5);
    color: var(--text-primary);
    resize: vertical; transition: all var(--transition); outline: none;
}
#tbCommentBody:focus {
    border-color: var(--glow-purple);
    box-shadow: 0 0 0 3px rgba(140,120,255,.1), 0 0 20px rgba(140,120,255,.08);
}
#btn_comment_submit,
input[type="submit"][value*="评论"],
input[type="button"][value*="提交"] {
    padding: 9px 24px;
    background: var(--gradient-1);
    color: #fff !important; border: none;
    border-radius: 24px; font-size: .88em; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(140,120,255,.25);
}
#btn_comment_submit:hover,
input[type="submit"][value*="评论"]:hover,
input[type="button"][value*="提交"]:hover {
    box-shadow: 0 6px 30px rgba(140,120,255,.4);
    transform: translateY(-1px);
}
.feedbackItem { padding: 16px 0; border-bottom: 1px solid var(--border-glass); }
.feedbackListSubtitle { color: var(--text-tertiary) !important; font-size: .8em; }
.feedbackListSubtitle a { color: var(--glow-purple) !important; text-decoration: none; font-weight: 500; }
.feedbackCon { color: var(--text-primary); font-size: .95em; line-height: 1.75; margin-top: 6px; }
#comment_nav { font-size: .85em; margin: 12px 0; }
#comment_nav a { color: var(--glow-purple) !important; text-decoration: none; font-weight: 500; }

/* ===== 侧边栏 ===== */
#sideBar { width: 300px; flex-shrink: 0; }
#sideBarMain { display: flex; flex-direction: column; gap: 14px; }
#sideBar .sidebar-block,
#sideBar .newsItem,
#sideBar .catList,
#sideBar .catListPostCategory,
#sideBar .catListPostArchive,
#sideBar .catListView {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-glass);
    transition: all var(--transition);
}
#sideBar .sidebar-block:hover,
#sideBar .newsItem:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow-purple);
}
#sideBar .catListTitle, #sideBar h3 {
    font-size: .82em; font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin: 0 0 14px; padding: 0; border: none;
}
#sideBar .catListTitle a, #sideBar h3 a { color: var(--text-tertiary) !important; text-decoration: none; }
#sideBar ul { list-style: none; padding: 0; margin: 0; }
#sideBar ul li { padding: 6px 0; font-size: .88em; border-bottom: none; }
#sideBar ul li a {
    color: var(--text-secondary) !important; text-decoration: none;
    transition: all var(--transition); display: block; padding: 2px 0;
}
#sideBar ul li a:hover { color: var(--glow-purple) !important; padding-left: 6px; }

/* 自定义侧边栏 */
#custom-sidebar-profile { text-align: center; }
.sidebar-avatar-wrap { display: inline-block; position: relative; margin-bottom: 12px; }
.sidebar-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    border: 2px solid var(--glow-purple);
    box-shadow: 0 0 30px rgba(140,120,255,.3);
    transition: all var(--transition);
}
.sidebar-avatar:hover { transform: scale(1.08); box-shadow: 0 0 40px rgba(240,98,166,.4); }
.sidebar-nickname {
    display: block; font-size: 1.05em; font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.sidebar-bio { font-size: .8em; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.sidebar-stats {
    display: flex; justify-content: center; gap: 20px; margin: 14px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.stat-num {
    display: block; font-size: 1.25em; font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { display: block; font-size: .68em; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .5px; margin-top: 1px; }
.sidebar-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 14px; }
.tag-item {
    display: inline-block; padding: 4px 12px; font-size: .75em;
    color: var(--text-secondary);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-glass);
    border-radius: 14px; transition: all var(--transition);
}
.tag-item:hover {
    background: var(--gradient-1);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 16px rgba(140,120,255,.25);
}
.sidebar-links { display: flex; justify-content: center; gap: 8px; }
.sidebar-links a {
    font-size: .78em; color: var(--text-secondary) !important; text-decoration: none;
    padding: 5px 12px; border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-glass);
    transition: all var(--transition);
}
.sidebar-links a:hover { color: var(--glow-purple) !important; border-color: rgba(140,120,255,.3); box-shadow: 0 0 16px rgba(140,120,255,.15); }

/* 日历 */
#blog-calendar {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md); padding: 14px;
    border: 1px solid var(--border-glass);
}
#blogCalendar { width: 100% !important; border-spacing: 2px; }
#blogCalendar .CalTodayDay {
    background: var(--gradient-1) !important;
    color: #fff !important; border-radius: 50%; font-weight: 700;
    box-shadow: 0 0 16px rgba(140,120,255,.4);
    animation: todayPulse 2s ease-in-out infinite;
}
@keyframes todayPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(140,120,255,.4); }
    50% { box-shadow: 0 0 28px rgba(240,98,166,.5); }
}
#blogCalendar th { font-size: .75em; color: var(--text-tertiary); }
#blogCalendar td { border-radius: 6px; font-size: .82em; color: var(--text-secondary); }

/* 搜索 */
.input_my_zzk {
    padding: 9px 16px;
    border: 1px solid var(--border-glass); border-radius: 22px;
    font-size: .85em; outline: none;
    background: rgba(10,10,20,.5); color: var(--text-primary);
    transition: all var(--transition); width: 55%;
}
.input_my_zzk:focus {
    border-color: var(--glow-purple);
    box-shadow: 0 0 0 3px rgba(140,120,255,.1), 0 0 20px rgba(140,120,255,.08);
}
.btn_my_zzk {
    padding: 9px 18px;
    background: var(--gradient-1); color: #fff; border: none;
    border-radius: 22px; font-size: .82em; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
}
.btn_my_zzk:hover { box-shadow: 0 4px 20px rgba(140,120,255,.35); transform: translateY(-1px); }

/* 分类 */
.post-meta-container {
    display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 0;
    margin: 16px 0; border-top: 1px solid var(--border-glass); font-size: .85em;
}
.post-meta-item a { color: var(--glow-purple) !important; text-decoration: none; font-weight: 500; }
.post-meta-disclaimer { color: var(--text-tertiary) !important; font-size: .8em; }

/* ===== 页脚 ===== */
#footer {
    background: #060610; color: #555;
    border-top: 1px solid var(--border-glass);
    text-align: center; padding: 20px; font-size: .82em;
}
#footer a { color: var(--glow-purple) !important; }

#custom-footer {
    background: #060610; color: #666;
    padding: 40px 40px 24px; text-align: center; font-size: .85em;
    border-top: 1px solid rgba(255,255,255,.04);
}
.footer-divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 30px; }
.divider-line { width: 50px; height: 1px; background: var(--gradient-1); border-radius: 1px; }
.divider-icon { font-size: 16px; color: var(--glow-purple); }
.footer-content {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 60px; max-width: 800px; margin: 0 auto 28px; text-align: left;
}
.footer-col h4 {
    color: #999; font-size: .78em; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 10px;
}
.footer-col p { margin: 0; font-size: .9em; line-height: 1.7; color: #666; }
.footer-col a {
    display: block; color: #666 !important; font-size: .88em;
    text-decoration: none; padding: 2px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--glow-purple) !important; }
.footer-bottom {
    padding-top: 16px; border-top: 1px solid rgba(255,255,255,.04);
    font-size: .78em; color: #444;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.footer-sep { color: #333; }

/* 回到顶部 */
.back-to-top {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: var(--gradient-1);
    color: #fff !important; font-size: 20px; font-weight: 700;
    text-decoration: none; border-radius: 50%;
    position: fixed; bottom: 28px; right: 28px;
    box-shadow: 0 4px 24px rgba(140,120,255,.4);
    transition: all var(--transition); z-index: 999;
    animation: backToTopPulse 2s ease-in-out infinite;
}
@keyframes backToTopPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(140,120,255,.4); }
    50% { box-shadow: 0 6px 36px rgba(240,98,166,.5); }
}
.back-to-top:hover { transform: translateY(-3px) scale(1.08); animation: none; box-shadow: 0 8px 40px rgba(240,98,166,.6) !important; }

/* 分页 */
.topicListFooter { text-align: center; margin-top: 10px; }
#nav_next_page a {
    display: inline-block; padding: 9px 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-glass);
    border-radius: 24px; color: var(--glow-purple) !important;
    text-decoration: none; font-weight: 500;
    transition: all var(--transition);
}
#nav_next_page a:hover { background: rgba(140,120,255,.12); border-color: rgba(140,120,255,.3); box-shadow: 0 0 24px rgba(140,120,255,.2); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--glow-purple), var(--glow-pink));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--glow-pink), var(--glow-gold)); }

/* ===== 响应式 ===== */
@media screen and (max-width: 1024px) {
    #main { flex-direction: column; padding: 20px; }
    #sideBar { width: 100%; }
    #post_detail { padding: 24px 20px; }
}
@media screen and (max-width: 767px) {
    #header { padding: 30px 18px 22px; }
    #blogTitle h1 a { font-size: 1.35em; }
    #navList li a.menu { padding: 5px 12px; font-size: .78em; }
    .day, #post_detail, #comment_form { padding: 18px 16px; }
    .post .postTitle a { font-size: 1.2em; }
    #main { padding: 12px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-col { text-align: center; }
    .back-to-top { bottom: 16px; right: 16px; width: 36px; height: 36px; font-size: 17px; }
    #custom-cursor, #custom-cursor-dot { display: none !important; }
}
@media print {
    #top_nav, #sideBar, #footer, #navigator,
    #particle-canvas, #custom-cursor, #custom-cursor-dot,
    #custom-bg-glow-1, #custom-bg-glow-2,
    #game-hub { display: none !important; }
    body, a, button, input, textarea { cursor: auto !important; }
    body { background: #fff; color: #000; }
}

/* ================================================================
   游戏中心 Game Hub — 多游戏切换
   ================================================================ */
#game-hub {
    position: fixed; bottom: 0; left: 0; width: 100%;
    z-index: 1000;
    font-family: var(--font-mono);
}
/* 底部控制条 */
#game-hub-bar {
    display: flex; align-items: center;
    height: 40px; padding: 0 16px;
    background: rgba(10,10,22,.92);
    border-top: 1px solid rgba(140,120,255,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: 10px;
    position: relative; z-index: 1002;
}
#game-hub-label {
    color: var(--text-tertiary); font-size: .72em;
    letter-spacing: 1px; white-space: nowrap;
}
#game-hub-tabs {
    display: flex; gap: 4px; flex: 1;
}
.game-tab {
    padding: 5px 14px; font-size: .72em; font-family: var(--font-mono);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px; background: transparent;
    color: var(--text-secondary); cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
.game-tab:hover {
    color: #fff; border-color: rgba(140,120,255,.3);
    background: rgba(140,120,255,.08);
}
.game-tab.active {
    color: #fff !important; border-color: var(--glow-purple);
    background: rgba(140,120,255,.18);
    box-shadow: 0 0 14px rgba(140,120,255,.2);
}
#game-hub-toggle {
    padding: 5px 12px; font-size: .72em; font-family: var(--font-mono);
    border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
    background: transparent; color: var(--text-tertiary); cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
#game-hub-toggle:hover { color: #fff; border-color: rgba(140,120,255,.3); }

/* 游戏面板（默认关闭） */
#game-hub-panel {
    height: 540px; overflow: hidden;
    background: linear-gradient(180deg, rgba(8,8,16,.9) 0%, rgba(12,12,26,.95) 100%);
    border-top: 1px solid rgba(140,120,255,.1);
    transition: height .35s cubic-bezier(.4,0,.2,1);
}
#game-hub.closed #game-hub-panel { height: 0; }
#game-hub-canvas {
    display: block; width: 100%; height: 100%;
}
/* 页脚留白 */
#custom-footer { padding-bottom: 590px !important; }
#footer { padding-bottom: 590px !important; }

@media screen and (max-width: 767px) {
    #game-hub-panel { height: 405px; }
    #game-hub-bar { height: 36px; padding: 0 8px; gap: 6px; }
    .game-tab { padding: 4px 10px; font-size: .68em; }
    #game-hub-label { font-size: .66em; }
    #custom-footer { padding-bottom: 455px !important; }
    #footer { padding-bottom: 455px !important; }
}

#blog_c1{ display: none !important; }