/* deepseekbot.vip — match dsbot.app: white, black CTA, airy */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #eeeeee;
  --card: #f5f5f5;
  --card-border: #ececec;
  --black: #000000;
  --white: #ffffff;
  --blue: #4d6bfe;
  --radius: 16px;
  --radius-pill: 999px;
  --container: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--black); color: var(--white); padding: 8px 12px;
}
.skip:focus { left: 12px; top: 12px; }
.wrap { width: min(100% - 48px, var(--container)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #7aa2ff, #4d6bfe 55%, #2f4ad0);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 7px 6px 8px 7px;
  background: #fff; border-radius: 60% 60% 50% 50%;
  opacity: .95;
}
.nav { display: flex; align-items: center; gap: 8px 22px; }
.nav a {
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none; border: 0; background: transparent; color: var(--ink);
  padding: 8px; font-size: 14px; font-weight: 600;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary, .nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
}
.btn-primary:hover, .nav-cta:hover {
  background: #1a1a1a !important; color: var(--white) !important;
}
.btn-secondary {
  background: var(--card); color: var(--ink);
}
.btn-secondary:hover { background: #ececec; }
.btn-blue {
  background: var(--blue); color: var(--white);
}
.btn-blue:hover { filter: brightness(0.95); color: var(--white); }
.btn-lg { padding: 14px 22px; border-radius: 14px; font-size: 15px; }
.btn-sm { padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.btn-icon svg { width: 16px; height: 16px; display: block; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero-visual {
  width: min(420px, 80vw);
  height: 220px;
  margin: 0 auto 28px;
  position: relative;
}
.hero-orb {
  width: 120px; height: 120px; margin: 50px auto 0;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #8eb0ff, #4d6bfe 60%, #2a47c8);
  box-shadow: 0 30px 60px rgba(77,107,254,.25);
  position: relative;
}
.hero-orb::before {
  content: "";
  position: absolute; inset: 28px 24px 34px 28px;
  background: #fff; border-radius: 60% 60% 48% 48%;
}
.hero-chip {
  position: absolute; width: 42px; height: 42px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--card-border);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.hero-chip.c1 { left: 8%; top: 18%; background: #e8f8ef; }
.hero-chip.c2 { right: 10%; top: 12%; background: #ffe8f1; }
.hero-chip.c3 { left: 0; bottom: 18%; background: #fff1e0; }
.hero-chip.c4 { right: 2%; bottom: 22%; background: #eef0ff; }
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: -0.04em;
  font-weight: 750;
  line-height: 1.05;
}
.hero .lede {
  margin: 0 auto 28px;
  max-width: 28em;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; color: var(--muted-2); font-size: 13px; font-weight: 500;
}

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 700;
  text-align: center;
}
.section .section-lede {
  margin: 0 auto 40px;
  max-width: 36em;
  text-align: center;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.feature-card h3 {
  margin: 0 0 8px; font-size: 17px; font-weight: 650;
}
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Page hero (inner) */
.page-hero {
  padding: 64px 0 28px;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.035em;
  font-weight: 750;
}
.page-hero .lede {
  margin: 0 auto;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}
.meta-line {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

/* Download cards */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}
.dl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.dl-card.is-focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.dl-card h2 { margin: 0; font-size: 20px; font-weight: 700; text-align: left; }
.dl-card p { margin: 0; color: var(--muted); font-size: 14px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.copy-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 12px; padding: 8px 10px;
}
.copy-row code {
  flex: 1; font-size: 14px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* FAQ / changelog / prose */
.prose { max-width: 760px; margin: 0 auto; padding: 0 0 72px; }
.prose h2 { text-align: left; font-size: 22px; margin: 36px 0 12px; }
.prose p, .prose li { color: #374151; }
.faq-list { max-width: 760px; margin: 0 auto; padding-bottom: 72px; }
.faq-item {
  border-top: 1px solid var(--line); padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 { margin: 0 0 8px; font-size: 17px; text-align: left; }
.faq-item p { margin: 0; color: var(--muted); }
.cl-item {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line);
  max-width: 900px; margin: 0 auto;
}
.cl-item:last-child { border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.cl-ver { font-weight: 700; }
.cl-date { color: var(--muted-2); font-size: 13px; margin-top: 4px; }
.cl-item ul { margin: 0; padding-left: 1.1em; color: #374151; }
.cl-item li { margin: 6px 0; }

/* CTA band */
.cta-band {
  text-align: center; padding: 72px 0 88px;
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.cta-band p { margin: 0 0 24px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.footer-heading {
  margin: 0 0 12px; color: var(--ink); font-weight: 650; font-size: 13px;
}
.site-footer a { color: var(--muted); display: inline-block; margin: 4px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { color: var(--ink); margin-bottom: 10px; }

/* Sponsors — filled by JS; each card has its own color */
#sponsor-rail[hidden] { display: none !important; }
.sponsor-inner {
  padding: 32px 0 12px;
  border-top: 1px solid var(--line);
}
.sponsor-label {
  margin: 0 0 16px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 650;
}
.sponsor-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px;
}
.sponsor-card {
  position: relative;
  border-radius: 18px;
  padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 8px; min-height: 100%;
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sponsor-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
}
.sponsor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}
.sponsor-title {
  font-size: 17px; font-weight: 750; letter-spacing: -0.02em;
}
.sponsor-desc {
  margin: 0 0 8px; flex: 1; font-size: 13px; line-height: 1.55;
}
.sponsor-btn {
  appearance: none; border: 0; cursor: pointer;
  align-self: flex-start; margin-top: 4px;
  padding: 11px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: filter .15s ease, transform .15s ease;
}
.sponsor-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.sponsor-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.3;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.sponsor-xunfang .sponsor-badge { background: #e11d48; }
.sponsor-ddys .sponsor-badge { background: #d97706; }
.sponsor-xdgame .sponsor-badge { background: #059669; }
.sponsor-card .sponsor-title { padding-right: 4.5em; }

/* 寻芳 — rose */
.sponsor-xunfang {
  background: linear-gradient(165deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #fecdd3;
}
.sponsor-xunfang::before { background: linear-gradient(90deg, #fb7185, #e11d48); }
.sponsor-xunfang .sponsor-title { color: #9f1239; }
.sponsor-xunfang .sponsor-desc { color: #9f1239cc; }
.sponsor-xunfang .sponsor-btn {
  background: #e11d48 !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(225, 29, 72, .28);
}

/* 低端影视 — amber / cinema */
.sponsor-ddys {
  background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}
.sponsor-ddys::before { background: linear-gradient(90deg, #fbbf24, #d97706); }
.sponsor-ddys .sponsor-title { color: #92400e; }
.sponsor-ddys .sponsor-desc { color: #92400ecc; }
.sponsor-ddys .sponsor-btn {
  background: #d97706 !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(217, 119, 6, .28);
}

/* XDGame — emerald / play */
.sponsor-xdgame {
  background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
}
.sponsor-xdgame::before { background: linear-gradient(90deg, #34d399, #059669); }
.sponsor-xdgame .sponsor-title { color: #065f46; }
.sponsor-xdgame .sponsor-desc { color: #065f46cc; }
.sponsor-xdgame .sponsor-btn {
  background: #059669 !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, .28);
}


.note {
  background: #fafafa; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: 14px;
}
.netdisk-slot {
  background: var(--card); border: 1px dashed #d4d4d8;
  border-radius: 12px; padding: 12px 14px; color: var(--muted-2); font-size: 13px;
}

@media (max-width: 900px) {
  .feature-grid, .dl-grid, .sponsor-grid, .footer-grid { grid-template-columns: 1fr; }
  .cl-item { grid-template-columns: 1fr; gap: 8px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 24px 18px; gap: 10px;
  }
  .nav.open { display: flex; }
  .nav .nav-cta { align-self: flex-start; }
}


/* Product shots from repo */
.shot {
  margin: 28px auto 0;
  max-width: 920px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border, #ececec);
  background: #f5f5f5;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}
.shot img { width: 100%; height: auto; display: block; }
.shot-caption {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted, #6b7280);
  font-size: 13px;
}
.brand img.brand-logo {
  width: 28px; height: 28px; border-radius: 0;
  display: block;
}
.brand-mark { display: none; }
.brand.has-logo .brand-mark { display: none; }
.hero-logo {
  width: min(220px, 55vw);
  margin: 0 auto 22px;
}
.hero-logo img { width: 100%; height: auto; margin: 0 auto; }


/* Community / X thread */
.x-thread { max-width: 760px; padding-bottom: 64px; }
.x-post, .x-comment {
  border: 1px solid var(--line, #ececec);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
  margin: 0 0 14px;
}
.x-post { padding: 22px 24px; margin-bottom: 28px; }
.x-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin-bottom: 10px; font-size: 13px; color: var(--muted, #6b7280);
}
.x-name {
  font-weight: 650; color: var(--fg, #111); font-size: 15px;
}
.x-role {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: #111; color: #fff; letter-spacing: .02em;
}
.x-body { font-size: 15px; line-height: 1.7; color: var(--fg, #111); word-break: break-word; }
.x-body-lg { font-size: 16px; line-height: 1.75; }
.x-body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.x-stats { margin: 14px 0 0; font-size: 13px; color: var(--muted, #6b7280); }
.x-source { margin: 8px 0 0; font-size: 12px; color: var(--muted, #6b7280); }
.x-section-title { font-size: 20px; margin: 8px 0 16px; }
.x-comments { display: flex; flex-direction: column; gap: 0; }
.x-comment.is-author { border-color: #d4d4d4; background: #fafafa; }
.x-replies { margin: 12px 0 0; padding-left: 14px; border-left: 2px solid #ececec; }
.x-replies .x-comment { margin-bottom: 10px; }
.muted { color: var(--muted, #6b7280); }
@media (max-width: 640px) {
  .x-replies { padding-left: 10px; }
  .x-post, .x-comment { padding: 14px 14px; border-radius: 12px; }
}


/* Download netdisk buttons */
.dl-netdisk { gap: 8px; }
.dl-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2, #a1a1aa);
}
.dl-actions .btn:disabled,
.dl-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Netdisk buttons with icons */
.dl-netdisk .nd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 10px;
  padding-right: 12px;
}
.dl-netdisk .nd-ico {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
}
