/* =================================================================
   PC 端专属样式层（≥1024px 生效）
   设计定位：医护专业风 · 三甲蓝 #185FA5 + 医疗青 #0F6E56
   加载顺序在 style.css 之后，只做「增量覆盖」，不改动移动端任何表现
   ================================================================= */

/* 移动端：隐藏所有 PC 专属元素（默认即为 PC 样式，故需在此屏蔽） */
@media (max-width: 1023.98px) {
  #pcNav, #pcHeroStrip, #pcFoot, #pcHeroSlides { display: none !important; }
}

@media (min-width: 1024px) {
  /* ============ 1. 全局骨架 ============ */
  html, body {
    background: #f4f7fb;
    overflow-x: hidden;
  }
  body { padding: 0; }

  .app {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 0;
    background: transparent;
    box-shadow: none;
  }

  /* 手机底部 Tab、添加到桌面提示在 PC 下不需要 */
  .tabbar, .add2desktop { display: none !important; }

  /* 悬浮球：PC 下挪到右侧中部，避免遮挡 */
  .float-btn { bottom: 88px; }
  .fb-msg { left: auto; right: 24px; bottom: 148px; }
  .fb-chat { right: 24px; bottom: 88px; }

  /* ============ 2. PC 顶部导航 ============ */
  #pcNav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid #e6ecf5;
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 20px rgba(16, 45, 85, .06);
  }
  #pcNav .pc-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 68px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  #pcNav .pc-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; cursor: pointer; flex: none;
  }
  #pcNav .pc-logo-mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, #2277c4 0%, #185fa5 60%, #0f6e56 130%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(24, 95, 165, .35);
  }
  #pcNav .pc-logo-txt {
    font-size: 17px; font-weight: 700; color: #0c447c; letter-spacing: -.2px;
    display: flex; align-items: baseline; gap: 8px;
  }
  #pcNav .pc-logo-txt em {
    font-style: normal; font-size: 12px; font-weight: 400; color: #6b7c93;
  }
  #pcNav .pc-menu { display: flex; align-items: center; gap: 4px; flex: 1; }
  #pcNav .pc-menu a {
    position: relative;
    padding: 8px 14px;
    font-size: 14px;
    color: #3b4c61;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color .18s, background .18s;
    white-space: nowrap;
  }
  #pcNav .pc-menu a:hover { color: #185fa5; background: #eef5fc; }
  #pcNav .pc-nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
  #pcNav .pc-btn {
    height: 38px; padding: 0 18px; border-radius: 9px;
    font-size: 14px; cursor: pointer; border: 1px solid transparent;
    display: inline-flex; align-items: center; gap: 6px;
    transition: transform .15s, box-shadow .18s, background .18s;
  }
  #pcNav .pc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(24, 95, 165, .22); }
  #pcNav .pc-btn.primary {
    background: linear-gradient(135deg, #1e6cb5, #185fa5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 95, 165, .3);
  }
  #pcNav .pc-btn.ghost { background: #fff; color: #185fa5; border-color: #cddff2; }
  #pcNav .pc-btn.ghost:hover { background: #f3f8fe; box-shadow: none; }

  /* ============ 3. 首屏 Hero：深蓝医疗大区块 ============ */
  .header {
    position: relative;
    /* 全宽出血：左右拉伸到视口边缘，内容仍居中 */
    margin: 0 calc(50% - 50vw);
    /* 大留白：上下充分呼吸，避免信息挤压 */
    padding: 78px max(24px, calc(50vw - 600px)) 132px;
    background:
      radial-gradient(ellipse 900px 420px at 85% -10%, rgba(15, 110, 86, .35) 0%, transparent 60%),
      radial-gradient(ellipse 700px 380px at 8% 110%, rgba(64, 156, 255, .30) 0%, transparent 65%),
      linear-gradient(135deg, #0b3a68 0%, #11518f 52%, #1665a8 100%);
    color: #fff;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 72px;   /* 给浮动数据卡留出叠压空间 */
  }
  .header::before {
    /* 心电图装饰线：横向匀速流动，营造动态监护感 */
    content: '';
    position: absolute; left: 0; right: 0; bottom: 78px; height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='60' viewBox='0 0 720 60'%3E%3Cpath d='M0 30 H150 L162 30 170 12 180 48 190 22 198 30 H320 L332 30 340 8 352 52 362 18 370 30 H500 L512 30 520 14 530 46 540 24 548 30 H720' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x center / 720px 60px;
    animation: ecgFlow 16s linear infinite;
    pointer-events: none;
  }
  .header::after {
    /* 十字网格点阵装饰 + 缓慢呼吸 */
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.6px) 0 0 / 26px 26px,
      linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 40%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%);
    animation: gridBreath 9s ease-in-out infinite;
    pointer-events: none;
  }
  .header .top-row { display: none; }
  /* ---- 首屏结构：一行大字（轮播） + 一行小字 ---- */
  .header h1 {
    /* 后台配置的 h1 保留给 SEO 与读屏，视觉上让位给轮播大字 */
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  #pcHeroSlides {
    position: relative; z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
  }
  #pcHeroSlides .slTrack {
    position: relative;
    height: 60px;
    overflow: hidden;
  }
  #pcHeroSlides .slItem {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    white-space: nowrap;
    /* 轮播由 JS 按配置屏数驱动（支持任意屏数），这里只负责过渡 */
    transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  }
  #pcHeroSlides .slItem.active { opacity: 1; transform: translateY(0); }
  #pcHeroSlides .slItem b {
    font-size: 40px; font-weight: 800; letter-spacing: -1px; color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 28px rgba(4, 24, 48, .38);
  }
  /* 后半句用青色提亮，形成一句之内的大字层次 */
  #pcHeroSlides .slItem b em {
    font-style: normal; color: #7fe3c6;
    margin-left: 14px; padding-left: 16px;
    border-left: 1px solid rgba(127, 227, 198, .35);
  }
  #pcHeroSlides .slItem.s3 b em { margin-left: 10px; }
  #pcHeroSlides .slDots {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 14px;
  }
  #pcHeroSlides .slDots i {
    display: block; width: 16px; height: 2px; border-radius: 2px;
    background: rgba(255,255,255,.22);
    transition: background .4s ease, width .4s ease;
  }
  #pcHeroSlides .slDots i.active { background: #7fe3c6; width: 24px; }
  #pcHeroSlides .pcHeroSub {
    position: relative; z-index: 1;
    margin: 16px auto 0;
    font-size: 15px; line-height: 1.6;
    color: rgba(255,255,255,.66);
    letter-spacing: .3px;
  }

  /* 副标题在 PC 下隐藏：信息已由顶部导航品牌位与轮播短语表达，避免三层文字堆叠 */
  .header .subtitle { display: none; }
  .header .search-bar {
    position: relative; z-index: 2;
    max-width: 680px; margin: 30px auto 0;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 9px 10px 9px 18px;
    box-shadow: 0 14px 40px rgba(3, 20, 42, .35), 0 2px 8px rgba(3, 20, 42, .18);
  }
  .header .search-bar input { color: #16324f; font-size: 15px; }
  .header .search-bar input::placeholder { color: #9db0c6; }
  .header .search-bar .icon-btn {
    width: 44px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #1c6cb8 0%, #185fa5 100%);
    color: #fff; font-size: 15px;
    box-shadow: 0 4px 12px rgba(24, 95, 165, .4);
  }
  .header .hot-kw {
    position: relative; z-index: 1;
    max-width: 680px; margin: 16px auto 0;
    justify-content: center; flex-wrap: wrap; gap: 6px 10px;
  }
  .header .hot-kw .hk-lbl { color: rgba(255,255,255,.6); }
  .header .hot-kw .hk-list span,
  .header .hot-kw .hk-list a {
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px; padding: 2px 10px;
    transition: background .15s;
  }
  .header .hot-kw .hk-list a:hover { background: rgba(255,255,255,.22); }

  /* ============ 4. PC 数据背书 + 服务保障条（浮动白卡） ============ */
  #pcHeroStrip {
    display: block;
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: -64px auto 30px;
    padding: 0 24px;
    background: none; border: none; border-radius: 0;
  }
  #pcHeroStrip .psStats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 16px 16px 0 0;
    border: 1px solid #e6ecf5; border-bottom: none;
    box-shadow: 0 24px 50px rgba(10, 34, 64, .14);
    overflow: hidden;
  }
  #pcHeroStrip .psStat {
    padding: 22px 12px 18px;
    text-align: center;
    position: relative;
  }
  #pcHeroStrip .psStat + .psStat::before {
    content: ''; position: absolute; left: 0; top: 26%; height: 48%;
    width: 1px; background: linear-gradient(180deg, transparent, #dbe6f2, transparent);
  }
  #pcHeroStrip .psStat b {
    display: block;
    font-size: 26px; font-weight: 800; color: #0c447c;
    letter-spacing: -.5px; line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }
  #pcHeroStrip .psStat b i {
    font-style: normal; font-size: 15px; font-weight: 700; color: #185fa5; margin-left: 1px;
  }
  #pcHeroStrip .psStat:nth-child(2) b i { color: #0f6e56; }
  #pcHeroStrip .psStat span { display: block; font-size: 12.5px; color: #7b8ca3; margin-top: 5px; }
  #pcHeroStrip .psSvc {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: #e6ecf5;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e6ecf5;
    overflow: hidden;
  }
  #pcHeroStrip .psItem {
    background: #fff;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 11px;
  }
  #pcHeroStrip .psIco {
    width: 36px; height: 36px; border-radius: 10px; flex: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }
  #pcHeroStrip .psi-blue   { background: linear-gradient(135deg, #e3eefb, #d3e4f7); }
  #pcHeroStrip .psi-green  { background: linear-gradient(135deg, #e2f4ee, #d2ecdf); }
  #pcHeroStrip .psi-orange { background: linear-gradient(135deg, #fdf0e4, #fbe6d2); }
  #pcHeroStrip .psi-violet { background: linear-gradient(135deg, #eeecfb, #e0dcf7); }
  #pcHeroStrip .psTxt b { display: block; font-size: 13.5px; color: #16324f; font-weight: 600; }
  #pcHeroStrip .psTxt span { display: block; font-size: 11.5px; color: #8a9ab0; margin-top: 2px; }

  /* ============ 5. 区块与卡片 ============ */
  .section {
    background: transparent;
    box-shadow: none;
    margin: 0 0 38px;
    padding: 0;
    border-radius: 0;
  }
  .section-title {
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: none;
    position: relative;
    display: flex; align-items: baseline; gap: 12px;
  }
  .section-title::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, #cddff2 0%, rgba(205, 223, 242, .15) 70%, transparent 100%);
  }
  .section-title h2 {
    font-size: 21px; font-weight: 800; color: #12365c; letter-spacing: -.3px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-title h2::before {
    width: 5px; height: 22px; border-radius: 3px;
    background: linear-gradient(180deg, #2a7cc9, #185fa5);
    box-shadow: 0 2px 8px rgba(24, 95, 165, .35);
  }
  .section-title .more {
    font-size: 13px; color: #185fa5;
    background: #eef5fc; border-radius: 20px; padding: 4px 14px;
    transition: background .15s;
  }
  .section-title .more:hover { background: #dcebfa; }

  /* 工作台入口：8 宫格白卡片 + 彩色渐变图标 */
  .entry-grid { grid-template-columns: repeat(8, 1fr); gap: 16px; }
  .entry {
    aspect-ratio: auto;
    padding: 20px 8px 18px;
    border-radius: 14px;
    background: #fff !important;
    border: 1px solid #e8eef6;
    color: #16324f;
    box-shadow: 0 2px 10px rgba(20, 40, 80, .04);
    transition: transform .18s, box-shadow .18s, border-color .18s;
  }
  .entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 45, 85, .13);
    border-color: #bcd7f0;
  }
  .entry:active { transform: translateY(0); }
  .entry .icon {
    width: 52px; height: 52px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 25px; border-radius: 14px;
    background: linear-gradient(135deg, #eef5fc, #e0edf9);
    box-shadow: inset 0 0 0 1px rgba(24, 95, 165, .08);
    filter: none;
    transition: transform .18s;
  }
  .entry:hover .icon { transform: scale(1.08); }
  .entry:nth-child(4n+2) .icon { background: linear-gradient(135deg, #e9f6f1, #d9eee4); box-shadow: inset 0 0 0 1px rgba(15, 110, 86, .10); }
  .entry:nth-child(4n+3) .icon { background: linear-gradient(135deg, #fdf3e9, #fbe8d5); box-shadow: inset 0 0 0 1px rgba(196, 110, 35, .10); }
  .entry:nth-child(4n+4) .icon { background: linear-gradient(135deg, #f0eefb, #e2ddf6); box-shadow: inset 0 0 0 1px rgba(103, 78, 173, .10); }
  .entry .name { font-size: 13px; font-weight: 600; color: #2a4560; letter-spacing: 0; }

  /* 商品卡片：4 列 + 封面渐变兜底 */
  .grid2 { grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; }
  .grid2 .cell {
    border-radius: 14px;
    border: 1px solid #e8eef6;
    box-shadow: 0 2px 12px rgba(20, 40, 80, .05);
    transition: transform .18s, box-shadow .18s, border-color .18s;
    background: #fff;
    overflow: hidden;
  }
  .grid2 .cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(16, 45, 85, .15);
    border-color: #bcd7f0;
  }
  .grid2 .cell:active { transform: translateY(0); }
  .grid2 .cell .thumb {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #dcebfa 0%, #c9def4 55%, #d8ecf3 100%);
    position: relative;
  }
  .grid2 .cell .thumb::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, #185fa5, #0f6e56);
    opacity: .85;
  }
  .grid2 .cell .info { padding: 13px 15px 15px; }
  .grid2 .cell .info h4 { font-size: 14px; line-height: 1.45; min-height: 40px; color: #16324f; font-weight: 600; }
  .grid2 .cell .info .meta { font-size: 12px; margin-top: 8px; }

  /* 分类 pill */
  .cats { padding: 0 0 14px; flex-wrap: wrap; overflow: visible; }
  .cat-pill {
    border-radius: 20px; padding: 8px 18px; border-color: #e0e9f3;
    background: #fff; color: #3b5570;
    transition: all .15s;
  }
  .cat-pill:hover { border-color: #185fa5; color: #185fa5; transform: translateY(-1px); }
  .cat-pill.active {
    background: linear-gradient(135deg, #1e6cb5, #185fa5);
    color: #fff; border-color: #185fa5;
    box-shadow: 0 4px 14px rgba(24, 95, 165, .35);
  }

  /* 免费专区横幅：深蓝渐变（与 Hero 同族），青色仅作医疗点缀 */
  .free-banner {
    position: relative;
    background: linear-gradient(110deg, #0b3560 0%, #12518f 55%, #1665a8 100%);
    border: none;
    border-radius: 16px;
    padding: 24px 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 53, 96, .28);
    transition: transform .18s, box-shadow .18s;
  }
  .free-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 420px 170px at 94% 12%, rgba(74, 222, 159, .22) 0%, transparent 62%),
      radial-gradient(ellipse 300px 200px at 4% 100%, rgba(64, 156, 255, .18) 0%, transparent 65%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='40' viewBox='0 0 480 40'%3E%3Cpath d='M0 20 H90 L98 20 104 8 112 32 120 14 126 20 H240 L248 20 254 6 264 34 272 12 280 20 H480' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x right center / 480px 40px;
    pointer-events: none;
  }
  .free-banner:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 53, 96, .34); }
  .free-banner .fb-text h3 { font-size: 18px; color: #fff; font-weight: 700; }
  .free-banner .fb-text p { color: rgba(255,255,255,.72) !important; }
  .free-banner .fb-btn {
    background: linear-gradient(135deg, #ffffff, #eaf3fc);
    color: #14508c; border-radius: 10px; padding: 11px 26px;
    font-size: 14px; font-weight: 700; position: relative;
    box-shadow: 0 6px 18px rgba(3, 20, 42, .28);
  }
  .free-banner .fb-btn:hover { box-shadow: 0 8px 22px rgba(3, 20, 42, .34); }

  /* 首页其余绿色元素收敛为蓝系，避免跳色 */
  .tag-free, .badge-free { background: #eef5fc !important; color: #185fa5 !important; }

  /* ============ 6. 二级页（搜索/分类/总览）：PC 宽屏定宽居中 ============ */
  .search-page {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100%;
    background: #f4f7fb;
    box-shadow: none;
    padding: 0 0 48px;
  }
  .search-page .app-bar {
    position: sticky; top: 0;
    max-width: 1200px;
    margin: 0 auto 18px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #e6ecf5;
    background: #fff;
  }
  .search-page .app-bar .ab-back,
  .search-page .app-bar .ab-home { color: #16324f; }
  .search-page .app-bar .ab-title { font-size: 17px; color: #16324f; }
  .search-page .sp-breadcrumb { max-width: 1200px; margin: 0 auto 14px; padding: 0 24px; }
  .search-page .sp-search-bar { max-width: 760px; margin: 0 auto 20px; }
  .search-page .cp-cats-wrap,
  .search-page .cats-hero { max-width: 1200px; margin: 0 auto 18px; }
  .search-page .cats-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px; max-width: 1200px;
    margin: 0 auto; padding: 0 24px 24px;
  }
  #catPage .grid2, #searchPage .grid2 {
    max-width: 1200px; margin: 0 auto; padding: 0 24px 24px;
  }
  .search-page .pager { max-width: 1200px; margin: 0 auto; }
  .pager .pg-num:hover { border-color: #185fa5; color: #185fa5; }
  .pager .pg-num.active {
    background: #185fa5; border-color: #185fa5; color: #fff;
    box-shadow: 0 2px 6px rgba(24, 95, 165, .25);
  }
  .cp-cat:hover { background: #eef5fc; color: #185fa5; }
  .cats-cell { border: 1px solid #e6ecf5; box-shadow: none; transition: transform .18s, box-shadow .18s; }
  .cats-cell:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 40, 80, .10); }

  /* ============ 7. 商品详情页：宽屏卡片化 ============ */
  .tb-mask { background: rgba(9, 24, 42, .58); padding: 20px; }
  .tb-mask .tb-topbar {
    max-width: 1140px; margin: 0 auto 12px;
    background: #fff; border-radius: 12px; height: 52px;
  }
  .tb-mask .tb-topbar .tb-back, .tb-mask .tb-topbar .tb-close { color: #16324f; }
  .tb-mask .tb-scroll {
    max-width: 1140px; margin: 0 auto;
    border-radius: 16px; overflow-y: auto;
    background: #fff;
    max-height: calc(100vh - 200px);
    /* 参考课件啦详情页：桌面左右布局（图廊 | 信息栏） */
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px; align-items: start; padding: 22px;
  }
  .tb-gallery { border-radius: 16px; overflow: hidden; background: #f0f4fa; position: sticky; top: 84px; }
  .tb-gallery-main { height: 480px; display: flex; align-items: center; justify-content: center; }
  .tb-gallery-main img { max-height: 100%; object-fit: contain; }
  .tb-info { padding: 4px 8px 22px; }
  .tb-info .tb-title { font-size: 22px; line-height: 1.4; color: #16324f; }
  .tb-info .tb-price { font-size: 30px; }
  .tb-info .tb-sn-row { margin-top: 14px; }
  .tb-info .tb-tags { margin-top: 12px; gap: 8px; }
  .tb-daizuo, .tb-svc, .tb-reviews, .tb-ad, .tb-detail, .tb-similar { margin: 0; }
  .tb-detail img { max-width: 100%; margin: 0 auto; display: block; border-radius: 12px; }
  .tb-bar {
    max-width: 1140px; margin: 12px auto 0;
    border-radius: 14px; border-top: none; overflow: hidden;
    box-shadow: 0 10px 30px rgba(9, 24, 42, .25);
  }
  .tb-bar .tb-btn-buy { max-width: 260px; }

  /* ============ 8. 各类弹窗：居中卡片化（覆盖内联样式） ============ */
  #gateMask, #paySheet, #daizuoMask, #wechatModal, #msgDetailMask {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    background: rgba(9, 24, 42, .58) !important;
  }
  #gateMask .modal-header, #paySheet .modal-header,
  #daizuoMask .modal-header, #wechatModal .modal-header {
    width: 440px; max-width: 92vw; margin: 0 auto;
    border-radius: 14px 14px 0 0;
    background: #185fa5;
  }
  #gateMask .gate, #paySheet .gate,
  #daizuoMask .gate, #wechatModal .gate {
    width: 440px; max-width: 92vw; margin: 0 auto;
    border-radius: 0 0 14px 14px;
    max-height: 78vh; overflow-y: auto;
    background: #fff;
  }

  /* ============ 9. PC 页脚 ============ */
  .app > footer { display: none; }
  #pcFoot {
    display: block;
    position: relative;
    background:
      radial-gradient(ellipse 800px 300px at 90% 0%, rgba(15, 110, 86, .28) 0%, transparent 60%),
      linear-gradient(160deg, #0b2c50 0%, #0f2c4d 45%, #123c66 100%);
    color: #a9bed6;
    /* 全屏通栏：负 margin 出血到视口边缘，内边距把内容拉回 1200 主体列 */
    margin: 48px calc(50% - 50vw) 0;
    padding: 52px max(24px, calc(50vw - 600px)) 30px;
    overflow: hidden;
  }
  #pcFoot::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, #2a7cc9, #0f6e56, #2a7cc9);
  }
  #pcFoot::after {
    /* 底部通栏再压一层深色，拉出层次 */
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(180deg, transparent, rgba(4, 18, 34, .45));
    pointer-events: none;
  }
  #pcFoot .pcf-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0; }
  #pcFoot .pcf-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
  #pcFoot h4 { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 14px; }
  #pcFoot p, #pcFoot li { font-size: 13px; line-height: 1.9; }
  #pcFoot ul { list-style: none; }
  #pcFoot a { color: #a9bed6; text-decoration: none; cursor: pointer; }
  #pcFoot a:hover { color: #fff; }
  #pcFoot .pcf-brand {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    color: #fff; font-size: 17px; font-weight: 700;
  }
  #pcFoot .pcf-brand .pc-logo-mark { width: 32px; height: 32px; border-radius: 9px; background: #185fa5; display: flex; align-items: center; justify-content: center; }
  #pcFoot .pcf-bottom {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 30px auto 0; padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: #7f96b1;
  }

  /* 宽度可配：full=全屏通栏（默认） / boxed=固定 1200 居中卡片 */
  #pcFoot[data-width="boxed"] {
    margin: 48px 0 0;
    padding: 44px 36px 26px;
    border-radius: 18px;
  }
  .header[data-width="boxed"] {
    margin: 0 0 72px;
    padding: 64px 40px 120px;
    border-radius: 20px;
  }

  /* Hero 主标题：后台填了才显示（轮播上方的眉标，不与大字抢焦点） */
  .header h1.pc-hero-title-show {
    position: relative; width: auto; height: auto;
    overflow: visible; clip: auto; white-space: normal;
    font-size: 17px; font-weight: 600; letter-spacing: 2px;
    color: rgba(255, 255, 255, .74);
    margin: 0 auto 18px; text-shadow: none;
  }

  /* 板块版式：poster=竖版拼接预览（窄卡多列），card=横版卡片 */
  .grid2[data-style="poster"] { grid-template-columns: repeat(6, 1fr); }
  .grid2[data-ratio="9:16"]   { grid-template-columns: repeat(6, 1fr); }
  .grid2[data-ratio="3:4"]    { grid-template-columns: repeat(5, 1fr); }
}

/* =================================================================
   PC 端动效关键帧（首屏幻灯片 / 心电图流动 / 网格呼吸）
   ================================================================= */

/* 幻灯片：淡入上移 → 停留 → 淡出上移 */
@keyframes slFade {
  0%    { opacity: 0; transform: translateY(16px); }
  4%    { opacity: 1; transform: translateY(0); }
  28%   { opacity: 1; transform: translateY(0); }
  33%   { opacity: 0; transform: translateY(-16px); }
  100%  { opacity: 0; transform: translateY(-16px); }
}
/* 指示器：当前屏高亮 */
@keyframes slDot {
  0%, 33%   { background: #7fe3c6; width: 16px; }
  35%, 100% { background: rgba(255,255,255,.22); width: 16px; }
}
/* 徽章呼吸点 */
@keyframes slPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.72); }
}
/* 心电图横向流动 */
@keyframes ecgFlow {
  from { background-position: 0 center; }
  to   { background-position: -720px center; }
}
/* 点阵网格呼吸 */
@keyframes gridBreath {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* ============ 列表页排序筛选条（参考课件啦） ============ */
.cp-sort { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 6px; }
.cp-chip {
  font-size: 13px; padding: 7px 16px; border-radius: 999px;
  background: #eef3f8; color: #5a6b7d; border: 1px solid transparent;
  cursor: pointer; font-weight: 500; transition: .15s; white-space: nowrap;
}
.cp-chip:hover { background: #e3edf7; }
.cp-chip.on { background: #EDF4FB; color: #185FA5; font-weight: 700; border-color: #CFE2F2; }
