 /* 全局基础样式重置 */
    *{margin:0;padding:0;box-sizing:border-box}
    body{font-family:"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f5f5}

    /* Logo样式 */
    .site-logo-img {
        height: 40px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    .logo {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }

    /* 顶部导航栏容器 */
    .site-header {
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 9999;
    }
    .site-header .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
    }
    .header-left {
        display: flex;
        align-items: center;
    }

    /* 导航栏样式 */
    .main-nav {
        display: flex;
        align-items: center;
        gap: 25px;
    }
    .main-nav a {
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: color 0.2s;
        position: relative;
    }
    .main-nav a:hover,
    .main-nav a.active {
        color: #ff4400;
        font-weight: 500;
    }
    .main-nav a.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #ff4400;
        border-radius: 2px;
    }

    /* 头部右侧布局 */
    .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        flex-shrink: 0 !important;
    }

    /* 日夜模式切换按钮 */
    .mode-toggle-btn {
        background: #f5f5f5 !important;
        border: 1px solid #eaeaea !important;
        cursor: pointer !important;
        font-size: 18px !important;
        line-height: 1 !important;
        color: #333 !important;
        transition: all 0.3s !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        z-index: 999 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .mode-toggle-btn:hover {
        background: #ff4400 !important;
        border-color: #ff4400 !important;
        color: #fff !important;
    }

    /* 登录按钮 */
    .login-btn {
        background: #165DFF;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: background 0.2s;
    }
    .login-btn:hover {
        background: #4080FF;
    }

    /* 用户下拉菜单 */
    .user-dropdown {
        position: relative;
    }
    .dropdown-menu {
        position: absolute;
        top: 50px;
        right: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        width: 120px;
        display: none;
        z-index: 9999;
    }
    .user-dropdown:hover .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: background 0.2s;
    }
    .dropdown-menu a:hover {
        background: #f5f5f5;
        color: #ff4400;
    }

    /* 黑夜模式全局样式 */
    body.dark-mode {
        background: #121212 !important;
        color: #e0e0e0 !important;
    }
    body.dark-mode .site-header {
        background: #1e1e1e !important;
        border-bottom: 1px solid #2d2d2d !important;
    }
    body.dark-mode .main-nav a {
        color: #e0e0e0 !important;
    }
    body.dark-mode .main-nav a:hover,
    body.dark-mode .main-nav a.active {
        color: #ff6b35 !important;
    }
    body.dark-mode .login-btn {
        background: #2d2d2d !important;
        color: #e0e0e0 !important;
        border: 1px solid #404040 !important;
    }
    body.dark-mode .mode-toggle-btn {
        background: #2d2d2d !important;
        border-color: #404040 !important;
        color: #fff !important;
    }
    body.dark-mode .mode-toggle-btn:hover {
        background: #ff6b35 !important;
        border-color: #ff6b35 !important;
        color: #fff !important;
    }
    body.dark-mode .dropdown-menu {
        background: #1e1e1e !important;
        border: 1px solid #2d2d2d !important;
    }
    body.dark-mode .dropdown-menu a {
        color: #e0e0e0 !important;
    }
    body.dark-mode .dropdown-menu a:hover {
        background: #2d2d2d !important;
        color: #ff6b35 !important;
    }
    .resource-list-page {
    padding: 20px 0;
}
.page-title {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 500;
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.resource-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: .2s;
}
.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}
.resource-cover {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.resource-body {
    padding: 15px;
}
.resource-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}
.resource-title a {
    color: #333;
}
.resource-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.resource-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    margin-bottom: 10px;
}
.resource-tag {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 4px;
}
.tag-free {
    background: #00C853;
    color: #fff;
}
.tag-vip {
    background: #ff4400;
    color: #fff;
}
.tag-point {
    background: #7A7FF3;
    color: #fff;
}

/* 黑夜模式 */
body.dark-mode .resource-item {
    background: #1e1e1e;
}
body.dark-mode .resource-title a {
    color: #eee;
}
body.dark-mode .resource-desc {
    color: #aaa;
}