:root{
      --theme:#0B3D91;
      --theme-dark:#06265f;
      --theme-soft:#eaf1fc;
      --accent:#4f7fc8;
      --ink:#152238;
      --muted:#637089;
      --line:#dfe6f0;
      --surface:#ffffff;
      --surface-soft:#f5f8fc;
      --shadow:0 14px 40px rgba(24,52,91,.10);
      --radius:18px;
      --container:1200px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--surface-soft);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Noto Sans TC","Microsoft JhengHei",sans-serif;
      line-height:1.7;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{max-width:100%;height:auto}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}
    .container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}
    .skip-link{
      position:fixed;
      top:10px;
      left:10px;
      z-index:3000;
      padding:10px 15px;
      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:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar-contact 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 4px 18px rgba(25,49,85,.05);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:26px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      flex:0 0 auto;
      gap:10px;
      color:var(--theme-dark);
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:42px;
      height:42px;
      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;
      color:#26364f;
      font-size:14px;
      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-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      left:0;
      z-index:1100;
      visibility:hidden;
      opacity:0;
      transform:translateY(8px);
      transition:opacity .18s ease,transform .18s ease,visibility .18s;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      background:#fff;
      box-shadow:0 20px 45px rgba(20,45,81,.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;
      transform:translateY(0);
    }
    .dropdown-panel{
      width:300px;
      padding:10px;
    }
    .dropdown-panel>a:not(.dropdown-footer){
      display:block;
      padding:11px 12px;
      color:#34435b;
      border-radius:9px;
      font-size:14px;
    }
    .dropdown-panel>a:not(.dropdown-footer):hover{
      color:var(--theme);
      background:var(--theme-soft);
    }
    .dropdown-footer,.mega-footer{
      display:block;
      margin-top:8px;
      padding:11px 12px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:9px;
      font-weight:800;
      text-align:center;
    }
    .mega-menu{
      left:50%;
      width:min(760px,90vw);
      padding:20px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{transform:translate(-50%,0)}
    .mega-menu-wide{width:min(930px,94vw)}
    .mega-head{
      margin-bottom:15px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
    }
    .mega-head strong{font-size:17px;color:var(--theme-dark)}
    .mega-head span{font-size:13px;color:var(--muted)}
    .mega-categories{
      margin-bottom:15px;
      padding-bottom:14px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      border-bottom:1px solid var(--line);
    }
    .mega-categories a{
      padding:6px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      padding:11px;
      display:flex;
      align-items:flex-start;
      gap:10px;
      border:1px solid var(--line);
      border-radius:12px;
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }
    .mega-card:hover{
      transform:translateY(-2px);
      border-color:#aac2e7;
      box-shadow:0 8px 22px rgba(11,61,145,.10);
    }
    .mega-card img{
      width:42px;
      height:42px;
      flex:0 0 42px;
      object-fit:cover;
      border-radius:9px;
      background:var(--surface-soft);
    }
    .mega-card-text{min-width:0;display:block}
    .mega-card-text b{
      display:block;
      overflow:hidden;
      color:#1f2f48;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-text p{
      margin:3px 0;
      overflow:hidden;
      color:var(--muted);
      font-size:12px;
      line-height:1.45;
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
    }
    .mega-card-text small{display:block;color:#77849a;font-size:11px}

    .header-btns{
      display:flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
    }
    .member-entry{font-size:14px}
    .account-btn{
      padding:9px 16px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
      box-shadow:0 7px 18px rgba(11,61,145,.19);
    }
    .account-btn:hover{background:var(--theme-dark)}
    .hamburger{
      width:42px;
      height:42px;
      padding:0;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:9px;
      cursor:pointer;
    }
    .hamburger span{
      width:19px;
      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:1400;
      visibility:hidden;
      opacity:0;
      background:rgba(6,20,43,.56);
      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:1500;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 55px rgba(10,30,61,.24);
      transform:translateX(105%);
      transition:transform .27s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:72px;
      padding:14px 18px;
      display:flex;
      align-items:center;
      gap:12px;
      color:#fff;
      background:var(--theme-dark);
    }
    .drawer-head>a{
      padding:7px 12px;
      border:1px solid rgba(255,255,255,.32);
      border-radius:8px;
      font-size:14px;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      color:#fff;
      background:rgba(255,255,255,.12);
      border:0;
      border-radius:50%;
      font-size:25px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:15px}
    .drawer-link,.drawer-toggle{
      width:100%;
      padding:13px 12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      color:#24334b;
      background:none;
      border:0;
      border-bottom:1px solid var(--line);
      font-weight:750;
      text-align:left;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:20px;
      font-weight:400;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      background:var(--surface-soft);
      transition:max-height .3s ease;
    }
    .drawer-submenu.open{max-height:650px}
    .drawer-submenu a{
      padding:10px 16px;
      display:block;
      color:#526079;
      border-bottom:1px solid #e7edf6;
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--theme)}

    .article-page{
      min-height:70vh;
      padding:34px 0 76px;
    }
    .article-page .article-breadcrumb{
      margin-bottom:22px;
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:8px;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .article-breadcrumb a{color:var(--theme);font-weight:700}
    .article-page .article-breadcrumb span::before{
      content:"/";
      margin-right:8px;
      color:#a7b1c1;
    }
    .article-page .article-layout{
      display:grid;
      grid-template-columns:minmax(0,1fr) 320px;
      align-items:start;
      gap:28px;
    }
    .article-page .article-main,
    .article-page .article-sidebar-card{
      min-width:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
    }
    .article-page .article-main{overflow:hidden}
    .article-page .article-header{
      padding:42px 48px 28px;
      border-bottom:1px solid var(--line);
      background:
        radial-gradient(circle at 95% 0,rgba(79,127,200,.16),transparent 35%),
        linear-gradient(180deg,#fff,#f8faff);
    }
    .article-page .article-category{
      display:inline-flex;
      align-items:center;
      gap:7px;
      margin-bottom:15px;
      padding:6px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #cedcf2;
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }
    .article-page .article-category::before{
      content:"";
      width:7px;
      height:7px;
      background:var(--theme);
      border-radius:50%;
    }
    .article-page h1{
      margin:0;
      color:#10233f;
      font-size:clamp(30px,4vw,50px);
      line-height:1.2;
      letter-spacing:-.025em;
      overflow-wrap:anywhere;
    }
    .article-page .article-summary{
      margin:18px 0 0;
      color:#526078;
      font-size:17px;
      line-height:1.8;
    }
    .article-page .article-meta{
      margin-top:22px;
      padding-top:18px;
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:10px 20px;
      color:#6d7990;
      border-top:1px solid #e5ebf4;
      font-size:14px;
    }
    .article-page .article-meta span{
      display:inline-flex;
      align-items:center;
      gap:7px;
    }
    .article-page .article-meta span::before{
      width:7px;
      height:7px;
      content:"";
      background:#9bb2d4;
      border-radius:50%;
    }
    .article-page .article-content{
      min-width:0;
      max-width:100%;
      padding:38px 48px 46px;
      overflow-x:auto;
      color:#2d3b51;
      font-size:17px;
      line-height:1.9;
    }
    .article-page .article-content h2,
    .article-page .article-content h3,
    .article-page .article-content h4{
      margin:1.7em 0 .65em;
      color:#112a51;
      line-height:1.4;
    }
    .article-page .article-content h2{
      padding-left:14px;
      border-left:4px solid var(--theme);
      font-size:28px;
    }
    .article-page .article-content h3{font-size:22px}
    .article-page .article-content p{margin:0 0 1.2em}
    .article-page .article-content a{
      color:var(--theme);
      text-decoration:underline;
      text-underline-offset:3px;
    }
    .article-page .article-content img{
      max-width:100%;
      border-radius:14px;
      box-shadow:0 9px 28px rgba(31,55,88,.12);
    }
    .article-page .article-content table{
      width:100%;
      max-width:100%;
      border-collapse:collapse;
    }
    .article-page .article-content th,
    .article-page .article-content td{
      padding:11px;
      border:1px solid var(--line);
      text-align:left;
    }
    .article-page .article-content blockquote{
      margin:24px 0;
      padding:18px 22px;
      color:#274469;
      background:var(--theme-soft);
      border-left:4px solid var(--theme);
      border-radius:0 12px 12px 0;
    }
    .article-page .article-tags{
      padding:0 48px 32px;
      display:flex;
      align-items:flex-start;
      flex-wrap:wrap;
      gap:9px;
    }
    .article-page .article-tags strong{padding:7px 0;color:#263650}
    .article-page .article-tags a{
      padding:7px 12px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #d4e0f2;
      border-radius:999px;
      font-size:13px;
      font-weight:700;
    }
    .article-page .article-notice{
      margin:0 48px 38px;
      padding:17px 19px;
      color:#5b4a24;
      background:#fff8df;
      border:1px solid #efdfaa;
      border-radius:12px;
      font-size:14px;
    }
    .article-page .article-navigation{
      margin-top:24px;
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:16px;
    }
    .article-page .article-navigation a{
      min-width:0;
      padding:18px 20px;
      display:flex;
      flex-direction:column;
      gap:6px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:14px;
      box-shadow:0 9px 26px rgba(30,57,94,.07);
      transition:transform .2s ease,border-color .2s ease;
    }
    .article-page .article-navigation a:hover{
      transform:translateY(-2px);
      border-color:#aac1e4;
    }
    .article-page .article-navigation small{color:var(--theme);font-weight:800}
    .article-page .article-navigation span{
      overflow:hidden;
      color:#23324a;
      font-weight:700;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .article-page .next-article{text-align:right}
    .article-page .article-sidebar{
      position:sticky;
      top:24px;
      display:grid;
      gap:20px;
    }
    .article-page .article-sidebar-card{padding:22px}
    .article-page .article-sidebar-card h2{
      margin:0 0 15px;
      color:#142b4f;
      font-size:19px;
    }
    .article-page .article-sidebar-card p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .quick-links{
      margin-top:15px;
      display:grid;
      gap:9px;
    }
    .article-page .quick-links a{
      padding:10px 12px;
      color:#35445b;
      background:var(--surface-soft);
      border:1px solid var(--line);
      border-radius:9px;
      font-size:14px;
      font-weight:700;
    }
    .article-page .quick-links a:hover{
      color:var(--theme);
      border-color:#afc5e7;
    }
    .article-page .side-cta{
      color:#fff;
      background:linear-gradient(145deg,var(--theme),var(--theme-dark));
      border-color:transparent;
    }
    .article-page .side-cta h2,.article-page .side-cta p{color:#fff}
    .article-page .side-cta p{color:#dce7fb}
    .article-page .side-cta a{
      margin-top:16px;
      padding:10px 15px;
      display:inline-flex;
      color:var(--theme-dark);
      background:#fff;
      border-radius:9px;
      font-weight:800;
    }
    .article-page .related-section{
      margin-top:46px;
      padding-top:32px;
      border-top:1px solid var(--line);
    }
    .article-page .section-heading{
      margin-bottom:20px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:18px;
    }
    .article-page .section-heading h2{
      margin:0;
      color:#132b50;
      font-size:30px;
    }
    .article-page .section-heading p{margin:0;color:var(--muted)}
    .article-page .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
    }
    .article-page .related-card{
      min-width:0;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:15px;
      box-shadow:0 10px 30px rgba(30,57,94,.08);
      transition:transform .2s ease,box-shadow .2s ease;
    }
    .article-page .related-card:hover{
      transform:translateY(-4px);
      box-shadow:0 16px 36px rgba(30,57,94,.13);
    }
    .article-page .related-card img{
      width:100%;
      aspect-ratio:16/9;
      display:block;
      object-fit:cover;
      background:#e8edf5;
    }
    .article-page .related-card-body{padding:17px}
    .article-page .related-card h3{
      margin:0 0 8px;
      color:#1b304f;
      font-size:17px;
      line-height:1.45;
    }
    .article-page .related-card p{
      margin:0 0 13px;
      overflow:hidden;
      color:var(--muted);
      font-size:14px;
      line-height:1.65;
      display:-webkit-box;
      -webkit-line-clamp:3;
      -webkit-box-orient:vertical;
    }
    .article-page .related-meta{
      display:flex;
      justify-content:space-between;
      gap:10px;
      color:#7c8799;
      font-size:12px;
    }

    .footer{
      padding:58px 0 0;
      color:#c9d5e8;
      background:#071a38;
    }
    .footer-grid{
      padding-bottom:42px;
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:40px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:440px;
      margin:17px 0;
      color:#aebdd2;
      font-size:14px;
    }
    .footer-social{color:#fff}
    .footer h2{
      margin:5px 0 17px;
      color:#fff;
      font-size:16px;
    }
    .footer-links,.footer-contact{display:grid;gap:10px}
    .footer-links a,.footer-contact a{
      color:#b9c7da;
      font-size:14px;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#91a3bd;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1120px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-inner{min-height:70px}
      .header-btns{margin-left:auto}
      .article-page .article-layout{grid-template-columns:minmax(0,1fr) 280px}
    }
    @media (max-width:900px){
      .article-page .article-layout{grid-template-columns:1fr}
      .article-page .article-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
      .article-page .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:680px){
      .container{width:min(calc(100% - 28px),var(--container))}
      .topbar-inner{
        padding:7px 0;
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
      }
      .topbar-contact{gap:12px;flex-wrap:wrap}
      .header-btns .member-entry,.account-btn{display:none}
      .article-page{padding:22px 0 52px}
      .article-page .article-header{padding:28px 22px 23px}
      .article-page h1{font-size:31px}
      .article-page .article-summary{font-size:16px}
      .article-page .article-content{padding:28px 22px 32px;font-size:16px}
      .article-page .article-tags{padding:0 22px 26px}
      .article-page .article-notice{margin:0 22px 28px}
      .article-page .article-navigation{grid-template-columns:1fr}
      .article-page .next-article{text-align:left}
      .article-page .article-sidebar{grid-template-columns:1fr}
      .article-page .section-heading{align-items:flex-start;flex-direction:column}
      .article-page .related-grid{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:1fr;gap:28px}
      .footer-bottom{
        padding:18px 0;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:4px;
      }
    }