:root {
  --theme: #F62C2C;
  --theme2: #F96E29;
  --green: #00c87a;
  --green2: #00b06b;
  --blue: #3b82f6;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1a1a1a;
  --sub: #8a8f99;
  --line: #eee;
  --up: #e84a4a;
  --down: #2bbf7a;
  --maxw: 460px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #e9ebef;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.app-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 24px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--theme), var(--theme2));
  color: #fff;
  padding: env(safe-area-inset-top) 14px 12px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header.green {
  background: linear-gradient(135deg, var(--green), var(--green2));
  padding-bottom: 0;
}
.header .top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header .logo { font-weight: 800; font-size: 19px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.header .logo .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.header .spacer { flex: 1; }
.header .ico-btn { background: rgba(255,255,255,.18); border: none; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; }
.search {
  margin-top: 10px;
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #999;
  gap: 8px;
}
.search input { border: none; outline: none; background: transparent; flex: 1; font-size: 14px; color: #333; }

/* Home green banner */
.home-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 14px;
}
.home-banner .slogan {
  background: rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.home-banner .slogan .sico {
  width: 22px; height: 16px;
}
.home-banner .slogan .sico polyline {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.home-banner .slogan .sico polygon {
  fill: #fff;
}
.home-banner .fav {
  background: var(--blue);
  border: none; color: #fff; border-radius: 6px;
  padding: 7px 14px; font-size: 13px; font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.home-banner .fav:active { filter: brightness(1.1); transform: scale(0.98); }

/* Main scroll area */
.main { flex: 1; overflow-y: auto; padding-bottom: 70px; }

/* 主菜单栏 (menu bar) — 绿色背景 + 下划线 active */
.menu-bar {
  display: flex; gap: 0; overflow-x: auto;
  background: transparent;
  padding: 0 8px;
}
.menu-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; color: rgba(255,255,255,.85);
  font-weight: 700; cursor: pointer; white-space: nowrap; transition: all .15s;
  position: relative;
}
.menu-tab .mt-pic { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.menu-tab .mt-caret { font-size: 9px; opacity: .7; }
.menu-tab.active { color: #fff; }
.menu-tab.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 3px; border-radius: 2px; background: #fff;
}

/* 子菜单面板 — 蓝色网格按钮 */
.sub-head { display: flex; align-items: center; gap: 8px; padding: 16px 14px 10px; font-weight: 800; font-size: 15px; }
.sub-head .bar { width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--theme), var(--theme2)); }
.sub-head .sub-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sub); background: #f2f3f5; padding: 2px 9px; border-radius: 10px; }
.sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 14px 12px;
}
.sub-pill {
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 11px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sub-pill:active { transform: scale(.96); box-shadow: 0 4px 10px rgba(59,130,246,.35); }
.sub-list-old { padding: 6px 12px 0; }
.sub-card {
  background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.03); transition: transform .12s;
}
.sub-card:active { transform: scale(.98); }
.sub-meta { flex: 1; min-width: 0; }
.sub-name { font-weight: 700; font-size: 15px; }
.sub-val { font-size: 13px; color: #333; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sub-val small { font-size: 11px; }
.sub-val.up { color: var(--up); }
.sub-val.down { color: var(--down); }
.sub-card .spark { width: 64px; height: 36px; flex: 0 0 auto; }
.sub-card .sub-arrow { color: #ccc; font-size: 18px; }

/* Section title */
.sec-title { display: flex; align-items: center; gap: 8px; padding: 16px 14px 8px; font-weight: 800; font-size: 16px; }
.sec-title .bar { width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--theme), var(--theme2)); }
.sec-title .more { margin-left: auto; font-size: 12px; color: var(--sub); font-weight: 500; }

/* Hot articles */
.news-list { padding: 0 12px; }
.news-card {
  background: var(--card); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.news-card .nt { font-weight: 600; font-size: 14px; line-height: 1.45; }
.news-card .nf { display: flex; gap: 12px; color: var(--sub); font-size: 12px; margin-top: 8px; }
.news-card .tag { color: var(--theme); }

/* News pagination */
.news-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px 24px; }
.news-pagination .page-btn {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--text);
  padding: 7px 12px; font-size: 13px; cursor: pointer; min-width: 34px; touch-action: manipulation;
}
.news-pagination .page-btn.active { background: var(--theme); color: #fff; border-color: var(--theme); }
.news-pagination .page-btn:disabled, .news-pagination .page-btn.disabled { opacity: .5; cursor: not-allowed; }
.news-pagination .page-info { font-size: 12px; color: var(--sub); white-space: nowrap; }

/* Chart detail */
.detail-header { background: linear-gradient(135deg, var(--theme), var(--theme2)); color: #fff; padding: 14px; }
.detail-header .back { background: rgba(255,255,255,.18); border: none; color: #fff; border-radius: 50%; width: 32px; height: 32px; font-size: 16px; }
.detail-header .dtitle { font-size: 18px; font-weight: 800; margin-top: 10px; }
.detail-header .dnote { font-size: 12px; opacity: .92; margin-top: 6px; line-height: 1.5; }
.detail-note { background: #fff7f3; color: #b4530f; font-size: 12.5px; line-height: 1.6; padding: 12px 16px; border-radius: 12px; margin: 12px; border: 1px solid #ffe2cf; }

/* 子页面顶部主菜单栏 */
.indicator-menu-bar {
  display: flex; gap: 0; overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}
.indicator-menu-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; color: #666;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  position: relative; transition: color .15s;
}
.indicator-menu-tab .mt-pic { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.indicator-menu-tab.active { color: var(--theme); }
.indicator-menu-tab.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 3px; border-radius: 2px; background: var(--theme);
}

/* 子页面子菜单高亮 */
.sub-pill.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 10px rgba(59,130,246,.35);
}

/* 首页选中子菜单的指标预览 */
.home-preview-title { font-weight: 800; font-size: 16px; padding: 16px 14px 8px; }
.home-preview-note { background: #fff7f3; color: #b4530f; font-size: 12.5px; line-height: 1.6; padding: 12px 16px; border-radius: 12px; margin: 0 12px; border: 1px solid #ffe2cf; }

/* 首页中部分组菜单 */
.mid-title { display: flex; align-items: center; gap: 8px; padding: 16px 14px 8px; font-weight: 800; font-size: 16px; }
.mid-title .bar { width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--green), #00a86b); }
.mid-menu { display: flex; gap: 10px; padding: 0 14px 12px; flex-wrap: wrap; }
.mid-pill { padding: 6px 14px; border-radius: 16px; font-size: 13px; color: #666; background: #f2f3f5; cursor: pointer; transition: all .15s; }
.mid-pill.active { background: linear-gradient(135deg, var(--green), #00a86b); color: #fff; box-shadow: 0 3px 8px rgba(0,200,122,.25); }
.mid-pill:active { transform: scale(.96); }

/* 首页指标列表 */
.indicator-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; }
.indicator-tag { padding: 5px 11px; border-radius: 12px; font-size: 12px; color: #fff; background: var(--blue); cursor: pointer; transition: all .15s; }
.indicator-tag.active { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 3px 8px rgba(59,130,246,.3); }
.indicator-tag:active { transform: scale(.96); }

/* 研报资讯列表 */
.research-news-list {
  background: var(--card);
  margin: 0 12px 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.rn-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}
.rn-item:last-child { border-bottom: none; }
.rn-item:active { background: #f9fafb; }
.rn-title {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rn-date { font-size: 12px; color: var(--sub); white-space: nowrap; }
.chart-box .ct .bar { width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--theme), var(--theme2)); display: inline-block; vertical-align: -2px; margin-right: 6px; }
.chart-box { background: #fff; margin: 12px; border-radius: 14px; padding: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.chart-box .ct { font-weight: 700; padding: 4px 6px 2px; font-size: 14px; }
.chart-box .chart-note { font-size: 12px; color: #999; line-height: 1.5; padding: 2px 6px 8px; }
#echart, .echart { width: 100%; height: 320px; position: relative; }
.custom-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  padding: 8px 4px 2px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.legend-line {
  border-radius: 0;
  flex-shrink: 0;
}
.legend-hidden { opacity: 0.35; }
.legend-hidden .legend-line {
  filter: grayscale(100%);
  background: #ccc !important;
}

/* 当年线最末数据标注：小标签平行放线后 + 节点轻闪烁 + 箭头连线 */
.end-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #F62C2C;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  animation: endDotBlink 2s ease-in-out infinite;
}
.end-label {
  position: absolute;
  transform: translate(9px, -50%);
  pointer-events: none;
  z-index: 6;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 9.5px;
  line-height: 1.25;
  white-space: nowrap;
  animation: endLabelBlink 2s ease-in-out infinite;
  backdrop-filter: blur(1px);
}
.end-label .el-time { display: inline; font-size: 9.5px; opacity: .85; margin-right: 3px; }
.end-label .el-val { display: inline; font-weight: 700; font-size: 10.5px; letter-spacing: .2px; }
.end-link {
  position: absolute;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  pointer-events: none;
  z-index: 5;
  opacity: .65;
}
.end-link::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 3px 0 3px 4px;
  border-style: solid;
  border-color: transparent transparent transparent currentColor;
}
.end-link.reverse::after {
  right: auto;
  left: -3px;
  border-width: 3px 4px 3px 0;
  border-color: transparent currentColor transparent transparent;
}
@keyframes endDotBlink {
  0%, 100% { opacity: .85; }
  50% { opacity: .35; }
}
@keyframes endLabelBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .75; }
}

.table-wrap { margin: 0 12px 16px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; min-width: max-content; border-collapse: collapse; font-size: 12.5px; }
table.data th, table.data td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; }
table.data th { background: #fafafa; color: #666; font-weight: 600; }
table.data tr:last-child td { border-bottom: none; }
.val-up { color: var(--up); }
.val-down { color: var(--down); }

/* Article detail */
.article { background: #fff; margin: 12px; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.article h1 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; }
.article .meta { color: var(--sub); font-size: 12px; margin-bottom: 14px; }
.article .content { font-size: 15px; line-height: 1.8; color: #333; white-space: pre-wrap; }
.article { overflow-x: hidden; }
.article .content img { max-width: 100% !important; height: auto !important; display: block !important; margin: 10px 0 !important; border-radius: 8px; }
.article .content table { max-width: 100%; display: block; overflow-x: auto; }

/* Login */
.login-screen { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 26px; }
.login-logo { font-size: 26px; font-weight: 900; background: linear-gradient(135deg, var(--theme), var(--theme2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; letter-spacing: 2px; }
.login-tip { color: var(--sub); font-size: 13px; margin-bottom: 30px; }
.field { width: 100%; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; display: flex; align-items: center; border: 1px solid var(--line); }
.field input { border: none; outline: none; flex: 1; font-size: 15px; }
.btn-primary { width: 100%; background: linear-gradient(135deg, var(--theme), var(--theme2)); color: #fff; border: none; border-radius: 24px; padding: 14px; font-size: 16px; font-weight: 700; margin-top: 6px; }
.btn-ghost { background: none; border: none; color: var(--theme); margin-top: 14px; font-size: 14px; }
.login-foot { margin-top: auto; color: #aaa; font-size: 11px; text-align: center; }
.login-forget { margin-top: 14px; color: #666; font-size: 13px; text-align: center; cursor: pointer; }
.login-forget:hover { color: var(--theme); }
.register-modal-mask { align-items: center; justify-content: center; padding: 20px; }
.register-modal { width: 100%; max-width: 360px; border-radius: 16px; padding: 22px; }
.register-modal h3 { text-align: center; margin-bottom: 18px; }
.register-modal .btn-primary { margin-top: 10px; }
.reg-close { margin-top: 16px; text-align: center; color: #666; font-size: 13px; cursor: pointer; }
.reg-close:hover { color: var(--theme); }

/* Profile */
.profile-head { background: linear-gradient(135deg, var(--theme), var(--theme2)); color: #fff; padding: 26px 18px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.p-name { font-size: 18px; font-weight: 800; }
.p-sub { font-size: 12px; opacity: .9; margin-top: 3px; }
.profile-info-card { background: #fff; margin: 12px; border-radius: 14px; padding: 16px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: none; }
.info-label { color: var(--sub); font-size: 14px; }
.info-value { color: var(--text); font-size: 14px; font-weight: 500; }
.btn-service { width: 100%; background: linear-gradient(135deg, var(--theme), var(--theme2)); color: #fff; border: none; border-radius: 24px; padding: 12px; font-size: 15px; font-weight: 700; margin-top: 12px; cursor: pointer; }
.menu-list { background: #fff; margin: 12px; border-radius: 14px; overflow: hidden; }
.menu-row { display: flex; align-items: center; padding: 15px; border-bottom: 1px solid var(--line); cursor: pointer; }
.menu-row:last-child { border-bottom: none; }
.menu-row .mi { font-size: 18px; margin-right: 12px; }
.menu-row .mt { flex: 1; }
.menu-row .ma { color: #ccc; }

/* Tabbar */
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--maxw); background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.tabbar .tb { flex: 1; text-align: center; padding: 8px 0; color: #999; font-size: 11px; cursor: pointer; }
.tabbar .tb .ti { font-size: 20px; display: block; margin-bottom: 2px; }
.tabbar .tb.active { color: var(--theme); font-weight: 700; }

/* 右下角浮动按钮组：回到顶部 / 返回首页 / 会员中心 */
.fab-group { position: fixed; bottom: 72px; z-index: 40; display: flex; flex-direction: column; gap: 10px; right: calc(50% - 230px + 12px); }
.fab { width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.96); box-shadow: 0 2px 10px rgba(0,0,0,.18); color: var(--theme); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .08s; }
.fab:active { transform: scale(.92); }
@media (max-width: 460px) { .fab-group { right: 12px; } }

/* Toast & modal */
.toast { position: fixed; left: 50%; top: 40%; transform: translate(-50%,-50%); background: rgba(0,0,0,.8); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 100; font-size: 14px; max-width: 80%; text-align: center; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 999; display: flex; align-items: flex-end; justify-content: center; }
.modal-mask.guide-modal-mask { z-index: 1000; }
.modal { background: #fff; width: 100%; max-width: var(--maxw); border-radius: 16px 16px 0 0; padding: 18px; max-height: 86vh; overflow-y: auto; }
.modal h3 { margin: 0 0 14px; font-size: 17px; }
.modal .field { margin-bottom: 10px; }
.modal .row { display: flex; gap: 10px; margin-top: 6px; }
.modal .row button { flex: 1; }
.guide-tip { margin: 0 0 10px; font-size: 14px; color: var(--text); }
.guide-steps { margin: 0; padding-left: 20px; }
.guide-steps li { margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: #333; }
.guide-note { margin-top: 8px; font-size: 12px; color: var(--sub); }
.guide-modal { max-width: 420px; }
.btn-line { background: #f2f3f5; border: none; border-radius: 24px; padding: 12px; font-size: 15px; color: #333; }
.empty { text-align: center; color: #bbb; padding: 40px 0; font-size: 13px; }
.loading { text-align:center; color:#bbb; padding: 30px 0; }

/* 客服弹窗 */
.cs-modal-mask { align-items: center; justify-content: center; z-index: 200; }
.cs-modal { max-width: 300px; border-radius: 16px; text-align: center; padding: 22px 18px; }
.cs-modal h3 { margin-bottom: 16px; }
.cs-wechat { margin-bottom: 14px; color: #666; font-size: 14px; }
.cs-wechat strong { color: var(--text); font-size: 18px; margin-left: 6px; }
.cs-qr { width: 180px; height: 180px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); }
.cs-noqr { color: #999; padding: 40px 0; }
.cs-close { width: auto; min-width: 120px; margin-top: 18px; padding: 10px 24px; }
.cs-copy { margin-left: 8px; border: 1px solid var(--line); background: #fff; color: #F62C2C; border-radius: 6px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.cs-copy:active { background: #fff0f0; }

/* 会员到期门禁提示 */
.vip-expired { text-align: center; padding: 70px 24px; }
.vip-expired .ve-icon { font-size: 54px; }
.vip-expired .ve-title { font-size: 20px; font-weight: 800; margin: 14px 0 8px; }
.vip-expired .ve-desc { color: #888; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.vip-expired .ve-btn { min-width: 200px; padding: 12px 20px; border-radius: 24px; }

/* 分享按钮 & 分享弹窗 */
.detail-header { position: relative; }
.share-btn-mini { position: absolute; top: 12px; right: 14px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.16); color: #fff; border-radius: 20px; padding: 4px 12px; font-size: 12px; cursor: pointer; white-space: nowrap; z-index: 2; }
.share-btn-mini:active { background: rgba(255,255,255,.3); }
.share-modal h3 { font-size: 15px; margin: 0 0 14px; }
.share-body { display: flex; gap: 18px; flex-wrap: wrap; }
.share-qr { text-align: center; }
.qr-box { background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 10px; display: inline-block; line-height: 0; }
.qr-box svg { display: block; width: 160px; height: 160px; }
.qr-tip { font-size: 12px; color: var(--sub); margin-top: 8px; }
.share-side { flex: 1; min-width: 190px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.share-row { display: flex; gap: 8px; }
.share-link-input { flex: 1; min-width: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--text); background: #fafafa; }
.share-actions { display: flex; gap: 8px; }
.share-act { flex: 1; text-align: center; padding: 11px 6px; border-radius: 10px; text-decoration: none; color: #333; background: #f5f6f8; font-size: 13px; border: 1px solid #ececec; cursor: pointer; }
.share-act:active { transform: scale(.97); }
.share-act.weibo { color: #e6162d; }
.share-act.wechat { color: #07c160; }

/* 收藏按钮 & 收藏列表 */
.fav-btn { position: absolute; top: 12px; right: 72px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.16); color: #fff; border-radius: 20px; padding: 4px 12px; font-size: 12px; cursor: pointer; white-space: nowrap; z-index: 2; }
.fav-btn:active { background: rgba(255,255,255,.3); }
.fav-btn.active { background: #fff; color: var(--theme); border-color: #fff; }
.fav-list { padding: 12px; }
.fav-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.fav-info { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.fav-icon { font-size: 18px; }
.fav-name { flex: 1; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-row .btn-del { padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.share-act.toutiao { color: #f04142; }
.share-note { font-size: 11px; color: var(--sub); line-height: 1.6; }
