:root {
  --flame: #ff3b1f;
  --flame-2: #ff7a3d;
  --ink: #111318;
  --muted: #6b7280;
  --line: #eceef2;
  --bg: #f4f5f7;
  --card: #fff;
  --ok: #16a34a;
  --warn: #d97706;
  --info: #2563eb;
  --tab: #4d7cff;
  --buy: #ff5c8a;
  --hours: #ff7a2e;
  --icon: #2a2758;
  --phone-w: 390px;
  --phone-h: 844px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #0b0d12;
  color: var(--ink);
}
.stage {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 24px;
  background:
    radial-gradient(900px 500px at 20% 0%, #3a120c 0%, transparent 55%),
    radial-gradient(700px 400px at 90% 100%, #1a1f3a 0%, transparent 50%),
    #07080c;
}
.brand-side { width: 360px; color: #f5f5f4; }
.brand-side .logo {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--flame-2);
  font-weight: 700;
}
.brand-side h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 12px 0 16px;
  font-weight: 780;
}
.brand-side p { color: #b7bcc8; line-height: 1.7; font-size: 14px; }
.hint-list { margin-top: 28px; display: grid; gap: 10px; }
.hint-list div {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #d7dbe3;
}
.hint-list b { color: #fff; }
.hint-list code {
  font-family: ui-monospace, Consolas, monospace;
  color: #ffc4a8;
}
.links { margin-top: 22px; display: flex; gap: 10px; }
.links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
}

.phone {
  width: var(--phone-w);
  height: var(--phone-h);
  background: #000;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 1px #2a2d36;
  position: relative;
  flex-shrink: 0;
}
.phone-inner {
  height: 100%;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
#app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.status {
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 6px;
  font-size: 12px;
  font-weight: 650;
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  color: #fff;
  mix-blend-mode: difference;
}
.capsule {
  position: absolute;
  top: 10px; right: 12px;
  width: 88px; height: 28px;
  border-radius: 18px;
  background: rgba(0,0,0,.35);
  z-index: 6;
  display: flex; align-items: center; justify-content: space-around;
  color: #fff; font-size: 11px;
}
.nav {
  height: 88px;
  padding: 44px 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 3;
}
.nav.dark {
  background: transparent;
  border: 0;
  color: #fff;
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
}
.nav .back { width: 28px; height: 28px; display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.nav .title { flex: 1; text-align: center; font-weight: 700; font-size: 17px; margin-right: 28px; }
.nav .right { font-size: 13px; color: var(--flame); cursor: pointer; font-weight: 650; }

.scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; position: relative; }
.scroll::-webkit-scrollbar { display: none; }

.tabs {
  height: 64px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-shrink: 0;
}
.tabs button {
  flex: 1;
  border: 0; background: none; cursor: pointer;
  font-size: 11px; color: #8b909a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs .ico { font-size: 18px; }
.tabs.mp {
  height: 58px;
  border-top: 0;
  box-shadow: 0 -1px 0 #efefef;
  padding-bottom: 2px;
}
.tabs.mp button {
  color: #c5c5c5;
  font-size: 10px;
  gap: 2px;
}
.tabs.mp button.on { color: var(--tab); font-weight: 650; }
.tabs.mp svg { width: 24px; height: 24px; display: block; }

.hero {
  background: linear-gradient(160deg, #1a0a08 0%, #3c140e 42%, #ff4d2e 120%);
  color: #fff;
  padding: 88px 16px 22px;
  position: relative;
}
.hero .store-row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ff7a3d, #ff3b1f);
  flex-shrink: 0;
}
.avatar.sm { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; }
.avatar.round { border-radius: 50%; }
.hero h2 { font-size: 18px; }
.hero .sub { font-size: 12px; opacity: .75; margin-top: 2px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap {
  margin-left: auto;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.28);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}
.banner {
  margin-top: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border-radius: 16px;
  padding: 16px;
}
.banner .k { font-size: 12px; opacity: .75; }
.banner .t { font-size: 20px; font-weight: 800; margin: 4px 0 2px; }

.sec { padding: 16px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.sec-h h3 { font-size: 16px; }
.sec-h span { font-size: 12px; color: var(--muted); cursor: pointer; }

.row-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.row-scroll::-webkit-scrollbar { display: none; }

.class-card, .sku-card, .coach-chip, .panel {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(17,19,24,.04);
}
.class-card { min-width: 220px; padding: 12px; }
.class-card .time { font-size: 12px; color: var(--flame); font-weight: 700; }
.class-card .name { font-size: 16px; font-weight: 750; margin: 6px 0 4px; }
.class-card .meta { font-size: 12px; color: var(--muted); }
.class-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.btn {
  border: 0; cursor: pointer;
  background: var(--flame); color: #fff;
  border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 700;
}
.btn.ghost { background: #f3f4f6; color: var(--ink); }
.btn.line { background: #fff; color: var(--flame); border: 1px solid var(--flame); }
.btn.block { width: 100%; padding: 13px; font-size: 15px; border-radius: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.dark { background: var(--ink); }

.sku-card { min-width: 168px; padding: 14px; }
.sku-card .type { font-size: 11px; color: var(--flame); font-weight: 700; }
.sku-card .nm { font-weight: 750; margin: 6px 0; }
.sku-card .price { font-size: 22px; font-weight: 800; }
.sku-card .price em { font-size: 12px; font-style: normal; }
.tag {
  display: inline-block; font-size: 10px; padding: 2px 6px;
  border-radius: 6px; background: #fff1ee; color: var(--flame); font-weight: 700;
}
.tag.gray { background: #eee; color: #666; }
.tag.green { background: #ecfdf3; color: #15803d; }

.coach-chip { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; min-width: max-content; }

.list { display: grid; gap: 10px; }
.cell {
  background: #fff; border-radius: 14px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
}
.cell .grow { flex: 1; min-width: 0; }
.cell .nm { font-weight: 700; }
.cell .mt { font-size: 12px; color: var(--muted); margin-top: 3px; }
.chev { color: #c5c9d1; }

.sheet-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  z-index: 20; display: flex; align-items: flex-end;
}
.sheet {
  background: #fff; width: 100%; border-radius: 20px 20px 0 0;
  padding: 12px 16px 24px; max-height: 78%; overflow: auto;
}
.grab { width: 40px; height: 4px; background: #ddd; border-radius: 4px; margin: 4px auto 12px; }

.login-hero {
  height: 100%;
  background: linear-gradient(180deg, #1c0b08 0%, #111318 50%, #111318 100%);
  color: #fff; padding: 120px 28px 40px;
  display: flex; flex-direction: column;
}
.login-hero h1 { font-size: 36px; line-height: 1.2; }
.login-hero p { color: #c5c9d1; margin: 14px 0 32px; line-height: 1.6; }
.identities { display: grid; gap: 8px; margin-top: auto; }
.identities button {
  text-align: left; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); color: #fff;
  border-radius: 14px; padding: 12px 14px; cursor: pointer;
}
.identities button .s { font-size: 12px; color: #aaa; margin-top: 3px; }

.week { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px 0; }
.week .d {
  min-width: 48px; text-align: center; padding: 8px 0; border-radius: 12px;
  font-size: 12px; cursor: pointer; background: #fff;
}
.week .d.on { background: var(--ink); color: #fff; }
.week .d b { display: block; font-size: 16px; }

.paybar {
  padding: 10px 16px 16px; background: #fff; border-top: 1px solid var(--line);
}
.toast {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  background: rgba(17,19,24,.88); color: #fff; padding: 12px 16px;
  border-radius: 12px; font-size: 13px; z-index: 40; max-width: 80%; text-align: center;
}
.badge {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
  background: var(--flame); color: #fff; font-size: 10px;
  display: inline-grid; place-items: center;
}
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi .panel { padding: 12px; color: var(--ink); }
.kpi .n { font-size: 22px; font-weight: 800; color: var(--ink); }
.kpi .l { font-size: 11px; color: var(--muted); }
.screen-wall {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.scr {
  aspect-ratio: 16/10; border-radius: 12px;
  background: #0b0d12; color: #fff; padding: 10px;
  font-size: 11px; position: relative; overflow: hidden;
}
.scr.off { opacity: .45; }
.scr .play { font-size: 13px; font-weight: 700; margin-top: 18px; }
.count-face {
  font-variant-numeric: tabular-nums;
  font-size: 28px; font-weight: 800; letter-spacing: 1px;
  color: #ffb199;
}

@media (max-width: 920px) {
  .brand-side { display: none; }
  .stage { padding: 0; background: #000; }
  .phone { width: 100vw; height: 100vh; border-radius: 0; padding: 0; }
  .phone-inner { border-radius: 0; }
}

.phone-inner.on-home .status,
.phone-inner.on-book .status,
.phone-inner.on-rank .status {
  mix-blend-mode: normal;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* —— 小程序首页（对照客户参考） —— */
.home {
  min-height: 100%;
  background: #f3f3f5;
  padding-bottom: 8px;
}
.home-cover {
  height: 236px;
  background: #16110e url("../img/hero.svg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.home-cover .cover-sign {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-family: Impact, "Arial Black", "PingFang SC", sans-serif;
  font-size: 62px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #f6f6f6;
  text-shadow: 0 0 18px rgba(255,255,255,.35), 0 6px 0 #9a9a9a;
  line-height: 1;
}
.home-cover .cover-sub {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .42em;
  color: #e8b48a;
}
.home-sheet {
  background: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: -22px;
  position: relative;
  z-index: 1;
  padding: 16px 16px 0;
}
.store-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.store-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #fff, #f3f3f3);
  box-shadow: 0 0 0 1px #eee, 0 4px 10px rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.store-logo b {
  font-size: 11px;
  letter-spacing: .08em;
  color: #111;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.store-logo b small {
  display: block;
  font-size: 7px;
  letter-spacing: .18em;
  color: #e11d2a;
  margin-top: 2px;
  font-weight: 700;
}
.store-main { flex: 1; min-width: 0; }
.store-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-name {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 780;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-swap {
  flex-shrink: 0;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  font-size: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.store-swap svg { width: 14px; height: 14px; }
.store-hours {
  margin-top: 4px;
  font-size: 12px;
  color: var(--hours);
  font-weight: 650;
}
.store-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.sc-item {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}
.sc-item .k { font-size: 11px; color: #888; }
.sc-item .v {
  font-size: 13px;
  font-weight: 650;
  margin-top: 2px;
  color: #222;
}
.sc-item .addr {
  font-size: 12px;
  color: #333;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.sc-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; }

.home-notice {
  margin-top: 12px;
  background: #fff1e4;
  color: #c45a1a;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.home-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.home-notice div {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-notice .en { opacity: .85; }

.home-entries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 18px 0 14px;
}
.home-entries .en {
  text-align: center;
  cursor: pointer;
}
.home-entries .en .ic {
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.home-entries .en .ic svg { width: 32px; height: 32px; }
.home-entries .en b {
  display: block;
  font-size: 10px;
  font-weight: 650;
  color: #222;
  line-height: 1.25;
  padding: 0 2px;
}
.home-entries .en span {
  display: block;
  font-size: 8px;
  color: #b0b0b0;
  margin-top: 2px;
  line-height: 1.2;
  text-transform: none;
}

.home-promo {
  margin: 0 -16px;
  height: 118px;
  background: #2a1510 url("../img/promo.svg") center/cover no-repeat;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 16px;
  cursor: pointer;
}
.home-promo .copy {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.home-promo .badge {
  display: inline-block;
  margin-top: 8px;
  background: #f5d000;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  transform: rotate(-6deg);
}
.home-promo .promo-orb {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.18);
  background: #1a0c0a;
}

.home-block {
  background: #fff;
  margin-top: 10px;
  padding: 16px 16px 8px;
}
.home-block.round { border-radius: 0; }
.card-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  overflow-x: auto;
}
.card-tabs::-webkit-scrollbar { display: none; }
.card-tabs span {
  font-size: 13px;
  color: #b4b4b4;
  white-space: nowrap;
  cursor: pointer;
  padding: 2px 0;
}
.card-tabs span.on {
  color: #1a1a1a;
  font-weight: 760;
}
.sku-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  cursor: pointer;
  margin-bottom: 8px;
}
.sku-row .grow { flex: 1; min-width: 0; }
.sku-row img {
  width: 108px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
}
.sku-row .nm {
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 10px;
  line-height: 1.3;
}
.sku-row .grow {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sku-row .buy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sku-row .price {
  font-size: 15px;
  font-weight: 760;
  color: #222;
}
.sku-row .price em { font-style: normal; font-size: 12px; }
.btn-buy {
  border: 0;
  background: var(--buy);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.see-all {
  text-align: center;
  color: #b8b8b8;
  font-size: 12px;
  padding: 10px 0 8px;
  cursor: pointer;
}

.sec-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sec-title h3 {
  font-size: 17px;
  font-weight: 780;
}
.sec-title h3 em {
  font-style: normal;
  color: #c8c8c8;
  font-size: 13px;
  font-weight: 650;
  margin-left: 6px;
  letter-spacing: .04em;
}
.sec-title .more {
  font-size: 12px;
  color: #b0b0b0;
  cursor: pointer;
}
.coach-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 2px 16px 10px;
}
.coach-row::-webkit-scrollbar { display: none; }
.coach-row .coach-card {
  flex: 0 0 132px;
  width: 132px;
  scroll-snap-align: start;
}
.coach-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  padding: 16px 6px 14px;
  text-align: center;
}
.coach-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  background: #eee;
}
.coach-card .nm { font-size: 13px; font-weight: 700; }

.home-rank-wrap { padding: 12px 16px 0; }
.rank-card {
  background: linear-gradient(180deg, #5a6270 0%, #3a404a 100%);
  border-radius: 16px;
  color: #fff;
  padding: 14px 14px 6px;
  position: relative;
  overflow: hidden;
}
.rank-card:before {
  content: "";
  position: absolute;
  right: 8px;
  top: -10px;
  font-size: 88px;
  font-weight: 800;
  color: rgba(255,255,255,.06);
}
.rank-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.rank-hd h3 { font-size: 16px; font-weight: 750; }
.rank-hd .more { color: rgba(255,255,255,.7); font-size: 12px; cursor: pointer; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 1;
}
.rank-row .medal { width: 22px; text-align: center; font-size: 16px; }
.rank-row img {
  width: 32px; height: 32px; border-radius: 50%; background: #ddd; object-fit: cover;
}
.rank-row .nm { flex: 1; font-size: 13px; }
.rank-row .cnt { font-size: 13px; opacity: .9; }

.home-foot {
  padding: 28px 16px 20px;
  text-align: center;
  color: #c0c0c0;
  font-size: 11px;
  line-height: 1.8;
}
.home-foot .mark {
  width: 22px; height: 22px; margin: 0 auto 8px;
  border: 2px solid #d8d8d8; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #d0d0d0;
}
.home-foot a { color: #4d7cff; text-decoration: none; }

/* —— 预约页 —— */
.book { min-height: 100%; background: #fff; }
.book-sticky { position: sticky; top: 0; z-index: 4; }
.book-head {
  background: var(--tab);
  color: #fff;
  text-align: center;
  padding: 44px 16px 12px;
  font-size: 17px;
  font-weight: 700;
}
.book-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 6px;
  background: #fff;
}
.book-kind { display: flex; gap: 8px; }
.book-kind span {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #f3f3f3;
  color: #888;
  cursor: pointer;
  font-weight: 650;
}
.book-kind span.on {
  background: #fff;
  color: var(--tab);
  box-shadow: inset 0 0 0 1px var(--tab);
}
.book-filter {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.book-days {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 8px 10px;
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
}
.book-days::-webkit-scrollbar { display: none; }
.book-days .dd {
  min-width: 64px;
  text-align: center;
  padding: 6px 4px 8px;
  cursor: pointer;
  position: relative;
  color: #c0c0c0;
}
.book-days .dd b { display: block; font-size: 13px; font-weight: 650; }
.book-days .dd span { display: block; font-size: 11px; margin-top: 4px; }
.book-days .dd.on { color: #222; }
.book-days .dd.on:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--tab);
  transform: translateX(-50%);
}
.cls-item {
  padding: 14px 16px 12px;
  background: #fff;
}
.cls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
}
.cls-hot {
  background: #ffe6ee;
  color: #ff4d7a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.cls-hot:before { content: "🔥"; font-size: 10px; }
.cls-main { display: flex; align-items: center; gap: 10px; }
.cls-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cls-thumb svg { width: 32px; height: 32px; opacity: .92; }
.cls-thumb.fight { background: linear-gradient(135deg,#3b0d0d,#c43a22); }
.cls-thumb.yoga { background: linear-gradient(135deg,#14201c,#3d7a62); }
.cls-thumb.cycle { background: linear-gradient(135deg,#1b1230,#6b4dff); }
.cls-thumb.core { background: linear-gradient(135deg,#23180b,#d97706); }
.cls-thumb.pt { background: linear-gradient(135deg,#111318,#4b5563); }
.cls-thumb .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
  white-space: nowrap;
}
.cls-info { flex: 1; min-width: 0; }
.cls-name { font-size: 15px; font-weight: 750; line-height: 1.3; }
.cls-sub { font-size: 12px; color: #b0b0b0; margin: 4px 0 6px; }
.cls-sub em { font-style: normal; margin-left: 4px; }
.cls-price { font-size: 15px; font-weight: 760; color: #e11d2a; }
.cls-act { flex-shrink: 0; min-width: 64px; text-align: right; }
.cls-book {
  border: 0;
  background: var(--tab);
  color: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cls-st { font-size: 12px; color: #c0c0c0; }
.cls-empty, .book-end {
  text-align: center;
  color: #c8c8c8;
  font-size: 12px;
  padding: 28px 16px 8px;
}
.book .home-foot { background: #f7f7f8; margin-top: 8px; }
.book .sheet-mask { position: absolute; inset: 0; }

/* —— 我的 —— */
.mine { min-height: 100%; background: #f4f4f6; }
.mine-top {
  padding: 44px 16px 0;
  background: #fff;
}
.mine-scan {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mine-scan svg { width: 22px; height: 22px; }
.mine-user {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px 6px;
}
.mine-ava {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #d8dce3;
}
.mine-ava svg { width: 100%; height: 100%; display: block; }
.mine-name { font-size: 20px; font-weight: 760; }
.mine-pill {
  margin-top: 8px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
}
.mine-stat {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 18px 0 16px;
}
.mine-stat b { display: block; font-size: 22px; font-weight: 760; }
.mine-stat span { font-size: 12px; color: #888; }
.mine-hero {
  margin: 12px 16px 0;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
  background:
    linear-gradient(90deg, #1a1a1a 0 38%, rgba(20,20,20,.2) 70%, transparent 100%),
    #1a1a1a url("../img/promo.svg") right center / auto 100% no-repeat;
}
.mine-hero .t { font-size: 16px; font-weight: 750; }
.mine-hero .s { font-size: 12px; opacity: .88; margin-top: 8px; }
.mine-shop {
  margin: 10px 16px 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mine-shop span { font-size: 12px; color: var(--tab); font-weight: 650; }
.mine-svc {
  margin: 10px 16px 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 6px 16px;
}
.mine-svc .h { font-size: 13px; font-weight: 750; padding: 0 10px 14px; }
.mine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 18px;
}
.mine-grid .it {
  text-align: center;
  font-size: 11px;
  color: #333;
  cursor: pointer;
}
.mine-grid svg { width: 26px; height: 26px; margin: 0 auto 6px; display: block; }
.mine-msg {
  margin: 10px 16px 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.mine-msg .bell { width: 22px; height: 22px; display: grid; place-items: center; }
.mine-msg .bell svg { width: 20px; height: 20px; }
.mine-msg .chev { margin-left: auto; color: #ccc; font-size: 18px; }
.mine .home-foot { padding-top: 20px; }

/* —— 排行榜 —— */
.rk {
  min-height: 100%;
  background: #070807;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.rk-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 44px 8px 0;
  height: 80px;
  background: linear-gradient(rgba(0,0,0,.35), transparent);
}
.rk-back {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.rk-hero {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.rk-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
}
.rk-title {
  padding: 12px 16px 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}
.rk-side {
  position: absolute;
  right: 12px;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rk-side div {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20,20,20,.72);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 10px;
  line-height: 1.25;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #ddd;
}
.rk-boards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 10px;
}
.rk-boards::-webkit-scrollbar { display: none; }
.rk-boards span {
  flex: 0 0 auto;
  background: #2a2a2a;
  color: #cfcfcf;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  cursor: pointer;
}
.rk-boards span.on {
  background: linear-gradient(180deg, #c8f54a, #7ed957);
  color: #111;
  font-weight: 760;
}
.rk-meta {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px 10px;
  font-size: 12px;
  color: #bdbdbd;
}
.rk-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
}
.rk-seg { display: flex; gap: 12px; font-size: 13px; color: #888; }
.rk-seg span { cursor: pointer; }
.rk-seg span.on {
  background: #2c2c2c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.rk-range { font-size: 13px; color: #777; }
.rk-range span { cursor: pointer; padding: 0 4px; }
.rk-range span.on { color: #fff; font-weight: 700; }
.rk-range i { color: #555; font-style: normal; }
.rk-list { padding: 0 16px 12px; display: grid; gap: 10px; flex: 1; }
.rk-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161616;
  border-radius: 12px;
  padding: 12px 12px;
  overflow: hidden;
}
.rk-item.top1 { border: 1px solid #c9a227; background: linear-gradient(90deg, #2a220c, #16140c); }
.rk-item.top2 { background: #1a1a1a; }
.rk-item.top3 { background: #1a1a1a; }
.rk-item.mine { outline: 1px solid rgba(200,245,74,.45); }
.rk-medal {
  width: 22px;
  text-align: center;
  font-size: 13px;
  color: #9a9a9a;
  font-weight: 700;
}
.rk-medal.g, .rk-medal.s, .rk-medal.c {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; color: #111;
}
.rk-medal.g { background: linear-gradient(180deg, #ffe37a, #d4a017); }
.rk-medal.s { background: linear-gradient(180deg, #dbe7f0, #8aa0b4); }
.rk-medal.c { background: linear-gradient(180deg, #f0b27a, #c06a2a); }
.rk-item img, .rk-ava-ph {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #333; flex-shrink: 0;
}
.rk-ava-ph { display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.rk-ava-ph.fight { background: #3b0d0d; }
.rk-ava-ph.yoga { background: #1a3a2c; }
.rk-ava-ph.cycle { background: #2a1a4a; }
.rk-ava-ph.core { background: #3a2a10; }
.rk-ava-ph.pt { background: #222; }
.rk-info { flex: 1; min-width: 0; }
.rk-nm { font-size: 14px; font-weight: 650; }
.rk-stars { display: block; font-size: 11px; letter-spacing: 1px; margin-top: 3px; }
.rk-n { font-size: 18px; font-weight: 800; color: #3ecf6a; }
.rk-item.top1 .rk-n { color: #f5c542; }
.rk-item.top2 .rk-n { color: #3ec7e8; }
.rk-item.top3 .rk-n { color: #e89a3a; }
.rk-wm {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-58%);
  font-size: 34px;
  font-weight: 800;
  color: rgba(255,220,80,.12);
  letter-spacing: 1px;
  pointer-events: none;
}
.rk-bar {
  position: sticky;
  bottom: 0;
  margin: 8px 0 0;
  background: #111;
  border-top: 1px solid #222;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #ccc;
}
.rk-bar b { color: #3ecf6a; font-size: 16px; }
.rk-bar button {
  border: 0; background: #2a2a2a; color: #fff;
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.rk-mask {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}
.rk-mask.bottom {
  align-items: flex-end;
  padding: 0;
}
.rk-dialog {
  background: #fff;
  color: #222;
  width: 100%;
  max-height: 72%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.rk-dh {
  background: #3d3d3d;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 700;
}
.rk-db {
  padding: 16px 18px 48px;
  font-size: 13px;
  line-height: 1.7;
  overflow: auto;
  color: #333;
}
.rk-db b { display: block; margin-bottom: 4px; }
.rk-x {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px;
  cursor: pointer;
}
.rk-sheet {
  width: 100%;
  background: #fff;
  color: #222;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 12px;
  max-height: 78%;
  overflow: auto;
}
.rk-sh { text-align: center; font-size: 16px; font-weight: 760; margin-bottom: 12px; }
.rk-search {
  background: #f3f3f3;
  border-radius: 999px;
  padding: 10px 14px;
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
}
.rk-store {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 4px;
  cursor: pointer;
}
.rk-store .nm { font-weight: 700; font-size: 14px; }
.rk-store .mt { font-size: 12px; color: #888; margin-top: 4px; line-height: 1.4; }
.rk-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #ccc; margin-top: 2px; flex-shrink: 0;
}
.rk-radio.on { border-color: #4d7cff; box-shadow: inset 0 0 0 4px #4d7cff; }
.rk-sheet-btns { display: flex; gap: 10px; margin-top: 8px; }
.rk-sheet-btns button {
  flex: 1; border: 0; border-radius: 999px; padding: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  background: #4d7cff; color: #fff;
}
.rk-sheet-btns button.ghost { background: #f0f0f0; color: #333; }

/* —— 教练列表 —— */
.cl { background: #fff; min-height: 100%; padding: 8px 0 24px; }
.cl-h { padding: 8px 16px 4px; }
.cl-h h2 { font-size: 22px; font-weight: 780; }
.cl-h .sub { font-size: 12px; color: #b0b0b0; margin-top: 4px; }
.cl-store { padding: 14px 16px 10px; font-size: 16px; color: #222; }
.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid #f3f3f3;
  cursor: pointer;
}
.cl-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}
.cl-info { flex: 1; min-width: 0; }
.cl-name { font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 6px; }
.cl-sex { font-size: 13px; }
.cl-sex.f { color: #ff5c8a; }
.cl-sex.m { color: #4d7cff; }
.cl-price { margin-top: 4px; font-size: 12px; color: #b0b0b0; }
.cl-price em { font-style: normal; font-size: 16px; font-weight: 760; color: #e85d04; margin-right: 2px; }
.cl-tags {
  margin-top: 4px;
  font-size: 12px;
  color: #c0c0c0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}