/* ============================================================
   一财智见 GEO 工作台 · 组件层 v2 「财经编辑部」
   衬线页题 × 印章品牌 × 报刊细节（编号/细规则线/字距）
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--t1);
  font-size: var(--text-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
[data-theme="dark"] body { font-weight: 350; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: color-mix(in oklch, var(--yc-red) 18%, transparent); }

/* ---------- 布局壳 ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
  background: var(--sidebar);
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  display: flex; flex-direction: column;
  padding: 20px 14px 16px;
  overflow-y: auto;
  scrollbar-width: none;      /* 隐藏竖向滚动条（仍可滚动） */
  -ms-overflow-style: none;
  box-shadow: 1px 0 0 var(--line);
}
.sidebar::-webkit-scrollbar { display: none; width: 0; height: 0; }
.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; }
.topbar {
  height: var(--topbar-h);
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  padding: 0 32px;
  background: var(--topbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.content { max-width: var(--page-max); margin: 0 auto; padding: 32px 32px 88px; }

/* ---------- 侧栏 ---------- */
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px 8px 20px; }
/* 官方 LOGO：亮色用原色青版，暗色用白色版 */
.brand-logo { height: 34px; width: auto; display: block; margin: 0 auto; }
.brand-logo.logo-dark { display: none; }
[data-theme="dark"] .brand-logo.logo-light { display: none; }
[data-theme="dark"] .brand-logo.logo-dark { display: block; }
.brand-product {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--t2); font-weight: 600; letter-spacing: 1.6px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: var(--yc-brand);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 17px;
}
.brand-name { font-family: var(--font-display); font-size: 16.5px; font-weight: 900; line-height: 1.2; letter-spacing: .5px; }
.brand-sub { font-size: 9.5px; color: var(--t3); letter-spacing: 2.2px; font-weight: 500; }

.nav-group { margin-top: 16px; }
.nav-label {
  font-size: 10px; color: var(--t3); letter-spacing: 2.5px;
  padding: 0 10px 7px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.nav-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-md);
  color: var(--t2); font-size: 13.5px; cursor: pointer;
  transition: background var(--fast), color var(--fast);
  margin-bottom: 2px; border: none; background: none; width: 100%; text-align: left;
  position: relative;
}
.nav-item svg { width: 17px; height: 17px; flex: none; opacity: .7; }
.nav-item:hover { background: var(--chip); color: var(--t1); }
.nav-item.active { background: var(--yc-blue-soft); color: var(--yc-blue-ink); font-weight: 600; }
.nav-item.active svg { opacity: 1; }
.nav-item .nav-badge {
  margin-left: auto; font-size: 11px; background: var(--chip);
  color: var(--t2); border-radius: var(--r-pill); padding: 0 8px; line-height: 18px;
}
.nav-item.active .nav-badge { background: color-mix(in oklch, var(--yc-blue) 16%, transparent); color: var(--yc-blue-ink); }
.sidebar-foot {
  margin-top: auto; padding: 14px 10px 2px; font-size: 10.5px; color: var(--t4); line-height: 1.8;
  border-top: 1px solid var(--line); letter-spacing: .3px;
}

/* ---------- 顶栏 ---------- */
.crumb { font-size: 12.5px; color: var(--t3); display: flex; align-items: center; gap: 9px; min-width: 0; letter-spacing: .3px; }
.crumb b { color: var(--t1); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.crumb .sep { color: var(--t4); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: var(--r-pill); border: none;
  background: transparent; color: var(--t2); cursor: pointer;
  display: grid; place-items: center; transition: background var(--fast);
}
.icon-btn:hover { background: var(--chip); color: var(--t1); }
.icon-btn svg { width: 17px; height: 17px; }
.avatar {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--yc-blue-soft); color: var(--yc-blue-ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: var(--font-display);
}
.menu-btn { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; cursor: pointer; border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; padding: 9px 20px; line-height: 1.4;
  transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
  white-space: nowrap; user-select: none; letter-spacing: .3px;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--yc-blue); color: var(--on-brand); }
.btn-primary:hover { background: var(--yc-blue-600); box-shadow: var(--sh-2); }
.btn-red { background: var(--yc-red); color: #fff; }
[data-theme="dark"] .btn-red { color: oklch(16% 0.015 258); }
.btn-red:hover { filter: brightness(1.08); box-shadow: var(--sh-2); }
.btn-ghost { background: var(--chip); color: var(--t1); }
.btn-ghost:hover { background: var(--hover); }
.btn-soft { background: var(--yc-blue-soft); color: var(--yc-blue-ink); }
.btn-soft:hover { background: color-mix(in oklch, var(--yc-blue) 16%, var(--card)); }
.btn-sm { padding: 5px 13px; font-size: 12px; border-radius: var(--r-sm); }
.btn-lg { padding: 12px 28px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn:focus-visible, .nav-item:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--yc-blue); outline-offset: 2px; }

/* ---------- 卡片（无边框，淡底+圆角+留白） ---------- */
.card {
  background: var(--card); border-radius: var(--r-card);
  padding: 22px 24px; box-shadow: var(--sh-1);
}
.card-flat { background: var(--card); border-radius: var(--r-card); padding: 22px 24px; }
.card-sunken { background: var(--sunken); border-radius: var(--r-md); padding: 14px 16px; }
.card-hover { transition: box-shadow var(--norm), transform var(--norm); cursor: pointer; }
.card-hover:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.card-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.card-desc { font-size: 12px; color: var(--t3); }
.card-head .spacer { margin-left: auto; }

/* ---------- 页头：报刊头版式 ---------- */
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 2.6px; font-weight: 600;
  color: var(--yc-blue-ink);
  padding: 0; margin-bottom: 12px; background: none; border-radius: 0;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--yc-brand); }
.kicker.k-detect { color: var(--mod-detect); background: none; }
.kicker.k-detect::before { background: var(--mod-detect); }
.kicker.k-content { color: var(--mod-content); background: none; }
.kicker.k-content::before { background: var(--mod-content); }
.page-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl); font-weight: 900; letter-spacing: .5px; line-height: 1.3;
}
.page-sub { font-size: 13px; color: var(--t2); margin-top: 8px; max-width: 720px; line-height: 1.8; }
.page-head .head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-2-1 { grid-template-columns: 2fr 1fr; }
.g-1-2 { grid-template-columns: 1fr 2fr; }
.g-3-2 { grid-template-columns: 3fr 2fr; }
.mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.mb16 { margin-bottom: 16px; }

/* ---------- KPI：大数字编辑排版 ---------- */
.kpi { background: var(--card); border-radius: var(--r-card); padding: 20px 22px; box-shadow: var(--sh-1); }
.kpi-label { font-size: 12px; color: var(--t2); display: flex; align-items: center; gap: 6px; letter-spacing: .3px; }
.kpi-value {
  font-family: var(--font-num); font-size: 32px; font-weight: 600; line-height: 1.15;
  margin-top: 8px; letter-spacing: .2px; font-variant-numeric: tabular-nums;
}
.kpi-value small { font-size: 15px; font-weight: 500; color: var(--t3); margin-left: 2px; }
.kpi-delta { font-size: 12px; margin-top: 5px; display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.kpi-delta.up { color: var(--trend-up); }
.kpi-delta.down { color: var(--trend-down); }
.kpi-delta.flat { color: var(--t3); }
.kpi-note { font-size: 11.5px; color: var(--t3); margin-top: 4px; }

/* ---------- 徽章 / 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; line-height: 20px;
  padding: 1px 10px; border-radius: var(--r-sm);
  background: var(--chip); color: var(--t2); white-space: nowrap; letter-spacing: .3px;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.err { background: var(--err-soft); color: var(--err); }
.tag.info { background: var(--info-soft); color: var(--info); }
.tag.violet { background: var(--violet-soft); color: var(--violet); }
.tag.red { background: var(--yc-red-soft); color: var(--yc-red-ink); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 表格（分隔线仅存在于表格内部） ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left; font-weight: 600; color: var(--t3); font-size: 10.5px;
  padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background var(--fast); }
.tbl tbody tr:hover { background: var(--sunken); }
.tbl .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.tbl .row-link { cursor: pointer; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--t2); margin-bottom: 7px; letter-spacing: .3px; }
.field label .req { color: var(--yc-red); }
.input, .select, .textarea {
  width: 100%; border: none; border-radius: var(--r-md);
  background: var(--sunken); padding: 10px 14px; font-size: 13.5px;
  transition: box-shadow var(--fast), background var(--fast); color: var(--t1);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: var(--card);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--yc-blue) 45%, transparent);
}
.textarea { resize: vertical; min-height: 88px; line-height: 1.7; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--t3) 50%), linear-gradient(135deg, var(--t3) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; cursor: pointer; }
.hint { font-size: 11.5px; color: var(--t3); margin-top: 6px; line-height: 1.7; }

/* ---------- Tab ---------- */
.tabs { display: inline-flex; gap: 2px; background: var(--chip); border-radius: var(--r-md); padding: 3px; }
.tab-btn {
  border: none; background: transparent; color: var(--t2); cursor: pointer;
  font-size: 12.5px; font-weight: 600; padding: 6px 16px; border-radius: var(--r-sm);
  transition: background var(--fast), color var(--fast); white-space: nowrap; letter-spacing: .3px;
}
.tab-btn:hover { color: var(--t1); }
.tab-btn.active { background: var(--card); color: var(--t1); box-shadow: var(--sh-1); }

/* ---------- 进度 / 条形 ---------- */
.bar-track { height: 7px; border-radius: var(--r-pill); background: var(--chip); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-pill); background: var(--yc-blue); transition: width 700ms var(--ease-expo); }
.bar-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.bar-row .bar-name { width: 108px; flex: none; font-size: 12.5px; color: var(--t2); display: flex; align-items: center; gap: 7px; }
.bar-row .bar-name img { width: 18px; height: 18px; border-radius: 5px; }
.bar-row .bar-track { flex: 1; }
.bar-row .bar-val { width: 62px; flex: none; text-align: right; font-family: var(--font-num); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- 实体类型图标 ---------- */
.etype-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: inline-grid; place-items: center;
}
.etype-icon svg { width: 21px; height: 21px; }
.etype-icon.lg { width: 46px; height: 46px; border-radius: 13px; }
.etype-icon.lg svg { width: 25px; height: 25px; }

/* ---------- 平台logo ---------- */
.plogo { width: 20px; height: 20px; border-radius: 6px; flex: none; object-fit: contain; background: #fff; }
.plogo-lg { width: 30px; height: 30px; border-radius: 8px; }
.plogo-row { display: flex; align-items: center; gap: 6px; }
.plogo-stack { display: flex; }
.plogo-stack img { width: 22px; height: 22px; border-radius: 6px; margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }
.plogo-stack img:first-child { margin-left: 0; }

/* ---------- 空状态 / 加载 ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--t3); }
.empty .empty-icon { font-size: 30px; margin-bottom: 10px; opacity: .6; }
.skeleton { border-radius: var(--r-md); background: linear-gradient(90deg, var(--chip) 25%, var(--hover) 50%, var(--chip) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 90; background: oklch(18% 0.02 258 / .5);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity var(--norm);
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: var(--r-panel); box-shadow: var(--sh-pop);
  width: min(680px, 100%); max-height: 86vh; overflow-y: auto; padding: 28px 30px;
  transform: translateY(16px) scale(.98); transition: transform var(--norm);
}
.modal-mask.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; margin-bottom: 20px; }
.modal-title { font-family: var(--font-display); font-size: 18px; font-weight: 900; letter-spacing: .3px; }
.modal-close { margin-left: auto; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--t1); color: var(--page); font-size: 13px; font-weight: 500;
  padding: 11px 22px; border-radius: var(--r-md); box-shadow: var(--sh-pop);
  animation: toastIn 320ms var(--ease-expo); letter-spacing: .3px;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 步骤条 ---------- */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 26px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; }
.step-num {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--chip); color: var(--t3); font-size: 12px; font-weight: 700; flex: none;
  font-family: var(--font-num);
}
.step.active .step-num { background: var(--yc-blue); color: var(--on-brand); }
.step.done .step-num { background: var(--ok-soft); color: var(--ok); }
.step-label { font-size: 12.5px; color: var(--t3); font-weight: 600; letter-spacing: .3px; }
.step.active .step-label { color: var(--t1); }
.step-line { width: 44px; height: 1px; background: var(--line-strong); margin: 0 12px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.tl-item { position: relative; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -20px; top: 7px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--yc-blue); box-shadow: 0 0 0 3px var(--yc-blue-soft);
}
.tl-item.gray::before { background: var(--t4); box-shadow: 0 0 0 3px var(--chip); }
.tl-item.green::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.tl-item.red::before { background: var(--yc-red); box-shadow: 0 0 0 3px var(--yc-red-soft); }

/* ---------- 工具 ---------- */
.muted { color: var(--t3); } .t2 { color: var(--t2); }
.fs11 { font-size: 11px; } .fs12 { font-size: 12px; } .fs13 { font-size: 13px; } .fs16 { font-size: 16px; }
.fw600 { font-weight: 600; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up { color: var(--trend-up); } .down { color: var(--trend-down); }
.link { color: var(--yc-blue-ink); cursor: pointer; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 900; margin: 36px 0 16px;
  display: flex; align-items: baseline; gap: 12px; letter-spacing: .4px;
}
.section-title .section-sub { font-family: var(--font); font-size: 12px; color: var(--t3); font-weight: 400; letter-spacing: .2px; }

/* ---------- 入场编排（渐进增强，无 JS 也可见） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .content > * { animation: riseIn 520ms var(--ease-expo) backwards; }
  .content > *:nth-child(1) { animation-delay: 0ms; }
  .content > *:nth-child(2) { animation-delay: 50ms; }
  .content > *:nth-child(3) { animation-delay: 100ms; }
  .content > *:nth-child(4) { animation-delay: 150ms; }
  .content > *:nth-child(5) { animation-delay: 200ms; }
  .content > *:nth-child(n+6) { animation-delay: 250ms; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } }

/* tooltip：全局 JS 浮层跟随鼠标（config.js 统一绑定），元素只需带 data-tip 属性 */
.yc-tip {
  position: fixed; z-index: 130; pointer-events: none;
  background: var(--t1); color: var(--page);
  font-size: 11.5px; font-weight: 400; line-height: 1.6;
  padding: 8px 13px; border-radius: var(--r-sm);
  max-width: 280px; white-space: normal; text-align: left;
  box-shadow: var(--sh-2); opacity: 0;
  transition: opacity 110ms var(--ease); left: 0; top: 0;
}
.yc-tip.show { opacity: 1; }

/* ---------- 图表 hover 提示浮层（跟随鼠标） ---------- */
.yc-chart-host { position: relative; }
.yc-chart-tip {
  position: absolute; z-index: 55; pointer-events: none;
  background: var(--t1); color: var(--page);
  border-radius: var(--r-sm); padding: 9px 12px;
  font-size: 11.5px; line-height: 1.7; box-shadow: var(--sh-2);
  opacity: 0; transition: opacity 120ms var(--ease);
  max-width: 260px; white-space: nowrap; left: 0; top: 0;
}
.yc-chart-tip.show { opacity: 1; }
.yc-chart-tip .tt-head { font-size: 10.5px; font-weight: 600; letter-spacing: .8px; opacity: .65; margin-bottom: 4px; }
.yc-chart-tip .tt-row { display: flex; align-items: center; gap: 7px; }
.yc-chart-tip .tt-row + .tt-row { margin-top: 2px; }
.yc-chart-tip .tt-dot { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.yc-chart-tip .tt-val { font-family: var(--font-num); font-weight: 600; margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }

/* 顶栏内的 tooltip 改为向下弹出（元素贴视口顶部，向上弹不可见） */
.topbar [data-tip]:hover::after { bottom: auto; top: calc(100% + 8px); }

/* ---------- 头像下拉菜单 ---------- */
.avatar-wrap { position: relative; }
.yc-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80;
  min-width: 230px; background: var(--card); border-radius: var(--r-md);
  box-shadow: var(--sh-pop); padding: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity var(--fast), transform var(--fast);
}
.yc-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.yc-menu-head { padding: 10px 12px; box-shadow: 0 1px 0 var(--line); margin-bottom: 6px; }
.yc-menu-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 12px; border: none; background: none; border-radius: var(--r-sm);
  font-size: 13px; color: var(--t1); cursor: pointer; text-align: left;
  transition: background var(--fast); font-family: inherit;
}
.yc-menu-item:hover { background: var(--chip); }
.yc-menu-item svg { width: 15px; height: 15px; opacity: .7; flex: none; }
.yc-menu-item .mi-sub { font-size: 11px; color: var(--t3); margin-left: auto; }
.yc-menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--t4); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .sidebar { transform: translateX(-100%); transition: transform var(--norm); box-shadow: var(--sh-pop); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .menu-btn { display: grid; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-2-1, .g-1-2, .g-3-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .content { padding: 20px 16px 64px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .page-title { font-size: var(--text-xl); }
  .topbar { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}