/* --- 1. å¨å±éç½®ä¸è²å½©åºè° --- */
* { box-sizing: border-box; }
body {
    background-color: #f0f1f3 !important;
    margin: 0;
    font-family: -apple-system, "Noto Sans SC", "PingFang SC", sans-serif;
    color: #444; /* æ­£ææ·±ç° */
    line-height: 1.7;
    overflow-x: hidden;
}

/* ç²å­èæ¯ç»å¸ */
#particle-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}

/* ç»ä¸éç½®ææç´«è²é¾æ¥ */
a { color: #333; text-decoration: none; transition: 0.2s; }
a:hover { color: #2196F3; }


/* --- 2. é¡¶é¨å¯¼èªéå¡ --- */
#custom-top-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background: #ffffff; border-bottom: 1px solid #eee;
    z-index: 9999; display: flex; justify-content: center;
}
.nav-content {
    width: 100%; max-width: 900px;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}
/* å¯¼èªæå­å»ç´«è² */
.logo { font-size: 19px; font-weight: 700; color: #1a1a1a !important; letter-spacing: 1px; text-decoration: none; }
.nav-right a { margin-right: 25px; font-size: 14px; color: #666; font-weight: 500; }
.nav-right a:hover { color: #2196F3; }

/* --- 3. é¦é¡µå¡çä¸æå­å»è² --- */
#home { position: relative; z-index: 10; max-width: 800px; margin: 90px auto 50px !important; }

.day {
    background: #ffffff !important;
    padding: 40px 50px; margin-bottom: 35px;
    border-radius: 4px; border: 1px solid #eaeaea;
    transition: 0.3s;
}
.day:hover { border-color: #2196F3; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }

/* éç¹ï¼ä¿®æ­£æ é¢åé¾æ¥çç´«è² */
.postTitle { font-size: 22px; font-weight: 600; margin-bottom: 15px; }
.postTitle a { 
    color: #1a1a1a !important; /* å¼ºå¶å»ç´«è² */
    position: relative;
}
/* é«çº§äº¤äºï¼é¼ æ ç§»å¥æ é¢æåºç°èçº¿ */
.postTitle a::after {
    content: ''; position: absolute; width: 100%; height: 1px;
    bottom: -2px; left: 0; background-color: #2196F3;
    transform: scaleX(0); transition: transform 0.3s ease;
}
.postTitle a:hover { color: #2196F3 !important; }
.postTitle a:hover::after { transform: scaleX(1); }

/* æ¥æä¸æè¦å»ç´«è² */
.dayTitle a { color: #999 !important; font-size: 13px; font-family: "Georgia", serif; font-style: italic; }
.c_b_p_desc { color: #555; font-size: 15px; line-height: 1.8; margin-top: 15px; }
/* éè¯»å¨æé¾æ¥ */
.c_b_p_desc a { color: #2196F3 !important; font-size: 14px; border-bottom: 1px solid transparent; }
.c_b_p_desc a:hover { border-bottom: 1px solid #2196F3; }

/* --- 4. ä¾§è¾¹æ åå¶ä» --- */
#sideBar {
    position: fixed !important; top: 0; right: -320px;
    width: 320px !important; height: 100vh;
    background: #ffffff !important; border-left: 1px solid #eee;
    z-index: 10001; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px 30px;
    overflow-y: auto;                   /* +++ ä¿®å¤ï¼åè®¸çºµåæ»å¨ */
    -webkit-overflow-scrolling: touch;  /* +++ iOS æ¯æ§æ»å¨ */
}
.show-sidebar { right: 0 !important; }
/* ä¾§è¾¹æ é¾æ¥åæ­¥ */
#sideBar a { color: #555 !important; }
#sideBar a:hover { color: #2196F3 !important; }
.catListTitle { font-size: 15px; font-weight: 600; color: #111; margin: 20px 0 10px; }

/* éèå¹²æ°åç´  */
#header, #blog_post_info_block, #comment_form, #blog-comments-placeholder, 
.postDesc, #footer, .ad_text_commentbox, #under_post_card1, #under_post_card2, 
#HistoryToday, #sidebar_search { display: none !important; }

/* è¯¦æé¡µåé¨ç´«è²ä¿®æ­£ */
#cnblogs_post_body { color: #333 !important; font-size: 16px; }
#cnblogs_post_body h1, #cnblogs_post_body h2 { color: #1a1a1a !important; border-left: 4px solid #2196F3; padding-left: 15px; }

/* --- 6. ç­¾åä¸å¤æ¡ä¿¡æ¯å¯¹è°å¸å± (ä¿®å¤ç) --- */
#footer {
    display: flex !important;
    flex-direction: column !important; /* å¼ºå¶çºµå */
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 0 100px !important;
    background: transparent !important;
    border: none !important;
    gap: 20px; /* åç´ ä¹é´çèªç¶é´è· */
}

/* 1. ç­¾åå®¹å¨ï¼å¼ºå¶æå¨ç¬¬ä¸ä½ */
#footer-signature-container {
    order: -1 !important; /* è´å¼ç¡®ä¿å®ç»å¯¹å¨æå */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.custom-signature {
    max-width: 220px;
    height: auto;
    opacity: 0.85;
    filter: grayscale(100%);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-signature:hover {
    opacity: 1; filter: grayscale(0%); transform: scale(1.05);
}

.footer-info {
    font-size: 11px;
    color: #ccc;
    letter-spacing: 2.5px;
    margin-top: 12px;
    text-transform: uppercase;
}

/* 2. ç³»ç»å¤æ¡ä¿¡æ¯ï¼å¼ºå¶æå¨åé¢ */
#footer > div, 
#footer #poweredby,
#footer > .footer-text {
    order: 2 !important;
    color: #bbb !important;
    font-size: 12px !important;
    opacity: 0.8;
    text-align: center;
}

/* ä¿®æ­£è­¦å¾½å¾æ çå¤§å°ï¼æ¢å¤åè² */
#footer img:not(.custom-signature) {
    width: 14px !important;
    height: 14px !important;
    vertical-align: middle;
    margin-right: 5px;
    /* å·²ç§»é¤ grayscale(100%) ä»¥æ¢å¤åè² */
}

#footer a { color: #bbb !important; }
#footer a:hover { color: #2196F3 !important; }

/* --- 7. é¦é¡µå¨å± Hero Banner å¢å¼º --- */
#home-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* å æ®æ´ä¸ªå±å¹é«åº¦ */
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                url('https://images.cnblogs.com/cnblogs_com/blogs/865261/galleries/2501240/o_260404032358_Weixin%20Image_2026-04-03_155506_577.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* è§å·®æ»å¨ææ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5; /* ä½äºç²å­å±ä¹ä¸ï¼å¯¼èªå±ä¹ä¸ */
    overflow: hidden;
    animation: bannerFadeIn 1.5s ease-out; /* æ´ä½æ¸æ¾ */
}

/* --- 7. é¦é¡µèºæ¯å±å±åº (70% é«åº¦ä¼åç) --- */
#home-banner {
    position: relative;
    width: 100%;
    height: 70vh; /* è°æ´ä¸ºå±å¹é«åº¦ç 70% */
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
                url('https://images.cnblogs.com/cnblogs_com/blogs/865261/galleries/2501240/o_260404031146_dd8c68cd367f131f3d4f3003faf3d572.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    animation: bannerFadeIn 2.5s ease-in-out;
}

/* æå­å®¹å¨ */
.banner-content {
    text-align: center;
    color: #fff;
    user-select: none;
    padding: 0 20px;
    z-index: 10;
}

/* ä¸»æ é¢ï¼ShoreKitenã®å°å± */
.banner-title {
    font-size: 3.2rem; /* ç¨å¾®æ¾å¤§ä¸ç¹ä»¥å¹éæ´é«çèæ¯ */
    font-weight: 300;
    letter-spacing: 12px;
    font-family: "Optima", "Georgia", "STKaiti", "KaiTi", "åææ¥·ä½", serif;
    text-shadow: 0 5px 25px rgba(0,0,0,0.3);
    margin-bottom: 18px;
    opacity: 0;
    animation: textBlurIn 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

/* å¯æ é¢ï¼é¿åå¾åè³ï¼æ­¤çä¸é®ç¦» */
.banner-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.9);
    font-family: "STKaiti", "KaiTi", "åææ¥·ä½", serif;
    opacity: 0;
    animation: textBlurIn 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

/* æ¸æ¾ä¸æ¨¡ç³å¨ç» */
@keyframes textBlurIn {
    0% { opacity: 0; filter: blur(12px); transform: translateY(25px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes bannerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ä¿®æ­£ï¼åå®¹åºç´§è·å¨ Banner ä¹å */
#home {
    margin-top: 50px !important; 
    padding-top: 0;
}

/* æ»è½®æç¤ºå¨ */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
}

/* ========== APlayer ç½æäºæè½¬å±çæ­æ¾å¨ ========== */

/* --- å®¹å¨ï¼åºå®éç¹å·¦ä¸è§ï¼æææ¨¡å¼ä¸ä½ç½®ä¸å --- */
.aplayer {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    z-index: 9998 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* å®¹å¨è¿æ¸¡ï¼æ½å±å¼å®½åº¦å±å¼ï¼åå¼¹ç¼å¨ï¼ï¼æ¶èµ· 0.3s å¹²èå©è½ */
.aplayer.aplayer-fixed {
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-radius 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* === è¿·ä½ æ¨¡å¼ï¼66Ã66 æ­£åï¼æº¢åºè£å === */
.aplayer.aplayer-fixed.aplayer-mini {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* === å±å¼æ¨¡å¼ï¼å·¦ä¾§åååä½å±çï¼å³ä¾§å°åè§ === */
.aplayer.aplayer-fixed:not(.aplayer-mini) {
    width: 330px !important;
    height: 66px !important;
    border-radius: 33px 14px 14px 33px !important;
    overflow: visible !important;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* === Bodyï¼ç¸å¯¹å®ä½ä½ä¸ºç»å¯¹åç´ çéç¹ï¼å¼ºå¶é¶åè¾¹è· === */
.aplayer .aplayer-body {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* è¿·ä½ æ¨¡å¼ body ä¿æåå½¢è£å */
.aplayer.aplayer-mini .aplayer-body {
    border-radius: 50% !important;
}

/* å±å¼æ¨¡å¼ body ææ»¡å®¹å¨ï¼è§£å³ä¿¡æ¯é¢æ¿å®½åº¦å¡é· */
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-body {
    width: 330px !important;
    min-width: 330px !important;
    height: 66px !important;
}

/* ========== æè½¬å±çæ ¸å¿å¨ç» ========== */
@keyframes vinyl-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== å±çï¼ç»å¯¹å®ä½éæ­»å¨å®¹å¨å·¦ä¸è§ â æ°¸ä¸ç§»å¨ ========== */
/* åºç¡è§å */
.aplayer .aplayer-pic {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    right: auto !important;
    width: 66px !important;
    height: 66px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    border: 4px solid #1a1a1a !important;
    background-color: #333 !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow:
        inset 0 0 0 5px rgba(0,0,0,0.12),
        inset 0 0 30px rgba(0,0,0,0.25),
        0 0 0 2px #2a2a2a,
        0 4px 18px rgba(0,0,0,0.3) !important;
    z-index: 2 !important;
    transition: box-shadow 0.3s ease !important;
}

/* é«ç¹å¼æ§è¦ç â å¯¹æ APlayer CDN æ ·å¼ä¸­ç top/right åç§» */
.aplayer.aplayer-fixed .aplayer-pic,
.aplayer.aplayer-withlist .aplayer-pic,
.aplayer.aplayer-arrow .aplayer-pic {
    top: 0 !important;
    right: auto !important;
    left: 0 !important;
    bottom: auto !important;
    position: absolute !important;
}

/* å°é¢å¾çä¿æåå½¢ */
.aplayer .aplayer-pic img {
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* æ­æ¾æé®ï¼åéæå±ä¸­ */
.aplayer .aplayer-pic .aplayer-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
    pointer-events: auto !important;
    transition: color 0.2s, transform 0.2s !important;
}
.aplayer .aplayer-pic .aplayer-button:hover {
    color: #fff !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

/* æ­æ¾ç¶æ â å°é¢æè½¬ */
.aplayer.aplayer-playing .aplayer-pic {
    animation: vinyl-spin 18s linear infinite !important;
    -webkit-animation: vinyl-spin 18s linear infinite !important;
}

/* ========== ä¿¡æ¯é¢æ¿ï¼ç»å¯¹å®ä½ï¼ä½äºå±çå³ä¾§ ========== */
.aplayer .aplayer-info {
    position: absolute !important;
    left: 66px !important;         /* 66px å±çå®½åº¦ï¼æ é´éç´§è´´ */
    top: 6px !important;
    right: 10px !important;
    bottom: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    overflow: hidden !important;
}

/* è¿·ä½ æ¨¡å¼éèä¿¡æ¯é¢æ¿åå¶ææå­åç´  */
.aplayer.aplayer-mini .aplayer-info {
    display: none !important;
}

/* ========== å±å¼æ¨¡å¼ï¼å¼ºå¶æ¾ç¤ºä¿¡æ¯é¢æ¿ææåå®¹ï¼æé«æéï¼å¯¹æ setMode åèæ ·å¼ï¼========== */
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 66px !important;
    top: 0 !important;
    bottom: auto !important;
    left: 66px !important;
    right: 0 !important;
    width: 264px !important;
    padding: 5px 15px 5px 10px !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-music,
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-controller {
    display: block !important;
    opacity: 1 !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-music {
    margin-bottom: 5px !important;
    line-height: 1.4 !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-controller {
    width: 100% !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-time,
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-bar-wrap {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-title,
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-author {
    display: block !important;
    visibility: visible !important;
}
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-list {
    display: none !important;
}
/* å±å¼æ¨¡å¼éèé³éå¾æ åèåå¾æ ï¼èçç©ºé´ */
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-volume-wrap,
.aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-icon-menu {
    display: none !important;
}

/* ========== è¿·ä½ æ¨¡å¼éèæ ç¨åç´  ========== */
.aplayer.aplayer-mini .aplayer-lrc,
.aplayer.aplayer-mini .aplayer-list,
.aplayer.aplayer-mini .aplayer-notice,
.aplayer.aplayer-mini .aplayer-miniswitcher {
    display: none !important;
}

/* æ­è¯å miniswitcher å¨æ¨¡å¼éèï¼ç± hover ç®¡çå±å¼/æ¶èµ·ï¼ */
.aplayer .aplayer-lrc,
.aplayer .aplayer-miniswitcher {
    display: none !important;
}

/* ========== æ§ä»¶ç¾å ========== */
.aplayer .aplayer-icon {
    color: #777 !important;
    transition: 0.2s !important;
}
.aplayer .aplayer-icon:hover {
    color: #2196F3 !important;
}

/* è¿åº¦æ¡ */
.aplayer .aplayer-bar {
    background: #e8e8e8 !important;
}
.aplayer .aplayer-loaded {
    background: #ccc !important;
}
.aplayer .aplayer-played,
.aplayer .aplayer-thumb {
    background: #2196F3 !important;
}

/* é³éæ§å¶å¨ */
.aplayer .aplayer-volume-wrap .aplayer-volume-bar {
    background: #e8e8e8 !important;
}
.aplayer .aplayer-volume-wrap .aplayer-volume {
    background: #2196F3 !important;
}

/* æ­æ²ä¿¡æ¯ */
.aplayer .aplayer-info .aplayer-music {
    color: #444 !important;
}
.aplayer .aplayer-info .aplayer-music .aplayer-title {
    font-size: 13px !important;
    color: #333 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.aplayer .aplayer-info .aplayer-music .aplayer-author {
    font-size: 11px !important;
    color: #999 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* æ­æ¾åè¡¨ */
.aplayer .aplayer-list {
    border-radius: 0 0 14px 14px !important;
}
.aplayer .aplayer-list ol li {
    color: #555 !important;
    font-size: 13px !important;
    border-top: 1px solid #f3f3f3 !important;
    transition: 0.15s !important;
}
.aplayer .aplayer-list ol li:hover {
    background: #f7f9fb !important;
}
.aplayer .aplayer-list ol li.aplayer-list-light {
    color: #2196F3 !important;
    background: #e3f2fd !important;
}

/* åè¡¨æ»å¨æ¡ */
.aplayer .aplayer-list ol::-webkit-scrollbar {
    width: 4px;
}
.aplayer .aplayer-list ol::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}

/* ========== ååºå¼ - å°å±å¹éé ========== */
@media (max-width: 640px) {
    .aplayer {
        left: 8px !important;
        bottom: 8px !important;
    }
    .aplayer.aplayer-fixed.aplayer-mini {
        width: 56px !important;
        height: 56px !important;
    }
    .aplayer.aplayer-fixed:not(.aplayer-mini) {
        width: 280px !important;
        height: 70px !important;
    }
    .aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-body {
        width: 280px !important;
        min-width: 280px !important;
    }
    .aplayer.aplayer-fixed:not(.aplayer-mini) .aplayer-info {
        width: 216px !important;
    }
    .aplayer .aplayer-pic {
        width: 56px !important;
        height: 56px !important;
    }
    .aplayer .aplayer-info {
        left: 64px !important;   /* 56px å±ç + 8px é´é */
    }
}