.page-home {
  --hero-purple: #a855f7;
  --hero-blue: #00e5ff;
  --hero-rose: #ff2e88;
  --panel-deep: #12121a;
  --panel-mid: #1a1a24;
  --line-glow: rgba(0, 229, 255, 0.25);
  --hero-gradient: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(0, 229, 255, 0.08) 50%, rgba(255, 46, 136, 0.12) 100%);
  --container-w: 1320px;
  --font-heading: "PingFang SC Heavy", "Noto Sans SC Black", "Microsoft YaHei", sans-serif;
  --font-body: "Yuanti SC", "YouYuan", "Microsoft YaHei", sans-serif;
}

.page-home {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 88% 20%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
    var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home .page-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.page-home .ctx-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: var(--warm-paper);
  color: var(--text-on-warm);
  font-size: 12px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.page-home .ctx-sep {
  color: var(--line-mid);
}

.page-home .ctx-current {
  color: var(--electric-blue);
}

.page-home .section {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 64px 20px 32px;
}

.page-home .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.page-home .section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
  transform: skewX(-10deg);
  background: rgba(0, 229, 255, 0.06);
  margin-bottom: 8px;
}

.page-home .section-desc {
  max-width: 480px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.page-home .section-desc strong,
.page-home .hero-desc strong {
  color: var(--hero-rose);
  font-size: 1.2em;
}

/* ===== 框景首屏 ===== */
.page-home .hero-frame {
  position: relative;
  max-width: var(--container-w);
  margin: 16px auto 0;
  padding: 0 20px;
}

.page-home .hero-window {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 20, 28, 0.95) 0%, rgba(12, 12, 18, 0.98) 100%),
    var(--bg-panel);
  border: 1px solid var(--line-mid);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.15),
    0 0 60px rgba(168, 85, 247, 0.08);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  overflow: hidden;
}

.page-home .hero-ruler-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent 19px,
    rgba(255, 255, 255, 0.18) 19px,
    rgba(255, 255, 255, 0.18) 20px
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.page-home .hero-ruler-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 24px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 19px,
    rgba(255, 255, 255, 0.18) 19px,
    rgba(255, 255, 255, 0.18) 20px
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.page-home .hero-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--electric-blue);
  border-style: solid;
  opacity: 0.8;
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-corner-tr {
  top: 8px;
  right: 8px;
  border-width: 2px 2px 0 0;
}

.page-home .hero-corner-br {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.page-home .hero-corner-tl {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.page-home .hero-corner-bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 2px 2px;
}

.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 24px 32px;
  background: var(--hero-gradient);
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--hero-blue);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.07);
  transform: skewX(-8deg);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.page-home .hero-copy h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(168, 85, 247, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.6);
  -webkit-text-stroke: 1px rgba(168, 85, 247, 0.3);
  margin: 0 0 18px;
}

.page-home .hero-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 28px;
}

.page-home .hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .hero-stat-item {
  flex: 1;
  min-width: 100px;
  background: rgba(22, 22, 30, 0.85);
  border: 1px solid var(--line-mid);
  border-left: 3px solid var(--neon-purple);
  padding: 14px 16px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .hero-stat-item:nth-child(2) {
  border-left-color: var(--electric-blue);
}

.page-home .hero-stat-item:nth-child(3) {
  border-left-color: var(--hero-rose);
}

.page-home .hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.page-home .hero-stat-item:nth-child(1) .hero-stat-num {
  color: var(--neon-purple);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.page-home .hero-stat-item:nth-child(2) .hero-stat-num {
  color: var(--electric-blue);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.page-home .hero-stat-item:nth-child(3) .hero-stat-num {
  color: var(--hero-rose);
  text-shadow: 0 0 20px rgba(255, 46, 136, 0.6);
}

.page-home .hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid var(--line-mid);
  background: var(--bg-panel);
  color: var(--text-primary);
  transition: all 0.25s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

.page-home .hero-actions .btn-ghost {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--electric-blue);
}

.page-home .hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-home .hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero-figure {
  position: relative;
  max-width: 340px;
  width: 100%;
  margin: 0;
}

.page-home .hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.page-home .hero-figure::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(0, 229, 255, 0.25);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  z-index: -1;
}

.page-home .hero-tag {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  background: rgba(22, 22, 30, 0.9);
  border: 1px solid rgba(255, 46, 136, 0.5);
  color: var(--hero-rose);
  transform: rotate(4deg);
  box-shadow: 0 0 16px rgba(255, 46, 136, 0.2);
}

.page-home .hero-tag.tag-1 {
  top: 6px;
  right: 0;
}

.page-home .hero-tag.tag-2 {
  bottom: 10px;
  left: -4px;
  transform: rotate(-4deg);
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--electric-blue);
}

.page-home .hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-dark);
  background: rgba(10, 10, 15, 0.6);
  font-size: 13px;
  color: var(--text-secondary);
}

.page-home .foot-note {
  position: relative;
}

.page-home .foot-sep {
  color: var(--hero-rose);
  font-size: 10px;
}

/* ===== 最新章节横向滑动 ===== */
.page-home .latest-strip {
  padding-top: 72px;
}

.page-home .strip-wrap {
  position: relative;
  overflow: hidden;
}

.page-home .strip-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .strip-track::-webkit-scrollbar {
  height: 6px;
}

.page-home .strip-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue));
  border-radius: 3px;
}

.page-home .strip-track::-webkit-scrollbar-track {
  background: var(--line-dark);
}

.page-home .chapter-card {
  position: relative;
  flex: 0 0 260px;
  max-width: 260px;
  scroll-snap-align: start;
  background: var(--panel-deep);
  border: 1px solid var(--line-mid);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.page-home .chapter-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 255, 0.1);
}

.page-home .chapter-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .chapter-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.page-home .chapter-card:hover .chapter-cover img {
  transform: scale(1.06);
}

.page-home .chapter-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 10px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 46, 136, 0.5);
  color: var(--hero-rose);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.page-home .chapter-info {
  padding: 14px 16px 18px;
}

.page-home .chapter-num {
  font-size: 12px;
  color: var(--electric-blue);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.page-home .chapter-info h3 {
  font-size: 18px;
  margin: 4px 0 2px;
  color: #ffffff;
}

.page-home .chapter-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .chapter-dialog {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -12px;
  background: var(--warm-paper);
  color: var(--text-on-warm);
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 0 14px 0 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 5;
}

.page-home .chapter-dialog::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 18px;
  border: 8px solid transparent;
  border-top-color: var(--warm-paper);
}

.page-home .chapter-card:hover .chapter-dialog {
  opacity: 1;
  transform: translateY(0);
}

.page-home .strip-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  padding-top: 4px;
}

/* ===== 主题簇索引分类地图 ===== */
.page-home .category-map {
  padding-top: 56px;
}

.page-home .split-head {
  align-items: flex-start;
}

.page-home .map-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .filter-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line-mid);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .filter-btn:hover {
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--electric-blue);
}

.page-home .filter-btn.is-active {
  background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}

.page-home .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .category-card {
  position: relative;
  background: var(--panel-mid);
  border: 1px solid var(--line-mid);
  padding: 18px 16px 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: all 0.25s var(--ease-out);
  cursor: default;
}

.page-home .category-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.06);
  transform: translateX(4px);
}

.page-home .cat-num {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--electric-blue);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.page-home .category-card h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: #ffffff;
}

.page-home .category-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.page-home .map-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .map-figure {
  margin: 0;
}

.page-home .map-figure img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.page-home .map-note {
  background: var(--warm-paper);
  color: var(--text-on-warm);
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .note-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-on-warm);
}

.page-home .map-note p {
  margin: 0;
}

.page-home .map-note::after {
  content: "★";
  position: absolute;
  bottom: 14px;
  right: 16px;
  color: var(--hero-rose);
  font-size: 16px;
}

/* ===== 完结作品大赏 ===== */
.page-home .completed-works {
  padding-top: 56px;
}

.page-home .finished-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.page-home .finished-card {
  position: relative;
  background: var(--panel-deep);
  border: 1px solid var(--line-mid);
  padding: 20px 18px 18px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: all 0.3s var(--ease-out);
}

.page-home .finished-card:hover {
  border-color: rgba(255, 46, 136, 0.5);
  box-shadow: 0 0 30px rgba(255, 46, 136, 0.1);
  transform: translateY(-4px);
}

.page-home .finished-rank {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--hero-rose);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.page-home .finished-card h3 {
  font-size: 18px;
  margin: 0 0 4px;
  color: #ffffff;
}

.page-home .finished-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}

.page-home .finished-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 12px;
  background: rgba(255, 46, 136, 0.12);
  border: 1px solid rgba(255, 46, 136, 0.4);
  color: var(--hero-rose);
}

.page-home .finished-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .finished-more .btn {
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  border: 1px solid var(--line-mid);
  background: var(--bg-panel);
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .finished-more .btn:hover {
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--electric-blue);
}

/* ===== 影视资源栏目 ===== */
.page-home .film-section {
  padding-top: 56px;
}

.page-home .film-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 229, 255, 0.04)),
    var(--panel-deep);
  border: 1px solid var(--line-mid);
  padding: 36px 24px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-home .film-copy h2 {
  font-size: 30px;
  margin: 0 0 12px;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.page-home .film-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 520px;
}

.page-home .film-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.page-home .film-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-home .step-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--electric-blue);
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  flex-shrink: 0;
}

.page-home .film-step h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: #ffffff;
}

.page-home .film-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.page-home .film-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .feature-chip {
  font-size: 12px;
  font-family: var(--font-heading);
  color: var(--text-primary);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.page-home .film-visual {
  position: relative;
  min-height: 240px;
}

.page-home .film-poster-stack {
  position: relative;
  height: 300px;
}

.page-home .poster-card {
  position: absolute;
  width: 180px;
  padding: 20px;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.6;
  border: 1px solid var(--line-mid);
  background: var(--bg-panel);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .poster-a {
  top: 0;
  left: 0;
  border-color: rgba(168, 85, 247, 0.5);
  transform: rotate(-4deg);
  color: var(--neon-purple);
}

.page-home .poster-b {
  top: 40px;
  right: 0;
  border-color: rgba(0, 229, 255, 0.5);
  transform: rotate(5deg);
  color: var(--electric-blue);
}

.page-home .poster-c {
  bottom: 0;
  left: 60px;
  border-color: rgba(255, 46, 136, 0.5);
  transform: rotate(-2deg);
  color: var(--hero-rose);
}

/* ===== 平台数据仪表 ===== */
.page-home .data-dashboard {
  padding-top: 56px;
}

.page-home .dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: var(--panel-deep);
  border: 1px solid var(--line-mid);
  padding: 32px 24px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .dashboard-chart {
  text-align: center;
}

.page-home .ring-chart {
  width: 180px;
  height: 180px;
  max-width: 100%;
}

.page-home .ring-bg {
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 10;
}

.page-home .ring-fg {
  fill: none;
  stroke: url(#ring-gradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 68;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke: var(--neon-purple);
}

.page-home .ring-big {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  fill: #ffffff;
}

.page-home .ring-small {
  font-family: var(--font-body);
  font-size: 11px;
  fill: var(--text-secondary);
}

.page-home .chart-caption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.page-home .dashboard-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.page-home .dash-item {
  background: rgba(22, 22, 30, 0.75);
  border: 1px solid var(--line-mid);
  padding: 16px 14px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .dash-item dt {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.page-home .dash-item dd {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  margin: 0;
  color: var(--electric-blue);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

.page-home .dash-item:nth-child(3) dd {
  color: var(--neon-purple);
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.page-home .dash-item:nth-child(4) dd {
  color: var(--hero-rose);
  text-shadow: 0 0 16px rgba(255, 46, 136, 0.3);
}

.page-home .dash-figure {
  margin: 0;
  text-align: center;
}

.page-home .dash-figure img {
  width: 100%;
  max-width: 240px;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  border: 1px solid rgba(255, 46, 136, 0.3);
}

.page-home .data-footer-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.page-home .data-badge {
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--line-mid);
  background: rgba(22, 22, 30, 0.6);
  padding: 8px 14px;
  letter-spacing: 1px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* ===== 追更进度条 ===== */
.page-home .follow-progress {
  padding-top: 56px;
  padding-bottom: 80px;
}

.page-home .progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .progress-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--panel-deep);
  border: 1px solid var(--line-mid);
  padding: 16px 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .progress-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 150px;
}

.page-home .progress-title {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #ffffff;
}

.page-home .progress-num {
  font-size: 12px;
  color: var(--text-secondary);
}

.page-home .progress-track {
  flex: 1;
  min-width: 120px;
  height: 8px;
  background: var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue));
  border-radius: 4px;
}

.page-home .progress-fill.fill-blue {
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-rose));
}

.page-home .progress-fill.fill-purple {
  background: linear-gradient(90deg, #a855f7, #00e5ff);
}

.page-home .progress-fill.fill-rose {
  background: linear-gradient(90deg, #ff2e88, #a855f7);
}

.page-home .progress-percent {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: var(--electric-blue);
  min-width: 42px;
  text-align: right;
}

.page-home .progress-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .progress-cta .btn {
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  border: 1px solid var(--line-mid);
  background: var(--bg-panel);
  color: var(--text-primary);
  transition: all 0.25s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .progress-cta .btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.page-home .progress-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ===== 响应式：桌面端 ===== */
@media (min-width: 900px) {
  .page-home .section {
    padding: 96px 40px 48px;
  }

  .page-home .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding: 64px 48px 48px;
  }

  .page-home .hero-copy h1 {
    font-size: 48px;
  }

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

  .page-home .hero-stat-item {
    min-width: 120px;
  }

  .page-home .hero-visual {
    justify-content: flex-end;
  }

  .page-home .hero-figure {
    max-width: 380px;
  }

  .page-home .chapter-card {
    flex-basis: 320px;
    max-width: 320px;
  }

  .page-home .map-wrap {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }

  .page-home .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .map-aside {
    flex-direction: column;
  }

  .page-home .finished-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .film-inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 48px;
  }

  .page-home .dashboard-grid {
    grid-template-columns: 0.9fr 1fr 0.8fr;
    gap: 40px;
    padding: 40px;
  }

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

  .page-home .progress-item {
    flex-wrap: nowrap;
  }

  .page-home .progress-track {
    min-width: 200px;
  }
}

@media (min-width: 1200px) {
  .page-home .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-home .hero-window::before {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 60%, rgba(0, 229, 255, 0.15) 60%);
    z-index: 1;
    pointer-events: none;
  }
}
