🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.
Python ai-agentai-assistantchatbotclaudecomputer-usedeepseekdesktop-appdshelectronfeishugeminigptgrokllmlocal-firstmodelflaremulti-modelopenai-compatiblepersonal-ai-agentwechat
@layer tokens, base, components, app, utilities;
/* 附属页的专用版式:下载、安全说明、开源许可、404。页面骨架(.page、.page__head、.page__section)在 components.css。 */
@layer app {
/* —— 下载 ——
版式和首页同一套:居中的页头 + 一个主操作,下面是等宽的卡片。层次靠留白和细线,不靠色块、边条;品牌色只给页头的主按钮和“你的系统”。
结构见 views/DownloadView.astro。 */
/* 页头和平台卡落在一块圆角大卡片里(.scene-top,在 hero-scene.css),背景和动画都和首页 Hero 同一套 */
.dl-page { padding-top: 0; }
.dl-hero { display: grid; justify-items: center; margin-bottom: var(--stack-head); text-align: center; }
.dl-hero__mark { margin-bottom: var(--space-6); }
.dl-hero .lead { max-width: 34em; margin-top: var(--space-4); }
:lang(zh) .dl-hero .lead { max-width: 32em; }
.dl-hero .dl { justify-items: center; margin-top: var(--space-8); }
.dl-hero__meta { margin-top: var(--space-4); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.dl-hero__meta a { color: inherit; text-decoration: underline 1px var(--line-strong); text-underline-offset: 4px; }
.dl-hero__meta a:hover { color: var(--text); text-decoration-color: currentColor; }
/* 图标底片:和首页“在哪都找得到它”的入口同一种 */
.dl-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text); background: var(--grain), var(--glass-strong); box-shadow: var(--glass-ring), 0 8px 18px -12px var(--shadow-c); }
.dl-sub { color: var(--text-2); font-size: var(--fs-body-sm); line-height: 1.6; }
/* 平台:三张卡共用四行(图标、名称、按钮、首次运行),subgrid 让各行在卡片之间对齐 */
.dl-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-4); }
.dl-plat { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.dl-plat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-6); }
.dl-plat__meta { margin-top: var(--space-1); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.dl-plat__btns { display: flex; flex-wrap: wrap; align-self: start; gap: var(--space-2); margin-top: var(--space-6); }
.dl-plat__btns .btn { flex: 1 1 148px; gap: 8px; padding-inline: 12px; }
.dl-plat__hint { display: grid; align-content: start; gap: var(--space-2); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.dl-plat__tip { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.dl-note { max-width: 48em; margin: var(--space-6) auto 0; text-align: center; }
/* 复制按钮:代码块里只留图标,不再套一圈边 */
.dl-page .copy-btn { width: 32px; padding: 0; justify-content: center; box-shadow: none; }
/* 其它安装方式:两张卡,每张三步,每步一条能复制的命令 */
.dl-sec { margin-top: var(--stack-block); }
.dl-sec > .subhead { margin-bottom: var(--space-8); }
.dl-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.dl-way { display: grid; align-content: start; }
.dl-way .dl-ico { margin-bottom: var(--space-6); }
.dl-way .dl-sub { margin-top: var(--space-1); }
.dl-steps { display: grid; gap: var(--space-4); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); counter-reset: dl-step; }
.dl-steps > li { display: grid; gap: var(--space-2); counter-increment: dl-step; }
.dl-steps__label { display: flex; gap: var(--space-2); font-size: var(--fs-sm); line-height: 1.6; }
.dl-steps__label::before { content: counter(dl-step); flex: none; font-family: var(--font-mono); color: var(--text-2); }
.dl-way .warnnote { margin-top: var(--space-4); }
/* 校验:左边命令,右边完整的 SHA-256;宽度放得下时一行显示完,放不下就在块内换行,不截断 */
.dl-verify { display: grid; gap: var(--space-8) var(--space-12); }
.dl-verify__how { display: grid; align-content: start; gap: var(--space-4); }
.dl-verify__cmds { display: grid; gap: var(--space-3); }
.dl-verify__cmds dt { margin-bottom: var(--space-2); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.dl-sums { align-self: start; padding: var(--space-2) var(--space-6); }
.dl-sums__row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: var(--space-1) var(--space-4); padding-block: var(--space-3); }
.dl-sums__row + .dl-sums__row { border-top: 1px solid var(--line); }
.dl-sums__name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.5; }
.dl-sums__name .muted { font-weight: 400; }
.dl-sums__hash { font-size: var(--fs-xs); line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
@media (min-width: 1200px) {
.dl-verify { grid-template-columns: minmax(0, 1fr) minmax(0, 752px); }
}
@media (max-width: 1023px) {
.dl-plats { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-4); max-width: 560px; margin-inline: auto; }
.dl-plat { grid-row: auto; grid-template-rows: none; }
.dl-ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
.dl-sums { padding-inline: var(--space-4); }
.dl-sums__row { grid-template-columns: minmax(0, 1fr) auto; }
.dl-sums__hash { grid-column: 1 / -1; grid-row: 2; }
.dl-sums__row .copy-btn { grid-column: 2; grid-row: 1; }
}
/* —— 合作伙伴 ——
和首页同一种语言:首屏和首页 Hero 同一套(.scene-top:居中的页头 → 地平线托着三条佣金通知),章节头用 SectionHead,层次靠字号、留白和细线。
品牌色只给主按钮、标题关键词、第三步和“获得佣金”这条通知。结构见 views/PartnersView.astro。
内容的动效只有一个:三条通知依次到达(只播一次);背景的动画和首页 Hero 一样,写在 hero-scene.css。 */
.pt-page { padding-top: 0; }
.pt-body { color: var(--text-2); font-size: var(--fs-body); line-height: 1.7; text-wrap: pretty; }
.pt-body a, .pt-mail a { color: var(--text); text-decoration: underline 1px var(--line-strong); text-underline-offset: 4px; }
.pt-body a:hover, .pt-mail a:hover { text-decoration-color: currentColor; }
.pt-sec { margin-top: clamp(80px, 10vw, 136px); }
/* 首屏页头:和首页 Hero 同一列——小胶囊 → 标题 → 说明 → 按钮 → 要点,居中;标题背后的星有意稀一些(HeroSky) */
.pt-hero { display: grid; justify-items: center; margin-bottom: var(--stack-head); text-align: center; }
/* 小胶囊:和首页的同一种,六个机器人叠成一排 + 一句话,这里不是链接 */
.pt-eyebrow {
display: inline-flex; align-items: center; gap: 10px; height: 36px; margin-bottom: var(--space-6); padding: 0 14px 0 5px;
border-radius: var(--r-btn); background: var(--grain), var(--glass); box-shadow: var(--glass-ring);
font-size: var(--fs-sm); font-weight: 500; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.pt-crew { display: inline-flex; }
.pt-crew .bot-face { margin-left: -8px; border-radius: 50%; background: var(--bg-raised); box-shadow: 0 0 0 2px var(--hero-panel-top); }
.pt-crew .bot-face:first-child { margin-left: 0; }
/* 标题:第一行渐隐的渐变字,第二行是关键词(品牌色 + 光晕),和首页 Hero 同一种。渐变字上下多留一点内边距,字形的上下沿不会被裁掉 */
.pt-hero h1 { display: grid; justify-items: center; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
:is(:lang(zh), :lang(ja), :lang(ko)) .pt-hero h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.2; letter-spacing: -.02em; }
:lang(ru) .pt-hero h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -.03em; }
.pt-hero h1 > :is(span, em) {
display: block; padding-block: .1em; margin-block: -.1em; font-style: normal;
color: transparent; -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text;
}
.pt-hero h1 > span { background-image: linear-gradient(180deg, var(--text) 32%, color-mix(in srgb, var(--text) 60%, transparent)); }
.pt-hero h1 > em { position: relative; background-image: linear-gradient(180deg, var(--lime-200), var(--lime) 70%); }
/* 浅色下黄绿的字发脏,关键词改用天天的蓝(和首页 Hero 第一幕一样) */
[data-theme="light"] .pt-hero h1 > em { background-image: linear-gradient(180deg, oklch(.56 .17 var(--hero-hue)), oklch(.44 .15 calc(var(--hero-hue) + 18))); }
.pt-hero h1 > em::before { content: ""; position: absolute; inset: 18% -6% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--hero-em-glow), transparent); filter: blur(16px); }
.pt-hero .lead { max-width: 36em; margin-top: var(--space-6); text-wrap: balance; }
:is(:lang(zh), :lang(ja), :lang(ko)) .pt-hero .lead { max-width: 34em; }
.pt-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }
.pt-hero__cta .btn--primary { box-shadow: 0 16px 44px -14px var(--hero-cta-glow); }
.pt-hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.pt-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.pt-hero__points .icon { flex: none; width: 14px; height: 14px; color: oklch(.8 .13 var(--hero-hue)); }
[data-theme="light"] .pt-hero__points .icon { color: oklch(.52 .15 var(--hero-hue)); }
/* 舞台:地平线托着三条通知,一路走到“获得佣金”;一条细线把它们连起来 */
.pt-feed { display: grid; gap: var(--space-3); margin: 0; }
.pt-feed ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.pt-feed__item { position: relative; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-6); border-radius: var(--r-card); background: var(--grain), var(--glass-strong); box-shadow: var(--glass-ring), 0 24px 60px -32px var(--shadow-c); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); font-size: var(--fs-body-sm); line-height: 1.5; }
.pt-feed__item:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: 100%; width: var(--space-4); height: 1px; background: var(--line-strong); }
.pt-feed__item .bot-face { flex: none; }
.pt-feed__coin { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--signal-bg); color: var(--signal-fg); }
.pt-feed__coin .icon { width: 20px; height: 20px; }
.pt-feed__item--earn { font-weight: 600; font-size: var(--fs-body); box-shadow: inset 0 0 0 1.5px var(--accent-fg), 0 24px 60px -32px var(--shadow-c); }
.pt-feed figcaption { justify-self: center; color: var(--text-2); font-size: var(--fs-xs); }
@media (prefers-reduced-motion: no-preference) {
.pt-feed__item { animation: pt-arrive .55s var(--ease-out) calc(var(--i) * 480ms + 240ms) backwards; }
}
@keyframes pt-arrive { from { opacity: 0; translate: 0 14px; } }
/* 三步:节点 + 细线,第三步是品牌色 */
.pt-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.pt-path > li { position: relative; display: grid; align-content: start; justify-items: start; }
.pt-path__no { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--space-6); border-radius: 50%; font-family: var(--font-mono); font-size: var(--fs-body-sm); color: var(--text); background: var(--grain), var(--glass-strong); box-shadow: var(--glass-ring); }
.pt-path > li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 64px; right: calc(16px - var(--space-8)); height: 1px; background: var(--line-strong); }
.pt-path > li:last-child .pt-path__no { background: var(--signal-bg); color: var(--signal-fg); box-shadow: none; }
.pt-path .pt-body { margin-top: var(--space-3); }
.pt-path__cta { margin-top: var(--space-12); }
/* 适合谁:做什么 → 细线 → 能多什么 */
.pt-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.pt-who__card { display: flex; flex-direction: column; padding: clamp(24px, 2.8vw, 36px); border-radius: var(--r-feature); }
.pt-who__card .dl-ico { margin-bottom: var(--space-8); }
.pt-who__card .pt-body { flex: 1; margin-top: var(--space-3); }
.pt-who__gain { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--text); font-size: var(--fs-body-sm); font-weight: 500; line-height: 1.5; }
.pt-who__gain .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--accent-fg); }
/* 为什么好推广:三张卡各带一样实物(厂商标志、留在设备上的数据、机器人) */
.pt-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4); }
.pt-bento__card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-feature); }
.pt-bento__card .pt-body { margin-top: var(--space-3); }
.pt-bento__card--models { grid-column: span 7; }
.pt-bento__card--data { grid-column: span 5; }
.pt-bento__card--bots { grid-column: span 12; flex-direction: row; align-items: center; }
.pt-bento__card--bots > div:first-child { max-width: 30em; }
.pt-tiles { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pt-tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--text); background: var(--grain), var(--glass-strong); box-shadow: var(--glass-ring); }
.pt-tile .vlogo { display: block; }
.pt-stays { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pt-stays li { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-btn); color: var(--text); font-size: var(--fs-sm); background: var(--grain), var(--glass-strong); box-shadow: var(--glass-ring); }
.pt-stays .icon { width: 14px; height: 14px; color: var(--accent-fg); }
.pt-bots { flex: none; display: flex; gap: clamp(8px, 1.4vw, 20px); }
/* 申请:左边说明和邮箱,右边去 Modelflare 控制台的入口 */
.pt-apply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--grid-gap); align-items: start; }
.pt-apply__intro { display: grid; gap: var(--space-6); }
.pt-apply__points { display: grid; gap: var(--space-3); }
.pt-apply__points li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--fs-body); line-height: 1.6; }
.pt-apply__points .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent-fg); }
.pt-apply__mail { display: grid; gap: var(--space-2); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.pt-apply__mail > p:first-child { color: var(--text-2); font-size: var(--fs-sm); }
.pt-mail { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-body); overflow-wrap: anywhere; }
.pt-mail .copy-btn { padding: 0 8px; }
/* 入口卡片 */
.pt-panel { display: grid; justify-items: start; gap: var(--space-4); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-feature); }
.pt-panel__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
@media (max-width: 1023px) {
.pt-who, .pt-apply { grid-template-columns: minmax(0, 1fr); }
/* 通知改成竖排,细线往下连到下一条(对准机器人头像的中心) */
.pt-feed ol { grid-template-columns: minmax(0, 1fr); width: min(100%, 560px); margin-inline: auto; }
.pt-feed__item:not(:last-child)::after { top: 100%; left: calc(var(--space-6) + 20px); width: 1px; height: var(--space-4); }
.pt-bento__card--models, .pt-bento__card--data { grid-column: span 12; }
.pt-bento__card--bots { flex-direction: column; align-items: flex-start; }
/* 三步改成竖排:节点在左,细线往下连到下一步 */
.pt-path { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.pt-path > li { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-4); }
.pt-path__no { grid-row: span 2; margin-bottom: 0; }
.pt-path > li > .h3, .pt-path > li > .pt-body { grid-column: 2; }
.pt-path > li:not(:last-child)::after { top: 56px; bottom: calc(8px - var(--space-8)); left: 24px; right: auto; width: 1px; height: auto; }
}
@media (max-width: 767px) {
.pt-eyebrow { margin-bottom: var(--space-4); font-size: var(--fs-xs); }
.pt-crew .bot-face:nth-child(n + 4) { display: none; }
.pt-hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
:is(:lang(zh), :lang(ja), :lang(ko)) .pt-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
:lang(ru) .pt-hero h1 { font-size: clamp(28px, 7.6vw, 36px); }
.pt-hero .lead { margin-top: var(--space-4); }
.pt-hero__cta, .pt-hero__cta .btn, .pt-path__cta, .pt-panel__actions, .pt-panel__actions .btn { width: 100%; }
.pt-feed__item { padding: var(--space-4); }
.pt-feed__item:not(:last-child)::after { left: calc(var(--space-4) + 20px); }
.pt-tile { width: 48px; height: 48px; }
.pt-bots { flex-wrap: wrap; gap: var(--space-2); }
.pt-bots .bot-face { --s: 44px !important; }
}
/* —— 安全说明:对照表里 AnyModelBot 一列用正文色,最后两行(出网、可审计)加重 —— */
.compare td:nth-child(2) { color: var(--text); }
.compare tbody tr:nth-last-child(-n+2) td:nth-child(2) { font-weight: 500; }
/* —— 开源许可 —— */
.licenses-md { padding: 24px; border-radius: var(--r-card); background: var(--code-bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.6; white-space: pre-wrap; overflow-x: auto; }
/* —— 404 —— */
.nf { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.nf > div { display: grid; justify-items: center; gap: 24px; }
}