:root {
  --night: #0c0f15;
  --night-2: #141923;
  --night-3: #202633;
  --paper: #f1f2f4;
  --card: #fff;
  --ink: #171a20;
  --muted: #7e8490;
  --line: #e7e9ed;
  --gold: #f3bd48;
  --gold-2: #d99013;
  --gold-soft: #fff1c9;
  --danger: #de5a51;
  --green: #279e67;
  --shadow: 0 12px 34px rgba(15, 18, 26, .08);
}

* { box-sizing: border-box; }
html { color: var(--ink); background: #dfe2e7; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { min-width: 320px; margin: 0; background: var(--paper); }
button, input, textarea { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
body.busy { cursor: progress; }
body.busy button { pointer-events: none; }
.app-shell { width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding-bottom: calc(76px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 0 60px rgba(15, 18, 24, .13); }
.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; color: #fff; background: var(--night); }
.boot-screen p { color: #9ba1ad; font-size: 13px; letter-spacing: .12em; }
.brand-mark { width: 74px; height: 74px; display: grid; place-items: center; color: var(--gold); border: 1px solid #353b48; border-radius: 22px; font-size: 29px; font-weight: 1000; transform: skew(-7deg); }
.page { padding: 17px; animation: enter .2s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } }

.topbar { position: sticky; top: 0; z-index: 30; height: calc(58px + env(safe-area-inset-top)); display: grid; grid-template-columns: 72px 1fr 72px; align-items: end; padding: 0 16px 12px; color: #fff; background: rgba(12, 15, 21, .97); backdrop-filter: blur(18px); }
.topbar > strong { align-self: end; text-align: center; font-size: 16px; }
.mini-logo { align-self: end; width: 36px; height: 28px; display: grid; place-items: center; color: var(--gold); border: 1px solid #3a404d; border-radius: 8px; font-size: 13px; font-weight: 1000; transform: skew(-6deg); }
.topbar-back, .topbar-link { align-self: end; min-height: 30px; padding: 0; color: #b5bac4; background: transparent; font-size: 12px; }
.topbar-back { justify-self: start; width: 34px; color: #fff; font-size: 30px; line-height: 24px; }
.topbar-link { justify-self: end; }

.welcome { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px 28px calc(30px + env(safe-area-inset-bottom)); color: #fff; background: radial-gradient(circle at 85% 12%, rgba(243,189,72,.18), transparent 33%), linear-gradient(160deg, #171c26, #080a0f 68%); }
.welcome::before { content: "WR"; position: absolute; right: -38px; top: 12%; color: rgba(255,255,255,.025); font-size: 220px; font-weight: 1000; font-style: italic; letter-spacing: -.16em; }
.welcome::after { content: ""; position: absolute; left: -110px; top: 18%; width: 260px; height: 260px; border: 46px solid rgba(243,189,72,.035); border-radius: 50%; }
.welcome-brand { position: absolute; left: 28px; top: calc(34px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 12px; }
.welcome-brand span { width: 54px; height: 40px; display: grid; place-items: center; color: var(--gold); border: 1px solid #424958; border-radius: 11px; font-size: 21px; font-weight: 1000; transform: skew(-7deg); }
.welcome-brand small { color: #8e95a2; letter-spacing: .12em; }
.welcome-copy { position: relative; z-index: 1; margin-bottom: 48px; }
.welcome-copy h1 { margin: 15px 0 14px; font-size: clamp(36px, 10vw, 48px); line-height: 1.1; letter-spacing: -.06em; }
.welcome-copy p { max-width: 340px; margin: 0; color: #9aa0ab; font-size: 13px; line-height: 1.8; }
.welcome .btn, .welcome .text-button, .welcome-foot { position: relative; z-index: 1; }
.welcome-foot { margin: 25px 0 0; color: #676d78; text-align: center; font-size: 10px; }
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .2em; }

.hero { position: relative; overflow: hidden; min-height: 278px; margin: -17px -17px 14px; padding: 34px 23px 26px; color: #fff; background: linear-gradient(135deg, #151b25, #090b10 76%); }
.hero::before { content: "WR"; position: absolute; right: -17px; bottom: -58px; color: rgba(255,255,255,.035); font-size: 190px; font-style: italic; font-weight: 1000; letter-spacing: -.14em; }
.hero::after { content: ""; position: absolute; right: -75px; top: -120px; width: 260px; height: 260px; border: 38px solid rgba(243,189,72,.08); border-radius: 50%; }
.hero h1 { position: relative; z-index: 1; margin: 15px 0 10px; font-size: 39px; line-height: 1.08; letter-spacing: -.06em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { position: relative; z-index: 1; max-width: 335px; margin: 0; color: #9ba1ad; font-size: 12px; line-height: 1.7; }
.hero-actions { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 23px; }
.hero-glow { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(243,189,72,.05)); }

.btn { min-height: 44px; padding: 0 18px; border-radius: 13px; font-weight: 850; }
.btn-gold { color: #2c2009; background: linear-gradient(135deg, #ffd976, var(--gold)); box-shadow: 0 10px 22px rgba(217,144,19,.19); }
.btn-dark { color: #fff; background: var(--night-3); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.btn-light { color: var(--ink); background: #f0f2f4; }
.btn-muted { color: #777; background: #e8e9ec; }
.btn-block { width: 100%; }
.btn-xl { min-height: 52px; border-radius: 16px; }
.text-button { margin-top: 16px; color: #aeb4bf; background: none; font-size: 12px; }
.text-button.center { width: 100%; text-align: center; }

.boss-card { overflow: hidden; padding: 17px; color: #fff; background: linear-gradient(135deg, #1a1f29, #10131a); border-radius: 21px; box-shadow: var(--shadow); }
.boss-main { display: flex; align-items: center; gap: 13px; }
.boss-main small { color: #858c98; font-size: 10px; }
.boss-main h2 { margin: 2px 0; font-size: 19px; }
.boss-main p { margin: 0; color: #adb3bd; font-size: 11px; }
.avatar { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: #272d38; border: 1px solid #424957; border-radius: 50%; font-size: 13px; font-weight: 900; }
.avatar-gold { color: #302207; background: linear-gradient(135deg, #ffdf87, #d99720); border: 0; }
.boss-assets { display: grid; grid-template-columns: repeat(3, 1fr); margin: 17px -17px -17px; border-top: 1px solid rgba(255,255,255,.08); }
.boss-assets button { padding: 13px 5px; color: #fff; background: transparent; border-right: 1px solid rgba(255,255,255,.07); }
.boss-assets button:last-child { border: 0; }
.boss-assets strong, .boss-assets span { display: block; }
.boss-assets strong { color: var(--gold); font-size: 15px; }
.boss-assets span { margin-top: 3px; color: #858c98; font-size: 9px; }
.service-strip { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 11px 13px; background: #fff; border-radius: 14px; box-shadow: 0 5px 18px rgba(20,24,33,.04); font-size: 11px; }
.service-strip span { color: var(--gold-2); font-weight: 800; }
.service-strip strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-strip button { padding: 6px 9px; color: #6d5320; background: var(--gold-soft); border-radius: 8px; font-size: 10px; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 11px; }
.quick-item { min-width: 0; padding: 13px 4px 11px; background: #fff; border-radius: 15px; box-shadow: 0 5px 18px rgba(20,24,33,.04); }
.quick-item b { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 auto 7px; color: #3b2a09; background: var(--gold-soft); border-radius: 11px; }
.quick-item span { display: block; font-size: 10px; font-weight: 750; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 23px 2px 12px; }
.section-head h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.section-head button, .section-head > span { padding: 0; color: var(--muted); background: none; font-size: 10px; }
.item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.item-card { overflow: hidden; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.item-art { position: relative; height: 90px; overflow: hidden; padding: 11px; color: #fff; background: linear-gradient(135deg, #3b2c13, #12151b); border-radius: 12px; }
.item-art::after, .wide-art::after, .detail-cover::after { content: ""; position: absolute; width: 90px; height: 90px; right: -25px; bottom: -34px; border: 15px solid rgba(255,255,255,.08); border-radius: 50%; }
.item-art.purple, .wide-art.purple, .detail-cover.purple { background: linear-gradient(135deg, #4c337a, #171326); }
.item-art.blue, .wide-art.blue, .detail-cover.blue { background: linear-gradient(135deg, #1e5c81, #101a25); }
.item-art.orange, .wide-art.orange, .detail-cover.orange { background: linear-gradient(135deg, #8d501f, #25160e); }
.item-art > span { padding: 4px 7px; color: #1c1609; background: var(--gold); border-radius: 6px; font-size: 8px; font-weight: 900; }
.item-art > b { position: absolute; right: 12px; bottom: 6px; color: rgba(255,255,255,.28); font-size: 33px; font-style: italic; }
.item-card h3 { margin: 11px 2px 4px; font-size: 14px; }
.item-card > p { height: 32px; overflow: hidden; margin: 0 2px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.item-price { display: flex; align-items: center; justify-content: space-between; margin: 10px 2px 1px; }
.item-price strong { color: var(--danger); font-size: 15px; }
.item-price span { color: var(--muted); font-size: 9px; }
.player-list { display: grid; gap: 9px; }
.player-card, .select-player { width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 17px; box-shadow: 0 5px 18px rgba(20,24,33,.045); text-align: left; }
.select-player.selected { background: #fffaf0; border-color: var(--gold); }
.player-main { min-width: 0; flex: 1; }
.player-main > strong { display: block; font-size: 14px; }
.player-main > strong i { color: #5aa6d8; font-style: normal; }
.player-main > span { color: var(--muted); font-size: 10px; }
.player-side { text-align: right; }
.player-side strong { display: block; color: var(--danger); font-size: 13px; }
.player-side small { color: var(--muted); font-size: 8px; }
.player-side b { padding: 6px 9px; color: #674712; background: var(--gold-soft); border-radius: 8px; font-size: 9px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.tags small { padding: 3px 5px; color: #6c6575; background: #f0edf5; border-radius: 6px; font-size: 8px; }
.rules-card { margin-top: 22px; padding: 16px; color: #c2c7d0; background: var(--night-2); border-radius: 18px; }
.rules-card span { color: var(--gold); font-size: 11px; font-weight: 800; }
.rules-card p { margin: 7px 0 0; font-size: 10px; line-height: 1.7; }

.order-hero { position: relative; overflow: hidden; margin: -17px -17px 15px; padding: 28px 22px 24px; color: #fff; background: linear-gradient(135deg, #1d232e, #0e1117); }
.order-hero::after { content: "WR"; position: absolute; right: -2px; bottom: -35px; color: rgba(255,255,255,.04); font-size: 105px; font-weight: 1000; font-style: italic; }
.order-hero.hourly { background: linear-gradient(135deg, #3b2d15, #12141a); }
.order-hero > span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.order-hero h1 { margin: 10px 0 6px; font-size: 27px; }
.order-hero p { max-width: 350px; margin: 0; color: #a1a7b1; font-size: 11px; line-height: 1.7; }
.type-switch { display: grid; grid-template-columns: repeat(2, 1fr); padding: 4px; background: #e4e6e9; border-radius: 14px; }
.type-switch button { min-height: 40px; color: #777d88; background: transparent; border-radius: 11px; font-size: 12px; font-weight: 800; }
.type-switch button.active { color: #352506; background: #fff; box-shadow: 0 4px 13px rgba(18,22,30,.07); }
.wide-item-list { display: grid; gap: 11px; margin-top: 13px; }
.wide-item { display: grid; grid-template-columns: 92px 1fr 16px; align-items: center; gap: 12px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.wide-art { position: relative; overflow: hidden; height: 92px; padding: 9px; color: #fff; background: linear-gradient(135deg, #3b2c13, #12151b); border-radius: 13px; }
.wide-art span { position: relative; z-index: 1; color: var(--gold); font-size: 8px; font-weight: 900; }
.wide-art b { position: absolute; left: 10px; bottom: 7px; font-size: 28px; font-style: italic; }
.wide-copy { min-width: 0; }
.wide-copy h3 { margin: 0 0 5px; font-size: 14px; }
.wide-copy p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.wide-copy > div { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.wide-copy > div strong { color: var(--danger); font-size: 15px; }
.wide-copy > div small { color: var(--gold-2); font-size: 9px; }
.chevron { color: #a1a5ad; font-size: 22px; }
.hourly-banner { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding: 18px; color: #fff; background: linear-gradient(135deg, #282f3c, #12151b); border-radius: 18px; text-align: left; }
.hourly-banner small, .hourly-banner strong, .hourly-banner span { display: block; }
.hourly-banner small { color: var(--gold); font-size: 9px; }
.hourly-banner strong { margin: 3px 0; font-size: 19px; }
.hourly-banner span { color: #9097a3; font-size: 9px; }
.hourly-banner > b { color: var(--gold); font-size: 12px; }

.detail-cover { position: relative; overflow: hidden; height: 205px; display: flex; flex-direction: column; justify-content: center; margin: -17px -17px 0; padding: 24px; color: #fff; background: linear-gradient(135deg, #3b2c13, #101319); }
.detail-cover::after { width: 230px; height: 230px; right: -55px; bottom: -100px; border-width: 34px; }
.detail-cover span { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.detail-cover b { position: relative; z-index: 1; margin-top: 8px; font-size: 72px; font-style: italic; line-height: 1; letter-spacing: -.12em; }
.detail-cover small { color: rgba(255,255,255,.45); letter-spacing: .18em; }
.detail-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 19px 2px; }
.detail-title > div > span { color: var(--gold-2); font-size: 9px; font-weight: 850; }
.detail-title h1 { margin: 4px 0 3px; font-size: 23px; }
.detail-title p { margin: 0; color: var(--muted); font-size: 10px; }
.detail-title > strong { flex: 0 0 auto; color: var(--danger); font-size: 21px; }
.points-gate { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 13px 15px; color: #4d390f; background: linear-gradient(135deg, #ffe7a2, #fff5d9); border-radius: 15px; }
.points-gate.compact { margin-top: 11px; }
.points-gate div strong, .points-gate div span { display: block; }
.points-gate div strong { font-size: 14px; }
.points-gate div span, .points-gate > small { font-size: 9px; }
.panel { padding: 16px; background: #fff; border-radius: 19px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel-heading small { color: var(--gold-2); font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.panel-heading h2 { margin: 2px 0 0; font-size: 17px; }
.panel-heading > span, .panel-heading > button { color: var(--muted); background: none; font-size: 9px; }
.hint { margin: 0 0 13px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.pool-choice { width: 100%; display: flex; align-items: center; gap: 11px; margin-bottom: 10px; padding: 12px; color: var(--ink); background: #f2f3f5; border: 1px solid transparent; border-radius: 14px; text-align: left; }
.pool-choice.active { background: #fff9e9; border-color: var(--gold); }
.pool-choice > b { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-2); background: #fff; border-radius: 50%; }
.pool-choice div strong, .pool-choice div span { display: block; }
.pool-choice div strong { font-size: 12px; }
.pool-choice div span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.player-list.compact .select-player { padding: 11px; background: #f7f8f9; box-shadow: none; }
.detail-copy { margin-top: 12px; padding: 17px; background: #fff; border-radius: 19px; }
.detail-copy h2 { margin: 0 0 8px; font-size: 16px; }
.detail-copy p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; white-space: pre-wrap; }
.duration-picker { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 15px; padding: 8px; background: #f3f4f6; border-radius: 16px; text-align: center; }
.duration-picker button { height: 42px; color: #382807; background: var(--gold-soft); border-radius: 12px; font-size: 22px; }
.duration-picker strong { font-size: 25px; }
.duration-picker strong small { margin-left: 5px; color: var(--muted); font-size: 10px; }
.sticky-action { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 18; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 13px; margin: 16px -8px 0; padding: 10px; background: rgba(241,242,244,.94); border-radius: 17px; backdrop-filter: blur(14px); }
.sticky-action > div small, .sticky-action > div strong { display: block; }
.sticky-action > div small { color: var(--muted); font-size: 8px; }
.sticky-action > div strong { margin-top: 2px; color: var(--danger); font-size: 18px; }

.checkout-product { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 11px; padding: 14px; color: #fff; background: var(--night-2); border-radius: 18px; }
.checkout-mark { width: 54px; height: 54px; display: grid; place-items: center; color: var(--gold); background: #262d39; border-radius: 14px; font-weight: 1000; transform: skew(-5deg); }
.checkout-product small { color: var(--gold); font-size: 8px; }
.checkout-product h2 { margin: 3px 0; font-size: 14px; }
.checkout-product p { margin: 0; color: #9ca2ad; font-size: 9px; }
.checkout-product > strong { color: var(--gold); font-size: 15px; }
.form-stack { display: grid; gap: 12px; margin-top: 12px; }
.field { display: block; }
.field + .field { margin-top: 11px; }
.field > span { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; color: #626875; font-size: 10px; font-weight: 750; }
.field > span i { color: var(--danger); font-style: normal; }
.field > span small { color: #9da2ac; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #f4f5f7; border: 1px solid transparent; border-radius: 12px; outline: 0; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--gold); }
.field textarea { min-height: 82px; resize: vertical; }
.payment-panel .summary-line { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; }
.payment-panel .summary-line strong { color: var(--ink); }
.balance-toggle { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 12px; background: #f5f6f7; border-radius: 13px; }
.balance-toggle div strong, .balance-toggle div span { display: block; }
.balance-toggle div strong { font-size: 11px; }
.balance-toggle div span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.balance-toggle input { position: absolute; opacity: 0; }
.balance-toggle > i { position: relative; width: 42px; height: 24px; background: #c9cdd3; border-radius: 999px; transition: .2s; }
.balance-toggle > i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .2s; }
.balance-toggle input:checked + i { background: var(--gold); }
.balance-toggle input:checked + i::after { transform: translateX(18px); }
.submit-note { margin: 0 10px; color: var(--muted); text-align: center; font-size: 8px; line-height: 1.6; }

.status-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 13px; background: #e4e6e9; border-radius: 13px; padding: 4px; }
.status-tabs button { min-height: 36px; color: #8a909b; background: transparent; border-radius: 10px; font-size: 9px; }
.status-tabs button.active { color: var(--ink); background: #fff; font-weight: 800; }
.order-list { display: grid; gap: 11px; }
.order-card { padding: 15px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.order-head div span, .order-head div small { display: block; }
.order-head div span { color: var(--gold-2); font-size: 9px; font-weight: 800; }
.order-head div small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.status { font-size: 10px; }
.status-completed { color: var(--green); }
.status-cancelled, .status-refunded { color: var(--muted); }
.status-serving, .status-pending_review { color: #4b73bc; }
.order-card h3 { margin: 14px 0 9px; font-size: 15px; }
.order-meta { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 9px; }
.order-foot strong { color: var(--danger); font-size: 15px; }

.profile-hero { margin: -17px -17px 12px; padding: 28px 20px 19px; color: #fff; background: linear-gradient(135deg, #202733, #0f1218); }
.profile-identity { display: flex; align-items: center; gap: 12px; }
.profile-identity > div:nth-child(2) { min-width: 0; flex: 1; }
.profile-identity span { color: var(--gold); font-size: 9px; }
.profile-identity h1 { margin: 2px 0; font-size: 21px; }
.profile-identity p { margin: 0; color: #9299a4; font-size: 9px; }
.profile-identity > button { padding: 7px 9px; color: #c5cad2; background: rgba(255,255,255,.08); border-radius: 8px; font-size: 9px; }
.progress-copy { display: flex; justify-content: space-between; margin-top: 16px; color: #9ea4ae; font-size: 8px; }
.progress-copy strong { color: var(--gold); }
.progress { height: 5px; overflow: hidden; margin-top: 6px; background: rgba(255,255,255,.1); border-radius: 999px; }
.progress i { height: 100%; display: block; background: linear-gradient(90deg, var(--gold-2), #ffe392); border-radius: inherit; }
.asset-card { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.asset-card button { padding: 15px; background: transparent; text-align: left; }
.asset-card button + button { border-left: 1px solid var(--line); }
.asset-card small, .asset-card strong, .asset-card span { display: block; }
.asset-card small { color: var(--muted); font-size: 9px; }
.asset-card strong { margin: 4px 0; font-size: 19px; }
.asset-card span { color: var(--gold-2); font-size: 8px; }
.order-counts { display: grid; grid-template-columns: repeat(4, 1fr); }
.order-counts button, .order-counts > div { padding: 8px 2px; background: transparent; text-align: center; }
.order-counts strong, .order-counts span { display: block; }
.order-counts strong { font-size: 17px; }
.order-counts span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.menu-list { padding-top: 3px; padding-bottom: 3px; }
.menu-row { width: 100%; min-height: 53px; display: flex; align-items: center; justify-content: space-between; padding: 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; }
.menu-row:last-child { border: 0; }
.menu-row b, .menu-row small { color: var(--muted); font-size: 9px; }
.profile-tip { margin-top: 12px; padding: 15px; color: #aaa; background: var(--night-2); border-radius: 17px; }
.profile-tip strong { color: var(--gold); font-size: 9px; }
.profile-tip p { margin: 6px 0 0; font-size: 8px; line-height: 1.65; }

.wallet-card, .points-card, .level-current { position: relative; overflow: hidden; margin: -17px -17px 13px; padding: 28px 22px; color: #fff; background: linear-gradient(135deg, #3c2e16, #11141b 68%); }
.wallet-card::after, .points-card::after, .level-current::after { content: "WR"; position: absolute; right: -5px; bottom: -32px; color: rgba(255,255,255,.04); font-size: 110px; font-weight: 1000; font-style: italic; }
.wallet-card > span, .points-card > span, .level-current > span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.wallet-card > small { display: block; margin-top: 19px; color: #a5abb5; font-size: 9px; }
.wallet-card > strong { display: block; margin: 4px 0; font-size: 36px; }
.wallet-card > p, .points-card > p, .level-current > p { margin: 10px 0 0; color: #9ba1ab; font-size: 9px; }
.recharge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.recharge-grid button { padding: 12px; color: var(--ink); background: #f5f6f7; border-radius: 12px; text-align: left; }
.recharge-grid strong, .recharge-grid span { display: block; }
.recharge-grid strong { font-size: 13px; }
.recharge-grid span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.ledger { padding-top: 2px; padding-bottom: 2px; }
.ledger-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border: 0; }
.ledger-row div strong, .ledger-row div small { display: block; }
.ledger-row div strong { font-size: 10px; }
.ledger-row div small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.ledger-row > span { color: var(--danger); font-size: 11px; font-weight: 800; }
.ledger-row > span.positive { color: var(--green); }
.points-card > div { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; margin-top: 17px; }
.points-card > div small, .points-card > div strong { display: block; }
.points-card > div small { color: #a5abb5; font-size: 9px; }
.points-card > div strong { margin-top: 2px; font-size: 34px; }
.level-current > small { display: block; margin-top: 20px; color: #a5abb5; font-size: 8px; }
.level-current h1 { margin: 4px 0; font-size: 29px; }
.level-list { display: grid; gap: 10px; }
.level-card { padding: 16px; background: #fff; border: 1px solid transparent; border-radius: 17px; box-shadow: var(--shadow); }
.level-card.current { background: #fffaf0; border-color: var(--gold); }
.level-card > div span { color: var(--gold-2); font-size: 8px; }
.level-card h3 { margin: 3px 0 0; font-size: 16px; }
.level-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.level-card li { padding: 5px 7px; color: #695e48; background: #f6f0e4; border-radius: 7px; font-size: 8px; }

.employee-login-head { margin: -17px -17px 13px; padding: 35px 22px; color: #fff; background: var(--night-2); }
.employee-login-head span { color: var(--gold); font-size: 9px; letter-spacing: .17em; }
.employee-login-head h1 { margin: 8px 0 4px; font-size: 28px; }
.employee-login-head p { margin: 0; color: #959ca7; font-size: 10px; }
.staff-summary { display: flex; align-items: center; gap: 12px; margin: -17px -17px 13px; padding: 26px 20px; color: #fff; background: var(--night-2); }
.staff-summary > div:nth-child(2) { min-width: 0; flex: 1; }
.staff-summary h1 { margin: 2px 0; font-size: 20px; }
.staff-summary p, .staff-summary small { margin: 0; color: #969da8; font-size: 8px; }
.staff-summary > strong { color: var(--gold); text-align: right; font-size: 16px; }
.staff-summary > strong small { display: block; margin-top: 3px; }
.notice { padding: 12px 14px; color: #74520f; background: #fff0c8; border-radius: 13px; font-size: 9px; line-height: 1.65; }
.notice.dark { color: #bec4ce; background: #232936; }
.notice.danger { margin-bottom: 12px; color: #8e342f; background: #ffe1de; }
.notice.success { color: #17663f; background: #daf5e8; }

/* 打手端 */
.staff-page { --staff-gold: #f4ba3b; }
.staff-topbar { background: rgba(10, 13, 18, .98); }
.staff-nav .nav-item.active b { color: #2b1e05; background: #f9d77d; }
.staff-dashboard-hero { overflow: hidden; margin: -17px -17px 12px; padding: 25px 20px 19px; color: #fff; background: radial-gradient(circle at 90% 0, rgba(244,186,59,.17), transparent 38%), linear-gradient(135deg, #1c222d, #0b0e13); }
.staff-identity { display: flex; align-items: center; gap: 12px; }
.staff-identity > div:nth-child(2) { min-width: 0; flex: 1; }
.staff-identity span { color: var(--gold); font-size: 9px; }
.staff-identity h1 { margin: 3px 0; font-size: 22px; }
.staff-identity p { margin: 0; color: #979eaa; font-size: 9px; }
.staff-identity > button { padding: 7px 9px; color: #b9bec8; background: rgba(255,255,255,.08); border-radius: 9px; font-size: 9px; }
.staff-money { display: flex; align-items: end; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.staff-money small, .staff-money strong { display: block; }
.staff-money small { color: #8f96a2; font-size: 8px; }
.staff-money strong { margin-top: 3px; color: var(--gold); font-size: 24px; }
.staff-money button { padding: 8px 11px; color: #2c2008; background: var(--gold); border-radius: 9px; font-size: 9px; font-weight: 850; }
.assigned-alert { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px; color: #392909; background: linear-gradient(135deg, #ffe49b, #f3ba3c); border-radius: 16px; box-shadow: 0 10px 24px rgba(218,148,22,.19); }
.assigned-alert.compact { margin-top: 0; }
.assigned-alert > div { min-width: 0; flex: 1; }
.assigned-alert span, .assigned-alert strong, .assigned-alert small { display: block; }
.assigned-alert span { font-size: 8px; font-weight: 850; letter-spacing: .07em; }
.assigned-alert strong { margin: 3px 0; font-size: 12px; }
.assigned-alert small { opacity: .7; font-size: 8px; }
.assigned-alert > button { flex: 0 0 auto; padding: 8px 10px; color: #fff; background: #31260f; border-radius: 9px; font-size: 9px; }
.staff-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: #fff; border-radius: 17px; box-shadow: var(--shadow); }
.staff-stat-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.staff-stat-grid > button, .staff-stat-grid > div { padding: 14px 3px; background: transparent; border-right: 1px solid var(--line); text-align: center; }
.staff-stat-grid > :last-child { border-right: 0; }
.staff-stat-grid strong, .staff-stat-grid span { display: block; }
.staff-stat-grid strong { font-size: 13px; }
.staff-stat-grid span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.staff-quick { margin-top: 10px; }
.staff-order-list { display: grid; gap: 10px; }
.staff-active-card { padding: 15px; background: #fff; border-radius: 17px; box-shadow: var(--shadow); }
.staff-active-card h3 { margin: 13px 0 8px; font-size: 15px; }
.staff-card-meta { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.notification-list { padding-top: 2px; padding-bottom: 2px; }
.notification-row { width: 100%; display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; }
.notification-row:last-child { border: 0; }
.notification-row > i { width: 7px; height: 7px; background: var(--danger); border-radius: 50%; }
.notification-row div strong, .notification-row div span { display: block; }
.notification-row div strong { font-size: 10px; }
.notification-row div span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.notification-row > small { color: var(--muted); font-size: 7px; }

.pool-hero { position: relative; overflow: hidden; margin: -17px -17px 13px; padding: 30px 21px 25px; color: #fff; background: linear-gradient(135deg, #362a15, #0f1218 72%); }
.pool-hero::after { content: "抢"; position: absolute; right: 8px; bottom: -35px; color: rgba(255,255,255,.035); font-size: 110px; font-weight: 1000; }
.pool-hero span { color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.pool-hero h1 { margin: 9px 0 6px; font-size: 25px; }
.pool-hero p { max-width: 355px; margin: 0; color: #a2a8b2; font-size: 9px; line-height: 1.7; }
.pool-list { gap: 12px; }
.pool-order-card { padding: 16px; background: #fff; border-radius: 19px; box-shadow: var(--shadow); }
.pool-order-top { display: flex; align-items: center; justify-content: space-between; }
.pool-order-top div span, .pool-order-top div strong, .pool-order-top div small { display: block; }
.pool-order-top div span { color: var(--gold-2); font-size: 8px; }
.pool-order-top div strong { margin: 3px 0; font-size: 12px; }
.pool-order-top div small { color: var(--muted); font-size: 8px; }
.pool-order-top > b { padding: 5px 8px; color: #6c4d12; background: var(--gold-soft); border-radius: 7px; font-size: 8px; }
.pool-order-card h2 { margin: 15px 0 12px; font-size: 18px; }
.pool-money { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; background: #f5f6f7; border-radius: 13px; }
.pool-money > div { padding: 12px; }
.pool-money > div + div { border-left: 1px solid #e2e4e8; }
.pool-money small, .pool-money strong { display: block; }
.pool-money small { color: var(--muted); font-size: 8px; }
.pool-money strong { margin-top: 4px; color: var(--danger); font-size: 16px; }
.pool-order-card > p { color: var(--muted); font-size: 8px; line-height: 1.65; }
.section-head.first { margin-top: 2px; }

.staff-order-detail-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: -17px -17px 12px; padding: 27px 20px 22px; color: #fff; background: linear-gradient(135deg, #1c222d, #0e1116); }
.staff-order-detail-head div span { color: var(--gold); font-size: 8px; }
.staff-order-detail-head h1 { margin: 5px 0; font-size: 21px; }
.staff-order-detail-head div p { margin: 0; color: #939aa5; font-size: 8px; }
.staff-order-detail-head > strong { color: var(--gold); text-align: right; font-size: 18px; }
.staff-order-detail-head > strong small { display: block; margin-top: 3px; color: #9299a5; font-size: 7px; }
.detail-rows > div { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 8px; min-height: 42px; border-bottom: 1px solid var(--line); font-size: 9px; }
.detail-rows > div:last-child { border: 0; }
.detail-rows > div span { color: var(--muted); }
.detail-rows > div strong { overflow-wrap: anywhere; text-align: right; }
.detail-rows > div button { padding: 5px 7px; color: #745617; background: var(--gold-soft); border-radius: 6px; font-size: 7px; }
.team-strip { display: flex; flex-wrap: wrap; gap: 15px; }
.team-strip > div { width: 58px; text-align: center; }
.team-strip .avatar { width: 42px; height: 42px; margin: 0 auto; }
.team-strip strong, .team-strip span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-strip strong { margin-top: 5px; font-size: 9px; }
.team-strip span { color: var(--muted); font-size: 7px; }
.order-action-panel { margin-top: 12px; padding: 10px; background: rgba(241,242,244,.95); border-radius: 17px; }
.staff-order-note { margin: 13px 10px; color: var(--muted); text-align: center; font-size: 8px; line-height: 1.65; }
.upload-box { position: relative; min-height: 145px; display: grid; place-content: center; justify-items: center; padding: 20px; background: #f3f4f6; border: 1px dashed #c8ccd3; border-radius: 14px; text-align: center; }
.upload-box input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload-box b { width: 38px; height: 38px; display: grid; place-items: center; color: #4b360b; background: var(--gold-soft); border-radius: 12px; font-size: 22px; }
.upload-box strong { margin-top: 9px; font-size: 11px; }
.upload-box span { margin-top: 4px; color: var(--muted); font-size: 8px; }

.staff-wallet-card { position: relative; overflow: hidden; margin: -17px -17px 0; padding: 29px 22px 24px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(244,186,59,.2), transparent 35%), linear-gradient(135deg, #302613, #0d1016 72%); }
.staff-wallet-card::after { content: "¥"; position: absolute; right: 16px; bottom: -45px; color: rgba(255,255,255,.035); font-size: 150px; font-weight: 900; }
.staff-wallet-card > span { color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.staff-wallet-card > small { display: block; margin-top: 20px; color: #a5abb4; font-size: 8px; }
.staff-wallet-card > strong { display: block; margin: 3px 0 11px; font-size: 38px; }
.staff-wallet-card > div { position: relative; z-index: 1; display: flex; gap: 16px; color: #9ca2ad; font-size: 8px; }
.staff-wallet-card > div p { margin: 0; }
.staff-wallet-card > button { position: relative; z-index: 1; margin-top: 18px; }
.ranking-hero { margin: -17px -17px 12px; padding: 29px 21px; color: #fff; background: linear-gradient(135deg, #332816, #0e1116); }
.ranking-hero > span { color: var(--gold); font-size: 8px; letter-spacing: .16em; }
.ranking-hero h1 { margin: 8px 0 20px; font-size: 25px; }
.ranking-hero > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.ranking-hero > div > div { padding: 12px; background: rgba(255,255,255,.07); border-radius: 12px; }
.ranking-hero small, .ranking-hero strong { display: block; }
.ranking-hero small { color: #9ea4ae; font-size: 8px; }
.ranking-hero strong { margin-top: 5px; color: var(--gold); font-size: 14px; }
.ranking-switch { margin-bottom: 11px; }
.ranking-list { padding-top: 3px; padding-bottom: 3px; }
.ranking-row { display: grid; grid-template-columns: 26px 38px 1fr auto; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranking-row:last-child { border: 0; }
.ranking-row.self { margin: 0 -8px; padding: 10px 8px; background: #fff8e6; border-radius: 11px; }
.ranking-row > b { color: var(--gold-2); text-align: center; }
.ranking-row .avatar { width: 38px; height: 38px; font-size: 10px; }
.ranking-row div:nth-child(3) strong, .ranking-row div:nth-child(3) span { display: block; }
.ranking-row div:nth-child(3) strong { font-size: 10px; }
.ranking-row div:nth-child(3) span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.ranking-row > p { color: var(--danger); font-size: 10px; font-weight: 850; }
.deposit-card { margin: -17px -17px 12px; padding: 31px 22px 26px; color: #fff; background: linear-gradient(135deg, #1d513b, #0d1512); }
.deposit-card.missing { background: linear-gradient(135deg, #55302b, #160e0d); }
.deposit-card > span { color: #9fe0bd; font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.deposit-card.missing > span { color: #ffc0ba; }
.deposit-card > small { display: block; margin-top: 20px; color: #a8b6af; font-size: 8px; }
.deposit-card > strong { display: block; margin: 4px 0 8px; font-size: 35px; }
.deposit-card > p { max-width: 330px; color: #aab7b1; font-size: 9px; line-height: 1.6; }
.deposit-card > b { display: inline-flex; margin-top: 12px; padding: 7px 10px; color: #145035; background: #a9e4c3; border-radius: 8px; font-size: 9px; }
.staff-profile-card { display: flex; align-items: center; gap: 13px; margin: -17px -17px 12px; padding: 29px 21px; color: #fff; background: linear-gradient(135deg, #1d232e, #0c0f14); }
.staff-profile-card > div:last-child { min-width: 0; flex: 1; }
.staff-profile-card span { color: var(--gold); font-size: 8px; }
.staff-profile-card h1 { margin: 3px 0; font-size: 22px; }
.staff-profile-card p { margin: 0; color: #969da8; font-size: 8px; }
.staff-assets { margin-bottom: 12px; }

.captcha-question { padding: 18px; color: #3d2d0c; background: var(--gold-soft); border-radius: 14px; text-align: center; font-size: 24px; font-weight: 900; }
.current-team-list { display: grid; gap: 8px; margin-bottom: 13px; }
.current-team-list > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; padding: 8px; background: #f4f5f7; border-radius: 12px; }
.current-team-list .avatar { width: 38px; height: 38px; }
.current-team-list span strong, .current-team-list span small { display: block; }
.current-team-list span strong { font-size: 10px; }
.current-team-list span small { color: var(--muted); font-size: 8px; }
.current-team-list button { padding: 6px 8px; color: #a63c36; background: #ffe5e2; border-radius: 7px; font-size: 8px; }
.current-team-list > div > b { color: var(--muted); font-size: 7px; }
.candidate-list { display: grid; gap: 7px; max-height: 260px; overflow: auto; }
.candidate-list label { display: grid; grid-template-columns: 38px 1fr 22px; align-items: center; gap: 9px; padding: 9px; background: #f5f6f7; border-radius: 12px; }
.candidate-list input { position: absolute; opacity: 0; }
.candidate-list .avatar { width: 38px; height: 38px; }
.candidate-list span strong, .candidate-list span small { display: block; }
.candidate-list span strong { font-size: 10px; }
.candidate-list span small { color: var(--muted); font-size: 8px; }
.candidate-list i { width: 20px; height: 20px; border: 1px solid #c7cbd2; border-radius: 7px; }
.candidate-list input:checked ~ i { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 5px #fff; }
.guarantee-warning { text-align: center; }
.guarantee-warning > b { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; color: #fff; background: var(--danger); border-radius: 50%; font-size: 25px; }
.guarantee-warning h2 { margin: 0 0 7px; }
.guarantee-warning p { margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.7; }

.bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 40; width: min(100%, 520px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateX(-50%); backdrop-filter: blur(18px); }
.nav-item { display: grid; justify-items: center; gap: 2px; color: #9399a4; background: transparent; font-size: 9px; }
.nav-item b { width: 31px; height: 29px; display: grid; place-items: center; border-radius: 10px; font-size: 14px; }
.nav-item.active { color: var(--ink); font-weight: 850; }
.nav-item.active b { color: #3b2a08; background: var(--gold-soft); }
.toast { position: fixed; left: 50%; bottom: 94px; z-index: 100; max-width: calc(100vw - 42px); padding: 11px 15px; color: #fff; background: rgba(13,16,22,.95); border-radius: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s; font-size: 11px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-root { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-end; justify-content: center; padding: 14px; background: rgba(6,8,12,.58); }
.modal-root.open { display: flex; }
.modal-sheet { width: min(100%, 492px); max-height: 86vh; overflow: auto; padding: 20px; background: #fff; border-radius: 23px; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.modal-sheet > h2 { margin: 0 0 16px; font-size: 20px; }
.modal-kicker { margin-bottom: 5px; color: var(--gold-2); font-size: 9px; font-weight: 850; }
.modal-order { display: grid; gap: 0; }
.modal-order > div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 9px; }
.modal-order > div span { color: var(--muted); }
.modal-order > div strong { overflow-wrap: anywhere; text-align: right; }
.modal-actions { display: flex; gap: 9px; margin-top: 16px; }
.modal-actions .btn { flex: 1; }
.copy-value { margin: 14px 0; padding: 17px; background: #f3f4f6; border-radius: 13px; text-align: center; font-size: 18px; font-weight: 850; user-select: all; }
.empty { padding: 48px 20px; color: var(--muted); text-align: center; }
.empty.small { padding: 20px 10px; font-size: 10px; }
.empty h2 { color: var(--ink); font-size: 18px; }
.empty p { font-size: 10px; line-height: 1.7; }
.empty-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto; color: var(--gold); background: var(--night-2); border-radius: 17px; font-weight: 1000; }
.center-text { text-align: center; }

@media (min-width: 760px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); overflow: hidden; border-radius: 26px; }
  .bottom-nav { bottom: 24px; border-radius: 0 0 26px 26px; }
}
