﻿:root {
            --primary-color: rgb(0,0,0);
            --text-main: #1a1a1a;
            --text-muted: #666;
            --bg-body: #f4f5f7;
            --bg-card: #ffffff;
            --border-color: #e5e7eb;
            --container-width: 1200px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: color 0.2s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 15px; }
        
        
        .site-header { background: var(--primary-color); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 20px; font-weight: 700; color: #fff; white-space: nowrap; }
        .pc-nav { display: flex; gap: 24px; }
        .pc-nav a { font-size: 15px; color: #e5e5e5; font-weight: 500; }
        .pc-nav a:hover { color: #fff; }
        .mobile-menu-btn { display: none; cursor: pointer; font-size: 24px; }
        
        
        .site-intro { background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 20px 0; margin-bottom: 30px; }
        .intro-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
        .intro-text h1 { font-size: 18px; font-weight: 600; color: var(--primary-color); margin-bottom: 4px; }
        .intro-text p { font-size: 14px; color: var(--text-muted); }
        .intro-tags { display: flex; gap: 10px; }
        .intro-tags span { font-size: 12px; padding: 4px 10px; background: var(--bg-body); border-radius: 4px; color: var(--text-muted); }

        
        .portal-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; margin-bottom: 50px; }
        
        
        .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
        .section-header h2 { font-size: 20px; font-weight: 700; }
        
        .article-list { display: flex; flex-direction: column; gap: 20px; }
        .post-card { display: flex; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s; }
        .post-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        .post-thumb { width: 260px; flex-shrink: 0; background: #eee; }
        .post-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
        .post-body { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
        .post-meta { display: flex; gap: 15px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
        .post-body h2 { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
        .post-body h2 a:hover { color: var(--primary-color); text-decoration: underline; }
        .post-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .post-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
        .post-tags { font-size: 12px; color: var(--primary-color); }
        .read-more { font-size: 13px; font-weight: 500; color: var(--primary-color); border: 1px solid var(--primary-color); padding: 4px 12px; border-radius: 4px; transition: all 0.2s; }
        .read-more:hover { background: var(--primary-color); color: #fff; }

        
        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; }
        .widget-title { font-size: 16px; font-weight: 700; border-left: 4px solid var(--primary-color); padding-left: 12px; margin-bottom: 20px; line-height: 1.2; }
        
        .hot-list { display: flex; flex-direction: column; gap: 15px; }
        .hot-list a { display: flex; flex-direction: column; gap: 5px; group; }
        .hot-list .title { font-size: 14px; font-weight: 500; transition: color 0.2s; }
        .hot-list a:hover .title { color: var(--primary-color); }
        .hot-list small { font-size: 12px; color: #999; }
        
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-cloud a { font-size: 13px; background: var(--bg-body); padding: 4px 10px; border-radius: 4px; color: var(--text-main); transition: background 0.2s; }
        .tag-cloud a:hover { background: var(--primary-color); color: #fff; }

        .about-widget p { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
        .btn-widget { display: block; text-align: center; background: var(--primary-color); color: #fff; padding: 10px; border-radius: 4px; font-size: 14px; font-weight: 500; }

        
        .action-bar { background: var(--primary-color); color: #fff; text-align: center; padding: 40px 20px; margin-top: 40px; }
        .action-bar h3 { font-size: 24px; margin-bottom: 15px; }
        .action-bar p { font-size: 15px; opacity: 0.8; margin-bottom: 20px; }
        .action-bar .btn { display: inline-block; background: #fff; color: var(--primary-color); padding: 10px 24px; font-weight: 600; border-radius: 4px; }

        
        .site-footer { background: #111; color: #999; padding: 60px 0 20px; font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { margin-top: 15px; line-height: 1.8; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a:hover { color: #fff; }
        
        
        .friend-links { border-top: 1px solid #333; padding-top: 20px; margin-bottom: 30px; }
        .friend-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
        .friend-content { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }
        .friend-content a { color: #999; }
        .friend-content a:hover { color: #fff; }

        .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; }

        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s; }
        .drawer-menu { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: left 0.3s; display: flex; flex-direction: column; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--primary-color); }
        .drawer-header .logo span { color: #fff; font-size: 18px; }
        .drawer-close { color: #fff; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; color: var(--text-main); font-weight: 500; }

        
        @media (max-width: 992px) {
            .portal-layout { grid-template-columns: 1fr; }
            .post-card { flex-direction: column; }
            .post-thumb { width: 100%; aspect-ratio: 16/9; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
        }
        @media (max-width: 768px) {
            .pc-nav { display: none; }
            .mobile-menu-btn { display: block; }
            .intro-content { flex-direction: column; align-items: flex-start; }
            .post-card { border-radius: 0; border-left: none; border-right: none; }
        }