/* 鸡无科技俱乐部平台 v27 · 统一设计系统（资料页文档流重构）
   一套色板 / 一套圆角 / 一套间距 / 一套字号梯度，去掉历次叠补丁带来的割裂感 */
:root{
  --pp:#7956e8; --pp2:#a184ff; --pp-soft:#f1ecff; --pp-fade:#e9e1ff;
  --ink:#23203a; --sub:#8b88a3; --line:#eeecf5; --bg:#f6f5fb; --card:#fff;
  --ok:#22b36a; --warn:#f5a623; --shadow:0 4px 16px rgba(70,50,140,.06);
  --safe-t:0px; --safe-b:env(safe-area-inset-bottom,0px);
  --sp:10px; --fs:13px; --r:12px;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;overflow:hidden}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Helvetica,Arial,sans-serif;
 background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font-family:inherit;outline:none}
button{border:0;background:none;cursor:pointer;color:inherit}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
::-webkit-scrollbar{width:0;height:0}

/* ============ 应用壳 ============ */
#app{position:relative;width:100%;max-width:460px;height:100dvh;margin:0 auto;background:var(--bg);overflow:hidden}
.view{position:absolute;top:0;left:0;right:0;bottom:calc(56px + var(--safe-b));
 overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 0 24px}
.view.docmode{top:0;bottom:0;padding-top:0}
.view.has-float{padding-top:54px}
#app.no-tab .view{bottom:0}
.tabbar{position:absolute;left:0;right:0;bottom:0;z-index:60;height:calc(56px + var(--safe-b));
 padding-bottom:var(--safe-b);background:rgba(255,255,255,.96);border-top:1px solid var(--line);
 display:grid;grid-template-columns:repeat(3,1fr);backdrop-filter:blur(10px)}
.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
 color:#a09cb5;font-size:11px;transition:color .18s,transform .16s}
.tab:active{transform:scale(.92)}
.tab svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;
 stroke-linecap:round;stroke-linejoin:round;transition:stroke-width .18s}
.tab.on{color:var(--pp);font-weight:700}
.tab.on svg{stroke-width:2.2}
.float-back{position:absolute;top:14px;left:14px;width:34px;height:34px;border-radius:50%;
 background:#fff;box-shadow:0 3px 12px rgba(40,25,90,.14);display:flex;align-items:center;justify-content:center;z-index:70}
.float-back svg{width:16px;height:16px;stroke:#333;fill:none;stroke-width:2.2}

/* ============ 通用 ============ */
.pad{padding:12px}
.card{background:var(--card);border-radius:14px;margin:12px 12px 0;overflow:hidden;box-shadow:var(--shadow)}
.sec-t{display:flex;align-items:center;justify-content:space-between;padding:15px 14px 9px;
 font-size:15.5px;font-weight:800;color:var(--ink)}
.sec-t .more{font-size:12px;color:var(--sub);font-weight:400}
.sec-t.bare{background:transparent;box-shadow:none;margin:5px 0 0;padding:12px 14px 8px;font-size:15px}
.tap{transition:transform .16s ease,opacity .16s ease,background .16s ease,box-shadow .16s ease;cursor:pointer}
.tap:active{transform:scale(.978);opacity:.9}
.btn{display:flex;align-items:center;justify-content:center;height:44px;border-radius:12px;
 background:var(--pp);color:#fff;font-size:15px;font-weight:700;letter-spacing:.3px;
 box-shadow:0 6px 16px rgba(121,86,232,.2);transition:transform .16s,box-shadow .16s}
.btn:active{transform:scale(.975);box-shadow:0 3px 9px rgba(121,86,232,.16)}
.btn.ghost{background:var(--pp-soft);color:var(--pp);box-shadow:none}
.btn.green{background:#1aad5f;box-shadow:0 6px 16px rgba(26,173,95,.18)}
.btn.gray{background:#eeecf5;color:#6a6780;box-shadow:none}
.btn.sm{height:34px;font-size:13px;border-radius:10px;padding:0 12px}
.btn[disabled]{opacity:.45;pointer-events:none}
.field{margin:10px 14px}
.field label{display:block;font-size:12px;color:#7b7794;margin-bottom:6px;padding-left:2px}
.field input,.field textarea,.field select{width:100%;background:#faf9ff;border:1px solid #e8e5f5;
 border-radius:11px;padding:11px 12px;font-size:14px;color:var(--ink);transition:border-color .16s,box-shadow .16s}
.field textarea{height:74px;resize:none;line-height:1.6}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--pp2);box-shadow:0 0 0 3px rgba(161,132,255,.12)}
.hint{font-size:11.5px;color:#a6a2bb;line-height:1.75;padding:0 14px 10px}
.divider{height:1px;background:var(--line);margin:12px 14px}
.empty{text-align:center;padding:40px 20px;color:#aaa6c0}
.empty svg{width:46px;height:46px;stroke:#cfcbe4;fill:none;stroke-width:1.5;margin-bottom:12px}
.empty b{display:block;font-size:14px;color:#8b87a5;font-weight:600}
.empty span{font-size:12px;display:block;margin-top:6px}
.nomore{text-align:center;font-size:11px;color:#b8b4c8;padding:11px 0 14px}

/* ============ 首页 ============ */
/* v26：按上传图片原始宽高比显示，不固定高度、不裁切；JS 读取 naturalWidth/Height 实时更新比例 */
.carousel{position:relative;margin:10px 12px 0;border-radius:14px;overflow:hidden;background:#e9e5f8;
 aspect-ratio:900 / 380;box-shadow:var(--shadow);transition:aspect-ratio .25s ease}
.carousel .slides{display:flex;height:100%;transition:transform .5s cubic-bezier(.2,.8,.3,1)}
.carousel .slide{min-width:100%;height:100%;position:relative}
.carousel .slide img{width:100%;height:100%;object-fit:contain;display:block;background:#e9e5f8}
.carousel .slide .cap{position:absolute;left:0;right:0;bottom:0;padding:18px 12px 9px;
 background:linear-gradient(transparent,rgba(25,16,60,.5));color:#fff;font-size:11.5px;font-weight:700}
.carousel .dots{position:absolute;bottom:9px;right:12px;display:flex;gap:5px}
.carousel .dots i{width:6px;height:6px;border-radius:6px;background:rgba(255,255,255,.6);transition:.2s}
.carousel .dots i.on{width:14px;background:#fff}
.notice-strip{margin:9px 12px 0;border-radius:12px;background:linear-gradient(90deg,#ffbb4d,#ff9f3d);
 display:flex;align-items:center;height:34px;overflow:hidden;box-shadow:0 3px 10px rgba(255,158,54,.16)}
.notice-strip .horn{width:38px;flex:none;display:flex;align-items:center;justify-content:center}
.notice-strip .horn svg{width:18px;height:18px;fill:#7a3d00}
.notice-strip .horn::after{content:'';width:1px;height:16px;background:rgba(255,255,255,.55);margin-left:8px}
.notice-strip .track{flex:1;display:flex;overflow:hidden;white-space:nowrap;height:100%}
.notice-strip .track span{flex:none;line-height:34px;font-size:11.5px;font-weight:700;color:#5b2c00;
 padding-right:46px;animation:marquee 16s linear infinite}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.notice-strip .go{width:32px;flex:none;color:#7a3d00;font-size:15px;text-align:center}
.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:9px 12px 0}
.entry{background:#fff;border-radius:12px;padding:9px 11px;box-shadow:var(--shadow);
 display:flex;flex-direction:column;gap:3px;border:1px solid #f2f0f9}
.entry .ei{width:25px;height:25px;border-radius:8px;background:var(--pp-soft);display:flex;
 align-items:center;justify-content:center;margin-bottom:3px}
.entry .ei svg{width:15px;height:15px;stroke:var(--pp);fill:none;stroke-width:1.9}
.entry b{font-size:12.5px;font-weight:800}
.entry small{font-size:9.5px;color:var(--sub)}
.club-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;
 margin:0 12px 8px;padding:10px;box-shadow:var(--shadow)}
.club-row .ci{width:48px;height:48px;border-radius:10px;object-fit:cover;background:#f0edfb;flex:none}
.club-row .cm{flex:1;min-width:0}
.club-row .cm b{font-size:13.5px;font-weight:800;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.club-row .cm .tag{display:inline-flex;align-items:center;font-style:normal;font-size:9px;color:#169b54;
 background:#e6f8ee;border-radius:5px;padding:1px 5px;margin:4px 0 3px;font-weight:700}
.club-row .cm .tag:before{content:'';width:7px;height:7px;border:1.5px solid #169b54;border-radius:50%;margin-right:4px}
.club-row .cm p{font-size:11px;color:#9a97ac;line-height:1.5;display:-webkit-box;
 -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.club-row .cr{width:46px;height:50px;flex:none;text-align:center;border-radius:10px;
 background:linear-gradient(135deg,#b79bff,#8461ee);display:flex;flex-direction:column;
 align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(120,85,230,.2)}
.club-row .cr em{font-style:italic;font-size:7.5px;color:#fff;opacity:.6;letter-spacing:1.2px;line-height:1}
.club-row .cr b{font-size:13.5px;font-weight:900;color:#fff;display:block;line-height:1.3}
.club-row .cr span{font-size:8px;color:#fff;opacity:.95;display:block;margin-top:1px}
.club-row .arw{display:none}
.club-row:active{background:#fbfaff}
.club-row:active .cr{transform:scale(.96)}
.tech{text-align:center;font-size:11px;color:#a09cba;padding:14px 0 8px;animation:breathe 2.8s ease-in-out infinite}
.tech b{color:var(--pp);font-weight:700}
@keyframes breathe{0%,100%{opacity:.7}50%{opacity:1}}
/* v26：宽屏同样按图片比例自适应，不再写死高度 */

/* ============ 我的 ============ */
.me-head{display:block;position:relative;background:linear-gradient(135deg,#6d4ae0,#a98bff 78%,#c9b4ff);
 padding:18px 15px 34px;min-height:146px;color:#fff}
.me-head .me-title{display:block;width:100%;font-size:19px;font-weight:900;letter-spacing:.5px;
 text-align:left;margin-bottom:13px;color:#fff}
.me-head .edit{position:absolute;right:16px;top:17px;width:27px;height:27px;
 border-radius:9px;border:1.6px solid rgba(255,255,255,.85);background:rgba(255,255,255,.14);
 display:flex;align-items:center;justify-content:center}
.me-head .edit svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2}
.me-head .me-profile{display:flex;align-items:center;gap:11px}
.me-head .av{width:54px;height:54px;border-radius:50%;background:#f4a9d8;object-fit:cover;
 border:2px solid rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(60,40,120,.16);flex:none}
.me-head .mi{min-width:0}
.me-head .mname{font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px;color:#fff}
.me-head .mname .badge{font-style:normal;font-size:9.5px;font-weight:700;padding:2px 7px;
 border-radius:20px;background:#fff;color:var(--pp);box-shadow:0 2px 7px rgba(80,50,160,.12)}
.me-head .mname .badge:before{content:'✓';margin-right:3px}
.me-head .mid,.me-head .mphone{font-size:11.5px;opacity:.92;margin-top:4px}
.me-head .mphone span{display:inline;text-decoration:none;margin-left:6px;color:#ffe08a;font-weight:700;font-size:12px}
.me-orders{margin:-18px 12px 0;background:#fff;border-radius:13px;padding:11px 9px 10px;position:relative;z-index:2;
 box-shadow:0 8px 22px rgba(80,70,150,.09)}
.me-orders .ot{display:flex;justify-content:space-between;font-size:13.5px;font-weight:800;padding:0 6px 9px}
.me-orders .ot span{font-size:11px;color:#a5a1ba;font-weight:400}
.og{display:grid;grid-template-columns:repeat(4,1fr);text-align:center}
.og .oi{font-size:10.5px;color:#5a5673;font-weight:600}
.og .oi img{width:28px;height:28px;margin:0 auto 6px;object-fit:contain}
.me-menu{background:#fff;border-radius:13px;margin:9px 12px 0;overflow:hidden;box-shadow:var(--shadow)}
.mrow{display:flex;align-items:center;gap:10px;height:42px;padding:0 13px;border-bottom:1px solid #f5f4fa;font-size:13px}
.mrow:last-child{border-bottom:0}
.mrow:active{background:#faf8ff}
.mrow .mi{width:26px;height:26px;display:flex;align-items:center;justify-content:center;flex:none;background:transparent;border-radius:0}
.mrow .mi svg{width:19px;height:19px;stroke:#2b2b3a;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mrow .mi img{width:19px;height:19px;object-fit:contain}
.mrow .mt{flex:1;min-width:0}
.mrow .mv{color:#aaa6c0;font-size:11.5px}
.mrow .ma{color:#ccc8dd;font-size:16px}

/* ============ 消息 / 系统通知 ============ */
.msg-page{min-height:100%;background:var(--bg);padding-bottom:24px}
.msg-h{background:linear-gradient(135deg,#6d4ae0 0%,#9b7bf2 62%,#c4adff 100%);
 color:#fff;font-size:22px;font-weight:900;letter-spacing:.5px;
 padding:32px 18px 28px;margin:0}
.msg-card{display:flex;align-items:center;gap:12px;background:#fff;margin:-12px 12px 0;border-radius:15px;
 padding:15px 14px;box-shadow:var(--shadow);position:relative;z-index:2}
.msg-ic{width:40px;height:40px;border-radius:50%;background:#e2f0ff;display:flex;align-items:center;justify-content:center;flex:none}
.msg-ic svg{width:21px;height:21px;stroke:#2f8cf0;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.msg-t{flex:1;min-width:0}
.msg-t b{display:block;font-size:15px;font-weight:800;color:var(--ink)}
.msg-t span{display:block;font-size:11px;color:var(--sub);margin-top:4px}
.msg-dot{width:8px;height:8px;border-radius:50%;background:#f0443e;flex:none;margin-right:2px}
.msg-a{color:#ccc8dd;font-size:18px;flex:none}
.notice-page{min-height:100%;background:var(--bg);padding-bottom:26px}
.notice-page .np-h{text-align:center;font-size:16px;font-weight:800;color:var(--ink);
 padding:10px 0 8px}
.ncard{background:#fff;border-radius:13px;margin:10px 12px;padding:14px;box-shadow:var(--shadow)}
.ncard .nh{display:flex;align-items:center;gap:8px}
.ncard .nh i{width:7px;height:7px;border-radius:50%;background:var(--pp);flex:none}
.ncard .nh b{font-size:13.5px;flex:1;font-weight:800}
.ncard .nh time{font-size:10.5px;color:#b0acc4}
.ncard p{font-size:12.5px;color:#74718c;line-height:1.8;margin-top:9px;word-break:break-word;overflow-wrap:anywhere}
.ncard .nlinks{display:flex;gap:8px;margin-top:11px;flex-wrap:wrap}
.ncard .nlinks a{font-size:11.5px;color:var(--pp);background:var(--pp-soft);border-radius:8px;
 padding:6px 10px;max-width:100%;word-break:break-all;overflow-wrap:anywhere}
.ncard .nlinks a.g{background:#eaf8f0;color:#159a56}

/* ============ 排行榜 ============ */
.rank-page{min-height:100%;background:var(--bg);padding-bottom:24px}
.rank-hero{position:relative;padding:52px 18px 0;
 background:linear-gradient(180deg,#efeaff 0%,#f4f0ff 52%,var(--bg) 100%);overflow:hidden;min-height:206px}
.rank-hero:before{content:'';position:absolute;width:460px;height:460px;border-radius:50%;
 background:radial-gradient(circle,rgba(255,255,255,.65) 0%,rgba(255,255,255,0) 68%);top:-230px;left:-150px}
.rk-back{position:absolute;left:14px;top:16px;width:26px;height:26px;z-index:3;cursor:pointer}
.rk-back img{width:100%;height:100%;display:block}
.rank-hero h1{position:relative;z-index:2;font-size:25px;font-weight:900;color:var(--pp);letter-spacing:.5px;margin-top:30px}
.rank-hero p{position:relative;z-index:2;font-size:13px;color:#8b6cf0;margin-top:8px}
.rk-trophy{position:absolute;right:6px;top:26px;width:120px;height:120px;object-fit:contain;z-index:1}
.rank-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:0 12px;margin-top:-4px;position:relative;z-index:2}
.rank-tabs button{position:relative;background:none;border:0;font-family:inherit;font-size:13.5px;font-weight:800;
 color:#4b475f;height:40px;cursor:pointer;transition:transform .16s}
.rank-tabs button:active{transform:scale(.94)}
.rank-tabs button.on{color:var(--ink)}
.rank-tabs button i{display:none;position:absolute;left:50%;bottom:5px;width:14px;height:4px;border-radius:4px;
 background:var(--pp);transform:translateX(-50%) rotate(-18deg)}
.rank-tabs button.on i{display:block}
.rank-card{background:#fff;border-radius:16px;margin:10px 12px 0;padding:4px 0 2px;position:relative;z-index:2;box-shadow:var(--shadow)}
.rank-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid #f4f3f9}
.rank-row:active{transform:scale(.985);background:#faf8ff}
.rank-row:last-of-type{border-bottom:0}
.rk-l{width:28px;flex:none;text-align:center}
.rkb{width:24px;height:24px;display:block;margin:0 auto}
.rkn{font-size:12.5px;color:#b3aecb;font-weight:800}
.rk-ic{width:54px;height:54px;border-radius:11px;object-fit:cover;background:#f0edfb;flex:none}
.rk-m{flex:1;min-width:0}
.rk-m b{display:block;font-size:14px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-m p{font-size:11.5px;color:var(--sub);line-height:1.6;margin-top:4px;display:-webkit-box;
 -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rk-good,.rk-none{display:inline-block;font-style:normal;font-size:10.5px;margin-top:5px;padding:2px 8px;border-radius:10px}
.rk-good{background:#fff3d6;color:#c47b00;font-weight:800}
.rk-none{background:#f1f0f7;color:#9b98b0}
.rk-s{width:50px;flex:none;text-align:right}
.rk-s span{display:block;font-size:10.5px;color:#a5a1ba}
.rk-s b{display:block;font-size:18px;font-weight:900;color:var(--ink);margin-top:3px}
.rank-card .nomore{font-size:11.5px;color:#b3aecb;text-align:center;padding:18px 0 10px}
.rank-all{text-align:center;font-size:12px;color:#8b6cf0;padding:0 0 18px}

/* ============ 文档页 ============ */
.doc{padding:72px 20px 40px;background:#fff;min-height:100%}
.doc h2{font-size:21px;font-weight:900;color:#1b2450;letter-spacing:.5px;margin-bottom:5px}
.doc .dsub{font-size:12.5px;color:var(--pp);font-weight:800;letter-spacing:.5px;margin-bottom:24px}
.doc h3{font-size:15.5px;font-weight:900;color:#2b3152;margin:24px 0 10px}
.doc p{font-size:14.5px;line-height:1.95;color:#3f4763;margin-bottom:18px}
.doc a{color:var(--pp)}

/* ============ 个人资料（v27：全文档流；返回键不悬浮；头像/标题/卡片零重叠） ============ */
#app.page-profile .view{bottom:0;padding-top:0}
#app.page-profile .tabbar{display:none}
#app.page-profile .float-back{display:none}
.prof-wrap{background:var(--bg);min-height:100%;padding-bottom:24px}
.prof-head{background:linear-gradient(180deg,#8159ef 0%,#ae89ff 42%,#e2d5ff 76%,var(--bg) 100%);
 display:flex;flex-direction:column;align-items:center;padding:8px 12px 20px}
.prof-head .prof-back{align-self:flex-start;width:30px;height:30px;border-radius:50%;
 display:flex;align-items:center;justify-content:center;cursor:pointer}
.prof-head .prof-back:active{background:rgba(255,255,255,.25)}
.prof-head .prof-back svg{width:20px;height:20px;stroke:#2b2b3a;fill:none;stroke-width:2.4}
.prof-head .prof-title{margin:2px 0 18px;text-align:center;font-size:18px;font-weight:900;color:#1b1830;letter-spacing:1px}
.prof-av{position:relative;width:88px;height:88px;border-radius:50%;margin:0 auto;border:3px solid #fff;
 background:#f4a9d8;box-shadow:0 5px 16px rgba(90,50,150,.14);overflow:hidden}
.prof-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.prof-av .cam{position:absolute;right:-2px;bottom:2px;width:28px;height:28px;border-radius:50%;background:var(--pp);
 border:2px solid #fff;display:flex;align-items:center;justify-content:center}
.prof-av .cam svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2}
.prof-tip{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:#8e8aa8;margin-top:10px}
.prof-reset{color:var(--pp);font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.prof-reset:active{opacity:.55}
.prof-card{margin:14px 12px 0;padding:2px 14px;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.prow{display:flex;align-items:center;height:56px;border-bottom:1px solid #f1eff8;gap:10px}
.prow:last-child{border-bottom:0}
.prow label{width:80px;flex:none;font-size:15px;font-weight:900;color:#22203a}
.prow input,.prow .pv{flex:1;min-width:0;border:0;background:transparent;text-align:right;font-size:14px;color:#6a6685;padding:0}
.prow input::placeholder{color:#b9b5c8;font-size:12px}
.prow .pa{color:#c9c5da;font-size:16px}
.prow .pchange{color:var(--pp);font-size:12.5px;font-weight:800;flex:none}
.prow.sex .pv{flex:0 0 auto;text-align:left;margin-left:0}
.prow.sex .pa{margin-right:auto;margin-left:2px}
.prof-intro{margin:14px 12px 0;padding:16px 15px 10px;border-radius:16px;min-height:140px;background:#fff;box-shadow:var(--shadow)}
.prof-intro .pt{font-size:15px;font-weight:900;color:#22203a}
.prof-intro textarea{width:100%;height:94px;border:0;background:transparent;resize:none;
 font-size:13.5px;color:#333;line-height:1.7;margin-top:8px;outline:none}
.prof-intro textarea::placeholder{color:#b9b5c8}
.pcount{text-align:right;font-size:11.5px;color:#a5a1ba}
/* 保存按钮回到文档流，不再绝对定位盖住个人简介卡片 */
.prof-save{display:flex;align-items:center;justify-content:center;position:relative;left:auto;right:auto;bottom:auto;width:auto;
 margin:18px 12px calc(20px + var(--safe-b));height:48px;border-radius:26px;
 background:linear-gradient(90deg,#8b6cf0,#a77dff);font-size:15.5px;font-weight:800;
 box-shadow:0 8px 20px rgba(123,85,234,.26)}

/* ============ 创建 / 选源码 ============ */
.src-pick{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e9e6f5;border-radius:12px;
 margin:12px;padding:12px}
.src-pick .si{width:38px;height:38px;border-radius:10px;object-fit:cover;background:var(--pp-soft);flex:none}
.src-pick .sn{flex:1;min-width:0}
.src-pick .sn b{font-size:13.5px;display:block}
.src-pick .sn span{font-size:11px;color:var(--sub);display:block;margin-top:4px}
.src-pick .sp{font-size:13px;color:#e2731c;font-weight:700}
.src-pick .sx{font-size:11px;color:var(--pp)}
.upbox{width:72px;height:72px;border:1.5px dashed #cfc7ee;border-radius:12px;background:#faf8ff;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#9a8fd0;font-size:10.5px;overflow:hidden}
.upbox img{width:100%;height:100%;object-fit:cover}
.upbox svg{width:20px;height:20px;stroke:#a99ae0;fill:none;stroke-width:1.8}
.price-line{display:flex;justify-content:space-between;align-items:center;padding:14px;font-size:13px}
.price-line b{font-size:18px;color:#e2731c}
/* 配置动画 */
.deploy-mask{position:absolute;inset:0;background:rgba(24,16,56,.55);z-index:95;display:none;align-items:center;justify-content:center;padding:24px}
.deploy-mask.on{display:flex}
.deploy-box{width:100%;background:#fff;border-radius:18px;padding:22px 18px}
.deploy-box h3{font-size:16px;text-align:center;margin-bottom:6px}
.deploy-box .sub{font-size:11.5px;color:var(--sub);text-align:center;margin-bottom:18px}
.dbar{height:6px;border-radius:6px;background:#efecfa;overflow:hidden;margin-bottom:16px}
.dbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--pp),var(--pp2));transition:width .35s}
.dstep{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#a7a3bb;padding:6px 2px}
.dstep .dot{width:15px;height:15px;border-radius:50%;border:1.5px solid #ddd8ef;flex:none;display:flex;align-items:center;justify-content:center}
.dstep.on{color:#33354a}
.dstep.on .dot{border-color:var(--pp);background:var(--pp)}
.dstep.on .dot::after{content:'';width:6px;height:3px;border-left:1.6px solid #fff;border-bottom:1.6px solid #fff;transform:rotate(-45deg)}
.dstep.done{color:#159a56}
.dstep.done .dot{border-color:#159a56;background:#159a56}

/* ============ 弹窗 / 登录 ============ */
.modal-mask{position:absolute;inset:0;background:rgba(20,14,48,.5);z-index:96;display:none;align-items:flex-end}
.modal-mask.on{display:flex}
.modal{width:100%;max-height:88%;overflow-y:auto;background:#fff;border-radius:18px 18px 0 0;
 padding:18px 16px calc(20px + var(--safe-b))}
.modal h3{font-size:16.5px;margin-bottom:4px}
.modal .msub{font-size:11.5px;color:var(--sub);line-height:1.75;margin-bottom:14px}
.mtitle{font-size:12.5px;font-weight:800;color:var(--pp);margin:15px 0 7px}
.kv{display:flex;gap:10px;padding:7px 0;border-bottom:1px dashed #f0eef8;font-size:12px}
.kv .k{width:86px;flex:none;color:#8d89a4}
.kv .v{flex:1;color:#2e2c40;word-break:break-word;overflow-wrap:anywhere;line-height:1.65}
.kv .v a{color:var(--pp)}
/* 登录 / 注册：底部 sheet 一比一，保持不动 */
.auth-mask{position:absolute;inset:0;background:rgba(20,18,45,.42);z-index:120;display:none;align-items:flex-end;padding:0}
.auth-mask.on{display:flex}
.auth{position:relative;width:100%;max-width:460px;background:#fff;border-radius:22px 22px 0 0;
 padding:20px 18px calc(22px + var(--safe-b));text-align:left;animation:sheetUp .26s cubic-bezier(.18,.89,.32,1.1) both}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.auth .close{position:absolute;right:14px;top:14px;width:28px;height:28px;border-radius:50%;
 background:#f0f0f5;color:#888;display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer}
.auth .ahead{display:flex;align-items:center;gap:12px;padding-right:34px;margin-bottom:6px}
.auth .alogo{width:52px;height:52px;border-radius:16px;margin:0;flex:none;object-fit:cover;
 background:linear-gradient(135deg,#8a63f5,#6846df)}
.auth h2{font-size:19px;font-weight:800;text-align:left}
.auth .asub{font-size:12px;color:#999;margin:4px 0 0;text-align:left}
.auth .ai{width:100%;height:44px;background:transparent;border:0;border-bottom:1px solid #eceaf7;
 border-radius:0;padding:0 2px;font-size:15px;margin-top:10px;display:block}
.auth .ai:focus{border-bottom-color:var(--pp);box-shadow:none}
.auth .abtn{height:46px;border-radius:13px;background:#07c160;color:#fff;font-size:15.5px;font-weight:600;
 display:flex;align-items:center;justify-content:center;margin-top:18px}
.auth .areg{height:44px;border-radius:13px;background:#f3f3f7;color:#333;font-size:14.5px;
 display:flex;align-items:center;justify-content:center;margin-top:10px}
.auth .agree{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#8d89a4;margin-top:14px}
.auth .agree i{width:15px;height:15px;border-radius:50%;background:#3478f6;color:#fff;font-size:10px;
 display:flex;align-items:center;justify-content:center;font-style:normal}
.auth .agree a{color:#3b8df0}
.auth .aswitch{font-size:12px;color:var(--pp);margin-top:14px}

/* ============ 订单 / 邀请 / 提现 ============ */
.tabs{display:flex;gap:8px;padding:12px;overflow-x:auto}
.tabs button{flex:none;padding:7px 14px;border-radius:20px;background:#fff;color:#7b7794;font-size:12px;border:1px solid #ece9f6}
.tabs button.on{background:var(--pp);color:#fff;border-color:var(--pp)}
.ocard{background:#fff;border-radius:13px;margin:10px 12px;padding:13px;box-shadow:var(--shadow)}
.ocard .oh{display:flex;gap:10px;align-items:center}
.ocard .oh img{width:40px;height:40px;border-radius:9px;object-fit:cover}
.ocard .oh b{font-size:13.5px;flex:1}
.ocard .oh em{font-size:11px;font-style:normal;color:#e2731c}
.ocard .ometa{font-size:11.5px;color:var(--sub);line-height:1.8;margin-top:9px;word-break:break-all}
.ocard .obtns{display:flex;gap:8px;margin-top:11px;justify-content:flex-end}
.balance{background:linear-gradient(135deg,var(--pp),var(--pp2));margin:12px;border-radius:15px;padding:20px;color:#fff}
.balance span{font-size:12px;opacity:.85}
.balance b{font-size:28px;display:block;margin-top:6px}
.inv-code{background:#fff;border-radius:13px;margin:12px;padding:16px;text-align:center}
.inv-code b{font-size:20px;letter-spacing:2px;color:var(--pp);display:block;margin:8px 0}
.inv-code p{font-size:11.5px;color:var(--sub);word-break:break-all;line-height:1.7}

/* ============ toast / 错误页 ============ */
#toast{position:absolute;left:50%;bottom:calc(30px + var(--safe-b));transform:translateX(-50%) translateY(12px);
 background:rgba(30,24,58,.9);color:#fff;font-size:12.5px;padding:10px 16px;border-radius:20px;
 opacity:0;pointer-events:none;transition:.22s;z-index:130;max-width:84%;text-align:center}
#toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
.booterr{max-width:430px;margin:0 auto;padding:70px 24px 30px;text-align:center;background:#fff;min-height:100vh}
.booterr .be-ic{width:54px;height:54px;border-radius:50%;background:#fff1f0;color:#e2504a;font-size:30px;font-weight:900;
 display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.booterr b{font-size:18px;color:#22203a}
.booterr p{font-size:13px;color:#5f5c76;line-height:1.8;margin:12px 0;word-break:break-all}
.booterr .be-tip{font-size:12px;color:var(--sub);line-height:1.8;text-align:left;background:#f7f5ff;border-radius:12px;padding:12px;margin-bottom:20px}
.booterr .be-btns{display:flex;flex-direction:column;gap:10px}
.booterr .be-btns a,.booterr .be-btns button{display:block;height:44px;line-height:44px;border-radius:12px;
 background:var(--pp);color:#fff;text-decoration:none;font-size:14px;border:0;font-family:inherit}
.booterr .be-btns a:nth-child(2){background:var(--pp-soft);color:var(--pp)}
.booterr .be-btns button{background:#fff;color:var(--pp);border:1px solid #e5dfff}

/* ============ 克制的点击动效 ============ */
.entry,.club-row,.msg-card,.rank-row,.mrow,.og .oi,.src-pick,.ocard,.tab,.btn,.float-back,.rk-back,.tech{
 transition:transform .16s ease,background .16s ease,opacity .16s ease,box-shadow .16s ease}
.entry:active,.club-row:active,.msg-card:active,.rank-row:active,.mrow:active,.og .oi:active,
.src-pick:active,.ocard:active,.btn:active,.float-back:active,.rk-back:active{transform:scale(.978)}
