:root{
      --theme:#0B3D91;
      --template-theme:{主题色};
      --theme-dark:#072a66;
      --theme-soft:#eaf1ff;
      --accent:#ff7a1a;
      --ink:#162033;
      --muted:#657189;
      --line:#dce4f0;
      --surface:#ffffff;
      --page:#f5f8fc;
      --shadow:0 18px 48px rgba(11,61,145,.12);
      --radius:18px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--page);
      font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif;
      line-height:1.65;
    }

    body.drawer-locked{
      overflow:hidden;
    }

    img{
      max-width:100%;
      height:auto;
    }

    a{
      color:inherit;
      text-decoration:none;
    }

    button,
    input,
    textarea,
    select{
      font:inherit;
    }

    .container{
      width:min(1180px,calc(100% - 40px));
      margin:0 auto;
    }

    .skip-link{
      position:fixed;
      top:10px;
      left:10px;
      z-index:3000;
      padding:10px 16px;
      color:#fff;
      background:var(--theme);
      border-radius:8px;
      transform:translateY(-160%);
      transition:transform .2s ease;
    }

    .skip-link:focus{
      transform:translateY(0);
    }

    .topbar{
      color:#dce8ff;
      background:var(--theme-dark);
      font-size:13px;
    }

    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }

    .topbar-contact{
      display:flex;
      align-items:center;
      gap:22px;
    }

    .topbar a:hover{
      color:#fff;
    }

    .header{
      position:relative;
      z-index:1000;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 20px rgba(16,37,70,.04);
    }

    .header-inner{
      min-height:80px;
      display:flex;
      align-items:center;
      gap:24px;
    }

    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:11px;
      color:var(--theme-dark);
      font-size:19px;
      font-weight:800;
    }

    .logo img{
      width:42px;
      height:42px;
      flex:0 0 auto;
      object-fit:contain;
      border-radius:10px;
    }

    .logo span{
      max-width:190px;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .main-nav{
      align-self:stretch;
      margin-left:auto;
    }

    .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;
      padding:0 13px;
      color:#29354a;
      font-size:15px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      margin:0 0 4px 8px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      z-index:1200;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(10px);
      transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:0 24px 60px rgba(16,37,70,.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:translateY(0);
    }

    .dropdown-panel{
      left:0;
      width:330px;
      padding:18px;
    }

    .dropdown-title{
      margin-bottom:10px;
      color:var(--theme-dark);
      font-weight:800;
    }

    .dropdown-article{
      display:block;
      padding:10px 0;
      color:#39465d;
      border-bottom:1px solid #edf1f6;
      font-size:14px;
    }

    .dropdown-article:hover{
      color:var(--theme);
    }

    .dropdown-more{
      display:inline-flex;
      margin-top:14px;
      color:var(--theme);
      font-size:14px;
      font-weight:800;
    }

    .mega-menu{
      left:50%;
      width:min(880px,calc(100vw - 40px));
      padding:22px;
      transform:translate(-50%,10px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu{
      transform:translate(-50%,0);
    }

    .nav-item:nth-last-child(-n+3) .mega-menu{
      right:0;
      left:auto;
      transform:translateY(10px);
    }

    .nav-item:nth-last-child(-n+3):hover > .mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within > .mega-menu{
      transform:translateY(0);
    }

    .mega-heading{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:16px;
      padding-bottom:14px;
      border-bottom:1px solid var(--line);
    }

    .mega-heading strong{
      color:var(--theme-dark);
      font-size:18px;
    }

    .mega-heading span{
      color:var(--muted);
      font-size:13px;
    }

    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:16px;
    }

    .mega-categories a{
      padding:7px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:999px;
      font-size:13px;
      font-weight:700;
    }

    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }

    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:12px;
      background:#f8faff;
      border:1px solid #e8edf5;
      border-radius:12px;
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }

    .mega-card:hover{
      transform:translateY(-2px);
      border-color:#b9cbed;
      box-shadow:0 10px 24px rgba(11,61,145,.08);
    }

    .mega-card > img{
      width:46px;
      height:46px;
      flex:0 0 auto;
      object-fit:cover;
      background:#fff;
      border-radius:9px;
    }

    .mega-card-content{
      min-width:0;
      display:block;
    }

    .mega-card-content strong{
      display:block;
      overflow:hidden;
      color:#1d2940;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .mega-card-content p{
      display:-webkit-box;
      margin:4px 0 0;
      overflow:hidden;
      color:var(--muted);
      font-size:12px;
      line-height:1.5;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .mega-card-meta{
      display:flex;
      flex-wrap:wrap;
      gap:4px 9px;
      margin-top:6px;
      color:#758198;
      font-size:11px;
    }

    .mega-footer{
      display:flex;
      justify-content:center;
      margin-top:16px;
      padding-top:14px;
      color:var(--theme);
      border-top:1px solid var(--line);
      font-size:14px;
      font-weight:800;
    }

    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
    }

    .header-btns > a{
      padding:9px 14px;
      color:var(--theme);
      background:#fff;
      border:1px solid #b9cbed;
      border-radius:9px;
      font-size:14px;
      font-weight:800;
      white-space:nowrap;
    }

    .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;
      cursor:pointer;
    }

    .hamburger span{
      width:20px;
      height:2px;
      background:var(--theme-dark);
      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:1990;
      visibility:hidden;
      opacity:0;
      background:rgba(4,17,40,.58);
      transition:opacity .25s ease,visibility .25s ease;
    }

    .drawer-overlay.open{
      visibility:visible;
      opacity:1;
    }

    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:2000;
      width:min(390px,90vw);
      height:100%;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(7,31,73,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }

    .mobile-drawer.open{
      transform:translateX(0);
    }

    .drawer-head{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      border-bottom:1px solid var(--line);
    }

    .drawer-head > a{
      padding:8px 12px;
      color:#fff;
      background:var(--theme);
      border-radius:8px;
      font-size:14px;
      font-weight:800;
    }

    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      color:var(--theme-dark);
      background:#eef3fb;
      border:0;
      border-radius:50%;
      font-size:28px;
      line-height:1;
      cursor:pointer;
    }

    .drawer-menu{
      padding:14px 18px 32px;
    }

    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 4px;
      color:#202d43;
      background:none;
      border:0;
      border-bottom:1px solid #edf1f6;
      font-weight:800;
      text-align:left;
      cursor:pointer;
    }

    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:20px;
    }

    .drawer-toggle.active::after{
      content:"−";
    }

    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 12px;
      background:#f7f9fd;
      transition:max-height .28s ease,padding .28s ease;
    }

    .drawer-submenu.open{
      max-height:900px;
      padding:8px 12px;
    }

    .drawer-submenu a{
      display:block;
      padding:9px 4px;
      color:#566279;
      font-size:14px;
      border-bottom:1px dashed #dbe3ef;
    }

    .tool-detail-page{
      min-height:620px;
    }

    .tool-detail-page .tool-hero{
      position:relative;
      overflow:hidden;
      padding:62px 0 54px;
      color:#fff;
      background:
        radial-gradient(circle at 18% 22%,rgba(255,122,26,.25),transparent 24%),
        radial-gradient(circle at 82% 18%,rgba(98,177,255,.28),transparent 27%),
        linear-gradient(135deg,var(--theme-dark),var(--theme) 60%,#1764b8);
    }

    .tool-detail-page .tool-hero::before,
    .tool-detail-page .tool-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(255,255,255,.14);
      border-radius:50%;
    }

    .tool-detail-page .tool-hero::before{
      width:420px;
      height:420px;
      right:-140px;
      top:-230px;
    }

    .tool-detail-page .tool-hero::after{
      width:260px;
      height:260px;
      left:-90px;
      bottom:-180px;
    }

    .tool-detail-page .breadcrumb{
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:25px;
      color:#d7e5ff;
      font-size:14px;
    }

    .tool-detail-page .breadcrumb a:hover{
      color:#fff;
      text-decoration:underline;
    }

    .tool-detail-page .tool-title-panel{
      position:relative;
      z-index:1;
      max-width:900px;
      margin:0 auto;
      text-align:center;
    }

    .tool-detail-page .tool-icon{
      width:86px;
      height:86px;
      display:grid;
      place-items:center;
      margin:0 auto 20px;
      padding:15px;
      background:#fff;
      border:5px solid rgba(255,255,255,.18);
      border-radius:24px;
      box-shadow:0 18px 36px rgba(0,0,0,.18);
    }

    .tool-detail-page .tool-icon img{
      width:100%;
      height:100%;
      object-fit:contain;
    }

    .tool-detail-page .tool-title-panel h1{
      margin:0;
      font-size:clamp(32px,5vw,54px);
      line-height:1.16;
      letter-spacing:-.02em;
    }

    .tool-detail-page .tool-intro{
      max-width:780px;
      margin:18px auto 0;
      color:#e8f0ff;
      font-size:17px;
    }

    .tool-detail-page .tool-meta{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:10px;
      margin-top:25px;
    }

    .tool-detail-page .tool-meta span{
      padding:7px 12px;
      color:#f5f8ff;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.2);
      border-radius:999px;
      font-size:13px;
      backdrop-filter:blur(8px);
    }

    .tool-detail-page .tool-layout{
      display:grid;
      grid-template-columns:minmax(0,1fr) 330px;
      align-items:start;
      gap:28px;
      padding-top:40px;
      padding-bottom:72px;
    }

    .tool-detail-page .tool-main-column,
    .tool-detail-page .tool-sidebar{
      min-width:0;
    }

    .tool-detail-page .info-strip{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      margin-bottom:22px;
    }

    .tool-detail-page .info-item{
      padding:18px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:14px;
      box-shadow:0 8px 22px rgba(15,42,81,.05);
    }

    .tool-detail-page .info-item strong{
      display:block;
      margin-bottom:4px;
      color:var(--theme);
      font-size:15px;
    }

    .tool-detail-page .info-item span{
      color:var(--muted);
      font-size:13px;
    }

    .tool-detail-page .tool-content-card{
      min-width:0;
      max-width:100%;
      padding:clamp(22px,4vw,42px);
      overflow-x:auto;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
    }

    .tool-detail-page .section-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:8px;
      color:var(--accent);
      font-size:13px;
      font-weight:900;
      letter-spacing:.08em;
    }

    .tool-detail-page .section-kicker::before{
      content:"";
      width:24px;
      height:3px;
      background:var(--accent);
      border-radius:999px;
    }

    .tool-detail-page .tool-content-card h2{
      margin:0 0 22px;
      color:var(--theme-dark);
      font-size:28px;
      line-height:1.3;
    }

    .tool-detail-page .tool-content{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      color:#334057;
      font-size:16px;
      line-height:1.9;
    }

    .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:11px;
      border:1px solid var(--line);
    }

    .tool-detail-page .tool-content a{
      color:var(--theme);
      text-decoration:underline;
      text-underline-offset:3px;
    }

    .tool-detail-page .notice-box{
      margin-top:24px;
      padding:18px 20px;
      color:#68421f;
      background:#fff7ed;
      border:1px solid #fed7aa;
      border-left:4px solid var(--accent);
      border-radius:12px;
    }

    .tool-detail-page .notice-box strong{
      display:block;
      margin-bottom:5px;
      color:#9a4f11;
    }

    .tool-detail-page .sidebar-card{
      margin-bottom:20px;
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 12px 32px rgba(15,42,81,.07);
    }

    .tool-detail-page .sidebar-card h2{
      margin:0 0 8px;
      color:var(--theme-dark);
      font-size:20px;
    }

    .tool-detail-page .sidebar-card > p{
      margin:0 0 16px;
      color:var(--muted);
      font-size:14px;
    }

    .tool-detail-page .guide-list{
      margin:0;
      padding:0;
      list-style:none;
      counter-reset:guide;
    }

    .tool-detail-page .guide-list li{
      position:relative;
      min-height:38px;
      margin-top:13px;
      padding-left:46px;
      color:#3e4b62;
      counter-increment:guide;
    }

    .tool-detail-page .guide-list li::before{
      content:counter(guide);
      position:absolute;
      top:0;
      left:0;
      width:31px;
      height:31px;
      display:grid;
      place-items:center;
      color:#fff;
      background:var(--theme);
      border-radius:10px;
      font-size:13px;
      font-weight:900;
    }

    .tool-detail-page .related-list{
      display:grid;
      gap:11px;
    }

    .tool-detail-page .related-tool{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:12px;
      padding:12px;
      background:#f7f9fd;
      border:1px solid #e8edf5;
      border-radius:12px;
      transition:border-color .2s ease,transform .2s ease;
    }

    .tool-detail-page .related-tool:hover{
      transform:translateY(-2px);
      border-color:#a9c0ea;
    }

    .tool-detail-page .related-tool img{
      width:44px;
      height:44px;
      flex:0 0 auto;
      object-fit:contain;
      padding:5px;
      background:#fff;
      border-radius:9px;
    }

    .tool-detail-page .related-tool-content{
      min-width:0;
    }

    .tool-detail-page .related-tool strong{
      display:block;
      overflow:hidden;
      color:#243149;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .tool-detail-page .related-tool p{
      display:-webkit-box;
      margin:4px 0 0;
      overflow:hidden;
      color:var(--muted);
      font-size:12px;
      line-height:1.5;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .tool-detail-page .tools-back{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:46px;
      margin-top:16px;
      color:#fff;
      background:var(--theme);
      border-radius:11px;
      font-weight:800;
    }

    .tool-detail-page .tools-back:hover{
      background:var(--theme-dark);
    }

    .footer{
      color:#c7d4ea;
      background:#071b3d;
    }

    .footer-main{
      display:grid;
      grid-template-columns:1.35fr repeat(3,1fr);
      gap:46px;
      padding-top:58px;
      padding-bottom:42px;
    }

    .footer .logo{
      color:#fff;
    }

    .footer-brand p{
      max-width:390px;
      margin:18px 0 0;
      color:#9fb0cb;
      font-size:14px;
    }

    .footer h3{
      margin:6px 0 17px;
      color:#fff;
      font-size:16px;
    }

    .footer-links,
    .footer-contact{
      display:grid;
      gap:10px;
      font-size:14px;
    }

    .footer-links a,
    .footer-contact a{
      color:#b8c6dc;
    }

    .footer-links a:hover,
    .footer-contact a:hover{
      color:#fff;
    }

    .footer-social{
      display:grid;
      gap:5px;
      margin-top:8px;
    }

    .footer-social strong{
      color:#fff;
      font-size:14px;
    }

    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8fa2c1;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    .footer-bottom-links{
      display:flex;
      flex-wrap:wrap;
      justify-content:flex-end;
      gap:16px;
    }

    @media (max-width:1080px){
      .main-nav{
        display:none;
      }

      .hamburger{
        display:flex;
      }

      .header-btns{
        margin-left:auto;
      }

      .tool-detail-page .tool-layout{
        grid-template-columns:minmax(0,1fr) 300px;
      }
    }

    @media (max-width:820px){
      .topbar-inner{
        padding:8px 0;
      }

      .topbar-contact{
        gap:10px;
        flex-wrap:wrap;
        justify-content:flex-end;
      }

      .tool-detail-page .tool-layout{
        grid-template-columns:1fr;
      }

      .tool-detail-page .tool-sidebar{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px;
      }

      .tool-detail-page .sidebar-card{
        margin:0;
      }

      .footer-main{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
    }

    @media (max-width:620px){
      .container{
        width:min(100% - 28px,1180px);
      }

      .topbar-inner{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
      }

      .topbar-contact{
        justify-content:flex-start;
      }

      .header-inner{
        min-height:70px;
      }

      .header .logo span{
        max-width:125px;
        font-size:16px;
      }

      .header-btns > a{
        display:none;
      }

      .tool-detail-page .tool-hero{
        padding:38px 0 42px;
      }

      .tool-detail-page .breadcrumb{
        margin-bottom:18px;
      }

      .tool-detail-page .tool-icon{
        width:72px;
        height:72px;
        border-radius:20px;
      }

      .tool-detail-page .tool-intro{
        font-size:15px;
      }

      .tool-detail-page .tool-layout{
        gap:20px;
        padding-top:25px;
        padding-bottom:48px;
      }

      .tool-detail-page .info-strip{
        grid-template-columns:1fr;
      }

      .tool-detail-page .tool-content-card{
        padding:22px 18px;
        border-radius:14px;
      }

      .tool-detail-page .tool-content-card h2{
        font-size:23px;
      }

      .tool-detail-page .tool-sidebar{
        grid-template-columns:1fr;
      }

      .footer-main{
        grid-template-columns:1fr;
        gap:28px;
        padding-top:42px;
      }

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        padding:18px 0;
      }

      .footer-bottom-links{
        justify-content:flex-start;
      }
    }