﻿:root { --primary: rgb(24, 119, 242); --text-main: #1a1a1a; --text-sub: #666666; --bg-body: #f7f9fc; --border-color: #eaeaea; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        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; }
        
        .header { background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; }
        .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
        .logo img { display: block; height: 36px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; color: var(--primary); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; }
        .nav-desktop a { font-size: 16px; font-weight: 500; }
        .menu-toggle { display: none; font-size: 24px; cursor: pointer; }

        .mobile-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; }
        .mobile-mask.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: #fff; z-index: 1002; 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 { font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; flex: 1; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 15px 0; border-bottom: 1px dashed var(--border-color); }

        .tag-hero { margin-top: 70px; background: #001529; color: #fff; padding: 60px 20px; text-align: center; }
        .tag-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
        .tag-hero p { font-size: 16px; opacity: 0.8; max-width: 600px; margin: 0 auto; }

        .tag-container { max-width: 1200px; margin: 40px auto; padding: 40px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .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-color); border-radius: 30px; font-size: 15px; color: var(--text-main); transition: all 0.3s; }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(24,119,242,0.3); }
        .tag-count { font-size: 12px; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }
        .tag-item:hover .tag-count { background: rgba(255,255,255,0.2); }

        .tag-guide { margin-top: 50px; text-align: center; padding-top: 40px; border-top: 1px dashed var(--border-color); }
        .tag-guide h3 { font-size: 24px; margin-bottom: 15px; color: var(--primary); }
        .tag-guide p { color: var(--text-sub); }

        .footer { background: #001529; color: #a0aec0; padding: 60px 20px 20px; margin-top: 40px;}
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; margin-bottom: 20px; font-size: 18px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
        .footer-bottom-links { display: flex; gap: 15px; }

        @media (max-width: 992px) {
            .nav-desktop { display: none; }
            .menu-toggle { display: block; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .tag-container { padding: 20px; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; text-align: center; gap:10px; }
        }