/* 合伙人移动端样式 - 匹配平台风格 */

/* ===== 列表页 ===== */
.partner-filter { background: #fff; padding: 0.4rem 0.6rem; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 10; }
.filter-row { margin-bottom: 0.2rem; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-size: 0.6rem; color: #999; margin-right: 0.2rem; }
.filter-item { display: inline-block; padding: 0.15rem 0.4rem; margin: 0.1rem; font-size: 0.55rem; color: #666; background: #f5f5f5; border-radius: 0.15rem; text-decoration: none; }
.filter-item.active { background: #ff1558; color: #fff; font-weight: 600; }

.partner-item { background: #fff; margin: 0.3rem 0.5rem; border-radius: 0.2rem; overflow: hidden; }
.partner-item a { display: flex; text-decoration: none; }
.partner-item .item-img { width: 4.5rem; min-height: 4.5rem; background: #f5f5f5; flex-shrink: 0; }
.partner-item .item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner-item .default-img { width: 4.5rem; height: 4.5rem; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; color: #C81623; background: #f5f5f5; flex-shrink: 0; }
.partner-item .item-info { flex: 1; padding: 0.4rem 0.5rem; overflow: hidden; }
.partner-item .item-info .item-name { font-size: 0.7rem; font-weight: 600; color: #333; margin: 0 0 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-item .item-info .item-role { font-size: 0.55rem; color: #999; margin: 0 0 0.3rem; }
.shares-bar { display: block; height: 0.15rem; background: #f0f0f0; border-radius: 0.1rem; overflow: hidden; margin-bottom: 0.1rem; }
.shares-fill { display: block; height: 100%; background: #ff1558; border-radius: 0.1rem; }
.shares-text { font-size: 0.5rem; color: #999; }
.partner-item .item-footer { font-size: 0.5rem; color: #999; margin-top: 0.2rem; }
.no-data { text-align: center; padding: 2rem 0.5rem; color: #999; font-size: 0.65rem; }

/* ===== 详情页 ===== */
.detail-top { height: 10rem; overflow: hidden; background: #f5f5f5; }
.detail-top img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-top .default-img { height: 10rem; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #C81623; background: #f5f5f5; }
.detail-section { background: #fff; margin: 0.3rem 0.5rem; border-radius: 0.2rem; padding: 0.6rem; }
.detail-section h3 { font-size: 0.65rem; color: #333; margin: 0 0 0.4rem; font-weight: 600; }
.detail-title { font-size: 0.85rem; color: #333; margin-bottom: 0.4rem; font-weight: 700; }
.detail-meta { margin-bottom: 0.4rem; }
.meta-tag { display: inline-block; padding: 0.1rem 0.3rem; background: #f5f5f5; border-radius: 0.15rem; font-size: 0.55rem; color: #666; margin-right: 0.2rem; }
.meta-status { font-size: 0.55rem; }
.info-row { display: flex; padding: 0.25rem 0; border-bottom: 1px solid #f5f5f5; font-size: 0.6rem; }
.info-row:last-child { border-bottom: none; }
.info-row label { width: 3.5rem; color: #999; flex-shrink: 0; font-size: 0.55rem; }
.info-row span { color: #333; }
.detail-contact { background: #fef9f9; padding: 0.4rem 0.5rem; border-radius: 0.2rem; margin: 0.3rem 0; border: 1px solid #fddede; }
.detail-contact h3 { font-size: 0.55rem; color: #ff1558; margin: 0 0 0.2rem; }
.detail-contact p { font-size: 0.6rem; color: #666; margin: 0; }
.desc-content { font-size: 0.6rem; line-height: 1.6; color: #666; }

.member-item { display: flex; padding: 0.3rem 0; border-bottom: 1px solid #f5f5f5; font-size: 0.6rem; }
.member-item:last-child { border-bottom: none; }
.member-item .m-name { font-weight: 600; width: 3.5rem; color: #333; flex-shrink: 0; }
.member-item .m-skills { flex: 1; color: #888; font-size: 0.55rem; }
.member-item .m-shares { color: #ff1558; font-weight: 700; }

/* 按钮 */
.btn-block { display: block; width: 100%; padding: 0.5rem; text-align: center; border-radius: 0.2rem; font-size: 0.7rem; border: none; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.btn-primary { background: #ff1558; color: #fff; }
.btn-outline { background: #fff; color: #ff1558; border: 1px solid #ff1558; }
.btn-disabled { background: #e0e0e0; color: #aaa; }

/* 申请列表 */
.apply-item { display: flex; background: #fff; margin: 0.3rem 0.5rem; border-radius: 0.2rem; padding: 0.5rem; }
.apply-item .apply-info { flex: 1; }
.apply-item .apply-info h3 { margin: 0 0 0.2rem; font-size: 0.65rem; }
.apply-item .apply-info p { font-size: 0.55rem; color: #888; margin: 0.1rem 0; }
.apply-item .apply-status { width: 3rem; text-align: right; font-size: 0.55rem; }
.apply-item .apply-status.s0 { color: #F60; }
.apply-item .apply-status.s1 { color: #44AA5D; }
.apply-item .apply-status.s2 { color: #999; }

/* 表单 */
.form-group { margin-bottom: 0.5rem; }
.form-group label { display: block; font-size: 0.55rem; color: #666; margin-bottom: 0.15rem; }
.form-group .text { width: 100%; height: 1.7rem; padding: 0 0.4rem; border: 1px solid #ddd; border-radius: 0.15rem; font-size: 0.6rem; box-sizing: border-box; }
.form-group .textarea { width: 100%; padding: 0.4rem; border: 1px solid #ddd; border-radius: 0.15rem; font-size: 0.6rem; box-sizing: border-box; resize: vertical; }

/* 弹窗 */
.overlay { position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; }
.popup { background: #fff; width: 88%; max-width: 20rem; border-radius: 0.3rem; overflow: hidden; }
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem; border-bottom: 1px solid #f0f0f0; }
.popup-header h3 { margin: 0; font-size: 0.7rem; font-weight: 600; }
.popup-header .close { font-size: 1rem; cursor: pointer; color: #ccc; }
.popup-body { padding: 0.6rem; }

/* 加载 */
.loading-more { text-align: center; padding: 0.6rem; color: #999; font-size: 0.55rem; }
.detail-loading { text-align: center; padding: 2rem 0.5rem; color: #999; font-size: 0.65rem; }
.fixed-Width { min-width: 320px; max-width: 1080px; margin: 0 auto; padding-bottom: 2.8rem; }
.scroller-body { position: relative !important; top: auto !important; bottom: auto !important; }