/* =====================================================
 * 用户端样式 v11（健身房风格：深色主视觉 + 暖橙活力色）
 * 设计要点：大图卡片、圆角 18-24px、深色 hero、橙色 CTA
 * ===================================================== */
:root {
  --ink: #101318;
  --ink-2: #5b6472;
  --ink-3: #98a1b0;
  --ink-4: #c4cbd6;
  --line: #e9edf3;
  --bg: #f5f6f8;
  --card: #fff;
  --brand: #ff5a1f;
  --brand-2: #ff8a3d;
  --brand-deep: #ff4d0d;
  --dark: #0e1014;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(16, 19, 24, .05);
  --shadow-lg: 0 12px 30px rgba(16, 19, 24, .10);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
.hide { display: none !important; }
.pad { padding: 0 18px; }

/* ---------- 启动态 ---------- */
.page-loading {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--ink-3); font-size: 13px;
}
.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2.5px solid #e3e7ee; border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-view {
  position: fixed; inset: 0; z-index: 180; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px; text-align: center; color: var(--ink-2); font-size: 14px; line-height: 1.8;
}
.error-icon { font-size: 40px; }
.error-view button {
  margin-top: 8px; border: none; background: var(--brand); color: #fff;
  padding: 11px 26px; border-radius: 999px; font-size: 14px; font-weight: 700;
}
.view { animation: fadeUp .22s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 999px; padding: 11px 18px;
  font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform .12s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); color: #fff; box-shadow: 0 8px 20px rgba(255, 77, 13, .3); }
.btn-glass { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-soft { background: #f1f3f7; color: var(--ink); }
.btn-soft.danger { color: #e11d48; background: #fff1f4; }
.btn-plain { background: transparent; color: var(--ink-3); font-weight: 600; }
.btn-block { display: flex; width: 100%; padding: 14px; border-radius: 14px; font-size: 15px; margin-top: 12px; }
.btn.sm { padding: 9px 14px; font-size: 12.5px; }
.btn-wx { background: #07c160; color: #fff; box-shadow: 0 8px 18px rgba(7, 193, 96, .28); }
.btn:disabled { opacity: .55; }
/* v17 一键登录按钮 + 分隔线 */
.btn-oneclick {
  background: linear-gradient(135deg, #2b62ff, #1e40c8); color: #fff;
  box-shadow: 0 8px 20px rgba(43, 98, 255, .3); margin-top: 2px;
}
.btn-oneclick svg { flex: none; }
.oneclick-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; color: var(--ink-3); font-size: 11px; }
.oneclick-or i { flex: 1; height: 1px; background: var(--line); }
.oc-busy {
  display: inline-block; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: ocspin .7s linear infinite; margin-right: 2px;
}
@keyframes ocspin { to { transform: rotate(360deg); } }

/* ---------- 首页顶栏 ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  box-shadow: 0 6px 14px rgba(255, 77, 13, .28); color: #fff; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-txt { min-width: 0; }
.brand-txt b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-txt small { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .04em; margin-top: 2px; }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); overflow: hidden; flex: none;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 首页主视觉（v21.1：整体压矮一档） ---------- */
.hero {
  position: relative; border-radius: 24px; overflow: hidden;
  min-height: 148px; display: flex; align-items: flex-end;
  box-shadow: 0 16px 34px rgba(14, 16, 20, .22); background: #14171d;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.05);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,16,20,.15) 0%, rgba(14,16,20,.55) 58%, rgba(14,16,20,.88) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 15px 18px; width: 100%; }
.hero-kicker {
  display: inline-block; font-size: 9px; letter-spacing: .2em; font-weight: 700;
  color: rgba(255, 255, 255, .62); text-transform: uppercase; margin-bottom: 5px;
}
.hero h1 {
  font-size: 21px; line-height: 1.24; font-weight: 800; color: #fff;
  letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hero-sub { font-size: 11.5px; color: rgba(255, 255, 255, .68); margin-top: 5px; }
.hero-actions { display: flex; gap: 10px; margin-top: 10px; }
.hero-actions .btn { padding: 9px 16px; }

/* ---------- 公告 ---------- */
.notice {
  display: flex; gap: 9px; align-items: flex-start;
  background: #fff8ed; border: 1px solid #ffe2bd; color: #9a5b12;
  border-radius: 14px; padding: 12px 14px; font-size: 12.5px; line-height: 1.7; margin-top: 13px;
}
.notice b { flex: none; }

/* ---------- 分类横滑 ---------- */
.sec-head { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 12px; }
.sec-head.tight { margin: 18px 0 10px; }
.sec-head h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.sec-sub { font-size: 11.5px; color: var(--ink-3); margin-left: auto; }
.cats-block { margin-top: 4px; }
.cat-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  margin: 0 -18px; padding: 2px 18px 6px; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 8px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 8px), transparent 100%);
}
.cat-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
.cat-scroll::-webkit-scrollbar, .chip-row::-webkit-scrollbar, .img-scroll::-webkit-scrollbar { display: none; }
.cat-card {
  flex: none; width: 112px;
  background: var(--card); border-radius: 18px; padding: 13px 11px 12px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 7px;
  transition: transform .14s;
}
.cat-card:active { transform: scale(.97); }
.cat-icon {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.cat-card b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card small { font-size: 10.5px; color: var(--ink-3); }

/* ---------- 搜索 / 切换 ---------- */
.search-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.search-box {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 11px 14px; color: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.search-box input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 14px; color: var(--ink); }
.search-box input::placeholder { color: var(--ink-4); }
.mini-toggle { display: flex; gap: 2px; background: #eceff4; border-radius: 12px; padding: 3px; flex: none; }
.mini-toggle button {
  border: none; background: transparent; padding: 7px 11px; border-radius: 9px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
}
.mini-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(16, 19, 24, .12); }

.chip-row {
  display: flex; gap: 8px; overflow-x: auto;
  margin-top: 12px; padding: 2px 10px 4px 4px;
  -webkit-overflow-scrolling: touch; scroll-padding-left: 4px;
}
.hchip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  text-decoration: none;
}
.hchip-ico { font-size: 13px; line-height: 1; }
.hchip-n {
  font-size: 10.5px; font-weight: 700; color: var(--ink-3);
  background: #f1f4f8; border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center;
}
.hchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hchip.on .hchip-n { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .82); }

/* ---------- 器械卡片 ---------- */
.eq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eq-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .14s;
}
.eq-card:active { transform: scale(.98); }
.eq-photo {
  position: relative; aspect-ratio: 4 / 3; background: #eceff4;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--ink-4); overflow: hidden;
}
.eq-photo img { width: 100%; height: 100%; object-fit: cover; }
.eq-badge {
  position: absolute; left: 9px; top: 9px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: #fff; letter-spacing: .01em;
  background: rgba(12, 15, 19, .52); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
/* 用彩色小圆点表示难度，比整块红/绿更克制，也不会跟橙色主色打架 */
.eq-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--dot, #9aa4b2); box-shadow: 0 0 6px var(--dot, #9aa4b2);
}
.eq-badge.beginner { --dot: #43d17f; }
.eq-badge.intermediate { --dot: #f5a524; }
.eq-badge.advanced { --dot: #f4685f; }
.eq-body { padding: 11px 13px 13px; }
.eq-body h3 {
  font-size: 14.5px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eq-body p { font-size: 11px; color: var(--ink-3); margin-top: 5px; }

/* ---------- 动作列表 ---------- */
.ex-list { display: flex; flex-direction: column; gap: 10px; }
.ex-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 16px; padding: 10px; box-shadow: var(--shadow);
  transition: transform .14s;
}
.ex-row:active { transform: scale(.985); }
.ex-thumb {
  width: 54px; height: 54px; border-radius: 12px; flex: none; overflow: hidden;
  background: #eceff4; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-4);
}
.ex-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ex-txt { flex: 1; min-width: 0; }
.ex-txt h3 { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-txt p { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-txt .main-dot {
  display: inline-block; font-size: 9.5px; font-style: normal; font-weight: 700;
  background: #fff2ea; color: var(--brand-deep); padding: 2px 6px; border-radius: 6px; margin-right: 5px;
  vertical-align: 1px;
}
.chev { color: var(--ink-4); font-size: 20px; line-height: 1; flex: none; }

/* ---------- 空态 / 页脚 ---------- */
.empty { text-align: center; padding: 34px 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.9; }
.empty-icon { font-size: 30px; display: block; margin-bottom: 8px; opacity: .8; }
.list-empty { text-align: center; color: var(--ink-3); font-size: 12.5px; padding: 16px 0; line-height: 1.9; }
.app-footer { text-align: center; color: #b3bac6; font-size: 10.5px; padding: 22px 0 10px; letter-spacing: .02em; }
.tabbar-space { height: 78px; }

/* ---------- 器械 / 动作详情 ---------- */
.media-hero {
  position: relative; height: 236px; background: #0e1014; overflow: hidden;
}
.media-hero.media-empty { height: 196px; background: radial-gradient(120% 120% at 20% 0%, #2a2f3a 0%, #14171d 55%, #0e1014 100%); }
.media-stage { position: absolute; inset: 0; }
.media-hero img, .media-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-hero .media-poster { opacity: .92; cursor: zoom-in; }

/* v17：视频播放中的控制条（暂停/关闭）——右下角悬浮，全屏里同样可见 */
.media-stage:fullscreen { background: #000; display: flex; align-items: center; justify-content: center; }
.media-stage:fullscreen video { position: static; width: 100%; height: 100%; object-fit: contain; }
.media-stage:fullscreen img { display: none; }
.v-ctrl {
  position: absolute; right: 10px; bottom: 10px; z-index: 30;
  display: flex; align-items: center; gap: 8px;
}
.v-ctrl-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 10px; border: none; border-radius: 10px;
  background: rgba(10, 12, 16, .62); backdrop-filter: blur(6px);
  color: #fff; font-size: 12px; font-weight: 600;
  transition: transform .12s, background .15s;
}
.v-ctrl-btn:active { transform: scale(.94); background: rgba(10, 12, 16, .8); }
.v-ctrl-btn svg { display: block; }
.v-ctrl-btn .ic-play, .v-ctrl-btn .ic-pause { display: block; }
.v-ctrl-btn .hide { display: none; }
.media-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,16,20,.45) 0%, rgba(14,16,20,0) 35%, rgba(14,16,20,.25) 100%);
}
.media-empty-tag {
  position: absolute; z-index: 5; left: 14px; bottom: 32px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  background: rgba(16, 19, 24, .55); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); color: rgba(255, 255, 255, .88); font-size: 11.5px; font-weight: 600;
}
.media-empty-tag .mp-icon { font-size: 13px; opacity: .85; }
.media-back {
  position: absolute; z-index: 6; top: 14px; left: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(16, 19, 24, .48); color: #fff; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px);
}
.v-loading {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(14, 16, 20, .35); color: #fff; font-size: 12px;
}
.v-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite;
}
.video-error, .video-placeholder {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255, 255, 255, .72); font-size: 12.5px; text-align: center; padding: 20px;
}
.video-error .ve-icon, .video-placeholder .vp-icon { font-size: 26px; opacity: .8; }
.ve-retry {
  margin-top: 4px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12);
  color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 12px;
}
.ve-hint { font-size: 10.5px; color: rgba(255, 255, 255, .45); line-height: 1.7; }
/* v20.1：教程视频「有声无画」编码提示（浮在视频下方，不挡关闭按钮） */
.v-codec-warn {
  position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 46px;
  padding: 9px 12px; border-radius: 10px; font-size: 11.5px; line-height: 1.6;
  background: rgba(18, 20, 26, .94); color: rgba(255, 255, 255, .85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); pointer-events: none;
}
.ve-diag {
  margin-top: 2px; border: none; background: linear-gradient(135deg, #ff8a3c, #ff5d2e);
  color: #fff; padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 93, 46, .4);
}

.eq-head {
  position: relative; z-index: 3; margin-top: -22px;
  background: var(--bg); border-radius: 24px 24px 0 0; padding: 18px 18px 0;
}
.eq-tags { display: flex; align-items: center; gap: 9px; }
.pill {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #eef1f6; color: var(--ink-2);
}
.pill.beginner { background: #e8f7ee; color: #0f7a45; }
.pill.intermediate { background: #fff4e5; color: #b45309; }
.pill.advanced { background: #ffe9e9; color: #c02525; }
.eq-scans { font-size: 11.5px; color: var(--ink-3); }
.eq-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; line-height: 1.3; }

/* v15：标签栏改成"分段控件"——外层容器留出左右呼吸位，里面整条圆角滑轨，
   不再是一颗颗 pill 直接贴着屏幕边缘 */
.tabs-wrap {
  position: sticky; top: 0; z-index: 8;
  padding: 12px 16px 10px;
  background: linear-gradient(180deg, var(--bg) 72%, rgba(245, 246, 248, 0));
}
.tabs {
  display: flex; gap: 4px; padding: 4px;
  background: #e8ecf2; border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(16, 19, 24, .04);
}
.tab {
  flex: 1; border: none; background: transparent; color: var(--ink-2);
  padding: 10px 0; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  transition: background .15s, color .15s;
}
.tab.on { background: var(--ink); color: #fff; box-shadow: 0 2px 8px rgba(16, 19, 24, .18); }
.panel { padding: 14px 18px 0; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.card-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.card-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-more { font-size: 11px; color: var(--ink-3); }
.card.safety { background: #fff8ed; border: 1px solid #ffe6c7; box-shadow: none; }
.card.safety .card-title { color: #9a5b12; }
.empty-card { text-align: center; color: var(--ink-3); font-size: 12.5px; line-height: 1.9; }

.seg { display: flex; gap: 4px; background: #eef1f6; border-radius: 14px; padding: 4px; margin-bottom: 12px; }
.seg-btn { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.seg-btn.on { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(16, 19, 24, .1); }
.seg-btn i { font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-left: 4px; }

/* 教程内容 */
.steps { list-style: none; counter-reset: step; margin-top: 6px; }
.steps li {
  counter-increment: step; position: relative; padding: 9px 0 9px 32px;
  font-size: 13.5px; line-height: 1.75; color: #333b47;
  border-bottom: 1px dashed #f1f3f7;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 9px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff2ea; color: var(--brand-deep);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.points { list-style: none; margin-top: 6px; }
.points li { position: relative; padding: 7px 0 7px 18px; font-size: 13.5px; line-height: 1.75; color: #333b47; }
.points li::before {
  content: ''; position: absolute; left: 3px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.safety-list { list-style: none; margin-top: 6px; }
.safety-list li { position: relative; padding: 7px 0 7px 22px; font-size: 13px; line-height: 1.75; color: #7c4a12; }
.safety-list li::before { content: '!'; position: absolute; left: 2px; top: 8px; font-weight: 800; color: #d97706; }
.img-scroll { display: flex; gap: 10px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; }
.img-scroll img { height: 176px; border-radius: 12px; object-fit: cover; flex: none; }
.img-tip { font-size: 10.5px; color: var(--ink-4); text-align: center; margin-top: 8px; }
.img-broken {
  width: 176px; height: 176px; border-radius: 12px; background: #f1f3f7; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-3); font-size: 11.5px; text-align: center; line-height: 1.7; gap: 4px;
}

/* ---------- 训练打卡 ---------- */
.field-label { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; margin: 14px 0 6px; }
#nickname, .plan-grid input {
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fafbfc; font-size: 14px; outline: none; color: var(--ink);
}
#nickname:focus, .plan-grid input:focus { border-color: var(--brand); background: #fff; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.plan-grid label { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 5px; }
.timer-state { text-align: center; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--brand-deep); }
.timer-clock {
  text-align: center; font-size: 46px; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.15; margin: 4px 0 2px;
}
.timer-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 12px; }
.timer-dots span { width: 8px; height: 8px; border-radius: 50%; background: #e3e7ee; transition: all .2s; }
.timer-dots span.done { background: var(--brand); }
.timer-dots span.cur { box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); background: var(--brand); }
.timer-meta { text-align: center; font-size: 12.5px; color: var(--ink-2); margin-bottom: 16px; }
.rest-banner {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px;
  margin-bottom: 12px; font-size: 12.5px;
}
.rest-banner b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rest-banner button {
  margin-left: 10px; border: none; background: rgba(255, 255, 255, .16); color: #fff;
  padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
}
.timer-row { display: flex; gap: 10px; margin-top: 10px; }
.timer-row .btn { flex: 1; padding: 13px; border-radius: 14px; font-size: 14px; }
.summary-body { margin: 12px 0 4px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed #f1f3f7; font-size: 13px; color: var(--ink-2); }
.sum-row:last-child { border-bottom: none; }
.sum-row b { font-size: 14.5px; color: var(--ink); }

/* 训练记录 */
.rec-list { margin-top: 4px; }
.rec-item { padding: 11px 0; border-bottom: 1px solid #f4f6f9; }
.rec-item:last-child { border-bottom: none; }
.rec-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rec-top b { font-size: 13.5px; font-weight: 700; }
.rec-top time { font-size: 10.5px; color: var(--ink-4); flex: none; }
.rec-sets { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.rec-empty { text-align: center; padding: 20px 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.9; }

/* ---------- 分类页 ---------- */
.cat-hero {
  position: relative; padding: 54px 18px 22px;
  background: radial-gradient(120% 100% at 0% 0%, #2a2f3a 0%, #14171d 55%, #0e1014 100%);
  color: #fff; border-radius: 0 0 26px 26px;
}
.cat-hero .media-back { background: rgba(255, 255, 255, .14); }
.cat-hero-head { display: flex; align-items: center; gap: 13px; }
.cat-hero-icon {
  flex: none; width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 20px rgba(0, 0, 0, .28);
}
.cat-hero-txt { min-width: 0; }
.cat-hero h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.cat-hero p { font-size: 12px; color: rgba(255, 255, 255, .58); margin-top: 5px; }
.cat-hero + .pad { padding-top: 14px; min-height: calc(100vh - 200px); display: flex; flex-direction: column; }
.cat-hero + .pad > .app-footer { margin-top: auto; }
.cat-others { margin-top: 18px; }
.cat-others-title { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.cat-others .chip-row { margin-top: 0; }
.cat-others .hchip { text-decoration: none; display: inline-flex; align-items: center; }

/* 分类页的动作清单：序号代替重复缩略图，更像一份目录 */
.ex-row-idx { padding: 11px 12px 11px 10px; border-radius: 14px; gap: 10px; }
.ex-idx {
  flex: none; width: 26px; text-align: center;
  font-size: 13px; font-weight: 800; letter-spacing: -.01em;
  color: var(--ink-4); font-variant-numeric: tabular-nums;
}
.ex-row-idx .ex-txt h3 { font-size: 14px; }
.ex-row-idx .ex-txt p { margin-top: 2px; font-size: 11px; }

/* ---------- 我的 ---------- */
.mine-hero {
  background: radial-gradient(120% 120% at 100% 0%, #2b3240 0%, #14171d 52%, #0e1014 100%);
  color: #fff; padding: 26px 18px 24px; border-radius: 0 0 28px 28px;
  position: relative; overflow: hidden;
}
.mine-hero::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -80px; top: -110px; background: radial-gradient(circle, rgba(255, 90, 31, .35), transparent 65%);
}
.mine-row { display: flex; align-items: center; gap: 14px; position: relative; }
.mine-avatar {
  width: 60px; height: 60px; border-radius: 20px; flex: none; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.mine-avatar:active { transform: scale(.94); }
.mine-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mine-id { flex: 1; min-width: 0; cursor: pointer; }
.mine-id:active { opacity: .8; }
.mine-id h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mine-id p { font-size: 11.5px; color: rgba(255, 255, 255, .58); margin-top: 4px; }
.mine-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: rgba(255, 255, 255, .07); border-radius: 18px; padding: 14px 6px; margin-top: 20px;
  position: relative;
}
.mine-stats > div { text-align: center; }
.mine-stats b {
  display: block; font-size: 17.5px; font-weight: 800; line-height: 1.2;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mine-stats b em { font-size: 10.5px; font-style: normal; font-weight: 700; margin-left: 1px; opacity: .62; }
.mine-stats span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.mine-body { padding-top: 14px; min-height: calc(100vh - 214px); display: flex; flex-direction: column; }
.mine-body > .app-footer { margin-top: auto; }
.menu-card { padding: 2px 6px; }
.menu-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 8px; background: transparent; border: none; border-bottom: 1px solid #f4f6f9;
  font-size: 14px; color: var(--ink); text-align: left;
}
.menu-item:last-child { border-bottom: none; }
.logout-txt { color: #e11d48; }
.delete-txt { color: #dc2626; }

/* v16.1 注销账号 */
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, .28);
}
.btn-danger:disabled { opacity: .45; box-shadow: none; }
.del-title { color: #dc2626; }
.del-list {
  margin: 4px 0 12px; padding: 12px 14px 12px 30px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
}
.del-list li { font-size: 12.5px; line-height: 1.9; color: #b91c1c; }
.del-agree { margin: 0 0 12px; }
.del-agree span { font-size: 12px; color: #7f1d1d; }
.pd-danger-zone {
  margin-top: 22px; padding: 14px; border-radius: 12px;
  background: #fef2f2; border: 1px dashed #fca5a5;
}
.pd-danger-title { font-size: 12.5px; font-weight: 800; color: #dc2626; margin: 0 0 4px; }
.pd-danger-hint { font-size: 12px !important; color: #b91c1c !important; }
.pd-delete-btn {
  width: 100%; margin-top: 10px; padding: 11px 0;
  border: none; border-radius: 12px; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff;
  box-shadow: 0 6px 14px rgba(220, 38, 38, .25);
}
.pd-delete-btn:active { transform: scale(.98); }
.pd-login-hint { font-size: 11.5px !important; color: #9ca3af !important; margin-top: 8px !important; text-align: center; }

/* v16.1 版权归属弹窗 */
.foot-brand {
  border: none; background: none; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
  border-bottom: 1px dashed currentColor; opacity: .85;
}
.foot-brand:active { opacity: 1; }
.fuyu-link {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #f6f7fa; border-radius: 14px; padding: 13px 14px; margin-bottom: 10px;
  transition: transform .12s ease;
}
.fuyu-link:active { transform: scale(.98); }
.fuyu-link .fy-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.fuyu-link .fy-ico.fy-kf { background: linear-gradient(135deg, #07c160, #34d399); }
.fuyu-link .fy-txt { flex: 1; min-width: 0; color: var(--ink); }
.fuyu-link .fy-txt b { display: block; font-size: 14px; font-weight: 700; }
.fuyu-link .fy-txt small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.fuyu-link .chev { color: var(--ink-3); font-weight: 800; }

/* ---------- 登录 ---------- */
.login-view { position: relative; min-height: 100vh; background: var(--dark); }
.login-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
/* 遮罩 + 品牌光晕：让深色登录页有健身房灯光的感觉，而不是一片纯黑 */
.login-view::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 38% at 88% 8%, rgba(255, 90, 31, .32), transparent 72%),
    radial-gradient(52% 36% at 4% 76%, rgba(70, 110, 255, .18), transparent 74%),
    linear-gradient(180deg, rgba(14, 16, 20, .34) 0%, rgba(14, 16, 20, .78) 56%, #0e1014 100%);
}
.login-wrap {
  position: relative; z-index: 2; min-height: 100vh; padding: 30px 18px calc(24px + var(--safe-b));
  display: flex; flex-direction: column; justify-content: center;
}
.login-close { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .16); color: #fff; border: none; z-index: 3; }
.login-head { margin-bottom: 20px; color: #fff; }
.login-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.login-head p { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.login-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.login-tabs { display: flex; gap: 4px; background: #f1f3f7; border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.login-tabs button { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.login-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(16, 19, 24, .1); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--ink-2); line-height: 1.65; margin-bottom: 14px; }
.agree input { margin-top: 2px; accent-color: var(--brand); width: 15px; height: 15px; flex: none; }
.agree a { color: var(--brand-deep); font-weight: 600; }
.login-input {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fafbfc; font-size: 15px; outline: none; margin-bottom: 10px; color: var(--ink);
}
.login-input:focus { border-color: var(--brand); background: #fff; }
.code-row { display: flex; gap: 8px; align-items: flex-start; }
.code-row .login-input { flex: 1; min-width: 0; }
.btn-code {
  flex: none; padding: 14px 14px; border-radius: 14px; border: none;
  background: #fff2ea; color: var(--brand-deep); font-size: 12.5px; font-weight: 700;
}
.btn-code:disabled { color: var(--ink-3); background: #f1f3f7; }
.login-tip { font-size: 11px; color: var(--ink-3); line-height: 1.7; margin-top: 12px; text-align: center; }
.wx-badge {
  width: 56px; height: 56px; border-radius: 18px; background: #e8f7ee; color: #07c160;
  display: flex; align-items: center; justify-content: center; margin: 6px auto 12px;
}
.wx-explain { font-size: 12.5px; color: var(--ink-2); text-align: center; line-height: 1.7; }
.login-foot { text-align: center; color: rgba(255, 255, 255, .35); font-size: 10.5px; margin-top: 20px; }

/* ---------- 其它页面 ---------- */
.page-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 700; }
.round-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.round-btn.light { background: #f1f3f7; border-color: transparent; }
.round-btn.ghost { visibility: hidden; }
.privacy-doc h1 { font-size: 20px; font-weight: 800; }
.privacy-doc .pd-update { font-size: 11.5px; color: var(--ink-3); margin: 6px 0 14px; }
.privacy-doc h2 { font-size: 14.5px; font-weight: 800; margin: 18px 0 6px; }
.privacy-doc p { font-size: 13px; line-height: 1.9; color: #4b5563; }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed; inset: 0; z-index: 110; background: rgba(10, 12, 16, .45);
  display: flex; align-items: flex-end; backdrop-filter: blur(2px);
}
.sheet {
  width: 100%; background: #fff; border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(20px + var(--safe-b)); animation: slideUp .22s ease both;
  max-height: 88vh; overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(18px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 40px; height: 4px; border-radius: 999px; background: #e3e7ee; margin: 0 auto 14px; position: relative; touch-action: none; cursor: grab; }
/* v18.1：小白条热区扩大（上下各 16px、左右各 60px），好按好拖 */
.sheet-handle::before { content: ''; position: absolute; inset: -16px -60px; }
.sheet-handle:active { background: #cfd6e0; }
.sheet-title { font-size: 17px; font-weight: 800; text-align: center; }
.sheet-sub { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 6px; }
.fb-options { display: flex; gap: 10px; margin: 14px 0 10px; }
.fb-option {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px;
  border: 1.5px solid var(--line); border-radius: 14px; font-size: 13px; color: var(--ink-2);
}
.fb-option input { accent-color: var(--brand); }
/* v26.4：反馈弹层——关联器械 + 附带运行日志 */
.fb-eq-row { margin-top: 2px; }
.fb-eq-row .login-input { width: 100%; box-sizing: border-box; appearance: none; -webkit-appearance: none; }
.fb-log-row {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  background: #f6f8fa; border: 1px solid #e6eaef; border-radius: 12px;
  padding: 11px 12px; margin: 12px 0 0; cursor: pointer;
}
.fb-log-row input { margin-top: 3px; accent-color: var(--brand); flex: none; }
.fb-log-row b { display: block; font-size: 13px; color: #1f2937; }
.fb-log-row small { display: block; margin-top: 2px; font-size: 11px; color: #8a94a6; line-height: 1.5; }
.sheet textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px;
  font-size: 14px; outline: none; resize: none; background: #fafbfc; color: var(--ink);
}
.sheet textarea:focus { border-color: var(--brand); background: #fff; }

/* ---------- v18 身材数据 ---------- */
.body-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.body-stats > div { background: #f6f8fb; border-radius: 14px; padding: 12px 8px; text-align: center; }
.body-stats b { display: block; font-size: 19px; font-weight: 800; color: var(--ink); }
.body-stats span { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3); }
.body-mini { margin-top: 10px; min-height: 64px; }
.body-mini svg { display: block; width: 100%; height: auto; }
.body-mini .bm-empty { display: flex; align-items: center; justify-content: center; min-height: 64px; font-size: 12px; color: var(--ink-3); }
.body-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 4px; }
.body-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.body-form input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 8px;
  font-size: 15px; font-weight: 800; text-align: center; outline: none; background: #fafbfc; color: var(--ink);
}
.body-form input:focus { border-color: var(--brand); background: #fff; }
.body-chart-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 2px 6px; }
.body-chart-head b { font-size: 13.5px; }
.body-chart-head span { font-size: 11px; color: var(--ink-3); }
.body-chart { min-height: 120px; }
.body-chart svg { display: block; width: 100%; height: auto; }
.body-chart .bc-empty { display: flex; align-items: center; justify-content: center; min-height: 120px; font-size: 12.5px; color: var(--ink-3); }

/* v26.3：身材报表卡 */
.body-report { margin-top: 10px; }
.body-report .br-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.body-report .br-grid.br-kcal { grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
.body-report .br-tile {
  background: var(--bg-soft, #f6f8fb); border-radius: 12px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--ink-3);
}
.body-report .br-tile b { font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.body-report .br-tile b.br-down { color: #0aa06e; }
.body-report .br-tile b.br-up { color: #ff5a1f; }
.body-report .br-tile b.br-flat { color: var(--ink-2); }
.body-report .br-tile.kcal { background: linear-gradient(135deg, #fff4ec, #fde8dc); }
.body-report .br-tile.kcal b { color: #ff5a1f; }
.body-report .br-extra {
  margin-top: 8px; font-size: 11.5px; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center;
}
.body-report .br-extra i { font-style: normal; opacity: .5; }
.body-report .br-hint { margin-top: 8px; font-size: 11.5px; color: var(--ink-2); background: #eef4ff; border-radius: 10px; padding: 8px 12px; }
.body-history { margin-top: 12px; max-height: 200px; overflow-y: auto; }
.body-history .bh-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 12.5px;
  border-bottom: 1px dashed var(--line); color: var(--ink-2);
}
.body-history .bh-row:last-child { border-bottom: none; }
.body-history .bh-date { color: var(--ink-3); flex: none; width: 86px; font-variant-numeric: tabular-nums; font-size: 11px; }
.body-history .bh-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.body-history .bh-val { font-weight: 700; color: var(--ink); }
.body-history .bh-note { margin-left: auto; color: var(--ink-3); font-size: 11px; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: rgba(16, 19, 24, .93); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 13px; z-index: 120; max-width: 82vw; text-align: center; line-height: 1.5;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22); animation: toastIn .2s ease both;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
/* 长提示（报错说明、引导文案）：换成方块卡片，左对齐、可多行、有滚动上限 */
.toast.toast-long {
  border-radius: 16px; padding: 14px 16px; text-align: left; line-height: 1.62;
  max-width: 86vw; max-height: 46vh; overflow-y: auto; font-size: 13px;
  background: rgba(16, 19, 24, .96); border: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- 底部标签栏 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: flex-end; height: calc(62px + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px);
  border-top: 1px solid #eef1f6; transition: transform .24s ease;
}
.tabbar.scroll-hidden { transform: translateY(110%); }
.tb-item {
  flex: 1; height: 62px; border: none; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #a8b0bd; font-size: 10.5px; font-weight: 600;
}
.tb-item.on { color: var(--brand-deep); }
.tb-scan { flex: none; width: 68px; }
.tb-scan svg {
  width: 54px; height: 54px; padding: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(255, 77, 13, .38); margin-top: -24px;
}

/* ---------- 扫码页 ---------- */
.scan-view { position: fixed; inset: 0; z-index: 90; background: #000; color: #fff; }
#scanVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-size: 15px; font-weight: 700;
}
.scan-top .round-btn { background: rgba(255, 255, 255, .16); border: none; color: #fff; font-size: 22px; }
.scan-stage {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 0 26px; text-align: center;
}
.scan-frame { position: relative; width: 226px; height: 226px; border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
.scan-corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--brand); }
.scan-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.scan-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.scan-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.scan-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.scan-tip { font-size: 12.5px; color: rgba(255, 255, 255, .82); }
.scan-error { background: rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px 18px; font-size: 12.5px; line-height: 1.9; color: #fff; max-width: 320px; }
.scan-error .se-icon { display: block; font-size: 26px; margin-bottom: 6px; }
.scan-foot { position: absolute; bottom: calc(38px + var(--safe-b)); left: 0; right: 0; text-align: center; font-size: 11.5px; color: rgba(255, 255, 255, .45); z-index: 3; }

/* =====================================================
 * v13：使用方法 / 训练记录 / 训练节奏 / 健身日历
 * ===================================================== */

/* ---------- 器械卡片：用法数量角标 ---------- */
.eq-pick {
  position: absolute; right: 8px; top: 9px;
  font-size: 10px; font-weight: 700; color: #fff; letter-spacing: .02em;
  background: rgba(255, 90, 31, .92); padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255, 77, 13, .3);
}

/* ---------- 器械页：单一用法直显 ---------- */
.solo-head { padding: 0 2px 12px; }
.solo-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: var(--brand-deep); background: #fff2ea; padding: 3px 9px; border-radius: 999px;
}
.solo-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-top: 9px; line-height: 1.35; }
.solo-head p { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

/* ---------- 器械页：多种用法清单 ---------- */
.method-card .card-sub { margin: 4px 0 8px; }
.method-list { display: flex; flex-direction: column; margin-top: 2px; }
.method-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f4f6f9;
}
.method-row:last-child { border-bottom: none; padding-bottom: 2px; }
.method-row:active { opacity: .7; }
.method-no {
  flex: none; width: 22px; text-align: center;
  font-size: 12px; font-weight: 800; color: var(--ink-4); font-variant-numeric: tabular-nums;
}
.method-thumb {
  flex: none; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; background: #f4f6f9;
}
.method-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-tag {
  display: inline-block; font-style: normal; font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 5px; margin-right: 6px; vertical-align: 1px;
  background: #eef1f6; color: var(--ink-2);
}
.m-tag.vid { background: #fff2ea; color: var(--brand-deep); }
.method-txt { flex: 1; min-width: 0; }
.method-txt b {
  display: block; font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.method-txt small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.method-txt .main-dot {
  display: inline-block; font-size: 9.5px; font-style: normal; font-weight: 700;
  background: #fff2ea; color: var(--brand-deep); padding: 2px 6px; border-radius: 6px; margin-left: 6px;
  vertical-align: 1px;
}

/* 器械基础说明：折叠在用法清单下面，不抢主内容 */
.eq-extra {
  background: var(--card); border-radius: 16px; padding: 2px 14px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.eq-extra summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; font-size: 13px; font-weight: 700; color: var(--ink-2);
  list-style: none; cursor: pointer;
}
.eq-extra summary::-webkit-details-marker { display: none; }
.eq-extra summary::after { content: '›'; color: var(--ink-4); font-size: 17px; transform: rotate(90deg); transition: transform .18s; }
.eq-extra[open] summary::after { transform: rotate(-90deg); }
.eq-extra-body { padding-bottom: 6px; }
.eq-extra-body .card { box-shadow: none; padding: 4px 0 10px; margin-bottom: 0; }

/* ---------- 打卡：登录身份条 ---------- */
.rec-who { margin: 14px 0 2px; }
.who-me {
  display: flex; align-items: center; gap: 10px;
  background: #f7f8fa; border-radius: 14px; padding: 10px 12px;
}
.who-ava {
  flex: none; width: 36px; height: 36px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  color: #fff; font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.who-ava img { width: 100%; height: 100%; object-fit: cover; }
.who-txt { flex: 1; min-width: 0; }
.who-txt b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-txt span { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }
.who-ok {
  flex: none; font-style: normal; font-size: 10px; font-weight: 700;
  color: #0f7a45; background: #e8f7ee; padding: 3px 9px; border-radius: 999px;
}
.who-login {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff7f2; border: 1px solid #ffe2cf; border-radius: 14px; padding: 12px;
}
.who-login:active { opacity: .8; }
.wl-ico { flex: none; font-size: 16px; }
.wl-txt { flex: 1; min-width: 0; }
.wl-txt b { display: block; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); }
.wl-txt small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.rec-select {
  width: 100%; padding: 11px 12px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fafbfc;
  font-size: 14px; color: var(--ink); outline: none;
}
.rec-select:focus { border-color: var(--brand); background: #fff; }

/* ---------- 我的：连续天数 / 全部记录 ---------- */
.mine-streak {
  display: flex; align-items: center; gap: 5px;
  margin-top: 10px; padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); font-size: 11.5px;
}
.mine-streak .ms-fire { font-size: 13px; }
.mine-streak b { font-size: 14.5px; font-weight: 800; color: #ffb27a; font-variant-numeric: tabular-nums; }
.mine-streak i { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .42); margin-left: 6px; }
.card-link {
  border: none; background: transparent; padding: 2px 0;
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
}
.card-link:active { color: var(--brand-deep); }

/* ---------- 记录卡片（我的 / 列表 / 日历共用） ---------- */
.rec-cards { display: flex; flex-direction: column; }
.rec-card {
  width: 100%; display: flex; align-items: center; gap: 11px; text-align: left;
  background: var(--card); border: none; border-radius: 16px; padding: 12px;
  box-shadow: var(--shadow); margin-bottom: 10px;
}
.rec-list .rec-card { margin-bottom: 8px; }
.rec-list .rec-card:last-child { margin-bottom: 0; }
.rec-card:active { transform: scale(.99); }
.rc-date {
  flex: none; width: 50px; text-align: center; padding-right: 9px;
  border-right: 1px solid var(--line);
}
.rc-date b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.rc-date span { display: block; font-size: 10px; color: var(--ink-4); margin-top: 2px; font-variant-numeric: tabular-nums; }
.rc-main { flex: 1; min-width: 0; }
.rc-main b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-main span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-side { flex: none; text-align: right; }
.rc-side b { display: block; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rc-side span { display: block; font-size: 9.5px; color: var(--ink-4); margin-top: 2px; }
.rec-list .rec-card + .rec-card { margin-top: 0; }

/* ---------- 训练详情 ---------- */
.rec-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, #2b3240 0%, #14171d 52%, #0e1014 100%);
  color: #fff; border-radius: 20px; padding: 18px; margin-bottom: 12px;
}
.rec-hero::before {
  content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -70px; top: -90px; background: radial-gradient(circle, rgba(255, 90, 31, .32), transparent 66%);
}
.rh-kicker { position: relative; font-size: 10.5px; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.rec-hero h1 { position: relative; font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 7px; line-height: 1.3; }
.rh-method { position: relative; font-size: 12.5px; color: #ffb27a; margin-top: 4px; }
.rh-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  margin-top: 15px; padding: 12px 4px; border-radius: 14px; background: rgba(255, 255, 255, .07);
}
.rh-stats > div { text-align: center; }
.rh-stats b { display: block; font-size: 15.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rh-stats span { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); margin-top: 3px; }

.rhythm-chart { margin-top: 10px; }
.rh-svg { width: 100%; height: 132px; display: block; }
.rh-tick { font-size: 8px; fill: #98a1b0; font-family: inherit; }
.rh-rest-txt { font-size: 8px; fill: #a8b0bd; font-family: inherit; }
.rhythm-empty {
  padding: 22px 12px; text-align: center; border-radius: 14px;
  background: #f7f8fa; font-size: 12px; color: var(--ink-3); line-height: 1.8;
}
.rhythm-empty span { display: block; font-size: 10.5px; color: var(--ink-4); margin-top: 4px; }
.rhythm-legend { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 10.5px; color: var(--ink-3); }
.rhythm-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.lg-work { background: linear-gradient(135deg, #ff8a3d, #ff4d0d); }
.lg-rest { background: rgba(16, 19, 24, .14); }
.lg-mark { background: #fff; border: 2px solid #ff4d0d; border-radius: 50%; width: 7px !important; height: 7px !important; }

.set-table { margin-top: 6px; }
.set-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #f1f3f7; }
.set-row:last-child { border-bottom: none; }
.set-no {
  flex: none; width: 24px; height: 24px; border-radius: 8px;
  background: #fff2ea; color: var(--brand-deep);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.set-w { flex: none; min-width: 68px; font-size: 13.5px; font-weight: 700; }
.set-x { flex: none; color: var(--ink-4); font-size: 12px; }
.set-r { font-size: 13px; color: var(--ink-2); }
.rec-jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 6px; }
.rec-jump .btn { padding: 13px; border-radius: 14px; font-size: 14px; }

/* ---------- 健身日历 ---------- */
.cal-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: var(--card); border-radius: 18px; padding: 16px 8px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.cal-stats > div { text-align: center; }
.cal-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--brand-deep); font-variant-numeric: tabular-nums; line-height: 1.2; }
.cal-stats span { display: block; font-size: 10px; color: var(--ink-3); margin-top: 3px; }
.cal-card { padding: 14px 14px 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.cal-nav {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #f4f6f9; color: var(--ink-2); font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.cal-nav.is-off { opacity: .25; }
.cal-week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin: 12px 0 6px; font-size: 10.5px; color: var(--ink-4); text-align: center;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; min-height: 40px; }
.cal-cell {
  position: relative; aspect-ratio: 1 / 1; border: none; border-radius: 11px;
  background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums; transition: background .15s;
}
.cal-cell:not(.blank):not(.on):active { background: #f4f6f9; }
.cal-cell.blank { background: transparent; }
.cal-cell.on {
  background: linear-gradient(135deg, #ff8a3d, #ff4d0d); color: #fff; font-weight: 800;
  box-shadow: 0 5px 12px rgba(255, 77, 13, .26);
}
.cal-cell.today { box-shadow: inset 0 0 0 2px rgba(255, 90, 31, .55); }
.cal-cell.on.today { box-shadow: 0 5px 12px rgba(255, 77, 13, .26), inset 0 0 0 2px #fff; }
.cal-cell.sel { outline: 1.5px solid rgba(16, 19, 24, .55); outline-offset: 1px; }
.cal-dot {
  position: absolute; bottom: 4px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .85);
}
.cal-cell:not(.on) .cal-dot { background: var(--brand); }
.cal-loading { grid-column: 1 / -1; padding: 24px 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.cal-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 10.5px; color: var(--ink-3); }
.cal-foot .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 3px;
  background: #f0f2f6; margin-right: 4px; vertical-align: -1px;
}
.cal-foot .dot.on { background: linear-gradient(135deg, #ff8a3d, #ff4d0d); }
.cal-range { margin-left: auto; color: var(--ink-4); }

/* ---------- 登录：没开登录方式时的说明 ---------- */
.login-nomethod { text-align: center; padding: 12px 4px 4px; }
.login-nomethod span { display: block; font-size: 26px; margin-bottom: 9px; }
.login-nomethod b { display: block; font-size: 14px; font-weight: 800; }
.login-nomethod p { font-size: 11.5px; color: var(--ink-3); line-height: 1.85; margin-top: 7px; }

/* ---------- 顶部栏右侧计数 ---------- */
.page-top-sub { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }

/* 记录卡片放在白色卡片里时换成浅灰底，避免"白叠白"没层次 */
.card .rec-list .rec-card { background: #f7f8fa; box-shadow: none; }

/* =====================================================
 * v14：器械 → 分类 → 动作
 * ===================================================== */

/* 器械简介入口（标题下的窄条，点灰色区域不误触封面图） */
.eq-intro-link {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  margin-top: 12px; padding: 11px 12px;
  background: #f7f8fa; border: 1px solid #eef1f6; border-radius: 14px;
}
.eq-intro-link:active { background: #f1f3f7; }
.eil-ico { flex: none; font-size: 15px; }
.eil-txt { flex: 1; min-width: 0; }
.eil-txt b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.eil-txt small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.eq-intro-link .chev { color: var(--ink-4); font-size: 17px; }

/* 分类 chips：横向滑动，和首页分类片一致的操作感 */
.eq-catrow {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 12px -18px 0; padding: 0 18px 2px;
  scrollbar-width: none;
}
.eq-catrow::-webkit-scrollbar { display: none; }
.eq-chip {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.eq-chip span { font-size: 10.5px; font-weight: 700; opacity: .55; }
.eq-chip.on {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 14px rgba(255, 77, 13, .22);
}
.eq-chip.on span { opacity: .85; }
.eq-chip:active { transform: scale(.97); }

/* 器械内的动作列表 */
.eq-excard .card-sub { margin: 4px 0 6px; }
.eq-exlist { display: flex; flex-direction: column; margin-top: 2px; }
.eq-exrow {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f4f6f9;
}
.eq-exrow:last-child { border-bottom: none; padding-bottom: 4px; }
.eq-exrow:active { opacity: .7; }
.eq-exno {
  flex: none; width: 20px; text-align: center;
  font-size: 11.5px; font-weight: 800; color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}
.eq-exthumb {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  overflow: hidden; background: #f4f6f9;
}
.eq-exthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-extxt { flex: 1; min-width: 0; }
.eq-extxt b {
  display: block; font-size: 14.5px; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eq-extxt small { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.eq-extxt .m-tag { margin-right: 0; }
.m-tag.cat { background: #eef4ff; color: #3b6fd4; }
.eq-exnone { padding: 22px 0; text-align: center; font-size: 12px; color: var(--ink-4); }

/* 器械简介页 */
.eq-intro-sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* =====================================================
 * v14：视频按需加载（先封面，点击才拉流）
 * ===================================================== */
.v-cover { position: absolute; inset: 0; display: grid; place-items: center; }
.v-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-cover.ph img { object-fit: contain; transform: scale(1.08); opacity: .95; }
.v-cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 45%, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .34) 100%);
}
.v-cover.fade { opacity: 0; transition: opacity .24s ease; }
.v-play {
  position: relative; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(16, 19, 24, .42);
  border: 1.5px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  transition: transform .16s, background .16s;
}
.v-play svg { margin-left: 2px; }
.v-play:active { transform: scale(.94); background: rgba(255, 90, 31, .8); }
.v-cover-tip {
  position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .02em;
  background: rgba(0, 0, 0, .34); padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
}

/* ===== v14.2 场馆排行榜 ===== */
.rank-banner {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: linear-gradient(135deg, #ff9a3c, #ff6a2b 60%, #f9532d);
  border: none; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px;
  color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 43, .28);
  cursor: pointer;
}
.rank-banner .rb-trophy { font-size: 30px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.rank-banner .rb-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rank-banner .rb-txt b { font-size: 16.5px; font-weight: 800; letter-spacing: .5px; }
.rank-banner .rb-txt i { font-style: normal; font-size: 11.5px; opacity: .9; }
.rank-banner .rb-go { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.22); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.rank-banner:active { transform: scale(.985); }

.rank-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.rank-tabs button {
  flex: 1; min-width: 0; padding: 9px 2px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 999px; font-size: 12px; color: var(--ink-2); font-weight: 700; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row {
  display: flex; align-items: center; gap: 11px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px;
}
.rank-row.me { border: 1.5px solid var(--brand); background: #fff7f2; }
.rk-no { width: 30px; text-align: center; font-size: 14px; font-weight: 800; color: var(--ink-3); flex: none; }
.rk-no.rk-medal { font-size: 20px; }
.rk-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #eef1f5; }
.rk-ava-txt { display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ffb26b, #ff7a3c); }
.rk-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rk-txt b { font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-txt b .rk-metag { font-style: normal; font-weight: 600; color: var(--brand); font-size: 11.5px; }
.rk-txt i { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-val { font-size: 13.5px; font-weight: 800; color: var(--brand); flex: none; }
.rank-loading { text-align: center; color: var(--ink-3); font-size: 13px; padding: 40px 0; }

.rank-me {
  display: flex; align-items: center; gap: 11px; margin-top: 12px;
  background: linear-gradient(135deg, #2b2f3a, #3d4354); color: #fff;
  border-radius: 14px; padding: 12px 13px;
}
.rank-me .rk-no { color: rgba(255,255,255,.85); }
.rank-me .rk-txt b { color: #fff; }
.rank-me .rk-txt i { color: rgba(255,255,255,.65); }
.rank-me .rk-val { color: #ffb26b; }
.rank-quit {
  width: 100%; margin-top: 12px; padding: 11px; border: none; background: none;
  color: var(--ink-3); font-size: 12.5px; cursor: pointer; text-decoration: underline;
}
.rk-btn { width: 100%; margin-top: 10px; }
.rank-privacy { font-size: 13px; line-height: 1.9; color: #4b5563; margin: 14px 2px 4px; }
.rank-privacy b { color: var(--ink); }

/* ---------- 播放诊断（v14.3c） ---------- */
.diag-body { max-height: 42vh; overflow-y: auto; text-align: left; padding: 4px 2px; -webkit-overflow-scrolling: touch; }
.diag-urlbox { padding-top: 6px; border-top: 1px solid rgba(0,0,0,.06); margin-top: 6px; }
.diag-wait { text-align: center; color: var(--ink-3); font-size: 13px; line-height: 1.9; padding: 26px 0; }
.diag-wait small { color: var(--ink-3); opacity: .75; }
.diag-line { font-size: 12.5px; line-height: 1.8; margin: 7px 2px; word-break: break-all; }
.diag-line.info { color: var(--ink-2); }
.diag-line.ok { color: #15803d; }
.diag-line.warn { color: #b45309; }
.diag-line.bad { color: #dc2626; }
.diag-verdict {
  margin: 12px 2px 6px; padding: 11px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.9;
  background: #f0f5ff; color: #1d4ed8; word-break: break-all;
}
.diag-url-label { display: block; font-size: 11.5px; color: var(--ink-3); margin: 4px 2px 6px; }
.diag-body textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e5e7eb); border-radius: 10px;
  padding: 9px 11px; font-size: 11.5px; line-height: 1.6; color: var(--ink-2);
  background: #f7f8fa; resize: none; word-break: break-all;
}

/* ---------- 图片放大查看（v15） ---------- */
.img-scroll img { cursor: zoom-in; }
.lb-mask {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(10, 11, 14, .94);
  display: flex; align-items: center; justify-content: center;
  animation: lbIn .18s ease-out;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-mask img {
  max-width: 100%; max-height: 88vh; width: auto; height: auto;
  border-radius: 4px; box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
}
.lb-close {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 17px; font-weight: 700;
}
.lb-loading {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, .65); font-size: 12.5px;
}

/* ---------- 资料设置（v15） ---------- */
.pf-avatar-row { display: flex; align-items: center; gap: 14px; margin: 16px 0 4px; cursor: pointer; }
.pf-avatar {
  width: 66px; height: 66px; border-radius: 50%; flex: none;
  background: #f1f4f8; border: 1.5px dashed var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; overflow: hidden;
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-txt b { font-size: 13.5px; font-weight: 700; display: block; }
.pf-avatar-txt small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.6; }

/* ---------- 跟练（v16）：全屏视频 + 时间轴驱动 ---------- */
/* v20：页面底色从纯黑改成深灰渐变——横屏视频在竖屏手机上的上下留白不再是"一片黑" */
.follow-view { position: fixed; inset: 0; z-index: 150; background: radial-gradient(130% 55% at 50% 42%, #272b34 0%, #171a20 52%, #0a0b0e 100%); display: flex; flex-direction: column; }
.fl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.fl-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .78) 100%);
}
/* v20：跟练视频加载中——黑屏期间的转圈提示（放在标题栏下方，避开中央的大数字） */
.fl-loading {
  position: absolute; z-index: 3; left: 50%; top: calc(74px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .55);
  color: rgba(255, 255, 255, .9); font-size: 12px; backdrop-filter: blur(6px);
}
/* v20：自动播放被拦截时的点按播放提示（覆盖视频区，按钮贴在下沿上方，避开中央倒计时和底部控件） */
.fl-tap {
  position: absolute; top: 0; left: 0; right: 0; bottom: calc(140px + var(--safe-b)); z-index: 4; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  padding-bottom: 16px; color: #fff; font-size: 13px; background: rgba(0, 0, 0, .18);
}
.fl-tap-btn {
  width: 58px; height: 58px; border-radius: 50%; font-size: 22px;
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  background: rgba(255, 90, 31, .95); box-shadow: 0 6px 22px rgba(0, 0, 0, .45);
}
.fl-tap-txt {
  padding: 6px 16px; border-radius: 999px; background: rgba(0, 0, 0, .55);
  font-size: 12.5px; backdrop-filter: blur(6px);
}
/* v20：跟练视频加载失败的提示卡片（替代纯黑屏） */
/* v20.1：跟练「有声无画」（编码不支持）提示条——不挡操作，可关闭 */
.fl-codec {
  position: absolute; z-index: 6; left: 50%; top: 12px; transform: translateX(-50%);
  width: min(88%, 340px); padding: 12px 14px; border-radius: 12px;
  background: rgba(18, 20, 26, .96); color: #fff; font-size: 12px; line-height: 1.6;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.fl-codec p { margin: 0; color: rgba(255, 255, 255, .82); }
.fl-codec p.sub { color: rgba(255, 255, 255, .62); font-size: 11.5px; }
.fl-codec button {
  align-self: flex-end; margin-top: 2px; padding: 4px 14px; border: 0; border-radius: 99px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px;
}

.fl-verror {
  position: absolute; z-index: 5; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(78%, 320px); padding: 22px 20px; border-radius: 16px; text-align: center;
  background: rgba(18, 20, 26, .97); color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.fl-verror .flv-icon { font-size: 30px; }
.fl-verror b { font-size: 14.5px; }
.fl-verror p { font-size: 11.5px; color: rgba(255, 255, 255, .6); line-height: 1.7; margin: 0; }
.flv-actions { display: flex; gap: 10px; margin-top: 6px; }
.flv-btn {
  border: none; background: linear-gradient(135deg, #ff8a3c, #ff5d2e); color: #fff;
  padding: 8px 22px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.flv-btn.ghost { background: rgba(255, 255, 255, .12); font-weight: 500; }
.fl-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 10px; color: #fff; }
.fl-title { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-elapsed { font-variant-numeric: tabular-nums; font-size: 13px; color: rgba(255, 255, 255, .85); }
.fl-center {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-align: center; padding: 0 24px;
}
.fl-phase {
  font-size: 14.5px; font-weight: 800; letter-spacing: .1em;
  padding: 7px 20px; border-radius: 999px; background: rgba(255, 90, 31, .92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.fl-phase.rest { background: rgba(15, 122, 69, .92); }
.fl-phase.prep { background: rgba(37, 99, 235, .92); }
.fl-count {
  font-size: 68px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.05;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .5);
}
.fl-count small { font-size: 22px; font-weight: 700; color: rgba(255, 255, 255, .75); margin-left: 2px; }
.fl-label { font-size: 14px; color: rgba(255, 255, 255, .88); line-height: 1.6; min-height: 22px; max-width: 92%; }
.fl-bottom { position: relative; z-index: 2; padding: 12px 20px calc(16px + var(--safe-b)); }
.fl-progress { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.fl-progress i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .3s linear; }
.fl-meta { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: rgba(255, 255, 255, .82); min-height: 18px; }
.fl-dots { display: flex; gap: 6px; margin-top: 10px; justify-content: center; }
.fl-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.fl-dots span.done { background: var(--brand); }
.fl-dots span.cur { background: rgba(255, 255, 255, .85); }
.fl-actions { display: flex; gap: 10px; margin-top: 14px; }
.fl-actions .btn {
  flex: 1; padding: 13px 0; border: none; border-radius: 14px;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 14.5px; font-weight: 700;
}
.fl-actions .btn.danger { background: rgba(220, 38, 38, .88); }

/* 跟练入口按钮（v16.1 精修） */
.fl-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ff6a1f 0%, #ff8a3d 55%, #ffab63 100%); color: #fff;
  border: none; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 10px 24px rgba(255, 90, 31, .30), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .12s ease, box-shadow .12s ease;
}
.fl-btn:active { transform: scale(.975); box-shadow: 0 5px 14px rgba(255, 90, 31, .30); }
/* 顶部高光弧 */
.fl-btn::before {
  content: ''; position: absolute; left: -10%; right: -10%; top: -60%; height: 90%;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .28), transparent 65%);
  pointer-events: none;
}
/* 左侧均衡器徽章（三根跳动的柱） */
.fl-btn .flb-ico {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: rgba(0, 0, 0, .18);
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  padding: 9px 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.fl-btn .flb-ico i {
  width: 4px; border-radius: 2px; background: #fff;
  animation: flb-eq 1s ease-in-out infinite;
}
.fl-btn .flb-ico i:nth-child(1) { height: 10px; animation-delay: 0s; }
.fl-btn .flb-ico i:nth-child(2) { height: 16px; animation-delay: .25s; }
.fl-btn .flb-ico i:nth-child(3) { height: 12px; animation-delay: .5s; }
@keyframes flb-eq {
  0%, 100% { transform: scaleY(.55); }
  50% { transform: scaleY(1); }
}
.fl-btn .flb-txt { flex: 1; min-width: 0; position: relative; }
.fl-btn .flb-txt b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.fl-btn .flb-txt small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .88); margin-top: 2px; }
/* 右侧「开始」胶囊 */
.fl-btn .flb-go {
  flex: none; display: flex; align-items: center; gap: 5px;
  background: #fff; color: #e2490f;
  font-size: 13px; font-weight: 800;
  border-radius: 999px; padding: 8px 7px 8px 13px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .14);
}
.fl-btn .flb-go .flb-play { font-size: 9px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #ff6a1f; color: #fff; }
.ex-row .fl-mini {
  border: none; background: #fff1e8; color: #e2490f;
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 10px; flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(226, 73, 15, .14);
}
.ex-row .fl-mini::before { content: '▶'; font-size: 8px; }
.ex-row .fl-mini:active { transform: scale(.94); }

/* v16：跟练小标签 / 行内按钮 */
.m-tag.fl-tag { background: #ff5a1f; color: #fff; }
.eq-exrow { cursor: pointer; }

/* ============================================================
   v16.1 全局观感打磨
   ============================================================ */
/* 触控体验：去安卓点击高亮块、iOS 惯性滚动更顺 */
* { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* 卡片：发丝描边 + 更有层次的投影 */
.card {
  box-shadow: 0 1px 2px rgba(16, 19, 24, .04), 0 6px 18px rgba(16, 19, 24, .06);
  border: 1px solid rgba(16, 19, 24, .05);
}
.card.safety { border-color: #ffe6c7; }

/* 菜单项：按压反馈 + 行内分隔线更柔和 */
.menu-item { transition: background .12s ease; border-radius: 10px; }
.menu-item:active { background: #f3f5f9; }
.menu-item:last-child { border-bottom: none; }
.menu-item.hide { border-bottom: none; }

/* 图片与视频封面：加载淡入，避免闪一下 */
.media-poster, .img-scroll img, .eq-hero img { transition: opacity .25s ease; }

/* 底部导航阴影更柔和，配合安全区 */
.tabbar { box-shadow: 0 -4px 24px rgba(16, 19, 24, .08); }

/* 表单控件统一圆角与焦点态 */
.login-input, textarea { border-radius: 12px; }
.login-input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(255, 106, 31, .12); }

/* 按钮 focus 可见性（无障碍） */
.btn:focus-visible, .menu-item:focus-visible, .tab:focus-visible {
  outline: 2px solid rgba(255, 106, 31, .55); outline-offset: 2px;
}

/* 页面切换更顺滑 */
.view { will-change: transform; }

/* ================= 课程（v19） ================= */
/* v20.1：课程页头部做成渐变卡（原来白字小标题融在浅色背景里看不见） */
.course-hero {
  margin: 14px 16px 4px; padding: 20px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #2b3242, #171b26); color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 24, 33, .3);
}
.course-hero::after {
  content: ''; position: absolute; right: -34px; top: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, .14);
}
.course-hero::before {
  content: ''; position: absolute; right: 26px; bottom: -52px; width: 96px; height: 96px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.course-hero .hero-kicker {
  color: #fff; background: rgba(255, 255, 255, .2); padding: 3px 10px; border-radius: 999px;
  letter-spacing: .14em;
}
.course-hero h1 { color: #fff; font-size: 23px; margin: 10px 0 4px; position: relative; z-index: 1; }
.course-hero p { font-size: 12.5px; color: rgba(255, 255, 255, .85); margin: 0; position: relative; z-index: 1; }
.course-list { display: flex; flex-direction: column; gap: 10px; }
/* v21：轻量课程卡——白卡 + 小色块图标，统计合并成一行灰字 */
.course-card {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; border: 1px solid rgba(0, 0, 0, .05); border-radius: 14px;
  padding: 13px 14px; background: #fff; cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .12s ease;
}
.course-card:active { transform: scale(.985); background: #fafbfc; }
.cl-ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.cl-ico.c1 { background: #fff1e8; }
.cl-ico.c2 { background: #e7f8f0; }
.cl-ico.c3 { background: #eaf0ff; }
.cl-ico.c4 { background: #f3ebff; }
.cl-ico.c5 { background: #ffeaf1; }
.cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cl-top b { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cl-intro { font-size: 12px; line-height: 1.5; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-sub { font-size: 11px; color: var(--ink-3); }
.cl-go { flex: none; color: #c3cad6; font-size: 20px; line-height: 1; }

/* 详情 */
.cd-hero { background: linear-gradient(135deg, #ff7a2f, #ff5a1f); border-radius: 18px; padding: 20px 18px; color: #fff; margin-bottom: 14px; }
.cd-hero h1 { font-size: 21px; margin: 0 0 4px; }
.cd-meta { font-size: 12px; opacity: .9; }
.cd-hero p { font-size: 13px; line-height: 1.6; margin: 8px 0 0; opacity: .95; }
.cd-joinbtn { margin-top: 14px; background: #fff; color: #e8481c; }
.cd-joined { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,.16); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.cd-quit { flex: none; border: 0; background: transparent; color: #fff; opacity: .85; font-size: 12px; text-decoration: underline; cursor: pointer; }

.cd-days { display: flex; flex-direction: column; gap: 10px; }
.cd-day { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04); position: relative; }
.cd-day.today { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(255,90,31,.12); }
.cdd-head { display: flex; align-items: center; gap: 8px; }
.cdd-head b { font-size: 14px; }
.cdd-head em { font-style: normal; font-size: 11px; border-radius: 999px; padding: 2px 8px; }
.cd-day.train .cdd-head em { background: #fff1e8; color: #e8481c; }
.cd-day.rest .cdd-head em { background: #eef2f7; color: var(--ink-3); }
.cdd-head span { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdd-flag { margin-left: auto; flex: none; font-style: normal; font-size: 11px; color: var(--brand); font-weight: 700; }
.cdd-items { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cdd-item { display: flex; align-items: center; gap: 10px; background: #f7f8fa; border-radius: 12px; padding: 8px; cursor: pointer; }
.cdd-item:active { background: #fff1e8; }
.cdd-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.cdd-ph { width: 46px; height: 46px; border-radius: 10px; background: #ffe9dd; display: flex; align-items: center; justify-content: center; flex: none; }
.cdd-txt { min-width: 0; }
.cdd-txt b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdd-txt small { font-size: 11.5px; color: var(--ink-3); }
.cd-followbtn { margin-top: 10px; }
.cd-nofollow, .cdd-rest { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }
.cd-empty2 { font-size: 12.5px; color: var(--ink-3); padding: 4px 0; }

/* 加入行程弹层 */
.join-sub { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; }
.join-label { font-size: 12.5px; color: var(--ink-3); display: block; margin-bottom: 6px; }
.join-date { width: 100%; height: 44px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; padding: 0 12px; font-size: 15px; margin-bottom: 10px; }
.join-date:focus { border-color: var(--brand); outline: none; }
.join-tip { font-size: 12px; color: var(--ink-3); margin: 0 0 12px; }

/* 日历：课程行程 */
.cal-dot.plan { background: transparent; border: 2px solid var(--brand); width: 7px; height: 7px; }
.cal-dot.rest { background: transparent; border: 1.5px solid #c8cfda; width: 6px; height: 6px; }
.cal-cell.has-plan { font-weight: 800; color: var(--brand); }
.plan-card { background: #fff7f2; border: 1px solid #ffd7bf; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.plan-card.rest { background: #f4f6f9; border-color: #e3e8ef; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-head b { font-size: 13.5px; }
.pc-head em { font-style: normal; font-size: 11px; border-radius: 999px; padding: 2px 8px; background: #fff; }
.plan-card:not(.rest) .pc-head em { color: #e8481c; }
.plan-card.rest .pc-head em { color: var(--ink-3); }
.pc-title { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.pc-sub { font-size: 12.5px; color: var(--ink-2); margin: 6px 0 10px; }
.plan-card .btn-brand { margin-bottom: 0; }

/* ================= 教练展示（v21） ================= */
.coach-strip { background: #fff; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, .05); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.coach-strip .card-title { margin-top: 0; }
.cs-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.cs-row + .cs-row { border-top: 1px dashed rgba(0, 0, 0, .06); }
.cs-ava { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cs-ava-ph { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffb27a, #ff5a1f); color: #fff; font-weight: 700; font-size: 18px; }
.cs-info { flex: 1; min-width: 0; }
.cs-info b { font-size: 14.5px; color: var(--ink); }
.cs-info small { display: block; font-size: 11.5px; color: var(--brand); margin-top: 2px; }
.cs-info p { margin: 3px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
/* 课程详情头里的教练条 */
.cd-coaches { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .25); }
.cdc-item { display: inline-flex; align-items: center; gap: 6px; }
.cdc-item img, .cdc-item i {
  flex: none; width: 24px; height: 24px; min-width: 24px; aspect-ratio: 1 / 1;
  border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .35);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .45);
}
.cdc-item em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .95); }

/* ---------- v22 会员码 ---------- */
.scan-mine {
  position: absolute; right: 14px; bottom: 52px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 62px; height: 62px; border-radius: 18px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
  color: #fff; font-size: 20px; line-height: 1;
}
.scan-mine span { font-size: 9.5px; font-weight: 600; letter-spacing: .02em; }
.scan-mine:active { transform: scale(.94); }

.mc-card { background: var(--bg-soft, #f6f7fa); border-radius: 18px; padding: 18px 16px 14px; margin: 6px 0 12px; }
.mc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mc-ava {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #2f7bff; color: #fff; font-weight: 800; font-size: 18px;
}
.mc-ava img { width: 100%; height: 100%; object-fit: cover; }
.mc-txt { min-width: 0; }
.mc-txt b { display: block; font-size: 16px; color: var(--ink, #1c2330); }
.mc-txt small { color: var(--ink-3, #9aa3b2); font-size: 11.5px; }
.mc-qr { display: flex; justify-content: center; padding: 10px 0 4px; }
.mc-qr img, .mc-qr canvas { width: 208px !important; height: 208px !important; }
.mc-hint { text-align: center; color: var(--ink-3, #9aa3b2); font-size: 11.5px; margin-top: 8px; }
.mc-fallback { font-size: 11px; color: var(--ink-3, #9aa3b2); word-break: break-all; text-align: center; padding: 8px; }

/* ---------- v22 绑定手机号 ---------- */
.ph-form { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.ph-row { display: flex; gap: 8px; }
.ph-row input {
  flex: 1; min-width: 0; height: 46px; border-radius: 13px; border: 1px solid var(--line, #e6e9ef);
  background: var(--bg-soft, #f6f7fa); padding: 0 14px; font-size: 15px; color: var(--ink, #1c2330); outline: none;
}
.ph-row input:focus { border-color: #2f7bff; background: #fff; }
.ph-send {
  flex: none; height: 46px; padding: 0 14px; border-radius: 13px; border: none; cursor: pointer;
  background: #eef4ff; color: #2f7bff; font-size: 13px; font-weight: 700;
}
.ph-send.cooling { color: #9aa3b2; background: #f0f2f6; }
.ph-note { text-align: center; color: var(--ink-3, #9aa3b2); font-size: 11px; margin: 10px 0 4px; }

/* ---------- v22 会员码中性页 ---------- */
.peek-body { padding: 8px 0 14px; }
.peek-card { text-align: center; padding: 10px 6px 4px; }
.peek-icon { font-size: 44px; display: block; margin-bottom: 12px; }
.peek-ok { font-size: 16px; font-weight: 700; color: var(--ink, #1c2330); line-height: 1.5; }
.peek-bad { font-size: 16px; font-weight: 700; color: #e5484d; }
.peek-sub { font-size: 12.5px; color: var(--ink-3, #9aa3b2); margin-top: 8px; line-height: 1.6; }

/* ---------- v23 会员专享课程 ---------- */
.cl-tag {
  display: inline-block; flex: none; vertical-align: 2px; margin-left: 6px;
  padding: 1px 7px; border-radius: 999px; font-style: normal;
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  color: #b45309; background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid rgba(180, 83, 9, .22);
}
.course-card.locked .cl-ico { filter: grayscale(.6); opacity: .75; }
.course-card.locked { background: linear-gradient(180deg, #fbfbfc, #f6f7f9); }

.cd-lockcard {
  margin: 14px; padding: 22px 18px 16px; border-radius: 22px; text-align: center;
  background: #fff; border: 1px solid var(--line, #e6e9ef);
  box-shadow: 0 10px 26px rgba(14, 16, 20, .06);
}
.cd-lockcard .cdl-ico { display: block; font-size: 40px; margin-bottom: 10px; }
.cd-lockcard > b { font-size: 16.5px; color: var(--ink, #1c2330); }
.cd-lockcard > p { font-size: 12.5px; line-height: 1.8; color: var(--ink-3, #9aa3b2); margin: 8px 0 14px; }
.cdl-step {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  background: #fff7ed; border: 1px solid rgba(234, 88, 12, .18);
  border-radius: 16px; padding: 12px 14px; margin-bottom: 14px;
}
.cdl-step i { font-style: normal; font-size: 20px; flex: none; }
.cdl-step b { display: block; font-size: 13px; color: #9a3412; }
.cdl-step small { display: block; font-size: 11.5px; line-height: 1.7; color: #b45309; margin-top: 2px; }
.cdl-btn { height: 46px; font-size: 15px; }
.cdl-note { font-size: 10.5px; color: var(--ink-3, #9aa3b2); margin-top: 10px; }

/* ================= v24 私教会员管理（黑金顶级会员 UI） ================= */
/* 入场动效：上浮渐显 */
@keyframes ptIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.pt-in { animation: ptIn .55s cubic-bezier(.22,.9,.3,1) both; }
.pt-in.d1 { animation-delay: .08s; }
.pt-in.d2 { animation-delay: .16s; }
.pt-in.d3 { animation-delay: .24s; }

/* 主卡：曜石黑金 */
.pt-hero {
  position: relative; overflow: hidden; border-radius: 26px;
  padding: 26px 24px 24px; color: #f5ead2; margin-bottom: 14px;
  background:
    radial-gradient(140% 120% at 85% -10%, rgba(212, 175, 100, .28) 0%, transparent 55%),
    linear-gradient(152deg, #0d0c0a 0%, #17130d 42%, #221a10 74%, #0c0b09 100%);
  border: 1px solid rgba(212, 175, 100, .35);
  box-shadow: 0 22px 48px rgba(10, 8, 4, .5), inset 0 1px 0 rgba(255, 224, 160, .22);
  animation: ptIn .6s cubic-bezier(.22,.9,.3,1) both;
}
/* 金色流光扫过 */
@keyframes ptShine {
  0% { transform: translateX(-140%) skewX(-18deg); }
  55%, 100% { transform: translateX(340%) skewX(-18deg); }
}
.pt-shine {
  position: absolute; top: -30%; bottom: -30%; left: 0; width: 46%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .13), rgba(255, 246, 214, .20), rgba(255, 226, 160, .13), transparent);
  animation: ptShine 4.2s ease-in-out 1.1s infinite;
}
.pt-hero-top { display: flex; align-items: center; justify-content: space-between; }
.pt-kicker {
  font-size: 9px; letter-spacing: .32em; font-weight: 800;
  color: rgba(240, 214, 156, .8); text-transform: uppercase;
}
.pt-crown { font-size: 24px; filter: drop-shadow(0 2px 8px rgba(255, 200, 100, .5)); animation: ptCrown 3s ease-in-out infinite; }
@keyframes ptCrown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.pt-gold-text {
  margin: 10px 0 4px; font-size: 27px; font-weight: 900; letter-spacing: .02em;
  background: linear-gradient(100deg, #f8e7bd 8%, #d4af64 38%, #fff6dc 52%, #caa24f 66%, #f2dcab 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pt-valid { display: flex; gap: 8px; margin-top: 6px; }
.pt-chip {
  font-size: 10.5px; font-weight: 700; color: #ecd9a6;
  background: rgba(212, 175, 100, .14); border: 1px solid rgba(212, 175, 100, .3);
  border-radius: 999px; padding: 4px 12px; letter-spacing: .02em;
}
/* 主数字：剩余课时 */
.pt-main-stat { margin: 18px 0 4px; position: relative; z-index: 2; }
.pt-main-stat b {
  display: block; font-size: 58px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff3d0 0%, #e8c47c 55%, #b98f3e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 34px rgba(212, 175, 100, .3);
}
.pt-main-stat small { display: block; font-size: 11.5px; color: rgba(240, 214, 156, .75); margin-top: 6px; letter-spacing: .1em; }
.pt-ring-txt { font-size: 10.5px; color: rgba(240, 214, 156, .5); }
/* 课时进度条 */
.pt-bar {
  height: 7px; border-radius: 99px; margin: 14px 0 4px;
  background: rgba(255, 255, 255, .07); overflow: hidden;
  border: 1px solid rgba(212, 175, 100, .18);
}
@keyframes ptBarGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }
.pt-bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #9c7a34, #d4af64 55%, #ffe9b3);
  box-shadow: 0 0 14px rgba(212, 175, 100, .6);
  transition: width 1.1s cubic-bezier(.22,.9,.3,1);
  animation: ptBarGlow 2.6s ease-in-out infinite;
}
/* 玻璃统计 */
.pt-stats { display: flex; gap: 10px; margin-top: 16px; position: relative; z-index: 2; }
.pt-stats div {
  flex: 1; text-align: center; border-radius: 16px; padding: 12px 4px 10px;
  background: rgba(255, 246, 220, .06); border: 1px solid rgba(212, 175, 100, .22);
  backdrop-filter: blur(8px);
}
.pt-stats b {
  display: block; font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffeec4, #d8b268);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pt-stats span { font-size: 9.5px; color: rgba(240, 214, 156, .6); letter-spacing: .06em; }
.pt-hero-warn {
  margin-top: 14px; font-size: 11.5px; color: #ffd9a0;
  background: rgba(180, 83, 9, .28); border: 1px solid rgba(255, 170, 60, .35);
  border-radius: 12px; padding: 9px 13px;
}
/* 空态主卡 */
.pt-hero-empty { text-align: center; padding: 40px 24px 36px; }
.pt-hero-empty .pt-crown { display: block; margin-top: 14px; font-size: 42px; }
.pt-hero-empty .pt-gold-text { margin-top: 10px; }
.pt-empty-line { font-size: 14px; color: rgba(245, 234, 210, .85); margin-top: 10px; font-weight: 700; }
.pt-empty-sub { font-size: 12px; line-height: 1.9; color: rgba(240, 214, 156, .55); margin-top: 10px; }

/* 专属教练卡：金环头像 */
.pt-coach {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border-radius: 20px; padding: 15px 17px; margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(20, 14, 4, .08), 0 0 0 1px rgba(212, 175, 100, .28);
  position: relative; overflow: hidden;
}
.pt-coach::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(212, 175, 100, .1) 50%, transparent 70%);
}
.pt-coach.none { opacity: .85; }
.ptc-ava {
  width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center; background: #faf5ea; font-size: 22px;
  border: 2px solid transparent;
  background-image: linear-gradient(#faf5ea, #faf5ea), linear-gradient(135deg, #d4af64, #8a6a2c);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.ptc-ava img { width: 100%; height: 100%; object-fit: cover; }
.ptc-txt { flex: 1; min-width: 0; position: relative; }
.ptc-txt b { display: block; font-size: 15.5px; color: #211b10; }
.ptc-txt small { display: block; font-size: 11.5px; color: #a99a7c; margin-top: 3px; }
.pt-bind {
  flex: none; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  color: #8a6a2c; background: linear-gradient(135deg, #fdf3d7, #f5e2ac);
  border: 1px solid rgba(180, 140, 60, .35); border-radius: 999px; padding: 5px 12px;
}
.pt-bind i { font-style: normal; color: #caa24f; }

/* 预约 CTA：鎏金按钮 */
.pt-actions { margin-bottom: 14px; }
.pt-cta {
  height: 54px; border-radius: 18px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 900; letter-spacing: .06em; color: #241a06;
  background: linear-gradient(135deg, #f3d488 0%, #d4af64 45%, #f7e3ab 100%);
  box-shadow: 0 14px 30px rgba(180, 140, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .55);
  position: relative; overflow: hidden;
}
.pt-cta::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-140%) skewX(-18deg);
  animation: ptShine 3.4s ease-in-out 1s infinite;
}
.pt-cta:active { transform: scale(.97); }
.pt-cta:disabled { filter: grayscale(.7); opacity: .6; }
.pt-cta i { font-style: normal; margin-right: 4px; }

.pt-note { border-radius: 18px; margin-bottom: 14px; }
.pt-note b { font-size: 13px; color: #211b10; }
.pt-note p { font-size: 12.5px; color: #a99a7c; margin-top: 6px; line-height: 1.7; }

/* 排课列表：鎏金时间轴 */
.pt-list-wrap {
  background: #fff; border-radius: 22px; padding: 18px 18px 14px; margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(20, 14, 4, .07), 0 0 0 1px rgba(212, 175, 100, .16);
}
.pt-list-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.pt-list-head h2 { font-size: 15.5px; color: #211b10; margin: 0; }
.pt-list-head span { font-size: 11px; color: #a99a7c; }
.pt-row {
  display: flex; align-items: center; gap: 13px; padding: 13px 2px;
  border-bottom: 1px dashed rgba(180, 140, 60, .22);
}
.pt-row:last-child { border-bottom: none; }
.ptr-date { flex: none; text-align: center; min-width: 46px; }
.ptr-date b { display: block; font-size: 16px; color: #211b10; font-variant-numeric: tabular-nums; }
.ptr-date small { font-size: 9.5px; color: #a99a7c; }
.ptr-main { flex: 1; min-width: 0; }
.ptr-main b { display: block; font-size: 14px; color: #211b10; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ptr-main small { display: block; font-size: 11px; color: #a99a7c; margin-top: 2px; }
.pt-reply { color: #2f7bff !important; }
.ptr-side { flex: none; text-align: right; }
.ptr-side em { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 4px 10px; }
.pt-pending { color: #b45309; background: linear-gradient(135deg, #fef3c7, #fde68a); animation: ptPulse 2s ease-in-out infinite; }
@keyframes ptPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 100, .4); } 50% { box-shadow: 0 0 0 5px rgba(212, 175, 100, 0); } }
.pt-ok { color: #0f7a45; background: #e8f7ee; }
.pt-done { color: #8a6a2c; background: linear-gradient(135deg, #f5e2ac, #ecd9a6); }
.pt-bad { color: #c02929; background: #fdecec; }
.pt-dim { color: #a99a7c; background: #f1f3f7; }
.ptr-cancel, .ptr-act {
  display: inline-block; margin: 7px 0 0 6px; border: 1px solid rgba(180, 140, 60, .3);
  background: #fffdf5; color: #8a6a2c; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 3px 11px; cursor: pointer;
}
.ptr-cancel { border-color: rgba(192, 41, 41, .3); background: #fffafa; color: #c02929; }
.pt-none { text-align: center; padding: 26px 10px 22px; color: #6b6250; font-size: 13px; font-weight: 700; line-height: 1.7; }
.pt-none small { display: block; margin-top: 6px; font-size: 11px; color: #a99a7c; font-weight: 400; }
.pt-rule { font-size: 10.5px; color: #a99a7c; line-height: 1.7; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(180, 140, 60, .18); }
.pt-loading { text-align: center; padding: 60px 0; }
.pt-loading small { display: block; margin-top: 12px; color: #a99a7c; font-size: 12px; }
@keyframes ptSpin { to { transform: rotate(360deg); } }
.pt-ring {
  display: inline-block; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(212, 175, 100, .25); border-top-color: #d4af64;
  animation: ptSpin .8s linear infinite;
}

/* 预约弹层金色提交按钮 */
#ptBkSubmit { background: linear-gradient(135deg, #f3d488 0%, #d4af64 45%, #f7e3ab 100%); color: #241a06; font-weight: 900; }

/* 日历：私教课点（金） */
.cal-cell.has-pt { background: #fff7e8; }
.cal-dot.pt { background: linear-gradient(135deg, #d4af64, #f0d28a); box-shadow: 0 0 5px rgba(212, 175, 100, .8); }
.plan-card.pt { border-left: 4px solid #d4af64; background: linear-gradient(135deg, #fffdf6, #fff7e6); }
.plan-card.pt.done { border-left-color: #0f7a45; opacity: .85; }

/* 排课弹层输入行（提高优先级，避免被 .sheet label 的 display:block 覆盖） */
.sheet .f-row { display: flex; align-items: center; gap: 10px; }
.sheet .f-row > span { flex: none; width: 86px; font-size: 12.5px; color: var(--ink-2, #5b6472); font-weight: 600; }
.sheet .f-row input, .sheet .f-row select {
  flex: 1 1 auto; width: auto; min-width: 0; height: 46px; border-radius: 13px;
  border: 1px solid var(--line, #e6e9ef); background: var(--bg-soft, #f6f7fa);
  padding: 0 12px; font-size: 14px; color: var(--ink, #1c2330); outline: none;
  -webkit-appearance: none; appearance: none;
}
.sheet .f-row input:focus, .sheet .f-row select:focus { border-color: #d4af64; background: #fff; }

/* =====================================================
 * v24.2 私教页紧凑化 + 我的排课入口
 * ===================================================== */
.pt-hero { padding: 15px 18px 15px; border-radius: 20px; }
.pt-hero-top { align-items: center; }
.pt-kicker { letter-spacing: .26em; }
.pt-crown { font-size: 19px; animation: none; filter: none; }
.pt-gold-text { margin: 4px 0 2px; font-size: 20px; }
.pt-valid { margin-top: 4px; }
.pt-chip { padding: 3px 10px; font-size: 10px; }
.pt-main-stat { margin: 10px 0 2px; }
.pt-main-stat b { font-size: 34px; text-shadow: none; }
.pt-main-stat small { margin-top: 3px; font-size: 10.5px; }
.pt-bar { margin: 10px 0 2px; height: 6px; }
.pt-stats { margin-top: 10px; gap: 8px; }
.pt-stats div { padding: 8px 4px 7px; border-radius: 13px; }
.pt-stats b { font-size: 17px; }
.pt-hero-empty { padding: 30px 22px 28px; }

/* 「我的排课」入口卡（金卡风格，高度远小于原列表） */
.pt-list-entry {
  border-radius: 18px; padding: 14px 16px; margin-top: 14px;
  background: linear-gradient(152deg, #0d0c0a 0%, #1a150e 55%, #221a10 100%);
  border: 1px solid rgba(212, 175, 100, .35);
  box-shadow: 0 14px 30px rgba(10, 8, 4, .38), inset 0 1px 0 rgba(255, 224, 160, .18);
}
.ptle-top { display: flex; align-items: baseline; justify-content: space-between; }
.ptle-top b { font-size: 14.5px; font-weight: 800; color: #f0d28a; }
.ptle-top span { font-size: 10.5px; color: rgba(240, 210, 138, .6); }
.ptle-sum { font-size: 11.5px; color: rgba(240, 210, 138, .8); margin: 5px 0 11px; }
.ptle-btn {
  width: 100%; height: 42px; border-radius: 13px; font-size: 13px; font-weight: 800;
  color: #20140a; border: none;
  background: linear-gradient(135deg, #e8c47c, #f6e2b0);
  box-shadow: 0 8px 18px rgba(212, 175, 100, .3);
}
.ptle-btn:active { transform: scale(.98); }

/* 列表视图分组标题 */
.ptlg-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 12px; font-weight: 800; color: #a99a7c;
  margin: 18px 2px 8px; letter-spacing: .02em;
}
.ptlg-title span {
  font-size: 9.5px; font-weight: 800; color: #d4af64;
  background: rgba(212, 175, 100, .14); border-radius: 999px; padding: 1px 8px;
}
.pt-warn {
  color: #b45309; background: rgba(217, 119, 6, .14); border: 1px solid rgba(217, 119, 6, .3);
}

/* v24.2 私教 hero 紧凑版：标题+徽章一行，数字与统计一行 */
.pt-hero-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pt-hero-line .pt-gold-text { margin: 0; margin-right: 4px; font-size: 19px; }
.pt-hero-num { display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.pt-hero-num b {
  font-size: 40px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff3d0 0%, #e8c47c 55%, #b98f3e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pt-hero-num small { font-size: 10.5px; color: rgba(240, 214, 156, .75); padding-bottom: 5px; letter-spacing: .04em; }
.pt-hero-num .pt-ring-txt { margin-left: auto; padding-bottom: 5px; font-size: 10px; }
.pt-hero-num .pt-ring-txt i { font-style: normal; color: #f0d28a; font-weight: 700; }
.pt-hero .pt-bar { margin-top: 9px; }

/* =====================================================
 * v24.3「我的排课」列表页：白卡容器 + 分组标题（修掉整页"透明"的观感）
 * ===================================================== */
#viewPtList { padding-bottom: 40px; min-height: 100vh; }
#viewPtList .page-top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 246, 248, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.pt-list {
  background: #fff;
  border-radius: 18px;
  padding: 2px 16px;
  border: 1px solid rgba(212, 175, 100, .22);
  box-shadow: 0 8px 22px rgba(20, 14, 4, .06), 0 0 0 1px rgba(255, 255, 255, .6);
}
.pt-row { padding: 14px 0; }
.ptlg-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; color: #6b6250;
  margin: 20px 4px 9px; letter-spacing: .02em;
}
.ptlg-title::before {
  content: ''; width: 4px; height: 12px; border-radius: 2px;
  background: linear-gradient(180deg, #e8c47c, #caa24f);
}
.ptlg-title span {
  font-size: 9.5px; font-weight: 800; color: #8a6a2c;
  background: #faf3e2; border-radius: 999px; padding: 1px 8px;
}
.ptr-old { color: #b45309 !important; }
.pt-list-empty {
  background: #fff; border-radius: 18px; padding: 30px 18px; text-align: center;
  font-size: 13px; color: #6b6250; border: 1px solid rgba(212, 175, 100, .2);
}
.pt-list-empty small { display: block; margin-top: 6px; font-size: 11.5px; color: #a99a7c; }

/* v24.3 排课列表行排版：状态与按钮分两行，时间不换行 */
#viewPtList .pt-row { align-items: flex-start; gap: 11px; }
#viewPtList .ptr-date { min-width: 52px; padding-top: 1px; }
#viewPtList .ptr-date b { font-size: 15px; letter-spacing: -.01em; }
#viewPtList .ptr-main b { white-space: nowrap; font-size: 14px; }
#viewPtList .ptr-side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  flex: none; max-width: 96px;
}
#viewPtList .ptr-side em { white-space: nowrap; }
#viewPtList .ptr-act, #viewPtList .ptr-cancel {
  margin: 0; padding: 3px 10px; font-size: 10.5px; line-height: 1.4;
}
#viewPtList .ptr-old { white-space: normal; }

/* =====================================================
 * v27：扫码确认扣课页
 * ===================================================== */
.ptd-view {
  min-height: 100vh; background: #0e1116; padding: 0 0 28px;
}
.ptd-top {
  padding: 22px 20px 6px; text-align: center;
  font-size: 13px; letter-spacing: .08em; color: #b9a06a;
}
.ptd-body { padding: 10px 18px 0; }
.ptd-card {
  background: linear-gradient(180deg, #171b22 0%, #12161c 100%);
  border: 1px solid rgba(201, 167, 96, .28);
  border-radius: 22px; padding: 26px 20px 20px; text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}
.ptd-card b { display: block; font-size: 18px; color: #f3ede0; margin-bottom: 8px; }
.ptd-card p { font-size: 13px; line-height: 1.75; color: #9aa3b0; margin: 0 0 14px; }
.ptd-card p b { display: inline; font-size: 13px; color: #e8c885; }
.ptd-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 14px;
  font-size: 27px; line-height: 1; color: #e8c885;
  background: radial-gradient(circle at 50% 35%, rgba(232, 200, 133, .22), rgba(232, 200, 133, .04));
  border: 1px solid rgba(232, 200, 133, .35);
}
.ptd-card.ptd-ok .ptd-ico { color: #6fd6ab; border-color: rgba(111, 214, 171, .45); background: radial-gradient(circle at 50% 35%, rgba(111, 214, 171, .2), rgba(111, 214, 171, .03)); }
.ptd-card.ptd-bad .ptd-ico { color: #e08a8a; border-color: rgba(224, 138, 138, .4); background: radial-gradient(circle at 50% 35%, rgba(224, 138, 138, .18), rgba(224, 138, 138, .03)); }
.ptd-info {
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 15px; padding: 12px 14px; margin: 4px 0 18px; text-align: left;
}
.pi-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; }
.pi-row span { color: #8d97a5; flex: none; }
.pi-row b { color: #f0e9db; font-weight: 600; text-align: right; min-width: 0; }
.pi-row b { font-size: 13px; }
/* 时间一行放不下时允许轻微微调字号，不让「19:00–20:00」被拆开 */
.pi-row:first-child b { font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap; }
.ptd-main {
  height: 52px; border-radius: 16px; font-size: 15.5px; font-weight: 800; letter-spacing: .03em;
  background: linear-gradient(135deg, #f0d494 0%, #d9ad5f 55%, #cfa55d 100%);
  color: #201a10; border: none;
  box-shadow: 0 10px 26px rgba(232, 200, 133, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .13s, filter .13s;
}
.ptd-main:active { transform: scale(.97); filter: brightness(1.05); }
.ptd-main:disabled { opacity: .6; }
.ptd-back {
  height: 48px; border-radius: 15px; font-size: 14.5px;
  background: rgba(255, 255, 255, .06); color: #e8c885; border: 1px solid rgba(232, 200, 133, .3);
  transition: transform .13s, background .15s;
}
.ptd-back:active { transform: scale(.97); background: rgba(255, 255, 255, .1); }
.ptd-note { font-size: 11.5px !important; color: #6f7986 !important; margin: 12px 0 0 !important; }
.ptr-confirm {
  background: linear-gradient(135deg, #f0d494 0%, #cfa55d 100%) !important;
  color: #201a10 !important; border-color: transparent !important; font-weight: 800;
  box-shadow: 0 6px 14px rgba(232, 200, 133, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.ptr-confirm:active { transform: scale(.96); }

/* v24.5：预约弹层日期快捷（今天 / 明天 / 后天 / 选日期） */
.bk-days { display: flex; gap: 8px; margin-bottom: 10px; }
.bk-days button {
  flex: 1; height: 38px; border-radius: 12px; font-size: 12.5px; font-weight: 700;
  border: 1px solid #e8e2d5; background: #fff; color: #8a7350;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
}
.bk-days button.on {
  background: linear-gradient(135deg, #f0d494, #cfa55d); color: #201a10; border-color: transparent;
  box-shadow: 0 6px 14px rgba(201, 167, 96, .25);
}
.bk-days button:active { transform: scale(.96); }
.pt-live { color: #0f8f6f !important; background: #e3f7f0 !important; }

/* ---------- v24.6：联系教练一键拨号 + 排课绑定手机号引导 ---------- */
.ptc-call {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 14px; border-radius: 12px;
  background: linear-gradient(135deg, #2ea56b 0%, #1d8a56 100%);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 12.5px;
  letter-spacing: .3px; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(29, 138, 86, .26);
  transition: transform .12s ease;
  position: relative; z-index: 1;
}
.ptc-call:active { transform: scale(.94); }
/* 排课弹层：未绑定手机号提示条 */
.bk-phonetip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff7e8; border: 1px solid #f2d79a; border-radius: 14px;
  padding: 11px 13px; margin-bottom: 11px;
}
.bk-phonetip span { font-size: 12.5px; color: #8a6414; font-weight: 600; line-height: 1.45; }
.bk-phonetip button {
  flex: none; height: 34px; padding: 0 15px; border-radius: 11px; border: none;
  background: linear-gradient(135deg, #f0d494, #cfa55d); color: #201a10;
  font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 10px rgba(201, 167, 96, .3);
}
.bk-phonetip button:active { transform: scale(.95); }
.ptc-txt { min-width: 0; }
.ptc-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* =====================================================
 * v24.7「我的排课」重排：待处理 / 即将上课 / 历史记录 三段分区
 *   以前 8 个状态平铺，行长得一样、重点不分；现在按「要处理的 → 要去的 → 过去的」排。
 * ===================================================== */
#viewPtList { background: #f5f6f8; }
#viewPtList .pad { padding-top: 12px; }

/* 顶部三项概览（待处理 / 已排上 / 已上完） */
.ptl-sum { display: flex; gap: 9px; margin-bottom: 2px; }
.ptl-s {
  flex: 1; background: #fff; border-radius: 16px; padding: 10px 6px 9px; text-align: center;
  border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 4px 12px rgba(20, 14, 4, .05);
}
.ptl-s b { display: block; font-size: 21px; font-weight: 900; color: #8b93a1; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ptl-s span { font-size: 10.5px; color: #98a1af; }
.ptl-s.warn { background: linear-gradient(160deg, #fffaf0, #fff4dd); border-color: #f4dcae; }
.ptl-s.warn b { color: #b45309; }
.ptl-s.ok { background: linear-gradient(160deg, #f6fffa, #eafaf1); border-color: #c9ecd9; }
.ptl-s.ok b { color: #0f7a45; }
.ptl-s.done b { color: #8a6a2c; }

/* 分区标题 */
.ptl-h { display: flex; align-items: center; gap: 7px; margin: 18px 4px 9px; }
.ptl-h i { width: 7px; height: 7px; border-radius: 50%; background: #cbd2dc; flex: none; }
.ptl-h.warn i { background: #e0a222; }
.ptl-h.ok i { background: #1fa06a; }
.ptl-h.dim i { background: #c3c9d3; }
.ptl-h b { font-size: 13.5px; color: #2a3140; font-weight: 800; }
.ptl-h em { font-style: normal; font-size: 10.5px; color: #9aa3b1; }
.ptl-h span {
  margin-left: auto; font-size: 10.5px; font-weight: 800; color: #8b93a1;
  background: #eceff4; border-radius: 999px; padding: 1px 8px;
}

/* 排课卡 */
.ptl-cards { display: flex; flex-direction: column; gap: 10px; }
.ptlc {
  background: #fff; border-radius: 18px; padding: 13px 14px 12px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 6px 16px rgba(20, 14, 4, .05);
}
.ptlc.st-pending { border-color: #f0d7a6; background: linear-gradient(170deg, #fffdf8, #fffaf0); }
.ptlc.st-started { border-color: #bfe6d6; background: linear-gradient(170deg, #f8fffc, #effaf5); }
.ptlc.st-pending_cancel { border-color: #eccfd0; background: linear-gradient(170deg, #fffafa, #fff5f5); }

.ptlc-top { display: flex; align-items: flex-start; gap: 11px; }
.ptlc-date { flex: none; width: 52px; text-align: center; }
.ptlc-date b { display: block; font-size: 17px; font-weight: 900; color: #1c2330; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ptlc-date small { display: block; font-size: 10px; color: #9aa3b1; margin-top: 1px; }
.ptlc-date i {
  display: block; font-style: normal; font-size: 9.5px; font-weight: 800; color: #b45309;
  background: #fdf1d8; border-radius: 6px; padding: 1px 0; margin-top: 3px;
}
.ptlc-main { flex: 1; min-width: 0; padding-top: 1px; }
.ptlc-main b { display: block; font-size: 15.5px; font-weight: 800; color: #1c2330; font-variant-numeric: tabular-nums; }
.ptlc-main small {
  display: block; font-size: 11px; color: #98a1af; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ptlc-st { flex: none; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ptlc-extra { margin: 8px 0 0 63px; display: flex; flex-direction: column; gap: 3px; }
.ptlc-extra small { font-size: 11px; line-height: 1.5; }
.ptlc-old { color: #b45309; font-weight: 600; }
.ptlc-note { color: #98a1af; }
.ptlc-reply { color: #2f6fd0; }
.ptlc-ops {
  display: flex; justify-content: flex-end; gap: 8px;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(15, 23, 42, .08);
}
.ptlc-btn {
  height: 32px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .12);
  background: #f7f8fa; color: #3d4553; font-size: 12px; font-weight: 700; transition: transform .12s ease;
}
.ptlc-btn.ok {
  border: none; background: linear-gradient(135deg, #2bb37d, #158a5c); color: #fff;
  box-shadow: 0 5px 12px rgba(21, 138, 92, .25);
}
.ptlc-btn.danger { background: #fff; border-color: rgba(192, 41, 41, .22); color: #c0392b; }
.ptlc-btn:active { transform: scale(.96); }

/* 「即将上课」里的日期小标题 */
.ptlc-day { display: flex; align-items: center; gap: 7px; padding: 2px 4px; font-size: 11.5px; font-weight: 800; color: #6b7280; }
.ptlc-day i {
  font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff;
  background: #c9a24f; border-radius: 6px; padding: 1px 6px;
}
.ptlc-day::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(15, 23, 42, .1), transparent); }

/* 历史记录：紧凑一行一条，默认只露 3 条 */
.ptl-hist { background: #fff; border-radius: 16px; border: 1px solid rgba(15, 23, 42, .06); overflow: hidden; }
.pth { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-bottom: 1px solid rgba(15, 23, 42, .05); }
.pth:last-child { border-bottom: none; }
.pth-d { flex: none; width: 82px; font-size: 11.5px; color: #6b7280; font-variant-numeric: tabular-nums; }
.pth-t { flex: 1; font-size: 11.5px; color: #98a1af; }
.pth .ptlc-st { font-size: 10px; padding: 3px 8px; }
.ptl-hist:not(.open) .pth:nth-child(n+4) { display: none; }
.ptl-more {
  display: block; width: 100%; margin-top: 9px; height: 40px; border-radius: 13px;
  border: 1px dashed rgba(15, 23, 42, .14); background: #fff; color: #6b7280; font-size: 12px; font-weight: 700;
}
.ptl-more:active { background: #f7f8fa; }

/* v24.7 迭代：日期徽章收成一行；「即将上课」不再重复日期（分组里已有时段） */
.ptlc-date small { white-space: nowrap; }
.ptlc-date i {
  display: inline-block; margin: 0 0 0 3px; padding: 0 4px; font-size: 9px;
  border-radius: 5px; vertical-align: 1px; line-height: 14px;
}
.ptlc.no-date .ptlc-main b { font-size: 17px; }
.ptlc.no-date .ptlc-extra { margin-left: 0; }
.ptlc.no-date { padding: 12px 14px 11px; }
.ptlc-ops { margin-top: 9px; padding-top: 9px; }
.ptlc-btn { height: 30px; padding: 0 13px; font-size: 11.5px; }

/* v24.7：日期块回归三行（日期 / 周几 / 今天·明天），主次更分明 */
.ptlc-date { width: 54px; }
.ptlc-date b { font-size: 15.5px; color: #3d4553; }
.ptlc-date i {
  display: block; margin: 3px 0 0; padding: 0; font-size: 9.5px;
  border-radius: 5px; line-height: 15px; text-align: center;
}
.ptlc-main b { font-size: 16px; }

/* ================= v24.7：隐私页 · 抓取日志 ================= */
.pd-logcap { margin-top: 14px; }
.plc-head b { display: block; font-size: 14px; color: #211b10; }
.plc-head p { margin: 6px 0 0; font-size: 12px; line-height: 1.65; color: #6b6250; }
.plc-btn {
  margin-top: 12px; width: 100%; height: 44px; border-radius: 13px; border: none;
  background: linear-gradient(135deg, #f3d488, #d4af64); color: #241a06;
  font-size: 13.5px; font-weight: 800; box-shadow: 0 8px 18px rgba(212, 175, 100, .28);
}
.plc-btn.on { background: linear-gradient(135deg, #ef6b6b, #d64545); color: #fff; box-shadow: 0 8px 18px rgba(214, 69, 69, .26); }
.plc-btn:active { transform: scale(.98); }
.plc-state { margin: 9px 0 0; font-size: 12px; color: #8a8272; line-height: 1.6; }
.plc-state.on { color: #b45309; font-weight: 700; }
.plc-code {
  margin-top: 10px; text-align: center; border-radius: 14px; padding: 12px 10px;
  background: linear-gradient(160deg, #fffaf0, #fff4dd); border: 1px dashed #eccf92;
}
.plc-code b { display: block; font-size: 30px; letter-spacing: .18em; color: #b45309; font-variant-numeric: tabular-nums; }
.plc-code small { display: block; margin-top: 4px; font-size: 11px; color: #a99a7c; }
.plc-code:active { transform: scale(.99); }

/* ================================================================
 * v31 会员（至尊会员）/ 商城 / 客服
 * 视觉：黑曜石 + 鎏金 + 极光流动（纯 CSS，无第三方库）
 * ================================================================ */
.vip-host { margin-bottom: 16px; }
.vip-hero {
  position: relative; border-radius: 22px; padding: 18px 18px 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #1b1f2a 0%, #0b0d12 55%, #05060a 100%);
  color: #fff; isolation: isolate;
  box-shadow: 0 20px 44px -20px rgba(8, 10, 16, .72), inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .3s ease;
}
.vip-hero:active { transform: scale(.995); }
.vip-hero::before {
  content: ''; position: absolute; inset: -45%; z-index: -2;
  background:
    radial-gradient(38% 42% at 22% 18%, rgba(255, 196, 87, .55), transparent 62%),
    radial-gradient(34% 40% at 82% 10%, rgba(126, 92, 255, .42), transparent 60%),
    radial-gradient(46% 46% at 72% 92%, rgba(255, 90, 31, .40), transparent 64%),
    radial-gradient(40% 40% at 8% 88%, rgba(0, 209, 255, .26), transparent 60%);
  filter: blur(8px);
  animation: vipAurora 16s ease-in-out infinite alternate;
}
@keyframes vipAurora {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(9deg) scale(1.1); }
  100% { transform: rotate(-7deg) scale(1.03); }
}
/* 细密噪点 + 描边光 */
.vip-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, transparent 28%, transparent 62%, rgba(255, 255, 255, .07) 100%),
    radial-gradient(1.2px 1.2px at 20% 30%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 68% 22%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1.4px 1.4px at 42% 74%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1px 1px at 86% 66%, rgba(255, 255, 255, .32), transparent);
  opacity: .85;
}
.vip-inner { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.vip-crown {
  width: 44px; height: 44px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #2a1c00;
  background: linear-gradient(150deg, #ffe9b0, #f0c05a 45%, #b9821f);
  box-shadow: 0 8px 20px -6px rgba(240, 192, 90, .75);
  animation: vipCrown 3.6s ease-in-out infinite;
}
@keyframes vipCrown {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}
.vip-txt { flex: 1; min-width: 0; }
.vip-kicker { font-size: 9.5px; letter-spacing: 2.4px; color: rgba(255, 255, 255, .42); text-transform: uppercase; }
.vip-title {
  font-size: 20px; font-weight: 800; letter-spacing: .6px; line-height: 1.25;
  background: linear-gradient(100deg, #f7e3a1 0%, #fff8e2 16%, #d9a94a 36%, #fff6cf 54%, #c98f2f 72%, #f7e3a1 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: vipShine 6s linear infinite;
}
@keyframes vipShine { to { background-position: 240% 0; } }
.vip-sub { font-size: 11.5px; color: rgba(255, 255, 255, .62); margin-top: 2px; }
.vip-cta {
  flex: none; height: 34px; padding: 0 16px; border: 0; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; color: #2a1c00;
  background: linear-gradient(120deg, #ffe7ab, #f2c35f 55%, #d8a03a);
  box-shadow: 0 8px 20px -8px rgba(242, 195, 95, .9);
  position: relative; z-index: 3;
}
.vip-cta.ghost { background: rgba(255, 255, 255, .12); color: #ffe7ab; box-shadow: none; }
.vip-progress { margin-top: 16px; position: relative; z-index: 2; }
.vip-days { display: flex; align-items: baseline; gap: 3px; }
.vip-days b { font-size: 30px; font-weight: 800; letter-spacing: -1px; color: #ffe7ab; line-height: 1; }
.vip-days span { font-size: 11px; color: rgba(255, 255, 255, .55); }
.vip-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); margin: 10px 0 7px; overflow: hidden; }
.vip-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f2c35f, #fff2c4 60%, #f2c35f); box-shadow: 0 0 12px rgba(242, 195, 95, .8); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.vip-end { font-size: 11px; color: rgba(255, 255, 255, .5); }
.vip-hero.expired .vip-title { filter: grayscale(.3); }
.vip-hero.expired::before { opacity: .45; }

/* 会员中心 */
.vip-body { padding-top: 6px; }
.vip-benefit-card, .vip-redeem-card, .vip-way-card { margin-bottom: 14px; }
.vip-mini-tag { font-size: 10.5px; color: var(--ink-3); }
.vip-benefits { list-style: none; margin-top: 4px; }
.vip-benefits li {
  display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2);
  padding: 7px 0; border-bottom: 1px dashed var(--line);
}
.vip-benefits li:last-child { border-bottom: 0; }
.vip-benefits li::before {
  content: '✦'; color: #d9a94a; font-size: 11px; line-height: 1.8;
}
.vip-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 10px; }
.vip-sec-head b { font-size: 15px; }
.vip-sec-head span { font-size: 11.5px; color: var(--ink-3); }
.vip-plans { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.vip-plans::-webkit-scrollbar { display: none; }
.vip-plan {
  flex: 0 0 148px; border-radius: 16px; padding: 14px 12px; background: #fff;
  border: 1.5px solid var(--line); position: relative; overflow: hidden;
  box-shadow: var(--shadow); text-align: left;
}
.vip-plan.on { border-color: #d9a94a; box-shadow: 0 12px 26px -14px rgba(217, 169, 74, .8); }
.vip-plan.on::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 231, 171, .38), transparent 55%);
}
.vip-plan-badge {
  position: absolute; right: 0; top: 0; font-size: 9.5px; font-weight: 800; color: #3a2600;
  background: linear-gradient(120deg, #ffe7ab, #e7b552); padding: 3px 9px 3px 11px; border-bottom-left-radius: 12px;
}
.vip-plan b { display: block; font-size: 13.5px; }
.vip-plan .vp-price { font-size: 24px; font-weight: 800; letter-spacing: -.6px; margin: 6px 0 2px; color: var(--ink); }
.vip-plan .vp-price i { font-style: normal; font-size: 12px; font-weight: 600; margin-right: 1px; }
.vip-plan .vp-price s { font-size: 11px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.vip-plan .vp-days { font-size: 11px; color: var(--ink-3); }
.vip-redeem-tip { font-size: 11.5px; color: var(--ink-3); margin: 6px 0 10px; line-height: 1.7; }
.vip-redeem-row { display: flex; gap: 8px; }
.vip-code-input {
  flex: 1; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #f8fafc;
  padding: 0 12px; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.vip-code-input:focus { border-color: #d9a94a; background: #fff; outline: none; }
.vip-redeem-row .btn { flex: 0 0 84px; height: 44px; border-radius: 12px; }
.vip-way-card .btn-plain { height: 44px; border-radius: 12px; font-weight: 700; }
.vip-logs { margin-top: 4px; }
.vip-log-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.vip-log-row:last-child { border-bottom: 0; }
.vip-log-row b { font-weight: 700; color: #b8821f; }
.vip-log-row span { color: var(--ink-3); font-size: 11.5px; }

/* 我的页客服 */
.support-card { padding: 4px 0; margin-top: 4px; }
.support-row {
  width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; text-align: left;
}
.support-row + .support-row { border-top: 1px solid var(--line); }
.sp-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 17px; background: linear-gradient(150deg, #fff3dc, #ffe3b8);
}
.sp-txt { flex: 1; display: flex; flex-direction: column; }
.sp-txt b { font-size: 13.5px; }
.sp-txt i { font-style: normal; font-size: 11px; color: var(--ink-3); margin-top: 1px; }

/* 商城 */
.shop-body { padding-top: 6px; }
.shop-hero {
  background: linear-gradient(120deg, #1b1f2a, #0b0d12); color: #fff; border-radius: 18px;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.shop-hero::after {
  content: ''; position: absolute; width: 150px; height: 150px; right: -50px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, .5), transparent 70%);
}
.shop-hero-txt { flex: 1; }
.shop-hero-txt b { font-size: 15px; }
.shop-hero-txt span { display: block; font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.shop-hero-ico { font-size: 28px; }
.shop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-align: left;
}
.shop-card .sc-img { width: 100%; aspect-ratio: 1/1; background: #f1f3f7; display: flex; align-items: center; justify-content: center; font-size: 34px; overflow: hidden; }
.shop-card .sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sc-body b { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-price { color: #dc2626; font-weight: 800; font-size: 16px; }
.sc-price i { font-style: normal; font-size: 10.5px; color: #b8821f; background: #fff5df; padding: 1px 6px; border-radius: 6px; margin-left: 5px; font-weight: 700; }
.sc-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.sc-tag { font-size: 9.5px; color: var(--ink-3); background: #f1f3f7; padding: 2px 6px; border-radius: 5px; }
.sc-tag.warn { background: #fee2e2; color: #b91c1c; }
.shop-empty { grid-column: 1/-1; text-align: center; color: var(--ink-3); font-size: 12.5px; padding: 40px 0; line-height: 1.9; }
.top-link { border: 0; background: transparent; color: var(--brand); font-size: 12.5px; font-weight: 700; }

/* 下单弹层 */
.buy-prod { display: flex; gap: 10px; align-items: center; background: #f7f8fb; border-radius: 14px; padding: 10px; margin: 14px 0; }
.buy-prod .bp-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #e9edf3; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.buy-prod .bp-img img { width: 100%; height: 100%; object-fit: cover; }
.buy-prod b { display: block; font-size: 13.5px; }
.buy-prod span { font-size: 12px; color: #dc2626; font-weight: 700; }
.buy-qty { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; }
.buy-qty > span { font-size: 13px; color: var(--ink-2); }
.qty-ctl { display: flex; align-items: center; gap: 14px; }
.qty-ctl button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 16px; color: var(--ink-2); }
.qty-ctl b { min-width: 24px; text-align: center; font-size: 15px; }
.buy-modes { display: flex; gap: 10px; margin: 8px 0 12px; }
.buy-mode {
  flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 12px; text-align: left;
}
.buy-mode b { display: block; font-size: 13.5px; }
.buy-mode span { font-size: 10.5px; color: var(--ink-3); }
.buy-mode.on { border-color: var(--brand); background: #fff7f2; }
.buy-form { display: flex; flex-direction: column; gap: 9px; }
.buy-form input, .buy-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fafc;
  padding: 11px 12px; font-size: 13.5px; resize: none;
}
.buy-form input:focus, .buy-form textarea:focus { border-color: var(--brand); background: #fff; outline: none; }
.buy-total { display: flex; align-items: baseline; gap: 8px; padding: 14px 2px 12px; }
.buy-total span { font-size: 12.5px; color: var(--ink-2); }
.buy-total b { font-size: 24px; color: #dc2626; font-weight: 800; }
.buy-total em { font-style: normal; font-size: 10.5px; color: var(--ink-3); margin-left: auto; }

/* 我的订单 */
.shop-orders { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.oc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #fafbfd; font-size: 11.5px; color: var(--ink-3); }
.oc-status { font-weight: 700; color: var(--brand); }
.oc-status.done { color: #15803d; }
.oc-status.cancelled { color: var(--ink-3); }
.oc-body { display: flex; gap: 11px; padding: 12px 14px; }
.oc-img { width: 62px; height: 62px; border-radius: 12px; overflow: hidden; background: #f1f3f7; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.oc-img img { width: 100%; height: 100%; object-fit: cover; }
.oc-main { flex: 1; }
.oc-main b { display: block; font-size: 13.5px; }
.oc-main span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.oc-amount { font-weight: 800; color: var(--ink); font-size: 15px; }
.oc-pickup {
  margin: 0 14px 12px; border-radius: 12px; background: linear-gradient(120deg, #10131a, #1c2230); color: #fff;
  padding: 12px 14px; display: flex; align-items: center; justify-content: space-between;
}
.oc-pickup .op-l b { font-size: 22px; letter-spacing: 5px; color: #ffe7ab; display: block; }
.oc-pickup .op-l span { font-size: 10.5px; color: rgba(255, 255, 255, .5); }
.oc-pickup .op-r { font-size: 10.5px; color: rgba(255, 255, 255, .6); text-align: right; line-height: 1.7; }
.oc-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 0 14px 12px; }
.oc-btn { height: 32px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; color: var(--ink-2); }
.oc-btn.danger { color: #b91c1c; border-color: #fecaca; background: #fff5f5; }
.shop-orders .shop-empty { padding: 60px 0; }

/* 客服 / 教练弹层 */
.sup-head { display: flex; align-items: center; justify-content: center; gap: 9px; }
.sup-ico { font-size: 22px; }
.sup-note {
  margin: 14px 0 10px; background: #f7f8fb; border-radius: 14px; padding: 14px; font-size: 13px;
  color: var(--ink-2); line-height: 1.85;
}
.sup-tip { text-align: center; font-size: 11px; color: var(--ink-3); margin-bottom: 14px; }
#supportMask .btn-block, #coachMask2 .btn-block, #shopMask .btn-block { margin-top: 9px; }
.coach-qr-box {
  margin: 16px auto 6px; width: 220px; min-height: 220px; border-radius: 16px; background: #f7f8fb;
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-3); font-size: 12px; text-align: center; padding: 12px;
}
.coach-qr-box img { width: 100%; height: auto; }
.coach-empty { line-height: 1.9; }

@media (prefers-reduced-motion: reduce) {
  .vip-hero::before, .vip-crown, .vip-title { animation: none !important; }
}

/* 会员动作锁定 */
.ex-lock {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px 20px 22px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #1b1f2a, #0b0d12 65%);
  color: #fff; box-shadow: 0 18px 40px -22px rgba(11, 13, 18, .8);
}
.ex-lock-glow {
  position: absolute; width: 220px; height: 220px; left: 50%; top: -120px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 195, 95, .45), transparent 65%);
  animation: exGlow 4.5s ease-in-out infinite alternate;
}
@keyframes exGlow { from { opacity: .55; transform: translateX(-50%) scale(.92); } to { opacity: 1; transform: translateX(-50%) scale(1.1); } }
.ex-lock-ico { font-size: 34px; display: block; margin-bottom: 8px; position: relative; }
.ex-lock h3 { font-size: 17px; position: relative;
  background: linear-gradient(100deg, #f7e3a1, #fff8e2 30%, #d9a94a 55%, #fff6cf 80%, #f7e3a1);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: vipShine 6s linear infinite;
}
.ex-lock p { font-size: 12.5px; color: rgba(255, 255, 255, .62); margin: 8px 0 18px; line-height: 1.8; position: relative; }
.ex-lock-btn { position: relative; height: 44px; border-radius: 999px; font-weight: 800; }
.ex-lock-sub { display: block; margin-top: 12px; font-size: 10.5px; color: rgba(255, 255, 255, .38); position: relative; }

/* v25：套餐横向滚动更顺（末张能完整滚进来） */
.vip-plans { scroll-snap-type: x proximity; scroll-padding-inline: 2px; }
.vip-plan { scroll-snap-align: start; }

/* ================================================================
   v26.1：我的页 hero 集成会员入口 / 会员锁定卡 / AI 智能规划
   ================================================================ */

/* 头像行右侧的「会员」按钮：半透明金玻璃质感，融进深色 hero 而不是浮在上面 */
.mine-row { position: relative; }
.mine-vip-btn {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 12px 7px; border-radius: 15px; cursor: pointer;
  border: 1px solid rgba(255, 216, 140, .32);
  background: linear-gradient(160deg, rgba(255, 236, 190, .16), rgba(255, 214, 130, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 4px 14px -10px rgba(240, 178, 74, .40);
  transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
}
.mine-vip-btn:hover { border-color: rgba(255, 216, 140, .5); background: linear-gradient(160deg, rgba(255, 236, 190, .22), rgba(255, 214, 130, .08)); }
.mine-vip-btn:active { transform: scale(.94); }
.mine-vip-btn svg { filter: drop-shadow(0 2px 5px rgba(255, 190, 90, .35)); }
.mine-vip-btn span {
  font-size: 9.5px; font-weight: 800; color: #f3d491; letter-spacing: .03em;
  white-space: nowrap; line-height: 1.15; text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
/* 已开通：金渐变但带一点通透感 + 更克制的呼吸光 */
.mine-vip-btn.on {
  border: 1px solid rgba(255, 226, 160, .55);
  background: linear-gradient(150deg, rgba(255, 240, 201, .94) 0%, rgba(247, 201, 98, .9) 42%, rgba(221, 149, 38, .92) 100%);
  box-shadow: 0 6px 18px -8px rgba(247, 201, 98, .65), inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: vipBtnGlow 3.6s ease-in-out infinite;
}
.mine-vip-btn.on span { color: #4a2b00; text-shadow: none; }
.mine-vip-btn.on svg path { fill: #5d3600; stroke: #5d3600; }
@keyframes vipBtnGlow {
  0%, 100% { box-shadow: 0 6px 18px -8px rgba(247, 201, 98, .65), inset 0 1px 0 rgba(255, 255, 255, .55); }
  50% { box-shadow: 0 8px 24px -8px rgba(255, 214, 120, .8), inset 0 1px 0 rgba(255, 255, 255, .7); }
}

/* 菜单卡里的退出登录（红色） */
.menu-item.danger { color: #dc2626; }
.menu-item.danger .chev { color: #f3b6b6; }

/* 会员专属锁定卡 */
.vip-lock-card {
  margin: 18px 0; padding: 28px 22px 20px; border-radius: 22px; text-align: center;
  background: linear-gradient(160deg, #fffdf7 0%, #fff7e6 55%, #fff 100%);
  border: 1px solid rgba(214,168,74,.32);
  box-shadow: 0 10px 30px rgba(191,146,44,.12);
}
.vip-lock-card .vl-ico {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(145deg, #1c2330, #2c3446);
  box-shadow: 0 10px 22px rgba(20,26,38,.25);
}
.vip-lock-card h3 { font-size: 17px; color: #1c2330; margin: 0 0 8px; letter-spacing: .2px; }
.vip-lock-card p { font-size: 12.8px; line-height: 1.7; color: #7b8496; margin: 0 0 6px; }
.vip-lock-card small { display: block; font-size: 11.5px; color: #b0a184; margin-bottom: 14px; }
.vip-lock-card .btn { margin-top: 8px; }
.vip-lock-card .btn-plain { margin-top: 8px; }

/* 身材卡里的曲线锁 */
.bm-lock { padding: 14px 4px 4px; text-align: center; }
.bm-lock b { display: block; font-size: 13px; color: #1c2330; }
.bm-lock span { display: block; font-size: 11.5px; color: #94a3b8; margin: 4px 0 10px; line-height: 1.6; }
.bm-lock button {
  border: 0; border-radius: 999px; padding: 8px 16px; font-size: 12.5px; font-weight: 700;
  color: #4a3714; background: linear-gradient(135deg, #f7d98a, #e8bd5f); cursor: pointer;
}

/* 身材弹层里的曲线锁：盖住一张模糊的真实曲线，能看出「有数据」但不给看 */
.bc-lock { position: relative; border-radius: 16px; overflow: hidden; min-height: 210px; background: linear-gradient(180deg,#fbfcfe,#f4f7fc); display: flex; align-items: center; justify-content: center; }
.bcl-line { position: absolute; inset: 14px 10px 18px; width: calc(100% - 20px); height: calc(100% - 32px); opacity: .9; }
.bcl-mask { position: relative; z-index: 1; }
.bcl-mask {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 26px 20px;
}
.bcl-ico { font-size: 24px; margin-bottom: 6px; }
.bcl-mask b { font-size: 14px; color: #1c2330; }
.bcl-mask p { font-size: 11.5px; color: #7b8496; line-height: 1.6; margin: 6px 0 10px; max-width: 250px; }
.bcl-mask .btn { padding: 8px 18px; font-size: 12.5px; }

/* AI 智能规划 */
.ai-body { padding-bottom: 20px; }
.ai-hero {
  padding: 22px 20px; border-radius: 20px; color: #fff; margin-bottom: 14px;
  background: radial-gradient(120% 120% at 12% 0%, #4f7cff 0%, #2952d9 45%, #1b2b6b 100%);
  box-shadow: 0 14px 30px rgba(37,74,200,.28);
}
.ai-badge {
  display: inline-block; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28); margin-bottom: 10px;
}
.ai-hero h2 { font-size: 17px; line-height: 1.45; margin: 0 0 8px; }
.ai-hero p { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0; }
.ai-form { padding: 16px; }
.ai-label { font-size: 12.5px; font-weight: 700; color: #475569; margin: 12px 0 8px; }
.ai-label:first-child { margin-top: 0; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chip {
  flex: 1 1 46%; min-width: 130px; text-align: left; cursor: pointer;
  padding: 10px 12px; border-radius: 13px; border: 1.5px solid #e8edf5; background: #fbfcfe;
}
.ai-chip b { display: block; font-size: 13px; color: #1c2330; }
.ai-chip i { display: block; font-style: normal; font-size: 10.5px; color: #94a3b8; margin-top: 2px; line-height: 1.5; }
.ai-chip.on { border-color: #2f7bff; background: #eff5ff; box-shadow: 0 0 0 3px rgba(47,123,255,.1); }
.ai-chip.sm { flex: 1 1 30%; min-width: 92px; }
.ai-pill {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid #e8edf5; background: #fbfcfe;
  font-size: 12.5px; color: #475569; cursor: pointer; font-weight: 600;
}
.ai-pill.on { border-color: #2f7bff; background: #2f7bff; color: #fff; }
.ai-gen { margin-top: 18px; }

.ai-sum { padding: 16px; margin-bottom: 12px; }
.ai-sum-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ai-sum-top b { font-size: 15.5px; color: #0f172a; }
/* v26.4：AI 结果摘要卡——三个大数字，一眼看懂 */
.ai-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ai-big > div {
  background: linear-gradient(160deg, #fff4ec, #ffe9dd); border-radius: 14px;
  padding: 12px 6px 10px; text-align: center;
}
.ai-big b { display: block; font-size: 24px; font-weight: 800; color: #ff5a1f; line-height: 1.1; }
.ai-big span { display: block; margin-top: 4px; font-size: 11px; color: #9a6a52; }
.ai-sum-line { margin: 12px 0 0; font-size: 13px; color: #475569; line-height: 1.7; }
.ai-sum-top span { font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.ai-sum p { font-size: 12px; color: #64748b; line-height: 1.7; margin: 8px 0 10px; }
.ai-sum-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-sum-tags span {
  font-size: 10.5px; padding: 3px 9px; border-radius: 999px;
  background: #eef4ff; color: #2f6ae0; font-weight: 600;
}
.ai-weeks { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 8px; -webkit-overflow-scrolling: touch; }
.ai-wtab {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1px solid #e8edf5;
  background: #fff; font-size: 12px; color: #64748b; cursor: pointer; white-space: nowrap;
}
.ai-wtab.on { background: #1c2330; border-color: #1c2330; color: #fff; font-weight: 700; }
.ai-week-note {
  font-size: 11.5px; color: #8a6d2f; background: #fff8e6; border: 1px dashed #f0d9a2;
  border-radius: 12px; padding: 9px 12px; margin-bottom: 12px; line-height: 1.6;
}
.ai-day { background: #fff; border: 1px solid #eef1f6; border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.ai-day-head { display: flex; align-items: baseline; gap: 8px; }
.ai-day-head b { font-size: 13px; color: #2f7bff; }
.ai-day-head span { font-size: 13.5px; font-weight: 700; color: #0f172a; flex: 1; }
.ai-day-head i { font-style: normal; font-size: 11px; color: #94a3b8; }
.ai-day-focus { font-size: 11px; color: #94a3b8; margin: 3px 0 10px; }
.ai-items { display: flex; flex-direction: column; gap: 9px; }
.ai-item { display: flex; align-items: flex-start; gap: 10px; position: relative; }
.ai-it-ico {
  width: 38px; height: 38px; border-radius: 11px; background: #f1f5f9; flex: 0 0 38px;
  display: flex; align-items: center; justify-content: center; font-size: 17px; overflow: hidden;
}
.ai-it-ico img { width: 100%; height: 100%; object-fit: cover; }
.ai-it-txt { flex: 1; min-width: 0; }
.ai-it-txt b { display: block; font-size: 13px; color: #1c2330; }
.ai-it-txt i { display: block; font-style: normal; font-size: 11px; color: #2f7bff; margin-top: 2px; }
.ai-it-txt small { display: block; font-size: 10.5px; color: #94a3b8; margin-top: 3px; line-height: 1.5; }
.ai-vip-tag {
  position: absolute; right: 0; top: 0; font-size: 9.5px; padding: 2px 6px; border-radius: 6px;
  background: linear-gradient(135deg, #f7d98a, #e8bd5f); color: #4a3714; font-weight: 700;
}
.ai-tips { padding: 16px; margin-top: 4px; }
.ai-tips b { font-size: 13.5px; color: #0f172a; }
.ai-tips ul { margin: 8px 0 0; padding-left: 18px; }
.ai-tips li { font-size: 11.8px; color: #64748b; line-height: 1.75; margin-bottom: 4px; }
.ai-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }

.ai-his-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; max-height: 52vh; overflow: auto; }
.ai-his-row {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 12px 14px; border: 1px solid #eef1f6; border-radius: 13px; background: #fff; cursor: pointer;
}
.ai-his-row .ahr-txt { flex: 1; min-width: 0; }
.ai-his-row b { display: block; font-size: 13px; color: #0f172a; }
.ai-his-row i { display: block; font-style: normal; font-size: 11px; color: #94a3b8; margin-top: 2px; }
.ai-his-empty { padding: 26px 10px; text-align: center; font-size: 12px; color: #94a3b8; line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  .mine-vip-btn, .ai-chip, .ai-pill { transition: none; }
}

.vip-days em { font-style: normal; font-size: 10.5px; color: rgba(247,217,138,.62); margin-left: 8px; letter-spacing: .2px; }

/* ================================================================
   v26.3：AI 规划 —— 更细的选项与更完整的计划
   ================================================================ */
.ai-opt { font-weight: 500; font-size: 10.5px; color: #a3adbd; margin-left: 4px; }
.ai-weight {
  display: flex; align-items: center; gap: 8px;
  background: #f7f9fc; border: 1.5px solid #e8edf5; border-radius: 12px;
  padding: 0 14px; height: 46px;
}
.ai-weight:focus-within { border-color: #2f7bff; background: #fff; box-shadow: 0 0 0 3px rgba(47,123,255,.1); }
.ai-weight input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 15px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums;
}
.ai-weight span { font-size: 12px; color: #94a3b8; font-weight: 600; }

/* 每天的热身 / 收尾 */
.ai-day-step {
  display: flex; gap: 8px; align-items: flex-start;
  background: #f8fafc; border-radius: 10px; padding: 9px 11px; margin: 8px 0 2px;
}
.ai-day-step b {
  flex: none; font-size: 10.5px; color: #0369a1; background: #e0f2fe;
  padding: 2px 7px; border-radius: 6px; margin-top: 1px;
}
.ai-day-step span { font-size: 11.5px; color: #64748b; line-height: 1.6; }
.ai-day-step.cooldown b { color: #7c3aed; background: #f3e8ff; }

/* 目标进度 */
.ai-progress { padding: 16px; margin-bottom: 12px; }
.ai-progress-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.ai-progress-hd b { font-size: 14px; color: #0f172a; }
.ai-progress-hd span { font-size: 11px; color: #94a3b8; }
.ai-progress-bar {
  position: relative; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #ff8a3d, #ffd77a 60%, #e8edf5 60%);
  margin: 6px 0 22px;
}
.ai-progress-bar em {
  position: absolute; top: 14px; font-style: normal; font-size: 10.5px;
  color: #f97316; font-weight: 700; left: 0;
}
.ai-progress-bar em.to { left: auto; right: 0; color: #94a3b8; }
.ai-progress p { font-size: 12px; color: #64748b; line-height: 1.7; margin: 14px 0 0; }

/* 营养与执行清单 */
.ai-nutri, .ai-check { padding: 16px; margin-bottom: 12px; }
.ai-nutri > b, .ai-check > b { font-size: 14px; color: #0f172a; }
.ai-nutri p { font-size: 12px; color: #64748b; line-height: 1.75; margin: 8px 0 0; }
.ai-nutri-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ai-nutri-nums > div { background: #f7f9fc; border-radius: 12px; padding: 10px 8px; text-align: center; }
.ai-nutri-nums b { display: block; font-size: 15px; color: #0f172a; font-variant-numeric: tabular-nums; }
.ai-nutri-nums span { display: block; font-size: 10px; color: #94a3b8; margin-top: 3px; }
.ai-check ul { margin: 10px 0 0; padding: 0; list-style: none; }
.ai-check li {
  position: relative; padding: 7px 0 7px 22px; font-size: 12px; color: #4b5563; line-height: 1.6;
  border-bottom: 1px dashed #f1f5f9;
}
.ai-check li:last-child { border-bottom: 0; }
.ai-check li::before {
  content: ''; position: absolute; left: 2px; top: 12px; width: 12px; height: 12px;
  border: 1.5px solid #cbd5e1; border-radius: 4px;
}
