:root {
  --primary: #6675f6;
  --secondary: #ff6b9d;
  --accent: #00d4aa;
  --bg: #0f0f1a;
  --card: #1a1a2e;
  --card-2: #252540;
  --text: #fff;
  --text-2: #b0b8cc;
  --muted: #6b7a99;
  --line: #2d2d4a;
  --grad: linear-gradient(135deg, #6675f6 0%, #ff6b9d 100%);
  --grad-2: linear-gradient(135deg, #ff6b9d 0%, #00d4aa 100%);
  --grad-3: linear-gradient(135deg, #00d4aa 0%, #6675f6 100%);
  --sans: "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; }
html { color-scheme: dark; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }
/* 详情页吃满宽屏：随视口变宽，不再死卡 1200 */
.detail-head .container,
.container.detail {
  max-width: min(1560px, calc(100vw - 48px));
}
.header { position: sticky; top: 0; z-index: 5; background: rgba(15,15,26,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo svg { flex: 0 0 auto; }
.nav { display: flex; gap: 18px; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; place-items: center; align-content: center; gap: 5px; }
.nav-toggle i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 1px; }
.nav a { color: var(--text-2); font-weight: 500; position: relative; padding: 6px 0; }
.nav a.on { color: var(--primary); }
.nav a.on::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: 8px; font-weight: 650; border: none; cursor: pointer; font: inherit; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 20px rgba(102,117,246,.25); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(102,117,246,.18), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(255,107,157,.12), transparent 46%); pointer-events: none; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(102,117,246,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(102,117,246,.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-content { position: relative; max-width: 760px; }
.hero-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: 28px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(102,117,246,.35); background: rgba(102,117,246,.12); color: var(--primary); font-size: 13px; margin-bottom: 18px; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; }
.hero-badge {
  border-color: rgba(0,212,170,.35);
  background: rgba(0,212,170,.12);
  color: #7dffe0;
  font-weight: 650;
}
.hero-badge .ui-ico { color: #7dffe0; }
h1 { font-size: 52px; line-height: 1.2; font-weight: 800; margin-bottom: 16px; }
h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead {
  color: #d5dced;
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 18px;
}
.hero-lead strong { color: #fff; font-weight: 800; }
.hero-offers {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.hero-offers li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(20, 22, 40, .55);
}
.hero-offers b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  margin-bottom: 2px;
}
.hero-offers span {
  display: block;
  color: #9aa6c2;
  font-size: 13px;
  line-height: 1.45;
}
.offer-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  line-height: 0;
}
.offer-ico .ui-ico {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0;
}
.offer-free { color: #7dffe0; background: rgba(0,212,170,.16); }
.offer-code { color: #ffd76a; background: rgba(255,215,106,.14); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: #e8ecf8;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 12px 22px;
}
.btn-ghost:hover { border-color: rgba(102,117,246,.5); color: #fff; }
.hero-home .btn-primary { border-radius: 999px; padding: 12px 24px; }
.hero-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.hero-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,125,255,.45), transparent 68%);
  filter: blur(8px);
}
.hero-shield {
  position: relative;
  width: min(220px, 70%);
  filter: drop-shadow(0 18px 40px rgba(102,117,246,.35));
  animation: float-shield 4.5s ease-in-out infinite;
}
.hero-shield svg { width: 100%; height: auto; display: block; }
@keyframes float-shield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.home-metrics { padding: 8px 0 8px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(36,36,62,.95), rgba(24,24,42,.95));
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.metric-card b {
  display: block;
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
}
.metric-card span { color: #9aa6c2; font-size: 13px; }
.metric-was {
  margin-right: 6px;
  color: #6b7a99;
  font-size: 16px;
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-color: #ff6b9d;
}
.metric-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(102,117,246,.16);
  color: #aeb8ff;
}
.metric-ico .ui-ico { display: block; }
.metric-soft { color: #aeb8ff; background: rgba(102,117,246,.16); }
.metric-cloud { color: #7de3cf; background: rgba(125,227,207,.12); }
.metric-crown { color: #ffd76a; background: rgba(255,215,106,.12); }
.metric-bolt { color: #ff9db8; background: rgba(255,157,184,.12); }
.ui-ico { display: inline-block; vertical-align: -3px; flex: none; }
.btn .ui-ico { margin-left: 6px; }
.btn-ghost .ui-ico { margin-left: 0; margin-right: 6px; }
.home-main { padding-top: 28px; }
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.rank-board {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #343456;
  background: linear-gradient(180deg, #1d1d35 0%, #151528 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  min-height: 100%;
}
.rank-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.rank-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #fff;
}
.rank-head p { margin: 0; color: var(--muted); font-size: 13px; }
.rank-refresh {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #c5cede;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.rank-refresh:hover { color: #fff; border-color: rgba(102,117,246,.4); }
.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.rank-item { flex: 1; display: flex; }
.rank-item a {
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .03);
  transition: background .15s ease, border-color .15s ease;
}
.rank-item a:hover {
  background: rgba(102, 117, 246, .12);
  border-color: rgba(102, 117, 246, .28);
}
.rank-no {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #c5cede;
  background: rgba(255, 255, 255, .06);
  font-variant-numeric: tabular-nums;
}
.rank-item.medal-1 .rank-no { background: linear-gradient(135deg, #ffd76a, #f0a202); color: #1a1200; }
.rank-item.medal-2 .rank-no { background: linear-gradient(135deg, #e8eef8, #9aa7bd); color: #1a1f28; }
.rank-item.medal-3 .rank-no { background: linear-gradient(135deg, #ffb088, #d97757); color: #1a0e08; }
.rank-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(102,117,246,.18);
  color: #c5cbff;
  flex: none;
}
.rank-thumb.has-img { background: #101020; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rank-name {
  color: #f2f5fc;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.rank-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6675f6, #ff6b9d);
}
.rank-item.medal-1 .rank-bar i { background: linear-gradient(90deg, #ff6b9d, #ff9db8); }
.rank-item.medal-2 .rank-bar i { background: linear-gradient(90deg, #6675f6, #8b9bff); }
.rank-item.medal-3 .rank-bar i { background: linear-gradient(90deg, #ff9a5a, #ffb088); }
.rank-cnt {
  color: #c9d2ea;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rank-cnt small { color: #8b97b3; font-weight: 500; }
.rank-foot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
}
.feat-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #343456;
  background: linear-gradient(180deg, #1d1d35 0%, #151528 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.feat-head h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.feat-head p { margin: 0; color: var(--muted); font-size: 13px; }
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.feat-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  transition: border-color .15s ease, background .15s ease;
  flex: 1;
  align-items: stretch;
}
.feat-card:hover {
  border-color: rgba(0,212,170,.4);
  background: rgba(0,212,170,.06);
  transform: none;
}
.feat-card:hover .feat-dl {
  background: rgba(0,212,170,.28);
  color: #b8fff0;
}
.feat-cover {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #101020;
  align-self: center;
}
.feat-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(255,255,255,.55);
  background: linear-gradient(135deg, rgba(102,117,246,.45), rgba(255,107,157,.35));
}
.feat-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.feat-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(102,117,246,.18);
  color: #c5cbff;
  font-size: 11px;
  font-weight: 700;
}
.feat-tag .ui-ico { width: 12px; height: 12px; }
.feat-tag-hot { background: rgba(255,107,157,.18); color: #ff9db8; }
.feat-tag-rec { background: rgba(102,117,246,.18); color: #c5cbff; }
.feat-body strong { color: #fff; font-size: 16px; line-height: 1.3; }
.feat-body p {
  margin: 0;
  color: #a8b3cb;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.feat-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.feat-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,212,170,.16);
  border: 1px solid rgba(0,212,170,.35);
  color: #7dffe0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}
.feat-dl .ui-ico { width: 15px; height: 15px; }
.feat-src {
  color: #8b97b3;
  font-size: 12px;
  font-weight: 600;
}
.home-cta { text-align: center; margin-top: 28px; }
.btn-pill { border-radius: 999px; padding: 14px 36px; font-size: 16px; }
.btn-pill .ui-ico { margin-left: 8px; }
.deal { display: flex; align-items: baseline; gap: 10px; }
.deal s { color: #6b7a99; font-size: 18px; font-weight: 650; text-decoration: line-through; text-decoration-color: #ff6b9d; text-decoration-thickness: 2px; }
.section { padding: 72px 0; }
.section.alt { background: var(--card); }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 36px; margin: 8px 0; }
.section-header p { color: var(--text-2); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.section.alt .product { background: var(--bg); }
.cover { height: 168px; display: grid; place-items: center; background: var(--grad); }
.cover.b { background: var(--grad-2); }
.cover.c { background: var(--grad-3); }
.cover svg { width: 54px; height: 54px; }
.body { padding: 20px 22px 22px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: rgba(102,117,246,.12); color: var(--primary); font-size: 12px; margin-bottom: 8px; }
.body h3 { font-size: 20px; margin-bottom: 6px; }
.body p { color: var(--text-2); font-size: 14px; min-height: 44px; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.more { color: var(--primary); font-weight: 650; }
.price { font-weight: 750; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px 16px; text-align: center; }
.cat .ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.cat .ico.b { background: var(--grad-2); }
.cat .ico.c { background: var(--grad-3); }
.cat h3 { margin-bottom: 6px; }
.cat p { color: var(--text-2); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel-art { height: 320px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 18px; }
.checks li { list-style: none; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.checks svg { color: var(--accent); flex: 0 0 auto; }
.footer { background: var(--card); border-top: 1px solid var(--line); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { margin-bottom: 12px; }
.footer a, .footer p { color: var(--text-2); display: block; margin: 8px 0; font-size: 14px; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.page-head { padding: 48px 0 36px; background: var(--card); border-bottom: 1px solid var(--line); text-align: center; }
.page-head h1 {
  font-size: 40px;
  margin-bottom: 8px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-head > .container > p { overflow-wrap: anywhere; word-break: break-word; }
.detail-head {
  text-align: left;
  padding: 36px 0 28px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 212, 170, .12), transparent 42%),
    radial-gradient(ellipse at 88% 20%, rgba(102, 117, 246, .14), transparent 48%),
    var(--card);
}
.detail-head h1 { font-size: 34px; margin-bottom: 12px; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: #d5dceb;
  font-size: 12px;
}
.detail-license {
  max-width: 720px;
  margin: 0;
  color: #aeb8cf;
  font-size: 13px;
  line-height: 1.65;
}
.need-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.need-hero-cta .btn { min-width: 220px; padding: 14px 28px; font-size: 16px; box-shadow: 0 8px 28px rgba(102,117,246,.35); }
.need-hero-cta span { color: var(--muted); font-size: 13px; }
.need-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.need-card { display: flex; flex-direction: column; padding: 28px; }
.need-card h2 { font-size: 24px; margin-bottom: 10px; }
.need-label { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(102,117,246,.16); color: var(--primary); font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.need-label.muted { background: rgba(255,255,255,.05); color: var(--muted); }
.need-points { margin: 16px 0 22px; padding: 0; list-style: none; }
.need-points li { position: relative; padding: 8px 0 8px 18px; color: var(--text-2); border-top: 1px solid var(--line); font-size: 14px; }
.need-points li:last-child { border-bottom: 1px solid var(--line); }
.need-points li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.need-submit { width: 100%; margin-top: auto; padding: 14px 22px; font-size: 16px; }
.need-card-side { background: var(--bg); }
.need-contact { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.need-contact b { display: block; color: #fff; margin-bottom: 6px; }
.need-contact p { margin: 0; color: var(--text-2); white-space: pre-wrap; }
.crumbs {
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.crumbs b { color: var(--primary); font-weight: 500; }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 28px 0 72px;
  align-items: start;
}
.detail-main, .detail-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-side { position: sticky; top: 88px; }
@media (min-width: 1280px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }
}
@media (min-width: 1500px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }
  .detail-head h1 { font-size: 38px; }
  .article { font-size: 17px; }
}
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; overflow-wrap: anywhere; }
.box h2 { font-size: 18px; margin-bottom: 12px; }
.box p, .box li { color: var(--text-2); }
.box a, .check a { color: var(--primary); }
.prose-card { padding: 26px 28px; background: linear-gradient(180deg, #1d1d35 0%, #17172b 100%); border-color: #343456; }
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.section-label::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--grad-3);
  flex: none;
}
.side-card { background: #1b1b32; }
.side-note { margin-top: 10px; color: #b8c2d8 !important; font-size: 13px; line-height: 1.65; }
.side-note a { color: #7dd3c0 !important; }
.local-pay {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 170, .22);
  background: rgba(0, 212, 170, .06);
}
.local-pay-title { margin: 0 0 6px; color: #fff !important; font-weight: 700; }
.source-card { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
}
.faq-item b { display: block; margin-bottom: 6px; color: #fff; font-size: 15px; }
.faq-item p { margin: 0; color: #d7deec !important; font-size: 14px; line-height: 1.7; }
.bug b { color: #fff; }
.bug p { margin: 4px 0 0; color: #c5cede !important; font-size: 13px; }
.legal h2 { margin-top: 22px; }
.legal p + p { margin-top: 8px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.legal-nav a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.legal-nav a.on { color: #fff; border-color: transparent; background: var(--grad); }
.box ul { padding-left: 18px; margin: 8px 0 0; }
.disk { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.disk:last-child { border-bottom: 0; }
.disk > div { min-width: 0; flex: 1; }
.disk b { display: block; overflow-wrap: anywhere; }
.disk span { color: var(--muted); font-size: 12px; }
.disk .btn { margin-left: auto; padding: 8px 14px; font-size: 14px; flex: none; }
.price-lg { font-size: 42px; font-weight: 800; margin: 4px 0 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-lg small { font-size: 16px; }
.price-offer { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.price-was { color: #6b7a99; text-decoration: line-through; text-decoration-color: #ff6b9d; text-decoration-thickness: 2px; font-size: 18px; font-weight: 650; }
.featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(102,117,246,.28); }
.bug { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.member-page { max-width: 1100px; }
.member-page > .featured { max-width: 720px; margin-left: auto; margin-right: auto; }
.order-page { max-width: 1100px; }
.order-scroll { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.orders { width: 100%; border-collapse: collapse; table-layout: auto; }
.member-page .orders { min-width: 960px; }
.orders th { padding: 12px 14px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); white-space: nowrap; }
.orders td { padding: 12px 14px; color: var(--text-2); border-bottom: 1px solid var(--line); vertical-align: middle; }
.orders tr:last-child td { border-bottom: 0; }
.orders tbody tr:hover td { background: rgba(102,117,246,.06); }
.order-name { color: #fff; font-weight: 650; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.order-name a { color: #fff; }
.order-name a:hover { color: var(--primary); }
.order-no { font-family: Consolas, "Cascadia Mono", monospace; font-size: 12px; word-break: break-all; }
.order-price { color: #fff; font-weight: 700; white-space: nowrap; }
.orders td em { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--accent); }
.order-act .btn { padding: 8px 14px; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.order-empty { margin-top: 12px; padding: 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.ok { color: var(--accent); font-size: 13px; }
.wait { color: #ffb020; font-size: 13px; }
label { display: block; color: var(--text-2); margin: 12px 0 6px; }
input, textarea, select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: #fff; padding: 10px 12px; font: inherit; }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #b0b8cc 50%), linear-gradient(135deg, #b0b8cc 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input[type="checkbox"] { width: auto; }
.file-pick { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px; background: var(--bg); border: 1px dashed var(--line); border-radius: 8px; }
.file-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-pick span { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 650; }
.file-pick em { color: var(--muted); font-style: normal; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
textarea { min-height: 80px; resize: vertical; }
.product { display: block; color: inherit; transition: .2s ease; }
.product:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(102,117,246,.2); }
.cover.has-img { padding: 0; height: auto; background: none; }
.cover img { width: 100%; height: 168px; object-fit: cover; display: block; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.pager .on { color: #fff; border-color: transparent; background: var(--grad); }
.flash { margin: 16px 0; padding: 10px 14px; border-radius: 8px; background: rgba(0,212,170,.12); border: 1px solid rgba(0,212,170,.35); color: #d9fff4; }
.flash.err { background: rgba(255,107,157,.12); border-color: rgba(255,107,157,.4); color: #ffd0e0; }
.help { color: var(--muted); font-size: 12px; line-height: 1.6; }
.editor-box { margin-bottom: 16px; }
.editor-box .w-e-toolbar { flex-wrap: wrap; border-radius: 12px 12px 0 0; background: #f7f8fa; }
.editor-box .w-e-text-container { border-radius: 0 0 12px 12px; background: #fff; }
/* Markdown / 正文阅读区：高对比，图链代码单独造型 */
.article {
  color: #e9eef8;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.box .article,
.box .article p,
.box .article li,
.box .article td,
.box .article th {
  color: #e9eef8;
}
.article > *:first-child { margin-top: 0; }
.article > *:last-child { margin-bottom: 0; }
.article p { margin: 0 0 14px; }
.article strong, .article b { color: #fff; font-weight: 700; }
.article em { color: #f0f4ff; }
.article h2,
.article h3 {
  color: #fff;
  line-height: 1.35;
  overflow-wrap: anywhere;
  font-weight: 750;
}
.box .article h2 {
  font-size: 22px;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid #00d4aa;
}
.box .article h3 {
  font-size: 17px;
  margin: 22px 0 10px;
  color: #f3f6ff;
}
.article h2:first-child,
.article h3:first-child { margin-top: 0; }
.article ul,
.article ol {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.article ul > li,
.article ol > li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 14px 10px 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05);
  color: #e9eef8;
}
.article ul > li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4aa;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, .15);
}
.article ol { counter-reset: md-ol; }
.article ol > li { counter-increment: md-ol; padding-left: 44px; }
.article ol > li::before {
  content: counter(md-ol);
  position: absolute;
  left: 12px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #081018;
  background: linear-gradient(135deg, #00d4aa, #6ea8ff);
}
.article a {
  color: #7de3cf;
  text-decoration: underline;
  text-decoration-color: rgba(125, 227, 207, .45);
  text-underline-offset: 3px;
  word-break: break-all;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.article a:hover {
  color: #b6fff0;
  text-decoration-color: rgba(182, 255, 240, .8);
}
.article img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  margin: 18px auto;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #12121f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  object-fit: contain;
}
/* 手机竖屏截图：不要被拉满整栏，居中缩小显示 */
.article img.is-portrait {
  max-width: min(100%, 360px);
  max-height: min(78vh, 760px);
}
.article img.is-square {
  max-width: min(100%, 480px);
}
.article code {
  font-family: Consolas, "Cascadia Mono", "Microsoft YaHei", monospace;
  font-size: .9em;
  padding: 2px 7px;
  border-radius: 6px;
  color: #ffe8b0;
  background: rgba(255, 184, 77, .12);
  border: 1px solid rgba(255, 184, 77, .22);
}
.article pre {
  margin: 16px 0;
  padding: 14px 16px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #31314f;
  background: #0e0e1a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.article pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dce7ff;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}
.article blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid #6675f6;
  border-radius: 0 12px 12px 0;
  background: rgba(102, 117, 246, .1);
  color: #e4e9f8;
}
.article blockquote p { margin: 0; color: inherit; }
.article hr {
  margin: 24px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}
.article table {
  display: block;
  width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid #343456;
  border-radius: 12px;
}
.article th,
.article td {
  padding: 10px 12px;
  border-bottom: 1px solid #2f2f4a;
  text-align: left;
}
.article th {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
}
.article tr:last-child td { border-bottom: 0; }
.article.changelog p,
.article.changelog li { color: #e0e6f4; }
.text-btn { display: inline; margin: 0; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: inherit; cursor: pointer; }
.box > .text-btn { display: inline-block; margin-top: 12px; }
.fold-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; text-align: left; }
.fold-btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); flex: none; }
.fold-btn.on::after { transform: rotate(-135deg); }
.fold { margin-top: 12px; }
dialog.modal { color: #fff; }
dialog.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  height: fit-content;
  overflow: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
dialog.modal:not([open]) { display: none; }
dialog.modal::backdrop { background: rgba(8, 8, 18, .72); }
.modal-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; color: #fff; }
.modal-card h2 { font-size: 18px; margin-bottom: 6px; color: #fff; }
.modal-card p, .modal-card .help, .modal-card label, .modal-card .switch, .modal-card a { color: #fff; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.modal-actions .btn { width: 100%; }
.modal-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
#pay-qr { width: 212px; height: 212px; margin: 16px auto; background: #fff; border-radius: 12px; display: grid; place-items: center; }
#pay-qr img, #pay-qr canvas { display: block; }
.admin { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.aside {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1c1c34 0%, #151528 100%);
  border-right: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.aside-brand {
  flex: none;
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.aside-brand .logo {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.aside-brand .logo span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.aside-brand .logo small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  -webkit-text-fill-color: var(--muted);
}
.aside-nav {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 10px 20px;
  scrollbar-width: thin;
}
.aside-group { margin-bottom: 14px; }
.aside-group:last-child { margin-bottom: 0; }
.aside-label {
  padding: 6px 12px 8px;
  color: #6f7c99;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aside-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #b7c0d6;
  font-size: 14px;
  font-weight: 550;
  transition: background .15s ease, color .15s ease;
}
.aside-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.aside-link.on {
  background: rgba(102, 117, 246, .18);
  color: #fff;
  box-shadow: inset 3px 0 0 #6675f6;
}
.aside-link .nav-ico {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: .85;
}
.aside-link.on .nav-ico,
.aside-link:hover .nav-ico { opacity: 1; }
.aside-foot {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.aside-logout { color: #ff9db8; }
.aside-logout:hover { background: rgba(255, 107, 157, .12); color: #ffd0e0; }
.main { padding: 28px 32px 48px; width: 100%; max-width: none; min-width: 0; }
.main-head { margin-bottom: 16px; }
.main-head h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.admin-stat {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1f1f38 0%, #19192e 100%);
}
.admin-stat b {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.admin-stat span { color: var(--muted); font-size: 13px; }
.admin-panel { margin-bottom: 0; }
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-toolbar-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.admin-filter-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.12); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  padding: 12px 14px;
  text-align: left;
  color: #9aa6c2;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  color: #e4e9f5;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover td { background: rgba(102,117,246,.07); }
.admin-table tr.is-hot td { background: rgba(102,117,246,.08); }
.admin-table .mono { font-family: Consolas, "Cascadia Mono", monospace; font-size: 12px; }
.admin-table strong { color: #fff; font-weight: 650; }
.launch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.launch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: #d5dceb;
  font-size: 13px;
}
.launch-chip em { font-style: normal; color: var(--accent); font-weight: 700; }
.launch-chip.on, .launch-chip:hover {
  border-color: rgba(102,117,246,.45);
  background: rgba(102,117,246,.14);
  color: #fff;
}
.soft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.soft-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #16162a;
}
.soft-card-cover { position: relative; aspect-ratio: 16 / 9; background: #101020; }
.soft-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soft-card-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 42px; font-weight: 800; color: rgba(255,255,255,.35);
  background: var(--grad);
}
.soft-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.soft-badge.ok { background: rgba(0,212,170,.18); color: #7dffe0; }
.soft-badge.draft { background: rgba(255,176,32,.18); color: #ffd27a; }
.soft-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.soft-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.soft-card h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.soft-card h3 a { color: #fff; }
.soft-card h3 a:hover { color: #aeb8ff; }
.soft-card-sub { margin: 0; color: #a8b3cb; font-size: 13px; }
.soft-card-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.soft-card-acts .btn { padding: 8px 12px; font-size: 13px; }
.soft-card-acts form { margin: 0; }
.cat-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.cat-card {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #16162a;
}
.cat-card-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
}
.cat-card-top strong { color: #fff; font-size: 16px; }
.cat-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 90px;
  gap: 10px;
}
.cat-card-full { grid-column: 1 / -1; }
.cat-card-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cat-add-form .cat-card-grid { grid-template-columns: 1fr 1fr; }
/* 兼容旧选择器，避免其它页残留 */
.aside a:not(.logo):not(.aside-link) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #b7c0d6;
  margin-bottom: 2px;
}
.aside a:not(.logo):not(.aside-link).on,
.aside a:not(.logo):not(.aside-link):hover {
  background: rgba(102, 117, 246, .16);
  color: #fff;
}
.cat-table { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.cat-head, .cat-row { display: grid; grid-template-columns: 120px 140px minmax(160px,1fr) 72px 168px; gap: 10px; align-items: center; padding: 10px 12px; }
.cat-head { background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.cat-row { border-bottom: 1px solid var(--line); margin: 0; }
.cat-row:last-child { border-bottom: 0; }
.cat-row input { width: 100%; margin: 0; padding: 8px 10px; }
.cat-sort { text-align: center; }
.cat-acts { display: flex; gap: 8px; justify-content: flex-end; }
.cat-acts .btn { padding: 8px 12px; white-space: nowrap; }
.cat-add { margin-top: 18px; }
.cat-add-title { color: #fff; font-size: 15px; font-weight: 650; margin-bottom: 10px; }
.cat-row-add { grid-template-columns: 140px 160px minmax(160px,1fr) auto; padding: 0; border: 0; }
.cat-row-add .btn { white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.disk-row { display: grid; grid-template-columns: 140px minmax(0,1fr) 110px auto; gap: 8px; margin-bottom: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.publish .pub-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -8px 0 16px; padding: 12px 0; background: rgba(15,15,26,.94); backdrop-filter: blur(10px); }
.publish .pub-bar strong { display: block; font-size: 20px; }
.pub-back { color: var(--muted); font-size: 13px; }
.pub-actions { display: flex; align-items: center; gap: 10px; }
.status-pick { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.status-pick label { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 8px; color: var(--text-2); cursor: pointer; }
.status-pick input { width: auto; margin: 0; }
.status-pick label:has(input:checked) { background: rgba(102,117,246,.2); color: #fff; }
.pub-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.pub-side { display: flex; flex-direction: column; gap: 12px; }
.pub-name { font-size: 20px; font-weight: 700; }
.slug-row { display: flex; align-items: center; gap: 8px; }
.slug-row span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.slug-row input { flex: 1; }
.pub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pub-head h2, .pub-side h2 { margin-bottom: 0; }
.pub-head p { margin: 0; color: var(--muted); font-size: 12px; }
.mode-pick { display: flex; gap: 6px; }
.mode-pick button { border: 1px solid var(--line); background: transparent; color: var(--text-2); border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.mode-pick button.on { color: #fff; border-color: transparent; background: var(--grad); }
.md-box { display: none; }
.editor-box.is-md .w-e-toolbar,
.editor-box.is-md .w-e-text-container,
.editor-box.is-md #editor { display: none !important; }
.editor-box.is-md .md-box { display: block; }
.md-tools { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.md-input { min-height: 460px; font-family: Consolas, "Cascadia Mono", "Microsoft YaHei", monospace; line-height: 1.7; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cover-now { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; margin-top: 10px; display: block; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 12px; }
.thumb { width: 72px; height: 44px; object-fit: cover; border-radius: 6px; display: block; }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); }
.check input { margin-top: 4px; }
.auth { max-width: 480px; margin: 0 auto; }
.auth h2 { margin-bottom: 8px; }
.auth-actions { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.auth-actions .btn { min-width: 128px; }
.puzzle { width: 300px; max-width: 100%; margin-top: 4px; }
.puzzle-stage { position: relative; width: 100%; aspect-ratio: 300 / 160; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #12121f; }
.puzzle-bg, .puzzle-piece { position: absolute; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.puzzle-bg { left: 0; top: 0; width: 100%; height: 100%; }
.puzzle-slider { position: relative; height: 42px; margin-top: 10px; border-radius: 21px; border: 1px solid var(--line); background: #12121f; overflow: hidden; }
.puzzle-text { line-height: 42px; text-align: center; color: var(--muted); font-size: 13px; pointer-events: none; padding: 0 54px; }
.puzzle-handle { position: absolute; left: 0; top: 0; width: 46px; height: 42px; border-radius: 21px; background: var(--grad); cursor: grab; touch-action: none; }
.puzzle-slider.bad { animation: puzzle-shake .35s linear; }
@keyframes puzzle-shake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.puzzle-handle::after { content: ""; position: absolute; left: 18px; top: 15px; border: solid #fff; border-width: 0 2px 2px 0; padding: 4px; transform: rotate(-45deg); }
.puzzle-refresh { margin-top: 8px; background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
.puzzle-done { display: none; }
.puzzle.passed { width: 100%; }
.puzzle.passed .puzzle-stage,
.puzzle.passed .puzzle-slider,
.puzzle.passed .puzzle-refresh,
.puzzle.passed .help { display: none; }
.puzzle.passed .puzzle-done { display: flex; align-items: center; justify-content: space-between; height: 42px; margin-top: 4px; padding: 0 4px 0 16px; border-radius: 21px; border: 1px solid rgba(0,212,170,.55); background: rgba(0,212,170,.1); color: #7dffe0; font-size: 13px; }
.puzzle-done span { display: flex; align-items: center; gap: 8px; }
.puzzle-done span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #00d4aa; }
.puzzle-retry { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; padding: 8px 12px; }
.switch { margin-top: 16px; text-align: center; color: var(--text-2); font-size: 14px; }
.switch a { color: var(--primary); }
/* 平板：双栏略挤时先收窄侧栏 */
@media (max-width: 1100px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
  .detail-head .container,
  .container.detail {
    max-width: calc(100vw - 32px);
  }
}
/* 手机 H5：单栏，获取区置顶 */
@media (max-width: 900px) {
  .products, .cats, .split, .detail, .admin, .grid-2, .need-grid { grid-template-columns: 1fr; }
  .detail-head .container,
  .container.detail {
    max-width: none;
    width: 100%;
  }
  .need-hero-cta .btn, .need-submit { width: 100%; }
  .cat-head { display: none; }
  .cat-row, .cat-row-add { grid-template-columns: 1fr 1fr; }
  .cat-row input[name="summary"], .cat-row-add input[name="summary"] { grid-column: 1 / -1; }
  .cat-acts { grid-column: 1 / -1; justify-content: stretch; }
  .cat-acts .btn { flex: 1; }
  .cat-row-add .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer { padding: 28px 0 16px; }
  h1 { font-size: 30px; }
  .hero { padding: 36px 0 28px; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-home .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { min-height: 200px; order: -1; }
  .hero-orb { width: 200px; height: 200px; }
  .hero-shield { width: min(160px, 46%); }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .home-split { grid-template-columns: 1fr; gap: 16px; }
  .feat-col, .rank-board { padding: 16px; min-height: 0; }
  .feat-card { grid-template-columns: 72px minmax(0, 1fr); }
  .feat-cover { width: 72px; height: 72px; }
  .rank-item a { grid-template-columns: 24px 36px minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; }
  .rank-thumb { width: 36px; height: 36px; border-radius: 8px; }
  .rank-head h3, .feat-head h3 { font-size: 18px; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 22px; }
  .section-header h2 { font-size: 26px; }
  /* 详情页手机：标题左对齐；获取区提到介绍前；正文可读 */
  .page-head { padding: 20px 0 16px; text-align: left; }
  .page-head h1,
  .detail-head h1 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
  .detail-head { padding: 20px 0 16px; }
  .page-head > .container > p { font-size: 13px; color: var(--text-2); }
  .detail-meta { gap: 6px; }
  .detail-meta span { font-size: 11px; padding: 3px 8px; }
  .crumbs { font-size: 12px; margin-bottom: 8px; }
  .crumbs b {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .detail { gap: 12px; padding: 14px 0 48px; }
  .detail-main, .detail-side { gap: 12px; }
  .detail-side { order: -1; position: static; top: auto; }
  .detail-main { order: 1; }
  .box, .prose-card { padding: 16px; border-radius: 14px; }
  .section-label { font-size: 15px; margin-bottom: 12px; padding-bottom: 10px; }
  .box .article h2 { font-size: 18px; margin: 20px 0 10px; padding-left: 10px; }
  .box .article h3 { font-size: 16px; }
  .article { font-size: 15px; line-height: 1.8; }
  .article ul > li,
  .article ol > li { padding: 9px 12px 9px 34px; }
  .article ol > li { padding-left: 40px; }
  .article img {
    margin: 14px auto;
    padding: 6px;
    border-radius: 12px;
    max-height: min(68vh, 640px);
  }
  .article img.is-portrait {
    max-width: min(100%, 280px);
  }
  .faq-item { padding: 12px; }
  .disk { flex-wrap: wrap; align-items: flex-start; }
  .disk .btn { margin-left: 0; width: 100%; }
  .bug { flex-direction: column; align-items: stretch; }
  .local-pay { text-align: left; }
  .order-page .orders { min-width: 680px; }
  .member-page .orders { min-width: 860px; }
  label { margin: 14px 0 8px; }
  input, textarea, select { padding: 12px 14px; font-size: 16px; }
  .header .container { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .header-cta, .nav { display: none; }
  .nav-toggle { display: grid; }
  body.nav-open .nav, body.nav-open .header-cta { display: flex; }
  body.nav-open .nav { order: 3; width: 100%; flex-direction: column; gap: 0; padding-top: 6px; }
  body.nav-open .nav a { padding: 12px 2px; border-top: 1px solid var(--line); font-size: 16px; }
  body.nav-open .header-cta { order: 4; width: 100%; margin: 8px 0 4px; }
  .disk-row { grid-template-columns: 1fr; }
  .pub-layout { grid-template-columns: 1fr; }
  .publish .pub-bar { top: 52px; flex-wrap: wrap; align-items: flex-start; }
  .pub-actions { width: 100%; flex-wrap: wrap; }
  .pub-actions .btn { flex: 1; }
  .status-pick { flex: 1; }
  .status-pick label { flex: 1; justify-content: center; }
  .editor-box .w-e-toolbar { position: static; }
  .admin { grid-template-columns: 1fr; }
  .aside {
    position: sticky;
    top: 0;
    z-index: 6;
    height: auto;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .aside-brand {
    flex: none;
    padding: 0 8px 0 0;
    border-bottom: 0;
  }
  .aside-brand .logo { font-size: 1rem; }
  .aside-brand .logo small { display: none; }
  .aside-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: auto;
    flex: 1;
    min-width: 0;
    padding: 0;
  }
  .aside-group {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, .08);
  }
  .aside-group:last-child { border-right: 0; padding-right: 0; }
  .aside-label { display: none; }
  .aside-foot { margin: 0; padding: 0; border: 0; }
  .aside-link {
    white-space: nowrap;
    margin: 0;
    padding: 8px 10px;
  }
  .aside-link span { font-size: 13px; }
  .aside-link.on { box-shadow: none; }
  .main { padding: 16px 14px 40px; }
  .main-head h1,
  .main > h1 { font-size: 22px !important; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-filter { grid-template-columns: 1fr 1fr; }
  .admin-filter-acts { grid-column: 1 / -1; }
  .cat-card-grid { grid-template-columns: 1fr; }
  .soft-grid { grid-template-columns: 1fr; }
  .w-e-menu { width: 40px !important; height: 40px !important; }
  table:not(.orders) { display: block; overflow-x: auto; }
  .orders { display: table; }
  .auth-actions { flex-direction: column; }
  .auth-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .page-head h1 { font-size: 20px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card b { font-size: 24px; }
  .hero-home h1 { font-size: 36px; }
}

/* 雷军式故事：示弱 + Why / How / What */
.story-pitch .story-weak {
  color: #c5cede;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.story-pitch .story-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.story-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102,117,246,.35);
  background: rgba(102,117,246,.12);
  color: #c5cbff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.story-pitch h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff;
}
.story-pitch p {
  color: #b0b8cc;
  line-height: 1.7;
  margin: 0 0 10px;
}
.story-pitch strong { color: #fff; }
.story-list {
  margin: 0;
  padding-left: 1.2em;
  color: #b0b8cc;
  line-height: 1.75;
}
.story-list li { margin-bottom: 6px; }
.story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px !important;
}
.story-home .section-header { margin-bottom: 28px; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.story-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(36,36,62,.9), rgba(22,22,40,.95));
}
.story-card-weak {
  border-color: rgba(255,157,184,.22);
  background: linear-gradient(180deg, rgba(52,32,48,.9), rgba(22,22,40,.95));
}
.story-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}
.story-card p {
  margin: 0;
  color: #a8b3cb;
  font-size: 14px;
  line-height: 1.65;
}
.story-card .story-cta { margin-top: 14px !important; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
}

