:root{
      --theme:#0B3D91;
      --template-theme:{主题色};
      --theme-dark:#072b68;
      --theme-soft:#eaf1ff;
      --accent:#d81b75;
      --accent-soft:#fff0f7;
      --ink:#172033;
      --muted:#667085;
      --line:#e4e8f0;
      --surface:#ffffff;
      --background:#f5f7fb;
      --shadow:0 16px 40px rgba(20,35,70,.10);
      --radius:18px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--background);
      font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,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{
      font:inherit;
    }

    button{
      color:inherit;
    }

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

    .topbar{
      color:#dce8ff;
      background:#071a3c;
      font-size:13px;
    }

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

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

    .topbar a{
      transition:color .2s ease;
    }

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

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

    .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-weight:800;
      letter-spacing:.01em;
    }

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

    .logo span{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

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

    .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 12px;
      border:0;
      cursor:pointer;
      color:#35415a;
      background:transparent;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }

    .nav-item.has-panel > .nav-link::after{
      content:"";
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }

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

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:50%;
      z-index:80;
      visibility:hidden;
      opacity:0;
      transform:translate(-50%,10px);
      pointer-events:none;
      background:#ffffff;
      border:1px solid var(--line);
      box-shadow:var(--shadow);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:10px;
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:focus-within > .mega-menu{
      visibility:visible;
      opacity:1;
      transform:translate(-50%,0);
      pointer-events:auto;
    }

    .dropdown-panel{
      width:310px;
      padding:16px;
      border-radius:0 0 16px 16px;
    }

    .dropdown-list{
      display:grid;
      gap:4px;
    }

    .dropdown-list a{
      padding:10px 12px;
      color:#3a465e;
      border-radius:9px;
      font-size:14px;
    }

    .dropdown-list a:hover{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .panel-entry{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-top:10px;
      padding:11px 12px;
      color:#ffffff;
      background:var(--theme);
      border-radius:10px;
      font-size:14px;
      font-weight:700;
    }

    .mega-menu{
      width:min(880px,calc(100vw - 48px));
      padding:22px;
      border-radius:0 0 20px 20px;
    }

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

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

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

    .mega-heading strong{
      color:#1f2a44;
      font-size:17px;
    }

    .mega-heading a,
    .mega-heading span{
      color:var(--theme);
      font-size:13px;
      font-weight:700;
    }

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

    .mega-categories a{
      padding:6px 11px;
      color:#4b5870;
      background:#f3f5f9;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }

    .mega-categories a:hover{
      color:#ffffff;
      background:var(--theme);
    }

    .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;
      border:1px solid #edf0f5;
      border-radius:13px;
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }

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

    .mega-card img{
      width:48px;
      height:48px;
      flex:0 0 auto;
      object-fit:cover;
      background:#f0f3f8;
      border-radius:10px;
    }

    .mega-card span{
      min-width:0;
    }

    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#25304a;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

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

    .mega-card small{
      display:block;
      overflow:hidden;
      color:#788399;
      font-size:10px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

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

    .header-btns > span,
    .header-btns > a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      white-space:nowrap;
    }

    .header-btns > span{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .header-btns > a{
      color:#ffffff;
      background:var(--theme);
      box-shadow:0 8px 20px rgba(11,61,145,.20);
    }

    .hamburger{
      width:42px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      cursor:pointer;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:10px;
    }

    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      border-radius:2px;
      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:90;
      visibility:hidden;
      opacity:0;
      background:rgba(5,14,34,.58);
      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:100;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#ffffff;
      box-shadow:-18px 0 50px rgba(5,14,34,.20);
      transform:translateX(105%);
      transition:transform .28s ease;
    }

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

    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      display:flex;
      align-items:center;
      gap:9px;
      padding:16px;
      background:#ffffff;
      border-bottom:1px solid var(--line);
    }

    .drawer-head > span,
    .drawer-head > a{
      padding:9px 12px;
      border-radius:9px;
      font-size:13px;
      font-weight:800;
    }

    .drawer-head > span{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .drawer-head > a{
      color:#ffffff;
      background:var(--theme);
    }

    .drawer-close{
      width:40px;
      height:40px;
      margin-left:auto;
      padding:0;
      cursor:pointer;
      color:#28344d;
      background:#f3f5f8;
      border:0;
      border-radius:10px;
      font-size:28px;
      line-height:1;
    }

    .drawer-menu{
      padding:14px 16px 30px;
    }

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

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

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

    .drawer-submenu{
      display:none;
      padding:7px 0 10px 14px;
      border-bottom:1px solid #eef1f5;
    }

    .drawer-submenu.open{
      display:grid;
    }

    .drawer-submenu a{
      padding:10px 12px;
      color:#59657a;
      border-left:2px solid #dce5f6;
      font-size:14px;
    }

    .drawer-submenu a:hover{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .tools-page{
      min-height:60vh;
    }

    .tools-page .tools-hero{
      position:relative;
      overflow:hidden;
      padding:78px 0 72px;
      color:#ffffff;
      background:
        radial-gradient(circle at 15% 20%,rgba(64,139,255,.34),transparent 30%),
        radial-gradient(circle at 86% 80%,rgba(216,27,117,.25),transparent 28%),
        linear-gradient(135deg,#061b43 0%,#0B3D91 58%,#174f9e 100%);
    }

    .tools-page .tools-hero::before{
      content:"";
      position:absolute;
      inset:0;
      opacity:.16;
      background-image:
        linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
      background-size:38px 38px;
    }

    .tools-page .tools-hero-inner{
      position:relative;
      z-index:1;
      max-width:900px;
      margin:auto;
      text-align:center;
    }

    .tools-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:15px;
      padding:7px 13px;
      color:#ffffff;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.22);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
      letter-spacing:.05em;
    }

    .tools-page .tools-hero h1{
      max-width:820px;
      margin:0 auto 18px;
      font-size:clamp(34px,5vw,60px);
      line-height:1.16;
      letter-spacing:-.035em;
    }

    .tools-page .tools-hero p{
      max-width:720px;
      margin:0 auto;
      color:#dce8ff;
      font-size:17px;
    }

    .tools-page .hero-actions{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:12px;
      margin-top:28px;
    }

    .tools-page .primary-action,
    .tools-page .secondary-action{
      display:inline-flex;
      min-height:48px;
      align-items:center;
      justify-content:center;
      padding:0 20px;
      border-radius:12px;
      font-weight:800;
      transition:transform .2s ease,box-shadow .2s ease;
    }

    .tools-page .primary-action{
      color:var(--theme);
      background:#ffffff;
      box-shadow:0 14px 30px rgba(0,0,0,.18);
    }

    .tools-page .secondary-action{
      color:#ffffff;
      background:rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.30);
    }

    .tools-page .primary-action:hover,
    .tools-page .secondary-action:hover{
      transform:translateY(-2px);
    }

    .tools-page .hero-points{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      max-width:800px;
      margin:34px auto 0;
    }

    .tools-page .hero-point{
      padding:14px;
      color:#ecf3ff;
      background:rgba(5,24,61,.28);
      border:1px solid rgba(255,255,255,.16);
      border-radius:13px;
      font-size:13px;
      font-weight:700;
    }

    .tools-page .tool-directory{
      padding:72px 0;
    }

    .tools-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:24px;
      margin-bottom:28px;
    }

    .tools-page .section-heading > div{
      max-width:720px;
    }

    .tools-page .section-label{
      display:block;
      margin-bottom:7px;
      color:var(--accent);
      font-size:13px;
      font-weight:900;
      letter-spacing:.08em;
    }

    .tools-page .section-heading h2{
      margin:0;
      color:#17233c;
      font-size:clamp(28px,4vw,40px);
      line-height:1.25;
    }

    .tools-page .section-heading p{
      margin:10px 0 0;
      color:var(--muted);
    }

    .tools-page .tool-filter{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:25px;
    }

    .tools-page .tool-filter span{
      display:inline-flex;
      padding:8px 13px;
      color:#536077;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }

    .tools-page .tool-filter span:first-child{
      color:#ffffff;
      background:var(--theme);
      border-color:var(--theme);
    }

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

    .tools-page .tool-card{
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:24px;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 8px 24px rgba(25,42,77,.06);
      transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
    }

    .tools-page .tool-card:hover{
      transform:translateY(-5px);
      border-color:#b7c9ed;
      box-shadow:0 18px 38px rgba(11,61,145,.12);
    }

    .tools-page .tool-card-head{
      display:flex;
      align-items:center;
      gap:14px;
      margin-bottom:17px;
    }

    .tools-page .tool-icon{
      width:58px;
      height:58px;
      flex:0 0 auto;
      display:grid;
      place-items:center;
      overflow:hidden;
      background:var(--theme-soft);
      border-radius:15px;
    }

    .tools-page .tool-icon img{
      width:38px;
      height:38px;
      object-fit:contain;
    }

    .tools-page .tool-status{
      display:inline-flex;
      padding:5px 9px;
      color:#087443;
      background:#eafbf2;
      border-radius:999px;
      font-size:11px;
      font-weight:900;
    }

    .tools-page .tool-card h3{
      margin:0 0 10px;
      color:#1e2a43;
      font-size:20px;
      line-height:1.4;
    }

    .tools-page .tool-card p{
      margin:0 0 20px;
      color:var(--muted);
      font-size:14px;
    }

    .tools-page .tool-card-link{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      margin-top:auto;
      padding-top:16px;
      color:var(--theme);
      border-top:1px solid #edf0f5;
      font-size:14px;
      font-weight:900;
    }

    .tools-page .tool-card-link span:last-child{
      font-size:18px;
      transition:transform .2s ease;
    }

    .tools-page .tool-card:hover .tool-card-link span:last-child{
      transform:translateX(4px);
    }

    .tools-page .usage-section{
      padding:72px 0;
      background:#ffffff;
      border-top:1px solid var(--line);
      border-bottom:1px solid var(--line);
    }

    .tools-page .usage-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:20px;
      margin-top:30px;
    }

    .tools-page .usage-card{
      position:relative;
      overflow:hidden;
      padding:28px;
      background:#f7f9fd;
      border:1px solid #e6ebf4;
      border-radius:18px;
    }

    .tools-page .usage-number{
      display:grid;
      width:42px;
      height:42px;
      place-items:center;
      margin-bottom:18px;
      color:#ffffff;
      background:var(--theme);
      border-radius:12px;
      font-weight:900;
      box-shadow:0 9px 20px rgba(11,61,145,.20);
    }

    .tools-page .usage-card h3{
      margin:0 0 9px;
      font-size:19px;
    }

    .tools-page .usage-card p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }

    .tools-page .notice-section{
      padding:68px 0;
    }

    .tools-page .notice-box{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      align-items:center;
      gap:30px;
      padding:34px;
      color:#24314c;
      background:linear-gradient(135deg,#ffffff,#edf3ff);
      border:1px solid #dce5f5;
      border-radius:22px;
      box-shadow:0 14px 34px rgba(19,44,89,.08);
    }

    .tools-page .notice-box h2{
      margin:0 0 9px;
      font-size:25px;
    }

    .tools-page .notice-box p{
      max-width:760px;
      margin:0;
      color:var(--muted);
    }

    .tools-page .notice-box a{
      display:inline-flex;
      min-height:48px;
      align-items:center;
      justify-content:center;
      padding:0 20px;
      color:#ffffff;
      background:var(--theme);
      border-radius:12px;
      font-weight:900;
      white-space:nowrap;
      box-shadow:0 10px 24px rgba(11,61,145,.22);
    }

    .tools-page .faq-section{
      padding:0 0 80px;
    }

    .tools-page .faq-list{
      display:grid;
      gap:12px;
      max-width:900px;
      margin:28px auto 0;
    }

    .tools-page .faq-item{
      padding:22px 24px;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:15px;
    }

    .tools-page .faq-item h3{
      margin:0 0 8px;
      color:#22304a;
      font-size:17px;
    }

    .tools-page .faq-item p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }

    .footer{
      color:#c9d4e8;
      background:#07152f;
    }

    .footer .logo{
      color:#ffffff;
    }

    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:38px;
      padding:58px 0 42px;
    }

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

    .footer h2{
      margin:2px 0 17px;
      color:#ffffff;
      font-size:15px;
    }

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

    .footer-links a,
    .footer-contact a{
      color:#b9c5d9;
      font-size:14px;
      transition:color .2s ease;
    }

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

    .footer-social{
      margin-top:4px;
    }

    .footer-bottom{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      padding:20px 0 24px;
      color:#8f9db5;
      border-top:1px solid rgba(255,255,255,.10);
      font-size:13px;
    }

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

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

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

      .hamburger{
        display:flex;
      }

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

    @media (max-width:820px){
      .topbar-inner{
        min-height:42px;
      }

      .topbar-inner > span{
        display:none;
      }

      .topbar-contact{
        width:100%;
        justify-content:space-between;
        gap:10px;
      }

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

      .tools-page .tools-hero{
        padding:62px 0;
      }

      .tools-page .hero-points,
      .tools-page .usage-grid{
        grid-template-columns:1fr;
      }

      .tools-page .section-heading{
        display:block;
      }

      .tools-page .notice-box{
        grid-template-columns:1fr;
      }

      .tools-page .notice-box a{
        justify-self:start;
      }

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

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

      .topbar{
        font-size:11px;
      }

      .topbar-contact{
        flex-wrap:wrap;
        justify-content:center;
        padding:7px 0;
      }

      .header .logo span{
        max-width:130px;
      }

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

      .tools-page .tools-hero h1{
        font-size:34px;
      }

      .tools-page .tools-hero p{
        font-size:15px;
      }

      .tools-page .hero-actions{
        display:grid;
      }

      .tools-page .tools-grid{
        grid-template-columns:1fr;
      }

      .tools-page .tool-directory,
      .tools-page .usage-section{
        padding:54px 0;
      }

      .tools-page .section-heading h2{
        font-size:28px;
      }

      .tools-page .notice-box{
        padding:25px;
      }

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

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
      }
    }