﻿:root {
      --primary-accent: rgb(234,67,53);
      --text-main: #334155;
      --text-dark: #0F172A;
      --text-muted: #64748B;
      --border-color: rgba(15,23,42,0.08);
      --font-stack: system-ui, -apple-system, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-stack); color: var(--text-main); background-color: #FAFAFA; line-height: 1.6; }

    
    .site-header{ position:sticky; top:0; z-index:900; width:100%; background:rgba(255,255,255,.92); backdrop-filter:blur(16px); border-bottom:1px solid rgba(15,23,42,.08); }
    .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; object-fit:contain; }
    .logo span{ display:inline-block; font-size:18px; font-weight:800; color:#111827; }
    .desktop-nav{ display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:1; overflow-x:auto; scrollbar-width:none; }
    .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:#334155; text-decoration:none; white-space:nowrap; }
    .mobile-menu-btn{ display:none; width:44px; height:44px; border:0; border-radius:14px; background:rgba(15,23,42,.08); align-items:center; justify-content:center; flex-direction:column; gap:5px; cursor:pointer; }
    .mobile-menu-btn span{ display:block; width:20px; height:2px; background:#111827; }

    .mobile-nav-mask{ position:fixed; inset:0; z-index:998; background:rgba(15,23,42,.54); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s ease, visibility .25s ease; }
    .mobile-drawer{ position:fixed; top:0; left:0; z-index:999; width:min(86vw, 360px); height:100vh; background:#ffffff; transform:translateX(-105%); transition:transform .28s ease; box-shadow:24px 0 60px rgba(15,23,42,.22); 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 rgba(15,23,42,.08); }
    .drawer-close{ width:40px; height:40px; border:0; border-radius:14px; background:rgba(15,23,42,.08); font-size:26px; cursor:pointer; }
    .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; width:100%; min-height:48px; padding:13px 14px; border-radius:14px; background:rgba(15,23,42,.04); color:#111827; text-decoration:none; font-size:15px; font-weight:700; }
    body.drawer-open{ overflow:hidden; }
    body.drawer-open .mobile-nav-mask{ opacity:1; visibility:visible; pointer-events:auto; }
    body.drawer-open .mobile-drawer{ transform:translateX(0); }

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

    .tag-index-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .tag-index-header h1 {
      font-size: 32px;
      font-weight: 900;
      color: var(--text-dark);
      margin-bottom: 12px;
    }

    .tag-index-header p {
      font-size: 16px;
      color: var(--text-muted);
    }

    .tag-index-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    }

    .tag-cloud-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    .tag-cloud-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #F8FAFC;
      border: 1px solid var(--border-color);
      padding: 10px 20px;
      border-radius: 999px;
      text-decoration: none;
      color: var(--text-dark);
      font-size: 14px;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .tag-cloud-item:hover {
      background: var(--primary-accent);
      color: #ffffff;
      border-color: var(--primary-accent);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(234,67,53, 0.25);
    }

    .tag-count {
      display: inline-block;
      background: rgba(15,23,42,0.06);
      color: var(--text-muted);
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 999px;
      font-weight: 700;
    }

    .tag-cloud-item:hover .tag-count {
      background: rgba(255,255,255,0.2);
      color: #ffffff;
    }

    
    .site-footer{ width:100%; background:#0f172a; color:#e5e7eb; overflow:hidden; }
    .footer-inner{ width:min(1200px, calc(100% - 32px)); margin:0 auto; padding:54px 0 34px; display:grid; grid-template-columns:minmax(240px,1.4fr) repeat(3, minmax(150px, .8fr)); gap:28px; }
    .footer-logo span{ color:#ffffff; }
    .footer-brand p{ margin:18px 0 0; color:rgba(226,232,240,.78); line-height:1.8; font-size:14px; max-width:420px; }
    .footer-column h3{ margin:0 0 14px; color:#ffffff; font-size:15px; font-weight:800; }
    .footer-column ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
    .footer-column li, .footer-column a{ color:rgba(226,232,240,.78); font-size:14px; text-decoration:none; }
    .footer-column a:hover{ color:#ffffff; }
    .footer-bottom{ width:min(1200px, calc(100% - 32px)); margin:0 auto; padding:18px 0 24px; border-top:1px solid rgba(226,232,240,.12); display:flex; align-items:center; justify-content:space-between; gap:14px; color:rgba(226,232,240,.68); font-size:13px; }

    @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; }
      .footer-inner{ width:min(100% - 24px, 1200px); grid-template-columns:1fr 1fr; gap:24px 18px; }
      .footer-brand{ grid-column:1 / -1; }
      .footer-bottom{ width:min(100% - 24px, 1200px); flex-direction:column; align-items:flex-start; }
      .tag-index-card { padding: 24px; }
    }