:root {
  --primary: #5c6ef2;
  --primary-soft: #8aa4f8;
  --price: #ff5a3c;
  --yellow: #ffe56a;
  --bg: #f3f5fa;
  --card: #ffffff;
  --text: #222;
  --text-sub: #9aa0b4;
  --tab-height: 54px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; border: none; outline: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom) + 12px);
  background: var(--bg);
}

.home-hero {
  position: relative;
  z-index: 1;
  padding: 12px 16px 16px;
  background: transparent;
}
.home-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(90deg, #6f84f6 0%, #9aa8f8 52%, #8f9cf5 100%);
}

.announcement {
  height: 38px;
  padding: 0 18px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(92, 110, 242, 0.08);
  color: #4a5163;
  font-size: 13px;
  font-weight: 500;
  line-height: 38px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,.25);
}
.banner-track { display: flex; transition: transform .35s ease; }
.banner-item { flex: 0 0 100%; aspect-ratio: 16 / 9; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px;
}
.banner-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); }
.banner-dot.active { width: 14px; border-radius: 99px; background: #fff; }

.category-row {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-row::-webkit-scrollbar { display: none; }
.category-item {
  flex: 0 0 64px;
  width: 64px;
  text-align: center;
  cursor: pointer;
}
.category-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 12px !important;
  overflow: hidden;
  background: rgba(255,255,255,.4);
  box-shadow: none;
  border: 0;
  flex-shrink: 0;
}
.category-item.active .category-icon {
  border: 0;
  box-shadow: none;
  background: rgba(255,255,255,.7);
}
.category-icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px !important;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  opacity: .72;
}
.category-item.active .category-icon img {
  -webkit-filter: grayscale(0) !important;
  filter: grayscale(0) !important;
  opacity: 1 !important;
}
.category-name {
  font-size: 12px;
  color: #9aa3b5;
  white-space: nowrap;
}
.category-item.active .category-name { color: #222 !important; font-weight: 600; }

.home-main { padding: 12px 12px 8px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-bottom: 10px;
  padding: 0 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 36, 48, 0.04);
}
.search-bar svg { color: #b4bacb; flex-shrink: 0; }
.search-bar input { flex: 1; font-size: 13px; color: #333; }
.search-bar input::placeholder { color: #b8beca; }

.filter-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  color: #7b8296;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31, 36, 48, 0.05);
}
.product-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eceff8;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-banner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  min-height: 28px;
  padding: 5px 8px;
  background: rgba(0,0,0,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-banner em {
  color: var(--yellow);
  font-style: normal;
}
.product-body { padding: 8px 8px 10px; }
.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  min-height: 32px;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: #a0a6b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}
.product-price {
  color: var(--price);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.4px;
}
.product-price del {
  margin-left: 4px;
  color: #c5cad6;
  font-size: 11px;
  font-weight: 400;
  text-decoration: line-through;
}
.product-badge {
  padding: 3px 6px;
  border-radius: 4px;
  background: #1d1d1d;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.empty-box, .loading-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px 16px;
  color: var(--text-sub);
  font-size: 14px;
}
.empty-box::before {
  content: "";
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto 10px;
  background: url("../../imges/null.png") center / contain no-repeat;
}
.empty-box .mdi { display: none; }
.empty-box p { margin:0 0 10px; }
.empty-box a {
  display:inline-block; height:32px; line-height:32px; padding:0 14px;
  border-radius:16px; background:#eef1ff; color:var(--primary); font-size:13px; font-weight:600;
}

.float-service {
  position: fixed;
  right: max(8px, calc(50% - 240px + 8px));
  bottom: calc(var(--tab-height) + var(--safe-bottom) + 16px);
  width: 76px;
  z-index: 90;
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(255, 122, 69, 0.24));
}
.float-service:active { transform: scale(.96); }
.float-service img { width: 100%; }

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  height: calc(var(--tab-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid #eef0f5;
  z-index: 100;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #b0b6c6;
  font-size: 11px;
}
.tab-item.active { color: var(--primary); }
.tab-item svg { width: 22px; height: 22px; }
.tab-item .mdi { font-size: 22px; line-height: 1; }

.h5-toast {
  position: fixed; left: 50%; top: 42%; z-index: 200;
  transform: translate(-50%, -50%);
  max-width: 80%; padding: 10px 16px; border-radius: 8px;
  background: rgba(20,24,38,.86); color: #fff; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.h5-toast.show { opacity: 1; }

.skill-badge {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px; margin-top: 4px;
  font-size: 11px; font-weight: 700; color: #7a4a12;
  background: linear-gradient(180deg, #ffe9b8, #f0c56a);
  border: 1px solid #e2b45c; border-radius: 4px;
}
.gender-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px; border-radius: 4px;
  background: #dbe4ff; color: #4d6ef5; font-size: 12px; vertical-align: middle;
}
.gender-ico.female { background: #ffd6e7; color: #e85a8a; }
.pw-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin-bottom: 10px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.pw-card .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #edf0ff; flex-shrink: 0; }
.pw-card .pw-main { flex: 1; min-width: 0; }
.pw-card h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; }
.pw-card .pw-intro { font-size: 12px; color: #8b93a7; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-pick {
  flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 999px;
  background: #dce6ff; color: #3d5bd6; font-size: 13px; font-weight: 600;
}
.hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin: 2px 0 4px;
}
.page-play .category-row { margin-top: 10px; }
.page-assign .home-hero::before,
.page-play .home-hero::before {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(90deg, #6f84f6 0%, #9aa8f8 52%, #c5ccfb 100%);
}
.page-assign .category-icon,
.page-assign .category-icon img,
.page-play .category-icon,
.page-play .category-icon img { border-radius: 12px; }
.page-assign .category-icon img,
.page-play .category-icon img { -webkit-filter: grayscale(1); filter: grayscale(1); opacity: .72; }
.page-assign .category-item.active .category-icon img,
.page-play .category-item.active .category-icon img { -webkit-filter: grayscale(0) !important; filter: grayscale(0) !important; opacity: 1 !important; }
.page-assign .category-name,
.page-play .category-name { color: #9aa3b5; }
.page-assign .category-item.active .category-name {
  color: #222; font-weight: 700;
  border-bottom: 2px solid #111; padding-bottom: 2px;
}
.page-play .category-item.active .category-name { color: #222; font-weight: 600; }
.assign-body, .play-body {
  position: relative; z-index: 2;
  margin-top: -10px; padding: 12px 12px 20px;
  background: var(--bg);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  min-height: 50vh;
}
.player-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 16px 28px;
}
.player-hero img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; }
.player-hero h2 { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.player-hero .skill-badge { margin-top: 0; }

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 30, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.modal-wrap { position: relative; }
.modal-panel {
  width: min(100%, 320px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.modal-panel img { width: 100%; display: block; }
.modal-mask.entry-ad { cursor: pointer; }
.modal-mask.entry-ad .modal-panel {
  width: min(100%, 340px);
  background: transparent;
}
.modal-mask.entry-ad .modal-panel img {
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
}
.modal-close {
  position: absolute;
  top: -40px; right: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #333;
  font-size: 22px;
  line-height: 32px;
  text-align: center;
}
.service-panel {
  width: min(100%, 300px);
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.service-panel img {
  width: 180px;
  margin: 0 auto 12px;
  border-radius: 12px;
}
.service-panel p { font-size: 14px; color: #666; }
.know-btn {
  margin-top: 12px;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}

.hidden { display: none !important; }

.page-catalog {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom));
  overflow: hidden;
  background: #f5f6fa;
}
.page-catalog .home-hero {
  flex-shrink: 0;
  padding: 12px 16px 22px;
}
.page-catalog .home-hero::before {
  border-radius: 0;
}
.page-catalog .category-row { margin-top: 0; }
.page-catalog .category-item.active .category-name {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.catalog-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  min-height: 0;
  margin-top: -16px;
  background: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}
.catalog-side {
  width: 86px;
  flex-shrink: 0;
  background: #f3f4f8;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.catalog-side-item {
  width: 100%;
  min-height: 46px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #333;
  line-height: 1.3;
  background: transparent;
}
.catalog-side-item.active {
  color: var(--primary);
  font-weight: 700;
  background: #fff;
}
.catalog-main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 10px 20px;
  background: #fff;
}
.catalog-notice {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid #8ec8ff;
}
.catalog-list { display: flex; flex-direction: column; }
.catalog-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f3f7;
  cursor: pointer;
}
.catalog-item:last-child { border-bottom: none; }
.catalog-item-cover {
  position: relative;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eceff8;
}
.catalog-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-item-cover .product-banner {
  min-height: 22px;
  padding: 3px 6px;
  font-size: 10px;
}
.catalog-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.catalog-item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.catalog-item-desc {
  flex: 1;
  font-size: 12px;
  line-height: 1.45;
  color: #8b93a7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-item-price {
  margin-top: 6px;
  color: var(--price);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.catalog-item-price del {
  margin-left: 6px;
  color: #c5cad6;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}
.page-catalog .empty-box,
.page-catalog .loading-box {
  padding: 36px 10px;
}

.h5-hero {
  position: relative;
  z-index: 1;
  padding: 14px 16px 26px;
  color: #fff;
}
.h5-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #6f84f6 0%, #9aa8f8 52%, #c5ccfb 100%);
  pointer-events: none;
}
.h5-nav {
  display: flex; align-items: center; gap: 10px;
  height: 36px; margin-bottom: 8px;
}
.h5-nav .back { font-size: 22px; color: #fff; }
.h5-nav h1 { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.h5-nav .right { width: 22px; }
.h5-sheet {
  position: relative; z-index: 2;
  margin: -16px 0 0;
  padding: 12px 12px 20px;
  min-height: 60vh;
  background: var(--bg);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.h5-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.menu-card { padding: 0; overflow: hidden; }
.menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f2f3f7;
  font-size: 15px; color: #222;
}
.menu-item:last-child { border-bottom: none; }
.menu-item .mdi { font-size: 20px; color: var(--primary); }
.menu-item .menu-ico {
  width: 28px; height: 28px; flex: 0 0 28px;
  object-fit: contain; display: block;
}
.menu-item .txt { flex: 1; }
.menu-item .mdi-chevron-right { color: #c5cad6; margin-left: auto; }
.h5-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 46px;
  border-radius: 10px; background: var(--primary); color: #fff;
  font-size: 16px; font-weight: 700;
}
.h5-btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.h5-btn.danger { background: #ff5a3c; }
.h5-input, .h5-textarea {
  width: 100%; height: 42px; padding: 0 12px;
  border-radius: 10px; background: #f4f6fb; font-size: 14px;
}
.h5-textarea { height: 88px; padding: 10px 12px; resize: none; }
.h5-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.h5-tabs::-webkit-scrollbar { display: none; }
.h5-tab {
  flex: 0 0 auto; height: 32px; padding: 0 12px; border-radius: 8px;
  background: #fff; color: #7b8296; font-size: 13px;
}
.h5-tab.active { background: var(--primary); color: #fff; font-weight: 600; }
.tag-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; background: #eef1ff; color: var(--primary);
}
.tag-pill.gray { background: #eef0f4; color: #8b93a7; }
.tag-pill.orange { background: #fff1e8; color: #ff7a3c; }
.tag-pill.green { background: #e8f8ef; color: #1aa35a; }
.player-row, .order-row {
  display: flex; gap: 10px; padding: 12px; background: #fff;
  border-radius: 12px; margin-bottom: 10px;
}
.player-row img, .order-row img {
  width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #edf0ff;
}
.player-row h3, .order-row h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.player-row p, .order-row p { font-size: 12px; color: #8b93a7; line-height: 1.4; }
.fix-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-width: 480px; margin: 0 auto;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: #fff; border-top: 1px solid #eef0f5; z-index: 80;
}
.wallet-num { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.wallet-mini {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wallet-mini.three { grid-template-columns: 1fr 1fr 1fr; }
.wallet-mini a { color: inherit; text-decoration: none; }
.wallet-cards { display: grid; gap: 10px; margin-bottom: 12px; }
.wallet-card {
  display: block; background: #fff; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(31,36,48,.05); color: inherit; text-decoration: none;
}
.wallet-card .name { font-size: 13px; color: #8b93a7; }
.wallet-card .num { font-size: 26px; font-weight: 800; margin: 4px 0; }
.wallet-card .tip { font-size: 12px; color: #5c6ef2; }

.page-wallet {
  position: relative;
  overflow: visible;
}
.page-wallet .h5-hero { overflow: visible; }
.page-wallet .wallet-deco {
  position: absolute;
  right: 4px;
  top: 18px;
  width: 118px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  object-fit: contain;
}
.page-wallet .wallet-main { position: relative; z-index: 1; }
.ticket-bal {
  display: flex; align-items: baseline; gap: 10px;
  padding: 4px 108px 14px 2px;
}
.ticket-bal span { font-size: 14px; color: #3c4660; font-weight: 600; }
.ticket-bal b { font-size: 34px; font-weight: 800; color: #111; letter-spacing: -1px; line-height: 1; }
.ticket-bal em { font-style: normal; font-size: 14px; color: #3c4660; }
.ticket-acts { display: flex; gap: 10px; margin-bottom: 12px; }
.ticket-acts a {
  flex: 1; height: 36px; line-height: 36px; text-align: center;
  border-radius: 18px; background: #eef1ff; color: #5c6ef2;
  font-size: 13px; font-weight: 700;
}
.ticket-acts a:last-child { background: #5c6ef2; color: #fff; }
.ticket-tabs {
  display: flex; gap: 8px; overflow-x: auto; margin-bottom: 8px;
  scrollbar-width: none;
}
.ticket-tabs::-webkit-scrollbar { display: none; }
.ticket-tabs button {
  flex: 0 0 auto; height: 28px; padding: 0 12px; border-radius: 14px;
  background: #f4f6fb; color: #7b8296; font-size: 12px;
}
.ticket-tabs button.on { background: #5c6ef2; color: #fff; font-weight: 600; }
.ticket-logs { padding-bottom: 8px; }
.ticket-log {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid #f2f4f8;
}
.ticket-log .t { font-size: 14px; color: #222; }
.ticket-log .s { font-size: 12px; color: #8b93a7; margin-top: 3px; }
.ticket-log b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.page-wallet .empty-box, .page-wallet .loading-box { background: transparent; box-shadow: none; }

.recommend-row { margin: 4px 0 14px; }
.recommend-head { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.recommend-scroller {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.recommend-scroller::-webkit-scrollbar { display: none; }
.recommend-item {
  flex: 0 0 72px; text-align: center; color: #222; text-decoration: none;
}
.recommend-item img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #edf0ff;
}
.recommend-item span {
  display: block; margin-top: 6px; font-size: 12px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recommend-item em {
  display: block; font-style: normal; font-size: 10px; color: #8b93a7;
}

.page-lottery { padding-bottom: calc(18px + var(--safe-bottom)) !important; }
.page-lottery .h5-hero { padding-bottom: 32px; }
.lot-stage { margin-top: -8px; padding: 0 0 8px; }
.lot-board {
  position: relative;
  padding: 16px 12px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #6f84f6 0%, #5c6ef2 58%, #4e63ee 100%);
  box-shadow: 0 12px 28px rgba(92,110,242,.24);
}
.lot-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding: 0 4px;
  color: rgba(255,255,255,.92); font-size: 13px;
}
.lot-meta b {
  min-width: 28px; height: 24px; padding: 0 8px; border-radius: 12px;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 15px; line-height: 24px; text-align: center;
}
.lottery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: rgba(18,24,70,.16); border-radius: 16px; padding: 8px;
}
.lottery-cell {
  min-height: 96px; border-radius: 14px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; font-size: 12px; color: #4b5568; font-weight: 600;
  border: 2px solid transparent; padding: 8px 4px; text-align: center;
  transition: transform .12s, box-shadow .12s, border-color .12s, background .12s;
}
.lottery-cell span {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lottery-cell img { width: 36px; height: 36px; object-fit: contain; }
.lottery-cell .mdi { font-size: 24px; color: #5c6ef2; }
.lottery-cell.is-miss { background: #f7f8fc; color: #9aa0b4; }
.lottery-cell.is-miss .mdi { color: #9aa0b4; }
.lottery-cell.active {
  border-color: #fff; background: #fff7e8; color: #d97706;
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 8px 16px rgba(31,36,48,.12);
}
.lot-draw {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 46px; margin-top: 12px;
  border-radius: 12px; background: #fff; color: #5c6ef2;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 8px 16px rgba(31,36,48,.08);
}
.lot-draw:disabled { opacity: .7; }
.lot-rule {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 14px; font-size: 12px; color: #8b93a7; line-height: 1.6;
}
.lot-rule .mdi { color: #5c6ef2; font-size: 16px; margin-top: 1px; }
.lot-rule b { color: #5c6ef2; }
.lot-log { padding: 14px 16px; }
.lot-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f2f4f8;
}
.lot-item:last-child { border-bottom: none; }
.lot-item img, .lot-item .mdi {
  width: 36px; height: 36px; flex: 0 0 36px;
  object-fit: contain;
}
.lot-item .mdi {
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #eef1ff; color: #5c6ef2; font-size: 18px;
}
.lot-item-main { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lot-item b { font-size: 14px; }
.lot-item span { font-size: 12px; color: #8b93a7; white-space: nowrap; }
.lot-item a { color: #5c6ef2; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lot-mask {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(15,18,30,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lot-pop {
  width: min(100%, 300px); background: #fff; border-radius: 18px;
  padding: 22px 18px 18px; text-align: center;
  box-shadow: 0 18px 40px rgba(20,24,50,.22);
}
.lot-pop-tag {
  display: inline-block; height: 22px; padding: 0 10px; margin-bottom: 10px;
  border-radius: 11px; background: #eef1ff; color: #5c6ef2;
  font-size: 11px; font-weight: 700; line-height: 22px;
}
.lot-pop.is-miss .lot-pop-tag { background: #f3f4f6; color: #8b93a7; }
.lot-pop img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 10px; }
.lot-pop .mdi { font-size: 48px; color: #5c6ef2; }
.lot-pop.is-miss .mdi { color: #9aa0b4; }
.lot-pop h3 { font-size: 18px; margin-bottom: 6px; }
.lot-pop p { font-size: 13px; color: #8b93a7; margin-bottom: 16px; }
.lot-pop .h5-btn { height: 42px; }

.star-row { font-size: 26px; color: #d1d5db; }
.star-row .mdi-star { color: #ffb020; }
.star-row .pick { cursor: pointer; }

.voice-btn {
  margin-top: 8px; height: 28px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff; font-size: 12px;
  display: inline-flex; align-items: center; gap: 4px;
}
.player-intro { font-size: 13px; color: #4b5568; line-height: 1.6; margin-top: 8px; }
.album-row {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.album-row::-webkit-scrollbar { display: none; }
.album-row img {
  flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: #edf0ff;
}

.poster-wrap { margin-top: 14px; text-align: center; }
.poster-wrap canvas { display: none; }
.poster-wrap img { width: 100%; border-radius: 12px; background: #edf0ff; }
.poster-wrap p { font-size: 12px; color: #8b93a7; margin-top: 8px; }

.page-dist .money-hero { position: relative; padding-bottom: 18px; }
.page-dist .dist-wd {
  position: absolute; right: 16px; top: 18px;
  height: 30px; line-height: 30px; padding: 0 12px;
  border-radius: 15px; background: #fff; color: #5c6ef2;
  font-size: 12px; font-weight: 700;
}
.dist-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin-bottom: 10px;
}
.dist-stats div {
  background: #fff; border-radius: 12px; padding: 12px 8px;
  text-align: center; box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.dist-stats b { display: block; font-size: 18px; font-weight: 800; color: #222; }
.dist-stats span { display: block; margin-top: 4px; font-size: 11px; color: #8b93a7; }
.dist-code {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 12px; margin-bottom: 10px;
  border-radius: 12px; background: #f4f6fb;
}
.dist-code span { font-size: 13px; color: #8b93a7; }
.dist-code b { flex: 1; font-size: 18px; letter-spacing: 1px; }
.dist-code button { color: #5c6ef2; font-size: 13px; font-weight: 700; }
.dist-link {
  word-break: break-all; font-size: 12px; color: #8b93a7;
  line-height: 1.5; padding: 0 2px 12px;
}
.dist-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dist-acts .h5-btn { height: 42px; font-size: 14px; }
.dist-panel { padding-top: 12px; }
.dist-tabs {
  display: flex; padding: 4px; margin-bottom: 8px;
  border-radius: 12px; background: #f4f6fb;
}
.dist-tabs button {
  flex: 1; height: 34px; border-radius: 10px;
  color: #8b93a7; font-size: 13px; font-weight: 600;
}
.dist-tabs button.on { background: #fff; color: #5c6ef2; box-shadow: 0 2px 8px rgba(31,36,48,.06); }
.dist-user, .dist-log {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f2f4f8;
}
.dist-user:last-child, .dist-log:last-child { border-bottom: none; }
.dist-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #edf0ff; }
.dist-user b, .dist-log b { display: block; font-size: 14px; }
.dist-user p, .dist-log p { margin-top: 3px; font-size: 12px; color: #8b93a7; }
.dist-user > div, .dist-log > div:first-child { flex: 1; min-width: 0; }
.dist-log-r { text-align: right; }
.dist-log-r em { display: block; font-style: normal; font-size: 15px; font-weight: 800; color: #1aa35a; }
.dist-log-r .st { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; }
.dist-log-r .st.s0 { color: #ff7a3c; }
.dist-log-r .st.s1 { color: #5c6ef2; }
.dist-log-r .st.s2 { color: #8b93a7; }
.page-dist .empty-box, .page-dist .loading-box { padding: 28px 10px; }

.h5-switch {
  position: relative; width: 44px; height: 24px; border-radius: 999px;
  background: #d5d9e3; flex: 0 0 44px;
}
.h5-switch::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .2s;
}
.h5-switch.on { background: var(--primary); }
.h5-switch.on::after { transform: translateX(20px); }

.page-mine { background: linear-gradient(180deg, #d9e0fb 0%, #f3f5fa 220px); }
.page-mine .mine-top { padding: 18px 16px 0; }
.mine-user {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 2px 16px;
}
.mine-avatar {
  position: relative;
  width: 68px; height: 68px; flex: 0 0 68px;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(92,110,242,.35));
  animation: mine-glow 2.8s ease-in-out infinite;
}
.mine-avatar::before {
  content: "";
  position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, #5c6ef2, #8aa4f8 28%, #ff9ab5 52%, #ffe56a 72%, #5c6ef2);
  animation: mine-ring 4s linear infinite;
}
.mine-avatar::after {
  content: "";
  position: absolute; inset: 2px; border-radius: 50%;
  background: #e8ecfb;
  z-index: 1;
}
.mine-avatar img {
  position: relative; z-index: 2;
  width: 62px; height: 62px; margin: 3px;
  border-radius: 50%; object-fit: cover; background: #fff;
}
@keyframes mine-ring {
  to { transform: rotate(360deg); }
}
@keyframes mine-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(92,110,242,.28)); }
  50% { filter: drop-shadow(0 0 12px rgba(138,164,248,.55)); }
}
@media (prefers-reduced-motion: reduce) {
  .mine-avatar, .mine-avatar::before { animation: none; }
}
.mine-user-info { flex: 1; min-width: 0; }
.mine-user-info h2 {
  font-size: 20px; font-weight: 800; color: #1f2540;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mine-user-info p { margin-top: 4px; font-size: 12px; color: #7b8296; }
.mine-user-go { font-size: 22px; color: #b8bfd0; }
.mine-vip {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 18px rgba(255,90,60,.18);
}
.mine-vip img { width: 100%; height: auto; display: block; }
.mine-body { padding: 12px 12px 8px; }
.mine-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mine-qcard {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 12px; background: #fff; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.mine-qcard img { width: 32px; height: 32px; }
.mine-qcard > div { flex: 1; min-width: 0; }
.mine-qcard .q-num { font-size: 18px; font-weight: 800; color: #222; line-height: 1.2; }
.mine-qcard .q-name { font-size: 12px; color: #8b93a7; margin-top: 2px; }
.mine-qcard .mdi { color: #c5cad6; font-size: 18px; }
.mine-income {
  margin-bottom: 10px; background: #fff; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.mine-income a {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px;
}
.mine-income span { color: #8b93a7; font-size: 13px; }
.mine-income b { flex: 1; font-size: 20px; font-weight: 800; }
.mine-income em { font-style: normal; font-size: 12px; color: #5c6ef2; }
.mine-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 14px; padding: 16px 8px 8px;
  margin-bottom: 10px; box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.mine-grid a {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 8px 4px 12px;
  font-size: 12px; color: #4b5568;
}
.mine-grid .g-ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: #eef1ff;
  display: flex; align-items: center; justify-content: center;
}
.mine-grid .g-ico img { width: 28px; height: 28px; }
.mine-grid a { position: relative; }
.mine-grid .g-dot {
  position: absolute; top: 8px; right: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4f; font-style: normal;
}
.mine-list { margin-bottom: 8px; }

.mine-mp {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(90deg, #07c160 0%, #2ad17a 100%);
  color: #fff; box-shadow: 0 8px 18px rgba(7,193,96,.22);
}
.mine-mp .mp-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.mine-mp > div { flex: 1; min-width: 0; }
.mine-mp .mp-title { font-size: 14px; font-weight: 700; }
.mine-mp .mp-sub { font-size: 12px; opacity: .92; margin-top: 2px; }
.mine-mp .mp-go {
  flex: 0 0 auto; height: 26px; line-height: 26px; padding: 0 10px;
  border-radius: 13px; background: #fff; color: #07c160; font-size: 12px; font-weight: 700;
}

.mp-panel { width: min(100%, 320px); }
.mp-panel-title { font-size: 17px; font-weight: 700; color: #222; display:flex; align-items:center; justify-content:center; gap:6px; }
.mp-panel-title .mdi { color:#07c160; font-size:22px; }
.mp-panel-name { margin: 8px 0 12px; font-size: 13px; color:#6b7280; }
.mp-panel img { width: 188px; height: 188px; object-fit: contain; background:#f7f8fa; }
.mp-steps { text-align:left; margin: 4px 8px 12px; padding-left: 22px; color:#4b5568; font-size:13px; line-height:1.8; }
.mp-panel .h5-btn { margin-top: 4px; height: 42px; font-size: 15px; }
.mp-panel .know-btn { width:100%; background:#f4f6fb; color:#6b7280; }

.mp-card { background:#fff; border-radius:14px; padding:0; margin-bottom:10px; overflow:hidden; box-shadow:0 4px 14px rgba(31,36,48,.05); }
.mp-card-inner { display:flex; align-items:center; gap:10px; padding:14px; }
.mp-card-inner .mp-ico {
  width:40px; height:40px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:22px;
}
.mp-card-inner div { flex:1; min-width:0; }
.mp-card-inner strong { display:block; font-size:14px; }
.mp-card-inner p { margin-top:3px; font-size:12px; color:#8b93a7; line-height:1.4; }
.mp-card-inner .mp-go {
  flex:0 0 auto; height:28px; line-height:28px; padding:0 12px; border-radius:14px;
  background:#07c160; color:#fff; font-size:12px; font-weight:700;
}
.mp-card-inner.ok .mp-ico { background:#e8f8ef; color:#1aa35a; }
.mp-card-inner.wait .mp-ico { background:#fff6e8; color:#f59e0b; }
.mp-card-inner.warn .mp-ico { background:#eef1ff; color:#5c6ef2; }
.notify-row small { display:block; color:#8b93a7; font-size:12px; font-weight:400; margin-top:2px; }
.set-tip { font-size:12px; color:#8b93a7; line-height:1.6; padding:4px 6px 16px; }

.page-profile { padding-bottom: calc(72px + var(--safe-bottom)) !important; }
.page-profile .h5-hero { padding-bottom: 32px; }
.page-profile .h5-sheet { padding-bottom: 8px; }
.pf-card { padding: 4px 16px 8px; }
.pf-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0 6px;
}
.pf-hd b { flex: 1; font-size: 15px; }
.pf-hd span { font-size: 12px; color: #8b93a7; }
.pf-hd a { font-size: 13px; color: #5c6ef2; font-weight: 700; }
.pf-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 0;
  border-bottom: 1px solid #f2f4f8;
}
.pf-card .pf-row:last-child,
.pf-card .pf-block:last-child { border-bottom: none; }
.pf-row > em {
  width: 72px; flex-shrink: 0; font-style: normal;
  font-size: 14px; color: #222;
}
.pf-row input {
  flex: 1; min-width: 0; height: 36px;
  text-align: right; font-size: 14px; color: #222; background: transparent;
}
.pf-row input::placeholder { color: #c5cad6; }
.pf-row > b { flex: 1; text-align: right; font-size: 14px; font-weight: 600; color: #222; }
.pf-row .mdi-chevron-right { color: #c5cad6; font-size: 20px; }
.pf-opts { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; flex: 1; }
.pf-opts .opt-btn { height: 28px; padding: 0 12px; font-size: 12px; }
.pf-avatar-row { cursor: pointer; }
.pf-ava { position: relative; width: 48px; height: 48px; margin-left: auto; }
.pf-ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #edf0ff; }
.pf-ava .cam {
  position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%;
  background: #5c6ef2; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 11px; border: 2px solid #fff;
}
.pf-online { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 6px 0 12px; }
.pf-online button {
  height: 44px; border-radius: 12px; background: #f4f6fb; color: #4b5568;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pf-online button i {
  width: 8px; height: 8px; border-radius: 50%; background: #c5cad6;
}
.pf-online button[data-s="1"] i { background: #22c55e; }
.pf-online button[data-s="2"] i { background: #ff7a3c; }
.pf-online button[data-s="0"] i { background: #9aa0b4; }
.pf-online button.on { background: #eef1ff; color: #5c6ef2; box-shadow: inset 0 0 0 1.5px #5c6ef2; }
.pf-online button.on.busy { background: #fff4ee; color: #ff7a3c; box-shadow: inset 0 0 0 1.5px #ff7a3c; }
.pf-online button.on.off { background: #f3f4f6; color: #6b7280; box-shadow: inset 0 0 0 1.5px #c5cad6; }
.pf-cover {
  position: relative; height: 128px; margin: 8px 0 4px;
  border-radius: 12px; background: #f4f6fb; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #8b93a7; font-size: 13px;
}
.pf-cover span { display: flex; align-items: center; gap: 6px; }
.pf-cover .mdi { font-size: 20px; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-cover em {
  position: absolute; right: 10px; bottom: 10px;
  height: 24px; padding: 0 8px; border-radius: 12px;
  background: rgba(15,18,30,.55); color: #fff;
  font-size: 11px; font-style: normal; line-height: 24px;
}
.pf-block { padding: 10px 0 12px; border-bottom: 1px solid #f2f4f8; }
.pf-block > em {
  display: block; font-style: normal; font-size: 14px; color: #222; margin-bottom: 8px;
}
.pf-block > em small { margin-left: 6px; font-size: 12px; color: #8b93a7; font-weight: 400; }
.pf-block textarea {
  width: 100%; min-height: 88px; padding: 10px 12px;
  border-radius: 10px; background: #f4f6fb; font-size: 14px; line-height: 1.5; resize: none;
}
.pf-muted { flex: 1; text-align: right; font-size: 13px; color: #8b93a7; }
.pf-mini {
  height: 28px; padding: 0 10px; border-radius: 8px;
  background: #f4f6fb; color: #4b5568; font-size: 12px; font-weight: 700;
}
.pf-mini.on { background: #eef1ff; color: #5c6ef2; }
.pf-album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-album .item, .pf-album .add {
  position: relative; padding-top: 100%; border-radius: 10px; overflow: hidden; background: #f4f6fb;
}
.pf-album .item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-album .del {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(15,18,30,.55); color: #fff; font-size: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.pf-album .add { border: 1px dashed #c5cad6; color: #9aa0b4; background: #fff; }
.pf-album .add i { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 22px; }
.pf-copy {
  height: 24px; padding: 0 8px; border-radius: 8px;
  background: #eef1ff; color: #5c6ef2; font-size: 12px; font-weight: 700;
}
.pf-wx.ok { color: #1aa35a; }
.pf-empty { font-size: 12px; color: #8b93a7; }
.pf-warn {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 14px; background: #fff7e8; color: #b45309; font-size: 13px; line-height: 1.5;
}
.pf-warn .mdi { font-size: 18px; margin-top: 1px; }
.pf-out {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 46px; margin: 2px 0 8px;
  border-radius: 12px; background: #fff; color: #ff5a3c;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.pf-foot {
  position: fixed; left: 50%; transform: translateX(-50%);
  width: min(100%, 480px); bottom: 0; z-index: 20;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(243,245,250,0), #f3f5fa 28%);
}
.menu-item .menu-val { color:#8b93a7; font-size:13px; max-width:52%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.form-kv { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid #f4f5f8; font-size:14px; }
.form-kv:last-child { border-bottom:none; padding-bottom:0; }
.form-kv span { color:#8b93a7; }
.form-kv b { font-weight:600; color:#222; text-align:right; }

.buy-goods {
  display:flex; gap:10px; align-items:flex-start;
  background:#fff; border-radius:12px; padding:12px; margin-bottom:10px;
  box-shadow:0 4px 14px rgba(31,36,48,.05);
}
.buy-goods img { width:64px; height:64px; border-radius:10px; object-fit:cover; background:#edf0ff; flex-shrink:0; }
.buy-goods-main { flex:1; min-width:0; }
.buy-goods-main h3 { font-size:15px; font-weight:700; line-height:1.35; }
.buy-goods-main p { margin-top:6px; font-size:12px; color:#8b93a7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.buy-goods-price { color:#ff5a3c; font-weight:800; font-size:16px; white-space:nowrap; }
.buy-goods-price .mdi-currency-cny,
.buy-pay-price .mdi-currency-cny,
.detail-price .mdi-currency-cny,
.detail-origin .mdi-currency-cny {
  font-size: .78em; margin-right: 1px; vertical-align: 1px;
}
.detail-price { color:#ff5a3c; font-size:26px; font-weight:800; display:flex; align-items:baseline; gap:8px; }
.detail-origin { color:#9aa0b4; font-size:14px; font-weight:500; }

.page-product {
  padding-bottom: calc(64px + var(--safe-bottom)) !important;
  background: #f3f5fa;
}
.pd-gallery { position: relative; background: #111; }
.pd-slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pd-slides::-webkit-scrollbar { display: none; }
.pd-slides img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; scroll-snap-align: start; background: #edf0ff;
}
.pd-back {
  position: absolute; left: 12px; top: calc(10px + env(safe-area-inset-top, 0px));
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(15,18,30,.42); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; z-index: 2;
}
.pd-count {
  position: absolute; right: 12px; bottom: 28px;
  height: 22px; padding: 0 8px; border-radius: 11px;
  background: rgba(15,18,30,.45); color: #fff;
  font-size: 11px; line-height: 22px; z-index: 2;
}
.pd-card {
  position: relative; z-index: 3;
  margin: -18px 12px 10px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(31,36,48,.08);
}
.pd-flash {
  position: relative; height: 96px; overflow: hidden;
  color: #fff;
}
.pd-flash-bg {
  position: absolute; left: 0; top: 0;
  width: 100%; height: auto;
  pointer-events: none;
}
.pd-flash-num {
  position: relative; z-index: 1;
  padding: 18px 16px 0;
}
.pd-flash-num .detail-price { color: #fff; font-size: 32px; letter-spacing: -1px; }
.pd-flash-num .mdi-currency-cny { color: #fff; }
.pd-flash-num .detail-origin,
.pd-flash-num .detail-origin .mdi-currency-cny { color: rgba(255,255,255,.78); }
.pd-body { padding: 14px 16px 16px; }
.pd-title { font-size: 17px; font-weight: 800; line-height: 1.45; margin-bottom: 8px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pd-tags em {
  font-style: normal; height: 22px; padding: 0 8px; border-radius: 4px;
  background: #fff1f0; color: #ff5a3c; font-size: 11px; font-weight: 700; line-height: 22px;
}
.pd-tags em:nth-child(2) { background: #eef1ff; color: #5c6ef2; }
.pd-tags em:nth-child(3) { background: #e8f8ef; color: #1aa35a; }
.pd-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 10px 6px; border-radius: 10px; background: #f6f7fb;
}
.pd-specs div { text-align: center; min-width: 0; }
.pd-specs b {
  display: block; font-size: 13px; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-specs span { display: block; margin-top: 4px; font-size: 11px; color: #8b93a7; }
.pd-detail { margin: 0 12px 12px; }
.pd-detail-txt { font-size: 14px; line-height: 1.75; color: #4b5568; }
.pd-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  width: min(100%, 480px); bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px calc(8px + var(--safe-bottom));
  background: #fff; box-shadow: 0 -4px 16px rgba(31,36,48,.06);
}
.pd-bar-ico {
  width: 48px; flex: 0 0 48px; color: #4b5568;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px;
}
.pd-bar-ico .mdi { font-size: 22px; }
.pd-bar-ico.on, .pd-bar-ico.on .mdi { color: #ff5a3c; }
.pd-bar-buy {
  flex: 1; height: 44px; border-radius: 22px;
  background: linear-gradient(90deg, #ff7a3c, #ff5a3c);
  color: #fff; font-size: 16px; font-weight: 800;
}
.buy-form { padding:4px 14px 8px; }
.buy-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #f4f5f8; }
.buy-row:last-child { border-bottom:none; }
.buy-label { width:64px; flex-shrink:0; font-size:14px; color:#222; }
.buy-label em { color:#ff5a3c; font-style:normal; margin-left:2px; }
.buy-opts { display:flex; flex-wrap:wrap; gap:8px; flex:1; }
.opt-btn {
  height:32px; padding:0 14px; border-radius:8px; background:#f4f6fb; color:#4b5568; font-size:13px;
}
.opt-btn.on { background:#5c6ef2; color:#fff; }
.buy-input { flex:1; height:36px; padding:0 10px; border-radius:8px; background:#f4f6fb; font-size:14px; }
.buy-switch { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #f4f5f8; }
.buy-hint { font-size:12px; color:#8b93a7; margin-top:4px; line-height:1.4; max-width:240px; }
.stepper { display:flex; align-items:center; gap:10px; margin-left:auto; }
.stepper button { width:28px; height:28px; border-radius:8px; background:#f4f6fb; font-size:18px; color:#4b5568; }
.stepper b { min-width:18px; text-align:center; }
.buy-pay { display:flex; align-items:center; gap:12px; }
.buy-pay-price { flex:1; font-size:22px; font-weight:800; color:#ff5a3c; }
.buy-pay .h5-btn { width:148px; flex:0 0 148px; }

.sheet-mask {
  position:fixed; inset:0; background:rgba(15,18,30,.45);
  z-index:220; display:flex; align-items:flex-end; justify-content:center;
}
.sheet-panel {
  width:min(100%,480px); background:#fff; border-radius:16px 16px 0 0;
  max-height:86vh; display:flex; flex-direction:column;
}
.sheet-hd { display:flex; align-items:center; padding:16px 16px 10px; }
.sheet-hd b { flex:1; font-size:16px; }
.sheet-hd .mdi { font-size:22px; color:#9aa0b4; }
.sheet-bd { padding:8px 16px 12px; overflow:auto; flex:1; }
.sheet-ft { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px 16px calc(12px + var(--safe-bottom)); }
.sheet-ft .h5-btn { height:44px; }
.card-pick {
  display:flex; align-items:flex-start; gap:10px; padding:12px 0;
  border-bottom:1px solid #f4f5f8;
}
.card-pick.on b { color:#5c6ef2; }
.card-pick input { margin-top:4px; }
.card-pick p { font-size:12px; color:#8b93a7; margin-top:4px; }
.buy-line {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 0; border-bottom:1px solid #f4f5f8; font-size:14px;
}
.buy-line .card-in { flex:1; text-align:right; color:#222; }
.buy-line .card-in::placeholder { color:#c5cad6; }
.card-sec { padding:14px 0 4px; font-size:13px; color:#8b93a7; }
.card-sec em { font-style:normal; }
.h5-field { display:block; margin-bottom:12px; }
.h5-field:last-child { margin-bottom:0; }
.h5-field > span { display:block; font-size:13px; color:#8b93a7; margin-bottom:6px; }
.menu-item small { display:block; color:#8b93a7; font-size:12px; font-weight:400; margin-top:2px; }

.page-money { padding-bottom: calc(18px + var(--safe-bottom)) !important; }
.page-money .h5-sheet { padding-bottom: 24px; }
.money-hero {
  background: linear-gradient(135deg, #6f84f6 0%, #8aa0f8 100%);
  color: #fff;
  border-radius: 14px;
  padding: 18px 16px 16px;
  margin-bottom: 10px;
  box-shadow: 0 8px 18px rgba(92,110,242,.18);
}
.money-hero > span { font-size: 13px; opacity: .92; }
.money-hero-num { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.money-hero-num b { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.money-hero-num em { font-style: normal; font-size: 13px; opacity: .9; }
.money-hero > p { margin-top: 10px; font-size: 12px; opacity: .86; line-height: 1.5; }
.money-types { display: flex; gap: 8px; margin-top: 14px; }
.money-types button {
  flex: 1; height: 30px; border-radius: 15px;
  background: rgba(255,255,255,.18); color: #fff; font-size: 12px;
}
.money-types button.on { background: #fff; color: #5c6ef2; font-weight: 700; }
.money-card { padding: 16px; }
.money-label { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.money-grid button {
  height: 54px;
  border-radius: 12px;
  background: #f4f6fb;
  color: #222;
  font-size: 18px;
  font-weight: 800;
}
.money-grid button span {
  font-size: 11px; font-weight: 600; color: #8b93a7; margin-left: 2px;
}
.money-grid button.on {
  background: #eef1ff;
  color: #5c6ef2;
  box-shadow: inset 0 0 0 1.5px #5c6ef2;
}
.money-grid button.on span { color: #5c6ef2; }
.money-input {
  display: flex; align-items: center;
  height: 48px; padding: 0 14px;
  border-radius: 12px; background: #f4f6fb;
}
.money-input em {
  font-style: normal; font-size: 20px; font-weight: 800; margin-right: 8px; color: #222;
}
.money-input input { flex: 1; min-width: 0; height: 48px; font-size: 20px; font-weight: 700; }
.money-input .all {
  color: #5c6ef2; font-size: 13px; font-weight: 700; white-space: nowrap; padding-left: 8px;
}
.money-way { display: flex; align-items: center; gap: 12px; }
.money-way .mdi-wechat { font-size: 28px; color: #22c16b; }
.money-way b { display: block; font-size: 15px; }
.money-way p { font-size: 12px; color: #8b93a7; margin-top: 3px; }
.money-way .mdi-check-circle { margin-left: auto; color: #5c6ef2; font-size: 22px; }
.money-fee {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 12px; font-size: 13px; color: #8b93a7;
}
.money-fee b { color: #222; font-weight: 700; }
.money-fee .real { color: #5c6ef2; }
.money-fee-sub { margin-top: 8px; font-size: 12px; color: #8b93a7; }
.money-field {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f2f3f7;
}
.money-field:last-child { border-bottom: none; padding-bottom: 0; }
.money-field span { width: 72px; flex-shrink: 0; font-size: 14px; color: #222; }
.money-field input { flex: 1; min-width: 0; height: 36px; font-size: 14px; }
.money-tips { font-size: 12px; color: #8b93a7; line-height: 1.7; padding: 2px 4px 14px; }
.money-note {
  color: #8b93a7; font-size: 13px; line-height: 1.7;
  background: #f7f8fc;
}
.money-submit { margin-top: 2px; }
.money-submit:disabled { opacity: .55; }
.wd-list { margin-top: 18px; }
.wd-list h3 { font-size: 15px; font-weight: 700; margin: 0 4px 10px; }
.wd-list .money-card { padding-top: 4px; padding-bottom: 4px; }
.wd-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid #f2f4f8;
}
.wd-item:last-child { border-bottom: none; }
.wd-item .t { font-size: 16px; font-weight: 800; }
.wd-item .s { font-size: 12px; color: #8b93a7; margin-top: 4px; }
.wd-st { font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.wd-st.s0 { color: #ff7a3c; }
.wd-st.s1 { color: #5c6ef2; }
.wd-st.s2 { color: #1aa35a; }
.wd-st.s3 { color: #8b93a7; }
.page-money .empty-box, .page-money .loading-box { padding: 28px 10px; }
.money-field-block { align-items: flex-start; }
.money-field-block > span { padding-top: 8px; }
.money-chips { display: flex; gap: 8px; flex: 1; }
.money-chips button {
  flex: 1; height: 34px; border-radius: 10px;
  background: #f4f6fb; color: #4b5568; font-size: 13px; font-weight: 600;
}
.money-chips button.on { background: #eef1ff; color: #5c6ef2; box-shadow: inset 0 0 0 1.5px #5c6ef2; }
.money-qr { flex: 1; }
.money-qr-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 132px; border-radius: 12px; background: #f4f6fb;
  border: 1px dashed #d7dce8; color: #8b93a7;
}
.money-qr-add .mdi { font-size: 28px; color: #5c6ef2; margin-bottom: 6px; }
.money-qr-add b { font-size: 13px; color: #222; font-weight: 700; }
.money-qr-add p { font-size: 11px; margin-top: 4px; }
.money-qr-preview { position: relative; width: 132px; }
.money-qr-preview img {
  width: 132px; height: 132px; object-fit: cover;
  border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(31,36,48,.08);
}
.money-qr-ops { display: flex; gap: 8px; margin-top: 8px; }
.money-qr-ops button {
  flex: 1; height: 28px; border-radius: 8px; background: #eef1ff;
  color: #5c6ef2; font-size: 12px; font-weight: 700;
}
.money-qr-ops #qrClear { background: #f4f6fb; color: #8b93a7; }
.wd-item .wd-qr {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  background: #f4f6fb; flex-shrink: 0;
}
.qr-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,18,30,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.qr-mask img { width: min(76vw, 320px); border-radius: 12px; background: #fff; }

.page-apply { padding-bottom: calc(18px + var(--safe-bottom)) !important; }
.apply-notice {
  height: auto; min-height: 38px; line-height: 1.5;
  padding: 10px 14px; margin-bottom: 10px;
  border-radius: 12px; background: #fff; color: #4a5163;
  font-size: 13px; box-shadow: 0 4px 14px rgba(92,110,242,.08);
}
.apply-status {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border-radius: 12px; padding: 14px;
  margin-bottom: 10px; box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.apply-status .mdi { font-size: 22px; color: #5c6ef2; margin-top: 1px; }
.apply-status b { display: block; font-size: 15px; }
.apply-status p { margin-top: 4px; font-size: 12px; color: #8b93a7; line-height: 1.5; }
.apply-status.s1 .mdi { color: #ff7a3c; }
.apply-status.s2 .mdi { color: #1aa35a; }
.apply-status.s3 .mdi { color: #ff5a3c; }
.apply-games { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.apply-intro { height: 88px; background: #f4f6fb; width: 100%; }
.po-card {
  background: #fff; border-radius: 12px; padding: 12px 14px 10px;
  margin-bottom: 10px; box-shadow: 0 4px 14px rgba(31,36,48,.05);
}
.po-hd { display: flex; gap: 10px; align-items: flex-start; color: inherit; }
.po-hd img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #edf0ff; flex-shrink: 0; }
.po-main { flex: 1; min-width: 0; }
.po-name { display: flex; align-items: flex-start; gap: 6px; }
.po-name h3 { flex: 1; font-size: 15px; font-weight: 700; line-height: 1.35; }
.po-name .tag-pill { flex-shrink: 0; margin-top: 1px; }
.po-main p { font-size: 12px; color: #8b93a7; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-price { color: #ff5a3c; font-size: 16px; font-weight: 800; white-space: nowrap; }
.po-info { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #eef0f5; }
.po-info-tit { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.po-info .form-kv { padding: 7px 0; font-size: 13px; }
.po-ft {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid #f4f5f8;
}
.po-ft a { font-size: 13px; color: #8b93a7; }
.po-ft .pw-pick { background: #5c6ef2; color: #fff; height: 32px; }
.po-tip { margin-top: 10px; font-size: 12px; color: #5c6ef2; background: #eef1ff; border-radius: 8px; padding: 8px 10px; }
.apply-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f2f4f8; }
.apply-row:last-child { border-bottom: none; }
.apply-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #edf0ff; }
.apply-row > div { flex: 1; min-width: 0; }
.apply-row b { display: block; font-size: 14px; }
.apply-row p { margin-top: 3px; font-size: 12px; color: #8b93a7; }
.pw-pick[disabled] { opacity: .55; }



