:root{
      --primary:#0B3D91;
      --primary-dark:#072b69;
      --primary-soft:#eaf1ff;
      --theme-template:{主题色};
      --ink:#171a22;
      --muted:#667085;
      --line:#e4e8f0;
      --surface:#ffffff;
      --surface-soft:#f5f7fb;
      --purple:#6d4fc2;
      --shadow:0 18px 48px rgba(18,31,53,.10);
      --radius:20px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#f7f8fc;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-locked{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:0 auto}

    .topbar{
      color:#dbe6ff;
      background:#081a38;
      border-bottom:1px solid rgba(255,255,255,.09);
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar-contact a{transition:color .2s ease}
    .topbar-contact a:hover{color:#fff}

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid rgba(11,61,145,.10);
      box-shadow:0 5px 24px rgba(17,24,39,.05);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:28px;
    }
    .logo{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      gap:11px;
      color:#111827;
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:38px;
      height:38px;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .main-nav{flex:1;align-self:stretch}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      justify-content:center;
      gap:2px;
      padding:0;
      margin:0;
      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:#313744;
      font-size:15px;
      font-weight:650;
      white-space:nowrap;
      transition:color .2s ease;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--primary)}
    .nav-link::after{
      content:"";
      position:absolute;
      right:12px;
      bottom:18px;
      left:12px;
      height:2px;
      background:var(--primary);
      transform:scaleX(0);
      transition:transform .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:10px;
      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%;
      left:50%;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translate(-50%,10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:0 24px 60px rgba(18,31,53,.16);
    }
    .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:translate(-50%,0);
    }
    .dropdown-panel::before,.mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:12px;
    }
    .dropdown-panel{
      width:320px;
      padding:12px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-panel>a:not(.dropdown-all){
      display:block;
      padding:10px 12px;
      color:#404756;
      border-radius:9px;
      font-size:14px;
    }
    .dropdown-panel>a:not(.dropdown-all):hover{color:var(--primary);background:var(--primary-soft)}
    .dropdown-all,.mega-footer{
      display:block;
      margin-top:8px;
      padding:11px 13px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:10px;
      font-size:14px;
      font-weight:750;
      text-align:center;
    }
    .mega-menu{
      width:min(790px,calc(100vw - 40px));
      padding:20px;
      border-radius:0 0 20px 20px;
    }
    .mega-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      margin-bottom:14px;
      padding-bottom:12px;
      border-bottom:1px solid var(--line);
    }
    .mega-head strong{color:#172033;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;
      display:flex;
      align-items:center;
      gap:11px;
      min-height:76px;
      padding:10px;
      background:#fafbfe;
      border:1px solid #edf0f5;
      border-radius:12px;
      transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }
    .mega-card:hover{
      transform:translateY(-2px);
      border-color:#b9c9e8;
      box-shadow:0 8px 20px rgba(11,61,145,.09);
    }
    .mega-card img{
      flex:0 0 48px;
      width:48px;
      height:48px;
      object-fit:cover;
      background:#fff;
      border-radius:10px;
    }
    .mega-card-body{min-width:0;display:grid;gap:2px}
    .mega-card-body strong,.mega-card-body small{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-body strong{color:#202635;font-size:14px}
    .mega-card-body small{color:var(--muted);font-size:11px}
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }
    .mega-categories a{
      padding:6px 10px;
      color:#334155;
      background:#f0f3f9;
      border-radius:999px;
      font-size:12px;
    }
    .mega-categories a:hover{color:#fff;background:var(--primary)}

    .header-btns{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:10px;
      white-space:nowrap;
    }
    .header-btns>span,.header-btns>a:not(.account-btn){
      color:var(--primary);
      font-size:14px;
      font-weight:700;
    }
    .account-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 17px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:14px;
      font-weight:750;
      box-shadow:0 8px 18px rgba(11,61,145,.22);
      transition:background .2s ease,transform .2s ease;
    }
    .account-btn:hover{background:var(--primary-dark);transform:translateY(-1px)}
    .hamburger{
      display:none;
      width:42px;
      height:42px;
      padding:10px;
      background:#f2f5fa;
      border:0;
      border-radius:10px;
    }
    .hamburger span{
      display:block;
      width:100%;
      height:2px;
      margin:4px 0;
      background:#162033;
      transition:transform .2s ease,opacity .2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      z-index:90;
      inset:0;
      visibility:hidden;
      opacity:0;
      background:rgba(5,12,27,.58);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      z-index:100;
      top:0;
      right:0;
      width:min(390px,92vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 60px rgba(0,0,0,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      z-index:2;
      top:0;
      min-height:70px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 18px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{color:var(--primary);font-weight:750}
    .drawer-close{
      margin-left:auto;
      width:40px;
      height:40px;
      color:#172033;
      background:#f1f4f8;
      border:0;
      border-radius:10px;
      font-size:27px;
      line-height:1;
    }
    .drawer-menu{padding:12px 18px 28px}
    .drawer-link,.drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      min-height:50px;
      padding:0 12px;
      color:#242b39;
      background:transparent;
      border:0;
      border-bottom:1px solid #edf0f5;
      font-weight:700;
      text-align:left;
    }
    .drawer-toggle::after{
      content:"+";
      margin-left:auto;
      color:var(--primary);
      font-size:20px;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:6px 0 8px 14px;
      background:#f8faff;
      border-radius:0 0 12px 12px;
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:8px 12px;
      color:#596274;
      font-size:14px;
      border-left:2px solid #d9e2f4;
    }
    .drawer-submenu a:hover{color:var(--primary);border-left-color:var(--primary)}

    .category-page{min-height:650px}
    .category-page .category-intro{
      position:relative;
      overflow:hidden;
      padding:68px 0 62px;
      color:#fff;
      background:
        radial-gradient(circle at 18% 20%,rgba(149,116,230,.38),transparent 32%),
        radial-gradient(circle at 84% 75%,rgba(72,118,210,.34),transparent 30%),
        linear-gradient(135deg,#191426 0%,#2d2342 47%,#101827 100%);
    }
    .category-page .category-intro::before{
      content:"";
      position:absolute;
      inset:0;
      opacity:.36;
      background-image:
        linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
      background-size:44px 44px;
    }
    .category-page .intro-inner{position:relative;z-index:1;max-width:820px}
    .category-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:14px;
      padding:7px 12px;
      color:#f5efff;
      background:rgba(255,255,255,.11);
      border:1px solid rgba(255,255,255,.20);
      border-radius:999px;
      font-size:13px;
      font-weight:700;
      backdrop-filter:blur(12px);
    }
    .category-page .category-intro h1{
      margin:0 0 14px;
      font-size:clamp(36px,6vw,64px);
      line-height:1.08;
      letter-spacing:-.04em;
    }
    .category-page .category-intro p{
      max-width:720px;
      margin:0;
      color:#e6e1ed;
      font-size:17px;
    }
    .category-page .intro-meta{
      display:flex;
      flex-wrap:wrap;
      gap:9px;
      margin-top:24px;
    }
    .category-page .intro-meta span{
      padding:7px 11px;
      color:#e9edf7;
      background:rgba(9,12,20,.26);
      border:1px solid rgba(255,255,255,.14);
      border-radius:8px;
      font-size:12px;
    }

    .category-page .content-section{padding:54px 0 78px}
    .category-page .section-head{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:24px;
      margin-bottom:24px;
    }
    .category-page .section-head h2{
      margin:0;
      color:#172033;
      font-size:29px;
      line-height:1.25;
    }
    .category-page .section-head p{margin:5px 0 0;color:var(--muted)}
    .category-page .article-list{display:grid;gap:20px}
    .category-page .article-card{
      min-width:0;
      display:grid;
      grid-template-columns:320px minmax(0,1fr);
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 10px 30px rgba(27,38,60,.06);
      transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
    }
    .category-page .article-card:hover{
      transform:translateY(-3px);
      border-color:#bccbe7;
      box-shadow:var(--shadow);
    }
    .category-page .article-cover{
      position:relative;
      min-height:245px;
      overflow:hidden;
      background:#dfe6f2;
    }
    .category-page .article-cover img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .4s ease;
    }
    .category-page .article-card:hover .article-cover img{transform:scale(1.035)}
    .category-page .category-badge{
      position:absolute;
      top:16px;
      left:16px;
      max-width:calc(100% - 32px);
      padding:6px 11px;
      color:#fff;
      background:rgba(10,22,45,.78);
      border:1px solid rgba(255,255,255,.24);
      border-radius:999px;
      font-size:12px;
      font-weight:750;
      backdrop-filter:blur(8px);
    }
    .category-page .article-body{
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:25px 28px;
    }
    .category-page .article-body h3{
      margin:0 0 10px;
      color:#172033;
      font-size:23px;
      line-height:1.36;
      letter-spacing:-.015em;
    }
    .category-page .article-body h3 a:hover{color:var(--primary)}
    .category-page .article-summary{
      display:-webkit-box;
      overflow:hidden;
      margin:0 0 16px;
      color:#5f6878;
      font-size:15px;
      line-height:1.75;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .category-page .article-meta{
      display:flex;
      flex-wrap:wrap;
      gap:8px 15px;
      margin-bottom:13px;
      color:#7a8392;
      font-size:12px;
    }
    .category-page .article-meta span{display:inline-flex;align-items:center;gap:5px}
    .category-page .article-tags{
      margin-bottom:18px;
      color:#53627b;
      font-size:13px;
      word-break:break-word;
    }
    .category-page .article-tags strong{color:#26334a}
    .category-page .article-actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
      margin-top:auto;
      padding-top:15px;
      border-top:1px solid #edf0f5;
    }
    .category-page .read-more{
      display:inline-flex;
      align-items:center;
      gap:9px;
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }
    .category-page .read-more::after{content:"→";transition:transform .2s ease}
    .category-page .read-more:hover::after{transform:translateX(4px)}
    .category-page .market-note{color:#8a93a2;font-size:12px}

    .category-page .pagination{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
      margin-top:38px;
    }
    .category-page .pagination a{
      min-width:42px;
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:6px 13px;
      color:#3e4859;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      font-size:14px;
      font-weight:700;
      transition:color .2s ease,background .2s ease,border-color .2s ease;
    }
    .category-page .pagination a:hover,
    .category-page .pagination a.active,
    .category-page .pagination a.current{
      color:#fff;
      background:var(--primary);
      border-color:var(--primary);
    }

    .footer{
      color:#cbd5e1;
      background:#091426;
      border-top:1px solid rgba(255,255,255,.08);
    }
    .footer-main{
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1.1fr;
      gap:42px;
      padding:58px 0 42px;
    }
    .footer .logo{color:#fff}
    .footer .footer-brand p{
      max-width:410px;
      margin:18px 0 0;
      color:#9facbf;
      font-size:14px;
    }
    .footer h3{
      margin:4px 0 16px;
      color:#fff;
      font-size:15px;
    }
    .footer-links,.footer-contact{display:grid;gap:9px}
    .footer-links a,.footer-contact a{
      color:#aeb9ca;
      font-size:14px;
      transition:color .2s ease;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-social{margin-top:7px;color:#fff}
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      color:#8592a6;
      border-top:1px solid rgba(255,255,255,.09);
      font-size:13px;
    }

    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:block}
      .header-inner{min-height:70px}
      .header-btns{margin-left:auto}
      .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media (max-width:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{min-height:42px}
      .topbar-welcome{display:none}
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .topbar-contact a{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .header-btns>span,.header-btns>a:not(.account-btn),.account-btn{display:none}
      .logo span{max-width:155px}
      .category-page .category-intro{padding:49px 0 45px}
      .category-page .category-intro p{font-size:15px}
      .category-page .content-section{padding:38px 0 58px}
      .category-page .section-head{display:block}
      .category-page .section-head h2{font-size:25px}
      .category-page .article-card{grid-template-columns:1fr}
      .category-page .article-cover{min-height:220px;aspect-ratio:16/9}
      .category-page .article-body{padding:21px}
      .category-page .article-body h3{font-size:20px}
      .category-page .article-summary{-webkit-line-clamp:3}
      .category-page .article-actions{align-items:flex-start;flex-direction:column}
      .footer-main{grid-template-columns:1fr;gap:30px;padding:44px 0 34px}
      .footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding:18px 0}
    }

    @media (max-width:420px){
      .topbar-contact{font-size:11px}
      .logo img{width:34px;height:34px}
      .category-page .article-cover{min-height:190px}
      .category-page .article-meta{display:grid;grid-template-columns:1fr 1fr}
    }