:root{--primary:#0B3D91;--primary-dark:#072c69;--accent:#7c5cff;--ink:#181b24;--muted:#687083;--line:#e5e8ef;--surface:#fff;--soft:#f5f7fb;--radius:18px;--shadow:0 18px 45px rgba(22,32,60,.1)}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;color:var(--ink);background:var(--soft);font-family:"Noto Sans TC","PingFang HK","Microsoft JhengHei",sans-serif;line-height:1.65}
    body,a,button,input{font:inherit}
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%}
    button{color:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{position:relative;z-index:60;color:#e9efff;background:#111725;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 a:hover{color:#fff}

    .header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
    .header-inner{min-height:76px;display:flex;align-items:center;gap:28px}
    .logo{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--primary);font-size:18px;font-weight:800}
    .logo img{width:42px;height:42px;border-radius:12px;object-fit:contain}
    .main-nav{min-width:0;margin-left:auto}
    .nav-list{display:flex;align-items:center;gap:3px;margin:0;padding:0;list-style:none}
    .nav-item{position:relative}
    .nav-link{display:flex;align-items:center;gap:6px;padding:26px 11px;color:#303748;font-size:14px;font-weight:700;white-space:nowrap}
    .nav-link:hover{color:var(--primary)}
    .has-arrow::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
    .dropdown-panel,.mega-menu{position:absolute;top:calc(100% - 8px);left:50%;visibility:hidden;opacity:0;transform:translate(-50%,12px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);transition:.2s ease;pointer-events:none}
    .dropdown-panel{width:280px;padding:12px}
    .mega-menu{width:min(660px,80vw);padding:22px}
    .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-list{display:grid}
    .dropdown-list a{padding:10px 12px;border-radius:9px;color:#41495a;font-size:14px}
    .dropdown-list a:hover,.mega-links a:hover{color:var(--primary);background:#f1f5ff}
    .mega-heading{margin:0 0 12px;color:#252b38;font-size:15px}
    .mega-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .mega-card{min-width:0;display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #edf0f5;border-radius:12px}
    .mega-card:hover{border-color:#bfd0f5;background:#f8faff}
    .mega-card img{width:46px;height:40px;flex:0 0 auto;border-radius:8px;object-fit:cover;background:#eef2f8}
    .mega-card>span{min-width:0;display:grid}
    .mega-card strong,.mega-card span span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .mega-card strong{font-size:13px}
    .mega-card span span{color:var(--muted);font-size:12px}
    .mega-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .mega-links a{padding:9px 11px;border-radius:9px;color:#40485a;font-size:13px}
    .mega-footer{display:block;margin-top:14px;padding:11px;text-align:center;color:#fff;background:var(--primary);border-radius:10px;font-size:13px;font-weight:700}
    .header-btns{display:flex;align-items:center;gap:10px;flex:0 0 auto}
    .member-btn{font-size:14px}
    .open-btn{padding:10px 18px;color:#fff;background:var(--primary);border-radius:10px;font-size:14px;font-weight:800}
    .open-btn:hover{background:var(--primary-dark)}
    .hamburger{width:42px;height:42px;display:none;place-content:center;gap:5px;padding:0;background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer}
    .hamburger span{width:20px;height:2px;display:block;background:#242936;transition:.2s}
    .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:79;visibility:hidden;opacity:0;background:rgba(9,13,24,.58);transition:.25s}
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{position:fixed;top:0;right:0;z-index:80;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:.28s ease}
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:17px 20px;color:#fff;background:var(--primary)}
    .drawer-head span{min-width:0;margin-right:auto}
    .drawer-head a{padding:7px 13px;border:1px solid rgba(255,255,255,.55);border-radius:8px;font-size:13px}
    .drawer-close{width:36px;height:36px;color:#fff;background:transparent;border:0;font-size:30px;line-height:1;cursor:pointer}
    .drawer-menu{padding:14px 20px 30px}
    .drawer-link,.drawer-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 4px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;font-weight:750;cursor:pointer}
    .drawer-toggle::after{content:"+";font-size:21px;font-weight:400}
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{display:none;padding:8px 0 10px 14px;border-bottom:1px solid var(--line)}
    .drawer-submenu.open{display:grid}
    .drawer-submenu a{padding:9px 8px;color:#555e70;font-size:14px;border-radius:8px}
    .drawer-submenu a:hover{color:var(--primary);background:#f2f6ff}

    .tag-page{min-height:620px}
    .tag-page .tag-hero{position:relative;overflow:hidden;padding:76px 0 70px;color:#fff;background:linear-gradient(135deg,#10172b 0%,#0B3D91 55%,#6548a7 100%)}
    .tag-page .tag-hero::before,.tag-page .tag-hero::after{content:"";position:absolute;border-radius:50%;filter:blur(2px)}
    .tag-page .tag-hero::before{width:340px;height:340px;top:-190px;right:5%;background:rgba(170,137,255,.3)}
    .tag-page .tag-hero::after{width:250px;height:250px;bottom:-170px;left:9%;background:rgba(90,188,255,.22)}
    .tag-page .tag-hero-inner{position:relative;z-index:1;max-width:820px}
    .tag-page .eyebrow{display:inline-flex;padding:6px 12px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.1);font-size:13px;font-weight:800;letter-spacing:.08em}
    .tag-page .tag-hero h1{margin:18px 0 12px;font-size:clamp(36px,6vw,64px);line-height:1.12}
    .tag-page .tag-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.82);font-size:17px}
    .tag-page .tag-count{display:inline-flex;align-items:center;gap:8px;margin-top:24px;padding:10px 15px;border-radius:10px;background:rgba(9,15,30,.28);font-weight:700}
    .tag-page .tag-count strong{font-size:20px}

    .tag-page .tag-content{padding:64px 0 84px}
    .tag-page .section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
    .tag-page .section-head h2{margin:0;font-size:30px}
    .tag-page .section-head p{margin:0;color:var(--muted)}
    .tag-page .article-list{display:grid;gap:22px}
    .tag-page .article-card{min-width:0;display:grid;grid-template-columns:320px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 25px rgba(24,31,52,.055);transition:.22s ease}
    .tag-page .article-card:hover{border-color:#bdcbeb;box-shadow:var(--shadow);transform:translateY(-3px)}
    .tag-page .article-cover{min-height:240px;overflow:hidden;background:#e9edf4}
    .tag-page .article-cover img{width:100%;height:100%;object-fit:cover;transition:.35s ease}
    .tag-page .article-card:hover .article-cover img{transform:scale(1.035)}
    .tag-page .article-body{min-width:0;display:flex;flex-direction:column;padding:26px 28px}
    .tag-page .article-label{align-self:flex-start;padding:5px 10px;color:var(--primary);background:#edf3ff;border-radius:999px;font-size:12px;font-weight:800}
    .tag-page .article-body h2{margin:12px 0 9px;font-size:24px;line-height:1.35}
    .tag-page .article-body h2 a:hover{color:var(--primary)}
    .tag-page .article-summary{display:-webkit-box;overflow:hidden;margin:0 0 18px;color:#5c6577;-webkit-box-orient:vertical;-webkit-line-clamp:3}
    .tag-page .article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:auto;color:#7a8292;font-size:13px}
    .tag-page .article-tags{margin-top:12px;color:#626c7e;font-size:13px}
    .tag-page .article-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:17px;border-top:1px solid #edf0f5}
    .tag-page .read-more{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-size:14px;font-weight:850}
    .tag-page .read-more::after{content:"→";transition:.2s}
    .tag-page .read-more:hover::after{transform:translateX(4px)}
    .tag-page .pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:40px}
    .tag-page .pagination a{min-width:42px;height:42px;display:grid;place-items:center;padding:0 13px;background:#fff;border:1px solid var(--line);border-radius:10px;font-weight:700}
    .tag-page .pagination a:hover,.tag-page .pagination a.active,.tag-page .pagination a.current{color:#fff;background:var(--primary);border-color:var(--primary)}

    .footer{color:#d5daE7;background:#111725}
    .footer-grid{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:42px;padding:58px 0 42px}
    .footer h3{margin:0 0 16px;color:#fff;font-size:16px}
    .footer strong{color:#fff;font-size:20px}
    .footer p{color:#aeb6c8;font-size:14px}
    .footer-grid>div{display:flex;flex-direction:column;align-items:flex-start}
    .footer-grid a,.footer-grid span{margin-bottom:9px;color:#b9c1d1;font-size:14px}
    .footer-grid a:hover{color:#fff}
    .footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid rgba(255,255,255,.1);color:#929bad;font-size:13px}

    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:grid}
      .header-inner{min-height:68px}
      .header-btns{margin-left:auto}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{min-height:40px}
      .topbar-inner>span{display:none}
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .member-btn,.open-btn{display:none}
      .logo span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .tag-page .tag-hero{padding:56px 0}
      .tag-page .tag-content{padding:42px 0 64px}
      .tag-page .section-head{display:block}
      .tag-page .section-head p{margin-top:6px}
      .tag-page .article-card{grid-template-columns:1fr}
      .tag-page .article-cover{min-height:210px;aspect-ratio:16/9}
      .tag-page .article-body{padding:22px}
      .tag-page .article-body h2{font-size:21px}
      .footer-grid{grid-template-columns:1fr;gap:30px;padding:44px 0 34px}
      .footer-bottom{flex-direction:column;gap:5px}
    }
    @media (max-width:430px){
      .topbar-contact{display:grid;gap:2px;padding:5px 0}
      .logo img{width:38px;height:38px}
      .tag-page .article-footer{align-items:flex-start;flex-direction:column}
    }