/* URSPIRE home page — editorial poster system */

main[data-page-key="home"] {
  --home-blue: #1769e0;
  --home-blue-deep: #0b42a2;
  --home-cyan: #00a7c8;
  --home-ink: #171a1f;
  --home-muted: #68707d;
  --home-line: #dfe4eb;
  overflow: clip;
}

main[data-page-key="home"] .section {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: 0;
}

/* ===== 首屏：一张可滚动的编辑海报 ===== */
.home-poster {
  position: relative;
  padding-top: clamp(20px, 3vw, 38px);
  padding-bottom: clamp(34px, 5vw, 72px);
}

.home-poster::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -18%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 105, 224, 0.12), rgba(0, 167, 200, 0.035) 46%, transparent 70%);
  content: "";
  pointer-events: none;
}

.home-poster-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px 0 11px;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-poster-meta span:nth-child(2) {
  text-align: center;
}

.home-poster-meta span:last-child {
  text-align: right;
}

.home-poster-meta strong {
  color: var(--home-ink);
  font-weight: 900;
}

.home-poster-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: min(620px, 68vh);
  padding: clamp(36px, 6vw, 78px) 0 clamp(30px, 4vw, 56px);
}

.home-hero-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-hero-text > .eyebrow {
  margin-bottom: clamp(18px, 3vw, 38px);
  color: var(--home-blue);
  letter-spacing: 0.17em;
}

.home-hero-title {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  color: var(--home-ink);
  font-size: clamp(68px, 11.2vw, 164px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.home-hero-title span {
  display: block;
  width: max-content;
  max-width: none;
}

.home-hero-title span:last-child {
  align-self: flex-end;
  margin: -0.08em 0 -0.12em;
  padding: 0.08em 0.08em 0.12em 0.02em;
  color: var(--home-blue);
}

.home-poster-copy-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(310px, 1.1fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: end;
  margin-top: clamp(40px, 6vw, 76px);
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
}

.home-hero-sub {
  max-width: 24ch;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.72;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.home-hero-actions .btn {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 3px;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.home-hero-actions .btn-primary {
  border-color: var(--home-blue);
  background: var(--home-blue);
}

.home-hero-actions .btn-primary:hover {
  border-color: var(--home-blue-deep);
  background: var(--home-blue-deep);
}

.home-hero-actions .btn-ghost {
  border-color: var(--home-line);
  background: transparent;
  color: var(--home-ink);
}

.home-hero-visual {
  position: relative;
  display: grid;
  min-height: 530px;
  margin: 0;
  padding: clamp(24px, 3vw, 42px) clamp(20px, 2.5vw, 34px) 22px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--home-blue);
  color: #fff;
  isolation: isolate;
}

.home-hero-visual::before,
.home-hero-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.home-hero-visual::before {
  top: 19%;
  right: -35%;
  width: 108%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.home-hero-visual::after {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-poster-mark {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 28px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-hero-logo {
  align-self: center;
  justify-self: center;
  width: min(80%, 250px);
  height: min(72%, 350px);
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-hero-logo::before,
.home-hero-logo::after {
  content: none;
}

.home-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 28px 48px rgba(1, 32, 86, 0.24));
  mix-blend-mode: screen;
}

.home-hero-visual .home-mini-card {
  position: relative;
  left: auto;
  bottom: auto;
  display: flex;
  width: 100%;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-mini-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-mini-card strong {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-line);
}

.home-hero-stats > div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  padding: 19px clamp(14px, 2vw, 28px) 21px 0;
}

.home-hero-stats > div + div {
  padding-left: clamp(18px, 3vw, 40px);
  border-left: 1px solid var(--home-line);
}

.home-hero-stats > div > span {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--home-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.home-hero-stats dt {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 850;
}

.home-hero-stats dd {
  margin: 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* ===== 编辑式章节标题 ===== */
.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 36px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
  padding-top: 16px;
  border-top: 1px solid var(--home-ink);
}

.home-section-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--home-blue);
}

.home-section-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-section-note {
  max-width: 28ch;
  margin: 0 0 4px auto;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ===== 正在发生：一张主海报 + 策展卡片 ===== */
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  align-items: stretch;
}

.home-feature-card {
  position: relative;
  display: grid;
  grid-column: span 4;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  isolation: isolate;
}

.home-feature-card::before {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 15px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(23, 26, 31, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-ink);
  display: none;
  content: none;
  font-size: 9px;
  font-weight: 900;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-feature-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(19, 32, 55, 0.14);
}

.home-feature-cover {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  background: #eef2f6;
  box-shadow: none;
}

.home-feature-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-feature-card:hover .home-feature-cover img {
  transform: scale(1.035);
}

.home-feature-cover.image-contain img {
  box-sizing: border-box;
  object-fit: contain;
  padding: clamp(18px, 3vw, 36px);
}

.home-feature-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-width: 0;
  padding: clamp(20px, 2.5vw, 30px);
}

.home-feature-copy small {
  color: var(--home-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-feature-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--home-ink);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-feature-copy span {
  overflow: hidden;
  color: var(--home-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-card.is-lead {
  grid-column: span 7;
  grid-row: span 2;
  grid-template-rows: 1fr auto;
  min-height: 650px;
  background: var(--home-ink);
}

.home-feature-card.is-lead::after {
  position: absolute;
  z-index: 1;
  inset: 36% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(6, 11, 20, 0.9));
  content: "";
  pointer-events: none;
}

.home-feature-card.is-lead::before {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(9, 20, 37, 0.3);
  color: #fff;
}

.home-feature-card.is-lead .home-feature-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.home-feature-card.is-lead .home-feature-copy {
  align-self: end;
  grid-row: 2;
  padding: clamp(28px, 4vw, 52px);
}

.home-feature-card.is-lead .home-feature-copy small {
  color: #78e4ef;
}

.home-feature-card.is-lead .home-feature-copy strong {
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
}

.home-feature-card.is-lead .home-feature-copy span {
  color: rgba(255, 255, 255, 0.7);
}

.home-feature-card[data-feature-index="2"],
.home-feature-card[data-feature-index="3"] {
  grid-column: span 5;
}

.home-feature-card[data-feature-type="music"]:not(.is-lead) .home-feature-cover {
  aspect-ratio: 1;
}

.home-featured[data-feature-count="1"] .home-feature-card {
  grid-column: 1 / -1;
  min-height: 620px;
}

.home-featured[data-feature-count="2"] .home-feature-card.is-lead {
  grid-column: span 7;
}

.home-featured[data-feature-count="2"] .home-feature-card:not(.is-lead) {
  grid-column: span 5;
  min-height: 650px;
}

/* ===== 最新歌曲：六张唱片封面组成一条发布长廊 ===== */
.home-covers-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px) 14px;
  align-items: start;
}

.home-cover {
  position: relative;
  display: block;
  grid-column: span 2;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.home-covers,
.home-cover,
.home-cover-main,
.home-cover-img,
.home-cover-img img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.home-cover-main {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.home-cover-img {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  background: #e8edf3;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.home-cover-img::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 26, 31, 0.1);
  content: "";
  pointer-events: none;
}

.home-cover-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-cover:hover .home-cover-img {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(19, 32, 55, 0.18);
}

.home-cover:hover .home-cover-img img {
  transform: scale(1.045);
}

.home-cover-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding-right: 8px;
}

.home-cover-meta strong {
  overflow: hidden;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-cover-meta small {
  overflow: hidden;
  color: var(--home-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-cover-detail-layer {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 20px;
  pointer-events: none;
}

.home-cover-detail {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 28px rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.84);
  visibility: hidden;
  transition:
    opacity 220ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    visibility 0s linear 300ms;
}

.home-cover-detail span,
.home-cover-detail svg {
  display: block;
  width: 19px;
  height: 19px;
}

.home-cover.is-detail-ready .home-cover-detail {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.home-cover.is-detail-ready .home-cover-detail-layer {
  background: rgba(4, 10, 18, 0.22);
}

.home-cover-detail:hover,
.home-cover-detail:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.home-cover.is-long-pressing .home-cover-img {
  transform: scale(0.985);
  transition-duration: 650ms;
  transition-timing-function: linear;
}

.home-cover.is-long-press-confirmed .home-cover-img {
  animation: homeCoverPressConfirm 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes homeCoverPressConfirm {
  0% { transform: scale(0.985); }
  45% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

@media (hover: none), (pointer: coarse) {
  .home-cover-detail-layer {
    display: none;
  }

  .home-cover:hover .home-cover-img {
    transform: none;
  }

  .home-cover.is-long-pressing .home-cover-img {
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-cover.is-long-press-confirmed .home-cover-img {
    animation: none;
  }
}

.home-cover-sk {
  grid-column: span 2;
  aspect-ratio: 1;
  border-radius: 0;
  background: linear-gradient(100deg, rgba(127, 127, 127, 0.08) 30%, rgba(127, 127, 127, 0.18) 50%, rgba(127, 127, 127, 0.08) 70%);
  background-size: 200% 100%;
  animation: urspireShimmer 1.3s ease-in-out infinite;
}

@keyframes urspireShimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ===== 创作目录：去卡片化的编号索引 ===== */
.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
}

.home-entry {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  min-height: 132px;
  padding: 25px clamp(22px, 3vw, 42px) 25px 0;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  transition: padding 0.3s ease, background-color 0.3s ease;
}

.home-entry:nth-child(odd) {
  padding-right: clamp(26px, 4vw, 56px);
  border-right: 1px solid var(--home-line);
}

.home-entry:nth-child(even) {
  padding-left: clamp(26px, 4vw, 56px);
}

.home-entry::before {
  display: none;
  align-self: start;
  grid-row: span 2;
  padding-top: 5px;
  color: var(--home-blue);
  content: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.home-entry::after {
  grid-row: span 2;
  color: var(--home-ink);
  content: "↗";
  font-size: 19px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.home-entry:hover {
  padding-right: clamp(16px, 2vw, 28px);
  background: rgba(23, 105, 224, 0.045);
  box-shadow: none;
  transform: none;
}

.home-entry:nth-child(even):hover {
  padding-left: clamp(36px, 5vw, 68px);
  padding-right: clamp(22px, 3vw, 42px);
}

.home-entry:hover::after {
  color: var(--home-blue);
  transform: translate(3px, -3px);
}

.home-entry strong {
  color: var(--home-ink);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.home-entry span {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ===== 共创收尾：品牌色整版海报 ===== */
.home-join-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding: clamp(34px, 5.5vw, 74px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 92% 16%, rgba(64, 220, 236, 0.36), transparent 27%),
    linear-gradient(135deg, var(--home-blue-deep), var(--home-blue) 62%, #157fc9);
  box-shadow: 0 30px 80px rgba(11, 66, 162, 0.22);
  color: #fff;
}

.home-join-preview::before {
  position: absolute;
  right: -12%;
  bottom: -62%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-join-kicker {
  grid-column: span 2;
}

.home-join-kicker span {
  display: block;
  margin-bottom: 13px;
  color: #7ceaf0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-join-kicker p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.home-join-copy {
  grid-column: span 7;
}

.home-join-preview h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.home-join-preview .home-join-copy p {
  max-width: 42ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.home-join-preview .join-preview-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: span 3;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.home-join-preview .join-preview-list span {
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 750;
}

.home-join-preview > .btn {
  grid-column: 10 / 13;
  justify-self: stretch;
  min-height: 52px;
  margin-top: 4px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--home-blue-deep);
}

.home-join-preview > .btn:hover {
  border-color: #dffcff;
  background: #dffcff;
  color: var(--home-blue-deep);
}

.home-join-preview > .btn span {
  margin-left: auto;
  font-size: 16px;
}

/* ===== 站外平台：共创之后的三个明确出口 ===== */
.home-section-link {
  justify-self: end;
  align-self: end;
  padding-bottom: 6px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 750;
  transition: color 0.22s ease, transform 0.22s ease;
}

.home-section-link:hover {
  color: var(--home-blue);
  transform: translateX(3px);
}

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

.home-external-link {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 10px;
  padding: 26px 58px 26px 26px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  color: var(--home-ink);
  background: var(--home-surface);
  box-shadow: 0 14px 44px rgba(20, 31, 46, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-external-link:hover {
  border-color: rgba(23, 105, 224, 0.28);
  box-shadow: 0 24px 58px rgba(20, 31, 46, 0.12);
  transform: translateY(-4px);
}

.home-external-link small {
  color: var(--home-blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.home-external-link strong {
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.home-external-link span {
  max-width: 24ch;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.65;
}

.home-external-link i {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--home-ink);
  font-size: 19px;
  font-style: normal;
  transition: color 0.22s ease, transform 0.22s ease;
}

.home-external-link:hover i {
  color: var(--home-blue);
  transform: translate(3px, -3px);
}

:root[data-theme="dark"] main[data-page-key="home"] .home-external-link {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(20, 22, 27, 0.82);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

/* ===== 平板 ===== */
@media (max-width: 980px) {
  .home-poster-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: 560px;
  }

  .home-hero-title {
    font-size: clamp(64px, 11.5vw, 108px);
  }

  .home-poster-copy-row {
    grid-template-columns: 1fr;
  }

  .home-hero-actions {
    justify-content: flex-start;
  }

  .home-feature-card.is-lead,
  .home-featured[data-feature-count="2"] .home-feature-card.is-lead {
    grid-column: span 7;
  }

  .home-feature-card[data-feature-index="2"],
  .home-feature-card[data-feature-index="3"],
  .home-featured[data-feature-count="2"] .home-feature-card:not(.is-lead) {
    grid-column: span 5;
  }

  .home-feature-card:not(.is-lead) {
    grid-column: span 6;
  }

  .home-cover,
  .home-cover:nth-child(7n + 1),
  .home-cover:nth-child(7n + 2) {
    grid-column: span 3;
  }

  .home-join-kicker {
    grid-column: span 3;
  }

  .home-join-copy {
    grid-column: span 9;
  }

  .home-join-preview .join-preview-list {
    grid-column: 4 / 10;
  }

  .home-join-preview > .btn {
    grid-column: 10 / 13;
  }

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

  .home-external-link:last-child {
    grid-column: 1 / -1;
  }
}

/* ===== 手机：仍保留海报层级，不把视觉放到标题前 ===== */
@media (max-width: 720px) {
  main[data-page-key="home"] .section {
    padding-top: 78px;
  }

  .home-poster {
    padding-top: 12px;
  }

  .home-poster-meta {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .home-poster-meta span:nth-child(2) {
    display: none;
  }

  .home-poster-stage {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 40px 0 30px;
  }

  .home-hero-title {
    margin-top: 26px;
    font-size: clamp(58px, 20.6vw, 92px);
    line-height: 0.9;
  }

  .home-hero-title span:last-child {
    align-self: flex-start;
  }

  .home-poster-copy-row {
    gap: 24px;
    margin-top: 36px;
  }

  .home-hero-sub {
    max-width: 27ch;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-actions .btn {
    min-width: 0;
    padding-inline: 12px;
  }

  .home-hero-visual {
    min-height: 450px;
  }

  .home-hero-logo {
    width: min(66%, 230px);
    height: 290px;
  }

  .home-hero-stats {
    grid-template-columns: 1fr;
  }

  .home-hero-stats > div,
  .home-hero-stats > div + div {
    padding: 15px 0;
    border-left: 0;
  }

  .home-hero-stats > div + div {
    border-top: 1px solid var(--home-line);
  }

  .home-section-heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .home-section-heading h2 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .home-section-note {
    margin: 0;
  }

  .home-section-link {
    justify-self: start;
    padding-bottom: 0;
  }

  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card,
  .home-feature-card.is-lead,
  .home-feature-card[data-feature-index="2"],
  .home-feature-card[data-feature-index="3"],
  .home-featured[data-feature-count] .home-feature-card,
  .home-featured[data-feature-count] .home-feature-card.is-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }

  .home-feature-card.is-lead {
    min-height: 500px;
  }

  .home-feature-card:not(.is-lead) {
    grid-template-columns: minmax(116px, 0.38fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .home-feature-card:not(.is-lead) .home-feature-cover {
    height: 100%;
    aspect-ratio: 1;
  }

  .home-feature-copy {
    padding: 18px;
  }

  .home-covers-grid {
    display: grid;
    grid-auto-columns: minmax(158px, 44vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-covers-grid::-webkit-scrollbar {
    display: none;
  }

  .home-external-grid {
    grid-template-columns: 1fr;
  }

  .home-external-link,
  .home-external-link:last-child {
    grid-column: 1;
    min-height: 156px;
    padding: 22px 54px 22px 22px;
    border-radius: 24px;
  }

  .home-cover,
  .home-cover:nth-child(7n + 1),
  .home-cover:nth-child(7n + 2) {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .home-cover-sk {
    grid-column: auto;
  }

  .home-entry-grid {
    grid-template-columns: 1fr;
  }

  .home-entry,
  .home-entry:nth-child(odd),
  .home-entry:nth-child(even) {
    min-height: 116px;
    padding: 22px 4px;
    border-right: 0;
  }

  .home-entry:hover,
  .home-entry:nth-child(even):hover {
    padding-right: 4px;
    padding-left: 12px;
  }

  .home-join-preview {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 26px;
  }

  .home-join-kicker,
  .home-join-copy,
  .home-join-preview .join-preview-list,
  .home-join-preview > .btn {
    grid-column: 1;
  }

  .home-join-preview h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .home-join-preview > .btn {
    margin-top: -8px;
  }
}

@media (max-width: 390px) {
  .home-hero-title {
    font-size: 17.6vw;
  }

  .home-hero-actions {
    grid-template-columns: 1fr;
  }

  .home-feature-card:not(.is-lead) {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .home-feature-card:not(.is-lead) .home-feature-cover {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* ===== 深色模式：首页继续保持“墨色海报”，不做简单反相 ===== */
:root[data-theme="dark"] main[data-page-key="home"] {
  --home-ink: #f2f5f8;
  --home-muted: #9ca8b6;
  --home-line: rgba(194, 208, 224, 0.2);
}

:root[data-theme="dark"] .home-feature-card {
  background: #111b27;
}

:root[data-theme="dark"] .home-feature-card.is-lead {
  background: #080e17;
}

:root[data-theme="dark"] .home-feature-cover,
:root[data-theme="dark"] .home-cover-img {
  background: #162432;
}

:root[data-theme="dark"] .home-entry:hover {
  background: rgba(66, 145, 255, 0.09);
}

:root[data-theme="dark"] .home-feature-card::before {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(8, 16, 28, 0.7);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-card,
  .home-feature-cover img,
  .home-cover,
  .home-cover-img,
  .home-cover-img img,
  .home-entry,
  .home-entry::after {
    transition: none;
  }
}

/* ===== Apple-inspired refinement =====
   保留编辑海报的内容层级，用更纯净的底色、连续圆角与柔和材质表达高级感。 */
body:has(main[data-page-key="home"]) {
  background: #f5f5f7;
}

body:has(main[data-page-key="home"]) .site-bg::after {
  opacity: 0;
}

body:has(main[data-page-key="home"]) .glass-nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(250, 250, 252, 0.78);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

main[data-page-key="home"] {
  --home-blue: #0071e3;
  --home-blue-deep: #0058b0;
  --home-cyan: #00a9d6;
  --home-ink: #1d1d1f;
  --home-muted: #6e6e73;
  --home-line: rgba(29, 29, 31, 0.1);
  --home-surface: #fff;
  --home-surface-soft: #fbfbfd;
  --home-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.home-poster::before {
  top: -6%;
  right: -16%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12), rgba(0, 169, 214, 0.04) 43%, transparent 70%);
  filter: blur(2px);
}

.home-poster-meta {
  padding: 13px 4px;
  border-top-color: var(--home-line);
  border-bottom-color: var(--home-line);
  letter-spacing: 0.12em;
}

.home-poster-stage {
  gap: clamp(34px, 5vw, 80px);
  padding-top: clamp(46px, 7vw, 92px);
}

.home-hero-text > .eyebrow,
.home-section-heading .eyebrow {
  color: var(--home-blue);
}

.home-hero-title {
  font-weight: 800;
  letter-spacing: -0.072em;
}

.home-hero-title span:last-child {
  background: linear-gradient(105deg, #0071e3 6%, #1687e8 52%, #08a9cf 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-poster-copy-row {
  border-top-color: var(--home-line);
}

.home-hero-actions .btn {
  min-height: 46px;
  padding-inline: 23px;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0;
}

.home-hero-actions .btn-primary {
  border-color: var(--home-blue);
  background: var(--home-blue);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.22);
}

.home-hero-actions .btn-ghost {
  border-color: transparent;
  background: rgba(0, 0, 0, 0.055);
}

.home-hero-actions .btn-ghost:hover {
  border-color: transparent;
  background: rgba(0, 0, 0, 0.09);
}

.home-hero-visual {
  min-height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 36px;
  background:
    radial-gradient(circle at 28% 15%, rgba(115, 210, 255, 0.52), transparent 27%),
    radial-gradient(circle at 76% 76%, rgba(27, 73, 229, 0.72), transparent 40%),
    linear-gradient(145deg, #13a7e5 0%, #0874e1 45%, #2549cf 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.48),
    0 30px 80px rgba(0, 74, 173, 0.2);
}

.home-hero-visual::before {
  border-color: rgba(255, 255, 255, 0.27);
}

.home-hero-visual::after {
  inset: 16px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.home-hero-logo img {
  filter: invert(1) drop-shadow(0 28px 48px rgba(0, 30, 90, 0.2));
}

.home-hero-stats {
  gap: 1px;
  overflow: hidden;
  padding: 6px;
  border: 0;
  border-radius: 26px;
  background: var(--home-surface);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), var(--home-shadow);
}

.home-hero-stats > div,
.home-hero-stats > div + div {
  padding: 20px clamp(18px, 2.4vw, 30px);
  border: 0;
  border-radius: 20px;
}

.home-hero-stats > div + div::before {
  position: absolute;
  top: 23%;
  bottom: 23%;
  left: 0;
  width: 1px;
  background: var(--home-line);
  content: "";
}

.home-section-heading {
  padding-top: 0;
  border-top: 0;
}

.home-section-heading h2 {
  font-weight: 760;
  letter-spacing: -0.05em;
}

.home-featured-grid {
  gap: 18px;
}

.home-feature-card {
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--home-surface);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.035);
}

.home-feature-card::before {
  top: 18px;
  right: 18px;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.home-feature-card:hover {
  transform: translateY(-6px) scale(1.004);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.home-feature-card.is-lead {
  background: #111;
}

.home-feature-card.is-lead::after {
  inset: 24% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.88));
}

.home-feature-cover {
  background: #f1f1f3;
}

.home-feature-card:not(.is-lead) .home-feature-copy {
  padding: clamp(22px, 2.7vw, 34px);
}

.home-feature-copy strong {
  font-weight: 720;
  letter-spacing: -0.035em;
}

.home-cover-img {
  overflow: hidden;
  border-radius: 20px;
  background: #e9e9ec;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.home-cover-img::after {
  border-color: rgba(0, 0, 0, 0.05);
  border-radius: inherit;
}

.home-cover:hover .home-cover-img {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.home-cover-meta strong {
  font-weight: 650;
}

.home-entry-grid {
  gap: 14px;
  border-top: 0;
}

.home-entry,
.home-entry:nth-child(odd),
.home-entry:nth-child(even) {
  min-height: 156px;
  padding: 28px 30px;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--home-surface);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.035);
}

.home-entry::before {
  color: var(--home-blue);
}

.home-entry::after {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.09);
  color: var(--home-blue);
  font-size: 15px;
}

.home-entry:hover,
.home-entry:nth-child(even):hover {
  padding: 28px 30px;
  background: var(--home-surface);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.home-entry:hover::after {
  background: var(--home-blue);
  color: #fff;
}

.home-entry strong {
  font-weight: 720;
}

.home-join-preview {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 10%, rgba(85, 221, 255, 0.38), transparent 26%),
    radial-gradient(circle at 14% 94%, rgba(90, 88, 255, 0.42), transparent 36%),
    linear-gradient(135deg, #003d91 0%, #006edb 54%, #0a8bc5 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 34px 80px rgba(0, 65, 150, 0.2);
}

.home-join-preview h2 {
  font-weight: 760;
}

.home-join-preview > .btn {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 25, 80, 0.18);
}

/* Apple 风格的黑夜模式：纯黑背景、深灰内容面与更明亮的系统蓝。 */
:root[data-theme="dark"] body:has(main[data-page-key="home"]) {
  background: #000;
}

:root[data-theme="dark"] body:has(main[data-page-key="home"]) .glass-nav {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(22, 22, 23, 0.78);
  box-shadow: none;
}

:root[data-theme="dark"] main[data-page-key="home"] {
  --home-blue: #2997ff;
  --home-blue-deep: #0071e3;
  --home-cyan: #64d2ff;
  --home-ink: #f5f5f7;
  --home-muted: #a1a1a6;
  --home-line: rgba(255, 255, 255, 0.13);
  --home-surface: #1c1c1e;
  --home-surface-soft: #101012;
  --home-shadow: 0 20px 58px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .home-poster::before {
  background: radial-gradient(circle, rgba(41, 151, 255, 0.2), rgba(100, 210, 255, 0.035) 44%, transparent 70%);
}

:root[data-theme="dark"] .home-hero-title span:last-child {
  background-image: linear-gradient(105deg, #2997ff 3%, #5ac8fa 56%, #64d2ff 100%);
}

:root[data-theme="dark"] .home-hero-actions .btn-primary {
  border-color: #2997ff;
  background: #2997ff;
  box-shadow: 0 10px 30px rgba(41, 151, 255, 0.2);
  color: #fff;
}

:root[data-theme="dark"] .home-hero-actions .btn-ghost {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.11);
  color: #f5f5f7;
}

:root[data-theme="dark"] .home-hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .home-hero-visual {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 25% 14%, rgba(95, 207, 255, 0.34), transparent 27%),
    radial-gradient(circle at 78% 78%, rgba(55, 51, 211, 0.72), transparent 42%),
    linear-gradient(145deg, #0064b8 0%, #0649a8 48%, #28258f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 32px 90px rgba(0, 55, 145, 0.26);
}

:root[data-theme="dark"] .home-hero-stats {
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

:root[data-theme="dark"] .home-feature-card,
:root[data-theme="dark"] .home-entry {
  background: var(--home-surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

:root[data-theme="dark"] .home-feature-card.is-lead {
  background: #09090a;
}

:root[data-theme="dark"] .home-feature-card:not(.is-lead) .home-feature-cover,
:root[data-theme="dark"] .home-cover-img {
  background: #242426;
}

:root[data-theme="dark"] .home-feature-card:hover,
:root[data-theme="dark"] .home-entry:hover {
  background: #232326;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55);
}

:root[data-theme="dark"] .home-feature-card::before {
  background: rgba(28, 28, 30, 0.76);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .home-entry::after {
  background: rgba(41, 151, 255, 0.17);
  color: #2997ff;
}

:root[data-theme="dark"] .home-entry:hover::after {
  background: #2997ff;
  color: #fff;
}

:root[data-theme="dark"] .home-cover-img {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .home-join-preview {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 90% 8%, rgba(75, 205, 255, 0.3), transparent 26%),
    radial-gradient(circle at 14% 96%, rgba(82, 77, 225, 0.42), transparent 37%),
    linear-gradient(135deg, #061f4b 0%, #073d89 52%, #07688f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.13),
    0 34px 90px rgba(0, 0, 0, 0.46);
}

@media (max-width: 720px) {
  .home-hero-visual {
    min-height: 440px;
    border-radius: 30px;
  }

  .home-hero-stats {
    gap: 0;
    padding: 7px 18px;
  }

  .home-hero-stats > div,
  .home-hero-stats > div + div {
    padding: 17px 0;
    border-radius: 0;
  }

  .home-hero-stats > div + div::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .home-feature-card {
    border-radius: 24px;
  }

  .home-cover-img {
    border-radius: 16px;
  }

  .home-entry,
  .home-entry:nth-child(odd),
  .home-entry:nth-child(even),
  .home-entry:hover,
  .home-entry:nth-child(even):hover {
    min-height: 124px;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .home-join-preview {
    border-radius: 28px;
  }
}

/* ===== 首页样式隔离修复 =====
   全站非音乐页样式拥有更高选择器权重，这里明确限定首页，避免浅色模式覆盖主推卡和共创区。 */
main[data-page-key="home"] .home-poster-stage {
  padding-top: clamp(38px, 6vw, 76px);
}

main[data-page-key="home"] .home-hero-title {
  margin-top: 0;
  padding-right: 0.03em;
  overflow: visible;
}

main[data-page-key="home"] .home-hero-visual {
  grid-template-rows: 1fr;
  place-items: center;
}

main[data-page-key="home"] .home-hero-logo {
  width: min(76%, 270px);
  height: min(76%, 390px);
}

main[data-page-key="home"] .home-section-heading {
  grid-template-columns: 1fr;
  margin-bottom: clamp(26px, 3.5vw, 46px);
}

main[data-page-key="home"] .home-entry strong {
  grid-column: 1;
  grid-row: 1;
}

main[data-page-key="home"] .home-entry > span {
  grid-column: 1;
  grid-row: 2;
}

main[data-page-key="home"] .home-entry::after {
  grid-column: 2;
  grid-row: 1 / span 2;
}

main[data-page-key="home"] .home-entry {
  grid-template-columns: minmax(0, 1fr) auto;
}

main[data-page-key="home"] .home-entry::before,
main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card::before {
  content: none;
}

main[data-page-key="home"] .home-feature-card {
  border: 0;
  background: var(--home-surface);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.035);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

main[data-page-key="home"] .home-feature-card.is-lead {
  grid-template-rows: auto 1fr;
  min-height: 540px;
  background: #111;
}

main[data-page-key="home"] .home-feature-card.is-lead::after {
  content: none;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-cover {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy {
  align-self: stretch;
  grid-row: auto;
  justify-content: center;
  min-height: 148px;
  padding: clamp(24px, 3vw, 38px);
  background: #111;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
  font-size: clamp(28px, 3.3vw, 44px);
}

main[data-page-key="home"] .home-feature-card:not(.is-lead) {
  min-height: 292px;
}

main[data-page-key="home"] .home-feature-card:not(.is-lead) .home-feature-copy {
  min-height: 118px;
  padding: clamp(18px, 2.2vw, 28px);
}

main[data-page-key="home"] .home-feature-card:not(.is-lead) .home-feature-cover {
  aspect-ratio: 16 / 9;
}

main[data-page-key="home"] .home-feature-card[data-feature-type="music"]:not(.is-lead) .home-feature-cover {
  aspect-ratio: 16 / 9;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy small {
  color: #64d2ff;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
  color: #f5f5f7;
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy span {
  color: #a1a1a6;
}

main[data-page-key="home"] .home-join-preview {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 90% 10%, rgba(85, 221, 255, 0.38), transparent 26%),
    radial-gradient(circle at 14% 94%, rgba(90, 88, 255, 0.42), transparent 36%),
    linear-gradient(135deg, #003d91 0%, #006edb 54%, #0a8bc5 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 34px 80px rgba(0, 65, 150, 0.2);
}

main[data-page-key="home"]:not([data-page-key="music"]) .join-preview.home-join-preview {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 10%, rgba(85, 221, 255, 0.38), transparent 26%),
    radial-gradient(circle at 14% 94%, rgba(90, 88, 255, 0.42), transparent 36%),
    linear-gradient(135deg, #003d91 0%, #006edb 54%, #0a8bc5 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 34px 80px rgba(0, 65, 150, 0.2);
}

main[data-page-key="home"] .home-join-copy {
  grid-column: span 8;
}

main[data-page-key="home"] .home-join-preview h2 {
  color: #fff;
}

main[data-page-key="home"] .home-join-preview .home-join-copy p {
  color: rgba(255, 255, 255, 0.74);
}

main[data-page-key="home"] .home-join-preview .join-preview-list {
  grid-column: span 4;
}

main[data-page-key="home"] .home-join-preview .join-preview-list span {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  box-shadow: none;
}

main[data-page-key="home"] .home-join-preview > .btn {
  grid-column: 9 / 13;
  border-color: transparent;
  background: #fff;
  color: #0058b0;
}

:root[data-theme="dark"] main[data-page-key="home"] .home-feature-card {
  background: var(--home-surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card {
  background: var(--home-surface);
}

main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead,
main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead .home-feature-copy {
  background: #111;
}

:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card {
  background: var(--home-surface);
}

:root[data-theme="dark"] main[data-page-key="home"] .home-feature-card.is-lead,
:root[data-theme="dark"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy {
  background: #101012;
}

:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead .home-feature-copy {
  background: #101012;
}

:root[data-theme="dark"] main[data-page-key="home"] .home-join-preview {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 90% 8%, rgba(75, 205, 255, 0.3), transparent 26%),
    radial-gradient(circle at 14% 96%, rgba(82, 77, 225, 0.42), transparent 37%),
    linear-gradient(135deg, #061f4b 0%, #073d89 52%, #07688f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.13),
    0 34px 90px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .join-preview.home-join-preview {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 90% 8%, rgba(75, 205, 255, 0.3), transparent 26%),
    radial-gradient(circle at 14% 96%, rgba(82, 77, 225, 0.42), transparent 37%),
    linear-gradient(135deg, #061f4b 0%, #073d89 52%, #07688f 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.13),
    0 34px 90px rgba(0, 0, 0, 0.46);
}

@media (max-width: 980px) {
  main[data-page-key="home"] .home-join-copy {
    grid-column: span 8;
  }

  main[data-page-key="home"] .home-join-preview .join-preview-list {
    grid-column: span 4;
  }

  main[data-page-key="home"] .home-join-preview > .btn {
    grid-column: 9 / 13;
  }
}

@media (max-width: 860px) {
  main[data-page-key="home"] .home-entry-grid,
  main[data-page-key="home"] .home-join-preview {
    grid-template-columns: 1fr;
  }

  main[data-page-key="home"] .home-join-copy,
  main[data-page-key="home"] .home-join-preview .join-preview-list,
  main[data-page-key="home"] .home-join-preview > .btn {
    grid-column: 1;
  }

  main[data-page-key="home"] .home-join-preview h2 {
    max-width: 13ch;
  }
}

@media (max-width: 720px) {
  main[data-page-key="home"] .home-poster-stage {
    padding-top: 28px;
  }

  main[data-page-key="home"] .home-feature-card.is-lead {
    min-height: 0;
  }

  main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy {
    min-height: 138px;
  }

  main[data-page-key="home"] .home-join-preview {
    grid-template-columns: 1fr;
  }

  main[data-page-key="home"]:not([data-page-key="music"]) .join-preview.home-join-preview {
    border-radius: 28px;
  }

  main[data-page-key="home"] .home-join-copy,
  main[data-page-key="home"] .home-join-preview .join-preview-list,
  main[data-page-key="home"] .home-join-preview > .btn {
    grid-column: 1;
  }
}

/* ===== 明暗模式表面收尾 ===== */
main[data-page-key="home"] .home-hero-visual::after {
  content: none;
}

main[data-page-key="home"] .image-box.home-hero-logo,
:root[data-theme="dark"] main[data-page-key="home"] .image-box.home-hero-logo {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

main[data-page-key="home"] .image-box.home-hero-logo::before,
main[data-page-key="home"] .image-box.home-hero-logo::after,
:root[data-theme="dark"] main[data-page-key="home"] .image-box.home-hero-logo::before,
:root[data-theme="dark"] main[data-page-key="home"] .image-box.home-hero-logo::after {
  content: none;
}

/* 主推卡随主题切换内容面：亮色用白底，暗色才使用深色。 */
:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead,
:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead .home-feature-copy {
  background: #fff;
}

:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy small {
  color: var(--home-blue);
}

:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
  color: var(--home-ink);
}

:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy span {
  color: var(--home-muted);
}

/* 共创方向只保留文字层级，不再出现四个独立框。 */
main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  border: 0;
}

main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list span,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list span {
  position: relative;
  padding: 0 0 0 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

main[data-page-key="home"] .home-join-preview .join-preview-list span::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

/* 缩短阴影扩散距离，避免卡片底部出现大面积灰色光带。 */
main[data-page-key="home"]:not([data-page-key="music"]) .join-preview.home-join-preview {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 16px 38px rgba(0, 65, 150, 0.13);
}

:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .join-preview.home-join-preview {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.32);
}

@media (max-width: 720px) {
  main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list,
  :root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .home-join-preview .join-preview-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== 正在发生：统一封面海报卡 ===== */
main[data-page-key="home"] .home-featured-grid {
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}

main[data-page-key="home"] .home-feature-card,
main[data-page-key="home"] .home-feature-card.is-lead,
main[data-page-key="home"] .home-feature-card:not(.is-lead) {
  position: relative;
  display: block;
  width: 100%;
  min-height: 238px;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #111820;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  isolation: isolate;
}

main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card {
  width: 100%;
  padding: 0;
}

main[data-page-key="home"] .home-feature-card.is-lead {
  grid-row: span 2;
  min-height: clamp(390px, 38vw, 500px);
}

main[data-page-key="home"] .home-feature-card::after,
main[data-page-key="home"] .home-feature-card.is-lead::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.04) 28%, rgba(3, 7, 12, 0.36) 62%, rgba(3, 7, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(3, 7, 12, 0.28), transparent 64%);
  content: "";
  pointer-events: none;
}

main[data-page-key="home"] .home-feature-card .home-feature-cover,
main[data-page-key="home"] .home-feature-card.is-lead .home-feature-cover,
main[data-page-key="home"] .home-feature-card:not(.is-lead) .home-feature-cover,
main[data-page-key="home"] .home-feature-card[data-feature-type="music"]:not(.is-lead) .home-feature-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #e9edf2;
}

main[data-page-key="home"] .home-feature-card .home-feature-copy,
main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy,
main[data-page-key="home"] .home-feature-card:not(.is-lead) .home-feature-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 0;
  padding: clamp(20px, 2.6vw, 34px);
  justify-content: flex-end;
  background: transparent;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

main[data-page-key="home"] .home-feature-card .home-feature-copy small,
main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy small,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card .home-feature-copy small,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy small {
  color: rgba(255, 255, 255, 0.82);
}

main[data-page-key="home"] .home-feature-card .home-feature-copy strong,
main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card .home-feature-copy strong,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
  color: #fff;
  font-size: clamp(20px, 2vw, 30px);
}

main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong,
:root[data-theme="dark"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 720;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

main[data-page-key="home"] .home-feature-card .home-feature-copy span,
main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy span,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card .home-feature-copy span,
:root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy span {
  color: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card,
:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead {
  background: #111820;
}

:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card .home-feature-copy,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card .home-feature-copy,
:root[data-theme="light"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead .home-feature-copy,
:root[data-theme="dark"] main[data-page-key="home"]:not([data-page-key="music"]) .glass-card.home-feature-card.is-lead .home-feature-copy {
  background: transparent;
}

main[data-page-key="home"] .home-featured[data-feature-count="1"] .home-feature-card {
  min-height: clamp(360px, 40vw, 480px);
}

main[data-page-key="home"] .home-featured[data-feature-count="2"] .home-feature-card.is-lead,
main[data-page-key="home"] .home-featured[data-feature-count="2"] .home-feature-card:not(.is-lead) {
  grid-row: auto;
  min-height: clamp(340px, 34vw, 430px);
}

@media (max-width: 720px) {
  main[data-page-key="home"] .home-featured {
    display: block;
    width: min(calc(100% - 24px), var(--container));
  }

  main[data-page-key="home"] .home-featured-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    gap: 14px;
  }

  main[data-page-key="home"] .home-feature-card,
  main[data-page-key="home"] .home-feature-card.is-lead,
  main[data-page-key="home"] .home-feature-card:not(.is-lead),
  main[data-page-key="home"] .home-featured[data-feature-count] .home-feature-card,
  main[data-page-key="home"] .home-featured[data-feature-count="2"] .home-feature-card.is-lead,
  main[data-page-key="home"] .home-featured[data-feature-count="2"] .home-feature-card:not(.is-lead) {
    display: block;
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    padding: 0;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  main[data-page-key="home"] .home-feature-card .home-feature-copy,
  main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy,
  main[data-page-key="home"] .home-feature-card:not(.is-lead) .home-feature-copy {
    min-height: 0;
    padding: 20px;
  }

  main[data-page-key="home"] .home-feature-card .home-feature-copy strong,
  main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong,
  :root[data-theme="light"] main[data-page-key="home"] .home-feature-card .home-feature-copy strong,
  :root[data-theme="light"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong,
  :root[data-theme="dark"] main[data-page-key="home"] .home-feature-card .home-feature-copy strong,
  :root[data-theme="dark"] main[data-page-key="home"] .home-feature-card.is-lead .home-feature-copy strong {
    font-size: clamp(21px, 7vw, 30px);
    font-weight: 720;
    line-height: 1.14;
    letter-spacing: -0.035em;
  }
}
