:root{
      --primary:#0B3D91;
      --primary-dark:#072b68;
      --primary-soft:#eaf1fc;
      --accent:#2563eb;
      --ink:#172033;
      --muted:#667085;
      --line:#e3e8ef;
      --surface:#ffffff;
      --surface-alt:#f5f7fa;
      --success:#138a5b;
      --shadow:0 18px 48px rgba(11,61,145,.11);
      --radius:18px;
      --container:1200px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}
    button{color:inherit}
    .container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
    .skip-link{
      position:fixed;
      top:10px;
      left:10px;
      z-index:9999;
      padding:10px 16px;
      color:#fff;
      background:var(--primary);
      border-radius:8px;
      transform:translateY(-150%);
      transition:.2s ease;
    }
    .skip-link:focus{transform:translateY(0)}

    .topbar{
      color:#dce7fa;
      background:#071b3c;
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar-contact a:hover{color:#fff}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(15,23,42,.04);
    }
    .header-inner{
      position:relative;
      min-height:76px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      flex:0 0 auto;
      gap:10px;
      color:var(--primary);
      font-size:19px;
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto;height:76px}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:stretch;
    }
    .nav-link{
      display:flex;
      align-items:center;
      gap:6px;
      padding:0 12px;
      color:#344054;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:.2s ease;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--primary);
      background:var(--primary-soft);
    }
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      margin-top:-4px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform: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);
    }
    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:10px;
    }
    .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:14px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-title{
      padding:5px 8px 10px;
      color:var(--primary);
      font-weight:800;
    }
    .dropdown-panel>a:not(.dropdown-all){
      display:block;
      padding:9px 8px;
      color:#475467;
      border-radius:8px;
      font-size:14px;
    }
    .dropdown-panel>a:not(.dropdown-all):hover{color:var(--primary);background:var(--primary-soft)}
    .dropdown-all,
    .mega-footer{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-top:10px;
      padding:11px 12px;
      color:#fff;
      background:var(--primary);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:min(940px,calc(100vw - 40px));
      padding:20px;
      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-top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      margin-bottom:14px;
      padding-bottom:13px;
      border-bottom:1px solid var(--line);
    }
    .mega-top strong{display:block;color:var(--ink);font-size:16px}
    .mega-top span{display:block;color:var(--muted);font-size:13px}
    .text-link{color:var(--primary);font-size:14px;font-weight:800}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:11px;
      border:1px solid var(--line);
      border-radius:12px;
      transition:.2s ease;
    }
    .mega-card:hover{
      border-color:#b9cbed;
      background:#f8faff;
      transform:translateY(-2px);
    }
    .mega-card>img{
      width:46px;
      height:46px;
      flex:0 0 46px;
      object-fit:cover;
      border-radius:9px;
      background:#eef2f7;
    }
    .video-mega-card>img{width:72px}
    .mega-card-body{min-width:0;flex:1}
    .mega-card-body strong{
      display:block;
      overflow:hidden;
      color:#25324a;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-body p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 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:3px 8px;
      margin-top:4px;
      color:var(--muted);
      font-size:11px;
    }
    .video-duration{
      display:inline-block;
      margin-top:5px;
      color:var(--primary);
      font-size:11px;
      font-weight:800;
    }
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }
    .mega-categories a{
      padding:6px 11px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .mega-footer{justify-content:center}

    .header-btns{
      display:flex;
      align-items:center;
      flex:0 0 auto;
      gap:9px;
    }
    .header-member{font-size:14px}
    .header-member a{color:var(--primary);font-weight:800}
    .account-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 15px;
      color:#fff;
      background:var(--primary);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .account-btn:hover{background:var(--primary-dark)}
    .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:9px;
      cursor:pointer;
    }
    .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:899;
      inset:0;
      visibility:hidden;
      opacity:0;
      background:rgba(5,16,36,.58);
      backdrop-filter:blur(3px);
      transition:.25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      z-index:900;
      top:0;
      right:0;
      width:min(390px,92vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(0,0,0,.18);
      transform:translateX(105%);
      transition:transform .25s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:70px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      color:#fff;
      background:var(--primary);
    }
    .drawer-head>a{font-size:14px;font-weight:800}
    .drawer-head>a:nth-of-type(2){
      margin-left:auto;
      padding:7px 10px;
      color:var(--primary);
      background:#fff;
      border-radius:7px;
    }
    .drawer-close{
      width:36px;
      height:36px;
      padding:0;
      color:#fff;
      background:transparent;
      border:1px solid rgba(255,255,255,.4);
      border-radius:8px;
      font-size:25px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:13px 18px 28px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:13px 4px;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      font-weight:800;
      text-align:left;
      cursor:pointer;
    }
    .drawer-toggle::after{content:"＋";color:var(--primary);font-size:18px}
    .drawer-toggle.active::after{content:"－"}
    .drawer-submenu{
      display:none;
      padding:7px 0 9px 14px;
      border-bottom:1px solid var(--line);
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:8px 4px;
      color:var(--muted);
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--primary)}

    .tool-detail-page{
      min-width:0;
      padding-bottom:80px;
      background:linear-gradient(180deg,#f5f8fc 0,#fff 430px);
    }
    .tool-detail-page .tool-hero{
      padding:38px 0 34px;
      border-bottom:1px solid var(--line);
    }
    .tool-detail-page .breadcrumbs{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:25px;
      color:var(--muted);
      font-size:14px;
    }
    .tool-detail-page .breadcrumbs a{color:var(--primary);font-weight:700}
    .tool-detail-page .tool-heading{
      max-width:880px;
      margin-inline:auto;
      text-align:center;
    }
    .tool-detail-page .tool-icon{
      width:82px;
      height:82px;
      margin:0 auto 18px;
      padding:14px;
      object-fit:contain;
      background:#fff;
      border:1px solid var(--line);
      border-radius:22px;
      box-shadow:0 12px 32px rgba(11,61,145,.12);
    }
    .tool-detail-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:10px;
      padding:6px 11px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }
    .tool-detail-page .eyebrow::before{
      content:"";
      width:7px;
      height:7px;
      background:var(--accent);
      border-radius:50%;
      box-shadow:0 0 0 4px rgba(37,99,235,.13);
    }
    .tool-detail-page h1{
      margin:0;
      color:#10203b;
      font-size:clamp(34px,5vw,56px);
      line-height:1.14;
      letter-spacing:-.035em;
    }
    .tool-detail-page .tool-summary{
      max-width:760px;
      margin:18px auto 0;
      color:#5d687b;
      font-size:18px;
    }
    .tool-detail-page .tool-meta{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:9px;
      margin-top:22px;
    }
    .tool-detail-page .tool-meta span{
      padding:7px 11px;
      color:#475467;
      background:#fff;
      border:1px solid var(--line);
      border-radius:9px;
      font-size:13px;
    }
    .tool-detail-page .detail-layout{
      min-width:0;
      display:grid;
      grid-template-columns:minmax(0,1fr) 320px;
      align-items:start;
      gap:28px;
      padding-top:34px;
    }
    .tool-detail-page .tool-main,
    .tool-detail-page .related-panel,
    .tool-detail-page .guide-card{
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 12px 35px rgba(15,23,42,.055);
    }
    .tool-detail-page .tool-main{min-width:0;overflow:hidden}
    .tool-detail-page .tool-intro{
      padding:24px 28px;
      background:linear-gradient(135deg,var(--primary),#1557b8);
      color:#fff;
    }
    .tool-detail-page .tool-intro h2{margin:0 0 6px;font-size:22px}
    .tool-detail-page .tool-intro p{margin:0;color:#dce8ff}
    .tool-detail-page .tool-content{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      padding:30px;
      color:#344054;
      font-size:16px;
    }
    .tool-detail-page .tool-content>*:first-child{margin-top:0}
    .tool-detail-page .tool-content>*:last-child{margin-bottom:0}
    .tool-detail-page .tool-content h2,
    .tool-detail-page .tool-content h3{
      color:#15223a;
      line-height:1.35;
    }
    .tool-detail-page .tool-content a{color:var(--primary);text-decoration:underline}
    .tool-detail-page .tool-content img,
    .tool-detail-page .tool-content video,
    .tool-detail-page .tool-content iframe,
    .tool-detail-page .tool-content table{
      max-width:100%;
    }
    .tool-detail-page .tool-content img{height:auto;border-radius:12px}
    .tool-detail-page .tool-content table{width:100%;border-collapse:collapse}
    .tool-detail-page .tool-content th,
    .tool-detail-page .tool-content td{
      padding:10px;
      border:1px solid var(--line);
      text-align:left;
    }
    .tool-detail-page .notice{
      display:flex;
      gap:13px;
      margin:24px 30px 30px;
      padding:17px 18px;
      color:#574a2e;
      background:#fff9e9;
      border:1px solid #f0dfa9;
      border-radius:12px;
    }
    .tool-detail-page .notice strong{flex:0 0 auto}
    .tool-detail-page .sidebar{
      display:grid;
      gap:20px;
      position:sticky;
      top:20px;
    }
    .tool-detail-page .guide-card{padding:22px}
    .tool-detail-page .guide-card h2,
    .tool-detail-page .related-panel h2{
      margin:0 0 8px;
      color:#17233c;
      font-size:20px;
    }
    .tool-detail-page .guide-card p{
      margin:0 0 16px;
      color:var(--muted);
      font-size:14px;
    }
    .tool-detail-page .primary-action{
      width:100%;
      min-height:44px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-weight:800;
    }
    .tool-detail-page .primary-action:hover{background:var(--primary-dark)}
    .tool-detail-page .security-list{
      display:grid;
      gap:9px;
      margin:17px 0 0;
      padding:0;
      list-style:none;
      color:#475467;
      font-size:13px;
    }
    .tool-detail-page .security-list li{display:flex;gap:8px}
    .tool-detail-page .security-list li::before{content:"✓";color:var(--success);font-weight:900}
    .tool-detail-page .related-panel{padding:22px}
    .tool-detail-page .related-list{
      display:grid;
      gap:10px;
      margin-top:15px;
    }
    .tool-detail-page .related-tool{
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:12px;
      border:1px solid var(--line);
      border-radius:12px;
      transition:.2s ease;
    }
    .tool-detail-page .related-tool:hover{
      border-color:#b8caeb;
      background:#f7faff;
      transform:translateY(-2px);
    }
    .tool-detail-page .related-tool img{
      width:43px;
      height:43px;
      flex:0 0 43px;
      object-fit:contain;
      padding:5px;
      background:#f1f5fa;
      border-radius:9px;
    }
    .tool-detail-page .related-tool-body{min-width:0}
    .tool-detail-page .related-tool strong{
      display:block;
      color:#22304a;
      font-size:14px;
    }
    .tool-detail-page .related-tool p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 0 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .tool-detail-page .risk-section{
      margin-top:30px;
      padding:28px;
      color:#dfe8fa;
      background:#0b1d3d;
      border-radius:var(--radius);
    }
    .tool-detail-page .risk-section h2{margin:0 0 8px;color:#fff;font-size:22px}
    .tool-detail-page .risk-section p{margin:0}

    .footer{
      color:#cdd8ec;
      background:#07182f;
    }
    .footer-main{
      display:grid;
      grid-template-columns:1.45fr repeat(3,1fr);
      gap:42px;
      padding-top:58px;
      padding-bottom:42px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:390px;
      margin:18px 0;
      color:#9fb0cb;
      font-size:14px;
    }
    .footer-social{color:#fff}
    .footer-col h3{
      margin:0 0 15px;
      color:#fff;
      font-size:16px;
    }
    .footer-links{display:grid;gap:9px}
    .footer-links a{color:#aebdd3;font-size:14px}
    .footer-links a:hover,
    .footer-contact a:hover{color:#fff}
    .footer-contact{display:grid;gap:5px;font-size:14px}
    .footer-contact span{margin-top:5px;color:#7f93b1;font-size:12px}
    .footer-contact a{color:#dce5f3}
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8498b6;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }
    .footer-bottom-links{display:flex;gap:18px}
    .footer-bottom a:hover{color:#fff}

    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-inner{min-height:68px}
      .header-btns{margin-left:auto}
      .footer-main{grid-template-columns:1.4fr repeat(2,1fr)}
      .footer-col:last-child{grid-column:2/4}
    }

    @media (max-width:820px){
      .topbar-welcome{display:none}
      .topbar-inner{justify-content:center}
      .tool-detail-page .detail-layout{grid-template-columns:1fr}
      .tool-detail-page .sidebar{position:static;grid-template-columns:1fr 1fr}
      .footer-main{grid-template-columns:1fr 1fr}
      .footer-brand{grid-column:1/-1}
      .footer-col:last-child{grid-column:auto}
    }

    @media (max-width:620px){
      .container{width:min(100% - 28px,var(--container))}
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .topbar-contact a{font-size:12px}
      .header-member{display:none}
      .account-btn{min-height:38px;padding-inline:11px}
      .logo span{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .tool-detail-page .tool-hero{padding-top:26px}
      .tool-detail-page h1{font-size:34px}
      .tool-detail-page .tool-summary{font-size:16px}
      .tool-detail-page .tool-content{padding:22px 19px}
      .tool-detail-page .tool-intro{padding:21px 19px}
      .tool-detail-page .notice{margin:20px 19px 22px;flex-direction:column}
      .tool-detail-page .sidebar{grid-template-columns:1fr}
      .tool-detail-page .risk-section{padding:22px}
      .footer-main{grid-template-columns:1fr;gap:28px}
      .footer-brand,
      .footer-col:last-child{grid-column:auto}
      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        padding-top:20px;
        padding-bottom:20px;
      }
    }