: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: "添阙"; position: absolute; right: -38px; top: 12%; color: rgba(255,255,255,.025); font-size: 180px; font-weight: 1000; font-style: italic; letter-spacing: -.12em; }
.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, .welcome-compliance { position: relative; z-index: 1; }
.welcome-foot { margin: 25px 0 0; color: #676d78; text-align: center; font-size: 10px; }
.welcome-compliance { margin-top: 10px; color: #676d78; text-align: center; font-size: 10px; line-height: 1.7; }
.welcome-compliance p { margin: 0; }
.welcome-compliance div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 7px; }
.welcome-compliance a, .welcome-compliance span { color: inherit; text-decoration: none; }
.welcome-compliance a { border-bottom: 1px solid rgba(103,109,120,.45); }
.welcome-compliance i { font-style: normal; }
.welcome-password { justify-content: flex-start; overflow-y: auto; padding-top: calc(112px + env(safe-area-inset-top)); }
.welcome-password .welcome-copy { margin-bottom: 20px; }
.welcome-password .welcome-copy h1 { font-size: clamp(30px, 8vw, 42px); }
.welcome-account { position: relative; z-index: 2; width: 100%; color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.welcome-account > div > h2 { margin: 5px 0; font-size: 18px; }
.welcome-account > div > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.welcome-register { margin-top: 14px; border-top: 1px solid var(--line); }
.welcome-register summary { padding-top: 14px; color: #765615; cursor: pointer; font-size: 11px; font-weight: 800; text-align: center; }
.welcome-account .consent-check { color: #686f7b; }
.consent-check.welcome-consent { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 14px; gap: 7px; color: #858c98; text-align: center; }
.consent-check.welcome-consent input { flex: 0 0 auto; margin: 0; }
.consent-check.welcome-consent span { display: inline; }
.inline-policy-link { display: inline; padding: 0; color: var(--gold); background: transparent; font-size: inherit; line-height: inherit; vertical-align: baseline; text-decoration: underline; text-underline-offset: 2px; }
.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: "添阙"; position: absolute; right: -17px; bottom: -58px; color: rgba(255,255,255,.035); font-size: 150px; font-style: italic; font-weight: 1000; letter-spacing: -.1em; }
.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)); }
.hero-kook { position: absolute; z-index: 2; top: 25px; right: 20px; min-width: 82px; padding: 8px 10px; text-align: center; background: rgba(7,9,13,.72); border: 1px solid rgba(243,189,72,.4); border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.hero-kook small, .hero-kook strong { display: block; }
.hero-kook small { color: #aaaeb7; font-size: 8px; letter-spacing: .12em; }
.hero-kook strong { margin-top: 2px; color: var(--gold); font-size: 15px; letter-spacing: .05em; }

.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; }

.privacy-page { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
.privacy-intro, .privacy-section { margin-bottom: 13px; padding: 18px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.privacy-intro { color: #fff; background: linear-gradient(135deg, #1a1f29, #10131a); }
.privacy-intro span, .privacy-intro strong { display: block; }
.privacy-intro span { color: #8e95a2; font-size: 10px; }
.privacy-intro strong { margin: 4px 0 11px; color: var(--gold); font-size: 15px; }
.privacy-intro p, .privacy-section p { margin: 0; font-size: 12px; line-height: 1.85; }
.privacy-intro p { color: #c0c4cc; }
.privacy-section h2 { margin: 0 0 11px; font-size: 17px; }
.privacy-section h3 { margin: 14px 0 5px; font-size: 13px; }
.privacy-section h3:first-of-type { margin-top: 0; }
.privacy-section p { color: #606773; }

.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; overflow: hidden; color: #fff; background: #272d38; border: 1px solid #424957; border-radius: 50%; font-size: 13px; font-weight: 900; }
.avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.avatar-gold { color: #302207; background: linear-gradient(135deg, #ffdf87, #d99720); border: 0; }
.avatar-upload { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; background: #f7f7f8; border: 1px solid #e6e7ea; border-radius: 14px; cursor: pointer; }
.avatar-upload > span:nth-child(2) { min-width: 0; flex: 1; }
.avatar-upload strong, .avatar-upload small { display: block; }
.avatar-upload strong { color: #23262d; font-size: 13px; }
.avatar-upload small { margin-top: 3px; color: #858c98; font-size: 9px; line-height: 1.5; }
.avatar-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.room-selection { overflow: hidden; }
.room-guide { margin-bottom: 14px; padding: 13px 14px; color: #5e4515; background: linear-gradient(135deg, #fff7dc, #fffaf0); border: 1px solid #f1d58c; border-radius: 14px; }
.room-guide b, .room-guide p { display: block; }
.room-guide b { margin-bottom: 4px; font-size: 13px; }
.room-guide p { margin: 0; font-size: 10px; line-height: 1.7; }
.room-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.room-mode label { position: relative; display: block; }
.room-mode input { position: absolute; opacity: 0; pointer-events: none; }
.room-mode span { display: block; height: 100%; padding: 11px; background: #f6f7f9; border: 1px solid #e5e7eb; border-radius: 12px; }
.room-mode strong, .room-mode small { display: block; }
.room-mode strong { color: #333943; font-size: 11px; }
.room-mode small { margin-top: 3px; color: #8d949e; font-size: 8px; line-height: 1.4; }
.room-mode input:checked + span { background: var(--gold-soft); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.floor-input { display: flex; align-items: center; overflow: hidden; background: #f7f7f8; border-radius: 12px; }
.floor-input input { min-width: 0; flex: 1; background: transparent; border: 0; }
.floor-input b { padding-right: 14px; color: #80601e; font-size: 12px; }
[data-room-floor].disabled { display: none; }
.order-room { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; padding: 9px 11px; color: #664b16; background: var(--gold-soft); border-radius: 10px; }
.order-room span { font-size: 9px; }
.order-room strong { font-size: 12px; }
.staff-room { margin-bottom: 11px; }
.room-result { margin: 12px 0 16px; padding: 15px; text-align: center; background: linear-gradient(135deg, #fff2c4, #fff8e6); border: 1px solid #efd17a; border-radius: 16px; }
.room-result small, .room-result strong, .room-result span { display: block; }
.room-result small { color: #8b6a25; font-size: 9px; }
.room-result strong { margin: 4px 0; color: #2f240c; font-size: 24px; }
.room-result span { color: #745b27; font-size: 10px; line-height: 1.6; }
.room-result.large { padding: 20px 15px; }
.service-wechat-result { margin: 12px 0; padding: 16px; text-align: center; color: #fff; background: linear-gradient(135deg, #252b36, #11151c); border-radius: 16px; }
.service-wechat-result small, .service-wechat-result strong { display: block; }
.service-wechat-result small { color: #f1c65e; font-size: 9px; }
.service-wechat-result strong { margin: 6px 0; font-size: 24px; letter-spacing: .02em; overflow-wrap: anywhere; }
.service-wechat-result p { margin: 0 0 12px; color: #b6bdc8; font-size: 10px; line-height: 1.6; }
.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 { 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 { background: linear-gradient(135deg, #4c337a, #171326); }
.item-art.blue, .wide-art.blue { background: linear-gradient(135deg, #1e5c81, #101a25); }
.item-art.orange, .wide-art.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 strong small, .wide-copy strong small, .product-summary-card strong small { margin-left: 2px; font-size: .48em; font-weight: 800; }
.item-price span { color: var(--muted); font-size: 9px; }
.player-list { display: grid; gap: 9px; }
.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: "添阙"; position: absolute; right: -2px; bottom: -35px; color: rgba(255,255,255,.04); font-size: 82px; 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; }
.category-card { width: 100%; border: 0; text-align: left; color: var(--ink); }
.category-card .wide-copy > strong { display: block; margin-bottom: 8px; font-size: 16px; }
.category-card .wide-copy > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.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; }

.product-detail-visual { position: relative; overflow: hidden; min-height: 320px; margin: -17px -17px 12px; color: #fff; background: linear-gradient(145deg, #372a14, #090b10 72%); }
.product-detail-visual.purple { background: linear-gradient(145deg, #4c337a, #100c19 72%); }
.product-detail-visual.blue { background: linear-gradient(145deg, #1e5c81, #08111a 72%); }
.product-detail-visual.orange { background: linear-gradient(145deg, #8d501f, #170d08 72%); }
.product-detail-visual > img { width: 100%; height: 320px; display: block; object-fit: cover; }
.product-detail-visual > div { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: center; padding: 34px 28px; background: radial-gradient(circle at 83% 20%, rgba(255,213,111,.18), transparent 28%); }
.product-detail-visual > div::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 280px; height: 280px; border: 42px solid rgba(255,255,255,.04); border-radius: 50%; }
.product-detail-visual > div span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.product-detail-visual > div strong { position: relative; z-index: 1; margin: 17px 0 8px; font-size: 44px; font-style: italic; letter-spacing: -.07em; }
.product-detail-visual > div small { color: #a2a7b0; font-size: 11px; letter-spacing: .12em; }
.product-detail-visual > div b { position: absolute; right: 24px; bottom: 13px; color: rgba(255,255,255,.08); font-size: 88px; font-style: italic; }
.product-detail-visual > em { position: absolute; left: 17px; top: 17px; z-index: 2; padding: 6px 9px; color: #2a1e08; background: var(--gold); border-radius: 8px; font-size: 9px; font-style: normal; font-weight: 900; }
.product-summary-card { margin-bottom: 12px; padding: 19px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.product-summary-card h1 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.product-summary-card > p { margin: 8px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-summary-card > div { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.product-summary-card > div span { color: var(--muted); font-size: 9px; }
.product-summary-card > div strong { color: var(--danger); font-size: 28px; }
.product-assurance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 12px; padding: 14px 5px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.product-assurance > div { display: grid; justify-items: center; gap: 3px; text-align: center; }
.product-assurance b { width: 30px; height: 30px; display: grid; place-items: center; color: #5b4214; background: var(--gold-soft); border-radius: 10px; font-size: 9px; }
.product-assurance strong { font-size: 9px; }
.product-assurance small { color: var(--muted); font-size: 7px; }
.product-detail-copy, .product-order-notice { margin-bottom: 12px; padding: 18px; background: #fff; border-radius: 19px; box-shadow: var(--shadow); }
.product-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.product-section-head h2, .product-order-notice h2 { margin: 0; font-size: 18px; }
.product-section-head span { color: var(--muted); font-size: 8px; }
.product-detail-copy > p { margin: 0; color: #414651; font-size: 11px; line-height: 1.9; white-space: pre-wrap; }
.product-detail-images { display: grid; gap: 10px; margin-top: 14px; }
.product-detail-images img { width: 100%; height: auto; display: block; background: #f0f1f3; border-radius: 13px; object-fit: contain; }
.product-order-notice ol { display: grid; gap: 7px; margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.product-detail-page { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
.product-detail-action { position: fixed; left: 50%; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 35; width: min(calc(100% - 24px), 496px); display: grid; grid-template-columns: 82px 1fr; gap: 9px; margin: 0; padding: 9px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 35px rgba(20,24,33,.14); transform: translateX(-50%); backdrop-filter: blur(14px); }
.product-detail-action > button:first-child { display: grid; justify-items: center; gap: 1px; color: var(--ink); background: #f0f1f3; border-radius: 12px; font-size: 8px; }
.product-detail-action > button:first-child b { font-size: 18px; line-height: 1; }
.product-detail-action .btn { min-height: 52px; font-size: 14px; }
.selection-product-card { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 11px; margin-bottom: 12px; padding: 14px; color: #fff; background: var(--night-2); border-radius: 18px; }
.selection-product-mark { width: 58px; height: 58px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(135deg, #3b2c13, #12151b); border-radius: 15px; font-weight: 1000; transform: skew(-5deg); }
.selection-product-mark.purple { background: linear-gradient(135deg, #4c337a, #171326); }
.selection-product-mark.blue { background: linear-gradient(135deg, #1e5c81, #101a25); }
.selection-product-mark.orange { background: linear-gradient(135deg, #8d501f, #25160e); }
.selection-product-card small { color: var(--gold); font-size: 8px; }
.selection-product-card h1 { margin: 3px 0; font-size: 15px; }
.selection-product-card p { margin: 0; color: #9ca2ad; font-size: 8px; }
.selection-product-card > strong { color: var(--gold); font-size: 15px; }
.price-option-panel { border: 1px solid rgba(226, 172, 47, .34); }
.price-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.price-option-chip { min-width: 0; display: grid; gap: 5px; padding: 12px 10px; color: var(--ink); background: #f0f1f3; border: 1px solid transparent; border-radius: 12px; text-align: left; }
.price-option-chip strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }
.price-option-chip span { color: var(--muted); font-size: 10px; }
.price-option-chip.active { color: #513a0b; background: var(--gold-soft); border-color: var(--gold); box-shadow: 0 5px 14px rgba(221, 165, 40, .16); }
.price-option-chip.active span { color: #9c6b10; font-weight: 850; }
.checkout-spec { color: #a97818 !important; font-weight: 800; }
.order-spec { display: inline-flex; margin: 7px 0 3px; padding: 5px 8px; color: #8b6111; background: var(--gold-soft); border-radius: 8px; font-size: 9px; font-weight: 800; }
.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; }
.designation-summary { display: grid; gap: 7px; margin-bottom: 10px; }
.designation-summary > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 9px 11px; background: #f7f8f9; border-radius: 13px; }
.designation-summary .avatar { width: 34px; height: 34px; font-size: 10px; }
.designation-summary strong { font-size: 11px; }
.designation-summary small { color: var(--gold-2); font-size: 9px; font-weight: 800; }
.player-picker-trigger { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; color: var(--ink); background: #eef0f3; border-radius: 14px; text-align: left; }
.player-picker-trigger span strong, .player-picker-trigger span small { display: block; }
.player-picker-trigger span strong { font-size: 11px; }
.player-picker-trigger span small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.player-picker-trigger > b { color: var(--gold-2); font-size: 19px; }
.player-list.compact .select-player { padding: 11px; background: #f7f8f9; box-shadow: none; }
.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); }
.balance-toggle.fixed > b { color: var(--gold-2); font-size: 10px; }
.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(3, 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: 17px; white-space: nowrap; }
.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; }

.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: "添阙"; position: absolute; right: -5px; bottom: -32px; color: rgba(255,255,255,.04); font-size: 84px; 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; }
.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; }
.checkin-guide-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; }
.checkin-guide-heading h2 { margin: 0; font-size: 15px; }
.checkin-guide-heading > span { color: var(--muted); font-size: 10px; }
.checkin-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 15px 0; padding: 0; list-style: none; }
.checkin-step { min-width: 0; padding: 13px 4px 11px; border: 1px solid var(--line); border-radius: 12px; background: #f5f6f8; text-align: center; }
.checkin-step > span { display: block; color: var(--muted); font-size: 11px; }
.checkin-step > strong { display: block; margin: 7px 0; font-size: 25px; line-height: 1.2; }
.checkin-step strong small { margin-left: 3px; font-size: 9px; font-weight: 500; }
.checkin-step > em { display: block; color: var(--muted); font-size: 10px; font-style: normal; }
.checkin-step.received { background: #fffaf0; }
.checkin-step.received > em { color: #916008; }
.checkin-step.current { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.checkin-step.current > span, .checkin-step.current > strong, .checkin-step.current > em { color: #765008; }
.checkin-guide-message { margin: 0; color: #765008; font-size: 12px; font-weight: 750; line-height: 1.7; overflow-wrap: anywhere; }
.checkin-guide-next { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.checkin-guide-rule { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.checkin-guide-reset { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.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; }
.upload-box.selected { background: #f3fbf7; border-color: #71bd96; }
.upload-box.selected b { color: #fff; background: var(--green); }
.upload-box.selected b::before { content: "✓"; }
.upload-box.selected b { font-size: 0; }
.upload-box.selected b::before { font-size: 19px; }
.upload-box.selected span { color: #27724f; }

.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; }
.payout-binding { margin-top: 12px; }
.binding-status { padding: 5px 8px; color: #9a4a3d !important; background: #fff0ed !important; border-radius: 999px; font-weight: 850; }
.binding-status.ready { color: #267350 !important; background: #e5f7ed !important; }
.binding-checks { display: grid; gap: 8px; margin-bottom: 13px; }
.binding-checks > div { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; padding: 9px; background: #f3f4f6; border-radius: 11px; }
.binding-checks > div > b { width: 27px; height: 27px; display: grid; place-items: center; color: #8b929c; background: #fff; border-radius: 50%; font-size: 10px; }
.binding-checks > div.done > b { color: #fff; background: #2d9e6b; }
.binding-checks span strong, .binding-checks span small { display: block; }
.binding-checks span strong { font-size: 10px; }
.binding-checks span small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.binding-actions { display: flex; align-items: center; gap: 12px; }
.binding-actions .btn { flex: 1; }
.binding-edit { display: block; margin: 12px auto 0; }
.consent-check { display: grid; grid-template-columns: 20px 1fr; align-items: flex-start; gap: 9px; color: #555d69; font-size: 10px; line-height: 1.55; }
.consent-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold-2); }

.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; }
.candidate-list .team-candidate-hidden { display: none; }
.team-picker-meta { margin-bottom: 0; }
.team-search-empty { padding: 24px 12px; }
.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; }
.spec-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spec-notice strong { color: var(--ink); }
.spec-notice span { flex: 0 0 auto; color: var(--muted); font-size: 9px; }

.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; }
.player-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.player-picker-head h2 { margin: 0 0 13px; font-size: 20px; }
.player-picker-head > button { width: 32px; height: 32px; color: var(--muted); background: #f0f2f4; border-radius: 50%; font-size: 20px; }
.player-picker-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #f2f4f6; border: 1px solid transparent; border-radius: 13px; }
.player-picker-search:focus-within { background: #fff; border-color: var(--gold); }
.player-picker-search > span { color: var(--muted); font-size: 18px; }
.player-picker-search input { width: 100%; height: 44px; padding: 0; background: transparent; outline: 0; }
.player-picker-meta { display: flex; align-items: center; justify-content: space-between; margin: 12px 1px 8px; font-size: 9px; }
.player-picker-meta strong { color: var(--gold-2); }
.player-picker-meta span { color: var(--muted); }
.player-picker-selected { min-height: 28px; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.player-picker-selected > span { color: var(--muted); font-size: 9px; line-height: 28px; }
.player-picker-selected > button { display: flex; align-items: center; gap: 5px; padding: 6px 8px; color: #5e430d; background: var(--gold-soft); border-radius: 9px; font-size: 9px; }
.player-picker-selected > button small { color: #8d6d2d; font-size: 7px; }
.player-picker-selected > button b { font-size: 11px; }
.player-picker-list { max-height: 48vh; overflow-y: auto; padding-right: 2px; }
.player-picker-list .select-player { padding: 10px; background: #f7f8f9; box-shadow: none; }
.player-picker-more { width: 100%; min-height: 42px; color: #775619; background: var(--gold-soft); border-radius: 12px; font-size: 9px; }
.player-picker-actions { position: sticky; bottom: -20px; margin: 12px -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.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; }
  .product-detail-action { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .bottom-nav { bottom: 24px; border-radius: 0 0 26px 26px; }
}
