﻿:root {
      --primary: #B45CFF;
      --secondary: rgb(14,116,144);
      --accent: #FF6B8B;
      --border-light: rgba(15,23,42,.08);
      --slate-50: #F8FAFC;
      --slate-100: #F1F5F9;
      --slate-900: #0F172A;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--slate-900);
      background-color: var(--slate-50);
      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); -webkit-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; min-width:0; flex-shrink:0; }
    .logo img{ display:block; height:40px; width:auto; max-width:160px; object-fit:contain; flex-shrink:0; }
    .logo span{ display:inline-block; font-size:18px; font-weight:800; line-height:1.2; color:#111827; white-space:nowrap; max-width:180px; overflow:hidden; text-overflow:ellipsis; }
    .desktop-nav{ display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; flex:1; overflow-x:auto; scrollbar-width:none; }
    .desktop-nav::-webkit-scrollbar{ display:none; }
    .desktop-nav a{ display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 14px; border-radius:999px; font-size:14px; font-weight:600; color:#334155; text-decoration:none; white-space:nowrap; flex-shrink:0; }
    .desktop-nav a:hover { background: rgba(180, 92, 255, 0.08); color: var(--primary); }
    .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; flex-shrink:0; }
    .mobile-menu-btn span{ display:block; width:20px; height:2px; border-radius:999px; 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; height:100dvh; background:#ffffff; color:#111827; transform:translateX(-105%); transition:transform .28s ease; box-shadow:24px 0 60px rgba(15,23,42,.22); display:flex; flex-direction:column; overflow:hidden; }
    .drawer-head{ min-height:76px; padding:18px 18px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid rgba(15,23,42,.08); flex-shrink:0; }
    .drawer-logo img{ height:36px; max-width:130px; }
    .drawer-logo span{ max-width:150px; font-size:17px; }
    .drawer-close{ width:40px; height:40px; border:0; border-radius:14px; background:rgba(15,23,42,.08); color:#111827; font-size:26px; line-height:1; cursor:pointer; flex-shrink:0; }
    .drawer-body{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; 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; line-height:1.35; word-break:break-word; overflow-wrap:anywhere; }
    .drawer-nav a:hover{ background:rgba(180, 92, 255, 0.12); color:var(--primary); }
    body.drawer-open{ overflow:hidden; touch-action:none; }
    body.drawer-open .mobile-nav-mask{ opacity:1; visibility:visible; pointer-events:auto; }
    body.drawer-open .mobile-drawer{ transform:translateX(0); }

    
    .inner-banner {
      background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
      color: #FFF;
      padding: 60px 16px;
      text-align: center;
    }

    .banner-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      margin-bottom: 12px;
      background: linear-gradient(135deg, #FFF, #D8B4FE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .tags-index-wrapper {
      width: min(900px, calc(100% - 32px));
      margin: 60px auto 100px;
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      border-radius: 24px;
      padding: 48px;
    }

    .tags-description {
      color: #64748B;
      font-size: 15px;
      text-align: center;
      max-width: 600px;
      margin: 0 auto 40px;
    }

    .tags-pool {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    .tags-pool-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: var(--slate-50);
      border: 1px solid var(--border-light);
      border-radius: 99px;
      font-size: 14px;
      font-weight: 700;
      color: #334155;
      transition: all 0.2s ease;
    }

    .tags-pool-item:hover {
      background: rgba(14, 116, 144, 0.08);
      color: var(--secondary);
      border-color: rgba(14, 116, 144, 0.2);
      transform: translateY(-2px);
    }

    .tags-count-badge {
      font-size: 11px;
      background: rgba(15, 23, 42, 0.06);
      padding: 2px 6px;
      border-radius: 99px;
      color: #64748B;
    }

    
    .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; align-items:start; }
    .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; line-height:1.55; text-decoration:none; word-break:break-word; overflow-wrap:anywhere; }
    .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; line-height:1.6; }

    @media (max-width: 900px) {
      .header-inner{ width:min(100% - 24px, 1200px); min-height:64px; gap:12px; }
      .desktop-nav{ display:none !important; }
      .mobile-menu-btn{ display:inline-flex !important; }
      .logo img{ height:34px; max-width:120px; }
      .logo span{ font-size:16px; max-width:150px; }
      .footer-inner{ width:min(100% - 24px, 1200px); grid-template-columns:1fr 1fr; gap:24px 18px; padding:42px 0 28px; }
      .footer-brand{ grid-column:1 / -1; }
      .footer-bottom{ width:min(100% - 24px, 1200px); flex-direction:column; align-items:flex-start; }
      .tags-index-wrapper { padding: 30px 20px; }
    }

    @media (max-width: 520px) {
      .mobile-drawer{ width:88vw; }
      .logo span{ max-width:120px; }
      .drawer-logo span{ max-width:120px; }
      .footer-inner{ grid-template-columns:1fr; }
    }