/* 粉丝助手全站深色主题（覆盖 Tailwind 浅色类） */
html { color-scheme: dark; }
body {
  background-color: #0f172a !important;  /* slate-900 */
  color: #e2e8f0 !important;             /* slate-200 */
}

/* 背景覆盖 */
.bg-white { background-color: #1e293b !important; }          /* slate-800 */
.bg-gray-50, .bg-gray-100, .bg-slate-50, .bg-slate-100 { background-color: #1e293b !important; }
/* 只覆盖浅色渐变（深色/彩色渐变如紫色公告栏保留原色） */
.from-slate-100, .from-gray-50, .from-blue-50, .from-slate-50, .from-white { --tw-gradient-from: #0f172a !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-blue-50, .to-white, .to-slate-100 { --tw-gradient-to: #1e293b !important; }

/* 文字覆盖 */
.text-gray-500, .text-gray-600, .text-gray-700, .text-slate-500, .text-slate-600 { color: #94a3b8 !important; }
.text-gray-800, .text-gray-900, .text-slate-700, .text-slate-800, .text-slate-900 { color: #e2e8f0 !important; }
.text-black { color: #e2e8f0 !important; }

/* 边框覆盖 */
.border-gray-100, .border-gray-200, .border-slate-100, .border-slate-200 { border-color: #334155 !important; }
.divide-gray-100, .divide-gray-200 { --tw-divide-opacity: 1; border-color: #334155 !important; }

/* 卡片/区块 */
.shadow-sm, .shadow, .shadow-md, .shadow-lg { box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important; }

/* hover 状态 */
.hover\:bg-gray-50:hover, .hover\:bg-gray-100:hover { background-color: #334155 !important; }

/* 表单 */
input, select, textarea {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
input::placeholder, textarea::placeholder { color: #64748b !important; }

/* 表格 */
thead { background-color: #1e293b !important; }
tr:nth-child(even) { background-color: #22324e; }
tr:nth-child(even):hover { background-color: #334155 !important; }

/* 链接 */
a { color: #60a5fa; }
a:hover { color: #93c5fd; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

/* 金色按钮强制深色文字（logo 色） */
.bg-\[#F0B90B\] { color: #0f172a !important; }
a.bg-\[#F0B90B\]:hover { color: #0f172a !important; }
