/* 聚合挂机 v2.0 - 手机端样式（暗色霓虹科技风） */
:root {
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --bg: #070b14;
  --panel: rgba(15, 22, 38, 0.82);
  --panel2: rgba(20, 30, 50, 0.6);
  --line: rgba(34, 211, 238, 0.14);
  --txt: #e6edf6;
  --dim: #7d8ba3;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  background: #02040a;
  font-family: "SF Pro SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--txt);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.phone-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(800px 400px at 100% 40%, rgba(139, 92, 246, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}

/* ============ 登录/注册页签 ============ */
.gate-tabs {
  display: flex; gap: 8px; margin: 14px 0 16px;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 4px;
}
.gt-tab {
  flex: 1; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 600;
  color: var(--dim); border-radius: 9px; cursor: pointer; transition: all .2s;
}
.gt-tab.active {
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(34,211,238,.25);
}
.gate-hint { font-size: 11px; color: var(--dim); margin-top: 10px; line-height: 1.6; text-align: center; }

/* ============ 绑定授权码弹窗 ============ */
.bind-sub { font-size: 12px; color: var(--dim); margin-bottom: 10px; line-height: 1.6; }
.bind-note { font-size: 11px; color: var(--amber); margin-top: 10px; opacity: .9; }
.bind-getcode { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: var(--cyan); text-decoration: none; cursor: pointer; }
.bind-getcode:hover { text-decoration: underline; opacity: .85; }
/* 【我的】页未授权卡：获取授权码链接位于按钮正下方并居中（flex 容器内占满整行换行） */
#myGetCode { flex-basis: 100%; display: block; text-align: center; margin-top: 8px; font-size: 13px; line-height: 1.5; }
.input.w100 { width: 100%; box-sizing: border-box; }
.m-btn.primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #06121f; font-weight: 700; border-color: transparent;
}
.bind-buy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; padding: 11px 0; border-radius: 12px;
  font-size: 13px; font-weight: 800; text-decoration: none; color: #06121f;
  background: linear-gradient(90deg, var(--amber), #f97316);
  box-shadow: 0 6px 20px rgba(251,191,36,.35);
  animation: buyPulse 2.2s ease-in-out infinite;
}
@keyframes buyPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(251,191,36,.3); }
  50% { box-shadow: 0 6px 30px rgba(251,191,36,.55); }
}

/* ============ 通用页面容器 ============ */
.screen { padding: 56px 14px 88px; }

/* 状态栏（固定顶部，不随内容滚动） */
.statusbar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px 8px; font-size: 12px; color: var(--dim);
  background: rgba(7,11,20,.9); backdrop-filter: blur(12px);
}
.sb-title { color: var(--cyan); font-weight: 600; letter-spacing: 1px; font-size: 13px; }
.sb-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  border: 1px solid var(--line); background: rgba(34,211,238,.08); color: var(--cyan);
  border-radius: 12px; padding: 2px 10px; font-size: 10.5px; cursor: pointer;
  letter-spacing: .5px; transition: all .2s;
}
.lang-btn:hover { background: rgba(34,211,238,.18); box-shadow: 0 0 10px rgba(34,211,238,.25); }
.sb-icons { letter-spacing: 1px; }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  display: flex; background: rgba(8, 12, 22, 0.92);
  border-top: 1px solid var(--line); backdrop-filter: blur(14px);
  padding-bottom: env(safe-area-inset-bottom); z-index: 40;
}
.tab {
  flex: 1; padding: 9px 0 12px; text-align: center; font-size: 11px; color: var(--dim);
  cursor: pointer; transition: color .2s;
}
.tab-ic { display: block; font-size: 19px; margin-bottom: 2px; filter: grayscale(.4); transition: filter .2s; }
.tab.active { color: var(--cyan); }
.tab.active .tab-ic { filter: none; }

/* ============ 首页 ============ */
.home-scroll { padding-bottom: 16px; }
.home-hero {
  position: relative; text-align: center; padding: 6px 2px 4px;
}
.hero-badge {
  display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 11px; font-weight: 700;
  color: #06121f; background: linear-gradient(90deg, var(--amber), #f97316);
  box-shadow: 0 0 18px rgba(251,191,36,.35); letter-spacing: .5px; margin-bottom: 12px;
}
.hero-banner {
  width: 100%; border-radius: 18px; display: block; margin-bottom: 16px;
  border: 1px solid rgba(34,211,238,.22);
  box-shadow: 0 10px 40px rgba(59,130,246,.22);
}
.hero-title { font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: .3px;
  background: linear-gradient(90deg, #e6edf6, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 12.5px; color: #93a5c4; line-height: 1.75; margin-top: 10px; padding: 0 6px; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }
.hero-cta {
  border: none; padding: 12px 26px; border-radius: 24px; font-size: 14px; font-weight: 800; cursor: pointer;
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 26px rgba(34,211,238,.35); letter-spacing: .5px;
}
.hero-buy {
  display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 24px; font-size: 14px; font-weight: 700;
  color: var(--green); border: 1px solid rgba(52,211,153,.4); background: rgba(52,211,153,.1); text-decoration: none;
}
.hero-tg {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 700; color: #06121f; text-decoration: none;
  background: linear-gradient(135deg, rgba(34,211,238,.9), rgba(59,130,246,.9));
  box-shadow: 0 6px 20px rgba(34,211,238,.3);
}
.hero-links { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.hero-dl {
  background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(99,102,241,.95));
  box-shadow: 0 6px 20px rgba(139,92,246,.32);
}
.home-section { margin-top: 22px; }
.hs-title { font-size: 16px; font-weight: 800; letter-spacing: .5px; margin-bottom: 12px; padding-left: 2px;
  display: flex; align-items: center; gap: 8px; }
.hs-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.home-stat {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center;
}
.hs-num { font-size: 17px; font-weight: 800; color: var(--cyan); font-family: Consolas, monospace; }
.hs-label { font-size: 9.5px; color: var(--dim); margin-top: 4px; }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home-step {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px 14px;
  text-align: center; overflow: hidden;
}
.stp-idx { position: absolute; top: 6px; right: 10px; font-size: 22px; font-weight: 800; color: rgba(34,211,238,.12); font-family: Consolas, monospace; }
.stp-ic { font-size: 26px; }
.stp-title { font-size: 13px; font-weight: 700; margin-top: 8px; }
.stp-desc { font-size: 10.5px; color: var(--dim); margin-top: 6px; line-height: 1.6; }
.home-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-feat {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px;
}
.hf-ic { font-size: 22px; }
.hf-title { font-size: 13px; font-weight: 700; margin-top: 8px; }
.hf-desc { font-size: 10.5px; color: var(--dim); margin-top: 5px; line-height: 1.6; }
.home-faq {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden;
}
.hq-q { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.hq-arrow { color: var(--cyan); font-size: 12px; transition: transform .25s; }
.home-faq.open .hq-arrow { transform: rotate(180deg); }
.hq-a { display: none; padding: 0 14px 12px; font-size: 11.5px; color: var(--dim); line-height: 1.7; }
.home-faq.open .hq-a { display: block; }
.home-news { display: flex; flex-direction: column; gap: 8px; }
.home-news-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  cursor: pointer; transition: border-color .2s, transform .15s;
}
.home-news-item:active { transform: scale(.98); border-color: var(--cyan); }
.hn-tag {
  flex-shrink: 0; font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px;
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.hn-title { flex: 1; font-size: 12px; color: var(--txt); line-height: 1.5; }
.hn-date { flex-shrink: 0; font-size: 10px; color: var(--dim); font-family: Consolas, monospace; }
.hn-arrow { flex-shrink: 0; color: var(--cyan); font-size: 14px; }
.news-para { margin: 0 0 10px; font-size: 13px; color: var(--txt); line-height: 1.8; white-space: pre-wrap; }
.news-para:last-child { margin-bottom: 0; }
.news-tag {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px;
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue)); margin-right: 8px;
}
.news-empty { color: var(--dim); font-size: 13px; text-align: center; padding: 12px 0; }
.home-foot { text-align: center; font-size: 10px; color: var(--dim); margin-top: 26px; opacity: .8; }

/* ============ 工作页布局优化 ============ */
#workScreen {
  position: absolute; inset: 40px 0 0; display: flex; flex-direction: column;
  padding: 8px 14px 96px;
}
.work-top { flex-shrink: 0; padding: 4px 0 8px; }
.work-stats { display: flex; gap: 6px; }
.ws-item {
  flex: 1; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; backdrop-filter: blur(6px);
}
.ws-label { display: block; font-size: 10px; color: var(--dim); margin-bottom: 3px; }
.ws-val { font-size: 13px; font-weight: 600; color: var(--cyan); }
.ws-waitinfo {
  display: none; margin-top: 6px; font-size: 11px; color: var(--amber, #ffb800);
  background: rgba(255, 184, 0, .08); border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 8px; padding: 6px 10px; text-align: center;
}

.work-center {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 0 10px; position: relative; min-height: 176px;
  transition: min-height .4s ease, padding .4s ease;
}
.work-center.on {
  min-height: 0; padding: 12px 16px;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 14px;
}
.start-btn {
  width: 132px; height: 132px; border-radius: 50%;
  border: 2px solid var(--cyan);
  background: radial-gradient(circle at 35% 30%, rgba(34,211,238,.28), rgba(59,130,246,.12) 60%, transparent);
  color: var(--cyan); font-size: 26px; font-weight: 700; letter-spacing: 4px;
  cursor: pointer; position: relative; z-index: 2;
  box-shadow: 0 0 30px rgba(34,211,238,.28), 0 0 70px rgba(59,130,246,.18);
  transition: all .45s cubic-bezier(.6,-.28,.735,.045);
}
.start-btn::before, .start-btn::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(34,211,238,.3);
  animation: pulse 2.4s ease-out infinite;
}
.start-btn::after { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(.92); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.start-btn.mini {
  width: 106px; height: 42px; border-radius: 21px;
  font-size: 15px; letter-spacing: 6px; position: static;
  box-shadow: 0 0 18px rgba(34,211,238,.25);
}
.start-btn.mini::before, .start-btn.mini::after { display: none; }
.start-hint { margin-top: 16px; font-size: 11px; color: var(--dim); }
.work-center.on .start-hint { display: none; }

.timer-chip {
  display: none; position: static;
  background: rgba(8, 14, 26, 0.85); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 20px; font-size: 12px;
  color: var(--green); font-family: Consolas, monospace;
  box-shadow: 0 0 16px rgba(52,211,153,.15);
  white-space: nowrap;
}
.timer-chip::before { content: "◉ "; color: var(--green); }

/* 黑客终端 */
.hack-terminal {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  margin-top: 6px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(3, 8, 16, 0.92); overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,.5), inset 0 0 40px rgba(34,211,238,.03);
}
.term-head {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.03);
}
.th-dot { width: 9px; height: 9px; border-radius: 50%; }
.rd { background: #f87171; } .yl { background: #fbbf24; } .gn { background: #34d399; }
.th-title { margin-left: 8px; font-size: 10px; color: var(--dim); font-family: Consolas, monospace; letter-spacing: .5px; }
.term-log {
  flex: 1; min-height: 180px; overflow-y: auto; padding: 10px 12px;
  font-family: Consolas, "Courier New", monospace; font-size: 11.5px; line-height: 1.75;
}
.term-log::-webkit-scrollbar { width: 4px; }
.term-log::-webkit-scrollbar-thumb { background: rgba(34,211,238,.25); border-radius: 2px; }
.line { color: #9fb3cc; white-space: pre-wrap; word-break: break-all; }
.line .ts { color: #46586f; margin-right: 6px; }
.line .tag { color: #22d3ee; margin-right: 6px; font-weight: 700; }
.line.ok { color: #34d399; } .line.ok .tag { color: #34d399; }
.line.fail { color: #f87171; } .line.fail .tag { color: #f87171; }
.line.warn { color: #fbbf24; } .line.warn .tag { color: #fbbf24; }
.line.sys { color: #8b5cf6; } .line.sys .tag { color: #8b5cf6; }
.line.dim { color: #57657d; } .line.dim .tag { color: #57657d; }

/* ============ 我的页 ============ */
.my-scroll { padding-bottom: 10px; }
.my-banner {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #0a1430, #101b3a 55%, #1a1040);
  border: 1px solid rgba(139,92,246,.25);
  padding: 16px; margin-bottom: 14px;
  box-shadow: 0 8px 30px rgba(59,130,246,.15);
}
.banner-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(300px 140px at 80% -10%, rgba(139,92,246,.4), transparent 65%),
    radial-gradient(220px 120px at 10% 110%, rgba(34,211,238,.25), transparent 65%),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px) 0 0/100% 26px;
  opacity: .7;
}
.user-card { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.avatar-wrap {
  width: 58px; height: 58px; border-radius: 50%; padding: 2px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0a1430; }
.u-name-row { display: flex; align-items: center; gap: 8px; }
.u-name { font-size: 17px; font-weight: 700; }
.u-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 10px; color: #06121f;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  font-weight: 700; letter-spacing: 1px;
}
.u-badge.test { background: linear-gradient(90deg, var(--amber), #f97316); color: #1a0f00; }
.u-sub { font-size: 11px; color: #93a5c4; margin-top: 3px; font-family: Consolas, monospace; }

/* 未登录提示卡 */
.login-prompt {
  position: relative; z-index: 1; margin-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px;
}
.lp-icon { font-size: 24px; }
.lp-text { flex: 1; font-size: 12px; color: #c3d1e6; line-height: 1.5; }
.lp-text span { color: var(--dim); font-size: 10px; }
.lp-btn {
  border: none; padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 700;
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue));
  cursor: pointer; box-shadow: 0 0 18px rgba(34,211,238,.3);
}

/* 到期面板 */
.expire-panel {
  position: relative; z-index: 1; margin-top: 14px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(251,191,36,.3);
  border-radius: 12px; padding: 10px;
}
.ep-label { font-size: 10px; color: var(--dim); letter-spacing: 2px; }
.ep-time {
  font-size: 30px; font-weight: 800; color: var(--amber);
  font-family: Consolas, monospace; margin: 2px 0;
  text-shadow: 0 0 20px rgba(251,191,36,.4);
}
.ep-time.sm { font-size: 20px; }
.ep-time.expired { color: var(--red); text-shadow: 0 0 20px rgba(248,113,113,.4); }
.ep-sub { font-size: 10px; color: var(--dim); }

.my-body { display: flex; flex-direction: column; gap: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.card-title { font-size: 13px; font-weight: 600; color: #c3d1e6; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.tag-required {
  font-size: 9px; color: var(--amber); border: 1px solid rgba(251,191,36,.4);
  border-radius: 8px; padding: 1px 6px; font-weight: 400;
}

.points-card {
  background: linear-gradient(135deg, rgba(15,22,38,.95), rgba(23,32,56,.9));
  border-color: rgba(34,211,238,.2);
}
.pc-head { display: flex; justify-content: space-between; align-items: center; }
.pc-label { font-size: 12px; color: var(--dim); }
.pc-unit { font-size: 10px; letter-spacing: 2px; color: var(--cyan); font-family: Consolas, monospace; }
.pc-value {
  font-size: 42px; font-weight: 800; margin: 4px 0 6px;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-family: Consolas, monospace;
}
.pc-foot { display: flex; gap: 18px; font-size: 11px; color: var(--dim); }
.pc-foot b { color: var(--green); font-family: Consolas, monospace; }

.wd-preview { font-size: 26px; font-weight: 700; color: var(--green); margin-bottom: 4px; font-family: Consolas, monospace; }
.wd-rule { font-size: 10.5px; color: var(--dim); margin-bottom: 6px; }
.wd-quota { font-size: 11px; color: var(--cyan); margin-bottom: 8px; font-weight: 600; }
.wd-warn { font-size: 11px; color: #f87171; margin-bottom: 8px; font-weight: 600; }
.wd-row { display: flex; gap: 8px; }
.input {
  flex: 1; background: rgba(4,9,18,.8); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; color: var(--txt); font-size: 13px; outline: none;
  transition: border-color .2s;
}
.input:focus { border-color: var(--cyan); }
.btn-primary {
  border: none; background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #04121f; font-weight: 700; font-size: 13px;
  padding: 0 18px; border-radius: 10px; cursor: pointer;
  box-shadow: 0 0 14px rgba(34,211,238,.25);
}
.btn-primary:disabled { opacity: .5; }
.w100 { width: 100%; padding: 11px; margin-top: 12px; }

.pay-chips { display: flex; gap: 8px; margin-bottom: 10px; }
.pay-chip {
  flex: 1; text-align: center; padding: 10px 0; border-radius: 10px; font-size: 13px;
  border: 1px solid var(--line); color: var(--dim); cursor: pointer; transition: all .2s;
}
.pay-chip.on {
  color: #06121f; font-weight: 700;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-color: transparent; box-shadow: 0 0 14px rgba(52,211,153,.3);
}
.pm-name-row { margin-bottom: 10px; }
.pm-qr { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pm-qr-label { font-size: 11px; color: var(--dim); }
.pm-upload {
  flex: 1; border: 1px dashed rgba(34,211,238,.35); border-radius: 10px;
  padding: 10px; text-align: center; font-size: 12px; color: var(--cyan);
  cursor: pointer; background: rgba(34,211,238,.04);
}
.pm-preview { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.pm-status { font-size: 11px; color: var(--green); margin-top: 2px; }

.records { display: flex; flex-direction: column; gap: 8px; }
.empty-tip { color: var(--dim); font-size: 12px; text-align: center; padding: 10px 0; }
.wd-rec {
  border: 1px solid rgba(255,255,255,.05); border-radius: 10px;
  background: rgba(255,255,255,.03); padding: 9px 11px;
}
.wr-main { display: flex; justify-content: space-between; align-items: center; }
.wr-pts { font-size: 13px; font-weight: 600; }
.wr-status { font-size: 10px; padding: 2px 8px; border-radius: 9px; }
.st-pending { color: var(--amber); background: rgba(251,191,36,.12); }
.st-approved { color: var(--green); background: rgba(52,211,153,.12); }
.st-rejected { color: var(--red); background: rgba(248,113,113,.12); }
.wr-sub { font-size: 10.5px; color: var(--dim); margin-top: 3px; }

.about-box { margin-top: 14px; text-align: center; padding: 16px 8px 6px; }
.ab-logo { font-size: 14px; font-weight: 700; color: var(--cyan); margin-bottom: 6px; }
.ab-desc { font-size: 10.5px; color: var(--dim); line-height: 1.7; padding: 0 14px; }
.ab-note { font-size: 9.5px; color: #3d4c63; margin-top: 8px; }

/* ============ 登录遮罩 ============ */
.gate {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 6, 13, 0.94); backdrop-filter: blur(20px);
  padding: 24px;
}
.gate-card {
  width: 100%; max-width: 380px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 60px rgba(34,211,238,.08);
}
.gate-logo { width: 64px; height: 64px; margin: 0 auto 12px; }
.gate-logo img { width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 0 24px rgba(139,92,246,.4); }
.gate-title { text-align: center; font-size: 20px; font-weight: 800; letter-spacing: 2px; }
.gate-title::after {
  content: ""; display: block; width: 46px; height: 2px; margin: 8px auto 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px; box-shadow: 0 0 10px rgba(34,211,238,.6);
}
.gate-sub { font-size: 11px; color: var(--dim); line-height: 1.7; margin: 12px 0 18px; text-align: center; }
.gate-field { margin-bottom: 12px; }
.gate-field label { display: block; font-size: 11px; color: var(--dim); margin-bottom: 5px; letter-spacing: 1px; }
.gate-field input {
  width: 100%; background: rgba(4,9,18,.85); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; color: var(--txt); font-size: 14px;
  outline: none; transition: border-color .2s;
}
.gate-field input:focus { border-color: var(--cyan); box-shadow: 0 0 12px rgba(34,211,238,.12); }
.gate-hint { font-size: 10px; color: #3d4c63; margin: 4px 0 14px; }
.gate-btn {
  width: 100%; padding: 13px; border: none; border-radius: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: #04121f; font-size: 15px; font-weight: 800; letter-spacing: 6px;
  cursor: pointer; box-shadow: 0 0 24px rgba(34,211,238,.3);
}
.gate-btn:disabled { opacity: .55; }
.gate-get {
  margin-top: 14px; text-align: center; font-size: 12px; color: var(--cyan);
  cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
  opacity: .9; letter-spacing: .5px;
}
.gate-get:hover { opacity: 1; }

/* ============ 社交弹窗 ============ */
.contact-sub { font-size: 12px; color: var(--dim); margin-bottom: 12px; line-height: 1.6; }
.soc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 8px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--txt); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.soc-item:hover { border-color: var(--cyan); background: rgba(34,211,238,.08); }
.soc-ic { font-size: 20px; width: 28px; text-align: center; }

/* ============ TRC20 收款 ============ */
.trc-badge {
  display: inline-block; margin-bottom: 10px; padding: 3px 12px;
  border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: #06121f; background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 14px rgba(52,211,153,.25);
}

/* ============ 弹窗 ============ */
.modal {
  position: fixed; inset: 0; z-index: 90; display: flex;
  align-items: center; justify-content: center;
  background: rgba(2, 4, 10, 0.72); backdrop-filter: blur(8px); padding: 28px;
}
.modal-card {
  width: 100%; max-width: 330px; background: #0d1526;
  border: 1px solid rgba(251,191,36,.35); border-radius: 16px; padding: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,.6), 0 0 40px rgba(251,191,36,.08);
  animation: mpop .28s ease;
}
@keyframes mpop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.m-title { font-size: 15px; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.m-body { font-size: 13px; color: #c3d1e6; line-height: 1.7; margin-bottom: 18px; }
.m-btns { display: flex; justify-content: flex-end; gap: 10px; }
.m-btn {
  border: none; padding: 8px 22px; border-radius: 18px; font-size: 13px; font-weight: 700;
  color: #06121f; background: linear-gradient(90deg, var(--cyan), var(--blue)); cursor: pointer;
}
.m-btn.ghost { background: rgba(255,255,255,.07); color: #8fa3c0; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(16px);
  background: rgba(13, 21, 38, 0.95); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 18px; font-size: 13px; color: var(--txt);
  opacity: 0; pointer-events: none; transition: all .3s; z-index: 100;
  max-width: 86%; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 900px) {
  body { background: #02040a; }
  .phone-shell {
    margin: 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 30px 90px rgba(0,0,0,.8);
    min-height: 100vh;
  }
  .tabbar, .gate { left: 50%; transform: translateX(-50%); }
  .tabbar { transform: translateX(-50%); }
}

/* ============ 浮动标签（Floating Label） ============ */
.gate-field { position: relative; margin-bottom: 12px; }
.gate-field label {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: #5a6c85; letter-spacing: 1px;
  pointer-events: none; transition: all .16s ease;
}
.gate-field input { padding: 16px 13px 12px; }
.gate-field input:focus + label,
.gate-field input:not(:placeholder-shown) + label {
  top: 0; transform: translateY(-50%); font-size: 9px; color: var(--cyan);
  background: rgba(4,9,18,.94); padding: 0 5px; letter-spacing: .8px;
  border-radius: 3px;
}
.field { position: relative; }
.field .input { padding: 16px 13px 12px; }
.field label {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: #5a6c85; pointer-events: none; transition: all .16s ease;
}
.field .input:focus + label,
.field .input:not(:placeholder-shown) + label {
  top: 0; transform: translateY(-50%); font-size: 9px; color: var(--cyan);
  background: rgba(4,9,18,.94); padding: 0 5px;
  border-radius: 3px;
}
.field.grow { flex: 1; min-width: 0; }
.wd-row .field .input { width: 100%; }
/* 修复：.w100 的 margin-top 使输入框下移，导致 label 参考系错位（上浮时不在边框线上） */
.field .input.w100 { margin-top: 0; }

/* ============ 交互动效增强 ============ */
button, .tab, .home-faq .hq-q, .home-news-item, .soc-item, .pay-chip, .m-btn, .gate-get, a, .start-btn, .stp-ic, .hf-ic {
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .22s ease, border-color .2s ease,
              background .2s ease, color .2s ease, opacity .2s ease, filter .2s ease;
}
button:active, .tab:active, .home-faq .hq-q:active, .home-news-item:active,
.soc-item:active, .pay-chip:active, .m-btn:active, .gate-get:active, .start-btn:active { transform: scale(.96); }
.tab:hover, .home-news-item:hover { background: rgba(34,211,238,.07); }
.btn-primary:hover, .gate-btn:hover, .m-btn.primary:hover, .hero-cta:hover, .hero-tg:hover {
  filter: brightness(1.12); box-shadow: 0 0 24px rgba(34,211,238,.42);
}
.btn-primary:active, .gate-btn:active, .m-btn.primary:active { transform: scale(.97); }
.hero-cta, .hero-tg { transition: transform .15s ease, filter .2s ease, box-shadow .2s ease; }
.hero-cta:hover, .hero-tg:hover { transform: translateY(-1px); }
.soc-item:hover { transform: translateX(3px); }

/* 维护页 */
.mnt-screen { display: flex; align-items: center; justify-content: center; }
.mnt-wrap { text-align: center; padding: 0 40px; width: 100%; }
.mnt-logo img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; display: block; box-shadow: 0 10px 34px rgba(0,0,0,.5); }
.mnt-icon { font-size: 30px; margin-bottom: 16px; animation: mntSpin 3.2s linear infinite; }
.mnt-title { font-size: 22px; font-weight: 700; color: var(--txt); margin-bottom: 12px; letter-spacing: .5px; }
.mnt-desc { font-size: 14px; color: var(--dim); line-height: 1.7; margin-bottom: 22px; }
.mnt-hint { font-size: 12px; color: var(--dim); opacity: .75; }
@keyframes mntSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============ 维护页 ============ */
.mnt-screen { display: flex; align-items: center; justify-content: center; }
.mnt-wrap { text-align: center; padding: 40px 36px; }
.mnt-logo img { width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 22px; display: block; box-shadow: 0 10px 34px rgba(0,0,0,.5); }
.mnt-icon { font-size: 36px; margin-bottom: 14px; animation: mntSpin 3.2s linear infinite; }
.mnt-title { font-size: 22px; font-weight: 700; color: var(--txt); margin-bottom: 12px; }
.mnt-desc { font-size: 13.5px; color: var(--dim); line-height: 1.7; margin-bottom: 22px; max-width: 300px; }
.mnt-hint { font-size: 12px; color: var(--dim); opacity: .75; }
@keyframes mntSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============ 收款设置入口（我的页） ============ */
.pm-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  background: rgba(34,211,238,.04); transition: transform .15s, background .2s; }
.pm-entry:active { transform: scale(.985); background: rgba(34,211,238,.10); }
.pm-entry-main { font-size: 13px; font-weight: 600; color: var(--txt); }
.pm-entry-sub { font-size: 11px; color: var(--dim); margin-top: 3px; line-height: 1.5; }
.pm-entry-arrow { font-size: 20px; color: var(--cyan); flex: none; line-height: 1; }

/* ============ 收款设置页（独立视图 · 顶部固定全屏） ============ */
.pay-screen { position: fixed; inset: 0; z-index: 60; padding: 0; display: flex; flex-direction: column;
  background: var(--bg); }
.pay-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  border-bottom: 1px solid rgba(34,211,238,.14);
  background: linear-gradient(180deg, rgba(13,20,36,.98), rgba(7,11,20,.95));
  box-shadow: 0 6px 20px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
.pay-back { font-size: 22px; line-height: 1; color: var(--txt); background: transparent; border: none;
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .15s; }
.pay-back:hover { background: rgba(34,211,238,.14); }
.pay-back:active { background: rgba(34,211,238,.22); transform: scale(.9); }
.pay-title { flex: 1; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: .5px;
  text-shadow: 0 1px 6px rgba(34,211,238,.25); }
.pay-top-spacer { width: 36px; }
.pay-scroll { flex: 1; overflow-y: auto; padding: 18px 20px 34px; }
.pay-tip { font-size: 12px; color: var(--dim); margin-bottom: 16px; line-height: 1.6;
  padding: 10px 12px; border: 1px dashed rgba(34,211,238,.25); border-radius: 10px;
  background: rgba(34,211,238,.05); }
.pay-card { background: linear-gradient(180deg, rgba(22,32,54,.6), rgba(10,16,28,.55));
  border: 1px solid rgba(34,211,238,.12); border-radius: 16px; padding: 15px 16px; margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.pay-card:hover { border-color: rgba(34,211,238,.28); }
.pay-method { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.pay-dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.pay-dot svg { display: block; }
.pay-name { font-size: 14px; font-weight: 700; }
.pay-status { margin-top: 10px; font-size: 12px; color: var(--dim); text-align: center; min-height: 16px; }

/* 收款码上传 */
.qr-row { margin-top: 12px; }
.qr-preview {
  width: 100%; height: 96px; border: 1.5px dashed var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(255,255,255,.04); cursor: pointer; position: relative; transition: border-color .2s;
}
.qr-preview:hover { border-color: var(--cyan); }
.qr-preview img { max-height: 96px; max-width: 100%; object-fit: contain; border-radius: 8px; }
.qr-ph { font-size: 12px; color: var(--dim); }
.qr-clear {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(220,38,38,.9); color: #fff; font-size: 13px; line-height: 22px; text-align: center;
  cursor: pointer; border: none; z-index: 2;
}
.qr-row .pay-card .field { margin-top: 12px; }

/* ============ 提现收款方式选择 ============ */
.wd-methods { display: flex; gap: 8px; margin: 10px 0 8px; }
.wd-m { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center;
  font-size: 12px; font-weight: 700; padding: 8px 0; border-radius: 10px;
  border: 1px solid var(--line); color: var(--dim); cursor: pointer; background: transparent; transition: all .2s; }
.wd-m svg { flex: none; }
.wd-m.active { color: #04121f; background: linear-gradient(135deg, var(--cyan), var(--blue)); border-color: transparent;
  box-shadow: 0 4px 14px rgba(34,211,238,.25); }
.wd-m:active { transform: scale(.96); }
.wd-acc { font-size: 11px; color: var(--dim); margin-bottom: 4px; line-height: 1.6; min-height: 14px; word-break: break-all; }
.wd-acc b { color: var(--cyan); font-weight: 600; }

/* ============ 等级制度（1-9 级 · 分享审核升级） ============ */
.lv-entry { display: flex; align-items: center; gap: 12px; padding: 14px 0 4px; cursor: pointer; }
.lv-badge { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: #fff; background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 4px 14px rgba(245, 158, 11, .35); flex: none; }
.lv-info { flex: 1; min-width: 0; }
.lv-main { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.lv-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 5px; }
.lv-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #fbbf24, #ef4444); border-radius: 99px; transition: width .4s; }
.lv-sub { font-size: 11px; color: var(--dim); }
.tag-required { margin-left: auto; font-size: 10px; color: #f59e0b; background: rgba(245, 158, 11, .12);
  padding: 2px 8px; border-radius: 99px; font-weight: 700; }

.share-hero { background: linear-gradient(135deg, #7c3aed, #2563eb); border-radius: 18px; padding: 18px 16px;
  color: #fff; margin-bottom: 14px; text-align: center; }
.share-lv { font-size: 30px; font-weight: 900; }
.share-lv-name { font-size: 13px; opacity: .9; margin: 4px 0 10px; }
.share-bar { height: 8px; background: rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.share-bar-fill { height: 100%; width: 0; background: #fff; border-radius: 99px; transition: width .4s; }
.share-progress { font-size: 12px; opacity: .95; margin-bottom: 8px; }
.share-limits { font-size: 12px; opacity: .95; margin-bottom: 6px; }
.share-quota { font-size: 12px; opacity: .95; margin-bottom: 8px; }

/* 复制分享文案 */
.share-copy-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.btn-ghost { flex: none; font-size: 12px; font-weight: 800; color: #7c3aed; background: rgba(124, 58, 237, .10);
  border: 1px solid rgba(124, 58, 237, .35); border-radius: 10px; padding: 9px 14px; cursor: pointer; transition: all .2s; }
.btn-ghost:active { transform: scale(.96); }
.share-post-hint { font-size: 11px; color: #ef4444; font-weight: 600; line-height: 1.5; }
.share-reward { font-size: 12px; opacity: .95; margin-top: 3px; }

.lv-table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.lv-table-title { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.lv-row { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.lv-row:last-child { border-bottom: none; }
.lv-row.cur { background: rgba(245, 158, 11, .10); border-radius: 10px; padding: 7px 8px; margin: 0 -8px; }
.lv-cell-lv { width: 40px; font-weight: 900; }
.lv-cell { flex: 1; color: var(--dim); }
.lv-cell-need { width: 56px; text-align: right; color: var(--dim); }
.lv-row.cur .lv-cell-need { color: #f59e0b; font-weight: 800; }

.share-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; margin-bottom: 12px; }
.share-card-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.share-tip { font-size: 12px; color: var(--dim); line-height: 1.6; margin-bottom: 12px; }
.share-img-box { margin-bottom: 12px; }
.share-img-pick { display: flex; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--line);
  border-radius: 12px; padding: 22px; font-size: 13px; color: var(--dim); cursor: pointer; }
.share-img-pick:active { transform: scale(.98); }
#sharePreview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; display: block; }
.sh-rec { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sh-rec:last-child { border-bottom: none; }
