/* ============================================================
   夜航星轨 · 博客园个性化主题（适配 CodingLife 皮肤）
      特点：靛蓝紫渐变 + 卡片化布局 + 暗色代码块
         ============================================================ */

         /* ---------- 基础 ---------- */
         * { box-sizing: border-box; }
         body {
           font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
                 background-color: #f4f6fb;
                   background-image: radial-gradient(#dde3f2 1px, transparent 1px);
                     background-size: 26px 26px;
                       color: #24292f;
                         margin: 0;
                           font-size: 15px;
                           }
                           a { color: #4f46e5; text-decoration: none; transition: color .2s ease; }
                           a:hover { color: #7c3aed; }
                           img { max-width: 100%; }
                           ::selection { background: #c7d2fe; color: #1e1b4b; }

                           /* 滚动条 */
                           ::-webkit-scrollbar { width: 9px; height: 9px; }
                           ::-webkit-scrollbar-track { background: transparent; }
                           ::-webkit-scrollbar-thumb {
                             background: linear-gradient(180deg, #818cf8, #a855f7);
                               border-radius: 8px;
                               }

                               /* ---------- 整体布局 ---------- */
                               #home {
                                 max-width: 1080px;
                                   margin: 0 auto;
                                     padding: 0 16px;
                                       background: transparent;
                                         box-shadow: none;
                                         }
                                         #main {
                                           display: flex;
                                             gap: 24px;
                                               max-width: 1080px;
                                                 margin: 28px auto 0;
                                                   width: 100%;
                                                   }
                                                   #mainContent { flex: 1; min-width: 0; }
                                                   #sideBar { width: 276px; flex-shrink: 0; }

                                                   /* ---------- 头部 Banner ---------- */
                                                   #header {
                                                     background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
                                                       padding: 52px 0 56px;
                                                         margin: 0 -16px;
                                                         }
                                                         #blogTitle { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
                                                         #blogTitle h1 a {
                                                           color: #fff;
                                                             font-size: 30px;
                                                               font-weight: 700;
                                                                 letter-spacing: 1.5px;
                                                                 }
                                                                 #blogTitle h1 a:hover { color: #e0e7ff; }
                                                                 #blogTitle .subtitle { color: #c7d2fe; font-size: 14px; margin-top: 12px; letter-spacing: .5px; }

                                                                 /* ---------- 导航栏（毛玻璃 + 悬停渐变下划线，紧凑低调） ---------- */
                                                                 #navigator {
                                                                   background: rgba(255, 255, 255, .96);
                                                                     backdrop-filter: blur(10px);
                                                                       margin: 0 -16px;
                                                                         position: sticky;
                                                                           top: 0;
                                                                             z-index: 1000;
                                                                               box-shadow: 0 2px 12px rgba(30, 27, 75, .08);
                                                                               }
                                                                               #navList { max-width: 1080px; margin: 0 auto; display: flex; padding: 0 16px; list-style: none; }
                                                                               #navList li a {
                                                                                 display: block;
                                                                                   padding: 9px 14px;
                                                                                     color: #64748b;
                                                                                       font-weight: 500;
                                                                                         font-size: 13.5px;
                                                                                           position: relative;
                                                                                           }
                                                                                           #navList li a::after {
                                                                                             content: '';
                                                                                               position: absolute;
                                                                                                 left: 14px; right: 14px; bottom: 6px;
                                                                                                   height: 2px;
                                                                                                     border-radius: 2px;
                                                                                                       background: linear-gradient(90deg, #4f46e5, #a855f7);
                                                                                                         transform: scaleX(0);
                                                                                                           transition: transform .25s ease;
                                                                                                           }
                                                                                                           #navList li a:hover { color: #4f46e5; background: transparent; }
                                                                                                           #navList li a:hover::after { transform: scaleX(1); }

                                                                                                           /* ---------- 博客统计行（居中、淡化、不抢眼） ---------- */
                                                                                                           #blogStats, .blogStats, #stats_container {
                                                                                                             text-align: center;
                                                                                                               font-size: 12.5px;
                                                                                                                 color: rgba(199, 210, 254, .85);
                                                                                                                   padding: 4px 0 10px;
                                                                                                                     letter-spacing: 1px;
                                                                                                                       width: 100%;
                                                                                                                       }
                                                                                                                       #blogStats a, .blogStats a { color: rgba(224, 231, 255, .95); }

                                                                                                                       /* ---------- 侧边栏卡片 ---------- */
                                                                                                                       #sideBarMain > div {
                                                                                                                         background: #fff;
                                                                                                                           border-radius: 14px;
                                                                                                                             padding: 18px 20px;
                                                                                                                               margin-bottom: 16px;
                                                                                                                                 box-shadow: 0 4px 18px rgba(30, 27, 75, .06);
                                                                                                                                   font-size: 13.5px;
                                                                                                                                   }
                                                                                                                                   #sideBarMain h3 {
                                                                                                                                     font-size: 15px;
                                                                                                                                       font-weight: 700;
                                                                                                                                         color: #1e1b4b;
                                                                                                                                           margin: 0 0 12px;
                                                                                                                                             padding-left: 12px;
                                                                                                                                               border-left: 4px solid #6366f1;
                                                                                                                                                 line-height: 1.4;
                                                                                                                                                 }
                                                                                                                                                 #sideBarMain ul { list-style: none; padding: 0; margin: 0; }
                                                                                                                                                 #sideBarMain ul li { padding: 5px 0; border-bottom: 1px dashed #eef1f7; }
                                                                                                                                                 #sideBarMain ul li:last-child { border-bottom: none; }
                                                                                                                                                 #blogCalendar { font-size: 12.5px; }
                                                                                                                                                 #blogCalendar a { font-weight: 600; }
                                                                                                                                                 #blogProfile, #blog-news { line-height: 1.8; }

                                                                                                                                                 /* ---------- 首页文章列表卡片 ---------- */
                                                                                                                                                 .day {
                                                                                                                                                   background: #fff;
                                                                                                                                                     border-radius: 16px;
                                                                                                                                                       padding: 26px 30px;
                                                                                                                                                         margin-bottom: 22px;
                                                                                                                                                           box-shadow: 0 4px 18px rgba(30, 27, 75, .06);
                                                                                                                                                             transition: box-shadow .25s ease, transform .25s ease;
                                                                                                                                                             }
                                                                                                                                                             .day:hover { box-shadow: 0 8px 28px rgba(30, 27, 75, .12); transform: translateY(-2px); }
                                                                                                                                                             .dayTitle {
                                                                                                                                                               display: inline-block;
                                                                                                                                                                 background: #eef2ff;
                                                                                                                                                                   border: 1px solid #c7d2fe;
                                                                                                                                                                     color: #3730a3;
                                                                                                                                                                       font-size: 13.5px;
                                                                                                                                                                         font-weight: 700;
                                                                                                                                                                           padding: 3px 18px;
                                                                                                                                                                             border-radius: 8px;
                                                                                                                                                                               margin-bottom: 12px;
                                                                                                                                                                                 letter-spacing: .5px;
                                                                                                                                                                                 }
                                                                                                                                                                                 .dayTitle a { color: #3730a3 !important; font-weight: 700; }
                                                                                                                                                                                 .dayTitle:hover, .dayTitle a:hover { background: #e0e7ff; color: #312e81; }
                                                                                                                                                                                 .postTitle {
                                                                                                                                                                                   font-size: 20px;
                                                                                                                                                                                     line-height: 1.5;
                                                                                                                                                                                       margin: 6px 0 10px;
                                                                                                                                                                                       }
                                                                                                                                                                                       .postTitle a {
                                                                                                                                                                                         color: #1e1b4b;
                                                                                                                                                                                           font-weight: 700;
                                                                                                                                                                                           }
                                                                                                                                                                                           .postTitle a:hover { color: #4f46e5; }
                                                                                                                                                                                           .postCon { color: #4b5563; line-height: 1.85; font-size: 14.5px; }
                                                                                                                                                                                           .postDesc {
                                                                                                                                                                                             color: #9ca3af;
                                                                                                                                                                                               font-size: 13px;
                                                                                                                                                                                                 border-top: 1px dashed #e5e7eb;
                                                                                                                                                                                                   padding-top: 12px;
                                                                                                                                                                                                     margin-top: 16px;
                                                                                                                                                                                                     }
                                                                                                                                                                                                     .postDesc a { color: #6366f1; margin-right: 4px; }

                                                                                                                                                                                                     /* ---------- 文章详情页 ---------- */
                                                                                                                                                                                                     #topics {
                                                                                                                                                                                                       background: #fff;
                                                                                                                                                                                                         border-radius: 16px;
                                                                                                                                                                                                           padding: 34px 38px;
                                                                                                                                                                                                             box-shadow: 0 4px 18px rgba(30, 27, 75, .06);
                                                                                                                                                                                                               margin-bottom: 22px;
                                                                                                                                                                                                               }
                                                                                                                                                                                                               .postTitle h1, h1.postTitle {
                                                                                                                                                                                                                 font-size: 26px;
                                                                                                                                                                                                                   color: #1e1b4b;
                                                                                                                                                                                                                     line-height: 1.5;
                                                                                                                                                                                                                       margin: 4px 0 10px;
                                                                                                                                                                                                                       }
                                                                                                                                                                                                                       #topics .postDesc { border-top: 1px dashed #e5e7eb; padding-top: 12px; margin-top: 8px; }

                                                                                                                                                                                                                       /* 正文排版 */
                                                                                                                                                                                                                       #cnblogs_post_body {
                                                                                                                                                                                                                         font-size: 15.5px;
                                                                                                                                                                                                                           line-height: 1.9;
                                                                                                                                                                                                                             color: #2d3142;
                                                                                                                                                                                                                               letter-spacing: .3px;
                                                                                                                                                                                                                               }
                                                                                                                                                                                                                               #cnblogs_post_body h2 {
                                                                                                                                                                                                                                 font-size: 21px;
                                                                                                                                                                                                                                   font-weight: 700;
                                                                                                                                                                                                                                     color: #1e1b4b;
                                                                                                                                                                                                                                       margin: 32px 0 14px;
                                                                                                                                                                                                                                         padding-bottom: 8px;
                                                                                                                                                                                                                                           border-bottom: 1px dashed #d8dded;
                                                                                                                                                                                                                                           }
                                                                                                                                                                                                                                           #cnblogs_post_body h2::before {
                                                                                                                                                                                                                                             content: '✦ ';
                                                                                                                                                                                                                                               background: linear-gradient(135deg, #4f46e5, #a855f7);
                                                                                                                                                                                                                                                 -webkit-background-clip: text;
                                                                                                                                                                                                                                                   color: transparent;
                                                                                                                                                                                                                                                     margin-right: 6px;
                                                                                                                                                                                                                                                     }
                                                                                                                                                                                                                                                     #cnblogs_post_body h3 {
                                                                                                                                                                                                                                                       font-size: 17.5px;
                                                                                                                                                                                                                                                         font-weight: 700;
                                                                                                                                                                                                                                                           color: #1e1b4b;
                                                                                                                                                                                                                                                             margin: 26px 0 12px;
                                                                                                                                                                                                                                                             }
                                                                                                                                                                                                                                                             #cnblogs_post_body h3::before {
                                                                                                                                                                                                                                                               content: '';
                                                                                                                                                                                                                                                                 display: inline-block;
                                                                                                                                                                                                                                                                   width: 9px; height: 9px;
                                                                                                                                                                                                                                                                     background: linear-gradient(135deg, #4f46e5, #a855f7);
                                                                                                                                                                                                                                                                       border-radius: 2px;
                                                                                                                                                                                                                                                                         margin-right: 10px;
                                                                                                                                                                                                                                                                         }
                                                                                                                                                                                                                                                                         #cnblogs_post_body p { margin: 12px 0; }
                                                                                                                                                                                                                                                                         #cnblogs_post_body ul, #cnblogs_post_body ol { padding-left: 26px; }
                                                                                                                                                                                                                                                                         #cnblogs_post_body li { margin: 6px 0; }
                                                                                                                                                                                                                                                                         #cnblogs_post_body li::marker { color: #6366f1; font-weight: 700; }

                                                                                                                                                                                                                                                                         /* 行内代码 */
                                                                                                                                                                                                                                                                         #cnblogs_post_body code {
                                                                                                                                                                                                                                                                           background: #eef2ff;
                                                                                                                                                                                                                                                                             color: #4338ca;
                                                                                                                                                                                                                                                                               padding: 2px 7px;
                                                                                                                                                                                                                                                                                 border-radius: 6px;
                                                                                                                                                                                                                                                                                   font-size: 14px;
                                                                                                                                                                                                                                                                                     font-family: "JetBrains Mono", Consolas, "Fira Code", monospace;
                                                                                                                                                                                                                                                                                     }

                                                                                                                                                                                                                                                                                     /* 代码块（highlight.js） */
                                                                                                                                                                                                                                                                                     #cnblogs_post_body pre, .hljs {
                                                                                                                                                                                                                                                                                       background: #0f172a !important;
                                                                                                                                                                                                                                                                                         color: #e2e8f0;
                                                                                                                                                                                                                                                                                           border-radius: 12px;
                                                                                                                                                                                                                                                                                             padding: 16px 20px;
                                                                                                                                                                                                                                                                                               font-size: 13.5px;
                                                                                                                                                                                                                                                                                                 line-height: 1.75;
                                                                                                                                                                                                                                                                                                   overflow: auto;
                                                                                                                                                                                                                                                                                                     box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
                                                                                                                                                                                                                                                                                                       font-family: "JetBrains Mono", Consolas, "Fira Code", monospace;
                                                                                                                                                                                                                                                                                                       }
                                                                                                                                                                                                                                                                                                       #cnblogs_post_body pre code, .hljs code {
                                                                                                                                                                                                                                                                                                         background: transparent !important;
                                                                                                                                                                                                                                                                                                           padding: 0;
                                                                                                                                                                                                                                                                                                             color: inherit;
                                                                                                                                                                                                                                                                                                               font-size: inherit;
                                                                                                                                                                                                                                                                                                               }

                                                                                                                                                                                                                                                                                                               /* 引用块 */
                                                                                                                                                                                                                                                                                                               #cnblogs_post_body blockquote {
                                                                                                                                                                                                                                                                                                                 border-left: 4px solid #6366f1;
                                                                                                                                                                                                                                                                                                                   background: #f5f7ff;
                                                                                                                                                                                                                                                                                                                     margin: 16px 0;
                                                                                                                                                                                                                                                                                                                       padding: 12px 20px;
                                                                                                                                                                                                                                                                                                                         border-radius: 0 10px 10px 0;
                                                                                                                                                                                                                                                                                                                           color: #4b5563;
                                                                                                                                                                                                                                                                                                                           }
                                                                                                                                                                                                                                                                                                                           #cnblogs_post_body blockquote p { margin: 6px 0; }

                                                                                                                                                                                                                                                                                                                           /* 表格 */
                                                                                                                                                                                                                                                                                                                           #cnblogs_post_body table {
                                                                                                                                                                                                                                                                                                                             border-collapse: collapse;
                                                                                                                                                                                                                                                                                                                               width: 100%;
                                                                                                                                                                                                                                                                                                                                 margin: 16px 0;
                                                                                                                                                                                                                                                                                                                                   font-size: 14px;
                                                                                                                                                                                                                                                                                                                                   }
                                                                                                                                                                                                                                                                                                                                   #cnblogs_post_body th {
                                                                                                                                                                                                                                                                                                                                     background: linear-gradient(90deg, #eef2ff, #f5f3ff);
                                                                                                                                                                                                                                                                                                                                       color: #1e1b4b;
                                                                                                                                                                                                                                                                                                                                         font-weight: 700;
                                                                                                                                                                                                                                                                                                                                         }
                                                                                                                                                                                                                                                                                                                                         #cnblogs_post_body th, #cnblogs_post_body td {
                                                                                                                                                                                                                                                                                                                                           border: 1px solid #e5e7eb;
                                                                                                                                                                                                                                                                                                                                             padding: 9px 14px;
                                                                                                                                                                                                                                                                                                                                             }

                                                                                                                                                                                                                                                                                                                                             /* ---------- 评论与点赞 ---------- */
                                                                                                                                                                                                                                                                                                                                             #div_digg {
                                                                                                                                                                                                                                                                                                                                               float: right;
                                                                                                                                                                                                                                                                                                                                                 background: #fff;
                                                                                                                                                                                                                                                                                                                                                   border-radius: 14px;
                                                                                                                                                                                                                                                                                                                                                     padding: 12px 18px;
                                                                                                                                                                                                                                                                                                                                                       box-shadow: 0 4px 18px rgba(30, 27, 75, .06);
                                                                                                                                                                                                                                                                                                                                                         margin: 0 0 16px 16px;
                                                                                                                                                                                                                                                                                                                                                         }
                                                                                                                                                                                                                                                                                                                                                         .comment_block {
                                                                                                                                                                                                                                                                                                                                                           background: #fff;
                                                                                                                                                                                                                                                                                                                                                             border-radius: 12px;
                                                                                                                                                                                                                                                                                                                                                               padding: 16px 20px;
                                                                                                                                                                                                                                                                                                                                                                 margin-bottom: 14px;
                                                                                                                                                                                                                                                                                                                                                                   box-shadow: 0 3px 12px rgba(30, 27, 75, .05);
                                                                                                                                                                                                                                                                                                                                                                   }
                                                                                                                                                                                                                                                                                                                                                                   .comment_block .comment_author { font-weight: 700; color: #1e1b4b; }
                                                                                                                                                                                                                                                                                                                                                                   #comment_form_container textarea, #comment_form_container input[type="text"],
                                                                                                                                                                                                                                                                                                                                                                   #tbCommentBody {
                                                                                                                                                                                                                                                                                                                                                                     border: 1px solid #d8dded;
                                                                                                                                                                                                                                                                                                                                                                       border-radius: 10px;
                                                                                                                                                                                                                                                                                                                                                                         padding: 10px 12px;
                                                                                                                                                                                                                                                                                                                                                                           font-family: inherit;
                                                                                                                                                                                                                                                                                                                                                                             width: 100%;
                                                                                                                                                                                                                                                                                                                                                                             }
                                                                                                                                                                                                                                                                                                                                                                             #comment_form_container textarea:focus, #tbCommentBody:focus {
                                                                                                                                                                                                                                                                                                                                                                               outline: none;
                                                                                                                                                                                                                                                                                                                                                                                 border-color: #6366f1;
                                                                                                                                                                                                                                                                                                                                                                                   box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
                                                                                                                                                                                                                                                                                                                                                                                   }
                                                                                                                                                                                                                                                                                                                                                                                   .comment_btn, #btn_comment_submit {
                                                                                                                                                                                                                                                                                                                                                                                     background: linear-gradient(90deg, #4f46e5, #7c3aed) !important;
                                                                                                                                                                                                                                                                                                                                                                                       color: #fff !important;
                                                                                                                                                                                                                                                                                                                                                                                         border: none !important;
                                                                                                                                                                                                                                                                                                                                                                                           border-radius: 10px !important;
                                                                                                                                                                                                                                                                                                                                                                                             padding: 9px 26px !important;
                                                                                                                                                                                                                                                                                                                                                                                               font-weight: 600;
                                                                                                                                                                                                                                                                                                                                                                                                 cursor: pointer;
                                                                                                                                                                                                                                                                                                                                                                                                 }

                                                                                                                                                                                                                                                                                                                                                                                                 /* ---------- 分页 / 页脚 ---------- */
                                                                                                                                                                                                                                                                                                                                                                                                 #nav_next_page a, .pager a {
                                                                                                                                                                                                                                                                                                                                                                                                   display: inline-block;
                                                                                                                                                                                                                                                                                                                                                                                                     background: #fff;
                                                                                                                                                                                                                                                                                                                                                                                                       border-radius: 999px;
                                                                                                                                                                                                                                                                                                                                                                                                         padding: 8px 22px;
                                                                                                                                                                                                                                                                                                                                                                                                           box-shadow: 0 3px 12px rgba(30, 27, 75, .08);
                                                                                                                                                                                                                                                                                                                                                                                                             font-weight: 600;
                                                                                                                                                                                                                                                                                                                                                                                                               color: #4f46e5;
                                                                                                                                                                                                                                                                                                                                                                                                               }
                                                                                                                                                                                                                                                                                                                                                                                                               #footer {
                                                                                                                                                                                                                                                                                                                                                                                                                 text-align: center;
                                                                                                                                                                                                                                                                                                                                                                                                                   color: #9ca3af;
                                                                                                                                                                                                                                                                                                                                                                                                                     font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                       padding: 36px 0 28px;
                                                                                                                                                                                                                                                                                                                                                                                                                       }
                                                                                                                                                                                                                                                                                                                                                                                                                       