  :root {
    --primary: #0d3b66;
    --primary-dark: #092a4a;
    --accent: #f39c12;
    --accent-dark: #d68910;
    --text: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #fff;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }
  .container { width: 90%; max-width: 1200px; margin: 0 auto; }

  /* ===== 顶栏 ===== */
  .topbar { background: var(--primary-dark); color: #cbd5e0; font-size: 13px; padding: 7px 0; }
  .topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
  .topbar .tel { color: var(--accent); font-weight: 700; font-size: 15px; }

  /* ===== 导航 ===== */
  header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
  .logo { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
  .logo img { height: 48px; width: auto; }
  .logo-text { white-space: nowrap; }
  .logo-text h1 { font-size: 19px; color: var(--primary); line-height: 1.2; }
  .logo-text p { font-size: 11px; color: #999; letter-spacing: 2px; }
  /* 导航：9 个栏目必须排成一行。中文默认会按字换行，所以 a 必须 nowrap，
     ul 不换行且不参与压缩（否则 flex 会把导航挤成竖排）。 */
  nav { flex: 0 1 auto; }
  nav ul { display: flex; gap: 2px; flex-wrap: nowrap; }
  nav a { display: block; padding: 8px 12px; font-size: 15px; white-space: nowrap;
          border-radius: 4px; transition: all .25s; }
  nav a:hover, nav a.active { background: var(--primary); color: #fff; }
  /* 主要产品下拉子菜单 */
  nav li.has-sub { position: relative; }
  nav li.has-sub > a::after { content: " ▾"; font-size: 11px; }
  .sub-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 190px; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(9,42,74,.18);
    padding: 8px; opacity: 0; visibility: hidden; transition: all .22s; z-index: 200;
    border: 1px solid #edf1f5;
  }
  nav li.has-sub:hover .sub-menu, nav li.has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .sub-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px; font-size: 14px; border-radius: 6px; color: #33475b; white-space: nowrap;
  }
  .sub-menu a::after { content: "›"; color: #c3cfda; }
  .sub-menu a:hover { background: #f0f5fa; color: var(--primary); }

  /* ===== Hero ===== */
  .hero {
    position: relative; min-height: 500px;
    background: linear-gradient(135deg, #0c2f52 0%, #123f6b 55%, #0d3b66 100%);
    color: #fff; display: flex; align-items: center; overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243,156,18,.22), transparent 70%);
  }
  .hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
  .hero-banner {
    border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.15);
  }
  .hero-banner img { width: 100%; height: 100%; object-fit: cover; }
  .hero-tag {
    display: inline-block; border: 1px solid var(--accent); color: var(--accent);
    padding: 4px 18px; border-radius: 20px; font-size: 14px; letter-spacing: 4px; margin-bottom: 22px;
  }
  .hero h2 { font-size: 40px; margin-bottom: 10px; letter-spacing: 2px; }
  .hero h3 { font-size: 18px; font-weight: 400; color: #ffd28a; margin-bottom: 22px; }
  .hero p { color: #d7e3ef; margin-bottom: 32px; }
  .btn { display: inline-block; padding: 12px 34px; border-radius: 4px; font-size: 15px; transition: all .25s; }
  .btn-accent { background: var(--accent); color: #fff; }
  .btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
  .btn-ghost { border: 1px solid rgba(255,255,255,.65); color: #fff; margin-left: 12px; }
  .btn-ghost:hover { background: rgba(255,255,255,.14); }

  /* ===== 通用区块 ===== */
  section { padding: 78px 0; }
  .section-head { text-align: center; margin-bottom: 48px; }
  .section-head .en { font-size: 13px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }
  .section-head h2 { font-size: 32px; color: var(--primary); margin: 6px 0 12px; }
  .section-head .line { width: 56px; height: 3px; background: var(--accent); margin: 0 auto; }
  .section-head p.sub { color: var(--text-light); margin-top: 16px; max-width: 780px; margin-left: auto; margin-right: auto; }

  /* ===== 数据统计 ===== */
  .stats { background: var(--bg-light); padding: 48px 0; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
  .stat-item .num { font-size: 40px; font-weight: 700; color: var(--primary); }
  .stat-item .num i { font-style: normal; color: var(--accent); }
  .stat-item .label { color: var(--text-light); font-size: 15px; margin-top: 4px; }

  /* ===== 关于 / 三大优势 ===== */
  .about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin-bottom: 60px; }
  .about-img { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(13,59,102,.15); }
  .about-img img { width: 100%; height: 380px; object-fit: cover; }
  .about-txt h2 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
  .about-txt .lead { color: var(--accent-dark); margin-bottom: 16px; }
  .about-txt p { color: var(--text-light); text-align: justify; margin-bottom: 14px; }
  .adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .adv-card { background: var(--white); border: 1px solid #e8edf2; overflow: hidden; transition: all .3s; }
  .adv-card:hover { box-shadow: 0 12px 30px rgba(13,59,102,.13); transform: translateY(-6px); }
  .adv-card img { width: 100%; height: 200px; object-fit: cover; }
  .adv-body { padding: 22px 22px 26px; }
  .adv-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; line-height: 1.5; }
  .adv-card .em { color: var(--accent-dark); font-size: 13px; margin-bottom: 10px; }
  .adv-card p { font-size: 13.5px; color: var(--text-light); text-align: justify; }

  /* ===== 应用行业 ===== */
  .industries { background: linear-gradient(180deg, var(--bg-light), #fff); }
  .ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .ind-card {
    position: relative; height: 148px; border-radius: 8px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    color: #fff; font-size: 19px; font-weight: 600; letter-spacing: 3px; transition: transform .3s;
  }
  .ind-card:hover { transform: scale(1.03); }
  .ind-card small { font-size: 11px; letter-spacing: 2px; opacity: .8; font-weight: 400; margin-top: 4px; }
  .ind-card::before { content: ""; position: absolute; inset: 0; background: rgba(13,59,102,.72); transition: background .3s; }
  .ind-card:hover::before { background: rgba(243,156,18,.85); }
  .ind-card span, .ind-card small { position: relative; z-index: 2; }
  .ind-1 { background: linear-gradient(135deg,#2c5f8a,#1d4266); }
  .ind-2 { background: linear-gradient(135deg,#3a7ca5,#22597d); }
  .ind-3 { background: linear-gradient(135deg,#4a6fa5,#2d4b7c); }
  .ind-4 { background: linear-gradient(135deg,#52796f,#33554d); }
  .ind-5 { background: linear-gradient(135deg,#8a5a44,#5e3a2c); }
  .ind-6 { background: linear-gradient(135deg,#3f7cac,#275d80); }
  .ind-7 { background: linear-gradient(135deg,#6d597a,#4a3d55); }
  .ind-8 { background: linear-gradient(135deg,#588157,#3a5a40); }

  /* ===== 产品 ===== */
  .prod-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
  .prod-tab {
    padding: 9px 22px; border: 1px solid #d5dde5; border-radius: 30px;
    font-size: 14px; color: var(--text-light); cursor: pointer; transition: all .25s;
  }
  .prod-tab:hover { border-color: var(--primary); color: var(--primary); }
  .prod-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
  .prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .prod-card { border: 1px solid #e8edf2; border-radius: 8px; overflow: hidden; transition: all .3s; background: #fff; display: block; cursor: pointer; }
  .prod-card:hover { box-shadow: 0 10px 26px rgba(13,59,102,.15); transform: translateY(-5px); }
  .prod-card img { width: 100%; height: 190px; object-fit: cover; }
  .prod-card h4 { padding: 14px 16px 2px; font-size: 15px; color: var(--primary); }
  .prod-card p { padding: 0 16px 16px; font-size: 13px; color: #999; }
  .prod-card.hide { display: none; }

  /* ===== 案例 ===== */
  .cases { background: var(--bg-light); }
  .case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .case-card { position: relative; height: 210px; border-radius: 8px; overflow: hidden; background: #0d3b66; display: block; cursor: pointer; }
  .case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .case-card:hover img { transform: scale(1.08); }
  .case-info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 14px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff;
  }
  .case-info h4 { font-size: 14.5px; font-weight: 500; margin-bottom: 2px; }
  .case-info span { font-size: 12px; opacity: .85; }

  /* ===== 新闻 ===== */
  .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .news-col h3 {
    font-size: 20px; color: var(--primary); padding-bottom: 12px; margin-bottom: 16px;
    border-bottom: 2px solid var(--accent); display: flex; justify-content: space-between; align-items: baseline;
  }
  .news-col h3 a { font-size: 13px; color: #999; font-weight: 400; }
  .news-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed #e3e8ee; cursor: pointer; transition: background .2s; }
  a.news-item:hover { background: #f8fafc; }
  .news-item img { width: 120px; height: 84px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
  .news-item h4 { font-size: 15px; margin-bottom: 4px; }
  .news-item h4:hover { color: var(--accent-dark); }
  .news-item p {
    font-size: 13px; color: #999;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .news-meta { font-size: 12px; color: #aaa; margin-top: 6px; }
  .news-tag { display: inline-block; font-size: 11px; color: var(--accent-dark); background: #fdf3e3; padding: 1px 8px; border-radius: 3px; margin-right: 8px; }

  /* ===== 合作伙伴 ===== */
  .partners { background: var(--bg-light); }
  .partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .partner-item {
    height: 92px; background: #fff; border: 1px solid #e8edf2; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; padding: 10px; transition: all .3s;
  }
  .partner-item:hover { border-color: var(--primary); box-shadow: 0 6px 16px rgba(13,59,102,.1); }
  .partner-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

  /* ===== CTA ===== */
  .cta {
    background: linear-gradient(135deg, #0c2f52, #0d3b66 60%, #123f6b);
    color: #fff; text-align: center; padding: 68px 0;
  }
  .cta h2 { font-size: 27px; margin-bottom: 8px; }
  .cta p { color: #cfdce8; margin-bottom: 26px; }

  /* ===== 页脚 ===== */
  footer { background: #0a2440; color: #9db3c8; padding: 54px 0 0; font-size: 14px; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 38px; padding-bottom: 36px; }
  footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
  footer li { margin-bottom: 9px; }
  footer a:hover { color: var(--accent); }
  .footer-logo { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
  .footer-contact li { display: flex; align-items: center; gap: 8px; }
  .footer-contact img { width: 18px; height: 18px; flex-shrink: 0; }
  .qr { display: flex; gap: 18px; margin-top: 14px; }
  .qr div { text-align: center; font-size: 12px; color: #7f97ad; }
  .qr img { width: 92px; height: 92px; border-radius: 6px; background: #fff; padding: 4px; margin-bottom: 4px; }
  .copyright {
    border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px 0; font-size: 12.5px; color: #6f86a0;
  }
  .copyright a:hover { color: var(--accent); }

  /* ===== 悬浮联系 ===== */
  .float-contact { position: fixed; right: 18px; bottom: 90px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
  .float-contact a {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: all .25s;
  }
  .float-contact a:hover { background: var(--accent); }
  .float-contact a.top { background: #6c7a89; font-size: 18px; }

  /* ===== 在线留言 ===== */
  .msg-section { padding: 70px 0; background: linear-gradient(135deg, #f5f8fb, #eef3f8); }
  .msg-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
  .msg-intro h2 { font-size: 28px; color: var(--primary-dark); margin-bottom: 14px; }
  .msg-intro p { color: var(--text-light); font-size: 15px; margin-bottom: 20px; }
  .msg-intro .msg-tel { font-size: 24px; color: var(--accent-dark); font-weight: 700; }
  .msg-form { background: #fff; border-radius: 10px; padding: 30px 32px; box-shadow: 0 6px 24px rgba(13,59,102,.09); }
  .msg-form .mf-row { display: flex; gap: 14px; margin-bottom: 14px; }
  .msg-form input, .msg-form textarea {
    width: 100%; border: 1px solid #dde5ec; border-radius: 6px; padding: 11px 14px;
    font-size: 14px; font-family: inherit; outline: none; transition: border .2s;
  }
  .msg-form input:focus, .msg-form textarea:focus { border-color: var(--primary); }
  .msg-form textarea { min-height: 110px; resize: vertical; }
  .msg-submit {
    width: 100%; border: none; cursor: pointer; background: var(--accent); color: #fff;
    padding: 12px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: .2s;
  }
  .msg-submit:hover { background: var(--accent-dark); }
  .msg-submit:disabled { opacity: .6; cursor: not-allowed; }
  .msg-feedback { margin-top: 10px; font-size: 13px; text-align: center; min-height: 18px; }
  .msg-feedback.ok { color: #27ae60; }
  .msg-feedback.err { color: #e74c3c; }

  /* ===== 导航收缩 ===== */
  header { transition: box-shadow .3s; }
  .header-inner { transition: height .3s; }
  .logo img { transition: height .3s; }
  header.shrink { box-shadow: 0 4px 18px rgba(9,42,74,.14); }
  header.shrink .header-inner { height: 60px; }
  header.shrink .logo img { height: 36px; }

  /* ===== Hero 入场动画 ===== */
  .hero-tag, .hero h2, .hero h3, .hero p, .hero .btn { animation: fadeUp .7s ease both; }
  .hero h2 { animation-delay: .08s; }
  .hero h3 { animation-delay: .16s; }
  .hero p { animation-delay: .24s; }
  .hero .btn-accent { animation-delay: .34s; }
  .hero .btn-ghost { animation-delay: .42s; }
  .hero-banner { animation: fadeUp .8s .2s ease both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  /* ===== 滚动渐入 ===== */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* ===== 卡片图片缩放 ===== */
  .prod-card { overflow: hidden; }
  .prod-card img { transition: transform .45s ease; }
  .prod-card:hover img { transform: scale(1.06); }

  /* ===== 合作伙伴跑马灯 ===== */
  .partner-marquee {
    overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .partner-track { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; padding: 4px 0; }
  .partner-marquee:hover .partner-track { animation-play-state: paused; }
  .partner-track .partner-item { width: 178px; flex-shrink: 0; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ===== 响应式 ===== */
  /* 9 个栏目在 1200 容器里要压缩间距，才能在中等屏幕上仍保持一行 */
  @media (max-width: 1280px) {
    nav a { padding: 8px 9px; font-size: 14px; }
  }
  @media (max-width: 1160px) {
    nav a { padding: 8px 7px; font-size: 13.5px; }
    .logo-text h1 { font-size: 17px; }
    .logo img { height: 42px; }
  }
  @media (max-width: 1000px) {
    .topbar { display: none; }
    .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 10px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .hero { min-height: auto; padding: 56px 0; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-banner { order: -1; }
    .hero h2 { font-size: 29px; }
    .about-wrap { grid-template-columns: 1fr; }
    .about-img img { height: 260px; }
    .ind-grid, .prod-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid, .news-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .msg-wrap { grid-template-columns: 1fr; gap: 26px; }
  }
  @media (max-width: 560px) {
    .prod-grid, .case-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .float-contact { right: 10px; }
  }

  /* ===== 下载中心 / 常见问题 / 人才招聘 ===== */
  .dl-sec { padding: 64px 0; background: #fff; }
  .dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dl-card {
    display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid #e6eaf1;
    border-radius: 10px; transition: all .2s;
  }
  .dl-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(13,59,102,.1); transform: translateY(-2px); }
  .dl-ico {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 8px; background: #eef4fb; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  }
  .dl-body { min-width: 0; flex: 1; }
  .dl-body h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.5; }
  .dl-body p { font-size: 12.5px; color: #7b8798; line-height: 1.7; margin-bottom: 9px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dl-meta { font-size: 11.5px; color: #9aa7b8; margin-bottom: 10px; }
  .dl-meta span { background: #f4f7fb; padding: 1px 7px; border-radius: 4px; margin-right: 6px; }
  .dl-btn {
    display: inline-block; font-size: 12.5px; color: var(--primary); border-bottom: 1px dashed #b8cbdf; padding-bottom: 1px;
  }
  .dl-btn:hover { color: var(--accent); border-color: var(--accent); }

  .faq-sec { padding: 64px 0; background: #f6f8fb; }
  .faq-list { max-width: 900px; margin: 0 auto; }
  .faq-item { background: #fff; border: 1px solid #e6eaf1; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
  .faq-q {
    padding: 15px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer; display: flex;
    align-items: center; gap: 10px; list-style: none;
  }
  .faq-q::-webkit-details-marker { display: none; }
  .faq-q::before { content: "＋"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
  .faq-item[open] .faq-q::before { content: "－"; }
  .faq-q .faq-tag { font-size: 11.5px; font-weight: 400; color: #8a97a8; background: #f2f6fa; padding: 1px 8px; border-radius: 20px; }
  .faq-a { padding: 0 18px 16px 40px; font-size: 13.5px; color: #55647a; line-height: 1.9; }

  .job-sec { padding: 64px 0; background: #fff; }
  .job-list { max-width: 900px; margin: 0 auto; }
  .job-item { border: 1px solid #e6eaf1; border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; transition: all .2s; }
  .job-item:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(13,59,102,.08); }
  .job-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
  .job-head h4 { font-size: 16px; }
  .job-pill { font-size: 11.5px; color: #5a6b82; background: #f2f6fa; padding: 2px 9px; border-radius: 20px; }
  .job-pill.sal { color: #b9770e; background: #fff8ec; }
  .job-body { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e8eef6; }
  .job-item.open .job-body { display: block; }
  .job-body h5 { font-size: 13px; color: var(--primary); margin: 10px 0 5px; }
  .job-body li { font-size: 13px; color: #55647a; line-height: 1.9; margin-left: 18px; }
  .job-toggle { font-size: 12.5px; color: var(--primary); cursor: pointer; border-bottom: 1px dashed #b8cbdf; }
  @media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

  /* ===== 视频看现场 ===== */
  .vid-sec { padding: 64px 0; background: #fff; }
  .vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .vid-card { background: #fff; border: 1px solid #e6eaf1; border-radius: 10px; overflow: hidden;
    cursor: pointer; transition: all .2s; }
  .vid-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(13,59,102,.12); transform: translateY(-3px); }
  .vid-thumb { position: relative; aspect-ratio: 16/9; background: #0d1622 center/cover no-repeat; overflow: hidden; }
  .vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .vid-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(8,20,34,.28); transition: background .2s; }
  .vid-card:hover .vid-play { background: rgba(8,20,34,.12); }
  .vid-play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.28); }
  .vid-play i::after { content: ""; margin-left: 4px; border-style: solid;
    border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--primary); }
  .vid-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff;
    font-size: 11.5px; padding: 1px 7px; border-radius: 4px; }
  .vid-body { padding: 14px 16px 16px; }
  .vid-body h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.5; }
  .vid-body p { font-size: 12.5px; color: #7b8798; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .vid-cat { display: inline-block; font-size: 11.5px; color: var(--primary); background: #eef4fb;
    padding: 1px 8px; border-radius: 4px; margin-bottom: 8px; }

  /* ===== 图册 ===== */
  .alb-sec { padding: 64px 0; background: #f6f8fb; }
  .alb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .alb-card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer;
    background: #dde5ee; aspect-ratio: 4/3; transition: all .25s; }
  .alb-card:hover { box-shadow: 0 10px 28px rgba(13,59,102,.22); transform: translateY(-3px); }
  .alb-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
  .alb-card:hover img { transform: scale(1.05); }
  .alb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
    background: linear-gradient(transparent, rgba(6,18,32,.82)); color: #fff; }
  .alb-cap h4 { font-size: 14.5px; margin-bottom: 2px; }
  .alb-cap span { font-size: 11.5px; opacity: .82; }
  .alb-num { position: absolute; right: 10px; top: 10px; background: rgba(255,255,255,.9);
    color: var(--primary); font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 20px; }

  /* ===== 播放 / 看图弹层 ===== */
  .media-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
  .media-modal.open { display: block; }
  .mm-mask { position: absolute; inset: 0; background: rgba(6,14,24,.82); }
  .mm-box { position: relative; width: min(1000px, 94vw); max-height: 92vh; margin: 4vh auto 0;
    background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
  .mm-close { position: absolute; right: 10px; top: 8px; z-index: 3; width: 34px; height: 34px;
    border: 0; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; font-size: 22px;
    line-height: 1; cursor: pointer; }
  .mm-close:hover { background: rgba(0,0,0,.66); }
  .mm-head { padding: 16px 54px 12px 20px; border-bottom: 1px solid #eef1f5; }
  .mm-head h3 { font-size: 16px; }
  .mm-head span { font-size: 12px; color: #8a94a6; }
  .mm-body { flex: 1; overflow: auto; background: #0b1420; }
  .mm-body video, .mm-body iframe { width: 100%; height: 100%; min-height: 60vh; border: 0; display: block; }
  .mm-body img { max-width: 100%; max-height: 68vh; margin: 0 auto; display: block; }
  .mm-foot { padding: 10px 20px; font-size: 12.5px; color: #7b8798; display: flex; gap: 12px;
    align-items: center; justify-content: center; border-top: 1px solid #eef1f5; }
  .mm-nav { border: 1px solid #d9e2ee; background: #fff; color: var(--primary); border-radius: 6px;
    padding: 5px 14px; cursor: pointer; font-size: 13px; }
  .mm-nav:hover:not(:disabled) { background: #eef4fb; }
  .mm-nav:disabled { opacity: .38; cursor: default; }
  /* 没配播放地址 / 图册空的时候，别只丢一行灰字，给个能看的空态 */
  .mm-empty { position: relative; min-height: 58vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px; padding: 40px 24px; text-align: center; }
  .mm-empty-bg { position: absolute; inset: 0; background: center/cover no-repeat;
    opacity: .22; filter: blur(3px); }
  .mm-empty i { position: relative; width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.72); color: #fff; display: flex;
    align-items: center; justify-content: center; font-style: normal; font-size: 20px; }
  .mm-empty h4 { position: relative; color: #fff; font-size: 15px; }
  .mm-empty p { position: relative; color: #b7c6d8; font-size: 12.5px; line-height: 1.9;
    max-width: 460px; }

  /* 自动锚文本：正文里自动生成的内链，别做得像广告 */
  .auto-link { color: var(--primary); border-bottom: 1px dotted #9db6cf; }
  .auto-link:hover { color: var(--accent); border-color: var(--accent); }

  @media (max-width: 1100px) {
    .vid-grid { grid-template-columns: repeat(2, 1fr); }
    .alb-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 760px) {
    .vid-grid, .alb-grid { grid-template-columns: 1fr 1fr; }
    .mm-box { width: 96vw; margin-top: 2vh; }
  }
