/* ============================================================
   WN ESPORTS · mobile storefront
   ============================================================ */
.client-body {
  background: #02060d;
}

.desktop-rail {
  position: fixed;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 16px;
  color: rgba(122, 176, 217, 0.32);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  pointer-events: none;
}
.desktop-rail-left { left: 34px; flex-direction: row-reverse; writing-mode: vertical-rl; }
.desktop-rail-right { right: 34px; writing-mode: vertical-rl; }
.desktop-rail i { width: 1px; height: 120px; background: linear-gradient(180deg, transparent, rgba(108, 193, 255, 0.4), transparent); display: block; }
.desktop-rail small { font-size: 8px; opacity: 0.7; letter-spacing: 0.22em; }
@media (min-width: 1180px) { .desktop-rail { display: flex; } }

.app-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 484px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 72% 0%, rgba(27, 92, 166, 0.16), transparent 33%),
    linear-gradient(180deg, rgba(4, 11, 21, 0.8), rgba(3, 8, 15, 0.94));
  border-inline: 1px solid rgba(87, 164, 232, 0.1);
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.45);
}
@media (min-width: 720px) {
  .app-frame { margin-top: 18px; margin-bottom: 18px; min-height: calc(100dvh - 36px); border-radius: 28px; overflow: hidden; }
  .bottom-nav { bottom: 18px !important; border-radius: 0 0 28px 28px; }
}
.view {
  min-height: 100dvh;
  padding-bottom: 116px;
  animation: pageIn 0.34s var(--ease);
}
.view.has-nav { padding-bottom: 110px; }
.view.no-nav { padding-bottom: 28px; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- top bar ---------- */
.client-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 13px;
  background: linear-gradient(180deg, rgba(3, 9, 17, 0.92), rgba(3, 9, 17, 0.62) 75%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.client-topbar.plain {
  background: linear-gradient(180deg, rgba(3, 9, 17, 0.96), rgba(3, 9, 17, 0.7));
  border-bottom: 1px solid rgba(98, 173, 237, 0.08);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-lockup > img {
  width: 78px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(54, 144, 255, 0.28));
  flex: none;
}
.brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-text strong { font-size: 14px; letter-spacing: 0.04em; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.brand-text small { font-family: var(--mono); font-size: 7.5px; color: var(--muted); letter-spacing: 0.19em; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.support-pill {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(98, 190, 255, 0.28);
  background: rgba(11, 34, 57, 0.66);
  color: var(--cyan-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  transition: all 0.2s;
}
.support-pill:hover { border-color: var(--line-bright); box-shadow: 0 0 18px rgba(59, 169, 255, 0.18); }
.support-pill svg { width: 15px; height: 15px; }
.avatar-mini { width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line); overflow: hidden; display: block; }
.avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
.avatar-mini .avatar { width: 100% !important; height: 100% !important; border-radius: inherit !important; }
.avatar-mini svg { width: 17px; height: 17px; }

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(15px + env(safe-area-inset-top)) 16px 10px;
  position: relative;
  z-index: 20;
}
.page-head .back-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 35, 0.65);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.page-head .back-btn svg { width: 18px; height: 18px; }
.page-head .head-titles { flex: 1; min-width: 0; }
.page-head h1 { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; }
.page-head p { color: var(--muted); font-size: 10px; margin-top: 3px; letter-spacing: 0.04em; }
.page-head .head-action { flex: none; }

/* screen-level headings */
.section-pad { padding-inline: 16px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 12px;
}
.section-head h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-head h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(68, 180, 255, 0.6);
}
.section-head .more {
  color: var(--muted);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.section-head .more svg { width: 13px; height: 13px; }
.section-sub { color: var(--muted); font-size: 11px; margin-top: 4px; }
.page-intro {
  padding: 16px 16px 0;
}
.page-intro h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 650;
  line-height: 1.2;
}
.page-intro h1 .accent {
  background: linear-gradient(100deg, #89e9ff, #2c8dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-intro p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 8px; }

/* ---------- bottom nav ---------- */
.bottom-nav {
  position: fixed;
  z-index: 50;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(484px, 100%);
  padding: 9px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(4, 12, 22, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(89, 171, 240, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.bottom-nav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 216, 255, 0.45), transparent);
}
.nav-item {
  position: relative;
  border: 0;
  background: transparent;
  color: #647f97;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 51px;
  border-radius: 14px;
  font-size: 10px;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.nav-item svg { width: 22px; height: 22px; transition: transform 0.24s var(--ease); }
.nav-item.active { color: var(--cyan); }
.nav-item.active svg {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 9px rgba(105, 225, 255, 0.5));
}
.nav-item.active::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 30px;
  height: 22px;
  border-radius: 8px;
  background: radial-gradient(ellipse, rgba(47, 151, 255, 0.18), transparent 72%);
}
.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 22px);
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 8px;
  display: grid;
  place-items: center;
  border: 1.5px solid #06111e;
}

/* ---------- home ---------- */
.home-greeting {
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.home-greeting .eyebrow { margin-bottom: 7px; }
.home-greeting h1 {
  font-size: 23px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.home-greeting h1 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(86, 212, 255, 0.35);
}
.home-greeting p { color: var(--muted); font-size: 11px; margin-top: 6px; line-height: 1.65; }
.home-status {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(80, 179, 255, 0.2);
  background: rgba(10, 31, 52, 0.55);
  font-size: 9px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.hero-wrap { padding: 4px 16px 0; }
.hero-carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(100, 187, 255, 0.2);
  background: #061326;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(6, 18, 33, 0.6);
  aspect-ratio: 2.06 / 1;
  min-height: 160px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(1, 7, 14, 0.55));
  pointer-events: none;
}
.carousel-slide-link { position: absolute; inset: 0; z-index: 2; }
.carousel-ui {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 3;
}
.carousel-dots { display: flex; gap: 5px; align-items: center; }
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  border: 0;
  padding: 0;
  background: rgba(230, 248, 255, 0.25);
  transition: all 0.25s;
}
.carousel-dot.active { width: 18px; background: var(--cyan); box-shadow: 0 0 9px rgba(117, 234, 255, 0.6); }
.carousel-count {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(228, 246, 255, 0.7);
  letter-spacing: 0.12em;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(212, 242, 255, 0.2);
  background: rgba(3, 13, 25, 0.5);
  backdrop-filter: blur(10px);
  color: #e4f7ff;
  display: none;
  place-items: center;
}
.carousel-arrow svg { width: 15px; height: 15px; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.hero-carousel:hover .carousel-arrow { display: grid; }

.notice-ticker {
  margin: 11px 16px 0;
  height: 34px;
  border: 1px solid rgba(88, 170, 235, 0.12);
  border-radius: 10px;
  background: rgba(6, 19, 33, 0.6);
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 9px;
  padding: 0 11px;
}
.notice-ticker .ticker-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  font-size: 9px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  padding-right: 9px;
  border-right: 1px solid var(--line);
}
.notice-ticker .ticker-label svg { width: 13px; height: 13px; }
.ticker-viewport { flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track {
  display: inline-flex;
  animation: tickerMove var(--ticker-duration, 26s) linear infinite;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}
.ticker-track span { padding-right: 80px; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 16px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}
.home-stat {
  background: rgba(6, 18, 32, 0.86);
  padding: 13px 8px;
  text-align: center;
}
.home-stat strong { display: block; font-family: var(--mono); font-size: 15px; color: var(--text); }
.home-stat span { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; letter-spacing: 0.06em; }

.category-panel { margin-top: 20px; }
.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 2px;
  scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-rail .chip { height: 32px; font-size: 12px; }
.category-rail-secondary { margin-top: 9px; }
.category-rail-secondary .chip { height: 28px; font-size: 11px; color: var(--muted-2); background: transparent; }
.category-rail-secondary .chip.active {
  color: var(--cyan);
  background: rgba(35, 115, 205, 0.14);
  border-color: rgba(94, 195, 255, 0.3);
  font-weight: 500;
  box-shadow: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 0 16px;
}
.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 31, 53, 0.9), rgba(5, 15, 27, 0.96));
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.24s, box-shadow 0.3s;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(198, 237, 255, 0.06);
  pointer-events: none;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(102, 195, 255, 0.35); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32), 0 0 30px rgba(32, 114, 219, 0.08); }
.product-cover {
  position: relative;
  aspect-ratio: 1.29 / 1;
  overflow: hidden;
  background: #071524;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-cover img { transform: scale(1.04); }
.product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 10, 19, 0.7));
  pointer-events: none;
}
.product-cover-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  max-width: calc(100% - 16px);
}
.product-cover-tags .tag {
  height: 19px;
  padding: 0 6px;
  font-size: 8.5px;
  border-radius: 5px;
  backdrop-filter: blur(8px);
}
.product-hot {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  height: 19px;
  padding: 0 6px;
  border-radius: 5px;
  background: rgba(5, 16, 29, 0.72);
  border: 1px solid rgba(255, 210, 110, 0.22);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  backdrop-filter: blur(8px);
}
.product-hot svg { width: 9px; height: 9px; }
.product-body { padding: 10px 10px 11px; }
.product-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-subtitle {
  margin-top: 3px;
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-meta { margin-top: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.product-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; min-width: 0; }
.product-price .price { font-size: 17px; line-height: 1; }
.product-price .price-original { font-size: 8.5px; }
.product-sales { color: var(--muted-2); font-size: 8.5px; white-space: nowrap; display: flex; align-items: center; gap: 3px; padding-bottom: 1px; }
.product-sales svg { width: 10px; height: 10px; }
.product-add {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(108, 209, 255, 0.34);
  background: linear-gradient(135deg, #2b8eff, #6de4ff);
  color: #03111f;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(3px);
  transition: all 0.23s var(--ease);
}
.product-card:hover .product-add { opacity: 1; transform: none; }
.product-add svg { width: 13px; height: 13px; }
.section-end {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 16px 10px;
  color: var(--muted-2);
  font-size: 9px;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  justify-content: center;
}
.section-end::before, .section-end::after { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.section-end::after { transform: scaleX(-1); }

.floating-support {
  position: fixed;
  z-index: 40;
  right: max(18px, calc(50vw - 224px));
  bottom: calc(92px + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(110, 208, 255, 0.35);
  background: linear-gradient(150deg, rgba(24, 81, 151, 0.92), rgba(5, 24, 42, 0.94));
  color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(50, 157, 255, 0.16);
  display: grid;
  place-items: center;
  backdrop-filter: blur(14px);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.floating-support:hover { transform: translateY(-2px); border-color: var(--cyan); }
.floating-support svg { width: 22px; height: 22px; }
.floating-support .float-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  border: 1px solid #0a1d31;
}
@media (min-width: 720px) { .floating-support { bottom: 108px; } }

/* ---------- ranking ---------- */
.ranking-wrap { padding-bottom: 20px; }
.ranking-hero {
  position: relative;
  padding: 12px 16px 0;
  overflow: hidden;
}
.ranking-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.ranking-title h1 { font-size: 30px; letter-spacing: -0.04em; line-height: 1.1; font-weight: 650; }
.ranking-title h1 span {
  background: linear-gradient(100deg, #a9f1ff, #2d8dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ranking-title p { color: var(--muted); font-size: 11px; margin-top: 8px; }
.ranking-season {
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--cyan);
  padding: 6px 9px;
  border: 1px solid rgba(97, 198, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 27, 47, 0.6);
}
.ranking-watermark {
  position: absolute;
  top: -18px;
  right: -8px;
  width: 160px;
  opacity: 0.045;
  pointer-events: none;
}
.podium {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  gap: 7px;
  align-items: end;
  margin-top: 22px;
  padding-bottom: 17px;
}
.podium-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(165deg, rgba(12, 34, 58, 0.94), rgba(5, 16, 28, 0.98));
  padding: 12px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.24s var(--ease), border-color 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.podium-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.podium-card.rank-1 {
  border-color: rgba(255, 210, 110, 0.28);
  background: linear-gradient(165deg, rgba(33, 47, 63, 0.96), rgba(8, 20, 33, 0.98) 68%);
  box-shadow: 0 0 36px rgba(255, 196, 75, 0.07);
  padding-top: 17px;
}
.podium-card.rank-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.podium-crown {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 8px rgba(255, 201, 92, 0.35));
}
.podium-card.rank-1 .podium-crown { display: block; }
.podium-crown { display: none; }
.podium-rank {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  border: 1px solid var(--line);
  background: rgba(5, 17, 30, 0.8);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}
.podium-card.rank-1 .podium-rank { color: #1b1304; background: linear-gradient(135deg, #ffe29b, #e3a93b); border-color: transparent; }
.podium-card.rank-2 .podium-rank { color: #d9ecff; background: rgba(105, 143, 174, 0.2); border-color: rgba(182, 215, 238, 0.24); }
.podium-card.rank-3 .podium-rank { color: #ffc49e; background: rgba(158, 91, 43, 0.2); border-color: rgba(222, 143, 89, 0.24); }
.podium-cover {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(138, 205, 255, 0.16);
  margin-bottom: 9px;
  background: #071524;
}
.podium-cover img { width: 100%; height: 100%; object-fit: cover; }
.podium-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 31px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.podium-sales {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}
.podium-sales svg { width: 11px; height: 11px; color: var(--gold); flex: none; }
.podium-sales strong { color: var(--gold); font-family: var(--mono); font-weight: 500; font-size: 10px; }
.ranking-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 3px;
}
.ranking-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(97, 172, 236, 0.12);
  border-radius: 13px;
  background: rgba(7, 21, 37, 0.6);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ranking-row:hover { border-color: var(--line-strong); background: rgba(10, 28, 48, 0.82); }
.ranking-number {
  width: 25px;
  flex: none;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.ranking-row:nth-child(1) .ranking-number,
.ranking-row:nth-child(2) .ranking-number,
.ranking-row:nth-child(3) .ranking-number { color: var(--cyan); }
.ranking-thumb { width: 56px; height: 43px; border-radius: 8px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.ranking-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-info strong { display: block; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-info span { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.ranking-info span b { color: var(--cyan-soft); font-family: var(--mono); font-weight: 500; }
.ranking-price { flex: none; text-align: right; }
.ranking-price .price { font-size: 14px; }
.ranking-price small { display: block; font-size: 8px; color: var(--muted-2); margin-top: 3px; }

/* ---------- players ---------- */
.players-hero {
  margin: 13px 16px 0;
  border: 1px solid rgba(96, 188, 255, 0.18);
  border-radius: 20px;
  padding: 17px;
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 134, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(15, 39, 65, 0.9), rgba(5, 15, 27, 0.94));
  position: relative;
  overflow: hidden;
}
.players-hero::after {
  content: "TEAM";
  position: absolute;
  right: -4px;
  bottom: -16px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -0.08em;
  color: rgba(137, 207, 255, 0.04);
  pointer-events: none;
}
.players-hero h2 { font-size: 18px; font-weight: 600; margin-top: 7px; }
.players-hero p { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 6px; max-width: 86%; }
.players-hero-stats { display: flex; gap: 18px; margin-top: 14px; position: relative; z-index: 2; }
.players-hero-stats div strong { display: block; font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.players-hero-stats div span { font-size: 8.5px; color: var(--muted); letter-spacing: 0.07em; }
.players-filter { display: flex; gap: 8px; padding: 16px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.players-filter::-webkit-scrollbar { display: none; }
.players-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.player-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(10, 27, 48, 0.84), rgba(5, 15, 27, 0.94));
  padding: 13px;
  display: flex;
  gap: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.24s, transform 0.24s var(--ease);
}
.player-card:hover { border-color: rgba(100, 199, 255, 0.32); transform: translateY(-2px); }
.player-card::before {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(47, 141, 255, 0.12), transparent 68%);
  pointer-events: none;
}
.player-avatar { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(102, 197, 255, 0.25); flex: none; position: relative; }
.player-avatar > .avatar { width: 100% !important; height: 100% !important; border-radius: inherit !important; }
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-avatar .online-flag {
  position: absolute;
  left: 5px;
  bottom: 5px;
  height: 16px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 5px;
  background: rgba(2, 12, 22, 0.78);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(100, 207, 255, 0.14);
  color: var(--muted);
  font-size: 7px;
}
.player-avatar .online-flag.online { color: var(--green); border-color: rgba(72, 240, 187, 0.25); }
.player-avatar .online-flag .dot { width: 4px; height: 4px; }
.player-main { flex: 1; min-width: 0; }
.player-name-row { display: flex; align-items: center; gap: 6px; }
.player-name-row strong { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.player-name-row .level {
  height: 16px;
  border-radius: 4px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  font-size: 7.5px;
  font-family: var(--mono);
  color: var(--cyan);
  background: rgba(45, 143, 255, 0.12);
  border: 1px solid rgba(91, 190, 255, 0.2);
}
.player-tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.player-tags .tag { font-size: 8px; padding: 2px 5px; border-radius: 4px; }
.player-intro {
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.player-stats { display: flex; gap: 10px; flex-wrap: nowrap; min-width: 0; }
.player-stats span { color: var(--muted-2); font-size: 8px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.player-stats svg { width: 10px; height: 10px; flex: none; }
.player-stats b { color: var(--text-soft); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.player-order-btn {
  height: 25px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(95, 195, 255, 0.28);
  background: rgba(37, 120, 214, 0.14);
  color: var(--cyan-soft);
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
}
.player-order-btn:hover { background: rgba(48, 149, 255, 0.25); border-color: var(--cyan); }
.player-order-btn svg { width: 10px; height: 10px; }
.selected-player-hint {
  margin: 12px 16px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(72, 240, 187, 0.2);
  background: rgba(72, 240, 187, 0.06);
  font-size: 10px;
  color: var(--green);
}
.selected-player-hint button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 9px; text-decoration: underline; }

/* player profile modal */
.player-profile {
  text-align: center;
  padding-top: 4px;
}
.player-profile-avatar { width: 100px; height: 100px; margin: 0 auto 14px; border-radius: 26px; overflow: hidden; border: 1px solid rgba(100, 200, 255, 0.32); box-shadow: 0 0 36px rgba(42, 132, 244, 0.16); }
.player-profile h2 { font-size: 22px; }
.player-profile .sub { color: var(--muted); font-size: 11px; margin-top: 5px; }
.player-profile .tag-list { justify-content: center; margin-top: 12px; }
.player-profile-bio { margin-top: 16px; text-align: left; padding: 14px; border-radius: 12px; background: rgba(5, 18, 32, 0.6); border: 1px solid var(--line); font-size: 12px; color: var(--text-soft); line-height: 1.8; }
.profile-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 14px; }
.profile-metrics div { background: rgba(8, 23, 40, 0.9); padding: 11px 6px; }
.profile-metrics strong { display: block; font-family: var(--mono); color: var(--cyan); font-size: 15px; }
.profile-metrics span { font-size: 8.5px; color: var(--muted); display: block; margin-top: 3px; }

/* ---------- mine ---------- */
.me-page { padding-top: calc(14px + env(safe-area-inset-top)); }
.me-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px 15px;
}
.me-topbar .eyebrow { letter-spacing: 0.22em; }
.me-topbar .top-actions { display: flex; align-items: center; gap: 8px; }
.me-settings-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 22, 38, 0.65);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.me-settings-btn:hover { color: var(--cyan); border-color: var(--line-strong); }
.me-settings-btn svg { width: 19px; height: 19px; }
.profile-card {
  margin: 0 16px;
  border: 1px solid rgba(96, 187, 255, 0.2);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 4%, rgba(47, 138, 255, 0.28), transparent 45%),
    linear-gradient(150deg, rgba(17, 44, 74, 0.94), rgba(5, 17, 31, 0.98));
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(133, 206, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(133, 206, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, #000, transparent 65%);
  pointer-events: none;
}
.profile-main { display: flex; align-items: center; gap: 13px; position: relative; z-index: 2; }
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 21px;
  border: 1px solid rgba(125, 220, 255, 0.35);
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 30px rgba(42, 139, 255, 0.18);
  background: #07182a;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar > .avatar { width: 100% !important; height: 100% !important; border-radius: inherit !important; }
.profile-avatar .avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 24px; }
.profile-info { flex: 1; min-width: 0; }
.profile-info h2 { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.profile-info h2 .verified { height: 16px; padding: 0 5px; display: inline-flex; align-items: center; border-radius: 4px; background: rgba(82, 199, 255, 0.1); border: 1px solid rgba(104, 213, 255, 0.2); color: var(--cyan); font-size: 7px; font-family: var(--mono); }
.profile-info p { font-size: 10px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.profile-info p svg { width: 11px; height: 11px; }
.identity-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(3, 13, 24, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  margin-top: 9px;
}
.identity-switch button {
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.identity-switch button svg { width: 11px; height: 11px; }
.identity-switch button.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(46, 126, 232, 0.72), rgba(28, 105, 162, 0.55));
  box-shadow: 0 0 0 1px rgba(117, 220, 255, 0.18) inset;
}
.profile-id { position: absolute; right: 0; top: 0; color: rgba(140, 192, 228, 0.3); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; }
.profile-balance {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(4, 16, 29, 0.6);
  border: 1px solid rgba(96, 173, 233, 0.13);
}
.profile-balance .label { color: var(--muted); font-size: 9px; display: flex; align-items: center; gap: 5px; }
.profile-balance .label svg { width: 12px; height: 12px; color: var(--gold); }
.profile-balance .amount { font-family: var(--mono); font-size: 21px; font-weight: 600; color: #fff; margin-top: 2px; letter-spacing: -0.04em; }
.profile-balance .amount small { font-size: 10px; color: var(--muted); font-family: var(--font); margin-left: 3px; }
.balance-action {
  border: 1px solid rgba(104, 196, 255, 0.24);
  background: rgba(44, 127, 213, 0.13);
  color: var(--cyan-soft);
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.balance-action svg { width: 11px; height: 11px; }
.menu-group {
  margin: 14px 16px 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(9, 25, 43, 0.8), rgba(5, 15, 27, 0.88));
  overflow: hidden;
}
.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(91, 158, 213, 0.08);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  text-align: left;
  color: var(--text-soft);
  transition: background 0.2s;
}
.menu-row:last-child { border-bottom: 0; }
.menu-row:hover { background: rgba(84, 174, 255, 0.04); }
.menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(38, 117, 197, 0.12);
  border: 1px solid rgba(93, 178, 245, 0.12);
  color: var(--cyan);
  flex: none;
}
.menu-icon svg { width: 17px; height: 17px; }
.menu-icon.gold { color: var(--gold); background: rgba(255, 203, 101, 0.08); border-color: rgba(255, 203, 101, 0.12); }
.menu-icon.green { color: var(--green); background: rgba(72, 240, 187, 0.07); border-color: rgba(72, 240, 187, 0.12); }
.menu-icon.muted { color: var(--muted); background: rgba(112, 143, 168, 0.08); border-color: rgba(120, 148, 173, 0.1); }
.menu-text { flex: 1; min-width: 0; }
.menu-text strong { display: block; font-size: 12.5px; font-weight: 500; }
.menu-text span { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }
.menu-chevron { color: var(--muted-2); flex: none; }
.menu-chevron svg { width: 15px; height: 15px; }
.menu-count {
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 94, 122, 0.16);
  border: 1px solid rgba(255, 94, 122, 0.25);
  color: #ff93a7;
  font-size: 8px;
  display: grid;
  place-items: center;
  margin-right: 3px;
}
.guest-card {
  margin: 22px 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, rgba(45, 125, 230, 0.14), transparent 55%), rgba(6, 18, 32, 0.8);
}
.guest-card .guest-logo { width: 100px; margin: 0 auto 17px; opacity: 0.9; }
.guest-card h2 { font-size: 20px; }
.guest-card p { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 8px auto 18px; max-width: 250px; }
.guest-actions { display: flex; gap: 9px; justify-content: center; }
.guest-actions .btn { flex: 1; max-width: 130px; }
.support-footer {
  margin: 22px 16px 8px;
  padding: 24px 16px 18px;
  border-top: 1px solid rgba(94, 169, 232, 0.12);
  text-align: center;
  position: relative;
}
.support-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 35%;
  right: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 213, 255, 0.36), transparent);
}
.support-footer-logo { width: 112px; margin: 0 auto 12px; opacity: 0.9; }
.support-footer p { font-size: 10px; color: var(--muted); letter-spacing: 0.02em; }
.support-footer .support-cta {
  margin: 14px auto 0;
  max-width: 290px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(88, 210, 255, 0.58);
  background: rgba(9, 29, 49, 0.44);
  color: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  transition: all 0.25s;
}
.support-footer .support-cta:hover { background: rgba(38, 123, 206, 0.16); box-shadow: 0 0 24px rgba(68, 186, 255, 0.12); border-color: var(--cyan); }
.support-footer .support-cta svg { width: 13px; height: 13px; }
.support-footer .support-meta { margin-top: 12px; font-family: var(--mono); font-size: 7px; letter-spacing: 0.18em; color: rgba(105, 141, 172, 0.5); }

/* ---------- product detail ---------- */
.product-detail { padding-bottom: 100px; }
.detail-cover {
  position: relative;
  margin: 0 16px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  border: 1px solid var(--line);
  background: #061524;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 9, 17, 0.46)); }
.detail-gallery { display: flex; gap: 7px; padding: 9px 16px 0; overflow-x: auto; scrollbar-width: none; }
.detail-gallery::-webkit-scrollbar { display: none; }
.detail-gallery button { flex: 0 0 58px; height: 46px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: none; padding: 0; opacity: 0.6; }
.detail-gallery button.active { border-color: var(--line-bright); opacity: 1; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { padding: 14px 16px 0; }
.detail-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.detail-title { font-size: 21px; font-weight: 650; line-height: 1.3; margin-top: 9px; letter-spacing: -0.01em; }
.detail-subtitle { font-size: 11px; color: var(--muted); margin-top: 5px; }
.detail-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 13px; }
.detail-price-row .price { font-size: 29px; line-height: 1; }
.detail-price-row .price-original { font-size: 11px; margin-left: 5px; }
.detail-sales { color: var(--muted); font-size: 9.5px; display: flex; align-items: center; gap: 7px; }
.detail-sales .dot { width: 3px; height: 3px; }
.detail-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 17px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.detail-specs div { background: rgba(7, 21, 37, 0.9); padding: 10px 8px; text-align: center; }
.detail-specs strong { display: block; color: var(--cyan-soft); font-size: 10px; font-weight: 500; }
.detail-specs span { display: block; font-size: 8px; color: var(--muted); margin-top: 3px; }
.detail-section {
  margin: 18px 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(6, 18, 32, 0.6);
}
.detail-section h3 { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.detail-section h3 svg { color: var(--cyan); width: 16px; height: 16px; }
.detail-section .rich-text { font-size: 12.5px; line-height: 1.85; }
.detail-section .rich-text h3 { display: block; font-size: 15px; }
.detail-buybar {
  position: fixed;
  z-index: 45;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(484px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(97, 177, 239, 0.15);
  background: rgba(4, 13, 24, 0.92);
  backdrop-filter: blur(20px);
}
@media (min-width: 720px) { .detail-buybar { bottom: 18px; border-radius: 0 0 28px 28px; } }
.detail-buy-price { flex: 1; min-width: 0; }
.detail-buy-price .price { font-size: 23px; }
.detail-buy-price span { display: block; color: var(--muted); font-size: 8px; margin-top: 2px; }
.detail-buybar .btn { flex: none; width: 156px; }
.detail-service-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.detail-service-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; border-radius: 5px; }
.detail-service-chip svg { width: 10px; height: 10px; color: var(--cyan); }

/* checkout sheet */
.checkout-head-product { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 13px; background: rgba(8, 24, 41, 0.7); border: 1px solid var(--line); margin-bottom: 17px; }
.checkout-head-product img { width: 62px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; }
.checkout-head-product .info { flex: 1; min-width: 0; }
.checkout-head-product strong { font-size: 13px; display: block; }
.checkout-head-product span { font-size: 9px; color: var(--muted); display: block; margin-top: 4px; }
.checkout-head-product .price { font-size: 15px; flex: none; }
.checkout-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checkout-row:last-of-type { border-bottom: 0; }
.checkout-row .field { flex: 1; }
.checkout-qty-line { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 12px; }
.checkout-qty-line > span { font-size: 12px; color: var(--text-soft); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-option {
  border: 1px solid var(--line);
  background: rgba(5, 16, 29, 0.6);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  color: var(--text-soft);
  position: relative;
  transition: all 0.2s;
}
.pay-option strong { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.pay-option strong svg { width: 14px; height: 14px; color: var(--cyan); }
.pay-option small { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.pay-option.active { border-color: rgba(109, 221, 255, 0.62); background: rgba(37, 111, 192, 0.14); box-shadow: inset 0 0 22px rgba(29, 113, 206, 0.08); }
.pay-option.active::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 2px;
  margin-top: 4px;
}
.checkout-total span { color: var(--muted); font-size: 11px; }
.checkout-total .price { font-size: 25px; }
.designated-select { display: flex; align-items: center; gap: 9px; }
.designated-select .select { flex: 1; }
.field-inline-error { color: var(--danger); font-size: 10px; margin-top: -3px; }

/* ---------- orders ---------- */
.orders-filter {
  display: flex;
  gap: 7px;
  padding: 8px 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.orders-filter::-webkit-scrollbar { display: none; }
.orders-filter .chip { height: 29px; font-size: 11px; }
.orders-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(9, 25, 43, 0.84), rgba(4, 14, 25, 0.94));
  overflow: hidden;
}
.order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(95, 166, 223, 0.08);
}
.order-no { color: var(--muted-2); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.02em; }
.order-main { display: flex; gap: 11px; padding: 12px 13px; }
.order-thumb { width: 70px; height: 54px; border-radius: 9px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-info { flex: 1; min-width: 0; }
.order-info h3 { font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-info .order-sub { color: var(--muted); font-size: 9px; margin-top: 5px; display: flex; gap: 8px; flex-wrap: wrap; }
.order-info .order-sub span { display: inline-flex; align-items: center; gap: 3px; }
.order-info .order-sub svg { width: 10px; height: 10px; }
.order-amount { text-align: right; flex: none; }
.order-amount .price { font-size: 15px; }
.order-amount small { display: block; color: var(--muted); font-size: 8px; margin-top: 4px; }
.order-extra { padding: 0 13px 11px; font-size: 9px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.order-extra svg { width: 10px; height: 10px; }
.order-proof {
  margin: 0 13px 11px;
  padding: 10px 11px;
  border: 1px solid rgba(95, 195, 255, 0.16);
  border-radius: 10px;
  background: rgba(34, 109, 181, 0.07);
}
.order-proof-head { display: flex; align-items: center; gap: 5px; color: var(--cyan-soft); font-size: 9px; font-weight: 500; }
.order-proof-head svg { width: 12px; height: 12px; color: var(--cyan); }
.order-proof-note { margin-top: 6px; color: var(--text-soft); font-size: 10px; line-height: 1.7; white-space: pre-wrap; }
.order-proof-images { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.order-proof-thumb { width: 72px; height: 56px; padding: 0; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; background: #061322; }
.order-proof-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-proof-thumb:hover { border-color: var(--cyan); }
.proof-preview { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; padding: 10px; }
.proof-preview img { max-width: 100%; max-height: 65vh; object-fit: contain; border-radius: 6px; }
.proof-uploader { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.proof-thumb { position: relative; width: 84px; height: 76px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-strong); background: #061322; }
.proof-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proof-thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 6px; border: 0; background: rgba(2, 8, 15, 0.82); color: #fff; display: grid; place-items: center; padding: 0; backdrop-filter: blur(5px); }
.proof-thumb button svg { width: 11px; height: 11px; }
.proof-add { width: 84px; height: 76px; border-radius: 9px; border: 1px dashed rgba(106, 193, 255, 0.35); background: rgba(5, 18, 32, 0.55); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 8.5px; transition: all 0.2s; }
.proof-add:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(29, 91, 146, 0.18); }
.proof-add svg { width: 18px; height: 18px; }
.order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 9px 13px;
  border-top: 1px solid rgba(95, 166, 223, 0.08);
  background: rgba(3, 12, 22, 0.4);
}
.order-actions .btn { height: 30px; padding: 0 12px; font-size: 10px; }
.order-actions .order-hint { margin-right: auto; color: var(--muted); font-size: 9px; display: flex; align-items: center; gap: 4px; }
.order-actions .order-hint svg { width: 11px; height: 11px; }
.payment-instruction { color: var(--muted); font-size: 11px; line-height: 1.7; background: rgba(7, 22, 38, 0.6); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; margin-top: 12px; }

/* ---------- apply ---------- */
.apply-wrap { padding: 8px 16px 0; }
.apply-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.apply-step { display: flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 9px; }
.apply-step i { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 8px; }
.apply-step.active { color: var(--cyan); }
.apply-step.active i { border-color: rgba(103, 217, 255, 0.5); background: rgba(61, 170, 255, 0.12); }
.apply-sep { flex: 1; height: 1px; background: var(--line); }
.apply-card { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, rgba(9, 25, 43, 0.85), rgba(4, 14, 26, 0.94)); padding: 18px; }
.apply-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 7px; }
.apply-method {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  background: rgba(5, 16, 29, 0.62);
  text-align: left;
  color: var(--text-soft);
  position: relative;
  transition: all 0.2s;
}
.apply-method strong { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.apply-method strong svg { width: 15px; height: 15px; color: var(--cyan); }
.apply-method p { font-size: 9px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.apply-method.active { border-color: rgba(111, 220, 255, 0.58); background: rgba(36, 112, 194, 0.13); }
.apply-method.active::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.apply-summary {
  margin-top: 13px;
  padding: 12px;
  border-radius: 11px;
  background: rgba(4, 15, 27, 0.64);
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.apply-summary b { color: var(--gold); font-family: var(--mono); font-size: 17px; font-weight: 500; }
.apply-submit { margin-top: 16px; }
.apply-pending { text-align: center; padding: 26px 18px; }
.apply-pending .status-ring {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 16px;
  border: 1px solid rgba(255, 210, 110, 0.24); background: rgba(255, 210, 110, 0.07); color: var(--gold);
}
.apply-pending .status-ring svg { width: 27px; height: 27px; }
.apply-pending h2 { font-size: 18px; }
.apply-pending p { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.benefit-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.benefit-row { display: flex; gap: 9px; align-items: flex-start; font-size: 10.5px; color: var(--muted); line-height: 1.65; }
.benefit-row svg { width: 14px; height: 14px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- player center ---------- */
.player-center { padding-bottom: 32px; }
.player-header {
  position: relative;
  padding: calc(14px + env(safe-area-inset-top)) 16px 16px;
  background:
    radial-gradient(circle at 82% 0%, rgba(39, 128, 238, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(6, 20, 36, 0.96), rgba(3, 10, 19, 0.92));
  border-bottom: 1px solid rgba(84, 166, 235, 0.1);
  overflow: hidden;
}
.player-header::after {
  content: "WORKSPACE";
  position: absolute;
  right: -4px;
  bottom: -6px;
  font-family: var(--mono);
  font-size: 42px;
  letter-spacing: -0.05em;
  color: rgba(120, 196, 255, 0.035);
  pointer-events: none;
}
.ph-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.ph-top .back-btn { width: 35px; height: 35px; border-radius: 10px; border: 1px solid var(--line); background: rgba(6, 18, 31, 0.65); color: var(--text-soft); display: grid; place-items: center; }
.ph-top .back-btn svg { width: 17px; height: 17px; }
.ph-top .switch { margin-left: auto; width: auto; min-width: 0; border: 1px solid var(--line); background: rgba(8, 22, 38, 0.7); height: 29px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 9px; display: flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; }
.ph-top .switch::after { display: none; }
.ph-top .eyebrow { flex: 1; min-width: 0; }
.ph-top .switch svg { width: 12px; height: 12px; }
.player-identity { display: flex; align-items: center; gap: 12px; margin-top: 15px; position: relative; z-index: 2; }
.player-identity .avatar { width: 56px; height: 56px; border-radius: 16px; border: 1px solid rgba(108, 207, 255, 0.3); }
.player-identity h1 { font-size: 20px; font-weight: 600; }
.player-identity p { color: var(--muted); font-size: 9px; margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.player-identity p .tag { height: 16px; font-size: 7.5px; padding: 0 5px; }
.online-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(4, 15, 27, 0.5);
  border: 1px solid var(--line);
  font-size: 8px;
  color: var(--muted);
}
.marquee-bar {
  margin: 12px 0 0;
  height: 32px;
  border: 1px solid rgba(99, 181, 245, 0.14);
  border-radius: 9px;
  background: rgba(5, 17, 30, 0.7);
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 8px;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}
.marquee-bar .marquee-icon { color: var(--cyan); display: grid; place-items: center; flex: none; }
.marquee-bar .marquee-icon svg { width: 13px; height: 13px; }
.marquee-viewport { flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-text { display: inline-flex; animation: tickerMove var(--ticker-duration, 32s) linear infinite; color: var(--muted); font-size: 9.5px; }
.marquee-text span { padding-right: 100px; }
.player-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 14px 16px 0; }
.player-stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 7px;
  background: rgba(7, 21, 37, 0.65);
  text-align: center;
  min-width: 0;
}
.player-stat-card strong { display: block; font-family: var(--mono); font-size: 16px; color: var(--cyan); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-stat-card span { display: block; color: var(--muted); font-size: 7.5px; margin-top: 3px; white-space: nowrap; }
.player-balance-card {
  margin: 11px 16px 0;
  border: 1px solid rgba(93, 183, 255, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 20%, rgba(36, 137, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(13, 35, 59, 0.92), rgba(5, 16, 29, 0.96));
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.player-balance-card .label { font-size: 9px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.player-balance-card .label svg { width: 12px; height: 12px; color: var(--gold); }
.player-balance-card .amount { font-family: var(--mono); font-size: 25px; font-weight: 600; margin-top: 4px; letter-spacing: -0.04em; }
.player-balance-card .amount small { font-size: 10px; color: var(--muted); font-family: var(--font); margin-left: 4px; }
.player-balance-card .pending { color: var(--muted); font-size: 8.5px; margin-top: 5px; }
.player-balance-card .btn { flex: none; height: 34px; padding: 0 13px; font-size: 11px; }
.player-tabs { margin-top: 17px; }
.player-tab-head { display: flex; gap: 3px; padding: 0 16px; border-bottom: 1px solid rgba(91, 166, 225, 0.1); }
.player-tab-head button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 10px 4px 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.player-tab-head button.active { color: var(--text); }
.player-tab-head button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.player-tab-head button .tab-count {
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 99px;
  background: rgba(63, 138, 206, 0.18);
  font-size: 8px;
  display: grid;
  place-items: center;
}
.player-orders { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 9px; }
.player-order-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 20, 35, 0.7);
  overflow: hidden;
}
.player-order-card .order-main { padding: 11px 12px; }
.player-order-card .order-actions { padding: 8px 12px; }
.player-order-card .order-actions .btn { height: 29px; font-size: 10px; }
.player-empty-hint { padding: 8px 0 4px; }
.withdraw-note { font-size: 10px; color: var(--muted); line-height: 1.7; }
.qr-upload {
  border: 1px dashed rgba(102, 187, 252, 0.32);
  border-radius: 12px;
  min-height: 140px;
  display: grid;
  place-items: center;
  background: rgba(4, 15, 27, 0.54);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 15px;
}
.qr-upload:hover { border-color: var(--line-bright); background: rgba(12, 36, 59, 0.5); }
.qr-upload img { max-height: 180px; width: auto; max-width: 100%; border-radius: 8px; background: #fff; }
.qr-upload .upload-placeholder { display: grid; justify-items: center; gap: 7px; color: var(--muted); }
.qr-upload .upload-placeholder svg { width: 26px; height: 26px; color: var(--cyan); }
.qr-upload .upload-placeholder strong { font-size: 11px; font-weight: 500; color: var(--text-soft); }
.qr-upload .upload-placeholder span { font-size: 9px; }

/* ---------- chat ---------- */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding-bottom: 0;
}
.chat-head { flex: none; }
.chat-retain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8.5px;
  color: var(--muted);
  padding: 8px 16px;
  border-bottom: 1px solid rgba(94, 166, 225, 0.08);
  background: rgba(4, 14, 25, 0.5);
}
.chat-retain svg { width: 11px; height: 11px; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-date-sep { text-align: center; font-size: 8.5px; color: var(--muted-2); font-family: var(--mono); letter-spacing: 0.08em; margin: 4px 0; }
.chat-msg { display: flex; gap: 8px; max-width: 88%; }
.chat-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg .msg-avatar { width: 28px; height: 28px; border-radius: 9px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.chat-msg .msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-msg .msg-content { display: grid; gap: 4px; }
.chat-msg.mine .msg-content { justify-items: end; }
.msg-bubble {
  padding: 9px 12px;
  background: rgba(13, 33, 54, 0.9);
  border: 1px solid rgba(92, 166, 226, 0.13);
  border-radius: 3px 13px 13px 13px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-soft);
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-msg.mine .msg-bubble {
  background: linear-gradient(140deg, rgba(35, 112, 203, 0.88), rgba(24, 78, 145, 0.88));
  border-color: rgba(104, 199, 255, 0.22);
  border-radius: 13px 3px 13px 13px;
  color: #f0fbff;
}
.msg-time { font-size: 8px; color: var(--muted-2); padding: 0 2px; }
.chat-welcome {
  text-align: center;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  padding: 18px 22px;
}
.chat-welcome .chat-brand { width: 82px; margin: 0 auto 9px; opacity: 0.9; }
.chat-inputbar {
  flex: none;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(93, 168, 228, 0.13);
  background: rgba(4, 13, 23, 0.94);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-inputbar .textarea { min-height: 42px; max-height: 110px; height: 42px; padding: 11px 13px; font-size: 12px; border-radius: 12px; resize: none; overflow-y: auto; line-height: 1.55; }
.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  flex: none;
  color: #03111f;
  background: linear-gradient(135deg, #63d8ff, #2f8dff);
  display: grid;
  place-items: center;
}
.chat-send:disabled { opacity: 0.4; }
.chat-send svg { width: 18px; height: 18px; }
.enterprise-link { color: var(--cyan); display: inline-flex; align-items: center; gap: 3px; border: 0; background: transparent; font-size: 9px; padding: 0; }

/* ---------- auth ---------- */
.auth-page {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.auth-bg-mark {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  max-width: 130%;
  opacity: 0.12;
  filter: blur(0.2px) drop-shadow(0 0 60px rgba(57, 160, 255, 0.35));
  pointer-events: none;
}
.auth-bg-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(93, 177, 244, 0.06) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(93, 177, 244, 0.04) 50%, transparent 50.1%);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 70%);
  pointer-events: none;
}
.auth-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(17px + env(safe-area-inset-top)) 20px 0;
}
.auth-topbar .auth-brand { display: flex; align-items: center; gap: 8px; }
.auth-topbar .auth-brand img { width: 68px; }
.auth-topbar .auth-brand span { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: 0.15em; }
.auth-back { color: var(--muted); border: 0; background: transparent; font-size: 10px; display: flex; align-items: center; gap: 3px; }
.auth-back svg { width: 13px; height: 13px; }
.auth-main {
  position: relative;
  z-index: 2;
  width: min(400px, calc(100% - 32px));
  margin: auto;
  padding: 24px 0 26px;
}
.auth-hero { text-align: center; margin-bottom: 24px; }
.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(99, 192, 255, 0.2);
  background: rgba(16, 43, 70, 0.5);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
}
.auth-chip .dot { width: 4px; height: 4px; }
.auth-hero h1 { font-size: 29px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; }
.auth-hero h1 span {
  background: linear-gradient(100deg, #9cedff, #328cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-hero p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 9px; }
.auth-card {
  border: 1px solid rgba(102, 190, 255, 0.22);
  border-radius: 22px;
  padding: 20px 18px;
  background: linear-gradient(155deg, rgba(12, 31, 53, 0.94), rgba(4, 14, 26, 0.97));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(178, 231, 255, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(22px);
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 224, 255, 0.65), transparent);
}
.auth-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.auth-card-head h2 { font-size: 17px; font-weight: 600; }
.auth-card-head span { font-family: var(--mono); font-size: 8px; color: var(--muted); letter-spacing: 0.1em; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-form .btn { margin-top: 4px; }
.btn-wechat {
  color: #ffffff;
  border-color: rgba(7, 193, 96, 0.55);
  background: linear-gradient(120deg, #08a854, #07c160 58%, #46db95);
  box-shadow: 0 8px 26px rgba(7, 193, 96, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-wechat:hover {
  color: #ffffff;
  background: linear-gradient(120deg, #0bb75d, #09cf69 58%, #63e7a8);
  border-color: rgba(100, 245, 170, 0.6);
  box-shadow: 0 10px 30px rgba(7, 193, 96, 0.28);
}
.btn-wechat svg { color: #fff; }
.auth-card > .btn-wechat { margin-top: 12px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 0;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-tabs + .auth-card-head { margin-top: 0; }
.auth-switch { text-align: center; color: var(--muted); font-size: 10.5px; margin-top: 16px; }
.auth-switch a { color: var(--cyan); margin-left: 4px; }
.auth-legal { text-align: center; color: var(--muted-2); font-size: 8.5px; line-height: 1.7; margin-top: 18px; }
.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }
.auth-admin-link { text-align: center; margin-top: 15px; }
.auth-admin-link a { color: var(--muted-2); font-size: 8.5px; font-family: var(--mono); letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 4px; }
.auth-admin-link a:hover { color: var(--muted); }
.auth-admin-link svg { width: 10px; height: 10px; }
.auth-lock-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 8.5px;
  justify-content: center;
  margin-top: 11px;
}
.auth-lock-hint svg { width: 11px; height: 11px; }
.password-strength { display: flex; gap: 4px; }
.password-strength i { flex: 1; height: 2px; border-radius: 2px; background: rgba(97, 150, 196, 0.18); }
.password-strength i.on { background: var(--green); }
.auth-tabs { display: flex; gap: 3px; background: rgba(4, 14, 25, 0.55); border: 1px solid var(--line); border-radius: 11px; padding: 3px; margin-bottom: 16px; }
.auth-tabs a { flex: 1; text-align: center; padding: 8px; font-size: 11px; border-radius: 8px; color: var(--muted); }
.auth-tabs a.active { color: var(--text); background: rgba(44, 119, 203, 0.3); box-shadow: inset 0 0 0 1px rgba(123, 216, 255, 0.12); }

/* ---------- settings ---------- */
.settings-page { max-width: 560px; margin: 0 auto; }
.settings-group { margin: 0 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 20, 35, 0.66); overflow: hidden; }
.settings-group-title { padding: 13px 15px 4px; font-size: 9px; color: var(--cyan); font-family: var(--mono); letter-spacing: 0.12em; }
.settings-group-body { padding: 13px 15px 16px; display: flex; flex-direction: column; gap: 13px; }
.settings-avatar-row { display: flex; align-items: center; gap: 13px; margin-bottom: 4px; }
.settings-avatar-row .profile-avatar { width: 62px; height: 62px; border-radius: 18px; }
.settings-avatar-row .info { flex: 1; }
.settings-avatar-row strong { font-size: 14px; display: block; }
.settings-avatar-row span { font-size: 9px; color: var(--muted); display: block; margin-top: 4px; line-height: 1.5; }
.settings-save { padding: 4px 16px 24px; }
.settings-account-meta { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); padding-top: 3px; }
.settings-danger { border-color: rgba(255, 107, 134, 0.16); background: rgba(64, 15, 27, 0.18); }

/* wallet / transactions */
.wallet-list { display: flex; flex-direction: column; gap: 1px; }
.wallet-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.wallet-row:last-child { border-bottom: 0; }
.wallet-row .wallet-icon { width: 31px; height: 31px; border-radius: 9px; background: rgba(42, 125, 210, 0.12); border: 1px solid var(--line); color: var(--cyan); display: grid; place-items: center; }
.wallet-row .wallet-icon svg { width: 14px; height: 14px; }
.wallet-row .wallet-info { flex: 1; min-width: 0; }
.wallet-row .wallet-info strong { font-size: 11px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-row .wallet-info span { font-size: 8px; color: var(--muted); display: block; margin-top: 2px; }
.wallet-row .wallet-amount { font-family: var(--mono); font-size: 12px; }
.wallet-row .wallet-amount.plus { color: var(--green); }
.wallet-row .wallet-amount.minus { color: var(--muted); }

/* misc */
.code-line { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.copy-inline { border: 0; background: transparent; color: var(--muted); padding: 2px; }
.copy-inline:hover { color: var(--cyan); }
.copy-inline svg { width: 13px; height: 13px; }
.section-divider-title { display: flex; align-items: center; gap: 9px; padding: 20px 16px 10px; }
.section-divider-title span { font-family: var(--mono); font-size: 8px; color: var(--muted-2); letter-spacing: 0.16em; }
.section-divider-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.toast-inline { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.toast-inline svg { width: 12px; height: 12px; color: var(--green); }

@media (max-width: 360px) {
  .product-grid { gap: 8px; }
  .product-title { font-size: 12px; }
  .player-avatar { width: 56px; height: 56px; }
  .detail-title { font-size: 19px; }
  .topbar-actions .support-pill { padding: 0 10px; }
  .player-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
