﻿:root {
      --primary: rgb(241, 250, 140);
      --primary-dark: #d2db6a;
      --bg-dark: #121214;
      --bg-light: #f8f9fa;
      --text-dark: #1a1a1e;
      --text-light: #f5f5f7;
      --text-gray: #6e6e73;
      --border-color: #e5e5ea;
      --accent-color: #ff3e6c;
      --card-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

    
    .site-header { background: var(--bg-dark); color: var(--text-light); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 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; border-radius: 6px; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; letter-spacing: 0.5px; }

    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { font-size: 15px; font-weight: 600; color: #d1d1d6; padding: 6px 12px; border-radius: 4px; }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--text-dark); background: var(--primary); }

    .drawer-trigger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 5px; }
    .drawer-trigger span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: 0.3s; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 101; display: none; opacity: 0; transition: opacity 0.3s; }
    .drawer-overlay.active { display: block; opacity: 1; }
    .drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-dark); color: var(--text-light); z-index: 102; padding: 20px; transition: left 0.3s ease; display: flex; flex-direction: column; gap: 30px; }
    .drawer-menu.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 28px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
    .drawer-nav a { font-size: 16px; font-weight: 600; padding: 10px; border-radius: 4px; color: #d1d1d6; }
    .drawer-nav a:hover { background: var(--primary); color: var(--text-dark); }

    
    .tag-hero { background: linear-gradient(135deg, #1c1c1e 0%, #0c0c0e 100%); color: var(--text-light); padding: 50px 20px; text-align: center; }
    .tag-hero h1 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
    .tag-hero p { font-size: 15px; color: #aeaeb2; max-width: 600px; margin: 0 auto; }

    
    .tag-index-container { max-width: 1000px; margin: 50px auto; padding: 0 20px; }
    .tag-index-section { background: #fff; border-radius: 12px; padding: 40px; box-shadow: var(--card-shadow); }
    .tag-index-section h2 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 25px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
    
    .tags-large-wrap { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
    .tags-large-wrap a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; background: var(--bg-light); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 30px; font-weight: 600; color: var(--text-dark); }
    .tags-large-wrap a span { background: var(--primary); color: var(--text-dark); font-size: 11px; font-weight: 800; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
    .tags-large-wrap a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); background: var(--bg-dark); color: var(--primary); border-color: var(--bg-dark); }

    
    .site-footer { background: var(--bg-dark); color: #8e8e93; font-size: 14px; margin-top: 60px; border-top: 5px solid var(--primary); }
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 50px 20px 20px 20px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 30px; }
    .footer-brand .logo { margin-bottom: 15px; }
    .footer-brand .brand-desc { font-size: 13px; line-height: 1.6; color: #aeaeb2; }
    .footer-grid h4 { color: var(--text-light); font-size: 16px; margin-bottom: 20px; font-weight: 700; position: relative; }
    .footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-grid ul a:hover { color: var(--primary); }
    
    .friend-links { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 20px; }
    .friend-title { font-size: 15px; font-weight: bold; color: var(--text-light); margin-bottom: 10px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 15px; }
    .friend-content a { color: #8e8e93; font-size: 13px; }
    .friend-content a:hover { color: var(--primary); }

    .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 12px; color: #636366; }

    @media (max-width: 992px) {
      .drawer-trigger { display: flex; }
      .desktop-nav { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }