:root {
  --primary: #FF6B2C;
  --primary-deep: #E8571C;
  --primary-soft: #FFF1E8;
  --text: #1F2329;
  --text-2: #5E6470;
  --text-3: #8A9099;
  --line: #EEF0F3;
  --bg: #F6F7F9;
  --danger: #FF3B30;
  --success: #16A34A;
  --warn: #F59E0B;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 35, 41, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---------- 页头 ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.hd-inner { display: flex; align-items: center; height: 64px; gap: 30px; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.logo-text { font-size: 22px; font-weight: 800; }
.logo-text em { color: var(--primary); font-style: normal; }
.nav { display: flex; gap: 26px; font-size: 15px; margin-left: auto; }
.nav a { color: var(--text-2); padding: 6px 2px; position: relative; }
.nav a:hover, .nav a.on { color: var(--primary); font-weight: 600; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--primary); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-sell { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; border: none; height: 40px; padding: 0 22px; border-radius: 22px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; }
.btn-login { height: 40px; padding: 0 22px; border-radius: 22px; cursor: pointer; background: #fff; color: var(--primary); border: 1px solid var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.user-span { color: var(--text-2); font-size: 14px; }
.user-span img { width: 28px; height: 28px; border-radius: 50%; margin-right: 8px; }
.user-span .us-ava { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-right: 8px; font-size: 13px; }
.user-span .us-name { font-weight: 600; color: var(--text); margin-right: 4px; }
.user-span .us-caret { color: var(--text-3); font-size: 11px; }

/* ---------- 通用按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; padding: 0 18px; height: 40px; transition: .2s; }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; }
.btn.ghost { background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.btn.danger { background: #fff; color: var(--danger); border: 1px solid var(--danger); }
.btn.line { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.08); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(at 80% 20%, #ff9a5f, transparent 46%), linear-gradient(125deg, #ff7a3d, #e8571c); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: 40px; font-weight: 800; }
.hero-sub { margin-top: 10px; font-size: 16px; opacity: .92; }
.hero-search { display: flex; margin-top: 30px; max-width: 560px; border-radius: 30px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.hero-search input { flex: 1; border: none; outline: none; height: 54px; padding: 0 24px; font-size: 15px; }
.hero-search button { border: none; background: #222; color: #fff; padding: 0 34px; font-size: 15px; cursor: pointer; font-weight: 600; }
.hot-tags { margin-top: 18px; font-size: 13px; opacity: .95; }
.hot-tags a { color: #fff; margin-right: 14px; border-bottom: 1px dashed rgba(255,255,255,.5); cursor: pointer; }
.stats { display: flex; gap: 60px; margin-top: 44px; }
.stats b { display: block; font-size: 28px; font-weight: 800; }
.stats span { font-size: 13px; opacity: .9; }

/* ---------- 区块通用 ---------- */
.sec { padding: 40px 0; }
.sec.bg { background: var(--bg); }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.sec-head h2 { font-size: 26px; }
.sec-head .more { color: var(--primary); font-size: 14px; }
.page-hero { background: radial-gradient(at 80% 20%, #ff9a5f, transparent 46%), linear-gradient(125deg, #ff7a3d, #e8571c); color: #fff; padding: 34px 0; }
.page-hero h1 { font-size: 30px; font-weight: 800; }
.page-hero p { opacity: .92; margin-top: 6px; }

/* 游戏宫格 */
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.game-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; cursor: pointer; transition: .2s; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,107,44,.3); }
.game-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.game-card h4 { margin-top: 12px; font-size: 15px; }
.game-card span { font-size: 12px; color: var(--primary); }
.game-card.on { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,107,44,.2); }
.grid-empty { grid-column: 1/-1; text-align: center; color: var(--text-3); padding: 60px 0; }

/* 订单卡片 */
.hall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.order-card { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.order-card:hover { box-shadow: 0 10px 30px rgba(31,35,41,.12); }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-top .gname { font-size: 16px; font-weight: 700; }
.order-top .tag { background: var(--primary-soft); color: var(--primary); padding: 2px 10px; border-radius: 6px; font-size: 12px; margin-left: 8px; }
.order-top .price { color: var(--danger); font-size: 18px; font-weight: 800; }
.order-req { color: var(--text-2); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.order-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-3); }
.order-meta .pay { color: var(--primary); font-weight: 700; }
.hall-empty { grid-column: 1/-1; text-align: center; color: var(--text-3); padding: 60px 0; }

/* 筛选 chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.chip { padding: 8px 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--text-2); cursor: pointer; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* 流程 / 安全 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.step b { font-size: 32px; color: var(--primary); font-weight: 800; }
.step h3 { margin: 12px 0 8px; font-size: 18px; }
.step p { color: var(--text-3); font-size: 14px; }
.safes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safes > div { background: var(--bg); border-radius: var(--radius); padding: 26px; }
.safes b { font-size: 17px; }
.safes p { margin-top: 8px; color: var(--text-3); font-size: 14px; }

/* 竖空 / 居中标题 */
.c { text-align: center; }
.mt40 { margin-top: 40px; }

/* ---------- 登录 / 全宽子页 ---------- */
.sub-hero { color: #fff; padding: 44px 0; }
.auth-wrap { display: flex; justify-content: center; padding: 44px 0 70px; background: var(--bg); min-height: 60vh; }
.auth-card { width: 420px; max-width: 100%; }
.form-card { background: #fff; border-radius: 16px; padding: 36px 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card .sub { color: var(--text-3); font-size: 13px; margin-bottom: 24px; }
.input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 14px; margin-bottom: 14px; outline: none; background: #fff; }
.input:focus { border-color: var(--primary); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; font-family: inherit; }
.code-row { display: flex; gap: 12px; margin-bottom: 14px; }
.code-row .input { margin-bottom: 0; }
.send { height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--primary); background: var(--primary-soft); color: var(--primary); cursor: pointer; white-space: nowrap; }
.send:disabled { opacity: .6; cursor: not-allowed; }
.auth-tip { margin-top: 14px; font-size: 12px; color: var(--text-3); text-align: center; }
.auth-tip a { color: var(--primary); }
.alert { margin-top: 14px; font-size: 13px; color: var(--danger); min-height: 18px; }

/* ---------- 登录方式切换 ---------- */
.auth-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth-tab { padding-bottom: 12px; font-size: 16px; color: var(--text-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.on { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.auth-forgot { text-align: right; font-size: 13px; margin-top: 12px; }
.auth-forgot a { color: var(--primary); cursor: pointer; }

/* ---------- 账号设置 ---------- */
.set-row { margin-bottom: 16px; }
.set-row .lab { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.set-row .input { margin-bottom: 0; }
.set-tip { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.set-acts { display: flex; justify-content: flex-end; margin-top: 4px; }

/* ---------- 状态徽章 ---------- */
.stb { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.stb.paying { background: #FFF4E5; color: #F59E0B; }
.stb.waiting { background: #E8F0FE; color: #1A73E8; }
.stb.doing { background: #E6F4FF; color: #0EA5E9; }
.stb.review { background: #FFF1E8; color: #FF6B2C; }
.stb.done { background: #E6F7EE; color: #16A34A; }
.stb.cancel { background: #F1F2F4; color: #8A9099; }
.stb.dispute { background: #FEF2F2; color: #FF3B30; }

/* ---------- 通用页面骨架 ---------- */
.page { padding: 24px 0 60px; flex: 1 0 auto; width: 100%; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb em { font-style: normal; color: var(--text-2); margin: 0 6px; }
.empty { text-align: center; color: var(--text-3); padding: 60px 0; font-size: 14px; }
.empty .ic { font-size: 40px; margin-bottom: 10px; }
.loading { text-align: center; color: var(--text-3); padding: 60px 0; font-size: 14px; }

/* ---------- Tabs（订单/钱包/帮助通用） ---------- */
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 4px; margin-bottom: 24px; }
.tab { padding: 14px 22px; cursor: pointer; font-size: 15px; color: var(--text-2); position: relative; font-weight: 500; }
.tab.on { color: var(--primary); font-weight: 700; }
.tab.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--primary); border-radius: 2px; }
.tab .num { display: inline-block; min-width: 18px; padding: 0 6px; background: var(--bg); color: var(--text-3); border-radius: 9px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.tab.on .num { background: var(--primary-soft); color: var(--primary); }

/* ---------- 我的订单列表 ---------- */
.order-list { display: flex; flex-direction: column; gap: 16px; }
.od-card { background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); transition: .2s; }
.od-card:hover { box-shadow: 0 10px 30px rgba(31,35,41,.12); }
.od-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text-3); }
.od-head .no { color: var(--text-2); }
.od-body { display: flex; gap: 20px; padding: 14px 0; align-items: center; }
.od-body .icon { width: 56px; height: 56px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.od-info { flex: 1; min-width: 0; }
.od-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.od-info .desc { color: var(--text-2); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.od-info .meta { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.od-amount { text-align: right; }
.od-amount .pri { color: var(--danger); font-size: 20px; font-weight: 800; }
.od-amount .sub { color: var(--text-3); font-size: 12px; }
.od-foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; }
.pager .pgbtn { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.pager .pgbtn[disabled] { color: var(--text-3); cursor: not-allowed; }
.pager .pgbtn.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.pager .pginfo { color: var(--text-3); font-size: 13px; margin: 0 8px; }

/* ---------- 个人中心 ---------- */
.me-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.me-card { background: linear-gradient(135deg, #ff7a3d, #e8571c); border-radius: var(--radius); padding: 24px; color: #fff; box-shadow: var(--shadow); }
.me-card .ava { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 26px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.me-card .ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.me-card .name { margin-top: 12px; font-size: 18px; font-weight: 700; }
.me-card .phone { font-size: 13px; opacity: .92; margin-top: 4px; }
.me-card .badges { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.me-card .badges span { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 4px; font-size: 11px; }
.me-side { background: #fff; border-radius: var(--radius); padding: 18px 0; box-shadow: var(--shadow); }
.me-side-item { display: flex; align-items: center; gap: 10px; padding: 12px 22px; cursor: pointer; color: var(--text); font-size: 15px; border-left: 3px solid transparent; }
.me-side-item:hover, .me-side-item.on { background: var(--primary-soft); color: var(--primary); border-left-color: var(--primary); }
.me-side-item .ic { font-size: 18px; }
.me-side-item .ar { margin-left: auto; color: var(--text-3); font-size: 12px; }
.me-side-item .badge-dot { background: var(--danger); color: #fff; font-size: 11px; min-width: 18px; padding: 0 5px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }

.me-main { display: flex; flex-direction: column; gap: 20px; }
.balance-card { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; }
.balance-card .lf { display: flex; flex-direction: column; gap: 4px; }
.balance-card .lab { color: var(--text-3); font-size: 13px; }
.balance-card .bal { font-size: 32px; font-weight: 800; color: var(--primary); }
.balance-card .bal small { font-size: 16px; font-weight: 600; color: var(--text-2); margin-left: 12px; }
.balance-card .ops { display: flex; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-cell { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-align: center; cursor: pointer; transition: .2s; }
.stat-cell:hover { box-shadow: 0 10px 30px rgba(31,35,41,.12); transform: translateY(-2px); }
.stat-cell .ic { font-size: 26px; }
.stat-cell .num { font-size: 24px; font-weight: 800; margin-top: 6px; }
.stat-cell .lab { color: var(--text-3); font-size: 13px; margin-top: 2px; }

/* ---------- 钱包流水 ---------- */
.flow-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.flow-item { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.flow-item:last-child { border-bottom: none; }
.flow-item .ic { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.flow-item .ic.in { background: #E6F7EE; color: var(--success); }
.flow-item .ic.out { background: #FEF2F2; color: var(--danger); }
.flow-item .ic.freeze { background: #FFF4E5; color: var(--warn); }
.flow-item .ic.unfreeze { background: #E8F0FE; color: #1A73E8; }
.flow-info { flex: 1; min-width: 0; }
.flow-info .ttl { font-weight: 600; font-size: 15px; }
.flow-info .rmk { color: var(--text-3); font-size: 12px; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.flow-info .time { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.flow-amt { text-align: right; }
.flow-amt .num { font-size: 17px; font-weight: 800; }
.flow-amt .num.in { color: var(--success); }
.flow-amt .num.out { color: var(--danger); }
.flow-amt .aft { color: var(--text-3); font-size: 12px; }

/* ---------- 订单详情 ---------- */
.od-detail { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.od-box { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.od-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv { display: flex; font-size: 14px; padding: 6px 0; }
.kv .k { width: 110px; color: var(--text-3); }
.kv .v { color: var(--text); flex: 1; word-break: break-all; }
.kv .v b { color: var(--danger); }
.kv .v .link { color: var(--primary); cursor: pointer; }
.user-block { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.user-block .ava { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.user-block .ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.user-block .un { font-weight: 600; }
.user-block .um { color: var(--text-3); font-size: 12px; }
.amount-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.amount-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 16px; }
.amount-row.total .v { color: var(--danger); font-size: 18px; }
.amount-row .v { color: var(--text); }
.amount-row .v.minus { color: var(--text-3); }

/* 时间线 */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 18px 14px; }
.tl-item::before { content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--text-3); }
.tl-item.on::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,107,44,.18); }
.tl-item .tt { font-size: 14px; font-weight: 600; }
.tl-item .td { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.tl-item .note { color: var(--text-2); font-size: 13px; margin-top: 4px; }

/* 评价 */
.review-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.review-item:last-child { border: none; }
.review-item .rh { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-item .rh .ava { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.review-item .rh .stars { color: #FFB400; }
.review-item .rb { color: var(--text-2); font-size: 14px; margin-top: 6px; padding-left: 42px; }
.review-empty { color: var(--text-3); text-align: center; padding: 24px 0; }

/* 侧栏操作 */
.od-side .od-box { margin-bottom: 16px; }
.od-side .btn { width: 100%; margin-top: 8px; }
.action-grid { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 发布订单 ---------- */
.pub-steps { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.pub-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 18px; height: 2px; background: var(--line); z-index: 0; }
.pub-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.pub-step .n { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pub-step.on .n, .pub-step.done .n { background: var(--primary); border-color: var(--primary); color: #fff; }
.pub-step .lab { font-size: 13px; margin-top: 6px; color: var(--text-3); }
.pub-step.on .lab { color: var(--primary); font-weight: 600; }
.pub-pane { display: none; }
.pub-pane.on { display: block; }
.pub-foot { display: flex; justify-content: space-between; margin-top: 28px; }
.sel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sel-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; transition: .2s; }
.sel-cell:hover { border-color: rgba(255,107,44,.4); }
.sel-cell.on { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,107,44,.18); background: var(--primary-soft); }
.sel-cell img { width: 48px; height: 48px; border-radius: 10px; }
.sel-cell .nm { font-size: 14px; margin-top: 8px; font-weight: 600; }
.field-row { margin-bottom: 18px; }
.field-row .lab { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field-row .lab em { color: var(--danger); font-style: normal; margin-left: 4px; }
.field-row .hint { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.price-box { background: var(--primary-soft); border-radius: 10px; padding: 16px; }
.price-box .row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.price-box .row.total { font-weight: 700; font-size: 16px; border-top: 1px dashed rgba(255,107,44,.3); margin-top: 8px; padding-top: 10px; }
.price-box .row.total .v { color: var(--primary); font-size: 18px; }
.summary { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.summary h3 { font-size: 17px; margin-bottom: 14px; }

/* ---------- 打手主页 ---------- */
.booster-head { background: radial-gradient(at 80% 20%, #ff9a5f, transparent 46%), linear-gradient(125deg, #ff7a3d, #e8571c); color: #fff; padding: 36px 0; }
.booster-card { display: flex; align-items: center; gap: 24px; }
.booster-card .ava { width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 32px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.booster-card .ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.booster-card h2 { font-size: 24px; font-weight: 800; }
.booster-card .meta { opacity: .92; font-size: 14px; margin-top: 4px; }
.booster-stats { display: flex; gap: 30px; margin-top: 16px; }
.booster-stats b { font-size: 22px; font-weight: 800; }
.booster-stats span { font-size: 12px; opacity: .92; }
.skill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { background: var(--primary-soft); color: var(--primary); padding: 6px 14px; border-radius: 16px; font-size: 13px; }
.rating { color: #FFB400; font-weight: 700; }
.rating small { color: var(--text-3); font-size: 12px; margin-left: 4px; font-weight: 400; }

/* ---------- 帮助中心 ---------- */
.help-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.help-side { background: #fff; border-radius: var(--radius); padding: 12px 0; box-shadow: var(--shadow); }
.help-side-item { padding: 12px 22px; cursor: pointer; font-size: 14px; color: var(--text-2); border-left: 3px solid transparent; }
.help-side-item:hover, .help-side-item.on { background: var(--primary-soft); color: var(--primary); border-left-color: var(--primary); }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 24px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-q .arr { color: var(--text-3); transition: .2s; }
.faq-item.open .faq-q .arr { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; color: var(--text-2); font-size: 14px; transition: .3s; }
.faq-item.open .faq-a { padding: 0 24px 16px; max-height: 400px; }
.contact-card { background: linear-gradient(135deg, #ff7a3d, #e8571c); color: #fff; padding: 28px; border-radius: var(--radius); }
.contact-card h3 { font-size: 18px; }
.contact-card .row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.contact-card .row .ic { font-size: 22px; }

/* ---------- 协议 ---------- */
.agree-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.agree-side { background: #fff; border-radius: var(--radius); padding: 12px 0; box-shadow: var(--shadow); position: sticky; top: 80px; }
.agree-side-item { padding: 10px 22px; cursor: pointer; font-size: 13px; color: var(--text-2); border-left: 3px solid transparent; }
.agree-side-item:hover, .agree-side-item.on { background: var(--primary-soft); color: var(--primary); border-left-color: var(--primary); }
.agree-body { background: #fff; border-radius: var(--radius); padding: 32px 40px; box-shadow: var(--shadow); }
.agree-body h2 { font-size: 24px; text-align: center; margin-bottom: 24px; }
.agree-body h3 { font-size: 17px; margin: 28px 0 12px; padding-left: 10px; border-left: 4px solid var(--primary); }
.agree-body p { color: var(--text-2); font-size: 14px; line-height: 1.9; margin-bottom: 8px; }
.agree-body ul { margin: 8px 0 8px 24px; color: var(--text-2); font-size: 14px; line-height: 1.9; }

/* ---------- 模态弹窗 ---------- */
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 200; }
.mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 420px; max-width: 92vw; padding: 28px 30px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.modal h3 { font-size: 18px; margin-bottom: 16px; }
.modal .row { margin-bottom: 14px; }
.modal .row .lab { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.modal .acts { display: flex; gap: 10px; margin-top: 20px; }
.modal .acts .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: #1F2329; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 14px; opacity: 0; transition: .25s; z-index: 9999; pointer-events: none; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.toast.show { opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warn { background: var(--warn); }

/* ---------- 消息中心 ---------- */
.msg-item { display: flex; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); cursor: pointer; }
.msg-item:hover { background: var(--bg); }
.msg-item.unread { background: var(--primary-soft); }
.msg-item .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.msg-item .info { flex: 1; min-width: 0; }
.msg-item .ttl { font-size: 15px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.msg-item .desc { color: var(--text-3); font-size: 13px; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.msg-item .time { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.msg-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); margin-top: 6px; }

/* ---------- 分享/代理 ---------- */
.invite-card { background: linear-gradient(135deg, #ff7a3d, #e8571c); color: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); }
.invite-card .lab { font-size: 13px; opacity: .92; }
.invite-card .code { font-size: 28px; font-weight: 800; margin-top: 6px; letter-spacing: 1px; }
.invite-card .row { margin-top: 16px; display: flex; gap: 24px; }
.invite-card .row .v { font-size: 22px; font-weight: 700; }
.invite-card .row .l { font-size: 12px; opacity: .9; }
.copy-btn { background: rgba(255,255,255,.18); color: #fff; border: none; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; margin-top: 10px; }

/* ---------- 页脚 ---------- */
/* 公共底部：始终贴在页面底部（内容不足时贴视口底部），背景透明 */
.ft { margin-top: auto; background: transparent; color: var(--text-2); padding: 32px 0 22px; border-top: 1px solid var(--line); width: 100%; }
.ft-top { display: flex; justify-content: space-between; align-items: center; }
.ft-l .logo-text { font-size: 20px; color: var(--text); }
.ft-l p { color: var(--text-3); font-size: 13px; margin-top: 8px; }
.ft-r { display: flex; gap: 24px; }
.ft-r a { color: var(--text-2); font-size: 14px; }
.ft-r a:hover { color: var(--primary); }
.ft-b { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 24px; }

/* ---------- 合规公共底部（学习代练妈妈：品牌 + 合规列 + 资质 + 版权） ---------- */
.ft { margin-top: auto; background: var(--bg); color: var(--text-2); padding: 40px 0 22px; border-top: 1px solid var(--line); width: 100%; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; text-align: left; }
.ft-brand .logo-text { font-size: 22px; color: var(--text); }
.ft-brand p { color: var(--text-3); font-size: 13px; line-height: 1.8; margin-top: 10px; max-width: 420px; }
.ft-col h4 { font-size: 14px; color: var(--text); margin-bottom: 12px; font-weight: 600; }
.ft-col a { display: block; color: var(--text-2); font-size: 13px; line-height: 2.2; }
.ft-col a:hover { color: var(--primary); }
.ft-health { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.9; max-width: 1000px; margin-left: auto; margin-right: auto; }
.ft-lic { margin-top: 12px; text-align: center; font-size: 12px; color: var(--text-3); line-height: 2.2; }
.ft-lic a { color: var(--text-3); }
.ft-lic a:hover { color: var(--primary); }
.ft-copy { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-3); }
.ft-app { margin-top: 8px; text-align: center; font-size: 12px; color: var(--text-3); }
.ft-app b { color: var(--text-2); font-weight: 600; }

/* ---------- 官网风格首页 ---------- */
.hero-official { background: linear-gradient(135deg, #0f66d4 0%, #1890ff 45%, #5cb8ff 100%); color: #fff; padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero-official::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.10); }
.hero-official::after { content: ""; position: absolute; right: 120px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-official .wrap { position: relative; z-index: 1; }
.hero-official .slogan { font-size: 14px; letter-spacing: 4px; opacity: .9; display: inline-block; padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,.16); }
.hero-official h1 { font-size: 48px; font-weight: 800; margin-top: 16px; letter-spacing: 2px; }
.hero-official h1 em { font-style: normal; color: #ffd94d; }
.hero-official .hero-sub { margin-top: 14px; font-size: 17px; opacity: .95; max-width: 680px; line-height: 1.8; }
.hero-official .cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-official .cta .btn-o { padding: 13px 34px; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; }
.hero-official .cta .btn-o:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.hero-official .cta .btn-o.primary { background: #fff; color: #1890ff; }
.hero-official .cta .btn-o.ghost-o { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.hero-official .stats-o { display: flex; gap: 54px; margin-top: 44px; flex-wrap: wrap; }
.hero-official .stats-o b { font-size: 32px; font-weight: 800; display: block; }
.hero-official .stats-o span { font-size: 13px; opacity: .9; }
.sec-head.official h2 { font-size: 28px; }
.sec-head.official .en { color: var(--text-3); font-size: 13px; margin-left: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.feature-grid .f-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff; transition: box-shadow .25s, transform .25s; position: relative; overflow: hidden; }
.feature-grid .f-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary), #1890ff); transition: width .25s; }
.feature-grid .f-card:hover { box-shadow: 0 14px 34px rgba(24,144,255,.14); transform: translateY(-4px); }
.feature-grid .f-card:hover::after { width: 100%; }
.feature-grid .f-card .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin-bottom: 14px; }
.feature-grid .f-card h3 { font-size: 16px; }
.feature-grid .f-card p { color: var(--text-3); font-size: 13px; margin-top: 6px; line-height: 1.7; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.role-grid .r-card { border: 1px solid var(--line); border-radius: 14px; padding: 30px; text-align: center; background: #fff; transition: box-shadow .25s, transform .25s; }
.role-grid .r-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.10); transform: translateY(-4px); }
.role-grid .r-card .no { font-size: 13px; color: var(--primary); font-weight: 700; letter-spacing: 2px; }
.role-grid .r-card h3 { font-size: 18px; margin-top: 6px; }
.role-grid .r-card p { color: var(--text-3); font-size: 13px; margin-top: 8px; line-height: 1.7; }
.game-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.game-tags span, .game-tags a { border: 1px solid var(--line); border-radius: 20px; padding: 7px 18px; font-size: 14px; color: var(--text-2); background: #fff; transition: all .2s; cursor: pointer; }
.game-tags span:hover, .game-tags a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
/* 首屏入场动画 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-official .slogan, .hero-official h1, .hero-official .hero-sub, .hero-official .cta, .hero-official .stats-o { animation: fadeUp .6s ease both; }
.hero-official h1 { animation-delay: .08s; }
.hero-official .hero-sub { animation-delay: .16s; }
.hero-official .cta { animation-delay: .24s; }
.hero-official .stats-o { animation-delay: .32s; }
.feature-grid .f-card:nth-child(1) { animation: fadeUp .5s ease .1s both; }
.feature-grid .f-card:nth-child(2) { animation: fadeUp .5s ease .2s both; }
.feature-grid .f-card:nth-child(3) { animation: fadeUp .5s ease .3s both; }
.feature-grid .f-card:nth-child(4) { animation: fadeUp .5s ease .4s both; }

/* ---------- 合规独立页（单栏，无侧边导航） ---------- */
.agree-single { max-width: 860px; margin: 0 auto; }
.agree-single h2 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.agree-single .meta { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 20px; }
.agree-single h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text); }
.agree-single p, .agree-single li { color: var(--text-2); font-size: 14px; line-height: 2; }
.agree-single ul { padding-left: 20px; }
.agree-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.agree-side { position: sticky; top: 90px; border-left: 2px solid var(--line); padding-left: 14px; }
.agree-side a { display: block; color: var(--text-2); font-size: 14px; line-height: 2.2; }
.agree-side a:hover, .agree-side a.on { color: var(--primary); }
.agree-body h2 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.agree-body .meta { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 18px; }
.agree-body h3 { font-size: 16px; margin: 22px 0 8px; }
.agree-body p, .agree-body li { color: var(--text-2); font-size: 14px; line-height: 1.9; }
.agree-body ul { padding-left: 20px; }


/* ---------- 支付 / 充值 ---------- */
.pay-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.pay-amt { font-size: 32px; font-weight: 800; color: var(--primary); }
.pay-tip { background: #FFF8F1; border: 1px solid #FFE0C7; color: #A1521C; border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.9; }
.ch-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.ch-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.ch-item.on { border-color: var(--primary); background: var(--primary-soft); }
.ch-item .ic { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; }
.ch-item .ic img { width: 34px; height: 34px; display: block; }
.ch-item .nm { font-weight: 600; }
.ch-item .ck { margin-left: auto; color: var(--primary); font-weight: 800; visibility: hidden; }
.ch-item.on .ck { visibility: visible; }
.quick-amt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.quick-amt span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; background: #fff; }
.quick-amt span.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.count-down { font-weight: 700; color: var(--primary); }
.count-down.over { color: var(--danger); }
.pay-split { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.pay-split:last-child { border-bottom: none; }
.pay-split.total { font-weight: 700; font-size: 16px; }

@media (max-width: 1100px) {
  .me-wrap, .od-detail, .help-wrap, .agree-wrap, .pay-wrap { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .sel-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .hall { grid-template-columns: 1fr; }
  .steps, .safes { grid-template-columns: 1fr 1fr; }
  .hd-inner { gap: 14px; }
  .nav { gap: 16px; font-size: 14px; }
  .me-wrap, .od-detail, .help-wrap, .agree-wrap { grid-template-columns: 1fr; }
  .balance-card { flex-direction: column; gap: 16px; align-items: stretch; }
  .balance-card .ops { justify-content: center; }
  .od-body { flex-wrap: wrap; }
  .od-amount { text-align: left; }
  .sel-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-steps .pub-step .lab { display: none; }
}
@media (max-width: 640px) {
  .feature-grid, .role-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .safes { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .hero-official h1 { font-size: 32px; }
  .hero-official .stats-o { gap: 28px; }
  .wrap { padding: 0 16px; }
}

/* ---------- R10: 截图展示与上传弹窗 ---------- */
.ss-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ss-img { width: 200px; height: 200px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); }
.img-thumb { position: relative; width: 120px; height: 120px; }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.img-thumb span { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; text-align: center; padding: 2px 0; border-radius: 0 0 10px 10px; cursor: pointer; }
.img-add { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border: 2px dashed var(--line); border-radius: 10px; font-size: 32px; color: var(--text-3); cursor: pointer; background: var(--bg); }
.img-add:hover { border-color: var(--primary); color: var(--primary); }

/* ===== VELU brand lockup (2026-10 品牌升级) ===== */
.vl-logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;white-space:nowrap}
.vl-logo .mk{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(140deg,#0f66d4,#4b9dff 60%,#12b981);color:#fff;font-weight:800;font-size:16px;letter-spacing:.5px;box-shadow:0 6px 16px rgba(15,102,212,.32);flex:none}
.vl-logo .wd{font-weight:800;font-size:18px;letter-spacing:.16em;color:var(--ink,#0b1220)}
.vl-logo .cn{font-size:11px;letter-spacing:.2em;color:#6b7789;margin-left:2px}
@media(max-width:640px){.vl-logo .cn{display:none}}

/* ===== LODESTAR 图形标（2026-10-17）===== */
.vl-logo .mk{
  background-image:url('/icons/lodestar-mark-192.png');
  background-size:cover;background-position:center;
  box-shadow:0 6px 16px rgba(11,34,66,.35);
}
.vl-logo .mk:empty{font-size:0}
