﻿: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, 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; }
        .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; }
        .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; }

        
        .tag-info { background: var(--bg-card); padding: 40px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .tag-info h1 { font-size: 24px; margin-bottom: 10px; }
        .tag-info h1 span { color: var(--primary-color); }
        .tag-info p { color: var(--text-muted); font-size: 15px; }
        
        .portal-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; margin-bottom: 50px; }
        .article-list { display: grid; gap: 20px; }
        .post-card { display: flex; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
        .post-thumb { width: 220px; flex-shrink: 0; }
        .post-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
        .post-body { padding: 20px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
        .post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 15px; }
        .post-body h2 { font-size: 18px; margin-bottom: 8px; }
        .post-body h2 a:hover { color: var(--primary-color); }
        .post-body p { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
        .post-tags { font-size: 12px; color: var(--primary-color); }
        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 36px; height: 36px; padding: 0 10px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; }
        .pagination a:hover, .pagination .current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
        
        .sidebar .widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; margin-bottom: 30px; }
        .widget-title { font-size: 16px; font-weight: 700; border-left: 4px solid var(--primary-color); padding-left: 12px; margin-bottom: 20px; }

        
        .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-links li { margin-bottom: 10px; }
        .friend-links { border-top: 1px solid #333; padding-top: 20px; margin-bottom: 30px; }
        .friend-title { color: #fff; margin-bottom: 15px; font-weight: 600;}
        .friend-content { display: flex; gap: 15px; font-size: 13px; flex-wrap: wrap;}
        .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; }

        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; opacity: 0; transition: 0.3s; }
        .drawer-menu { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: 0.3s; }
        .drawer-header { padding: 20px; background: var(--primary-color); display: flex; justify-content: space-between; }
        .drawer-header .logo span, .drawer-close { color: #fff; }
        .drawer-nav a { display: block; padding: 15px 20px; border-bottom: 1px solid #eee; color: #333; }
        
        @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; } }
        @media (max-width: 768px) { .pc-nav { display: none; } .mobile-menu-btn { display: block; } }