:root{
      --theme:#0B3D91;
      --theme-deep:#07285f;
      --theme-soft:#eaf2ff;
      --accent:#65d9ff;
      --ink:#12213b;
      --muted:#64748b;
      --line:#dce5f2;
      --surface:#ffffff;
      --page:#f5f8fc;
      --danger:#ef4444;
      --shadow:0 18px 48px rgba(11,61,145,.12);
      --radius:18px;
      --container:1200px;
    }

    *{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;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{color:inherit}
    .container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}

    .topbar{
      position:relative;
      z-index:120;
      color:#dbeafe;
      background:#061630;
      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:20px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:sticky;
      top:0;
      z-index:110;
      background:rgba(255,255,255,.96);
      border-bottom:1px solid rgba(220,229,242,.9);
      box-shadow:0 8px 28px rgba(15,35,70,.06);
      backdrop-filter:blur(16px);
    }
    .header-inner{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:11px;
      min-width:max-content;
      color:var(--theme-deep);
      font-size:19px;
      font-weight:850;
      letter-spacing:.01em;
    }
    .logo img{
      width:40px;
      height:40px;
      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:center;
    }
    .nav-link{
      height:100%;
      padding:0 13px;
      display:flex;
      align-items:center;
      gap:7px;
      color:#263854;
      font-size:15px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--theme)}
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
      transition:transform .2s ease;
    }
    .nav-item:hover>.has-arrow::after,
    .nav-item:focus-within>.has-arrow::after{
      transform:rotate(225deg) translate(-2px,-1px);
    }
    .nav-item::after{
      content:"";
      position:absolute;
      top:100%;
      left:0;
      right:0;
      height:14px;
      pointer-events:auto;
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      z-index:130;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(10px);
      border:1px solid var(--line);
      background:#fff;
      box-shadow:0 24px 65px rgba(15,35,70,.17);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }
    .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:330px;
      padding:18px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-title{
      margin:0 0 10px;
      color:var(--theme);
      font-size:13px;
      font-weight:850;
      letter-spacing:.08em;
    }
    .dropdown-panel>a:not(.dropdown-all){
      display:block;
      padding:10px 8px;
      overflow:hidden;
      color:#334155;
      border-bottom:1px solid #edf2f8;
      font-size:14px;
      font-weight:650;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .dropdown-panel>a:hover{color:var(--theme)}
    .dropdown-all{
      display:flex;
      justify-content:center;
      margin-top:12px;
      padding:10px 14px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:min(900px,calc(100vw - 40px));
      padding:22px;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,10px);
    }
    .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:24px;
      padding-bottom:14px;
      border-bottom:1px solid var(--line);
    }
    .mega-head strong{color:var(--theme-deep);font-size:18px}
    .mega-head span{color:var(--muted);font-size:13px;text-align:right}
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      padding:15px 0 2px;
    }
    .mega-categories a{
      padding:7px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #d4e4ff;
      border-radius:999px;
      font-size:12px;
      font-weight:750;
    }
    .mega-grid{
      margin-top:16px;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:11px;
    }
    .mega-card{
      min-width:0;
      padding:13px;
      display:grid;
      grid-template-columns:46px minmax(0,1fr);
      align-items:center;
      gap:4px 11px;
      border:1px solid #e5ebf4;
      border-radius:13px;
      background:#fbfdff;
      transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }
    .mega-card:hover{
      border-color:#b7d0f5;
      transform:translateY(-2px);
      box-shadow:0 10px 24px rgba(11,61,145,.09);
    }
    .mega-card img{
      grid-row:1 / span 3;
      width:46px;
      height:46px;
      object-fit:cover;
      border-radius:10px;
      background:#edf3fb;
    }
    .mega-card strong{
      min-width:0;
      overflow:hidden;
      color:#19304f;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card p{
      margin:0;
      overflow:hidden;
      color:var(--muted);
      font-size:12px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-meta{
      display:flex;
      flex-wrap:wrap;
      gap:3px 9px;
      color:#718096;
      font-size:11px;
    }
    .mega-footer{
      margin-top:16px;
      padding:11px;
      display:block;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:10px;
      font-size:13px;
      font-weight:850;
      text-align:center;
    }

    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      white-space:nowrap;
    }
    .header-btns>a{
      min-height:40px;
      padding:8px 15px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:var(--theme);
      border:1px solid var(--theme);
      border-radius:10px;
      font-size:14px;
      font-weight:800;
      transition:background .2s ease,transform .2s ease;
    }
    .header-btns>a:hover{background:var(--theme-deep);transform:translateY(-1px)}
    .hamburger{
      width:42px;
      height:42px;
      padding:10px;
      display:none;
      flex-direction:column;
      justify-content:center;
      gap:5px;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      width:100%;
      height:2px;
      display:block;
      background:var(--ink);
      border-radius:4px;
      transition:transform .2s ease,opacity .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;
      inset:0;
      z-index:198;
      visibility:hidden;
      opacity:0;
      background:rgba(2,12,30,.62);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:199;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 70px rgba(2,12,30,.25);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:76px;
      padding:14px 18px;
      display:flex;
      align-items:center;
      gap:9px;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{
      padding:8px 13px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .drawer-close{
      width:40px;
      height:40px;
      margin-left:auto;
      padding:0;
      color:#334155;
      background:#f1f5f9;
      border:0;
      border-radius:50%;
      font-size:28px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:13px 18px 28px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      padding:14px 4px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      color:#1e3350;
      background:transparent;
      border:0;
      border-bottom:1px solid #edf2f7;
      font-weight:800;
      text-align:left;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:21px;
      font-weight:500;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 10px;
      background:#f7faff;
      border-radius:0 0 10px 10px;
      transition:max-height .3s ease,padding .3s ease;
    }
    .drawer-submenu.open{max-height:700px;padding:8px 10px}
    .drawer-submenu a{
      padding:9px 7px;
      display:block;
      color:#53657e;
      border-bottom:1px dashed #dfe7f1;
      font-size:14px;
    }
    .drawer-submenu a:last-child{border-bottom:0}

    .tag-page{min-width:0}
    .tag-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:76px 0 68px;
      color:#fff;
      background:
        radial-gradient(circle at 14% 25%,rgba(101,217,255,.28),transparent 30%),
        radial-gradient(circle at 84% 15%,rgba(162,108,255,.3),transparent 28%),
        linear-gradient(135deg,#06142f 0%,#0B3D91 58%,#091e45 100%);
    }
    .tag-page .tag-hero::before,
    .tag-page .tag-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(180,224,255,.2);
      border-radius:50%;
      pointer-events:none;
    }
    .tag-page .tag-hero::before{
      width:440px;
      height:440px;
      top:-290px;
      right:4%;
    }
    .tag-page .tag-hero::after{
      width:260px;
      height:260px;
      bottom:-190px;
      left:8%;
    }
    .tag-page .tag-hero-inner{
      position:relative;
      z-index:1;
      max-width:850px;
      text-align:center;
    }
    .tag-page .breadcrumbs{
      margin-bottom:17px;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:7px;
      color:#c9ddff;
      font-size:14px;
    }
    .tag-page .breadcrumbs a:hover{color:#fff}
    .tag-page .tag-label{
      margin:0 auto 15px;
      width:max-content;
      max-width:100%;
      padding:7px 13px;
      color:#d9f6ff;
      background:rgba(101,217,255,.12);
      border:1px solid rgba(151,229,255,.35);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
    }
    .tag-page .tag-hero h1{
      margin:0;
      font-size:clamp(34px,5vw,60px);
      line-height:1.15;
      letter-spacing:-.035em;
    }
    .tag-page .tag-hero p{
      max-width:680px;
      margin:18px auto 0;
      color:#d8e7ff;
      font-size:17px;
    }
    .tag-page .tag-count{
      margin-top:25px;
      display:inline-flex;
      align-items:center;
      gap:9px;
      padding:10px 16px;
      color:#e8f7ff;
      background:rgba(255,255,255,.09);
      border:1px solid rgba(255,255,255,.17);
      border-radius:12px;
      font-size:14px;
    }
    .tag-page .tag-count strong{color:#fff;font-size:20px}
    .tag-page .tag-content{padding:66px 0 84px}
    .tag-page .section-head{
      margin-bottom:25px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:24px;
    }
    .tag-page .section-head h2{
      margin:0;
      color:#10284a;
      font-size:clamp(26px,3vw,36px);
      line-height:1.2;
    }
    .tag-page .section-head p{
      margin:7px 0 0;
      color:var(--muted);
    }
    .tag-page .tag-directory{
      padding:9px 14px;
      flex:none;
      color:var(--theme);
      background:#fff;
      border:1px solid #cad9ee;
      border-radius:10px;
      font-size:14px;
      font-weight:800;
    }
    .tag-page .article-list{
      display:grid;
      gap:20px;
    }
    .tag-page .article-card{
      min-width:0;
      display:grid;
      grid-template-columns:300px minmax(0,1fr);
      overflow:hidden;
      background:#fff;
      border:1px solid #e0e8f3;
      border-radius:var(--radius);
      box-shadow:0 8px 30px rgba(20,48,88,.06);
      transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
    }
    .tag-page .article-card:hover{
      transform:translateY(-3px);
      border-color:#b9cff0;
      box-shadow:var(--shadow);
    }
    .tag-page .article-cover{
      position:relative;
      min-height:250px;
      overflow:hidden;
      background:#dbe7f7;
    }
    .tag-page .article-cover img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .4s ease;
    }
    .tag-page .article-card:hover .article-cover img{transform:scale(1.035)}
    .tag-page .article-cover span{
      position:absolute;
      top:15px;
      left:15px;
      padding:6px 10px;
      color:#fff;
      background:rgba(7,40,95,.88);
      border:1px solid rgba(255,255,255,.22);
      border-radius:999px;
      font-size:12px;
      font-weight:800;
      backdrop-filter:blur(8px);
    }
    .tag-page .article-body{
      min-width:0;
      padding:26px 28px;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
    }
    .tag-page .article-body h2{
      margin:0;
      color:#142d50;
      font-size:23px;
      line-height:1.35;
    }
    .tag-page .article-body h2 a:hover{color:var(--theme)}
    .tag-page .article-summary{
      margin:13px 0 16px;
      display:-webkit-box;
      overflow:hidden;
      color:#5c6d83;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
      line-clamp:3;
    }
    .tag-page .article-meta{
      width:100%;
      margin-top:auto;
      padding-top:14px;
      display:flex;
      flex-wrap:wrap;
      gap:8px 17px;
      color:#78879b;
      border-top:1px solid #edf1f6;
      font-size:13px;
    }
    .tag-page .article-tags{
      margin-top:12px;
      color:var(--theme);
      font-size:13px;
      overflow-wrap:anywhere;
    }
    .tag-page .read-more{
      margin-top:18px;
      padding:9px 15px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .tag-page .read-more::after{content:"→";transition:transform .2s ease}
    .tag-page .read-more:hover::after{transform:translateX(3px)}
    .tag-page .pagination{
      margin-top:42px;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
    }
    .tag-page .pagination a{
      min-width:42px;
      min-height:42px;
      padding:8px 13px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color:#334866;
      background:#fff;
      border:1px solid #d7e1ee;
      border-radius:10px;
      font-weight:750;
      transition:all .2s ease;
    }
    .tag-page .pagination a:hover,
    .tag-page .pagination a.active,
    .tag-page .pagination a.current{
      color:#fff;
      background:var(--theme);
      border-color:var(--theme);
    }
    .tag-page .tag-note{
      margin-top:50px;
      padding:25px 28px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
      background:linear-gradient(125deg,#eaf2ff,#f6fbff);
      border:1px solid #cbddf5;
      border-radius:18px;
    }
    .tag-page .tag-note h2{margin:0 0 5px;color:var(--theme-deep);font-size:21px}
    .tag-page .tag-note p{margin:0;color:#60728a}
    .tag-page .tag-note a{
      flex:none;
      padding:11px 17px;
      color:#fff;
      background:var(--theme);
      border-radius:10px;
      font-weight:800;
    }

    .footer{
      color:#c8d5e7;
      background:#07172f;
    }
    .footer-main{
      padding:58px 0 42px;
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1.15fr;
      gap:38px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:390px;
      margin:18px 0 0;
      color:#93a8c3;
      font-size:14px;
    }
    .footer h3{
      margin:4px 0 17px;
      color:#fff;
      font-size:16px;
    }
    .footer-links,.footer-contact{display:grid;gap:9px}
    .footer-links a,.footer-contact a{
      width:max-content;
      max-width:100%;
      color:#aabbd1;
      font-size:14px;
      overflow-wrap:anywhere;
      transition:color .2s ease;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-social{margin-top:8px}
    .footer-bottom{
      min-height:72px;
      padding:17px 0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:25px;
      color:#8094af;
      border-top:1px solid rgba(255,255,255,.09);
      font-size:12px;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:760px){
      .container{width:min(100% - 28px,var(--container))}
      .topbar-inner{padding:8px 0;align-items:flex-start;flex-direction:column;gap:3px}
      .topbar-links{width:100%;flex-wrap:wrap;gap:3px 15px}
      .header-inner{min-height:68px;gap:12px}
      .header .logo span{display:none}
      .header-btns>a{padding:7px 10px;font-size:13px}
      .tag-page .tag-hero{padding:56px 0 52px}
      .tag-page .tag-hero p{font-size:15px}
      .tag-page .tag-content{padding:45px 0 60px}
      .tag-page .section-head{align-items:flex-start;flex-direction:column;gap:14px}
      .tag-page .article-card{grid-template-columns:1fr}
      .tag-page .article-cover{min-height:215px;aspect-ratio:16/9}
      .tag-page .article-body{padding:22px}
      .tag-page .article-body h2{font-size:20px}
      .tag-page .tag-note{align-items:flex-start;flex-direction:column}
      .footer-main{grid-template-columns:1fr;gap:28px;padding-top:45px}
      .footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}
    }
    @media (max-width:440px){
      .header-btns>a:first-child{display:none}
      .tag-page .article-meta{flex-direction:column;gap:5px}
    }