:root {
      --theme: #0B3D91;
      --theme-dark: #072b67;
      --theme-soft: #eaf1fc;
      --ink: #172033;
      --muted: #647087;
      --line: #dfe4ec;
      --surface: #ffffff;
      --page: #f4f6f9;
      --danger: #c62c38;
      --gold: #c69a42;
      --footer: #101724;
      --shadow: 0 14px 36px rgba(16, 32, 61, 0.12);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--page);
      font-family: "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 {
      color: inherit;
      font: inherit;
    }

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

    .topbar {
      color: #dce7fa;
      background: #07152d;
      font-size: 13px;
    }

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

    .topbar-welcome {
      margin: 0;
    }

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

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

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      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(--ink);
      font-size: 19px;
      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%;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

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

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 13px;
      color: #273249;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

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

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

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

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

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      z-index: 60;
      padding-top: 1px;
      visibility: hidden;
      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;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 10px;
      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(calc(100% - 40px), var(--container));
      margin-inline: auto;
      padding: 22px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 3px solid var(--theme);
      box-shadow: var(--shadow);
    }

    .dropdown-head,
    .mega-heading-row {
      margin-bottom: 18px;
      padding-bottom: 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-bottom: 1px solid var(--line);
    }

    .dropdown-head strong,
    .mega-heading-row strong {
      font-size: 17px;
    }

    .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;
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      padding: 10px;
      background: #f7f9fc;
      border: 1px solid #e8ebf1;
    }

    .dropdown-story:hover {
      color: var(--theme);
      border-color: #b9cae8;
    }

    .dropdown-story img {
      width: 76px;
      height: 58px;
      object-fit: cover;
    }

    .dropdown-story span {
      overflow: hidden;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

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

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

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

    .mega-categories a {
      padding: 7px 8px;
      color: #39445a;
      font-size: 13px;
      border-left: 2px solid transparent;
    }

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

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

    .mega-card {
      min-width: 0;
      padding: 12px;
      background: #f8f9fc;
      border: 1px solid #e6eaf0;
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .mega-card:hover {
      border-color: #adc1e4;
      transform: translateY(-2px);
    }

    .mega-card > img:not(.mega-logo):not(.mega-icon) {
      width: 100%;
      height: 82px;
      margin-bottom: 9px;
      object-fit: cover;
    }

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

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

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

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

    .mega-footer {
      margin-top: 18px;
      padding: 11px 14px;
      display: block;
      color: #ffffff;
      background: var(--theme);
      text-align: center;
      font-size: 13px;
      font-weight: 800;
    }

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

    .header-member {
      font-size: 13px;
      white-space: nowrap;
    }

    .account-btn {
      padding: 10px 14px;
      color: #ffffff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

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

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

    .hamburger span {
      width: 20px;
      height: 2px;
      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: 80;
      visibility: hidden;
      background: rgba(5, 11, 24, 0.62);
      opacity: 0;
      transition: opacity 0.25s ease, visibility 0.25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 90;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -20px 0 50px rgba(5, 15, 35, 0.2);
      transform: translateX(102%);
      transition: transform 0.28s ease;
    }

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

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

    .drawer-head > a {
      margin-left: auto;
      padding: 7px 10px;
      border: 1px solid rgba(255, 255, 255, 0.42);
      font-size: 13px;
      font-weight: 700;
    }

    .drawer-close {
      width: 36px;
      height: 36px;
      padding: 0;
      color: #ffffff;
      background: transparent;
      border: 0;
      font-size: 29px;
      line-height: 1;
      cursor: pointer;
    }

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

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

    .drawer-toggle {
      position: relative;
    }

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

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

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

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

    .drawer-submenu a {
      padding: 10px 16px;
      display: block;
      color: #47536a;
      border-bottom: 1px solid #e5e9f0;
      font-size: 13px;
    }

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

    .video-detail-main {
      min-width: 0;
    }

    .video-detail-main .video-heading {
      padding: 44px 0 32px;
      color: #ffffff;
      background:
        linear-gradient(rgba(4, 14, 34, 0.82), rgba(4, 14, 34, 0.95)),
        url("{视频封面}") center / cover no-repeat;
    }

    .video-detail-main .breadcrumb {
      margin-bottom: 18px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: #bfcae0;
      font-size: 13px;
    }

    .video-detail-main .breadcrumb a:hover {
      color: #ffffff;
    }

    .video-detail-main .video-heading h1 {
      max-width: 920px;
      margin: 0;
      color: #ffffff;
      font-size: clamp(30px, 4vw, 50px);
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    .video-detail-main .video-meta {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .video-detail-main .video-meta span {
      padding: 6px 10px;
      color: #e7edf9;
      background: rgba(255, 255, 255, 0.09);
      border: 1px solid rgba(255, 255, 255, 0.18);
      font-size: 13px;
    }

    .video-detail-main .video-layout {
      padding: 38px 0 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      align-items: start;
      gap: 28px;
    }

    .video-detail-main .video-primary {
      min-width: 0;
    }

    .video-detail-main .player-shell {
      position: relative;
      width: 100%;
      overflow: hidden;
      color: #ffffff;
      background: #060a12;
      border: 1px solid #1c2638;
      aspect-ratio: 16 / 9;
      box-shadow: var(--shadow);
    }

    .video-detail-main .player-shell > * {
      max-width: 100%;
    }

    .video-detail-main .player-shell iframe,
    .video-detail-main .player-shell video,
    .video-detail-main .player-shell embed,
    .video-detail-main .player-shell object {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .video-detail-main .video-address {
      margin-top: 10px;
      padding: 10px 13px;
      overflow-wrap: anywhere;
      color: var(--muted);
      background: #ffffff;
      border-left: 3px solid var(--gold);
      font-size: 12px;
    }

    .video-detail-main .detail-section {
      margin-top: 22px;
      padding: 26px;
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      background: #ffffff;
      border: 1px solid var(--line);
      box-shadow: 0 8px 24px rgba(21, 40, 75, 0.06);
    }

    .video-detail-main .detail-section h2 {
      margin: 0 0 15px;
      font-size: 22px;
      line-height: 1.35;
    }

    .video-detail-main .detail-section h2::after {
      width: 42px;
      height: 3px;
      margin-top: 10px;
      display: block;
      content: "";
      background: var(--theme);
    }

    .video-detail-main .video-summary {
      margin: 0;
      color: #4d596e;
      font-size: 16px;
      white-space: pre-line;
    }

    .video-detail-main .video-content {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      color: #354056;
      line-height: 1.85;
    }

    .video-detail-main .video-content img,
    .video-detail-main .video-content video,
    .video-detail-main .video-content iframe,
    .video-detail-main .video-content table {
      max-width: 100%;
    }

    .video-detail-main .video-content img {
      height: auto;
    }

    .video-detail-main .video-tags {
      margin-top: 18px;
      padding-top: 16px;
      color: var(--theme);
      border-top: 1px solid var(--line);
      font-size: 14px;
      font-weight: 700;
    }

    .video-detail-main .video-sidebar {
      position: sticky;
      top: 24px;
      padding: 22px;
      background: #ffffff;
      border-top: 4px solid var(--theme);
      box-shadow: var(--shadow);
    }

    .video-detail-main .video-sidebar h2 {
      margin: 0 0 8px;
      font-size: 20px;
    }

    .video-detail-main .video-sidebar > p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .video-detail-main .side-facts {
      margin: 0;
    }

    .video-detail-main .side-facts div {
      padding: 12px 0;
      display: grid;
      grid-template-columns: 82px minmax(0, 1fr);
      gap: 12px;
      border-bottom: 1px solid var(--line);
    }

    .video-detail-main .side-facts dt {
      color: var(--muted);
      font-size: 13px;
    }

    .video-detail-main .side-facts dd {
      margin: 0;
      overflow-wrap: anywhere;
      font-size: 13px;
      font-weight: 700;
      text-align: right;
    }

    .video-detail-main .category-button {
      margin-top: 20px;
      padding: 12px 15px;
      display: block;
      color: #ffffff;
      background: var(--theme);
      text-align: center;
      font-weight: 800;
    }

    .video-detail-main .category-button:hover {
      background: var(--theme-dark);
    }

    .video-detail-main .related-band {
      padding: 58px 0 70px;
      background: #e9edf4;
      border-top: 1px solid #d8dee8;
    }

    .video-detail-main .section-heading {
      margin-bottom: 24px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
    }

    .video-detail-main .section-heading h2 {
      margin: 0;
      font-size: 30px;
    }

    .video-detail-main .section-heading a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .video-detail-main .related-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .video-detail-main .related-card {
      min-width: 0;
      overflow: hidden;
      background: #ffffff;
      border: 1px solid #dce2eb;
      box-shadow: 0 8px 24px rgba(20, 40, 75, 0.07);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .video-detail-main .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 32px rgba(20, 40, 75, 0.13);
    }

    .video-detail-main .related-cover {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #101724;
    }

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

    .video-detail-main .related-card:hover .related-cover img {
      transform: scale(1.04);
    }

    .video-detail-main .play-mark {
      position: absolute;
      right: 14px;
      bottom: 14px;
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      color: #ffffff;
      background: var(--danger);
      border-radius: 50%;
      font-size: 15px;
    }

    .video-detail-main .duration {
      position: absolute;
      right: 60px;
      bottom: 18px;
      padding: 3px 7px;
      color: #ffffff;
      background: rgba(6, 10, 18, 0.78);
      font-size: 11px;
    }

    .video-detail-main .related-body {
      padding: 17px;
    }

    .video-detail-main .related-body h3 {
      margin: 0;
      overflow: hidden;
      font-size: 16px;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .video-detail-main .related-body p {
      margin: 9px 0 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .footer {
      color: #c4cede;
      background: var(--footer);
    }

    .footer-main {
      padding: 52px 0 38px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
      gap: 38px;
    }

    .footer .logo {
      color: #ffffff;
    }

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

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

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

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

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

    .footer-bottom {
      min-height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #8f9caf;
      border-top: 1px solid #293244;
      font-size: 12px;
    }

    .footer-bottom p {
      margin: 0;
    }

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

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

      .hamburger {
        display: flex;
      }

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

      .video-detail-main .video-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
      }
    }

    @media (max-width: 820px) {
      .topbar-inner {
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 4px 16px;
      }

      .header-member {
        display: none;
      }

      .video-detail-main .video-layout {
        grid-template-columns: 1fr;
      }

      .video-detail-main .video-sidebar {
        position: static;
      }

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

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

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

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

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

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

      .account-btn {
        display: none;
      }

      .video-detail-main .video-heading {
        padding: 32px 0 26px;
      }

      .video-detail-main .video-heading h1 {
        font-size: 29px;
      }

      .video-detail-main .video-layout {
        padding: 24px 0 46px;
      }

      .video-detail-main .detail-section {
        padding: 19px;
      }

      .video-detail-main .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .video-detail-main .section-heading h2 {
        font-size: 25px;
      }

      .video-detail-main .related-grid {
        grid-template-columns: 1fr;
      }

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

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