﻿:root { --primary: rgb(66,133,244); --primary-hover: #3367d6; --primary-light: rgba(66,133,244,0.08); --text-main: #1a1f36; --text-muted: #697386; --bg-body: #f7f9fc; --border-color: #e3e8ee; --radius-lg: 16px; --container-width: 1240px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

        
        .site-header { background: #fff; 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: 72px; }
        .logo { display: inline-flex; align-items: center; gap: 10px; }
        .logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; }
        .desktop-nav { flex: 1; margin: 0 40px; display: flex; justify-content: flex-end; }
        .desktop-nav ul { display: flex; gap: 30px; }
        .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 999; transition: transform 0.3s; display: flex; flex-direction: column; }
        .drawer.active { transform: translateX(300px); }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; cursor: pointer; }
        .drawer-body { flex: 1; overflow-y: auto; padding: 20px 0; }
        .drawer-nav li a { display: block; padding: 12px 20px; font-size: 16px; }

        
        .tag-hero { background: #fff; padding: 60px 0; border-bottom: 1px solid var(--border-color); text-align: center; }
        .tag-hero h1 { font-size: 36px; margin-bottom: 15px; }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
        
        .tag-main { padding: 60px 0; }
        .tag-cloud-container { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
        .tag-list { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; padding: 10px 20px; background: var(--bg-body); border-radius: 30px; font-size: 15px; color: var(--text-main); border: 1px solid var(--border-color); transition: all 0.3s; }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(66,133,244,0.2); }
        .tag-count { background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 12px; font-size: 12px; margin-left: 8px; }
        .tag-item:hover .tag-count { background: rgba(255,255,255,0.2); }

        
        .site-footer { background: #1a1d20; color: #9ca3af; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 16px; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            .tag-cloud-container { padding: 20px; }
        }