
  *{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
  :root{
    --blue:#1F6BFF;
    --blue-d:#0E4BD6;
    --blue-l:#EAF1FF;
    --orange:#FF8A1F;
    --orange-d:#F2700E;
    --orange-l:#FFF3E6;
    --ink:#0F1B33;
    --ink2:#4A5875;
    --ink3:#8A94AB;
    --line:#EDF1F7;
    --bg:#F4F6FB;
    --white:#fff;
    --r:16px;
    --sh:0 6px 20px rgba(15,40,90,.07);
    --safe-top:18px;
  }
  html,body{height:100%}
  body{
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;
    color:var(--ink);
    background:#E7ECF5;
    display:flex;align-items:center;justify-content:center;
    padding:24px 0;
    overflow:hidden;
  }
  /* ============ 设备外壳 ============ */
  .device{
    position:relative;
    width:390px;
    height:min(844px,calc(100vh - 48px));
    background:var(--white);
    border-radius:40px;
    overflow:hidden;
    display:flex;flex-direction:column;
    box-shadow:0 30px 80px rgba(14,40,90,.24),0 0 0 1px rgba(255,255,255,.6) inset;
  }
  @media (max-width:520px){
    body{padding:0}
    .device{width:100%;height:100vh;height:100dvh;border-radius:0;box-shadow:none}
  }

  #app{position:relative;flex:1;min-height:0;overflow:hidden}
  .screen{
    position:absolute;inset:0;
    overflow-y:auto;overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    display:none;
    background:var(--bg);
    padding-bottom:14px;
  }
  .screen::-webkit-scrollbar{width:0;height:0}
  .screen.active{display:block}
  .screen.no-pad{padding-bottom:0}

  /* ============ 通用 ============ */
  .row{display:flex;align-items:center}
  .grow{flex:1;min-width:0}
  .card{background:#fff;border-radius:var(--r);box-shadow:var(--sh)}
  .sec-head{display:flex;align-items:center;justify-content:space-between;padding:20px 16px 12px}
  .sec-title{font-size:17px;font-weight:700;letter-spacing:.2px;display:flex;align-items:center;gap:8px}
  .sec-title::before{content:'';width:4px;height:15px;border-radius:2px;background:linear-gradient(180deg,var(--blue),#66A0FF)}
  .sec-title.orange::before{background:linear-gradient(180deg,var(--orange),#FFC07A)}
  .sec-more{font-size:12px;color:var(--ink3);display:flex;align-items:center;gap:2px}
  .sec-more b{font-weight:400}
  .chev{width:14px;height:14px;stroke:var(--ink3);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}

  button{font-family:inherit;border:0;background:none;cursor:pointer;color:inherit}

  /* ============ 顶部店铺头 ============ */
  .home-head{
    background:linear-gradient(165deg,#3D87FF 0%,#1F6BFF 45%,#0F4DDA 100%);
    padding:14px 16px 30px;
    position:relative;
    overflow:hidden;
  }
  .home-head::after{
    content:'';position:absolute;right:-40px;top:-70px;width:180px;height:180px;
    border-radius:50%;background:rgba(255,255,255,.10);
  }
  .home-head::before{
    content:'';position:absolute;left:-30px;bottom:-70px;width:130px;height:130px;
    border-radius:50%;background:rgba(255,138,31,.28);filter:blur(2px);
  }
  .shop{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
  .shop-logo{
    width:44px;height:44px;border-radius:14px;flex:0 0 44px;
    background:linear-gradient(150deg,#FFB259,#FF7A18);
    color:#fff;font-size:19px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 6px 14px rgba(242,112,14,.35);
  }
  .shop-name{font-size:15px;font-weight:700;color:#fff;display:flex;align-items:center;gap:6px}
  .shop-badge{
    font-size:9px;font-weight:500;padding:1px 5px;border-radius:4px;
    background:rgba(255,255,255,.22);color:#fff;border:.5px solid rgba(255,255,255,.45);
  }
  .shop-sub{font-size:11px;color:rgba(255,255,255,.78);margin-top:3px}
  .follow-btn{
    margin-left:auto;flex:0 0 auto;
    font-size:12px;font-weight:600;color:#fff;
    padding:6px 15px;border-radius:100px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.5);
    backdrop-filter:blur(4px);
  }
  .search{
    margin-top:14px;height:38px;border-radius:100px;
    background:rgba(255,255,255,.96);
    display:flex;align-items:center;gap:7px;padding:0 14px;
    position:relative;z-index:1;
    box-shadow:0 4px 12px rgba(11,50,130,.16);
  }
  .search svg{width:16px;height:16px;stroke:#9AA6BF;stroke-width:2;fill:none;stroke-linecap:round}
  .search span{font-size:13px;color:#9AA6BF}

  .home-body{
    background:var(--bg);
    border-radius:20px 20px 0 0;
    margin-top:-16px;
    position:relative;z-index:2;
    padding-bottom:8px;
  }

  /* ============ Banner ============ */
  .banners{
    display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    padding:14px 16px 0;scrollbar-width:none;
  }
  .banners::-webkit-scrollbar{display:none}
  .banner{
    flex:0 0 calc(100% - 32px);
    height:128px;border-radius:16px;
    scroll-snap-align:center;
    position:relative;overflow:hidden;
    padding:20px 18px;color:#fff;
    display:flex;flex-direction:column;justify-content:center;
  }
  .banner h3{font-size:18px;font-weight:700;letter-spacing:.3px}
  .banner p{font-size:11.5px;opacity:.85;margin-top:6px;line-height:1.5}
  .banner .b-tag{
    display:inline-block;width:fit-content;
    font-size:10px;padding:3px 8px;border-radius:100px;
    background:rgba(255,255,255,.22);margin-bottom:8px;
  }
  .b1{background:linear-gradient(120deg,#1F6BFF,#54A0FF 70%,#7FB8FF)}
  .b1::after{content:'';position:absolute;right:-20px;bottom:-30px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.13)}
  .b2{background:linear-gradient(120deg,#FF8A1F,#FFB45C 70%,#FFC978)}
  .b2::after{content:'';position:absolute;right:-20px;top:-40px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.16)}
  .b3{background:linear-gradient(120deg,#0F4DDA,#1F6BFF 60%,#FF8A1F 190%)}
  .b3::after{content:'';position:absolute;right:-30px;bottom:-40px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.12)}

  .dots{display:flex;gap:5px;justify-content:center;margin-top:10px}
  .dot{width:5px;height:5px;border-radius:100px;background:#D3DBEA;transition:all .25s}
  .dot.on{width:16px;background:var(--blue)}

  /* ============ 金刚区 ============ */
  .quick{
    margin:14px 16px 0;background:#fff;border-radius:18px;
    padding:16px 8px 12px;display:flex;box-shadow:var(--sh);
  }
  .quick-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px}
  .qi-icon{
    width:42px;height:42px;border-radius:14px;
    display:flex;align-items:center;justify-content:center;
  }
  .qi-icon svg{width:21px;height:21px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .qi-t{font-size:11.5px;color:var(--ink2);font-weight:500}
  .qi-1{background:linear-gradient(145deg,#E9F1FF,#D6E5FF)}
  .qi-1 svg{stroke:#1F6BFF}
  .qi-2{background:linear-gradient(145deg,#FFF1E2,#FFE2C7)}
  .qi-2 svg{stroke:#F2700E}
  .qi-3{background:linear-gradient(145deg,#E6F7F1,#D3F0E6)}
  .qi-3 svg{stroke:#0FA97A}
  .qi-4{background:linear-gradient(145deg,#F0EDFF,#E1DAFF)}
  .qi-4 svg{stroke:#6D4CF0}

  /* ============ 图书横滑 ============ */
  .book-row{display:flex;gap:12px;overflow-x:auto;padding:2px 16px 4px;scrollbar-width:none}
  .book-row::-webkit-scrollbar{display:none}
  .book-card{
    flex:0 0 104px;background:#fff;border-radius:14px;padding:10px;
    box-shadow:var(--sh);
  }
  .book-cover{
    width:100%;height:120px;border-radius:9px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    color:#fff;text-align:center;padding:8px 6px 8px 12px;
    position:relative;overflow:hidden;line-height:1.35;
  }
  .book-cover::before{
    content:'';position:absolute;left:0;top:0;bottom:0;width:7px;
    background:linear-gradient(90deg,rgba(0,0,0,.22),rgba(255,255,255,.12));
  }
  .book-cover .bc-sub{font-size:9px;opacity:.85;margin-bottom:4px}
  .book-cover .bc-name{font-size:13px;font-weight:700;letter-spacing:.5px}
  .bc-math{background:linear-gradient(150deg,#3B82F6,#1D4ED8)}
  .bc-cn{background:linear-gradient(150deg,#FF9A3C,#EF6C00)}
  .bc-en{background:linear-gradient(150deg,#2DD4BF,#0F8B8D)}
  .book-name{font-size:12.5px;font-weight:600;margin-top:8px;line-height:1.35;color:var(--ink)}
  .book-price{margin-top:4px;font-size:14px;font-weight:700;color:#FF4D2E;font-family:-apple-system,"DIN Alternate",sans-serif}
  .book-price small{font-size:10px;font-weight:500}

  /* ============ 课程介绍（首页重点区） ============ */
  .course-banner{
    margin:0 16px;border-radius:18px;overflow:hidden;
    background:linear-gradient(125deg,#FFF6EB,#FFEBD3);
    padding:16px;display:flex;align-items:center;gap:14px;
    border:1px solid #FFE3C4;
  }
  .cb-icon{
    width:46px;height:46px;flex:0 0 46px;border-radius:14px;
    background:linear-gradient(145deg,#FF9B3D,#F2700E);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 6px 14px rgba(242,112,14,.3);
  }
  .cb-icon svg{width:24px;height:24px;stroke:#fff;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .cb-t{font-size:14.5px;font-weight:700;color:#8A4A06}
  .cb-d{font-size:11.5px;color:#B77A38;margin-top:4px;line-height:1.5}
  .cb-go{
    margin-left:auto;flex:0 0 auto;font-size:12px;font-weight:600;color:#fff;
    background:linear-gradient(135deg,#FF9B3D,#F2700E);
    padding:7px 13px;border-radius:100px;
    box-shadow:0 4px 10px rgba(242,112,14,.28);
  }

  .course-list{padding:12px 16px 0;display:flex;flex-direction:column;gap:12px}
  .course-card{
    background:#fff;border-radius:16px;padding:12px;display:flex;gap:12px;
    box-shadow:var(--sh);position:relative;overflow:hidden;
  }
  .course-card:active{transform:scale(.99)}
  .cc-cover{
    width:96px;height:96px;flex:0 0 96px;border-radius:12px;
    position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;
  }
  .cc-cover span{
    font-size:11px;font-weight:700;color:#fff;letter-spacing:1px;
    writing-mode:vertical-rl;line-height:1.1;opacity:.95;
  }
  .cc-cover i{
    position:absolute;right:8px;bottom:8px;width:22px;height:22px;border-radius:50%;
    background:rgba(255,255,255,.28);backdrop-filter:blur(2px);
    display:flex;align-items:center;justify-content:center;
  }
  .cc-cover i svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;margin-left:0}
  .cc-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
  .cc-title{font-size:14.5px;font-weight:700;line-height:1.35;color:var(--ink)}
  .cc-desc{font-size:11.5px;color:var(--ink3);margin-top:5px;line-height:1.5;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cc-meta{display:flex;align-items:center;gap:8px;margin-top:9px}
  .cc-tag{
    font-size:10px;padding:2px 7px;border-radius:5px;
    background:var(--blue-l);color:var(--blue);font-weight:600;
  }
  .cc-tag.o{background:var(--orange-l);color:var(--orange-d)}
  .cc-count{font-size:11px;color:var(--ink3);margin-left:auto}

  /* ============ 首页 v2：课程报名 ============ */

  .h-filter{position:relative;display:flex;align-items:center;gap:9px;padding:20px 14px 14px;background:#fff}
  .grade-btn{display:flex;align-items:center;gap:3px;flex:0 0 auto;background:none;border:0;padding:0}
  .grade-btn b{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:.3px}
  .grade-btn svg{
    width:14px;height:14px;fill:none;stroke:#4A5875;stroke-width:2.2;
    stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;
  }
  .grade-btn.open svg{transform:rotate(180deg)}
  .h-search{
    flex:1;min-width:0;height:34px;border-radius:100px;background:#F2F4F9;
    display:flex;align-items:center;gap:6px;padding:0 12px;
  }
  .h-search svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:#9AA6BF;stroke-width:2;stroke-linecap:round}
  .h-search input{
    flex:1;min-width:0;border:0;background:none;outline:none;
    font-size:13px;color:var(--ink);font-family:inherit;
  }
  .h-search input::placeholder{color:#9AA6BF}

  .grade-mask{
    position:absolute;left:0;right:0;top:100%;height:180vh;z-index:40;
    background:rgba(10,20,40,.1);opacity:0;pointer-events:none;transition:opacity .2s;
  }
  .grade-mask.show{opacity:1;pointer-events:auto}
  .grade-pop{
    position:absolute;left:14px;top:calc(100% + 2px);width:268px;z-index:45;
    background:#fff;border-radius:16px;padding:14px;
    box-shadow:0 16px 40px rgba(15,40,90,.18);
    opacity:0;transform:translateY(-8px) scale(.97);pointer-events:none;
    transform-origin:top left;transition:opacity .2s,transform .2s;
  }
  .grade-pop.show{opacity:1;transform:none;pointer-events:auto}
  .gp-title{font-size:12px;color:var(--ink3);margin-bottom:10px}
  .gp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .grade-chip{
    height:38px;border-radius:10px;background:#F4F6FB;
    display:flex;align-items:center;justify-content:center;
    font-size:13.5px;font-weight:600;color:var(--ink2);transition:.16s;
  }
  .grade-chip.on{background:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(31,107,255,.3)}
  .gp-tip{margin-top:11px;font-size:10.5px;color:#B0BACD}

  .sub-tabs{
    display:flex;gap:2px;overflow-x:auto;background:#fff;
    padding:0 8px;border-bottom:1px solid var(--line);scrollbar-width:none;
  }
  .sub-tabs::-webkit-scrollbar{display:none}
  .stab{
    flex:0 0 auto;position:relative;padding:8px 12px 12px;
    font-size:14px;color:var(--ink2);white-space:nowrap;transition:color .18s;
  }
  .stab.on{color:var(--blue);font-weight:700;font-size:15px}
  .stab.on::after{
    content:'';position:absolute;left:50%;bottom:3px;transform:translateX(-50%);
    width:20px;height:3px;border-radius:3px;background:var(--blue);
  }

  .h-carousel{padding:14px 14px 0}
  .hc-track{
    display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .hc-track::-webkit-scrollbar{display:none}
  .hc-slide{
    flex:0 0 100%;scroll-snap-align:start;
    height:122px;border-radius:14px;padding:0 16px;color:#fff;
    display:flex;flex-direction:column;justify-content:center;
    position:relative;overflow:hidden;box-shadow:0 8px 20px rgba(33,52,120,.16);
  }
  .hc-slide::after{
    content:'';position:absolute;right:-30px;top:-40px;width:118px;height:118px;
    border-radius:50%;background:rgba(255,255,255,.13);
  }
  .hc-slide::before{
    content:'';position:absolute;right:34px;bottom:-26px;width:62px;height:62px;
    border-radius:16px;background:rgba(255,255,255,.12);transform:rotate(20deg);
  }
  .hc-tag{
    width:fit-content;font-size:9.5px;font-weight:600;letter-spacing:.6px;
    padding:2px 7px;border-radius:100px;background:rgba(255,255,255,.24);
    position:relative;z-index:1;
  }
  .hc-t{font-size:15.5px;font-weight:700;letter-spacing:.3px;margin-top:8px;position:relative;z-index:1}
  .hc-d{font-size:10.5px;opacity:.86;margin-top:5px;position:relative;z-index:1}
  .hc-btn{
    width:fit-content;margin-top:9px;font-size:10.5px;font-weight:600;
    padding:4px 11px;border-radius:100px;background:rgba(255,255,255,.94);color:#3B3AE0;
    position:relative;z-index:1;
  }
  .hc-dots{display:flex;gap:5px;justify-content:center;padding:10px 0 2px}
  .hc-dots i{width:5px;height:5px;border-radius:100px;background:#CFD8E8;transition:width .25s,background .25s}
  .hc-dots i.on{width:16px;background:var(--blue)}

  .h-group{display:flex;align-items:center;gap:7px;padding:18px 14px 11px}
  .h-group i{width:3.5px;height:15px;border-radius:2px;background:var(--blue)}
  .h-group span{font-size:16px;font-weight:700;letter-spacing:.3px}

  .class-list{display:flex;flex-direction:column;gap:11px;padding:0 12px}
  .class-card{
    background:#fff;border-radius:14px;padding:14px;
    box-shadow:0 4px 16px rgba(15,40,90,.06);transition:transform .15s;
  }
  .class-card:active{transform:scale(.99)}
  .cl-head{display:flex;align-items:center;gap:8px;min-width:0}
  .cl-sub{
    flex:0 0 auto;font-size:11px;font-weight:600;color:#fff;
    padding:3px 8px;border-radius:7px 7px 7px 2px;line-height:1.2;
  }
  .cl-title{
    font-size:15px;font-weight:700;color:var(--ink);line-height:1.35;min-width:0;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .cl-org{display:flex;align-items:center;gap:5px;margin-top:11px;font-size:12px;color:var(--ink2)}
  .cl-org svg{width:13px;height:13px;fill:none;stroke:#8A94AB;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .cl-foot{display:flex;align-items:center;gap:9px;margin-top:12px}
  .cl-thumb{
    width:34px;height:34px;flex:0 0 34px;border-radius:9px;position:relative;overflow:hidden;
    display:flex;align-items:center;justify-content:center;
  }
  .cl-thumb span{position:relative;z-index:1;font-size:13px;font-weight:700;color:rgba(255,255,255,.92)}
  .cl-thumb::after{
    content:'';position:absolute;inset:0;
    background:linear-gradient(140deg,rgba(255,255,255,.34),transparent 58%);
  }
  .cl-meta{font-size:12px;color:var(--ink3);display:flex;align-items:center;gap:6px}
  .cl-meta b{color:var(--ink);font-weight:700}
  .cl-meta i{width:1px;height:10px;background:#DFE5F0}
  .cl-link{
    margin-left:auto;flex:0 0 auto;display:flex;align-items:center;gap:1px;
    font-size:12px;font-weight:600;color:var(--blue);
  }
  .cl-link svg{width:13px;height:13px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .h-end{text-align:center;font-size:11.5px;color:#B7C0D2;padding:20px 0 26px;letter-spacing:.5px}
  .h-empty{
    display:flex;flex-direction:column;align-items:center;gap:10px;
    padding:46px 0 26px;color:var(--ink3);font-size:12.5px;
  }
  .h-empty svg{width:46px;height:46px;fill:none;stroke:#D3DBEA;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

  .load-more{
    margin:14px 16px 0;height:44px;border-radius:12px;background:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:14px;font-weight:600;color:var(--blue);cursor:pointer;
    box-shadow:0 4px 16px rgba(15,40,90,.06);transition:transform .15s;
  }
  .load-more:active{transform:scale(.99)}
  .foot-tip{text-align:center;font-size:11px;color:#B7C0D2;padding:18px 0 6px;letter-spacing:.5px}

  /* ============ 子页面头部 ============ */
  .sub-head{
    position:sticky;top:0;z-index:20;
    height:calc(50px + var(--safe-top));display:flex;align-items:center;
    padding:0 12px 9px;padding-top:var(--safe-top);
    background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line);
  }
  .back{
    width:32px;height:32px;display:flex;align-items:center;justify-content:center;
    border-radius:10px;margin-right:4px;
  }
  .back svg{width:20px;height:20px;stroke:var(--ink);stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .sub-title{font-size:16px;font-weight:700;letter-spacing:.2px}
  .sub-right{margin-left:auto;font-size:12px;color:var(--ink3)}

  /* ============ 课程列表页 ============ */
  .courses-hero{
    margin:16px;border-radius:20px;padding:20px;
    background:linear-gradient(130deg,#1F6BFF,#4A93FF 65%,#7FB8FF);
    color:#fff;position:relative;overflow:hidden;
  }
  .courses-hero::after{
    content:'';position:absolute;right:-30px;top:-40px;width:150px;height:150px;
    border-radius:50%;background:rgba(255,255,255,.13);
  }
  .courses-hero h2{font-size:19px;letter-spacing:.5px}
  .courses-hero p{font-size:12px;opacity:.85;margin-top:7px;line-height:1.6;max-width:76%}
  .hero-stats{display:flex;gap:18px;margin-top:16px;position:relative;z-index:1}
  .hs-num{font-size:17px;font-weight:700;font-family:-apple-system,"DIN Alternate",sans-serif}
  .hs-lb{font-size:10.5px;opacity:.78;margin-top:2px}

  .filters{display:flex;gap:9px;padding:4px 16px 14px;overflow-x:auto;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}
  .fbtn{
    flex:0 0 auto;font-size:12.5px;font-weight:500;color:var(--ink2);
    padding:7px 15px;border-radius:100px;background:#fff;
    box-shadow:0 2px 8px rgba(15,40,90,.05);
    transition:.2s;white-space:nowrap;
  }
  .fbtn.on{background:var(--blue);color:#fff;box-shadow:0 5px 14px rgba(31,107,255,.32);font-weight:600}

  /* ============ 图书配套页 ============ */
  .book-head{
    background:linear-gradient(165deg,#3D87FF,#1F6BFF 50%,#0F4DDA);
    padding:calc(16px + var(--safe-top)) 16px 26px;color:#fff;position:relative;overflow:hidden;
  }
  .book-head::after{
    content:'';position:absolute;right:-50px;bottom:-60px;width:170px;height:170px;
    border-radius:50%;background:rgba(255,255,255,.09);
  }
  .bh-top{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:800;letter-spacing:.5px}
  .bh-top .back svg{stroke:#fff}
  .bh-card{
    margin-top:16px;display:flex;gap:15px;align-items:center;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    border-radius:18px;padding:14px;position:relative;z-index:1;
    backdrop-filter:blur(6px);
  }
  .bh-cover{
    width:64px;height:84px;flex:0 0 64px;border-radius:12px;
    background:linear-gradient(150deg,#3B82F6,#1D4ED8);
    display:flex;align-items:center;justify-content:center;flex-direction:column;
    color:#fff;text-align:center;line-height:1.3;
    box-shadow:0 6px 14px rgba(6,30,90,.25);
  }
  .bh-cover b{font-size:14px;font-weight:800}
  .bh-cover small{font-size:10px;opacity:.85;margin-top:3px}
  .bh-name{font-size:18px;font-weight:800;letter-spacing:.2px}
  .bh-sub{font-size:12.5px;opacity:.85;margin-top:6px}
  .bh-switch{
    margin-left:auto;flex:0 0 auto;font-size:13px;color:#fff;
    border:1.5px solid rgba(255,255,255,.7);border-radius:100px;
    padding:7px 16px;background:rgba(255,255,255,.1);
    box-shadow:0 2px 8px rgba(6,30,90,.15);
  }

  .book-body{
    background:var(--bg);border-radius:20px 20px 0 0;margin-top:-14px;
    position:relative;z-index:2;padding:18px 16px 10px;
    display:flex;flex-direction:column;gap:14px;
  }
  /* 图书配套：折叠卡片（手风琴） */
  #s-book.active{display:flex;flex-direction:column}
  #s-book .book-head{flex:0 0 auto}
  #s-book .book-body{flex:0 0 auto}
  .acc{
    background:#fff;border-radius:18px;overflow:hidden;
    box-shadow:0 6px 20px rgba(15,40,90,.07);
  }
  .acc-head{display:flex;align-items:center;gap:12px;padding:16px 14px;transition:background .18s}
  .acc-head:active{background:#F7F9FE}
  .entry-ic{
    width:44px;height:44px;flex:0 0 44px;border-radius:14px;
    display:flex;align-items:center;justify-content:center;
  }
  .entry-ic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .ei-orange{background:linear-gradient(145deg,#FF9B3D,#F2700E);box-shadow:0 6px 14px rgba(242,112,14,.3)}
  .entry-t{font-size:16px;font-weight:700;letter-spacing:.2px}
  .entry-d{font-size:11.5px;color:var(--ink3);margin-top:4px}
  .acc-arrow{
    margin-left:auto;flex:0 0 auto;width:26px;height:26px;border-radius:50%;
    background:#F3F6FC;display:flex;align-items:center;justify-content:center;
    transition:transform .26s ease,background .2s;
  }
  .acc-arrow svg{width:12px;height:12px;stroke:#7A89A6;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .acc.open .acc-arrow{transform:rotate(180deg);background:var(--blue-l)}
  .acc.open .acc-arrow svg{stroke:var(--blue)}
  /* 展开高度由 JS 按内容真实高度设置（见 toggleAcc），长列表不会被裁切 */
  .acc-body{max-height:0;overflow:hidden;transition:max-height .3s ease}
  .acc-inner{border-top:1px solid var(--line)}

  /* 卡片视频：展开后的讲次列表（纯文字，无缩略图） */
  .ei-blue{background:linear-gradient(145deg,#4A93FF,#1F6BFF);box-shadow:0 6px 14px rgba(31,107,255,.28)}
  .ep-list{padding:2px 14px 0}
  .ep-row{
    display:flex;align-items:center;gap:10px;padding:12px 0;
    border-bottom:1px solid var(--line);
  }
  .ep-row:last-child{border-bottom:0}
  .ep-row:active{background:#F7F9FE}
  .ep-row.cur{background:#F2F7FF;border-radius:8px}
  .ep-row.cur .ep-name{color:var(--blue);font-weight:600}
  .ep-no{
    flex:0 0 26px;font-size:11.5px;font-weight:700;color:var(--blue);
    font-variant-numeric:tabular-nums;letter-spacing:.6px;
  }
  .ep-name{
    flex:1;min-width:0;font-size:13.5px;color:var(--ink);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .ep-time{flex:0 0 auto;font-size:11px;color:var(--ink3)}
  .ep-row > svg{width:12px;height:12px;flex:0 0 12px;stroke:#C2CBDC;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .ep-all{
    display:flex;align-items:center;justify-content:center;gap:2px;
    margin:0 14px;padding:13px 0 15px;
    font-size:12px;font-weight:600;color:var(--blue);
    border-top:1px solid var(--line);
  }
  .ep-all:active{opacity:.6}
  .ep-all svg{width:11px;height:11px;stroke:currentColor;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}

  /* 产品介绍：展开后的图文 */
  .art-mini{padding:16px}
  .am-cover{
    border-radius:13px;padding:20px 16px;color:#fff;position:relative;overflow:hidden;
    background:linear-gradient(140deg,#1F6BFF,#4A93FF 58%,#FF9B3D);
  }
  .am-cover::after{
    content:'';position:absolute;right:-30px;top:-24px;width:110px;height:110px;
    border-radius:50%;background:rgba(255,255,255,.16);
  }
  .am-cover h3{font-size:15.5px;line-height:1.55;font-weight:800;letter-spacing:.3px;position:relative;z-index:2}
  .am-p{font-size:12.5px;line-height:1.9;color:var(--ink2);margin-top:14px}
  .am-h{
    font-size:13.5px;font-weight:700;margin:18px 0 8px;padding-left:10px;position:relative;
  }
  .am-h::before{
    content:'';position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;
    background:linear-gradient(180deg,var(--blue),#66A0FF);
  }
  .am-ul{list-style:none;margin:0;padding:0}
  .am-ul li{
    position:relative;padding-left:14px;font-size:12px;line-height:1.95;color:var(--ink2);
  }
  .am-ul li::before{
    content:'';position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:#B9D2FF;
  }
  .am-img{
    height:100px;border-radius:12px;margin:13px 0;
    background:linear-gradient(135deg,#EAF1FF,#DCE9FF);
    border:1px dashed #C6D8F5;
    display:flex;align-items:center;justify-content:center;
    color:#8FA7D0;font-size:12px;
  }
  .am-more{
    display:flex;align-items:center;justify-content:center;gap:3px;
    margin-top:16px;padding-top:14px;border-top:1px solid var(--line);
    font-size:12.5px;font-weight:600;color:var(--blue);
  }
  .am-more svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}

  .feat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .feat{
    border-radius:18px;padding:16px 14px;color:#fff;position:relative;overflow:hidden;
    min-height:112px;display:flex;flex-direction:column;
  }
  .feat:active{opacity:.9}
  .feat h4{font-size:15px;font-weight:700;letter-spacing:.3px}
  .feat p{font-size:11px;opacity:.85;margin-top:5px}
  .feat .f-badge{
    margin-top:auto;font-size:10px;font-weight:600;
    background:rgba(255,255,255,.22);padding:3px 8px;border-radius:100px;
    width:fit-content;
  }
  .feat-ic{
    position:absolute;right:-6px;bottom:-8px;opacity:.22;
  }
  .feat-ic svg{width:80px;height:80px;stroke:#fff;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .f-video{background:linear-gradient(140deg,#2E7BFF,#1546D6)}
  .f-intro{background:linear-gradient(140deg,#FF9B3D,#F2700E)}

  .ent-list{margin-top:12px;background:#fff;border-radius:16px;box-shadow:var(--sh);overflow:hidden}
  .cell{
    display:flex;align-items:center;gap:12px;padding:15px 14px;
    border-bottom:1px solid var(--line);
  }
  .cell:last-child{border-bottom:0}
  .cell:active{background:#FAFBFD}
  .cell-ic{
    width:34px;height:34px;flex:0 0 34px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
  }
  .cell-ic svg{width:18px;height:18px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .c-blue{background:#EBF2FF}.c-blue svg{stroke:#1F6BFF}
  .c-orange{background:#FFF3E6}.c-orange svg{stroke:#F2700E}
  .c-green{background:#E7F7F1}.c-green svg{stroke:#0FA97A}
  .c-purple{background:#F0EDFF}.c-purple svg{stroke:#6D4CF0}
  .c-gray{background:#F1F4F9}.c-gray svg{stroke:#78839B}
  .cell-t{font-size:14px;font-weight:500}
  .cell-d{font-size:11px;color:var(--ink3);margin-top:2px}
  .cell-r{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:12px;color:var(--ink3)}

  /* ============ 课程大纲 ============ */
  .ol-hero{
    margin:16px;border-radius:18px;padding:18px;
    background:linear-gradient(130deg,#1F6BFF,#4A93FF 62%,#7FB8FF);
    color:#fff;position:relative;overflow:hidden;
  }
  .ol-hero::after{
    content:'';position:absolute;right:-30px;top:-46px;width:150px;height:150px;
    border-radius:50%;background:rgba(255,255,255,.13);
  }
  .ol-hero h2{font-size:17px;line-height:1.45;font-weight:700;letter-spacing:.2px;position:relative;z-index:1}
  .ol-hero p{font-size:11.5px;opacity:.85;margin-top:8px;line-height:1.65;position:relative;z-index:1}
  .ol-tags{display:flex;gap:7px;margin-top:13px;flex-wrap:wrap;position:relative;z-index:1}
  .ol-tags span{
    font-size:10.5px;padding:3px 9px;border-radius:100px;
    background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);
  }

  .ol-list{padding:0 16px}
  .ls-wrap{background:#fff;border-radius:16px;box-shadow:var(--sh);overflow:hidden;padding:3px 0 5px}
  .ls-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border-top:1px dashed var(--line)}
  .ls-row:first-child{border-top:0}
  .ls-badge{
    flex:0 0 auto;width:66px;height:24px;border-radius:7px;
    display:flex;align-items:center;justify-content:center;white-space:nowrap;
    font-size:11px;font-weight:700;color:var(--blue);background:var(--blue-l);letter-spacing:.2px;
  }
  .ls-title{flex:1;font-size:13.5px;color:var(--ink);line-height:1.5}
  .ls-dur{flex:0 0 auto;font-size:11px;color:var(--ink3)}
  .chapter{background:#fff;border-radius:16px;margin-bottom:12px;box-shadow:var(--sh);overflow:hidden}
  .ch-head{display:flex;align-items:center;gap:10px;padding:15px 14px;cursor:pointer}
  .ch-no{
    width:28px;height:28px;flex:0 0 28px;border-radius:9px;
    background:var(--blue-l);color:var(--blue);
    font-size:11px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
  }
  .ch-t{font-size:14px;font-weight:700;flex:1;line-height:1.4}
  .ch-n{font-size:11px;color:var(--ink3);flex:0 0 auto}
  .ch-arrow{width:15px;height:15px;stroke:#B2BCD0;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s}
  .chapter.closed .ch-arrow{transform:rotate(-90deg)}
  .ch-items{padding:0 14px 12px;animation:fadeIn .25s ease}
  .chapter.closed .ch-items{display:none}
  .ol-item{display:flex;gap:10px;padding:10px 0;border-top:1px dashed var(--line)}
  .ol-item:first-child{border-top:0}
  .ol-idx{
    flex:0 0 32px;font-size:11px;color:#A6B1C6;font-weight:500;
    font-variant-numeric:tabular-nums;padding-top:2px;
  }
  .ol-name{font-size:13px;color:var(--ink2);line-height:1.55;flex:1}
  @keyframes fadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

  /* ============ 视频列表 ============ */
  .v-list{padding:14px 16px 0;display:flex;flex-direction:column;gap:12px}
  .v-card{
    background:#fff;border-radius:16px;padding:10px;display:flex;gap:12px;
    box-shadow:var(--sh);
  }
  .v-thumb{
    width:118px;height:70px;flex:0 0 118px;border-radius:11px;
    position:relative;overflow:hidden;background:linear-gradient(135deg,#123A8F,#2E7BFF);
    display:flex;align-items:center;justify-content:center;
  }
  .v-thumb .v-num{
    position:absolute;left:7px;top:7px;font-size:9px;color:#fff;font-weight:600;
    background:rgba(0,0,0,.38);padding:1px 6px;border-radius:4px;
  }
  .v-thumb .v-play{
    width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.9);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 12px rgba(0,0,0,.2);
  }
  .v-thumb .v-play svg{width:11px;height:11px;fill:#1F6BFF;margin-left:1.5px;stroke:none}
  .v-thumb .v-dur{
    position:absolute;right:6px;bottom:6px;font-size:9.5px;color:#fff;
    background:rgba(0,0,0,.45);padding:1px 5px;border-radius:4px;
  }
  .v-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding-right:2px}
  .v-title{font-size:14px;font-weight:600;line-height:1.4;color:var(--ink);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .v-sub{font-size:11px;color:var(--ink3);margin-top:7px;display:flex;align-items:center;gap:6px}
  .v-dot{width:3px;height:3px;border-radius:50%;background:#CBD3E1}
  .v-tagline{font-size:10px;color:var(--orange-d);background:var(--orange-l);padding:2px 6px;border-radius:4px;font-weight:600}

  /* ============ 图文详情 ============ */
  .art{padding:16px 16px 0}
  .art h1{font-size:20px;line-height:1.45;letter-spacing:.2px}
  .art-meta{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:11.5px;color:var(--ink3)}
  .art-cover{
    margin-top:14px;height:170px;border-radius:16px;overflow:hidden;
    background:linear-gradient(140deg,#1F6BFF,#4A93FF 55%,#FF9B3D);
    position:relative;display:flex;align-items:flex-end;padding:16px;color:#fff;
  }
  .art-cover::after{
    content:'';position:absolute;right:-30px;top:-40px;width:150px;height:150px;
    border-radius:50%;background:rgba(255,255,255,.15);
  }
  .art-cover h3{font-size:17px;font-weight:700;line-height:1.4;max-width:70%}
  .art p{font-size:13.5px;line-height:1.95;color:var(--ink2);margin-top:14px;text-align:justify}
  .art h2{
    font-size:15.5px;font-weight:700;margin-top:24px;display:flex;align-items:center;gap:8px;
  }
  .art h2::before{content:'';width:3px;height:14px;border-radius:2px;background:var(--orange)}
  .art ul{margin-top:12px;display:flex;flex-direction:column;gap:9px}
  .art li{
    font-size:13px;line-height:1.7;color:var(--ink2);
    padding-left:16px;position:relative;
  }
  .art li::before{
    content:'';position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:2px;
    background:linear-gradient(135deg,#FF9B3D,#F2700E);transform:rotate(45deg);
  }
  .art-img{
    margin-top:14px;height:150px;border-radius:14px;
    background:linear-gradient(135deg,#EAF1FF,#DCE9FF);
    display:flex;align-items:center;justify-content:center;
    color:#8FA7D0;font-size:12px;border:1px dashed #C6D8F5;
  }

  /* ============ 图书页产品介绍：课程富文本 ============ */
  .rich{padding:16px;font-size:13px;line-height:1.9;color:var(--ink2)}
  .rich h1{font-size:18px;line-height:1.5;color:var(--ink);font-weight:800;margin:0 0 8px}
  .rich h2{font-size:15px;font-weight:700;color:var(--ink);margin:18px 0 8px;padding-left:10px;position:relative}
  .rich h2::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:2px;background:linear-gradient(180deg,var(--blue),#66A0FF)}
  .rich h3{font-size:14px;font-weight:700;color:var(--ink);margin:16px 0 6px}
  .rich p{margin:8px 0;text-align:justify}
  .rich img{max-width:100%;height:auto;border-radius:12px;margin:10px 0;display:block}
  .rich ul,.rich ol{margin:8px 0;padding-left:18px}
  .rich li{margin:4px 0}
  .rich blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid var(--blue);background:#F4F8FF;border-radius:6px;color:#5b667e}
  .rich a{color:var(--blue)}
  .rich table{max-width:100%;border-collapse:collapse;margin:10px 0}
  .rich td,.rich th{border:1px solid var(--line);padding:6px 8px;font-size:12.5px}

  /* ============ 我的 ============ */
  .mine-head{
    background:linear-gradient(160deg,#3D87FF 0%,#1F6BFF 52%,#0F4DDA 100%);
    padding:calc(20px + var(--safe-top)) 18px 62px;color:#fff;position:relative;overflow:hidden;
  }
  .mine-head::after{
    content:'';position:absolute;right:-46px;top:-56px;width:180px;height:180px;
    border-radius:50%;background:rgba(255,255,255,.1);
  }
  .mine-head::before{
    content:'';position:absolute;left:-40px;bottom:-30px;width:120px;height:120px;
    border-radius:50%;background:rgba(255,138,31,.25);
  }
  .m-user{display:flex;align-items:center;gap:13px;position:relative;z-index:1}
  .avatar{
    position:relative;overflow:hidden;
    width:60px;height:60px;border-radius:22px;flex:0 0 60px;
    background:linear-gradient(145deg,#FFC27A,#F2700E);
    display:flex;align-items:center;justify-content:center;
    font-size:22px;font-weight:700;color:#fff;
    border:2px solid rgba(255,255,255,.6);
    box-shadow:0 8px 18px rgba(9,40,110,.25);
  }
  .avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}
  .m-name{font-size:18px;font-weight:700;display:flex;align-items:center;gap:7px}
  .m-vip{
    font-size:9px;font-weight:600;padding:2px 6px;border-radius:4px;
    background:linear-gradient(135deg,#FFD08A,#FF9B3D);color:#7A3A00;
  }
  .m-id{font-size:11.5px;color:rgba(255,255,255,.75);margin-top:5px}
  .m-edit{
    margin-left:auto;font-size:11.5px;color:#fff;
    border:1px solid rgba(255,255,255,.5);border-radius:100px;
    padding:6px 12px;background:rgba(255,255,255,.14);
  }
  .m-stats{
    display:flex;margin:0 18px;margin-top:-42px;position:relative;z-index:3;
    background:#fff;border-radius:16px;padding:15px 0;box-shadow:0 8px 24px rgba(15,40,90,.1);
  }
  .m-stat{flex:1;text-align:center;position:relative}
  .m-stat + .m-stat::before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--line)}
  .m-num{font-size:18px;font-weight:700;font-family:-apple-system,"DIN Alternate",sans-serif;color:var(--ink)}
  .m-lab{font-size:11px;color:var(--ink3);margin-top:4px}

  .mine-body{padding:16px 16px 10px}
  .group-title{font-size:12px;color:var(--ink3);margin:18px 4px 8px;font-weight:500}
  .group{background:#fff;border-radius:16px;box-shadow:var(--sh);overflow:hidden}

  /* ============ 表单 ============ */
  .form{background:#fff;margin:16px;border-radius:16px;overflow:hidden;box-shadow:var(--sh)}
  .f-row{display:flex;align-items:center;padding:15px 16px;border-bottom:1px solid var(--line);min-height:56px}
  .f-row:last-child{border-bottom:0}
  .f-label{width:78px;flex:0 0 78px;font-size:14px;color:var(--ink2)}
  .f-input{
    flex:1;border:0;outline:none;font-size:14px;color:var(--ink);
    font-family:inherit;background:transparent;text-align:right;
  }
  .f-input::placeholder{color:#B9C2D3}
  .f-val{flex:1;text-align:right;font-size:14px;color:var(--ink)}
  .f-note{font-size:11px;color:var(--ink3);margin:0 22px;line-height:1.7}
  .save-btn{
    display:block;width:calc(100% - 32px);margin:20px 16px 8px;height:46px;border-radius:13px;
    background:linear-gradient(135deg,#2E7BFF,#0F4DDA);color:#fff;
    font-size:15px;font-weight:700;box-shadow:0 10px 22px rgba(31,107,255,.3);
  }
  .save-btn:active{opacity:.92}
  /* 编辑资料/换绑手机：页面直接使用 <label><input><select>，补充对应选择器 */
  .f-row > label{width:78px;flex:0 0 78px;font-size:14px;color:var(--ink2)}
  .f-row > input{
    flex:1;min-width:0;border:0;outline:none;font-size:14px;color:var(--ink);
    font-family:inherit;background:transparent;text-align:right;
  }
  .f-row > input::placeholder{color:#B9C2D3}
  .f-row > select{
    flex:1;min-width:0;border:0;outline:none;font-size:14px;color:var(--ink);
    font-family:inherit;background-color:transparent;text-align:right;
    appearance:none;-webkit-appearance:none;padding-right:20px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A94AB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right center;background-size:14px 14px;
  }
  .sex{flex:1;display:flex;justify-content:flex-end;gap:8px}
  .sex span{
    padding:6px 16px;border-radius:100px;font-size:13.5px;font-weight:600;
    color:var(--ink2);background:#F2F4F9;transition:all .18s;
  }
  .sex span:active{transform:scale(.96)}
  .sex span.on{
    color:#fff;background:linear-gradient(135deg,#2E7BFF,#0F4DDA);
    box-shadow:0 6px 14px rgba(31,107,255,.3);
  }
  /* 编辑资料：头像上传 */
  .avatar-edit{
    display:flex;flex-direction:column;align-items:center;gap:10px;
    padding:22px 16px 20px;border-bottom:1px solid var(--line);
  }
  .ae-img{
    position:relative;width:78px;height:78px;border-radius:50%;
    background:linear-gradient(145deg,#FFC27A,#F2700E);
    display:flex;align-items:center;justify-content:center;overflow:hidden;
    box-shadow:0 8px 18px rgba(15,40,90,.16);
  }
  .ae-img > svg{width:36px;height:36px;fill:none;stroke:rgba(255,255,255,.92);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ae-img > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}
  .ae-cam{
    position:absolute;right:0;bottom:0;width:24px;height:24px;border-radius:50%;
    background:var(--blue);border:2px solid #fff;
    display:flex;align-items:center;justify-content:center;
  }
  .ae-cam svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ae-tip{font-size:12px;color:var(--ink3)}

  /* ============ 更换手机号 ============ */
  .f-more{
    display:flex;align-items:center;gap:1px;margin-left:10px;flex:0 0 auto;
    font-size:12.5px;font-weight:600;color:var(--blue);
  }
  .f-more svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .ph-cur{
    margin:16px 16px 0;display:flex;align-items:center;gap:12px;color:#fff;
    background:linear-gradient(150deg,#3D87FF,#1F6BFF 55%,#0F4DDA);
    border-radius:16px;padding:14px 16px;
    box-shadow:0 8px 22px rgba(21,70,214,.24);
    position:relative;overflow:hidden;
  }
  .ph-cur::after{
    content:'';position:absolute;right:-34px;top:-40px;width:110px;height:110px;
    border-radius:50%;background:rgba(255,255,255,.1);
  }
  .ph-cur-ic{
    width:38px;height:38px;flex:0 0 38px;border-radius:12px;
    background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;
    position:relative;z-index:1;
  }
  .ph-cur-ic svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ph-cur-l{font-size:11px;opacity:.82;position:relative;z-index:1}
  .ph-cur-n{font-size:17px;font-weight:700;letter-spacing:1.2px;margin-top:3px;position:relative;z-index:1}
  .ph-tag{
    margin-left:auto;font-size:10px;padding:2px 7px;border-radius:100px;
    background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.32);position:relative;z-index:1;
  }
  .code-btn{
    flex:0 0 auto;margin-left:8px;font-size:12px;font-weight:600;color:var(--blue);
    background:var(--blue-l);border:0;border-radius:100px;padding:8px 12px;white-space:nowrap;
    transition:background .2s,color .2s;
  }
  .code-btn:disabled{color:var(--ink3);background:#F1F4FA;font-weight:500}
  .ph-tip{display:flex;gap:7px;margin:14px 20px 0;font-size:11.5px;color:var(--ink3);line-height:1.75}
  .ph-tip svg{width:14px;height:14px;flex:0 0 14px;margin-top:2px;fill:none;stroke:#AEB8CC;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .ph-note{text-align:center;font-size:11px;color:#B7C0D2;margin-top:12px;padding:0 30px;line-height:1.6}

  /* ============ 登录 / 注册 ============ */
  .auth-top{
    background:linear-gradient(160deg,#3D87FF 0%,#1F6BFF 52%,#0F4DDA 100%);
    padding:calc(var(--safe-top) + 42px) 24px 58px;
    color:#fff;position:relative;overflow:hidden;border-radius:0 0 26px 26px;
  }
  .auth-top::after{
    content:'';position:absolute;right:-48px;top:-34px;width:158px;height:158px;
    border-radius:50%;background:rgba(255,255,255,.10);
  }
  .auth-top::before{
    content:'';position:absolute;left:-44px;bottom:-72px;width:124px;height:124px;
    border-radius:50%;background:rgba(255,138,31,.26);
  }
  .auth-close{
    position:absolute;left:14px;top:calc(var(--safe-top) + 10px);width:30px;height:30px;
    border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;
    z-index:2;
  }
  .auth-close svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}
  .auth-logo{
    width:52px;height:52px;border-radius:17px;position:relative;z-index:1;
    background:linear-gradient(150deg,#FFB259,#FF7A18);color:#fff;
    font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;
    box-shadow:0 8px 18px rgba(242,112,14,.35);
  }
  .auth-top h2{font-size:21px;font-weight:700;letter-spacing:.3px;margin-top:16px;position:relative;z-index:1}
  .auth-top p{font-size:12.5px;opacity:.85;margin-top:7px;position:relative;z-index:1}

  .auth-form{
    background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(15,40,90,.10);
    margin:-20px 16px 0;padding:4px 16px 20px;position:relative;z-index:2;
  }
  .af-field{display:flex;align-items:center;gap:10px;height:56px;border-bottom:1px solid var(--line)}
  .af-pre{
    flex:0 0 auto;font-size:15px;font-weight:600;color:var(--ink2);line-height:16px;
    padding-right:10px;border-right:1px solid var(--line);
  }
  .af-field input{
    flex:1;min-width:0;border:0;outline:none;background:transparent;
    font-family:inherit;font-size:15px;color:var(--ink);letter-spacing:.4px;
  }
  .af-field input::placeholder{color:#B9C2D3;font-size:14px;letter-spacing:0}
  .save-btn.auth-btn{margin:20px 0 0;width:100%}
  .auth-agree{
    display:flex;align-items:flex-start;justify-content:center;gap:6px;
    margin-top:14px;font-size:11px;color:var(--ink3);line-height:1.6;
  }
  .af-check{
    width:14px;height:14px;flex:0 0 14px;border-radius:50%;margin-top:1px;
    border:1.4px solid #C6CFE0;display:flex;align-items:center;justify-content:center;transition:.15s;
  }
  .af-check svg{width:9px;height:9px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
  .af-check.on{background:var(--blue);border-color:var(--blue)}
  .af-check.on svg{opacity:1}
  .auth-agree b{font-weight:500;color:var(--blue)}
  .auth-note{text-align:center;font-size:11px;color:#B7C0D2;margin-top:18px;line-height:1.7}
  .auth-foot{text-align:center;font-size:12px;color:var(--ink3);margin-top:24px}
  .auth-foot span{color:var(--blue);font-weight:600;margin-left:2px}

  /* ============ 激活课程 ============ */
  .act-hero{padding:24px 24px 6px;text-align:center}
  .act-ic{
    width:62px;height:62px;margin:0 auto;border-radius:20px;
    background:linear-gradient(150deg,#FFF1E0,#FFE1C4);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 8px 20px rgba(242,112,14,.16);
  }
  .act-ic svg{width:28px;height:28px;fill:none;stroke:var(--orange-d);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .act-hero h2{font-size:18px;font-weight:700;margin-top:15px;letter-spacing:.2px}
  .act-hero p{font-size:12px;color:var(--ink3);line-height:1.75;margin-top:8px}
  .act-book{
    display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;
    padding:13px 14px;margin:18px 16px 0;box-shadow:var(--sh);
  }
  .act-cover{
    width:42px;height:54px;flex:0 0 42px;border-radius:9px;color:#fff;
    background:linear-gradient(150deg,#3B82F6,#1D4ED8);
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  }
  .act-cover b{font-size:15px;font-weight:700;line-height:1}
  .act-cover small{font-size:8px;opacity:.85;letter-spacing:.3px}
  .act-name{font-size:14px;font-weight:600}
  .act-sub{font-size:11px;color:var(--ink3);margin-top:4px}
  .act-badge{
    margin-left:auto;flex:0 0 auto;font-size:10px;font-weight:600;
    padding:3px 8px;border-radius:100px;background:var(--orange-l);color:var(--orange-d);
  }
  .act-form{background:#fff;border-radius:16px;margin:14px 16px 0;padding:16px;box-shadow:var(--sh)}
  .act-label{font-size:12px;color:var(--ink3);margin-bottom:10px}
  .act-input{
    width:100%;border:0;outline:none;font-family:inherit;background:#F5F8FE;
    border-radius:12px;padding:13px 10px;text-align:center;
    font-size:24px;font-weight:700;letter-spacing:10px;color:var(--ink);
  }
  .act-input::placeholder{font-size:13px;font-weight:400;letter-spacing:.5px;color:#B9C2D3}
  .act-input.err{background:#FFF1F1}
  .act-note{text-align:center;font-size:11px;color:#B7C0D2;margin-top:12px}
  .act-help{text-align:center;font-size:12px;color:var(--ink3);margin-top:6px}
  .act-help span{color:var(--orange-d);font-weight:600;margin-left:2px}
  .act-help span:active{opacity:.7}

  /* ============ 我的：账号状态 ============ */
  .m-id{display:flex;align-items:center;gap:6px}
  .m-un{color:#FFE0B6;font-weight:600}
  .m-badge-off{
    font-size:9px;font-weight:600;padding:1px 6px;border-radius:100px;
    background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);
  }

  /* ============ 扫码记录 / 客服 ============ */
  .log-item{
    display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);
    cursor:pointer;
  }
  .log-item:active{background:#F4F7FC}
  .log-item:last-child{border-bottom:0}
  .log-ic{
    width:40px;height:40px;flex:0 0 40px;border-radius:12px;
    background:linear-gradient(145deg,#EAF1FF,#D8E7FF);
    display:flex;align-items:center;justify-content:center;
  }
  .log-ic svg{width:19px;height:19px;stroke:#1F6BFF;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .log-t{font-size:13.5px;font-weight:500}
  .log-d{font-size:11px;color:var(--ink3);margin-top:4px}
  .log-r{margin-left:auto;font-size:11px;color:var(--blue);font-weight:500}

  /* ============ 微信客服二维码弹窗 ============ */
  .wx-mask{
    position:absolute;inset:0;z-index:90;
    background:rgba(10,18,36,.52);
    display:flex;align-items:center;justify-content:center;padding:26px;
    opacity:0;pointer-events:none;transition:opacity .22s;
  }
  .wx-mask.show{opacity:1;pointer-events:auto}
  .wx-modal{
    width:100%;max-width:292px;background:#fff;border-radius:20px;
    padding:22px 18px 16px;text-align:center;position:relative;
    transform:scale(.9) translateY(10px);opacity:0;
    transition:transform .26s cubic-bezier(.32,.72,.32,1),opacity .26s;
    box-shadow:0 18px 44px rgba(10,25,60,.22);
  }
  .wx-mask.show .wx-modal{transform:scale(1) translateY(0);opacity:1}
  .wx-close{
    position:absolute;right:10px;top:10px;width:28px;height:28px;border-radius:50%;
    background:#F2F5FA;display:flex;align-items:center;justify-content:center;
  }
  .wx-close svg{width:12px;height:12px;stroke:#7B879F;stroke-width:2.4;fill:none;stroke-linecap:round}
  .wx-badge{
    width:36px;height:36px;border-radius:12px;margin:0 auto 10px;
    background:linear-gradient(135deg,#41DE8F,#0FA968);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 6px 14px rgba(15,169,104,.28);
  }
  .wx-badge svg{width:21px;height:21px;display:block}
  .wx-title{font-size:16.5px;font-weight:700}
  .wx-sub{font-size:11.5px;color:var(--ink3);margin-top:6px;line-height:1.6}
  .wx-qr{
    width:184px;height:184px;margin:14px auto 0;padding:9px;background:#fff;
    border:1px solid #E6ECF8;border-radius:15px;box-shadow:0 6px 18px rgba(15,40,90,.08);
  }
  .wx-qr img{width:100%;height:100%;display:block;border-radius:8px;-webkit-touch-callout:default}
  .wx-tip{margin-top:13px;font-size:13.5px;font-weight:600;color:var(--ink)}
  .wx-tip em{font-style:normal;color:var(--orange-d)}
  .wx-id{
    display:flex;align-items:center;gap:8px;margin-top:11px;
    background:#F5F8FE;border-radius:12px;padding:8px 8px 8px 12px;
  }
  .wx-id span{font-size:11.5px;color:var(--ink3)}
  .wx-id b{font-size:12.5px;color:var(--ink);letter-spacing:.3px}
  .wx-copy{
    margin-left:auto;font-size:11.5px;font-weight:600;color:#fff;
    background:linear-gradient(135deg,#41DE8F,#0FA968);padding:5px 12px;border-radius:100px;
  }
  .wx-copy:active{opacity:.8}
  .wx-foot{margin-top:12px;font-size:10.5px;color:var(--ink3);line-height:1.6}

  /* ============ 播放页 ============ */
  #s-play{background:#F4F6FB;padding-bottom:16px}
  .player{
    position:relative;width:100%;aspect-ratio:16/9;background:#08132B;
    overflow:hidden;
  }
  .player video{
    width:100%;height:100%;object-fit:contain;background:#000;display:block;
  }
  .pl-cover{
    position:absolute;inset:0;
    background:radial-gradient(circle at 76% 18%,rgba(255,138,31,.42),transparent 55%),
               linear-gradient(140deg,#0B1F47,#123A8F 55%,#1F6BFF);
    display:flex;align-items:center;justify-content:center;
    transition:opacity .3s;
  }
  .pl-cover::before{
    content:'';position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.35),transparent 35%,transparent 60%,rgba(0,0,0,.5));
  }
  .pl-bigplay{
    width:60px;height:60px;border-radius:50%;
    background:rgba(255,255,255,.94);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    position:relative;z-index:2;
    transition:transform .2s;
  }
  .pl-bigplay:active{transform:scale(.93)}
  .pl-bigplay svg{width:22px;height:22px;fill:#1F6BFF;stroke:none;margin-left:3px}
  .pl-cover.hide{opacity:0;pointer-events:none}
  .pl-topbar{
    position:absolute;top:0;left:0;right:0;z-index:5;
    display:flex;align-items:center;gap:10px;padding:12px 14px;
    background:linear-gradient(180deg,rgba(0,0,0,.45),transparent);
  }
  .pl-back{
    width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.3);
    display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);
  }
  .pl-back svg{width:18px;height:18px;stroke:#fff;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .pl-titletop{font-size:13px;color:#fff;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
  .pl-ctrl{
    position:absolute;left:0;right:0;bottom:0;z-index:4;
    padding:0 14px 12px;
    background:linear-gradient(0deg,rgba(0,0,0,.55),transparent);
    display:flex;align-items:center;gap:10px;
  }
  .pl-mini{
    width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex:0 0 24px;
  }
  .pl-mini svg{width:15px;height:15px;fill:#fff;stroke:none}
  .pl-mini svg.stroke{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .bar{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.26);position:relative}
  .bar-fill{
    position:absolute;left:0;top:0;bottom:0;width:0%;border-radius:3px;
    background:linear-gradient(90deg,#FFB259,#FF8A1F);
  }
  .bar-fill::after{
    content:'';position:absolute;right:-4px;top:50%;transform:translateY(-50%);
    width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 6px rgba(0,0,0,.4);
  }
  .pl-time{font-size:10.5px;color:#fff;font-variant-numeric:tabular-nums;flex:0 0 auto;opacity:.9}

  .play-meta{background:#fff;padding:16px 16px 14px}
  .play-meta h1{font-size:17px;line-height:1.45;font-weight:700}
  .play-sub{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:11.5px;color:var(--ink3);flex-wrap:wrap}
  .ep-pill{
    font-size:10px;font-weight:600;color:var(--blue);background:var(--blue-l);
    padding:2px 7px;border-radius:5px;
  }
  .play-tools{display:flex;gap:20px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}
  .ptool{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink3)}
  .ptool svg{width:16px;height:16px;stroke:var(--ink3);stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}

  /* 播放页：引流图文 + 企业微信二维码 */
  .promo{margin:14px 14px 0;background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--sh)}
  .promo-cover{
    position:relative;height:118px;padding:0 18px;overflow:hidden;
    background:linear-gradient(120deg,#1F6BFF,#3D87FF 46%,#FF9B3D 158%);
    display:flex;flex-direction:column;justify-content:center;color:#fff;
  }
  .promo-cover::after{
    content:'';position:absolute;right:-32px;top:-50px;width:150px;height:150px;
    border-radius:50%;background:rgba(255,255,255,.14);
  }
  .promo-cover::before{
    content:'';position:absolute;right:26px;bottom:-38px;width:86px;height:86px;
    border-radius:50%;background:rgba(255,255,255,.1);
  }
  .promo-badge{
    align-self:flex-start;font-size:9.5px;font-weight:600;letter-spacing:.4px;
    background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.34);
    padding:2px 8px;border-radius:100px;margin-bottom:8px;
  }
  .promo-tt{font-size:17.5px;font-weight:800;line-height:1.34;letter-spacing:.3px;position:relative;z-index:2}
  .promo-sub{font-size:11px;opacity:.92;margin-top:7px;position:relative;z-index:2}
  .promo-art{position:absolute;right:12px;bottom:10px;width:64px;height:64px;z-index:2;opacity:.96}
  .promo-body{display:flex;align-items:center;gap:10px;padding:12px 14px 14px}
  .promo-desc{flex:1;min-width:0;font-size:11.5px;line-height:1.65;color:var(--ink2)}
  .promo-btn{
    flex:0 0 auto;height:34px;padding:0 15px;border-radius:100px;
    background:linear-gradient(135deg,#FF9B3D,#F2700E);color:#fff;
    font-size:12.5px;font-weight:700;
    box-shadow:0 6px 14px rgba(242,112,14,.28);
  }

  .qr-card{
    display:flex;align-items:center;gap:14px;
    margin:12px 14px 0;padding:14px;
    background:#fff;border-radius:16px;box-shadow:var(--sh);
  }
  .qr-info{flex:1;min-width:0}
  .qr-t{font-size:14px;font-weight:700;letter-spacing:.2px}
  .qr-d{font-size:11px;line-height:1.65;color:var(--ink3);margin-top:6px}
  .qr-tip{
    display:inline-block;margin-top:9px;padding:3px 9px;border-radius:100px;
    font-size:10.5px;font-weight:600;color:var(--blue);background:var(--blue-l);
  }
  .qr-box{
    position:relative;flex:0 0 94px;width:94px;height:94px;padding:5px;
    background:#fff;border:1px solid var(--line);border-radius:12px;
  }
  .qr-box svg{width:100%;height:100%;display:block}
  .qr-logo{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    width:24px;height:24px;border-radius:6px;background:#fff;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 1px 5px rgba(15,40,90,.18);
  }
  .qr-logo svg{width:18px;height:18px}

  /* 播放页：图文详情广告（富文本 HTML 直出） + 选集 */
  .play-sec{background:#fff;border-radius:16px;box-shadow:var(--sh);margin:14px 14px 0;overflow:hidden}
  .play-sec .sec-head{padding:16px 16px 6px}
  .play-sec .ep-list{padding:2px 14px 12px}
  .ad-html{padding:14px 16px;font-size:14px;line-height:1.75;color:var(--ink);word-break:break-word;overflow-x:auto}
  .ad-html:empty{display:none}
  .ad-html img{max-width:100%;height:auto;display:block;margin:0 auto;border-radius:8px}
  .ad-html p{margin:0 0 10px}
  .ad-html p:last-child{margin-bottom:0}
  .ad-html a{color:var(--blue);text-decoration:none}
  .ad-html h1,.ad-html h2,.ad-html h3,.ad-html h4{margin:14px 0 8px;font-size:15px;font-weight:700;line-height:1.5}
  .ad-html ul,.ad-html ol{margin:0 0 10px;padding-left:20px}
  .ad-html li{margin-bottom:4px}
  .ad-html table{width:100%;border-collapse:collapse;font-size:13px}
  .ad-html table td,.ad-html table th{border:1px solid var(--line,#EDF0F7);padding:6px 8px}
  .ad-html blockquote{margin:0 0 10px;padding:8px 12px;border-left:3px solid var(--blue);background:#F7F9FE;color:#5A6B8C}

  /* ============ 底部导航 ============ */
  #tabbar{
    flex:0 0 auto;
    display:flex;align-items:center;
    height:58px;padding-bottom:env(safe-area-inset-bottom);
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(14px);
    border-top:1px solid var(--line);
    position:relative;z-index:30;
  }
  #tabbar.hide{display:none}
  .tab{
    flex:1;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    color:#98A2B8;
  }
  .tab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;transition:.2s}
  .tab span{font-size:10.5px;font-weight:500}
  .tab.active{color:var(--blue)}
  .tab.active svg{stroke-width:2.1}
  .tab.active span{font-weight:700}

  /* ============ 已激活图书弹层 ============ */
  .sheet-mask{
    position:absolute;inset:0;z-index:70;
    background:rgba(10,18,36,.42);
    opacity:0;pointer-events:none;transition:opacity .25s;
  }
  .sheet-mask.show{opacity:1;pointer-events:auto}
  .sheet{
    position:absolute;left:0;right:0;bottom:0;z-index:75;
    background:#fff;border-radius:22px 22px 0 0;
    padding:8px 0 calc(10px + env(safe-area-inset-bottom));
    transform:translateY(105%);
    transition:transform .32s cubic-bezier(.32,.72,.32,1);
    max-height:76%;display:flex;flex-direction:column;
    box-shadow:0 -10px 30px rgba(10,25,60,.14);
  }
  .sheet.show{transform:translateY(0)}
  .sheet-bar{width:38px;height:4px;border-radius:4px;background:#E3E8F2;margin:4px auto 12px;flex:0 0 auto}
  .sheet-head{display:flex;align-items:flex-start;padding:0 18px 12px;flex:0 0 auto}
  .sheet-head h3{font-size:16px;font-weight:700;letter-spacing:.2px}
  .sheet-head p{font-size:11px;color:var(--ink3);margin-top:5px}
  .sheet-close{
    width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#F2F5FA;
    display:flex;align-items:center;justify-content:center;margin-left:10px;
  }
  .sheet-close svg{width:12px;height:12px;stroke:#7B879F;stroke-width:2.4;fill:none;stroke-linecap:round}
  .sheet-list{overflow-y:auto;padding:0 12px 4px;flex:1;min-height:0}
  .bk-item{display:flex;align-items:center;gap:12px;padding:11px 10px;border-radius:14px;transition:background .15s}
  .bk-item:active{background:#F5F8FE}
  .bk-item.cur{background:#F2F7FF}
  .bk-mini{
    width:44px;height:58px;flex:0 0 44px;border-radius:8px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    color:#fff;position:relative;overflow:hidden;
    box-shadow:0 4px 10px rgba(20,50,120,.18);
  }
  .bk-mini::before{
    content:'';position:absolute;left:0;top:0;bottom:0;width:5px;
    background:linear-gradient(90deg,rgba(0,0,0,.2),rgba(255,255,255,.14));
  }
  .bk-mini b{font-size:12px;position:relative;z-index:1}
  .bk-mini small{font-size:8px;opacity:.85;margin-top:2px;position:relative;z-index:1}
  .bk-name{font-size:13.5px;font-weight:600;color:var(--ink)}
  .bk-sub{font-size:10.5px;color:var(--ink3);margin-top:5px}
  .bk-flag{margin-left:auto;flex:0 0 auto;font-size:10px;font-weight:600;padding:3px 9px;border-radius:100px}
  .bk-flag.cur{background:var(--blue);color:#fff;box-shadow:0 3px 8px rgba(31,107,255,.28)}
  .bk-flag.ok{background:#E9F7F1;color:#0B8A64}
  .sheet-foot{
    margin:8px 18px 0;padding:13px;border-radius:14px;flex:0 0 auto;
    font-size:13px;font-weight:600;color:var(--blue);
    background:var(--blue-l);
    display:flex;align-items:center;justify-content:center;gap:7px;
  }
  .sheet-foot:active{background:#DFEBFF}
  .sheet-foot svg{width:16px;height:16px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}

  /* ============ Toast / 扫码 ============ */
  #toast{
    position:absolute;left:50%;bottom:118px;transform:translate(-50%,10px);
    background:rgba(16,24,40,.9);color:#fff;font-size:13px;
    padding:10px 18px;border-radius:100px;
    opacity:0;pointer-events:none;transition:.25s;
    z-index:200;white-space:nowrap;max-width:80%;
  }
  #toast.show{opacity:1;transform:translate(-50%,0)}

  .scan-mask{
    position:absolute;inset:0;z-index:80;
    background:rgba(6,12,26,.94);
    display:none;flex-direction:column;align-items:center;justify-content:center;
    color:#fff;
  }
  .scan-mask.show{display:flex}
  .scan-frame{
    width:210px;height:210px;border-radius:22px;position:relative;
    box-shadow:0 0 0 1000px rgba(0,0,0,.35);
  }
  .scan-frame::before,.scan-frame::after{
    content:'';position:absolute;width:30px;height:30px;border:3px solid #4A93FF;
  }
  .scan-frame::before{left:-1px;top:-1px;border-right:0;border-bottom:0;border-radius:22px 0 0 0}
  .scan-frame::after{right:-1px;bottom:-1px;border-left:0;border-top:0;border-radius:0 0 22px 0}
  .scan-line{
    position:absolute;left:10px;right:10px;height:2px;
    background:linear-gradient(90deg,transparent,#4A93FF,transparent);
    box-shadow:0 0 12px #4A93FF;
    animation:scanMove 1.6s ease-in-out infinite;
  }
  @keyframes scanMove{0%{top:12px}50%{top:196px}100%{top:12px}}
  .scan-tip{margin-top:26px;font-size:13px;color:rgba(255,255,255,.8)}
  .scan-close{
    position:absolute;top:40px;right:20px;width:32px;height:32px;border-radius:50%;
    background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;
  }
  .scan-close svg{width:15px;height:15px;stroke:#fff;stroke-width:2.2;fill:none;stroke-linecap:round}

  /* ============ 真机浏览器适配 ============ */
  /* 1) 刘海屏 / 状态栏避让：不支持 env() 的旧内核自动跳过，沿用上面的固定值 */
  @supports (padding-top: env(safe-area-inset-top)) {
    :root{--safe-top:calc(18px + env(safe-area-inset-top))}
    .h-filter{padding-top:calc(20px + env(safe-area-inset-top))}
    .scan-close{top:calc(40px + env(safe-area-inset-top))}
    .pl-topbar{padding-top:calc(12px + env(safe-area-inset-top))}
  }
  /* 2) 手机全屏：改为块级排布，避免 100dvh 与视口高度不一致时被 flex 居中向上溢出裁掉头部 */
  @media (max-width:520px){
    body{display:block;padding:0}
    .device{width:100%;height:100vh;height:100dvh;border-radius:0;box-shadow:none}
  }

/* ============ 多页适配：去掉手机外框，铺满视口 ============ */
body{display:block;padding:0;overflow:hidden;background:#fff;min-height:100vh}
.device{width:100%;height:100vh;height:100dvh;max-width:none;margin:0;display:block;background:#fff;border-radius:0;box-shadow:none;overflow:hidden}
#app{position:absolute;inset:0;height:100%;overflow:hidden}
.screen{position:absolute;inset:0;height:100vh;height:100dvh;overflow-y:auto;display:none}
.screen.active{display:block}
.screen.tabbar-pad{padding-bottom:74px}
#tabbar{position:fixed;left:0;right:0;bottom:0}
#tabbar.hide{display:none}
/* 弹层与扫码覆盖层改为相对 #app 定位，避免被裁切 */
.grade-mask,.sheet-mask,.wx-mask,.scan-mask{position:fixed}
.grade-pop{position:fixed;left:14px;top:64px;z-index:60}
.sheet{position:fixed}
.grade-pop{display:none}
.grade-pop.show{display:block}
.grade-mask{display:none}
.grade-mask.show{display:block}
.sheet{display:none}
.sheet.show{display:block}
/* ===== 自定义组件补充（多页版新增/替换用） ===== */
.grade-chip{padding:7px 14px;border-radius:18px;background:#fff;color:#475069;font-size:14px;box-shadow:0 3px 12px rgba(31,107,255,.06);cursor:pointer;white-space:nowrap}
.grade-chip.on{background:linear-gradient(135deg,#1F6BFF,#0E4BD6);color:#fff}
.h-empty{text-align:center;color:#9aa4b8;font-size:13px;padding:40px 0}
.am-cover{height:150px;border-radius:14px;background:linear-gradient(160deg,#2F5BFF,#5B52F5);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:800;font-size:18px;line-height:1.5;margin:6px 0 12px;padding:0 18px}
.am-h{font-size:15px;font-weight:800;color:#0F1B33;margin:18px 0 8px}
.am-ul{margin:0;padding-left:18px}
.am-ul li{font-size:13px;color:#5b667e;line-height:1.9}
.am-p{font-size:13px;color:#5b667e;line-height:1.8;margin:6px 0}
.am-more{text-align:center;color:#1F6BFF;font-size:13px;margin-top:12px}
.ep-pill{background:#eef2fb;color:#1F6BFF;padding:2px 10px;border-radius:10px;font-size:12px;margin-left:8px}
.v-dot{width:3px;height:3px;border-radius:50%;background:#c7cedb;display:inline-block;margin:0 6px;vertical-align:middle}
.v-tagline{color:#9aa4b8;font-size:12px}
/* ===== 课程讲义页 ===== */
.ls-arrow{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:#B7C0D2;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.ls-row.open .ls-arrow{transform:rotate(180deg)}
.ls-content{display:none;padding:0 14px 14px;font-size:12.5px;color:#5b667e;line-height:1.9;white-space:pre-wrap;word-break:break-word}
.pl-bigplay{width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center}
.pl-bigplay svg{width:26px;height:26px;fill:#fff}
.bh-switch{margin-left:auto}
.act-hero{text-align:center;padding:40px 20px 20px}
.act-ic{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#FF8A1F,#F2700E);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;box-shadow:0 10px 24px rgba(255,138,31,.3)}
.act-ic svg{width:34px;height:34px;fill:#fff}
.act-hero h2{margin:0;font-size:22px;font-weight:800}
.act-hero p{margin:6px 0 0;color:#8a94ab;font-size:13px}
.act-book{display:flex;align-items:center;gap:12px;margin:0 16px;background:#fff;border-radius:16px;padding:14px;box-shadow:0 6px 18px rgba(31,107,255,.08);position:relative}
.act-cover{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#1F6BFF,#0E4BD6);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.act-name{font-size:15px;font-weight:700}
.act-sub{font-size:12px;color:#8a94ab;margin-top:2px}
.act-sel{margin-left:auto;border:1px solid #eef1f7;border-radius:10px;padding:6px 8px;font-size:13px;color:#475069;max-width:130px}
.act-badge{position:absolute;right:14px;bottom:14px;background:#fff2e6;color:#F2700E;font-size:11px;padding:2px 8px;border-radius:10px}
.act-form{margin:18px 16px 0}
.act-label{font-size:13px;color:#8a94ab;margin-bottom:8px}
.act-input{width:100%;height:48px;border:1px solid #eef1f7;border-radius:12px;padding:0 14px;font-size:15px;background:#fff;color:#0f1b33;box-sizing:border-box}
.act-btn{margin-top:16px;background:linear-gradient(135deg,#FF8A1F,#F2700E)}
.ph-card{margin:16px;background:#fff;border-radius:16px;padding:16px;box-shadow:0 6px 18px rgba(31,107,255,.08)}
.ph-cur{font-size:14px;color:#475069}
.ph-cur b{color:#0f1b33;font-size:16px}
.code-btn,.af-code{background:#eef2fb;color:#1F6BFF;border:0;border-radius:10px;padding:0 14px;font-size:13px;height:36px;margin-left:10px}
.f-row.code{display:flex;align-items:center}
.log-list{padding:0 16px}
.log-item{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #f1f3f7;cursor:pointer}
.log-item:active{background:#f7f9fd}
.log-ic{width:38px;height:38px;border-radius:11px;background:#eef2fb;color:#1F6BFF;display:flex;align-items:center;justify-content:center;flex:none}
.log-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.log-t{font-size:14px;font-weight:600;color:#0f1b33}
.log-d{font-size:12px;color:#9aa4b8;margin-top:3px}
.log-r{margin-left:auto;font-size:12px;color:#22C8B0}
.bk-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f7f9fd;border-radius:14px;margin-bottom:10px}
.bk-item.cur{outline:2px solid #1F6BFF}
.bk-mini{width:44px;height:44px;border-radius:12px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;flex:none}
.bk-mini small{font-size:10px;font-weight:600;opacity:.85}
.bk-name{font-size:14px;font-weight:600;color:#0f1b33}
.bk-sub{font-size:12px;color:#8a94ab;margin-top:2px}
.bk-flag{margin-left:auto;font-size:11px;padding:3px 10px;border-radius:10px;background:#e6f7ef;color:#22C8B0}
.bk-flag.cur{background:#e6eeff;color:#1F6BFF}
.sheet-bar{width:40px;height:4px;border-radius:3px;background:#e2e6ef;margin:8px auto 0}
.sheet-head{position:relative;padding:8px 16px 14px;border-bottom:1px solid #f1f3f7}
.sheet-head h3{margin:0;font-size:17px;font-weight:800}
.sheet-head p{margin:4px 0 0;font-size:12px;color:#8a94ab}
.sheet-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:16px;color:#9aa4b8}
.sheet-list{padding:12px 16px;max-height:50vh;overflow:auto}
.sheet-foot{padding:12px 16px 20px}
.sheet-btn{width:100%;height:46px;border-radius:12px;border:1px solid #e6ebf5;background:#fff;color:#1F6BFF;font-size:15px;font-weight:600}
.sheet-btn.ghost{background:#f7f9fd}
.m-foot{text-align:center;color:#b3bccd;font-size:12px;padding:24px 0}
.demo-badge{font-size:10px;background:#FFF3E6;color:#F2700E;padding:2px 6px;border-radius:4px;font-weight:600}
.m-edit{cursor:pointer}
.mc-ic{width:22px;text-align:center;color:#1F6BFF;font-size:15px}
.auth-btn{background:linear-gradient(135deg,#FF8A1F,#F2700E)}
/* 级联面板展开：高度由 toggleAcc() 按内容实测设置，这里不再写死 max-height 上限 */
/* 多页：图书页改为整屏窗口滚动，避免内部容器导致深层元素点不到 */
#s-book.active{display:block}
.book-body{flex:0 0 auto;overflow:visible}

/* ============ 客服二维码弹层 ============ */
.service-body{display:flex;flex-direction:column;align-items:center;padding:4px 18px calc(18px + env(safe-area-inset-bottom))}
.service-qr{width:200px;height:200px;border-radius:14px;overflow:hidden;background:#F4F6FB;border:1px solid #EEF1F7;display:flex;align-items:center;justify-content:center}
.service-qr img{width:100%;height:100%;object-fit:contain;display:block}
.service-tip{margin-top:14px;font-size:12.5px;color:var(--ink3);text-align:center;line-height:1.6}
