:root {
  /* ===== 91赚 · 沿用 H5 任务厅线上红粉视觉 ===== */
  --brand: #FF4D4F;
  --brand-600: #E63946;
  --brand2: #FF4D4F;
  --brand-grad: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%);
  --brand-soft: #FFEDED;
  --money: #ff761e;
  --money-soft: #FFF6E6;
  --gold: #ff761e;
  --green: #1CC488;
  --green-deep: #0F9C66;
  --bg: #F4F5F9;
  --card: #FFFFFF;
  --text: #15181E;
  --text-2: #5B6270;
  --text-3: #9AA1AD;
  --line: #ECEEF3;
  --shadow: 0 2px 8px rgba(16, 24, 40, .05);
  --sb: 0 6px 20px rgba(230, 57, 70, .30);
}
[data-theme="dark"] {
  --bg: #0E1117;
  --card: #181E2B;
  --text: #EAF0FF;
  --text-2: #93A0BD;
  --text-3: #6B7488;
  --line: #262E40;
  --shadow: 0 6px 20px rgba(0, 0, 0, .35);
  --brand-soft: rgba(255, 77, 79, .18);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Alibaba PuHuiTi", "Source Han Sans", "Noto Sans SC", "HarmonyOS Sans", "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: 72px;
}

/* ===== 顶栏 logo 方块（沿用 H5：红粉渐变方块 + 白字） ===== */
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--brand-grad); color: #fff;
  font-weight: 900; font-size: 14px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

/* ===== 顶栏 ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--sb);
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.theme-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 16px;
  background: rgba(255, 255, 255, .2); color: #fff;
}

/* ===== Hero ===== */
.hero {
  margin: 14px 14px 0;
  border-radius: 18px;
  padding: 22px 18px;
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230, 57, 70, .22);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
}
.hero .tag {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: rgba(255, 255, 255, .22); margin-bottom: 10px;
}
.hero h1 { margin: 0 0 6px; font-size: 23px; font-weight: 800; }
.hero p { margin: 0; opacity: .94; font-size: 13px; }
.hero .cta {
  margin-top: 16px; display: inline-block;
  background: rgba(255, 255, 255, .95); color: var(--brand-600); font-weight: 800;
  padding: 10px 22px; border-radius: 24px; text-decoration: none; font-size: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* ===== 数据条 ===== */
.stats {
  display: flex; margin: 14px 14px 0; gap: 10px;
}
.stat {
  flex: 1; background: var(--card); border-radius: 14px; padding: 14px 8px;
  text-align: center; box-shadow: var(--shadow);
}
.stat .num { font-size: 22px; font-weight: 800; color: var(--brand); }
.stat .num small { font-size: 13px; }
.stat .lab { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.slogan { text-align: center; color: var(--text-2); font-size: 12px; margin: 12px 0 0; }

/* ===== 实时结算（横向跑马灯，照竞品紧凑一行） ===== */
.feed {
  margin: 14px 14px 0; background: var(--card); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; align-items: center; padding: 8px 12px;
}
.feed-head {
  flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 0;
  font-weight: 700; font-size: 13px; border-bottom: none; border-right: 1px solid var(--line);
}
.feed-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.feed-track { flex: 1; height: 22px; overflow: hidden; position: relative; margin-left: 10px; }
.feed-list {
  position: absolute; left: 0; top: 0; height: 100%;
  display: flex; align-items: center; white-space: nowrap;
  will-change: transform;
  animation: feedX var(--feed-dur, 18s) linear infinite;
}
@keyframes feedX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.feed-item {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 16px; font-size: 13px; border-bottom: none; white-space: nowrap;
}
.feed-item .who { color: var(--text-2); }
.feed-item .plat { font-weight: 700; color: var(--brand); }
.feed-item .amt { color: var(--green); font-weight: 800; margin: 0 4px; }
.feed-item .time { color: var(--text-2); font-size: 11px; }

/* ===== 教程 ===== */
.section-title { margin: 22px 16px 10px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 4px; height: 16px; border-radius: 3px; background: var(--brand-grad); }
.tutorial { margin: 0 14px; background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.tut-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.tut-step + .tut-step { border-top: 1px solid var(--line); }
.tut-step .no {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.tut-step .t { font-weight: 700; }
.tut-step .d { font-size: 12px; color: var(--text-2); }
.tut-link { display: block; text-align: center; margin-top: 12px; color: var(--brand); font-weight: 700; text-decoration: none; font-size: 13px; }

/* 教程 banner（新手必看卡片） */
.tut-banner {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--brand-soft); border: 1px solid rgba(230, 57, 70, .18);
  border-radius: 14px; padding: 14px 12px; margin-bottom: 12px;
}
.tut-banner-ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-grad); display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, .3);
}
.tut-banner-tx { flex: 1; min-width: 0; }
.tut-banner-t { font-size: 14.5px; font-weight: 800; color: var(--brand-600); }
.tut-banner-d { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.tut-badge {
  flex: none; padding: 3px 8px; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 800;
}

/* 三步骤卡 */
.tut-steps3 { display: flex; gap: 10px; }
.tut3 {
  flex: 1; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 8px; text-align: center;
}
.tut3 .no {
  width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 6px;
  background: var(--brand-grad); color: #fff; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800;
}
.tut3 .t { font-size: 13.5px; font-weight: 800; }
.tut3 .d { font-size: 11px; color: var(--text-2); margin-top: 3px; line-height: 1.5; }

/* ===== 新手完整教程弹窗 ===== */
.tut-mask {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(0, 0, 0, .55);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.tut-mask.show { display: flex; }
.tut-box {
  width: 100%; max-width: 380px; max-height: 86vh;
  background: var(--card); border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.tut-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.tut-head-t { font-size: 17px; font-weight: 800; color: var(--brand-600); }
.tut-x {
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--line-2); color: var(--text-2); font-size: 20px; line-height: 1;
}
.tut-body { flex: 1; overflow-y: auto; padding: 16px 16px 4px; -webkit-overflow-scrolling: touch; }
.tut-item { margin-bottom: 14px; }
.tut-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px;
}
.tut-h .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-grad); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.tut-h.warn-h { color: var(--warn); }
.tut-c { padding-left: 32px; }
.tut-c p { font-size: 13px; color: var(--text); line-height: 1.75; margin: 2px 0; }
.tut-c ul, .tut-c ol { margin: 4px 0; padding-left: 18px; }
.tut-c li { font-size: 13px; color: var(--text); line-height: 1.85; }
.tut-tip {
  margin-top: 8px; padding: 9px 12px; border-radius: 10px;
  background: var(--money-soft, #FFF6E6); color: #B45309;
  font-size: 12px; line-height: 1.6;
}
.tut-item.warn { border: 1px dashed var(--warn); border-radius: 14px; padding: 12px 10px 2px; }
.tut-foot { flex: none; display: flex; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.tut-btn {
  flex: 1; padding: 13px 0; border-radius: 24px; border: none;
  font-size: 14.5px; font-weight: 800; cursor: pointer;
}
.tut-btn.ghost { background: var(--line-2); color: var(--text-2); }
.tut-btn.primary { background: var(--brand-grad); color: #fff; box-shadow: 0 4px 14px rgba(230, 57, 70, .35); }
.tut-btn:active { transform: scale(.98); }

/* ===== 常见问题 FAQ ===== */
.faq-mask {
  position: fixed; inset: 0; z-index: 4200;
  background: rgba(0, 0, 0, .55);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.faq-mask.show { display: flex; }
.faq-box {
  width: 100%; max-width: 380px; max-height: 84vh;
  background: var(--card); border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.faq-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.faq-head-t { font-size: 17px; font-weight: 800; color: var(--text); }
.faq-x {
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--line-2); color: var(--text-2); font-size: 20px; line-height: 1;
}
.faq-body { flex: 1; overflow-y: auto; padding: 14px 16px 4px; -webkit-overflow-scrolling: touch; }
.faq-warn { background: var(--money-soft); border: 1px solid #FFE0B2; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.faq-warn-t { font-size: 13.5px; font-weight: 800; color: #B45309; margin-bottom: 6px; }
.faq-warn-c p { font-size: 12.5px; color: var(--text); line-height: 1.75; margin: 3px 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer;
}
.faq-q .ar { color: var(--text-3); font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q .ar { transform: rotate(90deg); }
.faq-a { display: none; padding: 0 2px 13px; font-size: 12.5px; color: var(--text-2); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.faq-tip { font-size: 11.5px; color: var(--text-3); line-height: 1.7; padding: 12px 2px 6px; }
.faq-foot { flex: none; padding: 10px 16px 16px; border-top: 1px solid var(--line); }
.faq-btn {
  width: 100%; padding: 13px 0; border-radius: 24px; border: none;
  background: var(--brand-grad); color: #fff; font-size: 14.5px; font-weight: 800; cursor: pointer;
}

/* ===== 在线客服·立即结算 ===== */
.cs-mask {
  position: fixed; inset: 0; z-index: 4300;
  background: rgba(0, 0, 0, .55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cs-mask.show { display: flex; }
.cs-modal {
  width: 100%; max-width: 320px; background: var(--card); border-radius: 20px;
  padding: 22px 20px 20px; text-align: center; position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.cs-modal .faq-x { position: absolute; right: 12px; top: 12px; }
.cs-m-t { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.cs-m-btn {
  display: block; padding: 13px 0; border-radius: 24px; text-decoration: none;
  background: var(--brand-grad); color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(230, 57, 70, .35);
}
.cs-m-tip { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin: 14px 0 10px; }
.cs-m-wx {
  width: 100%; padding: 11px 0; border-radius: 22px; cursor: pointer;
  border: 1px solid var(--brand); background: var(--card); color: var(--brand);
  font-size: 13.5px; font-weight: 800;
}
.cs-m-sub { font-size: 12px; color: var(--text-2); margin-top: 10px; }
.cs-m-close {
  margin-top: 14px; width: 100%; padding: 11px 0; border-radius: 22px; border: none;
  background: var(--line-2); color: var(--text-2); font-size: 13.5px; font-weight: 700; cursor: pointer;
}

/* ===== 分类 tab 头部说明（照竞品排版） ===== */
.tab-head { margin: 10px 14px 0; }
.tab-head-t { font-size: 16px; font-weight: 800; color: var(--text); }
.tab-head-d {
  margin-top: 8px; font-size: 12.5px; color: var(--text-2); line-height: 1.8;
  background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.tab-stat { display: flex; gap: 8px; margin: 10px 14px 0; flex-wrap: wrap; }
.ts-pill {
  font-size: 12px; padding: 5px 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); color: var(--text-2);
}
.ts-pill .ts-n { color: var(--brand); font-weight: 800; }
.ts-pill.g { background: #EAF7F1; border-color: #C6E9DA; color: #0F9C66; }
.ts-pill.b { background: #FDF0F5; border-color: #FBD5E4; color: #E0458A; }
.tab-upd {
  margin: 10px 14px 0; padding: 10px 14px; border-radius: 12px;
  background: var(--brand-soft); border: 1px dashed var(--brand);
  display: flex; flex-direction: column; gap: 4px;
}
.tab-upd .tu-date { font-size: 12px; font-weight: 800; color: var(--brand-600); }
.tab-upd .tu-add { font-size: 12px; color: var(--text-2); }

/* ===== 卡片：试玩/自营/其他网赚版式 ===== */
.ptask { font-size: 12.5px; color: var(--text-2); margin-top: 4px; }
.pusers { font-size: 11px; color: var(--text-3); margin-top: 5px; }
.money-tag { color: var(--gold); font-size: 13px; margin-left: 4px; }
.official {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-600); font-weight: 800;
}
.pcard.self { align-items: center; }
.self-right { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.self-price { font-size: 15px; font-weight: 800; color: var(--brand); }

/* ===== 底部4分类导航（照竞品 footer-bar） ===== */
.footer-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 480px;
  background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .05); z-index: 70;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.footer-tab-inner { display: flex; }
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 0 8px; cursor: pointer; color: var(--text-3);
  font-size: 10.5px; font-weight: 600; transition: color .2s;
}
.tab-item.active { color: var(--brand); }
.tab-icon-wrap { width: 24px; height: 24px; display: grid; place-items: center; }
.tab-item.active .tab-icon-wrap { filter: drop-shadow(0 2px 6px rgba(230, 57, 70, .35)); }

/* ===== 悬浮按钮 ===== */
.float-settle {
  position: fixed; left: 12px; bottom: 92px; z-index: 88;
  padding: 12px 16px; border: none; border-radius: 22px; cursor: pointer;
  background: linear-gradient(135deg, #FF6B6B, #E63946); color: #fff;
  font-size: 13.5px; font-weight: 800; box-shadow: 0 6px 18px rgba(230, 57, 70, .38);
}
.float-settle:active { transform: scale(.97); }
.float-faq {
  position: fixed; right: 12px; bottom: 92px; z-index: 88;
  width: 56px; height: 56px; border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, #FF8A3D, #FF5722); color: #fff;
  font-size: 11px; font-weight: 800; box-shadow: 0 6px 18px rgba(255, 87, 34, .34);
  line-height: 1.15; padding: 4px;
}
.float-faq:active { transform: scale(.97); }
.back-top {
  position: fixed; right: 14px; bottom: 158px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand-grad); color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(230, 57, 70, .38);
}

/* 直接跳转按钮 / 二维码 / 口令 */
.jump-btn {
  display: block; text-align: center; text-decoration: none;
  margin-top: 12px; padding: 13px 0; border-radius: 24px;
  background: linear-gradient(135deg, #07C160, #05a350); color: #fff;
  font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(7,193,96,.32);
  border: none; cursor: pointer;
}
.jump-btn:active { transform: scale(.98); }
.jump-tip {
  margin-top: 6px; font-size: 11.5px; color: var(--text-3); text-align: center; line-height: 1.5;
}
.qr-title {
  margin-top: 12px; text-align: center; font-size: 12.5px;
  color: var(--brand-600); font-weight: 700;
}
.qr-box {
  margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  cursor: zoom-in; text-align: center; background: #fff;
}
.qr-box img { width: 100%; max-width: 240px; display: block; margin: 0 auto; }

/* 操作图区 + 温馨提示 */
.ops-title {
  margin-top: 14px; text-align: center; font-size: 12.5px;
  color: var(--brand-600); font-weight: 700;
}
.ops-title2 {
  margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.ops-empty {
  margin-top: 14px; padding: 16px; border-radius: 12px;
  background: var(--line-2); color: var(--text-3);
  font-size: 12.5px; text-align: center;
}
.warm-tip {
  margin-top: 12px; padding: 9px 12px; border-radius: 10px;
  background: var(--money-soft); color: #B45309; font-size: 12px; line-height: 1.7;
}
.ops-img {
  margin-top: 12px; position: relative; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  min-height: 220px; background: var(--bg);
}
.ops-img img { width: 100%; display: block; }
.ops-tip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62));
  color: #fff; font-size: 11.5px; padding: 16px 10px 8px; text-align: center;
}

/* 图片放大遮罩 */
.zoom-mask {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0, 0, 0, .92);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.zoom-mask.show { display: flex; }
.zoom-img { max-width: 100%; max-height: 84vh; border-radius: 8px; display: block; }
.zoom-x {
  position: absolute; top: 14px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .22); color: #fff; font-size: 24px; line-height: 1;
}

/* ===== 分类 tab（悬赏/试玩/自营/其他） ===== */
.cat-tabs {
  display: flex; gap: 8px; margin: 12px 14px 0;
  border-bottom: 2px solid var(--line); padding-bottom: 10px;
}
.cat-tab {
  flex: 1; text-align: center; padding: 9px 0; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--text-2);
  border-radius: 10px 10px 0 0; transition: all .2s;
}
.cat-tab.active {
  background: var(--brand-grad); color: #fff; font-weight: 800;
  box-shadow: 0 4px 12px rgba(230, 57, 70, .28);
}
.cat-empty {
  display: none; margin: 30px 14px; padding: 30px 20px;
  text-align: center; font-size: 13.5px; color: var(--text-2);
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  line-height: 1.8;
}

/* ===== 平台列表 ===== */
.filter { display: flex; gap: 8px; margin: 12px 14px 0; flex-wrap: wrap; }
.chip {
  padding: 6px 14px; border-radius: 18px; font-size: 13px; cursor: pointer;
  background: var(--card); color: var(--text-2); border: 1px solid var(--line);
}
.chip.active { background: var(--brand-grad); color: #fff; border-color: transparent; }
.list-meta { margin: 12px 16px 0; font-size: 12px; color: var(--text-2); }
.platforms { margin: 10px 14px 0; display: grid; gap: 12px; }
.pcard {
  background: var(--card); border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
}
.avatar {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px; color: #fff; font-weight: 800;
  overflow: hidden; background: var(--line-2);
}
.avatar-img {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  object-fit: cover; background: #fff; border: 1px solid var(--line);
}
.pinfo { flex: 1; min-width: 0; }
.pname { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.star { font-size: 11px; color: var(--gold); background: #FFF1E6; padding: 1px 7px; border-radius: 10px; font-weight: 700; }
.star.hot { color: #fff; background: linear-gradient(135deg, #FF7A45, #FF4D4F); }
.pmeta { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.pmeta b { color: var(--green-deep); }
.os { display: inline-flex; gap: 4px; margin-top: 6px; }
.os span { font-size: 10px; padding: 1px 7px; border-radius: 8px; background: #EEF2FF; color: var(--brand); font-weight: 700; }
.os span.ios { background: #FDEEF5; color: #E0458A; }
.pbtn {
  flex: none; align-self: center; padding: 9px 16px; border-radius: 22px; border: none;
  background: var(--brand-grad); color: #fff;
  font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 12px rgba(230, 57, 70, .3);
}

/* ===== 免责 + 底部 ===== */
.disclaimer {
  margin: 22px 14px 0; background: var(--card); border-radius: 14px; padding: 14px 16px;
  font-size: 12px; color: var(--text-2); line-height: 1.7; box-shadow: var(--shadow);
}
.disclaimer b { color: var(--text); }
.footer {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: flex; background: var(--card);
  border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(0, 0, 0, .05); z-index: 60;
}
.footer a {
  flex: 1; text-align: center; padding: 10px 0; text-decoration: none;
  color: var(--text-2); font-size: 12px; display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.footer a .ic { font-size: 18px; }
.footer a.primary { color: var(--brand); font-weight: 700; }

/* 平台卡片 已接入/待接入 */
.pcard.off { opacity: .96; }
.pcard.off .pbtn { background: #C7CDDA; box-shadow: none; }
.badge { font-size: 10px; padding: 1px 7px; border-radius: 10px; font-weight: 700; }
.badge.ok { color: #fff; background: linear-gradient(135deg, #1CC488, #0F9C66); }
.badge.todo { color: #8A93A6; background: #EDF0F6; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .55); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--card); border-radius: 18px; padding: 22px; max-width: 350px; width: 100%;
  position: relative; text-align: left; box-shadow: var(--shadow);
  max-height: 80vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.modal .x {
  position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: var(--line); color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer;
}
.modal h3 { margin: 0 0 10px; font-size: 18px; padding-right: 28px; color: var(--text); }
.modal .mbody p { margin: 6px 0; font-size: 13px; color: var(--text-2); }
.modal .mbody .tip { margin-top: 12px; padding: 10px 12px; background: #FFF1E6; color: #7A4B00; border-radius: 10px; font-size: 12px; }
.codebox {
  display: flex; align-items: center; gap: 10px; margin: 12px 0;
  background: var(--bg); border: 1px dashed var(--brand); border-radius: 12px; padding: 12px 14px;
}
.codebox .ct { flex: 1; min-width: 0; }
.codebox .ck { font-size: 12px; color: var(--text-2); }
.codebox .cv { font-weight: 800; font-size: 16px; color: var(--brand); word-break: break-all; }
.codebox .copy {
  flex: none; border: none; border-radius: 20px; padding: 8px 14px; cursor: pointer;
  background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 13px;
}

/* 结算块：在线客服 */
.csbox {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--brand-soft); border: 1px dashed var(--brand);
}
.csbox .cs-h { font-size: 13px; font-weight: 800; color: var(--brand-600); margin-bottom: 8px; }
.csbox .cs-list { margin: 0 0 12px; padding-left: 20px; }
.csbox .cs-list li { font-size: 12.5px; color: var(--text); line-height: 1.8; }
.csbox .cs-kf { display: block; text-decoration: none; margin-bottom: 8px; }
.csbox .cs-kf-b {
  display: block; text-align: center; padding: 12px 18px; border-radius: 24px;
  background: #07C160; color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 12px rgba(7, 193, 96, .32);
}
.csbox .cs-kf:active .cs-kf-b { transform: scale(.98); }
.csbox .cs-copy {
  width: 100%; padding: 11px 18px; border-radius: 24px; border: 1px solid var(--brand);
  background: var(--card); color: var(--brand);
  font-weight: 800; font-size: 14px; cursor: pointer;
}
.csbox .cs-copy:active { transform: scale(.98); }
.csbox .cs-tip { font-size: 11px; color: var(--text-3); margin-top: 10px; text-align: center; line-height: 1.6; }
.steps { margin: 12px 0 0; }
.steps .st { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.steps ol { margin: 0; padding-left: 0; list-style: none; counter-reset: s; }
.steps ol li {
  display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; font-size: 13px; color: var(--text);
  border-top: 1px solid var(--line);
}
.steps ol li span {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* ===== 登录后欢迎弹窗（91赚 H5 红粉风格） ===== */
.welcome-mask {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(20, 12, 6, .55);
  display: none; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; transition: opacity .3s ease;
}
.welcome-mask.show { display: flex; opacity: 1; }
.welcome-box {
  width: 100%; max-width: 340px;
  background: var(--card);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(230, 57, 70, .25);
  transform: scale(.92); transition: transform .25s ease;
}
.welcome-mask.show .welcome-box { transform: scale(1); }
.welcome-top {
  padding: 26px 16px 18px; text-align: center;
  background: var(--brand-grad);
  color: #fff;
}
.welcome-avatar {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 12px;
  background: rgba(255, 255, 255, .22); display: grid; place-items: center;
  box-shadow: 0 0 18px rgba(255, 255, 255, .35);
  color: #fff; font-weight: 900; font-size: 21px; line-height: 1.05; text-align: center;
}
.welcome-title { font-size: 19px; color: #fff; font-weight: 800; letter-spacing: .5px; }
.welcome-subtitle { font-size: 12px; color: rgba(255, 255, 255, .9); margin-top: 6px; line-height: 1.6; letter-spacing: 1px; }
.welcome-middle { margin: 0 14px; padding: 18px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.welcome-middle ul { margin: 0; padding: 0; list-style: none; }
.welcome-middle li { position: relative; padding: 0 0 12px 22px; margin-bottom: 12px; font-size: 13px; line-height: 1.7; color: var(--text); border-bottom: 1px dashed var(--line); }
.welcome-middle li:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.welcome-middle li::before { content: "◆"; position: absolute; left: 0; top: 2px; color: var(--brand); font-size: 10px; }
.welcome-bottom { padding: 18px 16px 20px; }
.welcome-btn {
  width: 100%; display: block; padding: 14px 18px; border-radius: 50px; border: none;
  background: var(--brand-grad); color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 16px rgba(230, 57, 70, .4);
}
.welcome-btn:active { transform: scale(.98); }
.welcome-tip { text-align: center; font-size: 11px; color: var(--text-3); margin-top: 12px; }
