/* 新首页（bead-home 集成版）：全部规则收进 .bhome 作用域，不影响 App 其他视图 */
.bhome{--g:#2a8a57;--g2:#1f6e44;--ink:#1c3328;--mute:#587363;--line:#e1ece5;--y:#f5d35c;--p:#f4a8b8;--bg:#f4f8f5;position:relative;color:var(--ink);font-family:-apple-system,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.bhome *{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
.bhome a{text-decoration:none;color:inherit}
.bhome button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
.bhome a,.bhome button{touch-action:manipulation}
.bhome .glow{display:none}
.bhome .wrap{position:relative;z-index:1;padding:0 6px}
.bhome .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;letter-spacing:2px;font-weight:800;color:var(--g);margin:16px 0 8px}
.bhome .eyebrow:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--g);box-shadow:0 0 0 5px #2a8a5726}
.bhome h1{font-size:clamp(28px,8.8vw,36px);line-height:1.22;font-weight:900;letter-spacing:-.5px}
.bhome h1 em{font-style:normal;color:var(--g)}
.bhome .lead{margin:10px 0 16px;color:var(--mute);line-height:1.7;font-size:14.5px}
.bhome .cta{display:flex;gap:10px}
.bhome .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:54px;padding:0 18px;border-radius:16px;font-size:16px;font-weight:800;transition:transform .15s;cursor:pointer}
.bhome .btn:active{transform:scale(.97)}
.bhome .cta .btn{flex:1}.bhome .cta .btn.main{flex:1.6}
.bhome .btn.main{color:#fff;background:linear-gradient(160deg,#35a066,#2a8a57);box-shadow:0 8px 20px #2a8a5740,inset 0 1px 0 #ffffff55}
.bhome .btn.ghost{color:var(--g2);background:#fff;border:1px solid var(--line)}
.bhome .safe{display:flex;align-items:center;gap:10px;margin-top:4px;font-size:13px;color:var(--mute)}
.bhome .tut{display:inline-flex;align-items:center;gap:6px;flex:none;padding:10px 0;font-weight:800;color:var(--g2);cursor:pointer}
.bhome .tut i{width:20px;height:20px;border-radius:50%;background:var(--g);display:grid;place-items:center}
.bhome .tut:active{opacity:.6}
.bhome .demo{position:relative;margin:16px 0 4px;padding-bottom:6px}
.bhome .demo:before{content:"";position:absolute;left:12px;right:12px;top:16px;bottom:-4px;border-radius:30px;background:#ffffff90;border:1px solid #fff;transform:rotate(2deg)}
.bhome .card{position:relative;background:#fff;border-radius:30px;padding:14px;box-shadow:0 24px 50px -22px #2a8a5755}
.bhome .stage{position:relative;aspect-ratio:1;border-radius:20px;overflow:hidden;background:#eef5ef;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.bhome .stage canvas{position:absolute;inset:0;width:100%;height:100%}
.bhome #bh-cp{clip-path:inset(0 50% 0 0)}
.bhome .hd{position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 10px #0003;pointer-events:none}
.bhome .hd i{position:absolute;top:50%;left:50%;width:38px;height:38px;margin:-19px;border-radius:50%;background:#fff;box-shadow:0 4px 12px #0003;display:grid;place-items:center;color:var(--g)}
.bhome .tg{position:absolute;top:10px;padding:5px 11px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:1px;pointer-events:none}
.bhome .tg.l{left:10px;background:#ffffffe8;color:var(--ink)}.bhome .tg.r{right:10px;background:#2a8a57e8;color:#fff}
.bhome .cap{display:flex;justify-content:space-between;align-items:flex-end;padding:14px 6px 2px}
.bhome .cap small{font-size:12px;letter-spacing:.5px;color:var(--mute);font-weight:700}.bhome .cap b{display:block;font-size:17px;margin-top:3px}
.bhome .hint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);padding:6px 14px;border-radius:99px;background:#1c3328c4;color:#fff;font-size:12.5px;font-weight:700;white-space:nowrap;pointer-events:none;transition:opacity .4s}
.bhome .chips{display:flex;gap:6px;flex-wrap:wrap;padding:10px 4px 2px}
.bhome .chips span{display:flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;color:var(--mute);background:var(--bg);padding:4px 9px 4px 5px;border-radius:99px}
.bhome .chips s{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px #0001}
.bhome section{margin-top:40px}
.bhome h2{font-size:25px;font-weight:900;margin-top:4px}
.bhome .sec .eyebrow{margin:0}
.bhome .dw{position:relative;isolation:isolate;margin:12px -20px 0;overflow:hidden;padding:12px 0 42px}
.bhome .deck{--cw:min(74vw,272px);position:relative;height:332px;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.bhome .fc{position:absolute;left:calc(50% - var(--cw) / 2);top:0;width:var(--cw);height:332px;border-radius:28px;overflow:hidden;display:flex;flex-direction:column;transform-origin:50% 130%;transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .35s;will-change:transform;box-shadow:0 26px 36px -24px #1c332870,inset 0 0 0 1px #ffffff99}
.bhome .deck.drag .fc{transition:none}
.bhome .art{position:relative;flex:none;height:144px}
.bhome .art canvas{display:block;width:100%;height:100%}
.bhome .art .bd{position:absolute;left:18px;bottom:-18px;z-index:2;width:38px;height:38px;border-radius:13px;background:#fff;display:grid;place-items:center;box-shadow:0 6px 14px -4px #0004}
.bhome .fc .body{flex:1;min-height:0;display:flex;flex-direction:column;padding:26px 18px 16px}
.bhome .fc h3{font-size:21px;font-weight:900;margin-bottom:5px}
.bhome .fc p{font-size:13px;line-height:1.62;opacity:.82}
.bhome .fc .tags{display:flex;gap:6px;margin-top:auto;flex-wrap:wrap}
.bhome .fc .tags span{font-size:12px;font-weight:700;padding:3px 10px;border-radius:99px;background:#ffffff8c}
.bhome .f1{background:linear-gradient(160deg,#37a367,#1f6e44);color:#fff}.bhome .f1 .tags span{background:#ffffff26}
.bhome .f2{background:linear-gradient(160deg,#f1f9f3,#d5ebdd);color:#1f5a3a}
.bhome .f3{background:linear-gradient(160deg,#fffae0,#f8e8a6);color:#6f5207}
.bhome .f4{background:linear-gradient(160deg,#fff0f4,#f7d0db);color:#8f3556}
.bhome .f5{background:linear-gradient(160deg,#fff5f6,#ffd9de);color:#8f2432}
.bhome .f6{background:linear-gradient(160deg,#f2f8ff,#d3e6fb);color:#274b73}
.bhome .dc{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:-6px}
.bhome .dc button{width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--g2)}
.bhome .dc button:active{transform:scale(.92)}
.bhome .dots{display:flex;gap:8px;align-items:center;min-width:80px;justify-content:center}
.bhome .dots i{width:7px;height:7px;border-radius:99px;background:#c6d9cc;transition:width .3s,background .3s}.bhome .dots i.on{width:22px;background:var(--g)}
.bhome .use{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;margin-top:16px;border-radius:16px;background:#fff;border:1.5px solid var(--g);color:var(--g2);font-size:15.5px;font-weight:800;cursor:pointer}
.bhome .use:active{background:#eef6f0}
.bhome .flow{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:12px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:20px}
.bhome .flow span{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;white-space:nowrap}
.bhome .flow i{width:26px;height:26px;border-radius:50%;background:var(--g);color:#fff;font-style:normal;font-size:13px;display:grid;place-items:center}
.bhome .flow em{color:#9bb5a5;font-style:normal;font-size:20px}
.bhome .sh{display:flex;justify-content:space-between;align-items:flex-end}.bhome .more{font-size:13.5px;font-weight:700;color:var(--g);padding:8px 0 8px 12px;cursor:pointer}
.bhome .rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding-left:20px;padding:18px 20px 8px;margin:0 -20px;scrollbar-width:none}
.bhome .rail::-webkit-scrollbar{display:none}
.bhome .w{flex:none;width:152px;scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:22px;padding:10px;box-shadow:0 8px 20px -14px #2a8a5744;cursor:pointer;text-align:left}
.bhome .w canvas{display:block;width:100%;aspect-ratio:1;border-radius:14px;background:#eef5ef}
.bhome .w b{display:block;font-size:14px;margin:10px 4px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhome .w small{display:block;font-size:12px;color:var(--mute);margin:0 4px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bhome .w.nw{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed #b9d9c5;background:#ffffff80;box-shadow:none;color:var(--g2);font-size:13px;font-weight:800;min-height:196px}
.bhome .end{margin:52px 0 0;padding:30px 24px;border-radius:30px;color:#fff;background:radial-gradient(260px 200px at 100% 0,#5cc58a66,transparent),linear-gradient(150deg,#2a8a57,#1b5f3c)}
.bhome .end h2{font-size:24px;line-height:1.32;margin:0}.bhome .end p{margin:10px 0 20px;font-size:13px;color:#ffffffc0}
.bhome .end .btn{background:#fff;color:var(--g2);height:50px;padding:0 24px}
.bhome .bh-foot{margin:26px 0 6px;text-align:center;font-size:11px;color:#98a49b}
.bhome.js .rv{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s cubic-bezier(.2,.7,.2,1)}
.bhome.js .rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.bhome.js .rv{opacity:1;transform:none;transition:none}.bhome .fc{transition:none}}
@media(min-width:640px){.bhome{max-width:560px;margin:0 auto}}
