* { box-sizing:border-box; }
html, body { width:100%; height:100%; margin:0; overflow:hidden; }
body { font-family:Arial,'Microsoft YaHei',sans-serif; color:#20242c; background:#f4f7fb; letter-spacing:0; }
button, input, select { font:inherit; letter-spacing:0; }
button { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.app-header { position:fixed; z-index:1000; top:0; left:0; right:0; height:40px; padding:0 15px; display:flex; align-items:center; justify-content:space-between; background:#5218df; color:#fff; }
.app-brand { height:25px; display:flex; align-items:center; border:0; padding:0; background:transparent; }
.brand-text { display:inline-block; color:#1677ff; font-size:22px; line-height:1; font-weight:900; font-style:italic; white-space:nowrap; -webkit-text-fill-color:#1677ff; text-shadow:0 1px 0 #fff,0 2px 0 #9fc7ff,0 4px 6px rgba(12,78,176,.34); }
.header-brand { display:flex; align-items:center; gap:8px; min-width:0; }
.header-qq-group { color:#fff; font-size:12px; line-height:1; font-weight:600; white-space:nowrap; }
.header-actions { display:flex; align-items:center; gap:8px; }
.wallet-wrap { position:relative; min-width:72px; height:25px; flex-shrink:0; }
.wallet-button { min-width:72px; height:25px; padding:0; overflow:hidden; display:flex; align-items:center; border:1px solid rgba(0,0,0,.2); border-radius:5px; background:#fff; color:#20242c; }
.wallet-main { min-width:47px; width:auto; padding:0 6px; flex-shrink:0; white-space:nowrap; height:100%; display:flex; align-items:center; justify-content:center; gap:4px; border:0; background:#fff; color:#20242c; font-size:12px; font-weight:800; }
.wallet-main img { flex-shrink:0; width:14px; height:14px; object-fit:contain; }
.wallet-arrow { flex-shrink:0; width:24px; height:100%; display:flex; align-items:center; justify-content:center; border:0; border-left:1px solid #d9dce2; background:#fff; color:#20242c; font-size:12px; }
.wallet-menu { position:absolute; top:30px; right:0; width:96px; overflow:hidden; display:none; border:1px solid #d9dce2; border-radius:6px; background:#fff; box-shadow:0 8px 22px rgba(0,0,0,.2); }
.wallet-menu.show { display:block; }
.wallet-option { width:100%; height:38px; padding:0 10px; display:flex; align-items:center; gap:8px; border:0; background:#fff; color:#20242c; font-size:13px; }
.wallet-option + .wallet-option { border-top:1px solid #edf0f4; }
.wallet-option.active { color:#1677ff; background:#f2f7ff; }
.wallet-option img { width:18px; height:18px; object-fit:contain; }
.header-user { width:20px; height:25px; padding:0; display:flex; align-items:center; justify-content:center; border:0; background:transparent; color:#fff; }
.header-user svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.app-viewport { position:fixed; z-index:1; top:40px; right:0; bottom:56px; left:0; overflow:hidden; background:#f4f7fb; }
.spa-view { width:100%; height:100%; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; }
.spa-view[hidden] { display:none !important; }
.home-view { padding:10px 12px 18px; background:linear-gradient(180deg,#5320e5 0%,#5a39ea 34%,#59b7f8 100%); }
.team-banner { height:52px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.74); border-radius:6px; background:linear-gradient(90deg,#dffdf2,#fff0fb); box-shadow:0 2px 5px rgba(39,14,128,.16); }
.team-banner strong { color:#1b7bdc; font-size:24px; font-weight:900; font-style:italic; text-shadow:0 1px 0 #fff,0 2px 0 #9fd7ff; }
.trade-shortcuts { margin-top:14px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.trade-shortcut { min-height:76px; padding:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:0; border-radius:5px; background:#fff; color:#20242c; box-shadow:0 2px 5px rgba(39,14,128,.18); font-size:16px; font-weight:900; transform:translateZ(0) scale(1); transform-origin:center; transition:transform 110ms ease-out,filter 110ms ease-out,box-shadow 110ms ease-out; }
.trade-shortcut img { width:35px; height:35px; object-fit:contain; }
.trade-pair-icons { display:flex; align-items:center; justify-content:center; gap:7px; line-height:1; }
.trade-pair-icons img { width:37px; height:37px; flex:0 0 auto; filter:drop-shadow(0 2px 2px rgba(49,31,113,.2)); }
.trade-pair-swap { width:32px; height:24px; flex:0 0 auto; overflow:visible; color:#6036eb; filter:drop-shadow(0 1px 1px rgba(75,39,196,.2)); }
.trade-shortcut:active { transform:translateZ(0) scale(.95); filter:brightness(.94); box-shadow:0 1px 2px rgba(39,14,128,.2); }
.trade-shortcut.tap-feedback { animation:trade-shortcut-tap 220ms cubic-bezier(.2,.8,.25,1); }
.trade-shortcut[data-trade-coin="jade-gem"] { outline:none !important; -webkit-tap-highlight-color:transparent; transition:none; }
.trade-shortcut[data-trade-coin="jade-gem"]:focus { outline:none !important; }
.trade-shortcut[data-trade-coin="jade-gem"]:active { outline:none !important; transform:translateZ(0) scale(1); filter:none; box-shadow:0 2px 5px rgba(39,14,128,.18); }
@keyframes trade-shortcut-tap { 0% { transform:translateZ(0) scale(1); filter:brightness(1); } 38% { transform:translateZ(0) scale(.94); filter:brightness(.92); } 100% { transform:translateZ(0) scale(1); filter:brightness(1); } }
html.native-uni-app .trade-shortcut:active { transform:translateZ(0) scale(1); filter:none; box-shadow:0 2px 5px rgba(39,14,128,.18); }
html.native-uni-app .trade-shortcut.tap-feedback { animation:none; }
@media (prefers-reduced-motion:reduce) { .trade-shortcut { transition:none; } .trade-shortcut.tap-feedback { animation:none; } }
.home-section { margin-top:12px; }
.home-title { margin:0 0 7px; display:flex; align-items:center; justify-content:space-between; color:#fff; font-size:14px; }
.tool-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.tool-item { min-width:0; height:43px; padding:0 5px; display:flex; align-items:center; justify-content:center; gap:5px; border:0; border-radius:5px; background:#fff; color:#252a32; font-size:12px; font-weight:800; }
.tool-item img { width:22px; height:22px; flex:0 0 22px; object-fit:contain; }
.tool-item span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-panel { padding:9px; border-radius:6px; background:#fff; box-shadow:0 2px 5px rgba(39,14,128,.16); }
.market-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.market-item { min-width:0; padding:7px 8px; border-radius:5px; background:#f1f3f6; }
.market-name, .market-price { display:flex; align-items:center; min-width:0; gap:5px; }
.market-name img { width:19px; height:19px; flex:0 0 19px; object-fit:contain; border-radius:3px; }
.market-name b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.market-price { margin-top:5px; justify-content:space-between; font-size:11px; color:#dc3545; }
.market-price-up { color:#dc3545; }
.market-price-down { color:#28a745; }
.market-price img { width:12px; height:12px; object-fit:contain; }
.self-view { padding:8px 7px 18px; background:#f4f7fb; }
.market-view { padding:10px 12px 18px; background:#f4f7fb; }
.buy-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.buy-card { min-height:77px; padding:6px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border:2px solid transparent; border-radius:6px; background:#9fe8ae; color:#111; font-size:14px; font-weight:900; }
.buy-card.rock { background:#eca0dc; }
.buy-card.active { background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#397cff,#ff4472,#ffd43b,#45d866) border-box; }
.buy-card img { width:30px; height:30px; object-fit:contain; }
.buy-card small { color:#626b78; font-size:11px; }
.pay-card { margin-top:8px; padding:10px 11px 12px; border-radius:6px; background:#fff; box-shadow:0 1px 3px rgba(24,31,51,.14); }
.row-line { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:14px; }
.muted { color:#98a2b3; font-size:12px; }
.field-label { display:block; margin:7px 0 3px; color:#667085; font-size:12px; }
.field { width:100%; height:36px; padding:0 10px; border:1px solid #d0d5dd; border-radius:5px; background:#fff; color:#20242c; font-size:14px; }
.price-tip { margin-top:3px; color:#98a2b3; font-size:12px; }
.action-button { width:100%; height:38px; margin-top:8px; border:0; border-radius:5px; background:#1e90ff; color:#fff; font-size:14px; }
.action-button.secondary { background:#fff; color:#1688f8; border:1px solid #1688f8; }
.page-tip { min-height:16px; margin-top:5px; color:#e62e45; font-size:12px; }
.user-view { padding:9px 9px 18px; background:linear-gradient(180deg,#f4f7fb 0%,#f4f7fb 100%); }
.profile-card { position:relative; min-height:92px; padding:12px 18px; border-radius:6px; background:#fff; box-shadow:0 1px 3px rgba(24,31,51,.14); }
.profile-main { display:flex; align-items:center; gap:10px; }
.avatar { width:40px; height:40px; display:flex; align-items:center; justify-content:center; border:1px solid #d7dce4; border-radius:50%; color:#aab2bd; }
.avatar svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.5; }
.profile-name { font-size:16px; font-weight:900; }
.settings-button { position:absolute; top:17px; right:18px; width:30px; height:30px; border:0; background:transparent; color:#303640; }
.settings-button svg { width:21px; height:21px; fill:currentColor; }
.identity-chip { margin:9px 0 0 50px; width:max-content; max-width:calc(100% - 50px); padding:3px 9px; overflow:hidden; text-overflow:ellipsis; border-radius:999px; background:#f0f1f4; color:#737b87; font-size:11px; white-space:nowrap; }
.asset-grid { margin-top:9px; display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.asset-button { height:58px; padding:9px 13px; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:6px; background:#e73249; color:#fff; }
.asset-button.gem { background:#5f4be8; }
.asset-button img { width:29px; height:29px; object-fit:contain; }
.asset-button b { font-size:18px; }
.user-actions { margin-top:9px; overflow:hidden; display:grid; background:#fff; border-radius:6px; box-shadow:0 1px 3px rgba(24,31,51,.14); }
.user-actions.primary { grid-template-columns:repeat(2,1fr); }
.user-actions.secondary { grid-template-columns:repeat(2,1fr); }
.user-action { min-height:88px; padding:7px 3px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:0; background:#fff; color:#20242c; font-size:12px; }
.user-action svg { width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.purple { color:#5b27ff; } .orange { color:#ff7e00; } .pink { color:#f36a84; } .green { color:#19a851; } .blue { color:#4b62e8; }
.entry-loading[hidden] { display:none !important; }
.entry-loading { position:fixed; z-index:2500; top:40px; right:0; bottom:56px; left:0; display:flex; align-items:center; justify-content:center; background:#f4f7fb; color:#4e5968; }
.entry-loading-status { display:flex; align-items:center; gap:10px; font-size:14px; }
.entry-loading-spinner { width:22px; height:22px; border:2px solid #cfe2ff; border-top-color:#1677ff; border-radius:50%; animation:entry-loading-spin .7s linear infinite; }
@keyframes entry-loading-spin { to { transform:rotate(360deg); } }
html.embedded-trade-loading .entry-loading { z-index:2700; inset:0; }
html.embedded-trade-loading .trade-frame-layer { z-index:2800; }
.trade-frame-layer { position:fixed; z-index:2600; inset:0; overflow:hidden; background:#fff; }
.trade-frame { width:100%; height:100%; display:block; border:0; background:#fff; }
.quick-trade[hidden] { display:none !important; }
.quick-trade { position:fixed; z-index:2200; inset:0; display:flex; flex-direction:column; background:#fff; }
.quick-trade-head { height:55px; flex:0 0 55px; padding:0 15px; display:grid; grid-template-columns:30px minmax(0,1fr) auto auto auto; align-items:center; gap:8px; background:#cfe3fb; }
.quick-trade-back { width:30px; height:30px; border:0; border-radius:50%; background:#9eb7d5; color:#fff; font-size:25px; line-height:27px; }
.quick-trade-title { min-width:0; margin:0; overflow:hidden; color:#20242c; font-size:18px; line-height:1; white-space:nowrap; }
.quick-trade-balance { height:22px; display:flex; align-items:center; gap:3px; padding:0 6px; border:1px solid #ddd; border-radius:5px; background:#fff; color:#4d4d4d; font-size:14px; font-weight:800; }
.quick-trade-balance img { width:15px; height:15px; object-fit:contain; }
.quick-trade-orders { border:0; padding:5px 0; background:transparent; color:#1688f8; font-size:15px; font-weight:700; }
.quick-trade-fixed { min-width:0; flex:0 0 auto; padding:0 15px 8px; background:#fff; }
.quick-trade-body { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; padding:0 15px 78px; -webkit-overflow-scrolling:touch; }
.quick-trade-banner { height:38px; overflow:hidden; display:flex; align-items:center; gap:6px; padding:0 10px; border:1px solid #b7e4c4; border-radius:5px; background:#dff3e4; color:#1ea64b; font-size:14px; font-weight:800; white-space:nowrap; }
.quick-trade-help { width:17px; height:17px; flex:0 0 17px; display:inline-flex; align-items:center; justify-content:center; border:1px solid currentColor; border-radius:50%; font-size:12px; }
.quick-trade-banner-text { min-width:0; overflow:hidden; text-overflow:clip; }
.quick-trade-caret { width:0; height:0; flex:0 0 auto; border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid currentColor; }
.quick-trade-meta { height:27px; margin:0; display:flex; align-items:center; justify-content:space-between; gap:6px; background:#e5f1ff; color:#969da7; font-size:12px; font-weight:700; }
.quick-trade-meta b { color:#e5364d; }
.quick-trade-meta-actions { display:flex; align-items:center; gap:5px; }
.quick-trade-notify { height:23px; display:flex; align-items:center; gap:4px; border:1px solid #78c8ff; border-radius:5px; padding:0 6px; background:#fff; color:#1688f8; font-size:11px; white-space:nowrap; }
.quick-trade-mail { font-size:14px; line-height:1; }
.quick-trade-refresh { width:24px; height:24px; border:0; padding:0; background:transparent; color:#8f969d; font-size:25px; line-height:20px; }
.quick-trade-refresh[disabled] { opacity:.45; animation:entry-loading-spin .7s linear infinite; }
.quick-trade-notice { margin:7px 0 0; padding:8px 10px; border-radius:4px; background:#d9f3f7; color:#116475; text-align:center; font-size:12px; }
.quick-trade-list { margin-top:0; display:grid; gap:8px; }
.quick-order { width:100%; overflow:hidden; padding:0; border:1px solid #d8d8d8; border-radius:5px; background:#fff; color:#20242c; text-align:left; box-shadow:0 1px 1px rgba(0,0,0,.03); }
.quick-order-main { min-height:50px; padding:6px 8px 4px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.quick-order-value { display:flex; align-items:center; gap:2px; font-size:18px; font-weight:800; }
.quick-order-value img { width:16px; height:16px; object-fit:contain; }
.quick-order-price { justify-content:flex-end; color:#e5364d; }
.quick-order-price img { width:18px; height:18px; margin-right:2px; }
.quick-order-sub { margin-top:4px; display:flex; align-items:center; color:#9298a1; font-size:12px; }
.quick-order-sub img { width:12px; height:12px; margin:0 5px; object-fit:contain; }
.quick-order-right { text-align:right; }
.quick-order-right .quick-order-sub { justify-content:flex-end; }
.quick-order-foot { min-height:26px; padding:4px 8px; display:flex; align-items:center; justify-content:space-between; gap:10px; background:#fafafa; color:#9298a1; font-size:12px; }
.quick-order-owner { min-width:0; display:flex; align-items:center; gap:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.quick-order-owner img { width:18px; height:18px; border:1px solid #ddd; border-radius:50%; object-fit:cover; }
.quick-order-avatar { width:18px; height:18px; flex:0 0 18px; position:relative; display:inline-block; border:1px solid #d6dbe0; border-radius:50%; background:#eef1f3; }
.quick-order-avatar::before { content:""; position:absolute; left:6px; top:3px; width:4px; height:4px; border:1px solid #fff; border-radius:50%; }
.quick-order-avatar::after { content:""; position:absolute; left:4px; bottom:3px; width:8px; height:5px; border:1px solid #fff; border-radius:7px 7px 3px 3px; }
.quick-trade-more { padding:14px 10px 0; color:#999; text-align:center; font-size:14px; }
.quick-trade-sell { position:fixed; z-index:2201; right:15px; bottom:50px; height:38px; padding:0 11px; border:0; border-radius:999px; background:#1688f8; color:#fff; font-size:14px; box-shadow:0 8px 20px rgba(22,136,248,.24); }
.quick-trade-sell-icon { margin-right:5px; font-size:17px; }
.jade-gem-trade[hidden] { display:none !important; }
.jade-gem-trade { position:fixed; z-index:2250; inset:0; display:flex; flex-direction:column; background:#f4f7fb; }
.jg-head { height:55px; flex:0 0 55px; padding:0 12px; display:flex; align-items:center; gap:9px; background:linear-gradient(90deg,#dff7e5,#ece8ff); }
.jg-back { width:30px; height:30px; border:0; border-radius:50%; background:#8da7a0; color:#fff; font-size:25px; line-height:27px; }
.jg-title { flex:1; margin:0; font-size:18px; }
.jg-wallets { display:flex; gap:5px; }
.jg-wallet { height:25px; padding:0 6px; display:flex; align-items:center; gap:3px; border:1px solid #d6dae1; border-radius:5px; background:#fff; font-size:12px; font-weight:800; }
.jg-wallet img { width:15px; height:15px; object-fit:contain; }
.jg-orders-button { height:25px; padding:0 3px; border:0; background:transparent; color:#1688f8; font-size:13px; font-weight:800; white-space:nowrap; }
.jg-body { min-height:0; flex:1; overflow-y:auto; padding:10px 12px 24px; -webkit-overflow-scrolling:touch; }
.jg-info { padding:9px 10px; border:1px solid #bfe5ca; border-radius:6px; background:#e8f8ed; color:#237a3b; font-size:12px; line-height:18px; }
.jg-publish-bar { flex:0 0 auto; padding:8px 12px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid #e4e8ef; background:rgba(255,255,255,.96); box-shadow:0 -3px 12px rgba(24,31,51,.06); }
.jg-publish-launch { width:100%; height:40px; border:0; border-radius:6px; background:#5b38e8; color:#fff; font-size:15px; font-weight:800; }
.jg-publish-launch[hidden] { display:none !important; }
#spaJgPublishModal, #spaCjPublishModal { align-items:flex-end; padding:12px 12px 0; }
#spaJgPublishModal .jg-publish-modal, #spaCjPublishModal .jg-publish-modal { max-width:420px; padding:20px 16px calc(16px + env(safe-area-inset-bottom)); border-radius:18px 18px 0 0; text-align:left; }
#spaJgPublishModal .jg-publish-modal h3, #spaCjPublishModal .jg-publish-modal h3 { margin:0; text-align:center; font-size:21px; line-height:28px; }
.jg-publish-help { margin:5px 0 17px !important; text-align:center; color:#98a2b3 !important; font-size:12px !important; }
.jg-filter-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.jg-filter { height:32px; border:1px solid #d5dae2; border-radius:5px; background:#fff; color:#667085; font-size:13px; }
.jg-filter.active { border-color:#5b38e8; background:#eeeaff; color:#4c24d5; font-weight:800; }
.jg-fields { display:grid; grid-template-columns:1fr; gap:14px; }
.jg-field-group { display:block; }
.jg-field-head { min-height:22px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.jg-field-head b { color:#344054; font-size:14px; }
.jg-field-head small { color:#98a2b3; font-size:11px; }
.jg-field-label { color:#667085; font-size:11px; line-height:18px; }
.jg-input-wrap { position:relative; display:block; margin-top:5px; }
.jg-field { width:100%; height:46px; padding:0 66px 0 13px; border:1px solid #d8dee8; border-radius:10px; outline:0; background:#f8fafc; color:#1d2939; font-size:17px; font-weight:700; transition:border-color 120ms ease,box-shadow 120ms ease,background 120ms ease; }
.jg-field:focus { border-color:#6541e8; background:#fff; box-shadow:0 0 0 3px rgba(101,65,232,.12); }
.jg-field::-webkit-inner-spin-button, .jg-field::-webkit-outer-spin-button { margin:0; -webkit-appearance:none; }
.jg-input-unit { position:absolute; top:50%; right:13px; transform:translateY(-50%); display:flex; align-items:center; gap:5px; color:#667085; font-size:12px; font-weight:700; pointer-events:none; }
.jg-input-unit img { width:18px; height:18px; object-fit:contain; }
.jg-price-note { margin:6px 1px 0; color:#98a2b3; font-size:11px; line-height:17px; }
.jg-total { margin-top:16px; padding:11px 13px; display:grid; gap:9px; border:1px solid #ebeef5; border-radius:12px; background:#f8f7ff; color:#667085; font-size:12px; }
.jg-total-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.jg-total-row + .jg-total-row { padding-top:9px; border-top:1px solid #e7e3fb; }
.jg-total strong { color:#344054; font-size:13px; }
.jg-total b { color:#5b38e8; font-size:20px; }
.jg-total-unit { margin-left:4px; color:#667085; font-size:12px; font-style:normal; }
.jg-total-icon { width:18px; height:18px; margin-left:5px; object-fit:contain; vertical-align:middle; }
.jg-tip { min-height:18px; margin-top:7px; color:#e5364d; font-size:12px; text-align:center; }
.jg-publish-modal .modal-actions { margin-top:10px; gap:10px; }
.jg-publish-modal .modal-button { height:44px; border-radius:10px; font-size:15px; font-weight:800; }
.jg-publish-modal .modal-button.primary { background:linear-gradient(135deg,#6844ef,#5130df); box-shadow:0 5px 12px rgba(83,49,218,.2); }
.jg-market-head { margin-top:12px; display:flex; align-items:center; justify-content:space-between; }
.jg-market-head b { font-size:15px; }
.jg-stats { color:#98a2b3; font-size:11px; }
.jg-filter-tabs { margin-top:7px; grid-template-columns:repeat(2,1fr); gap:6px; }
.jg-filter { height:29px; font-size:12px; }
.jg-list { margin-top:8px; display:grid; gap:8px; }
.jg-order { width:100%; padding:9px 10px; border:1px solid #dfe3e9; border-radius:7px; background:#fff; color:#20242c; text-align:left; box-shadow:0 1px 2px rgba(24,31,51,.06); }
.jg-order-top, .jg-order-values, .jg-order-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.jg-side-badge { padding:2px 7px; border-radius:999px; background:#e6f7eb; color:#169548; font-size:11px; font-weight:800; }
.jg-side-badge.buy { background:#eeeaff; color:#5b38e8; }
.jg-order-status { color:#98a2b3; font-size:11px; }
.jg-order-values { margin-top:8px; align-items:flex-end; }
.jg-order-values b { display:block; font-size:18px; }
.jg-order-values small { display:block; margin-top:2px; color:#98a2b3; font-size:11px; }
.jg-order-price { text-align:right; color:#e5364d; }
.jg-order-foot { margin-top:8px; padding-top:7px; border-top:1px solid #f0f1f3; color:#98a2b3; font-size:11px; }
.jg-order-action { color:#1688f8; font-weight:800; }
.jg-empty { padding:28px 10px; color:#98a2b3; text-align:center; font-size:13px; }
.jg-pages { margin-top:10px; display:flex; align-items:center; justify-content:center; gap:10px; }
.jg-pages button { height:30px; padding:0 12px; border:1px solid #d5dae2; border-radius:5px; background:#fff; color:#4c24d5; }
.jg-pages button[disabled] { color:#aaa; opacity:.6; }
.jg-confirm-lines { padding:8px; border-radius:6px; background:#f7f8fa; color:#475467; text-align:left; white-space:pre-line; line-height:20px; }
.jg-confirm-icon { width:16px; height:16px; margin-left:3px; object-fit:contain; vertical-align:-3px; }
.jg-confirm-fill { margin-top:9px; text-align:left; }
.trade-pair-icons { height:24px; display:flex; align-items:center; justify-content:center; }
.trade-pair-icons img { width:22px !important; height:22px !important; }
.trade-pair-icons img + img { margin-left:-6px; }
.modal-mask { position:fixed; z-index:3000; inset:0; padding:18px; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.42); }
.modal-mask.show { display:flex; }
.modal-box { width:100%; max-width:330px; padding:15px; border-radius:8px; background:#fff; text-align:center; box-shadow:0 14px 34px rgba(0,0,0,.24); }
.modal-box h3 { margin:0 0 10px; font-size:17px; }
.modal-box p { margin:6px 0; color:#667085; font-size:13px; }
.modal-box .pay-merchant { margin:0 0 10px; color:#344054; font-size:16px; font-weight:600; text-align:center; }
.modal-box .warn { color:#f5222d; font-weight:800; }
.modal-actions { margin-top:12px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
#spaAlertModal .modal-actions { grid-template-columns:minmax(160px,224px); justify-content:center; }
.modal-button { height:36px; border:0; border-radius:5px; background:#eef1f5; color:#20242c; }
.modal-button.primary { background:#1e90ff; color:#fff; }
.modal-button.danger { width:100%; margin-top:8px; background:#ff3b55; color:#fff; }
.modal-button.success { background:#18a957; color:#fff; }
.modal-button:disabled { opacity:.58; cursor:not-allowed; }
.pay-qr { width:180px; height:180px; display:block; margin:10px auto; border:1px solid #edf0f5; border-radius:6px; }

.payment-qr-options.is-wechat { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:12px 0; }
.payment-qr-options[hidden], .payment-qr-option[hidden], .payment-qr-hint[hidden], .payment-qr-caption[hidden] { display:none !important; }
.modal-box .payment-qr-hint { margin:-4px 0 8px; font-size:11px; line-height:1.5; color:#667085; }
.payment-qr-options.is-wechat .pay-qr { width:100%; height:auto; aspect-ratio:1; margin:0; box-sizing:border-box; }
.payment-qr-caption { display:block; margin-top:5px; color:#667085; font-size:11px; line-height:1.4; }
.wechat-appreciation-frame { position:relative; width:100%; aspect-ratio:1; overflow:hidden; border:1px solid #edf0f5; border-radius:6px; background:#fff; box-sizing:border-box; }
.wechat-appreciation-frame img { position:absolute; width:200%; max-width:none; height:auto; left:-50%; top:-28%; }

.qr-countdown { color:#667085; font-size:13px; }
.qr-countdown.ok { color:#12a150; font-weight:800; }
.modal-box .qr-hidden-message { color:#f5222d; font-weight:700; }
.app-footer { position:fixed; z-index:1000; right:0; bottom:0; left:0; height:56px; display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid #e6e8eb; background:#fff; }
.nav-button { height:56px; padding:5px 0 3px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; border:0; background:#fff; color:#111; font-size:12px; }
.nav-button.active { color:#168cf2; }
.nav-button svg { width:24px; height:24px; display:block; fill:currentColor; }
.nav-button .stroke-icon { fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:360px) {
  .app-header { padding:0 10px; }
  .header-brand { gap:6px; }
  .brand-text { font-size:18px; }
  .header-qq-group { font-size:10px; }
  .tool-grid { gap:5px; }
  .tool-item { font-size:11px; }
  .user-action { font-size:11px; }
  .trade-shortcuts { grid-template-columns:repeat(3,1fr) !important; }
  .trade-shortcut { width:auto !important; }
}
.header-actions { gap:0; }
.wallet-wrap { margin-right:8px; }
.header-user { width:16px; height:25px; }
.header-user svg { width:16px; height:16px; fill:currentColor; stroke:none; }
.home-view { padding:0 15px 18px; background:linear-gradient(180deg,#4e17d5 0%,#5148e9 46%,#5abdfE 100%); }
.team-banner { position:relative; height:42px; margin-top:-1px; overflow:hidden; border:1px solid rgba(255,255,255,.74); border-radius:5px; background:linear-gradient(90deg,#e5fff6,#fff0fb); box-shadow:0 2px 4px rgba(39,14,128,.22); }
.team-banner::before { content:"\2726  \00a0  \2726  \00a0  \2726"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#ffe24d; font-size:13px; word-spacing:31px; opacity:.95; }
.team-banner strong { position:relative; z-index:1; font-size:22px; line-height:36px; }
.trade-shortcuts { margin-top:12px; grid-template-columns:repeat(3,104.6667px); gap:8px; }
.trade-shortcut { width:104.6667px; min-height:0; height:52px; padding:5px; gap:0; border-radius:4px; font-size:14px; }
.trade-shortcut img { width:24px; height:24px; }
.trade-pair-icons { gap:3px; }
.trade-pair-icons img { width:24px; height:24px; }
.trade-pair-swap { width:23px; height:18px; }
.trade-shortcut span { line-height:16px; }
.home-section { display:none !important; }
.self-view { padding:0 5px 18px; }
.buy-grid { grid-template-columns:1fr 1fr; gap:6px; }
.buy-card { min-height:0; height:69px; padding:5px; gap:2px; font-size:12px; }
.buy-card img { width:22px; height:22px; }
.buy-card small { font-size:10px; line-height:11px; }
.pay-card { height:auto; margin-top:5px; padding:6px 8px; border-radius:6px; box-shadow:0 1px 2px rgba(24,31,51,.16); }
.row-line { gap:7px; min-height:23px; font-size:13px; }
.field-label { margin:4px 0 2px; font-size:11px; line-height:16px; }
.field { height:28px; padding:0 8px; font-size:12px; }
.price-tip { min-height:18px; margin-top:0; font-size:12px; line-height:18px; }
.action-button { height:31px; margin-top:5px; font-size:13px; }
.page-tip { min-height:12px; margin-top:4px; font-size:12px; }
.user-view { padding:1px 15px 18px; background:linear-gradient(180deg,#4e17d5 0%,#5148e9 46%,#5abdfE 100%); }
.profile-card { height:92px; min-height:92px; padding:8px 16px; border:1px solid #d9dce2; border-radius:5px; box-shadow:none; }
.profile-main { height:32px; gap:4px; }
.avatar { width:32px; height:32px; border:0; background:#ccc; color:#fff; }
.avatar svg { width:18px; height:18px; }
.profile-name { font-size:16px; line-height:24px; }
.settings-button { top:16px; right:16px; width:16px; height:16px; padding:0; }
.settings-button svg { width:16px; height:16px; }
.identity-chip { width:max-content; max-width:100%; height:34px; margin:8px 0 0; padding:4px 8px; display:flex; align-items:center; gap:8px; border-radius:999px; background:#ededed; font-size:13px; }
.identity-main, .identity-chip .identity-subchip { display:flex; align-items:center; gap:3px; }
.identity-chip .identity-subchip { height:26px; padding:4px 8px; border-radius:999px; background:#ededed; }
.identity-copy { width:13px; height:13px; padding:0; display:flex; align-items:center; justify-content:center; flex:0 0 13px; border:0; background:transparent; color:inherit; }
.identity-copy svg { width:13px; height:13px; fill:currentColor; }
.asset-grid { margin-top:8px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.asset-button { width:100%; min-width:0; height:auto; min-height:58px; padding:9px; gap:6px; border-radius:5px; background:#dc3545; }
.asset-button.gem { background:#dc3545; }
.asset-button img { width:28px; height:28px; flex-shrink:0; }
.asset-button.gem img { width:26px; height:26px; }
.asset-values { flex:1; min-width:0; max-width:100%; display:flex; flex-direction:column; align-items:flex-end; text-align:right; }
.asset-values b { max-width:100%; font-size:clamp(16px,5vw,20px); line-height:1.2; overflow-wrap:anywhere; }
.asset-values small { max-width:100%; margin-top:2px; font-size:10px; line-height:1.3; white-space:normal; overflow-wrap:anywhere; }
.user-actions { margin-top:8px; border:1px solid #d9dce2; border-radius:5px; box-shadow:none; }
.user-actions.primary { height:81.4px; }
.user-actions.secondary { height:89px; }
.user-action { min-height:0; height:100%; padding:7px 3px; gap:3px; font-size:12px; }
.user-action svg { width:26px; height:26px; fill:currentColor; stroke:none; }
.user-actions.secondary .user-action { gap:3px; font-size:14px; }
.user-tool-image { width:50px; height:50px; object-fit:contain; }
.app-footer { border-top:1px solid #ebebeb; }
.nav-button { height:56px; padding:8px 0 0; justify-content:flex-start; gap:0; font-size:12px; line-height:18px; }
.nav-button.active { color:#087cff; }

/* Guild pages share the app shell; styles stay scoped to the new view. */
.guild-view { background:#f4f6fb; }
.guild-view [hidden] { display:none !important; }
.guild-hero { min-height:100px; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; overflow:hidden; background:linear-gradient(125deg,#5218df,#6254e7); color:#fff; }
.guild-hero h1 { margin:0 0 8px; font-size:26px; line-height:1.2; }
.guild-hero p { margin:0; font-size:12px; color:#e7e1ff; }
.guild-hero-emblem { width:64px; height:64px; flex:0 0 64px; display:flex; align-items:center; justify-content:center; transform:rotate(10deg); border:1px solid #ffffff30; border-radius:19px; background:#ffffff12; }
.guild-hero-emblem svg { width:43px; height:43px; fill:#eee8ff; }
.guild-content { padding:14px 15px; }
.guild-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.guild-section-head h2 { margin:0; font-size:16px; }
.guild-section-actions { display:flex; align-items:center; gap:8px; }
.guild-section-actions > span { font-size:11px; color:#7a8192; white-space:nowrap; }
.guild-list { display:grid; gap:8px; }
.guild-theme-violet { --guild-color:#6844cf; --guild-bg:#eee8fc; }
.guild-theme-blue { --guild-color:#3779c9; --guild-bg:#e6effd; }
.guild-theme-cyan { --guild-color:#148590; --guild-bg:#e0f3f5; }
.guild-theme-amber { --guild-color:#b57b19; --guild-bg:#fff3d9; }
.guild-theme-green { --guild-color:#358b63; --guild-bg:#e6f4ec; }
.guild-card { width:100%; display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid #e9edf4; border-radius:12px; background:#fff; text-align:left; color:#252b3c; cursor:pointer; }
.guild-card:active { background:#f8f7ff; }
.guild-card:focus-visible,.guild-detail-bar button:focus-visible { outline:2px solid #7457e7; outline-offset:2px; }
.guild-emblem { flex:0 0 46px; width:46px; height:49px; display:flex; align-items:center; justify-content:center; color:var(--guild-color); background:var(--guild-bg); border-radius:12px 12px 18px 18px; font-size:22px; font-weight:700; }
.guild-card .guild-emblem { flex-basis:40px; width:40px; height:42px; font-size:21px; }
.guild-card-copy { flex:1; min-width:0; }
.guild-card-copy strong { display:block; font-size:16px; line-height:24px; }
.guild-card-copy > span { display:block; margin-top:3px; color:#858b99; font-size:11px; line-height:16px; }
.guild-card-arrow { color:#a3a9b6; font-size:26px; font-weight:400; }
.guild-lobby-note { margin:12px 0 2px; color:#878d9d; text-align:center; font-size:11px; line-height:18px; }
.guild-detail-bar { padding:12px 15px; display:flex; align-items:center; justify-content:space-between; font-size:12px; color:#888da0; }
.guild-detail-bar button { min-height:32px; padding:0 8px 0 0; display:flex; gap:6px; align-items:center; border:0; background:none; color:#5e49b8; font-size:27px; }
.guild-detail-bar button span { font-size:13px; }
.guild-profile { padding:8px 15px 25px; display:flex; flex-direction:column; align-items:center; }
.guild-profile .guild-emblem { flex-basis:66px; width:64px; height:66px; font-size:30px; border-radius:17px 17px 23px 23px; }
.guild-profile h1 { margin:13px 0 8px; font-size:23px; outline:none; }
.guild-profile-label { color:#848b9b; font-size:12px; }
.guild-detail-content { padding:0 15px 20px; }
.guild-info-block { margin-bottom:12px; padding:17px; border:1px solid #e9edf4; border-radius:12px; background:#fff; }
.guild-info-block h2 { margin:0 0 12px; font-size:15px; }
.guild-info-block > p { margin:0; color:#7b8292; font-size:13px; line-height:22px; }
.guild-empty { text-align:center; padding:0 0 8px; color:#878d9d; }
.guild-empty > span { display:inline-block; width:34px; height:28px; background:#f3f2fa; border-radius:8px; color:#9c8cc9; font-size:23px; line-height:18px; }
.guild-empty p { margin:8px 0 5px; font-size:13px; }
.guild-empty small { font-size:11px; color:#9a9fad; }
.guild-pending { margin-top:14px; padding:11px; border-radius:8px; background:#f2f3f8; color:#969bad; text-align:center; font-size:13px; }

.guild-info-block > p { white-space:pre-wrap; overflow-wrap:anywhere; }

.guild-apply-button { display:block; width:100%; margin-top:16px; padding:12px; border:0; border-radius:8px; background:#6550df; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.guild-apply-button:disabled { opacity:.6; }
.guild-join-modal { width:calc(100% - 32px); max-width:380px; }
.guild-join-modal [hidden] { display:none !important; }
.guild-join-modal p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.guild-join-modal form>label { display:block; margin:16px 0 8px; text-align:left; font-size:13px; }
.guild-join-modal input { width:100%; min-height:44px; padding:10px; border:1px solid #d0d5dd; border-radius:7px; font-size:13px; }
.guild-join-modal button:disabled { opacity:.6; }

/* Three compact values beneath each existing guild name. */
.guild-card-copy > .guild-card-stats { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:6px; margin-top:3px; }
.guild-card-stats > span { min-width:0; }
.guild-card-stats small { display:block; color:#858b99; font-size:9px; line-height:13px; font-weight:400; }
.guild-card-stats b { display:block; color:#51586a; font-size:10px; line-height:15px; font-weight:500; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }


.guild-salary-section>p { font-size:12px; }
.guild-salary-label { display:block; font-size:12px; color:#667085; margin-bottom:7px; }
.guild-salary-input { display:flex; gap:8px; }
.guild-salary-input input { flex:1; min-width:0; width:100%; border:1px solid #dddfea; border-radius:8px; padding:10px; font-size:12px; }
.guild-salary-input button { flex:none; border:0; border-radius:8px; padding:10px 12px; background:#6550df; color:white; font-size:12px; }
.guild-salary-input button:disabled { opacity:.6; }
#spaGuildSalaryError { color:#b42318; margin-bottom:0; }
.guild-salary-card { padding:16px; border-radius:14px; background:linear-gradient(160deg,#071224,#063326); color:#eaf0fa; overflow:hidden; scroll-margin-top:12px; }
.guild-salary-card[hidden],#spaGuildSalaryError[hidden] { display:none!important; }
.guild-salary-card h2 { margin:0; font-size:18px; line-height:1.5; overflow-wrap:anywhere; }
.salary-subtitle { margin:3px 0 14px; color:#7ea9d1; font-size:11px; }
.salary-main,.salary-summary { display:grid; gap:8px; margin-bottom:12px; }
.salary-main { grid-template-columns:repeat(2,minmax(0,1fr)); }
.salary-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
.salary-main>div,.salary-summary>div { border:1px solid #29418c; background:#10182a; border-radius:11px; padding:12px 9px; }
.guild-salary-card small { display:block; color:#9caabb; font-size:10px; }
.salary-main b { display:block; margin-top:8px; font-size:clamp(18px,6vw,28px); line-height:1.35; overflow-wrap:anywhere; }
.salary-summary b { display:block; margin-top:10px; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.salary-calculation { border:1px solid #345ff4; background:#10182a; border-radius:11px; padding:12px 10px; }
.salary-calculation>p { margin:0 0 10px; color:#a3b9d4; font-size:11px; }
.salary-calculation>div { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline; gap:2px 8px; margin-top:10px; }
.salary-calculation span { color:#bcc8d8; font-size:11px; }
.salary-calculation b { font-size:17px; text-align:right; overflow-wrap:anywhere; }
.salary-calculation small { grid-column:1/-1; text-align:right; font-size:9px; overflow-wrap:anywhere; }
.guild-salary-card .salary-yellow { color:#facc15; }.guild-salary-card .salary-blue { color:#38bdf8; }.guild-salary-card .salary-orange { color:#fb923c; }.guild-salary-card .salary-green { color:#22c55e; }
.salary-footnote { margin:13px 0 0; color:#8da2ab; font-size:10px; line-height:1.6; }

/* Compact detail heading with current public guild data. */
#spaGuildProfile { display:grid; grid-template-columns:44px minmax(0,1fr); gap:0 12px; padding:6px 15px 16px; align-items:center; }
#spaGuildProfile .guild-emblem { width:44px; height:46px; font-size:24px; border-radius:12px 12px 16px 16px; }
#spaGuildProfile h1 { margin:0; font-size:22px; line-height:1.4; }
.guild-detail-stats { grid-column:1/-1; display:grid; grid-template-columns:1.3fr 1fr 1fr; width:100%; margin-top:14px; padding:13px 9px; border:1px solid #e9edf4; border-radius:12px; background:#fff; }
.guild-detail-stats>div { min-width:0; padding:0 6px; text-align:center; }
.guild-detail-stats>div+div { border-left:1px solid #edf0f6; }
.guild-detail-stats small { display:block; font-size:10px; line-height:16px; color:#858b99; }
.guild-detail-stats b { display:block; margin-top:4px; color:#454b60; font-size:13px; line-height:19px; font-weight:600; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }

#spaGuildDetail .guild-info-block { padding:14px; }
#spaGuildDetail .guild-info-block h2 { margin-bottom:9px; }
#spaGuildDetail .guild-info-block>p { font-size:12px; line-height:20px; }
#spaGuildDetail .guild-apply-button { margin-top:12px; padding:10px; }

#spaGuildDetail .guild-salary-section h2 { margin-bottom:10px; }
#spaGuildDetail .guild-salary-label { margin-bottom:6px; font-size:11px; line-height:16px; }


.guild-detail-stats { grid-template-columns:1.2fr 1.2fr 1fr 1fr; padding:12px 5px 0; }
.guild-detail-stats>div { padding:0 4px; }
.guild-detail-stats small { font-size:9px; }
.guild-detail-stats b { font-size:11px; }
.guild-detail-stats>.guild-today-net { grid-column:1/-1; border-left:0; border-top:1px solid #edf0f6; margin-top:12px; padding:10px 9px; display:flex; align-items:center; justify-content:space-between; background:#fafbfe; border-radius:0 0 11px 11px; }
.guild-today-net span { font-size:12px; color:#667085; }
.guild-today-net b { margin:0; font-size:17px; }
.jade-positive { color:#159957!important; }.jade-negative { color:#d92d20!important; }
#spaGuildRoleStatus { font-size:10px!important; line-height:17px!important; }
.guild-role-card { border:1px solid #e1e8f1; border-radius:9px; background:#fbfcff; padding:11px 9px; margin:9px 0; }
.guild-role-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.guild-role-head strong { font-size:13px; overflow-wrap:anywhere; }
.guild-role-head span { flex:none; font-size:10px; color:#3562bf; }
.guild-role-uid { display:block; margin-top:3px; font-size:9px; color:#8791a3; }
.guild-role-values { display:grid; grid-template-columns:1.2fr .8fr .8fr .8fr 1.2fr; gap:5px; margin-top:10px; text-align:center; }
.guild-role-values>div { min-width:0; }
.guild-role-values small { display:block; color:#8492a4; font-size:9px; }
.guild-role-values b { display:block; margin-top:4px; color:#354052; font-size:11px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }

.guild-card-copy strong { display:flex; align-items:center; flex-wrap:wrap; gap:3px 6px; }
.guild-member-badge { flex:none; display:inline-flex; align-items:center; padding:1px 5px; border:1px solid #dfd7ff; border-radius:5px; background:#f2edff; color:#6550ba; font-size:9px; line-height:15px; font-weight:500; white-space:nowrap; }
.guild-member-badge[hidden] { display:none!important; }
.guild-octopus-badge { flex:none; display:inline-flex; align-items:center; padding:1px 5px; border:1px solid #f2d3b1; border-radius:5px; background:#fff4e6; color:#a95b12; font-size:9px; line-height:15px; font-weight:500; white-space:nowrap; }
.guild-octopus-badge.pending { border-color:#e5e7eb; background:#f6f7f9; color:#858b99; }
.guild-octopus-badge[hidden] { display:none!important; }

.guild-detail-content > .guild-detail-stats { margin:0 0 12px; }

/* Compact actions retain all original controls and full joining instructions. */
#spaGuildDetail .guild-join-compact,#spaGuildDetail .guild-salary-section { padding:10px 12px; margin-bottom:10px; }
.guild-join-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#spaGuildDetail .guild-join-heading h2 { margin:0; font-size:13px; }
#spaGuildDetail .guild-join-heading .guild-apply-button { width:auto; min-height:36px; margin:0; padding:8px 12px; flex:none; font-size:12px; line-height:20px; }
#spaGuildDetail .guild-join-compact>p { margin-top:6px; font-size:11px; line-height:18px; }
#spaGuildDetail .guild-salary-section { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#spaGuildDetail .guild-salary-section h2 { flex:none; margin:0; font-size:13px; line-height:20px; }
.guild-salary-section .guild-salary-form { flex:1; min-width:0; }
#spaGuildDetail .guild-salary-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.guild-salary-section .guild-salary-input { gap:6px; }
.guild-salary-section .guild-salary-input input { min-height:36px; padding:8px; font-size:11px; }
.guild-salary-section .guild-salary-input button { min-height:36px; padding:8px; font-size:11px; white-space:nowrap; }
#spaGuildSalaryError { flex-basis:100%; }

#spaGuildDetail .guild-join-compact { display:flex; align-items:center; gap:12px; }
#spaGuildDetail .guild-join-compact>p { flex:1; min-width:0; margin:0; }
#spaGuildDetail .guild-join-compact>.guild-apply-button { flex:none; width:auto; min-height:36px; margin:0; padding:8px 10px; font-size:12px; line-height:20px; white-space:nowrap; }

#spaGuildDetail .guild-applications {background:#fff;border:1px solid #e8ebf3;border-radius:12px;padding:10px 14px;font-size:12px;color:#667085}
#spaGuildDetail .guild-applications[hidden] {display:none}
.guild-applications>div {display:flex;justify-content:space-between;gap:10px;line-height:1.8;overflow-wrap:anywhere}
.guild-applications>p {font-size:11px;margin:3px 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}
.guild-applications .approved {color:#11995c}.guild-applications .rejected {color:#d94343}.guild-applications .pending {color:#b7791f}

.self-view .payment-fee-note { margin:12px 0 0; padding:0 8px; color:#667085; font-size:12px; line-height:1.8; text-align:center; }

/* Guild detail categories keep the actions and daily data in separate panels. */
.guild-detail-tabs { position:sticky; top:0; z-index:5; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:0 15px 12px; padding:4px; border:1px solid #e7e9f2; border-radius:12px; background:#fff; }
.guild-detail-tabs button { min-height:40px; min-width:0; padding:9px 4px; border:0; border-radius:8px; background:transparent; color:#70778b; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.guild-detail-tabs button[aria-selected="true"] { background:#6550df; color:#fff; }
.guild-detail-tabs button:focus-visible { outline:2px solid #806bed; outline-offset:2px; }
.guild-tab-panel { outline:none; }
.guild-tab-panel > .guild-detail-stats { margin:0 0 12px; }
.guild-tab-panel > .guild-applications { margin-top:12px; }

.guild-activity-note{margin:0 0 14px;padding:13px 15px;border-radius:12px;background:#eee9fc;color:#65558b;font-size:12px;line-height:1.8}
.guild-activity-status{font-size:12px;line-height:1.6;color:#8b91a2;margin:0 0 12px}
.guild-activity-status:empty{display:none}
.guild-activity-list{display:grid;gap:12px}
.guild-activity-card{padding:16px;background:#fff;border:1px solid #e7eaf2;border-radius:16px;min-width:0}
.guild-activity-heading{min-width:0}.guild-activity-heading strong{display:block;font-size:16px;color:#252a37;overflow-wrap:anywhere}
.guild-activity-heading>small{display:block;font-size:11px;color:#9198a8;margin-top:5px}
.guild-task-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;margin-top:14px;border-top:1px solid #f0f1f6}
.guild-task-row>div{min-width:0}.guild-task-row b{font-size:14px;font-weight:600}.guild-task-row small{display:block;font-size:11px;color:#8b91a2;margin-top:5px;overflow-wrap:anywhere}
.guild-task-badge{flex-shrink:0;font-size:12px;border-radius:20px;padding:5px 10px;background:#f0f2f6;color:#80899a}
.guild-task-badge.complete{background:#e6f6ee;color:#169958}.guild-task-badge.incomplete{background:#fff1e7;color:#be732f}
.guild-leave-card{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guild-leave-button{flex-shrink:0;min-height:38px;padding:8px 14px;border:1px solid #eedcde;border-radius:9px;background:#fff3f3;color:#c65061;font-size:13px}
.guild-leave-button.cancel{background:#f2edff;border-color:#e5dcfa;color:#6751c8}.guild-leave-button:disabled{opacity:.55}
.guild-leave-date{font-size:12px;line-height:1.6;color:#7b71a0;margin:9px 0 0;overflow-wrap:anywhere}
.guild-activity-notice{padding:12px 14px;border-radius:10px;background:#e7f6ee;color:#14834b;font-size:13px;line-height:1.6;margin:0 0 12px}
.guild-activity-notice.error{background:#fff0ee;color:#bc4949}.guild-leave-date.error{color:#bc4949}

.octopus-report-open{flex-shrink:0;border:0;border-radius:8px;background:#eee9ff;color:#6750c6;font-size:12px;padding:9px 12px;min-height:38px}
.octopus-report-history{margin-top:14px;color:#8b91a2;font-size:11px;line-height:1.7}.octopus-report-history summary{cursor:pointer}.octopus-report-history p{overflow-wrap:anywhere}.octopus-report-history a{color:#6850cb}
.octopus-report-overlay{position:fixed;inset:0;z-index:12000;height:100vh;height:100dvh;box-sizing:border-box;background:#22274480;display:flex;align-items:center;justify-content:center;padding:calc(var(--app-header-height,40px) + 16px) 16px calc(var(--app-nav-height,56px) + 16px);overflow-y:auto;overscroll-behavior:contain}.octopus-report-overlay[hidden]{display:none}
.octopus-report-dialog{background:#fff;border-radius:18px;padding:22px;width:min(100%,420px);max-height:calc(100vh - var(--app-header-height,40px) - var(--app-nav-height,56px) - 32px);max-height:calc(100dvh - var(--app-header-height,40px) - var(--app-nav-height,56px) - 32px);overflow:auto;color:#252a37;box-shadow:0 12px 50px #1e193044}
.octopus-report-dialog h2{font-size:19px;margin:0 0 10px}.octopus-report-dialog>p{font-size:12px;color:#81889a;margin:0 0 18px}.octopus-report-dialog label{display:block;font-size:14px;margin:14px 0}
.octopus-report-dialog input{box-sizing:border-box;width:100%;margin-top:8px;border:1px solid #dce0ea;border-radius:8px;background:#fff;padding:11px;font-size:14px;color:#353b47}.octopus-report-dialog input[type=file]{font-size:12px}
#octopusReportPreview,#damageFillPreview{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:12px auto}#octopusReportPreview[hidden],#damageFillPreview[hidden]{display:none}
.octopus-report-hint,#octopusReportMessage{font-size:12px;line-height:1.7;color:#8b91a2}#octopusReportMessage{color:#6750c6;min-height:20px}
.octopus-report-actions{display:flex;gap:10px;margin-top:16px}.octopus-report-actions button{flex:1;min-height:42px;border:0;border-radius:9px;background:#f0f1f6;color:#727a8c;font-size:14px}
#octopusReportSend,#damageFillSend{background:#6750d9;color:white}.octopus-report-actions button:disabled{opacity:.5}
#damageFillMessage{font-size:12px;line-height:1.7;color:#6750c6;min-height:20px}
.guild-damage-fill{display:block;margin:10px 0 0 auto;border:1px solid #cfc6ff;border-radius:7px;background:#f2edff;color:#6550d9;padding:5px 12px;font-family:inherit;font-size:13px;line-height:20px;cursor:pointer}.guild-damage-fill:disabled{opacity:.5;cursor:default}
.damage-upload-label{margin-top:14px;font-size:14px;color:#353b47}
.octopus-report-dialog .damage-upload-picker{position:relative;display:block;margin:8px 0 0;border:1px dashed #c9bff4;border-radius:12px;background:#f8f5ff;overflow:hidden;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.damage-upload-picker:hover{background:#f1ecff;border-color:#9580e8}.damage-upload-picker:focus-within{border-color:#7759dc;box-shadow:0 0 0 3px #ece5ff}
.octopus-report-dialog .damage-upload-picker.has-file{border-style:solid;background:#faf8ff}
.octopus-report-dialog .damage-upload-picker input[type=file]{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.damage-upload-content{display:flex;align-items:center;gap:10px;min-height:78px;padding:14px 12px;box-sizing:border-box}
.damage-upload-icon{display:flex;align-items:center;justify-content:center;width:34px;height:38px;flex-shrink:0;border-radius:10px;background:#eee7ff;color:#7755d4}.damage-upload-icon svg{width:23px;height:23px}
.damage-upload-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.damage-upload-copy strong{font-size:14px;font-weight:600;line-height:20px;color:#554278}
.damage-upload-copy>span{font-size:11px;line-height:16px;color:#8d819e;overflow-wrap:anywhere}.has-file .damage-upload-copy>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.damage-upload-action{flex-shrink:0;padding:7px 9px;border-radius:8px;background:#eae2ff;color:#7250ca;font-size:12px;line-height:18px;font-weight:500}
.damage-upload-picker input:disabled{cursor:default}.damage-upload-picker input:disabled+.damage-upload-content{opacity:.55}

/* The third balance gets its own row so long jade/gem amounts remain readable. */
.asset-button.chest-ticket { grid-column:1 / -1; background:#fff1cd; color:#79500c; }
.chest-ticket .asset-label { flex-shrink:0; display:flex; align-items:center; gap:9px; font-size:15px; font-weight:700; }
.chest-ticket .ticket-icon { width:30px; height:30px; flex-shrink:0; }
.chest-ticket .asset-values { min-width:0; }
.chest-ticket .asset-values b { overflow-wrap:anywhere; }

.quick-trade-appeal { width:100%; min-height:32px; margin:8px 0 0; padding:6px 10px; border:1px solid #f6dfe3; border-radius:6px; background:#fff8f9; color:#b94b5c; font-size:12px; line-height:18px; text-align:left; font-weight:500; }
.quick-trade-appeal::before { content:""; display:inline-block; width:5px; height:5px; margin:0 7px 2px 0; border-radius:50%; background:#d66b7b; vertical-align:middle; }
.quick-trade-appeal[hidden] { display:none !important; }


.guild-entry-discount{margin:0 0 10px;padding:10px 12px;border:1px solid #e6e0fa;border-radius:10px;background:#faf8ff;color:#75678f;}
.guild-entry-discount summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;}
.guild-entry-discount summary::-webkit-details-marker{display:none;}
.guild-entry-discount summary::after{content:"\2304";flex:none;color:#9482bb;font-size:15px;line-height:20px;}
.guild-entry-discount details[open] summary::after{transform:rotate(180deg);}
.guild-entry-discount summary:focus:not(:focus-visible){outline:none;}
.guild-entry-discount summary:focus-visible{outline:2px solid #8f7ae0;outline-offset:3px;border-radius:3px;}
.guild-entry-discount-heading{display:flex;align-items:center;flex:1;min-width:0;gap:8px;font-size:12px;line-height:20px;}
.guild-entry-discount-heading>span:first-child{flex:none;}
.guild-entry-discount-heading strong{color:#6448df;font-size:14px;white-space:nowrap;}
#spaGuildDiscountPrice{margin-left:auto;color:#675989;font-size:12px;text-align:right;overflow-wrap:anywhere;}
.guild-entry-discount p{margin:8px 0 0;font-size:12px;line-height:1.5;}
.guild-entry-discount .guild-entry-discount-note{margin:4px 0 0;font-size:11px;line-height:16px;color:#958ca4;}
.guild-entry-discount details{font-size:12px;}
.guild-entry-discount-rules{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin-top:10px;padding-top:10px;border-top:1px solid #eee8fa;}
.guild-entry-discount-rules b{font-weight:500;}

#spaGuildJoinReserved { padding:0 12px; margin-right:8px; }

#spaGuildDetail .guild-admin-contacts { padding:12px 14px; margin-bottom:10px; }
#spaGuildDetail .guild-admin-contacts h2 { margin-bottom:4px; font-size:13px; line-height:20px; }
#spaGuildDetail .guild-admin-contacts > p { font-size:13px; line-height:23px; }

.guild-applications > div { align-items:center; flex-wrap:wrap; padding:4px 0; }
.guild-application-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin-left:auto; }
.guild-application-cancel { border:1px solid #e1ddf1; border-radius:6px; background:#fff; color:#6950cf; padding:5px 9px; font-size:12px; line-height:20px; white-space:nowrap; }
.guild-application-cancel:disabled { opacity:.55; cursor:wait; }
.guild-application-cancel:focus-visible { outline:2px solid #6950cf; outline-offset:2px; }

/* Tomorrow quotes stay centered and fit small phones. */
.guild-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.guild-hero>div { min-width:0; }
.guild-hero h1 { font-size:clamp(20px,6vw,26px); }
.guild-hero p { line-height:1.6; }
.guild-hero-emblem { justify-self:end; }
.guild-tomorrow-open { min-height:36px; border:1px solid #ffe08a; border-radius:12px; padding:7px 10px; background:linear-gradient(135deg,#fff7cc,#ffe082); color:#4c239b; font-size:12px; line-height:1.25; font-weight:800; white-space:nowrap; cursor:pointer; box-shadow:0 2px 6px #5b3cc51a,inset 0 1px 0 #ffffffb3; }
.guild-tomorrow-open:hover { background:linear-gradient(135deg,#fffbe5,#ffe99d); }
.guild-tomorrow-open:active { filter:brightness(.96); box-shadow:0 2px 6px #210c5433; }
.guild-tomorrow-open:focus-visible { outline:3px solid #6d45e5; outline-offset:3px; }
.guild-tomorrow-modal { max-width:460px; max-height:calc(100vh - 36px); max-height:calc(100dvh - 36px); padding:20px 16px 16px; display:flex; flex-direction:column; overflow:hidden; text-align:left; border-radius:20px; }
.guild-tomorrow-modal h3 { flex:none; margin:0 0 12px; text-align:center; font-size:20px; line-height:1.4; letter-spacing:.5px; }
.guild-tomorrow-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.guild-tomorrow-modal #spaGuildTomorrowStatus { width:fit-content; margin:0 auto 14px; padding:5px 12px; border-radius:20px; background:#f2edff; text-align:center; font-size:12px; line-height:1.5; color:#6950bf; }
.guild-quote-table { border:1px solid #ebe7f4; border-radius:12px; overflow:hidden; }
.guild-quote-columns,.guild-tomorrow-card { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr) minmax(0,.95fr) minmax(0,1.3fr); column-gap:7px; align-items:center; padding:12px 10px; }
.guild-quote-columns { background:#f4f2fa; color:#667085; font-size:11px; line-height:1.6; }
.guild-quote-columns>div:not(:first-child) { text-align:right; }
.guild-quote-columns small { display:block; margin-top:1px; font-size:9px; color:#8a8f9c; font-weight:400; }
#spaGuildTomorrowList { display:block; }
.guild-tomorrow-card { min-height:64px; margin:0; border:0; border-bottom:1px solid #f0edf6; background:#fff; }
.guild-tomorrow-card:nth-child(even) { background:#fcfbff; }
.guild-tomorrow-card:last-child { border-bottom:0; }
.guild-tomorrow-card h4 { min-width:0; margin:0; color:#6546e8; font-size:12px; line-height:1.5; font-weight:700; }
.guild-tomorrow-card:nth-child(2) h4 { color:#3678c6; }
.guild-tomorrow-card:nth-child(3) h4 { color:#168793; }
.guild-tomorrow-card:nth-child(4) h4 { color:#b37a20; }
.guild-tomorrow-card:nth-child(5) h4 { color:#258563; }
.guild-tomorrow-card dl { display:contents; }
.guild-tomorrow-card dl>div { min-width:0; }
.guild-tomorrow-card dt,.guild-quote-unit { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.guild-tomorrow-card dd { margin:0; color:#262b38; text-align:right; font-variant-numeric:tabular-nums; line-height:1.4; }
.guild-quote-amount { display:block; font-size:16px; font-weight:700; overflow-wrap:anywhere; }
.guild-quote-amount.quote-long { font-size:11px; }
.guild-quote-amount.quote-extra-long { font-size:10px; }
.guild-tomorrow-card dd.has-trend { display:flex; justify-content:flex-end; align-items:center; gap:2px; }
.has-trend .guild-quote-amount { min-width:0; }
.has-trend .guild-quote-amount.quote-long { font-size:10px; }
.has-trend .guild-quote-amount.quote-extra-long { font-size:9px; }
.guild-quote-trend { flex:none; font-size:12px; line-height:1; font-weight:700; }
.guild-quote-trend.up { color:#15803d; }
.guild-quote-trend.down { color:#dc2626; }
@media(max-width:360px) { .has-trend .guild-quote-amount.quote-long,.has-trend .guild-quote-amount.quote-extra-long { font-size:8px; } .guild-quote-trend { font-size:10px; } }
.guild-tomorrow-card dd.is-empty { color:#98a2b3; font-size:11px; font-weight:400; }

.guild-tomorrow-modal .modal-actions { flex:none; margin-top:14px; grid-template-columns:1fr; }
.guild-tomorrow-modal .modal-button { height:42px; border-radius:11px; font-size:14px; }
.guild-tomorrow-modal .modal-button.primary { background:linear-gradient(135deg,#7152ed,#5d3edf); }
.guild-tomorrow-modal [hidden] { display:none !important; }
@media(max-width:360px) { .guild-tomorrow-modal { padding:18px 12px 12px; } .guild-quote-columns,.guild-tomorrow-card { padding-left:8px; padding-right:8px; column-gap:5px; } .guild-tomorrow-card h4 { font-size:11px; } .guild-quote-columns { font-size:10px; } .guild-quote-amount { font-size:14px; } .guild-quote-amount.quote-long { font-size:9px; } .guild-quote-amount.quote-extra-long { font-size:9px; } }
@media(max-width:360px) { .guild-hero { padding:16px 14px; gap:8px; } .guild-hero-emblem { width:48px; height:48px; border-radius:15px; } .guild-hero-emblem svg { width:32px; height:32px; } }



.guild-tomorrow-modal #spaGuildTomorrowStatus.is-unpublished { margin:12px auto; padding:20px 24px; font-size:16px; font-weight:600; }

/* Secondary wallet assets share one responsive row. */
.asset-button.chest-ticket,.asset-button.mantou { grid-column:auto; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; min-height:106px; padding:12px; gap:8px; border-radius:9px; text-align:left; color:#79500c; }
.asset-button.chest-ticket { background:linear-gradient(135deg,#fff5d6,#ffecb7); }
.asset-button.mantou { background:linear-gradient(135deg,#fff8e5,#fff0c9); }
.asset-button.chest-ticket .asset-label,.asset-button.mantou .asset-label { min-width:0; flex-shrink:0; display:flex; align-items:center; gap:7px; font-size:14px; line-height:1.35; font-weight:700; }
.asset-button.chest-ticket .ticket-icon,.asset-button.mantou .mantou-icon { width:26px; height:26px; flex-shrink:0; }
.asset-button.chest-ticket .asset-values,.asset-button.mantou .asset-values { flex:1; width:100%; min-width:0; align-items:flex-start; text-align:left; }
.asset-button.chest-ticket .asset-values b,.asset-button.mantou .asset-values b { font-size:clamp(20px,5.5vw,24px); line-height:1.2; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.asset-button.chest-ticket .asset-values small,.asset-button.mantou .asset-values small { margin-top:4px; font-size:10px; line-height:1.5; }
.asset-button.mantou:focus-visible { outline:2px solid #fff; outline-offset:3px; }
@media(max-width:360px) { .asset-button.chest-ticket,.asset-button.mantou { padding:10px; } }

/* Purchase stock and price precede the payment choices on both asset cards. */
.self-view { padding:10px 10px 20px; }
.self-view .buy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.self-view .buy-card { height:auto; min-height:156px; min-width:0; padding:12px 8px; gap:10px; border-radius:12px; background:#eaf9ee; color:#203329; }
.self-view .buy-card.rock { background:#fceafa; color:#493047; }
.self-view .buy-card.active { background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#397cff,#ff4472,#ffd43b,#45d866) border-box; }
.self-view .buy-card-heading { display:flex; align-items:center; justify-content:center; gap:6px; font-size:15px; }
.self-view .buy-card-heading img { width:26px; height:26px; }
.self-view .purchase-stock { width:100%; text-align:center; font-size:18px; line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.self-view .purchase-channels { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
.self-view .channel-stock { min-width:0; min-height:34px; padding:6px 2px; display:flex; justify-content:center; border-radius:7px; background:#eff6ff; font:inherit; font-size:12px; }
.self-view .channel-stock.wechat { background:#d8f1e1; }
.self-view .buy-unit-price { color:#667085; font-size:11px; line-height:1.4; font-weight:600; }
.self-view .pay-card { height:auto; margin-top:12px; padding:15px 13px; border-radius:12px; }
.self-view .pay-card .row-line { margin-bottom:14px; font-size:16px; }
.self-view .pay-card #spaPayMethodLabel { padding:4px 8px; border-radius:6px; background:#f2f4f7; color:#667085; font-size:11px; }
.self-view .pay-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; }
.self-view .pay-field-group { min-width:0; }
.self-view .field-label { margin:0 0 5px; font-size:12px; line-height:18px; }
.self-view .field { height:40px; border-radius:8px; font-size:14px; }
.self-view .field:focus { outline:2px solid #b8d9ff; outline-offset:1px; }
.self-view .price-tip { margin-top:12px; line-height:20px; color:#667085; }
.self-view .action-button { height:40px; margin-top:10px; border-radius:8px; font-size:14px; font-weight:600; }
.self-view .page-tip { margin-top:10px; line-height:1.6; }
.self-view .page-tip:empty { display:none; }
.self-view .payment-fee-note { margin:12px 0 0; padding:12px; border-radius:10px; background:#edf1f7; color:#667085; font-size:11px; line-height:1.6; text-align:left; }
.self-view .payment-fee-rates { display:flex; flex-direction:column; align-items:flex-start; gap:7px; font-size:12px; }
.self-view .payment-fee-rates b { color:#475467; }
.self-view .payment-fee-note p { margin:7px 0 0; }

.quick-order-payments { display:inline-flex; align-items:center; gap:6px; margin-left:8px; line-height:1; flex-shrink:0; }
.quick-order-payment-icon { width:16px; height:16px; flex-shrink:0; }
.quick-order-payment-icon.wechat { color:#07c160; }
.quick-order-payment-icon.alipay { color:#1677ff; }

.self-view .jade-asset-button { width:100%; padding:0; border:0; background:transparent; color:inherit; font-weight:inherit; cursor:pointer; }
.self-view .channel-stock { border:0; align-items:center; color:#2456a4; cursor:pointer; touch-action:manipulation; }
.self-view .channel-stock.wechat { border:1px solid #9ad3af; color:#208144; }
.self-view .channel-stock.selected { box-shadow:inset 0 0 0 2px currentColor; }
.self-view .channel-stock:focus-visible, .self-view .jade-asset-button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

.trade-frame-layer.is-loading {background:transparent;}
.trade-shell {position:absolute;inset:0;color:#606060;}
.trade-shell[hidden] {display:none!important;}
.trade-loading-title {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}
.trade-loading-card {position:absolute;top:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:10px;min-width:120px;max-width:calc(100% - 32px);padding:14px 22px;border-radius:6px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.12);font-size:16px;line-height:24px;}
.trade-loading-spinner {width:18px;height:18px;flex-shrink:0;border:2px solid transparent;border-right-color:#1683ff;border-bottom-color:#1683ff;border-radius:50%;animation:trade-loading-spin .8s linear infinite;}
.trade-loading-actions {display:none;}
.trade-shell.load-error .trade-loading-card {flex-wrap:wrap;width:260px;}
.trade-shell.load-error .trade-loading-spinner {display:none;}
.trade-shell.load-error .trade-loading-actions {display:flex;gap:12px;width:100%;justify-content:center;}
.trade-loading-actions button {border:0;border-radius:5px;padding:5px 16px;background:#1683ef;color:#fff;font-size:14px;}
.trade-loading-actions button[hidden] {display:none!important;}
.trade-native-back-shim {display:none!important;}
@keyframes trade-loading-spin {to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.trade-loading-spinner{animation:none;}}

.quick-trade-channel-filter {display:flex;gap:8px;margin:10px 0;}
.quick-trade-channel-filter button {flex:1;min-height:36px;padding:6px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;color:#6b7788;font:inherit;font-size:14px;}
.quick-trade-channel-filter .alipay {color:#1677ff;}.quick-trade-channel-filter .wechat {color:#07a655;}
.quick-trade-channel-filter .active {border-color:currentColor;background:#eef5ff;font-weight:700;}
.quick-trade-banner-text {font-size:15px;white-space:normal;line-height:1.5;}
.pay-estimate {padding:11px 12px;margin:8px 0 12px;background:#eef7ff;border-radius:8px;color:#176abf;font-size:15px;font-weight:700;}
.user-view .asset-values {min-width:0;flex:1;}
.user-view .asset-values>b {overflow-wrap:anywhere;word-break:break-word;line-height:1.25;}
.user-view .asset-values .asset-balances {display:grid;gap:4px;white-space:normal;font-size:12px;}
.user-view .asset-balance-row {display:grid;grid-template-columns:28px minmax(0,1fr);gap:5px;align-items:start;}
.user-view .asset-balance-row>span:first-child {white-space:nowrap;}
.user-view .asset-balance-row>span:last-child {overflow-wrap:anywhere;word-break:break-word;text-align:right;}

.quick-trade-instructions summary {list-style:none;cursor:pointer;}
.quick-trade-instructions summary::-webkit-details-marker {display:none;}
.quick-trade-instructions p {margin:0 0 8px;padding:10px 12px;border:1px solid #c8e9d1;border-top:0;border-radius:0 0 8px 8px;color:#51685d;background:#f6fbf8;font-size:13px;line-height:1.7;}

.local-otc-consult{border:1px solid #a8ceff;color:#1677ff;background:#fff;border-radius:5px;font-size:12px;line-height:20px;padding:0 7px;white-space:nowrap;flex-shrink:0;margin-left:7px;text-decoration:none}.quick-order-owner{min-width:0}.quick-order-owner>span:not(.quick-order-avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-order-foot{gap:8px}.quick-order-foot>span:last-child{flex-shrink:0}.local-otc-consult:focus-visible{outline:2px solid #1677ff}

#spaQuickTradeMessages{font-size:12px}.quick-order-avatar{flex-shrink:0}

/* Personal profile uses the stored avatar and wraps a complete nickname/QQ pair. */
.user-view .profile-card{height:auto;min-height:92px}
.user-view .profile-main{height:auto;min-height:32px;gap:8px;padding-right:24px}
.user-view .avatar{position:relative;flex:0 0 32px;overflow:hidden}
.user-view .avatar img{width:100%;height:100%;object-fit:cover}
.user-view .profile-name{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:2px;overflow-wrap:anywhere}
.user-view .profile-qq{max-width:100%;font-weight:700}

.user-view .avatar-fallback{display:flex;align-items:center;justify-content:center}
.user-view .avatar [hidden]{display:none!important}

.quick-order-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.quick-order-avatar.has-avatar::before,.quick-order-avatar.has-avatar::after{display:none}

.local-otc-own-order{flex-shrink:0;display:inline-flex;align-items:center;padding:0 6px;border:1px solid #d3adf7;border-radius:4px;background:#f9f0ff;color:#722ed1;font-size:11px;line-height:18px;white-space:nowrap}

.quick-trade-active { display:flex; flex-wrap:wrap; gap:5px; margin:5px 0 0; }
.quick-trade-active[hidden], .quick-trade-active button[hidden] { display:none !important; }
.quick-trade-active button { min-height:20px; padding:1px 6px; border:1px solid #cadcf1; border-radius:11px; background:#f3f8ff; color:#526d8c; font-size:10px; line-height:16px; white-space:nowrap; }
.quick-trade-active b { font-size:11px; margin:0 1px; }
.quick-trade-active .has-active { border-color:#91bdf8; color:#1677ff; }
.quick-trade-active .has-active b { color:#e5364d; }

    .modal-box .pay-info-amount { color:#ee334e; font-size:26px; font-weight:700; line-height:1.25; white-space:nowrap; }

#spaPaySafe { width:100%; margin-top:8px; }
#spaQrModal .modal-box { max-height:calc(100vh - 32px); overflow-y:auto; }

.user-actions.primary.reward-video-entry { grid-template-columns:1fr; }\n.reward-video-stats { display:block; margin-top:4px; color:#15803d; font-size:11px; font-weight:600; line-height:1.35; }
.reward-video-stats { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:6px; color:#15803d; font-size:11px; font-weight:600; line-height:1.35; }
.reward-video-stat { display:inline-flex; align-items:baseline; gap:3px; padding:3px 8px; border-radius:999px; background:#eefaf1; white-space:nowrap; }
.reward-video-stat em { color:#4f7b61; font-style:normal; font-weight:500; }
.reward-video-stat strong { color:#138a3d; font-size:13px; font-weight:800; }
.reward-video-stat i { color:#4f7b61; font-style:normal; font-size:10px; font-weight:500; }
.reward-video-stat-divider { color:#8ab69a; font-size:14px; font-weight:700; }
.reward-program-modal { text-align:center; }
.reward-program-modal .modal-actions { grid-template-columns:calc((100% - 8px)/2); justify-content:center; }
.reward-program-code { display:block; width:200px; max-width:75%; height:auto; margin:14px auto; background:#fff; }
.reward-program-rules,.reward-program-help { margin:10px 0; line-height:1.6; font-size:14px; color:#667085; text-align:left; }

#spaQuickTradeMessages{position:relative}.quick-chat-count{position:absolute;right:-7px;top:-7px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ee354f;color:#fff;font-size:11px;font-weight:600;line-height:18px;border:2px solid #d5e9ff;box-sizing:content-box}.quick-chat-count[hidden]{display:none!important}

.local-otc-consult{position:relative;overflow:visible}.local-otc-consult-count{position:static;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:14px;height:14px;margin-left:4px;padding:0 3px;border-radius:999px;background:#ee354f;color:#fff;font-size:10px;font-weight:600;line-height:14px;box-sizing:border-box;pointer-events:none}.local-otc-consult-count[hidden]{display:none!important}

/* Copy status for the personal profile, clear feedback after actual clipboard success. */
.identity-copy-toast{position:fixed;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:3000;max-width:calc(100% - 32px);padding:9px 14px;border-radius:9px;background:rgba(38,50,68,.94);color:#fff;font-size:13px;line-height:1.5;text-align:center;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 4px 18px rgba(16,24,40,.16);}
.identity-copy-toast.error{background:#b42318;}
.identity-copy-toast[hidden]{display:none!important;}

.identity-copy-field{position:fixed;left:-9999px;top:0;font-size:16px;}
.tool-item[href]{color:inherit;text-decoration:none}
.home-view #spaToolsSection{display:block!important}
#spaTools{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#spaTools .tool-item{height:50px;padding:4px 2px;font-size:12px;line-height:16px;flex-direction:column;gap:2px;border-radius:6px}
#spaTools .tool-item img{width:22px;height:22px;flex-basis:22px}
#spaTools .tool-item span{width:100%;text-align:center}

/* Captured public quote card below the homepage tools. */
#spaMarketSection { display:block !important; }
#spaHunterPrices { display:block; width:100%; height:310px; border:0; border-radius:4px; }

/* Keep the home viewport and card space fixed throughout the captured drawer switch. */
body.hunter-square-open .app-viewport{z-index:2100}
body.hunter-square-open #spaHunterPrices{position:fixed;inset:0;width:100%;height:100vh!important;height:100dvh!important;border-radius:0;z-index:2101;background:white}
body.hunter-square-preparing #spaHunterPrices{opacity:0!important;pointer-events:none}
.hunter-square-loading{position:fixed;top:56px;left:50%;transform:translateX(-50%);z-index:2200;display:flex;gap:12px;align-items:center;padding:10px 16px;background:#fff;color:#333;border-radius:8px;box-shadow:0 2px 12px #0002;white-space:nowrap}
.hunter-square-loading[hidden]{display:none}
.hunter-square-loading button{border:1px solid #ddd;border-radius:6px;background:#fff;padding:4px 10px;color:#333}

/* Reuse the homepage hunter runtime while a tool opens. */
.hunter-square-loading {
 inset:0;top:0;left:0;transform:none;z-index:2200;border-radius:0;box-shadow:none;
 background:#f6f5fc;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;
 gap:18px;padding:24px;white-space:normal;
}
.hunter-square-loading > span {flex-basis:100%;text-align:center;color:#555;order:-1;font-size:16px}
.hunter-square-loading > span::before {
 content:'';display:block;width:28px;height:28px;margin:0 auto 20px;border:3px solid #ddd6ff;
 border-top-color:#4d31db;border-radius:50%;animation:hunter-tool-spin .8s linear infinite;
}
.hunter-square-loading button {padding:8px 18px;border:1px solid #d7cff8;border-radius:8px;background:white;color:#4d31db;cursor:pointer}
@keyframes hunter-tool-spin {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hunter-square-loading > span::before{animation:none}}


/* Sell/recycle switch and online asset buyback. */
.self-mode-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:0 0 10px; padding:4px; border:1px solid #e5e7ef; border-radius:12px; background:#fff; }
.self-mode-tab { min-height:42px; display:flex; align-items:center; justify-content:center; gap:6px; border:0; border-radius:9px; background:transparent; color:#7a8191; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.self-mode-tab.active { background:#6550df; color:#fff; box-shadow:0 4px 12px rgba(101,80,223,.22); }
.self-mode-tab:focus-visible,.buyback-asset-card:focus-visible { outline:2px solid #806bed; outline-offset:2px; }
.self-mode-glyph { width:21px; height:21px; display:inline-flex; align-items:center; justify-content:center; border-radius:7px; background:#eeeaff; color:#6550df; font-size:19px; line-height:20px; }
.self-mode-tab.active .self-mode-glyph { background:#ffffff30; color:#fff; }
.self-mode-panel[hidden] { display:none !important; }
.buyback-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.buyback-asset-card { min-width:0; min-height:156px; padding:12px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:2px solid transparent; border-radius:12px; background:#eaf9ee; color:#203329; font:inherit; cursor:pointer; }
.buyback-asset-card.rock { background:#fceafa; color:#493047; }
.buyback-asset-card.active { background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#397cff,#ff4472,#ffd43b,#45d866) border-box; }
.buyback-asset-card img { width:34px; height:34px; object-fit:contain; }
.buyback-asset-card b { font-size:16px; }
.buyback-asset-card span { color:#475467; font-size:12px; line-height:18px; text-align:center; }
.buyback-asset-card small { color:#667085; font-size:11px; line-height:16px; text-align:center; overflow-wrap:anywhere; }
.buyback-card { margin-top:12px; padding:15px 13px; border-radius:12px; background:#fff; box-shadow:0 1px 3px rgba(24,31,51,.14); }
.buyback-card .row-line { margin-bottom:14px; font-size:16px; }
.buyback-card .field { box-sizing:border-box; width:100%; }
.buyback-estimate { margin-top:10px; padding:10px 11px; border-radius:8px; background:#f4f2ff; color:#5f4db3; font-size:13px; line-height:20px; }
.buyback-note { margin:10px 0 0; color:#667085; font-size:11px; line-height:1.7; }
.buyback-confirm-lines { display:grid; gap:9px; margin:12px 0; }
.buyback-confirm-lines p { display:flex; justify-content:space-between; gap:16px; margin:0; color:#475467; }
.buyback-confirm-lines p span,.buyback-confirm-lines p strong { color:#1d2939; text-align:right; }
.buyback-dialog-note { margin:10px 0 0; color:#667085; font-size:12px; line-height:1.6; }
.buyback-success-message { margin:12px 0 4px; color:#344054; line-height:1.8; }
.buyback-success-message b { color:#16a34a; font-size:18px; }
.buyback-success-message strong { color:#d92d20; }
.buyback-success-message small { display:block; margin-top:8px; color:#667085; }

/* VIP identity, independent of account settings permissions. */
.user-view .profile-vip{display:inline-flex;align-items:center;align-self:center;gap:3px;flex:0 0 auto;margin-left:5px;padding:3px 6px;border:1px solid #dfb453;border-radius:5px;background:linear-gradient(120deg,#fff2c6,#f6d77a);color:#80500b;font-size:11px;font-weight:900;line-height:14px;letter-spacing:.4px;white-space:nowrap}
.user-view .profile-vip[hidden]{display:none}
.user-view .profile-vip svg{width:13px;height:12px;fill:currentColor;flex:none}

.damage-value-input{display:flex;align-items:stretch;gap:8px}.damage-value-input input{min-width:0;flex:1}.damage-value-input select{flex:none;width:76px;border:1px solid #d8dfeb;border-radius:10px;background:#fff;color:#475467;padding:8px;font:inherit}.damage-value-input:focus-within{outline:0}


/* Compact APP home and navigation; cap visual sizes on wider screens. */
:root{--ui-rpx:min(.1333333333vw,.8px);--app-nav-height:calc(54px + env(safe-area-inset-bottom));--app-header-height:72px}
.app-header{height:var(--app-header-height);padding:0;display:block;background:#fff;color:#20242c}
.app-system-title{height:38px;display:flex;align-items:center;justify-content:center;background:#fff;color:#20242c;font-size:16px;line-height:1.3;font-weight:600}
.app-brand-row{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;gap:8px;background:#4e17d5;color:#fff}
.header-brand{flex:1;min-width:0;gap:6px}
.brand-text{font-size:clamp(18px,4.8vw,22px);line-height:1.1;flex:none}
.header-qq-group{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:clamp(10px,2.6vw,11px);line-height:1.2}
.header-actions{flex:none;gap:5px}
.wallet-wrap{height:26px;min-width:0;margin:0}
.wallet-button{height:100%;min-width:0;border-radius:calc(var(--ui-rpx)*10)}
.wallet-main{min-width:44px;max-width:78px;padding:0 5px;gap:3px;overflow:hidden;font-size:12px}
.wallet-main span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallet-main img{width:14px;height:14px}
.wallet-arrow{width:22px;font-size:12px}
.header-user{width:28px;height:30px;padding:4px;flex:none}
.header-user img{width:100%;height:100%;object-fit:contain}
.wallet-menu{top:calc(100% + 5px)}
.app-viewport{top:var(--app-header-height);bottom:var(--app-nav-height)}
.home-view{padding:0 clamp(12px,3.2vw,16px) 16px;background:linear-gradient(180deg,#4e17d5 0%,#5148e9 46%,#5abdfe 100%)}
.team-banner{height:clamp(36px,10vw,42px);margin:0 0 12px;display:flex;justify-content:space-evenly;border-radius:calc(var(--ui-rpx)*10)}
.team-banner::before{content:none}
.team-banner strong{font-size:clamp(20px,5.6vw,24px);line-height:1.2}
.banner-star{color:#ffe24d;font-size:15px}
.trade-shortcuts{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
.trade-shortcut{width:auto!important;min-width:0;height:clamp(50px,13.9vw,58px);padding:4px 2px;gap:2px;font-size:clamp(13px,3.73vw,15px);letter-spacing:0;line-height:1.3;border-radius:6px;color:#212529;font-weight:700;box-shadow:none;text-decoration:none}
.trade-shortcut>span:not(.trade-pair-icons){line-height:1.3;white-space:nowrap}
.trade-shortcut img,.trade-pair-icons img{width:clamp(20px,5.6vw,24px);height:clamp(20px,5.6vw,24px);filter:none}
.trade-pair-icons{height:clamp(20px,5.6vw,24px);gap:4px}
.trade-pair-swap{width:22px;height:18px;filter:none}
#spaToolsSection{margin-top:12px}
#spaToolsSection .home-title{margin:0 0 8px;font-size:14px;line-height:1.3}
#spaTools{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#spaTools .tool-item{width:auto;height:clamp(48px,12.8vw,54px);padding:3px 2px;gap:2px;font-size:clamp(11px,3.2vw,13px);line-height:16px;border-radius:6px;color:#212529;font-weight:700}
#spaTools .tool-item img{width:clamp(20px,5.6vw,24px);height:clamp(20px,5.6vw,24px);flex:0 0 auto}
.app-footer{height:var(--app-nav-height);padding:4px 0 calc(4px + env(safe-area-inset-bottom));border-top:1px solid #e9e9e9}
.app-footer .nav-button{height:auto;min-width:0;padding:0;justify-content:center;gap:2px;font-size:12px;line-height:16px;font-weight:400}
.nav-button .nav-icon,.nav-button .nav-icon-active{width:24px;height:24px;object-fit:contain;flex:none}
.nav-button .nav-icon{display:block}.nav-button .nav-icon-active{display:none}
.nav-button.active .nav-icon{display:none}.nav-button.active .nav-icon-active{display:block}
.nav-button.active{color:#168aff}
.user-view .user-actions.primary:not(.reward-video-entry){grid-template-columns:repeat(4,minmax(0,1fr));height:calc(var(--ui-rpx)*166);padding:calc(var(--ui-rpx)*18) 0}
.user-view .user-actions.primary:not(.reward-video-entry) .user-action{min-width:0;height:100%;padding:0;gap:calc(var(--ui-rpx)*8);font-size:calc(var(--ui-rpx)*24);line-height:1.5;white-space:nowrap}
.user-view .user-actions.primary:not(.reward-video-entry) .user-action img,.user-view .user-actions.primary:not(.reward-video-entry) .user-action svg{width:calc(var(--ui-rpx)*64);height:calc(var(--ui-rpx)*64);object-fit:contain;flex:none}

/* Current public listing quantities on the two cash-trade shortcuts. */
.trade-shortcut>.trade-stock-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;line-height:0}
.trade-stock-badge{position:absolute;top:-4px;left:50%;z-index:1;padding:0 4px;border-radius:10px;background:#ff3141;color:#fff;font-size:10px;line-height:14px;font-weight:600;letter-spacing:0;white-space:nowrap;pointer-events:none}
.trade-stock-badge[hidden]{display:none}

/* Completed-price records keep each timestamp and all amounts on one line. */
#spaQuickTradeHistory .quick-history-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:3px;align-items:center;padding:9px 2px;font-size:12px;line-height:1.4;text-align:right;font-variant-numeric:tabular-nums}
#spaQuickTradeHistory .quick-history-grid>span{min-width:0;white-space:nowrap;overflow-wrap:normal}
#spaQuickTradeHistory .quick-history-grid>span:first-child{text-align:left;color:#728099;font-size:10px}
#spaQuickTradeHistory .quick-history-head{background:#f1f6fd;color:#728099;font-size:10px}
#spaQuickTradeHistory .quick-history-row{border-bottom:1px solid #eaf0f6}

/* Match the native mini market header; keep one return link in the stats bar. */
.quick-history-title{margin:14px 0 0;padding:5px 0 11px;color:#263244;font-size:14px;font-weight:600;line-height:1.4}
#spaQuickTradeHistoryToggle:focus-visible{outline:2px solid #91caff!important;outline-offset:2px}

#spaQuickTradeHistory .quick-history-head{font-size:clamp(8px,2.533vw,10px)}

/* Compact statistics: one baseline, balanced actions, and a small refresh glyph. */
.quick-trade-meta{height:auto;min-height:30px;gap:4px;padding:0 6px;background:#eef5ff;border:1px solid #e2ecfa;border-radius:6px}
#spaQuickTradeHistoryToggle{appearance:none;-webkit-appearance:none;flex:1;min-width:0;min-height:28px;border:0;border-radius:0;box-shadow:none;outline:none;background:transparent;color:#8895a5;font-family:Arial,'Microsoft YaHei',sans-serif;font-size:clamp(10px,3.05556vw,12px);font-weight:500;line-height:18px;padding:4px 0;margin:0;text-align:left;display:flex;align-items:center;flex-wrap:nowrap;gap:0;-webkit-tap-highlight-color:transparent;text-size-adjust:100%;-webkit-text-size-adjust:100%}
#spaQuickTradeHistoryToggle .quick-trade-summary{display:inline-flex;align-items:baseline;flex:none;gap:2px;white-space:nowrap}
#spaQuickTradeHistoryToggle b{color:#e5364d;font-weight:600;font-size:inherit;font-variant-numeric:tabular-nums}
#spaQuickTradeHistoryHint{flex:none;margin-left:auto;padding-left:6px;color:#1677ff;font-size:inherit;font-weight:500;white-space:nowrap}
.quick-trade-meta-actions{flex:none;gap:0}
#spaQuickTradeRefresh{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;border:0;border-radius:5px;background:transparent;color:#8391a3;font-size:0;line-height:1}
#spaQuickTradeRefresh svg{display:block;flex:none;width:16px;height:16px;pointer-events:none}
#spaQuickTradeHistory .quick-history-state{font-size:12px;color:#728099;padding:0 0 12px;line-height:1.5}
#spaQuickTradeHistoryRetry{appearance:none;-webkit-appearance:none;border:0;box-shadow:none;background:transparent;color:#1677ff;font:inherit;font-size:12px;padding:4px 8px}

/* Market purchase entry: keep seller/time together and open the existing detail. */
.quick-order { border-radius:9px; border-color:#e0e5ed; }
.quick-order-main { padding:9px 10px 7px; }
.quick-order-foot { min-height:43px; padding:6px 10px; background:#f8fafc; border-top:1px solid #f0f3f7; }
.quick-order-info { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; }
.quick-order-owner { overflow:visible; }
.quick-order-owner [data-seller-name] { min-width:0; max-width:132px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.quick-order-owner .local-otc-consult { margin-left:2px; }
.quick-order-date { color:#98a2b3; font-size:10px; line-height:14px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.quick-order-buy { appearance:none; -webkit-appearance:none; flex:0 0 66px; min-height:34px; margin:0; padding:0 14px; display:flex; align-items:center; justify-content:center; border:0; border-radius:7px; background:#1688f8; color:#fff; font:600 13px/1.2 Arial,'Microsoft YaHei',sans-serif; white-space:nowrap; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.quick-order-buy.is-own { background:#edf4ff; color:#1677ff; }
.quick-order-buy:active { filter:brightness(.94); }
.quick-order-buy:focus-visible { outline:2px solid #80baff; outline-offset:2px; }
.quick-order-buy:disabled { opacity:.5; }

.mantou-payment{margin:14px 0;padding:14px;border:1px solid #eee5cb;border-radius:12px;background:#fffcf4;font-size:14px;color:#5b5140}
.mantou-payment .mantou-payment-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:15px;font-weight:600;color:#544527}
.mantou-payment-toggle input{width:18px;height:18px;min-height:0;margin:0;accent-color:#168aff;flex:none}
.mantou-payment-toggle span{margin-left:auto;font-size:12px;font-weight:400;color:#8c7b5c}
.mantou-payment p{margin:8px 0 0;font-size:13px;color:#8c7b5c}.mantou-payment small{display:block;margin-top:6px;line-height:1.6;color:#8c7b5c}
.mantou-payment [hidden]{display:none!important}.mantou-payment input[type=text]{box-sizing:border-box;width:100%;height:42px;border:1px solid #d0d5dd;border-radius:8px;padding:8px;font:inherit;background:white}
.pay-tender-detail{display:block;font-size:13px;line-height:1.7;color:#8c7b5c;margin-top:6px;font-weight:400}
.quick-trade-instructions > summary{outline:none!important;box-shadow:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.quick-trade-instructions > summary:hover,.quick-trade-instructions > summary:active,.quick-trade-instructions > summary:focus,.quick-trade-instructions > summary:focus-visible{outline:none!important;box-shadow:none;background:transparent;color:inherit}
