/* 视觉反差营销：Excel / PPT / 代码 IDE 伪装模式 */

.disguise-only-excel,
.disguise-only-ppt,
.disguise-only-ide,
.disguise-only-geek,
.disguise-only-finance {
  display: none !important;
}

html.disguise-excel .disguise-only-excel,
html.disguise-ppt .disguise-only-ppt,
html.disguise-ide .disguise-only-ide,
html.disguise-geek .disguise-only-geek,
html.disguise-finance .disguise-only-finance {
  display: block !important;
}

html.disguise-excel .disguise-excel-thead,
html.disguise-ppt .disguise-ppt-slide-meta,
html.disguise-finance .disguise-finance-thead {
  display: grid !important;
}

/* 切换时隐藏主内容，避免 Edge 重绘卡顿（勿用 * 通配符） */
html.disguise-switching body.page-home .site-main {
  visibility: hidden;
  pointer-events: none;
  contain: strict;
}

html.disguise-switching body.page-home .hot-board-card,
html.disguise-switching body.page-home .header-category-tab,
html.disguise-switching body.page-home .hot-board-item {
  transition: none !important;
}

body.page-home .hot-board-card {
  contain: layout style;
}

/* hidden 类兜底：激活伪装时强制显示 */
html.disguise-excel .disguise-only-excel.hidden,
html.disguise-ppt .disguise-only-ppt.hidden,
html.disguise-ide .disguise-only-ide.hidden,
html.disguise-geek .disguise-only-geek.hidden,
html.disguise-finance .disguise-only-finance.hidden {
  display: block !important;
}

html.disguise-excel .disguise-excel-ribbon.hidden,
html.disguise-ppt .disguise-ppt-ribbon.hidden {
  display: flex !important;
}

html.disguise-excel .disguise-excel-sheet-tab.hidden {
  display: inline-block !important;
}

html.disguise-ide .disguise-ide-tabbar.hidden {
  display: flex !important;
}

html.disguise-ide .disguise-vscode-dots.hidden {
  display: flex !important;
}

/* ── 切换菜单 ── */

#disguise-mode-menu {
  position: relative;
}

#disguise-mode-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 10.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}

html.dark #disguise-mode-panel {
  border-color: #374151;
  background: #1f2937;
}

.disguise-mode-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.55rem 0.65rem;
  text-align: left;
  font-size: 0.8125rem;
  color: #374151;
  cursor: pointer;
}

html.dark .disguise-mode-option {
  color: #e5e7eb;
}

.disguise-mode-option:hover {
  background: #f3f4f6;
}

html.dark .disguise-mode-option:hover {
  background: #374151;
}

.disguise-mode-option.is-active {
  font-weight: 600;
}

.disguise-mode-option.is-active[data-disguise-set='excel'] {
  background: #e8f5ee;
  color: #217346;
}

.disguise-mode-option.is-active[data-disguise-set='ppt'] {
  background: #fdf0eb;
  color: #b7472a;
}

.disguise-mode-option.is-active[data-disguise-set='ide'] {
  background: #252526;
  color: #4ec9b0;
}

.disguise-mode-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.disguise-mode-dot--normal {
  background: #9ca3af;
}

.disguise-mode-dot--excel {
  background: #217346;
}

.disguise-mode-dot--ppt {
  background: #b7472a;
}

.disguise-mode-dot--ide {
  background: #007acc;
}

.disguise-mode-dot--geek {
  background: #33ff33;
}

.disguise-mode-dot--finance {
  background: #c41e3a;
}

#disguise-mode-toggle.is-excel {
  color: #217346 !important;
}

#disguise-mode-toggle.is-ppt {
  color: #b7472a !important;
}

#disguise-mode-toggle.is-ide {
  color: #007acc !important;
}

#disguise-mode-toggle.is-geek {
  color: #1a8c1a !important;
}

#disguise-mode-toggle.is-finance {
  color: #c41e3a !important;
}

.disguise-mode-option.is-active[data-disguise-set='geek'] {
  background: #0c1f0c;
  color: #33ff33;
}

.disguise-mode-option.is-active[data-disguise-set='finance'] {
  background: #fff1f0;
  color: #c41e3a;
}

/* ── Excel 表格风 ── */

html.disguise-excel body.page-home {
  background: #f3f3f3 !important;
  color: #333;
}

html.disguise-excel body.page-home .site-header {
  background: linear-gradient(180deg, #217346 0%, #1a5c38 100%) !important;
  box-shadow: 0 2px 6px rgb(33 115 70 / 25%);
}

html.disguise-excel body.page-home .site-header-brand span,
html.disguise-excel body.page-home .header-category-tab,
html.disguise-excel body.page-home .header-action-btn,
html.disguise-excel body.page-home .header-user-name {
  color: #fff !important;
}

html.disguise-excel body.page-home .header-category-tab.font-medium,
html.disguise-excel body.page-home .header-category-tab.text-brand {
  color: #c8f0d8 !important;
}

html.disguise-excel body.page-home .mobile-section-title,
html.disguise-excel body.page-home .home-board-section h2 {
  color: #217346 !important;
  font-family: 'Segoe UI', Calibri, sans-serif;
}

html.disguise-excel body.page-home .hot-board-card {
  background: #fff !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 0 !important;
  box-shadow: 0 1px 3px rgb(0 0 0 / 8%) !important;
  font-family: Calibri, 'Segoe UI', sans-serif;
}

html.disguise-excel body.page-home .disguise-excel-ribbon {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #217346;
  color: #fff;
  font-size: 0.6875rem;
}

html.disguise-excel body.page-home .disguise-excel-sheet-tab {
  display: inline-block !important;
  margin-top: 0;
  padding: 0.2rem 0.65rem;
  background: #fff;
  color: #217346;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-radius: 0.25rem 0.25rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
}

html.disguise-excel body.page-home .hot-board-card-header {
  background: #f8f9fa !important;
  border-bottom: 1px solid #d4d4d4 !important;
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}

html.disguise-excel body.page-home .hot-board-card-header-title {
  color: #333 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

html.disguise-excel body.page-home .hot-board-card-header .platform-icon,
html.disguise-excel body.page-home .hot-board-card-header img {
  opacity: 0.5;
}

html.disguise-excel body.page-home .disguise-excel-thead {
  display: none;
  grid-template-columns: 2.5rem 1fr 5rem;
  gap: 0;
  border-bottom: 1px solid #d4d4d4;
  background: #e2efda;
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
}

html.disguise-excel body.page-home .disguise-excel-thead span {
  padding: 0.35rem 0.5rem;
  border-right: 1px solid #d4d4d4;
}

html.disguise-excel body.page-home .disguise-excel-thead span:last-child {
  border-right: none;
  text-align: right;
}

html.disguise-excel body.page-home .hot-board-item {
  display: grid !important;
  grid-template-columns: 2.5rem 1fr 5rem;
  gap: 0;
  align-items: stretch;
  padding: 0 !important;
  border-bottom: 1px solid #e0e0e0;
}

html.disguise-excel body.page-home .hot-board-item:hover {
  background: #e8f4fc !important;
}

html.disguise-excel body.page-home .hot-board-item-rank,
html.disguise-excel body.page-home .hot-board-item-title,
html.disguise-excel body.page-home .hot-board-item-hot {
  padding: 0.3rem 0.5rem;
  border-right: 1px solid #e0e0e0;
  align-self: center;
}

html.disguise-excel body.page-home .hot-board-item-hot {
  border-right: none;
  text-align: right;
  max-width: none !important;
  font-variant-numeric: tabular-nums;
  color: #333 !important;
  font-size: 0.8125rem !important;
}

html.disguise-excel body.page-home .hot-board-item-rank {
  width: auto !important;
  text-align: center !important;
  background: #f8f9fa;
  color: #666 !important;
  font-size: 0.75rem !important;
}

html.disguise-excel body.page-home .hot-board-item-rank.is-top1,
html.disguise-excel body.page-home .hot-board-item-rank.is-top3 {
  color: #666 !important;
  font-weight: 400 !important;
}

html.disguise-excel body.page-home .hot-board-item-title {
  color: #111 !important;
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  -webkit-line-clamp: 1;
}

html.disguise-excel body.page-home .group:hover .hot-board-item-title {
  color: #217346 !important;
}

html.disguise-excel body.page-home .hot-board-card-footer-desktop,
html.disguise-excel body.page-home .mobile-card-footer {
  background: #f8f9fa !important;
  border-top: 1px solid #d4d4d4 !important;
  color: #888 !important;
  font-family: Calibri, sans-serif;
}

/* ── PPT 报告风 ── */

html.disguise-ppt body.page-home {
  background: #ececec !important;
  color: #333;
}

html.disguise-ppt body.page-home .site-header {
  background: linear-gradient(180deg, #b7472a 0%, #943b22 100%) !important;
  box-shadow: 0 2px 8px rgb(183 71 42 / 25%);
}

html.disguise-ppt body.page-home .site-header-brand span,
html.disguise-ppt body.page-home .header-category-tab,
html.disguise-ppt body.page-home .header-action-btn,
html.disguise-ppt body.page-home .header-user-name {
  color: #fff !important;
}

html.disguise-ppt body.page-home .header-category-tab.font-medium,
html.disguise-ppt body.page-home .header-category-tab.text-brand {
  color: #ffd4c4 !important;
}

html.disguise-ppt body.page-home .mobile-section-title,
html.disguise-ppt body.page-home .home-board-section h2 {
  color: #b7472a !important;
}

html.disguise-ppt body.page-home .hot-board-card {
  background: #fff !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 0.25rem !important;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%) !important;
  overflow: hidden;
}

html.disguise-ppt body.page-home .disguise-ppt-ribbon {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #b7472a;
  color: #fff;
  font-size: 0.6875rem;
}

html.disguise-ppt body.page-home .disguise-ppt-ribbon::before {
  content: 'P';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 0.15rem;
  background: #fff;
  color: #b7472a;
  font-weight: 800;
  font-size: 0.625rem;
}

html.disguise-ppt body.page-home .hot-board-card-header {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%) !important;
  border-bottom: 2px solid #b7472a !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

html.disguise-ppt body.page-home .hot-board-card-header-title {
  color: #b7472a !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  white-space: normal;
}

html.disguise-ppt body.page-home .hot-board-card-header .platform-icon,
html.disguise-ppt body.page-home .hot-board-card-header img {
  display: none;
}

html.disguise-ppt body.page-home .disguise-ppt-slide-meta {
  display: none;
  grid-template-columns: 1fr auto;
  padding: 0.25rem 0.75rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  font-size: 0.6875rem;
  color: #888;
}

html.disguise-ppt body.page-home .hot-board-item {
  display: grid !important;
  grid-template-columns: 1.25rem 1fr auto;
  gap: 0.35rem;
  align-items: start;
  padding: 0.4rem 0.75rem !important;
  border-bottom: none;
}

html.disguise-ppt body.page-home .hot-board-item:hover {
  background: #fff8f5 !important;
}

html.disguise-ppt body.page-home .hot-board-item-rank {
  width: auto !important;
  color: #b7472a !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.4;
}

html.disguise-ppt body.page-home .hot-board-item-rank.is-top1,
html.disguise-ppt body.page-home .hot-board-item-rank.is-top3 {
  color: #b7472a !important;
}

html.disguise-ppt body.page-home .hot-board-item-title {
  color: #333 !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

html.disguise-ppt body.page-home .group:hover .hot-board-item-title {
  color: #b7472a !important;
}

html.disguise-ppt body.page-home .hot-board-item-hot {
  max-width: none !important;
  font-size: 0.6875rem !important;
  color: #999 !important;
  align-self: center;
}

html.disguise-ppt body.page-home .hot-board-card-footer-desktop,
html.disguise-ppt body.page-home .mobile-card-footer {
  background: #fafafa !important;
  border-top: 1px solid #eee !important;
  color: #aaa !important;
  font-style: italic;
}

html.disguise-ppt body.page-home .hot-board-card-footer-desktop span::before {
  content: '备注：数据来源内部监测 · ';
}

/* ── 代码 IDE / VS Code 风 ── */

html.disguise-ide body.page-home {
  background: #1e1e1e !important;
  color: #d4d4d4;
}

html.disguise-ide body.page-home .site-header {
  background: #323233 !important;
  box-shadow: 0 1px 0 #3c3c3c;
}

html.disguise-ide body.page-home .site-header-brand span,
html.disguise-ide body.page-home .header-category-tab,
html.disguise-ide body.page-home .header-action-btn {
  color: #cccccc !important;
}

html.disguise-ide body.page-home .header-category-tab.font-medium,
html.disguise-ide body.page-home .header-category-tab.text-brand {
  color: #4ec9b0 !important;
}

html.disguise-ide body.page-home .site-main,
html.disguise-ide body.page-home .site-footer {
  color: #d4d4d4;
}

html.disguise-ide body.page-home .site-footer,
html.disguise-ide body.page-home .site-footer-intro,
html.disguise-ide body.page-home .site-footer-update,
html.disguise-ide body.page-home .site-footer a {
  color: #6a9955 !important;
}

html.disguise-ide body.page-home .mobile-section-title,
html.disguise-ide body.page-home .home-board-section h2 {
  color: #4ec9b0 !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-ide body.page-home .hot-board-card {
  background: #1e1e1e !important;
  border: 1px solid #3c3c3c !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-ide body.page-home .disguise-ide-tabbar {
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem 0;
  background: #252526;
  border-bottom: 1px solid #3c3c3c;
}

html.disguise-ide body.page-home .disguise-ide-tabbar::before {
  content: attr(data-ide-file);
  flex: 1;
  font-size: 0.75rem;
  color: #fff;
  background: #1e1e1e;
  padding: 0.35rem 0.65rem;
  border-top: 1px solid #007acc;
}

html.disguise-ide body.page-home .disguise-vscode-dots {
  display: flex !important;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
}

html.disguise-ide body.page-home .disguise-vscode-dots span:nth-child(1) {
  background: #ff5f57;
}

html.disguise-ide body.page-home .disguise-vscode-dots span:nth-child(2) {
  background: #febc2e;
}

html.disguise-ide body.page-home .disguise-vscode-dots span:nth-child(3) {
  background: #28c840;
}

html.disguise-ide body.page-home .disguise-vscode-dots span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
}

html.disguise-ide body.page-home .hot-board-card-header {
  background: #1e1e1e !important;
  border-bottom: 1px solid #3c3c3c !important;
}

html.disguise-ide body.page-home .hot-board-card-header-title {
  color: #9cdcfe !important;
  font-size: 0.8125rem !important;
}

html.disguise-ide body.page-home .hot-board-card-header .platform-icon,
html.disguise-ide body.page-home .hot-board-card-header img {
  opacity: 0.3;
  filter: grayscale(1);
}

html.disguise-ide body.page-home .hot-board-item {
  border-left: 2px solid transparent;
}

html.disguise-ide body.page-home .hot-board-item:hover {
  background: #2a2d2e !important;
  border-left-color: #007acc;
}

html.disguise-ide body.page-home .hot-board-item-rank {
  color: #858585 !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-ide body.page-home .hot-board-item-rank.is-top1,
html.disguise-ide body.page-home .hot-board-item-rank.is-top3 {
  color: #b5cea8 !important;
}

html.disguise-ide body.page-home .hot-board-item-title {
  color: #ce9178 !important;
  font-weight: 400 !important;
  font-family: Consolas, 'Courier New', monospace;
  -webkit-line-clamp: 3;
}

html.disguise-ide body.page-home .group:hover .hot-board-item-title {
  color: #dcdcaa !important;
}

html.disguise-ide body.page-home .hot-board-item.disguise-weibo-error .hot-board-item-title {
  color: #f48771 !important;
}

html.disguise-ide body.page-home .hot-board-item.disguise-weibo-error:hover .hot-board-item-title {
  color: #ff9b86 !important;
}

html.disguise-ide body.page-home .hot-board-item-hot {
  color: #569cd6 !important;
  font-size: 0.75rem !important;
}

html.disguise-ide body.page-home .hot-board-card-footer-desktop,
html.disguise-ide body.page-home .mobile-card-footer {
  background: #007acc !important;
  border-top: none !important;
  color: #fff !important;
  font-size: 0.6875rem !important;
}

html.disguise-ide body.page-home .platform-icon-bar,
html.disguise-ide body.page-home .mobile-bottom-nav {
  background: #252526 !important;
  border-color: #3c3c3c !important;
}

/* ── 极客终端 / Linux 黑绿字 ── */

html.disguise-geek body.page-home {
  background: #0c0c0c !important;
  color: #33ff33;
}

html.disguise-geek body.page-home .site-header {
  background: #111 !important;
  box-shadow: 0 1px 0 #1a3d1a;
}

html.disguise-geek body.page-home .site-header-brand span,
html.disguise-geek body.page-home .header-category-tab,
html.disguise-geek body.page-home .header-action-btn {
  color: #33ff33 !important;
}

html.disguise-geek body.page-home .header-category-tab.font-medium,
html.disguise-geek body.page-home .header-category-tab.text-brand {
  color: #6bff6b !important;
}

html.disguise-geek body.page-home .site-main,
html.disguise-geek body.page-home .site-footer {
  color: #33ff33;
}

html.disguise-geek body.page-home .site-footer,
html.disguise-geek body.page-home .site-footer-intro,
html.disguise-geek body.page-home .site-footer-update,
html.disguise-geek body.page-home .site-footer a {
  color: #1f7a1f !important;
}

html.disguise-geek body.page-home .mobile-section-title,
html.disguise-geek body.page-home .home-board-section h2 {
  color: #33ff33 !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-geek body.page-home .hot-board-card {
  background: #000 !important;
  border: 1px solid #1a5c1a !important;
  border-radius: 0 !important;
  box-shadow: 0 0 12px rgb(51 255 51 / 8%) !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-geek body.page-home .disguise-geek-prompt {
  display: block !important;
  padding: 0.4rem 0.75rem;
  background: #0a0a0a;
  border-bottom: 1px solid #1a3d1a;
  color: #33ff33;
  font-size: 0.75rem;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-geek body.page-home .disguise-geek-prompt::before {
  content: '$ ';
  color: #6bff6b;
}

html.disguise-geek body.page-home .hot-board-card-header {
  background: #0a0a0a !important;
  border-bottom: 1px solid #1a3d1a !important;
}

html.disguise-geek body.page-home .hot-board-card-header-title {
  color: #33ff33 !important;
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
}

html.disguise-geek body.page-home .hot-board-card-header .platform-icon,
html.disguise-geek body.page-home .hot-board-card-header img {
  opacity: 0.25;
  filter: grayscale(1) brightness(1.5);
}

html.disguise-geek body.page-home .hot-board-item:hover {
  background: #0f1f0f !important;
}

html.disguise-geek body.page-home .hot-board-item-rank {
  color: #1f7a1f !important;
  font-family: Consolas, 'Courier New', monospace;
}

html.disguise-geek body.page-home .hot-board-item-rank.is-top1,
html.disguise-geek body.page-home .hot-board-item-rank.is-top3 {
  color: #6bff6b !important;
}

html.disguise-geek body.page-home .hot-board-item-title {
  color: #33ff33 !important;
  font-weight: 400 !important;
  font-family: Consolas, 'Courier New', monospace;
  -webkit-line-clamp: 3;
}

html.disguise-geek body.page-home .group:hover .hot-board-item-title {
  color: #6bff6b !important;
}

html.disguise-geek body.page-home .hot-board-item.disguise-weibo-error .hot-board-item-title {
  color: #ff5555 !important;
}

html.disguise-geek body.page-home .hot-board-item-hot {
  color: #2d8a2d !important;
  font-size: 0.75rem !important;
}

html.disguise-geek body.page-home .hot-board-card-footer-desktop,
html.disguise-geek body.page-home .mobile-card-footer {
  background: #0a0a0a !important;
  border-top: 1px solid #1a3d1a !important;
  color: #1f7a1f !important;
}

html.disguise-geek body.page-home .platform-icon-bar,
html.disguise-geek body.page-home .mobile-bottom-nav {
  background: #111 !important;
  border-color: #1a3d1a !important;
}

/* ── 金融研报 / 东方财富风 ── */

html.disguise-finance body.page-home {
  background: #f0f2f5 !important;
  color: #333;
}

html.disguise-finance body.page-home .site-header {
  background: linear-gradient(180deg, #c41e3a 0%, #a01830 100%) !important;
  box-shadow: 0 2px 8px rgb(196 30 58 / 25%);
}

html.disguise-finance body.page-home .site-header-brand span,
html.disguise-finance body.page-home .header-category-tab,
html.disguise-finance body.page-home .header-action-btn,
html.disguise-finance body.page-home .header-user-name {
  color: #fff !important;
}

html.disguise-finance body.page-home .header-category-tab.font-medium,
html.disguise-finance body.page-home .header-category-tab.text-brand {
  color: #ffe082 !important;
  font-weight: 700 !important;
}

html.disguise-finance body.page-home .mobile-section-title,
html.disguise-finance body.page-home .home-board-section h2 {
  color: #c41e3a !important;
}

html.disguise-finance body.page-home .hot-board-card {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 0.25rem !important;
  overflow: hidden;
}

html.disguise-finance body.page-home .hot-board-card-header {
  background: linear-gradient(180deg, #c41e3a 0%, #a01830 100%) !important;
  border-bottom: none !important;
}

html.disguise-finance body.page-home .hot-board-card-header-title {
  color: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
}

html.disguise-finance body.page-home .hot-board-card-header .platform-icon,
html.disguise-finance body.page-home .hot-board-card-header img {
  filter: brightness(1.8);
}

html.disguise-finance body.page-home .disguise-finance-thead {
  display: none;
  grid-template-columns: 4.5rem 1fr 4.5rem;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  font-size: 0.6875rem;
  color: #888;
}

html.disguise-finance body.page-home .disguise-finance-thead span:last-child {
  text-align: right;
}

html.disguise-finance body.page-home .hot-board-item {
  display: grid !important;
  grid-template-columns: 4.5rem 1fr 4.5rem;
  gap: 0.25rem;
  align-items: center;
  padding: 0.4375rem 0.75rem;
  border-bottom: 1px solid #f5f5f5;
}

html.disguise-finance body.page-home .hot-board-item:hover {
  background: #fff8f0 !important;
}

html.disguise-finance body.page-home .hot-board-item-rank {
  width: auto !important;
  text-align: left !important;
  font-size: 0.75rem !important;
  color: #666 !important;
}

html.disguise-finance body.page-home .hot-board-item-rank.is-top1,
html.disguise-finance body.page-home .hot-board-item-rank.is-top3 {
  color: #666 !important;
  font-weight: 400 !important;
}

html.disguise-finance body.page-home .hot-board-item-title {
  color: #222 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  -webkit-line-clamp: 1;
}

html.disguise-finance body.page-home .group:hover .hot-board-item-title {
  color: #c41e3a !important;
}

html.disguise-finance body.page-home .hot-board-item-hot {
  max-width: none !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
}

html.disguise-finance body.page-home .hot-board-item-hot.is-up {
  color: #e53935 !important;
}

html.disguise-finance body.page-home .hot-board-item-hot.is-down {
  color: #1b8a3e !important;
}

html.disguise-finance body.page-home .hot-board-card-footer-desktop,
html.disguise-finance body.page-home .mobile-card-footer {
  background: #fafafa !important;
  border-top: 1px solid #eee !important;
  color: #999 !important;
}

@media (max-width: 640px) {
  #disguise-mode-toggle [data-disguise-label] {
    display: none;
  }

  html.disguise-excel body.page-home .hot-board-item,
  html.disguise-excel body.page-home .disguise-excel-thead {
    grid-template-columns: 2rem 1fr 3.5rem;
  }

  html.disguise-finance body.page-home .hot-board-item,
  html.disguise-finance body.page-home .disguise-finance-thead {
    grid-template-columns: 3.25rem 1fr 3.75rem;
  }
}

/* ══════════════════════════════════════════
   夜间模式兼容：html.dark + 伪装模式
   ══════════════════════════════════════════ */

/* Excel · 深色表格 */
html.dark.disguise-excel body.page-home {
  background: #1a1a1a !important;
  color: #e0e0e0;
}

html.dark.disguise-excel body.page-home .site-footer,
html.dark.disguise-excel body.page-home .site-footer-intro,
html.dark.disguise-excel body.page-home .site-footer-update,
html.dark.disguise-excel body.page-home .site-footer a {
  color: #6b9080 !important;
}

html.dark.disguise-excel body.page-home .mobile-section-title,
html.dark.disguise-excel body.page-home .home-board-section h2 {
  color: #6bbf8a !important;
}

html.dark.disguise-excel body.page-home .hot-board-card {
  background: #2d2d2d !important;
  border-color: #444 !important;
}

html.dark.disguise-excel body.page-home .disguise-excel-sheet-tab {
  background: #2d2d2d !important;
  color: #6bbf8a !important;
  border-color: #444 !important;
}

html.dark.disguise-excel body.page-home .hot-board-card-header {
  background: #333 !important;
  border-bottom-color: #444 !important;
}

html.dark.disguise-excel body.page-home .hot-board-card-header-title {
  color: #e0e0e0 !important;
}

html.dark.disguise-excel body.page-home .disguise-excel-thead {
  background: #1e3d2a !important;
  border-bottom-color: #444 !important;
  color: #c8f0d8 !important;
}

html.dark.disguise-excel body.page-home .disguise-excel-thead span {
  border-right-color: #444 !important;
}

html.dark.disguise-excel body.page-home .hot-board-item {
  border-bottom-color: #3a3a3a !important;
}

html.dark.disguise-excel body.page-home .hot-board-item:hover {
  background: #353535 !important;
}

html.dark.disguise-excel body.page-home .hot-board-item-rank,
html.dark.disguise-excel body.page-home .hot-board-item-title,
html.dark.disguise-excel body.page-home .hot-board-item-hot {
  border-right-color: #3a3a3a !important;
}

html.dark.disguise-excel body.page-home .hot-board-item-rank {
  background: #262626 !important;
  color: #9ca3af !important;
}

html.dark.disguise-excel body.page-home .hot-board-item-rank.is-top1,
html.dark.disguise-excel body.page-home .hot-board-item-rank.is-top3 {
  color: #9ca3af !important;
}

html.dark.disguise-excel body.page-home .hot-board-item-title {
  color: #f3f4f6 !important;
}

html.dark.disguise-excel body.page-home .group:hover .hot-board-item-title {
  color: #6bbf8a !important;
}

html.dark.disguise-excel body.page-home .hot-board-item-hot {
  color: #d1d5db !important;
}

html.dark.disguise-excel body.page-home .hot-board-card-footer-desktop,
html.dark.disguise-excel body.page-home .mobile-card-footer {
  background: #262626 !important;
  border-top-color: #444 !important;
  color: #9ca3af !important;
}

html.dark.disguise-excel body.page-home .platform-icon-bar,
html.dark.disguise-excel body.page-home .mobile-bottom-nav {
  background: #1e1e1e !important;
  border-color: #333 !important;
}

html.dark.disguise-excel #disguise-mode-toggle.is-excel {
  color: #c8f0d8 !important;
}

/* PPT · 深色放映 */
html.dark.disguise-ppt body.page-home {
  background: #1e1e1e !important;
  color: #e5e5e5;
}

html.dark.disguise-ppt body.page-home .site-footer,
html.dark.disguise-ppt body.page-home .site-footer-intro,
html.dark.disguise-ppt body.page-home .site-footer-update,
html.dark.disguise-ppt body.page-home .site-footer a {
  color: #9a7a70 !important;
}

html.dark.disguise-ppt body.page-home .mobile-section-title,
html.dark.disguise-ppt body.page-home .home-board-section h2 {
  color: #e8927c !important;
}

html.dark.disguise-ppt body.page-home .hot-board-card {
  background: #2b2b2b !important;
  border-color: #444 !important;
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%) !important;
}

html.dark.disguise-ppt body.page-home .hot-board-card-header {
  background: linear-gradient(180deg, #2b2b2b 0%, #242424 100%) !important;
  border-bottom-color: #b7472a !important;
}

html.dark.disguise-ppt body.page-home .hot-board-card-header-title {
  color: #e8927c !important;
}

html.dark.disguise-ppt body.page-home .disguise-ppt-slide-meta {
  background: #242424 !important;
  border-bottom-color: #3a3a3a !important;
  color: #9ca3af !important;
}

html.dark.disguise-ppt body.page-home .hot-board-item:hover {
  background: #333 !important;
}

html.dark.disguise-ppt body.page-home .hot-board-item-rank {
  color: #e8927c !important;
}

html.dark.disguise-ppt body.page-home .hot-board-item-title {
  color: #f3f4f6 !important;
}

html.dark.disguise-ppt body.page-home .group:hover .hot-board-item-title {
  color: #e8927c !important;
}

html.dark.disguise-ppt body.page-home .hot-board-item-hot {
  color: #9ca3af !important;
}

html.dark.disguise-ppt body.page-home .hot-board-card-footer-desktop,
html.dark.disguise-ppt body.page-home .mobile-card-footer {
  background: #242424 !important;
  border-top-color: #3a3a3a !important;
  color: #9ca3af !important;
}

html.dark.disguise-ppt body.page-home .platform-icon-bar,
html.dark.disguise-ppt body.page-home .mobile-bottom-nav {
  background: #1e1e1e !important;
  border-color: #333 !important;
}

html.dark.disguise-ppt .mobile-bottom-nav-item {
  color: #9ca3af !important;
}

html.dark.disguise-ppt .mobile-bottom-nav-item.is-active {
  color: #e8927c !important;
}

html.dark.disguise-ppt #disguise-mode-toggle.is-ppt {
  color: #ffd4c4 !important;
}

/* 金融研报 · 深色行情 */
html.dark.disguise-finance body.page-home {
  background: #121218 !important;
  color: #e5e7eb;
}

html.dark.disguise-finance body.page-home .site-footer,
html.dark.disguise-finance body.page-home .site-footer-intro,
html.dark.disguise-finance body.page-home .site-footer-update,
html.dark.disguise-finance body.page-home .site-footer a {
  color: #9ca3af !important;
}

html.dark.disguise-finance body.page-home .mobile-section-title,
html.dark.disguise-finance body.page-home .home-board-section h2 {
  color: #ff8a8a !important;
}

html.dark.disguise-finance body.page-home .hot-board-card {
  background: #1e1e28 !important;
  border-color: #2a2a36 !important;
}

html.dark.disguise-finance body.page-home .disguise-finance-thead {
  background: #252530 !important;
  border-bottom-color: #2a2a36 !important;
  color: #9ca3af !important;
}

html.dark.disguise-finance body.page-home .hot-board-item {
  border-bottom-color: #2a2a36 !important;
}

html.dark.disguise-finance body.page-home .hot-board-item:hover {
  background: #252530 !important;
}

html.dark.disguise-finance body.page-home .hot-board-item-rank {
  color: #9ca3af !important;
}

html.dark.disguise-finance body.page-home .hot-board-item-rank.is-top1,
html.dark.disguise-finance body.page-home .hot-board-item-rank.is-top3 {
  color: #9ca3af !important;
}

html.dark.disguise-finance body.page-home .hot-board-item-title {
  color: #f3f4f6 !important;
}

html.dark.disguise-finance body.page-home .group:hover .hot-board-item-title {
  color: #ff8a8a !important;
}

html.dark.disguise-finance body.page-home .hot-board-item-hot.is-up {
  color: #ff6b6b !important;
}

html.dark.disguise-finance body.page-home .hot-board-item-hot.is-down {
  color: #4ade80 !important;
}

html.dark.disguise-finance body.page-home .hot-board-card-footer-desktop,
html.dark.disguise-finance body.page-home .mobile-card-footer {
  background: #252530 !important;
  border-top-color: #2a2a36 !important;
  color: #9ca3af !important;
}

html.dark.disguise-finance body.page-home .platform-icon-bar,
html.dark.disguise-finance body.page-home .mobile-bottom-nav {
  background: #1a1a22 !important;
  border-color: #2a2a36 !important;
}

html.dark.disguise-finance #disguise-mode-toggle.is-finance {
  color: #ffe082 !important;
}

/* IDE · 夜间加深 */
html.dark.disguise-ide body.page-home .site-header {
  background: #252526 !important;
  border-bottom: 1px solid #3c3c3c !important;
}

html.dark.disguise-ide body.page-home .header-user-menu-panel,
html.dark.disguise-ide body.page-home .header-category-more-panel {
  background: #252526 !important;
  border-color: #3c3c3c !important;
}

html.dark.disguise-ide body.page-home .header-user-menu-item {
  color: #cccccc !important;
}

html.dark.disguise-ide body.page-home .header-user-menu-item:hover {
  background: #2a2d2e !important;
  color: #4ec9b0 !important;
}

html.dark.disguise-ide body.page-home .hot-board-item-rank.is-top1 {
  color: #b5cea8 !important;
}

html.dark.disguise-ide body.page-home .hot-board-item-rank.is-top3 {
  color: #b5cea8 !important;
}

html.dark.disguise-ide body.page-home .hot-board-item-title {
  color: #ce9178 !important;
}

html.dark.disguise-ide body.page-home .hot-board-item-hot {
  color: #569cd6 !important;
}

html.dark.disguise-ide body.page-home .mobile-card-subscribe {
  border-color: #007acc !important;
  color: #4fc3f7 !important;
}

html.dark.disguise-ide body.page-home .mobile-card-expand {
  color: #4fc3f7 !important;
}

html.dark.disguise-ide .mobile-bottom-nav-item.is-active {
  color: #4ec9b0 !important;
}

html.dark.disguise-ide #disguise-mode-toggle.is-ide {
  color: #4ec9b0 !important;
}

/* 极客终端 · 夜间 */
html.dark.disguise-geek body.page-home .site-header {
  background: #0a0a0a !important;
  border-bottom: 1px solid #1a3d1a !important;
}

html.dark.disguise-geek body.page-home .header-user-menu-panel,
html.dark.disguise-geek body.page-home .header-category-more-panel {
  background: #0a0a0a !important;
  border-color: #1a3d1a !important;
}

html.dark.disguise-geek body.page-home .header-user-menu-item {
  color: #33ff33 !important;
}

html.dark.disguise-geek body.page-home .header-user-menu-item:hover {
  background: #0f1f0f !important;
  color: #6bff6b !important;
}

html.dark.disguise-geek body.page-home .hot-board-item-rank.is-top1,
html.dark.disguise-geek body.page-home .hot-board-item-rank.is-top3 {
  color: #6bff6b !important;
}

html.dark.disguise-geek body.page-home .hot-board-item-title {
  color: #33ff33 !important;
}

html.dark.disguise-geek body.page-home .hot-board-item-hot {
  color: #2d8a2d !important;
}

html.dark.disguise-geek body.page-home .mobile-card-subscribe {
  border-color: #33ff33 !important;
  color: #6bff6b !important;
}

html.dark.disguise-geek body.page-home .mobile-card-expand {
  color: #6bff6b !important;
}

html.dark.disguise-geek .mobile-bottom-nav-item.is-active {
  color: #6bff6b !important;
}

html.dark.disguise-geek #disguise-mode-toggle.is-geek {
  color: #6bff6b !important;
}

/* 伪装模式下用户菜单 / 底部导航不与站点夜间样式冲突 */
html.dark.disguise-excel body.page-home .header-user-menu-panel,
html.dark.disguise-excel body.page-home .header-category-more-panel,
html.dark.disguise-ppt body.page-home .header-user-menu-panel,
html.dark.disguise-ppt body.page-home .header-category-more-panel,
html.dark.disguise-finance body.page-home .header-user-menu-panel,
html.dark.disguise-finance body.page-home .header-category-more-panel {
  background: #1f1f1f !important;
  border-color: #333 !important;
}

html.dark.disguise-excel body.page-home .header-user-menu-item,
html.dark.disguise-ppt body.page-home .header-user-menu-item,
html.dark.disguise-finance body.page-home .header-user-menu-item {
  color: #e5e7eb !important;
}

html.dark.disguise-excel .mobile-bottom-nav-item.is-active {
  color: #6bbf8a !important;
}

html.dark.disguise-finance .mobile-bottom-nav-item.is-active {
  color: #ff8a8a !important;
}
