/* index.html 样式（抽出，2026-09-12）*/
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#FDF2F5;--card:#FFF;--text:#1A1A1A;--text2:#6E6E6E;--text3:#757575;
  --border:#EBE8E3;--accent:#D96E89;--accent-text:#D96E89;--accent-light:rgba(217,110,137,.12);
}
body{
  font-family:'寒蝉全圆体',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
  background:#E8E5E0;display:flex;justify-content:center;align-items:flex-start;min-height:100vh;padding:20px;
}
.phone{width:390px;height:844px;border-radius:44px;overflow:hidden;background:var(--bg);box-shadow:0 0 0 3px #3A3B4E,0 0 0 7px #1E1F2E,0 0 0 9px #3A3B4E,0 24px 72px rgba(0,0,0,.55);display:flex;flex-direction:column;position:relative}

/* Status Bar - inside header */
.status-bar{flex-shrink:0;height:44px;padding:12px 24px 0;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:rgba(255,255,255,0.85);font-weight:600;position:relative;z-index:2}.status-bar .sb-r svg{width:14px;height:14px;filter:drop-shadow(0 0 2px rgba(170,100,120,.35))}
.status-bar .sb-r{display:flex;align-items:center;gap:4px}

/* Header */
.header{flex-shrink:0;position:relative;background:url('../icons/my-bg.jpg') center/cover no-repeat;padding-bottom:56px}
.h-nav{height:44px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}
.h-nav .capsule{display:flex;align-items:center;gap:4px;padding:0 10px;height:30px;border-radius:16px;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.15)}
.h-nav .capsule .c-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.65)}
.h-nav .capsule .c-bar{width:1px;height:11px;background:rgba(255,255,255,0.65);border-radius:1px;margin:0 1px}
.h-nav .capsule .c-circle{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,0.65)}

.user-info{position:relative;z-index:2;padding:8px 16px 0;display:flex;align-items:center;cursor:pointer}
.avatar{width:64px;height:64px;border-radius:50%;border:2px solid rgba(255,255,255,0.5);flex-shrink:0;overflow:hidden;background:#F5EDE0}
.avatar img{width:100%;height:100%;object-fit:cover}
.user-detail{flex:1;margin-left:12px;min-width:0}
.nickname{font-size:19px;font-weight:700;color:#fff;line-height:1.2;text-shadow:0 0 6px rgba(180,110,135,.5),0 1px 3px rgba(160,90,115,.4)}
.uid-row{display:flex;align-items:center;gap:8px;margin-top:4px;padding:4px 12px;border-radius:12px;background:rgba(180,120,135,.35);display:inline-flex}
.uid-label{font-size:12px;font-weight:800;color:rgba(255,255,255,0.85);flex-shrink:0;margin-right:2px}
.uid-icon{width:14px;height:14px;flex-shrink:0}
.uid-text{font-size:13px;color:rgba(255,255,255,0.95)}
.copy-icon{width:13px;height:13px;color:rgba(255,255,255,0.85);cursor:pointer;flex-shrink:0;margin-left:2px}
.msg-inline{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer}
.msg-bell{width:18px;height:18px;color:#fff;display:block;filter:drop-shadow(0 1px 3px rgba(120,50,70,.55))}
.msg-badge{position:absolute;top:-5px;right:-8px;min-width:13px;height:13px;border-radius:6.5px;background:#FF3B30;color:#fff;font-size:8px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1}
.member-arrow{width:20px;height:20px;color:#fff;flex-shrink:0;cursor:pointer;filter:drop-shadow(0 1px 3px rgba(120,50,70,.65))}

/* Points Bar (v2.7：白底 + 粉图标块，老板娘定稿) */
.points-bar{flex-shrink:0;margin:-40px 16px 0;position:relative;z-index:3;background:#fff;border-radius:20px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 16px rgba(196,141,151,.18);cursor:pointer;border:1.5px solid rgba(241,212,216,.5)}
.points-bar:active{transform:scale(.97)}
.points-l{display:flex;align-items:center;gap:10px}
.points-ico{width:36px;height:36px;border-radius:12px;background:#FBE8EC;display:flex;align-items:center;justify-content:center;color:#D96E89}
.points-ico svg{width:18px;height:18px}
.points-label{font-size:13px;font-weight:700;color:#6E6E6E}
.points-r{display:flex;align-items:baseline;gap:8px}
.points-num{font-size:22px;font-weight:800;letter-spacing:.5px;font-variant-numeric:tabular-nums;color:#D96E89}
.points-unit{font-size:11px;color:#B8A8AC}
.points-arrow{width:14px;height:14px;color:#D96E89;opacity:.6}

/* Scroll */
.scroll{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 16px 20px}
.scroll::-webkit-scrollbar{display:none}

/* Card */
.card{background:var(--card);border-radius:16px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08);margin-top:12px}
.card:first-child{margin-top:0}

/* Grid 4-col */
.grid4{display:grid;grid-template-columns:repeat(4,1fr);padding:16px 0;gap:4px}
.grid-item{display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;padding:4px 0}
.grid-item:active{transform:scale(.93)}
.icon-wrapper{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;position:relative}
/* v3.16：宫格「新」角标（前台粉色口径 #D96E89） */
.grid-new{position:absolute;top:-6px;right:-9px;background:#D96E89;color:#fff;font-size:10px;font-weight:700;line-height:1.5;padding:0 5px;border-radius:8px;letter-spacing:1px;box-shadow:0 1px 4px rgba(217,110,137,.35)}
.icon-wrapper img{width:28px;height:28px;object-fit:contain}
.icon-wrapper svg{width:24px;height:24px;color:var(--accent-text)}
.grid-label{font-size:12px;font-weight:600;color:var(--text);white-space:nowrap}

/* Section header */
.sec-header{padding:16px 16px 8px;font-size:15px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:6px}
.sec-header::before{content:'';width:3px;height:14px;border-radius:2px;background:var(--accent)}

/* Service Grid */
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:8px 0 16px;gap:4px}
.svc-item{display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;padding:8px 0}
.svc-item:active{transform:scale(.93)}
.svc-icon-wrap{width:44px;height:44px;border-radius:50%;background:#FBE8EC;display:flex;align-items:center;justify-content:center}
.svc-icon-wrap img{width:24px;height:24px;object-fit:contain}
.svc-icon-wrap svg{width:24px;height:24px;color:var(--accent-text)}
.svc-label{font-size:12px;color:var(--text);font-weight:500;white-space:nowrap}

/* 我的成就入口 */
.ach-entry{display:flex;align-items:center;gap:12px;padding:16px;cursor:pointer}
.ach-entry:active{background:#FDF7F9}
.ach-mini{width:44px;height:44px;flex-shrink:0}
.ach-mini svg{width:100%;height:100%;display:block}
.ach-et{flex:1;min-width:0}
.ach-et-t{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:600;color:var(--text)}
.ach-et-s{font-size:12px;color:var(--text2);margin-top:4px}
.ach-num{color:var(--accent);font-weight:700}
.ach-dot{width:8px;height:8px;border-radius:50%;background:#FF3B30;flex-shrink:0}
.ach-arrow{flex-shrink:0;color:#C48D97;display:flex;align-items:center}
.ach-arrow svg{width:16px;height:16px}

/* 图鉴 */
.atlas-card{background:var(--card);border-radius:16px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08);margin-top:12px;padding:0 0 12px}
.atlas-header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 16px}
.atlas-hd-l{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--text)}
.atlas-hd-l::before{content:'';width:3px;height:14px;border-radius:2px;background:var(--accent)}
.atlas-hd-r{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text2);cursor:pointer}
.atlas-hd-r:active{opacity:.6}
.atlas-summary{display:flex;gap:12px;padding:0 16px 12px}
.atlas-stat{flex:1;background:linear-gradient(135deg,#FBE8EC,#FFF5F7);border-radius:12px;padding:12px 12px;text-align:center}
.atlas-stat .stat-num{font-size:24px;font-weight:800;color:var(--accent-text);line-height:1}
.atlas-stat .stat-label{font-size:11px;color:var(--text2);margin-top:3px}

/* Bottom Tab Bar */

.tab-item 

/* ===== 游客模式（未登录态，?guest=1 进入，注销成功演示） ===== */
.phone.guest .avatar{background:#F0EDE8;border-color:rgba(255,255,255,.4)}
.phone.guest .avatar img{opacity:.95}
.phone.guest .msg-inline,.phone.guest .uid-row,.phone.guest .member-arrow{display:none}
.phone.guest .nickname{color:#fff;font-weight:600;font-size:16px}
.phone.guest .points-num{font-size:14px;font-weight:600;color:#fff}
.phone.guest .points-unit,.phone.guest .points-arrow{display:none}
.phone.guest .grid-label,.phone.guest .svc-label{color:#9A9590}
/* 游客引导弹窗 */
.phone .sheet-mask{position:absolute;inset:0;background:rgba(253,242,245,.75);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:55;display:flex;align-items:flex-end;opacity:0;pointer-events:none;transition:opacity .2s}
.phone .sheet-mask.show{opacity:1;pointer-events:auto}
.phone .sheet-bar{width:36px;height:4px;background:#E3DDD8;border-radius:2px;margin:0 auto 12px}
.phone .sheet-title{font-size:15px;font-weight:700;color:var(--text);text-align:center;padding:2px 18px 12px}
.phone .guest-login-sheet{width:100%;background:#fff;border-radius:20px 20px 0 0;padding:16px 0 24px;transform:translateY(100%);transition:transform .25s ease}
.phone .sheet-mask.show .guest-login-sheet{transform:translateY(0)}
.guest-login-icon{width:52px;height:52px;border-radius:50%;background:rgba(217,110,137,.12);margin:0 auto 12px;display:flex;align-items:center;justify-content:center}
.guest-login-icon svg{width:28px;height:28px;color:#D96E89}
.guest-login-desc{font-size:12px;color:var(--text2);text-align:center;padding:0 24px 4px;line-height:1.7}
.guest-btns{padding:16px 18px 0;display:flex;gap:10px}
.guest-btns .guest-btn{flex:1;padding:12px 0;border-radius:24px;font-size:15px;font-weight:600;cursor:pointer;border:none;font-family:inherit;text-align:center}
.guest-btns .guest-cancel{background:#fff;color:#D96E89;box-shadow:inset 0 0 0 1.5px #D96E89}
.guest-btns .guest-ok{background:#D96E89;color:#fff}
.tab-center 
.capsule{display:flex;align-items:center;gap:4px;padding:0 10px;height:30px;border-radius:16px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.12);flex-shrink:0;backdrop-filter:blur(4px)}
.c-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.65)}
.c-bar{width:1px;height:11px;background:rgba(255,255,255,.65);border-radius:1px;margin:0 1px}
.c-circle{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.65)}
.phone::before{content:'';position:absolute;top:7px;left:50%;transform:translateX(-50%);width:112px;height:26px;background:#1B1B28;border-radius:20px;z-index:999}

/* reicon 图标占位（v3.5）：尺寸由 inline font-size 控制 */
.ico{display:inline-block;line-height:1;flex-shrink:0}
.ico svg{display:block;width:1em;height:1em}

/* 小程序滚动条规范（2026-08-06 珏哥）：隐藏滚动条，保留滚动功能 */
*{scrollbar-width:none !important}
*::-webkit-scrollbar{display:none !important;width:0;height:0}

/* ===== 手机框架 + 右侧面板横向布局 ===== */
.wrapper{display:flex;align-items:flex-start;gap:0}
/* ===== 说明面板（右侧，宽度自适应） ===== */
.page-spec{width:clamp(340px, 38vw, 680px);margin-left:60px;flex-shrink:0;position:sticky;top:20px;background:#fff;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.05);font-family:'寒蝉全圆体','ChillRoundF','PingFang SC','Microsoft YaHei',sans-serif}
.spec-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;cursor:pointer;font-size:14px;font-weight:500;color:#0F172A;user-select:none}
.spec-header:hover{background:#F8FAFC}
.spec-sub{font-size:12px;font-weight:700;color:#A0606E;background:#FBE8EC;border-radius:6px;padding:4px 10px;margin:14px 0 6px}
.spec-arrow{font-size:10px;transition:.3s;color:#64748B}
.spec-arrow.open{transform:rotate(90deg)}
.spec-body{display:none;padding:0 18px 18px}
.spec-body.open{display:block;max-height:calc(100vh - 110px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.spec-body.open::-webkit-scrollbar{width:4px}
.spec-body.open::-webkit-scrollbar-thumb{background:#D8C4C9;border-radius:2px}
.spec-section{margin-bottom:18px}
.spec-h{font-size:13px;font-weight:500;color:#0F172A;margin-bottom:6px;padding-bottom:4px;border-bottom:1px solid #E2E8F0}
.spec-section p{font-size:13px;color:#334155;line-height:1.7}
.spec-section ul{font-size:13px;color:#334155;line-height:1.8;padding-left:18px}
.spec-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:4px}
.spec-table th{background:#F8FAFC;padding:6px 12px;text-align:left;font-size:12px;font-weight:500;color:#64748B;border-bottom:1px solid #E2E8F0}
.spec-table td{padding:6px 12px;font-size:13px;color:#334155;border-bottom:1px solid #E2E8F0;line-height:1.7}
.spec-table code{background:#F8FAFC;padding:1px 6px;border-radius:3px;font-size:12px;color:#C48D97}
/* 版本更新日志折叠 */
.log-item{font-size:12.5px;color:#4B5563;line-height:1.7;padding:6px 0;border-bottom:1px dashed #F1F3F5}
.log-item:last-child{border-bottom:none}
.log-item a.log-ver{color:#A0606E;font-weight:600;margin-right:6px;text-decoration:none;border-bottom:1px dashed #E8B4C2;cursor:pointer}
.log-item a.log-ver:hover{color:#8A4A5A;border-bottom-style:solid}

/* ===== 交互面板 ===== */
.annot-panel{width:clamp(280px, 30vw, 480px);margin-left:60px;flex-shrink:0;position:sticky;top:20px;background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:16px 18px;box-shadow:0 1px 2px rgba(0,0,0,.05);font-family:'寒蝉全圆体','ChillRoundF','PingFang SC','Microsoft YaHei',sans-serif}
.annot-group{font-size:12px;font-weight:700;color:#A0606E;background:#FBE8EC;border-radius:8px;padding:5px 10px;margin:14px 0 10px;letter-spacing:1px}
.annot-group:first-child{margin-top:0}
.annot-item{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;line-height:1.6}
.annot-item:last-child{margin-bottom:0}
.annot-dot{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#A0606E;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-top:1px}
.annot-info{flex:1;min-width:0}
.annot-title{font-size:13px;font-weight:600;color:#A0606E;margin-bottom:2px}
.annot-desc{font-size:12px;color:#888;line-height:1.6}

/* v: 版本更新日志展开修复（内联 display:none 需 !important 覆盖） */
#logBody.open{display:block !important}
/* 服务中心 · 行列表（v3.13） */
.svc-list{padding:4px 0 8px}
.svc-row{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;transition:background .15s}
.svc-row+.svc-row{border-top:1px solid var(--line)}
.svc-row:active{background:#FDF7F9}
.svc-row-ico{width:34px;height:34px;border-radius:11px;background:#FBE8EC;display:flex;align-items:center;justify-content:center;color:var(--accent-text);flex-shrink:0}
.svc-row-ico svg{width:18px;height:18px}
.svc-row-t{flex:1;font-size:14px;font-weight:600;color:var(--text)}
.svc-row-ar{color:#C9C2C4;flex-shrink:0}
.svc-row-so{flex-shrink:0;font-size:12px;color:var(--text3)}
/* 联系我们浮层（v3.13） */
.contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px;border-bottom:1px solid var(--line);cursor:pointer}
.contact-row:last-of-type{border-bottom:none}
.contact-row .cr-l{font-size:13px;color:var(--text)}
.contact-row .cr-v{font-size:13px;color:var(--text2);font-weight:600}
.contact-row .cr-v.done{color:#3E9B62}

/* v3.15：服务中心行去掉左侧图标（只留文字 + 右箭头） */
.svc-row{gap:0}
