/* d token 前台统一深蓝皮肤：仅在 html.dt-pub（首页/模型广场/排行榜/关于）生效，控制台不受影响 */
html.dt-pub{
  --background:#0a1228;--foreground:#eaf1ff;
  --card:rgba(22,38,82,.55);--card-foreground:#eaf1ff;
  --popover:#101c3d;--popover-foreground:#eaf1ff;
  --primary:#4cd2ff;--primary-foreground:#06102a;
  --secondary:rgba(120,160,255,.12);--secondary-foreground:#cfe8ff;
  --muted:rgba(120,160,255,.10);--muted-foreground:#9db0d8;
  --accent:rgba(76,210,255,.14);--accent-foreground:#fff;
  --border:rgba(120,160,255,.20);--input:rgba(120,160,255,.22);--ring:#4cd2ff;
  --destructive:#ff8a9b;
  --sidebar:#0b1430;--sidebar-foreground:#eaf1ff;--sidebar-border:rgba(120,160,255,.18);
  --sidebar-accent:rgba(76,210,255,.14);--sidebar-accent-foreground:#fff;--sidebar-primary:#4cd2ff;--sidebar-primary-foreground:#06102a;
  color-scheme:dark;
}
html.dt-pub body{
  background:radial-gradient(900px 600px at 100% 0,#1b2f6b 0,transparent 60%),radial-gradient(800px 600px at 0 100%,#1a2160 0,transparent 60%),#0a1228 fixed;
  background-attachment:fixed;
}
/* 浅色渐变的页面头图（模型广场等）压成透明，露出统一背景 */
html.dt-pub main [class*="from-"],html.dt-pub main [class*="bg-gradient"]{background-image:none !important}
html.dt-pub input,html.dt-pub textarea,html.dt-pub select{background-color:rgba(8,14,34,.7)}
html.dt-pub a:hover{color:inherit}

/* ===== 模型广场 /pricing：参考 i-token 的左对齐大标题 + 整行宽卡片 ===== */
/* 标题区：左对齐 */
html.dt-pub header.max-w-3xl.text-center{max-width:none !important;text-align:left !important;padding-top:28px}
html.dt-pub header.max-w-3xl.text-center > *{margin-left:0 !important;margin-right:0 !important;text-align:left !important;max-width:760px}
html.dt-pub header.max-w-3xl.text-center h1{font-size:clamp(2.4rem,5vw,3.8rem);letter-spacing:-.03em;color:#fff}
html.dt-pub header.max-w-3xl.text-center p{color:#9db0d8}

/* 卡片：单列整行宽 + 顶部渐变细条 */
html.dt-pub main.space-y-4 div.grid[class*="xl:grid-cols-3"]{grid-template-columns:1fr !important}
html.dt-pub main.space-y-4 [data-slot="card"]{
  position:relative;border-radius:22px;border:1px solid rgba(120,160,255,.22);
  background:linear-gradient(180deg,rgba(22,38,82,.55),rgba(10,18,40,.75));
  box-shadow:none;transition:border-color .2s,box-shadow .2s,transform .2s;
}
html.dt-pub main.space-y-4 [data-slot="card"]::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#4cd2ff,#8a7dff);
}
html.dt-pub main.space-y-4 [data-slot="card"]:hover{
  border-color:rgba(76,210,255,.45);box-shadow:0 0 28px rgba(76,210,255,.12);transform:translateY(-1px);
}
/* 筛选栏与工具栏做成同款圆角玻璃条 */
html.dt-pub aside [data-slot="card"],html.dt-pub main.space-y-4 > div:first-child{border-radius:18px}

/* 图表：坐标轴文字与网格线在深色底下可见 */
html.dt-pub svg text{fill:#9db0d8 !important}
html.dt-pub svg line,html.dt-pub svg [stroke="#e5e5e5"],html.dt-pub svg [stroke="#eee"]{stroke:rgba(120,160,255,.18)}

/* 前台强制深色，隐藏主题切换按钮 */
html.dt-pub header.fixed button:has(svg.lucide-sun){display:none !important}
