:root {
      --theme: #0B3D91;
      --theme-dark: #072b68;
      --theme-soft: #eaf1fc;
      --accent: #d8a83e;
      --ink: #13213a;
      --muted: #64748b;
      --line: #dce4ef;
      --surface: #ffffff;
      --page: #f4f7fb;
      --danger: #b42332;
      --shadow: 0 18px 50px rgba(15, 35, 70, .12);
      --radius: 18px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body.drawer-locked {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button {
      color: inherit;
    }

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

    .topbar {
      color: #dce8ff;
      background: #07152b;
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

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

    .topbar-welcome {
      margin: 0;
      font-size: 13px;
    }

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

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

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

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

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

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

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

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

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

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

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0 12px;
      color: #24344f;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-link::after {
      position: absolute;
      right: 12px;
      bottom: 14px;
      left: 12px;
      height: 2px;
      content: "";
      background: var(--theme);
      transform: scaleX(0);
      transition: transform .2s ease;
    }

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

    .nav-link:hover::after,
    .nav-item:focus-within > .nav-link::after {
      transform: scaleX(1);
    }

    .nav-link.has-arrow {
      padding-right: 24px;
    }

    .nav-link.has-arrow::before {
      position: absolute;
      top: 50%;
      right: 10px;
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: translateY(-65%) rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      z-index: 80;
      top: 100%;
      right: 0;
      left: 0;
      padding: 14px 20px 22px;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      top: -12px;
      right: 0;
      left: 0;
      height: 14px;
      content: "";
    }

    .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-shell,
    .mega-shell {
      width: min(var(--container), calc(100% - 40px));
      max-height: calc(100vh - 140px);
      margin-inline: auto;
      overflow: auto;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
    }

    .dropdown-shell {
      padding: 22px;
    }

    .dropdown-head,
    .mega-heading-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .dropdown-head strong,
    .mega-heading-row strong {
      color: #122039;
      font-size: 18px;
    }

    .dropdown-head a,
    .mega-heading-row a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .dropdown-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .dropdown-story {
      min-width: 0;
      padding: 10px;
      background: #f7f9fc;
      border: 1px solid #e8edf4;
      border-radius: 13px;
      transition: border-color .2s ease, transform .2s ease;
    }

    .dropdown-story:hover {
      border-color: #9cb8e4;
      transform: translateY(-2px);
    }

    .dropdown-story img {
      width: 100%;
      height: 100px;
      object-fit: cover;
      border-radius: 9px;
    }

    .dropdown-story span {
      margin-top: 9px;
      display: -webkit-box;
      overflow: hidden;
      color: #1e2e48;
      font-size: 14px;
      font-weight: 750;
      line-height: 1.45;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-shell {
      padding: 22px 22px 0;
    }

    .mega-body {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 22px;
    }

    .mega-categories {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 7px;
      background: var(--theme-soft);
      border-radius: 14px;
    }

    .mega-categories-title {
      margin-bottom: 4px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .mega-categories a {
      padding: 7px 9px;
      color: #33445f;
      border-radius: 8px;
      font-size: 14px;
    }

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

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

    .mega-card {
      min-width: 0;
      padding: 13px;
      background: #fff;
      border: 1px solid #e5eaf1;
      border-radius: 13px;
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

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

    .mega-card > img {
      width: 100%;
      height: 82px;
      margin-bottom: 10px;
      object-fit: cover;
      border-radius: 9px;
      background: #edf2f8;
    }

    .mega-card > img.mega-logo,
    .mega-card > img.mega-icon {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

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

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

    .mega-meta {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 5px 10px;
      color: #607089;
      font-size: 11px;
    }

    .mega-footer {
      margin: 20px -22px 0;
      padding: 13px 22px;
      display: block;
      color: var(--theme);
      background: #f5f8fd;
      border-top: 1px solid var(--line);
      text-align: right;
      font-size: 14px;
      font-weight: 800;
    }

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

    .header-member {
      color: var(--theme);
      font-size: 14px;
      font-weight: 750;
    }

    .account-btn {
      padding: 10px 15px;
      color: #fff;
      background: var(--theme);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 7px 18px rgba(11, 61, 145, .18);
    }

    .account-btn:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 9px;
      display: none;
      cursor: pointer;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
    }

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 5px 0;
      display: block;
      background: var(--ink);
      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;
      z-index: 90;
      inset: 0;
      visibility: hidden;
      opacity: 0;
      background: rgba(4, 13, 28, .6);
      backdrop-filter: blur(3px);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      z-index: 100;
      top: 0;
      right: 0;
      width: min(390px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      background: #fff;
      box-shadow: -20px 0 50px rgba(4, 13, 28, .25);
      transform: translateX(105%);
      transition: transform .25s 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);
    }

    .drawer-head > a {
      padding: 8px 11px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 8px;
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      cursor: pointer;
      color: #fff;
      background: rgba(255, 255, 255, .12);
      border: 0;
      border-radius: 9px;
      font-size: 27px;
      line-height: 1;
    }

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

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

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      margin-right: 5px;
      content: "";
      border-right: 2px solid var(--theme);
      border-bottom: 2px solid var(--theme);
      transform: rotate(45deg);
      transition: transform .2s ease;
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      max-height: 0;
      padding-left: 12px;
      overflow: hidden;
      background: #f7f9fc;
      transition: max-height .3s ease;
    }

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

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

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

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

    .tag-page .tag-hero {
      position: relative;
      overflow: hidden;
      color: #fff;
      background:
        radial-gradient(circle at 15% 20%, rgba(216, 168, 62, .24), transparent 24%),
        radial-gradient(circle at 85% 15%, rgba(64, 126, 223, .3), transparent 28%),
        linear-gradient(135deg, #06142c 0%, #0b3d91 58%, #08285d 100%);
    }

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

    .tag-page .tag-hero::before {
      top: -130px;
      right: 8%;
      width: 340px;
      height: 340px;
    }

    .tag-page .tag-hero::after {
      bottom: -180px;
      left: 4%;
      width: 420px;
      height: 420px;
    }

    .tag-page .tag-hero-inner {
      position: relative;
      z-index: 1;
      padding-block: 68px 72px;
      text-align: center;
    }

    .tag-page .tag-eyebrow {
      margin: 0 0 12px;
      color: #f2cf78;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .14em;
    }

    .tag-page .tag-title {
      max-width: 900px;
      margin: 0 auto;
      font-size: clamp(34px, 6vw, 66px);
      line-height: 1.12;
      overflow-wrap: anywhere;
    }

    .tag-page .tag-description {
      max-width: 720px;
      margin: 18px auto 0;
      color: #dbe7fa;
      font-size: 17px;
    }

    .tag-page .tag-stat {
      width: fit-content;
      margin: 26px auto 0;
      padding: 9px 16px;
      color: #fff5d7;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 999px;
      backdrop-filter: blur(8px);
      font-size: 14px;
      font-weight: 800;
    }

    .tag-page .tag-content {
      padding-block: 58px 76px;
    }

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

    .tag-page .section-head h2 {
      margin: 0;
      color: #14233c;
      font-size: clamp(25px, 4vw, 36px);
      line-height: 1.2;
    }

    .tag-page .section-head p {
      max-width: 620px;
      margin: 8px 0 0;
      color: var(--muted);
    }

    .tag-page .all-tags-link {
      flex: 0 0 auto;
      padding: 10px 15px;
      color: var(--theme);
      background: #fff;
      border: 1px solid #b8cae7;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 850;
    }

    .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: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 12px 34px rgba(18, 43, 80, .06);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .tag-page .article-card:hover {
      border-color: #a8bee0;
      box-shadow: 0 18px 42px rgba(18, 43, 80, .11);
      transform: translateY(-3px);
    }

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

    .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.035);
    }

    .tag-page .article-label {
      position: absolute;
      top: 16px;
      left: 16px;
      max-width: calc(100% - 32px);
      padding: 7px 11px;
      overflow: hidden;
      color: #fff;
      background: rgba(11, 61, 145, .9);
      border-radius: 999px;
      backdrop-filter: blur(7px);
      font-size: 12px;
      font-weight: 850;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .tag-page .article-body h3 {
      margin: 0;
      color: #14233d;
      font-size: clamp(20px, 2.5vw, 27px);
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

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

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

    .tag-page .article-meta {
      margin: auto 0 0;
      padding-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      color: #718096;
      border-top: 1px solid #edf1f5;
      font-size: 13px;
    }

    .tag-page .article-tags {
      margin-top: 12px;
      color: var(--theme);
      font-size: 13px;
      overflow-wrap: anywhere;
    }

    .tag-page .read-more {
      width: fit-content;
      margin-top: 17px;
      padding: 9px 15px;
      color: #fff;
      background: var(--theme);
      border-radius: 9px;
      font-size: 14px;
      font-weight: 850;
    }

    .tag-page .read-more:hover {
      background: var(--theme-dark);
    }

    .tag-page .pagination {
      margin-top: 36px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      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: #35445d;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      font-weight: 750;
    }

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

    .tag-page .tag-note {
      margin-top: 50px;
      padding: 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      background: linear-gradient(135deg, #fff 0%, #edf3fc 100%);
      border: 1px solid #ccdaee;
      border-radius: 18px;
    }

    .tag-page .tag-note h2 {
      margin: 0 0 6px;
      font-size: 23px;
    }

    .tag-page .tag-note p {
      margin: 0;
      color: var(--muted);
    }

    .tag-page .tag-note a {
      flex: 0 0 auto;
      padding: 11px 17px;
      color: #fff;
      background: var(--theme);
      border-radius: 10px;
      font-weight: 850;
    }

    .footer {
      color: #c9d5e8;
      background: #07152b;
    }

    .footer-main {
      padding-block: 54px 42px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 38px;
    }

    .footer .logo {
      color: #fff;
    }

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

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

    .footer-links,
    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .footer-links a,
    .footer-contact a {
      color: #aebdd1;
      font-size: 14px;
    }

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

    .footer-social {
      margin-top: 8px;
      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;
    }

    .footer-bottom p {
      margin: 0;
    }

    .footer-bottom a:hover {
      color: #fff;
    }

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

      .hamburger {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

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

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

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

      .topbar-inner {
        min-height: 48px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding-block: 7px;
      }

      .topbar-contact {
        width: 100%;
        gap: 7px 15px;
        flex-wrap: wrap;
      }

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

      .header .logo img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
      }

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

      .header-member {
        display: none;
      }

      .account-btn {
        padding: 9px 11px;
        font-size: 13px;
      }

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

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

      .tag-page .tag-content {
        padding-block: 40px 55px;
      }

      .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: 220px;
        aspect-ratio: 16 / 9;
      }

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

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

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

      .footer-bottom {
        padding-block: 18px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
      }
    }

    @media (max-width: 460px) {
      .topbar-contact {
        flex-direction: column;
      }

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

      .account-btn {
        display: none;
      }

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