/* 实时行情看盘页：白底专业看盘风格，跟随站点 html[data-theme="dark"] 切深色 */
.mk-page-term .container.mk-shell { max-width: none; width: 100%; padding-left: 10px; padding-right: 10px; }
.mk-page-term .mk-shell .site-main { padding-top: 8px; padding-bottom: 14px; }
.mk-page-term .entry.tm-entry { margin: 0; padding: 0; max-width: none; }

.tm {
	--tm-bg: #ffffff; --tm-panel: #ffffff; --tm-line: #eaecef; --tm-grid: rgba(0, 0, 0, 0.04); --tm-text: #1e2329; --tm-mute: #707a8a; --tm-faint: #9aa3af;
	--tm-hover: #f5f6f8; --tm-on: #eef0f3; --tm-row-on: #fef8e6; --tm-input: #f5f6f8; --tm-star: #c3c9d1; --tm-accent: #1f6feb; --tm-acc-bg: rgba(31, 111, 235, 0.08); --tm-scroll: #d5d9df;
	--tm-up: #03a66d; --tm-down: #e33e55; --tm-live: #03a66d; --tm-poll: #b7791f; --tm-err: #d63a4f; --tm-shadow: 0 8px 28px rgba(16, 24, 40, 0.16); --tm-mask: rgba(15, 23, 42, 0.32);
	--mk-up: var(--tm-up); --mk-down: var(--tm-down);
	color: var(--tm-text); font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .tm {
	--tm-bg: #0c1424; --tm-panel: #0c1424; --tm-line: #1c2740; --tm-grid: rgba(148, 163, 184, 0.07); --tm-text: #e5edf5; --tm-mute: #8391a7; --tm-faint: #64748b;
	--tm-hover: #142036; --tm-on: #1a2740; --tm-row-on: #18233a; --tm-input: #0a111f; --tm-star: #4b5a72; --tm-accent: #4ea4ff; --tm-acc-bg: rgba(78, 164, 255, 0.12); --tm-scroll: #26344d;
	--tm-up: #22c55e; --tm-down: #f6465d; --tm-live: #86efac; --tm-poll: #fcd34d; --tm-err: #fca5a5; --tm-shadow: 0 10px 32px rgba(0, 0, 0, 0.5); --tm-mask: rgba(0, 0, 0, 0.55);
}
.tm.is-redup { --tm-up: #e33e55; --tm-down: #03a66d; }
html[data-theme="dark"] .tm.is-redup { --tm-up: #f6465d; --tm-down: #22c55e; }
.tm .is-up { color: var(--tm-up); }
.tm .is-down { color: var(--tm-down); }
.tm [hidden] { display: none !important; }
.tm-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tm button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; }
.tm button:focus-visible { outline: 1px solid var(--tm-accent); outline-offset: -1px; }

/* 外框：单一边框，内部用 1px 间隙当分隔线 */
.tm-box {
	position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr);
	grid-template-areas: "head head head" "list main side"; gap: 1px; height: calc(100vh - 92px); min-height: 640px; max-height: 1240px;
	border: 1px solid var(--tm-line); border-radius: 8px; background: var(--tm-line); overflow: hidden; }
.tm-box > * { background: var(--tm-bg); min-width: 0; min-height: 0; }
.tm-head { grid-area: head; }
.tm-lcol { grid-area: list; }
.tm-main { grid-area: main; }
.tm-side { grid-area: side; }
.tm-mtabs { display: none; }
.tm-box:fullscreen { height: 100vh; max-height: none; min-height: 0; border: 0; border-radius: 0; }
.tm.is-max .tm-box { position: fixed; inset: 0; z-index: 100000; height: auto; max-height: none; min-height: 0; border: 0; border-radius: 0; }

/* 报价头 */
.tm-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; padding: 8px 14px; }
.tm-sym { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tm-pair { display: flex; align-items: baseline; gap: 2px; font-size: 17px; line-height: 22px; white-space: nowrap; }
.tm-pair b { font-weight: 700; }
.tm-pair span { color: var(--tm-mute); font-size: 13px; }
.tm-tag { margin-left: 8px; padding: 0 6px; border: 1px solid var(--tm-line); border-radius: 4px; color: var(--tm-mute); font-size: 11px; font-style: normal; line-height: 17px; align-self: center; }
.tm-name { color: var(--tm-mute); font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.tm-fav-cur { display: inline-flex; padding: 4px !important; border-radius: 6px; }
.tm-fav-cur svg, .tm-star svg { fill: none; stroke: var(--tm-star); stroke-width: 1.3; }
.tm-fav-cur.is-on svg, .tm-star.is-on svg { fill: #f0b90b; stroke: #f0b90b; }
.tm-fav-cur:hover { background: var(--tm-hover) !important; }
.tm-px { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.tm-price { font-size: 24px; line-height: 28px; font-weight: 700; color: var(--tm-text); }
.tm-chg { font-size: 13px; font-weight: 600; color: var(--tm-mute); }
.tm-ext { font-size: 12px; color: var(--tm-mute); }
.tm-ext b { font-weight: 600; }
.tm-stats { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.tm-stats div { min-width: 0; }
.tm-stats dt { font-size: 11px; line-height: 15px; color: var(--tm-mute); font-weight: 400; }
.tm-stats dd { margin: 0; font-size: 12.5px; line-height: 17px; font-weight: 600; color: var(--tm-text); }
.tm-head-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tm-st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--tm-line); border-radius: 999px; font-size: 11.5px; color: var(--tm-mute); white-space: nowrap; }
.tm-st i { width: 6px; height: 6px; border-radius: 50%; background: var(--tm-faint); }
.tm-st[data-st="live"] { color: var(--tm-live); }
.tm-st[data-st="live"] i { background: #22c55e; animation: mk-pulse 2s infinite; }
.tm-st[data-st="poll"] { color: var(--tm-poll); }
.tm-st[data-st="poll"] i { background: #f59e0b; }
.tm-st[data-st="err"] { color: var(--tm-err); }
.tm-st[data-st="err"] i { background: #f6465d; }
a.tm-trade { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 6px; background: #f0b90b; color: #181a20 !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
a.tm-trade:hover { background: #fcd535; }

/* 左栏：行情列表 */
.tm-lcol { display: flex; flex-direction: column; }
.tm-tabs { display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--tm-line); }
.tm-tab { position: relative; padding: 6px 10px 8px !important; color: var(--tm-mute) !important; font-size: 13px !important; font-weight: 600; }
.tm-tab:hover, .tm-tab.is-on { color: var(--tm-text) !important; }
.tm-tab.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: #f0b90b; }
.tm-tabs.is-x { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tm-tabs.is-x::-webkit-scrollbar { display: none; }
.tm-tabs.is-x { gap: 0; padding-left: 4px; padding-right: 4px; }
/* 7 个市场标签要在 280px 左栏里全部放下，否则桌面端隐藏滚动条后最后一个点不到 */
.tm-tabs.is-x .tm-tab { flex: 1 0 auto; padding: 6px 4px 8px !important; font-size: 12.5px !important; white-space: nowrap; text-align: center; }
/* 横向滚动会裁掉伸出底边的下划线，改成贴在按钮内侧 */
.tm-tabs.is-x .tm-tab.is-on::after { left: 4px; right: 4px; bottom: 0; }
.tm-lsec { padding: 8px 10px 4px; border-top: 1px solid var(--tm-line); color: var(--tm-mute); font-size: 11px; font-weight: 600; line-height: 16px; }
.tm-search { display: flex; align-items: center; gap: 6px; margin: 8px 8px 6px; padding: 0 10px; height: 30px; border: 1px solid transparent; border-radius: 6px; background: var(--tm-input); color: var(--tm-mute); }
.tm-search:focus-within { border-color: var(--tm-accent); }
.tm-search input { flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0; border: 0 !important; outline: 0; background: none !important; color: var(--tm-text); font-size: 12.5px; box-shadow: none !important; }
.tm-search input::placeholder { color: var(--tm-faint); }
html[data-theme="dark"] .tm-search input::-webkit-search-cancel-button { filter: invert(0.6); }
.tm-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 8px 6px; }
.tm-chip { height: 22px; padding: 0 8px !important; border-radius: 4px; background: var(--tm-input) !important; color: var(--tm-mute) !important; font-size: 11.5px !important; line-height: 22px; white-space: nowrap; }
.tm-chip:hover { color: var(--tm-text) !important; }
.tm-chip.is-on { background: var(--tm-acc-bg) !important; color: var(--tm-accent) !important; font-weight: 600; }
.tm-lh, .tm-row { display: grid; grid-template-columns: 20px minmax(0, 1.2fr) minmax(0, 1fr) 62px 46px; align-items: center; gap: 4px; padding: 0 8px 0 4px; }
.tm-lh { height: 26px; border-bottom: 1px solid var(--tm-line); }
.tm-lh button { padding: 0 !important; color: var(--tm-mute) !important; font-size: 11px !important; text-align: right; white-space: nowrap; }
.tm-lh button:first-child { grid-column: 2; text-align: left; }
.tm-lh button:hover { color: var(--tm-text) !important; }
.tm-lh button.is-asc::after { content: " ↑"; }
.tm-lh button.is-desc::after { content: " ↓"; }
.tm-lh button.is-asc, .tm-lh button.is-desc { color: var(--tm-text) !important; }
.tm-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--tm-scroll) transparent; }
.tm-row { height: 38px; cursor: pointer; font-size: 12px; border-left: 2px solid transparent; transition: background 120ms; }
.tm-row:hover { background: var(--tm-hover); }
.tm-row.is-on { background: var(--tm-row-on); border-left-color: #f0b90b; }
.tm-row:focus-visible { outline: 1px solid var(--tm-accent); outline-offset: -1px; }
.tm-star { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 22px; padding: 0 !important; border-radius: 4px; }
.tm-star:hover svg { stroke: #f0b90b; }
.tm-rn { display: flex; flex-direction: column; min-width: 0; line-height: 15px; }
.tm-rn b { font-weight: 600; color: var(--tm-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-rn small { display: block; color: var(--tm-mute); font-size: 10.5px; line-height: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-rp, .tm-rc, .tm-rq { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-rp { color: var(--tm-text); font-weight: 600; }
.tm-rc { font-weight: 600; }
.tm-rq { color: var(--tm-mute); font-size: 11px; }
.tm-row.fl-up .tm-rp { animation: tm-fl-up 700ms ease-out; }
.tm-row.fl-down .tm-rp { animation: tm-fl-down 700ms ease-out; }
@keyframes tm-fl-up { from { background: rgba(34, 197, 94, 0.25); } to { background: transparent; } }
@keyframes tm-fl-down { from { background: rgba(246, 70, 93, 0.25); } to { background: transparent; } }
.tm-count { margin: 0; padding: 5px 10px; border-top: 1px solid var(--tm-line); color: var(--tm-mute); font-size: 11px; line-height: 16px; }

/* 中间：工具栏、画线栏、图表、快捷指标条 */
.tm-main { display: flex; flex-direction: column; }
.tm-bar, .tm-qbar { display: flex; align-items: center; gap: 4px; flex: none; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.tm-bar::-webkit-scrollbar, .tm-qbar::-webkit-scrollbar, .tm-qinds::-webkit-scrollbar { display: none; }
.tm-bar { height: 36px; border-bottom: 1px solid var(--tm-line); }
.tm-ivs { display: flex; align-items: center; gap: 2px; flex: none; }
.tm-sep { flex: none; width: 1px; height: 16px; margin: 0 6px; background: var(--tm-line); }
.tm-grow { flex: 1 0 8px; }
.tm-iv, .tm-btn { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 26px; padding: 0 8px !important; border-radius: 4px; color: var(--tm-mute) !important; font-size: 12.5px !important; font-weight: 600; line-height: 26px; white-space: nowrap; }
.tm-iv:hover, .tm-btn:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-iv.is-on { color: var(--tm-accent) !important; background: var(--tm-acc-bg) !important; }
.tm-btn.tm-icon { width: 28px; justify-content: center; padding: 0 !important; }
.tm-draw-tg[aria-pressed="true"] { color: var(--tm-accent) !important; background: var(--tm-acc-bg) !important; }
.tm-bar.is-c1 .tm-tip-tg > span, .tm-bar.is-c1 .tm-pat-tg > span, .tm-bar.is-c1 .tm-chip-tg > span, .tm-bar.is-c1 .tm-al-open > span, .tm-bar.is-c1 .tm-calc-open > span, .tm-bar.is-c1 .tm-lay-open > span, .tm-bar.is-c1 .tm-rk-open > span, .tm-bar.is-c2 .tm-btn > span { display: none; }
.tm-bar.is-c1 .tm-sep { margin: 0 3px; }
.tm-bar.is-c2 .tm-iv { padding: 0 6px !important; }
.tm-bar.is-c3 { gap: 2px; }
.tm-bar.is-c3 .tm-btn:not(.tm-color) { width: 28px; justify-content: center; padding: 0 !important; }
.tm-bar.is-c3 .tm-iv { padding: 0 5px !important; }
.tm-bar.is-c3 .tm-sep { margin: 0 2px; }
.tm-bar.is-c3 .tm-keys { display: none; }
.tm-bar.is-wrap { height: auto; flex-wrap: wrap; overflow: visible; row-gap: 0; padding: 2px 8px; }
.tm-iv-more { padding: 0 6px !important; }
.tm-iv-more svg { transition: transform .15s; }
.tm-iv-more.is-open { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-iv-more.is-open svg { transform: rotate(180deg); }
.tm-iv.is-tmp { font-style: normal; box-shadow: inset 0 0 0 1px var(--tm-line) !important; }
.tm-ivdd { position: fixed; z-index: 60; display: flex; flex-direction: column; border: 1px solid var(--tm-line); border-radius: 8px; background: var(--tm-bg); color: var(--tm-text); box-shadow: var(--tm-shadow); font-size: 13px; overflow: hidden; }
.tm-ivdd[hidden] { display: none; }
.tm-ivdd-add { flex: none; padding: 10px 10px 8px; border-bottom: 1px solid var(--tm-line); }
.tm-ivdd-form { display: flex; align-items: center; gap: 6px; margin: 0; }
.tm-ivdd-form > span { flex: none; color: var(--tm-mute); font-size: 12px; }
.tm .tm-ivdd-form input, .tm .tm-ivdd-form select { width: 64px; min-width: 0; height: 28px; margin: 0; padding: 0 6px; border: 1px solid var(--tm-line) !important; border-radius: 5px; background: var(--tm-input) !important; color: var(--tm-text); font-size: 13px; line-height: 26px; box-shadow: none !important; }
.tm .tm-ivdd-form select { flex: 1; width: auto; padding-right: 2px; }
.tm .tm-ivdd-form button { flex: none; height: 28px; padding: 0 12px; border-radius: 5px; background: var(--tm-accent); color: #fff; font-size: 12.5px; font-weight: 600; }
.tm-ivdd-err { margin: 6px 0 0; color: var(--tm-err); font-size: 12px; line-height: 1.4; }
.tm-ivdd-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; scrollbar-width: thin; scrollbar-color: var(--tm-scroll) transparent; }
.tm-ivdd-g h5 { margin: 0; padding: 8px 12px 4px; color: var(--tm-faint); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.tm-ivdd-g ul { margin: 0; padding: 0; list-style: none; }
.tm-ivdd-g li { display: flex; align-items: center; margin: 0; padding: 0 6px 0 0; }
.tm-ivdd-g li:hover { background: var(--tm-hover); }
.tm .tm-ivdd-i { flex: 1; min-width: 0; height: 32px; padding: 0 12px; text-align: left; font-size: 13px; }
.tm-ivdd-g li.is-on .tm-ivdd-i { color: var(--tm-accent); font-weight: 600; }
.tm .tm-ivdd-pin, .tm .tm-ivdd-del { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 4px; color: var(--tm-star); }
.tm-ivdd-pin svg { fill: none; stroke: currentColor; stroke-width: 1.2; }
.tm .tm-ivdd-pin.is-on { color: #f0b90b; }
.tm-ivdd-pin.is-on svg { fill: currentColor; }
.tm .tm-ivdd-pin:hover, .tm .tm-ivdd-del:hover { background: var(--tm-on); color: var(--tm-text); }
.tm .tm-ivdd-pin.is-on:hover { color: #f0b90b; }
.tm .tm-ivdd-del:hover { color: var(--tm-err); }
.tm-ivdd-note { flex: none; margin: 0; padding: 8px 12px 10px; border-top: 1px solid var(--tm-line); color: var(--tm-faint); font-size: 11.5px; line-height: 1.5; }
.tm-color[aria-pressed="true"] { color: #e33e55 !important; }

.tm-work { position: relative; display: flex; flex: 1; min-height: 0; }
.tm-draw { display: none; flex: none; flex-direction: column; align-items: center; gap: 2px; width: 40px; padding: 6px 0; border-right: 1px solid var(--tm-line); overflow-y: auto; scrollbar-width: none; }
.tm-draw::-webkit-scrollbar { display: none; }
.tm.is-draw .tm-draw { display: flex; }
.tm-dt { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 5px; color: var(--tm-mute) !important; }
.tm-dt:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-dt.is-on { color: var(--tm-accent) !important; background: var(--tm-acc-bg) !important; }
.tm-dt[data-t="clear"]:hover { color: var(--tm-err) !important; }
.tm-dsep { flex: none; width: 20px; height: 1px; margin: 4px 0; background: var(--tm-line); }
.tm-chart { position: relative; flex: 1; min-width: 0; min-height: 0; }
.tm-loading { position: absolute; left: 50%; top: 42%; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; transform: translate(-50%, -50%); border: 1px solid var(--tm-line); border-radius: 6px; background: var(--tm-bg); color: var(--tm-mute); font-size: 12px; pointer-events: none; }
.tm-loading i { width: 12px; height: 12px; border: 2px solid var(--tm-line); border-top-color: var(--tm-accent); border-radius: 50%; animation: tm-spin 0.8s linear infinite; }
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-ns { margin: 0; padding: 60px 18px; color: var(--tm-mute); text-align: center; }

.tm-qbar { height: 30px; border-top: 1px solid var(--tm-line); gap: 8px; }
.tm-qinds { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tm-qi { flex: none; height: 22px; padding: 0 7px !important; border-radius: 4px; color: var(--tm-mute) !important; font-size: 12px !important; line-height: 22px; white-space: nowrap; }
.tm-qi:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-qi.is-on { color: var(--tm-accent) !important; font-weight: 600; }
.tm-qmore { color: var(--tm-text) !important; }
.tm-qr { display: flex; align-items: center; gap: 2px; flex: none; }
.tm-tz { padding: 0 6px; color: var(--tm-faint); font-size: 11.5px; }
.tm-ax, .tm-auto { height: 22px; padding: 0 7px !important; border-radius: 4px; color: var(--tm-mute) !important; font-size: 12px !important; line-height: 22px; }
.tm-ax:hover, .tm-auto:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-ax[aria-pressed="true"] { color: var(--tm-accent) !important; background: var(--tm-acc-bg) !important; }

/* 右栏：盘口、深度、主动买卖、最新成交 */
.tm-side { display: flex; flex-direction: column; font-size: 11.5px; }
.tm-stabs { display: flex; gap: 2px; flex: none; height: 36px; padding: 0 8px; border-bottom: 1px solid var(--tm-line); }
.tm-stabs button { position: relative; padding: 0 10px !important; color: var(--tm-mute) !important; font-size: 13px !important; font-weight: 600; }
.tm-stabs button:hover, .tm-stabs button.is-on { color: var(--tm-text) !important; }
.tm-stabs button.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: #f0b90b; }
.tm-pane { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tm-ratio { display: flex; align-items: center; gap: 6px; flex: none; height: 30px; padding: 0 10px; font-size: 11px; white-space: nowrap; }
.tm-rb { color: var(--tm-up); font-weight: 600; }
.tm-rs { color: var(--tm-down); font-weight: 600; }
.tm-rbar, .tm-fbar { position: relative; flex: 1; height: 5px; border-radius: 3px; background: var(--tm-down); overflow: hidden; }
.tm-rbar i, .tm-fbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--tm-up); border-right: 2px solid var(--tm-bg); transform: translateX(-50%); transition: transform 300ms; }
.tm-depth { position: relative; flex: none; height: 104px; border-bottom: 1px solid var(--tm-line); }
.tm-depth canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.tm-depth span { position: absolute; bottom: 2px; color: var(--tm-faint); font-size: 10px; line-height: 12px; pointer-events: none; }
.tm-depth-l { left: 6px; }
.tm-depth-m { left: 50%; transform: translateX(-50%); }
.tm-depth-r { right: 6px; }
.tm-bk-h, .tm-bk-r, .tm-tr-h, .tm-tr-r { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 4px; padding: 0 10px; }
.tm-tr-h, .tm-tr-r { grid-template-columns: 58px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr); }
.tm-bk-h, .tm-tr-h { flex: none; height: 24px; color: var(--tm-faint); font-size: 10.5px; }
.tm-bk-h span, .tm-bk-r span, .tm-tr-h span, .tm-tr-r span { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-bk-h span:first-child, .tm-bk-r .tm-bk-p, .tm-tr-h span:first-child, .tm-tr-r span:first-child { text-align: left; }
.tm-asks, .tm-bids { flex: none; }
.tm-bk-r { position: relative; height: 19px; line-height: 19px; color: var(--tm-text); }
.tm-bk-r i { position: absolute; left: 0; right: 0; top: 1px; bottom: 1px; opacity: 0.12; pointer-events: none; transform: scaleX(0); transform-origin: right center; }
.tm-bk-r.is-ask i { background: var(--tm-down); }
.tm-bk-r.is-bid i { background: var(--tm-up); }
.tm-bk-r.is-ask .tm-bk-p { color: var(--tm-down); }
.tm-bk-r.is-bid .tm-bk-p { color: var(--tm-up); }
.tm-bk-r:hover { background: var(--tm-hover); }
.tm-mid { display: flex; align-items: center; gap: 8px; flex: none; height: 34px; padding: 0 10px; border-top: 1px solid var(--tm-line); border-bottom: 1px solid var(--tm-line); }
.tm-mid b { font-size: 16px; font-weight: 700; color: var(--tm-text); }
.tm-mid span { color: var(--tm-faint); font-size: 10.5px; }
.tm-flow { flex: none; margin-top: auto; padding: 8px 10px; border-top: 1px solid var(--tm-line); line-height: 18px; }
.tm-flow-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.tm-flow-h b { font-size: 12px; font-weight: 600; }
.tm-flow-h span { color: var(--tm-faint); font-size: 10.5px; }
.tm-fbar { flex: none; height: 6px; }
.tm-flow-r { display: flex; justify-content: space-between; margin: 4px 0 2px; font-weight: 600; }
.tm-fb { color: var(--tm-up); }
.tm-fs { color: var(--tm-down); }
.tm-flow-g { display: flex; justify-content: space-between; gap: 6px; color: var(--tm-mute); font-size: 10.5px; white-space: nowrap; }
.tm-flow-g b { color: var(--tm-text); font-weight: 600; }
.tm-flow-g b.is-up { color: var(--tm-up); }
.tm-flow-g b.is-down { color: var(--tm-down); }
.tm-tr-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--tm-scroll) transparent; }
.tm-tr-r { height: 19px; line-height: 19px; color: var(--tm-text); }
.tm-tr-r span:first-child { color: var(--tm-mute); }
.tm-empty { margin: 0; padding: 30px 12px; color: var(--tm-faint); text-align: center; }
.tm-side.is-stock .tm-book > :not(.tm-snote), .tm-side.is-stock .tm-trades > :not(.tm-snote) { display: none !important; }
.tm-snote { margin: 0; padding: 14px 12px; color: var(--tm-mute); font-size: 12px; line-height: 19px; }
.tm-snote > b { display: block; margin-bottom: 4px; color: var(--tm-text); font-size: 12.5px; }
.tm-sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 12px 0 0; }
.tm-sgrid dt { color: var(--tm-faint); font-size: 11px; font-weight: 400; }
.tm-sgrid dd { margin: 0; color: var(--tm-text); font-size: 13px; font-weight: 600; }
.tm-sgrid dd.is-up { color: var(--tm-up); }
.tm-sgrid dd.is-down { color: var(--tm-down); }

/* 技术提示卡片（主图左下角） */
.tm-tips { position: absolute; left: 8px; top: 0; z-index: 4; width: max-content; min-width: 250px; max-width: min(460px, calc(100% - 90px)); border: 1px solid var(--tm-line); border-radius: 6px; background: var(--tm-bg); box-shadow: 0 2px 10px rgba(16, 24, 40, 0.08); font-size: 12px; line-height: 18px; color: var(--tm-text); }
html[data-theme="dark"] .tm-tips { background: rgba(12, 20, 36, 0.96); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.tm-tips-h { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 0 10px; }
.tm-tips-h b { font-size: 12.5px; font-weight: 700; }
.tm-tips-sum { color: var(--tm-mute); font-size: 11.5px; font-weight: 600; }
.tm-tips-set, .tm-tips-fold { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; color: var(--tm-mute) !important; }
.tm-tips-set { margin-left: auto !important; }
.tm-tips-set:hover, .tm-tips-set[aria-pressed="true"] { color: var(--tm-accent) !important; background: var(--tm-hover) !important; }
.tm-tips-fold::before { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.tm-tips.is-fold .tm-tips-fold::before { margin-top: 3px; transform: rotate(-135deg); }
.tm-tips-fold:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-tips.is-fold .tm-tips-f, .tm-tips.is-fold .tm-tips-b, .tm-tips.is-fold .tm-tips-set { display: none !important; }
.tm-tips.is-fold .tm-tips-fold { margin-left: auto !important; }
.tm-tips-f { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px 6px; }
.tm-tips-f button { height: 20px; padding: 0 7px !important; border: 1px solid var(--tm-line) !important; border-radius: 10px; color: var(--tm-faint) !important; font-size: 11px !important; line-height: 18px; }
.tm-tips-f button.is-on { border-color: transparent !important; background: var(--tm-acc-bg) !important; color: var(--tm-accent) !important; }
.tm-tips-b { margin: 0; padding: 0 0 2px; list-style: none; border-top: 1px solid var(--tm-line); }
.tm-tips-b li { margin: 0; padding: 0; }
.tm-tips-b button { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 3px 10px !important; text-align: left; }
.tm-tips-b button:hover { background: var(--tm-hover) !important; }
.tm-tips-b button.is-cur { background: var(--tm-acc-bg) !important; }
.tm-tips-tf { flex: none; width: 26px; color: var(--tm-mute); font-weight: 600; }
.tm-tips-b button.is-cur .tm-tips-tf { color: var(--tm-accent); }
.tm-tips-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; white-space: nowrap; }
.tm-tips-t b { font-weight: 700; }
.tm-tips-t em { color: var(--tm-mute); font-style: normal; font-size: 11px; }
.tm-tips-t i { font-style: normal; font-size: 11px; font-weight: 600; }
.tm-tips-t i.tm-tips-res { color: #c27c0e; }
html[data-theme="dark"] .tm-tips-t i.tm-tips-res { color: #f5b942; }
.tm-tips-rsi { color: var(--tm-faint); font-size: 11px; }
.tm-tips-t .tm-faint, .tm .tm-faint { color: var(--tm-faint); }
.tm-prm-sw { justify-content: flex-end; flex-direction: row-reverse; gap: 10px; cursor: pointer; }
.tm-prm-sw span { flex: 1; text-align: left; }
.tm-prm.tm-prm-sw input { flex: none; width: 16px !important; height: 16px !important; min-height: 0; margin: 0; padding: 0; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--tm-accent); }
.tm-tip-tg[aria-pressed="true"], .tm-pat-tg[aria-pressed="true"], .tm-chip-tg[aria-pressed="true"] { color: var(--tm-accent) !important; background: var(--tm-acc-bg) !important; }
@media (max-width: 767px) {
	.tm-tips { width: auto; min-width: 0; right: 64px; max-width: none; font-size: 11.5px; }
	.tm-tips-t { white-space: normal; }
	/* 手机浏览器地址栏会吃掉 vh，弹窗贴底且用 dvh，底栏按钮不会被挡 */
	.tm-modal { padding: 8px; align-items: flex-end; }
	.tm-dlg { max-height: 92vh; max-height: 92dvh; }
}

/* 弹窗与提示 */
.tm-modal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--tm-mask); }
.tm-dlg { display: flex; flex-direction: column; width: 720px; max-width: 100%; max-height: min(640px, 90vh); max-height: min(640px, 90dvh); border: 1px solid var(--tm-line); border-radius: 10px; background: var(--tm-bg); color: var(--tm-text); box-shadow: var(--tm-shadow); overflow: hidden; }
.tm-dlg.tm-pdlg { width: 340px; }
.tm-dlg-h { display: flex; align-items: center; gap: 12px; flex: none; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--tm-line); }
.tm-dlg-h b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.tm-dlg-h .tm-search { flex: 1; margin: 0; max-width: 300px; }
.tm-x { margin-left: auto !important; width: 28px; height: 28px; border-radius: 5px; color: var(--tm-mute) !important; font-size: 20px !important; line-height: 28px; }
.tm-x:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-dlg-b { flex: 1; min-height: 0; padding: 4px 16px 12px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--tm-scroll) transparent; }
.tm-dlg-b h4 { margin: 12px 0 6px; color: var(--tm-mute); font-size: 12px; font-weight: 600; }
.tm-dlg-b h4 small { margin-left: 6px; font-size: 11px; font-weight: 400; opacity: .8; }
.tm-dlg-b ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.tm-dlg-b li { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.tm-li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 38px; padding: 0 8px !important; border-radius: 6px; text-align: left; }
.tm-li:hover { background: var(--tm-hover) !important; }
.tm-li-n { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 16px; }
.tm-li-n b { font-size: 12.5px; font-weight: 600; }
.tm-li-n small { color: var(--tm-mute); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-sw { position: relative; flex: none; width: 28px; height: 16px; border-radius: 8px; background: var(--tm-scroll); transition: background 150ms; }
.tm-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 150ms; }
.tm-li.is-on .tm-sw { background: var(--tm-accent); }
.tm-li.is-on .tm-sw::after { transform: translateX(12px); }
.tm-li-set { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 5px; color: var(--tm-faint) !important; }
button.tm-li-set:hover { color: var(--tm-text) !important; background: var(--tm-hover) !important; }
.tm-li-none { grid-column: 1 / -1; padding: 10px 8px; color: var(--tm-faint); font-size: 12px; }
.tm-dlg-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; padding: 10px 16px; border-top: 1px solid var(--tm-line); color: var(--tm-mute); font-size: 11.5px; }
.tm-lib-reset { height: 28px; padding: 0 12px !important; border: 1px solid var(--tm-line) !important; border-radius: 5px; color: var(--tm-text) !important; font-size: 12px !important; white-space: nowrap; }
.tm-lib-reset:hover { background: var(--tm-hover) !important; }
.tm-pform { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.tm-prm { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 12.5px; color: var(--tm-text); }
.tm-prm input { width: 110px; height: 30px; margin: 0; padding: 0 8px; border: 1px solid var(--tm-line); border-radius: 5px; background: var(--tm-input); color: var(--tm-text); font-size: 13px; text-align: right; box-shadow: none; }
.tm-prm input:focus { border-color: var(--tm-accent); outline: 0; }
.tm-prm-d { margin: 0; color: var(--tm-mute); font-size: 11.5px; line-height: 18px; }
.tm-pbtns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.tm-pdef, .tm-pok { height: 30px; padding: 0 14px !important; border-radius: 5px; font-size: 12.5px !important; }
.tm-pdef { border: 1px solid var(--tm-line) !important; color: var(--tm-text) !important; }
.tm-pdef:hover { background: var(--tm-hover) !important; }
.tm-pok { background: var(--tm-accent) !important; color: #fff !important; font-weight: 600; }
.tm-pok:hover { filter: brightness(1.08); }
.tm-toast { position: absolute; left: 50%; top: 96px; z-index: 100002; max-width: 80%; padding: 8px 14px; transform: translateX(-50%); border-radius: 6px; background: rgba(30, 35, 41, 0.92); color: #fff; font-size: 12.5px; line-height: 18px; pointer-events: none; }

/* 页脚 */
.tm-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin: 8px 2px 0; font-size: 11.5px; line-height: 18px; }
.tm-src { margin: 0; flex: 1 1 520px; color: var(--tm-faint); }
.tm-src a { color: var(--tm-mute); }
.tm-rel { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; padding: 0; list-style: none; }
.tm-rel li { margin: 0; padding: 0; }
.tm-rel a { color: var(--tm-mute); text-decoration: none; white-space: nowrap; }
.tm-rel a:hover { color: var(--tm-accent); }

@media (max-width: 1439px) {
	.tm-box { grid-template-columns: 264px minmax(0, 1fr) 280px; }
	.tm-lh, .tm-row { grid-template-columns: 20px minmax(0, 1.2fr) minmax(0, 1fr) 62px; }
	.tm-rq, .tm-lh button:last-child { display: none; }
	.tm-stats { gap: 4px 16px; }
}
/* 中屏：左栏用标签在行情列表和盘口、成交之间切换 */
@media (max-width: 1279px) {
	.tm-box { grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "head head" "mt main" "list main"; }
	.tm-side { grid-area: list; }
	.tm-mtabs { grid-area: mt; display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--tm-line); }
	.tm-mtabs button { position: relative; padding: 4px 10px 8px !important; color: var(--tm-mute) !important; font-size: 13px !important; font-weight: 600; }
	.tm-mtabs button:hover, .tm-mtabs button.is-on { color: var(--tm-text) !important; }
	.tm-mtabs button.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: #f0b90b; }
	.tm-side, .tm-stabs { display: none; }
	.tm[data-mt="book"] .tm-side, .tm[data-mt="trades"] .tm-side { display: flex; }
	.tm[data-mt="book"] .tm-lcol, .tm[data-mt="trades"] .tm-lcol { display: none; }
	.tm-lcol .tm-tabs { padding-top: 4px; }
	.tm-lh, .tm-row { grid-template-columns: 20px minmax(0, 1.2fr) minmax(0, 1fr) 62px 46px; }
	.tm-rq, .tm-lh button:last-child { display: block; }
}
@media (max-width: 1023px) {
	.mk-page-term .container.mk-shell { padding-left: 6px; padding-right: 6px; }
	.tm-box { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; }
	.tm-head { order: 0; gap: 6px 16px; padding: 10px 12px; }
	.tm-main { order: 1; height: 80vh; min-height: 500px; max-height: 820px; }
	.tm-bar { height: auto; flex-wrap: wrap; overflow: visible; row-gap: 0; padding: 2px 6px; }
	.tm-mtabs { order: 2; }
	.tm-lcol, .tm-side { order: 3; }
	.tm-lcol { height: 70vh; min-height: 420px; max-height: 760px; }
	.tm-trades .tm-tr-list { flex: none; height: 60vh; min-height: 360px; }
	.tm-flow { margin-top: 0; }
	.tm-px { width: 100%; order: 2; }
	.tm-stats { order: 3; width: 100%; }
	.tm-head-r { order: 1; }
	.tm-price { font-size: 22px; }
	.tm.is-max .tm-main { flex: 1; height: auto; max-height: none; }
	.tm-box:fullscreen .tm-main { flex: 1; height: auto; max-height: none; }
	.tm-work { flex-direction: column; }
	.tm-draw { flex-direction: row; width: auto; height: 38px; padding: 0 6px; border-right: 0; border-bottom: 1px solid var(--tm-line); overflow-x: auto; overflow-y: hidden; }
	.tm-dsep { width: 1px; height: 20px; margin: 0 4px; }
	.tm-dlg-b ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.tm-main { height: 86vh; min-height: 460px; max-height: none; }
	.tm-ivs { width: 100%; justify-content: space-between; }
	.tm-ivs + .tm-sep { display: none; }
	.tm-iv { flex: 1 0 auto; justify-content: center; }
	.tm-iv.tm-iv-more { flex: 0 0 auto; min-width: 32px; }
	.tm-btn span { font-size: 12px; }
	.tm-tz { display: none; }
	.tm-dlg-h { flex-wrap: wrap; }
	.tm-dlg-h .tm-search { order: 3; flex-basis: 100%; max-width: none; }
	.tm-dlg-f { flex-wrap: wrap; }
}
/* 横屏手机高度只有三四百像素，按 vh 算图太矮 */
@media (max-width: 1023px) and (max-height: 520px) {
	.tm-main { height: 600px; }
}
@media (max-width: 420px) {
	.tm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
	.tm-stats dd { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
	.tm-iv { padding: 0 6px !important; }
	.tm-lh, .tm-row { grid-template-columns: 20px minmax(0, 1.1fr) minmax(0, 1fr) 62px; }
	.tm-rq, .tm-lh button:last-child { display: none; }
}

/* 资料区：简介、关键数据、相关新闻 */
.tm-info { margin-top: 10px; padding: 12px 14px 14px; border: 1px solid var(--tm-line); border-radius: 8px; background: var(--tm-bg); }
.tm-info h2.tm-i-title { margin: 0 0 10px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--tm-text); }
.tm-i-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tm-i-hd b { font-size: 15px; font-weight: 700; }
.tm-i-hd em { padding: 0 6px; border: 1px solid var(--tm-line); border-radius: 4px; color: var(--tm-mute); font-size: 11px; font-style: normal; line-height: 17px; }
.tm-i-desc { max-height: 10.4em; overflow: hidden; font-size: 13px; line-height: 1.75; color: var(--tm-text); }
.tm-i-desc.is-open { max-height: none; }
.tm-i-desc p { margin: 0 0 6px; }
.tm-info .tm-i-more { margin-top: 2px; color: var(--tm-accent); font-size: 12px; }
.tm-i-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tm-i-links a, .tm-info .tm-i-under { display: inline-block; padding: 2px 10px; border: 1px solid var(--tm-line); border-radius: 12px; color: var(--tm-text); font-size: 12px; line-height: 20px; text-decoration: none; }
.tm-i-links a:hover, .tm-info .tm-i-under:hover { border-color: var(--tm-accent); color: var(--tm-accent); }
.tm-info .tm-i-under { border-color: var(--tm-accent); color: var(--tm-accent); background: var(--tm-acc-bg); }
.tm-i-stats dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 16px; margin: 0; }
.tm-i-stats dl div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--tm-line); font-size: 12.5px; line-height: 18px; min-width: 0; }
.tm-i-stats dt { color: var(--tm-mute); font-weight: 400; white-space: nowrap; }
.tm-i-stats dd { margin: 0; font-weight: 600; text-align: right; }
.tm-i-news ul { margin: 0; padding: 0; list-style: none; }
.tm-i-news li { padding: 7px 0; border-bottom: 1px dashed var(--tm-line); }
.tm-i-news li:first-child { padding-top: 0; }
.tm-i-news li a { display: block; color: var(--tm-text); font-size: 13px; line-height: 1.55; font-weight: 600; text-decoration: none; }
.tm-i-news li a:hover { color: var(--tm-accent); }
.tm-i-news li p { margin: 3px 0 0; color: var(--tm-mute); font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-i-news li span { display: block; margin-top: 3px; color: var(--tm-faint); font-size: 11.5px; }
.tm-i-news .tm-i-sub { margin: 10px 0 4px; color: var(--tm-mute); font-size: 12px; font-weight: 600; }
.tm-i-empty { margin: 0 0 8px; color: var(--tm-mute); font-size: 12.5px; line-height: 1.6; }
.tm-i-src { margin: 8px 0 0; color: var(--tm-faint); font-size: 11.5px; }
/* 右栏资料：简介、数据（筹码分布）、要点 */
.tm-stabs button { padding: 0 9px !important; }
.tm-ip { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px 14px; color: var(--tm-text); font-size: 12px; line-height: 1.6; scrollbar-width: thin; scrollbar-color: var(--tm-scroll) transparent; }
.tm-ip h4 { margin: 14px 0 4px; color: var(--tm-mute); font-size: 12.5px; font-weight: 600; line-height: 18px; }
.tm-ip h4.tm-ip-h1 { margin-top: 0; color: var(--tm-text); font-size: 13px; }
.tm-ip-hd { display: flex; align-items: baseline; gap: 8px; }
.tm-ip-hd b { font-size: 17px; font-weight: 700; line-height: 24px; }
.tm-ip-hd span { color: var(--tm-mute); font-size: 13px; }
.tm-ip-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 8px; }
.tm-ip-tags em { padding: 0 6px; border-radius: 3px; background: var(--tm-acc-bg); color: var(--tm-accent); font-size: 11px; font-style: normal; line-height: 18px; }
.tm-ip .tm-i-desc { max-height: 12em; overflow: hidden; font-size: 12.5px; line-height: 1.7; }
.tm-ip .tm-i-desc.is-open { max-height: none; }
.tm-ip .tm-i-desc p { margin: 0 0 6px; }
.tm-ip .tm-i-more { padding: 0 !important; color: var(--tm-accent) !important; font-size: 12px !important; }
.tm-ip .tm-i-links { margin-top: 4px; }
.tm-ip .tm-i-under { display: inline-block; padding: 2px 10px; border: 1px solid var(--tm-accent); border-radius: 12px; background: var(--tm-acc-bg); color: var(--tm-accent) !important; font-size: 12px !important; line-height: 20px; }
.tm-ip-dl { margin: 0; }
.tm-ip-dl div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--tm-line); line-height: 18px; }
.tm-ip-dl dt { color: var(--tm-mute); font-weight: 400; white-space: nowrap; }
.tm-ip-dl dd { min-width: 0; margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tm-ip-dl dd.is-up, .tm-key .is-up { color: var(--tm-up); }
.tm-ip-dl dd.is-down, .tm-key .is-down { color: var(--tm-down); }
.tm-ip-pos { position: relative; height: 4px; margin: 10px 5px 4px; border-radius: 2px; background: var(--tm-line); }
.tm-ip-pos i { position: absolute; top: -4px; width: 12px; height: 12px; margin-left: -6px; border: 2px solid var(--tm-bg); border-radius: 50%; background: var(--tm-accent); }
.tm-ip .tm-i-src, .tm-ip .tm-i-note { margin: 10px 0 0; color: var(--tm-faint); font-size: 11px; line-height: 1.6; }
.tm-dist { position: relative; height: 260px; margin: 6px 0; }
.tm-dist canvas { display: block; width: 100%; height: 100%; }
.tm-dist-lg { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 6px; color: var(--tm-mute); font-size: 11px; }
.tm-dist-lg i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 2px; }
.tm-key { margin: 0; padding: 0; list-style: none; }
.tm-key li { display: flex; gap: 8px; margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--tm-line); line-height: 1.65; }
.tm-key li b { flex: none; width: 30px; color: var(--tm-mute); font-weight: 600; }
.tm-key li span { font-weight: 600; }
.tm-tipbox { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: var(--tm-acc-bg); line-height: 1.7; }
.tm-tipbox b { display: block; color: var(--tm-accent); }
.tm-info .tm-i-news > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.tm-info .tm-i-news li:first-child { padding-top: 7px; }
@media (max-width: 1279px) {
	.tm[data-mt="prof"] .tm-side, .tm[data-mt="data"] .tm-side, .tm[data-mt="key"] .tm-side { display: flex; }
	.tm[data-mt="prof"] .tm-lcol, .tm[data-mt="data"] .tm-lcol, .tm[data-mt="key"] .tm-lcol { display: none; }
	.tm-mtabs button { flex: none; padding: 4px 8px 8px !important; white-space: nowrap; }
}
@media (max-width: 1023px) {
	.tm-ip { overflow: visible; padding: 12px; font-size: 13px; }
}
@media (max-width: 767px) {
	.tm-info .tm-i-news > ul { grid-template-columns: minmax(0, 1fr); }
	.tm-mtabs { overflow-x: auto; scrollbar-width: none; }
	.tm-mtabs button { flex: none; padding: 4px 8px 8px !important; }
}@media (max-width: 767px) { .tm-info { padding: 12px 10px; } }
