:root {
  --brand-color: #ffd602;
  --accent-color: #ff5722;
  --anime-pink: #ff4d8d;
  --anime-cyan: #22d3ee;
  --ink-color: #17130d;
  --page-bg: #fff7ce;
  --text-color: #181713;
  --muted-color: #676054;
  --line-color: rgba(0, 0, 0, .08);
  --card-bg: #ffffff;
  --shadow: 0 18px 40px rgba(39, 27, 0, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 锚点跳转时预留 sticky 顶栏高度，避免目标标题被遮挡 */
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--text-color);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 87, 34, .08) 0 2px, transparent 2px 24px),
    #fffdf4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 251, 219, .92);
  border-bottom: 2px solid rgba(23, 19, 13, .1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 22px;
  font-weight: 900;
}

.logo img {
  max-height: 42px;
  width: auto;
}

.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(255, 87, 34, .2);
}

.logo span {
  text-shadow: 2px 2px 0 rgba(255, 214, 2, .48);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
}

.nav-cta,
.home-btn-primary,
.card-download-btn,
.article-download-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-color);
  box-shadow: 0 10px 18px rgba(255, 87, 34, .22);
  font-weight: 900;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .6);
  font-size: 24px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, .8) 0 3px, transparent 3px 16px),
    radial-gradient(circle at 78% 20%, rgba(255, 87, 34, .22), transparent 28%),
    linear-gradient(135deg, #fff6a8 0%, var(--brand-color) 42%, #ffb3ce 100%);
  padding: 58px 0 42px;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -78px -6%;
  height: 150px;
  background:
    linear-gradient(135deg, transparent 0 32px, rgba(23, 19, 13, .13) 33px 36px, transparent 37px 70px),
    linear-gradient(45deg, transparent 0 28px, rgba(23, 19, 13, .1) 29px 31px, transparent 32px 64px);
  opacity: .55;
  pointer-events: none;
}

.manga-speed-lines {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 210deg at 83% 45%, rgba(255, 255, 255, .95) 0 4deg, transparent 4deg 9deg);
  opacity: .18;
  pointer-events: none;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(340px, .86fr);
  align-items: center;
  gap: 48px;
}

.home-hero-text {
  min-width: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid rgba(255, 87, 34, .22);
  border-radius: 999px;
  color: #7a123c;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 900;
}

.home-hero-text h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow:
    4px 4px 0 rgba(255, 255, 255, .62),
    8px 8px 0 rgba(255, 77, 141, .18);
}

.home-hero-desc {
  max-width: 650px;
  margin: 20px 0 0;
  color: #3b351c;
  font-size: 19px;
  line-height: 1.78;
}

.home-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.home-badges span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 87, 34, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #9a124d;
  font-weight: 800;
}

.home-hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.home-btn-primary {
  flex-direction: column;
  align-items: flex-start;
  min-height: 62px;
  min-width: 208px;
  padding: 10px 24px;
  font-size: 18px;
  box-shadow: 0 16px 28px rgba(255, 87, 34, .32);
}

.home-btn-primary small,
.card-download-btn span {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  opacity: .86;
}

.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
  color: #241c0d;
  font-weight: 900;
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #55462c;
  font-size: 14px;
  font-weight: 800;
}

.home-trust-row strong {
  color: #1f1808;
  font-size: 24px;
}

.home-app-preview {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-shell {
  position: relative;
  width: min(380px, 100%);
  padding: 16px;
  border: 10px solid var(--ink-color);
  border-radius: 34px;
  background: #fffdf6;
  box-shadow: 16px 18px 0 rgba(255, 77, 141, .18), 0 30px 70px rgba(33, 23, 0, .24);
}

.phone-shell::before {
  content: "今日热门榜";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(255, 87, 34, .2);
  border-radius: 999px;
  color: #9a124d;
  background: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.phone-status {
  width: 82px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #1f1a12;
}

.phone-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff0a1, #ffe1d5);
}

.phone-app-copy {
  min-width: 0;
}

.phone-app-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--accent-color);
}

.phone-app-head strong,
.phone-app-head span {
  display: block;
}

.phone-app-head span {
  margin-top: 4px;
  color: #73583d;
  font-size: 13px;
  font-weight: 700;
}

.phone-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.phone-app-tags b {
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: #ff4d8d;
  font-size: 11px;
  line-height: 1;
}

.phone-app-tags b:nth-child(2) {
  background: #22a66a;
}

.phone-app-tags b:nth-child(3) {
  background: #ff5722;
}

.phone-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.phone-preview-item {
  display: grid;
  grid-template-columns: 26px 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.phone-preview-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 87, 34, .28);
  box-shadow: 0 10px 20px rgba(255, 87, 34, .12);
}

.phone-rank {
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.phone-preview-item img,
.phone-cover-fallback {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.phone-preview-item img {
  object-fit: cover;
}

.phone-cover-fallback {
  display: grid;
  place-items: center;
  color: var(--accent-color);
  background: #fff1aa;
  font-weight: 900;
}

.phone-preview-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.phone-preview-main {
  min-width: 0;
}

.phone-preview-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted-color);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-color);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 14px rgba(255, 87, 34, .18);
}

.phone-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff5722, #ff4d8d);
  box-shadow: 0 14px 24px rgba(255, 77, 141, .22);
}

.phone-download-bar span {
  opacity: .9;
  font-size: 13px;
}

.phone-download-bar strong {
  white-space: nowrap;
}

.home-section {
  padding: 64px 0;
}

.home-section:nth-of-type(odd) {
  background: #fff8df;
}

.home-topics {
  background:
    linear-gradient(180deg, #fffdf4, #fff7df),
    radial-gradient(circle at 0 0, rgba(34, 211, 238, .12), transparent 24%);
}

.section-head {
  position: relative;
  margin-bottom: 28px;
  text-align: center;
}

.section-head p {
  margin: 0 0 8px;
  color: var(--accent-color);
  font-weight: 900;
}

.home-section-title {
  margin: 0;
  text-align: center;
  font-size: 34px;
  letter-spacing: 0;
}

.home-section-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 7px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-color), var(--brand-color), var(--anime-cyan));
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 14px;
  padding: 0 13px;
  border: 1px solid rgba(23, 19, 13, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--text-color);
  font-size: 14px;
  font-weight: 900;
}

.section-more-link:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.topic-page-status {
  margin: -8px 0 18px;
  text-align: center;
  color: var(--muted-color);
  font-weight: 800;
}

.topic-page-status.is-error {
  color: #d32f2f;
}

.topic-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-link-card {
  position: relative;
  min-height: 154px;
  padding: 22px;
  border: 2px solid rgba(23, 19, 13, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 77, 141, .18) 0 30px, transparent 31px),
    linear-gradient(135deg, #fff, #fff6d7);
  box-shadow: 8px 8px 0 rgba(23, 19, 13, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.topic-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 10px 12px 0 rgba(255, 87, 34, .15);
}

.topic-link-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--anime-pink);
  font-size: 12px;
  font-weight: 900;
}

.topic-link-card strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.topic-link-cover {
  float: right;
  width: 64px;
  height: 88px;
  margin: 0 0 8px 12px;
  border: 1px solid var(--line-color);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 4px 4px 0 rgba(23, 19, 13, .06);
}

.topic-link-card p {
  margin: 10px 0 0;
  color: var(--muted-color);
  line-height: 1.7;
}

.topic-link-card.is-page-topic p {
  display: -webkit-box;
  min-height: 58px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-feature-card,
.home-review-card,
.article-card {
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

.home-feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 253, 244, .94)),
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, .2), transparent 34%);
}

.home-feature-card {
  padding: 24px;
  min-height: 206px;
}

.home-feature-icon {
  font-size: 30px;
}

.home-feature-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.home-feature-card p {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.75;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-plugin-status {
  max-width: 720px;
  margin: -8px auto 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 87, 34, .2);
  border-radius: 6px;
  color: #7a330c;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.download-plugin-status.is-error {
  color: #9f1239;
  border-color: rgba(225, 29, 72, .24);
  background: #fff1f2;
}

.download-app-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  min-height: 218px;
  padding: 18px;
  border: 1px solid rgba(23, 19, 13, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 77, 141, .16) 0 28px, transparent 29px),
    #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.download-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .1);
}

.download-app-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff5722, #ff4d8d);
  box-shadow: 7px 7px 0 rgba(255, 214, 2, .42);
  font-size: 24px;
  font-weight: 900;
}

.download-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-app-card:nth-child(2n) .download-app-icon {
  background: linear-gradient(135deg, #22d3ee, #5b7cfa);
}

.download-app-card:nth-child(3n) .download-app-icon {
  background: linear-gradient(135deg, #ffd602, #ff8f1f);
  color: #17130d;
}

.download-app-body {
  min-width: 0;
}

.download-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.download-app-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.download-app-head span {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #8a360f;
  background: #fff0d8;
  font-size: 12px;
  font-weight: 900;
}

.download-app-desc {
  margin: 10px 0 0;
  color: var(--muted-color);
  line-height: 1.65;
}

.download-app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.download-app-meta span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #74320e;
  background: #fff4df;
  font-size: 12px;
  font-weight: 800;
}

.download-app-actions {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 10px;
  margin-top: 16px;
}

.download-detail-btn,
.download-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}

.download-detail-btn {
  border: 1px solid rgba(23, 19, 13, .12);
  background: #fff8dc;
  color: #241c0d;
}

.download-main-btn {
  flex-direction: column;
  color: #fff;
  background: var(--accent-color);
  box-shadow: 0 12px 20px rgba(255, 87, 34, .22);
}

.download-main-btn small {
  margin-top: 2px;
  font-size: 12px;
  opacity: .86;
}

.download-main-btn.is-loading {
  pointer-events: none;
  opacity: .72;
}

.topic-fallback-download .topic-download-actions {
  display: flex;
}

.topic-fallback-download .download-main-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
}

.topic-download-hint {
  margin: 9px 0 0;
  color: #7b6654;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.article-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 108px;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.latest-internal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  border: 1px dashed rgba(255, 87, 34, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.latest-internal-links strong {
  color: var(--accent-color);
}

.latest-internal-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff2da;
  color: #7a330c;
  font-size: 14px;
  font-weight: 800;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .1);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fff4a3;
  color: var(--accent-color);
  font-size: 30px;
  font-weight: 900;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  min-width: 0;
  align-self: center;
}

.card-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.card-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.card-tags span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #8a360f;
  background: #fff0d8;
  font-size: 12px;
  font-weight: 800;
}

.card-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--muted-color);
  font-size: 14px;
}

.card-download-btn {
  flex-direction: column;
  min-height: 100%;
  padding: 0 14px;
  align-self: stretch;
  text-align: center;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted-color);
}

.pagination a {
  color: var(--accent-color);
  font-weight: 800;
}

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-review-card {
  padding: 28px;
  min-height: 0;
}

.home-review-link {
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-review-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .1);
}

.home-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff0d8;
  box-shadow: inset 0 0 0 2px rgba(255, 87, 34, .12);
}

.home-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-review-head strong,
.home-review-head span {
  display: block;
}

.star-rating {
  margin-top: 4px;
  color: #ffb400;
  font-size: 13px;
  letter-spacing: 0;
}

.home-review-content {
  margin: 20px 0 0;
  color: var(--muted-color);
  line-height: 1.85;
}

.home-review-date {
  margin: 22px 0 0;
  color: #b5b0a6;
  font-size: 14px;
}

.site-footer {
  /* 底边距 64px：紧凑但高于 Windows 自动隐藏任务栏的覆盖高度(约 48px)；
     支持 env() 的浏览器会再加上手机全面屏安全区高度 */
  padding: 38px 0 64px;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  background: #1f1f1f;
  color: rgba(255, 255, 255, .8);
}

.footer-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-seo-links a {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
}

.site-friend-links-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.site-friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.site-footer-custom {
  max-width: 960px;
  line-height: 1.8;
  overflow: visible;
}

.topic-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 251, 219, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(23, 19, 13, .12);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(110%);
  transition: transform .25s ease;
}

.topic-sticky-bar.is-visible {
  transform: translateY(0);
}

.topic-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topic-sticky-text {
  min-width: 0;
}

.topic-sticky-text strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.topic-sticky-text span {
  display: block;
  margin-top: 2px;
  color: var(--muted-color);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-sticky-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-color);
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(255, 87, 34, .28);
}

/* 下载条浮出时给页脚追加等高留白，避免盖住页脚文字 */
body.sticky-bar-open .site-footer {
  padding-bottom: calc(64px + 80px + env(safe-area-inset-bottom, 0px));
}

.article-main {
  padding: 46px 0 72px;
  background: #fafafa;
}

.article-detail {
  max-width: 840px;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

/* 文章封面:右浮动小图,正文文字环绕 */
.article-float-cover {
  float: right;
  width: 176px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  margin: 4px 0 14px 18px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #f2f2f2;
  box-shadow: 6px 6px 0 rgba(23, 19, 13, .06);
}

/* 清除浮动,避免封面溢出卡片 */
.article-detail::after {
  content: "";
  display: block;
  clear: both;
}

.article-detail h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  gap: 8px;
  margin: 12px 0 24px;
  color: var(--muted-color);
}

.article-content {
  line-height: 1.9;
  color: #252525;
}

.app-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-detail__hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(23, 19, 13, .1);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 214, 2, .18), rgba(255, 87, 34, .08));
}

.app-detail__icon {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(255, 87, 34, .7);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 8px 8px 0 rgba(255, 214, 2, .35);
}

.app-detail__hero-copy {
  min-width: 0;
  flex: 1;
}

.app-detail__kicker {
  margin: 0 0 7px;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 900;
}

.app-detail__hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.app-detail__lead {
  margin: 14px 0 0;
  color: var(--muted-color);
  font-size: 17px;
  line-height: 1.75;
}

.app-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.app-detail__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #74320e;
  background: #fff4df;
  font-size: 12px;
  font-weight: 900;
}

.app-detail__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
}

.app-detail__download,
.app-detail__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 22px;
  border-radius: 9px;
  font-weight: 900;
  text-align: center;
}

.app-detail__download {
  flex-direction: column;
  color: #fff !important;
  background: var(--accent-color);
  box-shadow: 0 12px 22px rgba(255, 87, 34, .24);
}

.app-detail__download small {
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
  opacity: .88;
}

.app-detail__secondary {
  border: 1px solid rgba(23, 19, 13, .12);
  color: #5e2a0b !important;
  background: #fff8dc;
}

.app-detail__section {
  padding: 24px;
  border: 1px solid rgba(23, 19, 13, .1);
  border-radius: 12px;
  background: #fff;
}

.app-detail__section h2,
.app-detail__final h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.app-detail__section > p {
  margin: 10px 0 0;
  color: var(--muted-color);
}

.app-detail__feature-list,
.app-detail__audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-detail__feature-list article,
.app-detail__audience-list article {
  flex: 1 1 240px;
  padding: 16px;
  border: 1px solid var(--line-color);
  border-radius: 9px;
  background: #fffdf6;
}

.app-detail__feature-list h3,
.app-detail__audience-list h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.app-detail__feature-list p,
.app-detail__audience-list p {
  margin: 0;
  color: var(--muted-color);
}

.app-detail__package dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.app-detail__package dl div {
  flex: 1 1 180px;
  padding: 14px;
  border-radius: 8px;
  background: #fff8dd;
}

.app-detail__package dt {
  color: var(--muted-color);
  font-size: 12px;
  font-weight: 800;
}

.app-detail__package dd {
  margin: 5px 0 0;
  color: #5e2a0b;
  font-weight: 900;
}

.app-detail__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: app-step;
}

.app-detail__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-color);
  border-radius: 9px;
  counter-increment: app-step;
}

.app-detail__steps li::before {
  content: counter(app-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-color);
  font-weight: 900;
}

.app-detail__steps strong,
.app-detail__steps span {
  display: block;
}

.app-detail__steps span {
  margin-top: 4px;
  color: var(--muted-color);
}

.app-detail__faq details {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fffdf6;
}

.app-detail__faq summary {
  cursor: pointer;
  font-weight: 900;
}

.app-detail__faq details p {
  margin: 10px 0 0;
}

.app-detail__related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.app-detail__related a {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  padding: 14px;
  border: 1px solid var(--line-color);
  border-radius: 9px;
  color: #241c0d;
  background: #fffdf6;
}

.app-detail__related span {
  margin-top: 5px;
  color: var(--muted-color);
  font-size: 13px;
}

.app-detail__final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff1bd, #ffe2d6);
}

.app-detail__final p {
  margin: 0;
  color: var(--muted-color);
}

.app-detail a:focus-visible,
.app-detail summary:focus-visible {
  outline: 3px solid #22d3ee;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .app-detail__hero {
    flex-direction: column;
    padding: 20px;
  }

  .app-detail__icon {
    flex-basis: 96px;
    width: 96px;
    height: 96px;
  }

  .app-detail__hero-actions,
  .app-detail__final {
    align-items: stretch;
    flex-direction: column;
  }

  .app-detail__download,
  .app-detail__secondary {
    width: 100%;
  }

  .app-detail__section {
    padding: 19px;
  }
}

.manga-topic-page {
  display: grid;
  gap: 18px;
}

.manga-topic-page .topic-kicker {
  margin: 0;
  color: var(--accent-color);
  font-weight: 900;
}

.topic-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.topic-hero.no-cover {
  grid-template-columns: 1fr;
}

.topic-hero-text {
  display: grid;
  gap: 14px;
}

.topic-cover {
  width: 150px;
  border: 2px solid rgba(23, 19, 13, .1);
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(23, 19, 13, .08);
}

@media (max-width: 560px) {
  .topic-hero {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .topic-cover {
    width: 96px;
  }
}

.manga-topic-page .topic-lead {
  margin: 0;
  padding: 18px;
  border-left: 5px solid var(--accent-color);
  border-radius: 8px;
  background: #fff8dd;
  font-size: 18px;
  font-weight: 800;
}

.topic-summary-panel,
.topic-download-zone {
  padding: 22px;
  border: 1px solid rgba(23, 19, 13, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, .16), transparent 30%),
    #fffdf6;
}

.topic-summary-panel h2,
.topic-download-zone h2 {
  margin-top: 0;
}

.topic-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.topic-check-list li {
  padding: 13px 14px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
}

.topic-download-zone {
  background:
    linear-gradient(135deg, rgba(255, 214, 2, .18), rgba(255, 87, 34, .08)),
    #fff;
}

.topic-download-head {
  margin-bottom: 16px;
}

.topic-download-head p,
.topic-download-head span {
  margin: 0;
  color: var(--muted-color);
  font-weight: 800;
}

.topic-download-head p {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 900;
}

.topic-download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manga-topic-page h2 {
  margin: 18px 0 0;
  font-size: 26px;
}

.manga-topic-page p,
.manga-topic-page li {
  color: var(--muted-color);
}

.manga-topic-page a {
  color: var(--accent-color);
  font-weight: 900;
}

.manga-topic-page .download-main-btn,
.manga-topic-page .download-main-btn strong,
.manga-topic-page .download-main-btn small {
  color: #fff;
}

.topic-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-related-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
}

.topic-related-list span {
  flex: 0 0 auto;
  color: var(--muted-color);
  font-size: 13px;
  font-weight: 800;
}

.topic-prev-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-color);
}

.manga-topic-page ul li strong {
  color: var(--text-color);
}

.article-content img {
  height: auto;
  border-radius: 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted-color);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .breadcrumb-sep {
  color: #c9c2b4;
}

.breadcrumb .current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.archive-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  background: #fff;
}

.archive-list li a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.archive-list li span {
  flex: 0 0 auto;
  color: var(--muted-color);
  font-size: 13px;
}

.archive-year {
  margin: 26px 0 0;
  font-size: 24px;
}

.taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.taxonomy-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.taxonomy-list a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.taxonomy-list small {
  color: var(--muted-color);
}

.list-page-desc {
  margin: 10px 0 0;
  color: var(--muted-color);
}

.error-page {
  padding: 34px 0;
  text-align: center;
}

.error-page .error-code {
  margin: 0;
  color: var(--accent-color);
  font-size: 72px;
  line-height: 1;
}

.error-page h1 {
  margin: 14px 0 8px;
  font-size: 26px;
}

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

.article-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 18px;
  border-radius: 8px;
  background: #fff7bd;
}

.article-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(255, 87, 34, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8bf, #fff0e8);
}

.article-download-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 900;
}

.article-download-panel strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
}

.article-download-panel p {
  margin: 8px 0 0;
  color: var(--muted-color);
}

.article-download-panel a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 62px;
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-color);
  box-shadow: 0 14px 24px rgba(255, 87, 34, .28);
  font-weight: 900;
}

.article-download-panel small {
  margin-top: 2px;
  font-size: 12px;
  opacity: .85;
}

@media (max-width: 900px) {
  .home-hero-inner,
  .article-grid,
  .download-app-grid,
  .home-feature-grid,
  .topic-link-grid,
  .topic-related-list,
  .topic-check-list,
  .topic-download-grid,
  .home-review-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .home-hero {
    padding-top: 46px;
  }

  .home-hero-inner {
    gap: 34px;
  }

  .home-hero-text h1 {
    font-size: 38px;
  }

  .home-hero-desc {
    font-size: 17px;
  }

  .home-hero-btns {
    align-items: stretch;
  }

  .home-btn-primary {
    width: 100%;
    min-width: 0;
  }

  .home-btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .phone-shell {
    width: min(calc(100vw - 48px), 330px);
    padding: 14px;
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-preview-item {
    grid-template-columns: 22px 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .phone-preview-item img,
  .phone-cover-fallback {
    width: 44px;
    height: 44px;
  }

  .phone-mini-cta {
    min-width: 44px;
  }

  .article-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .download-app-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .download-app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    font-size: 20px;
  }

  .download-app-actions {
    grid-column: 1 / -1;
  }

  .card-icon {
    width: 72px;
  }

  .card-download-btn {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .article-detail {
    padding: 22px;
  }

  .article-download-panel {
    grid-template-columns: 1fr;
  }

  .article-download-panel a {
    width: 100%;
  }

  .article-float-cover {
    width: 118px;
    margin: 2px 0 10px 12px;
  }
}
