﻿:root {
            --theme-base: rgb(223, 230, 233);
            --theme-light: rgba(223, 230, 233, 0.3);
            --theme-dark: #b2bec3;
            --primary-accent: #d63031;
            --bg-color: #f8f9fa;
            --text-main: #2d3436;
            --text-muted: #636e72;
            --white: #ffffff;
            --border-radius: 12px;
            --transition: all 0.3s ease;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .head-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .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; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; padding: 5px 0; border-bottom: 2px solid transparent; }
        .desktop-nav a:hover { color: var(--primary-accent); border-color: var(--primary-accent); }
        .menu-btn { display: none; background: none; border: none; padding: 10px; }
        .menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; }
        
        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--white); z-index: 1000; transition: var(--transition); display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-head { padding: 20px; border-bottom: 1px solid var(--theme-base); display: flex; justify-content: space-between; align-items: center; background: var(--theme-light); }
        .drawer-close { font-size: 28px; background: none; border: none; cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 15px 0; font-size: 18px; border-bottom: 1px solid #f0f0f0; }

        
        .tag-hero { background: var(--white); border-bottom: 1px solid var(--theme-base); padding: 60px 0; text-align: center; }
        .tag-hero h1 { font-size: 32px; color: var(--text-main); margin-bottom: 15px; }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        .tag-content { padding: 60px 0; min-height: 50vh; }
        .tag-cloud-container { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; padding: 10px 20px; background: var(--white); border: 1px solid #e0e0e0; border-radius: 30px; color: var(--text-main); font-size: 15px; transition: var(--transition); box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
        .tag-item .count { margin-left: 8px; background: var(--theme-light); color: var(--text-muted); font-size: 12px; padding: 2px 6px; border-radius: 10px; }
        .tag-item:hover { background: var(--theme-base); border-color: var(--theme-dark); transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }
        .tag-item:hover .count { background: var(--white); }

        
        footer { background: #1e272e; color: #d2dae2; padding: 60px 0 20px; }
        .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .foot-about .logo span { color: var(--white); }
        .foot-about p { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #808e9b; }
        .foot-title { font-size: 18px; color: var(--white); margin-bottom: 20px; font-weight: bold; }
        .foot-links li { margin-bottom: 10px; }
        .foot-links a { color: #808e9b; font-size: 15px; }
        .foot-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #2f3640; font-size: 14px; color: #808e9b; }

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