/* ============ 月嫂小程序模拟器 · 设计系统 ============ */
:root {
  --brand: #c2603c;        /* 赭陶 · 主色 */
  --brand-deep: #a34e2f;
  --green: #2d5c43;        /* 深绿 · 品牌辅色 */
  --green-deep: #224733;
  --cream: #f7f2ea;        /* 米纸底 */
  --pink: #b85c8a;
  --gold: #e0913c;
  --ink: #2b2b26;
  --ink-soft: #8a8577;
  --line: #e8e0d0;
  --card: #ffffff;
  --radius: 18rpx;
  --shadow: 0 4px 16px rgba(43, 43, 38, .07);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #e9e2d3; color: var(--ink); }
img { display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

/* ============ 舞台：手机壳 ============ */
.stage { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 24px; }
.side-info { max-width: 320px; display: none; }
@media (min-width: 1100px) { .side-info { display: block; } }
.side-info h1 { font-size: 26px; color: var(--green-deep); line-height: 1.3; }
.side-info h1 em { font-style: normal; color: var(--brand); font-size: 18px; }
.side-info > p { color: var(--ink-soft); margin: 10px 0 22px; font-size: 14px; }
.side-block { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.side-block h3 { font-size: 14px; margin-bottom: 10px; color: var(--green); }
.side-tip, .side-dim { font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin-top: 8px; }
.side-tip a { color: var(--brand); }
.user-switcher { display: flex; flex-direction: column; gap: 8px; }
.user-switcher button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; text-align: left; transition: .2s; }
.user-switcher button.on { border-color: var(--brand); background: #fdf1ea; color: var(--brand-deep); font-weight: 600; }
.user-switcher img { width: 30px; height: 30px; border-radius: 50%; }
.user-switcher small { display: block; color: var(--ink-soft); font-size: 11px; }

.phone { width: 395px; height: 830px; background: #1c1c1a; border-radius: 54px; padding: 12px; box-shadow: 0 30px 80px rgba(43,43,38,.35), inset 0 0 0 2px #3a3a36; flex: none; }
.phone-notch { position: absolute; }
.phone-screen { position: relative; width: 100%; height: 100%; background: var(--cream); border-radius: 44px; overflow: hidden; display: flex; flex-direction: column; }
@media (max-width: 480px) {
  .stage { padding: 0; }
  .phone { width: 100vw; height: 100vh; border-radius: 0; padding: 0; box-shadow: none; }
  .phone-screen { border-radius: 0; }
}
.statusbar { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 13px; font-weight: 600; flex: none; }
.capsule { display: flex; gap: 3px; background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.1); border-radius: 999px; padding: 4px 10px; }
.capsule i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.navbar { height: 46px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 17px; font-weight: 600; flex: none; }
.nav-back { position: absolute; left: 10px; width: 34px; height: 34px; display: grid; place-items: center; }
.nav-back svg { width: 20px; height: 20px; }
.app { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.app::-webkit-scrollbar { display: none; }

/* ============ TabBar ============ */
.tabbar { height: 62px; flex: none; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: 6px; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: #a39d8e; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.on { color: var(--brand); font-weight: 600; }

/* ============ 通用 ============ */
.page { min-height: 100%; padding-bottom: 20px; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.section { margin: 14px 14px 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title b { font-size: 16px; display: flex; align-items: center; gap: 7px; }
.section-title b::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(var(--brand), var(--gold)); }
.section-title .more { font-size: 12px; color: var(--ink-soft); }
.card { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; background: #f3ede1; color: var(--ink-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--brand); color: #fff; transition: .2s; }
.btn:active { transform: scale(.96); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.green { background: var(--green); }
.btn.block { display: flex; width: 100%; }
.btn svg { width: 16px; height: 16px; }
.empty { text-align: center; color: var(--ink-soft); font-size: 13px; padding: 40px 0; }
.wb-toast { position: fixed; left: 50%; top: 18%; transform: translate(-50%, -10px); background: rgba(30,28,24,.88); color: #fff; padding: 11px 22px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 999; max-width: 76%; text-align: center; }
.wb-toast.show { opacity: 1; transform: translate(-50%, 0); }
.wb-toast.error { background: rgba(178, 52, 38, .92); }

/* ============ 首页 ============ */
.banner-wrap { margin: 10px 12px 0; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.banner-track { display: flex; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.banner-item { flex: 0 0 100%; position: relative; }
.banner-item img { width: 100%; height: 170px; object-fit: cover; }
.banner-item .b-title { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.banner-item .b-play { position: absolute; inset: 0; display: grid; place-items: center; }
.b-play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; color: #fff; font-size: 18px; backdrop-filter: blur(4px); }
.banner-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 5px; }
.banner-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.banner-dots i.on { width: 16px; border-radius: 3px; background: #fff; }

.marquee { margin: 12px 14px 0; background: #fff8ee; border: 1px solid #f3e3c8; border-radius: 12px; height: 34px; display: flex; align-items: center; overflow: hidden; padding: 0 12px; gap: 8px; }
.marquee .m-icon { color: var(--gold); flex: none; display: flex; }
.marquee .m-icon svg { width: 15px; height: 15px; }
.mq-track { flex: 1; height: 34px; overflow: hidden; position: relative; }
.mq-item { height: 34px; line-height: 34px; font-size: 12px; color: #9a6a2f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: mqUp .4s ease; }
@keyframes mqUp { from { transform: translateY(100%); } to { transform: none; } }

.news-strip { margin: 12px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.news-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow); }
.news-item .n-tag { flex: none; font-size: 10px; color: #fff; background: var(--pink); border-radius: 4px; padding: 2px 6px; }
.news-item .n-views { margin-left: auto; font-size: 11px; color: var(--ink-soft); flex: none; }

.king-grid { margin: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.king-item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink); }
.king-item .k-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.king-item .k-icon svg { width: 24px; height: 24px; }

.health-card { margin: 14px; background: linear-gradient(120deg, #fdf1ea, #f6f9f4); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 13px; line-height: 1.8; color: #6a5a44; display: flex; gap: 10px; }
.health-card .h-badge { flex: none; width: 34px; height: 34px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; }
.health-card .h-badge svg { width: 18px; height: 18px; }

.h-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 6px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { flex: none; }

.nurse-card { width: 150px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.nurse-card img.nc-avatar { width: 100%; height: 110px; object-fit: cover; }
.nurse-card .nc-body { padding: 10px 12px 12px; }
.nurse-card .nc-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.level-badge { font-size: 10px; padding: 1px 7px; border-radius: 999px; color: #fff; background: var(--gold); }
.level-badge.金牌 { background: linear-gradient(120deg, #d4a017, #b8860b); }
.level-badge.银牌 { background: linear-gradient(120deg, #9aa5b1, #7d8a99); }
.level-badge.铜牌 { background: linear-gradient(120deg, #b0764a, #96603a); }
.nurse-card .nc-meta { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
.nurse-card .nc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.nurse-card .nc-tags .chip { font-size: 10px; padding: 2px 7px; }
.nc-rate { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gold); margin-top: 6px; }
.nc-rate svg { width: 12px; height: 12px; }

.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 14px; }
.quad-item { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.quad-item img { width: 100%; height: 92px; object-fit: cover; }
.quad-item span { position: absolute; left: 8px; bottom: 6px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.quad-item::after { content: '▶'; position: absolute; right: 8px; bottom: 6px; color: rgba(255,255,255,.9); font-size: 11px; }

.video-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px; scrollbar-width: none; }
.video-row::-webkit-scrollbar { display: none; }
.video-card { flex: none; width: 180px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.video-card img { width: 100%; height: 100px; object-fit: cover; }
.video-card .v-body { padding: 8px 10px; font-size: 12px; }
.video-card .v-dur { color: var(--ink-soft); font-size: 11px; }

.float-appoint { position: sticky; bottom: 14px; margin: 18px 14px 0; z-index: 5; }
.float-appoint .btn { width: 100%; padding: 13px; font-size: 15px; background: linear-gradient(120deg, var(--brand), var(--gold)); box-shadow: 0 8px 20px rgba(194,96,60,.35); }

.post-mini { background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.post-mini .pm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.post-mini .pm-head img { width: 26px; height: 26px; border-radius: 50%; }
.post-mini .pm-head b { font-size: 13px; }
.role-tag { font-size: 10px; padding: 1px 7px; border-radius: 999px; background: #eef3ee; color: var(--green); border: 1px solid #d5e2d7; }
.role-tag.签约客户 { background: #fdf1ea; color: var(--brand-deep); border-color: #f0d5c5; }
.post-mini .pm-content { font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-mini .pm-foot { display: flex; gap: 16px; margin-top: 8px; font-size: 11px; color: var(--ink-soft); align-items: center; }
.pm-foot svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }

/* ============ 护理师列表/详情 ============ */
.entry-row { display: flex; gap: 8px; margin: 12px 14px 0; }
.entry-row button { flex: 1; background: #fff; border-radius: 12px; padding: 10px 4px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); color: var(--green-deep); }
.filter-bar { margin: 12px 14px 0; }
.filter-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.filter-row::-webkit-scrollbar { display: none; }
.f-chip { flex: none; font-size: 12px; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.f-chip.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.search-row { display: flex; gap: 8px; margin-top: 6px; }
.search-row input { flex: 1; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 16px; font-size: 13px; }
.search-row .btn { padding: 0 18px; font-size: 13px; }
.nurse-list-card { display: flex; gap: 12px; background: #fff; border-radius: 16px; padding: 12px; margin: 10px 14px 0; box-shadow: var(--shadow); }
.nurse-list-card > img { width: 86px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.nl-body { flex: 1; min-width: 0; }
.nl-body .nc-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.nl-meta { font-size: 11px; color: var(--ink-soft); margin-top: 3px; }
.nl-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.nl-bottom { display: flex; align-items: center; margin-top: 8px; font-size: 11px; color: var(--ink-soft); gap: 10px; }
.nl-bottom .go { margin-left: auto; color: var(--brand); font-weight: 600; font-size: 12px; }

.detail-hero { position: relative; }
.detail-hero > img { width: 100%; height: 240px; object-fit: cover; }
.detail-hero .dh-mask { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20,20,16,.75)); }
.dh-info { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.dh-info h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.dh-info p { font-size: 12px; opacity: .9; margin-top: 4px; }
.dh-stats { display: flex; gap: 14px; margin-top: 8px; font-size: 11px; }
.dh-stats span { background: rgba(255,255,255,.16); padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.info-grid .ig { text-align: center; }
.info-grid .ig b { display: block; font-size: 15px; color: var(--green-deep); }
.info-grid .ig span { font-size: 11px; color: var(--ink-soft); }

.heat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.heat-row .hr-name { width: 62px; font-size: 12px; color: var(--ink-soft); flex: none; }
.heat-row .hr-bar { flex: 1; height: 12px; border-radius: 6px; background: #f0ebdf; overflow: hidden; }
.heat-row .hr-bar i { display: block; height: 100%; border-radius: 6px; transition: width .8s cubic-bezier(.16,1,.3,1); }
.heat-row .hr-score { width: 30px; text-align: right; font-size: 12px; font-weight: 700; color: var(--brand-deep); }

.cert-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cert-scroll::-webkit-scrollbar { display: none; }
.cert-item { flex: none; width: 130px; }
.cert-item img { width: 130px; height: 88px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.cert-item p { font-size: 11px; text-align: center; margin-top: 5px; color: var(--ink-soft); }

.schedule-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.schedule-strip::-webkit-scrollbar { display: none; }
.sch-day { flex: none; width: 46px; text-align: center; padding: 7px 0; border-radius: 10px; background: #f6f1e6; font-size: 10px; color: var(--ink-soft); }
.sch-day b { display: block; font-size: 13px; margin-bottom: 2px; color: var(--ink); }
.sch-day.free { background: #e9f3ec; color: var(--green); }
.sch-day.free b { color: var(--green); }
.sch-day.booked { background: #fbeaea; color: #b0492f; }
.sch-day.booked b { color: #b0492f; }

.review-item { border-top: 1px dashed var(--line); padding: 10px 0; }
.review-item:first-child { border-top: none; }
.review-item .rv-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.review-item .rv-stars { color: var(--gold); display: flex; }
.review-item .rv-stars svg { width: 12px; height: 12px; }
.review-item p { font-size: 13px; margin-top: 5px; line-height: 1.6; }

.detail-bottom-bar { position: sticky; bottom: 0; display: flex; gap: 10px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); padding: 10px 14px 14px; border-top: 1px solid var(--line); z-index: 5; }
.detail-bottom-bar .db-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--ink-soft); width: 52px; }
.detail-bottom-bar .db-item svg { width: 21px; height: 21px; }
.detail-bottom-bar .db-item.on { color: var(--brand); }
.detail-bottom-bar .btn { flex: 1; }

/* ============ 论坛 ============ */
.forum-tabs { display: flex; gap: 4px; padding: 10px 12px 6px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.forum-tabs::-webkit-scrollbar { display: none; }
.forum-tabs .ft { flex: none; font-size: 13px; padding: 7px 13px; border-radius: 999px; color: var(--ink-soft); }
.forum-tabs .ft.on { background: var(--brand); color: #fff; font-weight: 600; }
.publish-fab { margin-left: auto; flex: none; display: flex; align-items: center; gap: 4px; background: linear-gradient(120deg, var(--brand), var(--gold)); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.publish-fab svg { width: 14px; height: 14px; }
.post-card { background: #fff; border-radius: 16px; padding: 14px; margin: 10px 14px 0; box-shadow: var(--shadow); }
.pc-head { display: flex; align-items: center; gap: 9px; }
.pc-head img { width: 36px; height: 36px; border-radius: 50%; }
.pc-head .pc-name { font-size: 14px; font-weight: 600; }
.pc-head .pc-cat { margin-left: auto; }
.pc-content { font-size: 14px; line-height: 1.75; margin: 10px 0; white-space: pre-wrap; }
.pc-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pc-images img { width: 100%; height: 86px; object-fit: cover; border-radius: 10px; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pc-tags .chip { color: var(--pink); background: #f9eef4; }
.pc-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.pc-foot .act { display: flex; align-items: center; gap: 5px; }
.pc-foot .act svg { width: 16px; height: 16px; }
.pc-foot .act.liked { color: var(--brand); }

.comment-item { padding: 12px 0; border-top: 1px dashed var(--line); }
.comment-item .cm-head { display: flex; align-items: center; gap: 8px; }
.comment-item .cm-head img { width: 26px; height: 26px; border-radius: 50%; }
.comment-item .cm-head b { font-size: 13px; }
.comment-item p { font-size: 13px; line-height: 1.7; margin: 6px 0 0 34px; }
.official-reply { margin: 8px 0 0 34px; background: #f2f6f2; border-left: 3px solid var(--green); border-radius: 8px; padding: 8px 10px; font-size: 12px; color: var(--green-deep); }
.official-reply b { display: block; font-size: 11px; margin-bottom: 2px; }
.comment-input-bar { position: sticky; bottom: 0; display: flex; gap: 8px; background: #fff; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.comment-input-bar input { flex: 1; height: 38px; border-radius: 999px; background: #f4f0e7; border: none; padding: 0 16px; font-size: 13px; }

.pub-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px; }
.pub-cats .f-chip { font-size: 13px; padding: 8px 16px; }
.pub-area { margin: 0 14px; }
.pub-area textarea { width: 100%; min-height: 130px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px; font-size: 14px; line-height: 1.7; resize: none; }
.pub-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 14px; }
.pub-imgs .pi { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; position: relative; }
.pub-imgs .pi-add { width: 72px; height: 72px; border-radius: 12px; border: 1.5px dashed #cfc7b4; display: grid; place-items: center; color: var(--ink-soft); font-size: 24px; }
.auth-check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 14px; font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.auth-check input { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--brand); }

/* ============ 我的 ============ */
.mine-head { background: linear-gradient(135deg, var(--green), var(--green-deep)); border-radius: 0 0 28px 28px; padding: 22px 18px 26px; color: #fff; }
.mine-head .mh-row { display: flex; align-items: center; gap: 14px; }
.mine-head img { width: 62px; height: 62px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); }
.mh-name { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mh-name .role-tag { background: rgba(255,255,255,.18); color: #fff; border: none; }
.mh-sub { font-size: 12px; opacity: .8; margin-top: 4px; }
.mh-actions { margin-left: auto; display: flex; flex-direction: column; gap: 8px; }
.mh-actions button { font-size: 12px; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.due-card { margin: -18px 14px 0; background: linear-gradient(120deg, #fdeef3, #fdf6ea); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.due-card .d-icon { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--pink); box-shadow: var(--shadow); }
.due-card .d-icon svg { width: 22px; height: 22px; }
.due-card b { font-size: 14px; }
.due-card p { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.due-card .d-days { margin-left: auto; text-align: right; }
.due-card .d-days b { font-size: 22px; color: var(--pink); }
.mine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px; }
.mine-grid .mg { background: #fff; border-radius: 14px; padding: 13px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; box-shadow: var(--shadow); }
.mine-grid .mg svg { width: 22px; height: 22px; color: var(--brand); }
.service-visual { margin: 0 14px; }
.sv-progress { height: 10px; border-radius: 5px; background: #f0ebdf; overflow: hidden; margin: 10px 0 6px; }
.sv-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #5cae7c); border-radius: 5px; }
.sv-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-soft); }

/* 表单 */
.form-card { margin: 14px; background: #fff; border-radius: 16px; padding: 6px 16px; box-shadow: var(--shadow); }
.form-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.form-row:last-child { border-bottom: none; }
.form-row label { width: 82px; font-size: 13px; color: var(--ink-soft); flex: none; }
.form-row input, .form-row select, .form-row textarea { flex: 1; border: none; font-size: 14px; background: none; }

/* 弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(25,23,18,.5); display: flex; align-items: flex-end; justify-content: center; z-index: 100; animation: fadein .2s; backdrop-filter: blur(2px); }
.modal-mask.center { align-items: center; }
.modal-panel { width: min(395px, 100vw); max-height: 76vh; background: #fff; border-radius: 22px 22px 0 0; padding: 18px; overflow-y: auto; animation: slideUp .3s cubic-bezier(.16,1,.3,1); }
.modal-mask.center .modal-panel { border-radius: 22px; width: min(340px, 88vw); }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-panel h3 { font-size: 16px; margin-bottom: 14px; }
.video-mock { aspect-ratio: 16/9; border-radius: 14px; background: #1e1c17; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 8px; }
.video-mock .vm-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 20px; }
.video-mock small { opacity: .6; font-size: 11px; }
.identity-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.identity-option.on { border-color: var(--brand); background: #fdf6f1; }
.identity-option img { width: 42px; height: 42px; border-radius: 50%; }
.identity-option b { font-size: 14px; }
.identity-option p { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }

/* 活动页/海报页 */
.poster-flow img { width: 100%; border-radius: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.act-hero { position: relative; border-radius: 18px; overflow: hidden; margin: 10px 14px; box-shadow: var(--shadow); }
.act-hero img { width: 100%; height: 180px; object-fit: cover; }
.act-hero .ah-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff; background: linear-gradient(transparent 40%, rgba(25,23,18,.7)); }
.act-hero .ah-text h2 { font-size: 20px; }
.act-hero .ah-text p { font-size: 12px; opacity: .9; margin-top: 4px; }

/* 星级评分 */
.star-row { display: flex; gap: 6px; }
.star-row button { color: #d8d2c2; }
.star-row button.on { color: var(--gold); }
.star-row svg { width: 30px; height: 30px; }

/* 日历 */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .cg-head { text-align: center; font-size: 10px; color: var(--ink-soft); padding: 4px 0; }
.cal-cell { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; background: #f7f3ea; }
.cal-cell.free { background: #e9f3ec; color: var(--green); font-weight: 600; }
.cal-cell.booked { background: #fbeaea; color: #b0492f; font-weight: 600; }
.cal-cell.rest { background: #f0ede4; color: #b0a890; }
.cal-cell i { font-style: normal; font-size: 9px; margin-top: 1px; }
.legend-row { display: flex; gap: 14px; justify-content: center; margin-top: 10px; font-size: 11px; color: var(--ink-soft); }
.legend-row i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

/* ===== v0.2 技能筑途入口卡 ===== */
.skill-entry { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.skill-entry img { width: 100%; height: 108px; object-fit: cover; }
.skill-entry .se-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,71,51,.78), rgba(34,71,51,.15) 75%); }
.skill-entry .se-text { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #fff; }
.skill-entry .se-text b { font-size: 17px; letter-spacing: 1px; }
.skill-entry .se-text p { font-size: 11px; opacity: .85; margin-top: 3px; }
/* ===== v0.2 年度视频｜品控现场 二级页 ===== */
.yq-tabs { display: flex; gap: 8px; padding: 12px 14px 2px; }
.yq-tabs .ft { flex: 1; text-align: center; font-size: 14px; padding: 9px 0; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.yq-tabs .ft.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.yq-video-card { margin: 12px 14px 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; }
.yq-video-card img { width: 100%; height: 150px; object-fit: cover; }
.yq-video-card .yq-play { position: absolute; top: 75px; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; color: #fff; font-size: 15px; backdrop-filter: blur(3px); }
.yq-video-card .yq-body { padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.yq-video-card .yq-body b { font-size: 14px; }
.yq-video-card .yq-body span { margin-left: auto; font-size: 11px; color: var(--ink-soft); }

/* ===== v0.3 首页布局（严格按主界面一首页规格） ===== */
.navbtn-row { display: flex; gap: 10px; margin: 14px 14px 0; }
.navbtn { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: .15s; }
.navbtn:active { transform: scale(.97); }
.navbtn img { width: 100%; height: 84px; object-fit: cover; }
.fourbtn-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 14px 0; }
.fourbtn { background: #fff; border-radius: 14px; padding: 11px 4px 9px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--shadow); transition: .15s; }
.fourbtn:active { transform: scale(.95); }
.fourbtn img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.fourbtn span { font-size: 11px; font-weight: 600; }
.feat-row { display: flex; gap: 10px; }
.feat-item { flex: 1; background: #fff; border-radius: 14px; padding: 13px 6px 11px; display: flex; flex-direction: column; align-items: center; gap: 5px; box-shadow: var(--shadow); }
.feat-item img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.feat-item b { font-size: 13px; }
.duo-row { display: flex; gap: 10px; margin: 14px 14px 0; align-items: stretch; }
.duo-card { flex: 1; min-width: 0; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.duo-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.duo-title::before { content: ''; width: 4px; height: 13px; border-radius: 2px; background: linear-gradient(var(--brand), var(--gold)); }
.dz-post { border-top: 1px dashed var(--line); padding: 8px 0; }
.dz-post b { font-size: 12px; }
.dz-post p { font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin: 3px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dz-post span { font-size: 10px; color: #b3ab97; }
.act-cover { width: 100%; height: 110px; object-fit: cover; border-radius: 12px; }
.act-name { font-size: 12px; text-align: center; margin-top: 6px; color: var(--ink-soft); }
.svc-tabs { flex-wrap: nowrap; }
.svc-tabs .ft { font-size: 13px; padding: 8px 0; }
.free-cs-btn { position: fixed; right: max(18px, calc(50% - 178px)); bottom: 90px; background: linear-gradient(120deg, var(--brand), var(--gold)); color: #fff; font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(194,96,60,.4); z-index: 20; }
@media (max-width: 480px) { .free-cs-btn { right: 18px; } }
