﻿:root {
            --primary-color: #e63946; 
            --bg-base: rgb(255,255,255); 
            --bg-alt: #f8f9fa;
            --text-main: #2b2d42;
            --text-muted: #6c757d;
            --border-color: #e9ecef;
            --radius-md: 8px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background-color: var(--bg-alt); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background-color: var(--bg-base); box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 22px; font-weight: 800; color: var(--primary-color); white-space: nowrap; }
        .desktop-nav { display: none; }
        .desktop-nav ul { list-style: none; display: flex; gap: 30px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; }
        .desktop-nav a:hover { color: var(--primary-color); }
        .menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; }
        @media (min-width: 992px) { .desktop-nav { display: block; } .menu-toggle { display: none; } }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 998; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-base); z-index: 999; transition: left 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px 0; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }

        
        .tag-hero { background: var(--bg-base); padding: 60px 0; border-bottom: 1px solid var(--border-color); text-align: center; }
        .tag-hero h1 { font-size: 32px; color: var(--primary-color); margin-bottom: 15px; }
        .tag-hero p { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }
        
        .tag-cloud-section { padding: 60px 0; min-height: 50vh; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; background: var(--bg-base); padding: 50px 30px; border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
        .tag-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-alt); border: 1px solid var(--border-color); border-radius: 30px; font-size: 16px; color: var(--text-main); transition: all 0.3s; }
        .tag-item:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(230,57,70,0.2); }
        .tag-count { font-size: 12px; background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 10px; color: inherit; }
        .tag-item:hover .tag-count { background: rgba(255,255,255,0.2); }

        
        .site-footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links list-style { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #aaa; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        .footer-legal a { margin: 0 10px; }