﻿:root {
      --primary: #0891B2;
      --secondary: #14B8A6;
      --bg-light: #ECFEFF;
      --bg-dark: #062A31;
      --text-main: #083344;
      --text-muted: #334155;
      --accent: #99F6E4;
      --white: #ffffff;
      --border-color: rgba(15, 23, 42, 0.08);
      --transition: all 0.3s ease;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--text-main); background-color: #fcfdfd; line-height: 1.6;
    }

    
    .site-header {
      position: sticky; top: 0; z-index: 900; width: 100%;
      background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color);
    }
    .header-inner {
      width: min(1200px, calc(100% - 32px)); margin: 0 auto;
      min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; color: var(--text-main); }
    .desktop-nav { display: flex; align-items: center; gap: 8px; }
    .desktop-nav a {
      display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
      border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none;
    }
    .desktop-nav a:hover { color: var(--primary); background: var(--bg-light); }
    .mobile-menu-btn {
      display: none; width: 44px; height: 44px; border: 0; background: rgba(15, 23, 42, 0.08);
      border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    }
    .mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--text-main); }

    
    .mobile-nav-mask { position: fixed; inset: 0; z-index: 998; background: rgba(15, 23, 42, 0.54); opacity: 0; visibility: hidden; }
    .mobile-drawer {
      position: fixed; top: 0; left: 0; z-index: 999; width: min(86vw, 360px); height: 100vh;
      background: #fff; transform: translateX(-105%); transition: transform .28s ease; display: flex; flex-direction: column;
    }
    .drawer-head {
      min-height: 76px; padding: 18px; display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid var(--border-color);
    }
    .drawer-close { width: 40px; height: 40px; border: 0; border-radius: 14px; background: rgba(15,23,42,0.08); font-size: 26px; }
    .drawer-body { flex: 1; overflow-y: auto; padding: 14px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a {
      display: flex; align-items: center; min-height: 48px; padding: 13px 14px; border-radius: 14px;
      background: rgba(15,23,42,0.04); color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 700;
    }
    body.drawer-open { overflow: hidden; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .tags-banner {
      background: linear-gradient(135deg, var(--bg-dark) 0%, #03171c 100%);
      color: var(--white); text-align: center; padding: 60px 0;
    }
    .tags-banner h1 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
    .tags-banner p { color: var(--accent); font-size: 15px; }

    .tags-container {
      width: min(1000px, calc(100% - 32px)); margin: 60px auto;
    }

    .theme-tags-intro {
      text-align: center; margin-bottom: 40px;
    }
    .theme-tags-intro h2 { font-size: 24px; color: var(--text-main); margin-bottom: 12px; }
    .theme-tags-intro p { font-size: 14px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

    .full-tag-cloud {
      background: var(--white); border: 1px solid var(--border-color); border-radius: 20px;
      padding: 48px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
      box-shadow: 0 4px 20px rgba(8,145,178,0.04);
    }

    .tag-cloud-item {
      display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
      color: var(--text-muted); background: #f1f5f9; padding: 10px 20px; border-radius: 12px;
      text-decoration: none; transition: var(--transition);
    }
    .tag-cloud-item span {
      font-size: 11px; background: rgba(15,23,42,0.08); padding: 2px 6px; border-radius: 4px; color: var(--text-muted);
    }
    .tag-cloud-item:hover {
      background: var(--primary); color: var(--white); transform: translateY(-2px);
    }
    .tag-cloud-item:hover span {
      background: rgba(255,255,255,0.25); color: var(--white);
    }

    
    .site-footer {
      background: var(--bg-dark); color: #e5e7eb; padding: 56px 0 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-inner {
      width: min(1200px, calc(100% - 32px)); margin: 0 auto;
      display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px;
    }
    .footer-brand p { margin-top: 16px; color: rgba(229, 231, 235, 0.72); font-size: 14px; }
    .footer-logo span { color: var(--white); }
    .footer-column h3 { margin-bottom: 14px; font-size: 15px; color: var(--white); }
    .footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-column a, .footer-column span { color: rgba(229, 231, 235, 0.72); text-decoration: none; font-size: 14px; }
    .footer-column a:hover { color: var(--white); }
    .footer-bottom {
      width: min(1200px, calc(100% - 32px)); margin: 32px auto 0; padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center;
      font-size: 13px; color: rgba(229,231,235,0.62);
    }
    .footer-bottom p { margin:0; }
    .footer-bottom a { color: rgba(229,231,235,0.72); text-decoration:none; }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height:64px; }
      .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .full-tag-cloud { padding: 24px; }
      .footer-inner { grid-template-columns: 1fr; gap: 24px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }