:root {
      --theme: #0B3D91;
      --theme-dark: #07285f;
      --theme-soft: #eaf1fc;
      --ink: #172033;
      --muted: #647087;
      --line: #dce3ee;
      --surface: #ffffff;
      --surface-soft: #f5f7fa;
      --danger: #b42335;
      --gold: #b88a2e;
      --shadow: 0 16px 40px rgba(20, 34, 58, 0.12);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-soft);
      font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.6;
    }

    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(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      color: #f8fbff;
      background: #081429;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .topbar-welcome {
      margin: 0;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .topbar-contact a:hover,
    .topbar-contact a:focus-visible {
      color: #f2c86b;
    }

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

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

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

    .logo img {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

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

    .main-nav {
      align-self: stretch;
      margin-left: auto;
    }

    .nav-list {
      height: 100%;
      display: flex;
      align-items: stretch;
      gap: 2px;
      margin: 0;
      padding: 0;
      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 11px;
      color: #2e384b;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-link::after {
      position: absolute;
      right: 10px;
      bottom: 0;
      left: 10px;
      height: 3px;
      background: var(--theme);
      content: "";
      opacity: 0;
      transform: scaleX(0.4);
      transition: 0.2s ease;
    }

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

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

    .has-arrow {
      padding-right: 22px;
    }

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

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

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 16px;
      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(1120px, calc(100% - 40px));
      max-height: calc(100vh - 130px);
      margin: 0 auto;
      overflow-y: auto;
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 3px solid var(--theme);
      box-shadow: var(--shadow);
    }

    .dropdown-shell {
      padding: 22px;
    }

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

    .dropdown-head strong,
    .mega-heading-row strong {
      color: var(--theme-dark);
      font-size: 18px;
    }

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

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

    .dropdown-story {
      min-width: 0;
      overflow: hidden;
      background: var(--surface-soft);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .dropdown-story img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      background: #e8edf5;
    }

    .dropdown-story span {
      display: block;
      padding: 12px;
      font-size: 14px;
      font-weight: 700;
    }

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

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

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

    .mega-categories-title {
      margin-bottom: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .mega-categories a {
      padding: 8px 10px;
      border-radius: 5px;
      font-size: 14px;
    }

    .mega-categories a:hover,
    .mega-categories a:focus-visible {
      color: var(--theme);
      background: var(--theme-soft);
    }

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

    .mega-card {
      min-width: 0;
      padding: 12px;
      overflow: hidden;
      background: #fbfcfe;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

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

    .mega-card > img:not(.mega-logo):not(.mega-icon) {
      width: 100%;
      height: 76px;
      margin-bottom: 9px;
      object-fit: cover;
      background: #e8edf5;
      border-radius: 5px;
    }

    .mega-card .mega-logo,
    .mega-card .mega-icon {
      width: 38px;
      height: 38px;
      margin-bottom: 8px;
      object-fit: contain;
    }

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

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

    .mega-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 10px;
      margin-top: 8px;
      color: var(--muted);
      font-size: 11px;
    }

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

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

    .header-member {
      color: var(--theme);
      font-size: 14px;
      white-space: nowrap;
    }

    .account-btn {
      display: inline-flex;
      min-height: 40px;
      align-items: center;
      justify-content: center;
      padding: 8px 15px;
      color: #fff;
      background: var(--theme);
      border: 1px solid var(--theme);
      border-radius: 6px;
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
    }

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

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

    .hamburger span {
      width: 20px;
      height: 2px;
      background: var(--ink);
      transition: 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;
      background: rgba(5, 12, 25, 0.62);
      opacity: 0;
      transition: 0.22s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 100;
      width: min(390px, 90vw);
      overflow-y: auto;
      background: var(--surface);
      box-shadow: -18px 0 45px rgba(0, 0, 0, 0.2);
      transform: translateX(105%);
      transition: transform 0.24s ease;
    }

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

    .drawer-head {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 18px;
      color: #fff;
      background: var(--theme-dark);
    }

    .drawer-head > a {
      margin-left: auto;
      padding: 7px 10px;
      background: #fff;
      border-radius: 5px;
      color: var(--theme-dark);
      font-size: 13px;
      font-weight: 800;
    }

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

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

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

    .drawer-toggle {
      position: relative;
      padding-right: 30px;
    }

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

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

    .drawer-submenu {
      display: none;
      padding: 6px 0 8px 14px;
      background: #f7f9fc;
      border-bottom: 1px solid var(--line);
    }

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 9px 10px;
      color: #465269;
      font-size: 14px;
    }

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

    .video-page {
      min-height: 620px;
    }

    .video-page .video-heading {
      color: #fff;
      background: #09152b;
      border-bottom: 4px solid var(--theme);
    }

    .video-page .video-heading-inner {
      padding: 54px 0 50px;
      text-align: center;
    }

    .video-page .video-kicker {
      margin: 0 0 8px;
      color: #efc76c;
      font-size: 13px;
      font-weight: 800;
    }

    .video-page .video-heading h1 {
      margin: 0;
      font-size: clamp(30px, 5vw, 52px);
      line-height: 1.2;
      letter-spacing: 0;
    }

    .video-page .video-heading p {
      max-width: 720px;
      margin: 14px auto 0;
      color: #c8d2e5;
      font-size: 16px;
    }

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

    .video-page .category-list {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 16px 0;
      overflow-x: auto;
      scrollbar-width: thin;
    }

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

    .video-page .category-list a {
      flex: 0 0 auto;
      padding: 8px 13px;
      color: #31405a;
      background: #f4f7fb;
      border: 1px solid var(--line);
      border-radius: 5px;
      font-size: 13px;
      font-weight: 700;
    }

    .video-page .category-list a:hover,
    .video-page .category-list a:focus-visible {
      color: #fff;
      background: var(--theme);
      border-color: var(--theme);
    }

    .video-page .video-content {
      padding: 48px 0 64px;
    }

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

    .video-page .section-head h2 {
      margin: 0;
      color: #15213a;
      font-size: 26px;
      line-height: 1.3;
      letter-spacing: 0;
    }

    .video-page .section-head p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .video-page .section-count {
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .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;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 7px 22px rgba(28, 42, 66, 0.06);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .video-page .video-card:hover,
    .video-page .video-card:focus-within {
      border-color: #9cb5dc;
      box-shadow: 0 14px 32px rgba(11, 61, 145, 0.13);
      transform: translateY(-3px);
    }

    .video-page .video-cover {
      position: relative;
      display: block;
      overflow: hidden;
      background: #111a2c;
      aspect-ratio: 16 / 9;
    }

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

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

    .video-page .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 50px;
      height: 50px;
      display: grid;
      place-items: center;
      color: #fff;
      background: rgba(180, 35, 53, 0.92);
      border: 2px solid rgba(255, 255, 255, 0.9);
      border-radius: 50%;
      box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
      transform: translate(-50%, -50%);
    }

    .video-page .play-button::after {
      width: 0;
      height: 0;
      margin-left: 3px;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 11px solid currentColor;
      content: "";
    }

    .video-page .video-duration {
      position: absolute;
      right: 9px;
      bottom: 9px;
      padding: 3px 7px;
      color: #fff;
      background: rgba(5, 10, 20, 0.84);
      border-radius: 4px;
      font-size: 12px;
      font-weight: 800;
    }

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

    .video-page .video-card-body h3 {
      margin: 0;
      color: #18243a;
      font-size: 18px;
      line-height: 1.45;
      letter-spacing: 0;
    }

    .video-page .video-card-body h3 a:hover,
    .video-page .video-card-body h3 a:focus-visible {
      color: var(--theme);
    }

    .video-page .video-card-body p {
      display: -webkit-box;
      min-height: 50px;
      margin: 9px 0 15px;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .video-page .watch-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

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

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

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

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

    .footer {
      color: #d7dfed;
      background: #081429;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 44px;
      padding-top: 52px;
      padding-bottom: 44px;
    }

    .footer .logo {
      color: #fff;
    }

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

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

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

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

    .footer-links a:hover,
    .footer-links a:focus-visible,
    .footer-contact a:hover,
    .footer-contact a:focus-visible {
      color: #f2c86b;
    }

    .footer-social {
      margin-top: 5px;
    }

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

    .footer-bottom p {
      margin: 0;
    }

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

    :focus-visible {
      outline: 3px solid rgba(11, 61, 145, 0.35);
      outline-offset: 2px;
    }

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

      .hamburger {
        display: flex;
      }

      .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(100% - 28px, 1180px);
      }

      .topbar-inner {
        min-height: 44px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding: 6px 0;
      }

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

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

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

      .header .logo span {
        max-width: 130px;
        font-size: 15px;
      }

      .header-member {
        display: none;
      }

      .account-btn {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 12px;
      }

      .hamburger {
        width: 39px;
        height: 39px;
      }

      .video-page .video-heading-inner {
        padding: 40px 0 38px;
      }

      .video-page .video-heading h1 {
        font-size: 32px;
      }

      .video-page .video-heading p {
        font-size: 14px;
      }

      .video-page .video-content {
        padding: 34px 0 48px;
      }

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

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

      .video-page .video-card-body h3 {
        font-size: 17px;
      }

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

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 16px 0;
      }
    }

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

      .account-btn {
        display: none;
      }

      .video-page .video-heading h1 {
        overflow-wrap: anywhere;
      }
    }