
/* ===== 全局基础样式优化 ===== */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;background:#f5f7fa;color:#1e293b;font-size:14px;line-height:1.6;margin:0;padding:0}

/* 输入框优化 */
.input,input[type=text],input[type=number],input[type=tel],input[type=password],select,textarea{
  width:100%;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px;
  font-size:14px;color:#1e293b;background:#fff;transition:all .2s;outline:none;
  font-family:inherit;
}
.input:focus,input:focus,select:focus,textarea:focus{
  border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1);
}
.input::placeholder,input::placeholder,textarea::placeholder{color:#cbd5e1}
textarea{resize:vertical;min-height:80px}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}

/* 按钮优化 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border:none;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;outline:none;font-family:inherit;white-space:nowrap}
.btn:active{transform:scale(.97)}
.btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px rgba(102,126,234,.3)}
.btn.primary:hover{box-shadow:0 6px 16px rgba(102,126,234,.4)}
.btn.ghost{background:#f1f5f9;color:#475569}
.btn.ghost:hover{background:#e2e8f0}
.btn.danger{background:#fef2f2;color:#dc2626}
.btn.danger:hover{background:#fee2e2}
.btn.sm{padding:6px 12px;font-size:12px;border-radius:8px}
.btn.big{padding:14px 28px;font-size:16px;border-radius:12px;width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* 卡片优化 */
.card{background:#fff;border-radius:14px;padding:16px;margin:12px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.card-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f1f5f9}

/* 标签优化 */
.tag{display:inline-block;padding:3px 10px;border-radius:6px;font-size:11px;font-weight:500;line-height:1.5}
.tag-blue{background:#dbeafe;color:#2563eb}
.tag-green{background:#dcfce7;color:#16a34a}
.tag-orange{background:#ffedd5;color:#ea580c}
.tag-red{background:#fee2e2;color:#dc2626}
.tag-purple{background:#f3e8ff;color:#9333ea}
.tag-gray{background:#f1f5f9;color:#64748b}

/* 状态标签 */
.st{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500}
.st-g{background:#dcfce7;color:#16a34a}
.st-b{background:#dbeafe;color:#2563eb}
.st-o{background:#ffedd5;color:#ea580c}
.st-r{background:#fee2e2;color:#dc2626}

/* 空状态 */
.empty{text-align:center;padding:40px 20px;color:#94a3b8;font-size:14px}

/* 列表项 */
.list{padding:12px}
.o-card{background:#fff;border-radius:12px;padding:14px;margin-bottom:10px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.o-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.o-name{font-size:15px;font-weight:600;color:#1e293b}
.o-sub{font-size:13px;color:#64748b;margin-bottom:6px}
.o-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#94a3b8}
.o-time{color:#94a3b8}

/* 顶部栏 */
.topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
.tb-brand{font-size:18px;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.tb-back{font-size:20px;color:#475569;cursor:pointer;padding:4px 8px}
.tb-title{font-size:16px;font-weight:600;color:#1e293b;flex:1;text-align:center}

/* 底部导航（高端版） */
.bottombar{display:flex !important;position:fixed !important;bottom:0 !important;left:0 !important;right:0 !important;width:100% !important;max-width:none !important;transform:none !important;background:rgba(255,255,255,.98);backdrop-filter:blur(20px);box-shadow:0 -4px 20px rgba(15,23,42,.08);padding:8px 0 calc(8px + env(safe-area-inset-bottom));z-index:100;min-height:60px;box-sizing:border-box;border-top:1px solid #f1f5f9}
.tab-item{flex:1 !important;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:#94a3b8;transition:all .25s ease;gap:3px;position:relative}
.tab-item.on{color:#2563eb}
.tab-item.on::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:24px;height:3px;background:var(--grad);border-radius:0 0 3px 3px}
.tab-item .tab-ic{display:flex;width:24px;height:24px;align-items:center;justify-content:center;transition:transform .25s ease}
.tab-item.on .tab-ic{transform:translateY(-2px)}
.tab-item .tab-ic svg{width:22px;height:22px}
.tab-item .tab-lb{font-size:11px;font-weight:600;line-height:1.2}

/* 加载中 */
.loading{text-align:center;padding:60px 20px;color:#94a3b8}

/* ===== 商城样式 ===== */
.mall-banner{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;padding:22px 18px}
.mall-banner svg{width:34px;height:34px}
.mb-name{font-size:20px;font-weight:700}
.mb-sub{font-size:12px;opacity:.9;margin-top:3px}
.mall-entry{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;margin:10px 12px;padding:13px;border-radius:12px;font-weight:600;color:#d97706;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.mall-search{display:flex;gap:8px;padding:12px;align-items:center}
.mall-search .input{flex:1}
.mall-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 12px 80px}
.mall-item{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.mi-img{height:130px;background:#f8fafc;display:flex;align-items:center;justify-content:center}
.mi-img img{width:100%;height:100%;object-fit:cover}
.mi-ph{color:#e2e8f0;display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.mi-ph svg{width:42px;height:42px}
.mi-name{font-size:14px;font-weight:600;padding:8px 10px 0;line-height:1.35}
.mi-mer{font-size:11px;color:#94a3b8;padding:3px 10px 0}
.mi-foot{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px}
.mi-price{color:#e11d48;font-weight:700;font-size:16px}
.mall-fab{position:fixed;right:16px;bottom:84px;width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(239,68,68,.4);z-index:20}
.mall-fab svg{width:22px;height:22px}
.mall-fab em{position:absolute;top:-4px;right:-4px;background:#e11d48;color:#fff;font-size:10px;font-style:normal;border-radius:10px;min-width:18px;height:18px;line-height:18px;text-align:center;padding:0 4px}
.md-img{height:240px;background:#f8fafc;display:flex;align-items:center;justify-content:center}
.md-img img{width:100%;height:100%;object-fit:cover}
.md-ph{color:#e2e8f0;display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.md-ph svg{width:70px;height:70px}
.md-name{font-size:18px;font-weight:700}
.md-mer{font-size:12px;color:#94a3b8;margin:4px 0 8px}
.md-price{font-size:22px;color:#e11d48;font-weight:700}
.md-stock{font-size:12px;color:#94a3b8;font-weight:400;margin-left:8px}
.md-specs{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
.md-specs .k{font-size:12px;color:#64748b}
.spec-btn{border:1px solid #e2e8f0;padding:6px 12px;border-radius:8px;font-size:12px;background:#fff;color:#334155}
.md-bar{position:fixed;left:0;right:0;bottom:0;display:flex;gap:10px;padding:12px 14px;background:#fff;box-shadow:0 -4px 16px rgba(0,0,0,.08);z-index:20}
.md-bar .btn{flex:1}
.cart-list{padding:12px;padding-bottom:90px}
.cart-item{display:flex;gap:10px;background:#fff;border-radius:12px;padding:10px;margin-bottom:10px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.ci-img{width:70px;height:70px;background:#f8fafc;border-radius:10px;overflow:hidden;flex-shrink:0}
.ci-img img{width:100%;height:100%;object-fit:cover}
.ci-info{flex:1;min-width:0}
.ci-name{font-size:14px;font-weight:600}
.ci-mer{font-size:11px;color:#94a3b8;margin:2px 0}
.ci-price{color:#e11d48;font-weight:700;font-size:15px}
.ci-qty{display:flex;align-items:center;gap:6px;margin-top:8px}
.ci-qty span{font-size:14px;min-width:24px;text-align:center}
.cart-bar{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#fff;box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.cart-bar b{color:#e11d48;font-size:18px}
.mo-tabs{display:flex;gap:8px;padding:12px;overflow-x:auto}
.mo-tab{padding:7px 16px;border-radius:20px;background:#f1f5f9;color:#64748b;font-size:13px;white-space:nowrap}
.mo-tab.on{background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff}
.o-acts{display:flex;gap:8px;margin-top:8px}

/* ===== 服务商主页样式 ===== */
.provider-hero{position:relative;min-height:200px;color:#fff;overflow:hidden}
.ph-overlay{background:rgba(0,0,0,.4);padding:24px 16px;display:flex;gap:14px;align-items:center;min-height:200px}
.ph-avatar{width:64px;height:64px;border-radius:50%;background:#fff;color:#667eea;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;flex-shrink:0}
.ph-info{flex:1;min-width:0}
.ph-name{font-size:20px;font-weight:700;margin-bottom:4px}
.ph-title{font-size:13px;opacity:.9;margin-bottom:12px}
.ph-stats{display:flex;gap:16px}
.ph-stat{text-align:center}
.ph-stat b{display:block;font-size:18px;font-weight:700}
.ph-stat span{font-size:11px;opacity:.8}
.skill-tags{display:flex;gap:8px;flex-wrap:wrap}
.skill-tag{background:linear-gradient(135deg,#667eea22,#764ba222);color:#667eea;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:500}
.portfolio-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.portfolio-item{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.pi-cover{height:100px;background:#f8fafc}
.pi-info{padding:10px}
.pi-title{font-size:13px;font-weight:600;line-height:1.3;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pi-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pi-amount{color:#e11d48;font-weight:700;font-size:13px}
.review-item{padding:12px 0;border-bottom:1px solid #f1f5f9}
.review-item:last-child{border-bottom:none}
.ri-head{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.ri-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}
.ri-main{flex:1}
.ri-name{font-size:14px;font-weight:600}
.ri-stars{font-size:12px;color:#f59e0b;margin-top:2px}
.ri-time{color:#94a3b8;margin-left:8px;font-size:11px}
.ri-content{font-size:13px;color:#475569;line-height:1.6;padding-left:46px}

/* ===== 智能推荐样式 ===== */
.rec-list{display:flex;flex-direction:column;gap:10px}
.rec-item{display:flex;gap:12px;align-items:center;padding:12px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0;transition:all .2s}
.rec-item:hover{border-color:#667eea;box-shadow:0 4px 12px rgba(102,126,234,.15)}
.rec-item.selected{border-color:#67c23a;background:#f0f9eb}
.rec-rank{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}
.rec-item:nth-child(2) .rec-rank{background:linear-gradient(135deg,#f59e0b,#ef4444)}
.rec-item:nth-child(3) .rec-rank{background:linear-gradient(135deg,#06b6d4,#3b82f6)}
.rec-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;flex-shrink:0}
.rec-main{flex:1;min-width:0}
.rec-name{font-size:15px;font-weight:600;color:#1e293b}
.rec-title{font-size:12px;color:#64748b;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rec-meta{display:flex;gap:10px;font-size:11px;color:#94a3b8;margin-top:4px}
.rec-score{color:#667eea;font-weight:600}
.rec-reasons{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.rec-reason{font-size:10px;background:#eef2ff;color:#667eea;padding:2px 8px;border-radius:10px}
.rec-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}

/* ===== 会员等级样式 ===== */
.level-hero{position:relative;padding:30px 20px 24px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;overflow:hidden}
.level-bg{position:absolute;top:-50%;right:-20%;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.1)}
.level-bg::after{content:'';position:absolute;bottom:-30%;left:-30%;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.08)}
.level-info{position:relative;z-index:1}
.level-badge{display:inline-block;padding:4px 14px;background:rgba(255,255,255,.25);border-radius:20px;font-size:13px;font-weight:600;margin-bottom:8px}
.level-name{font-size:24px;font-weight:700;margin-bottom:6px}
.level-growth{font-size:14px;opacity:.9;margin-bottom:14px}
.level-progress-wrap{margin-top:10px}
.level-progress{height:8px;background:rgba(255,255,255,.25);border-radius:4px;overflow:hidden}
.level-progress-bar{height:100%;background:linear-gradient(90deg,#ffd700,#ffed4e);border-radius:4px;transition:width .5s}
.level-progress-text{font-size:12px;opacity:.85;margin-top:6px}
.level-max{font-size:14px;color:#ffd700;font-weight:600;margin-top:10px}
.level-discount{position:absolute;top:20px;right:20px;background:rgba(255,255,255,.2);padding:8px 14px;border-radius:10px;font-size:13px;font-weight:600;z-index:1}
.benefits-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.benefit-item{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f8fafc;border-radius:10px;font-size:13px;color:#475569}
.benefit-icon{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}
.level-list{display:flex;flex-direction:column;gap:8px}
.level-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}
.level-item.current{border-color:#667eea;background:linear-gradient(135deg,#eef2ff,#f5f3ff)}
.level-item.passed{opacity:.6}
.level-num{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}
.level-item.passed .level-num{background:#94a3b8}
.level-detail{flex:1}
.level-title{font-size:15px;font-weight:600;color:#1e293b}
.level-need{font-size:12px;color:#64748b;margin-top:2px}
.level-check{color:#67c23a;font-size:20px;font-weight:700}
.growth-list{display:flex;flex-direction:column;gap:8px}
.growth-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}
.growth-item:last-child{border-bottom:none}
.growth-type{font-size:14px;color:#1e293b;font-weight:500}
.growth-time{font-size:12px;color:#94a3b8;margin-top:2px}
.growth-amt{font-size:16px;font-weight:700;color:#67c23a}
.task-list{display:flex;flex-direction:column;gap:8px}
.task-item{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f8fafc;border-radius:10px;font-size:14px;color:#475569}
.task-reward{color:#f59e0b;font-weight:600}

/* ===== 成功案例样式 ===== */
.story-page{padding:12px}
.story-search{display:flex;gap:10px;margin-bottom:12px}
.story-search .input{flex:1}
.story-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.story-cat{padding:6px 14px;background:#f1f5f9;border-radius:20px;font-size:13px;color:#64748b;cursor:pointer;transition:all .2s}
.story-cat.on{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}
.story-list{display:flex;flex-direction:column;gap:14px}
.story-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);cursor:pointer;transition:transform .2s}
.story-card:active{transform:scale(.98)}
.story-cover{height:140px;background-size:cover;background-position:center;position:relative}
.story-cat-tag{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.5);color:#fff;padding:4px 10px;border-radius:12px;font-size:11px}
.story-body{padding:14px}
.story-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:6px;line-height:1.4}
.story-summary{font-size:13px;color:#64748b;line-height:1.5;margin-bottom:10px}
.story-meta{display:flex;justify-content:space-between;font-size:12px;color:#94a3b8;margin-bottom:8px}
.story-amount{color:#f59e0b;font-weight:600}
.story-tags{display:flex;gap:6px;flex-wrap:wrap}
.story-tag{font-size:11px;background:#eef2ff;color:#667eea;padding:2px 8px;border-radius:8px}
.story-detail-cover{height:180px;background-size:cover;background-position:center;position:relative}
.story-detail-body{padding:16px;background:#fff;border-radius:14px 14px 0 0;margin-top:-20px;position:relative}
.story-detail-title{font-size:20px;font-weight:700;color:#1e293b;margin-bottom:10px;line-height:1.4}
.story-detail-meta{display:flex;gap:16px;font-size:13px;color:#64748b;margin-bottom:12px;flex-wrap:wrap}
.story-detail-summary{font-size:14px;color:#475569;line-height:1.7;padding:12px;background:#f8fafc;border-radius:10px;margin-bottom:16px}
.story-detail-content{font-size:14px;color:#334155;line-height:1.8}
.story-detail-content p{margin-bottom:12px}
.story-provider{display:flex;align-items:center;gap:12px;padding:14px;background:#f8fafc;border-radius:12px;margin-top:20px;cursor:pointer}
.sp-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600}
.sp-info{flex:1}
.sp-name{font-size:15px;font-weight:600;color:#1e293b}
.sp-desc{font-size:12px;color:#94a3b8;margin-top:2px}
.sp-arrow{font-size:20px;color:#cbd5e1}
.story-related{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.story-related-item{cursor:pointer}
.sr-cover{height:80px;border-radius:8px;background-size:cover;background-position:center;margin-bottom:6px}
.sr-title{font-size:12px;color:#475569;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sr-amount{font-size:11px;color:#f59e0b;font-weight:600;margin-top:4px}

/* ===== 我的页面（优化版） ===== */
.quick-entries{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 14px;background:#fff;margin:0 12px 14px;border-radius:16px;box-shadow:0 4px 16px rgba(15,23,42,.06)}
.quick-item{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 6px;cursor:pointer;border-radius:12px;transition:all .2s}
.quick-item:active{background:#f0f7ff;transform:scale(.95)}
.quick-ic{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.3)}
.quick-ic svg{width:24px;height:24px}
.quick-lb{font-size:14px;font-weight:700;color:#0f172a}

.menu-section{margin-bottom:14px}
.menu-section-title{font-size:14px;font-weight:800;color:#1e293b;padding:0 16px 10px;letter-spacing:.5px}
.menu-group{background:#fff;margin:0 12px;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(15,23,42,.06)}
.menu-group .menu-cell{padding:16px 18px;border-bottom:1px solid #f1f5f9}
.menu-group .menu-cell:last-child{border-bottom:none}
.menu-cell{display:flex;align-items:center;gap:14px;cursor:pointer;transition:background .2s}
.menu-cell:active{background:#f8fafc}
.mc-ic{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8;flex-shrink:0;font-weight:600}
.mc-ic svg{width:20px;height:20px}
.mc-lb{flex:1;font-size:16px;color:#0f172a;font-weight:600}
.mc-ar{color:#64748b;font-size:20px;font-weight:600}
.mc-val{font-size:14px;color:#475569;font-weight:600}
.menu-cell.danger .mc-lb{color:#dc2626}
.menu-cell.danger .mc-ic{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}

/* ===== 附件上传 ===== */
.pub-attach{margin-top:8px}
.attach-list{margin-bottom:8px}
.attach-item{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f8fafc;border-radius:10px;margin-bottom:6px}
.attach-name{flex:1;font-size:13px;color:#1e293b;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attach-size{font-size:11px;color:#94a3b8}
.attach-del{width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer;line-height:1}
.attach-add{display:flex;align-items:center;justify-content:center;gap:6px;padding:14px;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;font-size:14px;cursor:pointer;transition:all .2s}
.attach-add:active{background:#f1f5f9;border-color:#94a3b8}
.attach-add-ic{font-size:20px;font-weight:300}
.home-stories{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 12px}
.hs-card{background:#fff;border-radius:14px;overflow:hidden;cursor:pointer;border:1px solid #f1f5f9;box-shadow:0 2px 12px rgba(15,23,42,.04);transition:all .25s ease}
.hs-card:active{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.1)}
.hs-cover{height:100px;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:11px;color:#cbd5e1;overflow:hidden;position:relative}
.hs-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.hs-card:active .hs-cover img{transform:scale(1.05)}
.hs-body{padding:10px 12px}
.hs-title{font-size:13px;font-weight:600;color:#1e293b;line-height:1.45;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:38px}
.hs-amount{font-size:13px;color:#e11d48;font-weight:700;margin-top:6px;display:flex;align-items:baseline;gap:2px}
.hs-amount small{font-size:10px;color:#94a3b8;font-weight:400}

/* ===== 热门服务（高端大气版） ===== */
.proj-list{padding:0 12px}
.proj-card{background:#fff;border-radius:14px;padding:16px;margin-bottom:12px;cursor:pointer;border:1px solid #f1f5f9;box-shadow:0 2px 12px rgba(15,23,42,.04);transition:all .25s ease}
.proj-card:active{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.1)}
.proj-name{font-size:16px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:8px}
.proj-sub{font-size:13px;color:#64748b;margin-top:8px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.proj-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #f8fafc}
.proj-price{color:#e11d48;font-weight:700;font-size:18px;display:flex;align-items:baseline;gap:2px}
.proj-price small{font-size:11px;color:#94a3b8;margin-left:2px;font-weight:400}
.proj-cta{color:#2563eb;font-size:13px;font-weight:500;display:flex;align-items:center;gap:4px}

/* ===== 信用档案样式 ===== */
.credit-hero{padding:30px 20px;color:#fff;border-radius:0 0 20px 20px}
.ch-main{text-align:center}
.ch-t{font-size:16px;opacity:.9;margin-bottom:10px}
.ch-score{font-size:48px;font-weight:700;line-height:1}
.ch-score em{font-size:16px;font-weight:400;opacity:.7}
.ch-level{font-size:14px;margin-top:8px;opacity:.9}
.ch-rate{display:flex;justify-content:center;gap:20px;margin-top:12px;font-size:13px;opacity:.85}
.credit-stats{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;padding:16px 0;background:#fff;margin:12px;border-radius:12px}
.credit-stats div{text-align:center}
.credit-stats b{display:block;font-size:20px;font-weight:700;color:#1e293b}
.credit-stats span{font-size:12px;color:#94a3b8}
.credit-rules{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cr-item{display:flex;align-items:center;gap:8px;font-size:13px;color:#475569}
.cr-plus{color:#67c23a;font-weight:600}
.cr-minus{color:#f56c6c;font-weight:600}
.violation-list{display:flex;flex-direction:column;gap:10px}
.violation-item{padding:12px;background:#fef2f2;border-radius:10px;border-left:3px solid #f56c6c}
.vi-type{font-size:14px;font-weight:600;color:#dc2626;margin-bottom:4px}
.vi-reason{font-size:13px;color:#475569;margin-bottom:6px}
.vi-meta{display:flex;gap:12px;font-size:12px;color:#94a3b8}
.vi-deduct{color:#f56c6c;font-weight:600}

/* ===== 消息中心样式 ===== */
.msg-actions{display:flex;justify-content:flex-end;gap:10px;padding:10px 16px;background:#fff;border-bottom:1px solid #f0f0f0}
.msg-item{position:relative}
.msg-del{color:#94a3b8;font-size:12px;cursor:pointer;padding:4px 8px}
.msg-del:hover{color:#f56c6c}
.tag-gray{background:#f1f5f9;color:#64748b}

/* ===== 服务商入驻样式 ===== */
.pa-hero{padding:30px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center}
.pa-title{font-size:20px;font-weight:600;margin-bottom:8px}
.pa-sub{font-size:14px;opacity:.9}
.pa-success,.pa-pending,.pa-rejected{padding:40px 20px;text-align:center}
.pa-ico{font-size:48px;margin-bottom:16px}
.pa-reason{color:#f56c6c;font-size:14px;margin:12px 0 20px}
.pa-info{display:flex;padding:8px 0;font-size:14px;color:#475569;border-bottom:1px solid #f0f0f0}
.pa-info span{color:#94a3b8;min-width:80px}
.form-group{margin-bottom:16px}
.form-label{display:block;font-size:14px;color:#475569;margin-bottom:6px;font-weight:500}
.required{color:#f56c6c}
.row{display:flex;gap:10px}

/* ===== 积分商城样式 ===== */
.pm-hero{padding:24px 20px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff}
.pm-title{font-size:20px;font-weight:600;margin-bottom:12px}
.pm-balance{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}
.pm-label{font-size:14px;opacity:.9}
.pm-amount{font-size:32px;font-weight:700}
.pm-actions{display:flex;gap:10px}
.pm-actions .btn{background:rgba(255,255,255,.2);color:#fff;border:none}
.pm-list{padding:12px;display:flex;flex-direction:column;gap:12px}
.pm-card{display:flex;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.pm-img{width:100px;height:100px;background:#f8fafc;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pm-img img{width:100%;height:100%;object-fit:cover}
.pm-placeholder{font-size:40px}
.pm-info{flex:1;padding:12px;display:flex;flex-direction:column}
.pm-name{font-size:15px;font-weight:600;color:#1e293b;margin-bottom:4px}
.pm-desc{font-size:12px;color:#94a3b8;margin-bottom:8px;flex:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pm-bottom{display:flex;align-items:center;justify-content:space-between}
.pm-price{display:flex;align-items:baseline;gap:4px}
.pm-points{font-size:18px;font-weight:700;color:#f59e0b}
.pm-unit{font-size:12px;color:#f59e0b}
.pm-original{font-size:12px;color:#cbd5e1;text-decoration:line-through;margin-left:4px}
.o-addr{font-size:12px;color:#64748b;margin-top:8px;padding-top:8px;border-top:1px solid #f0f0f0}

/* ===== 邀请好友样式 ===== */
.inv-hero{padding:30px 20px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;text-align:center}
.inv-title{font-size:22px;font-weight:700;margin-bottom:8px}
.inv-sub{font-size:14px;opacity:.9;margin-bottom:20px}
.inv-code-box{background:rgba(255,255,255,.15);border-radius:12px;padding:16px;margin-bottom:12px}
.inv-code-label{font-size:13px;opacity:.8;margin-bottom:8px}
.inv-code{font-size:28px;font-weight:700;letter-spacing:4px;margin-bottom:12px}
.inv-link{display:flex;align-items:center;gap:8px;font-size:12px;opacity:.9;flex-wrap:wrap}
.inv-link-text{flex:1;word-break:break-all;min-width:150px}
.inv-stats{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;padding:16px 0;background:#fff;margin:12px;border-radius:12px}
.inv-stat-item{text-align:center}
.inv-stat-num{font-size:20px;font-weight:700;color:#1e293b}
.inv-stat-label{font-size:12px;color:#94a3b8;margin-top:4px}
.inv-rules{display:flex;flex-direction:column;gap:12px}
.inv-rule{display:flex;align-items:center;gap:12px;padding:12px;background:#f8fafc;border-radius:10px}
.inv-rule-title{font-size:14px;font-weight:600;color:#1e293b;min-width:80px}
.inv-rule-desc{flex:1;font-size:13px;color:#64748b}
.inv-rule-reward{font-size:14px;font-weight:600;color:#f59e0b}
.inv-list{display:flex;flex-direction:column;gap:12px}
.inv-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f8fafc;border-radius:10px}
.inv-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}
.inv-info{flex:1}
.inv-name{font-size:14px;font-weight:500;color:#1e293b}
.inv-time{font-size:12px;color:#94a3b8;margin-top:2px}
.inv-status{display:flex;gap:6px}
.tag-green{background:#dcfce7;color:#16a34a}
.tag-blue{background:#dbeafe;color:#2563eb}

/* ===== 文章/资讯样式 ===== */
.art-tabs{display:flex;gap:8px;padding:12px 16px;background:#fff;overflow-x:auto;white-space:nowrap}
.art-tab{padding:6px 14px;border-radius:20px;font-size:13px;color:#64748b;background:#f1f5f9;cursor:pointer}
.art-tab.on{background:#667eea;color:#fff}
.art-list{padding:12px;display:flex;flex-direction:column;gap:12px}
.art-card{background:#fff;border-radius:12px;padding:16px;position:relative;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.art-top{position:absolute;top:12px;right:12px;background:#f56c6c;color:#fff;font-size:11px;padding:2px 8px;border-radius:4px}
.art-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:8px;line-height:1.4}
.art-summary{font-size:13px;color:#64748b;margin-bottom:10px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.art-meta{display:flex;gap:12px;font-size:12px;color:#94a3b8}
.art-detail{padding:16px}
.art-d-title{font-size:22px;font-weight:700;color:#1e293b;line-height:1.4;margin-bottom:12px}
.art-d-meta{display:flex;gap:12px;font-size:13px;color:#94a3b8;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}
.art-d-cover{width:100%;border-radius:12px;margin-bottom:16px}
.art-d-content{font-size:15px;color:#334155;line-height:1.8}
.art-d-content p{margin-bottom:12px}
.art-d-actions{text-align:center;margin:24px 0}
.art-related{display:flex;flex-direction:column;gap:10px}
.art-related-item{padding:10px;background:#f8fafc;border-radius:8px;font-size:14px;color:#475569;cursor:pointer}
.art-related-item:hover{background:#f1f5f9}
