/*
 * V2 组件样式。对应 js/v2/ui.js。类名一律 v2- 前缀。
 * 所有规则都在层外，天然覆盖 v1 层（见 v1-layer.css）。
 */

/* ── 基础 ─────────────────────────────────────────────────────────── */

html.v2 { background: var(--bg-page); -webkit-text-size-adjust: 100%; }
html.v2 body {
  background: var(--bg-page);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
  margin: 0;
}

/* 重置放进最低的层：替代浏览器默认样式，既不压过 V2 组件，也不压过 V1 弹窗 */
@layer v2-reset {
  .v2 h1, .v2 h2, .v2 h3, .v2 p, .v2 dl, .v2 dd, .v2 ul { margin: 0; padding: 0; }
  .v2 a { color: inherit; text-decoration: none; }
  .v2 button { font: inherit; color: inherit; }
}
.v2 :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 程序聚焦的容器（如弹窗正文）不画焦点环 */
.v2 [tabindex="-1"]:focus-visible { outline: 0; }

/* 工具行：页面内筛选、分段切换的一排控件 */
.v2-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.v2-toolbar__spacer { flex: 1 1 auto; }

.v2-icon { flex: none; display: block; }
.v2-num { font-variant-numeric: tabular-nums; }
.v2-mono { font-family: var(--mono); }
.v2-up { color: var(--up); }
.v2-dn { color: var(--dn); }
.v2-warn { color: var(--warn); }
.v2-muted { color: var(--text-3); }

/* ── 字阶：全站一套，取值说明见 tokens.css。页面不再写死字号和字重 ── */

/* 一页的主数字 */
.v2-hero-num { font-size: var(--t-hero); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; overflow-wrap: anywhere; }
/* 主数字、统计数字上方的标签 */
.v2-hero-label { font-size: var(--t-sm); font-weight: 500; color: var(--text-2); line-height: 1.4; }
/* 结论句与它的第二层 */
.v2-lead { font-size: var(--t-lead); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; text-wrap: pretty; }
.v2-lead-sub { font-size: var(--t-lg); font-weight: 400; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
/* 次级数字：statsRow、合计行 */
.v2-num-2 { font-size: var(--t-section); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
/* 脚注与图注 */
.v2-note { font-size: var(--t-xs); line-height: 1.5; color: var(--text-3); text-wrap: pretty; max-width: 60em; }

/* ── 区块与卡片 ───────────────────────────────────────────────────── */

.v2-section + .v2-section { margin-top: var(--gap-section); }
.v2-section-head {
  /* 标题和右边的切换放不下一行时，切换落到标题下面，标题不折成窄条 */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  min-height: var(--ctl-compact);
  margin-bottom: var(--gap-title);
}
.v2-section-title {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--t-section); font-weight: 600; line-height: var(--lh-tight);
  letter-spacing: -0.01em; text-wrap: balance;
}
.v2-section-tools { display: flex; align-items: center; gap: 8px; flex: none; max-width: 100%; min-width: 0; }

.v2-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: var(--card-pad);
  min-width: 0;
}
.v2-card--flush { padding: 0; overflow: hidden; }
.v2-card__label { display: flex; align-items: center; gap: 4px; font-size: var(--t-md); font-weight: 500; line-height: 1.4; color: var(--text-2); margin-bottom: 8px; }
/* 页签：去另一个视图。文字 + 下划线，读起来是导航；选中是「能点的东西的当前状态」，蓝字蓝线 */
.v2-subnav { margin-bottom: var(--gap-block); border-bottom: 0.5px solid var(--line-strong); }
.v2-tabs { display: flex; gap: 12px; margin-left: -4px; overflow-x: auto; scrollbar-width: none; }
.v2-tabs::-webkit-scrollbar { display: none; }
.v2-tabs__item {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: max(36px, var(--hit)); min-width: var(--hit); padding: 0 4px; border: 0; background: none;
  font-size: var(--t-md); font-weight: 500; line-height: 1; color: var(--text-2); white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: color var(--motion) var(--ease);
}
.v2-tabs__item:hover { color: var(--accent); }
.v2-tabs__item.is-on { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.v2-tabs__item:focus-visible { outline-offset: -2px; }
/* 一句话 + 一个入口：放得下时按钮在行尾，否则落到段落下方 */
.v2-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.v2-entry__text { flex: 1 1 18em; min-width: 0; }
.v2-entry__line { font-size: var(--t-md); line-height: 1.6; text-wrap: pretty; }
.v2-entry__line strong { font-weight: 600; }
.v2-entry__more { font-weight: 400; color: var(--text-3); }
.v2-entry .v2-note { margin-top: 2px; }
.v2-entry > .v2-btn { flex: none; }

/* ── 分段切换：灰轨道 32，白滑块 24 ───────────────────────────────── */

.v2-seg {
  display: inline-flex; align-items: center; gap: 2px;
  height: 32px; padding: 4px;
  background: var(--fill-2); border-radius: 999px;
  max-width: 100%;
}
.v2-seg__item {
  position: relative;
  flex: none; height: 24px; padding: 0 12px;
  border: 0; background: transparent; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 500; line-height: 24px; color: var(--text-2);
  white-space: nowrap; cursor: pointer;
  transition: color var(--motion) var(--ease), background var(--motion) var(--ease);
}
.v2-seg__item::after { content: ""; position: absolute; inset: -4px -1px; }
.v2-seg__item:hover { color: var(--text-1); }
.v2-seg__item.is-on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-thumb); }
.v2-seg--fill { display: flex; }
.v2-seg--fill .v2-seg__item { flex: 1 1 0; padding: 0 6px; }
.v2-seg--scroll { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.v2-seg--scroll::-webkit-scrollbar { display: none; }
/* 手机上四个选项差一点放不下：宁可收紧间距，也不要最后一项被裁掉一截 */
@media (max-width: 480px) { .v2-seg--scroll .v2-seg__item { padding: 0 9px; } }
@media (pointer: coarse) {
  .v2-seg__item::after { inset: -10px -1px; }
}

/* ── 单选：表单里的答案和设置。一排胶囊，放不下就换行；选中是蓝字蓝边 ── */

.v2-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-choice__item {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--ctl-form); padding: 6px 16px;
  border-radius: 999px; background: var(--fill-1); box-shadow: inset 0 0 0 1px transparent;
  font-size: var(--t-md); font-weight: 500; line-height: 1.3; color: var(--text-1); text-align: center; cursor: pointer;
  transition: background var(--motion) var(--ease), box-shadow var(--motion) var(--ease), color var(--motion) var(--ease);
}
.v2-choice__item:hover { background: var(--fill-2); }
/* 跟着 input 的真实状态走：方向键切换时，重绘之前选中样子也要对 */
.v2-choice__item:has(.v2-choice__input:checked) { background: var(--accent-lt); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.v2-choice__item:has(.v2-choice__input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 整个胶囊都能点：input 铺满 */
.v2-choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

/* ── 按钮：主按钮实心蓝 / 次要淡蓝底蓝字 / 文字按钮，危险操作红字。蓝 = 可以点，一行只有一个主按钮 ── */

.v2-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--ctl-btn); padding: 0 16px;
  border: 0; border-radius: 999px;
  font-size: var(--t-md); font-weight: 500; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background var(--motion) var(--ease), opacity var(--motion) var(--ease);
}
.v2-btn::after { content: ""; position: absolute; inset: calc((var(--ctl-btn) - max(var(--hit), var(--ctl-btn))) / 2) 0; }
.v2-btn--sm { height: var(--ctl-compact); padding: 0 12px; font-size: var(--t-sm); }
.v2-btn--sm::after { inset: calc((var(--ctl-compact) - max(var(--hit), var(--ctl-compact))) / 2) 0; }
.v2-btn--primary { background: var(--accent); color: #fff; }
.v2-btn--primary:hover { background: var(--accent-deep); }
.v2-btn--secondary { background: var(--accent-lt); color: var(--accent); }
.v2-btn--secondary:hover { background: var(--accent-lt-2); }
.v2-btn--text { background: transparent; color: var(--accent); padding: 0 8px; }
.v2-btn--text:hover { background: var(--accent-lt); }
.v2-btn--danger { background: transparent; color: var(--danger); padding: 0 8px; }
.v2-btn--danger:hover { background: var(--danger-bg); }
.v2-btn--danger-solid { background: var(--danger); color: #fff; }
.v2-btn--danger-solid:hover { opacity: 0.9; }
.v2-btn[aria-expanded="true"] { background: var(--accent-lt-2); color: var(--accent); }
.v2-btn:active { opacity: 0.72; }
.v2-btn[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }

.v2-iconbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex: none;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-2);
  cursor: pointer;
  transition: background var(--motion) var(--ease), color var(--motion) var(--ease);
}
.v2-iconbtn::after { content: ""; position: absolute; inset: calc((32px - max(var(--hit), 32px)) / 2); border-radius: 50%; }
.v2-iconbtn:hover { background: var(--fill-1); color: var(--text-1); }
.v2-iconbtn:active { background: var(--fill-2); }
.v2-iconbtn[aria-expanded="true"] { background: var(--fill-2); color: var(--text-1); }

.v2-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px;
  border: 0; padding: 0; background: none;
  font-size: var(--t-sm); font-weight: 500; color: var(--accent); cursor: pointer;
}
.v2-link::after { content: ""; position: absolute; inset: calc((1.6em - max(var(--hit), 1.6em)) / 2) 0; }
.v2-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.v2-help {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; flex: none;
  border: 0; border-radius: 50%; background: var(--fill-2); color: var(--text-3);
  font-size: 11px; font-weight: 600; line-height: 1; cursor: pointer; vertical-align: 1px;
}
.v2-help::after { content: ""; position: absolute; inset: calc((16px - max(var(--hit), 24px)) / 2); border-radius: 50%; }
.v2-help:hover { background: var(--fill-3); color: var(--text-1); }

/* 折叠：一行摘要，左边的箭头转 90° */
.v2-disclosure {
  position: relative; display: flex; align-items: center; gap: 8px;
  min-height: 32px; width: fit-content; max-width: 100%;
  font-size: var(--t-sm); font-weight: 500; line-height: 1.4; color: var(--accent);
  cursor: pointer; list-style: none;
}
.v2-disclosure::-webkit-details-marker { display: none; }
.v2-disclosure::before {
  content: ""; flex: none; width: 6px; height: 6px; margin: 0 2px 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform var(--motion) var(--ease);
}
details[open] > .v2-disclosure::before { transform: rotate(45deg); }
.v2-disclosure::after { content: ""; position: absolute; inset: calc((32px - max(var(--hit), 32px)) / 2) 0; }
.v2-disclosure:hover { color: var(--accent-deep); }

/* 收起的解释「怎么算的」：卡片里最后一行，点开是原来的说明文字 */
.v2-how { margin-top: 4px; }
.v2-how__body { padding-bottom: 4px; }
.v2-how__body > * + * { margin-top: 8px; }

/* ── 标签 ─────────────────────────────────────────────────────────── */

.v2-tag {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px; border-radius: 6px;
  font-size: var(--t-xs); font-weight: 500; line-height: 1; letter-spacing: 0; white-space: nowrap;
}
.v2-tag--neutral { background: var(--fill-1); color: var(--text-2); }
/* 标签是状态，不可点：不用淡蓝底，免得看着像次要按钮 */
.v2-tag--accent { background: var(--fill-2); color: var(--text-1); }
.v2-tag--up { background: var(--up-bg); color: var(--up); }
.v2-tag--dn { background: var(--dn-bg); color: var(--dn); }
.v2-tag--warn { background: var(--warn-bg); color: var(--warn); }
.v2-tag--danger { background: var(--danger-bg); color: var(--danger); }

/* ── 表单 ─────────────────────────────────────────────────────────── */

.v2-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v2-field__label { font-size: var(--t-sm); font-weight: 500; color: var(--text-2); }
.v2-field__hint { font-size: var(--t-xs); color: var(--text-3); }
.v2-field__error { font-size: var(--t-xs); color: var(--danger); }
.v2-field.has-error .v2-input, .v2-field.has-error .v2-select, .v2-field.has-error .v2-choice__item { box-shadow: inset 0 0 0 1px var(--danger); }

.v2-input, .v2-select {
  width: 100%; height: var(--ctl-form); padding: 0 12px;
  border: 0; border-radius: var(--r-field);
  background: var(--fill-1); color: var(--text-1);
  font-family: var(--font-body); font-size: var(--t-md);
  transition: box-shadow var(--motion) var(--ease), background var(--motion) var(--ease);
}
/* iOS 小于 16px 聚焦会放大页面 */
@media (pointer: coarse) { .v2-input, .v2-select, .v2-select.v2-select--compact, .v2-search input { font-size: 16px; } }
.v2-input::placeholder { color: var(--text-3); }
.v2-input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.v2-input[type="number"]::-webkit-inner-spin-button, .v2-input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.v2-input:focus, .v2-select:focus { outline: 0; background-color: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent); }
.v2-input[disabled], .v2-select[disabled] { opacity: 0.5; }
.v2-mono.v2-input { font-family: var(--mono); }
.v2-textarea { height: auto; padding: 8px 12px; line-height: 1.5; resize: vertical; }
.v2-select {
  appearance: none; -webkit-appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5 12 15.5l6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.v2-select--compact {
  width: auto; height: var(--ctl-compact); border-radius: 999px;
  padding-left: 12px; font-size: var(--t-sm); font-weight: 500;
  background-color: var(--fill-2);
}
/* 下拉框没有伪元素：手指操作时用透明边框把点击区撑到 44，负外边距抵消布局，可见部分仍是 32 */
@media (pointer: coarse) {
  .v2-select--compact {
    height: 44px; margin: -6px;
    border: 6px solid transparent; background-clip: padding-box;
    /* 箭头 14 宽，距边 10：文字右侧留到 28，不压字 */
    background-position: right 10px center;
    padding: 0 28px 0 12px;
  }
}
.v2-search {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--ctl-compact); padding: 0 12px;
  background: var(--fill-2); border-radius: 999px; color: var(--text-3);
}
.v2-search::after { content: ""; position: absolute; inset: calc((var(--ctl-compact) - max(var(--hit), var(--ctl-compact))) / 2) 0; pointer-events: none; }
.v2-search input {
  border: 0; outline: 0; background: transparent; width: 100%; min-width: 80px;
  font: inherit; font-size: var(--t-sm); color: var(--text-1);
  -webkit-appearance: none; appearance: none;
}
.v2-search input::placeholder { color: var(--text-2); }
.v2-search input::-webkit-search-cancel-button { display: none; }
.v2-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--surface); }
/* 外框已经表示选中，输入框自己不再画一圈（全局的 :focus-visible 比上面的 outline:0 优先级高，要单独压掉） */
.v2 .v2-search input:focus-visible { outline: 0; }

/* ── 列表行 ───────────────────────────────────────────────────────── */

.v2-lrow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 10px var(--card-pad);
  position: relative;
}
.v2-lrow + .v2-lrow::before, .v2-tr + .v2-tr::before, .v2-tgroup .v2-tr::before {
  content: ""; position: absolute; top: 0; left: var(--card-pad); right: 0;
  border-top: 0.5px solid var(--line);
}
.v2-tgroup .v2-tgroup__head + .v2-tr::before { display: none; }
.v2-lrow.is-link { cursor: pointer; transition: background var(--motion) var(--ease); }
.v2-lrow.is-link:hover { background: var(--fill-1); }
.v2-lrow__main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.v2-lrow__title { font-size: var(--t-md); font-weight: 500; line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; }
.v2-lrow__sub { font-size: var(--t-xs); color: var(--text-3); line-height: 1.4; }
/* 第二行是收益率、当日涨跌时带涨跌色 */
.v2-lrow__sub.v2-up { color: var(--up); }
.v2-lrow__sub.v2-dn { color: var(--dn); }
.v2-lrow__value { display: flex; flex-direction: column; align-items: flex-end; flex: none; text-align: right; font-size: var(--t-md); font-weight: 400; line-height: 1.35; white-space: nowrap; }

/* 看更多：放在卡片底部居中，全站一种 */
.v2-more { display: flex; justify-content: center; padding: 8px var(--card-pad); border-top: 0.5px solid var(--line); }
.v2-card:not(.v2-card--flush) .v2-more { padding: 8px 0 0; margin-top: 8px; }

/* 行尾操作：常用操作在前，「⋯」收其余和删除 */
.v2-rowacts { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; flex: none; width: 100%; }
/* 行尾的「编辑」：点行也能编辑，这里写出来让人知道能改 */
.v2-rowedit { position: relative; flex: none; align-self: center; border: 0; padding: 0 4px; background: none; font-size: var(--t-xs); color: var(--text-3); cursor: pointer; white-space: nowrap; }
.v2-rowedit::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, var(--hit)); height: var(--hit); transform: translate(-50%, -50%); }
.v2-rowedit:hover { color: var(--accent); }

/* ── 表格：容器查询换形态（F.10） ─────────────────────────────────── */

.v2-table { container-type: inline-size; width: 100%; }
.v2-tr {
  position: relative;
  display: block;
  color: inherit;
}
.v2-td { display: none; min-width: 0; }
.v2-tr__compact {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 10px var(--card-pad);
}
.v2-tr--head { display: none; }
.v2-tr.is-link { cursor: pointer; transition: background var(--motion) var(--ease); }
.v2-tr.is-link:hover { background: var(--fill-1); }
.v2-tr.is-muted { color: var(--text-3); }
/* 手机上点一行会进下一层：行尾要有「›」（电脑上靠悬停变底色）。见开发指南 6.1「一行的更多操作」 */
@media (max-width: 599px) {
  a.v2-tr.is-link {
    padding-right: calc(var(--card-pad) + 18px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14' fill='none' stroke='%23b5b1a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 7 7l-5.5 5.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right calc(var(--card-pad) + 2px) center;
  }
}

.v2-tgroup__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px var(--card-pad) 6px;
  font-size: var(--t-md); font-weight: 500; color: var(--text-2);
}
.v2-tgroup + .v2-tgroup .v2-tgroup__head { border-top: 0.5px solid var(--line); }
.v2-tgroup__sub { margin-left: 8px; font-size: var(--t-xs); font-weight: 400; color: var(--text-3); }
.v2-tgroup__right { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }

.v2-th-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px;
  border: 0; padding: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; white-space: nowrap;
}
.v2-th-btn::after { content: ""; position: absolute; inset: calc((1.5em - max(var(--hit), 1.5em)) / 2) -4px; }
.v2-th-btn:hover, .v2-th-btn.is-on { color: var(--text-1); }

@container (min-width: 560px) {
  .v2-tr { display: grid; grid-template-columns: var(--v2-cols-mid); column-gap: 16px; align-items: center; min-height: 56px; padding: 8px var(--card-pad); }
  .v2-td { display: block; font-size: var(--t-md); }
  .v2-td--wide { display: none; }
  .v2-td--num { text-align: right; }
  .v2-tr__compact { display: none; }
  /* 列宽以 em 计：表头行不能改字号（F.10），只缩小单元格内的文字 */
  .v2-tr--head {
    min-height: 36px; padding-top: 6px; padding-bottom: 6px;
    color: var(--text-3); font-weight: 500;
    border-bottom: 0.5px solid var(--line);
  }
  .v2-tr--head .v2-td { font-size: var(--t-xs); }
  .v2-tr--head + .v2-tr::before, .v2-tr--head + .v2-tgroup .v2-tgroup__head { border-top: 0; }
}
@container (min-width: 760px) {
  .v2-tr { grid-template-columns: var(--v2-cols); }
  .v2-td--wide { display: block; }
}

.v2-cell-name { display: flex; flex-direction: column; min-width: 0; }
.v2-cell-name__title { font-size: var(--t-md); font-weight: 500; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v2-cell-name__sub { font-size: var(--t-xs); color: var(--text-3); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-num2 { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.35; }
.v2-num2__sub { font-size: var(--t-xs); color: var(--text-3); }

/* ── 一排数字 ─────────────────────────────────────────────────────── */

.v2-stats-host { container-type: inline-size; }
.v2-stats { display: grid; grid-template-columns: 1fr 1fr; }
.v2-stats--topline { border-top: 0.5px solid var(--line); margin-top: 16px; }
.v2-stats:not(.v2-stats--topline) .v2-stat:nth-child(-n+2) { padding-top: 0; }
.v2-stats .v2-stat:last-child, .v2-stats .v2-stat:nth-last-child(2):nth-child(odd) { padding-bottom: 0; }
.v2-stat { position: relative; padding: 12px 16px 12px 0; min-width: 0; }
/* 两列网格的项数为奇数时，最后一项独占一行，不留半行空白（排成一行时不适用） */
@container (max-width: 479.98px) {
  .v2-stats:not(.v2-stats--many) .v2-stat:last-child:nth-child(odd):nth-child(n+3) { grid-column: 1 / -1; }
}
@container (max-width: 619.98px) {
  .v2-stats--many .v2-stat:last-child:nth-child(odd):nth-child(n+3) { grid-column: 1 / -1; }
}
.v2-stat:nth-child(even) { border-left: 0.5px solid var(--line); padding-left: 16px; padding-right: 0; }
.v2-stat:nth-child(n+3) { border-top: 0.5px solid var(--line); }
/* 行内排版：标签折行时「?」跟在最后一个字后面，不被挤到格子最右边 */
.v2-stat__label .v2-help { margin-left: 4px; }
.v2-stat__label { display: block; font-size: var(--t-sm); font-weight: 500; color: var(--text-2); line-height: 1.4; }
.v2-stat__value { font-size: var(--t-section); font-weight: 600; line-height: 1.35; margin-top: 2px; letter-spacing: -0.01em; white-space: nowrap; }
.v2-stat__sub { font-size: var(--t-xs); color: var(--text-3); line-height: 1.4; margin-top: 2px; }
@container (min-width: 480px) {
  .v2-stats:not(.v2-stats--many) { grid-template-columns: repeat(var(--v2-stat-count), 1fr); }
  .v2-stats:not(.v2-stats--many) .v2-stat { border-top: 0; border-left: 0; padding: 0 16px; }
    .v2-stats--topline.v2-stats:not(.v2-stats--many) .v2-stat { padding-top: 16px; }
  .v2-stats:not(.v2-stats--many) .v2-stat:first-child { padding-left: 0; }
  .v2-stats:not(.v2-stats--many) .v2-stat:last-child { padding-right: 0; }
  .v2-stats:not(.v2-stats--many) .v2-stat + .v2-stat { border-left: 0.5px solid var(--line); }
}
@container (min-width: 620px) {
  .v2-stats--many { grid-template-columns: repeat(var(--v2-stat-count), 1fr); }
  .v2-stats--many .v2-stat { border-top: 0; border-left: 0; padding: 0 16px; }
    .v2-stats--topline.v2-stats--many .v2-stat { padding-top: 16px; }
  .v2-stats--many .v2-stat:first-child { padding-left: 0; }
  .v2-stats--many .v2-stat:last-child { padding-right: 0; }
  .v2-stats--many .v2-stat + .v2-stat { border-left: 0.5px solid var(--line); }
}

/* ── 占比条 ───────────────────────────────────────────────────────── */

.v2-rbar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--fill-2); min-width: 40px; }
.v2-rbar__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--bar, var(--data)); transition: width var(--motion) var(--ease); }
.v2-rbar__tick { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; background: var(--text-1); border-radius: 1px; box-shadow: 0 0 0 1px var(--surface); }
/* 超出目标区间：只有刻线和偏离文字标色，整条不涂棕色（颜色强度匹配紧急程度） */
.v2-rbar--warn .v2-rbar__tick { background: var(--warn); }
.v2-rbar--up .v2-rbar__fill { background: var(--up); }
.v2-rbar--dn .v2-rbar__fill { background: var(--dn); }
.v2-rbar--muted .v2-rbar__fill { background: var(--text-mute); }
/* 没有「整体」的条（贡献排行）：不画灰轨道，否则读起来像完成度 */
.v2-rbar--bare { background: transparent; }

/* ── 配置行：总览、构成、计划、账单共用 ──────────────────────────────
 * 窄（默认）：名称 + 占比一行，条 + 「目标 · 偏离」一行。宽（≥560）：一行排开，右边可以加列。
 * 列宽由 --alloc-name / --alloc-sub / --alloc-extra 决定，表头和各行共用。 */

.v2-keep { white-space: nowrap; }

.v2-allocs { container: v2-alloc / inline-size; }
.v2-alloc {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name pct" "bar bar" "sub sub" "extra extra"; /* 条单独占一行：和说明并排时说明长短不同，各行的条不一样长，没法横向比 */
  column-gap: 12px; row-gap: 4px; align-items: center;
  min-height: 56px; padding: 10px var(--card-pad);
}
.v2-alloc + .v2-alloc::before { content: ""; position: absolute; top: 0; left: var(--card-pad); right: 0; border-top: 0.5px solid var(--line); }
.v2-alloc--head { display: none; }
.v2-alloc--head + .v2-alloc::before { display: none; }
.v2-alloc__name { grid-area: name; display: flex; flex-direction: column; min-width: 0; }
.v2-alloc__title { font-size: var(--t-md); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
/* 资产类别的色点：全站一个类别一种颜色（--cat-*）。颜色说明是哪一类，字仍是文字色 */
.v2-catdot { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 0.08em; }
.v2-alloc.is-muted .v2-catdot { opacity: 0.45; }
/* 名字不从中间断开：断在顿号后面，太长才断词 */
.v2-alloc__names { font-size: var(--t-xs); color: var(--text-3); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.v2-alloc__bar { grid-area: bar; min-width: 0; }
.v2-alloc__pct { grid-area: pct; align-self: start; text-align: right; font-size: var(--t-md); font-weight: 500; line-height: 1.35; white-space: nowrap; }
.v2-alloc__sub { grid-area: sub; text-align: right; font-size: var(--t-xs); color: var(--text-3); line-height: 1.4; white-space: nowrap; }
.v2-alloc__sub .v2-warn { font-weight: 500; }
.v2-alloc__extra { grid-area: extra; font-size: var(--t-xs); color: var(--text-3); line-height: 1.4; }
.v2-alloc.is-muted .v2-alloc__title, .v2-alloc.is-muted .v2-alloc__pct { color: var(--text-3); }
/* 大类合计和它下面的小项（股票：指数基金、主动基金、个股）。合计加重，小项缩进、字小一号 */
.v2-alloc.is-group .v2-alloc__title, .v2-alloc.is-group .v2-alloc__pct { font-weight: 600; }
.v2-alloc.is-sub .v2-alloc__title { padding-left: 16px; font-size: var(--t-sm); font-weight: 400; }
.v2-alloc.is-sub .v2-alloc__pct { font-size: var(--t-sm); color: var(--text-2); }
@container v2-alloc (min-width: 560px) {
  .v2-alloc {
    grid-template-columns: var(--alloc-name, 10em) minmax(80px, 1fr) 4em var(--alloc-sub, 8.5em) var(--alloc-extra,);
    grid-template-areas: none;
    grid-auto-flow: column; column-gap: 16px;
  }
  .v2-alloc__name, .v2-alloc__bar, .v2-alloc__pct, .v2-alloc__sub, .v2-alloc__extra { grid-area: auto; align-self: center; }
  .v2-alloc--head { display: grid; min-height: 36px; padding-block: 6px; border-bottom: 0.5px solid var(--line); }
  .v2-alloc--head > * { font-size: var(--t-xs); font-weight: 500; line-height: 1.4; color: var(--text-3); }
  .v2-alloc__sub { font-size: var(--t-sm); }
  .v2-alloc__extra { text-align: right; font-size: var(--t-md); color: var(--text-1); }
}
/* 不在 flush 卡里的配置行（账单）：没有左右内边距 */
.v2-allocs--bare .v2-alloc { padding-inline: 0; }
.v2-allocs--bare .v2-alloc + .v2-alloc::before { left: 0; }

/* ── 键值行：标签在左、值在右，行间细线 ───────────────────────────── */

.v2-kv { display: flex; flex-direction: column; }
.v2-kv__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 6px 0; border-top: 0.5px solid var(--line); }
.v2-kv__row:first-child { border-top: 0; }
.v2-kv__k { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-size: var(--t-sm); color: var(--text-2); overflow-wrap: anywhere; }
.v2-kv__v { min-width: 0; text-align: right; font-size: var(--t-md); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.v2-kv__sub { display: block; font-size: var(--t-xs); font-weight: 400; line-height: 1.4; color: var(--text-3); }
/* 合计行：比普通行高一级 */
.v2-kv__row.is-total { border-top: var(--rule-total); }
.v2-kv__row.is-total .v2-kv__k { font-weight: 700; color: var(--text-1); }
.v2-kv__row.is-total .v2-kv__v { font-weight: 700; }
/* 结果类：值用次级数字 */
.v2-kv--strong .v2-kv__v { font-size: var(--t-section); font-weight: 600; letter-spacing: -0.01em; }

/* ── 分期进度：RSU 总览与持仓详情共用 ─────────────────────────────── */

.v2-segbar { display: flex; gap: 2px; height: 6px; min-width: 0; }
.v2-segbar__seg { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: var(--fill-2); }
.v2-segbar__seg.is-vested, .v2-segbar__seg.is-zero { background: var(--flow-rsu); }
.v2-segbar__seg.is-pending { background: var(--warn); }
.v2-segbar__seg.is-void { background: var(--fill-1); }

/* ── 迷你走势 ─────────────────────────────────────────────────────── */

.v2-spark { display: block; overflow: visible; }
.v2-spark__base { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 3; }

/* ── 占位与空状态 ─────────────────────────────────────────────────── */

.v2-ph {
  position: relative;
  background: var(--fill-1); border-radius: var(--r-item);
  display: flex; align-items: center; justify-content: center;
}
.v2-ph--line { height: 14px; width: 60%; border-radius: 4px; }
.v2-ph--number { height: 40px; width: 200px; }
.v2-ph--row { height: 44px; }
.v2-ph--chart { height: 240px; }
.v2-ph__msg { font-size: var(--t-sm); color: var(--text-3); text-align: center; padding: 0 16px; }
.v2-ph.is-breathing { animation: v2-breathe 1.8s ease-in-out infinite; }
@keyframes v2-breathe { 50% { background: var(--fill-2); } }
@media (prefers-reduced-motion: reduce) { .v2-ph.is-breathing { animation: none; } }

.v2-empty__title { font-size: var(--t-md); font-weight: 500; }
.v2-empty__body { font-size: var(--t-sm); color: var(--text-3); margin-top: 2px; text-wrap: pretty; max-width: 44em; }
.v2-empty__action { margin-top: 12px; }

/* ── Mad-libs 句内输入 ────────────────────────────────────────────── */

.v2-madlib { font-size: var(--t-lead); line-height: 1.7; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.v2-madlib__slot {
  border: 0; outline: 0; padding: 0 2px; margin: 0 2px;
  color: var(--accent); font: inherit;
  /* 下划线用背景画，手指操作时撑大点击区不会把线推远 */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 100% 1.5px;
  border-radius: 0;
  text-align: center; field-sizing: content; min-width: 2ch;
}
.v2-madlib__slot:focus { background-color: var(--accent-lt); border-radius: 4px 4px 0 0; }
@media (pointer: coarse) {
  .v2-madlib__slot {
    min-height: 44px; min-width: 44px; margin-block: -8px; padding-block: 6px;
    background-position: left calc(100% - 6px);
  }
}

/* ── 弹出菜单与说明框 ─────────────────────────────────────────────── */

.v2-popover {
  position: fixed; z-index: 1000;
  background: var(--surface); border-radius: var(--r-popover);
  box-shadow: var(--shadow-pop);
  overflow: auto; max-width: min(320px, calc(100vw - 16px));
  animation: v2-pop-in var(--motion) var(--ease);
}
@keyframes v2-pop-in { from { opacity: 0; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .v2-popover { animation: none; } }
.v2-popover--plain { padding: 12px 14px; }
.v2-popover__text { font-size: var(--t-sm); line-height: 1.6; color: var(--text-2); max-width: 26em; text-wrap: pretty; }

.v2-menu { padding: 6px; min-width: 200px; }
.v2-menu__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 36px; padding: 6px 10px;
  border: 0; border-radius: var(--r-item); background: transparent;
  font-size: var(--t-md); text-align: left; color: var(--text-1); cursor: pointer;
}
.v2-menu__item:hover, .v2-menu__item:focus-visible { background: var(--fill-1); outline: 0; }
.v2-menu__item.is-danger { color: var(--danger); }
.v2-menu__item[disabled] { opacity: 0.4; pointer-events: none; }
.v2-menu__item .v2-icon { color: var(--text-3); }
.v2-menu__item.is-danger .v2-icon { color: var(--danger); }
.v2-menu__label { flex: 1 1 auto; }
.v2-menu__check { color: var(--accent); }
.v2-menu__sep { height: 0.5px; background: var(--line); margin: 6px 10px; }
.v2-menu__header { padding: 6px 10px 2px; font-size: var(--t-xs); color: var(--text-3); overflow-wrap: anywhere; }
.v2-menu__note { padding: 2px 10px; font-size: var(--t-xs); color: var(--text-2); line-height: 1.5; }
@media (pointer: coarse) { .v2-menu__item { min-height: 44px; } }

/* ── 小窗 ─────────────────────────────────────────────────────────── */

.v2-sheet {
  border: 0; padding: 0; color: var(--text-1);
  background: var(--surface); border-radius: var(--r-sheet);
  box-shadow: 0 24px 64px rgba(40, 32, 16, 0.18);
  width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 880px);
  overflow: hidden;
}
.v2-sheet[open] { display: flex; flex-direction: column; animation: v2-sheet-in 200ms var(--ease); }
.v2-sheet::backdrop { background: rgba(40, 32, 16, 0.32); }
@keyframes v2-sheet-in { from { opacity: 0; transform: translateY(8px) scale(0.99); } }
.v2-sheet--sm { width: min(440px, calc(100vw - 32px)); }
.v2-sheet--lg { width: min(880px, calc(100vw - 32px)); }
.v2-sheet--confirm { width: min(420px, calc(100vw - 32px)); }
.v2-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 8px 24px; }
.v2-sheet__title { font-size: var(--t-section); font-weight: 600; line-height: var(--lh-tight); text-wrap: balance; }
.v2-sheet__body { flex: 1 1 auto; overflow: auto; padding: 8px 24px 20px; -webkit-overflow-scrolling: touch; }
.v2-sheet__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 24px 24px; }
.v2-sheet__text { font-size: var(--t-md); color: var(--text-2); text-wrap: pretty; }
.v2-sheet--confirm .v2-sheet__head { padding-right: 24px; }
.v2-sheet--confirm .v2-sheet__head .v2-iconbtn { display: none; }

@media (max-width: 699px) {
  /* 表单类小浮层在手机上从底部弹出；确认框仍居中 */
  .v2-sheet:not(.v2-sheet--confirm) {
    width: 100%; max-width: 100%; margin: auto 0 0;
    max-height: 92dvh;
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .v2-sheet:not(.v2-sheet--confirm)[open] { animation: v2-sheet-up 200ms var(--ease); }
  .v2-sheet__foot .v2-btn { flex: 1 1 0; }
  /* 面板只留一种关闭方式：右上角的关闭。底部的「取消」在手机上不再重复出现，主按钮占满一行。
     页脚只有这一个按钮（「知道了」「关闭」）时它就是主要出口，照常显示。确认框没有右上角关闭，不受影响 */
  .v2-sheet:not(.v2-sheet--confirm) .v2-sheet__foot > .v2-btn--secondary[data-act="sheet-close"]:not(:only-child) { display: none; }
  /* 记一笔、目标比例、卖出前提醒的「取消」走自己的 act（关之前先问有没有没保存的），作用和右上角关闭一样 */
  .v2-sheet:not(.v2-sheet--confirm) .v2-sheet__foot > .v2-btn--secondary:is([data-act="rec-cancel"], [data-act="plan-target-cancel"], [data-act="plan-principle-cancel"]) { display: none; }
}
@keyframes v2-sheet-up { from { transform: translateY(24px); opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) { .v2-sheet[open] { animation: none !important; } }

/* ── Toast ────────────────────────────────────────────────────────── */

.v2-toast-root {
  position: fixed; z-index: 1100; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: max-content; max-width: calc(100vw - 32px);
  pointer-events: none;
}
.v2-toast {
  display: flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 14px; border-radius: var(--r-popover);
  background: var(--surface); box-shadow: var(--shadow-pop);
  font-size: var(--t-sm); color: var(--text-1);
  pointer-events: auto;
  animation: v2-toast-in var(--motion) var(--ease);
}
.v2-toast.is-leaving { opacity: 0; transform: translateY(4px); transition: all 160ms var(--ease); }
@keyframes v2-toast-in { from { opacity: 0; transform: translateY(6px); } }
.v2-toast__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex: none; }
.v2-toast--success .v2-toast__dot { background: var(--ok); }
.v2-toast--error .v2-toast__dot { background: var(--danger); }
.v2-toast__action {
  position: relative;
  border: 0; background: none; padding: 0 0 0 6px; margin-left: 4px;
  font-size: var(--t-sm); font-weight: 600; color: var(--accent); cursor: pointer; white-space: nowrap;
}
.v2-toast__action::after { content: ""; position: absolute; inset: -12px -8px; }

/* ── 图表 ─────────────────────────────────────────────────────────── */

.v2-chart-wrap { position: relative; min-width: 0; }
.v2-chart { width: 100%; height: 240px; }
.v2-chart--sm { height: 140px; }
.v2-chart--lg { height: 320px; }
/* 线尾标注：写在线指向的高度上，代替图例和纵轴 */
.v2-gaplabels { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 12px; }
.v2-gaplabel { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; white-space: nowrap; }
.v2-gaplabel__value { font-size: var(--t-lg); font-weight: 600; }
.v2-gaplabel__name { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 400; color: var(--text-3); }
.v2-gaplabel__mark { flex: none; width: 12px; height: 2px; border-radius: 1px; background: var(--accent); }
.v2-gaplabel__mark--dash { background: repeating-linear-gradient(90deg, var(--text-3) 0 3px, transparent 3px 5px); }
.v2-gaplabel__mark--up, .v2-gaplabel__mark--dn { height: 8px; }
.v2-gaplabel__mark--up { background: color-mix(in srgb, var(--up) 35%, transparent); }
.v2-gaplabel__mark--dn { background: color-mix(in srgb, var(--dn) 35%, transparent); }
.v2-gaplabel.is-quiet .v2-gaplabel__value { font-weight: 500; color: var(--text-2); }
@media (max-width: 480px) { .v2-gaplabels { gap: 8px 16px; justify-content: space-between; } .v2-gaplabel__value { font-size: var(--t-md); } }
.v2-chart-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; font-size: var(--t-xs); color: var(--text-2); }
.v2-chart-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.v2-chart-legend__key { display: inline-block; width: 14px; height: 2px; border-radius: 1px; background: var(--key); }
.v2-chart-legend__key--bar { width: 10px; height: 10px; border-radius: 2px; }
.v2-chart-legend__key--dash { background: none; border-top: 1.5px dashed var(--key); height: 0; border-radius: 0; }
.v2-chart-legend__key--dots { background: none; border-top: 2px dotted var(--key); height: 0; border-radius: 0; }
.v2-chart-legend__key--dashdot { width: 18px; background: linear-gradient(90deg, var(--key) 0 9px, transparent 9px 12px, var(--key) 12px 14px, transparent 14px 18px); border-radius: 0; height: 1.5px; }
.v2-chart-legend__key--dot { width: 6px; height: 6px; border-radius: 50%; }
.v2-chart-legend__key--ring { width: 7px; height: 7px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--key); }
.v2-chart-tip {
  background: var(--surface); border-radius: 10px; padding: 8px 10px;
  box-shadow: var(--shadow-pop);
  font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--text-1);
  min-width: 120px;
}
.v2-chart-tip__title { color: var(--text-3); margin-bottom: 2px; }
.v2-chart-tip__row { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.v2-chart-tip__key { width: 10px; height: 2px; border-radius: 1px; flex: none; }
.v2-chart-tip__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-chart-tip__name { color: var(--text-3); }

/*
 * 记录列表不用卡片（持仓表、流水）：一张卡包住整页时，卡片什么也没有区分，只多占两边的边距。
 * 去掉后行文字和页面标题对齐，手机每行多 32px。--surface 换成页面底色，吸顶表头和吸附列才不会露出白块。
 * 悬停底色向两侧多出 12px，文字贴边时底色不贴着字。
 */
.v2-card.v2-card--lines {
  --card-pad: 0px;
  --surface: var(--bg-page);
  background: transparent; border-radius: 0; overflow: visible;
  border-bottom: 0.5px solid var(--line-strong);
}
.v2-card--lines .v2-tr--head { border-bottom-color: var(--line-strong); }
.v2-card--lines .v2-tr.is-link:hover { box-shadow: -12px 0 0 var(--fill-1), 12px 0 0 var(--fill-1); }
.v2-card--lines.is-scroll .v2-tr.is-link:hover { box-shadow: none; }

/*
 * 手机（< 700）：屏幕本身就是容器。开发指南 6.1「页面的容器」。
 * 只留两种卡片：一组并列的行（flush、group），和可以整块收起、关掉的一段（这类是各自的组件，不走 .v2-card）。
 * 包着一张图、一段话、一个数字或一张表单的卡片去掉白底和内边距，内容直接铺在页面上，靠区块标题和间距分段：
 * 手机只有一栏，没有区域要分；每一层边框都占掉左右各 16 像素，图表和输入框最缺的就是这点宽度。
 */
@media (max-width: 699px) {
  .v2-card:not(.v2-card--flush):not(.v2-card--group) { background: transparent; border-radius: 0; padding: 0; }
  /* 两行形态的记录：名称一行、说明一行（6.1「宽表格」）。名称太长时截断，全名在详情里 */
  .v2-tr__compact .v2-lrow__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-wrap: nowrap; }
}
