:root{--green:#007f5f;--deep:#006c51;--gray:#f2f3f5;--ink:#171b22;--sub:#788498;--border:#e0e4e9}*{box-sizing:border-box}html{background:#e8e9ec}body{margin:0;color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif}#app{background:var(--gray);max-width:430px;min-height:100dvh;margin:auto;position:relative;box-shadow:0 0 12px #00000012}.top{height:53px;position:sticky;top:0;background:rgba(243,244,246,.97);z-index:8;display:flex;gap:7px;align-items:center;padding:0 16px;border-bottom:1px solid #e2e5e9;font-size:17px}.logo{background:#ff6348;color:#fff;border-radius:100%;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}.topright{margin-left:auto;color:#536074}.back{border:0;background:none;font-size:24px;padding:0 8px 0 0;color:#404853}main{padding:10px 16px 94px;min-height:calc(100dvh - 60px)}button,input,textarea{font:inherit}button{cursor:pointer}button.primary{background:var(--green);color:#fff;border:0;border-radius:12px;font-weight:750;padding:12px 17px}button.primary:disabled{opacity:.48}button.outline{background:#fff;color:#15191e;border:1px solid #c7d0da;border-radius:12px;padding:11px 14px;font-weight:700}button.small{padding:10px 20px;border-radius:24px}button.full{width:100%}.card{background:#fff;border:1px solid #e0e4e9;box-shadow:0 7px 18px #26354509;border-radius:15px;padding:15px;margin:0 0 12px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.muted{color:var(--sub)}.tiny{font-size:12px}.green{color:var(--green)}.bold{font-weight:750}.money{font-size:22px;font-weight:850;color:var(--green)}.wallet{background:var(--green);color:#fff;border-radius:14px;padding:15px 16px;margin:0 0 14px;display:flex;gap:12px;justify-content:space-between}.wallet>div{flex:1}.wallet span{font-size:13px;opacity:.8}.wallet strong{font-size:25px;display:block}.progress{background:#fff;border-radius:13px;border:1px solid var(--border);padding:8px 15px;margin:-14px 0 14px;font-size:12px;color:#606e7e}.dots{letter-spacing:2px;color:#cbd1d8}.warn{background:#fff5e5;color:#b65408;border:1px solid #f2d3a4;padding:12px 14px;border-radius:9px;margin:12px 0;font-weight:700}.feature{border-color:#008967}.avatar{background:linear-gradient(145deg,#b6def5,#d6c8f5);border-radius:12px;display:flex;align-items:center;justify-content:center;width:55px;height:55px;font-size:30px;flex-shrink:0}.avatar.red{background:linear-gradient(140deg,#ffb7b7,#fc6b76)}.avatar.blue{background:linear-gradient(140deg,#5eecf0,#2ca5c4)}.avatar.pink{background:linear-gradient(140deg,#ffaac6,#e84f76)}.taskitem{display:flex;gap:12px;align-items:center;min-height:95px}.taskitem .text{flex:1;min-width:0}.taskitem h3{margin:0 0 3px;font-size:16px}.taskitem p{margin:0;color:#8590a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.stock{text-align:right;min-width:66px}.stock b{color:var(--green);font-size:23px;display:block;line-height:1}.stock span{display:block;font-size:12px;color:#778393}.stock small{font-size:12px;font-weight:700}.section{color:#798698;font-size:13px;font-weight:700;margin:18px 0 9px}.pill{display:inline-block;background:#f6a85123;border:1px solid #ffd098;border-radius:20px;color:#b85d10;padding:2px 9px;font-size:12px;font-weight:700}.tabs{display:flex;gap:8px;margin:8px 0 13px}.tabs button{border:1px solid #e0e4e9;background:#fff;border-radius:28px;padding:7px 15px}.tabs button.current{background:#171c23;color:#fff}.orderitem .thumb{height:92px;width:70px;border-radius:10px;background:linear-gradient(140deg,#b0b3c0,#414c60);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;flex-shrink:0}.orderitem{display:flex;gap:12px;align-items:center;border-color:#f3d09c}.orderitem .details{flex:1}.orderitem .details p{margin:5px 0}.brandline{display:flex;align-items:center;gap:8px;font-weight:750}.stepper{display:flex;justify-content:space-between;margin:12px 5px 18px;text-align:center;position:relative}.stepper:before{content:"";position:absolute;height:2px;background:#cbd1da;left:12%;right:12%;top:15px;z-index:0}.step{position:relative;z-index:1;color:#69798c;font-size:12px}.step i{width:30px;height:30px;border:2px solid #c5ccd6;border-radius:50%;display:block;background:#fff;margin:0 auto 5px;font-style:normal;line-height:26px;font-weight:700;font-size:14px}.step.done i{background:var(--green);color:#fff;border-color:var(--green)}.step.active{color:var(--green)}.step.active i{border-color:var(--green);color:var(--green)}.preview{min-height:270px;display:flex;align-items:center;justify-content:center;background:linear-gradient(155deg,#b1d9cb,#2b7467 45%,#25333d);border-radius:12px;color:#fff;text-align:center;overflow:hidden}.preview video{max-width:100%;max-height:460px;width:100%}.preview .fake{font-size:22px;font-weight:800;padding:25px}.guide{border-color:#a4e1c7}.guide .n{background:#1673f9;color:#fff;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:10px;font-weight:700}.instruction{display:flex;align-items:flex-start;margin:14px 0;font-size:13px;line-height:1.75}.disclaimer{line-height:1.9;color:#8190a0}.copypanel{background:#f5f6f8;border:1px solid #e0e4eb;border-radius:9px;padding:13px;margin:10px 0;overflow-wrap:anywhere}.field{display:block;margin:12px 0}.field span{display:block;font-weight:650;margin-bottom:5px}.field input,.field textarea{width:100%;padding:13px;border-radius:11px;background:#fff;border:1px solid #cdd4df;outline-color:var(--green)}.field textarea{min-height:90px;resize:vertical}.bottom-fixed{position:fixed;max-width:430px;width:100%;bottom:0;background:#f3f4f6;padding:9px 16px 12px;z-index:7;border-top:1px solid #e0e5e9}nav{max-width:430px;position:fixed;bottom:0;background:#f5f6f8;border-top:1px solid var(--border);height:66px;display:flex;width:100%;z-index:9;padding:4px 16px 5px;gap:8px}nav button{width:33.3%;border:0;background:none;color:#718095;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;gap:1px}nav button span{font-size:24px;line-height:25px}nav button.selected{background:#13181e;color:#fff;font-weight:750}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tile{text-align:center;padding:16px 5px;min-height:99px}.tile .ico{font-size:25px;color:var(--green)}.tile b{display:block;margin:2px 0}.tile p{margin:0;font-size:12px;color:#83909e}.footer{text-align:center;padding:24px;color:#9ca7b5}.footer strong{color:#ffc0a7}.empty{text-align:center;color:#98a3ae;padding:24px 6px}.link{color:#0870ed;cursor:pointer}.black{color:#111820}.field + .field{margin-top:9px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#1b252b;color:white;border-radius:12px;padding:10px 16px;z-index:30;display:none;max-width:80%;text-align:center;box-shadow:0 8px 30px #0003}.admin{padding:5px 0}.admin .card{margin-bottom:10px}a{color:#007c60}@media(min-width:431px){nav,.bottom-fixed{left:50%;transform:translateX(-50%)}}

/* screenshot-matched mobile project list */
#app{max-width:390px;background:#f3f4f6}#app>.top{height:53px}.logo{background:#ff6348}.section.list-label{font-size:13px;color:#78869a;margin:8px 0 9px;font-weight:600}.project-list{display:flex;flex-direction:column;gap:10px}.project-card{background:#fff;min-height:96px;border:1px solid #e1e5e9;border-radius:15px;box-shadow:0 4px 10px #2029350d;display:flex;align-items:center;padding:12px 12px;gap:11px;cursor:pointer}.project-avatar{flex:0 0 52px;width:52px;height:52px;display:flex;align-items:center;justify-content:center}.project-icon{width:52px;height:52px;border-radius:12px;object-fit:cover}.project-info{flex:1;min-width:0}.project-title{display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden}.project-title strong{font-size:17px;font-weight:750;flex-shrink:0}.platform-icon{width:17px;height:17px;object-fit:contain;border-radius:4px;flex-shrink:0}.project-badge{font-size:10px;padding:2px 5px;color:#fff;background:linear-gradient(90deg,#bf6415,#ac4800);border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-badge.quiet{background:#eef0f4;color:#6e7b90;border:1px solid #dce1e8}.project-desc{color:#788399;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px}.project-right{flex:0 0 65px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;line-height:1.28}.project-right strong{font-size:22px;color:#008666;font-weight:800}.project-right span{font-size:12px;color:#7b8799;white-space:nowrap}.project-right b{font-size:13px;color:#111820;margin-top:9px;white-space:nowrap}.project-right small{font-size:10px}.invite-icon{background:#ff574d;width:52px;height:52px;border-radius:12px;color:#fff;position:relative;font-size:26px;text-align:center;line-height:35px}.invite-icon span{position:absolute;top:1px;left:28px}.invite-icon i{position:absolute;top:20px;left:13px;font-size:15px}.manage-row{display:flex;gap:10px;align-items:center;border-top:1px solid #eef0f3;padding:13px 0}.manage-info{flex:1;min-width:0}.manage-info .outline{font-size:12px;padding:4px 9px}.admin select{width:100%;border:1px solid #dce2e8;background:white;border-radius:9px;padding:12px}.admin input[type=checkbox]{width:auto}main{padding-top:10px}

.offline-note{margin:0 16px 10px;padding:10px 12px;background:#fff8ec;border:1px solid #f5dbad;border-radius:10px;color:#95671f;font-size:12px;line-height:1.6}

/* 收益排行榜 */
.rank-entry{margin:0 16px 12px;background:#fff;border:1px solid #e2e7ea;border-radius:14px;padding:14px;display:flex;align-items:center;gap:11px;cursor:pointer;box-shadow:0 4px 12px #151a2010}.rank-entry-emoji{font-size:29px}.rank-entry>div:nth-child(2){flex:1}.rank-entry b{display:block;font-size:15px}.rank-entry small{display:block;font-size:11px;color:#7b8794;margin-top:5px}.rank-entry>span{color:#007e60;font-size:12px;font-weight:bold}
.ranking-banner{background:linear-gradient(135deg,#007d60,#009d76);border-radius:14px;color:white;margin:15px 16px;padding:18px}.rank-head{font-size:21px;font-weight:800}.rank-sub{font-size:11px;opacity:.83;margin-top:7px}.ranking-stats{display:flex;gap:12px;margin-top:20px}.ranking-stats>div{flex:1;background:#ffffff1c;padding:12px;border-radius:10px}.ranking-stats b{font-size:21px;display:block}.ranking-stats small{display:block;font-size:10px;margin-top:5px;opacity:.9}
.rank-filters{margin:0 16px 12px!important}.rank-filters label{display:block;font-size:12px;font-weight:bold;margin-bottom:12px}.rank-filters select{display:block;width:100%;margin-top:7px;border:1px solid #d7dee4;border-radius:9px;padding:11px;background:#f8fafb;color:#1b262f;font-size:14px}.rank-period{display:flex;gap:8px}.rank-period button{border:1px solid #dae0e5;background:#f3f5f7;color:#667480;border-radius:30px;flex:1;padding:9px 4px;font-size:12px}.rank-period button.on{background:#007e60;color:#fff;border-color:#007e60}.rank-list{margin:0 16px 12px!important}.rank-row{display:flex;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f2;gap:12px}.rank-row:last-child{border:0}.rank-medal{width:34px;text-align:center;font-size:17px;font-weight:700;color:#8792a1}.rank-medal.top{font-size:24px}.rank-person{flex:1}.rank-person b{font-size:14px;display:block}.rank-person small{font-size:11px;color:#8a95a3;margin-top:4px;display:block}.rank-row strong{color:#007e60;font-size:16px}.rank-footnote{color:#93a0ab;margin:0 20px 30px;font-size:11px;line-height:1.7}


/* premium ranking page */

#app.ranking-mode{background:#f2f2f5}
#app.ranking-mode main{padding:0 0 96px;background:#f2f2f5}
.ranking-page{min-height:100vh;background:#f2f2f5}
.ranking-hero{position:relative;background:#17003f}
.ranking-topbar{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:14px 14px 0}
.hero-back,.hero-actions span{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ffffff18;color:#fff;border:1px solid #ffffff14;font-size:20px}
.hero-back{border:0}
.hero-actions{display:flex;gap:10px}
.ranking-hero-img{display:block;width:100%;height:auto}
.ranking-shell{margin-top:-8px;border-radius:18px 18px 0 0;background:#f2f2f5;padding:0 10px 8px;position:relative;z-index:2}
.ranking-tabbar{display:flex;gap:0;background:#ececef;border-radius:16px;padding:4px;margin-top:-6px;box-shadow:0 -1px 0 #fff inset}
.ranking-tabbar button{flex:1;border:0;background:transparent;border-radius:13px;padding:14px 6px;font-size:14px;color:#989aa5;font-weight:650}
.ranking-tabbar button.active{background:#fff;color:#23252b;box-shadow:0 2px 10px #00000008}
.ranking-tools{padding:12px 4px 4px}
.ranking-periods{display:flex;gap:8px;flex-wrap:wrap}
.ranking-periods button{border:1px solid #e3e5eb;background:#fff;color:#6d7686;border-radius:18px;padding:7px 16px;font-size:13px}
.ranking-periods button.active{background:#eff5ff;color:#111a2a;border-color:#d7e4ff;font-weight:700;box-shadow:inset 0 0 0 1px #eff5ff}
.ranking-tip{font-size:11px;color:#9aa0ad;line-height:1.6;margin-top:8px;padding-left:2px}
.ranking-filters-card{background:#fff;border:1px solid #eaedf1;border-radius:16px;padding:12px 12px 10px;margin:4px 0 12px;box-shadow:0 5px 14px #1b24300a}
.ranking-filter-block+.ranking-filter-block{margin-top:10px}
.ranking-filter-block label{display:block;color:#7f8794;font-size:12px;font-weight:700;margin-bottom:8px}
.ranking-chip-row{display:flex;flex-wrap:nowrap;gap:8px;overflow:auto;padding-bottom:2px}
.ranking-chip-row::-webkit-scrollbar{display:none}
.rank-chip{border:1px solid #e4e8ee;background:#f7f8fa;border-radius:18px;padding:8px 14px;color:#677282;font-size:12px;white-space:nowrap;flex:0 0 auto}
.rank-chip.on{background:#1f6bff;color:#fff;border-color:#1f6bff;box-shadow:0 8px 14px #1f6bff1f}
.ranking-list-wrap{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.ranking-item{border-radius:16px;overflow:hidden}
.ranking-item-inner{display:flex;align-items:flex-start;gap:10px;padding:16px 12px}
.ranking-item.top .ranking-item-inner{background:#fff8eb;border:1px solid #ead9ff}
.ranking-item.top-1 .ranking-item-inner{border-color:#d9c8ff}
.ranking-item.top-2 .ranking-item-inner{border-color:#eed8bf}
.ranking-item.top-3 .ranking-item-inner{border-color:#f3d5c7}
.ranking-item.normal .ranking-item-inner{background:#fff;border:1px solid #e8ebf0}
.rank-num{width:48px;font-size:18px;font-weight:900;color:#1e232f;line-height:1.2;font-style:italic;padding-top:2px;flex:0 0 48px}
.ranking-item.normal .rank-num{color:#4d57b6}
.rank-main{flex:1;min-width:0}
.rank-line1{display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.5}
.rank-line1 b{font-size:18px;color:#111820}
.rank-online{font-size:12px;color:#ff6a2d;white-space:nowrap}
.rank-tag{font-size:11px;background:#f4b15d;color:#fff;border-radius:10px;padding:2px 7px;white-space:nowrap}
.rank-line2{margin-top:14px;font-size:12px;color:#9a7d55;display:flex;align-items:center;gap:8px}
.ranking-item.normal .rank-line2{color:#8a8f9f}
.rank-line2 span{font-weight:700}
.rank-line2 em{font-style:normal;color:#2b2e34;display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-prod-icon{width:15px;height:15px;border-radius:4px;object-fit:cover;flex:0 0 15px}
.rank-amount{color:#ff6a2d;font-size:18px;font-weight:900;white-space:nowrap;padding-top:2px}
.rank-amount small{font-size:12px;font-weight:700}
.ranking-item.normal .rank-amount{color:#131820}
.ranking-sticky{position:fixed;left:50%;transform:translateX(-50%);bottom:0;max-width:390px;width:100%;background:#fff;padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;border-top:1px solid #e6eaf0;box-shadow:0 -6px 18px #0a17310e;z-index:9}
.ranking-sticky-user{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.ranking-sticky-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#6673ff,#9f4dff);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 40px}
.ranking-sticky-user b{display:block;font-size:14px;color:#161b24;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ranking-sticky-user small{display:block;font-size:12px;color:#7e8594;margin-top:3px}
.ranking-sticky button{border:0;background:linear-gradient(135deg,#6f4cff,#4e38f3);color:#fff;border-radius:22px;padding:14px 22px;font-size:15px;font-weight:800;white-space:nowrap}
@media (min-width:431px){.ranking-sticky{max-width:390px}}

/* 2026-10-28: scoped ranking repair. Prior .top rule forced podium cards to 53px. */
#app.ranking-mode .ranking-item.top{height:auto;min-height:0;position:relative;display:block;overflow:visible;background:transparent}
#app.ranking-mode .ranking-item{width:100%;margin:0;box-sizing:border-box;background:transparent;border-radius:16px}
#app.ranking-mode .ranking-item-inner{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-areas:"pos info amount";align-items:start;column-gap:7px;min-height:92px;padding:13px 12px 12px;box-sizing:border-box;overflow:hidden;border-radius:16px;width:100%;margin:0}
#app.ranking-mode .rank-num{grid-area:pos;min-width:0;width:auto;flex:none;font-size:19px;line-height:24px;padding:0;white-space:nowrap}
#app.ranking-mode .rank-main{grid-area:info;min-width:0;overflow:hidden;display:flex;flex-direction:column;gap:16px}
#app.ranking-mode .rank-line1{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;min-height:24px;line-height:22px}
#app.ranking-mode .rank-line1 b{font-size:14px;line-height:22px;white-space:nowrap}
#app.ranking-mode .rank-online{font-size:11px;line-height:20px;white-space:nowrap}
#app.ranking-mode .rank-tag{font-size:10px;line-height:18px}
#app.ranking-mode .rank-line2{margin-top:0;display:flex;align-items:center;gap:5px;min-width:0;font-size:12px;line-height:19px}
#app.ranking-mode .rank-line2 span{flex:0 0 auto}
#app.ranking-mode .rank-line2 em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app.ranking-mode .rank-amount{grid-area:amount;justify-self:end;align-self:start;text-align:right;white-space:nowrap;font-size:15px;line-height:24px;padding:0;max-width:130px}
#app.ranking-mode .rank-amount small{font-size:11px}
#app.ranking-mode .ranking-list-wrap{gap:10px}
@media(max-width:360px){#app.ranking-mode .ranking-item-inner{grid-template-columns:36px minmax(0,1fr) auto;column-gap:5px;padding:12px 9px}#app.ranking-mode .rank-num{font-size:16px}#app.ranking-mode .rank-amount{font-size:14px}}

#app.ranking-mode .ranking-item.top .ranking-item-inner,#app.ranking-mode .ranking-item.normal .ranking-item-inner{box-shadow:none}

/* 前三名榜单：使用用户提供的渐变边框卡片原图，消除旧样式边框 */
#app.ranking-mode .ranking-item.top,
#app.ranking-mode .ranking-item.top-1,
#app.ranking-mode .ranking-item.top-2,
#app.ranking-mode .ranking-item.top-3 {
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
}
#app.ranking-mode .ranking-list-wrap > .ranking-item { flex: 0 0 auto; width:100%; }
#app.ranking-mode .ranking-item.top .ranking-item-inner,
#app.ranking-mode .ranking-item.top-1 .ranking-item-inner,
#app.ranking-mode .ranking-item.top-2 .ranking-item-inner,
#app.ranking-mode .ranking-item.top-3 .ranking-item-inner {
  box-sizing:border-box;
  width:100%;
  min-height:101px;
  margin:0;
  padding:16px 13px 14px;
  background-color:#fff8ef;
  background-image:url('./rank-top-card.png');
  background-size:100% 100%;
  background-position:center center;
  background-repeat:no-repeat;
  border:0 !important;
  border-radius:0;
  box-shadow:none !important;
}
#app.ranking-mode .ranking-item.top .rank-main {gap:22px}
#app.ranking-mode .ranking-item.top .rank-amount {color:#ff6328}
@media(max-width:360px){
  #app.ranking-mode .ranking-item.top .ranking-item-inner {min-height:99px;padding:14px 10px 12px}
  #app.ranking-mode .ranking-item.top .rank-main {gap:20px}
}

/* PNG rank badges (provided assets), only top 3 */
#app.ranking-mode .ranking-item.top .rank-num{display:flex;align-items:flex-start;justify-content:center;height:48px;overflow:visible;}
#app.ranking-mode .ranking-item.top .rank-number-image{width:44px;height:46px;display:block;object-fit:contain;object-position:center top;max-width:none;}
@media(max-width:360px){#app.ranking-mode .ranking-item.top .rank-number-image{width:38px;height:42px}}

/* rank image extension for positions 4-10 */
#app.ranking-mode .ranking-item.has-rank-image .ranking-item-inner{grid-template-columns:62px minmax(0,1fr) auto;}
#app.ranking-mode .ranking-item.has-rank-image .rank-num{display:flex;align-items:center;justify-content:flex-start;height:48px;overflow:visible;}
#app.ranking-mode .ranking-item.has-rank-image.normal .rank-num{align-items:center;}
#app.ranking-mode .ranking-item.has-rank-image .rank-number-image{display:block;object-fit:contain;object-position:left center;max-width:none;}
#app.ranking-mode .ranking-item.has-rank-image .rank-number-image-top{width:44px;height:46px;}
#app.ranking-mode .ranking-item.has-rank-image .rank-number-image-normal{width:58px;height:42px;}
@media(max-width:360px){#app.ranking-mode .ranking-item.has-rank-image .ranking-item-inner{grid-template-columns:54px minmax(0,1fr) auto;}#app.ranking-mode .ranking-item.has-rank-image .rank-number-image-normal{width:50px;height:36px}}

/* commercial homepage - scoped styles */
#app.commercial-mode{background:#f5f6fa}
#app.commercial-mode main{padding:0 0 82px;background:#f5f6fa}
.commercial-home{color:#1f2134}
.home-purple{background:radial-gradient(circle at 90% 10%,#4c4dc1 0,transparent 50%),linear-gradient(155deg,#17134d,#29227a 75%,#3c2c9c);padding:12px 14px 20px;color:white;border-radius:0 0 23px 23px}
.home-top-row{display:flex;align-items:center;gap:11px}
.home-search-box{display:flex;align-items:center;gap:8px;background:#ffffff25;border:1px solid #ffffff26;border-radius:22px;padding:8px 13px;flex:1;color:#fff}
.home-search-box input{border:0;background:transparent;color:white;width:100%;outline:0;font-size:13px}
.home-search-box input::placeholder{color:#d9d6f5}
.home-support{border:0;background:#ffffff2b;color:#fff;border-radius:50%;height:36px;width:36px;font-size:22px}
.home-brand{padding:21px 6px 12px}.home-brand small{letter-spacing:2px;opacity:.8;font-size:10px}.home-brand h2{font-size:26px;line-height:1.32;margin:8px 0 5px}.home-brand p{font-size:12px;opacity:.75;margin:0}
.home-banner{position:relative;background:linear-gradient(110deg,#4756ff,#9276ff);min-height:133px;border-radius:17px;padding:19px 18px;overflow:hidden;box-shadow:0 9px 20px #08073344}
.home-banner.banner-purple{background:linear-gradient(110deg,#8b42d7,#3f49bc)}.home-banner.banner-orange{background:linear-gradient(110deg,#f3976d,#b955a9)}
.home-banner small{font-size:11px;opacity:.84}.home-banner h3{font-size:21px;margin:7px 0}.home-banner p{margin:0;font-size:12px;opacity:.9}.banner-glyph{position:absolute;right:22px;top:14px;font-size:76px;color:#ffffff3d}
.banner-controls{display:flex;gap:6px;align-items:center;position:absolute;bottom:10px;right:14px}.banner-controls button{background:#ffffff22;border:0;color:#fff;border-radius:50%;width:21px;height:21px}.banner-controls i{width:5px;height:5px;border-radius:4px;background:#ffffff77}.banner-controls i.active{width:16px;background:white}
.home-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:19px}.home-shortcuts button{background:transparent;border:0;color:#fff;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.home-shortcuts small{font-size:11px;white-space:nowrap}.shortcut-symbol{width:47px;height:47px;border-radius:16px;background:linear-gradient(145deg,#a6b4ff,#4453e4);font-size:23px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 12px #04033a33}.shortcut-symbol.s1{background:linear-gradient(145deg,#fbdbaa,#ff8d71)}.shortcut-symbol.s2{background:linear-gradient(145deg,#f9d88e,#f3ac32)}.shortcut-symbol.s3{background:linear-gradient(145deg,#a6f5d2,#27a789)}.shortcut-symbol.s4{background:linear-gradient(145deg,#c3a6ff,#7b65ee)}
.home-white-area{padding:14px 12px 22px}.home-alert{border-radius:12px;background:#fff;display:flex;align-items:center;gap:8px;padding:12px 10px;font-size:11px;box-shadow:0 3px 14px #15154208}.home-alert>span{font-weight:800;color:#6248e7;white-space:nowrap}.home-alert p{margin:0;flex:1;line-height:1.5;color:#50586d;min-width:0}.home-alert button{border:0;background:transparent;color:#7982a0;white-space:nowrap;font-size:11px}
.home-popular,.home-projects{background:#fff;border-radius:16px;padding:14px 12px;margin-top:13px;box-shadow:0 5px 14px #16194007}
.home-section-title{display:flex;align-items:baseline;gap:10px;margin-bottom:13px}.home-section-title b{font-size:17px}.home-section-title small{font-size:11px;color:#a0a4b4}
.home-popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.home-popular-grid button{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.home-popular-grid img{width:49px;height:49px;border-radius:13px;object-fit:cover}.home-popular-grid span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.home-categories{display:flex;overflow:auto;gap:13px;white-space:nowrap;padding:3px 0 12px}.home-categories::-webkit-scrollbar{display:none}.home-categories button{border:0;background:none;font-size:13px;color:#788093;padding:8px 3px;flex-shrink:0}.home-categories button.selected{font-weight:800;color:#5142e9;border-bottom:3px solid #6353f6}
.home-project-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#9298a7;padding:5px 0 12px}.home-project-toolbar button{background:#f4f5fc;border:1px solid #e6e8f2;border-radius:12px;color:#515b73;padding:6px 12px}.home-filter{background:#f8f9ff;border-radius:12px;padding:10px;margin-bottom:12px}.home-filter b{display:block;font-size:12px;margin-bottom:10px}.home-filter div{display:flex;gap:8px;flex-wrap:wrap}.home-filter button{border:1px solid #e2e5ef;background:#fff;padding:7px 10px;border-radius:14px;font-size:12px}.home-filter button.selected{background:#6254f2;color:#fff;border-color:#6254f2}
.home-business-list{display:flex;flex-direction:column;gap:11px}.home-business-card{border:1px solid #edf0f6;border-radius:13px;padding:12px;background:#fff;box-shadow:0 4px 12px #13153b0a}.home-business-head{display:flex;gap:10px;align-items:center}.home-business-head>img{width:52px;height:52px;object-fit:cover;border-radius:12px;flex:0 0 52px}.home-business-info{flex:1;min-width:0}.home-business-info h3{font-size:15px;margin:0 0 8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.home-reward{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.home-reward strong{font-size:16px;color:#f17a3b}.home-reward span,.home-reward em{font-style:normal;font-size:10px;color:#9da3b2}.home-reward em{margin-left:3px}.home-business-head>button{border:0;background:linear-gradient(105deg,#7056ff,#4f46e5);border-radius:18px;color:#fff;font-size:11px;padding:10px 9px;white-space:nowrap}.home-business-card>p{font-size:12px;color:#8a92a1;line-height:1.6;margin:10px 0;border-bottom:1px dashed #edf0f4;padding-bottom:11px}.home-business-foot{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9ba2af}.home-business-foot button{border:0;background:transparent;color:#6c5bf3;font-size:11px}
@media(max-width:360px){.home-shortcuts small{font-size:10px}.shortcut-symbol{width:40px;height:40px}.home-business-head{gap:7px}.home-business-head>img{width:46px;height:46px;flex-basis:46px}.home-business-head>button{padding:8px 6px}}

/* 参考素材重构的商业首页：各图片均来自用户上传素材包 */
#app.commercial-mode,#app.commercial-mode main{background:#f5f5f9}
#app.commercial-mode main{padding:0 0 76px}
.ref-home{font-family:system-ui,-apple-system,"PingFang SC",sans-serif;background:#f5f5f9;color:#262636}
.ref-hero{height:225px;background:#5d41f3 url("home-media/c0e2b9b721477fc2bd64762ef3ab33fe.png") center/100% 100% no-repeat;padding:15px 12px 8px;position:relative}
.ref-search{height:35px;display:flex;gap:9px;align-items:center;border-radius:22px;background:#f4f1ff;margin:0 2px;padding:0 10px;color:#505060}
.ref-search>span{font-size:22px}.ref-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#24233a;font-size:12px}
.ref-search button{border:0;border-radius:50%;background:#6d51f8;width:31px;height:31px;display:grid;place-items:center;margin-right:-6px}.ref-search button img{width:19px;height:19px;object-fit:contain}
.ref-slide{position:relative;height:93px;margin-top:7px;overflow:hidden}.ref-slide>img{width:100%;height:100%;object-fit:contain}.ref-banner-copy{position:absolute;top:10px;left:12px;color:white;pointer-events:none}.ref-banner-copy h2{margin:0 0 4px;font-size:16px;font-weight:800}.ref-banner-copy p{margin:0;font-size:10px;opacity:.8}
.ref-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin-top:10px}.ref-shortcuts button{border:0;background:none;color:#fff;font-size:11px;font-weight:650;display:flex;align-items:center;flex-direction:column;gap:5px;white-space:nowrap;padding:0}.ref-shortcuts img{height:33px;width:33px;object-fit:contain}
.ref-body{background:#f3f3f8;border-radius:16px 16px 0 0;position:relative;margin-top:-8px;padding:9px 9px 18px}
.ref-notice{background:white;display:flex;align-items:center;gap:8px;border-radius:10px;min-height:43px;padding:8px 10px;font-size:11px}.ref-notice img{width:26px;max-height:21px;object-fit:contain}.ref-notice>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.ref-notice button{border:0;background:none;color:#a4a4ae;font-size:10px;white-space:nowrap;padding:0}
.ref-featured{background:#fff;margin-top:10px;border-radius:13px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:14px 7px 12px}
.ref-featured button{background:transparent;border:0;min-width:0;display:flex;align-items:center;flex-direction:column;gap:7px;font-size:10px;color:#333;white-space:nowrap;padding:0}.ref-featured button>img{width:38px;height:38px;object-fit:cover;border-radius:9px}.ref-featured button>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}.ref-feature-more{width:38px;height:38px;border-radius:8px;background:#f5f5f9;display:grid;place-items:center;font-size:27px;color:#6753f3}
.ref-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin-top:11px;background:#ececf2;border-radius:14px 14px 0 0;overflow:hidden}.ref-tabs button{border:0;background:transparent;color:#9a9eaf;padding:12px 0;font-size:14px;font-weight:650}.ref-tabs button.active{color:#252633;background:#fff;border-radius:14px 14px 0 0}.ref-tabs button.active:after{content:'';display:block;width:17px;height:3px;background:#6c55ff;border-radius:4px;margin:5px auto -8px}
.ref-category{display:flex;align-items:center;background:#fff;padding:10px 7px 10px;gap:6px}.ref-chip-scroll{display:flex;gap:6px;flex:1;min-width:0;overflow:auto;scrollbar-width:none}.ref-chip-scroll::-webkit-scrollbar{display:none}.ref-chip-scroll button{border:0;border-radius:6px;background:#f3f3f7;color:#404354;padding:7px 9px;font-size:12px;white-space:nowrap}.ref-chip-scroll button.active{background:#f2f0ff;color:#664afa;outline:1px solid #6752ff}.ref-filter-btn{border:0;background:white;padding:2px;display:grid;place-items:center}.ref-filter-btn img{width:17px;height:17px;object-fit:contain}
.ref-task-list{display:flex;flex-direction:column;gap:10px;background:#f5f5f9;padding-top:7px}.ref-task{background:#fff;border-radius:12px;padding:13px 12px 10px;box-shadow:0 2px 6px #23203408}.ref-task-top{display:flex;align-items:center;gap:9px}.ref-task-avatar{width:47px;height:47px;object-fit:cover;border-radius:11px}.ref-task-name{flex:1;min-width:0}.ref-task-name b{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-reward{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}.ref-reward span{color:#6851fa;font-size:10px;background:#f1efff;padding:2px 4px;border-radius:3px}.ref-task-top>button{border:0;border-radius:6px;padding:9px 10px;background:#6550f9;color:white;font-size:12px;font-weight:750;white-space:nowrap}.ref-task-desc{font-size:11px;color:#858694;line-height:1.6;margin:10px 0 9px;min-height:18px}.ref-task-foot{background:#f7f7fa;border-radius:8px;display:flex;align-items:center;gap:5px;min-height:34px;padding:7px;font-size:10px;color:#7e8193}.ref-task-foot img{width:15px;height:15px;object-fit:contain}.ref-task-foot>span{flex:1}.ref-task-foot button{border:0;background:none;color:#52536b;font-size:10px}.ref-empty{padding:24px;text-align:center;font-size:12px;color:#888}
#app.commercial-mode nav{height:54px;background:white;padding:1px 5px 3px;border-top:1px solid #e8e8ed}#app.commercial-mode nav button{border-radius:0;gap:0;font-size:10px;color:#707184}#app.commercial-mode nav button.selected{color:#694ffa;background:none}#app.commercial-mode nav button img{height:22px;width:22px;object-fit:contain;margin-bottom:3px}

/* Banner uses artwork with embedded copy; no redundant HTML text overlay. */
.ref-banner-copy{display:none!important}

/* Segmented controls and synchronized touch-swipe panels */
.ref-tabs{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#eeedf4;padding:4px;border-radius:17px;margin:11px 0 0;overflow:hidden;isolation:isolate}
.ref-tabs .segmented-thumb{position:absolute;z-index:0;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/3);background:#fff;border-radius:13px;box-shadow:0 2px 10px #211a5a12;transition:transform 340ms cubic-bezier(.2,.85,.22,1);pointer-events:none}
.ref-tabs button,.ref-tabs button.active{position:relative;z-index:1;background:transparent;border:0;border-radius:13px;padding:14px 2px;color:#9296a8;transition:color 280ms ease;font-size:14px;font-weight:650;min-width:0}
.ref-tabs button.active{color:#242635}
.ref-tabs button.active:after{display:none}
.ref-tabs button:focus-visible,.ref-chip-scroll button:focus-visible{outline:2px solid #684dff;outline-offset:-2px}
.ref-chip-scroll button{position:relative;border-radius:4px;background:transparent}
.ref-chip-scroll button.active{outline:none;background:#f2f0ff;color:#6350ff}
.ref-chip-scroll button.active:after{content:"";position:absolute;bottom:0;left:20%;right:20%;height:2px;background:#684dff;border-radius:2px}
.market-panels{overflow:hidden;width:100%;touch-action:pan-y}
.market-panel-track{display:flex;width:300%;will-change:transform;transition:transform 340ms cubic-bezier(.2,.85,.22,1)}
.market-panel{width:33.333333%;min-width:0;flex:0 0 33.333333%;box-sizing:border-box}
.market-panel .ref-task-list{min-height:135px}
@media(prefers-reduced-motion:reduce){.ref-tabs .segmented-thumb,.market-panel-track,.ref-tabs button{transition:none!important}}

/* Reference screenshot: raised trapezoid tabs with violet underline */
.ref-tabs{background:linear-gradient(180deg,#f7f7fb,#e9e9f2)!important;border-radius:13px 13px 0 0!important;overflow:visible!important;padding:0!important;gap:0!important;margin-top:10px!important}
.ref-tabs .segmented-thumb{top:0!important;left:0!important;bottom:0!important;width:33.333333%!important;border-radius:15px 15px 0 0!important;box-shadow:0 -3px 13px #b6b8cf24!important;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)!important;background:#fff!important}
.ref-tabs button,.ref-tabs button.active{padding:15px 0 12px!important;border-radius:0!important;font-weight:700!important}
.ref-tabs button.active:after{display:block!important;content:"";height:3px;width:17px;margin:5px auto -8px;background:#684fff;border-radius:4px}
.ref-category{border-radius:0 0 12px 12px!important}

/* 常用项目 BottomSheet */
.ref-feature-more{display:flex!important;align-items:center;justify-content:center;font-size:0!important}
.common-more-icons{display:grid;grid-template-columns:repeat(2,1fr);gap:2px;width:31px;height:31px}
.common-more-icons img{width:14px;height:14px;object-fit:cover;border-radius:3px}
.common-sheet-root{position:fixed;inset:0;z-index:60;pointer-events:none;max-width:430px;margin:0 auto}
.common-sheet-root.is-open{pointer-events:auto}
.common-sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);opacity:0;transition:opacity .28s ease}
.common-sheet-root.is-open .common-sheet-backdrop{opacity:1}
.common-sheet{position:absolute;bottom:0;left:0;right:0;height:min(80dvh,760px);background:#f5f6fa;border-radius:18px 18px 0 0;transform:translateY(100%);transition:transform .28s cubic-bezier(.22,.8,.25,1);display:flex;flex-direction:column;overflow:hidden;outline:none}
.common-sheet-root.is-open .common-sheet{transform:translateY(0)}
.common-sheet-header{height:49px;flex:0 0 49px;background:#fff;border-bottom:1px solid #eceef3;display:flex;justify-content:center;align-items:center;position:relative;font-size:16px;color:#191d27}
.common-sheet-close{position:absolute;right:14px;top:12px;border:0;background:#e6e7ec;color:#9ba1ac;width:23px;height:23px;border-radius:50%;font-size:17px;line-height:20px}
.common-sheet-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:0 12px 25px;scrollbar-width:thin}
.common-sheet-title{display:flex;align-items:center;justify-content:space-between;padding:17px 0 12px;color:#232733;font-size:14px}
.common-sheet-title button{border:0;background:none;font-size:13px;color:#333c51}
.common-fav-empty{height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#5e6471}
.common-empty-illustration{font-size:65px;line-height:72px;color:#8c74ff;transform:rotate(-8deg);filter:drop-shadow(8px 7px 0 #dfe0e8)}
.common-fav-empty button{border:0;background:none;font-size:13px;color:#515769}
.common-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.common-project-card{background:#fff;border:0;border-radius:13px;padding:12px 10px 9px;text-align:left;min-width:0;color:#191d25}
.common-card-main{display:flex;align-items:start;justify-content:space-between;gap:7px;min-height:50px}
.common-card-main>div{min-width:0;flex:1}
.common-card-main b{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
.common-card-main small{display:block;color:#8d92a1;font-size:11px;margin-top:4px}
.common-card-main img.project-icon{width:38px;height:38px;border-radius:9px;flex-shrink:0}
.common-card-date{background:#f7f8fb;color:#8e94a5;font-size:11px;padding:9px 8px;border-radius:9px;display:flex;justify-content:space-between;margin-top:9px}
.common-card-date span{color:#6552ff}
.common-sheet-hint{font-size:12px;color:#9ca3b2;margin:0 0 12px}
.common-fav-list{display:flex;flex-direction:column;gap:8px}
.common-fav-row{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:9px 12px;border-radius:12px}
.common-fav-row span{display:flex;align-items:center;gap:10px;font-size:13px}
.common-fav-row .project-icon{width:30px;height:30px}
.common-fav-row input{accent-color:#6650ff}
.common-save{width:100%;margin:14px 0;border:0;border-radius:12px;padding:13px;background:#6650ff;color:#fff;font-weight:700}
@media(prefers-reduced-motion:reduce){.common-sheet,.common-sheet-backdrop{transition:none}}

/* Screenshot-aligned common projects bottom sheet V5 */
#app .common-sheet-root{z-index:90}
#app .common-sheet{height:min(calc(100dvh - 170px),790px);min-height:min(650px,85dvh);background:#f5f6fb;border-radius:16px 16px 0 0}
#app .common-sheet-header{height:47px;flex-basis:47px;background:#f5f6fb;font-size:16px;font-weight:800;border-bottom:1px solid #e9eaf0}
#app .common-sheet-close{width:19px;height:19px;top:14px;right:13px;background:#dedfe5;color:#a2a5ad;font-size:15px;font-weight:700;line-height:17px;padding:0}
#app .common-sheet-scroll{padding:0 12px 26px}
#app .common-sheet-title{padding:15px 0 9px;font-size:14px;color:#242631;font-weight:500}
#app .common-sheet-title b{font-weight:500}
#app .common-sheet-title button{font-size:13px;color:#292d36;padding:0 2px}
#app .common-manage-icon{font-size:17px;vertical-align:-1px;color:#4b4e57}
#app .common-fav-empty{height:206px;gap:8px;justify-content:center;padding-bottom:10px}
#app .common-empty-art{display:block;width:86px;height:103px;filter:drop-shadow(6px 5px 0 #e2e3eb)}
#app .common-fav-empty button{font-size:13px;color:#575b68;padding:4px}
#app .common-recent-title{padding-top:16px;padding-bottom:14px}
#app .common-recent-title>span{color:#9aa0af;font-size:11px}
#app .common-project-grid{gap:10px}
#app .common-project-card{min-height:104px;background:#fff;border-radius:13px;padding:12px 10px 9px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:none}
#app .common-card-main{height:48px;min-height:48px;gap:4px}
#app .common-card-copy{min-width:0;flex:1}
#app .common-card-copy b{font-size:12.5px;font-weight:750;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all;color:#161922}
#app .common-card-copy small{font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#848b9b}
#app .common-item-icon{height:36px;width:36px;flex:0 0 36px;object-fit:cover;border-radius:8px}
#app .common-card-date{height:34px;margin:7px 0 0;align-items:center;padding:7px 8px;font-size:10px;background:#f8f9fb;white-space:nowrap;gap:3px;letter-spacing:-.1px}
#app .common-card-date span{color:#939bac;overflow:hidden;text-overflow:ellipsis}
#app .common-card-date i{font-style:normal;color:#b0bad1}
#app .common-card-date strong{font-size:10px;color:#6350ff;white-space:nowrap;font-weight:700}
@media(max-width:355px){#app .common-card-date{font-size:9px;padding:6px 4px}#app .common-card-date strong{font-size:9px}#app .common-project-card{padding:10px 7px 8px}}

/* Unified five-item bottom navigation — all top-level routes */
#app nav#bottom{height:58px;max-width:390px;width:100%;padding:3px 4px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8e8ed;gap:0;box-sizing:content-box;z-index:11}
#app nav#bottom button{width:20%;flex:1;min-width:0;padding:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:0;background:transparent;border-radius:0;color:#757989;font-size:11px;font-weight:500}
#app nav#bottom button img{width:23px;height:23px;display:block;object-fit:contain;margin:0}
#app nav#bottom button.selected{background:transparent;color:#674eff;font-weight:700}
#app nav#bottom button:focus-visible{outline:2px solid #674eff;outline-offset:-3px}
.search-route-head{padding:15px 16px 0;color:#262638}.search-route-head p{margin:4px 0;color:#85899a;font-size:12px}

/* v6: ensure five-tab layout on every route independently of former commercial styles */
#app nav#bottom{display:flex!important;gap:0!important;justify-content:space-around!important;box-sizing:border-box!important;height:64px!important;max-width:390px!important;z-index:20!important;}
#app nav#bottom[style*="none"]{display:none!important;}
#app nav#bottom button{flex:1 1 20%!important;width:20%!important;background:transparent!important;color:#737787!important;border-radius:0!important;}
#app nav#bottom button.selected{color:#6950ff!important;background:transparent!important;}
#app nav#bottom img{height:23px!important;width:23px!important;}

/* personal center visual refresh V7 */
#app:has(.profile-page){background:#f5f6f8}
#app:has(.profile-page) .top{display:none!important}
#app:has(.profile-page) #content{padding:0!important;padding-bottom:78px!important;background:#f5f6f8}
.profile-page{padding:0 8px 22px;color:#161925;background:linear-gradient(180deg,#deebf7 0,#f5f6f8 280px)}
.profile-user{height:80px;display:flex;gap:9px;align-items:center;padding:10px 12px 8px}
.profile-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #fff;flex-shrink:0}
.profile-user-details{flex:1;min-width:0}.profile-name{font-size:17px;font-weight:800;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden}.profile-vip{width:23px;height:23px;object-fit:contain}.profile-id{font-size:11px;color:#697f9e;margin-top:5px;white-space:nowrap}.profile-id button{border:0;background:transparent;color:#40526b;font-size:11px}.profile-edit{border:0;background:#d5e3f3;border-radius:20px;color:#687c97;font-size:11px;padding:7px 10px;align-self:flex-start;margin-top:9px}
.profile-benefit{margin:0 4px 12px;border-radius:15px;background:linear-gradient(135deg,#627da5,#35456d);padding-top:0;overflow:hidden}
.profile-level{height:49px;color:#e4edff;display:flex;align-items:center;padding:0 13px;gap:8px;font-size:12px}.profile-level span:first-child{font-weight:800;font-size:13px;white-space:nowrap}.profile-level span:nth-child(2){opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-level span:last-child{margin-left:auto;white-space:nowrap;font-size:11px}
.profile-earnings{background:linear-gradient(165deg,#f8fbff,#fff 75%);border-radius:14px;padding:13px 14px 0;min-height:168px}.profile-income-row{display:flex;align-items:center;justify-content:space-between}.profile-income-title{font-size:12px;color:#526478}.profile-wallet-btn{border:0;background:transparent;padding:0;width:93px;height:30px}.profile-wallet-btn img{width:100%;height:100%;object-fit:contain}.profile-earnings>strong{font-size:26px;display:block;margin:-3px 0 6px;color:#142335}.profile-income-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#f8f9fc;border-radius:10px;padding:12px 3px;gap:0}.profile-income-stats div{text-align:center;border-right:1px solid #e7e9f0;font-size:11px;color:#9aa4b3}.profile-income-stats div:last-child{border:0}.profile-income-stats b{display:block;color:#172030;font-size:16px;margin-top:4px}.profile-disclaimer{font-size:9px;color:#a6adba;padding:5px 2px}.profile-notice{display:flex;align-items:center;gap:8px;border-top:1px solid #eff0f3;padding:9px 0;height:37px}.profile-notice img{width:34px;height:17px;object-fit:contain}.profile-notice span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#414758;flex:1}.profile-notice span:last-child{color:#c6c9cf}
.profile-section{background:white;border-radius:16px;margin:12px 4px;padding:16px 13px}.profile-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:15px}.profile-section-title b span{color:#d0d2d8;font-size:12px}.profile-section-title a{font-size:11px;color:#a5aab4}.profile-team-panel{border-radius:12px;background:#f5f6fa;padding:3px 10px}.profile-team-row{display:flex;align-items:center;gap:8px;min-height:40px;font-size:12px;border-bottom:1px solid #ebedf2}.profile-team-row span{color:#66718b}.profile-team-row b{flex:1;font-size:12px;font-weight:550;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.profile-team-row button{border:0;background:none;color:#69738a;font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:3px}.profile-team-row button img{width:58px;height:24px;object-fit:contain}.profile-team-row.last{border:0}.profile-team-links{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e8ebf0}.profile-team-links button{background:transparent;border:0;padding:14px 1px;color:#242b35;font-size:12px;white-space:nowrap}
.profile-more{padding:17px 10px 20px}.profile-more h3{font-size:15px;margin:0 0 17px 8px}.profile-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);row-gap:23px}.profile-tool{background:transparent;border:0;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;font-size:11px;color:#28313d}.profile-tool img{width:26px;height:26px;object-fit:contain}.profile-tool span{white-space:nowrap}.profile-logout,.profile-admin{width:calc(100% - 8px);margin:8px 4px;padding:12px;background:#fff;border:1px solid #e5e8ee;border-radius:12px;color:#55657a}.profile-admin{color:#6754f6}.profile-version{text-align:center;color:#a7afbd;font-size:10px;margin:13px}
@media(max-width:350px){.profile-tool{font-size:10px}.profile-section{padding-left:10px;padding-right:10px}.profile-level{gap:4px;font-size:10px}}

/* Profile routed subpages */
.profile-subpage{padding:14px 12px 90px}.profile-subpage .card{border-radius:15px}.profile-subpage .card h3{margin:0 0 16px}.profile-subpage .outline,.profile-subpage .primary{margin-top:12px}.profile-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-report-grid>div{padding:14px 10px;background:#f4f4fa;border-radius:12px;color:#7e8292;font-size:12px}.profile-report-grid b{display:block;font-size:20px;color:#222;margin-top:7px}.profile-notice-row{border-bottom:1px solid #eceef3;padding:12px 0;display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}.profile-notice-row small{width:100%;color:#8890a0}.settings-line{padding:12px 0;color:#5c6373}

/* NOTICE V9: independent announcement list and article */
#app:has(.notice-center),#app:has(.notice-article){background:#f3f4f8}
#content:has(.notice-center),#content:has(.notice-article){padding:10px 12px 86px!important}
.notice-center{padding:0 0 20px}
.notice-switch{height:48px;border-radius:13px;background:#e9eaf1;padding:4px;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:12px}
.notice-switch button{border:0;border-radius:10px;background:transparent;color:#8290a7;font-size:14px}
.notice-switch button.selected{background:white;color:#101a2d;font-weight:700;box-shadow:0 2px 8px #00000008}
.notice-cards{display:grid;gap:10px}
.notice-list-card{background:#fff;border-radius:15px;padding:14px 16px 0;overflow:hidden;cursor:pointer}
.notice-list-card h3{font-size:15px;line-height:1.5;font-weight:750;color:#071c42;margin:0 0 9px}
.notice-meta{font-size:11px;color:#8490a1;display:flex;gap:8px;align-items:center;margin-bottom:11px}
.notice-meta span{background:#f0f2f6;padding:1px 5px}
.notice-banner{display:flex;align-items:center;justify-content:center;height:62px;color:white;font-weight:900;font-size:25px;background:linear-gradient(115deg,#125be8,#08359c);letter-spacing:2px;margin-bottom:12px;overflow:hidden}
.notice-banner.danger{height:46px;background:#e11b20;font-size:18px;letter-spacing:0}
.notice-excerpt{font-size:13px;color:#8792a4;line-height:1.5;margin:4px 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.notice-view{display:flex;justify-content:space-between;align-items:center;border:0;background:white;border-top:1px solid #f1f2f5;width:100%;height:40px;font-size:12px;color:#18212f;text-align:left;padding:0}
.notice-view span{font-size:22px;color:#4d5563}
.notice-empty{background:#fff;padding:60px 16px;text-align:center;color:#8b94a3;border-radius:14px}
.notice-article{background:#fff;margin:-10px -12px -86px;padding:16px 13px 42px;min-height:calc(100vh - 50px);color:#101319}
.notice-article h1{font-size:19px;line-height:1.4;margin:0 0 17px;font-weight:800;color:#111}
.notice-article-meta{display:flex;align-items:center;gap:8px;color:#718096;font-size:12px;margin-bottom:20px}
.notice-publisher-icon{border-radius:50%;width:22px;height:22px;background:#7464f8;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.notice-article-banner{background:linear-gradient(110deg,#125be8,#08359c);color:white;text-align:center;padding:11px 8px;font-size:21px;font-weight:900;margin-bottom:20px}
.notice-article-banner.danger{background:#df171a;color:#ffe400;font-size:18px}
.notice-article-body{font-size:14px;line-height:1.75}
.notice-article-body p{margin:0 12px 17px}
.notice-article-body h3{color:#e32127;font-size:16px;margin:20px 12px 8px}
.notice-article-body li{margin-bottom:7px}
.notice-example-note{font-size:11px;color:#8993a4;border-top:1px solid #eceef1;margin-top:24px;padding-top:14px}

/* Project introduction page v10 */
#app.intro-mode #content{padding:0!important;background:#f6f7f9;padding-bottom:138px!important}
.intro-page{background:#f7f8fa;min-height:100vh;padding-bottom:132px}
.intro-dark{background:linear-gradient(120deg,#19102e,#0b0618 64%,#180b29);padding:15px 17px 16px;color:white}
.intro-top-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}
.intro-top-controls>div{display:flex;gap:12px}.intro-top-controls button{border:1px solid #ffffff24;color:white;background:#ffffff08;width:36px;height:36px;border-radius:22px;font-size:21px}
.intro-project{display:flex;gap:11px;align-items:center;margin-bottom:19px}.intro-project>img{height:48px;width:48px;object-fit:cover;border-radius:9px}.intro-project>div{flex:1;min-width:0}.intro-project b{display:block;font-size:15px}.intro-project small{display:block;font-size:10px;color:#d1c3fc;margin-top:7px}.intro-project>button{border:1px solid #ffffff2d;border-radius:20px;background:#ffffff09;color:white;padding:9px;font-size:12px}
.intro-table{display:grid;grid-template-columns:1.3fr .8fr .7fr 1fr;background:#ffffff13;border-radius:9px;overflow:hidden;margin-bottom:18px}.intro-table>div{padding:12px 8px;font-size:11px;border-right:1px solid #ffffff08;border-bottom:1px solid #ffffff07;white-space:nowrap}.intro-table>div:nth-child(-n+4){background:#ffffff0c;color:#c3bdd3}
.intro-announcement{border-radius:8px;background:#ffffff18;padding:12px 13px;font-size:11px;display:flex;justify-content:space-between}.intro-light{margin-top:-1px;background:#fff;border-radius:18px 18px 0 0;overflow:hidden}.intro-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #eee}.intro-tabs button{height:46px;background:#fff;border:0;color:#9395a3;font-size:13px;position:relative}.intro-tabs button.active{font-weight:700;color:#141922}.intro-tabs button.active:after{content:'';height:3px;width:20px;border-radius:3px;background:#191c23;position:absolute;bottom:3px;left:calc(50% - 10px)}
.intro-body{margin:10px 12px 0;border-radius:12px;background:#f7f8fa;padding:20px 15px;color:#242936;font-size:14px;line-height:1.95;min-height:420px}.intro-body h3{font-size:16px;margin:8px 0 16px}.intro-body p{margin:0 0 12px}.intro-body ol{padding-left:20px}.intro-longpic{width:100%;height:auto;display:block;margin:12px 0;border-radius:5px}.intro-inline-btn{background:#5c3df5;color:#fff;border:0;border-radius:10px;padding:10px 15px}
.intro-bottom{position:fixed;z-index:80;bottom:0;left:50%;transform:translateX(-50%);max-width:390px;width:100%;background:#fff;border-radius:13px 13px 0 0;box-shadow:0 -4px 16px #10102316;padding-bottom:env(safe-area-inset-bottom)}.intro-short{height:45px;display:flex;align-items:center;gap:9px;background:#f4f5f8;padding:0 14px;font-size:12px}.intro-short span{color:#f35a28}.intro-bottom-actions{display:grid;grid-template-columns:72px 1fr 1fr;gap:10px;align-items:center;padding:10px 14px}.intro-bottom-actions button{height:44px;border:0;border-radius:13px;color:white;background:#5738f4;font-size:16px}.intro-bottom-actions .intro-community{background:white;color:#353440;font-size:19px;display:flex;align-items:center;justify-content:center;flex-direction:column}.intro-community small{font-size:10px}

/* V11 回填记录 */
#app:has(.bf-page){background:#f4f5fa}#app:has(.bf-page) .top{display:none!important}#app:has(.bf-page) main{padding:0!important;height:100dvh;overflow:hidden}.bf-page{height:100dvh;background:#f4f5fa;display:flex;flex-direction:column;box-sizing:border-box;color:#1b2130;font-size:13px}.bf-controls{padding:12px 12px 0;flex:0 0 auto}.bf-pickers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bf-select-wrap{min-width:0;height:40px;border-radius:10px;background:white;display:flex;gap:6px;align-items:center;padding:0 10px;box-sizing:border-box}.bf-select-wrap img{width:24px;height:24px;object-fit:cover;border-radius:50%}.bf-select-wrap select{min-width:0;flex:1;border:0;background:transparent;outline:0;font-size:13px;color:#161921;text-overflow:ellipsis}.bf-select-wrap>span:last-child{color:#5d6168}.bf-account-icon{font-size:24px;color:#6249fc}.bf-status{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.bf-status button{background:#fff;border:0;border-radius:7px;min-height:34px;font-size:12px;white-space:nowrap;color:#161921}.bf-status button.on{background:#ebe4ff;color:#6249fc}.bf-search{display:flex;align-items:center;background:#fff;border-radius:12px;gap:8px;padding:0 13px;height:39px}.bf-search span{font-size:21px;color:#323c4b}.bf-search input{border:0;background:transparent;flex:1;min-width:0;outline:0;font-size:13px}.bf-results{overflow:auto;flex:1;padding:12px 12px 92px}.bf-empty{text-align:center;color:#8793b0;padding-top:76px}.bf-empty svg{display:block;margin:auto}.bf-empty p{margin:10px 0}.bf-record{background:white;border-radius:13px;padding:14px;margin-bottom:10px}.bf-record-head{display:flex;align-items:center;gap:8px}.bf-record-head b{flex:1}.bf-state{color:#6a54ec;font-size:12px}.bf-state.approved{color:#008865}.bf-state.rejected{color:#d75635}.bf-record-url{overflow-wrap:anywhere;color:#8a94a8;font-size:12px;margin:12px 0}.bf-record-bottom{border-top:1px solid #f0f1f6;padding-top:10px;display:flex;justify-content:space-between;align-items:center;color:#9ba3b2}.bf-record-bottom button{border:0;background:transparent;color:#6750f7}.bf-footer{background:white;padding:12px 16px calc(12px + env(safe-area-inset-bottom));position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:38% 1fr;gap:12px}.bf-footer button,.bf-sheet .bf-main{border:0;border-radius:12px;height:48px;font-size:15px}.bf-batch{background:#eff0f4}.bf-main{background:#6042ef;color:#fff}.bf-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:center}.bf-mask{position:absolute;inset:0;background:#0009}.bf-sheet{position:relative;width:min(100%,390px);box-sizing:border-box;background:white;border-radius:20px 20px 0 0;padding:20px 18px calc(24px + env(safe-area-inset-bottom));animation:bf-slide .25s ease-out}.bf-sheet-header{display:flex;align-items:center;justify-content:space-between;font-size:17px}.bf-sheet-header button{border:0;background:#eee;border-radius:50%;width:28px;height:28px;font-size:20px}.bf-sheet p{color:#7f8796;font-size:13px;line-height:1.6}.bf-sheet textarea{box-sizing:border-box;width:100%;height:110px;border:1px solid #e3e5ea;border-radius:10px;padding:12px;resize:none;margin:6px 0 15px}.bf-sheet .bf-main{width:100%}@keyframes bf-slide{from{transform:translateY(100%)}to{transform:translateY(0)}}

/* V12 backfill project/account selectors */
body.bf-picker-open{overflow:hidden}.bf-pick-button{border:0;cursor:pointer;text-align:left;font:inherit}.bf-picker-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;color:#242532}.bf-picker-overlay{position:fixed;inset:0;z-index:11000;display:flex;justify-content:center;align-items:flex-end}.bf-picker-mask{position:absolute;inset:0;background:rgba(13,13,20,.48)}.bf-picker-panel{position:relative;background:#f5f6fb;width:min(100%,390px);height:min(83dvh,800px);border-radius:22px 22px 0 0;display:flex;flex-direction:column;overflow:hidden;animation:bf-slide .28s cubic-bezier(.2,.9,.2,1)}.bf-picker-title{height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;font-size:17px;color:#151821;position:relative}.bf-picker-title button{position:absolute;right:15px;top:14px;background:#dadddf;color:#9499a0;border:0;width:24px;height:24px;border-radius:50%;font-size:20px;line-height:21px}.bf-picker-market{display:grid;grid-template-columns:1fr 1fr;gap:0;background:white;border-radius:8px;margin:0 12px 12px;padding:3px}.bf-picker-market button{height:36px;border:0;background:white;border-radius:6px;font-size:13px}.bf-picker-market button.selected{background:#5b42f4;color:white}.bf-picker-search{margin:0 12px 12px;height:38px;border-radius:10px;background:white;display:flex;align-items:center;gap:8px;padding:0 12px}.bf-picker-search span{font-size:23px;color:#808895}.bf-picker-search input{border:0;background:none;outline:0;min-width:0;flex:1;font-size:13px}.bf-picker-cats{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 12px 12px;flex:none}.bf-picker-cats button{flex:none;background:white;border:1px solid transparent;border-radius:8px;min-height:30px;padding:0 12px;font-size:12px;color:#4b4f5b}.bf-picker-cats button.selected{border-color:#6245fc;color:#6245fc;background:#f5f2ff}.bf-picker-list{background:white;overflow-y:auto;flex:1;overscroll-behavior:contain}.bf-project-row{width:100%;border:0;border-bottom:1px solid #eef0f4;background:white;min-height:62px;padding:9px 20px;display:flex;align-items:center;gap:10px;text-align:left}.bf-project-row>img{width:39px;height:39px;border-radius:9px;object-fit:cover}.bf-project-summary{flex:1;min-width:0}.bf-project-summary b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#111}.bf-project-summary small{display:block;color:#8f96a4;font-size:11px;margin-top:5px}.bf-project-badge{padding:7px 13px;background:#efeaff;color:#5c3bf3;border-radius:25px;font-size:12px}.bf-project-badge.current{color:#a8aab0;background:#f1f2f4}.bf-picker-no-results{text-align:center;padding:65px 10px;color:#9aa3b4}.bf-picker-account{background:white;height:min(90dvh,880px)}.bf-picker-account .bf-picker-search{background:#f5f6fa;margin:4px 18px 12px}.bf-account-all{border:0;border-radius:9px;height:58px;background:#e7e2ff;margin:0 18px;display:flex;align-items:center;gap:12px;padding:0 16px;text-align:left;color:#5c41f6;font-size:15px}.bf-avatar{background:#6c51f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;width:32px;height:32px;font-size:23px}.bf-check{margin-left:auto;background:#6750eb;color:white;border-radius:50%;width:16px;height:16px;font-size:12px;text-align:center}.bf-account-empty{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#6950fa;font-size:13px;gap:9px}.bf-account-empty-symbol{font-size:58px;color:#dadce1}.bf-account-footer{border-top:1px solid #e9eaf0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;justify-content:center}.bf-account-footer button{border:1px solid #6045ff;background:#e8e1ff;color:#6045ff;border-radius:22px;width:70%;height:44px}

/* V13 picker robust hit targets / overlay */
#app .bf-pickers .bf-pick-button{position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;cursor:pointer;}
#app .bf-pickers .bf-pick-button > *{pointer-events:none;}
body>.bf-picker-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;}
body>.bf-picker-overlay>.bf-picker-panel{z-index:1;max-height:92dvh;}
body>.bf-picker-overlay>.bf-picker-mask{z-index:0;}
