* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 14px; color: #2c2416; background: #faf8f5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
input, button { font-family: inherit; outline: none; border: none; }
.hidden { display: none !important; }

#app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; background: #faf8f5; }

/* ===== 通用页面 ===== */
.tab-page { padding-bottom: 0; }
.page-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(135deg, #c8a464 0%, #a07c3a 100%);
  color: #fff; padding: 14px 16px; text-align: center;
}
.page-title { font-size: 17px; font-weight: 600; letter-spacing: 1px; }

/* ===== 轮播 ===== */
.swiper { position: relative; overflow: hidden; background: #f0e6d6; }
.swiper-wrap { display: flex; transition: transform .45s ease; }
.swiper-wrap img { width: 100%; height: 200px; object-fit: cover; flex-shrink: 0; }
.swiper-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.swiper-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.swiper-dots span.active { width: 16px; border-radius: 3px; background: #fff; }

/* ===== 快捷入口（横向滑动卡片） ===== */
.quick-wrap { background: #fff; padding: 14px 0 16px; }
.quick-head { display: flex; justify-content: space-between; align-items: center; padding: 0 14px 10px; }
.quick-head .qh-title { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.quick-head .qh-hint { font-size: 12px; color: #c8a464; }
.quick-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; touch-action: pan-x; scrollbar-width: none; }
.quick-scroll::-webkit-scrollbar { display: none; }
.quick-list { display: flex; gap: 12px; padding: 0 14px; }
.quick-item { position: relative; flex-shrink: 0; width: 72%; height: 124px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(200,164,100,.15); }
.quick-item img { width: 100%; height: 100%; object-fit: cover; }
.quick-item .qi-mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.15) 55%, transparent 100%); }
.quick-item .qi-text { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; }
.quick-item .qi-text .qi-name { font-size: 16px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.quick-item .qi-text .qi-desc { font-size: 11px; opacity: .9; margin-top: 3px; }
.quick-item .qi-go { position: absolute; top: 12px; right: 12px; padding: 3px 9px; font-size: 11px; color: #fff; background: rgba(200,164,100,.92); border-radius: 10px; }

/* ===== 板块 ===== */
.section { margin: 10px 0; background: #fff; padding: 14px; border-radius: 12px; box-shadow: 0 2px 12px rgba(200,164,100,.06); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-title { font-size: 17px; font-weight: 700; position: relative; padding-left: 10px; letter-spacing: 0.5px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: #c8a464; }
.section-more { font-size: 12px; color: #999; }

/* ===== 案例筛选 ===== */
.case-filter { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.case-filter span { flex-shrink: 0; padding: 6px 14px; font-size: 13px; border-radius: 16px; background: #f5f0e8; color: #6b5a3e; }
.case-filter span.active { background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; }

/* ===== 首页精选案例 ===== */
.featured-case { display: block; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(200,164,100,.12); }
.featured-case img { width: 100%; height: 200px; object-fit: cover; display: block; }
.featured-case .fc-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 40px; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 60%, transparent 100%); color: #fff; }
.featured-case .fc-tag { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 10px; background: rgba(200,164,100,.9); color: #fff; margin-bottom: 6px; }
.featured-case .fc-title { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.featured-case .fc-meta { display: flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,.85); margin-top: 4px; }
.featured-case .fc-arrow { position: absolute; right: 14px; bottom: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(200,164,100,.9); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
/* ===== 案例三卡片横排 ===== */
.case-row3 { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.case-row3 .c3-card { flex: 1; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 2px 10px rgba(200,164,100,.08); height: 180px; }
.case-row3 .c3-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 设计师卡片 */
.case-row3 .c3-designer { flex: 0 0 30%; }
.case-row3 .c3-badge { position: absolute; bottom: 6px; left: 6px; right: 6px; text-align: center; font-size: 11px; color: #fff; background: linear-gradient(135deg, #c8a464, #a07c3a); padding: 4px 0; border-radius: 8px; font-weight: 600; }
/* 视频案例卡片 */
.case-row3 .c3-video { flex: 1.4; }
.case-row3 .c3-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px; backdrop-filter: blur(2px); }
.case-row3 .c3-vinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 10px; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 70%, transparent 100%); color: #fff; }
.case-row3 .c3-vtag { font-size: 10px; color: #c8a464; }
.case-row3 .c3-vtitle { font-size: 12px; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.case-row3 .c3-vmeta { font-size: 10px; color: rgba(255,255,255,.7); margin-top: 2px; }
/* 案例卡片 */
.case-row3 .c3-case { flex: 0 0 30%; }
.case-row3 .c3-clabel { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 8px 6px; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%); color: #fff; }
.case-row3 .c3-ctag { font-size: 10px; color: #c8a464; }
.case-row3 .c3-ctitle { font-size: 12px; font-weight: 600; margin-top: 2px; }
/* ===== 案例列表 ===== */
.case-list { column-count: 2; column-gap: 10px; }
.case-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(200,164,100,.08); break-inside: avoid; margin-bottom: 10px; position: relative; }
.case-card img { width: 100%; display: block; }
.case-card .cc-info { padding: 10px 10px 8px; }
.case-card .cc-title { font-size: 13px; font-weight: 600; color: #2c2416; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card .cc-tag { font-size: 11px; color: #c8a464; margin-top: 4px; }
.case-card .cc-stats { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 10px; font-size: 11px; color: #999; }
.case-card .cc-stats .stat-item { display: flex; align-items: center; gap: 3px; }
.case-card .cc-stats .stat-item.eye { color: #bbb; }
.case-card .cc-stats .stat-item.heart { color: #bbb; }
.fav-btn { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #ccc; z-index: 5; backdrop-filter: blur(2px); }
.fav-btn.active { color: #e4393c; }

/* 单图案例卡片 */
.single-case img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; box-shadow: 0 3px 14px rgba(200,164,100,.1); }

/* ===== 视频案例 ===== */
/* ===== 视频案例横排 ===== */
.video-scroll { overflow-x: auto; }
.video-list { display: flex; gap: 10px; padding-bottom: 2px; }
.video-item { flex-shrink: 0; width: 180px; border-radius: 12px; overflow: hidden; background: #fff8f0; box-shadow: 0 2px 10px rgba(200,164,100,.08); position: relative; }
.video-item img { width: 180px; height: 130px; object-fit: cover; display: block; }
.video-item .vi-mask { position: relative; z-index: 1; }
.video-item .vi-mask::after { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; line-height: 36px; text-align: center; background: rgba(0,0,0,.5); color: #fff; border-radius: 50%; font-size: 14px; }
.video-item .vi-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 70%, transparent 100%); color: #fff; z-index: 2; }
.video-item .vi-title { font-size: 12px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.video-item .vi-time { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 3px; }
/* 自定义横向滑动条 */
.video-scrollbar { width: 60%; margin: 10px auto 0; }
.video-scrollbar .vs-track { height: 3px; background: #eee; border-radius: 2px; position: relative; }
.video-scrollbar .vs-thumb { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: linear-gradient(90deg, #c8a464, #a07c3a); border-radius: 2px; transition: left .1s ease; }

/* ===== 品牌卡片 ===== */
.brand-card { display: block; border-radius: 12px; overflow: hidden; background: #fff8f0; box-shadow: 0 3px 14px rgba(200,164,100,.1); }
.brand-card img { width: 100%; height: 160px; object-fit: cover; }
.brand-card-body { padding: 12px; }
.brand-card-body h3 { font-size: 16px; color: #a07c3a; margin-bottom: 6px; }
.brand-card-body p { font-size: 13px; color: #555; line-height: 1.7; text-align: justify; }

/* ===== 设计师详情 ===== */
.designer-profile { text-align: center; }
.designer-profile .dp-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: -40px auto 10px; border: 3px solid #fff; box-shadow: 0 3px 14px rgba(0,0,0,.15); }
.designer-profile .dp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.designer-profile h3 { font-size: 17px; font-weight: 600; color: #2c2416; }
.designer-profile .dp-title { font-size: 13px; color: #c8a464; margin-top: 4px; }
.designer-profile .dp-tags { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.designer-profile .dp-tags span { font-size: 11px; color: #6b5a3e; background: #f5f0e8; padding: 3px 10px; border-radius: 10px; }
.designer-profile .dp-desc { font-size: 13px; color: #666; line-height: 1.7; margin-top: 10px; text-align: left; }
.dp-works { display: flex; gap: 6px; margin-top: 8px; }
.dp-works img { flex: 1; height: 80px; object-fit: cover; border-radius: 8px; }

/* ===== 合作品牌左右分栏 ===== */
.brands-wrap { display: flex; height: calc(100vh - 110px); background: #fff; }
.cate-left { width: 120px; background: #f5f0e8; overflow-y: auto; }
.cate-item { padding: 14px 10px; font-size: 14px; text-align: left; color: #4a3c20; position: relative; font-weight: 700; letter-spacing: 0.5px; border-bottom: 1px solid rgba(200,164,100,.15); }
.cate-item.active { background: #fff; color: #a07c3a; font-weight: 700; }
.cate-item.active::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: #c8a464; border-radius: 0 2px 2px 0; }
/* 二级导航 */
.cate-sub-wrap { background: #faf5ed; padding-left: 14px; }
.cate-sub-wrap.hidden { display: none; }
.cate-sub { padding: 10px 6px 10px 16px; font-size: 12px; color: #6b5a3e; position: relative; text-align: left; }
.cate-sub.active { color: #a07c3a; font-weight: 600; background: #fff; border-radius: 0 6px 6px 0; }
.cate-sub.active::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 2px; background: #c8a464; border-radius: 1px; }
.cate-right { flex: 1; overflow-y: auto; padding: 10px; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f0e6d6; box-shadow: 0 2px 10px rgba(200,164,100,.08); position: relative; }
.product-card img { width: 100%; height: 110px; object-fit: cover; }
.product-card .pc-info { padding: 6px 8px; }
.product-card .pc-name { font-size: 12px; color: #2c2416; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 装修套餐卡片 ===== */
.package-list { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 10px; }
.package-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(200,164,100,.08); border: 1px solid #f0e6d6; }
.package-card .pc-banner { position: relative; }
.package-card .pc-banner img { width: 100%; height: 160px; object-fit: cover; }
.package-card .pc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-size: 11px; border-radius: 10px; font-weight: 600; }
.package-card .pc-badge.hot { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.package-card .pc-body { padding: 12px 14px; }
.package-card .pc-title { font-size: 15px; font-weight: 700; color: #2c2416; margin-bottom: 4px; }
.package-card .pc-desc { font-size: 12px; color: #888; margin-bottom: 8px; }
.package-card .pc-meta { display: flex; gap: 14px; font-size: 12px; color: #999; margin-bottom: 8px; }
.package-card .pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.package-card .pc-tags em { padding: 2px 8px; background: #f5f0e8; color: #a07c3a; font-size: 11px; border-radius: 4px; font-style: normal; }

/* ===== 套餐详情 ===== */
.pkg-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pkg-item { display: flex; align-items: flex-start; padding: 10px 12px; background: #faf8f5; border-radius: 10px; border-left: 3px solid #c8a464; }
.pkg-item .pkg-name { font-size: 14px; font-weight: 600; color: #2c2416; flex-shrink: 0; min-width: 110px; }
.pkg-item .pkg-desc { font-size: 12px; color: #888; line-height: 1.5; }

/* ===== 检测报告列表 ===== */
.report-list { display: flex; flex-direction: column; gap: 12px; padding: 10px; }
.report-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(200,164,100,.08); border: 1px solid #f0e6d6; }
.report-card .rc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #faf8f5; }
.report-card .rc-badge { padding: 3px 10px; font-size: 12px; border-radius: 10px; font-weight: 600; color: #fff; }
.report-card .rc-badge.quality { background: linear-gradient(135deg, #c8a464, #a07c3a); }
.report-card .rc-badge.env { background: linear-gradient(135deg, #52b788, #2d6a4f); }
.report-card .rc-badge.safety { background: linear-gradient(135deg, #e76f51, #b3522f); }
.report-card .rc-status { padding: 3px 10px; font-size: 12px; border-radius: 10px; font-weight: 600; }
.report-card .rc-status.pass { background: #e8f5e9; color: #2d6a4f; }
.report-card .rc-status.warning { background: #fff3e0; color: #e76f51; }
.report-card .rc-body { padding: 12px 14px; }
.report-card .rc-title { font-size: 14px; font-weight: 700; color: #2c2416; margin-bottom: 6px; line-height: 1.4; }
.report-card .rc-meta { display: flex; gap: 14px; font-size: 12px; color: #999; margin-bottom: 6px; flex-wrap: wrap; }
.report-card .rc-desc { font-size: 12px; color: #888; line-height: 1.5; margin-bottom: 10px; }
.report-card .rc-progress { }
.report-card .rc-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: #999; margin-bottom: 4px; }
.report-card .rc-progress-bar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.report-card .rc-progress-fill { height: 100%; background: linear-gradient(90deg, #52b788, #2d6a4f); border-radius: 2px; transition: width .3s; }
.report-card .rc-progress-fill.warning { background: linear-gradient(90deg, #f4a261, #e76f51); }

/* ===== 检测报告详情 ===== */
.report-meta { margin-top: 10px; }
.report-meta .rm-row { display: flex; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.report-meta .rm-row span { width: 80px; color: #888; }
.report-meta .rm-row b { flex: 1; color: #2c2416; font-weight: 500; }
.report-meta .rm-row b.pass { color: #2d6a4f; }
.report-meta .rm-row b.warning { color: #e76f51; }
.report-items { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.ri-item { padding: 12px 14px; background: #faf8f5; border-radius: 10px; border-left: 3px solid #52b788; }
.ri-item.fail { border-left-color: #e76f51; }
.ri-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ri-name { font-size: 14px; font-weight: 600; color: #2c2416; }
.ri-result { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 8px; }
.ri-result.pass { background: #e8f5e9; color: #2d6a4f; }
.ri-result.fail { background: #ffebee; color: #c62828; }
.ri-result.warnings { background: #fff3e0; color: #e76f51; }
.ri-desc { font-size: 12px; color: #666; line-height: 1.5; }
.ri-stand { font-size: 11px; color: #999; margin-top: 4px; }

/* ===== 预约设计 ===== */
.designer-banner { display: flex; gap: 12px; padding: 12px; background: #faf8f5; border-radius: 12px; }
.designer-banner img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.designer-banner-info { flex: 1; }
.db-name { font-size: 17px; font-weight: 700; color: #2c2416; }
.db-title { font-size: 13px; color: #a07c3a; margin: 2px 0; }
.db-expertise { font-size: 12px; color: #666; margin: 2px 0; }
.db-years { font-size: 12px; color: #999; }
.notice-list { margin-top: 10px; }
.notice-item { padding: 8px 0; font-size: 13px; color: #2d6a4f; border-bottom: 1px solid #f5f5f5; }
.appoint-form { margin-top: 10px; }
.appoint-form .form-row input { width: 100%; }
.appoint-form textarea { width: 100%; border: none; background: transparent; font-size: 14px; resize: none; outline: none; font-family: inherit; }
.style-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.style-picker span { padding: 5px 12px; background: #f5f0e8; color: #666; font-size: 12px; border-radius: 14px; cursor: pointer; }
.style-picker span.active { background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-weight: 600; }
.time-picker { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; }
.time-picker span { padding: 8px 12px; background: #f5f0e8; color: #666; font-size: 13px; border-radius: 8px; text-align: center; cursor: pointer; }
.time-picker span.active { background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-weight: 600; }
.modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 500; }
.modal-mask.hidden { display: none; }
.modal-box { width: 80%; max-width: 320px; background: #fff; border-radius: 18px; padding: 24px 20px; text-align: center; }
.modal-icon { width: 50px; height: 50px; margin: 0 auto 14px; background: linear-gradient(135deg, #52b788, #2d6a4f); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.modal-title { font-size: 18px; font-weight: 700; color: #2c2416; margin-bottom: 8px; }
.modal-desc { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 14px; }
.modal-info { margin-bottom: 16px; text-align: left; }
.modal-info .mi-row { display: flex; padding: 6px 0; font-size: 13px; }
.modal-info .mi-row span { width: 70px; color: #888; }
.modal-info .mi-row b { flex: 1; color: #2c2416; font-weight: 500; }

/* ===== 我的预约 ===== */
.appt-filter { display: flex; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #f5f5f5; }
.appt-filter span { flex: 1; text-align: center; padding: 7px 0; font-size: 12px; color: #888; border-radius: 14px; background: #f5f0e8; cursor: pointer; }
.appt-filter span.active { background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-weight: 600; }
.appt-list { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.appt-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 14px rgba(200,164,100,.08); overflow: hidden; border: 1px solid #f0e6d6; }
.appt-card .ac-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #faf8f5; border-bottom: 1px solid #f0e6d6; }
.appt-card .ac-no { font-size: 12px; color: #888; }
.appt-card .ac-body { padding: 12px 14px; }
.appt-card .ac-row { display: flex; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #f5f0e8; }
.appt-card .ac-row:last-child { border-bottom: none; }
.appt-card .ac-row span { width: 80px; color: #999; flex-shrink: 0; }
.appt-card .ac-row b { flex: 1; color: #2c2416; font-weight: 500; }
.appt-card .ac-footer { padding: 10px 14px; background: #faf8f5; font-size: 12px; color: #888; }
.appt-status { padding: 3px 10px; font-size: 11px; border-radius: 10px; font-weight: 600; }
.appt-status.pending { background: #fff3e0; color: #e76f51; }
.appt-status.confirmed { background: #e3f2fd; color: #1565c0; }
.appt-status.done { background: #e8f5e9; color: #2d6a4f; }
.appt-status.canceled { background: #f5f5f5; color: #999; }
.appt-empty { text-align: center; padding: 60px 20px; }
.appt-empty.hidden { display: none; }
.appt-empty .ae-icon { font-size: 48px; margin-bottom: 12px; }
.appt-empty .ae-text { font-size: 14px; color: #999; }

/* ===== 查询页 ===== */
.region-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.region-card { background: linear-gradient(135deg, #fff7e8, #fff); border: 1px solid #f0e2c4; border-radius: 12px; padding: 14px; box-shadow: 0 2px 10px rgba(200,164,100,.08); }
.region-card .rc-name { font-size: 13px; color: #a07c3a; font-weight: 600; }
.region-card .rc-num { font-size: 22px; color: #a07c3a; font-weight: 700; margin: 6px 0 2px; }
.region-card .rc-num span { font-size: 12px; color: #999; font-weight: normal; }
.region-card .rc-desc { font-size: 11px; color: #999; }

.query-card { background: #fff; margin: 0 14px; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(200,164,100,.06); }
.query-card-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-left: 10px; border-left: 4px solid #c8a464; }
.form-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.form-row label { width: 100px; font-size: 14px; color: #555; }
.form-row input { flex: 1; font-size: 14px; border: none; background: transparent;  width: 20%;}
.btn-primary { width: 100%; margin-top: 16px; padding: 12px; border-radius: 22px; background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-size: 15px; font-weight: 600; }

.query-result { background: #fff; margin: 12px 14px; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(200,164,100,.06); }
.result-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; padding-left: 10px; border-left: 4px solid #c8a464; }
.result-row { display: flex; padding: 9px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.result-row span { width: 84px; color: #999; }
.d-info-row b { flex: 1; font-weight: 500; }
.result-row b.ok { color: #2bba46; }
.result-imgs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.result-imgs img { width: 100%; height: 78px; object-fit: cover; border-radius: 6px; }

/* ===== 我的 ===== */
.profile-head { background: linear-gradient(135deg, #c8a464 0%, #a07c3a 100%); padding: 30px 18px 28px; display: flex; align-items: center; color: #fff; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); object-fit: cover; }
.profile-info { flex: 1; margin-left: 14px; }
.profile-name { font-size: 19px; font-weight: 600; }
.profile-phone { font-size: 13px; opacity: .9; margin-top: 4px; }
.profile-edit { padding: 5px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; font-size: 12px; }

.menu-group { background: #fff; margin: 10px 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(200,164,100,.06); }
.menu-item { display: flex; align-items: center; padding: 14px; border-bottom: 1px solid #f5f5f5; }
.menu-item:last-child { border-bottom: none; }
.menu-icon { width: 26px; font-size: 18px; color: #c8a464; text-align: center; }
.menu-text { flex: 1; margin-left: 10px; font-size: 14px; color: #1a1a1a; }
.menu-arrow { color: #ccc; font-size: 18px; }

/* ===== 我的 - 功能入口网格 ===== */
.mine-menu {
  background: #fff;
  margin: 10px 12px;
  border-radius: 12px;
  padding: 18px 10px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  box-shadow: 0 2px 10px rgba(200,164,100,.06);
}
.mine-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  text-decoration: none;
  color: inherit;
}
.mine-menu-item .mm-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7e8, #fef1db);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #a07c3a;
  margin-bottom: 8px;
}
.mine-menu-item .mm-text {
  font-size: 12px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* ===== 底部导航 ===== */
.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 56px;
  background: #fff; border-top: 1px solid #eee;
  display: flex; z-index: 300;
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; }
.tab-item.active { color: #a07c3a; }
.tab-icon { font-size: 20px; line-height: 1; }
.tab-text { font-size: 11px; margin-top: 3px; }

.bottom-blank { height: 70px; }

/* ===== 详情层 ===== */
.detail-layer {
  position: fixed; left: 50%; top: 0; bottom: 56px; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #faf8f5;
  z-index: 200; overflow-y: auto;
}
.detail-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
  background: linear-gradient(135deg, #c8a464 0%, #a07c3a 100%);
  color: #fff; padding: 14px 16px;
}
.back-btn { font-size: 26px; line-height: 1; width: 24px; }
.detail-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; margin-right: 0; }
.detail-fav { font-size: 20px; color: rgba(255,255,255,.7); width: 24px; text-align: center; }
.detail-fav.active { color: #fff; }
.detail-body { padding-bottom: 60px; }

/* 详情页内容样式 */
/* 详情页轮播 */
.d-banner { position: relative; overflow: hidden; }
.d-banner img { width: 100%; height: 240px; object-fit: cover; display: none; }
.d-banner img:first-child { display: block; }
.d-banner-track { display: flex; transition: transform .4s ease; height: 240px; }
.d-banner-track img { display: block; width: 100%; height: 240px; object-fit: cover; flex-shrink: 0; }
.d-banner-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.d-banner-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.d-banner-dots span.active { background: #fff; width: 16px; border-radius: 3px; }
.d-section {width: 95%;margin: 0 auto; background: #fff; margin-top: 20px; padding: 14px; border-radius: 12px; box-shadow: 0 2px 10px rgba(200,164,100,.06); }
.d-section h3 { font-size: 16px; color: #a07c3a; margin-bottom: 10px; letter-spacing: 0.5px; }
.d-section p { font-size: 14px; color: #555; line-height: 1.8; text-align: justify; }
.d-info-row { display: flex; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.d-info-row span { width: 90px; color: #999; }
.d-info-row b { flex: 1; font-weight: 500; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.d-progress { display: flex; flex-direction: column; gap: 14px; }
.d-step { display: flex; align-items: flex-start; }
.d-step .dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; margin-right: 12px; margin-top: 3px; flex-shrink: 0; }
.d-step.done .dot { background: #2bba46; }
.d-step.cur .dot { background: #c8a464; box-shadow: 0 0 0 4px rgba(200,164,100,.25); }
.d-step .step-body { flex: 1; }
.d-step .step-name { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.d-step .step-time { font-size: 12px; color: #999; margin-top: 3px; }
.d-step .step-desc { font-size: 13px; color: #666; margin-top: 4px; }

/* 编辑资料 */
.edit-form { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 6px 14px; box-shadow: 0 2px 10px rgba(200,164,100,.06); }
.edit-row { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid #f5f5f5; }
.edit-row:last-child { border-bottom: none; }
.edit-row label { width: 90px; font-size: 14px; color: #555; }
.edit-row input { flex: 1; font-size: 14px; border: none; }
.edit-avatar-pick { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.save-btn { display: block; width: calc(100% - 24px); margin: 20px 12px; padding: 12px; border-radius: 22px; background: linear-gradient(135deg, #c8a464, #a07c3a); color: #fff; font-size: 15px; font-weight: 600; }

/* ===== 视频播放器 ===== */
.video-player { position: fixed; inset: 0; background: #000; z-index: 999; display: flex; align-items: center; justify-content: center; }
.video-player video { width: 100%; max-height: 100%; }
.vp-close { position: absolute; top: 16px; right: 16px; color: #fff; font-size: 24px; z-index: 10; width: 36px; height: 36px; line-height: 36px; text-align: center; background: rgba(0,0,0,.4); border-radius: 50%; }

/* toast */
.toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.75); color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; z-index: 1000; max-width: 80%; text-align: center; }
