﻿:root { --primary: rgb(94,92,230); --text-main: #1a202c; --text-sub: #4a5568; --bg-body: #f7fafc; --border: #e2e8f0; --radius: 12px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; }
        .site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .desktop-nav { display: flex; gap: 30px; align-items: center; }
        .desktop-nav a:hover { color: var(--primary); }
        .menu-toggle { display: none; cursor: pointer; }
        .drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 998; }
        .drawer-mask.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 999; transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
        .drawer-nav { padding: 20px; flex: 1; }
        .drawer-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--border); }
        .site-footer { background: #1a202c; color: #a0aec0; padding: 80px 0 30px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
        .footer-logo span { color: #fff; }
        ul { list-style: none; }

        
        .tag-hero { background: #fff; padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
        .tag-hero h1 { font-size: 36px; margin-bottom: 15px; }
        .tag-hero p { color: var(--text-sub); max-width: 600px; margin: 0 auto; }
        
        .tag-cloud-wrap { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-body); border: 1px solid var(--border); border-radius: 30px; font-size: 15px; color: var(--text-main); }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
        .tag-count { font-size: 12px; opacity: 0.7; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
        }