﻿:root {
            --primary: rgb(55,65,81);
            --primary-dark: rgb(31,41,55);
            --bg-body: #f9fafb;
            --bg-white: #ffffff;
            --text-main: #111827;
            --text-muted: #6b7280;
            --border-color: #e5e7eb;
            --radius-md: 8px;
            --radius-lg: 12px;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * { 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: var(--transition); }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .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; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; }
        .desktop-nav { display: none; }
        @media (min-width: 992px) {
            .desktop-nav { display: block; flex: 1; margin: 0 40px; }
            .desktop-nav ul { display: flex; gap: 24px; align-items: center; }
            .desktop-nav a { font-weight: 500; font-size: 15px; padding: 8px 0; position: relative; }
            .desktop-nav a:hover { color: var(--primary); }
            .desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
            .desktop-nav a:hover::after { width: 100%; }
        }
        .mobile-menu-btn { display: block; background: none; border: none; padding: 8px; cursor: pointer; color: var(--text-main); }
        .mobile-menu-btn svg { width: 24px; height: 24px; fill: currentColor; }
        @media (min-width: 992px) { .mobile-menu-btn { display: none; } }
        
        .mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; opacity: 0; visibility: hidden; transition: var(--transition); }
        .mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-white); z-index: 101; transition: var(--transition); display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-color); }
        .drawer-close-btn { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; }
        .drawer-body { flex: 1; overflow-y: auto; padding: 20px 0; }
        .drawer-body ul li a { display: block; padding: 12px 24px; font-weight: 500; border-bottom: 1px solid #f3f4f6; }

        
        .page-header { background: var(--bg-white); padding: 50px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; text-align: center; }
        .page-title { font-size: 32px; font-weight: 800; color: var(--text-main); margin-bottom: 15px; }
        .page-desc { font-size: 16px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

        
        .tag-wrap { padding-bottom: 80px; }
        .tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
        .tag-item { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; display: block; transition: var(--transition); }
        .tag-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
        .tag-name { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; display: block; }
        .tag-count { font-size: 13px; color: var(--text-muted); background: #f3f4f6; padding: 2px 10px; border-radius: 12px; display: inline-block; }

        
        .tag-guide { margin-top: 60px; background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 30px; align-items: center; text-align: center; }
        @media (min-width: 768px) { .tag-guide { flex-direction: row; text-align: left; } }
        .guide-icon { width: 80px; height: 80px; background: var(--bg-body); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
        .guide-icon svg { width: 40px; height: 40px; fill: currentColor; }
        .guide-text h3 { font-size: 20px; margin-bottom: 10px; color: var(--text-main); }
        .guide-text p { font-size: 15px; color: var(--text-muted); }

        
        .site-footer { background: #1f2937; color: #9ca3af; padding: 60px 0 20px; font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
        .footer-brand .logo span { color: #fff; }
        .footer-desc { margin-top: 16px; line-height: 1.8; }
        .footer-nav h3, .footer-links h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-nav ul, .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-nav a:hover, .footer-links a:hover { color: #fff; }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        .footer-bottom-links { display: flex; gap: 16px; }