  * { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
  html, body { height:100%; }
  body {
    font-family:"PingFang SC","Microsoft YaHei",sans-serif;
    background:#f7f4ef; min-height:100vh;
    display:flex; justify-content:center; align-items:stretch;
  }
  /* 响应式容器：手机全屏，平板/桌面居中限制最大宽度 */
  .phone {
    width:100%; max-width:560px; height:100vh; height:100dvh;
    background:#f7f4ef; overflow:hidden; position:relative;
    display:flex; flex-direction:column;
    padding-top:env(safe-area-inset-top); padding-bottom:env(safe-area-inset-bottom);
  }
  @media (min-width:768px){
    body { background:#2b2118; align-items:center; }
    .phone { height:min(100vh,940px); height:min(100dvh,940px); box-shadow:0 30px 80px rgba(0,0,0,.45); }
  }

  .statusbar { height:34px; display:flex; justify-content:space-between; align-items:center;
    padding:0 24px; font-size:12px; color:#8a7a5f; background:#f7f4ef; flex-shrink:0; }
  .screen { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; position:relative; scrollbar-width:none; }
  .screen::-webkit-scrollbar{display:none}

  /* ===== 首页（技能中心） ===== */
  .home-hero { padding:28px 22px 18px; background:linear-gradient(160deg,#f7f4ef,#f0e8da); }
  .home-hero .cat { font-size:12px; color:#b09a72; letter-spacing:2px; }
  .home-hero h1 { font-size:26px; color:#2b2118; margin:4px 0 2px; font-family:"STKaiti","KaiTi",serif; }
  .home-hero .sub { font-size:12.5px; color:#8a7a5f; }
  .skill-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:16px 18px 90px; }
  .skill {
    background:#fff; border-radius:16px; padding:18px 16px; cursor:pointer;
    border:1px solid #ece5d8; transition:transform .15s, box-shadow .15s; position:relative; overflow:hidden;
  }
  .skill:active { transform:scale(.96); }
  .skill .ico { width:44px; height:44px; border-radius:12px; display:flex; align-items:center;
    justify-content:center; font-size:22px; margin-bottom:10px; }
  .skill .t { font-size:15px; font-weight:600; color:#2b2118; }
  .skill .d { font-size:11.5px; color:#a0937d; margin-top:3px; line-height:1.5; }
  .skill .src { position:absolute; top:10px; right:10px; font-size:9px; color:#c9bda6;
    background:#faf7f0; padding:2px 7px; border-radius:8px; }
  .skill.hero-skill { grid-column:1/-1; background:linear-gradient(120deg,#4a3220,#6d4a2a); border:none; }
  .skill.hero-skill .t,.skill.hero-skill .d { color:#f5efe6; }
  .skill.hero-skill .d { color:#d8c9b0; }
  .skill.hero-skill .src { color:#d8b98a; background:rgba(255,255,255,.12); }

  /* ===== 底部 tab ===== */
  .tabbar { position:absolute; bottom:0; left:0; right:0; height:64px; background:rgba(255,255,255,.96);
    border-top:1px solid #ece5d8; display:flex; z-index:50; backdrop-filter:blur(10px); }
  .tabbar .tab { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
    cursor:pointer; color:#a0937d; font-size:10.5px; gap:2px; }
  .tabbar .tab.on { color:#b0612c; }
  .tabbar .tab .ti { font-size:20px; }

  /* ===== 通用子页面 ===== */
  .page { position:absolute; inset:0; background:#f7f4ef; z-index:60; display:none;
    flex-direction:column; animation:slidein .22s ease; }
  .page.show { display:flex; }
  @keyframes slidein { from{transform:translateX(40px);opacity:0} to{transform:none;opacity:1} }
  .phead { display:flex; align-items:center; gap:12px; padding:12px 16px; background:#f7f4ef;
    border-bottom:1px solid #ece5d8; flex-shrink:0; }
  .phead .back { width:32px;height:32px; border-radius:50%; background:#fff; border:1px solid #ece5d8;
    display:flex;align-items:center;justify-content:center; cursor:pointer; font-size:15px; color:#6d5c40; }
  .phead .pt { font-size:16px; font-weight:600; color:#2b2118; }
  .pbody { flex:1; overflow-y:auto; scrollbar-width:none; }
  .pbody::-webkit-scrollbar{display:none}

  /* ===== 登录/会员 相关 ===== */
  .auth-page { background:linear-gradient(170deg,#f7f4ef,#f0e8da); }
  .auth-wrap { flex:1; overflow-y:auto; display:flex; flex-direction:column; align-items:center;
    padding:40px 28px 30px; }
  .auth-logo { width:72px; height:72px; border-radius:20px; background:linear-gradient(135deg,#4a3220,#6d4a2a);
    display:flex; align-items:center; justify-content:center; font-size:34px; color:#f5efe6; margin-bottom:16px;
    font-family:"STKaiti","KaiTi",serif; }
  .auth-title { font-size:22px; font-weight:600; color:#2b2118; font-family:"STKaiti","KaiTi",serif; }
  .auth-sub { font-size:13px; color:#8a7a5f; margin-top:6px; text-align:center; line-height:1.5; }
  .auth-form { width:100%; margin-top:32px; }
  .auth-tabs { display:flex; gap:20px; margin-top:26px; }
  .auth-tabs .at { flex:1; text-align:center; padding:10px 0; font-size:15px; color:#a0937d;
    cursor:pointer; border-bottom:2px solid transparent; }
  .auth-tabs .at.on { color:#2b2118; font-weight:600; border-bottom-color:#b0612c; }
  .auth-panel { display:none; }
  .auth-panel.on { display:block; }
  .auth-field { position:relative; margin-bottom:16px; }
  .auth-field input { width:100%; height:50px; border-radius:12px; border:1px solid #e0d7c4;
    background:#fff; padding:0 16px; font-size:16px; color:#2b2118; outline:none; }
  .auth-field input:focus { border-color:#b0612c; }
  .auth-field .code-btn { position:absolute; right:8px; top:8px; height:34px; padding:0 14px;
    border:none; border-radius:8px; background:#f0e8da; color:#b0612c; font-size:13px; cursor:pointer; }
  .auth-field .code-btn:disabled { color:#c9bda6; cursor:not-allowed; }
  .auth-btn { width:100%; height:50px; border-radius:12px; border:none; background:#4a3220;
    color:#f5efe6; font-size:16px; font-weight:600; cursor:pointer; margin-top:8px; }
  .auth-btn:active { opacity:.85; }
  .auth-btn.secondary { background:#fff; color:#6d5c40; border:1px solid #e0d7c4; }
  .auth-tip { font-size:12px; color:#a0937d; margin-top:14px; text-align:center; line-height:1.6; }
  .auth-link { color:#b0612c; cursor:pointer; }

  /* 个人中心 */
  .profile-head { background:linear-gradient(135deg,#4a3220,#6d4a2a); padding:28px 22px; color:#f5efe6; }
  .profile-head .ph-phone { font-size:20px; font-weight:600; }
  .profile-head .ph-badge { font-size:12px; margin-top:6px; opacity:.85; }
  .profile-row { display:flex; align-items:center; justify-content:space-between; padding:16px 20px;
    background:#fff; border-bottom:1px solid #f0ece2; cursor:pointer; }
  .profile-row .pr-l { font-size:15px; color:#2b2118; }
  .profile-row .pr-r { font-size:13px; color:#a0937d; }
  .profile-row .pr-arrow { color:#c9bda6; }

  /* 会员购买 */
  .vip-banner { margin:0 18px 16px; padding:20px; border-radius:16px;
    background:linear-gradient(120deg,#4a3220,#8a5a2a); color:#f5efe6; }
  .vip-banner .vb-t { font-size:18px; font-weight:600; }
  .vip-banner .vb-d { font-size:12.5px; margin-top:6px; opacity:.85; line-height:1.5; }
  .plan-grid { display:flex; gap:12px; padding:0 18px; }
  .plan-card { flex:1; background:#fff; border:1.5px solid #ece5d8; border-radius:16px;
    padding:18px 12px; text-align:center; cursor:pointer; position:relative; }
  .plan-card.active { border-color:#b0612c; background:#fdf7f0; }
  .plan-card .pc-name { font-size:15px; font-weight:600; color:#2b2118; }
  .plan-card .pc-price { font-size:22px; font-weight:700; color:#b0612c; margin:8px 0 2px; }
  .plan-card .pc-price small { font-size:12px; font-weight:400; }
  .plan-card .pc-days { font-size:11px; color:#a0937d; }
  .plan-card .pc-tag { position:absolute; top:-8px; right:8px; background:#e24b4a; color:#fff;
    font-size:10px; padding:2px 8px; border-radius:8px; }

  /* 兑换码 */
  .redeem-box { display:flex; gap:10px; }
  .redeem-box input { flex:1; height:50px; border-radius:12px; border:1.5px solid #ece5d8;
    background:#fff; padding:0 14px; font-size:15px; color:#2b2118; outline:none; }
  .redeem-box input:focus { border-color:#b0612c; }
  .redeem-box .auth-btn { width:auto; flex-shrink:0; padding:0 24px; }

  /* 付费墙遮罩 */
  .paywall { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.55);
    display:flex; align-items:center; justify-content:center; }
  .paywall .pw-card { width:86%; max-width:380px; background:#fff; border-radius:20px; padding:28px 22px;
    text-align:center; }
  .paywall .pw-ico { font-size:44px; }
  .paywall .pw-t { font-size:18px; font-weight:600; color:#2b2118; margin-top:12px; }
  .paywall .pw-d { font-size:13px; color:#8a7a5f; margin-top:8px; line-height:1.6; }
  .paywall .pw-btn { width:100%; height:46px; border-radius:23px; border:none; background:#b0612c;
    color:#fff; font-size:15px; font-weight:600; cursor:pointer; margin-top:20px; }
  .paywall .pw-close { font-size:13px; color:#a0937d; margin-top:14px; cursor:pointer; }

  /* ===== 诗歌查询 ===== */
  .tags { display:flex; gap:8px; padding:14px 16px 6px; overflow-x:auto; scrollbar-width:none; }
  .tags::-webkit-scrollbar{display:none}
  .tag { flex-shrink:0; padding:6px 16px; border-radius:16px; background:#fff; border:1px solid #ece5d8;
    font-size:13px; color:#6d5c40; cursor:pointer; }
  .tag.on { background:#4a3220; color:#f5efe6; border-color:#4a3220; }
  .sec-title { font-size:15px; font-weight:600; color:#2b2118; padding:16px 18px 10px; }
  .bcards { display:flex; gap:10px; padding:0 16px; }
  .bcard { flex:1; height:84px; border-radius:12px; overflow:hidden; position:relative; cursor:pointer; background:#ddd; }
  .bcard img { width:100%; height:100%; object-fit:cover; }
  .bcard .bt { position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:15px; font-weight:600; background:rgba(0,0,0,.32); font-family:"STKaiti","KaiTi",serif; letter-spacing:2px; }
  .poem-list { padding:4px 16px 30px; }
  .poem-item { background:#fff; border:1px solid #ece5d8; border-radius:12px; padding:14px 16px;
    margin-top:10px; cursor:pointer; display:flex; justify-content:space-between; align-items:center;
    transition:transform .15s; }
  .poem-item:active { transform:scale(.97); }
  .poem-item .pn { font-size:15px; font-weight:600; color:#2b2118; font-family:"STKaiti","KaiTi",serif; }
  .poem-item .pa { font-size:12px; color:#a0937d; margin-top:2px; }
  .poem-item .go { color:#c9bda6; font-size:18px; }

  /* ===== 诗歌详情 ===== */
  .detail-hero { position:relative; height:200px; overflow:hidden; background:#4a3220; }
  .detail-hero img { width:100%; height:100%; object-fit:cover; opacity:.85; }
  .detail-hero .mask { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(43,33,24,.75)); }
  .detail-hero .tt { position:absolute; bottom:16px; left:20px; right:20px; color:#fff; }
  .detail-hero .tt .nm { font-size:30px; font-family:"STKaiti","KaiTi",serif; letter-spacing:6px; }
  .detail-hero .tt .au { font-size:13px; opacity:.9; margin-top:4px; }
  .detail-hero .back2 { position:absolute; top:12px; left:14px; width:34px;height:34px; border-radius:50%;
    background:rgba(0,0,0,.35); color:#fff; display:flex;align-items:center;justify-content:center; cursor:pointer; z-index:2; }
  .dsec { background:#fff; margin:12px 14px; border-radius:14px; padding:18px; border:1px solid #ece5d8; }
  .dsec .ds-t { font-size:14px; font-weight:600; color:#8a5a28; margin-bottom:12px; display:flex; align-items:center; gap:6px; }
  .dsec .ds-t::before { content:""; width:4px; height:14px; background:#b0612c; border-radius:2px; }
  .verse { text-align:center; font-family:"STKaiti","KaiTi",serif; padding:8px 0; }
  .vline { margin:10px 0; display:flex; justify-content:center; gap:2px; flex-wrap:wrap; }
  .vch { display:inline-flex; flex-direction:column; align-items:center; }
  .vch .py { font-size:10px; color:#b09a72; font-family:Georgia,serif; height:14px; }
  .vch .hz { font-size:24px; color:#2b2118; }
  .vch.punct .hz { color:#c9bda6; }
  .vch.noted .hz { color:#b0612c; border-bottom:2px dotted #b0612c; cursor:pointer; }
  .vch.noted.active .hz { background:#fdf0e8; border-radius:4px; }
  .playbar { display:flex; align-items:center; gap:12px; background:#faf7f0; border-radius:12px; padding:12px 14px; margin-top:10px; }
  .playbtn { width:42px; height:42px; border-radius:50%; background:#b0612c; color:#fff; border:none;
    font-size:16px; cursor:pointer; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
  .playbar .pi { font-size:12px; color:#8a7a5f; }
  .note-pop { background:#fdf8ec; border:1px solid #ecdcb8; border-radius:10px; padding:12px 14px; margin-top:12px;
    font-size:13px; color:#6d5c40; display:none; }
  .note-pop.show { display:block; animation:slidein .2s; }
  .note-pop b { color:#8a5a28; }
  .note-pop .na { margin-left:8px; cursor:pointer; font-size:12px; color:#b0612c; }
  .trans { font-size:14px; color:#4a4033; line-height:2; }
  .apprec { font-size:13.5px; color:#4a4033; line-height:2; white-space:pre-wrap; }
  .podcast { display:flex; gap:12px; }
  .podcast img { width:74px; height:74px; border-radius:10px; object-fit:cover; flex-shrink:0; background:#eee; }
  .podcast .pc-t { font-size:13.5px; font-weight:600; color:#2b2118; line-height:1.5; }
  .podcast .pc-d { font-size:11.5px; color:#a0937d; margin:4px 0 8px; }
  .pc-play { background:#4a3220; color:#f5efe6; border:none; padding:6px 16px; border-radius:14px;
    font-size:12px; cursor:pointer; }

  /* ===== 聊天（古诗文详解） ===== */
  .chat-body { flex:1; overflow-y:auto; padding:16px 14px; background:#f2ede4; scrollbar-width:none; }
  .chat-body::-webkit-scrollbar{display:none}
  .msg { max-width:82%; margin-bottom:14px; display:flex; gap:8px; }
  .msg .avatar { width:34px; height:34px; border-radius:10px; flex-shrink:0; display:flex;
    align-items:center; justify-content:center; font-size:16px; }
  .msg.ai .avatar { background:#4a3220; }
  .msg.me { margin-left:auto; flex-direction:row-reverse; }
  .msg.me .avatar { background:#b0612c; }
  .msg .bubble { padding:11px 14px; border-radius:14px; font-size:14px; line-height:1.8; }
  .msg.ai .bubble { background:#fff; color:#2b2118; border-top-left-radius:4px; }
  .msg.me .bubble { background:#b0612c; color:#fff; border-top-right-radius:4px; }
  .msg .bubble .aigc { display:block; margin-top:8px; font-size:9.5px; color:#c0b39a; border-top:1px dashed #ece5d8; padding-top:6px; }
  .chips { display:flex; gap:8px; flex-wrap:wrap; padding:4px 14px 10px; background:#f2ede4; }
  .chip { font-size:12px; background:#fff; border:1px solid #e0d6c2; color:#8a5a28; padding:7px 13px;
    border-radius:16px; cursor:pointer; }
  .chip:active { background:#fdf0e8; }
  .chat-input { display:flex; gap:10px; padding:10px 14px 16px; background:#f2ede4; }
  .chat-input input { flex:1; border:1px solid #e0d6c2; background:#fff; border-radius:20px;
    padding:10px 16px; font-size:14px; outline:none; }
  .chat-input button { background:#4a3220; color:#f5efe6; border:none; border-radius:20px;
    padding:0 20px; font-size:14px; cursor:pointer; }
  .typing { display:inline-block; width:6px; height:14px; background:#b0612c; vertical-align:-2px;
    animation:blink .7s infinite; }
  @keyframes blink { 50%{opacity:0} }

  /* ===== 打卡中心（列表页，对齐真实 UI） ===== */
  .pk-tabs { display:flex; justify-content:space-around; padding:10px 16px 0; background:#f7f4ef; }
  .pk-tab { font-size:15px; color:#8a7a5f; padding:8px 18px; cursor:pointer; position:relative; }
  .pk-tab.on { color:#2b2118; font-weight:700; }
  .pk-tab.on::after { content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
    width:24px; height:3px; background:#7b68d8; border-radius:2px; }
  .pk-chips { display:flex; gap:8px; padding:12px 16px 4px; }
  .pk-chip { font-size:12px; padding:5px 13px; border-radius:14px; background:#efebf9; color:#7b68d8;
    cursor:pointer; border:1px solid transparent; }
  .pk-chip.off { background:#f0ece2; color:#a0937d; }
  .pk-card { display:flex; gap:12px; background:#fff; margin:10px 14px 0; border-radius:14px;
    padding:14px; border:1px solid #ece5d8; align-items:center; }
  .pk-icon { width:64px; height:64px; border-radius:12px; flex-shrink:0; position:relative;
    overflow:hidden; background:linear-gradient(135deg,#f5e6c8,#e8c98f); display:flex;
    align-items:center; justify-content:center; }
  .pk-icon img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
  .pk-icon .fb { font-size:11px; color:#8a5a28; text-align:center; line-height:1.35; padding:4px;
    font-family:"STKaiti","KaiTi",serif; font-weight:600; }
  .pk-badge { position:absolute; top:0; left:0; z-index:2; background:#3f9e4d; color:#fff;
    font-size:9px; padding:2px 6px; border-radius:8px 0 8px 0; }
  .pk-info { flex:1; min-width:0; }
  .pk-info .pi-t { font-size:14.5px; font-weight:600; color:#2b2118; line-height:1.4; }
  .pk-info .pi-s { font-size:11.5px; color:#a0937d; margin-top:3px; overflow:hidden;
    text-overflow:ellipsis; white-space:nowrap; }
  .pk-right { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex-shrink:0; }
  .pk-btn { font-size:12.5px; padding:7px 15px; border-radius:9px; cursor:pointer; border:none; }
  .pk-btn.enter { background:#7b68d8; color:#fff; }
  .pk-btn.enroll { background:#fff; color:#7b68d8; border:1.5px solid #7b68d8; }
  .pk-users { font-size:10.5px; color:#b5a582; }

  /* ===== 打卡项目详情（任务树） ===== */
  .pk-cover { margin:14px; border-radius:16px; overflow:hidden; position:relative; height:130px;
    background:#4a3220; cursor:pointer; }
  .pk-cover img { width:100%; height:100%; object-fit:cover; opacity:.8; }
  .pk-cover .pk-m { position:absolute; inset:0; background:linear-gradient(90deg,rgba(43,33,24,.85),rgba(43,33,24,.25));
    display:flex; flex-direction:column; justify-content:center; padding:0 20px; }
  .pk-cover .pk-t { color:#fff; font-size:18px; font-weight:600; font-family:"STKaiti","KaiTi",serif; }
  .pk-cover .pk-s { color:#d8c9b0; font-size:12px; margin-top:4px; }
  .pk-cover .pk-u { color:#c9bda6; font-size:11px; margin-top:8px; }
  .pk-prog { margin:0 14px; background:#fff; border-radius:12px; padding:14px 16px; border:1px solid #ece5d8;
    display:flex; align-items:center; gap:14px; }
  .ring { width:56px; height:56px; flex-shrink:0; }
  .ring circle { fill:none; stroke-width:5; }
  .ring .bgc { stroke:#f0e8da; }
  .ring .fgc { stroke:#b0612c; stroke-linecap:round; transform:rotate(-90deg); transform-origin:center; transition:stroke-dashoffset .5s; }
  .pk-prog .pp-t { font-size:13px; color:#6d5c40; }
  .pk-prog .pp-n { font-size:20px; font-weight:700; color:#2b2118; }
  .task { margin:12px 14px 0; background:#fff; border-radius:14px; border:1px solid #ece5d8; overflow:hidden; }
  .task .tk-h { padding:14px 16px; display:flex; justify-content:space-between; align-items:center; cursor:pointer; }
  .task .tk-n { font-size:14.5px; font-weight:600; color:#2b2118; font-family:"STKaiti","KaiTi",serif; }
  .task .tk-c { font-size:11px; color:#a0937d; }
  .task .subs { border-top:1px dashed #f0e8da; display:none; padding:8px 12px 12px; }
  .task.open .subs { display:block; }
  .sub { display:flex; align-items:center; gap:10px; padding:9px 6px; border-bottom:1px solid #faf7f0; }
  .sub:last-child { border-bottom:none; }
  .sub .si { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:14px; }
  .sub .sn { flex:1; font-size:13.5px; color:#4a4033; }
  .sub .st-btn { font-size:11.5px; padding:5px 14px; border-radius:12px; border:none; cursor:pointer;
    background:#f5a623; color:#fff; }
  .sub.done .st-btn { background:#e3f0e0; color:#4a7c3f; }
  .sub.done .sn { color:#a0937d; text-decoration:line-through; }

  /* ===== 子任务学习页（背诵/理解题） ===== */
  .study-head { text-align:center; padding:22px 18px 8px; }
  .study-head .sn2 { font-size:24px; font-family:"STKaiti","KaiTi",serif; color:#2b2118; letter-spacing:3px; }
  .study-head .sa { font-size:12.5px; color:#a0937d; margin-top:6px; }
  /* ===== 背诵模式（复刻原版 miniapp） ===== */
  .mini-head { display:flex; align-items:center; justify-content:space-between; padding:12px 14px;
    background:#fff; border-bottom:1px solid #f2f2f4; flex-shrink:0; position:relative; }
  .mini-head .mh-back { font-size:14px; color:#333; cursor:pointer; display:flex; align-items:center; gap:3px; }
  .mini-head .mh-title { font-size:16.5px; font-weight:600; color:#1a1a1a; position:absolute;
    left:50%; transform:translateX(-50%); white-space:nowrap; max-width:52%; overflow:hidden; text-overflow:ellipsis; }
  .rm-footer { flex-shrink:0; background:#fff; padding:6px 0 22px; position:relative; }
  .capsule { display:flex; align-items:center; border:1px solid #e6e6ea; border-radius:16px;
    padding:4px 9px; font-size:11px; color:#333; background:#fff; }
  .capsule span { cursor:pointer; display:flex; align-items:center; }
  .capsule span+span { border-left:1px solid #efeff2; padding-left:7px; margin-left:7px; }
  .white-page { background:#fff !important; }
  .rm-label { font-size:15px; color:#1a1a1a; padding:22px 18px 14px; font-weight:500; }
  .rm-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:0 18px; }
  .rm-mode { height:54px; border:1.5px solid #e9e9ee; border-radius:10px; display:flex; align-items:center;
    justify-content:center; font-size:14.5px; color:#333; cursor:pointer; background:#fff; transition:all .15s; }
  .rm-mode.on { border-color:#6a58e8; background:#f4f2ff; color:#6a58e8; font-weight:600; }
  .rm-preview-t { display:flex; align-items:baseline; gap:10px; padding:22px 18px 12px; }
  .rm-preview-t .l1 { font-size:15px; color:#1a1a1a; font-weight:500; }
  .rm-preview-t .l2 { font-size:12px; color:#9a9aa2; }
  .rm-preview { margin:0 18px; background:#f6f6f8; border-radius:10px; padding:30px 14px; min-height:120px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
  .rm-preview .pv-line { font-size:17px; color:#55555f; letter-spacing:2px; font-family:"STKaiti","KaiTi",serif; }
  .rm-preview .pv-line .hd { color:#b6b6bf; }
  .rm-def { display:flex; align-items:center; gap:8px; padding:18px 18px; font-size:13.5px; color:#4a4a52; }
  .rm-def input { width:16px; height:16px; accent-color:#6a58e8; cursor:pointer; }
  .rm-start { margin:8px 18px 0; height:52px; border-radius:26px; border:none; width:calc(100% - 36px);
    background:linear-gradient(90deg,#7f6ef2,#5b4ae2); color:#fff; font-size:16.5px; font-weight:600;
    cursor:pointer; box-shadow:0 8px 20px rgba(106,88,232,.35); }
  .rm-start:active { transform:scale(.98); }
  /* ========== 古诗文背诵/默写 ========== */
  .bm-search { margin:14px 16px; display:flex; align-items:center; background:#fff; border:1px solid #ececf0;
    border-radius:10px; padding:12px 14px; gap:10px; }
  .bm-search input { flex:1; border:none; outline:none; font-size:14px; color:#333; background:transparent; }
  .bm-search input::placeholder { color:#b9b9c0; }
  .bm-search .si { color:#333; font-size:16px; cursor:pointer; }
  .bm-pills { display:flex; flex-wrap:wrap; gap:14px 12px; padding:16px 20px 30px; justify-content:center; }
  .bm-pill { border:1.5px solid; border-radius:18px; padding:7px 16px; font-size:13.5px; cursor:pointer;
    background:#fff; white-space:nowrap; transition:transform .12s; }
  .bm-pill:active { transform:scale(.95); }
  .bm-hist-bar { position:absolute; left:0; right:0; bottom:0; background:#fff; padding:17px 0 24px;
    text-align:center; font-size:15.5px; font-weight:600; color:#1a1a1a; cursor:pointer; border-top:1px solid #f2f2f4; }
  .bm-poem-body { display:flex; flex-direction:column; align-items:center; padding-top:26px; }
  .bm-p-name { font-size:24px; font-weight:700; color:#1a1a1a; }
  .bm-p-author { font-size:13.5px; color:#9a9aa2; margin:10px 0 26px; }
  .bm-p-lines { font-size:19px; color:#2b2b2b; line-height:2.4; letter-spacing:2px; text-align:center;
    font-family:"STKaiti","KaiTi",serif; }
  .bm-btns { position:absolute; left:0; right:0; bottom:0; display:flex; gap:14px; padding:14px 16px 24px;
    background:linear-gradient(transparent,#fff 35%); }
  .bm-btn { flex:1; height:48px; border-radius:24px; display:flex; align-items:center; justify-content:center;
    gap:7px; font-size:15px; cursor:pointer; }
  .bm-btn.green { background:#22c55e; color:#fff; font-weight:600; }
  .bm-btn.green:active { transform:scale(.97); }
  .bm-btn.plain { background:#fff; border:1px solid #e5e5ea; color:#3a3a40; }
  .bm-btn.plain.playing { color:#22c55e; border-color:#22c55e; }
  .bm-h-item { display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid #f4f4f6; }
  .bm-h-badge { font-size:11px; border-radius:4px; padding:2px 7px; flex-shrink:0; }
  .bm-h-badge.recite { background:#f4f2ff; color:#6a58e8; }
  .bm-h-badge.dictation { background:#e8f8ee; color:#1e9e50; }
  /* ========== 熟背助手（文言实词智能背诵） ========== */
  .ra-top { display:flex; justify-content:flex-end; gap:8px; padding:8px 16px 0; }
  .ra-top button { display:flex; align-items:center; justify-content:center; border:none; background:#fff; border-radius:90px; padding:6px 12px; font-size:16px; color:#262626; cursor:pointer; white-space:nowrap; box-shadow:0 1px 4px rgba(0,0,0,.04); }
  .ra-top button img { width:16px; height:16px; margin-right:4px; }
  #raCards { display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding:44px 40px 0; box-sizing:border-box; }
  #raCards::-webkit-scrollbar { display:none; }
  .ra-card { flex:0 0 calc(100% - 32px); scroll-snap-align:center; margin:0 16px; border-radius:20px; padding:80px 16px 16px; position:relative; box-sizing:border-box; transition:box-shadow .3s; }
  .ra-card.on { box-shadow:0 20px 20px rgba(0,0,0,.15); }
  .ra-cover { display:flex; justify-content:center; margin:-120px 0 12px; }
  .ra-cover img { width:120px; height:120px; border-radius:8px; object-fit:cover; display:block; box-shadow:0 8px 12px rgba(0,0,0,.4); cursor:pointer; background:#f2f2f5; }
  .ra-info { background:#fff; border-radius:12px; padding:12px; margin-bottom:10px; }
  .ra-info-h { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
  .ra-info-t { flex:1; display:flex; align-items:center; min-height:50px; font-size:18px; font-weight:600; color:#262626; line-height:1.4; }
  .ra-info-t span { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .ra-set { display:flex; align-items:center; border:none; background:none; padding:0 0 0 12px; color:#6e6e6e; font-size:14px; cursor:pointer; flex-shrink:0; white-space:nowrap; }
  .ra-bar { height:8px; border-radius:8px; background:#e6e6e6; position:relative; margin-bottom:10px; overflow:hidden; }
  .ra-bar i { position:absolute; height:100%; border-radius:8px; background:#FFD438; transition:width .3s; }
  .ra-stats { display:flex; justify-content:space-between; align-items:center; color:gray; font-size:14px; }
  .ra-today { background:#fff; border-radius:12px; padding:12px; }
  .ra-today-h { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
  .ra-today-t { font-size:18px; font-weight:600; color:#262626; }
  .ra-rec { display:inline-flex; align-items:center; gap:2px; border:none; background:none; padding:0; color:#6e6e6e; font-size:14px; cursor:pointer; white-space:nowrap; }
  .ra-today-stats { display:flex; justify-content:space-evenly; margin-bottom:16px; height:58px; }
  .ra-ts-item { text-align:center; }
  .ra-ts-v { font-size:32px; font-weight:700; color:#262626; line-height:1.2; }
  .ra-ts-v span { font-size:18px; font-weight:400; color:#8c8c8c; }
  .ra-ts-l { color:#6e6e6e; margin-top:2px; font-size:16px; }
  .ra-today-btns { display:flex; gap:12px; }
  .ra-today-btns button { flex:1; border-radius:8px; font-size:16px; font-weight:600; padding:10px 0; cursor:pointer; text-align:center; }
  .ra-b-report { border:1.5px solid #5856D6; background:#fff; color:#5856D6; }
  .ra-b-learn { border:none; background:#5856D6; color:#fff; }
  .ra-b-learn.done { opacity:1; }
  .ra-dots { display:flex; justify-content:center; margin:0 0 30px; }
  .ra-dots i { height:6px; width:6px; border-radius:90px; background:rgba(88,86,214,.2); cursor:pointer; }
  .ra-dots i:not(:last-child) { margin-right:8px; }
  .ra-dots i.on { width:12px; background:#5856D6; }
  .ra-curve { display:flex; align-items:center; justify-content:center; padding:0 0 24px; background:none; color:#6e6e6e; width:100%; font-size:14px; cursor:pointer; }
  /* ---- 遗忘曲线（对齐原版 _1mh71_） ---- */
  .cv-page { padding:20px; flex:1; overflow-y:auto; }
  .cv-section { padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid #f0f0f0; }
  .cv-section:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }
  .cv-section h2 { font-size:18px; font-weight:600; color:#262626; margin-bottom:12px; }
  .cv-section p { font-size:15px; color:#262626; line-height:1.8; margin-bottom:8px; }
  .cv-section p:last-child { margin-bottom:0; }
  /* ---- 背诵报告 ---- */
  .rr-page { padding:16px; }
  .rr-block { border-radius:12px; background:#fff; padding:20px; margin-bottom:20px; }
  .rr-title { font-size:20px; font-weight:600; color:#262626; text-align:center; margin-bottom:20px; }
  .rr-main { display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
  .rr-main-item { max-width:100px; padding:0 18px; text-align:center; }
  .rr-main-item .v { font-size:24px; font-weight:600; }
  .rr-main-item .l { color:#7f7f7f; font-size:14px; }
  .rr-divider { width:1px; height:42px; background:#f0f0f0; }
  .rr-prog { margin-bottom:20px; }
  .rr-bar { height:7px; width:100%; background:#ececec; border-radius:90px; margin-bottom:8px; position:relative; }
  .rr-bar .fin { height:100%; background:#34c759; border-radius:inherit; }
  .rr-bar img { position:absolute; width:40px; height:40px; bottom:0; transform:translateX(-50%); }
  .rr-desc { display:flex; align-items:center; justify-content:space-between; width:100%; }
  .rr-desc .lbl { font-size:12px; color:gray; }
  .rr-desc .val { font-size:24px; font-weight:600; }
  .rr-desc .pct { font-size:12px; font-weight:400; }
  .rr-done .val { color:#34c759; }
  .rr-all { text-align:right; }
  .rr-all .lbl { text-align:right; }
  .rr-quote { background:#f5f6f6; padding:12px 20px; border-radius:8px; }
  .rr-quote .t { font-size:16px; line-height:1.5; }
  .rr-quote .t img { margin-right:4px; position:relative; top:-4px; vertical-align:middle; }
  .rr-quote .a { text-align:right; font-size:14px; color:#262626; }
  .rr-tabs { display:flex; gap:28px; margin-bottom:2px; overflow-x:auto; scrollbar-width:none; }
  .rr-tabs::-webkit-scrollbar { display:none; }
  .rr-tab { font-size:14px; color:gray; padding:12px 0; cursor:pointer; white-space:nowrap; }
  .rr-tab.on { color:#5856D6; font-weight:600; border-bottom:1px solid #5856D6; }
  .rr-table { width:100%; border-collapse:collapse; font-size:14px; }
  .rr-table th { text-align:left; font-weight:600; }
  .rr-table td, .rr-table th { border-bottom:1px solid #e6e6e6; line-height:20px; padding:8px 5px; }
  .rr-table.fixed { table-layout:fixed; }
  .rr-empty { color:#8c8c8c; font-size:14px; padding:18px 5px; }
  /* ---- 学习记录 ---- */
  .rl-date { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid #f0f0f0; background:#fff; }
  .rl-nav { border:none; background:none; font-size:16px; color:#262626; cursor:pointer; padding:4px 0; }
  .rl-nav[disabled] { color:#c8c8c8; cursor:default; }
  .rl-cur { display:flex; align-items:center; gap:4px; font-size:16px; font-weight:600; color:#262626; cursor:pointer; }
  .rl-bar { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:#f5f6f6; }
  .rl-count { font-size:14px; color:#6e6e6e; }
  .rl-seg { display:flex; background:#e9e9eb; border-radius:8px; padding:2px; }
  .rl-seg button { border:none; background:none; font-size:14px; color:#262626; padding:5px 14px; border-radius:6px; cursor:pointer; }
  .rl-seg button.on { background:#fff; font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,.08); }
  .rl-item { display:flex; align-items:center; padding:16px; border-bottom:1px solid #f0f0f0; background:#fff; cursor:pointer; }
  .rl-name { flex:1; font-size:17px; color:#262626; }
  .rl-tag { font-size:12px; color:#fff; border-radius:4px; padding:2px 6px; margin-left:8px; }
  .rl-arrow { color:#c8c8c8; font-size:18px; }
  /* 添加背诵包 */
  .rp-tabs { display:flex; gap:24px; padding:8px 18px 0; border-bottom:1px solid #f2f2f4; }
  .rp-tab { font-size:15px; color:#6a6a72; padding:8px 0 10px; cursor:pointer; }
  .rp-tab.on { color:#1a1a1a; font-weight:600; border-bottom:2px solid #6a58e8; }
  .rp-item { display:flex; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid #f6f6f8; }
  .rp-item img { width:46px; height:46px; border-radius:10px; object-fit:cover; }
  .rp-item .nm { font-size:14px; color:#1a1a1a; font-weight:500; }
  .rp-item .ct { font-size:11.5px; color:#9a9aa2; margin-top:3px; }
  .rp-add { margin-left:auto; border:none; border-radius:16px; padding:7px 18px; font-size:13px; cursor:pointer; background:#6a58e8; color:#fff; }
  .rp-add.added { background:#f0f0f4; color:#9a9aa2; }
  /* ---- 背诵计划设置（对齐原版 recite-plan-setting-page / _173px_） ---- */
  #pg-rpset { background:#f5f5f5; }
  .ps-head { display:flex; gap:12px; padding:12px 16px; background:#fff; flex-shrink:0; }
  .ps-icon { width:80px; height:80px; border-radius:8px; object-fit:cover; flex-shrink:0; background:#f2f2f4; }
  .ps-hinfo { flex:1; min-width:0; }
  .ps-htop { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:8px; }
  .ps-name { font-size:16px; font-weight:600; color:#262626; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1; }
  .ps-clist { background:none; border:1px solid #dcdcdc; border-radius:90px; padding:4px 10px; color:#262626; white-space:nowrap; display:flex; align-items:center; gap:2px; flex-shrink:0; margin-left:8px; font-size:14px; cursor:pointer; font-family:inherit; }
  .ps-clist svg { width:14px; height:14px; }
  .ps-bar { height:8px; border-radius:8px; background:#e6e6e6; margin-bottom:8px; position:relative; overflow:hidden; }
  .ps-bar i, .ps-bar b { position:absolute; left:0; top:0; height:100%; border-radius:8px; }
  .ps-bar i { background:#ffed99; }
  .ps-bar b { background:#ffd438; }
  .ps-stats { display:flex; gap:12px; }
  .ps-stats span { display:flex; align-items:center; gap:4px; color:#6e6e6e; font-size:12.5px; }
  .ps-stats i { width:8px; height:8px; border-radius:50%; display:inline-block; }
  .ps-main { padding:16px; flex:1; overflow-y:auto; }
  .ps-main h2 { font-size:18px; font-weight:600; color:#262626; margin-bottom:12px; }
  .ps-list { border-radius:8px; background:#fff; overflow:hidden; box-shadow:0 2px 4px rgba(0,0,0,.05); }
  .ps-row { width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 16px; background:#fff; border:none; cursor:pointer; font-family:inherit; }
  .ps-row .lb { font-size:16px; color:#262626; }
  .ps-row .vl { display:flex; align-items:center; gap:4px; font-size:14px; color:#999; }
  .ps-row .vl svg { width:14px; height:14px; }
  .ps-div { height:1px; background:#f0f0f0; margin:0 16px; }
  .ps-foot { padding:16px 32px 24px; display:flex; justify-content:center; background:#fff; box-shadow:0 -2px 4px rgba(0,0,0,.05); flex-shrink:0; }
  .ps-foot button { padding:10px 40px; border-radius:90px; font-size:16px; font-weight:600; border:1.5px solid #5856d6; background:#5856d6; color:#fff; cursor:pointer; font-family:inherit; }
  .ps-box { padding:16px; border-radius:12px; background:#fff; margin-bottom:20px; }
  .ps-box.row { display:flex; justify-content:space-between; }
  .ps-item { flex:1; min-width:0; }
  .ps-item .lb { color:#262626; font-weight:600; font-size:16px; margin-bottom:8px; }
  .ps-select { display:flex; align-items:center; justify-content:space-between; border:1px solid #d9d9d9; border-radius:6px; padding:0 11px; height:34px; font-size:14px; color:#262626; cursor:pointer; }
  .ps-select .u { color:#bfbfbf; font-size:12px; }
  .ps-divv { width:1px; background:#e8e8e8; margin:0 16px; }
  .ps-pbar { display:flex; margin-bottom:12px; }
  .ps-pbar > div { text-align:center; flex:1; min-width:46px; }
  .ps-pbar .lb { color:gray; font-size:12.5px; margin-bottom:2px; }
  .ps-pbar .bar { height:32px; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:14px; background:#dcdcdc; border-radius:6px; color:#262626; }
  /* ---- 计划设置弹窗（对齐原版 ant-modal 320px） ---- */
  .md-mask { position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:9600; display:none; align-items:flex-start; justify-content:center; }
  .md-mask.show { display:flex; }
  .md-card { width:320px; max-width:calc(100% - 40px); background:#fff; border-radius:16px; padding:20px; margin-top:14vh; box-shadow:0 6px 24px rgba(0,0,0,.16); animation:mdIn .18s ease-out; }
  @keyframes mdIn { from{transform:scale(.9);opacity:0} to{transform:scale(1);opacity:1} }
  .md-card h3 { text-align:center; font-size:18px; font-weight:600; color:#262626; }
  .md-body { padding-top:20px; }
  .md-box { padding:16px; border-radius:12px; background:#f5f5ff; text-align:center; }
  .md-num { width:120px; height:40px; text-align:center; font-size:18px; font-weight:600; color:#262626; border:1px solid #d9d9d9; border-radius:6px; outline:none; font-family:inherit; }
  .md-est { margin-top:12px; font-size:16px; color:#262626; }
  .md-foot { display:flex; gap:12px; margin-top:20px; }
  .md-foot button { flex:1; height:40px; border-radius:8px; font-size:16px; font-weight:600; cursor:pointer; font-family:inherit; }
  .md-cancel { color:#262626; border:1px solid #bfbfbf; background:#fff; }
  .md-ok { color:#fff; border:1.5px solid #5856d6; background:#5856d6; }
  .md-opts { display:flex; flex-direction:column; gap:16px; padding:16px; border-radius:12px; background:#f5f5ff; }
  .md-opt { display:flex; align-items:center; gap:8px; font-size:16px; color:#262626; cursor:pointer; user-select:none; }
  .md-radio { width:16px; height:16px; border-radius:50%; border:1px solid #bfbfbf; background:#fff; flex-shrink:0; position:relative; box-sizing:border-box; }
  .md-opt.on .md-radio { border-color:#5856d6; }
  .md-opt.on .md-radio:after { content:''; position:absolute; inset:3px; border-radius:50%; background:#5856d6; }
  .md-mul { width:64px; height:32px; text-align:center; font-weight:600; font-size:14px; color:#262626; border:1px solid #d9d9d9; border-radius:6px; outline:none; font-family:inherit; }
  .md-mul:disabled { background:#f5f5f5; color:#bfbfbf; }
  /* ---- 内容清单（对齐原版 pack-content-list-page / _1xdz0_） ---- */
  /* 注意：不能写 #pg-rcontent{display:flex} —— ID 优先级会覆盖 .page{display:none}，
     导致该页从启动起就盖在最上层（白屏 bug）；flex-direction 已由 .page 提供 */
  #pg-rcontent.show { display:flex; flex-direction:column; }
  .cl-tool { display:flex; align-items:center; padding:12px 16px; gap:12px; flex-shrink:0; background:#fff; }
  .cl-count { color:gray; margin-right:auto; font-size:13px; }
  .cl-seg { display:flex; background:#e6e6e6; border-radius:6px; padding:2px; }
  .cl-seg div { padding:3px 12px; font-size:13px; color:#7f7f7f; border-radius:4px; cursor:pointer; }
  .cl-seg div.on { background:#fff; color:#262626; font-weight:600; }
  .cl-body { flex:1; overflow-y:auto; padding:0 16px 60px; background:#fff; }
  .cl-group { background:#dcdcdc; color:#262626; font-size:16px; font-weight:600; padding:3px 16px; position:sticky; top:0; margin:0 -16px; }
  .cl-item { padding:8px 12px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #dcdcdc; cursor:pointer; }
  .cl-item .tx { flex:1; font-size:18px; font-weight:600; color:#262626; display:flex; align-items:center; gap:8px; }
  .cl-item .tag { border-radius:3px; padding:0 5px; color:#fff; font-size:12px; flex-shrink:0; }
  .cl-item svg { width:16px; height:16px; flex-shrink:0; margin-left:8px; }
  /* 我的背诵包页（对齐原版 _1mtm5 块） */
  .rm-card { display:flex; gap:12px; padding:16px; margin-bottom:12px; border-radius:12px; background:#fff; }
  .rm-card img.rm-icon { width:80px; height:80px; border-radius:8px; object-fit:cover; flex-shrink:0; }
  .rm-info { flex:1; min-width:0; }
  .rm-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
  .rm-title { font-size:16px; font-weight:600; color:#262626; flex:1; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .rm-del { border:1px solid #dcdcdc; border-radius:90px; padding:4px 12px; background:#fff; color:#d43030; cursor:pointer; white-space:nowrap; flex-shrink:0; margin-left:8px; font-size:13px; }
  .rm-prog { height:8px; border-radius:8px; background:#e6e6e6; margin-bottom:8px; position:relative; overflow:hidden; }
  .rm-prog .learned { position:absolute; left:0; top:0; height:100%; background:#ffed99; border-radius:8px; }
  .rm-prog .mastered { position:absolute; left:0; top:0; height:100%; background:#ffd438; border-radius:8px; }
  .rm-stats { display:flex; gap:12px; }
  .rm-stats .st { display:flex; align-items:center; gap:4px; color:#6e6e6e; font-size:13px; }
  .rm-stats .dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
  .rm-add { position:absolute; left:50%; bottom:20px; transform:translateX(-50%); width:200px; padding:12px 0; border:none; border-radius:90px; background:#5856d6; color:#fff; font-size:16px; font-weight:600; cursor:pointer; box-shadow:0 2px 4px rgba(0,0,0,.3); }
  /* 英文词卡 / wiki 卡学习页 */
  .rs-en-word { font-size:34px; font-weight:700; color:#1a1a1a; }
  .rs-ipa { display:flex; gap:10px; margin:10px 0 4px; flex-wrap:wrap; }
  .rs-ipa .ipa-chip { display:flex; align-items:center; gap:6px; background:#f4f4f8; border-radius:90px; padding:5px 12px; font-size:13px; color:#444; cursor:pointer; }
  .rs-ipa .ipa-chip b { font-size:12px; color:#8a8a92; font-weight:600; }
  .rs-mean-line { font-size:15px; color:#333; line-height:1.6; }
  .rs-ex { margin-top:8px; padding:10px 12px; background:#f8f8fb; border-radius:10px; font-size:13.5px; color:#444; line-height:1.6; }
  .rs-ex .tr { color:#8a8a92; margin-top:2px; }
  .rs-wiki-title { font-size:22px; font-weight:700; color:#1a1a1a; }
  .rs-wiki-sub { font-size:13px; color:#8a8a92; margin:4px 0 10px; }
  .rs-wiki-text { font-size:14.5px; color:#333; line-height:1.9; white-space:pre-wrap; }
  #rsMeanings { padding-top:10px; }
  /* 英文词卡学习页 */
  .ren-word-row { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:14px; }
  .ren-word { font-size:34px; font-weight:700; color:#1a1a1a; cursor:pointer; }
  .ren-spk { font-size:17px; color:#6a58e8; cursor:pointer; user-select:none; }
  .ren-spk:active { transform:scale(.9); }
  .ren-ipa em { font-style:normal; color:#8a8a92; font-size:11px; margin-right:2px; }
  .ren-grid { color:#6a58e8; font-size:20px; cursor:pointer; }
  .ren-ipa-row { display:flex; justify-content:center; gap:10px; margin-top:10px; }
  .ren-ipa { background:#f4f4f8; border-radius:90px; padding:6px 14px; font-size:14px; color:#333; cursor:pointer; }
  .ren-blocks { display:flex; justify-content:center; gap:4px; margin-top:14px; }
  .ren-block { background:#fff; border:1px solid #e2e2e8; border-radius:8px; padding:8px 12px; font-size:18px; font-weight:600; color:#333; box-shadow:0 1px 3px rgba(0,0,0,.06); cursor:pointer; user-select:none; }
  .ren-block:active { transform:scale(.94); border-color:#6a58e8; }
  .ren-block.playing { border-color:#6a58e8; box-shadow:0 0 0 3px rgba(106,88,232,.15); }
  .ren-block.vowel { color:#e64340; }
  .ren-chips { display:flex; justify-content:center; gap:4px; margin-top:6px; }
  .ren-chip { background:#f7f7fa; border-radius:6px; padding:3px 8px; font-size:11px; color:#666; cursor:pointer; user-select:none; }
  .ren-chip:active { background:#eceafd; }
  .ren-chip i { font-style:normal; color:#b0b0b8; margin-left:3px; }
  .ren-ex-wrap { margin-top:18px; }
  .ren-ex-tip { font-size:12px; color:#d48806; margin-bottom:6px; }
  .ren-ex { display:flex; align-items:center; background:#fff; border-radius:12px; padding:14px 10px; cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.05); }
  .ren-ex .mid { flex:1; text-align:center; font-size:14.5px; color:#333; line-height:1.6; }
  .ren-ex .mid .tr { color:#8a8a92; font-size:13px; margin-top:4px; }
  .ren-ex .arr { color:#c0c0c8; font-size:22px; padding:0 6px; cursor:pointer; user-select:none; }
  .ren-ex-dots { display:flex; justify-content:center; gap:4px; margin-top:8px; }
  .ren-ex-dots i { width:12px; height:3px; border-radius:2px; background:#e2e2e8; }
  .ren-ex-dots i.on { background:#6a58e8; }
  .ren-bottom-btns { display:flex; gap:14px; }
  .ren-no { flex:1; height:46px; border:none; border-radius:90px; background:#f26d6d; color:#fff; font-size:16px; font-weight:600; cursor:pointer; }
  .ren-yes { flex:1; height:46px; border:none; border-radius:90px; background:#34c759; color:#fff; font-size:16px; font-weight:600; cursor:pointer; }
  .ren-word2 { text-align:center; font-size:24px; font-weight:600; color:#1a1a1a; margin:20px 0 2px; }
  .ren-card { background:#fff; border:1px solid #f0f0f4; border-radius:14px; padding:16px 14px 6px; box-shadow:0 2px 12px rgba(0,0,0,.05); margin-top:14px; }
  .ren-opts { margin-top:2px; display:flex; flex-direction:column; gap:10px; }
  .ren-opt { background:#f6f6f8; border:1.5px solid transparent; border-radius:12px; padding:14px 16px; font-size:14.5px; color:#333; cursor:pointer; }
  .ren-opt.right { background:#e8f8ec; border-color:#34c759; color:#1d9e43; font-weight:600; display:flex; justify-content:space-between; }
  .ren-opt.wrong { background:#fdecec; border-color:#f26d6d; color:#d43030; }
  .ren-idk { border:none; border-radius:90px; background:#f59a23; color:#fff; font-size:14.5px; font-weight:600; padding:9px 38px; cursor:pointer; }
  .ren-explain { margin-top:16px; background:#fff; border-radius:12px; padding:14px 16px; box-shadow:0 1px 4px rgba(0,0,0,.05); }
  .ren-explain .ba { font-size:13px; color:#8a8a92; }
  .ren-explain .ba b { color:#34c759; }
  .ren-explain .tx { font-size:13.5px; color:#444; line-height:1.8; margin-top:6px; }
  .ren-next { display:block; margin:0 auto; width:200px; height:44px; border:none; border-radius:90px; background:#6a58e8; color:#fff; font-size:16px; font-weight:600; cursor:pointer; }
  .rs-wiki-text point { color:#c0392b; }
  .rs-wiki-text vpoint { color:#8e44ad; }
  /* 知识点学习页 —— 中文词卡头部/说文/释义（对齐原版 _13z3l_） */
  .rs-head { padding:16px 18px 0; }
  .rs-wrow { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
  .rs-wmain { display:flex; align-items:center; gap:12px; min-width:0; }
  .rs-word { font-family:"Source Han Serif SC","Noto Serif CJK SC","Noto Serif SC",SimSun,serif; font-size:48px; font-weight:600; color:#000; line-height:68px; }
  .rs-audio { width:40px; height:40px; border:none; border-radius:50%; background:#f6f5ff; color:#5856d6; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer; padding:10px; }
  .rs-audio svg { width:20px; height:20px; display:block; }
  .rs-audio:active { transform:scale(.94); }
  .rs-wimg { width:80px; height:80px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .rs-wimg.svg { background:#e6dbcc; }
  .rs-wimg.svg img { width:70px; height:70px; }
  .rs-wimg img { width:100%; height:100%; object-fit:contain; }
  .rs-shuowen { display:inline-flex; align-items:center; gap:6px; margin-bottom:10px; color:gray; line-height:20px; font-size:15px; }
  .rs-shuowen svg { width:15px; height:15px; transform:translateY(.5px); }
  .rs-concept p { font-size:15px; line-height:1.8; color:#262626; margin:0 0 6px; }
  .rs-concept p:last-child { margin-bottom:0; }
  .rs-mlist { display:flex; flex-direction:column; gap:12px; padding:0 18px; }
  .rs-mitem { border:1px solid #dcdcdc; border-radius:8px; background:#fff; overflow:hidden; }
  .rs-mitem.on { border-color:#d1d1ff; }
  .rs-mhead { padding:16px; display:flex; align-items:center; gap:10px; cursor:pointer; }
  .rs-mitem.on .rs-mhead { padding-bottom:4px; }
  .rs-badge { width:28px; height:28px; border:2px solid #bebebe; border-radius:50%; background:#fff; color:#262626; font-size:14px; font-weight:500; line-height:24px; text-align:center; flex-shrink:0; box-sizing:border-box; }
  .rs-pos { border-radius:5px; font-size:14px; font-weight:600; line-height:24px; padding:0 7px; flex-shrink:0; }
  .rs-pos.n { color:#1caf5b; background:#e8faf0; }
  .rs-pos.a { color:#ac4ce6; background:#f9e8ff; }
  .rs-pos.v { color:#007aff; background:#e6f4ff; }
  .rs-pos.d { color:#e02f39; background:#ffebee; }
  .rs-pos.q { color:#f28f00; background:#fff4e2; }
  .rs-pos.x { color:gray; background:#f2f2f2; }
  .rs-mdef { flex:1; min-width:0; color:#262626; font-weight:600; line-height:24px; font-size:16px; word-break:break-word; }
  .rs-mdef em, .rs-mex em { font-weight:500; color:#ff4538; font-style:normal; }
  .rs-arrow { width:28px; height:28px; border-radius:50%; background:#f6f5ff; color:#5856d6; display:flex; align-items:center; justify-content:center; transform:rotate(180deg); transition:transform .2s; flex-shrink:0; }
  .rs-arrow.on { transform:rotate(0deg); }
  .rs-arrow svg { width:14px; height:14px; }
  .rs-mbody { padding:0 18px 18px; }
  .rs-mex { color:#595959; background:#f8f7f5; border-radius:12px; padding:14px 16px; line-height:28px; font-family:SimSun,"Songti SC",STSong,serif; font-size:16px; word-break:break-word; }
  .rs-mex em { font-size:18px; font-weight:500; color:#ff6333; font-style:normal; }
  .rs-mex .ei { padding:12px 0; }
  .rs-mex .ei:first-child { padding-top:0; }
  .rs-mex .ei:last-child { padding-bottom:0; }
  .rs-mex .ei + .ei { border-top:1px solid #e8e6e2; }
  .rs-tabs { display:flex; gap:28px; padding:14px 18px 0; }
  .rs-tabs i { font-style:normal; font-size:14px; color:#8a8a92; padding-bottom:8px; cursor:pointer; border-bottom:2px solid transparent; }
  .rs-tabs i.on { color:#6a58e8; font-weight:600; border-bottom-color:#6a58e8; }
  #rsPane { padding:0 18px; }
  #rsPane .rs-pic { width:100%; border-radius:12px; display:block; margin-top:12px; }
  #rsPane video { width:100%; max-height:58vh; border-radius:12px; background:#000; display:block; margin:12px auto 0; }
  #rsPane .rs-empty { text-align:center; color:#9a9aa2; font-size:13.5px; padding:46px 0; }
  .rs-concept { display:flex; flex-direction:column; margin:0 18px 10px; background:#f5f6f6; border-radius:8px; padding:12px; font-size:15px; line-height:1.8; color:#262626; }
  .rs-concept bold { font-weight:600; color:#262626; }
  .rs-concept small { border-radius:5px; background:#0f5d8d; padding:2px 7px; color:#fff; font-size:12px; font-weight:600; height:20px; line-height:20px; margin-right:5px; display:inline-block; }
  .rs-concept gray { color:#9a9aa2; }
  .rs-concept strong { color:#c0392b; }
  .rs-concept u { text-decoration-color:#e0704a; }
  .rs-sec { margin:14px 18px 0; font-size:14px; font-weight:600; color:#1a1a1a; }
  .rs-py { font-size:40px; font-weight:600; color:#5856d6; margin:0 18px 10px; }
  .rs-def { background:#f6f6f8; border-radius:10px; padding:10px 12px; margin:8px 18px; }
  .rs-def .dt { font-size:13.5px; color:#1a1a1a; }
  .rs-def .pos { display:inline-block; font-size:11px; background:#e8ecf8; color:#4a5fa5; border-radius:4px; padding:1px 6px; margin-right:8px; }
  .rs-def .ex { font-size:12.5px; color:#6a6a72; line-height:1.8; margin-top:6px; }
  .rs-def .ex em { color:#e0704a; font-style:normal; font-weight:600; }
  .rs-bottom { position:absolute; left:0; right:0; bottom:0; display:flex; gap:14px; padding:14px 18px 24px; background:linear-gradient(transparent,#fff 30%); }
  .rs-bottom button { flex:1; height:46px; border-radius:23px; border:none; font-size:15px; cursor:pointer; }
  .rs-bottom .b-known { background:#f0f0f4; color:#4a4a52; }
  .rs-bottom .b-quiz { background:#6a58e8; color:#fff; font-weight:600; }
  /* 测验页 */
  .rq-q { margin:14px 18px 0; }
  .rq-sent { font-size:17px; color:#1a1a1a; line-height:1.8; font-family:"STKaiti","KaiTi",serif; }
  .rq-sent em { color:#e0704a; font-style:normal; font-weight:700; }
  .rq-src { font-size:12px; color:#9a9aa2; margin-top:4px; }
  .rq-stem { font-size:13.5px; color:#6a6a72; margin:14px 18px 8px; }
  .rq-opt { display:block; width:calc(100% - 36px); margin:8px 18px; text-align:left; background:#f6f6f8; border:1.5px solid transparent; border-radius:10px; padding:12px 14px; font-size:14.5px; color:#3a3a40; cursor:pointer; }
  .rq-opt.right { border-color:#22c55e; background:#eefaf2; color:#1e9e50; }
  .rq-opt.wrong { border-color:#ef4444; background:#fef0f0; color:#d03a3a; }
  .rq-explain { margin:10px 18px; font-size:12.5px; color:#8a8a92; background:#fafaf6; border-radius:10px; padding:10px 12px; display:none; line-height:1.7; }
  .rq-explain.show { display:block; }
  .rq-nav { display:flex; justify-content:space-between; align-items:center; padding:10px 18px; }
  .rq-nav button { border:none; background:#f0f0f4; border-radius:18px; padding:8px 20px; font-size:13px; color:#4a4a52; cursor:pointer; }
  .rq-nav button:disabled { opacity:.4; }
  .rq-acts { position:absolute; left:0; right:0; bottom:0; display:flex; gap:14px; padding:14px 18px 24px; background:linear-gradient(transparent,#fff 30%); }
  .rq-acts button { flex:1; height:46px; border-radius:23px; border:none; font-size:15px; cursor:pointer; }
  .rq-acts .b-dk { background:#fff; border:1px solid #e5e5ea; color:#4a4a52; }
  .rq-acts .b-known { background:#22c55e; color:#fff; font-weight:600; }
  /* 报告页（旧版样式已移除，见熟背助手段落） */
  .rm-help { position:absolute; right:14px; bottom:64px; width:36px; height:36px; border-radius:50%;
    background:#2b2b30; color:#fff; display:flex; align-items:center; justify-content:center;
    font-size:16px; cursor:pointer; z-index:5; }
  /* 背诵学习页 */
  .rg-card { margin:14px; background:#fff; border-radius:12px; padding:26px 16px 36px;
    box-shadow:0 2px 12px rgba(0,0,0,.04); }
  .rg-card .rg-t { text-align:center; font-size:19px; font-weight:700; color:#1a1a1a;
    font-family:"STKaiti","KaiTi",serif; letter-spacing:2px; }
  .rg-card .rg-a { text-align:center; font-size:12.5px; color:#9a9aa2; margin-top:8px; }
  .rg-lines { margin-top:26px; display:flex; flex-direction:column; gap:20px; align-items:center; }
  .rg-line { font-size:22px; font-family:"STKaiti","KaiTi",serif; letter-spacing:3px; color:#1a1a1a; }
  .rg-line .blank { color:#c8c8d0; }
  .rg-line .blank.cur { color:#6a58e8; animation:blankpulse 1s infinite; }
  @keyframes blankpulse { 0%,100%{opacity:1} 50%{opacity:.35} }
  .rg-line .filled { color:#3d8a4f; }
  .rg-ctl { display:flex; align-items:center; justify-content:space-between; padding:22px 18px 6px; }
  .rg-ctl .c { font-size:13.5px; color:#6a6a72; cursor:pointer; display:flex; align-items:center; gap:4px; }
  .rg-ctl .mid { font-size:12.5px; color:#b6b6bf; cursor:default; }
  .rg-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:14px 20px 40px; }
  .tile { height:58px; border:2px solid #6fae72; border-radius:8px; background:#fff; display:flex;
    align-items:center; justify-content:center; font-size:24px; font-family:"STKaiti","KaiTi",serif;
    color:#3d8a4f; cursor:pointer; transition:all .15s; user-select:none; }
  .tile:active { transform:scale(.94); }
  .tile.used { border-color:#d8d8de; color:#c8c8d0; background:#fafafc; pointer-events:none; }
  .tile.bad { border-color:#e05252; color:#e05252; background:#fdf0f0; animation:shake .3s; }
  @keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
  .study-bar { margin:18px 16px 30px; display:flex; gap:10px; }
  .study-bar button { flex:1; padding:13px; border-radius:12px; border:none; font-size:14px; cursor:pointer; }
  .study-bar .b1 { background:#f0e8da; color:#8a5a28; }
  .study-bar .b2 { background:#4a3220; color:#f5efe6; }
  .cp-back { font-size:14px; color:#2b2118; cursor:pointer; white-space:nowrap; }
  .cp-bg { padding:2px 18px 0; text-align:center; }
  .cp-bg img { width:100%; border-radius:10px; display:block; }
  .comp-flow { padding:18px 14px 30px; font-family:"STKaiti","KaiTi",serif; font-size:20px;
    line-height:2.3; color:#2b2118; letter-spacing:1px; text-align:center; }
  .comp-flow .cw { }
  .comp-blank { display:inline-block; min-width:34px; text-align:center; border-bottom:2px solid #b0612c;
    color:#b0612c; cursor:pointer; font-family:"STKaiti","KaiTi",serif; }
  .comp-blank.filled { color:#4a7c3f; border-color:#4a7c3f; }
  .comp-blank.cur { background:#fdf0e8; border-radius:4px; }
  .comp-opts { display:flex; gap:12px; justify-content:center; margin:20px 16px; }
  .comp-opts .opt { min-width:100px; }
  .comp-tips { text-align:center; font-size:12px; color:#a0937d; margin-top:4px; }
  .done-banner { margin:16px; background:#eef7ec; border:1px solid #cfe3c8; color:#4a7c3f;
    border-radius:12px; padding:14px; text-align:center; font-size:13.5px; display:none; }
  .done-banner.show { display:block; }

  /* ===== 背诵计划 ===== */
  .rc-plan { margin:14px; background:#fff; border-radius:16px; border:1px solid #ece5d8; padding:18px; position:relative; overflow:hidden; }
  .rc-plan .ribbon { position:absolute; top:0; right:0; width:90px; height:90px; opacity:.14; }
  .rc-head { display:flex; gap:12px; align-items:center; }
  .rc-head img { width:48px; height:48px; border-radius:12px; background:#fdf0f4; }
  .rc-head .rc-t { font-size:15px; font-weight:600; color:#2b2118; line-height:1.4; }
  .rc-head .rc-c { font-size:11.5px; color:#a0937d; margin-top:3px; }
  .rc-stats { display:flex; margin-top:16px; background:#faf7f0; border-radius:12px; padding:12px 0; }
  .rc-stat { flex:1; text-align:center; }
  .rc-stat .n { font-size:19px; font-weight:700; color:#b0612c; }
  .rc-stat .l { font-size:10.5px; color:#a0937d; margin-top:2px; }
  .rc-bar { margin-top:14px; height:8px; background:#f0e8da; border-radius:4px; overflow:hidden; }
  .rc-bar i { display:block; height:100%; background:linear-gradient(90deg,#d88a4a,#b0612c); border-radius:4px; }
  .rc-due { margin-top:10px; font-size:11.5px; color:#a0937d; display:flex; justify-content:space-between; }
  .rc-btn { margin-top:14px; width:100%; background:#4a3220; color:#f5efe6; border:none; padding:12px;
    border-radius:12px; font-size:14px; cursor:pointer; }

  /* ===== 默写测验 ===== */
  .quiz-q { margin:16px 14px; background:#fff; border-radius:16px; padding:22px 18px; border:1px solid #ece5d8; }
  .quiz-q .qq-l { font-size:12px; color:#a0937d; }
  .quiz-q .qq-t { font-size:24px; font-family:"STKaiti","KaiTi",serif; color:#2b2118; text-align:center;
    margin:18px 0; letter-spacing:3px; line-height:2; }
  .quiz-q .qq-t .blank { display:inline-block; min-width:30px; border-bottom:2px solid #b0612c; color:#b0612c; }
  .opts { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .opt { background:#faf7f0; border:1.5px solid #e8dfcd; border-radius:12px; padding:12px; text-align:center;
    font-size:20px; font-family:"STKaiti","KaiTi",serif; color:#4a4033; cursor:pointer; transition:all .15s; }
  .opt:active { transform:scale(.95); }
  .opt.right { background:#e3f0e0; border-color:#4a7c3f; color:#4a7c3f; }
  .opt.wrong { background:#fbe4e0; border-color:#c0392b; color:#c0392b; }
  .quiz-score { text-align:center; padding:30px 20px; }
  .quiz-score .n { font-size:52px; font-weight:700; color:#b0612c; font-family:Georgia,serif; }
  .quiz-score .t { font-size:14px; color:#6d5c40; margin-top:6px; }

  /* ===== 打卡子Tab与计数 ===== */
  .pk-subtabs { display:flex; justify-content:space-around; margin:14px 14px 0; background:#fff;
    border-radius:12px; border:1px solid #ece5d8; padding:4px 0; }
  .pk-subtab { font-size:14px; color:#8a7a5f; padding:8px 20px; cursor:pointer; position:relative; }
  .pk-subtab.on { color:#2b2118; font-weight:700; }
  .pk-subtab.on::after { content:""; position:absolute; bottom:2px; left:50%; transform:translateX(-50%);
    width:20px; height:3px; background:#2b2118; border-radius:2px; }
  .pk-count { font-size:12.5px; color:#8a7a5f; margin:12px 20px 2px; }

  .toast { position:absolute; left:50%; bottom:90px; transform:translateX(-50%); background:rgba(43,33,24,.9);
    color:#f5efe6; font-size:12.5px; padding:9px 18px; border-radius:20px; z-index:99; display:none; white-space:nowrap; }

  /* ===== 古诗文详解首页（复刻原版） ===== */
  .qh-tabs { display:flex; gap:24px; padding:12px 20px 0; border-bottom:1px solid #f2f2f4;
    overflow-x:auto; scrollbar-width:none; flex-shrink:0; }
  .qh-tabs::-webkit-scrollbar{display:none}
  .qh-tab { font-size:14.5px; color:#6a6a72; padding:6px 0 10px; cursor:pointer; position:relative;
    white-space:nowrap; flex-shrink:0; }
  .qh-tab.on { color:#1a1a1a; font-weight:600; }
  .qh-tab.on::after { content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0;
    width:22px; height:3px; border-radius:2px; background:#1a1a1a; }
  .qh-search { margin:14px 18px 4px; border:1.5px solid #59b87f; border-radius:10px; height:46px;
    display:flex; align-items:center; padding:0 14px; background:#fff; }
  .qh-search input { flex:1; border:none; outline:none; font-size:14px; color:#333; background:transparent; }
  .qh-search input::placeholder { color:#b6b6bf; }
  .qh-search .qh-ico { color:#9a9aa2; font-size:16px; }
  .qh-sec { font-size:15px; font-weight:600; color:#1a1a1a; padding:18px 18px 12px; }
  .qh-cards { display:flex; gap:10px; padding:0 18px; }
  .qh-card { flex:1; height:86px; border-radius:12px; padding:12px; cursor:pointer; position:relative;
    overflow:hidden; color:#fff; }
  .qh-card .qt { font-size:14px; font-weight:700; }
  .qh-card .qe { position:absolute; right:8px; bottom:6px; font-size:34px; opacity:.9; }
  .qh-pills { display:flex; flex-wrap:wrap; gap:10px; padding:0 18px 20px; }
  .qh-pill { border:1px solid #e6e6ea; border-radius:18px; padding:7px 16px; font-size:13.5px;
    color:#4a4a52; cursor:pointer; background:#fff; }
  .qh-pill:active { background:#f4f2ff; border-color:#6a58e8; color:#6a58e8; }
  .qh-item { display:flex; justify-content:space-between; align-items:center; padding:13px 18px;
    border-bottom:1px solid #f6f6f8; cursor:pointer; }
  .qh-item .qn { font-size:15px; color:#1a1a1a; font-family:"STKaiti","KaiTi",serif; }
  .qh-item .qa { font-size:11.5px; color:#9a9aa2; margin-top:2px; }
  .qh-item .qg { color:#c8c8d0; font-size:16px; }
  .qh-group-head { width:100%; display:flex; justify-content:space-between; align-items:center; padding:14px 18px 10px;
    border:0; border-bottom:1px solid #f2f2f4; background:transparent; color:#1a1a1a; text-align:left;
    font:600 15px "PingFang SC","Microsoft YaHei",sans-serif; cursor:pointer; }
  .qh-group-head .count { color:#9a9aa2; font-size:11.5px; font-weight:400; margin-left:auto; margin-right:10px; }
  .qh-group-items[hidden] { display:none; }
  .qh-item.unavailable { cursor:default; }
  .qh-item.unavailable .qg { display:none; }

  /* ===== 古诗文详情（复刻原版） ===== */
  .dt-tabs { display:flex; justify-content:space-around; background:#fff; border-bottom:1px solid #f2f2f4; flex-shrink:0; }
  .dt-tab { font-size:14.5px; color:#6a6a72; padding:10px 0; cursor:pointer; position:relative; flex:1; text-align:center; }
  .dt-tab.on { color:#1a1a1a; font-weight:600; }
  .dt-tab.on::after { content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0;
    width:24px; height:3px; border-radius:2px; background:#1a1a1a; }
  .dt-playrow { display:flex; justify-content:space-between; align-items:center; padding:16px 22px 4px; position:relative; z-index:2; }
  .dt-play { width:44px; height:44px; border-radius:50%; border:none; background:#fff; color:#6a58e8;
    font-size:15px; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.10); }
  .dt-py { display:flex; align-items:center; gap:7px; font-size:13px; color:#6a6a72; cursor:pointer; }
  .dt-sw { width:40px; height:22px; border-radius:11px; background:#e0e0e5; position:relative; transition:background .2s; }
  .dt-sw::after { content:""; position:absolute; left:2px; top:2px; width:18px; height:18px; border-radius:50%;
    background:#fff; transition:left .2s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
  .dt-sw.on { background:#59b87f; }
  .dt-sw.on::after { left:20px; }
  .dt-pane { position:relative; z-index:2; padding:0 26px; }
  .dt-name { text-align:center; font-size:26px; font-family:"STKaiti","KaiTi",serif; color:#1a1a1a;
    letter-spacing:4px; margin-top:14px; }
  .dt-src2 { text-align:center; font-size:13px; color:#9a9aa2; margin-top:10px; }
  .dt-text { margin-top:26px; font-family:"STKaiti","KaiTi",serif; font-size:21px; color:#2a2a2e;
    line-height:2.1; letter-spacing:1px; }
  .dt-text .dl { margin-bottom:6px; }
  .dt-text .dc { position:relative; }
  .dt-text .dc .py { display:none; font-size:10px; color:#b6b6bf; font-family:Georgia,serif;
    position:absolute; top:-20px; left:50%; transform:translateX(-50%); white-space:nowrap; }
  .dt-text.show-py .dc .py { display:block; }
  .dt-text.show-py { line-height:2.6; }
  .dt-text .noted { border-bottom:1.5px dotted #8a8a92; cursor:pointer; }
  .dt-text .nbadge { display:inline-flex; width:15px; height:15px; border-radius:50%; background:#1a1a1a;
    color:#fff; font-size:9.5px; align-items:center; justify-content:center; vertical-align:super;
    margin-left:1px; font-family:sans-serif; cursor:pointer; }
  .dt-plain { font-size:15px; color:#4a4a52; line-height:2; padding-top:20px; }
  .dt-bg { position:absolute; left:0; right:0; bottom:0; width:100%; height:250px; object-fit:cover;
    z-index:1; pointer-events:none; -webkit-mask-image:linear-gradient(180deg,transparent,#000 40%);
    mask-image:linear-gradient(180deg,transparent,#000 40%); }
  .dt-foot { display:flex; align-items:center; gap:10px; padding:10px 14px; background:#fff;
    border-top:1px solid #f2f2f4; flex-shrink:0; position:relative; z-index:3; }
  .dt-nav { font-size:13px; color:#6a6a72; cursor:pointer; white-space:nowrap; }
  .dt-nav.dis { color:#c8c8d0; pointer-events:none; }
  .dt-btn-o { flex:1; height:42px; border-radius:21px; border:1.5px solid #6a58e8; background:#fff;
    color:#6a58e8; font-size:14.5px; cursor:pointer; }
  .dt-btn-p { flex:1; height:42px; border-radius:21px; border:none; color:#fff; font-size:14.5px;
    background:linear-gradient(90deg,#7f6ef2,#5b4ae2); cursor:pointer; }
  .dt-pod { margin-top:20px; }
  /* 翻译 Tab：逐句对照 */
  .tl-line { margin-top:26px; text-align:center; font-family:"STKaiti","KaiTi",serif; font-size:21px;
    color:#2a2a2e; letter-spacing:1px; line-height:2.1; position:relative; }
  .tl-w { position:relative; padding:0 1px; }
  .tl-w.c0 { color:#4a7fd4; border-bottom:2px wavy; text-decoration:underline wavy #4a7fd4; text-underline-offset:4px; }
  .tl-w.c1 { color:#d44a4a; text-decoration:underline wavy #d44a4a; text-underline-offset:4px; }
  .tl-w.c2 { color:#3d9e6e; text-decoration:underline wavy #3d9e6e; text-underline-offset:4px; }
  .tl-w.c3 { color:#9a6fc0; text-decoration:underline wavy #9a6fc0; text-underline-offset:4px; }
  .tl-lab { position:absolute; top:-22px; left:50%; transform:translateX(-50%); font-size:11px;
    font-family:sans-serif; white-space:nowrap; letter-spacing:0; }
  .tl-w.c0 .tl-lab { color:#4a7fd4; } .tl-w.c1 .tl-lab { color:#d44a4a; }
  .tl-w.c2 .tl-lab { color:#3d9e6e; } .tl-w.c3 .tl-lab { color:#9a6fc0; }
  .tl-tr { background:#f7f3ec; border-radius:10px; padding:12px 14px; margin:10px 0 4px;
    font-size:14.5px; color:#4a4033; line-height:1.9; display:flex; gap:10px; }
  .tl-tr .tl-tag { color:#d4843a; font-weight:600; flex-shrink:0; }
  /* 播客播放器 */
  .pd-cover { position:relative; border-radius:14px; overflow:hidden; margin-top:14px; }
  .pd-cover img { width:100%; display:block; aspect-ratio:16/9; object-fit:cover; }
  .pd-preview { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    background:rgba(0,0,0,.45); color:#fff; font-size:12px; padding:5px 12px; border-radius:14px; }
  .pd-title { text-align:center; font-size:18px; font-weight:700; color:#1a1a1a; margin-top:18px; }
  .pd-author { text-align:center; font-size:12.5px; color:#9a9aa2; margin-top:6px; }
  .pd-sub { text-align:center; font-size:14.5px; color:#2a2a2e; margin-top:12px; }
  .pd-bar { margin-top:22px; height:3px; background:#ececf0; border-radius:2px; position:relative; cursor:pointer; }
  .pd-bar-in { position:absolute; left:0; top:0; bottom:0; background:#6a58e8; border-radius:2px; width:0%; }
  .pd-knob { position:absolute; top:50%; left:0%; width:13px; height:13px; border-radius:50%;
    background:#fff; border:2.5px solid #6a58e8; transform:translate(-50%,-50%); }
  .pd-timerow { display:flex; justify-content:space-between; align-items:center; margin-top:8px;
    font-size:11.5px; color:#9a9aa2; }
  .pd-speed { color:#4a4a52; cursor:pointer; }
  .pd-ctrl { display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding:0 20px; }
  .pd-pn { font-size:13px; color:#4a4a52; cursor:pointer; display:flex; align-items:center; gap:4px; }
  .pd-pn.dis { color:#c8c8d0; pointer-events:none; }
  .pd-play { width:58px; height:58px; border-radius:50%; border:none; color:#fff; font-size:20px;
    background:linear-gradient(135deg,#7f6ef2,#5b4ae2); cursor:pointer;
    box-shadow:0 6px 16px rgba(106,88,232,.35); }

/* ===== 启动遮罩 ===== */
#boot-splash { position:fixed; inset:0; z-index:9999; background:#f7f4ef;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
#boot-splash .bs-logo { width:72px; height:72px; border-radius:20px;
  background:linear-gradient(135deg,#4a3220,#6d4a2a); display:flex; align-items:center;
  justify-content:center; font-size:34px; }
#boot-splash .bs-txt { font-size:13px; color:#8a7a5f; letter-spacing:1px; }
#boot-splash.hide { display:none; }

/* ==================================================================
   首页新版 UI（爱学 · Nocturne Scholar 青绿体系）
   ================================================================== */
#scr-home { background:#F6F8FB; }
#scr-home .nh-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px 10px; background:#fff; position:sticky; top:0; z-index:30;
  border-bottom:1px solid #e8eef5;
}
.nh-brand { display:flex; align-items:center; gap:10px; }
.nh-ping { position:relative; width:10px; height:10px; display:flex; align-items:center; justify-content:center; }
.nh-dot { width:10px; height:10px; border-radius:50%; background:#10b981; box-shadow:0 0 8px rgba(16,185,129,.5); }
.nh-ring { position:absolute; width:20px; height:20px; border-radius:50%; background:rgba(16,185,129,.2); animation:nh-ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes nh-ping { 75%,100% { transform:scale(2.2); opacity:0; } }
.nh-logo { font-size:18px; font-weight:700; color:#1E293B; letter-spacing:-.5px; }
.nh-badge { font-size:10px; color:#059669; background:#ecfdf5; border:1px solid #a7f3d0;
  padding:2px 8px; border-radius:999px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.nh-actions { display:flex; align-items:center; gap:8px; }
.nh-btn { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#475569; background:#f1f5f9; border:1px solid #e2e8f0; cursor:pointer; transition:all .15s; }
.nh-btn:active { transform:scale(.92); }

.nh-main { padding:16px 16px 100px; }  /* 底部大留白：避开 64px 悬浮 tabbar */

/* 海报轮播 */
.nh-banner { position:relative; height:168px; border-radius:16px; overflow:hidden;
  background:linear-gradient(135deg,#0F766E,#115E59 55%,#042F2E); cursor:pointer;
  box-shadow:0 8px 24px rgba(148,163,184,.18); }
.nh-slide { position:absolute; inset:0; display:flex; opacity:0; transition:opacity .6s ease; }
.nh-slide.active { opacity:1; }
.nh-slide-bg { position:absolute; inset:0; background:radial-gradient(ellipse at top right, rgba(110,231,183,.25), transparent 65%); }
.nh-slide .nh-glow-orb { position:absolute; bottom:-32px; left:-32px; width:144px; height:144px;
  border-radius:50%; background:rgba(52,211,153,.15); filter:blur(24px); }
.nh-slide-txt { position:relative; z-index:10; display:flex; flex-direction:column; justify-content:center;
  max-width:62%; padding:0 20px; }
.nh-chip { display:inline-flex; align-items:center; gap:6px; font-size:10px; color:#d1fae5;
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.2);
  padding:3px 10px; border-radius:999px; width:max-content; margin-bottom:8px; font-weight:600; letter-spacing:1px; }
.nh-chip-ico { font-size:10px; }
.nh-slide-title { font-size:20px; font-weight:700; color:#fff; line-height:1.25; }
.nh-dot-sep { color:#6ee7b7; margin:0 4px; font-weight:300; }
.nh-slide-sub { font-size:12px; color:rgba(209,250,229,.85); margin-top:4px; letter-spacing:.5px; }
.nh-slide-art { position:absolute; right:12px; top:50%; transform:translateY(-50%); z-index:10;
  width:144px; height:144px; display:flex; align-items:center; justify-content:center; }
.nh-glow { position:absolute; width:96px; height:96px; border-radius:50%; background:rgba(52,211,153,.2); filter:blur(20px); animation:nh-pulse 2.4s ease-in-out infinite; }
@keyframes nh-pulse { 0%,100% { opacity:.6; } 50% { opacity:1; } }
.nh-book { width:128px; height:128px; color:#a7f3d0; position:relative; z-index:1; }
.nh-dots { position:absolute; right:16px; bottom:12px; display:flex; gap:4px; z-index:20; }
.nh-dots .d { width:6px; height:6px; border-radius:999px; background:rgba(255,255,255,.4); transition:all .3s; }
.nh-dots .d.on { width:16px; background:#34d399; }

/* 主行动卡 */
.nh-master { position:relative; width:100%; overflow:hidden; border:none; cursor:pointer;
  border-radius:16px; padding:18px; margin-top:16px; text-align:left;
  background:linear-gradient(90deg,#22C55E,#16A34A 55%,#15803D); border:1px solid rgba(74,222,128,.4);
  display:flex; align-items:center; gap:14px; transition:filter .18s, transform .18s; }
.nh-master:active { transform:scale(.98); filter:brightness(.95); }
.nh-master-wave { position:absolute; inset:0; opacity:.2; display:flex; align-items:center; justify-content:center; pointer-events:none; color:#fff; }
.nh-master-wave svg { width:100%; height:32px; }
.nh-master-ico { width:48px; height:48px; border-radius:12px; background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.4); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 12px rgba(0,0,0,.08); flex-shrink:0; transition:transform .2s; }
.nh-master:hover .nh-master-ico { transform:scale(1.05); }
.nh-master-txt { display:flex; flex-direction:column; flex:1; z-index:1; }
.nh-master-t { font-size:17px; font-weight:700; color:#fff; letter-spacing:-.3px; }
.nh-master-s { font-size:11px; color:#d1fae5; margin-top:3px; display:flex; align-items:center; gap:6px; }
.nh-master-dot { width:6px; height:6px; border-radius:50%; background:#fff; box-shadow:0 0 6px rgba(255,255,255,.9); animation:nh-pulse 1.6s ease-in-out infinite; }
.nh-master-arrow { width:32px; height:32px; border-radius:50%; background:#fff; color:#047857;
  display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.12); z-index:1; transition:transform .2s; }
.nh-master:hover .nh-master-arrow { transform:translateX(4px); }

/* 学研矩阵 */
.nh-section { margin-top:20px; }
.nh-sec-head { display:flex; align-items:center; justify-content:space-between; padding:0 4px; margin-bottom:12px; }
.nh-sec-title { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:700; color:#1E293B; }
.nh-sec-bar { width:4px; height:14px; border-radius:2px; background:#10b981; }
.nh-sec-en { font-size:10px; color:#059669; font-weight:700; letter-spacing:1px; background:#ecfdf5; padding:3px 8px; border-radius:6px; text-transform:uppercase; }
.nh-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.nh-card { display:flex; flex-direction:column; align-items:flex-start; text-align:left;
  padding:16px; border-radius:16px; background:#fff; border:1px solid #e2e8f0; cursor:pointer;
  transition:all .3s; }
.nh-card:active { transform:scale(.98); }
.nh-card:hover { border-color:#cbd5e1; box-shadow:0 8px 20px rgba(15,23,42,.06); transform:translateY(-2px); }
.nh-card-top { display:flex; align-items:center; justify-content:space-between; width:100%; margin-bottom:12px; }
.nh-card-ico { width:44px; height:44px; border-radius:16px; color:#fff; display:flex; align-items:center; justify-content:center; transition:transform .2s; }
.nh-card:hover .nh-card-ico { transform:scale(1.08); }
.nh-card-ico.coral { background:linear-gradient(135deg,#FF8C68,#FF6B4A); box-shadow:0 4px 12px rgba(255,107,74,.32); }
.nh-card-ico.green { background:linear-gradient(135deg,#4ADE80,#22C55E); box-shadow:0 4px 12px rgba(34,197,94,.32); }
.nh-card-ico.blue { background:linear-gradient(135deg,#60A5FA,#3B82F6); box-shadow:0 4px 12px rgba(59,130,246,.32); }
.nh-card-ico.violet { background:linear-gradient(135deg,#A78BFA,#8B5CF6); box-shadow:0 4px 12px rgba(139,92,246,.32); }
.nh-card-badge { font-size:10px; font-weight:700; letter-spacing:1px; padding:3px 8px; border-radius:999px; }
.nh-card-badge.coral-bg { color:#FF6B4A; background:#fff7ed; border:1px solid #fed7aa; }
.nh-card-badge.green-bg { color:#15803D; background:#ecfdf5; border:1px solid #a7f3d0; }
.nh-card-badge.blue-bg { color:#1D4ED8; background:#eff6ff; border:1px solid #bfdbfe; }
.nh-card-badge.violet-bg { color:#6D28D9; background:#f5f3ff; border:1px solid #ddd6fe; }
.nh-card-t { font-size:15px; font-weight:700; color:#1E293B; margin-bottom:4px; transition:color .2s; }
.nh-card:hover .nh-card-t.coral-hover { color:#FF6B4A; }
.nh-card:hover .nh-card-t.green-hover { color:#16A34A; }
.nh-card:hover .nh-card-t.blue-hover { color:#2563EB; }
.nh-card:hover .nh-card-t.violet-hover { color:#7C3AED; }
.nh-card-d { font-size:12px; color:#64748B; line-height:1.4; }

/* 底部导航（新版） */
.tabbar { height:64px; background:rgba(255,255,255,.95); backdrop-filter:blur(16px);
  border-top:1px solid #e2e8f0; box-shadow:0 -4px 20px rgba(0,0,0,.04); }
.tabbar .tab { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  cursor:pointer; color:#94A3B8; font-size:11px; gap:3px; transition:color .2s; position:relative; }
.tabbar .tab .ti { display:flex; align-items:center; justify-content:center; line-height:0; transition:transform .15s; }
.tabbar .tab:active .ti { transform:scale(.9); }
.tabbar .tab.on { color:#10b981; font-weight:600; }
.tabbar .tab-dot { width:6px; height:6px; border-radius:50%; background:#10b981; opacity:0; transition:opacity .2s; }
.tabbar .tab.on .tab-dot { opacity:1; }
