:root{
      --theme:#0B3D91;
      --template-theme:{主题色};
      --theme-dark:#072b69;
      --theme-soft:#edf4ff;
      --magenta:#c02678;
      --magenta-soft:#fff0f7;
      --ink:#172033;
      --muted:#687386;
      --line:#e2e7ef;
      --surface:#ffffff;
      --background:#f5f7fa;
      --shadow:0 16px 40px rgba(23,32,51,.09);
      --radius:18px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--background);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
      overflow-x:hidden;
    }

    body,
    button,
    input{
      font:inherit;
    }

    img{
      display:block;
      max-width:100%;
    }

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

    button{
      color:inherit;
    }

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

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

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

    .topbar-links{
      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 4px 20px rgba(23,32,51,.04);
    }

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

    .logo{
      min-width:170px;
      max-width:230px;
      display:flex;
      align-items:center;
      gap:11px;
      color:var(--theme);
      font-weight:800;
      font-size:18px;
      line-height:1.25;
    }

    .logo img{
      width:42px;
      height:42px;
      border-radius:11px;
      object-fit:contain;
      background:#ffffff;
    }

    .main-nav{
      flex:1;
      align-self:stretch;
    }

    .nav-list{
      height:100%;
      margin:0;
      padding:0;
      display:flex;
      align-items:stretch;
      justify-content:center;
      list-style:none;
    }

    .nav-item{
      position:relative;
      display:flex;
      align-items:stretch;
    }

    .nav-link{
      padding:0 13px;
      display:flex;
      align-items:center;
      gap:7px;
      color:#30394a;
      font-size:15px;
      font-weight:650;
      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{
      width:6px;
      height:6px;
      content:"";
      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(-1px,-1px);
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:50%;
      z-index:60;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translate(-50%,10px);
      padding:22px;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:0 24px 55px rgba(14,29,54,.16);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }

    .dropdown-panel{
      width:340px;
    }

    .mega-menu{
      width:min(760px,86vw);
    }

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

    .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;
      pointer-events:auto;
      transform:translate(-50%,0);
    }

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

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

    .panel-title{
      margin:0 0 14px;
      color:var(--theme);
      font-size:14px;
      font-weight:800;
      letter-spacing:.04em;
    }

    .panel-list{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:8px;
    }

    .dropdown-panel .panel-list{
      grid-template-columns:1fr;
    }

    .panel-list a{
      padding:9px 11px;
      overflow:hidden;
      color:#3e4859;
      background:#f7f9fc;
      border-radius:9px;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }

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

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

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

    .mega-card:hover{
      background:var(--theme-soft);
      border-color:#c9d9f5;
      transform:translateY(-2px);
    }

    .mega-card img{
      width:42px;
      height:42px;
      flex:0 0 42px;
      object-fit:cover;
      border-radius:9px;
      background:#ffffff;
    }

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

    .mega-card strong,
    .mega-card small{
      display:block;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .mega-card strong{
      color:#20293a;
      font-size:14px;
      white-space:nowrap;
    }

    .mega-card small{
      margin-top:2px;
      color:var(--muted);
      font-size:11px;
      line-height:1.35;
      white-space:nowrap;
    }

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

    .mega-footer::after{
      margin-left:7px;
      content:"→";
    }

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

    .member-link,
    .account-link{
      min-height:40px;
      padding:8px 15px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:10px;
      font-size:14px;
      font-weight:750;
    }

    .member-link{
      color:var(--theme);
      background:var(--theme-soft);
    }

    .account-link{
      color:#ffffff;
      background:var(--theme);
      box-shadow:0 8px 20px rgba(11,61,145,.2);
    }

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

    .hamburger span{
      width:20px;
      height:2px;
      display:block;
      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:80;
      visibility:hidden;
      opacity:0;
      background:rgba(7,18,37,.58);
      backdrop-filter:blur(2px);
      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:90;
      width:min(390px,90vw);
      overflow-y:auto;
      background:#ffffff;
      box-shadow:-20px 0 50px rgba(10,23,45,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }

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

    .drawer-head{
      min-height:70px;
      padding:14px 18px;
      display:flex;
      align-items:center;
      gap:12px;
      color:#ffffff;
      background:var(--theme);
    }

    .drawer-head strong{
      min-width:0;
      flex:1;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .drawer-head a{
      padding:7px 12px;
      color:var(--theme);
      background:#ffffff;
      border-radius:8px;
      font-weight:750;
    }

    .drawer-close{
      width:36px;
      height:36px;
      padding:0;
      color:#ffffff;
      background:transparent;
      border:1px solid rgba(255,255,255,.42);
      border-radius:8px;
      font-size:26px;
      line-height:1;
      cursor:pointer;
    }

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

    .drawer-link,
    .drawer-toggle{
      width:100%;
      min-height:49px;
      padding:12px 5px;
      display:flex;
      align-items:center;
      color:#263044;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      font-weight:700;
      text-align:left;
      cursor:pointer;
    }

    .drawer-toggle{
      justify-content:space-between;
    }

    .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;
      background:#f7f9fc;
      border-radius:0 0 10px 10px;
      transition:max-height .3s ease;
    }

    .drawer-submenu.open{
      max-height:720px;
    }

    .drawer-submenu a{
      padding:10px 14px;
      display:block;
      color:#536075;
      border-bottom:1px solid #e8ecf2;
      font-size:14px;
    }

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

    .tag-page{
      min-height:640px;
    }

    .tag-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:72px 0 64px;
      color:#ffffff;
      background:
        radial-gradient(circle at 82% 20%,rgba(224,47,139,.38),transparent 30%),
        radial-gradient(circle at 15% 85%,rgba(104,151,232,.32),transparent 34%),
        linear-gradient(135deg,#071f4e 0%,#0B3D91 62%,#512065 100%);
    }

    .tag-page .tag-hero::before,
    .tag-page .tag-hero::after{
      position:absolute;
      content:"";
      border:1px solid rgba(255,255,255,.13);
      border-radius:50%;
      pointer-events:none;
    }

    .tag-page .tag-hero::before{
      top:-120px;
      right:-80px;
      width:360px;
      height:360px;
    }

    .tag-page .tag-hero::after{
      bottom:-150px;
      left:-70px;
      width:310px;
      height:310px;
    }

    .tag-page .breadcrumb{
      margin:0 0 22px;
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:8px;
      color:#d4e3ff;
      font-size:14px;
    }

    .tag-page .breadcrumb a:hover{
      color:#ffffff;
    }

    .tag-page .tag-kicker{
      margin:0 0 12px;
      color:#ffd8ec;
      font-size:14px;
      font-weight:800;
      letter-spacing:.12em;
    }

    .tag-page .tag-title{
      margin:0;
      font-size:clamp(34px,6vw,64px);
      line-height:1.08;
      letter-spacing:-.035em;
    }

    .tag-page .tag-intro{
      max-width:720px;
      margin:20px 0 0;
      color:#e0eaff;
      font-size:17px;
    }

    .tag-page .tag-summary{
      margin-top:28px;
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:12px;
    }

    .tag-page .summary-pill{
      padding:8px 14px;
      display:inline-flex;
      align-items:center;
      gap:7px;
      color:#ffffff;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.2);
      border-radius:999px;
      backdrop-filter:blur(8px);
      font-size:14px;
    }

    .tag-page .summary-pill strong{
      color:#ffd5e9;
    }

    .tag-page .tag-content{
      padding:62px 0 80px;
    }

    .tag-page .section-head{
      margin-bottom:25px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
    }

    .tag-page .section-head h2{
      margin:0;
      color:#1d2739;
      font-size:30px;
      line-height:1.2;
    }

    .tag-page .section-head p{
      margin:7px 0 0;
      color:var(--muted);
    }

    .tag-page .tag-index-link{
      padding:10px 16px;
      flex:0 0 auto;
      color:var(--theme);
      background:#ffffff;
      border:1px solid #cdd9ed;
      border-radius:10px;
      font-weight:750;
      transition:color .2s ease,background .2s ease,border-color .2s ease;
    }

    .tag-page .tag-index-link:hover{
      color:#ffffff;
      background:var(--theme);
      border-color:var(--theme);
    }

    .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:#ffffff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 8px 26px rgba(23,32,51,.05);
      transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
    }

    .tag-page .article-card:hover{
      border-color:#c7d5eb;
      box-shadow:var(--shadow);
      transform:translateY(-3px);
    }

    .tag-page .article-cover{
      position:relative;
      min-height:245px;
      overflow:hidden;
      background:#dfe7f4;
    }

    .tag-page .article-cover img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .35s ease;
    }

    .tag-page .article-card:hover .article-cover img{
      transform:scale(1.04);
    }

    .tag-page .article-cover::after{
      position:absolute;
      inset:0;
      content:"";
      background:linear-gradient(180deg,transparent 62%,rgba(7,25,54,.24));
      pointer-events:none;
    }

    .tag-page .article-body{
      min-width:0;
      padding:25px 28px;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
    }

    .tag-page .article-label{
      margin-bottom:10px;
      padding:5px 10px;
      color:var(--magenta);
      background:var(--magenta-soft);
      border-radius:999px;
      font-size:12px;
      font-weight:800;
    }

    .tag-page .article-title{
      margin:0;
      color:#182235;
      font-size:23px;
      line-height:1.35;
    }

    .tag-page .article-title a{
      transition:color .2s ease;
    }

    .tag-page .article-title a:hover{
      color:var(--theme);
    }

    .tag-page .article-summary{
      margin:12px 0 16px;
      display:-webkit-box;
      overflow:hidden;
      color:#5f6a7d;
      font-size:15px;
      line-height:1.75;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

    .tag-page .article-meta{
      margin-top:auto;
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:7px 16px;
      color:#7a8495;
      font-size:13px;
    }

    .tag-page .article-meta span{
      display:inline-flex;
      align-items:center;
      gap:5px;
    }

    .tag-page .article-tags{
      margin-top:13px;
      color:#65728a;
      font-size:13px;
      word-break:break-word;
    }

    .tag-page .article-tags strong{
      color:#354158;
    }

    .tag-page .read-more{
      margin-top:18px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:var(--theme);
      font-size:14px;
      font-weight:800;
    }

    .tag-page .read-more::after{
      content:"→";
      transition:transform .2s ease;
    }

    .tag-page .read-more:hover::after{
      transform:translateX(4px);
    }

    .tag-page .pagination{
      margin-top:38px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex-wrap:wrap;
      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:#3f4a5f;
      background:#ffffff;
      border:1px solid var(--line);
      border-radius:10px;
      font-size:14px;
      font-weight:700;
      transition:color .2s ease,background .2s ease,border-color .2s ease;
    }

    .tag-page .pagination a:hover,
    .tag-page .pagination a.active,
    .tag-page .pagination a.current{
      color:#ffffff;
      background:var(--theme);
      border-color:var(--theme);
    }

    .tag-page .tag-cta{
      margin-top:52px;
      padding:30px 34px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:25px;
      color:#ffffff;
      background:linear-gradient(120deg,var(--theme-dark),var(--theme) 68%,#9b286d);
      border-radius:22px;
      box-shadow:0 20px 44px rgba(11,61,145,.2);
    }

    .tag-page .tag-cta h2{
      margin:0;
      font-size:25px;
    }

    .tag-page .tag-cta p{
      margin:7px 0 0;
      color:#dbe7ff;
    }

    .tag-page .tag-cta a{
      padding:11px 18px;
      flex:0 0 auto;
      color:var(--theme);
      background:#ffffff;
      border-radius:10px;
      font-weight:800;
    }

    .footer{
      padding:56px 0 0;
      color:#bec9dc;
      background:#09162b;
    }

    .footer-grid{
      padding-bottom:42px;
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1fr;
      gap:38px;
    }

    .footer h3,
    .footer-brand strong{
      margin:0 0 15px;
      display:block;
      color:#ffffff;
      font-size:17px;
    }

    .footer p{
      margin:7px 0;
      font-size:14px;
    }

    .footer-links{
      display:grid;
      gap:8px;
    }

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

    .footer-links a:hover{
      color:#ffffff;
      transform:translateX(2px);
    }

    .footer-bottom{
      min-height:68px;
      padding:16px 0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8e9bb2;
      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;
      }

      .logo{
        margin-right:auto;
      }
    }

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

      .topbar .container{
        min-height:42px;
      }

      .topbar-links{
        gap:10px;
      }

      .tag-page .tag-hero{
        padding:54px 0 50px;
      }

      .tag-page .tag-content{
        padding:45px 0 62px;
      }

      .tag-page .article-card{
        grid-template-columns:230px minmax(0,1fr);
      }

      .tag-page .article-cover{
        min-height:270px;
      }

      .tag-page .article-body{
        padding:21px;
      }

      .tag-page .article-title{
        font-size:20px;
      }

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

    @media (max-width:620px){
      .topbar .container{
        padding:7px 0;
        align-items:flex-start;
        flex-direction:column;
        gap:2px;
      }

      .topbar-links{
        align-items:flex-start;
        flex-direction:column;
        gap:1px;
      }

      .header-btns .member-link{
        display:none;
      }

      .account-link{
        padding:8px 12px;
      }

      .logo{
        min-width:0;
        max-width:190px;
        font-size:16px;
      }

      .logo img{
        width:38px;
        height:38px;
      }

      .tag-page .tag-title{
        font-size:38px;
      }

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

      .tag-page .section-head{
        align-items:flex-start;
        flex-direction:column;
      }

      .tag-page .article-card{
        grid-template-columns:1fr;
      }

      .tag-page .article-cover{
        min-height:210px;
        aspect-ratio:16/9;
      }

      .tag-page .article-body{
        padding:20px;
      }

      .tag-page .article-summary{
        -webkit-line-clamp:3;
      }

      .tag-page .tag-cta{
        padding:25px;
        align-items:flex-start;
        flex-direction:column;
      }

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

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:3px;
      }
    }