:root{
      --theme:#0B3D91;
      --template-theme:{主题色};
      --theme-dark:#072b68;
      --theme-soft:#eaf2ff;
      --ink:#101828;
      --muted:#667085;
      --line:#e4e7ec;
      --surface:#ffffff;
      --page:#f7f9fc;
      --shadow:0 18px 50px rgba(16,24,40,.12);
      --radius:18px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--page);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
      overflow-x:hidden;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{cursor:pointer}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{
      color:#dce9ff;
      background:#061c42;
      border-bottom:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-links{display:flex;align-items:center;gap:18px}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.97);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 20px rgba(16,24,40,.04);
    }
    .header-inner{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--theme);
      font-size:18px;
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:38px;
      height:38px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      margin:0;
      padding:0;
      display:flex;
      align-items:stretch;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:stretch;
    }
    .nav-link{
      position:relative;
      display:flex;
      align-items:center;
      padding:0 12px;
      color:#344054;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--theme)}
    .nav-link::after{
      content:"";
      position:absolute;
      right:12px;
      bottom:15px;
      left:12px;
      height:2px;
      border-radius:2px;
      background:var(--theme);
      transform:scaleX(0);
      transition:.2s ease;
    }
    .nav-link:hover::after,.nav-item:focus-within>.nav-link::after{transform:scaleX(1)}
    .nav-link.has-arrow{padding-right:25px}
    .nav-link.has-arrow::before{
      content:"";
      position:absolute;
      top:50%;
      right:11px;
      width:6px;
      height:6px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:translateY(-70%) rotate(45deg);
    }

    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(8px);
      transition:opacity .18s ease,transform .18s ease,visibility .18s;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow);
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      pointer-events:auto;
      transform:translateY(0);
    }
    .dropdown-panel{
      left:0;
      width:310px;
      padding:18px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-title{
      margin:0 0 10px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
    }
    .dropdown-panel>a:not(.dropdown-all){
      display:block;
      padding:9px 0;
      color:#344054;
      font-size:14px;
      border-bottom:1px solid #f0f2f5;
    }
    .dropdown-panel>a:hover{color:var(--theme)}
    .dropdown-all{
      display:block;
      margin-top:12px;
      padding:10px 12px;
      color:#fff;
      text-align:center;
      font-size:13px;
      font-weight:800;
      background:var(--theme);
      border-radius:10px;
    }

    .mega-menu{
      left:50%;
      width:min(860px,calc(100vw - 40px));
      padding:22px;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,.nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .mega-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:15px;
      padding-bottom:13px;
      border-bottom:1px solid var(--line);
    }
    .mega-head strong{color:var(--theme);font-size:17px}
    .mega-head span{color:var(--muted);font-size:13px}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      padding:12px;
      border:1px solid #edf0f5;
      border-radius:13px;
      transition:.2s ease;
    }
    .mega-card:hover{
      border-color:#b8cff7;
      background:#f6f9ff;
      transform:translateY(-2px);
    }
    .mega-card img{
      width:40px;
      height:40px;
      margin-bottom:8px;
      object-fit:cover;
      border-radius:9px;
    }
    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#1d2939;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:5px 0 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .mega-meta{
      display:flex;
      flex-wrap:wrap;
      gap:4px 8px;
      margin-top:7px;
      color:#667085;
      font-size:11px;
    }
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }
    .mega-categories a{
      padding:6px 10px;
      color:#344054;
      background:#f2f4f7;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .mega-categories a:hover{color:#fff;background:var(--theme)}
    .mega-footer{
      display:block;
      margin-top:15px;
      padding-top:13px;
      color:var(--theme);
      text-align:right;
      font-size:13px;
      font-weight:800;
      border-top:1px solid var(--line);
    }

    .header-btns{
      display:flex;
      align-items:center;
      gap:8px;
      flex-shrink:0;
    }
    .header-btns>a{
      padding:9px 13px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
      border:1px solid #c6d7f5;
      border-radius:10px;
    }
    .header-btns>a:last-of-type{color:#fff;background:var(--theme);border-color:var(--theme)}
    .hamburger{
      width:42px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      transition:.2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      z-index:998;
      inset:0;
      visibility:hidden;
      opacity:0;
      background:rgba(3,14,33,.58);
      backdrop-filter:blur(3px);
      transition:.25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      z-index:999;
      top:0;
      right:0;
      width:min(390px,90vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(0,0,0,.18);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      z-index:2;
      top:0;
      display:flex;
      align-items:center;
      gap:8px;
      min-height:70px;
      padding:12px 18px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{
      padding:8px 12px;
      color:#fff;
      font-size:13px;
      font-weight:800;
      background:var(--theme);
      border-radius:9px;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      color:#344054;
      font-size:27px;
      line-height:1;
      background:#f2f4f7;
      border:0;
      border-radius:10px;
    }
    .drawer-menu{padding:14px 18px 30px}
    .drawer-link,.drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      min-height:48px;
      padding:0 3px;
      color:#1d2939;
      text-align:left;
      font-weight:800;
      background:transparent;
      border:0;
      border-bottom:1px solid #edf0f5;
    }
    .drawer-toggle{position:relative}
    .drawer-toggle::after{
      content:"+";
      margin-left:auto;
      color:var(--theme);
      font-size:20px;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:8px 0 8px 14px;
      border-bottom:1px solid #edf0f5;
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:8px 5px;
      color:var(--muted);
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--theme)}

    .tag-index-page{min-height:620px}
    .tag-index-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:78px 0 62px;
      color:#fff;
      text-align:center;
      background:
        radial-gradient(circle at 20% 20%,rgba(111,168,255,.28),transparent 28%),
        radial-gradient(circle at 85% 35%,rgba(155,94,255,.22),transparent 30%),
        linear-gradient(145deg,#04142f,#0B3D91 58%,#071e48);
    }
    .tag-index-page .tag-hero::before,
    .tag-index-page .tag-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(188,216,255,.2);
      border-radius:50%;
    }
    .tag-index-page .tag-hero::before{
      width:360px;
      height:360px;
      top:-250px;
      left:calc(50% - 180px);
    }
    .tag-index-page .tag-hero::after{
      width:560px;
      height:560px;
      right:-350px;
      bottom:-430px;
    }
    .tag-index-page .breadcrumb{
      position:relative;
      z-index:1;
      display:flex;
      justify-content:center;
      gap:8px;
      margin-bottom:17px;
      color:#cfe0ff;
      font-size:14px;
    }
    .tag-index-page .breadcrumb a:hover{color:#fff}
    .tag-index-page .eyebrow{
      position:relative;
      z-index:1;
      display:inline-flex;
      padding:6px 12px;
      color:#d9e8ff;
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.16);
      border-radius:999px;
    }
    .tag-index-page h1{
      position:relative;
      z-index:1;
      max-width:850px;
      margin:18px auto 12px;
      font-size:clamp(36px,6vw,64px);
      line-height:1.12;
      letter-spacing:-.04em;
    }
    .tag-index-page .tag-hero p{
      position:relative;
      z-index:1;
      max-width:700px;
      margin:0 auto;
      color:#d6e4fb;
      font-size:17px;
    }
    .tag-index-page .tag-section{padding:68px 0 86px}
    .tag-index-page .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:24px;
      margin-bottom:27px;
    }
    .tag-index-page .section-head h2{
      margin:0 0 5px;
      font-size:30px;
      line-height:1.25;
    }
    .tag-index-page .section-head p{margin:0;color:var(--muted)}
    .tag-index-page .tag-count{
      flex-shrink:0;
      padding:8px 13px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
      background:var(--theme-soft);
      border-radius:999px;
    }
    .tag-index-page .tag-cloud{
      min-height:270px;
      display:flex;
      flex-wrap:wrap;
      align-content:center;
      justify-content:center;
      gap:13px;
      padding:40px;
      background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg,#bfd5fa,#ebe4ff) border-box;
      border:1px solid transparent;
      border-radius:26px;
      box-shadow:0 20px 55px rgba(11,61,145,.08);
    }
    .tag-index-page .tag-chip{
      display:inline-flex;
      align-items:center;
      gap:9px;
      min-height:45px;
      padding:10px 16px;
      color:#243b63;
      font-size:15px;
      font-weight:800;
      background:#f4f7fc;
      border:1px solid #dfe8f7;
      border-radius:999px;
      transition:.2s ease;
    }
    .tag-index-page .tag-chip:nth-child(3n+1){font-size:18px}
    .tag-index-page .tag-chip:nth-child(4n+2){color:#55299d;background:#f5efff;border-color:#e5d7ff}
    .tag-index-page .tag-chip:nth-child(5n+3){color:#075f72;background:#edfbff;border-color:#cceff6}
    .tag-index-page .tag-chip:hover{
      color:#fff;
      background:var(--theme);
      border-color:var(--theme);
      box-shadow:0 10px 22px rgba(11,61,145,.22);
      transform:translateY(-3px);
    }
    .tag-index-page .tag-chip small{
      padding:2px 7px;
      color:inherit;
      font-size:11px;
      font-weight:800;
      background:rgba(255,255,255,.65);
      border-radius:999px;
    }
    .tag-index-page .tag-chip:hover small{background:rgba(255,255,255,.18)}
    .tag-index-page .topic-guide{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
      margin-top:28px;
    }
    .tag-index-page .guide-card{
      padding:24px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:18px;
    }
    .tag-index-page .guide-card span{
      width:38px;
      height:38px;
      display:grid;
      place-items:center;
      margin-bottom:14px;
      color:#fff;
      font-weight:900;
      background:var(--theme);
      border-radius:11px;
    }
    .tag-index-page .guide-card h3{margin:0 0 7px;font-size:18px}
    .tag-index-page .guide-card p{margin:0;color:var(--muted);font-size:14px}

    .footer{
      color:#cbd5e1;
      background:#07162f;
    }
    .footer-main{
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1.1fr;
      gap:42px;
      padding-top:58px;
      padding-bottom:45px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:400px;
      margin:18px 0 0;
      color:#9fb0c8;
      font-size:14px;
    }
    .footer h3{
      margin:4px 0 15px;
      color:#fff;
      font-size:15px;
    }
    .footer-links,.footer-contact{display:flex;flex-direction:column;gap:9px}
    .footer-links a,.footer-contact a{
      color:#aebdd1;
      font-size:14px;
    }
    .footer a:hover{color:#fff}
    .footer-social{margin-top:5px}
    .footer-bottom{
      min-height:72px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
      color:#8191a8;
      font-size:12px;
      border-top:1px solid rgba(255,255,255,.1);
    }

    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-inner{min-height:70px}
      .header-btns{margin-left:auto}
    }
    @media (max-width:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{min-height:42px}
      .topbar-inner>span{display:none}
      .topbar-links{width:100%;justify-content:space-between;gap:10px}
      .header-btns>a{display:none}
      .tag-index-page .tag-hero{padding:58px 0 48px}
      .tag-index-page .tag-hero p{font-size:15px}
      .tag-index-page .tag-section{padding:48px 0 60px}
      .tag-index-page .section-head{align-items:flex-start;flex-direction:column;gap:12px}
      .tag-index-page .tag-cloud{justify-content:flex-start;padding:24px 18px}
      .tag-index-page .tag-chip,.tag-index-page .tag-chip:nth-child(3n+1){font-size:14px}
      .tag-index-page .topic-guide{grid-template-columns:1fr}
      .footer-main{grid-template-columns:1fr 1fr;gap:30px;padding-top:44px}
      .footer-brand{grid-column:1/-1}
      .footer-bottom{align-items:flex-start;flex-direction:column;padding-top:20px;padding-bottom:20px}
    }
    @media (max-width:480px){
      .topbar-links{flex-direction:column;align-items:flex-start;padding:7px 0}
      .logo span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .tag-index-page .tag-cloud{gap:9px}
      .tag-index-page .tag-chip{min-height:40px;padding:8px 12px}
      .footer-main{grid-template-columns:1fr}
      .footer-brand{grid-column:auto}
    }