:root {
  --page-bg: #000000;
  --panel: #ffffff;
  --panel-soft: #f7f7f7;
  --text: #121212;
  --text-muted: #9696a3;
  --text-light: rgba(255, 255, 255, 0.88);
  --accent-red: #e70012;
  --accent-red-dark: #c93631;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --tabbar-h: 56px;
  --cartbar-h: 52px;
  --cartbar-gap: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.page {
  min-height: 100vh;
  padding-bottom: calc(88px + var(--safe-bottom));
}

.page-no-tab {
  padding-bottom: calc(var(--safe-bottom) + 16px);
  min-height: 100vh;
  background: #f5f5f7;
}

.page-select-store .app-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-select-store .app-nav .back {
  color: #121212;
  font-size: 20px;
}

.page-select-store .app-nav-placeholder {
  width: 32px;
  flex-shrink: 0;
}

.store-loading,
.store-empty {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.store-empty.error {
  color: #e70012;
}

.store-open-tag {
  color: #e70012;
  font-size: 13px;
  font-weight: 600;
}

.panel {
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-lg);
}

.panel-red {
  background: linear-gradient(135deg, #ff2d3b, var(--accent-red));
  color: #fff;
}

.text-muted {
  color: var(--text-muted);
}

.icon-black {
  filter: none;
}

/* 顶部导航 */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 8px 16px;
  background: var(--panel);
  color: var(--text);
}

.app-nav.dark {
  background: #000;
  color: #fff;
}

.app-nav .title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}

.app-nav .back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.app-nav .back img {
  width: 18px;
  height: 18px;
}

.app-nav .back .iconfont {
  font-size: 20px;
  line-height: 1;
}

.app-nav-spacer {
  width: 32px;
  flex-shrink: 0;
}

/* 底部 TabBar - 浮动胶囊 */
.tabbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(8px + var(--safe-bottom));
  z-index: 50;
  display: flex;
  align-items: flex-end;
  height: 68px;
  padding: 6px 6px 8px;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.tabbar-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #999;
  font-size: 10px;
  min-width: 0;
}

.tabbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 48px;
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.tabbar-item.active .tabbar-inner {
  background: #121212;
  color: #fff;
}

.tabbar-item img {
  width: 26px;
  height: 26px;
}

.tabbar-item .tabbar-icon {
  font-size: 22px;
  line-height: 1;
  color: #121212;
}

.tabbar-item.active .tabbar-inner .tabbar-icon {
  color: #fff;
}

.tabbar-label,
.tabbar-item span.tabbar-label {
  line-height: 1.2;
  font-size: 10px;
  white-space: nowrap;
}

.tabbar-item-center {
  flex: 1.15;
  margin-bottom: 4px;
}

.tabbar-item-center .tabbar-inner {
  min-width: 58px;
  padding: 10px 12px 8px;
  background: linear-gradient(145deg, #f8d66d 0%, #d4af37 100%);
  color: #3f2e00;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  margin-top: -14px;
}

.tabbar-item-center .tabbar-icon {
  font-size: 30px;
  color: #3f2e00;
}

.tabbar-item-center .tabbar-label {
  font-size: 10px;
  font-weight: 700;
  color: #3f2e00;
}

.tabbar-item-center.active .tabbar-inner {
  background: #121212;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.tabbar-item-center.active .tabbar-icon,
.tabbar-item-center.active .tabbar-label {
  color: #f5c842;
}

/* ========== 首页 v2 ========== */
.page-home {
  padding: 12px 14px calc(88px + var(--safe-bottom));
}

.home-banner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.home-banner {
  position: relative;
  width: 100%;
  max-width: 346px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 1 / 1;
}

.home-banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.home-banner-slide {
  flex: 0 0 100%;
  height: 100%;
}

.home-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner-slide.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff 0%, #f5f5f5 100%);
  color: #121212;
  font-size: 22px;
  font-weight: 700;
}

.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.home-banner-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.home-banner-dots span.active {
  background: #fff;
  width: 16px;
  border-radius: 999px;
}

.home-login-bar {
  margin: 0 10px 20px;
  padding: 20px 14px;
  background: #fff;
  color: #121212;
  border-radius: var(--radius-pill);
}

.home-login-bar .home-login-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.home-login-bar .home-login-inner[hidden] {
  display: none !important;
}

.home-login-bar .avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
}

.home-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-user-avatar .iconfont {
  font-size: 26px;
  color: #121212;
}

.home-login-bar .avatar-icon .iconfont {
  font-size: 26px;
  color: #121212;
}

.home-login-bar .avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.home-login-bar .info {
  flex: 1;
  min-width: 0;
}

.home-login-bar .title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #c93631;
}

.home-login-bar .sub {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-login-bar .action-btn {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.home-login-bar .points-tag {
  flex-shrink: 0;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: #fff5f5;
  color: #e70012;
  font-size: 12px;
  font-weight: 700;
}

#loginMember .title {
  color: #121212;
}

.home-vip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 28px;
  padding: 20px 18px;
  background: #fff;
  color: #121212;
  border-radius: 20px;
  overflow: hidden;
}

.home-vip-card .left strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
}

.home-vip-card .left em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #999;
  margin-bottom: 12px;
}

.home-vip-card .recharge-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #121212;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.home-vip-card .right {
  max-width: 42%;
  text-align: right;
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.home-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1 / 1;
  padding: 12px 6px 10px;
  background: #fff;
  color: #121212;
  border-radius: 18px;
  text-align: center;
}

.home-service-item .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-service-item .icon .iconfont {
  font-size: 32px;
  color: #121212;
  line-height: 1;
}

.home-service-item .name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.home-service-item .en {
  font-size: 9px;
  color: #999;
  margin-top: 0;
  line-height: 1.2;
}

.home-extra-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  color: #121212;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home-extra-bar .left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.home-extra-bar .left .icon {
  font-size: 22px;
}

.home-extra-bar .link {
  font-size: 12px;
  color: #999;
}

.home-extra-bar .left .iconfont {
  font-size: 26px;
  color: #121212;
}

.home-wine-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  color: #121212;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home-wine-bar .left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-wine-bar .iconfont {
  font-size: 28px;
  color: #121212;
  flex-shrink: 0;
}

.home-wine-bar .title {
  font-size: 16px;
  font-weight: 700;
}

.home-wine-bar .sub {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.home-wine-bar .link {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.home-more-section {
  background: #fff;
  color: #121212;
  border-radius: 20px 20px 0 0;
  padding: 18px 16px 24px;
  margin: 0 -14px;
}

.home-more-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.home-more-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 12px;
}

.home-more-item .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f5f5f5;
  display: grid;
  place-items: center;
}

.home-more-item .icon-wrap .iconfont {
  font-size: 26px;
  color: #121212;
}

.home-store-tip {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.home-store-tip strong {
  color: #fff;
}

.home-legal-tip {
  margin: 16px 0 8px;
  padding: 0 4px;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

/* ========== 我的页 v4（分区卡片 + 积分排行榜） ========== */
.page-my {
  padding: 12px 12px calc(88px + var(--safe-bottom));
  background: #f0f0f0;
  min-height: 100vh;
  color: #121212;
}

.my-top-login {
  padding: 28px 0 16px;
  text-align: center;
}

.my-top-login[hidden] {
  display: none !important;
}

.my-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.my-user-card {
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  border-radius: 16px;
  padding: 20px 18px 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: #121212;
}

.my-content-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  color: #121212;
}

.my-content-card .my-stat {
  color: #121212;
}

.my-content-card .my-stat strong {
  color: #121212;
}

.my-content-card .my-menu-list .my-menu-item {
  color: #121212;
}

.my-content-card .my-menu-list .my-menu-item .my-menu-label {
  color: #121212;
}

.my-content-card .my-menu-list .my-menu-item .iconfont.arrow {
  color: #ccc;
}

.my-header-area {
  display: none;
}

.my-main-panel {
  display: contents;
}

.page-my.is-login .my-user-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  border: none;
}

.page-my.is-login .my-card-tip {
  color: rgba(255, 255, 255, 0.65);
}

.page-my.is-login .my-card-user {
  color: #fff;
}

.page-my.is-login .my-card-user .arrow {
  color: rgba(255, 255, 255, 0.5);
}

.page-my.is-login .my-card-avatar-icon {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.my-card {
  margin: 24px 14px 12px;
  padding: 18px 16px 0;
  background: #fff;
  color: #121212;
  border-radius: 24px 24px 20px 20px;
  position: relative;
  z-index: 2;
}

.my-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0;
}

.my-card-user {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  flex: 1;
  min-width: 0;
}

.my-card-name {
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-card-user .chevron {
  width: 14px;
  height: 14px;
  opacity: 0.4;
  flex-shrink: 0;
}

.my-card-avatar-wrap {
  flex-shrink: 0;
}

.my-card-avatar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #121212;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
}

.my-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

.my-card-avatar[hidden] {
  display: none !important;
}

.my-menu-panel .my-menu-item .iconfont.arrow {
  font-size: 14px;
  color: #ccc;
}

.my-card-tip {
  margin: 0;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.my-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0;
}

.my-stat {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.my-stat:last-child {
  border-right: 0;
}

.my-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.my-stat span {
  font-size: 12px;
  color: #999;
}

.my-menu-panel {
  margin: 0 14px;
  padding: 4px 16px;
  background: #fff;
  color: #121212;
  border-radius: 20px;
}

.my-menu-list {
  padding: 0 20px;
}

.my-vip-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 16px 8px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  width: auto;
}

.page-my > .my-vip-bar {
  display: flex;
  margin: 18px 12px 20px;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  align-items: center;
}

.page-my > .my-vip-bar .my-vip-info {
  flex: 1;
  min-width: 0;
}

.page-my > .my-vip-bar .my-vip-info strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-my > .my-vip-bar .my-vip-info span {
  font-size: 12px;
  margin-top: 6px;
  opacity: 1;
}

.page-my > .my-vip-bar .arrow {
  font-size: 14px;
  opacity: 0.85;
  flex-shrink: 0;
}

.page-my .my-menu-card {
  margin-top: 4px;
}

.my-menu-list .my-menu-item,
.my-menu-panel .my-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: inherit;
}

.my-menu-list .my-menu-item:last-child,
.my-menu-panel .my-menu-item:last-child {
  border-bottom: 0;
}

.my-menu-tag {
  font-size: 11px;
  color: #999;
}

.my-stats-row .my-stat {
  color: inherit;
  text-decoration: none;
}

.my-footer-tip {
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 16px 0 0;
  margin: 0;
}

/* ========== 子页面通用 ========== */
.page-sub {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 24px;
}

.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.sub-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #121212;
  font-size: 18px;
}

.sub-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.sub-header-placeholder {
  width: 40px;
}

.sub-body {
  padding: 12px;
}

.sub-loading,
.sub-empty {
  text-align: center;
  padding: 48px 16px;
  color: #999;
}

.sub-empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  color: #ddd;
}

.sub-empty .sub {
  font-size: 12px;
  margin-top: 4px;
}

.sub-empty.compact {
  padding: 24px 16px;
}

.sub-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sub-faq {
  padding: 4px 16px 12px;
}

.sub-faq-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sub-faq-item:last-child {
  border-bottom: 0;
}

.sub-faq-item strong {
  display: block;
  font-size: 14px;
  color: #121212;
  margin-bottom: 6px;
}

.sub-faq-item p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.sub-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.sub-cell.column {
  flex-direction: column;
  align-items: stretch;
}

.sub-cell:last-child {
  border-bottom: 0;
}

.sub-cell .label {
  flex-shrink: 0;
  color: #666;
}

.sub-cell .value {
  text-align: right;
}

.sub-cell .value.muted,
.muted {
  color: #999;
}

.sub-cell .value.link {
  color: #121212;
}

.sub-input,
.sub-textarea {
  flex: 1;
  border: 0;
  outline: none;
  text-align: right;
  font-size: 14px;
  background: transparent;
  color: #121212;
}

.sub-textarea {
  text-align: left;
  resize: none;
  margin-top: 8px;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 8px;
}

.sub-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 14px;
}

.sub-btn-primary {
  display: block;
  width: 100%;
  height: 46px;
  margin: 12px 0;
  border: 0;
  border-radius: 23px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.sub-btn-ghost {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #fff;
  color: #666;
  font-size: 14px;
}

.sub-section-title {
  font-size: 13px;
  color: #999;
  padding: 8px 4px;
}

.sub-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sub-tab {
  flex: 1;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #999;
}

.sub-tab.active {
  color: #121212;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 #121212;
}

.sub-footer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-sub .sub-body {
  padding-bottom: 80px;
}

.sub-avatar-icon {
  font-size: 32px;
  color: #121212;
}

.address-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.address-card-head {
  font-size: 15px;
  margin-bottom: 8px;
}

.address-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 10px;
  background: #121212;
  color: #fff;
  border-radius: 4px;
}

.address-card-body {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.address-card-actions {
  display: flex;
  gap: 16px;
}

.address-card-actions button {
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #666;
  padding: 0;
}

.service-hotline {
  background: #121212;
  color: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 12px;
}

.service-hotline-label {
  font-size: 13px;
  opacity: 0.8;
}

.service-hotline-phone {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0;
}

.service-hotline-time {
  font-size: 12px;
  opacity: 0.7;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq-q {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-a {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.store-brief h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.store-brief p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #666;
}

.recharge-balance {
  background: linear-gradient(135deg, #121212, #333);
  color: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  margin-bottom: 12px;
}

.recharge-balance span {
  font-size: 12px;
  opacity: 0.8;
}

.recharge-balance strong {
  display: block;
  font-size: 32px;
  margin-top: 8px;
}

.recharge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.recharge-item {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  padding: 16px 12px;
  text-align: center;
}

.recharge-item.active {
  border-color: #121212;
  background: #fafafa;
}

.recharge-item strong {
  display: block;
  font-size: 18px;
}

.recharge-item em {
  display: block;
  font-size: 11px;
  color: #e70012;
  margin-top: 4px;
  font-style: normal;
}

.record-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 14px;
}

.record-bonus {
  margin-left: 6px;
  font-size: 11px;
  color: #e70012;
}

.coupon-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.coupon-card.is-disabled {
  opacity: 0.55;
}

.coupon-left {
  width: 96px;
  background: #121212;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
}

.coupon-left strong {
  font-size: 24px;
}

.coupon-left span {
  font-size: 11px;
  opacity: 0.8;
}

.coupon-right {
  flex: 1;
  padding: 12px 14px;
}

.coupon-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.coupon-meta {
  font-size: 11px;
  color: #999;
}

.coupon-status {
  margin-top: 6px;
  font-size: 11px;
  color: #666;
}

.about-hero {
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 12px;
}

/* 关于我们 · 黑金 */
.page-about .about-body { padding: 12px 14px 32px; }
.about-hero-premium {
  position: relative;
  border-radius: 18px;
  padding: 28px 20px 24px;
  margin-bottom: 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1210 45%, #2a1810 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  overflow: hidden;
}
.about-hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(212,175,55,.15), transparent 55%);
  pointer-events: none;
}
.about-hero-badge {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a1208;
  background: linear-gradient(135deg, #f5d78e, #d4af37);
  margin-bottom: 12px;
}
.about-hero-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
}
.about-hero-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
}
.about-hero-premium .about-version {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  color: rgba(212,175,55,.75);
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.about-info-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.05);
}
.about-info-label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 6px;
}
.about-info-value {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.about-info-value.link { color: #c9a227; text-decoration: none; }
.about-section-title { color: #666; margin-top: 4px; }
.about-store-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,.05);
}
.about-store-card.muted-card p { margin: 0; color: #999; font-size: 14px; text-align: center; }
.about-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.about-store-head h3 { margin: 0; font-size: 16px; color: #111; }
.about-store-call {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.about-store-addr,
.about-store-meta {
  margin: 0 0 6px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.about-store-addr i,
.about-store-meta i { color: #d4af37; margin-top: 2px; }
.about-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 8px;
}
.about-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.about-link-btn.outline {
  background: #fff;
  color: #333;
  border: 1px solid rgba(0,0,0,.08);
}
.about-faq { display: flex; flex-direction: column; gap: 8px; }
.about-faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,.05);
}
.about-faq-item summary {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  list-style: none;
}
.about-faq-item summary::-webkit-details-marker { display: none; }
.about-faq-item p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #666;
}

.about-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo-banner {
  width: min(52vw, 200px);
  margin: 0 auto;
}

.about-hero-logo {
  position: relative;
  z-index: 1;
  width: min(48vw, 160px);
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.brand-logo-sheet {
  width: 88px;
  margin: 0 auto 14px;
  border-radius: 10px;
}

.brand-logo-footer {
  width: 72px;
  margin: 0 auto 8px;
  opacity: 0.88;
}

.my-footer-brand {
  padding: 8px 16px 24px;
  text-align: center;
}

.login-sheet-brand {
  text-align: center;
}

.home-banner-slide.placeholder.home-banner-brand {
  background: linear-gradient(145deg, #fff 0%, #f8f4ef 100%);
}

.about-version {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: #999;
}

.sub-link-item {
  display: block;
  text-align: center;
  padding: 14px;
  color: #666;
  font-size: 14px;
}

.agreement-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.agreement-content h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #121212;
}

.agreement-content h3 {
  font-size: 15px;
  margin: 16px 0 8px;
  color: #121212;
}

.sub-select {
  flex: 1;
  border: 0;
  outline: none;
  text-align: right;
  font-size: 14px;
  background: transparent;
  color: #121212;
  direction: rtl;
}

.sub-char-count {
  font-size: 11px;
  color: #999;
  text-align: right;
  margin-top: 6px;
}

.profile-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 8px auto 20px;
  cursor: pointer;
}

.profile-avatar-icon,
.profile-avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #121212;
  color: #fff;
  font-size: 40px;
  line-height: 88px;
  text-align: center;
}

.profile-avatar-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #666;
}

.profile-avatar-tip {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #999;
  margin-top: 8px;
}

.agreement-content p {
  margin: 0 0 8px;
}

.my-menu-panel .my-menu-item {
  padding: 16px 0;
}

/* 旧首页块保留兼容 */
.home-hero {
  margin: 12px;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: var(--text);
}

.home-hero h1 {
  margin: 0 0 6px;
  font-size: 22px;
}

.home-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.banner {
  margin: 0 12px 12px;
  height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #fff 55%, #ffe5e8);
  color: var(--text);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.banner strong {
  font-size: 20px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 12px 12px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-md);
  font-size: 12px;
}

.quick-item .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-soft);
}

.quick-item .icon-wrap img {
  width: 22px;
  height: 22px;
}

.notice-bar {
  margin: 0 12px 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.notice-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
}

.store-card {
  margin: 0 12px 12px;
  padding: 16px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-lg);
}

.store-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.store-card-head strong {
  font-size: 16px;
}

.store-card .status {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(231, 0, 18, 0.1);
  color: var(--accent-red);
  font-size: 12px;
}

.store-card .meta {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.btn-red {
  background: var(--accent-red);
}

.btn-outline {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.btn-block {
  width: 100%;
}

/* 点单页 */
.page-goods {
  background: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom));
  box-sizing: border-box;
  overflow: hidden;
}

.goods-header {
  background: var(--panel);
  color: var(--text);
  padding: 8px 12px 12px;
  box-shadow: 0 3px 20px rgba(3, 3, 3, 0.078);
}

.goods-store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.goods-store-name {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.goods-store-name img {
  width: 16px;
  height: 16px;
}

.goods-store-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.dining-switch {
  display: flex;
  padding: 3px;
  background: #f7f7f7;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

.dining-switch button {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: rgba(18, 18, 18, 0.6);
}

.dining-switch button.active {
  background: #fff;
  color: var(--accent-red);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.goods-body {
  display: flex;
  gap: 0;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  background: #fff;
  color: var(--text);
  overflow: hidden;
}

.category-list {
  width: 80px;
  flex: 0 0 80px;
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f6f6f6;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 4px;
  text-align: center;
  font-size: 13px;
  color: #666;
  position: relative;
  border: none;
  line-height: 1.35;
}

.category-item.active {
  background: #fff;
  color: var(--text);
  font-weight: 600;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1;
}

.category-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  background: var(--accent-red);
  border-radius: 2px;
  transform: translateY(-50%);
}

.goods-list {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 10px calc(var(--cartbar-h) + var(--cartbar-gap) + 8px) 0;
  background: #fff;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.goods-section-title {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 12px 8px 10px 4px;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  scroll-margin-top: 0;
  transition: box-shadow 0.18s ease, color 0.18s ease;
}

.goods-section-title.is-pinned {
  color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.goods-section + .goods-section .goods-section-title {
  margin-top: 0;
  padding-top: 14px;
  border-top: 8px solid #f6f6f6;
}

.goods-item {
  display: flex;
  gap: 10px;
  padding: 12px 8px 12px 4px;
  border-bottom: 1px solid var(--line-dark);
}

.goods-item:last-child {
  border-bottom: 0;
}

.goods-thumb {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  background: #f0f0f0;
}

.goods-info {
  flex: 1;
  min-width: 0;
}

.goods-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.goods-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goods-price {
  color: var(--accent-red);
  font-size: 16px;
  font-weight: 700;
}

.goods-price small {
  font-size: 12px;
}

.goods-empty {
  padding: 40px 10px;
  text-align: center;
  color: #999;
}

.goods-empty-error {
  color: var(--accent-red);
}

.goods-spec-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 500;
  color: #e70012;
  background: rgba(231, 0, 18, 0.08);
  border-radius: 4px;
  vertical-align: middle;
}

.spec-pick-btn {
  border: 1px solid #e70012;
  background: #fff;
  color: #e70012;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.spec-sheet {
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}

.spec-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.spec-sheet-price {
  color: #e70012;
  font-size: 18px;
  font-weight: 700;
}

.spec-group {
  margin-bottom: 14px;
}

.spec-group-name {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-opt {
  border: 1px solid #e8e8e8;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
}

.spec-opt.active {
  border-color: #e70012;
  background: rgba(231, 0, 18, 0.08);
  color: #e70012;
}

.spec-opt em {
  font-style: normal;
  font-size: 11px;
  margin-left: 4px;
  color: #999;
}

.spec-confirm-btn {
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(135deg, #ff4d5e, #e70012);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* Vant Stepper 覆盖 */
.van-stepper {
  --van-stepper-background: #f7f7f7;
  --van-stepper-button-icon-color: #121212;
}

/* 购物车底栏 - style5 黑底 */
.cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--cartbar-gap));
  z-index: 40;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 6px 0 14px;
  background: #000;
  border-radius: var(--radius-pill);
  color: #fff;
}

.cart-bar .bag {
  position: relative;
  width: 42px;
  height: 42px;
  margin-right: 10px;
}

.cart-bar .bag img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.cart-bar .bag .bag-icon {
  font-size: 24px;
  line-height: 42px;
  text-align: center;
  display: block;
  color: #fff;
}

.cart-bar .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.cart-bar .price {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}

.cart-bar .bag,
.cart-bar .price {
  cursor: pointer;
}

.cart-bar .checkout {
  min-width: 96px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cart-bar .checkout:disabled {
  opacity: 0.45;
}

/* 已选商品抽屉 */
.cart-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
}
.cart-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  max-height: 68vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.cart-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}
.cart-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}
.cart-sheet-clear {
  border: 0;
  background: transparent;
  color: #999;
  font-size: 13px;
  padding: 4px 0;
}
.cart-sheet-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
  max-height: 46vh;
}
.cart-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}
.cart-sheet-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}
.cart-sheet-main {
  flex: 1;
  min-width: 0;
}
.cart-sheet-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-sheet-spec {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}
.cart-sheet-price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-red, #e70012);
}
.cart-sheet-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cart-sheet-qty .goods-qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 16px;
  line-height: 28px;
  padding: 0;
}
.cart-sheet-qty .goods-qty-btn.plus {
  background: var(--accent-red, #e70012);
  color: #fff;
}
.cart-sheet-qty .goods-qty-num {
  min-width: 18px;
  text-align: center;
  font-size: 15px;
}
.cart-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 0;
}
.cart-sheet-total {
  font-size: 15px;
  font-weight: 700;
}
.cart-sheet-checkout {
  min-width: 96px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-red, #e70012);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px;
}

/* 订单页 */
.order-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  color: var(--text);
}

.order-tabs {
  display: flex;
  height: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-tab {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.85);
}

.order-tab.active {
  color: #000;
  font-weight: 600;
}

.order-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  background: #000;
  border-radius: 10px;
  transform: translateX(-50%);
}

.order-subtabs {
  display: flex;
  height: 48px;
}

.order-subtab {
  flex: 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #9696a3;
  position: relative;
}

.order-subtab.active {
  color: #000;
  font-weight: 600;
}

.order-subtab.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
  transform: translateX(-50%);
}

.order-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  background: #fff;
  color: rgba(0, 0, 0, 0.4);
  min-height: 50vh;
}

.order-empty img {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.order-empty-icon {
  font-size: 72px;
  color: #d8d8d8;
  margin-bottom: 24px;
  line-height: 1;
}

.order-empty .sub {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.35);
}

.order-empty .actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.order-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 132px;
  height: 52px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-decoration: none;
}

.order-empty .btn img {
  width: 18px;
  height: 18px;
  margin: 0;
}

.order-empty .btn .iconfont {
  font-size: 18px;
}

.order-subtab-more .iconfont {
  font-size: 10px;
  margin-left: 2px;
  vertical-align: middle;
}

.page-orders {
  background: #fff;
  min-height: 100vh;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 16px);
}

.tab-bill-banner {
  margin: 0 12px 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.tab-bill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.tab-bill-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #121212;
}

.tab-bill-title .iconfont {
  font-size: 16px;
  color: #121212;
}

.tab-bill-count {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #888;
  border: none;
  flex-shrink: 0;
}

.tab-bill-amount {
  font-size: 24px;
  font-weight: 800;
  color: #121212;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.tab-bill-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.order-loading {
  padding: 80px 20px;
  text-align: center;
  color: #999;
}

.order-list {
  padding: 0 0 12px;
}

.order-card-meta,
.order-card-items {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.order-card-items {
  margin-bottom: 8px;
}

.order-card-price {
  font-weight: 700;
  color: var(--accent-red);
}

.order-pay-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  background: var(--accent-red);
  color: #fff;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
}

.order-card {
  margin: 12px;
  padding: 16px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-card-head .status {
  color: var(--accent-red);
}

/* 我的页 */
.my-header {
  padding: 24px 16px 48px;
  background: #000;
  color: #fff;
}

.my-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.my-name {
  font-size: 18px;
  font-weight: 700;
}

.my-login-btn {
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.my-content {
  margin-top: -24px;
  padding: 0 12px 20px;
}

.my-panel {
  background: #fff;
  color: var(--text);
  border-radius: 24px 24px 16px 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.my-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.my-stats strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.my-stats span {
  font-size: 12px;
  color: var(--text-muted);
}

.my-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
}

.my-menu-item:last-child {
  border-bottom: 0;
}

.my-menu-item img.arrow {
  width: 14px;
  height: 14px;
}

/* 选店页 */
.store-list {
  padding: 12px;
}

.store-item {
  display: block;
  margin-bottom: 12px;
  padding: 16px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
}

.store-item.selected {
  outline: 2px solid var(--accent-red);
}

.store-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.store-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.store-item .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* 结算页 */
.pay-panel {
  margin: 12px;
  padding: 16px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
}

.pay-panel h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.pay-row:last-child {
  border-bottom: 0;
}

.pay-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
}

.pay-goods-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.pay-goods-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pay-goods-main {
  flex: 1;
  min-width: 0;
}

.pay-goods-name {
  font-weight: 600;
  font-size: 15px;
}

.pay-goods-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #888;
  line-height: 1.45;
}

.pay-goods-price {
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.pay-submit-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  z-index: 400;
}

/* ========== 登录注册底部弹窗 ========== */
body.login-sheet-open {
  overflow: hidden;
}

.login-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.login-sheet.show {
  display: flex;
}

.login-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.login-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #fff;
  color: #121212;
  border-radius: 24px 24px 0 0;
  padding: 18px 20px calc(20px + var(--safe-bottom));
  max-height: 92vh;
  overflow-y: auto;
  animation: loginSheetUp 0.28s ease;
}

@keyframes loginSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.login-sheet-tip {
  margin: 0 0 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #121212;
}

.login-sheet-subtip {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

.login-sheet-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #121212;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
}

.login-sheet-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  display: grid;
  place-items: center;
  color: #666;
  font-size: 14px;
}

.login-sheet-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.login-sheet-label {
  flex-shrink: 0;
  width: 52px;
  font-size: 15px;
  font-weight: 600;
}

.login-sheet-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 15px;
  color: #121212;
  background: transparent;
}

.login-sheet-field input::placeholder {
  color: #ccc;
}

.login-sheet-counter {
  flex-shrink: 0;
  font-size: 12px;
  color: #ccc;
}

.login-sheet-code-row {
  gap: 8px;
}

.login-sheet-sms-btn {
  flex-shrink: 0;
  min-width: 96px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #f2f2f2;
  color: #666;
  font-size: 12px;
}

.login-sheet-sms-btn:disabled {
  opacity: 0.55;
}

.login-sheet-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 18px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.login-sheet-agree input {
  margin-top: 3px;
  flex-shrink: 0;
}

.login-sheet-agree a {
  color: #121212;
  text-decoration: underline;
}

.login-sheet-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #121212;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.login-sheet-submit:disabled {
  opacity: 0.6;
}

.login-sheet-skip {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: none;
  color: #999;
  font-size: 14px;
  text-align: center;
}

.login-sheet-back {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: none;
  color: #666;
  font-size: 14px;
  text-align: center;
}

.login-sheet-register-extra {
  margin-bottom: 4px;
}

.order-subtabs {
  display: none;
}

.order-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 16px 0;
  padding: 0 14px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 20px;
}

.order-search-bar .iconfont {
  color: #999;
  font-size: 16px;
}

.order-search-bar input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.order-card-v2 {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.order-card-body {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.order-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
}

.order-card-thumb.placeholder {
  display: grid;
  place-items: center;
  color: #ccc;
  font-size: 24px;
}

.order-card-main {
  flex: 1;
  min-width: 0;
}

.order-card-head .order-no {
  font-size: 13px;
  color: #666;
}

.order-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px 14px;
  flex-wrap: wrap;
}

.order-action-btn {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 16px;
}

.order-action-btn.primary {
  background: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none;
}

.order-action-btn.danger {
  color: #e70012;
  border-color: #ffd6da;
}

.order-detail-sheet {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: none;
  align-items: flex-end;
}

.order-detail-sheet.show {
  display: flex;
}

.order-detail-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.order-detail-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  background: #f5f5f5;
  border-radius: 20px 20px 0 0;
  padding: 0 0 calc(12px + var(--safe-bottom));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.order-detail-head h3 {
  margin: 0;
  font-size: 16px;
  color: #121212;
}

.order-detail-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #999;
}

.order-detail-body {
  padding: 0 12px 12px;
}

.detail-status-hero {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 10px;
  text-align: center;
}

.detail-status-hero .status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: #f5f5f5;
}

.detail-status-hero .status-text {
  font-size: 18px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 4px;
}

.detail-status-hero .status-sub {
  font-size: 12px;
  color: #999;
}

.detail-status-hero.status-0 .status-icon { background: #fff3e0; color: #f57c00; }
.detail-status-hero.status-1 .status-icon { background: #e3f2fd; color: #1976d2; }
.detail-status-hero.status-2 .status-icon { background: #e8f5e9; color: #388e3c; }
.detail-status-hero.status-3 .status-icon { background: #fce4ec; color: #c62828; }

.detail-section {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.detail-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  margin-bottom: 12px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-row span:first-child {
  color: #888;
  flex-shrink: 0;
}

.detail-row span:last-child {
  color: #121212;
  text-align: right;
  word-break: break-all;
}

.detail-items {
  margin: 0;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-item img,
.detail-item-ph {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.detail-item-ph {
  display: grid;
  place-items: center;
  color: #ccc;
}

.detail-item-info {
  flex: 1;
  min-width: 0;
}

.detail-item-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.detail-item-meta {
  font-size: 12px;
  color: #999;
}

.detail-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #121212;
  flex-shrink: 0;
}

.detail-footer {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
}

.detail-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #121212;
}

.detail-total-row strong {
  font-size: 20px;
  color: #e70012;
  font-weight: 800;
}

.detail-total {
  display: none;
}

.my-vip-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 16px 8px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  width: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.my-vip-bar::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.my-vip-bar.level-v1,
.my-vip-bar.tier-bronze {
  background: linear-gradient(135deg, #d4a574 0%, #a0622a 45%, #6b3f1f 100%);
  border: 1px solid rgba(255, 210, 160, 0.35);
  box-shadow: 0 6px 22px rgba(160, 98, 42, 0.35);
}

.my-vip-bar.level-v2,
.my-vip-bar.tier-silver {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8b8b8 40%, #787878 100%);
  color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 22px rgba(120, 120, 120, 0.3);
}

.my-vip-bar.level-v3,
.my-vip-bar.tier-gold {
  background: linear-gradient(135deg, #ffe566 0%, #f5c842 35%, #d4af37 70%, #b8860b 100%);
  color: #3f2e00;
  border: 1px solid rgba(255, 240, 180, 0.6);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.my-vip-bar.level-v4,
.my-vip-bar.tier-platinum {
  background: linear-gradient(135deg, #e8e0ff 0%, #c4b5fd 35%, #8b5cf6 70%, #6d28d9 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.35);
}

.my-vip-bar.level-v5,
.my-vip-bar.tier-diamond {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f0f0f 100%);
  border: 1px solid #f5c842;
  box-shadow: 0 8px 28px rgba(245, 200, 66, 0.25), inset 0 0 0 1px rgba(245, 200, 66, 0.15);
}

.my-vip-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.my-vip-bar.level-v2 .my-vip-badge,
.my-vip-bar.tier-silver .my-vip-badge {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.8);
  color: #374151;
}

.my-vip-bar.level-v3 .my-vip-badge,
.my-vip-bar.tier-gold .my-vip-badge {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 248, 220, 0.9);
  color: #7c5e00;
}

.my-vip-bar.level-v5 .my-vip-badge,
.my-vip-bar.tier-diamond .my-vip-badge {
  background: linear-gradient(135deg, #f5c842, #d4af37);
  color: #1a1a1a;
  border-color: #fff8dc;
}

.my-vip-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.my-vip-info strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.my-vip-info span {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  margin-top: 3px;
  line-height: 1.4;
}

.my-vip-bar.level-v2 .my-vip-info span,
.my-vip-bar.tier-silver .my-vip-info span,
.my-vip-bar.level-v3 .my-vip-info span,
.my-vip-bar.tier-gold .my-vip-info span {
  opacity: 0.75;
}

.my-vip-bar .arrow {
  font-size: 14px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.my-vip-bar.level-v5 .arrow,
.my-vip-bar.tier-diamond .arrow {
  color: #f5c842;
  opacity: 1;
}

.points-balance-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 16px;
  border-radius: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.points-balance-card.level-v1 { background: linear-gradient(135deg, #6b7280, #374151); }
.points-balance-card.level-v2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.points-balance-card.level-v3 { background: linear-gradient(135deg, #d4af37, #b8860b); }
.points-balance-card.level-v4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.points-balance-card.level-v5 { background: linear-gradient(135deg, #111, #4a3728); border: 1px solid #d4af37; }

.points-balance-item span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.points-balance-item strong {
  font-size: 28px;
}

.points-balance-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
}

.points-level-tip {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}

.points-exchange-box {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.points-exchange-box p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
}

.points-exchange-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.points-exchange-row input {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.sub-btn-primary.inline {
  width: auto;
  padding: 0 18px;
  margin: 0;
  height: 42px;
}

.mall-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

.mall-item-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mall-item-img.ph {
  display: grid;
  place-items: center;
  background: #f5f5f5;
  color: #ccc;
  font-size: 24px;
}

.mall-item-info {
  flex: 1;
  min-width: 0;
}

.mall-item-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.mall-item-info p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #999;
}

.mall-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mall-cost {
  color: #e70012;
  font-weight: 700;
  font-size: 14px;
}

.mall-redeem-btn {
  border: 0;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 14px;
}

.login-sheet-dev {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: #bbb;
}

.login-sheet-sms-hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: #888;
}

.member-hero {
  border-radius: 16px;
  padding: 20px 16px;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.member-hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.member-hero.level-v1,
.member-hero.tier-bronze {
  background: linear-gradient(135deg, #d4a574 0%, #a0622a 45%, #6b3f1f 100%);
  border: 1px solid rgba(255, 210, 160, 0.35);
  box-shadow: 0 8px 26px rgba(160, 98, 42, 0.35);
}

.member-hero.level-v2,
.member-hero.tier-silver {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8b8b8 40%, #787878 100%);
  color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 26px rgba(120, 120, 120, 0.3);
}

.member-hero.level-v3,
.member-hero.tier-gold {
  background: linear-gradient(135deg, #ffe566 0%, #f5c842 35%, #d4af37 70%, #b8860b 100%);
  color: #3f2e00;
  border: 1px solid rgba(255, 240, 180, 0.6);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}

.member-hero.level-v4,
.member-hero.tier-platinum {
  background: linear-gradient(135deg, #e8e0ff 0%, #c4b5fd 35%, #8b5cf6 70%, #6d28d9 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(109, 40, 217, 0.35);
}

.member-hero.level-v5,
.member-hero.tier-diamond {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f0f0f 100%);
  border: 1px solid #f5c842;
  box-shadow: 0 10px 32px rgba(245, 200, 66, 0.25), inset 0 0 0 1px rgba(245, 200, 66, 0.15);
}

.member-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.member-tier-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.member-hero.level-v2 .member-tier-badge,
.member-hero.tier-silver .member-tier-badge {
  background: rgba(255, 255, 255, 0.55);
  color: #374151;
}

.member-hero.level-v3 .member-tier-badge,
.member-hero.tier-gold .member-tier-badge {
  background: rgba(255, 255, 255, 0.45);
  color: #7c5e00;
}

.member-hero.level-v5 .member-tier-badge,
.member-hero.tier-diamond .member-tier-badge {
  background: linear-gradient(135deg, #f5c842, #d4af37);
  color: #1a1a1a;
  border-color: #fff8dc;
}

.member-rank {
  opacity: 0.9;
  font-size: 12px;
}

.member-benefits {
  font-size: 14px;
  margin: 12px 0 4px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.member-hero-points {
  font-size: 36px;
  font-weight: 700;
  margin: 12px 0 4px;
}

.member-hero-points small {
  font-size: 14px;
  font-weight: 400;
  margin-left: 4px;
}

.member-hero-next {
  font-size: 12px;
  opacity: .85;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.member-hero-stats {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.member-hero-stats strong {
  display: block;
  font-size: 18px;
}

.member-hero-stats span {
  font-size: 12px;
  opacity: .8;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.member-action-btn {
  flex: 1 1 calc(50% - 5px);
  min-width: calc(50% - 5px);
  text-align: center;
  background: #111;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  box-sizing: border-box;
}

.member-action-btn.outline {
  flex: 1 1 100%;
}

.rank-board {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.rank-item:last-child { border-bottom: 0; }
.rank-item.is-self { background: #fff9e6; }

.rank-no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info strong {
  display: block;
  font-size: 14px;
}

.rank-info span {
  font-size: 12px;
  color: #888;
}

.rank-item em {
  font-style: normal;
  color: #d4af37;
  font-size: 12px;
}

.member-rules .sub-card.compact p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.member-rules .sub-card.compact p:last-child { margin-bottom: 0; }

.my-menu-item#menuLogout span {
  color: #e70012;
}

/* ========== 积分排行榜领奖台 ========== */
.my-rank-section {
  margin-top: 8px;
  padding: 16px 16px 20px;
  border-top: 8px solid #f5f5f5;
}

.my-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.my-rank-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.my-rank-head span {
  font-size: 12px;
  color: #d4af37;
  font-weight: 600;
}

.rank-podium-wrap {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-radius: 12px;
  padding: 12px 8px 0;
}

.rank-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-height: 200px;
  padding: 0 4px 0;
}

.podium-slot {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  color: #1a1a1a;
}

.podium-slot.is-self .podium-name {
  color: #9a7200;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  max-width: 96%;
}

.podium-crown {
  width: 28px;
  height: 22px;
  margin-bottom: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.podium-crown.crown-gold {
  width: 34px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='%23f5c842' d='M8 38h48l-4-22-12 14-8-18-8 18-12-14z'/%3E%3Cpath fill='%23e8a317' d='M12 38h40v6H12z'/%3E%3Ccircle fill='%23fff8dc' cx='32' cy='12' r='4'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
}

.podium-crown.crown-silver {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='%23c0c0c0' d='M8 38h48l-4-22-12 14-8-18-8 18-12-14z'/%3E%3Cpath fill='%23a8a8a8' d='M12 38h40v6H12z'/%3E%3Ccircle fill='%23f5f5f5' cx='32' cy='12' r='4'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 3px rgba(160, 160, 160, 0.4));
}

.podium-crown.crown-bronze {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='%23cd7f32' d='M8 38h48l-4-22-12 14-8-18-8 18-12-14z'/%3E%3Cpath fill='%23a0622a' d='M12 38h40v6H12z'/%3E%3Ccircle fill='%23ffe4c4' cx='32' cy='12' r='4'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 3px rgba(205, 127, 50, 0.4));
}

.podium-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-bottom: 6px;
}

.podium-slot.h1 .podium-avatar {
  width: 56px;
  height: 56px;
  border-color: #f5c842;
}

.podium-slot.h2 .podium-avatar {
  border-color: #c0c0c0;
}

.podium-slot.h3 .podium-avatar {
  border-color: #cd7f32;
}

.podium-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-avatar .iconfont {
  font-size: 24px;
}

.podium-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
  line-height: 1.3;
  min-height: 16px;
}

.podium-points {
  font-size: 11px;
  color: #666;
  margin-bottom: 8px;
}

.podium-bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podium-slot.h1 .podium-bar {
  height: 88px;
  background: linear-gradient(180deg, #f5c842 0%, #d4af37 100%);
  box-shadow: 0 -4px 12px rgba(212, 175, 55, 0.35);
}

.podium-slot.h2 .podium-bar {
  height: 64px;
  background: linear-gradient(180deg, #e8e8e8 0%, #b8b8b8 100%);
}

.podium-slot.h3 .podium-bar {
  height: 48px;
  background: linear-gradient(180deg, #e8b88a 0%, #cd7f32 100%);
}

.podium-slot.empty .podium-bar {
  height: 40px;
  background: #eee;
  opacity: 0.5;
}

.podium-rank-no {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.podium-slot.h2 .podium-rank-no { color: #555; text-shadow: none; }

.rank-list-extra {
  margin-top: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 4px;
}

.rank-list-title {
  margin-top: 16px;
  padding: 8px 8px 4px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

.rank-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-bottom: 1px solid #f5f5f5;
}

.rank-list-item.is-self {
  background: #fffbeb;
}

.rank-list-no {
  width: 24px;
  text-align: center;
  font-weight: 700;
  color: #999;
  font-size: 14px;
}

.rank-list-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rank-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-list-info {
  flex: 1;
  min-width: 0;
}

.rank-list-info strong {
  display: block;
  font-size: 14px;
}

.rank-list-info span {
  font-size: 12px;
  color: #888;
}

.rank-list-item em {
  font-style: normal;
  color: #9a7200;
  font-size: 12px;
  font-weight: 600;
}

/* ========== 排行榜 Tab 页 ========== */
.page-rank {
  min-height: 100vh;
  padding: 20px 14px calc(100px + var(--safe-bottom));
  background: linear-gradient(180deg, #fff9e6 0%, #f5f5f5 28%, #f0f0f0 100%);
}

.rank-page-head {
  text-align: center;
  margin-bottom: 16px;
}

.rank-page-head h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.rank-page-sub {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.rank-my-rank {
  display: inline-block;
  margin: 12px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rank-my-rank.is-login {
  background: linear-gradient(135deg, #f5c842, #d4af37);
  color: #3f2e00;
  font-weight: 700;
}

.rank-tier-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rank-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

.rank-tier-badge {
  background: linear-gradient(135deg, #f5c842, #d4af37);
  color: #3f2e00;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.rank-tier-next {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
}

.points-tier-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.points-tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.points-tier-head a {
  color: #d4af37;
  text-decoration: none;
  font-size: 12px;
}

.points-tier-progress {
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.points-tier-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f5c842, #d4af37);
  border-radius: 999px;
  transition: width 0.3s;
}

.points-tier-next {
  margin: 8px 0 12px;
  font-size: 12px;
  color: #888;
}

.points-tier-ladder {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tier-step {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5f5f5;
  opacity: 0.55;
  font-size: 11px;
}

.tier-step.reached { opacity: 1; }
.tier-step.current {
  background: linear-gradient(135deg, #fff9e6, #fff3cc);
  border: 1px solid #f5c842;
  opacity: 1;
}

.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

.tier-step.reached .tier-dot { background: #d4af37; }
.tier-step-info strong { display: block; font-size: 12px; }
.tier-step-info span { color: #999; }

.points-log-list {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.points-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  gap: 10px;
}

.points-log-item:last-child { border-bottom: 0; }
.points-log-item strong { display: block; font-size: 14px; }
.points-log-item .muted { font-size: 11px; color: #999; display: block; margin-top: 2px; }

.points-log-right {
  text-align: right;
  flex-shrink: 0;
}

.points-log-right em {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

.points-log-right em.up { color: #16a34a; }
.points-log-right em.down { color: #e70012; }

.rank-page-body {
  background: #fff;
  border-radius: 16px;
  padding: 16px 10px 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.rank-page-body .rank-podium-wrap {
  background: transparent;
  padding: 0;
}

.member-action-btn.outline {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

/* ========== 在线客服聊天 ========== */
.page-chat {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0;
}

.page-chat .sub-header {
  flex-shrink: 0;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 12px;
  background: #f5f5f5;
  min-height: calc(100vh - 130px - var(--safe-bottom));
}

.chat-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-row.is-me {
  margin-left: auto;
  align-items: flex-end;
}

.chat-row.is-other {
  align-items: flex-start;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.chat-bubble.me {
  background: #111;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.other {
  background: #fff;
  color: #121212;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chat-row time {
  font-size: 10px;
  color: #aaa;
  margin-top: 4px;
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid #eee;
}

.chat-input-bar input {
  flex: 1;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.chat-input-bar button {
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 0 18px;
  font-size: 14px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  box-sizing: border-box;
}

.btn-primary-block {
  display: block;
  width: 100%;
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 22px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}

.service-chat-btn {
  margin-top: 16px;
}

.wine-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.wine-search-bar input {
  flex: 1;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 10px 12px;
}

.wine-search-bar button {
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 0 16px;
}

.wine-card .wine-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wine-status.s0 { color: #f57c00; }
.wine-status.s1 { color: #388e3c; }
.wine-status.s2 { color: #999; }

.wine-card code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.my-menu-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e70012;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.my-menu-badge.warn {
  background: #f57c00;
  padding: 0 8px;
}

.my-menu-item {
  position: relative;
}

.res-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.res-tab {
  flex: 1;
  border: 0;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: #666;
}

.res-tab.active {
  background: #111;
  color: #fff;
  font-weight: 600;
}

.success-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #388e3c;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 32px;
}

.success-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.success-detail {
  list-style: none;
  padding: 16px 0;
  margin: 0;
  text-align: left;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.success-detail li {
  padding: 6px 0;
  font-size: 14px;
}

.btn-outline-block {
  display: block;
  margin-top: 10px;
  text-align: center;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
}

.res-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.res-status.pending { color: #f57c00; }
.res-status.ok { color: #388e3c; }
.res-status.cancel { color: #999; }

.wine-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.wine-tip.warn {
  background: rgba(255, 152, 0, 0.12);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.2);
}

.wine-expire {
  font-size: 12px;
  color: #888;
  margin: 6px 0 0;
}

.wine-expire.warn {
  color: #e65100;
  font-weight: 600;
}

.wine-card.is-expiring {
  border: 1px solid #ffcc80;
  background: #fffaf0;
}

.page-wine-premium {
  min-height: 100vh;
  background: #0a0a0a;
  color: #fff;
}

.wine-premium-body { padding: 12px 14px 32px; }

.wine-hero-panel {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1508 0%, #141414 55%, #0f0f0f 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.wine-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wine-stat-item {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wine-stat-item b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #d4af37;
  line-height: 1.2;
}

.wine-stat-item span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #888;
}

.wine-stat-item.is-warn b { color: #ffb74d; }

.wine-empty-card {
  text-align: center;
  padding: 56px 20px;
  background: #141414;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #888;
}

.wine-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
  font-size: 28px;
}

.wine-empty-card p {
  margin: 0 0 6px;
  font-size: 16px;
  color: #ccc;
}

.wine-empty-card span { display: block; font-size: 12px; }

.wine-acc-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}

.wine-acc-card.is-expiring { border-color: rgba(231, 0, 18, 0.35); }

.wine-acc-head {
  margin-bottom: 12px;
}

.wine-acc-head strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.wine-acc-expire { margin: 0; font-size: 11px; color: #888; }

.wine-acc-expire.is-warn { color: #ffb74d; }

.wine-item-list { display: flex; flex-direction: column; gap: 10px; }

.wine-item-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wine-item-body {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.wine-item-row.is-disabled { opacity: 0.72; }

.wine-item-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #222;
}

.wine-item-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 24px;
}

.wine-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.wine-item-main strong {
  font-size: 15px;
  font-weight: 700;
}

.wine-item-main p { margin: 0; font-size: 13px; color: #aaa; }

.wine-item-main p b { color: #d4af37; font-size: 15px; }

.wine-item-status {
  font-style: normal;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #888;
}

.wine-item-status.ok {
  background: rgba(125, 206, 160, 0.15);
  color: #7dcea0;
}

.wine-phone-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.wine-phone-bar input {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
}

.wine-phone-bar button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #121212;
  font-weight: 700;
  font-size: 13px;
}

.wine-apply-btn {
  flex-shrink: 0;
  min-width: 88px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f0c14b, #d4af37, #b8860b);
  color: #121212;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.wine-request-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.wine-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wine-request-head strong {
  font-size: 14px;
  color: #d4af37;
}

.wine-request-head em {
  font-style: normal;
  font-size: 11px;
  color: #666;
}

.wine-request-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wine-request-row:last-child { border-bottom: 0; padding-bottom: 0; }

.wine-request-main span { display: block; font-weight: 600; }

.wine-request-main em { font-style: normal; font-size: 12px; color: #888; }

.wine-request-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}

.wine-request-status.pending { background: rgba(255, 152, 0, 0.15); color: #ffb74d; }
.wine-request-status.ok { background: rgba(125, 206, 160, 0.15); color: #7dcea0; }
.wine-request-status.cancel { background: rgba(255, 255, 255, 0.06); color: #666; }

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wine-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wine-grid-item.is-disabled { opacity: 0.55; }

.wine-grid-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 8px;
}

.wine-grid-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #666;
}

.wine-grid-img-empty .iconfont { font-size: 28px; }

.wine-grid-qty {
  font-size: 16px;
  font-weight: 700;
  color: #d4af37;
  line-height: 1.2;
}

.wine-grid-name {
  margin-top: 4px;
  font-size: 11px;
  color: #888;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.wine-grid-apply {
  margin-top: 8px;
  width: 100%;
  font-size: 11px;
  padding: 6px 0;
}
/* ========== 我的积分 · 黑金主题 ========== */
.page-points-premium {
  background: #0a0a0a;
  min-height: 100vh;
  color: #fff;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.page-points-premium .sub-loading,
.page-points-premium .sub-empty {
  color: #888;
  padding: 40px 16px;
  text-align: center;
}

.pts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 10;
}

.pts-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.pts-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pts-link {
  font-size: 13px;
  color: #d4af37;
  text-decoration: none;
}

.pts-help-btn,
.pts-header-spacer {
  min-width: 52px;
  text-align: right;
}

.pts-help-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #d4af37;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
}

.pts-body {
  padding: 0 14px 20px;
}

.pts-profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pts-profile-left {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.pts-avatar-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #e70012, #d4af37);
  flex-shrink: 0;
}

.pts-avatar-ring img,
.pts-avatar-ring .pts-avatar-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 24px;
}

.pts-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pts-name-row strong {
  font-size: 16px;
}

.pts-vip-tag {
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.pts-id,
.pts-rank-title {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
}

.pts-tier-bar {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.pts-tier-bar div {
  height: 100%;
  background: linear-gradient(90deg, #c41e3a, #d4af37);
  border-radius: 2px;
}

.pts-shield {
  width: 44px;
  height: 52px;
  background: linear-gradient(180deg, #c41e3a 0%, #6b0f0f 100%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pts-shield span {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-top: -6px;
}

.pts-balance-card {
  position: relative;
  background: linear-gradient(135deg, #1a1210 0%, #121212 50%, #0f0f0f 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 14px;
  overflow: hidden;
}

.pts-balance-label {
  font-size: 12px;
  color: #888;
}

.pts-balance-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0 10px;
  letter-spacing: -1px;
}

.pts-balance-num em {
  font-size: 14px;
  color: #d4af37;
  font-style: normal;
  margin-left: 6px;
  font-weight: 700;
}

.pts-balance-stats {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #888;
}

.pts-balance-stats b {
  color: #fff;
  font-weight: 600;
}

.pts-coin {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #d4af37 45%, #8b6914 100%);
  box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(212, 175, 55, 0.25);
}

.pts-coin::after {
  content: '';
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, #7c3aed, #4c1d95);
  opacity: 0.85;
}

.pts-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.pts-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pts-card-head strong {
  font-size: 14px;
}

.pts-seg {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2px;
}

.pts-seg button {
  border: 0;
  background: transparent;
  color: #888;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
}

.pts-seg button.active {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #111;
  font-weight: 700;
}

.pts-chart-wrap {
  position: relative;
  height: 120px;
}

.pts-chart-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pts-chart-tag {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 11px;
  color: #d4af37;
  font-weight: 700;
}

.pts-earn-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.pts-earn-item {
  text-align: center;
}

.pts-earn-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  position: relative;
}

.pts-earn-icon::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid #d4af37;
  border-radius: 4px;
}

.pts-earn-streak::before { border-radius: 50%; width: 14px; height: 14px; inset: 14px; }
.pts-earn-activity::before { border-radius: 0; border-left-width: 3px; border-right: 0; inset: 10px 18px; }
.pts-earn-checkin::before { border: 0; border-top: 2px solid #d4af37; border-bottom: 2px solid #d4af37; height: 8px; inset: 17px 10px; }
.pts-earn-recharge::before { border: 0; border-radius: 50%; width: 16px; height: 16px; inset: 14px; background: #d4af37; opacity: 0.85; }
.pts-earn-win::before { border-radius: 2px; transform: rotate(45deg); inset: 14px; }
.pts-earn-invite::before {
  border: 0;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  inset: 12px 22px 22px 12px;
  background: #d4af37;
  box-shadow: 12px 12px 0 0 #d4af37;
  opacity: 0.9;
}

.pts-card-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pts-more-link {
  font-size: 12px;
  color: #d4af37;
  text-decoration: none;
  white-space: nowrap;
}

.pts-more-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.pts-more-sheet.show {
  display: flex;
}

.pts-more-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.pts-more-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 70vh;
  overflow: auto;
  background: #121212;
  border-radius: 16px 16px 0 0;
  padding: 16px 14px calc(16px + var(--safe-bottom));
  color: #fff;
}

.pts-more-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pts-more-head strong {
  font-size: 16px;
}

.pts-more-close {
  border: 0;
  background: transparent;
  color: #999;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
}

.pts-more-sheet .pts-task-row {
  border-color: rgba(255, 255, 255, 0.08);
}

.pts-more-sheet .pts-task-name {
  color: #fff;
}

.pts-more-sheet .pts-task-meta {
  color: rgba(255, 255, 255, 0.55);
}

.pts-earn-label {
  display: block;
  font-size: 10px;
  color: #aaa;
  margin-bottom: 2px;
}

.pts-earn-val {
  font-size: 11px;
  color: #d4af37;
  font-weight: 700;
}

.pts-tasks-card {
  margin-bottom: 14px;
}

.pts-task-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #d4af37;
}

.pts-task-badge.done {
  border-color: rgba(76, 175, 80, 0.4);
  color: #7dcea0;
}

.pts-task-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pts-task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pts-task-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.pts-task-row.is-done .pts-task-meta {
  color: #7dcea0;
}

.pts-task-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.pts-task-main {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.pts-task-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pts-task-meta {
  margin: 0;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.pts-task-meta em {
  font-style: normal;
  color: #d4af37;
  font-weight: 700;
  margin-right: 6px;
}

.pts-task-action {
  flex-shrink: 0;
}

.pts-task-btn {
  display: inline-block;
  min-width: 64px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.pts-task-btn:not(.done):not(:disabled) {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #121212;
  border-color: transparent;
}

.pts-task-btn.done {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: #666;
  cursor: default;
}

.pts-header-spacer {
  width: 40px;
}

.page-activities-premium {
  min-height: 100vh;
  background: #0a0a0a;
  color: #fff;
}

.page-activities-premium .act-list-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-activities-premium .act-list-hero {
  padding: 8px 16px 4px;
}

.page-activities-premium .act-list-sub {
  margin: 0;
  font-size: 12px;
  color: #d4af37;
  letter-spacing: 0.08em;
}

.page-activities-premium .act-list-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.page-activities-premium .act-list-body {
  padding: 8px 14px 32px;
}

.page-activities-premium .act-list-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.page-activities-premium .act-list-empty {
  text-align: center;
  padding: 48px 16px;
  color: #888;
}

.page-activities-premium .act-list-empty a {
  display: inline-block;
  margin-top: 12px;
  color: #d4af37;
  text-decoration: none;
}

.pts-dual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.pts-dual-col {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  min-height: 140px;
}

.pts-dual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pts-dual-head strong {
  font-size: 13px;
}

.pts-dual-head a {
  font-size: 11px;
  color: #888;
  text-decoration: none;
}

.pts-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.pts-mini-row:last-child { border-bottom: 0; }

.pts-mini-label {
  color: #bbb;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pts-mini-val {
  font-weight: 700;
  flex-shrink: 0;
}

.pts-mini-val.up { color: #ff6b6b; }
.pts-mini-val.down { color: #4ade80; }
.pts-mini-val.cost { color: #ff6b6b; }

.pts-mini-empty {
  font-size: 11px;
  color: #666;
  padding: 20px 0;
  text-align: center;
}

.pts-footer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pts-btn-gold,
.pts-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pts-btn-gold {
  background: linear-gradient(135deg, #f0c14b, #d4af37, #b8860b);
  color: #111;
}

.pts-btn-outline {
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fff;
  background: transparent;
}

/* 积分规则页 */
.pts-rule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.pts-rule-row:last-child { border-bottom: 0; }

.pts-rule-row strong.plus { color: #d4af37; font-weight: 700; }
.pts-rule-row strong.minus { color: #d4af37; font-weight: 700; }

.pts-decay-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pts-decay-head strong { font-size: 15px; }

.pts-decay-tag {
  font-size: 10px;
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.pts-decay-desc {
  font-size: 12px;
  line-height: 1.7;
  color: #888;
  margin: 0 0 14px;
}

.pts-decay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pts-decay-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
}

.pts-decay-chip span {
  display: block;
  font-size: 10px;
  color: #666;
  margin-bottom: 4px;
}

.pts-decay-chip strong {
  font-size: 12px;
  color: #ddd;
  font-weight: 600;
}

/* 明细 / 商城 */
.pts-log-list {
  background: #141414;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pts-log-item {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pts-log-item:last-child { border-bottom: 0; }

.pts-log-main strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pts-log-main span {
  font-size: 11px;
  color: #666;
}

.pts-log-side {
  text-align: right;
}

.pts-log-side em {
  display: block;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
}

.pts-log-side em.up { color: #ff6b6b; }
.pts-log-side em.down { color: #4ade80; }

.pts-log-side span {
  font-size: 11px;
  color: #666;
}

.pts-mall-balance {
  text-align: center;
  padding: 12px;
  margin-bottom: 12px;
  background: #141414;
  border-radius: 12px;
  font-size: 13px;
  color: #888;
}

.pts-mall-balance strong {
  color: #d4af37;
  font-size: 18px;
  margin-left: 6px;
}

.pts-mall-item {
  display: flex;
  gap: 12px;
  background: #141414;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pts-mall-item img,
.pts-mall-ph {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 28px;
}

.pts-mall-info {
  flex: 1;
  min-width: 0;
}

.pts-mall-info strong {
  font-size: 14px;
}

.pts-mall-info p {
  font-size: 11px;
  color: #666;
  margin: 4px 0 8px;
}

.pts-mall-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pts-mall-foot span {
  color: #d4af37;
  font-weight: 700;
  font-size: 13px;
}

.pts-mall-foot button {
  border: 0;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 14px;
}

/* ========== 排行榜 · 黑金主题 ========== */
.page-rank-premium {
  background: #0a0a0a;
  min-height: 100vh;
  color: #fff;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.rk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 8px;
}

.rk-back {
  width: 36px;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.rk-toggle {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: transparent;
  color: #d4af37;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
}

.rk-hero {
  text-align: center;
  padding: 8px 16px 16px;
  position: relative;
}

.rk-hero::before {
  content: '';
  position: absolute;
  inset: 0 20% 40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
  pointer-events: none;
}

.rk-hero-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 6px;
}

.rk-hero h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.rk-body {
  padding: 0 14px 100px;
}

.rk-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  min-height: 220px;
  padding: 0 6px;
}

.rk-podium-slot {
  flex: 1;
  max-width: 112px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rk-podium-slot.p1 { z-index: 2; order: 2; }
.rk-podium-slot.p2 { order: 1; }
.rk-podium-slot.p3 { order: 3; }

.rk-podium-slot.p1 .rk-podium-bar { height: 96px; }
.rk-podium-slot.p2 .rk-podium-bar { height: 68px; }
.rk-podium-slot.p3 .rk-podium-bar { height: 52px; }

.rk-podium-slot.p1 .rk-podium-avatar-wrap { width: 60px; height: 60px; }
.rk-podium-slot.p1 .rk-podium-avatar,
.rk-podium-slot.p1 .rk-podium-avatar-fallback { width: 60px; height: 60px; }

.rk-podium-badge {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c14b, #b8860b);
  color: #111;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.rk-crown {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.rk-crown-gold {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23f5c842' d='M8 46h48l-6-28-14 16-10-22-10 22-14-16z'/%3E%3Cpath fill='%23d4af37' d='M6 48h52v6H6z'/%3E%3Ccircle fill='%23fff8dc' cx='32' cy='18' r='4'/%3E%3Ccircle fill='%23fff8dc' cx='14' cy='22' r='3'/%3E%3Ccircle fill='%23fff8dc' cx='50' cy='22' r='3'/%3E%3C/svg%3E");
}
.rk-crown-silver {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23d1d5db' d='M8 46h48l-6-28-14 16-10-22-10 22-14-16z'/%3E%3Cpath fill='%239ca3af' d='M6 48h52v6H6z'/%3E%3Ccircle fill='%23f9fafb' cx='32' cy='18' r='4'/%3E%3Ccircle fill='%23f9fafb' cx='14' cy='22' r='3'/%3E%3Ccircle fill='%23f9fafb' cx='50' cy='22' r='3'/%3E%3C/svg%3E");
}
.rk-crown-bronze {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23cd7f32' d='M8 46h48l-6-28-14 16-10-22-10 22-14-16z'/%3E%3Cpath fill='%23a16207' d='M6 48h52v6H6z'/%3E%3Ccircle fill='%23fde68a' cx='32' cy='18' r='4'/%3E%3Ccircle fill='%23fde68a' cx='14' cy='22' r='3'/%3E%3Ccircle fill='%23fde68a' cx='50' cy='22' r='3'/%3E%3C/svg%3E");
}

.rk-podium-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rk-podium-pts {
  font-size: 12px;
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 8px;
}

.rk-podium-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
}

.rk-podium-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #2a2a2a;
  display: block;
}

.rk-podium-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 20px;
}

.rk-podium-avatar-wrap .rk-crown {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  margin: 0;
}

.rk-my-rewards { margin-bottom: 16px; }

.rk-reward-claim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rk-reward-claim-row:last-child { border-bottom: 0; }

.rk-reward-claim-main strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.rk-reward-claim-main em {
  font-style: normal;
  font-size: 11px;
  color: #888;
}

.rk-claim-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #e70012, #b8000e);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.rk-claim-btn:disabled {
  background: #333;
  color: #888;
}

.rk-podium-bar {
  width: 100%;
  margin-top: 6px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #2a2a2a, #141414);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-podium-slot.p1 .rk-podium-bar {
  background: linear-gradient(180deg, #4a3518, #2a1f10);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.rk-podium-slot.is-self .rk-podium-name { color: #ffd700; }

.rk-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.rk-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.rk-card-head strong { font-size: 14px; }
.rk-card-head span { font-size: 11px; color: #666; }

.rk-reward-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rk-reward-row:last-child { border-bottom: 0; }

.rk-reward-no {
  font-size: 18px;
  font-weight: 800;
  color: #d4af37;
  width: 28px;
}

.rk-reward-main strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.rk-reward-main em {
  font-style: normal;
  font-size: 11px;
  color: #666;
}

.rk-list-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.rk-list-row:last-child { border-bottom: 0; }

.rk-list-row.is-self {
  background: rgba(212, 175, 55, 0.08);
  margin: 0 -10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.rk-list-rank {
  color: #d4af37;
  font-weight: 800;
}

.rk-list-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rk-list-pts {
  color: #d4af37;
  font-weight: 700;
}

.rk-my-card {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(64px + env(safe-area-inset-bottom));
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.rk-my-left strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.rk-my-left p {
  margin: 0;
  font-size: 11px;
  color: #888;
}

.rk-my-no {
  font-size: 28px;
  font-weight: 800;
  color: #d4af37;
}

.page-rank-premium .sub-loading,
.page-rank-premium .sub-empty {
  color: #888;
  text-align: center;
  padding: 40px 16px;
}

/* ========== 排行榜 · 浅色主题 ========== */
.page-rank-light {
  background: #f5f5f5;
  min-height: 100vh;
  color: #121212;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.page-rank-light .rk-header { background: #fff; border-bottom: 1px solid #eee; }
.page-rank-light .rk-back { color: #121212; }
.page-rank-light .rk-title { color: #121212; }
.page-rank-light .rk-toggle {
  border-color: #e70012;
  color: #e70012;
  background: #fff;
}

.page-rank-light .rk-period-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 14px 0;
  padding: 4px;
  background: #f3f3f3;
  border-radius: 12px;
}
.page-rank-light .rk-period-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  border-radius: 10px;
  cursor: pointer;
}
.page-rank-light .rk-period-tab.active {
  background: #fff;
  color: #e70012;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.page-rank-light .rk-hero-desc {
  margin: 8px 0 0;
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}

.page-rank-light .rk-hero { background: #fff; margin: 12px 14px 0; border-radius: 14px; padding: 16px; }
.page-rank-light .rk-hero::before { display: none; }
.page-rank-light .rk-hero-tag { color: #e70012; }
.page-rank-light .rk-hero h2 { color: #121212; font-size: 20px; }

.page-rank-light .rk-body { padding: 12px 14px 100px; }

.page-rank-light .rk-podium-badge {
  background: linear-gradient(135deg, #ff6b6b, #e70012);
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 0, 18, 0.25);
}

.page-rank-light .rk-podium-pts,
.page-rank-light .rk-list-pts,
.page-rank-light .rk-list-rank,
.page-rank-light .rk-reward-no { color: #e70012; }

.page-rank-light .rk-podium-bar {
  display: block;
  background: linear-gradient(180deg, #fff, #f0f0f0);
  border: 1px solid #eee;
}

.page-rank-light .rk-podium-slot.p1 .rk-podium-bar {
  background: linear-gradient(180deg, #fff5f5, #ffe8e8);
  border-color: rgba(231, 0, 18, 0.15);
}

.rk-load-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0;
  border: 1px dashed #ddd;
  border-radius: 10px;
  background: #fafafa;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.page-rank-light .rk-load-more {
  background: #fff;
  border-color: #eee;
  color: #e70012;
}

.page-rank-light .rk-card {
  background: #fff;
  border-color: #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.page-rank-light .rk-card-head span,
.page-rank-light .rk-reward-main em { color: #999; }

.page-rank-light .rk-list-row.is-self {
  background: #fff5f5;
  border-color: rgba(231, 0, 18, 0.15);
}

.page-rank-light .rk-podium-tier {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #c45c26;
}

.page-rank-light .rk-list-tier {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-style: normal;
  color: #c45c26;
  font-weight: 600;
}

.page-rank-light .rk-tier-card .rk-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
  font-size: 14px;
}

.page-rank-light .rk-tier-card .rk-tier-row:last-child { border-bottom: 0; }
.page-rank-light .rk-tier-card .rk-tier-row em { color: #888; font-style: normal; }

.page-rank-light .rk-my-card {
  background: #fff;
  border-color: rgba(231, 0, 18, 0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.page-rank-light .rk-my-no { color: #e70012; }
.page-rank-light .rk-my-left p { color: #888; }
.page-rank-light .sub-loading,
.page-rank-light .sub-empty { color: #999; }

/* 首页：邀请好友 + 本周活动 */
.home-modules {
  margin: 12px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-invite-card {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 14px 0;
  padding: 18px 16px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1528 0%, #12121a 45%, #0f0f14 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-invite-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.home-invite-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.home-invite-offer {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.home-invite-offer strong {
  font-size: 24px;
  font-weight: 800;
}

.home-invite-rule {
  margin: -8px 0 12px;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.home-invite-btn {
  display: inline-block;
  padding: 9px 18px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0c14b, #c9a227);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.home-invite-art {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  align-self: center;
}

.home-invite-art::before,
.home-invite-art::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 62px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.home-invite-art::before {
  right: 8px;
  top: -4px;
  transform: rotate(8deg);
}

.home-invite-art::after {
  right: 22px;
  top: 6px;
  transform: rotate(-12deg);
  background-image: radial-gradient(circle at 50% 42%, #e70012 0, #e70012 9px, transparent 10px),
    linear-gradient(180deg, #fafafa 0%, #ddd 100%);
}

.home-activity-card {
  margin: 12px 14px 0;
  padding: 16px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-activity-card.full {
  margin: 0;
  background: #fff;
  border-color: #eee;
}

.home-activity-card.full .home-activity-head strong { color: #111; }
.home-activity-card.full .home-activity-head a { color: #888; }
.home-activity-card.full .home-activity-row { color: #111; }
.home-activity-card.full .home-act-info strong { color: #111; }
.home-activity-card.full .home-act-info span { color: #888; }
.home-activity-card.full .home-activity-row.has-border {
  border-bottom-color: #f0f0f0;
}

.home-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.home-activity-head strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.home-activity-head a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
}

.home-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  color: #fff;
}

.home-activity-row.has-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-act-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  position: relative;
}

.home-act-icon.gold {
  background: linear-gradient(135deg, #f0c14b, #a67c00);
}

.home-act-icon.gold::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.home-act-icon.dark {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-act-icon.dark::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  width: 120%;
  height: 6px;
  margin-top: -3px;
  background: linear-gradient(90deg, #c9a227, #f0c14b);
  transform: rotate(-35deg);
}

.home-act-info {
  flex: 1;
  min-width: 0;
}

.home-act-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.home-act-info span {
  display: block;
  font-size: 12px;
  color: #888;
}

.home-act-status {
  flex-shrink: 0;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.home-act-status.register { color: #3ecf8e; }
.home-act-status.ongoing { color: #ff6b4a; }
.home-act-status.ended { color: #888; }

.home-act-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.home-act-arrow {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.home-activity-card.full.v2 {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.home-activity-card.full.v2 .home-activity-row {
  color: #fff;
  padding: 14px 14px;
  transition: background 0.2s ease;
}

.home-activity-card.full.v2 .home-activity-row:active {
  background: rgba(255, 255, 255, 0.04);
}

.home-activity-card.full.v2 .home-act-info strong { color: #fff; }
.home-activity-card.full.v2 .home-act-info span { color: #888; }
.home-activity-card.full.v2 .home-activity-row.has-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-activity-row .home-act-right .home-act-arrow { color: rgba(255, 255, 255, 0.2); }

.activity-list-body { padding: 12px 14px 24px; }
.activity-list-tip {
  margin: 0 0 10px;
  font-size: 12px;
  color: #888;
}

.page-activities .sub-body {
  padding: 12px 14px 24px;
}

/* 赛事详情页 */
.page-activity-detail {
  position: relative;
  min-height: 100vh;
  background: #0a0a0a;
}
.page-activity-detail.has-bg { background: #0a0a0a; }
.act-detail-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.act-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.92) 100%);
}
.page-activity-detail.has-bg .act-detail-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.78) 40%, rgba(0,0,0,0.94) 100%);
}
.page-activity-detail .sub-header,
.page-activity-detail .activity-detail-body {
  position: relative;
  z-index: 2;
}
.page-activity-detail .activity-detail-body { padding: 8px 14px 32px; }
.act-detail-hero.glass,
.act-detail-card.glass,
.sub-empty.glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.act-detail-hero {
  display: block;
  padding: 22px 18px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26,21,40,0.92), rgba(15,15,20,0.88));
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.page-activity-detail.has-bg .act-detail-hero {
  background: linear-gradient(135deg, rgba(20,20,28,0.82), rgba(10,10,14,0.78));
}
.act-detail-head h1 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}
.act-detail-time {
  margin: 0;
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
}
.act-detail-card {
  padding: 18px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(17,17,17,0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.page-activity-detail.has-bg .act-detail-card {
  background: rgba(17,17,17,0.78);
}
.act-detail-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.act-detail-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #aaa;
}
.act-detail-rules {
  margin: 0;
  padding-left: 18px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.7;
}
.act-detail-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.act-detail-link {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  padding: 8px;
}
.act-detail-cta {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(231, 0, 18, 0.35);
}

/* 邀请好友页 */
.page-invite .invite-body { padding: 12px 14px 24px; }
.invite-hero-card {
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1528, #0f0f14);
  color: #fff;
  margin-bottom: 12px;
}
.invite-hero-label { font-size: 12px; color: #888; }
.invite-hero-card h2 { margin: 8px 0; font-size: 24px; }
.invite-hero-card h2 em { color: #d4af37; font-style: normal; }
.invite-hero-card p { margin: 0; font-size: 13px; color: #888; line-height: 1.5; }
.invite-login-gate {
  padding: 24px 16px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  border: 1px dashed rgba(212,175,55,.35);
}
.invite-gate-tip {
  margin: 12px 0 16px;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
.invite-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.invite-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.invite-panel-main {
  padding: 20px 16px 16px;
}
.invite-side-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.invite-stats-row.compact {
  margin-bottom: 0;
  grid-column: span 1;
}
.invite-qr-card {
  padding: 14px 12px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invite-qr-box {
  width: 148px;
  height: 148px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.invite-qr-box img,
.invite-qr-box canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.invite-qr-label { font-size: 12px; color: #888; margin-bottom: 10px; }
.invite-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}
.invite-qr-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #666;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}
.invite-qr-tip {
  margin: 10px 0 0;
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}
.invite-code-card {
  padding: 16px 12px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite-code-card span { display: block; font-size: 12px; color: #888; margin-bottom: 8px; }
.invite-code-card strong { display: block; font-size: 28px; color: #d4af37; margin-bottom: 12px; letter-spacing: 2px; }
.invite-copy-btn, .invite-link-btn, .invite-save-qr-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
}
.invite-save-qr-btn:disabled { opacity: 0.45; }
.invite-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.invite-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.invite-stats-row div {
  padding: 14px;
  border-radius: 12px;
  background: #141414;
  text-align: center;
}
.invite-stats-row strong { display: block; font-size: 22px; color: #fff; }
.invite-stats-row span { font-size: 12px; color: #888; }
.invite-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-block { width: 100%; }

/* 荣誉机制 */
.honor-progress-card {
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
}
.honor-current span { font-size: 11px; color: rgba(255,255,255,.6); }
.honor-current strong { display: block; font-size: 22px; margin: 4px 0; }
.honor-current em { font-size: 12px; color: rgba(255,255,255,.55); font-style: normal; }
.honor-meter-row p { display: flex; justify-content: space-between; margin: 10px 0 6px; font-size: 12px; }
.honor-meter-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.honor-meter-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d4af37, #f0c14b);
}
.honor-meter-row.is-focus .honor-meter-bar i {
  background: linear-gradient(90deg, #e70012, #ff6b4a);
  box-shadow: 0 0 8px rgba(231,0,18,.35);
}
.honor-meter-row.is-done .honor-meter-bar i { background: #4ade80; }
.honor-meter-row.is-focus p strong { color: #f0c14b; }
.honor-upgrade-tip {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(212,175,55,.12);
  color: #f0c14b !important;
  font-size: 12px !important;
  line-height: 1.5;
}
.honor-path {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 12px 0 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.honor-path-item {
  position: relative;
  flex: 1;
  min-width: 72px;
  text-align: center;
  padding: 0 4px 18px;
}
.honor-path-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.35);
}
.honor-path-item.current .honor-path-dot {
  width: 12px;
  height: 12px;
  background: #f0c14b;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(240,193,75,.5);
}
.honor-path-item.next .honor-path-dot {
  background: rgba(240,193,75,.35);
  border-color: #f0c14b;
}
.honor-path-item strong {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.honor-path-item em {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  font-style: normal;
  margin-top: 2px;
}
.honor-path-line {
  position: absolute;
  top: 5px;
  left: calc(50% + 8px);
  width: calc(100% - 16px);
  height: 2px;
  background: rgba(255,255,255,.15);
}
.honor-path-item.current .honor-path-line { background: linear-gradient(90deg, #f0c14b, rgba(255,255,255,.15)); }
.member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.member-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.member-action-btn.outline {
  background: #fff;
  color: #111;
  border: 1px solid #eee;
}
.wifi-sheet[hidden] { display: none !important; }
body.wifi-sheet-open { overflow: hidden; }
.wifi-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.wifi-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.wifi-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 12px 24px;
  padding: 28px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  animation: wifiSlideUp .28s ease;
}
@keyframes wifiSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.wifi-sheet-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(240,193,75,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #f0c14b;
}
.wifi-sheet-panel h3 { margin: 0 0 6px; font-size: 18px; }
.wifi-sheet-sub { margin: 0 0 18px; font-size: 12px; color: rgba(255,255,255,.55); }
.wifi-sheet-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  text-align: left;
}
.wifi-sheet-field span { font-size: 12px; color: rgba(255,255,255,.5); min-width: 56px; }
.wifi-sheet-field strong { flex: 1; font-size: 15px; letter-spacing: .5px; }
.wifi-copy-btn {
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(240,193,75,.2);
  color: #f0c14b;
  font-size: 12px;
}
.wifi-sheet-close {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}
.pay-coupon-picker { display: flex; flex-direction: column; gap: 8px; }
.pay-coupon-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fafafa;
  font-size: 14px;
}
.pay-coupon-opt input { accent-color: #e70012; }
.pay-coupon-name { font-weight: 600; }
.pay-coupon-meta { margin-left: auto; font-size: 12px; color: #888; }
.coupon-use-btn {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e70012;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}
.member-hero.honor-1 { background: linear-gradient(135deg, #2a2a2a, #111); }
.member-hero.honor-2 { background: linear-gradient(135deg, #1f2937, #0f172a); }
.member-hero.honor-3 { background: linear-gradient(135deg, #312e81, #1e1b4b); }
.member-hero.honor-4 { background: linear-gradient(135deg, #78350f, #451a03); }
.my-vip-bar.honor-1 {
  background: linear-gradient(135deg, #3a3a3a 0%, #1f1f1f 45%, #0a0a0a 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  color: #fff;
}
.my-vip-bar.honor-2 {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #0f172a 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 8px 26px rgba(30, 64, 175, 0.35);
  color: #fff;
}
.my-vip-bar.honor-3 {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 45%, #312e81 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 8px 26px rgba(109, 40, 217, 0.35);
  color: #fff;
}
.my-vip-bar.honor-4 {
  background: linear-gradient(135deg, #78350f 0%, #92400e 35%, #451a03 100%);
  border: 1px solid rgba(245, 200, 66, 0.45);
  box-shadow: 0 8px 28px rgba(180, 120, 20, 0.4);
  color: #fff;
}
.my-vip-bar.honor-1 .my-vip-badge { background: linear-gradient(135deg, #f5c842, #d4af37); color: #1a1a1a; border-color: rgba(255,248,220,0.85); font-weight: 800; }
.my-vip-bar.honor-2 .my-vip-badge { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(147,197,253,0.6); font-weight: 800; }
.my-vip-bar.honor-3 .my-vip-badge { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(196,181,253,0.6); font-weight: 800; }
.my-vip-bar.honor-4 .my-vip-badge { background: linear-gradient(135deg, #ffe566, #f5c842); color: #3f2e00; border-color: rgba(255,248,220,0.9); font-weight: 800; }
.my-vip-bar.honor-1 .my-vip-info strong,
.my-vip-bar.honor-2 .my-vip-info strong,
.my-vip-bar.honor-3 .my-vip-info strong,
.my-vip-bar.honor-4 .my-vip-info strong { color: #fff; font-size: 17px; font-weight: 800; }
.my-vip-bar.honor-1 .my-vip-info span,
.my-vip-bar.honor-2 .my-vip-info span,
.my-vip-bar.honor-3 .my-vip-info span,
.my-vip-bar.honor-4 .my-vip-info span { color: rgba(255,255,255,0.88); opacity: 1; font-size: 12px; }
.my-vip-bar.honor-1 .arrow,
.my-vip-bar.honor-4 .arrow { color: #f5c842; opacity: 1; }
.my-vip-bar.honor-2 .arrow,
.my-vip-bar.honor-3 .arrow { color: rgba(255,255,255,0.85); opacity: 1; }

/* 预约列表 */
.page-res-list .res-list-body { padding: 12px 14px 28px; }
.res-list-top { margin-bottom: 14px; }
.res-list-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
}
.res-list-new-btn.block { margin-top: 16px; }
.res-list-summary {
  margin: 10px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}
.res-list-summary strong { color: #d4af37; }
.res-list-cards { display: flex; flex-direction: column; gap: 10px; }
.res-list-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.res-list-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}
.res-list-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1528, #0f0f14);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.res-list-card-title { flex: 1; min-width: 0; }
.res-list-card-title strong {
  display: block;
  font-size: 16px;
  color: #111;
  margin-bottom: 4px;
}
.res-list-card-title span { font-size: 13px; color: #888; }
.res-list-status {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.res-list-status.pending { background: #fff3e0; color: #f57c00; }
.res-list-status.confirmed { background: #e8f5e9; color: #388e3c; }
.res-list-status.done { background: #e3f2fd; color: #1976d2; }
.res-list-status.cancel { background: #f5f5f5; color: #999; }
.res-list-status.pay-pending { background: #fff8e1; color: #b8860b; }
.res-list-source {
  display: inline-block;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #b8860b;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.25);
}
.res-list-verify {
  margin: 0 14px 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1528, #0f0f14);
  border: 1px solid rgba(212,175,55,.35);
  text-align: center;
}
.res-list-verify-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.res-list-verify-code {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #f5d78e;
  margin-bottom: 4px;
}
.res-list-verify-hint {
  font-size: 11px;
  color: rgba(255,255,255,.45);
}
.res-list-pay-btn {
  display: block;
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #1a1208;
  background: linear-gradient(135deg, #f5d78e, #d4af37);
}
.res-list-card.pay-pending {
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 4px 16px rgba(212,175,55,.12);
}
.res-list-card-body { padding: 0 14px 10px 66px; }
.res-list-card-body p {
  margin: 0 0 6px;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}
.res-list-card-body p i { color: #aaa; font-size: 14px; }
.res-list-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: #aaa;
}
.res-list-tip { color: #f57c00; }
.res-list-empty { text-align: center; padding: 48px 20px; }
.res-list-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.res-list-empty p { margin: 0 0 6px; font-size: 16px; color: #333; }
.res-list-empty span { display: block; font-size: 13px; color: #888; margin-bottom: 8px; }

/* ========== 我的页 v6 · 黑色简约高级 ========== */
.page-my {
  background: #ebebeb;
  padding: 8px 12px calc(88px + var(--safe-bottom));
}

.my-login-sub {
  margin: 10px 0 0;
  font-size: 12px;
  color: #999;
}

.my-profile-head {
  background: transparent;
  box-shadow: none;
  margin: 0 0 8px;
}

.my-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px 14px;
  color: #121212;
  text-decoration: none;
}

.my-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.my-profile-avatar-icon,
.my-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.my-profile-avatar-icon {
  display: grid;
  place-items: center;
  background: #121212;
  color: #fff;
  font-size: 26px;
}

.my-profile-avatar {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  border: none;
}

/* display:grid 会压过原生 [hidden]，有头像时占位图标必须强制隐藏，否则出现双头像 */
.my-profile-avatar[hidden],
.my-profile-avatar-icon[hidden] {
  display: none !important;
}

.my-profile-meta {
  flex: 1;
  min-width: 0;
}

.my-profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-profile-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.my-profile-rank {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: #9a7b2e;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.my-profile-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.my-profile-chevron {
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
}

/* 会员卡片 · 黑金高级 */
.my-membership-wrap {
  position: relative;
  margin: 22px 0 14px;
  padding-top: 10px;
}

.my-membership-card {
  display: block;
  margin: 0;
  padding: 20px 16px 16px;
  padding-right: 76px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    linear-gradient(152deg, #2a2620 0%, #121212 38%, #080808 72%, #141008 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}

.my-membership-card::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65) 30%, rgba(240, 193, 75, 0.85) 50%, rgba(212, 175, 55, 0.65) 70%, transparent);
  pointer-events: none;
  z-index: 2;
}

.my-membership-rings {
  position: absolute;
  right: 6px;
  top: -10px;
  width: 124px;
  height: 124px;
  pointer-events: none;
  z-index: 0;
}

.my-membership-rings::before,
.my-membership-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.my-membership-rings::before {
  right: 0;
  top: 0;
  width: 104px;
  height: 104px;
  border-color: rgba(212, 175, 55, 0.12);
}

.my-membership-rings::after {
  right: 16px;
  top: 16px;
  width: 72px;
  height: 72px;
  border-color: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.08);
}

.my-membership-card::before {
  content: '';
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.my-membership-emblem {
  position: absolute;
  right: 18px;
  top: -26px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  z-index: 4;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    linear-gradient(160deg, #3a3428 0%, #141414 45%, #0a0908 100%);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(212, 175, 55, 0.5),
    0 0 20px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.my-membership-emblem .iconfont {
  font-size: 30px;
  background: linear-gradient(180deg, #fff8e7 0%, #f0c14b 45%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.my-membership-card.honor-2 .my-membership-emblem {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    linear-gradient(160deg, #334155 0%, #0f172a 45%, #0a0f18 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(148, 163, 184, 0.55),
    0 0 20px rgba(148, 163, 184, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.my-membership-card.honor-2 .my-membership-emblem .iconfont {
  background: linear-gradient(180deg, #f1f5f9 0%, #94a3b8 50%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.my-membership-card.honor-3 .my-membership-emblem {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    linear-gradient(160deg, #4338ca 0%, #1e1b4b 45%, #0f0a1a 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(167, 139, 250, 0.55),
    0 0 20px rgba(167, 139, 250, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.my-membership-card.honor-3 .my-membership-emblem .iconfont {
  background: linear-gradient(180deg, #ede9fe 0%, #a78bfa 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.my-membership-card.honor-4 .my-membership-emblem {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
    linear-gradient(160deg, #78350f 0%, #451a03 45%, #0a0a0a 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(245, 200, 66, 0.65),
    0 0 24px rgba(245, 200, 66, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.my-membership-card.honor-4 .my-membership-emblem .iconfont {
  background: linear-gradient(180deg, #fffbeb 0%, #f5c842 45%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.my-membership-card.honor-2 {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(148, 163, 184, 0.12) 0%, transparent 55%),
    linear-gradient(152deg, #1e293b 0%, #0f172a 50%, #0a0f18 100%);
  border-color: rgba(148, 163, 184, 0.38);
}

.my-membership-card.honor-3 {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(167, 139, 250, 0.14) 0%, transparent 55%),
    linear-gradient(152deg, #312e81 0%, #1e1b4b 50%, #0f0a1a 100%);
  border-color: rgba(167, 139, 250, 0.38);
}

.my-membership-card.honor-4 {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245, 200, 66, 0.16) 0%, transparent 55%),
    linear-gradient(152deg, #3f2e00 0%, #1a1200 50%, #0a0a0a 100%);
  border-color: rgba(245, 200, 66, 0.48);
}

.my-membership-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.my-membership-level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.45);
  color: #f0c14b;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.my-membership-link {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 48px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.my-membership-score {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  font-variant-numeric: tabular-nums;
}

.my-membership-path {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.my-membership-path-item {
  flex: 1;
  text-align: center;
  min-width: 0;
  position: relative;
}

.my-membership-path-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5px;
  left: calc(50% + 8px);
  width: calc(100% - 16px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.my-membership-path-item.current:not(:last-child)::after,
.my-membership-path-item.next:not(:last-child)::after {
  background: linear-gradient(90deg, rgba(240, 193, 75, 0.9), rgba(212, 175, 55, 0.12));
}

.my-membership-path-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 auto 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.my-membership-path-item.current .my-membership-path-dot {
  background: linear-gradient(180deg, #f0c14b, #c9a227);
  border-color: #f0c14b;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.2),
    0 0 10px rgba(212, 175, 55, 0.35);
}

.my-membership-path-item.next .my-membership-path-dot {
  background: rgba(212, 175, 55, 0.5);
  border-color: rgba(240, 193, 75, 0.45);
}

.my-membership-path-item span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-membership-path-item.current span {
  color: #f0c14b;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.my-membership-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.my-membership-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8941f, #f0c14b 55%, #ffe08a);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.45);
  transition: width 0.4s ease;
}

/* 资产栏 */
.my-assets-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.my-assets-card-5 {
  grid-template-columns: repeat(5, 1fr);
}

.my-assets-card-5 .my-asset-item {
  padding: 14px 2px 12px;
}

.my-assets-card-5 .my-asset-item strong {
  font-size: 15px;
}

.my-asset-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 6px 14px;
  color: #121212;
  text-decoration: none;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.my-asset-item:last-child {
  border-right: 0;
}

/* 我的页 · 旧图标样式已废弃，见文件末尾 .my-icon-box */

.my-asset-item strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-asset-balance strong {
  font-size: 14px;
}

.page-my .my-asset-item > span:not(.my-icon-box) {
  font-size: 11px;
  color: #999;
}

.page-my .my-asset-item .my-asset-sub {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-style: normal;
  color: #c45c26;
  font-weight: 600;
  line-height: 1.2;
}

/* 快捷入口 */
.my-shortcuts {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.my-shortcuts::-webkit-scrollbar {
  display: none;
}

.my-shortcut-item {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
  text-decoration: none;
  color: #121212;
  position: relative;
}

.my-shortcut-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.my-shortcut-icon .iconfont {
  font-size: 24px;
  color: #fff;
}

.my-shortcut-item em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

.my-shortcut-badge {
  position: absolute;
  top: -2px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e70012;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  font-style: normal;
}

.my-shortcut-badge.warn {
  background: #f59e0b;
  font-size: 9px;
  padding: 0 5px;
}

/* 菜单 · 左侧图标 */
.page-my .my-menu-card {
  margin-top: 0;
  border-radius: 16px;
}

.page-my .my-menu-list {
  padding: 4px 16px;
}

.page-my .my-menu-list .my-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-my .my-menu-list .my-menu-item:last-child {
  border-bottom: 0;
}

.my-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1a1a1a, #333);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.my-menu-icon .iconfont {
  font-size: 18px;
  color: #fff;
}

.my-menu-label {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: #121212;
}

.page-my .my-menu-list .my-menu-item .arrow {
  font-size: 13px;
  color: #ccc;
  flex-shrink: 0;
}

/* ========== 会员中心 v2 ========== */
.page-member-v2 {
  background: #ececec;
}

.member-v2-body {
  padding: 0 12px 24px;
}

.member-v2-hero {
  margin: 0 -12px 14px;
  padding: 24px 20px 20px;
  color: #fff;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
}

.member-v2-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.member-v2-hero.honor-1 { background: linear-gradient(145deg, #2a2a2a, #0a0a0a 70%); }
.member-v2-hero.honor-2 { background: linear-gradient(145deg, #1e3a8a, #0f172a); }
.member-v2-hero.honor-3 { background: linear-gradient(145deg, #5b21b6, #1e1b4b); }
.member-v2-hero.honor-4 { background: linear-gradient(145deg, #92400e, #451a03); }

.member-v2-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.member-v2-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 193, 75, 0.2);
  color: #f0c14b;
  border: 1px solid rgba(240, 193, 75, 0.4);
}

.member-v2-rank {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.member-v2-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.member-v2-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  position: relative;
  z-index: 1;
}

.member-v2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.member-v2-stats div {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.member-v2-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.member-v2-stats span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.member-v2-upgrade,
.member-v2-rules {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.member-v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.member-v2-section-head strong {
  font-size: 15px;
  color: #121212;
}

.member-v2-section-head span {
  font-size: 11px;
  color: #999;
}

.member-v2-tip {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #92400e;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid rgba(245, 200, 66, 0.25);
}

.member-v2-path {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.member-v2-path-item {
  flex: 1;
  min-width: 68px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}

.member-v2-path-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #e5e5e5;
  border: 2px solid #ddd;
}

.member-v2-path-item.current .member-v2-path-dot {
  width: 12px;
  height: 12px;
  background: #f0c14b;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(240, 193, 75, 0.2);
}

.member-v2-path-item.next .member-v2-path-dot {
  background: #fff;
  border-color: #f0c14b;
}

.member-v2-path-item strong {
  display: block;
  font-size: 11px;
  color: #333;
}

.member-v2-path-item em {
  display: block;
  font-size: 10px;
  color: #f0c14b;
  font-style: normal;
  margin-top: 2px;
}

.member-v2-path-line {
  position: absolute;
  top: 5px;
  left: calc(50% + 8px);
  width: calc(100% - 16px);
  height: 2px;
  background: #eee;
}

.member-v2-path-item.current .member-v2-path-line {
  background: linear-gradient(90deg, #f0c14b, #eee);
}

.member-v2-meter {
  margin-bottom: 12px;
}

.member-v2-meter:last-child {
  margin-bottom: 0;
}

.member-v2-meter-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
}

.member-v2-meter-head span {
  color: #666;
}

.member-v2-meter-head strong {
  color: #121212;
  font-weight: 700;
}

.member-v2-meter.is-focus .member-v2-meter-head strong {
  color: #b45309;
}

.member-v2-meter-bar {
  height: 6px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}

.member-v2-meter-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d4af37, #f0c14b);
  transition: width 0.35s ease;
}

.member-v2-meter.is-focus .member-v2-meter-bar i {
  background: linear-gradient(90deg, #e70012, #ff6b4a);
}

.member-v2-meter.is-done .member-v2-meter-bar i {
  background: #22c55e;
}

.member-v2-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.member-v2-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: #121212;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.member-v2-actions a i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #f0c14b;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.member-v2-actions a span {
  font-size: 11px;
  font-weight: 600;
}

.member-v2-rule-card p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.member-v2-rule-card p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-v2-rule-card label {
  color: #666;
  flex-shrink: 0;
}

.member-v2-rule-card span {
  color: #121212;
  text-align: right;
}

/* 购物车 */
.page-cart {
  padding-bottom: calc(88px + var(--safe-bottom));
  background: #f5f5f7;
}

.cart-clear-btn {
  border: none;
  background: none;
  color: #999;
  font-size: 13px;
  padding: 0 4px;
}

.cart-list {
  padding: 0 12px;
}

.cart-help-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 12px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #888;
  line-height: 1.55;
}

.cart-help-tip .iconfont {
  font-size: 14px;
  color: #121212;
  flex-shrink: 0;
  margin-top: 1px;
}

.cart-help-tip[hidden] {
  display: none !important;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px;
  background: #fff;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-main {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.cart-item-spec {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

.cart-serve-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cart-serve-label {
  font-size: 12px;
  color: #999;
}

.cart-serve-opts {
  display: inline-flex;
  gap: 6px;
}

.cart-serve-btn {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.cart-serve-btn.active {
  border-color: #1a1a1a;
  background: linear-gradient(145deg, #1a1a1a, #333);
  color: #f0c14b;
}

.cart-item-price {
  font-size: 13px;
  color: #666;
  flex: 1;
  min-width: 0;
}

.cart-item-price em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
  margin-left: 6px;
}

.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #121212;
}

.cart-qty-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #121212;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-qty-btn .iconfont {
  font-size: 12px;
  font-weight: 700;
}

.cart-del-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  color: #999;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-del-btn .iconfont {
  font-size: 16px;
}

.cart-extras {
  margin: 0 12px 12px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.cart-extras summary {
  padding: 12px 14px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  list-style: none;
}

.cart-extras summary::-webkit-details-marker {
  display: none;
}

.cart-extras summary::after {
  content: '›';
  float: right;
  transform: rotate(90deg);
  color: #ccc;
}

.cart-extras[open] summary::after {
  transform: rotate(-90deg);
}

.cart-extras-body {
  padding: 0 14px 14px;
  border-top: 1px solid #f0f0f0;
}

.cart-extras-row {
  padding-top: 12px;
}

.cart-extras-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #999;
}

.cart-checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.cart-empty-state {
  padding: 48px 24px;
  text-align: center;
  color: #999;
}

.cart-empty-state p {
  margin: 0 0 20px;
  font-size: 15px;
}

.cart-empty-state .btn-primary-block {
  display: inline-block;
  min-width: 160px;
}

.cart-checkout-total strong {
  font-size: 18px;
  color: var(--text);
}

.cart-checkout-label {
  margin-right: 6px;
  font-size: 13px;
  color: #888;
}

.tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tip-grid-compact {
  gap: 6px;
}

.tip-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--text);
  font-size: 13px;
}

.tip-btn-compact {
  padding: 6px 12px;
  font-size: 12px;
  border-color: #eee;
  color: #666;
}

.tip-btn.active,
.tip-btn-compact.active {
  border-color: #ccc;
  color: #333;
  background: #f5f5f5;
}

/* 商品详情 */
.goods-detail {
  background: #f5f5f7;
  min-height: calc(100vh - 56px);
}

.goods-detail-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee;
}

.goods-detail-body {
  padding: 16px;
  background: #fff;
  color: var(--text);
}

.goods-detail-body h1 {
  margin: 0 0 8px;
  font-size: 20px;
}

.goods-detail-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.goods-detail-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.goods-detail-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f5f5f7;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.goods-detail-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px;
}

.spec-group {
  margin-bottom: 14px;
}

.spec-group-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-opt {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: #fff;
  font-size: 13px;
  color: var(--text);
}

.spec-opt.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(231, 0, 18, 0.06);
}

.goods-remark {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  font-size: 14px;
  resize: none;
  margin-top: 8px;
}

.goods-detail-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.goods-detail-bar .btn-primary {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-pill);
}

/* 结账方式 */
.pay-mode-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-mode-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.pay-mode-opt.active {
  border-color: var(--accent-red);
  background: rgba(231, 0, 18, 0.04);
}

.pay-mode-opt input {
  margin-top: 4px;
}

.pay-mode-opt strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.pay-mode-opt p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.pay-coupon-picker select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #fff;
}

/* 一键呼叫服务 */
.page-service .service-body { padding: 12px 14px 28px; }
.service-table-hint {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}

.service-table-hint.premium {
  background: linear-gradient(135deg, #111, #1a1210);
  color: #fff;
  border: 1px solid rgba(212,175,55,.25);
  text-align: center;
}
.service-table-hint.premium .service-table-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.service-table-hint.premium strong {
  font-size: 28px;
  color: #f5d78e;
  letter-spacing: 2px;
}
.service-table-hint.warn.premium {
  background: #fff;
  color: #333;
  border: 1px dashed rgba(212,175,55,.45);
}
.service-table-hint.warn.premium p {
  margin: 0 0 4px;
  font-weight: 700;
  color: #b8860b;
}
.service-table-hint.warn.premium span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}
.service-scan-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #111;
  color: #f5d78e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.service-section-title { color: #666; }

.service-call-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.service-call-grid.premium .service-call-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.service-call-grid.premium .service-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1528, #0f0f14);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.service-call-grid.premium .service-call-icon i { font-size: 20px; }

.service-call-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
  min-height: 96px;
}

.service-call-btn:active {
  background: #f5f5f7;
}

.service-call-icon {
  font-size: 28px;
  line-height: 1;
}

.service-call-label {
  font-size: 14px;
  font-weight: 600;
}

.service-hotline.premium {
  border: 1px solid rgba(212,175,55,.2);
  background: linear-gradient(160deg, #0a0a0a, #1a1210);
}
.service-hotline.premium .service-hotline-phone { color: #f5d78e; }
.service-chat-btn.gold-outline {
  background: transparent !important;
  border: 1px solid rgba(212,175,55,.55) !important;
  color: #f5d78e !important;
}

/* ========== 我的页图标 · 见 css/my-page.css（白色简约） ========== */
.page-pay {
  min-height: 100vh;
  background: #f5f5f7;
  padding-bottom: calc(88px + var(--safe-bottom));
}

.pay-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pay-nav .back {
  color: #121212;
}

.pay-nav .title {
  color: #121212;
  font-weight: 700;
}

.pay-hero {
  margin: 16px 12px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pay-order-no {
  margin: 0;
  font-size: 13px;
  color: #999;
}

.pay-order-no em {
  font-style: normal;
  color: #666;
}

.pay-amount {
  display: block;
  margin-top: 10px;
  font-size: 36px;
  font-weight: 800;
  color: #121212;
  letter-spacing: 0.02em;
}

.pay-section {
  margin: 0 12px;
}

.pay-section-label {
  margin: 0 0 10px 4px;
  font-size: 13px;
  color: #888;
}

.pay-methods {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.pay-method:last-child {
  border-bottom: 0;
}

.pay-method.active {
  background: #fafafa;
}

.pay-method.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pay-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #121212;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.pay-method-main {
  flex: 1;
  min-width: 0;
}

.pay-method-main strong {
  display: block;
  font-size: 15px;
  color: #121212;
  margin-bottom: 2px;
}

.pay-method-main span {
  font-size: 12px;
  color: #999;
}

.pay-method-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  flex-shrink: 0;
}

.pay-method.active .pay-method-radio {
  border-color: #121212;
  background: #121212;
  box-shadow: inset 0 0 0 3px #fff;
}

.pay-footnote {
  margin: 14px 16px 0;
  font-size: 11px;
  color: #aaa;
  text-align: center;
  line-height: 1.5;
}

.pay-submit-btn {
  background: #121212 !important;
  border-radius: 999px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
}

.pay-submit-btn:disabled {
  opacity: 0.45;
}

.pay-waiting {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.pay-waiting.show {
  display: flex;
}

.pay-waiting-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pay-spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes pay-spin {
  to { transform: rotate(360deg); }
}

