:root {
  --bg: #eee6dc;
  --bg-2: #f4ece2;
  --surface: #fffdf9;
  --surface-soft: #f8f2eb;
  --text: #231f1a;
  --muted: #776d62;
  --border: #dfd4c7;
  --primary: #df5a2f;
  --primary-2: #ff8a2a;
  --accent: #2cb9a3;
  --blue: #2f7ee8;
  --green: #27b879;
  --code-bg: #2b2420;
  --code-text: #fff4e8;
  --shadow: 0 32px 90px rgba(84, 59, 39, .16);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 128, 78, .18), transparent 28rem),
    radial-gradient(circle at 8% 34%, rgba(255, 255, 255, .45), transparent 30rem),
    linear-gradient(115deg, #e9dfd3 0%, #f2e8de 50%, #eadfd3 100%);
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(rgba(122, 93, 68, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 93, 68, .12) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1460px, calc(100% - 140px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 230, 220, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 212, 199, .45);
}
.nav-bar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 850; letter-spacing: -.035em; }
.brand-mark {
  display: inline-block;
  width: 48px;
  height: 48px;
  color: transparent;
  font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Cg stroke-linecap='round' stroke-width='10.5'%3E%3Cline x1='50' y1='50' x2='50' y2='12' stroke='%2327b5a5'/%3E%3Cline x1='50' y1='50' x2='69' y2='17' stroke='%23f2a93b'/%3E%3Cline x1='50' y1='50' x2='84' y2='31' stroke='%23ea6b34'/%3E%3Cline x1='50' y1='50' x2='88' y2='50' stroke='%23f2b642'/%3E%3Cline x1='50' y1='50' x2='83' y2='69' stroke='%232eb6a0'/%3E%3Cline x1='50' y1='50' x2='69' y2='83' stroke='%23f2a93b'/%3E%3Cline x1='50' y1='50' x2='50' y2='88' stroke='%23ea6b34'/%3E%3Cline x1='50' y1='50' x2='31' y2='83' stroke='%23f2b642'/%3E%3Cline x1='50' y1='50' x2='17' y2='69' stroke='%2327b5a5'/%3E%3Cline x1='50' y1='50' x2='12' y2='50' stroke='%23f2a93b'/%3E%3Cline x1='50' y1='50' x2='17' y2='31' stroke='%23ea6b34'/%3E%3Cline x1='50' y1='50' x2='31' y2='17' stroke='%232eb6a0'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='6.8' fill='%23f7b64a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-link, .github-link {
  padding: 8px 4px;
  border-radius: 999px;
  color: #5c5248;
  font-size: 17px;
  font-weight: 650;
}
.nav-link:hover, .nav-link.active { color: #251f19; }
.github-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 0;
  padding: 0;
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(223, 212, 199, .55);
}
.github-link::before { content: "↗"; font-size: 18px; color: #51483f; }
.menu-toggle { display: none; border: 0; background: rgba(255,255,255,.48); border-radius: 14px; padding: 9px 12px; font-size: 20px; }

.hero { min-height: calc(100vh - 86px); padding: 150px 0 120px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 86px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ddcbbb;
  background: rgba(230, 213, 198, .72);
  color: #2c251f;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.hero h1 {
  position: relative;
  font-size: clamp(64px, 5.7vw, 104px);
  line-height: .98;
  margin: 64px 0 24px;
  letter-spacing: -.07em;
  color: #211d18;
}
.hero h1::before {
  content: "";
  display: inline-block;
  width: .72em;
  height: .72em;
  margin-right: .18em;
  vertical-align: -.02em;
  background: conic-gradient(from 6deg, #20b8a5, #f2c94c, #ef6b2d, #ef476f, #20b8a5, #f2c94c, #ef6b2d, #20b8a5);
  clip-path: polygon(50% 0,58% 28%,83% 10%,70% 38%,100% 44%,70% 55%,90% 80%,62% 68%,55% 100%,45% 70%,18% 90%,30% 60%,0 54%,30% 45%,10% 18%,40% 32%);
}
.gradient-text { color: #6f665c; background: none; -webkit-background-clip: initial; background-clip: initial; font-size: .45em; letter-spacing: -.04em; font-weight: 500; display: block; margin-top: 34px; }
.lead { display: none; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 150px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 0 46px;
  border-radius: 14px;
  border: 1px solid #d7cbbd;
  background: rgba(242, 234, 224, .68);
  color: #241f1a;
  font-size: 22px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 24px rgba(92, 65, 43, .05);
}
.btn.primary { background: linear-gradient(180deg, #e66739, #d94f2d); color: white; border: 0; box-shadow: 0 14px 28px rgba(213, 80, 45, .25); }
.btn.primary::before { content: "⇩"; font-size: 22px; }
.btn:hover { transform: translateY(-1px); }
.hero-actions::after { content: "支持 macOS 12+ · Windows 10+ · Linux"; flex-basis: 100%; color: #766d64; font-size: 16px; margin-top: 4px; }

.hero-card {
  position: relative;
  min-height: 680px;
  padding: 104px 32px 32px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(222, 213, 204, .72);
  box-shadow: 0 35px 95px rgba(89, 65, 45, .20);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 78px;
  background: #fff;
  border-bottom: 1px solid #ece7e1;
}
.hero-card::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 28px 0 #ffbd2e, 56px 0 #28c840;
}
.hero-card .provider-list::before {
  content: "CC Switch    ⚙   ◉  ◯      ✳  ✳  ◌  ◆  ▣  🐞  🐧      🔧  📖  ↶  ▬    +";
  display: block;
  margin: -6px 0 24px;
  color: #2c7be5;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
}
.provider-list { display: grid; gap: 18px; }
.provider {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid #ebe7e2;
  border-radius: 20px;
  padding: 18px 24px 18px 112px;
  position: relative;
  color: #1f1d1a;
}
.provider:first-child { background: #eef5ff; border-color: #9fc5ef; box-shadow: 0 0 0 1px rgba(47, 126, 232, .18) inset; }
.provider::before {
  content: "";
  position: absolute;
  left: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #f3f3f1;
  box-shadow: inset 0 0 0 1px #e7e3df;
}
.provider strong { display: block; font-size: 18px; }
.provider span:not(.status) { color: #2d7fdc; }
.status { font-size: 0; border: 0; background: transparent; padding: 0; }
.status::before { content: "↻"; font-size: 14px; color: #8d877f; }
.hero-card pre { display: none; }

.hero-card, .card, .article-card, .tutorial-card, .version-card, .sponsor-card { background: rgba(255, 253, 249, .9); border: 1px solid var(--border); box-shadow: 0 16px 44px rgba(85, 61, 42, .08); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0; }
.stat { background: rgba(255, 253, 249, .74); border: 1px solid #dfd4c7; border-radius: 20px; padding: 20px; text-align: center; }
.stat b { font-size: 28px; display: block; color: #2b231c; }
.section { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(32px,4vw,48px); letter-spacing: -.05em; line-height: 1.08; margin: 0 0 12px; }
.section-head p, .card p, .page-hero p { color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #f6dfd2; color: #c94f2d; font-weight: 900; margin-bottom: 14px; }
.cta { background: linear-gradient(135deg, #2f251f, #87452d); color: white; border-radius: 34px; padding: 42px; margin: 30px 0; }
.cta p { color: #f5ded0; }
.page-hero { padding: 56px 0 28px; }
.page-hero h1 { font-size: clamp(40px,6vw,68px); line-height: 1; letter-spacing: -.06em; margin: 12px 0; }
.page-shell { padding: 32px 0 72px; }
.docs-shell { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 26px; align-items: start; }
.docs-sidebar { position: sticky; top: 110px; }
.sidebar-card { background: rgba(255,253,249,.86); border: 1px solid var(--border); border-radius: 22px; padding: 14px; max-height: calc(100vh - 132px); overflow: auto; }
.sidebar-card h3 { font-size: 13px; text-transform: uppercase; color: #8a7f72; margin: 18px 10px 7px; }
.sidebar-card a { display: block; padding: 8px 10px; border-radius: 11px; color: #5f554b; font-weight: 650; font-size: 14px; }
.sidebar-card a:hover, .sidebar-card a.active { background: #f8dfd2; color: #bc4d2d; }
.sidebar-home { border: 1px solid var(--border); margin-bottom: 6px; }
.article-card { min-width: 0; border-radius: 26px; padding: clamp(24px,4vw,44px); }
.prose h1 { font-size: clamp(34px,5vw,54px); line-height: 1.05; letter-spacing: -.055em; margin: 0 0 18px; }
.prose h2 { font-size: 30px; line-height: 1.2; margin: 42px 0 14px; letter-spacing: -.035em; }
.prose h3 { font-size: 22px; margin: 30px 0 10px; }
.prose p, .prose li { color: #4f463d; }
.prose a { color: #cf552f; text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: #f8e1d4; color: #963b24; border-radius: 7px; padding: 2px 6px; font-size: .92em; }
.prose pre { position: relative; background: var(--code-bg); color: var(--code-text); border-radius: 18px; padding: 20px; overflow: auto; border: 1px solid #4a3b32; }
.prose pre code { background: transparent; color: inherit; padding: 0; }
.copy-code { position: absolute; right: 12px; top: 12px; border: 1px solid #5d4c42; background: #3a2f29; color: #fff4e8; border-radius: 9px; padding: 5px 9px; cursor: pointer; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 16px; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; background: #fffdf9; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #f8f1e9; font-size: 14px; }
blockquote { border-left: 4px solid var(--primary); background: #fff1e8; border-radius: 0 14px 14px 0; margin: 22px 0; padding: 12px 18px; color: #713622; }
.doc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.tutorial-card, .version-card, .sponsor-card { display: block; border-radius: 22px; padding: 22px; }
.tutorial-card:hover, .version-card:hover { border-color: #f0b49a; transform: translateY(-2px); }
.tag { display: inline-flex; border-radius: 999px; background: #f8dfd2; color: #ad4529; font-size: 12px; font-weight: 800; padding: 4px 9px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.sponsor-card h3 { margin: 0 0 6px; }
.deal { color: #c94f2d; font-weight: 800; }
.version-list { display: grid; gap: 14px; }
.version-card h2 { margin: 0 0 8px; }
.version-card p { color: var(--muted); margin: 0 0 12px; }
.site-footer { background: #2c241e; color: #eadfd4; margin-top: 40px; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h3 { color: #fff8ef; font-size: 15px; }
.footer-grid a { display: block; color: #eadfd4; margin: 7px 0; }
.footer-brand { color: #fff8ef; }
.copyright { border-top: 1px solid #46382f; margin-top: 28px; padding-top: 22px; color: #c8b9aa; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; border: 0; border-radius: 999px; width: 44px; height: 44px; background: var(--primary); color: white; box-shadow: 0 12px 24px rgba(213,80,45,.28); display: none; }
.back-to-top.show { display: block; }
.image-ref { display: inline-flex; background: #f5ece3; border-radius: 8px; padding: 2px 6px; color: var(--muted); font-size: .92em; }

@media (max-width: 1100px) {
  .container { width: min(100% - 48px, 1160px); }
  .hero { padding: 86px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-actions { margin-top: 48px; }
  .hero-card { min-height: 560px; }
}
@media (max-width: 900px) {
  .docs-shell { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .grid, .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 72px; background: #fffdf9; border: 1px solid var(--border); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-link, .github-link { display: block; width: auto; height: auto; font-size: 16px; padding: 10px 14px; }
  .github-link::before { content: "GitHub"; font-size: 16px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px,1160px); }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 56px; }
  .grid, .doc-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-card { border-radius: 20px; }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-card { min-height: auto; padding: 98px 18px 22px; }
  .provider { padding-left: 78px; }
  .provider::before { left: 22px; }
}


/* 首页应用窗口：贴近官网截图的供应商列表界面 */
.hero-card.app-window {
  min-height: 720px;
  padding: 120px 52px 44px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(225, 218, 211, .86);
  box-shadow: 0 40px 110px rgba(92, 68, 47, .18);
}
.hero-card.app-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 94px;
  background: #fff;
  border-bottom: 1px solid #ece8e3;
}
.hero-card.app-window::after { display: none; }
.window-dots {
  position: absolute;
  left: 36px;
  top: 34px;
  z-index: 2;
  display: flex;
  gap: 14px;
}
.window-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff4b4b;
}
.window-dots span:nth-child(2) { background: #f5b400; }
.window-dots span:nth-child(3) { background: #24c463; }
.app-toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.app-title {
  color: #367af0;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.app-title .gear {
  margin-left: 18px;
  color: #747985;
  font-size: 22px;
}
.app-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: #f7f7f8;
  color: #6f7480;
}
.app-toggle i {
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: #e4e4e7;
  position: relative;
  box-shadow: inset 0 0 0 1px #d8d8dc;
}
.app-toggle i::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.app-tabs, .app-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
  height: 56px;
  padding: 0 16px;
  border-radius: 28px;
  background: #f2f2f4;
  color: #6f7480;
  font-size: 22px;
}
.app-tabs b {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 36px;
  font-weight: 700;
}
.app-tabs b:first-child {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  color: #df6b45;
}
.app-add {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #ff781f;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(255, 120, 31, .34);
}
.app-list { display: grid; gap: 18px; }
.app-provider {
  display: grid;
  grid-template-columns: 30px 54px minmax(260px, 1fr) minmax(240px, auto) auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 22px 28px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
}
.app-provider.active {
  background: #eef5ff;
  border-color: #80adff;
  box-shadow: inset 0 0 0 1px rgba(128, 173, 255, .15);
}
.drag { color: #b7bdc6; font-size: 24px; letter-spacing: -5px; }
.app-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f5f6f8;
  border: 1px solid #e3e5e8;
  font-size: 24px;
  font-weight: 900;
}
.app-icon.packy { color: #121826; }
.app-icon.minimax { color: #ff4c75; font-size: 34px; }
.app-icon.anthropic { color: #c8804d; font-size: 22px; }
.app-icon.openrouter { color: #6457ff; font-size: 30px; }
.app-info strong {
  display: block;
  color: #15191f;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.app-info a {
  display: block;
  margin-top: 8px;
  color: #2f7cf5;
  font-size: 20px;
  line-height: 1.2;
}
.app-usage {
  justify-self: end;
  text-align: right;
  color: #7b828d;
  font-size: 16px;
  white-space: nowrap;
}
.app-usage span { display: block; color: #9aa1ab; }
.app-usage b {
  display: block;
  margin-top: 4px;
  font-weight: 500;
}
.app-usage em {
  color: #10a356;
  font-style: normal;
  font-weight: 850;
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #737986;
  font-size: 24px;
  white-space: nowrap;
}
.app-actions span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 11px;
  background: #e9edf2;
  font-size: 18px;
  color: #6a7280;
}
.app-actions i { font-style: normal; }
.app-actions.muted { min-width: 1px; }

@media (max-width: 1280px) {
  .hero-card.app-window { padding-inline: 28px; }
  .app-toolbar { grid-template-columns: auto auto 1fr auto; }
  .app-tools { display: none; }
  .app-provider { grid-template-columns: 24px 50px minmax(220px, 1fr) minmax(210px, auto); }
  .app-actions { display: none; }
}
@media (max-width: 900px) {
  .hero-card.app-window { min-height: auto; padding: 108px 18px 24px; }
  .app-toolbar { grid-template-columns: 1fr auto; gap: 12px; }
  .app-title { font-size: 24px; }
  .app-toggle, .app-tabs { display: none; }
  .app-provider { grid-template-columns: 44px 1fr; min-height: auto; padding: 18px; }
  .drag, .app-usage, .app-actions { display: none; }
  .app-info a { font-size: 16px; word-break: break-all; }
}


/* 对齐官网首屏截图：整体节奏、字号和应用窗口比例 */
.site-header .container {
  width: min(1460px, calc(100% - 360px));
}
.hero {
  padding-top: 185px;
  align-items: flex-start;
}
.hero-grid {
  grid-template-columns: .74fr 1.26fr;
  gap: 78px;
}
.gradient-text {
  font-size: .38em;
  line-height: 1.18;
  white-space: nowrap;
  margin-top: 34px;
}
.hero .stats {
  display: none;
}

.hero-card.app-window {
  min-height: 700px;
  padding: 112px 36px 34px;
  border-radius: 32px;
}
.app-toolbar {
  gap: 18px;
  margin-bottom: 22px;
}
.app-title {
  font-size: 25px;
}
.app-title .gear {
  margin-left: 15px;
  font-size: 19px;
}
.app-toggle {
  height: 42px;
  padding: 0 10px;
}
.app-toggle i {
  width: 52px;
  height: 30px;
}
.app-toggle i::before {
  width: 24px;
  height: 24px;
  top: 3px;
  left: 3px;
}
.app-tabs,
.app-tools {
  height: 48px;
  gap: 11px;
  padding: 0 14px;
  font-size: 19px;
}
.app-tabs b {
  min-width: 26px;
  height: 32px;
}
.app-tabs b:first-child {
  width: 38px;
  height: 38px;
}
.app-add {
  width: 48px;
  height: 48px;
  font-size: 32px;
}
.app-list {
  gap: 16px;
}
.app-provider {
  grid-template-columns: 24px 46px minmax(240px, 1fr) minmax(220px, auto) auto;
  min-height: 88px;
  padding: 16px 22px;
  border-radius: 20px;
  gap: 16px;
}
.drag {
  font-size: 20px;
}
.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 21px;
}
.app-icon.minimax {
  font-size: 30px;
}
.app-icon.anthropic {
  font-size: 19px;
}
.app-icon.openrouter {
  font-size: 26px;
}
.app-info strong {
  font-size: 20px;
}
.app-info a {
  margin-top: 4px;
  font-size: 17px;
}
.app-usage {
  font-size: 13px;
}
.app-actions {
  gap: 13px;
  font-size: 19px;
}
.app-actions span {
  height: 32px;
  padding: 0 13px;
  font-size: 15px;
}

@media (max-width: 1280px) {
  .site-header .container { width: min(1460px, calc(100% - 96px)); }
  .hero { padding-top: 120px; }
  .gradient-text { white-space: normal; }
}


/* 修复首页右侧应用窗口在窄视口下右侧内容被裁切的问题 */
.hero-card.app-window {
  max-width: 100%;
}
.app-toolbar,
.app-list,
.app-provider,
.app-info,
.app-usage,
.app-actions {
  min-width: 0;
}
.app-provider {
  grid-template-columns: 22px 42px minmax(220px, 1fr) minmax(150px, 188px) minmax(82px, 150px);
  gap: 14px;
}
.app-usage {
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-actions {
  justify-content: flex-end;
  gap: 8px;
  font-size: 16px;
  overflow: hidden;
}
.app-actions span {
  height: 30px;
  padding: 0 10px;
  font-size: 14px;
}
.app-actions i {
  flex: 0 0 auto;
}
@media (max-width: 1560px) {
  .app-provider {
    grid-template-columns: 22px 42px minmax(220px, 1fr) minmax(132px, 168px) minmax(74px, 104px);
  }
  .app-actions i:nth-of-type(n+2) {
    display: none;
  }
  .app-usage {
    font-size: 12px;
  }
}
@media (max-width: 1400px) {
  .app-provider {
    grid-template-columns: 22px 42px minmax(220px, 1fr) minmax(120px, 150px);
  }
  .app-actions {
    display: none;
  }
}
