:root {
  --brand: #0080ff;
  --brand-hover: #0073e5;
  --app: #1677ff;
  --app-dark: #0958d9;
  --app-soft: #e6f4ff;
  --page: #f5f6f8;
  --text: #1f2329;
  --muted: rgba(0, 0, 0, 0.5);
  --body: rgba(0, 0, 0, 0.7);
  --title: rgba(0, 0, 0, 0.9);
  --line: rgba(0, 0, 0, 0.1);
  --vip: #ff7d00;
  --warn: #fff7e8;
  --header-h: 64px;
  --content: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #fff;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Header（对应 Header_header__tfszN） ===== */
.Header_header__tfszN {
  background: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 19;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.Header_header__tfszN::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  z-index: 2;
  height: 4px;
  pointer-events: none;
}

.Header_headerContent__8H_qL {
  height: var(--header-h);
  display: flex;
  align-items: center;
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.Header_logo__vpVA3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.Header_logo__vpVA3 img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.Header_logo__vpVA3 span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}

.Header_space__TLH7f {
  flex: 1 1 auto;
  width: 0;
}

.Header_downloadTrigger__tsoFm {
  display: flex;
  height: 32px;
  padding: 0 10px;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  background: var(--brand);
  min-width: 86px;
  gap: 4px;
  color: #fff;
}

.Header_downloadTrigger__tsoFm:hover {
  background: var(--brand-hover);
}

.Header_downloadIcon__2k8c_ {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.Header_downloadText__j6gKN {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
  color: #fff;
}

.Header_headerPlaceholder__6Er_S {
  height: var(--header-h);
}

/* ===== 主内容 ===== */
.main {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 8px;
}

.section-title {
  font-size: 18px;
  line-height: 30px;
  color: var(--title);
  margin-bottom: 16px;
  font-weight: 600;
}

/* 预览 */
.preview {
  margin-top: 36px;
}

.preview-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.preview-row::-webkit-scrollbar {
  height: 6px;
}

.preview-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 3px;
}

.preview-item {
  flex: 0 0 auto;
  width: 196px;
  height: 348px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* 手机截图模拟 */
.phone {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--page);
  font-size: 11px;
  color: var(--text);
}

.phone-bar {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 10px;
  color: #333;
  background: var(--page);
}

.phone-body {
  flex: 1;
  overflow: hidden;
  padding: 0 10px 8px;
}

.phone-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  margin: 4px 0 10px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
}

.card-soft {
  background: #e6f4ff;
}

.card-warn {
  background: var(--warn);
}

.card-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--app-soft);
  color: var(--app);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 12px;
}

.card h4 {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.card p,
.muted {
  font-size: 10px;
  color: #8f959e;
  line-height: 1.35;
  margin-top: 2px;
}

.pill {
  margin-left: auto;
  font-size: 10px;
  color: var(--app);
  font-weight: 500;
}

.btn-vip {
  background: var(--vip);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  padding: 5px 8px;
  white-space: nowrap;
}

.msg {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.msg b {
  font-size: 11px;
  display: block;
}

.search {
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  color: #8f959e;
  font-size: 10px;
  margin-bottom: 8px;
}

.tabs {
  height: 44px;
  display: flex;
  background: #fff;
  border-top: 1px solid #eee;
}

.tabs span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #8f959e;
  gap: 2px;
}

.tabs span.on {
  color: var(--app);
  font-weight: 600;
}

.tabs i {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
}

.switch {
  width: 26px;
  height: 14px;
  border-radius: 8px;
  background: var(--app);
  margin-left: auto;
  position: relative;
}

.switch::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  top: 1px;
  right: 1px;
}

/* 简介 / 介绍 */
.intro {
  margin-top: 48px;
}

.intro-lead-wrap {
  position: relative;
}

.intro-lead {
  font-size: 14px;
  line-height: 21px;
  color: var(--body);
  text-align: justify;
  white-space: pre-line;
  max-height: 63px;
  overflow: hidden;
}

.intro-lead.is-open {
  max-height: none;
}

.intro-expand {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--brand);
  padding-left: 48px;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 40%, #fff);
  border: 0;
  font-family: inherit;
}

.intro-block {
  margin-top: 16px;
}

.intro-h3 {
  font-size: 16px;
  line-height: 24px;
  color: #000;
  font-weight: 600;
}

.intro-detail {
  font-size: 14px;
  line-height: 22px;
  color: var(--body);
  margin-top: 8px;
  white-space: pre-line;
}

/* ===== Footer ===== */
.Footer_footer__qrkdV {
  width: min(var(--content), calc(100% - 32px));
  margin: 32px auto 40px;
}

.Footer_separator__6qJ8X {
  height: 1px;
  background: var(--line);
  margin-bottom: 32px;
}

.Footer_linkList__W94uJ {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  margin-bottom: 16px;
}

.Footer_linkItem__TJfWN {
  display: flex;
}

.Footer_linkItem__TJfWN a:hover {
  color: rgba(0, 0, 0, 0.4);
}

.Footer_linkSeparator__4W26L {
  padding: 0 4px;
}

.Footer_securityAndCopyRight__QXY8_ {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 8px;
}

.Footer_version__j7r_7,
.Footer_icp__D5CP5,
.Footer_copyRight__bmsZn {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}

.Footer_icp__D5CP5 a:hover {
  color: rgba(0, 0, 0, 0.4);
}

.Footer_copyRight__bmsZn {
  margin-bottom: 16px;
}

@media (max-width: 760px) {
  :root {
    --header-h: 48px;
  }

  .Header_logo__vpVA3 span {
    font-size: 15px;
  }

  .preview-item {
    width: 42vw;
    height: 74vw;
  }

  .section-title {
    font-size: 18px;
  }

  .Footer_securityAndCopyRight__QXY8_ {
    display: block;
  }

  .Footer_icp__D5CP5,
  .Footer_version__j7r_7 {
    display: block;
    margin-bottom: 4px;
  }
}
