/* 模板 B · 暗夜金币 */
:root {
  --bg: #0D0E1A;
  --panel: #15172A;
  --panel-2: #101224;
  --panel-3: #1B1D36;
  --line: #262842;
  --line-2: #34366A;
  --text: #EDEEFA;
  --text-2: #C9CBE8;
  --muted: #A9ABD0;
  --faint: #7D80A3;
  --gold: #FFC845;
  --gold-ink: #1A1400;
  --gold-bg: #2A2410;
  --blue: #8FB3FF;
  --blue-bg: #1B2348;
  --green: #3DDC97;
  --green-bg: #13261E;
  --green-line: #23503C;
  --green-text: #B9F2D6;
  --green-sub: #9FD3BA;
  --red: #FF8FA8;
  --brand-card: #121436;
  --brand-line: #2E3170;
  --chip: #1B1D44;
  --chip-line: #3A3C80;
  --nav: #0A0B15;
  --nav-line: #23253F;
  --overlay: rgba(5, 5, 14, 0.82);
}
:root[data-theme="light"] {
  --bg: #F3F4FA;
  --panel: #FFFFFF;
  --panel-2: #F1F2F8;
  --panel-3: #FFFFFF;
  --line: #E1E3EF;
  --line-2: #CDD0E3;
  --text: #15172A;
  --text-2: #33364D;
  --muted: #5A5D75;
  --faint: #6E7190;
  --gold: #F2B416;
  --gold-ink: #1A1400;
  --gold-bg: #FFF1C7;
  --blue: #2E4FC2;
  --blue-bg: #E3E9FF;
  --green: #1F8A55;
  --green-bg: #E2F4EA;
  --green-line: #B7E2CA;
  --green-text: #17663F;
  --green-sub: #2E6E4C;
  --red: #C2334F;
  --brand-card: #FFFFFF;
  --brand-line: #DADDF0;
  --chip: #F1F2FB;
  --chip-line: #D3D6EE;
  --nav: #FFFFFF;
  --nav-line: #E1E3EF;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--gold); text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.6; }
.num { font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif; font-weight: 700; }
.hidden { display: none !important; }

/* 手机宽度容器：电脑上居中显示 */
.app { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; position: relative; }
.page { flex: 1; padding: 12px 12px 88px; display: flex; flex-direction: column; gap: 12px; }
.page.with-header { padding-top: 8px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card h2 { margin: 0; font-size: 15px; font-weight: 900; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12px; }

.btn { height: 50px; border: 0; border-radius: 14px; background: var(--gold); color: var(--gold-ink); font-size: 16px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 18px; }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); font-weight: 700; }
.btn.sm { height: 36px; border-radius: 10px; font-size: 14px; padding: 0 16px; }
.link-btn { border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; min-height: 44px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; color: var(--text-2); }
.input { height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); padding: 0 14px; font-size: 15px; outline: none; width: 100%; }
.input:focus { border-color: var(--gold); }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 96px; line-height: 1.5; }
.input::placeholder { color: var(--faint); }

.tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-bg); padding: 3px 8px; border-radius: 6px; }

/* 顶栏（子页面） */
.topbar { height: 56px; flex-shrink: 0; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; }
.topbar a.back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--text); }
.topbar .title { font-size: 17px; font-weight: 900; }

/* 底部导航 */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; height: 64px; background: var(--nav); border-top: 1px solid var(--nav-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px 8px; gap: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); height: calc(64px + env(safe-area-inset-bottom)); z-index: 10; }
.tabbar a, .tabbar button { border: 0; background: transparent; font: inherit; padding: 0; width: 100%; cursor: pointer; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; color: var(--muted); }
.tabbar a.on, .tabbar button.on { background: var(--gold-bg); color: var(--gold); font-weight: 900; }

/* 提示 */
.toast { position: fixed; left: 50%; top: 20px; transform: translateX(-50%); background: #000C; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 100; max-width: 86vw; text-align: center; }
.safe-note { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.safe-note b { font-size: 14px; color: var(--green-text); display: block; }
.safe-note span { font-size: 12px; color: var(--green-sub); line-height: 1.5; }

/* ---------- 首页 ---------- */
.hdr { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 12px; display: flex; align-items: center; gap: 12px; }
.hdr .logo { width: 64px; height: 40px; border-radius: 10px; background: #1F2250; color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; overflow: hidden; }
.hdr .logo img { width: 100%; height: 100%; object-fit: contain; }
.hdr .welcome { flex: 1; font-size: 17px; font-weight: 900; min-width: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-3); display: flex; align-items: center; justify-content: center; color: var(--text-2); }

.brand { background: var(--brand-card); border: 1px solid var(--brand-line); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 16px; box-shadow: inset 0 0 60px rgba(70, 80, 220, 0.18); }
.domain { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: var(--chip); border: 1px solid var(--chip-line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; }
.domain i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.2); }
.brand-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 4px; }
.brand-logo { width: 100%; height: 150px; border: 2px dashed #4A4D90; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: var(--muted); overflow: hidden; }
.brand-logo.has-img { border: 0; }
.brand-logo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; display: block; }
.chip-btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--chip-line); background: var(--chip); color: var(--text); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.ref { background: var(--panel-2); border: 1px solid var(--brand-line); border-radius: 16px; padding: 8px 8px 8px 14px; display: flex; align-items: center; gap: 10px; }
.ref .code { flex: 1; font-size: 17px; color: var(--blue); letter-spacing: 0.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref .btn { height: 44px; border-radius: 12px; font-size: 15px; box-shadow: 0 0 20px rgba(255, 200, 69, 0.35); padding: 0 16px; }

.notice { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; }
.notice .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #3A2030; display: flex; align-items: center; justify-content: center; }
.notice span { font-size: 14px; font-weight: 700; color: var(--text-2); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nav-card { position: relative; overflow: hidden; min-height: 168px; text-align: left; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 14px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.nav-card::before { content: ''; position: absolute; right: -28px; top: -28px; width: 88px; height: 88px; border-radius: 50%; background: var(--line); opacity: 0.6; }
.nav-card .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 900; position: relative; }
.nav-card .t { margin-top: 8px; font-size: 17px; font-weight: 900; }
.nav-card .s { font-size: 12px; color: var(--muted); min-height: 17px; }
.nav-card .go { align-self: flex-end; margin-top: auto; display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 900; color: var(--blue); }

/* 红包弹窗 */
.overlay { position: fixed; inset: 0; background: var(--overlay); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 0 28px; z-index: 50; }
.packet { width: 100%; max-width: 320px; border-radius: 26px; background: #17192E; border: 1px solid #3A3C70; padding: 0 24px 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; box-shadow: 0 0 60px rgba(255, 200, 69, 0.18); color: #EDEEFA; animation: pop 0.35s ease-out; }
.packet .coin { width: 132px; height: 132px; margin-top: -56px; border-radius: 50%; background: #FFC845; border: 8px solid #2A2410; box-shadow: 0 0 0 4px #FFC845, 0 10px 40px rgba(255, 200, 69, 0.45); display: flex; align-items: center; justify-content: center; color: #6B4A00; font-size: 56px; }
.packet .badge { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #FFC845; border: 1px solid #5A4A1E; padding: 4px 12px; border-radius: 999px; }
.packet .ttl { font-size: 22px; font-weight: 900; }
.packet .amt { display: flex; align-items: baseline; gap: 6px; color: #FFC845; }
.packet .amt b { font-size: 52px; line-height: 1; }
.packet .desc { font-size: 13px; color: #A9ABD0; line-height: 1.6; white-space: pre-line; }
.packet .btn { width: 100%; height: 52px; margin-top: 6px; font-size: 17px; }
.packet.success { padding-top: 32px; gap: 12px; }
.packet .ok { width: 76px; height: 76px; border-radius: 50%; background: #1F3B2E; border: 2px solid #3DDC97; display: flex; align-items: center; justify-content: center; }
.packet .next { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; background: #101224; border-radius: 14px; padding: 12px 14px; text-align: left; }
.packet .next span:first-child { font-size: 12px; color: #7D80A3; }
.packet .next span:last-child { font-size: 14px; }
.overlay .skip { border: 0; background: transparent; color: #A9ABD0; font-size: 14px; min-height: 44px; padding: 0 16px; }

/* 联系方式弹层 */
.contact-sheet { padding-top: 26px; gap: 10px; }
.contact-sheet .contact-ic { width: 64px; height: 64px; border-radius: 20px; background: #17303A; border: 1px solid #25545F; color: #46D3C4; display: flex; align-items: center; justify-content: center; }
.contact-sheet .contact-sub { font-size: 13px; color: #A9ABD0; }
.contact-sheet .contact-num { font-size: 34px; font-weight: 900; letter-spacing: 1px; color: #FFC845; user-select: all; -webkit-user-select: all; }
@keyframes pop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- 兼职区 ---------- */
.hall-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; }
.hall-head h1 { margin: 0; font-size: 22px; font-weight: 900; }
.coin-pill { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--gold-bg); color: var(--gold); font-size: 14px; font-weight: 700; }
.coin-pill i { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--gold-bg); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; font-style: normal; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.stat span:first-child { font-size: 12px; color: var(--muted); }
.stat span:last-child { font-size: 20px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); }
.cats button.on { border: 0; background: var(--gold); color: var(--gold-ink); font-weight: 900; }
.task { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.task[data-href] { cursor: pointer; }
.task .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.task h2 { margin: 0; font-size: 16px; font-weight: 900; }
.task .rw { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; }
.task .rw b { font-size: 22px; color: var(--gold); }
.task .rw span { font-size: 11px; color: var(--muted); }
.task p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.task .meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.task .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.state { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.state.pending { background: var(--blue-bg); color: var(--blue); }
.state.approved { background: var(--green-bg); color: var(--green); }
.state.rejected { background: #3A2030; color: var(--red); }
.empty { text-align: center; color: var(--muted); font-size: 14px; padding: 40px 0; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.steps li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; counter-increment: s; }
.steps li::before { content: counter(s); width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.box { background: var(--panel-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.box b { font-size: 12px; color: var(--text-2); }
.box span { font-size: 12px; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shot { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--panel-3); position: relative; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #000A; color: #fff; font-size: 16px; line-height: 1; }
.shot-add { aspect-ratio: 3 / 4; border-radius: 12px; border: 2px dashed var(--line-2); background: transparent; color: var(--muted); font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.progress { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.progress i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); }
.progress .done i { background: var(--green); border: 0; }
.progress .cur i { background: var(--blue); border: 0; }

/* 钱包 */
.wallet-top { background: var(--panel-3); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wallet-top .big { font-size: 40px; color: var(--gold); line-height: 1.1; }
.rate { font-size: 12px; color: var(--gold); border: 1px solid #5A4A1E; padding: 3px 10px; border-radius: 999px; }
.mini2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini2 div { background: var(--panel-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.mini2 span:first-child { font-size: 12px; color: var(--muted); }
.mini2 span:last-child { font-size: 17px; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chips.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips button { height: 44px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text-2); }
.chips button.on { border: 2px solid var(--gold); background: var(--gold-bg); color: var(--gold); font-weight: 900; }
.rules { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.rules .hl { color: var(--gold); font-weight: 700; }
.rec { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.rec:first-of-type { border-top: 0; }
.rec div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec div span:first-child { font-size: 14px; }
.rec div span:last-child { font-size: 12px; color: var(--muted); }
.rec b { flex-shrink: 0; font-size: 16px; }
.rec b.plus { color: var(--gold); }
.rec b.minus { color: var(--muted); }

/* 登录 */
.auth { flex: 1; padding: 8px 24px 32px; display: flex; flex-direction: column; gap: 22px; }
.auth .lg { width: 52px; height: 52px; border-radius: 16px; background: var(--gold); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; }
.auth .lg.has-img { background: transparent; padding: 0; overflow: hidden; }
.auth .lg img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 16px; }
.auth h1 { margin: 8px 0 0; font-size: 26px; font-weight: 900; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); margin: 0; }
.welcome-back { flex: 1; padding: 0 28px 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--blue-bg); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; color: var(--blue); }

/* ---------- 联系客服页 ---------- */
.contact-hero { background: linear-gradient(180deg, #1B1D36, #15172B); border: 1px solid var(--line-2); border-radius: 22px; padding: 26px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.contact-hero .contact-ic { width: 72px; height: 72px; border-radius: 22px; background: #17303A; border: 1px solid #25545F; color: #46D3C4; display: flex; align-items: center; justify-content: center; }
.contact-hero .contact-name { font-size: 20px; font-weight: 900; }
.contact-hero .contact-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.contact-hero .contact-num { font-size: 36px; font-weight: 900; letter-spacing: 2px; color: var(--gold); user-select: all; -webkit-user-select: all; line-height: 1.1; }
.contact-hero .btn { width: 100%; margin-top: 10px; }
.contact-tip { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.contact-tip b { font-size: 14px; }
.contact-tip span { font-size: 13px; color: var(--muted); line-height: 1.65; }
/* 底部弹层（提现） */
.sheet-mask { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .62); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; animation: sheetUp .22s ease-out; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head b { font-size: 17px; font-weight: 900; }
@keyframes sheetUp { from { transform: translateY(24px); opacity: .5; } to { transform: none; opacity: 1; } }
/* 跨页面过渡：导航条固定不动，内容淡入淡出 */
@view-transition { navigation: auto; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: vtOut .14s ease-in both; }
::view-transition-new(root) { animation: vtIn .18s ease-out both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
.nav-card .ic.has-img { background: transparent !important; padding: 0; overflow: hidden; }
.nav-card .ic.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 收款码上传 */
.qr-box { position: relative; border: 1px dashed var(--line-2); border-radius: 14px; min-height: 140px; display: flex; align-items: center; justify-content: center; background: var(--panel-2); overflow: hidden; padding: 10px; text-align: center; }
.qr-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qr-box img { max-width: 100%; max-height: 200px; object-fit: contain; display: block; border-radius: 10px; }
.qr-box span { font-size: 13px; color: var(--muted); }
.chips.amounts { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); }
.hall-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.user-line { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.user-line b { color: var(--text-2); font-weight: 700; letter-spacing: .5px; }
/* 品牌卡直接使用上传的海报作为整卡背景 */
.brand.has-poster { position: relative; min-height: 200px; justify-content: space-between; background-size: cover; background-position: center; overflow: hidden; }
.brand.has-poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 20, .30) 0%, rgba(6, 8, 20, .62) 100%); z-index: 0; }
.brand.has-poster > * { position: relative; z-index: 1; }
.brand.has-poster .brand-mid { padding: 8px 0 0; }
.brand.has-poster .brand-logo { display: none; }

.avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 100%; }
.avatar-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.avatar-item { position: relative; display: block; width: 100%; max-width: 100%; min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.avatar-item img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 0; border-radius: 0; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.avatar-item .save-tag { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 999px; }
.task { position: relative; overflow: hidden; }
.task-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; pointer-events: none; z-index: 0; }
.task > *:not(.task-bg) { position: relative; z-index: 1; }
/* 兼职分站首页 */
.job-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(90, 92, 240, .38), transparent 60%), linear-gradient(150deg, #1B1D3A, #141628 60%, #101222);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.jh-badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--gold); background: rgba(255, 200, 69, .12); border: 1px solid rgba(255, 200, 69, .3); padding: 4px 10px; border-radius: 999px; }
.jh-title { margin: 4px 0 0; font-size: 26px; line-height: 1.25; font-weight: 900; color: var(--text); }
.jh-sub { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.jh-cta { display: flex; gap: 10px; margin-top: 6px; }
.jh-btn { flex: 1; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; text-decoration: none; color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.jh-btn.primary { background: linear-gradient(180deg, #FFD262, #FFC845); color: #1A1400; border: 0; box-shadow: 0 10px 24px rgba(255, 200, 69, .28); }
.jh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.jh-stats div { display: flex; flex-direction: column; gap: 2px; }
.jh-stats b { font-size: 20px; color: var(--gold); }
.jh-stats span { font-size: 11px; color: var(--muted); }
/* 兼职分站首页 */
.job-steps { display: flex; flex-direction: column; gap: 10px; }
.job-step { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.job-step > b { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 200, 69, .14); color: var(--gold); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.job-step span { display: block; font-size: 14px; font-weight: 800; color: var(--text); }
.job-step p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.job-mini { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px; text-decoration: none; color: var(--text); }
.jm-cover { width: 46px; height: 46px; border-radius: 12px; background-size: cover; background-position: center; flex-shrink: 0; }
.jm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jm-body b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-body span { font-size: 12px; color: var(--muted); }
.jm-reward { color: var(--gold); font-weight: 900; font-size: 16px; }
.jh-install { position: relative; margin-top: 12px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--gold); background: rgba(255, 200, 69, .08); border: 1.5px solid rgba(255, 200, 69, .45); text-decoration: none; transition: transform .12s ease, background .18s ease, border-color .18s ease; }
.jh-install:active { transform: translateY(1px); background: rgba(255, 200, 69, .18); border-color: rgba(255, 200, 69, .7); }
.jh-install .tag { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 800; color: #1A1400; background: var(--gold); padding: 2px 7px; border-radius: 999px; letter-spacing: .5px; }