/* arfx-markets-ui-v1: 全部行情 sheet (owner-approved prototype claude.ai/artifact/QqF9WLSQjWx2aLDfjUE3B1, 2026-10-29).
   Colours only from the theme (--bb-theme-*); the glass skin only through --glass-* (UI_STANDARD 七). */
.bb-arfx-all{height:32px;padding:0 14px;border-radius:999px;border:1px solid rgba(var(--bb-theme-line-rgb),1);background:var(--bb-theme-surface);color:var(--bb-theme-ink);font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;flex:none;white-space:nowrap}
.bb-arfx-all:hover{border-color:var(--bb-theme-muted)}
.bb-arfx-all:active{transform:scale(.985)}
html[data-bigbit-skin=glass] .bb-arfx-all{background:var(--glass-bg-soft);border-color:var(--glass-edge-soft);box-shadow:var(--glass-raise)}
.bb-arfx-scrim{position:fixed;inset:0;z-index:2147483000;background:rgba(var(--bb-theme-shadow-rgb),.38);opacity:0;transition:opacity .3s}
html[data-bigbit-skin=glass] .bb-arfx-scrim{background:var(--glass-scrim)}
.bb-arfx-scrim.on{opacity:1}
.bb-arfx-sheet{position:fixed;z-index:2147483001;display:flex;flex-direction:column;overflow:hidden;background:var(--bb-theme-surface);color:var(--bb-theme-ink);border:1px solid var(--bb-theme-line);box-shadow:0 24px 64px rgba(var(--bb-theme-shadow-rgb),.18);font-family:inherit}
html[data-bigbit-skin=glass] .bb-arfx-sheet{background:var(--glass-bg-pop);-webkit-backdrop-filter:var(--glass-filter-panel);backdrop-filter:var(--glass-filter-panel);border-color:var(--glass-edge-soft)}
.bb-arfx-head{display:grid;gap:12px;padding:16px 16px 12px;border-bottom:1px solid var(--bb-theme-line)}
.bb-arfx-top{display:flex;align-items:center;gap:12px;min-width:0}
.bb-arfx-top h3{margin:0;font-size:18px;font-weight:700;flex:1;min-width:0}
.bb-arfx-top span{font-size:12px;color:var(--bb-theme-muted)}
.bb-arfx-src{font-size:12px;color:var(--bb-theme-muted)}
.bb-arfx-src.warn{color:var(--bb-theme-down)}
.bb-arfx-x{width:36px;height:36px;border-radius:50%;border:1px solid var(--bb-theme-line);background:var(--bb-theme-inset);color:var(--bb-theme-ink);font-size:18px;line-height:1;cursor:pointer;flex:none}
.bb-arfx-x:focus{outline:none}.bb-arfx-x:focus-visible{outline:2px solid var(--bb-theme-ink);outline-offset:2px}
.bb-arfx-q{height:40px;border-radius:12px;border:1px solid var(--bb-theme-line);background:var(--bb-theme-inset);color:var(--bb-theme-ink);padding:0 12px;font-family:inherit;font-size:14px;width:100%;box-sizing:border-box}
html[data-bigbit-skin=glass] .bb-arfx-q{background:var(--glass-bg-soft);border-color:var(--glass-edge-soft);box-shadow:var(--glass-press)}
.bb-arfx-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px;scrollbar-width:none}
.bb-arfx-tabs::-webkit-scrollbar{display:none}
.bb-arfx-tab{flex:none;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--bb-theme-line);background:var(--bb-theme-surface);color:var(--bb-theme-ink);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.bb-arfx-tab span{font-weight:400;opacity:.7;margin-left:4px}
.bb-arfx-tab[aria-selected=true]{background:var(--bb-theme-inverse);color:var(--bb-theme-inverse-ink);border-color:var(--bb-theme-inverse)}
html[data-bigbit-skin=glass] .bb-arfx-tab{background:var(--glass-bg-soft);border-color:var(--glass-edge-soft);box-shadow:var(--glass-raise)}
html[data-bigbit-skin=glass] .bb-arfx-tab[aria-selected=true]{background:var(--bb-theme-inverse);box-shadow:var(--glass-press)}
.bb-arfx-list{overflow:auto;padding:12px 16px 16px;display:grid;gap:6px;align-content:start;flex:1;min-height:0}
.bb-arfx-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:52px;padding:8px 12px;border:1px solid var(--bb-theme-line);border-radius:12px;background:var(--bb-theme-inset)}
html[data-bigbit-skin=glass] .bb-arfx-row{background:transparent;border-color:var(--glass-edge-soft)}
.bb-arfx-sym{min-width:0}
.bb-arfx-sym b{display:block;font-size:14px;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis}
.bb-arfx-sym small{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px;font-size:11px;color:var(--bb-theme-muted)}
.bb-arfx-tag{font-size:11px;padding:1px 6px;border-radius:6px;border:1px solid var(--bb-theme-line);color:var(--bb-theme-muted)}
.bb-arfx-tag.warn{border-color:rgba(var(--bb-theme-down-rgb),.4);color:var(--bb-theme-down)}
.bb-arfx-px{font:600 14px ui-monospace,"SF Mono",Menlo,monospace;font-variant-numeric:tabular-nums;text-align:right;min-width:84px;transition:color .4s}
.bb-arfx-px small{display:block;font-family:inherit;font-size:10px;font-weight:400;color:var(--bb-theme-muted)}
.bb-arfx-px.up{color:var(--bb-theme-up)}.bb-arfx-px.down{color:var(--bb-theme-down)}
.bb-arfx-none{grid-column:2/4;text-align:right}
.bb-arfx-empty{color:var(--bb-theme-muted);font-size:13px;padding:24px 0;text-align:center}
.bb-arfx-skel{height:52px;border-radius:12px;background:var(--bb-theme-inset);animation:bb-arfx-breathe 1.4s ease-in-out infinite}
@keyframes bb-arfx-breathe{50%{opacity:.45}}
.bb-arfx-grab{width:40px;height:4px;border-radius:2px;background:var(--bb-theme-line);margin:0 auto -4px}
@media (min-width:721px){.bb-arfx-sheet{left:50%;top:50%;width:min(640px,calc(100vw - 48px));height:min(720px,calc(100vh - 96px));border-radius:24px;transform-origin:var(--bb-arfx-ox,50%) var(--bb-arfx-oy,50%);transform:translate(-50%,-50%) scale(.2);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .25s}.bb-arfx-sheet.on{transform:translate(-50%,-50%) scale(1);opacity:1}.bb-arfx-grab{display:none}}
@media (max-width:720px){.bb-arfx-sheet{left:0;right:0;bottom:0;height:86vh;border-radius:24px 24px 0 0;border-bottom:0;transform:translateY(100%);transition:transform .32s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom,0px)}.bb-arfx-sheet.on{transform:none}.bb-arfx-list{padding-left:12px;padding-right:12px}}
@media (prefers-reduced-motion:reduce){.bb-arfx-sheet,.bb-arfx-scrim,.bb-arfx-px,.bb-arfx-skel{transition:none!important;animation:none!important}}
/* entry placements (v2): under the workbench 市场脉搏 list (its header keeps the tabs), the home snapshot under its tabs,
   the H5 今日观察市场 head */
.decision-pulse .pulse-assets button.bb-arfx-all-wide,
html[data-web-glass] .workbench[data-active-module] .decision-pulse .pulse-assets button.bb-arfx-all-wide{display:block!important;width:100%!important;height:40px!important;min-height:40px!important;margin-top:6px!important;padding:0 12px!important;grid-template-columns:none!important;border:1px solid var(--bb-theme-line)!important;border-radius:12px!important;font-size:13px!important;font-weight:600!important;text-align:center!important}  /* v3: the 市场脉搏 row-button rules (some !important under the web glass skin) do not apply to it */
/* arfx-quote-push-v1 (owner 2026-10-29 「全部行情…固定在最下面」): the 市场脉搏 list is a column whose last item, 全部行情,
   sits at the bottom of the card when the list is short and stays in view at the bottom while a long list scrolls. */
.decision-pulse .pulse-assets,
html[data-web-glass] .workbench[data-active-module] .decision-pulse .pulse-assets{display:flex!important;flex-direction:column!important}
.decision-pulse .pulse-assets>.pulse-asset-group{flex:0 0 auto;margin-bottom:6px}
.decision-pulse .pulse-assets button.bb-arfx-all-wide,
html[data-web-glass] .workbench[data-active-module] .decision-pulse .pulse-assets button.bb-arfx-all-wide{flex:0 0 auto!important;margin-top:auto!important;position:sticky!important;bottom:0!important;z-index:1!important}
.decision-pulse .pulse-assets>.pulse-asset-group+button.bb-arfx-all-wide{margin-top:auto!important}
.decision-pulse .pulse-assets::after{content:"";flex:0 0 6px}
.bb-arfx-all-row{display:flex;justify-content:flex-end;margin:0 0 8px}
.terminal-section-head .bb-arfx-all{height:28px;padding:0 12px;font-size:12px;margin-left:8px}
@media (max-width:400px){.bb-arfx-row{gap:8px;padding:8px 10px}.bb-arfx-px{min-width:0;font-size:13px}}
/* arfx-candles-v1: K-line panel over the list (slides up, collapses down) */
.bb-arfx-row{cursor:pointer}
.bb-arfx-row:hover{border-color:var(--bb-theme-muted)}
.bb-arfx-row:active{transform:scale(.985)}
.bb-arfx-row:focus-visible{outline:2px solid var(--bb-theme-ink);outline-offset:2px}
.bb-arfx-chart{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bb-theme-surface);transform:translateY(100%);transition:transform .32s cubic-bezier(.2,.8,.2,1);z-index:2}
html[data-bigbit-skin=glass] .bb-arfx-chart{background:var(--glass-bg-pop)}
.bb-arfx-chart.on{transform:none}
.bb-arfx-chart .bb-arfx-top span{font:600 13px ui-monospace,"SF Mono",Menlo,monospace;font-variant-numeric:tabular-nums;color:var(--bb-theme-ink)}
.bb-arfx-canvas{position:relative;flex:1;min-height:200px;margin:8px 16px 0}
.bb-arfx-canvas canvas{display:block;width:100%;height:100%}
.bb-arfx-canvas .bb-arfx-skel{position:absolute;inset:0;height:auto}
.bb-arfx-chart>.bb-arfx-src{padding:8px 16px 16px}
@media (prefers-reduced-motion:reduce){.bb-arfx-chart{transition:none!important}}
