/* ===========================================================
   众推 · 样式
   配色遵循 A 股习惯：涨=红，跌=绿
   =========================================================== */

:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --ink: #0d1520;
  --text: #1a2433;
  --body: #33404f;
  --muted: #6b7688;
  --faint: #98a2b3;
  --line: #e8ecf2;
  --line-soft: #f0f3f8;
  --up: #d92b2b;
  --down: #0f9d58;
  --flat: #6b7688;
  --brand: #c9302c;
  --gold: #c9962b;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 12px 28px -20px rgba(16, 24, 40, .55);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul { margin: 0; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(201, 48, 44, .15); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0463f, #ac1f1b);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -7px rgba(172, 31, 27, .95);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: .04em;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
}

.nav a {
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color .16s;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 650; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.today { font-size: 12.5px; color: var(--faint); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}

.btn-primary {
  background: linear-gradient(180deg, #d84841, #bf2823);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(191, 40, 35, .95);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(191, 40, 35, .95);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  border-color: #e0e7f0;
  color: var(--body);
}
.btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; }

.btn-block { width: 100%; margin-top: 4px; }

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: var(--faint);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .16s;
}
.icon-btn:hover { background: #f4f6fa; color: var(--body); }

/* ---------------- 跑马灯 ---------------- */
.ticker {
  background: #0e1720;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.ticker-track {
  display: flex;
  gap: 26px;
  padding: 7px 0;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #8f9fb2;
  white-space: nowrap;
}
.tick-item::after {
  content: "";
  width: 1px;
  height: 9px;
  margin-left: 12px;
  background: rgba(255, 255, 255, .14);
}
.tick-item b { color: #cbd6e4; font-weight: 600; }
.tick-price { color: #e6edf5; font-variant-numeric: tabular-nums; }
.tick-pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.tick-pct.up { color: #ff6f6f; }
.tick-pct.down { color: #3ddc84; }
.tick-pct.flat { color: #8f9fb2; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Hero ---------------- */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 0 22px;
}

.hero h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.date-badge {
  font-size: 12px;
  font-weight: 650;
  color: #8a6a2f;
  background: #fdf4dd;
  border: 1px solid #f4e4bb;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0;
}

.hero-sub {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 560px;
}

.stat-row { display: flex; align-items: flex-end; }

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat b {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 11.5px; color: var(--faint); margin-top: 1px; }

/* ---------------- 指数 ---------------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}
.section-head .bar {
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--brand);
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--faint);
}
.live-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--down);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, .12);
  animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.index-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.index-card:hover {
  transform: translateY(-2px);
  border-color: #d9e0ea;
  box-shadow: var(--shadow-md);
}

.ic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ic-name { font-size: 13px; font-weight: 650; color: var(--ink); }
.ic-region {
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 6px;
  flex: 0 0 auto;
}

.ic-price {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.02em;
  margin: 7px 0 2px;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}

.ic-chg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ic-pct { font-weight: 700; }

.spark { display: block; width: 100%; height: 34px; margin-top: 6px; }
.spark-line { transition: stroke .3s; }

/* ---------------- 主体两栏 ---------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 26px;
  align-items: start;
  margin-top: 34px;
}

.side-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 118px;
}

/* ---------------- 榜单头 ---------------- */
.board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.board-title h2 {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -.01em;
  color: var(--ink);
}
.board-title p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--faint);
}

.board-tools { display: flex; align-items: center; gap: 10px; }

.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #eceff5;
  border-radius: 11px;
}
.tabs button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  color: #5f6b7c;
  cursor: pointer;
  transition: .16s;
}
.tabs button i { font-style: normal; font-size: 11px; color: #a3adbb; }
.tabs button:hover { color: var(--ink); }
.tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .14);
}
.tabs button.is-active i { color: var(--brand); }

.sort-toggle { display: inline-flex; gap: 2px; }
.sort-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--faint);
  cursor: pointer;
  transition: .16s;
}
.sort-toggle button:hover { color: var(--body); }
.sort-toggle button.is-active {
  background: #eceff5;
  color: var(--ink);
  font-weight: 650;
}

/* ---------------- 推荐卡片 ---------------- */
.rec-list { display: flex; flex-direction: column; gap: 12px; }

.rec-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 16px 18px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.rec-card:hover {
  border-color: #dde4ee;
  box-shadow: 0 14px 30px -24px rgba(16, 24, 40, .8);
}

.rec-card.is-champion {
  background: linear-gradient(180deg, #fffdf4 0%, #fff 42%);
  border-color: #f0e0b6;
}
.rec-card.is-champion::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #f7d07a, #ffeec2, #f7d07a);
}

.champion-ribbon {
  position: absolute;
  right: 16px;
  bottom: 13px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #7d5100;
  background: linear-gradient(135deg, #ffe9ae, #f2c257);
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 3px 8px -4px rgba(180, 130, 0, .9);
}

.rank-col { padding-top: 3px; }

.medal {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 800;
  background: #f2f4f8;
  color: #8b95a6;
  font-variant-numeric: tabular-nums;
}
.medal.m1 {
  background: linear-gradient(135deg, #ffefb2, #efb228);
  color: #6b4400;
  box-shadow: 0 4px 10px -5px rgba(214, 158, 20, .95);
}
.medal.m2 {
  background: linear-gradient(135deg, #f6f8fb, #c9d3e0);
  color: #46536a;
}
.medal.m3 {
  background: linear-gradient(135deg, #f9e5d1, #d8a072);
  color: #6b4321;
}

.rec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.user { display: flex; align-items: center; gap: 9px; min-width: 0; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  flex: 0 0 auto;
}

.user-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.uname {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}
.badge-mine {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #1f6feb;
  background: #eaf1fe;
  border-radius: 5px;
  padding: 1px 6px;
}
.utime { font-size: 11.5px; color: var(--faint); }

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid #e6eaf1;
  background: #fff;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: .16s;
}
.like-btn:hover {
  border-color: #f3c4c1;
  color: var(--up);
  background: #fff8f7;
  transform: translateY(-1px);
}
.like-btn.is-liked {
  background: #fdecea;
  border-color: #f6cac6;
  color: var(--up);
}
.like-btn.is-liked svg { fill: rgba(217, 43, 43, .14); transform: scale(1.04); }

/* 股票信息条 */
.stock-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 11px 0 10px;
  padding: 9px 11px;
  background: #f8fafc;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
}

.mkt {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .02em;
  flex: 0 0 auto;
}
.mkt-a { background: #fdecea; color: #b3261e; }
.mkt-hk { background: #eeefff; color: #5b3fd6; }
.mkt-us { background: #e9f1fe; color: #1a5fd0; }

.s-name { font-size: 14px; font-weight: 700; color: #101a27; }
.s-code { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.s-price {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: #101a27;
  font-variant-numeric: tabular-nums;
}
.s-pct { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 理由 */
.reason {
  font-size: 14px;
  line-height: 1.78;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reason.is-open { display: block; overflow: visible; }
.reason.is-short { display: block; }

.expand-btn {
  border: 0;
  background: none;
  color: #1f6feb;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 0 0;
  cursor: pointer;
}
.expand-btn:hover { text-decoration: underline; }

.rec-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding-bottom: 1px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px;
  color: #5f6b7c;
  background: #f4f6fa;
  border-radius: 6px;
  padding: 3px 8px;
}
.link-btn {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--faint);
  font-size: 12.5px;
  padding: 4px 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--brand); }

@keyframes pop {
  0% { box-shadow: 0 0 0 0 rgba(201, 48, 44, .22); }
  100% { box-shadow: 0 0 0 14px rgba(201, 48, 44, 0); }
}
.just-liked { animation: pop .75s ease-out; }

/* 空态 */
.empty {
  padding: 46px 20px;
  text-align: center;
  background: var(--card);
  border: 1px dashed #dbe2ec;
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-icon { font-size: 26px; color: #ccd5e2; margin-bottom: 6px; }
.empty p { font-size: 13.5px; margin-bottom: 14px; }

/* ---------------- 侧栏卡片 ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.card-head h3 { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.pill {
  font-size: 11px;
  color: var(--muted);
  background: #f2f4f8;
  border-radius: 999px;
  padding: 2px 8px;
}
.pill-done { background: #e9f7ef; color: #0f9d58; }

.mine-empty {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.mine-note { font-size: 11.5px; color: var(--faint); line-height: 1.6; margin-top: 10px; }

.mine-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mine-stock b { font-size: 14.5px; color: var(--ink); }

.mine-reason {
  font-size: 12.5px;
  line-height: 1.72;
  color: #5f6b7c;
  margin: 9px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mine-stats { display: flex; gap: 8px; margin-bottom: 12px; }
.mine-stats > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 10px;
}
.mine-stats b { font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.mine-stats span { font-size: 11px; color: var(--faint); }

/* 热度 */
.heat { display: flex; flex-direction: column; gap: 9px; }
.heat-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 9px;
  align-items: center;
  font-size: 12.5px;
}
.heat-label { color: #5f6b7c; }
.heat-bar {
  height: 6px;
  border-radius: 999px;
  background: #f0f3f8;
  overflow: hidden;
}
.heat-bar i { display: block; height: 100%; border-radius: 999px; transition: width .45s ease; }
.heat-bar i.mkt-a { background: #d9524c; }
.heat-bar i.mkt-hk { background: #7a5af8; }
.heat-bar i.mkt-us { background: #1f6feb; }
.heat-val { text-align: right; color: var(--faint); font-variant-numeric: tabular-nums; }

/* 规则 */
.rules-card h3 { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.rules {
  padding-left: 17px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #5f6b7c;
}
.rules li + li { margin-top: 6px; }
.rules b { color: var(--text); }

.disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--faint);
  padding: 0 4px;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  margin-top: 46px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--faint);
}

/* ---------------- 发布弹窗 ---------------- */
.dialog {
  border: 0;
  padding: 0;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 34px 90px -34px rgba(9, 17, 29, .65);
  overflow: auto;
}
.dialog::backdrop {
  background: rgba(12, 20, 33, .46);
  backdrop-filter: blur(2px);
}
.dialog[open] { animation: dialogIn .2s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.dialog-form { padding: 22px 24px 20px; }

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dialog-head h3 { font-size: 18px; font-weight: 780; color: var(--ink); }
.dialog-head p { margin-top: 4px; font-size: 12.5px; color: var(--faint); }

.field { margin-bottom: 15px; }
.field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--body);
  margin-bottom: 7px;
}

.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #f1f4f9;
  border-radius: 11px;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 7px 17px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  color: #5f6b7c;
  cursor: pointer;
  transition: .16s;
}
.segmented button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .15);
}

.search-wrap { position: relative; }

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}

#stockInput,
#reasonInput {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fbfcfe;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
#stockInput { padding-left: 36px; }
#reasonInput { line-height: 1.72; resize: vertical; min-height: 112px; }

#stockInput:focus,
#reasonInput:focus {
  background: #fff;
  border-color: #e6a8a3;
  box-shadow: 0 0 0 3px rgba(201, 48, 44, .09);
}
#stockInput::placeholder,
#reasonInput::placeholder { color: #b3bcc9; }

.suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 5px;
  max-height: 250px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  box-shadow: 0 20px 44px -24px rgba(9, 17, 29, .6);
}

.suggest-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: background .13s;
}
.suggest-item:hover { background: #f5f8fd; }
.si-name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.si-code { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.si-price { font-size: 12.5px; color: #5f6b7c; font-variant-numeric: tabular-nums; }
.si-pct {
  font-size: 12px;
  font-weight: 700;
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.suggest-empty { padding: 14px; text-align: center; font-size: 12.5px; color: var(--faint); }

.picked {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  background: #f7f9fd;
  border: 1px solid #eaeff7;
  border-radius: 10px;
  font-size: 13px;
}
.picked b { color: var(--ink); }

.field-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  min-height: 18px;
}
.hint { font-size: 12px; color: #d1453b; }
.counter { margin-left: auto; font-size: 11.5px; color: #b3bcc9; font-variant-numeric: tabular-nums; }

.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.agree { font-size: 11px; line-height: 1.55; color: #a3adbb; max-width: 290px; }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: #101a27;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity .24s, transform .24s;
  pointer-events: none;
  box-shadow: 0 16px 36px -18px rgba(9, 17, 29, .95);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-col > .card { flex: 1 1 300px; }
  .disclaimer { flex: 1 1 100%; }
  .index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .header-main { gap: 16px; height: 58px; }
  .nav, .today { display: none; }
  .brand-text em { display: none; }
  .hero { padding: 24px 0 18px; }
  .hero h1 { font-size: 25px; }
  .hero-sub { font-size: 13px; }
  .stat { padding: 0 14px; }
  .stat b { font-size: 19px; }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ic-price { font-size: 19px; }
  .layout { margin-top: 26px; gap: 18px; }
  .board-head { align-items: flex-start; }
  .rec-card { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 14px 13px; }
  .medal { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
  .s-price { margin-left: 0; }
  .champion-ribbon { display: none; }
  .dialog-form { padding: 18px 16px 16px; }
  .dialog-foot { flex-direction: column-reverse; align-items: stretch; }
  .agree { max-width: none; }
  .dialog-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
