/* 会员区公共样式(2026-11-11 memberstyle,店主「会员页也换成官网的样子」):member.html / member-link.html / member-help.html 共用。
   放在 site.css 后面加载:字体(Figtree / Bricolage,只管英文和数字,中文走系统字体)、颜色变量(--deep / --cream / --orange …)、页脚样式都直接用 site.css 的;
   这里只写会员区自己的组件,变量名和 site.css 一致。只换视觉:class / id 一个没改(回归和页面脚本都按它们找)。
   会员码(条码)那块永远白底、四周留白,不放任何图片和渐变(扫描枪要静区)。 */
:root {
    --gold: #C9A45C;        /* 会员卡上的细金线 / 小字,只做点缀 */
    --gold-soft: #E9D9B4;
    --card: #FFFFFF;
    --danger: #B42318;
    --danger-bg: #FDECEA;
    --warn-bg: #FFF6E0;
    --warn-ink: #7A4B00;
    --ok: #1E7F3A;
    --ok-bg: #EAF6EE;
    --mradius: 14px;
    --shadow: 0 1px 2px rgba(22, 44, 8, 0.06), 0 6px 20px rgba(22, 44, 8, 0.06);
}
body { font-size: 16px; line-height: 1.5; background: var(--cream); color: var(--ink); }
h1, h2, h3 { letter-spacing: -0.01em; }
button, input, select, textarea { font-family: inherit; }

/* ── 顶栏:整条墨绿 + 官方 Jiamart 标(手机房子标,宽屏字标)。手机两行(标志 + 语言 / 返回首页 · 修改密码 · 退出),宽屏一行 ── */
header.mtop { position: sticky; top: 0; z-index: 900; background: var(--deep); color: #fff; --focus: #fff; padding: 0; display: block; }
header.mtop .top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; max-width: 960px; height: auto; min-height: 0; margin: 0 auto; padding: 8px var(--gutter) 4px; }
header.mtop .logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 48px; min-width: 0; flex: 1 1 0; order: 1; }
header.mtop .logo img { width: auto; height: 34px; flex: 0 0 auto; }
header.mtop .logo .logo-word { display: none; height: 30px; }
header.mtop .logo span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; padding-left: 10px; border-left: 1px solid rgba(255,255,255,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 480px) { header.mtop .logo .logo-house { display: none; } header.mtop .logo .logo-word { display: block; } }
header.mtop .lang-toggle { order: 2; flex: 0 0 auto; min-height: 44px; min-width: 52px; margin: 0; padding: 0 14px; border: 2px solid rgba(255,255,255,0.45); border-radius: 999px; background: transparent; color: #fff; font-size: 0.92rem; font-weight: 700; }
header.mtop .lang-toggle:hover { border-color: #fff; opacity: 1; }
header.mtop nav.mnav { order: 3; flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0 -10px; }
header.mtop nav.mnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin: 0; color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.92rem; font-weight: 600; border-radius: 8px; }
header.mtop nav.mnav a:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
@media (min-width: 760px) {
    header.mtop .top-row { flex-wrap: nowrap; padding: 10px var(--gutter); }
    header.mtop .logo { flex: 0 1 auto; }
    header.mtop nav.mnav { order: 2; flex: 0 1 auto; margin: 0 0 0 auto; flex-wrap: nowrap; }
    header.mtop .lang-toggle { order: 3; }
}

/* ── 品牌氛围横幅:左边墨绿文字块,右边照片(装饰图,alt 为空)。
   照片:member-tea = 一芳官方情境照(NAS Yifang/I_一芳新官網資料/情境照/檸檬紅茶&檸檬綠茶&檸檬烏龍.jpg,自有);
         member-greens = Unsplash Hugo Kruip「bok choy and tomatoes in crate」(Unsplash License,可商用免署名)。
   都由 ~/code/jiamart-wt/home-photos/ 的成品再裁 4:3、压成 webp(≤45KB)+ jpg 兜底;手机只下一张,宽屏才加第二张(loading=lazy + 手机 display:none 不下载) ── */
.mtopband { max-width: 960px; margin: 0 auto; padding: 16px var(--gutter) 0; }
.mbanner { position: relative; display: grid; grid-template-columns: 1fr 44%; min-height: 128px; overflow: hidden; border-radius: var(--mradius); background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.mbanner-text { position: relative; z-index: 1; align-self: center; padding: 18px 8px 18px 18px; }
.mbanner-kicker { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.mbanner-title { display: block; margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; word-break: keep-all; }
.mbanner-media { position: relative; display: flex; min-width: 0; }
.mbanner-media img { display: block; width: 100%; height: 100%; min-height: 128px; object-fit: cover; flex: 1 1 0; min-width: 0; }
.mbanner-media img + img { display: none; }
.mbanner-media::before { content: ''; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 38%; background: linear-gradient(90deg, var(--deep), rgba(31,61,12,0)); pointer-events: none; }
@media (min-width: 760px) {
    .mtopband { padding-top: 24px; }
    .mbanner { grid-template-columns: 1fr 58%; min-height: 190px; }
    .mbanner-text { padding: 28px 12px 28px 32px; }
    .mbanner-media img { min-height: 190px; }
    .mbanner-media img + img { display: block; }
}

/* ── 版心 / 卡片 ── */
.container { max-width: 960px; margin: 0 auto; padding: 16px var(--gutter) 40px; }
.card { background: var(--card); border-radius: var(--mradius); padding: 20px 18px; margin-bottom: 16px; box-shadow: var(--shadow); border: 1px solid rgba(228, 220, 203, 0.7); }
@media (min-width: 760px) { .card { padding: 24px 26px; } .container { padding-top: 24px; } }
.container h2, .card h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em; }
.loading { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.loading::before { content: ''; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border: 3px solid var(--line); border-top-color: var(--deep); border-radius: 50%; animation: mspin .9s linear infinite; }
@keyframes mspin { to { transform: rotate(360deg); } }

/* ── 余额卡(会员卡):墨绿 + 暖白字 + 细金线点缀,右下角淡淡的房子标 ── */
.balance-card { position: relative; overflow: hidden; color: #FBF7EF; border: 0; border-radius: 18px; padding: 22px 20px 20px;
    background: radial-gradient(120% 140% at 100% 0%, #2F5A16 0%, rgba(47,90,22,0) 55%), linear-gradient(150deg, #1F3D0C 0%, #183209 60%, #122606 100%);
    box-shadow: 0 14px 34px rgba(22, 44, 8, 0.28); }
.balance-card::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold) 0%, #E8CC8A 50%, var(--orange) 100%); }
.balance-card::after { content: ''; position: absolute; right: -18px; bottom: -22px; width: 150px; height: 130px; background: url('/img/home/logo-jiamart-house-white.png') center / contain no-repeat; opacity: 0.05; pointer-events: none; }
.balance-card .label { position: relative; font-size: 0.95rem; font-weight: 600; color: rgba(251,247,239,0.86); opacity: 1; overflow-wrap: anywhere; }
.balance-card .amount { position: relative; font-family: var(--display); font-size: clamp(2.6rem, 2rem + 3vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 18px; font-variant-numeric: tabular-nums; color: #fff; }
.balance-card .meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 0.88rem; opacity: 1; }
.balance-card .meta > div { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.09); border: 1px solid rgba(233,217,180,0.28); color: rgba(251,247,239,0.82); }
.balance-card .meta b { font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

/* ── 会员码:白卡、条码外再包一圈白底,不放图片 / 渐变 ── */
.card.mcode { text-align: center; }
.mcode-hint { font-size: 0.95rem; color: var(--muted); margin-bottom: 14px; }
#memberQr { display: inline-block; max-width: 100%; padding: 16px 18px !important; background: #fff !important; border-radius: 12px !important; box-shadow: none !important; border: 1px solid var(--line); }
#memberQr svg { background: #fff; }
.mcode-card { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.mcode-card b { font-family: var(--display); color: var(--ink) !important; font-size: 1.25rem !important; letter-spacing: 0.08em !important; font-variant-numeric: tabular-nums; }

/* ── 统计 ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 14px 14px 12px; background: var(--cream); border-radius: 12px; border: 1px solid var(--line); }
.stat .k { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.stat .k svg { width: 16px; height: 16px; flex: 0 0 16px; stroke: var(--deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stat .v { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: var(--ink); margin-top: 4px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ── 资料行 / 开关 ── */
.prow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 48px; }
.prow:last-child { border-bottom: none; }
.prow .k { color: var(--muted); font-size: 0.95rem; min-width: 0; }
.prow .v { color: var(--ink); font-weight: 600; word-break: break-all; text-align: right; margin-left: 0; }
.prow .v.unset { color: #A39C8C; font-weight: 400; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.card-head h2 { margin: 0; }
.card-head a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--deep); border-radius: 999px; color: var(--deep); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.card-head a:hover { background: var(--deep); color: #fff; }
.mknote { font-size: 0.82rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: 0 0 auto; margin-left: 0; }
.switch::before { content: ''; position: absolute; inset: -7px -4px; }   /* 点击区扩到 ≥44px */
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #CFC8B8; border-radius: 30px; cursor: pointer; transition: background-color .2s; }
.switch span:before { content: ''; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.switch input:checked + span { background: var(--deep); }
.switch input:checked + span:before { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--deep); outline-offset: 2px; }
.switch input:disabled + span { opacity: .5; cursor: default; }
.vbadge { display: inline-block; font-size: 0.75rem; border-radius: 999px; padding: 1px 8px; margin-left: 6px; font-weight: 700; }
.vbadge.ok { background: var(--ok-bg); color: var(--ok); }
.vbadge.no { background: #FFF1E0; color: #9A4A00; }
.vbtn { margin-left: 6px; min-height: 44px; border: 1.5px solid var(--deep); background: #fff; color: var(--deep); border-radius: 999px; padding: 4px 12px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.vbtn:hover { background: var(--deep); color: #fff; }

/* ── 完善资料进度 ── */
.pgwrap { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0 10px; }
.pgbar { height: 8px; background: var(--cream-2); border-radius: 6px; overflow: hidden; margin: 8px 0; }
.pgbar > div { height: 100%; background: linear-gradient(90deg, var(--deep), #3F7A1C); border-radius: 6px; }
.pgtext { font-size: 0.95rem; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.pgmiss { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pgmiss button { min-height: 44px; border: 1.5px solid var(--deep); background: #fff; color: var(--deep); border-radius: 999px; padding: 4px 12px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.pgdone { color: var(--ok); }

/* ── 消费记录表 ── */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 11px 6px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
td { overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--deep); font-weight: 700; }
.tag-spend, .tag-recharge, .tag-card-pay { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.tag-spend { background: var(--cream-2); color: #5C4A1F; }
.tag-recharge { background: var(--ok-bg); color: var(--ok); }
.tag-card-pay { background: #E9EDF7; color: var(--yifang); }
@media (max-width: 480px) { th, td { padding: 10px 4px; font-size: 0.85rem; } }

/* ── 空状态:小图标 + 一句友好的话 ── */
.empty { color: var(--muted); text-align: center; padding: 22px 12px 18px; font-size: 0.95rem; font-weight: 600; }
.empty::before { content: ''; display: block; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: var(--cream-2) center / 26px 26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l-1.2 11.2A2 2 0 0 1 15.8 20H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 10V6a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E"); }
#voucherCard .empty::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z'/%3E%3Cpath d='M10 7v10' stroke-dasharray='2 2'/%3E%3C/svg%3E"); }
[data-er] .empty::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.empty-sub { display: block; margin: 4px auto 0; max-width: 26em; font-size: 0.85rem; font-weight: 400; color: var(--muted); line-height: 1.5; }

/* ── 我的券:分段标签 + 券面 ── */
.en { color: var(--muted); font-weight: 400; font-size: .85em; }
.vtabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--cream-2); border-radius: 999px; flex-wrap: nowrap; }
.vtabs button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 6px 6px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; font-size: 0.88rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.vtabs button.on { background: var(--deep); color: #fff; box-shadow: 0 2px 6px rgba(22,44,8,0.2); }
.vtabs .vcount { display: inline-block; min-width: 1.5em; padding: 0 5px; margin-left: 2px; border-radius: 999px; background: rgba(31,61,12,0.1); font-size: 0.78rem; }
.vtabs button.on .vcount { background: rgba(255,255,255,0.2); }
.vitem { position: relative; background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: 12px; padding: 14px 14px 14px 22px; margin-bottom: 10px; overflow: hidden; overflow-wrap: anywhere; }
.vitem::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--deep); }
.vitem::after { content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(255,255,255,0.9); }
.vitem.soon { background: #FFFBF2; }
.vitem.soon::before { background: var(--orange); }
.vitem.past { color: var(--muted); background: #FAF8F3; }
.vitem.past::before { background: #CFC8B8; }
.vtitle { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.voffer { color: var(--deep); font-weight: 700; margin: 4px 0 6px; font-size: 0.98rem; }
.vitem.soon .voffer { color: #9A4A00; }
.vitem.past .voffer { color: var(--muted); }
.vmeta { font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.vsoon { display: inline-block; background: var(--orange); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 0.75rem; font-weight: 700; margin-left: 6px; }
.vshow { margin-top: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--deep); background: #fff; color: var(--deep); border-radius: 999px; cursor: pointer; font-size: 0.9rem; font-weight: 700; }
.vshow:hover { background: var(--deep); color: #fff; }
.vcode { margin-top: 12px; text-align: center; }
.vcode .vbar { display: inline-block; padding: 14px; background: #fff; border-radius: 10px; border: 1px solid var(--line); box-shadow: none; max-width: 100%; }
.vcode .vcodetext { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; font-size: 1.05rem; margin-top: 6px; color: var(--ink); }
.vterms { display: inline-flex; float: right; align-items: center; min-height: 44px; font-size: 0.85rem; font-weight: 600; color: var(--deep); margin-top: 2px; }
#voucherCard::after { content: ''; display: block; clear: both; }

/* ── 通知条(过期 / 停用 / 有效期)── */
.card[data-card-expired], .card[data-card-stopped] { background: var(--danger-bg) !important; border: 1px solid #F5C2BD !important; border-left: 6px solid var(--danger) !important; color: #7A271A; }
.card[data-expiry-notice] { background: var(--warn-bg) !important; border: 1px solid #F1DDAE !important; border-left: 6px solid var(--orange) !important; color: var(--warn-ink); }
.card[data-expiry-valid] { background: transparent !important; box-shadow: none; border: 1px dashed var(--line); color: var(--muted) !important; padding: 12px 16px; }

/* ── 按钮 / 表单(弹窗、加入卡、设密码页、member-link)── */
.mbtn, button.btn-primary, .modal .row button.btn-primary { background: var(--deep) !important; color: #fff !important; }
.mbtn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 0 18px; border: 2px solid var(--deep); border-radius: 12px; font-size: 1rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; line-height: 1.25; }
.mbtn:hover { background: #2C5413 !important; }
.mbtn-line { background: transparent !important; color: var(--deep) !important; }   /* 次按钮必须透明底(回归 member-onboard-browser [W7] 认这个) */
.mbtn-line:hover { background: var(--cream-2) !important; }
.mbtn-wa { background: #25D366 !important; border-color: #25D366; color: #fff !important; }
.mbtn-wa:hover { background: #1EBE5A !important; }
.mlink { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--deep); font-weight: 700; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31,61,12,0.35); }
.mhelp-link { background: var(--cream-2) !important; border: 1px solid var(--line) !important; color: var(--deep) !important; border-radius: 12px !important; display: flex !important; align-items: center; justify-content: center; }
.mhelp-link:hover { border-color: var(--deep) !important; }
.mbox-note { text-align: left; background: var(--warn-bg); border: 1px solid #F1DDAE; border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; color: var(--warn-ink); line-height: 1.6; }
.mfield-input, .modal input, .modal select, #setupCard input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #D9D0BD; border-radius: 10px; background: #fff; color: var(--ink); font-size: 1rem; margin-bottom: 12px; }
.modal input:focus, .modal select:focus, #setupCard input:focus, .mfield-input:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(31,61,12,0.15); }
.modal input[type=checkbox] { width: 20px; min-height: 0; height: 20px; padding: 0; margin: 2px 0 0; accent-color: var(--deep); flex: 0 0 auto; }
.modal input:disabled { background: var(--cream); color: var(--muted); }
#setupCard label.fl, .modal label.fl { display: block; font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.err, #setupCard .err, .modal .err { color: var(--danger); font-size: 0.88rem; min-height: 1.2em; margin: 2px 0 8px; }
.modal .why { font-size: 0.8rem; color: var(--muted); margin: -6px 0 12px; line-height: 1.45; }
#pfExt a { color: var(--deep) !important; font-weight: 600; }

/* ── 弹窗 ── */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(18, 30, 10, 0.55); z-index: 9999; align-items: center; justify-content: center; padding: 16px; }
.modal-bg.show { display: flex; }
.modal { background: #fff; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; border-radius: 18px; padding: 24px 20px 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.3); --focus: var(--deep); }
.modal h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 800; margin: 0 0 16px; }
.modal .row { display: flex; gap: 10px; margin-top: 4px; }
.modal .row button { flex: 1; min-height: 50px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 700; cursor: pointer; }
.modal .row button:hover { border-color: var(--deep); }
#delModal .row button#delBtn { background: var(--danger) !important; border-color: var(--danger); color: #fff !important; }

/* ── 加入页 / 设密码页 ── */
#joinCard { padding: 28px 20px 24px !important; }
#joinCard h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem) !important; letter-spacing: -0.02em; }
.mperks { list-style: none; display: grid; gap: 12px; margin: 4px auto 22px; max-width: 360px; text-align: left; }
.mperks li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font-size: 0.95rem; }
.mperks svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--cream-2); stroke: var(--deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mperks strong { display: block; font-family: var(--display); font-size: 1.02rem; line-height: 1.2; }
.mperks span { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
#setupCard h2, #setupGone h2 { font-family: var(--display); }
#setupWarn { background: var(--danger-bg) !important; border-left: 6px solid var(--danger) !important; border-radius: 12px !important; }

/* ── 底部:帮助文字 / 注销链接 ── */
.mfoot-help { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 28px 0 8px; }
#delLink { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted) !important; }

/* ── 合规页脚:用 site.css 的页脚样式(法定名 / 公司号 / 注册地址 / 政策链接,和官网同一份);会员区没有底部导航,不垫导航高度 ── */
footer.mfooter { padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 8px; }
footer.mfooter .mfoot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
footer.mfooter .mfoot-brand img { height: 48px; width: auto; }
footer.mfooter .mfoot-brand p { color: var(--ft-dim); font-size: 0.95rem; max-width: 26em; }
footer.mfooter .footer-pay { margin-top: 24px; }
@media print { header.mtop nav.mnav, footer.mfooter, .mtopband { display: none !important; } }
