﻿        :root {
            --primary-color: #ff9933;
            --secondary-color: #ffad33;
            --dark-color: #663300;
            --light-color: #ffe0b3;
            --accent-color: #ff0000;
            --text-color: #333;
            --bg-color: #f5f5f5;
            --card-bg: #fff;
            --border-color: #eee;
            --link-hover: #cc0000;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            transition: background-color 0.3s, color 0.3s, border-color 0.3s;
        }
        
        a:link {
            color: var(--text-color);
            text-decoration: none;
        }
        
        a:hover {
            color: var(--link-hover);
            text-decoration: underline;
        }
        
        a:active {
            color: #002B8D;
        }
        
        body {
            font-family: '微软雅黑', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
        }
        
        /* 主题选择器 */
        .theme-selector {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background: var(--card-bg);
            padding: 15px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            width: 260px;
            max-width: 90%;
            display: none; /* 默认隐藏 */
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }
        
        .theme-selector.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
            animation: fadeIn 0.3s forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .theme-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        
        .theme-title {
            font-size: 18px;
            font-weight: bold;
            color: var(--dark-color);
        }
        
        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--text-color);
            transition: all 0.3s;
        }
        
        .close-btn:hover {
            color: var(--accent-color);
            transform: rotate(90deg);
        }
        
        .theme-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }
        
        .theme-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            border: 3px solid transparent;
            position: relative;
            overflow: hidden;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .theme-btn.active {
            border-color: #fff;
            box-shadow: 0 0 0 3px var(--dark-color);
            transform: scale(1.05);
        }
        
        .theme-btn .theme-name {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            font-size: 10px;
            text-align: center;
            padding: 2px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .theme-btn:hover .theme-name {
            opacity: 1;
        }
        
        .theme-btn.fresh { background: linear-gradient(135deg, #4fc3f7, #29b6f6); }
        .theme-btn.easy { background: linear-gradient(135deg, #66bb6a, #43a047); }
        .theme-btn.hot { background: linear-gradient(135deg, #ff7043, #f4511e); }
        .theme-btn.bold { background: linear-gradient(135deg, #ab47bc, #8e24aa); }
        .theme-btn.deep { background: linear-gradient(135deg, #5c6bc0, #3949ab); }
        .theme-btn.tech { 
            background: linear-gradient(135deg, #0f2027, #203a43); 
            box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
        }
        
        .reset-btn {
            padding: 8px 20px;
            background: var(--dark-color);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            transition: all 0.3s;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        
        .reset-btn:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.15);
        }
        
        /* 主题设置按钮 */
        .theme-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff9933, #ff5500);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: all 0.3s;
            font-size: 28px;
        }
        
        .theme-toggle:hover {
            transform: translateY(-5px) rotate(15deg);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }
        
        /* 顶部Banner */
        .header {
            background: var(--primary-color);
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        .logo {
            max-width: 180px;
            height: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }
        
        .ad-pc {
            max-width: 500px;
            display: block;
            border-radius: 8px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        
        .ad-mobile {
            display: none;
            width: 100%;
            padding: 10px;
            background: var(--secondary-color);
            text-align: center;
        }
        
        /* 导航菜单 */
        .nav {
            background: var(--secondary-color);
            padding: 10px;
            overflow-x: auto;
            white-space: nowrap;
        }
        
        .nav-item {
            display: inline-block;
            padding: 8px 20px;
            color: #fff;
            margin: 0 5px;
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.3s;
        }
        
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }
        
        /* 第一行 - 轮播与推荐 */
        .row1 {
            max-width: 1200px;
            margin: 10px auto;
            padding: 0 10px;
            display: grid;
            grid-template-columns: 3fr 2fr;
            gap: 30px;
        }
        
        .swiper {
            width: 100%;
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .swiper-slide {
            position: relative;
        }
        
        .swiper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .swiper-slide:hover img {
            transform: scale(1.05);
        }
        
        .slide-text {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px;
            font-size: 18px;
            font-weight: bold;
        }
        
        .recommend {
            background: var(--card-bg);
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .recommend-main {
            font-size: 1.3em;
            color: var(--accent-color);
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--light-color);
            font-weight: bold;
        }
        
        .recommend-item {
            padding: 10px 0;
            border-bottom: 1px dashed var(--border-color);
            transition: all 0.3s;
        }
        
        .recommend-item:hover {
            background: rgba(0,0,0,0.03);
            padding-left: 8px;
        }
        
        /* 第三、四行公共样式 */
        .row3, .row4 {
            max-width: 1200px;
            margin: 6px auto;
            padding: 0 10px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        .column {
            background: var(--card-bg);
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .column-title {
            color: var(--dark-color);
            font-size: 18px;
            margin-bottom: 6px;
            padding-bottom: 6px;
            border-bottom: 2px solid var(--light-color);
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        
        .column-title::before {
            content: "";
            display: inline-block;
            width: 5px;
            height: 20px;
            background: var(--primary-color);
            margin-right: 10px;
            border-radius: 3px;
        }
        
        .post-title {
            font-size: 1.0em;
        }
        
        .post-item {
            padding: 10px 0;
            border-bottom: 1px dashed var(--border-color);
            display: grid;
            grid-template-columns: 1fr auto;
            transition: all 0.3s;
        }
        
        .post-item:hover {
            background: rgba(0,0,0,0.03);
            padding-left: 8px;
        }
        
        .post-meta {
            color: #999;
            font-size: 0.9em;
        }
        
        /* 搜索 */
        .row2 {
            max-width: 800px;
            margin: 6px auto;
            padding: 0 10px;
        }
        
        .search-box {
            display: grid;
            grid-template-columns: repeat(3, 1fr) 2fr auto;
            gap: 10px;
            background: var(--card-bg);
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .search-tab {
            padding: 8px 15px;
            background: #fff3e6;
            border-radius: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .search-tab:hover {
            background: var(--light-color);
        }
        
        input[type="text"] {
            padding: 8px 15px;
            border: 1px solid var(--light-color);
            border-radius: 20px;
            background: rgba(255,255,255,0.8);
        }
        
        button {
            padding: 8px 15px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        button:hover {
            background: var(--dark-color);
            transform: translateY(-2px);
        }
        
        /* 底部 */
        .footer {
            background: var(--dark-color);
            color: #fff;
            padding: 20px 10px;
            margin-top: 20px;
            border-top: 5px solid var(--primary-color);
        }
        
        .friend-links {
            max-width: 1200px;
            margin: 0 auto 10px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }
        
        .friend-links a {
            color: #ffd9b3;
            text-decoration: none;
            padding: 5px 15px;
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            transition: all 0.3s;
        }
        
        .friend-links a:hover {
            background: var(--primary-color);
            color: white;
        }
        
        .copyright {
            text-align: center;
            margin-top: 10px;
            color: #ffd9b3;
            font-size: 14px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .row1, .row3, .row4 {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .swiper {
                height: 250px;
            }
            
            .search-box {
                grid-template-columns: 1fr;
            }
            
            .search-tab {
                width: 100%;
            }
            
            button {
                width: 100%;
            }
            
            .theme-selector {
                top: 10px;
                right: 10px;
                padding: 12px;
                width: 220px;
            }
            
            .theme-btn {
                width: 35px;
                height: 35px;
            }
            
            .theme-toggle {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
        }
        
        /* 主题特定样式 */
        body.theme-easy {
            --primary-color: #4CAF50;
            --secondary-color: #81C784;
            --dark-color: #2E7D32;
            --light-color: #C8E6C9;
            --accent-color: #FF9800;
            --text-color: #333;
            --bg-color: #f1f8e9;
            --card-bg: #ffffff;
            --border-color: #e8f5e9;
            --link-hover: #388E3C;
        }
        
        body.theme-hot {
            --primary-color: #F44336;
            --secondary-color: #EF5350;
            --dark-color: #C62828;
            --light-color: #FFCDD2;
            --accent-color: #FFC107;
            --text-color: #333;
            --bg-color: #ffebee;
            --card-bg: #ffffff;
            --border-color: #ffccbc;
            --link-hover: #D32F2F;
        }
        
        body.theme-bold {
            --primary-color: #9C27B0;
            --secondary-color: #AB47BC;
            --dark-color: #6A1B9A;
            --light-color: #E1BEE7;
            --accent-color: #FF4081;
            --text-color: #333;
            --bg-color: #f3e5f5;
            --card-bg: #ffffff;
            --border-color: #e1bee7;
            --link-hover: #7B1FA2;
        }
        
        body.theme-deep {
            --primary-color: #3F51B5;
            --secondary-color: #5C6BC0;
            --dark-color: #283593;
            --light-color: #C5CAE9;
            --accent-color: #00BCD4;
            --text-color: #333;
            --bg-color: #e8eaf6;
            --card-bg: #ffffff;
            --border-color: #c5cae9;
            --link-hover: #303F9F;
        }
        
        body.theme-fresh {
            --primary-color: #03A9F4;
            --secondary-color: #29B6F6;
            --dark-color: #0288D1;
            --light-color: #B3E5FC;
            --accent-color: #FF5722;
            --text-color: #333;
            --bg-color: #e1f5fe;
            --card-bg: #ffffff;
            --border-color: #b3e5fc;
            --link-hover: #0288D1;
        }
        
        /* 科技风格作为默认样式 */
        body.theme-tech {
            --primary-color: #00b4ff;
            --secondary-color: #0077cc;
            --dark-color: #0a1929;
            --light-color: rgba(0, 180, 255, 0.2);
            --accent-color: #ff00ff;
            --text-color: #e0e0e0;
            --link-color: #a0d8ff;
            --link-visited: #c0a0ff;
            --bg-color: #0a1929;
            --card-bg: #102a44;
            --border-color: rgba(0, 180, 255, 0.2);
            --link-hover: #ff00ff;
            background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
            background-attachment: fixed;
        }
        
        /* 修复.recommend区域的文字颜色 */
        body.theme-tech .recommend,
        body.theme-tech .recommend a {
            color: var(--text-color);
        }
        
        body.theme-tech .recommend a:link {
            color: var(--link-color);
        }
        
        body.theme-tech .recommend a:visited {
            color: var(--link-visited);
        }
        
        body.theme-tech .recommend a:hover {
            color: var(--link-hover);
        }
        
        /* 修复.post-item区域的文字颜色 */
        body.theme-tech .post-item,
        body.theme-tech .post-item a {
            color: var(--text-color);
        }
        
        body.theme-tech .post-item a:link {
            color: var(--link-color);
        }
        
        body.theme-tech .post-item a:visited {
            color: var(--link-visited);
        }
        
        body.theme-tech .post-item a:hover {
            color: var(--link-hover);
        }
        
        body.theme-tech .column,
        body.theme-tech .recommend,
        body.theme-tech .search-box {
            background: rgba(16, 42, 68, 0.8);
            border: 1px solid rgba(0, 180, 255, 0.3);
            box-shadow: 0 0 15px rgba(0, 150, 255, 0.3);
        }
        
        body.theme-tech .nav-item,
        body.theme-tech .search-tab {
            background: rgba(0, 180, 255, 0.2);
        }
        
        body.theme-tech .column-title,
        body.theme-tech .recommend-main,
        body.theme-tech .recommend-main a,
        body.theme-tech .post-title a {
            color: #00b4ff;
            text-shadow: 0 0 5px rgba(0, 180, 255, 0.5);
        }
        
        body.theme-tech .post-meta {
            color: #88a;
        }
        
        body.theme-tech .friend-links a {
            background: rgba(0, 180, 255, 0.1);
        }
        
        body.theme-tech .theme-toggle {
            background: linear-gradient(135deg, #00b4ff, #0077cc);
            box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
        }
        
        body.theme-tech .slide-text {
            background: rgba(0, 0, 0, 0.7);
            border-top: 2px solid #00b4ff;
        }
        
        body.theme-tech .logo {
            filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.7));
        }