:root{
      --theme:#0B3D91;
      --theme-dark:#06265e;
      --theme-soft:#eaf2ff;
      --accent:#7c3aed;
      --ice:#8ddcff;
      --ink:#101827;
      --muted:#667085;
      --line:#e4eaf2;
      --surface:#fff;
      --page:#f5f7fb;
      --danger:#dc2626;
      --shadow:0 18px 50px rgba(11,61,145,.12);
      --radius:18px;
    }

    *{
      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",Arial,sans-serif;
      line-height:1.65;
    }

    body.drawer-lock{
      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-inline:auto;
    }

    .topbar{
      color:#dce9ff;
      background:#061a3b;
      border-bottom:1px solid rgba(255,255,255,.08);
      font-size:13px;
    }

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

    .topbar-links{
      display:flex;
      align-items:center;
      gap:20px;
    }

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

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

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 6px 24px rgba(16,24,39,.04);
    }

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

    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:11px;
      color:var(--theme);
      font-size:20px;
      font-weight:900;
      letter-spacing:-.02em;
    }

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

    .logo span{
      white-space:nowrap;
    }

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

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

    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }

    .nav-link{
      height:100%;
      display:flex;
      align-items:center;
      gap:7px;
      padding:0 12px;
      color:#26364d;
      font-size:15px;
      font-weight:750;
      transition:color .2s ease,background .2s ease;
    }

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

    .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);
      transition:transform .2s ease;
    }

    .nav-item:hover .has-arrow::after,
    .nav-item:focus-within .has-arrow::after{
      transform:rotate(225deg) translate(-2px,-1px);
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:50%;
      z-index:120;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translate(-50%,10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }

    .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:translate(-50%,0);
    }

    .dropdown-panel{
      width:330px;
      padding:16px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:var(--shadow);
    }

    .dropdown-title{
      margin:0 0 10px;
      color:var(--theme);
      font-size:13px;
      font-weight:900;
      letter-spacing:.08em;
    }

    .dropdown-panel > a:not(.dropdown-all){
      display:block;
      padding:10px 8px;
      border-bottom:1px solid #edf1f6;
      color:#344054;
      font-size:14px;
      font-weight:650;
    }

    .dropdown-panel > a:hover{
      color:var(--theme);
    }

    .dropdown-all{
      display:block;
      margin-top:10px;
      padding:10px 12px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      text-align:center;
      font-size:14px;
      font-weight:800;
    }

    .mega-menu{
      width:min(900px,calc(100vw - 36px));
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 20px 20px;
      box-shadow:var(--shadow);
    }

    .nav-item:nth-child(3) .mega-menu{
      left:25%;
    }

    .nav-item:nth-child(4) .mega-menu,
    .nav-item:nth-child(5) .mega-menu,
    .nav-item:nth-child(6) .mega-menu{
      left:auto;
      right:-150px;
      transform:translateY(10px);
    }

    .nav-item:nth-child(4):hover > .mega-menu,
    .nav-item:nth-child(4):focus-within > .mega-menu,
    .nav-item:nth-child(5):hover > .mega-menu,
    .nav-item:nth-child(5):focus-within > .mega-menu,
    .nav-item:nth-child(6):hover > .mega-menu,
    .nav-item:nth-child(6):focus-within > .mega-menu{
      transform:translateY(0);
    }

    .mega-head{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:16px;
      margin-bottom:16px;
      padding-bottom:14px;
      border-bottom:1px solid var(--line);
    }

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

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

    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:16px;
    }

    .mega-categories a{
      padding:7px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #d6e6ff;
      border-radius:999px;
      font-size:13px;
      font-weight:750;
    }

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

    .mega-card{
      min-width:0;
      display:grid;
      grid-template-columns:48px minmax(0,1fr);
      align-items:center;
      gap:5px 10px;
      padding:11px;
      background:#f8faff;
      border:1px solid #e6edf8;
      border-radius:12px;
      transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }

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

    .mega-card img{
      grid-row:1 / span 3;
      width:48px;
      height:48px;
      object-fit:cover;
      background:#fff;
      border-radius:10px;
    }

    .mega-card strong{
      min-width:0;
      overflow:hidden;
      color:#1f2e43;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

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

    .mega-meta{
      display:flex;
      flex-wrap:wrap;
      gap:4px 9px;
      color:#64748b;
      font-size:11px;
    }

    .mega-footer{
      display:block;
      margin-top:16px;
      padding:10px;
      color:#fff;
      background:linear-gradient(135deg,var(--theme),#245eb4);
      border-radius:10px;
      text-align:center;
      font-size:14px;
      font-weight:850;
    }

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

    .header-btns > a,
    .header-btns > span,
    .header-btns > button:not(.hamburger){
      display:inline-flex;
      min-height:40px;
      align-items:center;
      justify-content:center;
      padding:8px 14px;
      color:#fff;
      background:var(--theme);
      border:1px solid var(--theme);
      border-radius:10px;
      font-size:14px;
      font-weight:800;
    }

    .header-btns > :first-child:not(.hamburger){
      color:var(--theme);
      background:#fff;
    }

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

    .hamburger span{
      width:20px;
      height:2px;
      background:var(--theme);
      border-radius:4px;
      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;
      inset:0;
      z-index:190;
      visibility:hidden;
      opacity:0;
      background:rgba(2,10,27,.65);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s ease;
    }

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

    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:200;
      width:min(390px,90vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(0,0,0,.18);
      transform:translateX(105%);
      transition:transform .28s ease;
    }

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

    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      display:flex;
      align-items:center;
      gap:9px;
      padding:16px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }

    .drawer-head > a,
    .drawer-head > span,
    .drawer-head > button:not(.drawer-close){
      display:inline-flex;
      min-height:38px;
      align-items:center;
      justify-content:center;
      padding:7px 13px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }

    .drawer-close{
      width:40px;
      height:40px;
      margin-left:auto;
      padding:0;
      color:#334155;
      background:#f1f5f9;
      border:0;
      border-radius:50%;
      cursor:pointer;
      font-size:27px;
      line-height:1;
    }

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

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

    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:21px;
    }

    .drawer-toggle.active::after{
      content:"−";
    }

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

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

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

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

    .video-page .video-hero{
      position:relative;
      isolation:isolate;
      overflow:hidden;
      padding:76px 0 66px;
      color:#fff;
      background:
        radial-gradient(circle at 15% 20%,rgba(124,58,237,.5),transparent 31%),
        radial-gradient(circle at 84% 26%,rgba(141,220,255,.25),transparent 30%),
        linear-gradient(145deg,#050915 0%,#071b3d 48%,#0B3D91 100%);
    }

    .video-page .video-hero::before{
      position:absolute;
      inset:0;
      z-index:-1;
      opacity:.24;
      background-image:
        linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
      background-size:48px 48px;
      content:"";
      mask-image:linear-gradient(to bottom,#000,transparent);
    }

    .video-page .video-hero-inner{
      max-width:850px;
      margin:auto;
      text-align:center;
    }

    .video-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:16px;
      padding:7px 13px;
      color:#cceeff;
      background:rgba(141,220,255,.1);
      border:1px solid rgba(141,220,255,.28);
      border-radius:999px;
      font-size:13px;
      font-weight:850;
      letter-spacing:.08em;
    }

    .video-page .eyebrow::before{
      width:8px;
      height:8px;
      background:#8ddcff;
      border-radius:50%;
      box-shadow:0 0 18px #8ddcff;
      content:"";
    }

    .video-page .video-hero h1{
      margin:0;
      font-size:clamp(36px,6vw,66px);
      line-height:1.12;
      letter-spacing:-.045em;
    }

    .video-page .video-hero p{
      max-width:680px;
      margin:18px auto 0;
      color:#d7e7ff;
      font-size:17px;
    }

    .video-page .hero-points{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:10px;
      margin-top:28px;
    }

    .video-page .hero-points span{
      padding:8px 13px;
      color:#e9f5ff;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.15);
      border-radius:10px;
      font-size:13px;
    }

    .video-page .category-nav{
      position:relative;
      z-index:3;
      margin-top:-26px;
    }

    .video-page .category-nav-inner{
      display:flex;
      align-items:center;
      gap:10px;
      overflow-x:auto;
      padding:14px;
      background:rgba(255,255,255,.96);
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:var(--shadow);
      scrollbar-width:thin;
    }

    .video-page .category-nav strong{
      flex:0 0 auto;
      padding:8px 10px;
      color:#344054;
      font-size:14px;
    }

    .video-page .category-nav a{
      flex:0 0 auto;
      padding:8px 13px;
      color:#526078;
      background:#f3f6fa;
      border:1px solid #e5eaf1;
      border-radius:999px;
      font-size:14px;
      font-weight:750;
      transition:.2s ease;
    }

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

    .video-page .video-library{
      padding:62px 0 82px;
    }

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

    .video-page .section-heading small{
      display:block;
      margin-bottom:5px;
      color:var(--theme);
      font-weight:900;
      letter-spacing:.1em;
    }

    .video-page .section-heading h2{
      margin:0;
      color:#152238;
      font-size:clamp(27px,4vw,40px);
      line-height:1.2;
    }

    .video-page .section-heading p{
      max-width:480px;
      margin:0;
      color:var(--muted);
      text-align:right;
    }

    .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:18px;
      box-shadow:0 10px 28px rgba(19,40,75,.06);
      transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
    }

    .video-page .video-card:hover{
      border-color:#b9cff2;
      box-shadow:0 20px 42px rgba(11,61,145,.14);
      transform:translateY(-6px);
    }

    .video-page .video-cover{
      position:relative;
      aspect-ratio:16 / 9;
      overflow:hidden;
      background:#07162f;
    }

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

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

    .video-page .play-mark{
      position:absolute;
      top:50%;
      left:50%;
      width:58px;
      height:58px;
      display:grid;
      place-items:center;
      color:#fff;
      background:rgba(11,61,145,.9);
      border:1px solid rgba(255,255,255,.55);
      border-radius:50%;
      box-shadow:0 10px 30px rgba(0,0,0,.3);
      transform:translate(-50%,-50%);
    }

    .video-page .play-mark::before{
      margin-left:4px;
      border-top:8px solid transparent;
      border-bottom:8px solid transparent;
      border-left:13px solid #fff;
      content:"";
    }

    .video-page .duration{
      position:absolute;
      right:10px;
      bottom:10px;
      padding:4px 8px;
      color:#fff;
      background:rgba(2,7,18,.78);
      border-radius:6px;
      font-size:12px;
      font-weight:800;
    }

    .video-page .video-body{
      padding:20px;
    }

    .video-page .video-kicker{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:8px;
      color:var(--theme);
      font-size:12px;
      font-weight:900;
      letter-spacing:.06em;
    }

    .video-page .video-body h3{
      display:-webkit-box;
      min-height:52px;
      margin:0;
      overflow:hidden;
      color:#17233a;
      font-size:18px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .video-page .video-body p{
      display:-webkit-box;
      min-height:68px;
      margin:11px 0 18px;
      overflow:hidden;
      color:var(--muted);
      font-size:14px;
      line-height:1.65;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

    .video-page .watch-link{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding-top:14px;
      color:var(--theme);
      border-top:1px solid var(--line);
      font-size:14px;
      font-weight:900;
    }

    .video-page .watch-link::after{
      content:"→";
      font-size:19px;
      transition:transform .2s ease;
    }

    .video-page .video-card:hover .watch-link::after{
      transform:translateX(5px);
    }

    .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;
      height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0 13px;
      color:#42526a;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      font-weight:800;
      transition:.2s ease;
    }

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

    .video-page .learning-note{
      margin-top:56px;
      padding:30px;
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      align-items:center;
      gap:30px;
      color:#fff;
      background:linear-gradient(135deg,#07172e,#0B3D91 65%,#5b21b6);
      border-radius:22px;
      box-shadow:var(--shadow);
    }

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

    .video-page .learning-note p{
      max-width:700px;
      margin:0;
      color:#d7e7ff;
    }

    .video-page .learning-note a{
      display:inline-flex;
      min-height:46px;
      align-items:center;
      justify-content:center;
      padding:10px 18px;
      color:var(--theme-dark);
      background:#fff;
      border-radius:11px;
      font-weight:900;
      white-space:nowrap;
    }

    .footer{
      color:#cbd8ec;
      background:#06152f;
    }

    .footer-main{
      display:grid;
      grid-template-columns:1.5fr repeat(3,1fr);
      gap:44px;
      padding-top:58px;
      padding-bottom:48px;
    }

    .footer .logo{
      color:#fff;
    }

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

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

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

    .footer-links a,
    .footer-contact a{
      color:#aebcd0;
      font-size:14px;
      transition:color .2s ease;
    }

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

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

    .footer-bottom{
      min-height:70px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8798b1;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

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

      .hamburger{
        display:flex;
      }

      .header-inner{
        gap:16px;
      }

      .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{
        padding:8px 0;
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
      }

      .topbar-links{
        width:100%;
        flex-wrap:wrap;
        gap:3px 14px;
      }

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

      .header .logo span{
        max-width:130px;
        overflow:hidden;
        text-overflow:ellipsis;
      }

      .header-btns > a,
      .header-btns > span,
      .header-btns > button:not(.hamburger){
        display:none;
      }

      .video-page .video-hero{
        padding:58px 0 55px;
      }

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

      .video-page .category-nav{
        margin-top:-20px;
      }

      .video-page .video-library{
        padding:48px 0 66px;
      }

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

      .video-page .section-heading p{
        text-align:left;
      }

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

      .video-page .learning-note{
        grid-template-columns:1fr;
        padding:24px;
      }

      .video-page .learning-note a{
        justify-self:start;
      }

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

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        padding-top:18px;
        padding-bottom:18px;
      }
    }

    @media (max-width:430px){
      .logo{
        font-size:17px;
      }

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

      .video-page .hero-points{
        align-items:stretch;
        flex-direction:column;
      }

      .video-page .hero-points span{
        text-align:center;
      }

      .drawer-head{
        flex-wrap:wrap;
      }
    }

    @media (prefers-reduced-motion:reduce){
      *,
      *::before,
      *::after{
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
      }
    }