:root {
  --brand: #2daae2;
  --brand-dark: #1789bd;
  --ink: #232323;
  --ink-soft: #3d3c4a;
  --muted: #7d7d7d;
  --line: #ececf1;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ios: #56a7de;
  --android: #ec5528;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(35, 35, 35, 0.08);
  --shadow-soft: 0 4px 16px rgba(35, 35, 35, 0.06);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

.narrow {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 24px 16px 56px;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-soft);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.topnav-link:hover,
.topnav-link.is-active {
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ios {
  color: #fff;
  background: var(--ios);
  box-shadow: 0 8px 20px rgba(86, 167, 222, 0.32);
}

.btn-android {
  color: #fff;
  background: var(--android);
  box-shadow: 0 8px 20px rgba(236, 85, 40, 0.28);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(45, 170, 226, 0.28);
}

.btn-ghost {
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-small {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

/* Hero */
.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 48px 16px 40px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(45, 170, 226, 0.1);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.hero-desc {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 14px;
  color: #a0a0a8;
  font-size: 13px;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 10% 8% 0;
  background: radial-gradient(circle at 50% 40%, rgba(45, 170, 226, 0.28), transparent 68%);
  filter: blur(24px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(280px, 78vw);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2f3147, #17181f);
  box-shadow: 0 24px 60px rgba(23, 24, 31, 0.32);
}

.phone-screen {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  padding: 0 14px 18px;
}

.phone-cover {
  width: calc(100% + 28px);
  margin: 0 -14px 12px;
  height: 150px;
  object-fit: cover;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.phone-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(45, 170, 226, 0.12);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 600;
}

.phone-meta {
  color: #a0a0a8;
  font-size: 11px;
}

.phone-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-soft);
}

.phone-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px 8px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: center;
}

.stat b {
  display: block;
  color: var(--brand-dark);
  font-size: 26px;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 36px 16px 8px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 22px;
  color: var(--ink-soft);
}

.section-head a {
  color: var(--brand-dark);
  font-size: 14px;
}

.card-list {
  display: grid;
  gap: 12px;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-rank {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.card-rank-1 {
  color: #fff;
  background: #f5a623;
}

.card-rank-2 {
  color: #fff;
  background: #9aa4b2;
}

.card-rank-3 {
  color: #fff;
  background: #c98b5f;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-title {
  display: block;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.feature h3 {
  color: var(--ink-soft);
  font-size: 16px;
}

.feature p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* CTA */
.cta {
  width: min(1120px, 100%);
  margin: 40px auto 0;
  padding: 44px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2b2e44, #171922);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: clamp(22px, 4vw, 30px);
}

.cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Detail */
.detail-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-card .detail-title {
  display: block;
  padding: 18px 18px 0;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.detail-link {
  display: block;
  padding: 8px 18px 18px;
  color: var(--brand-dark);
  font-size: 14px;
}

.detail-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-figure img {
  width: 100%;
}

.detail-figure figcaption {
  padding: 14px 18px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
}

.detail-video video {
  width: 100%;
  border-radius: 18px;
  background: #000;
}

.detail-video .detail-title {
  margin-top: 16px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.file-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.file-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 64px;
  border-radius: 12px;
  background: #fff0ee;
  color: var(--android);
  font-size: 13px;
  font-weight: 700;
}

.file-body {
  min-width: 0;
}

.file-body .detail-title {
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.file-meta {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.detail-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.detail-user-body {
  flex: 1;
  min-width: 0;
}

.detail-user-name {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.detail-user-name span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.detail-reason {
  color: var(--muted);
  font-size: 13px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  color: #a0a0a8;
  font-size: 13px;
}

.detail-source {
  margin-left: auto;
}

.detail-actions {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-top: 24px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.action img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Rank */
.rank-hero {
  padding: 30px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #2b2e44, #171922);
  color: #fff;
  text-align: center;
}

.rank-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.rank-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.rank-hero h1 {
  font-size: 24px;
}

.rank-hero p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.rank-hero b {
  color: #fff;
}

.rank-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: flex;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.rank-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.rank-num-1 {
  color: #fff;
  background: #f5a623;
}

.rank-num-2 {
  color: #fff;
  background: #9aa4b2;
}

.rank-num-3 {
  color: #fff;
  background: #c98b5f;
}

.rank-body {
  flex: 1;
  min-width: 0;
}

.rank-title {
  display: block;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.rank-title:hover {
  color: var(--brand-dark);
}

.rank-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.rank-user {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #a0a0a8;
  font-size: 12px;
}

.rank-user img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.rank-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Download */
.download-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 40px 16px 80px;
}

.wechat-bar {
  width: 100%;
  padding: 10px;
  background: #333;
  color: #eee;
  font-size: 14px;
  text-align: center;
}

.download-main {
  width: min(360px, 100%);
  margin: auto 0;
  text-align: center;
}

.download-logo img {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.download-logo b {
  display: block;
  color: var(--ink-soft);
  font-size: 28px;
}

.download-logo span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.download-actions {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.download-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.download-ios {
  background: var(--ios);
}

.download-android {
  background: var(--android);
}

.download-version {
  margin-top: 14px;
  color: #a0a0a8;
  font-size: 12px;
}

/* Notify */
.notice-head {
  padding: 8px 0 20px;
}

.notice-head h1 {
  font-size: 26px;
  color: var(--ink-soft);
}

.notice-head p {
  color: var(--muted);
  font-size: 14px;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-item a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.notice-date {
  color: #a0a0a8;
  font-size: 12px;
}

.notice-title {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
}

.notice-summary {
  color: var(--muted);
  font-size: 14px;
}

.notice-detail {
  padding: 4px 0;
}

.back-link {
  color: var(--brand-dark);
  font-size: 14px;
}

.notice-detail h1 {
  margin-top: 18px;
  font-size: 26px;
  color: var(--ink-soft);
}

.notice-detail p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
}

.notice-detail .notice-date {
  margin-top: 6px;
}

/* Error */
.error-page {
  padding: 60px 0;
  text-align: center;
}

.error-code {
  color: var(--brand);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.error-page h1 {
  margin-top: 8px;
  font-size: 24px;
  color: var(--ink-soft);
}

.error-page p {
  margin-top: 8px;
  color: var(--muted);
}

.error-page .btn {
  margin-top: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px 16px;
  color: #a0a0a8;
  font-size: 13px;
  text-align: center;
}

.footer-icp {
  margin-left: 8px;
  color: inherit;
}

.footer-icp:hover {
  color: var(--brand-dark);
}

/* Responsive */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 70px;
    padding-bottom: 56px;
  }

  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats {
    gap: 20px;
  }

  .stat {
    padding: 22px;
  }

  .download-page {
    padding-top: 56px;
  }
}

@media (max-width: 480px) {
  .topnav {
    gap: 14px;
    font-size: 13px;
  }

  .brand-name {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat b {
    font-size: 22px;
  }

  .detail-source {
    margin-left: 0;
  }
}
