:root {
  --bg: #eef3fb;
  --bg-soft: #f6f9ff;
  --card: #ffffff;
  --card-2: #f1f6ff;
  --border: #e2eaf6;
  --border-strong: #d2deef;
  --text: #1b2942;
  --text-dim: #6b7c99;
  --accent: #2b6cff;
  --accent-2: #12c2c2;
  --green: #16b364;
  --yellow: #f5a524;
  --red: #f0384f;
  --shadow: 0 10px 30px rgba(43, 108, 255, .08);
  --shadow-soft: 0 4px 16px rgba(27, 41, 66, .06);
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(18,194,194,.12) 0%, rgba(18,194,194,0) 60%),
    radial-gradient(1100px 560px at 6% 0%, rgba(43,108,255,.12) 0%, rgba(43,108,255,0) 55%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(43, 108, 255, .12);
}
.auth-card .brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.auth-card .brand .name {
  font-size: 22px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-card .brand .en { color: var(--text-dim); font-size: 12px; letter-spacing: 3px; }
.auth-sub { color: var(--text-dim); font-size: 13px; margin: 4px 0 22px; }
.auth-switch { text-align: center; margin-top: 14px; color: var(--text-dim); font-size: 13px; }
.auth-switch a { color: var(--accent); cursor: pointer; font-weight: 600; }

/* ---------- 顶栏 ---------- */
.topbar {
  height: 60px;
  display: flex; align-items: center;
  padding: 0 20px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 14px rgba(27, 41, 66, .04);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; }
.topbar .brand .name {
  font-size: 18px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar .menu { display: flex; gap: 6px; margin-left: 36px; }
.topbar .menu .item {
  padding: 8px 16px; border-radius: 9px; cursor: pointer; color: var(--text-dim);
  font-size: 14px; font-weight: 500; transition: all .18s;
}
.topbar .menu .item:hover { background: var(--card-2); color: var(--text); }
.topbar .menu .item.active {
  background: linear-gradient(135deg, rgba(43,108,255,.12), rgba(18,194,194,.12));
  color: var(--accent);
}
.topbar .spacer { flex: 1; }
.topbar .user { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  box-shadow: 0 4px 12px rgba(43, 108, 255, .35);
}

/* ---------- 主体 ---------- */
.page { padding: 18px 22px 40px; }
/* ---------- 城市标签切换 ---------- */
.city-tabs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px;
}
.city-tabs .date-pick { margin-left: auto; }
.city-tabs .tab {
  padding: 6px 16px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; user-select: none;
  background: var(--card); color: var(--text-dim);
  border: 1px solid var(--border-strong);
  transition: all .15s;
}
.city-tabs .tab:hover { border-color: var(--accent); color: var(--accent); }
.city-tabs .tab.on {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(43, 108, 255, .25);
}

.toolbar-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.toolbar-row .spacer { flex: 1; }
.fetch-time {
  font-size: 13px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px; cursor: default;
}
.fetch-time.stale { color: var(--red); font-weight: 600; }
.refresh-icon {
  cursor: pointer; color: var(--accent); font-size: 15px;
  transition: color .15s, transform .15s;
}
.refresh-icon:hover { color: var(--accent-2); transform: rotate(90deg); }
.refresh-icon.spinning { animation: spin .8s linear infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid .span2 { grid-column: 1 / -1; }
@media (max-width: 980px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card .card-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.card .card-head .title { font-size: 15px; font-weight: 700; }
.card .card-head .spacer { flex: 1; }

/* 状态色点 */
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(22,179,100,.16); }
.dot.yellow { background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,165,36,.16); }
.dot.red { background: var(--red); box-shadow: 0 0 0 4px rgba(240,56,79,.16); animation: pulse 1.2s infinite; }
.dot.gray { background: #aab7cc; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* 城市标题图标 */
.city-icon {
  font-size: 20px; color: var(--accent); flex-shrink: 0;
}

/* 板块状态点 */
.section-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; flex-shrink: 0; cursor: help;
}
.section-dot.green  { background: var(--green); box-shadow: 0 0 0 3px rgba(22,179,100,.15); }
.section-dot.yellow { background: var(--yellow); box-shadow: 0 0 0 3px rgba(245,165,36,.15); }
.section-dot.red    { background: var(--red); box-shadow: 0 0 0 3px rgba(240,56,79,.15); animation: pulse 1.2s infinite; }
.section-dot.gray   { background: #aab7cc; }

/* 板块标签（dot + 标题一起悬浮提示） */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: help;
}

/* 大温度数字 */
.big-temp {
  font-size: 46px; font-weight: 800; line-height: 0.8;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  cursor: pointer; display: inline-block;
}
.big-temp .unit { font-size: 20px; color: var(--text-dim); -webkit-text-fill-color: var(--text-dim); }
.big-temp.warn { background: none; color: var(--yellow); -webkit-text-fill-color: var(--yellow); }
.big-temp.bad { background: none; color: var(--red); -webkit-text-fill-color: var(--red); }

.kv-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.kv { display: flex; flex-direction: column; gap: 3px; }
.kv .k { font-size: 12px; color: var(--text-dim); }
.kv .v { font-size: 18px; font-weight: 700; }
.kv .v.up { color: var(--red); }
.kv .v.down { color: #0ea5e9; }

.subline { margin-top: 12px; font-size: 12px; color: var(--text-dim); }
.subline span { margin-right: 14px; }

.trend-pill {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--border-strong); color: var(--text-dim);
}
.trend-pill.up { color: var(--red); border-color: rgba(240,56,79,.4); background: rgba(240,56,79,.06); }
.trend-pill.down { color: #0ea5e9; border-color: rgba(14,165,233,.4); background: rgba(14,165,233,.06); }

.forecast-line { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.forecast-line b { color: var(--text); }

/* 曲线顶部数字 */
.curve-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.curve-stats .stat { font-size: 13px; color: var(--text-dim); }
.curve-stats .stat b { font-size: 18px; color: var(--text); margin-left: 4px; }
.tag-new { font-size: 11px; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.tag-new.high { background: rgba(240,56,79,.12); color: var(--red); }
.tag-new.low { background: rgba(22,179,100,.12); color: var(--green); }

#chart { width: 100%; height: 340px; }

/* hover 浮层 */
.hover-table { font-size: 13px; }
.hover-table .row {
  display: flex; align-items: center; gap: 10px; padding: 4px 0;
}
.hover-table .row .lbl { color: var(--text-dim); width: 64px; flex: none; }
.hover-table .row .val { flex: 1; white-space: nowrap; }
.trend-pill.mini {
  font-size: 11px; padding: 1px 8px; flex: none; white-space: nowrap;
}

/* 悬浮详情美化 */
.hover-detail {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.hover-section {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 6px;
}
.hover-section:last-child { padding-bottom: 0; }
.hover-section + .hover-section {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.hover-title {
  font-weight: 600; font-size: 12px; color: var(--text-dim);
  margin-bottom: 4px; padding-bottom: 4px;
  display: flex; align-items: center; gap: 4px;
  letter-spacing: 0.5px;
}
.hover-title .el-icon { font-size: 13px; color: var(--accent); opacity: .7; }
.hover-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3px 0;
}
.hover-row span:first-child {
  color: var(--text-dim); font-size: 12px;
}
.hover-row span:last-child {
  font-weight: 600; color: var(--text);
}
/* 三项同行（体感/风速/湿球） */
.hover-metrics {
  display: flex; gap: 4px; padding: 2px 0;
}
.hover-metric {
  flex: 1; text-align: center;
  padding: 6px 4px; border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.hover-metric .metric-icon {
  font-size: 14px; margin-bottom: 2px; display: block;
  line-height: 1;
}
.hover-metric .metric-icon .el-icon { font-size: 14px; color: var(--accent); opacity: .6; }
.hover-metric .metric-label {
  font-size: 10px; color: var(--text-dim);
  display: block; margin-bottom: 2px;
}
.hover-metric .metric-value {
  font-size: 14px; font-weight: 700; color: var(--text);
  display: block; white-space: nowrap;
}
/* 趋势标签（图标化） */
.trend-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px 2px 4px; border-radius: 12px;
  margin-left: 4px; line-height: 1;
  vertical-align: middle;
  background: var(--card-2); color: var(--text-dim);
  border: 1px solid var(--border);
}
.trend-badge .trend-ico { font-size: 12px; color: inherit; }
.trend-badge .trend-lbl  { font-size: 11px; font-weight: 500; }
.trend-badge.up {
  background: rgba(240,56,79,.07); color: var(--red);
  border-color: rgba(240,56,79,.22);
}
.trend-badge.up .trend-ico { color: var(--red); }
.trend-badge.down {
  background: rgba(14,165,233,.07); color: #0ea5e9;
  border-color: rgba(14,165,233,.22);
}
.trend-badge.down .trend-ico { color: #0ea5e9; }

/* 底部工具 */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 980px) { .tools { grid-template-columns: 1fr; } }
.tool-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-soft);
}
.tool-card .t-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.tool-row { display: flex; align-items: center; gap: 10px; }
.tool-row .eq { color: var(--text-dim); }

.muted { color: var(--text-dim); }
.small { font-size: 12px; }

/* ==================== 多城板块流 ==================== */
.city-section {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-strong);
}
.city-section:last-of-type { border-bottom: none; }
.city-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 5px;
}
.city-head .city-name { font-size: 18px; font-weight: 800; }
.city-head .city-icao {
  font-size: 12px; color: var(--text-dim);
  border: 1px solid var(--border-strong); border-radius: 6px; padding: 1px 7px;
}
.city-head .spacer { flex: 1; }

/* 三列：概览 / 曲线 / 市场+AI */
.city-cols {
  display: grid;
  grid-template-columns: 320px 1fr 380px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1280px) {
  .city-cols { grid-template-columns: 280px 1fr 340px; }
  .city-cols.expanded { grid-template-columns: 280px minmax(240px, 1.2fr) minmax(360px, 1fr); }
}
/* 展开市场卡片时：曲线列仍占大头，市场列够放两列即可 */
.city-cols.expanded {
  grid-template-columns: 320px minmax(280px, 1.2fr) minmax(360px, 1fr);
}
/* 手机：三段竖向堆叠 概览 → 曲线 → 市场+AI */
@media (max-width: 768px) {
  .city-cols, .city-cols.expanded { grid-template-columns: 1fr; }
  .page { padding: 14px 12px 32px; }
}

.col-curve .metar-btn { margin-left: 10px; padding: 0; height: auto; font-size: 12px; }
.col-overview .obs-time { margin-left: 10px; font-size: 12px; }
.chart-box { width: 100%; height: 320px; }
@media (max-width: 768px) { .chart-box { height: 260px; } }

/* 模型预测小框 */
.model-box {
  margin-top: 3px; padding: 4px 12px;
  background: var(--card-2); border-radius: 10px;
  border: 1px solid var(--border);
}
.model-line { font-size: 13px; margin-bottom: 4px; }
.model-line b { font-size: 16px; color: var(--accent); }
.pred-bucket {
  font-weight: 700; color: var(--accent);
  background: rgba(43,108,255,.1); padding: 1px 8px; border-radius: 6px;
}
.model-reason { font-size: 12px; color: var(--text-dim); margin-top: 4px; line-height: 1.5; }

/* ---------- 市场列：垂直档位列表 ---------- */
.bucket-list { display: flex; flex-direction: column; gap: 6px; }
/* 展开时：两列布局 */
.bucket-list.two-col {
  display: flex; flex-direction: row; gap: 8px;
}
.bucket-list.two-col .bucket-col {
  flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.bucket-row {
  display: block; text-decoration: none; color: inherit;
  padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.bucket-row:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); transform: translateX(2px); }
/* 聚焦档：预测点附近，高亮 */
.bucket-row.focus {
  background: #fff;
  border-color: rgba(43,108,255,.5);
  box-shadow: 0 0 0 2px rgba(43,108,255,.08);
}
.b-main { display: flex; align-items: center; gap: 8px; }
.b-label { font-weight: 700; font-size: 14px; }
.b-badges { margin-left: auto; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }

.badge {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px;
  white-space: nowrap;
}
.badge.buy { background: rgba(22,179,100,.14); color: var(--green); border: 1px solid rgba(22,179,100,.35); }
.badge.buy.medium { background: rgba(22,179,100,.2); }
.badge.buy.heavy { background: var(--green); color: #fff; }
.badge.sell { background: rgba(240,56,79,.14); color: var(--red); border: 1px solid rgba(240,56,79,.35); }
.badge.hold { background: var(--card-2); color: var(--text-dim); border: 1px solid var(--border-strong); }

/* YES 买入建议（绿色系） */
.badge.yes-buy { background: rgba(22,179,100,.12); color: var(--green); border: 1px solid rgba(22,179,100,.3); font-size: 11px; }
.badge.yes-buy.medium { background: rgba(22,179,100,.2); }
.badge.yes-buy.heavy { background: var(--green); color: #fff; }

/* NO 买入建议（红/橙色系，表示看跌该档位） */
.badge.no-buy { background: rgba(240,56,79,.1); color: var(--red); border: 1px solid rgba(240,56,79,.25); font-size: 11px; }
.badge.no-buy.medium { background: rgba(240,80,56,.15); color: #e85d3a; border-color: rgba(240,80,56,.35); }
.badge.no-buy.heavy { background: linear-gradient(135deg, #ff4444, #ff6b35); color: #fff; border: none; font-weight: 600; box-shadow: 0 1px 4px rgba(255,68,68,.3); }

/* 概率条：市场隐含 + 我方概率刻度 */
.b-bar {
  position: relative; height: 6px; border-radius: 4px;
  background: var(--border); margin: 7px 0 6px; overflow: visible;
}
.b-bar-fill { height: 100%; border-radius: 4px; }
.b-bar-fill.mkt { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.b-bar-tick {
  position: absolute; top: -3px; width: 2px; height: 12px;
  background: var(--red); border-radius: 1px;
  transform: translateX(-1px);
}
.b-figures { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }
.b-figures .fig.edge.pos { color: var(--green); font-weight: 700; }
.b-figures .fig.edge.neg { color: var(--red); font-weight: 700; }
/* 展开/折叠按钮（卡片右上角） */
.pm-toggle-btn {
  font-size: 12px; color: var(--accent); font-weight: 600;
  padding: 2px 2px; border-radius: 8px;
  background: rgba(43,108,255,.07);
  transition: background .15s;
}
.pm-toggle-btn:hover { background: rgba(43,108,255,.15); }
.pm-toggle-count { font-size: 11px; color: var(--text-dim); font-weight: 400; }

/* ---------- AI 研判卡 ---------- */
.ai-card {
  margin-top: 10px; padding: 6px 10px;
  border: 1px solid var(--border); border-radius: 12px;
  background: linear-gradient(180deg, rgba(43,108,255,.04), rgba(18,194,194,.03));
}
.ai-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.ai-head .ai-title { font-weight: 700; font-size: 14px; }
.ai-head .spacer { flex: 1; }
.ai-text { font-size: 13px; line-height: 1.6; color: var(--text); }
.ai-text-wrap { position: relative; }
.ai-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.6em * 5);
}
.ai-toggle {
  position: absolute; right: 0; bottom: 0;
  padding: 0 2px 0 18px;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 40%);
  font-size: 12px; color: var(--accent); cursor: pointer;
  font-weight: 600; user-select: none;
}
.ai-toggle:hover { color: var(--accent-2); }
.ai-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ai-foot .spacer { flex: 1; }
.ai-conf {
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(43,108,255,.1); padding: 1px 8px; border-radius: 6px;
}
.like-btn {
  cursor: pointer; font-size: 13px; user-select: none;
  padding: 2px 10px; border-radius: 20px; border: 1px solid var(--border-strong);
  transition: all .15s;
}
.like-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(43,108,255,.06); }

/* AI 历史抽屉 */
.ai-history { display: flex; flex-direction: column; gap: 12px; }
.ai-hist-item { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); }
.ai-hist-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ai-hist-head .spacer { flex: 1; }
.ai-hist-text { font-size: 13px; line-height: 1.6; }
.like-mini { font-size: 12px; color: var(--text-dim); }

/* ========== 趋势标签悬浮描述 ========== */
.desc-popover { padding: 2px 0; }
.desc-popover-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.desc-popover-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(43,108,255,.10), rgba(18,194,194,.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.desc-popover-meta { display: flex; flex-direction: column; gap: 1px; }
.desc-popover-title { font-weight: 700; font-size: 13px; color: var(--text); }
.desc-popover-time {
  font-size: 11px; color: var(--text-dim);
  display: flex; align-items: center; gap: 3px;
}
.desc-popover-time .el-icon { font-size: 11px; }
.desc-popover-body {
  padding: 10px 12px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13px; line-height: 1.7; color: var(--text);
  min-height: 40px;
}
.desc-popover-body.empty { color: var(--text-dim); font-style: italic; }
.desc-popover-foot {
  margin-top: 10px; display: flex; justify-content: flex-end;
}
.desc-popover-foot .el-button {
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 6px;
  background: rgba(43,108,255,.06);
}
.desc-popover-foot .el-button:hover {
  background: rgba(43,108,255,.12);
}

/* ========== 天气描述历史弹窗 ========== */
.desc-history {
  display: flex; flex-direction: column; gap: 0;
  max-height: 60vh; overflow-y: auto; padding: 4px 0 4px 24px;
  position: relative;
}
/* 左侧时间线 */
.desc-history::before {
  content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(18,194,194,.4));
}

.desc-hist-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0; position: relative;
}
.desc-hist-item + .desc-hist-item {
  border-top: 1px dashed rgba(210,222,239,.6);
}
/* 时间线圆点 */
.desc-hist-item::before {
  content: ''; position: absolute;
  left: -18px; top: 16px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  z-index: 1;
}
.desc-hist-item:first-child::before {
  background: var(--accent); box-shadow: 0 0 0 3px rgba(43,108,255,.15);
}

.desc-hist-time {
  flex-shrink: 0; width: 50px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--accent);
  padding: 3px 0; border-radius: 6px;
  background: rgba(43,108,255,.07);
  letter-spacing: .3px;
}
.desc-hist-item:first-child .desc-hist-time {
  background: rgba(43,108,255,.12);
}

.desc-hist-content { flex: 1; min-width: 0; }
.desc-hist-text {
  font-size: 13px; line-height: 1.7; color: var(--text);
  word-break: break-all;
}
.desc-hist-newest {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: #fff; background: var(--accent); border-radius: 3px;
  padding: 0 5px; margin-left: 6px; vertical-align: middle;
  letter-spacing: .5px; line-height: 18px;
}

.desc-history .el-empty { padding: 30px 0; }

/* ========== YES/NO 行情图标 + 弹窗 ========== */
.b-quote-icons {
  display: inline-flex; gap: 4px; margin-left: 4px;
}
.quote-ico {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; line-height: 1;
  padding: 3px 6px; border-radius: 5px;
  cursor: pointer; user-select: none;
  letter-spacing: 0.3px;
  transition: all .15s;
  border: 1px solid transparent;
}
.quote-ico.yes {
  color: #fff; background: var(--green);
  box-shadow: 0 1px 2px rgba(22,179,100,.25);
}
.quote-ico.yes:hover {
  background: #0e8d50; transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(22,179,100,.35);
}
.quote-ico.no {
  color: #fff; background: var(--red);
  box-shadow: 0 1px 2px rgba(240,56,79,.25);
}
.quote-ico.no:hover {
  background: #d6253c; transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(240,56,79,.35);
}

.price-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.price-toolbar .spacer { flex: 1; }
.price-toolbar .pt-bucket { display: inline-flex; align-items: center; gap: 8px; }
.price-toolbar .pt-bucket-label {
  font-size: 11px; color: var(--text-dim);
  background: var(--bg-soft); padding: 2px 8px; border-radius: 4px;
}
.price-toolbar .pt-bucket-name { font-weight: 800; font-size: 15px; }
.price-toolbar .pt-bucket-slg { font-size: 11px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.price-chart-wrap { width: 100%; min-height: 460px; position: relative; }
.price-chart { width: 100%; height: 460px; }
@media (max-width: 768px) { .price-chart, .price-chart-wrap { height: 360px; min-height: 360px; } }

/* 行情弹窗内的 radio-group 紧凑风格 */
.price-toolbar .el-radio-group .el-radio-button__inner {
  padding: 6px 14px; font-weight: 700; font-size: 12px;
}
