:root {
  --primary: #ff4d00;
  --primary-dark: #e04400;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --border: #eeeeee;
  --green: #00b578;
  --blue: #1677ff;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mobile-app {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 80px;
  position: relative;
}


/* 轮播广告 */
.banner-swiper {
  margin: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.swiper-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.swiper-slide {
  min-width: 100%;
  height: 100%;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}
.swiper-slide img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.swiper-slide-content {
  position: relative;
  z-index: 1;
}
.swiper-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.swiper-subtitle { font-size: 14px; opacity: .95; margin-bottom: 14px; }
.swiper-btn {
  background: linear-gradient(180deg, #ffe14d, #ffca28);
  border: none;
  color: #8c4500;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  display: inline-block;
  text-decoration: none;
}
.swiper-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.swiper-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.swiper-dot.active { background: #fff; }

/* 金刚区 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  padding: 16px 12px;
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
}
.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}

/* 门店卡片 */
.store-card {
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid #ffddd6;
}
.store-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.store-info { flex: 1; min-width: 0; }
.store-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.store-row:last-child { margin-bottom: 0; }
.store-tag {
  background: #fff0e8;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  flex-shrink: 0;
}
.store-name { margin-left: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-distance { color: var(--text-lighter); }
.store-contact { font-weight: 600; font-size: 14px; }
.store-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid #f0f0f0;
  padding-left: 12px;
  flex-shrink: 0;
}
.store-actions a, .store-actions a:visited {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}
.store-address { color: var(--text-light); display: block; line-height: 1.4; }

/* 公告 */
.notice-bar {
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.notice-label {
  background: var(--text);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.notice-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}
.notice-text {
  color: var(--text-light);
  white-space: nowrap;
  display: inline-block;
  min-width: 100%;
  font-size: 15px;
  line-height: 24px;
}
.notice-scroll.horizontal .notice-text {
  animation: noticeScroll 10s linear infinite;
}
@keyframes noticeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.notice-scroll.vertical .notice-text {
  writing-mode: horizontal-tb;
  animation: noticeScrollUp 4s linear infinite;
  position: absolute;
  width: 100%;
}
@keyframes noticeScrollUp {
  0% { transform: translateY(100%); opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  90% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

/* 日期条 */
.date-bar {
  background: var(--primary);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
}
.date-bar strong { font-size: 16px; }
.date-btn {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* 类型 Tabs */
.type-tabs {
  display: flex;
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 4px;
  overflow-x: auto;
}
.type-tab {
  flex: 1;
  text-align: center;
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: transparent;
}
.type-tab.active {
  background: #f0f0f0;
  color: var(--text);
  font-weight: 700;
}

/* 分类区块 */
.category-sections { margin-bottom: 12px; }
.category-block {
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 16px 12px 12px;
}
.category-block.type-block {
  padding-top: 12px;
  border-radius: 0 0 var(--radius) var(--radius);
  border: 2px solid #22c55e;
  border-top: none;
}
.type-banner {
  color: #fff;
  text-align: center;
  padding: 14px;
  margin: 0 12px 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.category-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
}
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.brand-name { font-size: 12px; text-align: center; }

/* 流程 */
.flow-section {
  background: var(--card);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 16px;
}
.flow-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}
.flow-line i { color: var(--text-lighter); font-size: 10px; }

/* 服务卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 12px 12px;
}
.feature-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.feature-icon { font-size: 28px; }
.feature-item strong { font-size: 14px; color: var(--text); }
.feature-item p { color: var(--text-lighter); font-size: 12px; }

/* 欢迎区 */
.welcome-section {
  text-align: center;
  padding: 24px 12px 12px;
  color: var(--text-light);
  font-size: 14px;
}
.welcome-section p:first-child { font-size: 16px; color: var(--text); font-weight: 600; }
.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}
.welcome-actions a, .welcome-actions a:visited {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 品牌商标免责声明 */
.disclaimer {
  padding: 20px 24px 90px;
  text-align: center;
}
.disclaimer p {
  font-size: 11px;
  color: #bbb;
  line-height: 1.7;
  margin: 0;
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 10px;
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-lighter);
  font-size: 11px;
  gap: 2px;
}
.nav-item.active { color: #2563eb; }
.nav-icon { font-size: 20px; }
.nav-center { }
.nav-plus {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* tab 同款原创图标 */
.nav-icon-img {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('/images/tab-home.png');
}
#navHome .nav-icon-img { background-image: url('/images/tab-home.png'); }
#navHome.active .nav-icon-img { background-image: url('/images/tab-home-on.png'); }
#navIdent .nav-icon-img { background-image: url('/images/tab-identify-on.png'); }
#navProfile .nav-icon-img { background-image: url('/images/tab-profile.png'); }
#navProfile.active .nav-icon-img { background-image: url('/images/tab-profile-on.png'); }

/* 选中态图标改用遮罩染色，与蓝色文字统一（原 png 为橙色） */
.nav-icon-img {
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  #navHome.active .nav-icon-img,
  #navProfile.active .nav-icon-img,
  #navIdent.active .nav-icon-img {
    background-image: none;
    background-color: #2563eb;
  }
  #navHome.active .nav-icon-img {
    -webkit-mask-image: url('/images/tab-home-on.png');
    mask-image: url('/images/tab-home-on.png');
  }
  #navProfile.active .nav-icon-img {
    -webkit-mask-image: url('/images/tab-profile-on.png');
    mask-image: url('/images/tab-profile-on.png');
  }
  #navIdent.active .nav-icon-img {
    -webkit-mask-image: url('/images/tab-identify-on.png');
    mask-image: url('/images/tab-identify-on.png');
  }
}
/* 新增导航项：看看 / 联系 */
.nav-fa {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
}

/* 看看 / 联系 页面 */
.sub-page-head {
  background: #fff;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.sub-banner-area {
  padding: 16px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 96px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.sub-banner-card .sb-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: .92;
  margin-top: 6px;
}
.sub-grid-area {
  padding: 12px 16px 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.sub-grid-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 112px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.sub-grid-card .sg-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: .92;
  margin-top: 6px;
}
.sub-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 24px 0;
}

/* 广告详情弹窗 */
.subad-detail-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 82%;
  max-width: 340px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sad-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}
.sad-color {
  border-radius: 12px;
  min-height: 132px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.sad-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  text-align: center;
}
.sad-sub {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
  text-align: center;
}
.sad-color .sad-title {
  color: #fff;
  font-size: 18px;
}
.sad-color .sad-sub {
  color: rgba(255,255,255,.92);
}
.sad-btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* 品牌详情页 */
.brand-header {
  background: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.brand-header h2 { font-size: 16px; }
.brand-image-banner {
  background: #fff;
  padding: 0;
}
.brand-detail-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.brand-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}
.back-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}

/* 弹窗广告 */
.popup-ad-box {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  width: 70%;
  max-width: 260px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: 2px solid #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 鉴定查询弹窗 */
.ident-query-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px 20px;
  width: 88%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.ident-query-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ff4d00;
  color: #fff;
  border: 2px solid #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ident-query-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
}
.ident-query-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border .2s;
}
.ident-query-input:focus {
  border-color: #ff4d00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,77,0,.1);
}
.modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  width: 80%;
  max-width: 320px;
}
.modal h3 { margin-bottom: 16px; font-size: 16px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.date-modal .input { margin-top: 10px; }

/* Buttons & Inputs */
.btn {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: #f5f5f5; color: var(--text); }
.input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Toast */
.toast {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 300;
}

/* Admin */
.admin-header { background: var(--primary); color: #fff; padding: 16px; text-align: center; }
.admin-header h1 { font-size: 18px; }
.admin-login { max-width: 360px; margin: 40px auto; background: #fff; padding: 24px; border-radius: var(--radius); }
.admin-login h2 { text-align: center; margin-bottom: 20px; }
.admin-login .form-group { margin-bottom: 16px; }
.admin-login label { display: block; margin-bottom: 6px; font-size: 14px; }
.admin-tabs { display: flex; background: #fff; overflow-x: auto; border-bottom: 1px solid var(--border); }
.admin-tab { flex: 1; padding: 14px; border: none; background: transparent; font-size: 14px; white-space: nowrap; }
.admin-tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
.admin-section { display: none; padding: 12px; }
.admin-section.active { display: block; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.admin-table { width: 100%; background: #fff; border-radius: var(--radius); font-size: 13px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-table th { background: #f9f9f9; }

/* 个人中心 */
.profile-user {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 32px 18px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 1.5px solid rgba(255,255,255,.45);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.profile-login {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.profile-card {
  background: var(--card);
  margin: 12px;
  border-radius: var(--radius);
  padding: 14px;
}
.profile-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.profile-section-title {
  font-size: 15px;
  font-weight: 700;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
}
.profile-more {
  font-size: 13px;
  color: #999;
}
.profile-orders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.profile-order-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.profile-order-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.profile-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 10px;
}
.profile-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}
.profile-menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.profile-version {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 20px 0 30px;
}

/* ─── 会员体系 ─── */
.profile-userinfo { flex: 1; min-width: 0; }
.profile-user-sub { color: rgba(255,255,255,.85); font-size: 12px; margin-top: 5px; }
.profile-vip-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #7a4b00;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
}

.vip-card {
  margin: 12px;
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(135deg, #2f2f2f, #4d4d4d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.vip-card::after {
  content: '';
  position: absolute;
  right: -18px;
  top: -22px;
  width: 92px;
  height: 92px;
  background: rgba(255,215,0,.13);
  border-radius: 50%;
}
.vip-card-left { min-width: 0; }
.vip-card-title { color: #ffd54f; font-size: 16px; font-weight: 700; }
.vip-card-sub { color: rgba(255,255,255,.72); font-size: 12px; margin-top: 6px; }
.vip-card-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #5a3a00;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  position: relative;
}

.member-box {
  width: 92%;
  max-width: 420px;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  position: relative;
}
.member-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: none;
  background: transparent;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}
.member-head { text-align: center; margin-bottom: 18px; }
.member-head-title { font-size: 18px; font-weight: 700; color: #222; }
.member-head-sub { font-size: 12px; color: #999; margin-top: 6px; }

.member-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.member-plan {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px 4px 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: .18s;
}
.member-plan.on { border-color: var(--primary); background: #fff7f3; }
.member-plan-name { font-size: 13px; color: #333; font-weight: 600; }
.member-plan-price { font-size: 21px; color: var(--primary); font-weight: 700; margin: 7px 0 3px; }
.member-plan-price small { font-size: 11px; font-weight: 400; }
.member-plan-origin { font-size: 11px; color: #bbb; text-decoration: line-through; }
.member-plan-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.member-benefits-title { font-size: 13px; font-weight: 700; color: #333; margin: 20px 0 10px; }
.member-benefits { display: flex; flex-direction: column; gap: 9px; }
.member-benefit { font-size: 13px; color: #666; display: flex; align-items: center; gap: 8px; }
.member-benefit i { color: var(--primary); font-size: 12px; }

.member-pay-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  border: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a2f, #ff4d00);
  box-shadow: 0 6px 16px rgba(255,77,0,.28);
  cursor: pointer;
  font-family: inherit;
}
.member-pay-btn:disabled { opacity: .62; box-shadow: none; cursor: not-allowed; }
.member-agreement { font-size: 11px; color: #bbb; text-align: center; margin-top: 10px; line-height: 1.7; }

.login-box {
  width: 88%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 26px 20px 20px;
  position: relative;
}
.login-title { font-size: 18px; font-weight: 700; text-align: center; color: #222; }
.login-sub { font-size: 12px; color: #999; text-align: center; margin: 8px 0 18px; }
.login-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #eee;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  font-family: inherit;
}
.login-input:focus { border-color: var(--primary); background: #fff; }
.login-code-row { display: flex; gap: 8px; }
.login-code-row .login-input { flex: 1; min-width: 0; }
.login-code-btn {
  flex-shrink: 0;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  cursor: pointer;
  height: 47px;
  font-family: inherit;
}
.login-code-btn:disabled { border-color: #ddd; color: #bbb; cursor: not-allowed; }
.login-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a2f, #ff4d00);
  cursor: pointer;
  font-family: inherit;
}

.member-orders-box {
  width: 92%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  position: relative;
}
.member-orders-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.member-order-row { border: 1px solid #f2f2f2; border-radius: 10px; padding: 12px; font-size: 13px; }
.member-order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; gap: 8px; }
.member-order-name { font-weight: 600; color: #333; }
.member-order-amount { color: var(--primary); font-weight: 700; }
.member-order-meta { color: #999; font-size: 12px; line-height: 1.8; word-break: break-all; }
.member-order-status { font-size: 11px; padding: 2px 9px; border-radius: 10px; flex-shrink: 0; }

.qr-pay-box {
  width: 86%;
  max-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 20px 22px;
  position: relative;
  text-align: center;
}
.qr-amount {
  color: var(--primary);
  font-size: 30px;
  font-weight: 700;
  margin: 14px 0 12px;
}
.qr-image {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  background: #f7f7f7;
}
.qr-tip { font-size: 12px; color: #999; margin-top: 12px; }
.qr-status {
  font-size: 13px;
  color: #ff9800;
  margin-top: 10px;
  min-height: 18px;
}
.qr-status.done { color: #1aab5b; font-weight: 600; }
.qr-cancel {
  margin-top: 16px;
  width: 100%;
  padding: 11px;
  border: 1px solid #eee;
  background: #fff;
  color: #666;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.st-paid { background: #e8f8ee; color: #1aab5b; }
.st-pending { background: #fff5e6; color: #ff9800; }
.st-refunded { background: #f2f2f2; color: #999; }

/* Responsive PC */
@media (min-width: 768px) {
  body { background: #e8e8e8; }
  .mobile-app { box-shadow: 0 0 20px rgba(0,0,0,.1); }
}
