:root {
      --primary: #0B3D91;
      --primary-dark: #072b68;
      --primary-soft: #eaf1fc;
      --ink: #172033;
      --muted: #667085;
      --line: #dfe5ee;
      --surface: #ffffff;
      --surface-alt: #f5f7fa;
      --cinema: #101114;
      --gold: #e6bc69;
      --scarlet: #b8202e;
      --shadow: 0 14px 36px rgba(23, 32, 51, 0.11);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-alt);
      font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.65;
      letter-spacing: 0;
    }

    body.drawer-lock {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

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

    .topbar {
      color: #e9eef8;
      background: #081b3c;
      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: 22px;
    }

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

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

    .header {
      position: relative;
      z-index: 50;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.98);
    }

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

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

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

    .logo span {
      max-width: 190px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      min-width: 0;
      flex: 1;
    }

    .nav-list {
      min-height: 78px;
      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 {
      min-height: 78px;
      padding: 0 13px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #30394d;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

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

    .has-arrow::after {
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: rotate(45deg) translateY(-2px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      visibility: hidden;
      opacity: 0;
      border: 1px solid var(--line);
      border-top: 3px solid var(--primary);
      background: #ffffff;
      box-shadow: var(--shadow);
      transform: translateY(8px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      pointer-events: none;
    }

    .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);
      pointer-events: auto;
    }

    .dropdown-panel {
      left: 0;
      width: 330px;
      padding: 18px;
    }

    .dropdown-title {
      margin: 0 0 10px;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

    .dropdown-article {
      padding: 10px 0;
      display: block;
      border-bottom: 1px solid #edf0f5;
      color: #30394d;
      font-size: 14px;
      line-height: 1.45;
    }

    .dropdown-article:hover {
      color: var(--primary);
    }

    .dropdown-more {
      margin-top: 13px;
      display: inline-flex;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

    .mega-menu {
      left: 50%;
      width: min(920px, calc(100vw - 40px));
      padding: 22px;
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      transform: translate(-50%, 0);
    }

    .mega-head {
      margin-bottom: 16px;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
    }

    .mega-head strong {
      color: var(--ink);
      font-size: 18px;
    }

    .mega-head span {
      color: var(--muted);
      font-size: 13px;
    }

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

    .mega-card {
      min-width: 0;
      padding: 12px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      border: 1px solid #e7ebf1;
      border-radius: 6px;
      background: #ffffff;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .mega-card:hover {
      border-color: #9cb5df;
      box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
    }

    .mega-card > img {
      width: 52px;
      height: 52px;
      flex: 0 0 52px;
      border-radius: 5px;
      background: #f1f4f8;
      object-fit: cover;
    }

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

    .mega-card-body strong,
    .mega-card-body small,
    .mega-card-body p {
      display: block;
    }

    .mega-card-body strong {
      overflow: hidden;
      color: #20293b;
      font-size: 14px;
      line-height: 1.4;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card-body small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.4;
    }

    .mega-card-body p {
      margin: 5px 0 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-layout {
      display: grid;
      grid-template-columns: 170px minmax(0, 1fr);
      gap: 18px;
    }

    .mega-categories {
      padding-right: 16px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      border-right: 1px solid var(--line);
    }

    .mega-categories a {
      padding: 8px 10px;
      border-radius: 4px;
      color: #3b465c;
      font-size: 13px;
      font-weight: 700;
    }

    .mega-categories a:hover {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .mega-footer {
      margin-top: 16px;
      padding-top: 13px;
      display: flex;
      justify-content: flex-end;
      border-top: 1px solid var(--line);
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

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

    .member-entry {
      display: inline-flex;
      align-items: center;
    }

    .member-entry a,
    .open-account {
      min-height: 38px;
      padding: 8px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .member-entry a {
      border: 1px solid var(--line);
      color: var(--primary);
      background: #ffffff;
    }

    .open-account {
      color: #ffffff;
      background: var(--primary);
    }

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

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      background: var(--ink);
      transition: transform 0.2s ease, opacity 0.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(4, 12, 27, 0.64);
      transition: opacity 0.25s ease, visibility 0.25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 40px rgba(0, 0, 0, 0.2);
      transform: translateX(105%);
      transition: transform 0.25s ease;
    }

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

    .drawer-head {
      min-height: 72px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid var(--line);
      background: #f7f9fc;
    }

    .drawer-head > a,
    .drawer-head > span a {
      padding: 8px 12px;
      display: inline-flex;
      border-radius: 4px;
      color: #ffffff;
      background: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--ink);
      background: #ffffff;
      font-size: 25px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 10px 18px 28px;
    }

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

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

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

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: #f7f9fc;
      transition: max-height 0.3s ease;
    }

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

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

    .video-page {
      min-width: 0;
    }

    .video-page .video-banner {
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background:
        linear-gradient(90deg, rgba(184, 32, 46, 0.2), transparent 42%),
        linear-gradient(145deg, #090b0f, #151922 62%, #0b264e);
    }

    .video-page .video-banner::after {
      position: absolute;
      inset: auto 0 0;
      height: 3px;
      content: "";
      background: linear-gradient(90deg, var(--scarlet), var(--gold), var(--primary));
    }

    .video-page .video-banner-inner {
      min-height: 278px;
      padding-block: 54px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .video-page .video-kicker {
      margin: 0 0 10px;
      color: var(--gold);
      font-size: 13px;
      font-weight: 800;
    }

    .video-page .video-banner h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(32px, 5vw, 58px);
      line-height: 1.14;
      letter-spacing: 0;
    }

    .video-page .video-banner p {
      max-width: 720px;
      margin: 16px 0 0;
      color: #cbd2df;
      font-size: 17px;
    }

    .video-page .category-strip {
      border-bottom: 1px solid var(--line);
      background: #ffffff;
    }

    .video-page .category-strip-inner {
      padding-block: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: thin;
    }

    .video-page .category-label {
      flex: 0 0 auto;
      margin-right: 6px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .video-page .category-pill {
      min-height: 38px;
      padding: 7px 14px;
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 19px;
      color: #354056;
      background: #ffffff;
      font-size: 13px;
      font-weight: 800;
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .video-page .category-pill:hover {
      color: #ffffff;
      border-color: var(--primary);
      background: var(--primary);
    }

    .video-page .video-library {
      padding-block: 54px 70px;
    }

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

    .video-page .section-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: 28px;
      line-height: 1.25;
    }

    .video-page .section-head p {
      max-width: 580px;
      margin: 7px 0 0;
      color: var(--muted);
    }

    .video-page .section-count {
      flex: 0 0 auto;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

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

    .video-page .video-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #ffffff;
      box-shadow: 0 5px 18px rgba(23, 32, 51, 0.06);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .video-page .video-card:hover {
      border-color: #a9bbd9;
      box-shadow: 0 14px 30px rgba(23, 32, 51, 0.12);
      transform: translateY(-3px);
    }

    .video-page .video-cover {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: var(--cinema);
    }

    .video-page .video-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

    .video-page .video-card:hover .video-cover img {
      transform: scale(1.035);
    }

    .video-page .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 50%;
      color: #ffffff;
      background: rgba(184, 32, 46, 0.9);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
      transform: translate(-50%, -50%);
    }

    .video-page .play-button::before {
      width: 0;
      height: 0;
      margin-left: 4px;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-left: 13px solid currentColor;
      content: "";
    }

    .video-page .video-duration {
      position: absolute;
      right: 10px;
      bottom: 10px;
      padding: 3px 8px;
      border-radius: 3px;
      color: #ffffff;
      background: rgba(5, 7, 11, 0.82);
      font-size: 12px;
      font-weight: 800;
    }

    .video-page .video-card-body {
      padding: 18px;
    }

    .video-page .video-category {
      margin: 0 0 7px;
      color: var(--scarlet);
      font-size: 12px;
      font-weight: 800;
    }

    .video-page .video-card h3 {
      margin: 0;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.45;
    }

    .video-page .video-card h3 a:hover {
      color: var(--primary);
    }

    .video-page .video-summary {
      min-height: 4.8em;
      margin: 10px 0 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }

    .video-page .watch-link {
      margin-top: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--primary);
      font-size: 14px;
      font-weight: 800;
    }

    .video-page .watch-link::after {
      content: "›";
      font-size: 20px;
      line-height: 1;
    }

    .video-page .pagination {
      margin-top: 40px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .video-page .pagination a {
      min-width: 42px;
      min-height: 42px;
      padding: 8px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: #344056;
      background: #ffffff;
      font-size: 14px;
      font-weight: 800;
    }

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

    .video-page .learning-note {
      margin-top: 54px;
      padding: 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      border-left: 4px solid var(--gold);
      background: var(--cinema);
      color: #ffffff;
    }

    .video-page .learning-note h2 {
      margin: 0;
      font-size: 22px;
    }

    .video-page .learning-note p {
      max-width: 720px;
      margin: 7px 0 0;
      color: #c7ced9;
    }

    .video-page .learning-note a {
      min-height: 44px;
      padding: 10px 18px;
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      color: #16110a;
      background: var(--gold);
      font-weight: 800;
    }

    .footer {
      color: #d8dfeb;
      background: #091a38;
    }

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

    .footer .logo {
      color: #ffffff;
    }

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

    .social-links {
      color: #ffffff;
    }

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

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

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

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

    .footer-bottom {
      min-height: 66px;
      padding-block: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: #92a0b8;
      font-size: 13px;
    }

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

      .hamburger {
        display: flex;
      }

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

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

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

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

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

      .topbar-inner {
        padding-block: 8px;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 5px 14px;
      }

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

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

      .logo span {
        max-width: 132px;
        font-size: 14px;
      }

      .member-entry,
      .open-account {
        display: none;
      }

      .video-page .video-banner-inner {
        min-height: 235px;
        padding-block: 38px;
      }

      .video-page .video-banner h1 {
        font-size: 34px;
      }

      .video-page .video-banner p {
        font-size: 15px;
      }

      .video-page .video-library {
        padding-block: 38px 52px;
      }

      .video-page .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

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

      .video-page .video-summary {
        min-height: 0;
      }

      .video-page .learning-note {
        padding: 23px;
        align-items: flex-start;
        flex-direction: column;
      }

      .footer-main {
        padding-block: 42px 32px;
        grid-template-columns: 1fr;
        gap: 28px;
      }

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

    @media (max-width: 420px) {
      .logo span {
        max-width: 105px;
      }

      .video-page .video-banner h1 {
        font-size: 30px;
      }

      .video-page .video-card-body {
        padding: 16px;
      }
    }