/* “精选”页与首页精选导览的唯一样式入口。 */

.featured-columns-section {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 4.5vw, 58px) 0 58px;
  background:
    radial-gradient(circle at 10% 18%, rgba(185, 133, 232, 0.11), transparent 30%),
    radial-gradient(circle at 90% 84%, rgba(122, 199, 196, 0.08), transparent 32%),
    linear-gradient(180deg, #fbf7ff 0%, #f7f1fc 42%, #faf7fd 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(122, 91, 145, 0.08);
}

.featured-columns-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(rgba(105, 78, 127, 0.25) 0.6px, transparent 0.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}

.featured-home-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.featured-home-title-wrap {
  display: grid;
  gap: 7px;
}

.featured-home-eyebrow,
.featured-page-eyebrow,
.featured-detail-kicker,
.featured-detail-section-head > div > span {
  color: #8f67aa;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.featured-home-head .home-showcase-section-title {
  margin: 0;
}

.featured-home-head p {
  max-width: 560px;
  margin: 0;
  color: #746a7e;
  font-size: 0.9rem;
  line-height: 1.75;
}

.featured-columns-view-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(122, 91, 145, 0.16);
  border-radius: 999px;
  color: #5f526a;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.featured-columns-view-all:hover,
.featured-columns-view-all:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 24px rgba(91, 62, 116, 0.12);
}

.featured-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(258px, 0.98fr) repeat(2, minmax(190px, 0.72fr));
  gap: 16px;
  min-height: 670px;
}

.featured-home-grid > .featured-program-card:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
}

.featured-home-grid > .featured-program-card:nth-child(2) {
  grid-column: auto;
}

.featured-program-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 64, 60, 0.1);
  border-radius: 22px;
  color: #332b3d;
  background: #fff;
  box-shadow: 0 14px 34px rgba(48, 42, 39, 0.08);
  text-decoration: none;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.featured-program-card:hover,
.featured-program-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--featured-accent) 30%, transparent);
  box-shadow: 0 20px 42px rgba(48, 42, 39, 0.14);
}

.featured-program-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ece6f1 var(--image-placeholder) center / cover no-repeat;
}

.featured-program-media img,
.featured-entry-media img,
.featured-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--featured-cover-position, center center);
  opacity: 0;
  transition: opacity 340ms ease, transform 480ms ease;
}

.featured-program-media img.is-loaded,
.featured-entry-media img.is-loaded,
.featured-detail-hero-media img.is-loaded {
  opacity: 1;
}

.featured-program-media img.is-error,
.featured-entry-media img.is-error,
.featured-detail-hero-media img.is-error {
  visibility: hidden;
}

.featured-program-card:hover .featured-program-media img,
.featured-program-card:focus-visible .featured-program-media img {
  transform: scale(1.035);
}

.featured-program-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 14, 24, 0.02), rgba(18, 14, 24, 0.48));
}

.featured-program-index {
  position: absolute;
  top: 14px;
  z-index: 1;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.featured-program-index {
  left: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.featured-program-type {
  display: none;
}

.featured-program-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 19px 17px;
}

.featured-program-status {
  margin-bottom: 7px;
  color: var(--featured-accent);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.featured-program-copy strong {
  font-size: 1.12rem;
  line-height: 1.35;
}

.featured-program-subtitle {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: #7c7284;
  font-size: 0.79rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-program-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  color: #6d587d;
  font-size: 0.72rem;
  font-weight: 600;
}

.featured-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.featured-catalog-grid .featured-program-card {
  flex-direction: column;
}

.featured-catalog-grid .featured-program-media {
  aspect-ratio: 16 / 10;
}

.featured-home-grid .featured-program-card {
  min-height: 0;
  color: #fff;
}

.featured-home-grid .featured-program-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.featured-home-grid .featured-program-shade {
  background:
    linear-gradient(180deg, rgba(24, 18, 31, 0.03) 22%, rgba(24, 18, 31, 0.82) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--featured-accent) 16%, transparent), transparent 62%);
}

.featured-home-grid .featured-program-copy {
  justify-content: end;
  width: 100%;
  padding: 20px;
}

.featured-home-grid .featured-program-status,
.featured-home-grid .featured-program-subtitle,
.featured-home-grid .featured-program-action {
  color: rgba(255, 255, 255, 0.82);
}

.featured-home-grid .featured-program-subtitle {
  max-width: 36rem;
}

.featured-home-grid .featured-program-card--lead .featured-program-copy {
  padding: 30px 32px;
}

.featured-home-grid .featured-program-card--lead .featured-program-copy strong {
  max-width: 560px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.15;
}

.featured-home-grid .featured-program-card--lead .featured-program-subtitle {
  max-width: 560px;
  font-size: 0.9rem;
  -webkit-line-clamp: 3;
}

.featured-home-grid .featured-program-action {
  margin-top: 12px;
  padding-top: 0;
}

.featured-home-grid .featured-program-action-label.is-count {
  display: none;
}

@media (min-width: 901px) {
  .featured-home-grid > .featured-program-card[href="#/featured/song-mvs"] .featured-program-media img {
    object-position: center 28%;
  }
}

@media (min-width: 701px) {
  .featured-home-grid .featured-program-status {
    display: none;
  }
}

.featured-page {
  min-height: 100vh;
  background: #faf8fc;
}

.featured-page-hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 74px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 27%),
    radial-gradient(circle at 86% 76%, rgba(103, 209, 197, 0.2), transparent 30%),
    linear-gradient(125deg, #513b67, #8f65b0 54%, #b784d3);
}

.featured-page-hero::after {
  content: 'EXTRA';
  position: absolute;
  right: 3vw;
  bottom: -0.24em;
  color: rgba(255, 255, 255, 0.075);
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(7rem, 20vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.featured-page-hero .container {
  position: relative;
  z-index: 1;
}

.featured-page-hero .featured-page-eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.featured-page-hero h1 {
  margin: 8px 0 10px;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.featured-page-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.featured-page-body {
  padding-top: 48px;
  padding-bottom: 94px;
}

.featured-page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(84, 62, 102, 0.12);
}

.featured-page-intro p {
  max-width: 720px;
  margin: 0;
  color: #5f5568;
  font-size: 1rem;
  line-height: 1.8;
}

.featured-page-intro small {
  max-width: 350px;
  color: #918896;
  line-height: 1.6;
  text-align: right;
}

.featured-page-loading,
.featured-empty,
.featured-error,
.featured-not-found {
  padding: 72px 24px;
  color: #756b7b;
  text-align: center;
}

.featured-detail-page {
  min-height: 100vh;
  background: #faf9fb;
}

.featured-detail-hero {
  position: relative;
  display: grid;
  min-height: min(72vh, 720px);
  overflow: hidden;
  color: #fff;
  background: #2f2835;
}

.featured-detail-hero-media,
.featured-detail-hero-shade,
.featured-detail-hero-copy {
  grid-area: 1 / 1;
}

.featured-detail-hero-media {
  background: #312b38 var(--image-placeholder) center / cover no-repeat;
}

.featured-detail-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(24, 19, 29, 0.88) 0%, rgba(24, 19, 29, 0.58) 47%, rgba(24, 19, 29, 0.22) 100%),
    linear-gradient(180deg, rgba(17, 14, 22, 0.2), rgba(17, 14, 22, 0.72));
}

.featured-detail-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-top: 150px;
  padding-bottom: 72px;
}

.featured-detail-back {
  display: inline-flex;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-decoration: none;
}

.featured-detail-type {
  display: table;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: color-mix(in srgb, var(--featured-accent) 45%, rgba(20, 16, 25, 0.5));
  font-family: 'Quicksand', sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.featured-detail-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.13;
}

.featured-detail-hero-copy > p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.featured-detail-meta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.featured-detail-meta span {
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.featured-detail-content {
  padding-top: 44px;
  padding-bottom: 100px;
}

.featured-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(91, 67, 109, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(68, 50, 82, 0.06);
}

.featured-detail-intro p {
  max-width: 760px;
  margin: 9px 0 0;
  color: #62596a;
  line-height: 1.8;
}

.featured-detail-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.featured-detail-links a {
  min-width: 170px;
  padding: 11px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--featured-accent);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.featured-detail-links a.is-secondary {
  color: #6e6177;
  background: #f1edf3;
}

.featured-detail-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 58px 0 22px;
}

.featured-detail-section-head h2 {
  margin: 4px 0 0;
  color: #403747;
  font-size: 1.9rem;
}

.featured-detail-section-head p {
  margin: 0;
  color: #8a818e;
  font-size: 0.76rem;
}

.featured-entry-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-entry-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(66, 54, 75, 0.12);
  border-radius: 999px;
  color: #73697a;
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.featured-entry-filters button:hover,
.featured-entry-filters button:focus-visible {
  border-color: color-mix(in srgb, var(--featured-accent) 42%, transparent);
  color: var(--featured-accent);
}

.featured-entry-filters button[aria-pressed='true'] {
  border-color: transparent;
  color: #fff;
  background: var(--featured-accent);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--featured-accent) 24%, transparent);
}

.featured-entry-filters button span {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: inherit;
  background: rgba(66, 54, 75, 0.08);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.61rem;
}

.featured-entry-filters button[aria-pressed='true'] span {
  background: rgba(255, 255, 255, 0.2);
}

.featured-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-entry-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(86, 64, 102, 0.1);
  border-radius: 17px;
  color: #423a48;
  background: #fff;
  box-shadow: 0 10px 28px rgba(64, 48, 76, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-entry-card[hidden] {
  display: none;
}

.featured-entry-card:hover,
.featured-entry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(64, 48, 76, 0.12);
}

.featured-entry-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ece6f1 var(--image-placeholder) center / cover no-repeat;
}

.featured-entry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(23, 18, 27, 0.55));
}

.featured-entry-number {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.featured-entry-play {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(21, 17, 25, 0.35);
  font-size: 0.62rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.featured-entry-copy {
  display: grid;
  gap: 6px;
  padding: 14px 15px 15px;
}

.featured-entry-copy small {
  justify-self: start;
  color: var(--featured-accent);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.featured-entry-copy small.is-translated,
.featured-entry-copy small.is-untranslated {
  padding: 4px 7px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.featured-entry-copy small.is-translated {
  color: #735491;
  background: #f0e8f7;
}

.featured-entry-copy small.is-untranslated {
  color: #2c719f;
  background: #e5f2fa;
}

.featured-entry-copy strong {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-entry-copy > span {
  color: #968c9b;
  font-size: 0.67rem;
}

@media (max-width: 1080px) {
  .featured-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .featured-columns-section {
    padding: 46px 0 70px;
  }

  .featured-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }

  .featured-home-grid > .featured-program-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .featured-home-grid > .featured-program-card:first-child {
    min-height: 300px;
  }

  .featured-home-grid > .featured-program-card:not(:first-child) {
    min-height: 200px;
  }

  .featured-home-grid > .featured-program-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  .featured-page-intro,
  .featured-detail-section-head {
    align-items: start;
    flex-direction: column;
  }

  .featured-entry-filters {
    justify-content: flex-start;
  }

  .featured-page-intro small {
    text-align: left;
  }

  .featured-detail-intro {
    grid-template-columns: 1fr;
  }

  .featured-detail-links {
    flex-direction: row;
  }
}

@media (max-width: 700px) {
  .featured-columns-section {
    padding: 36px 0 58px;
  }

  .featured-home-head {
    align-items: end;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
  }

  .featured-home-head p {
    max-width: 260px;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .featured-columns-view-all {
    padding: 9px 12px;
    white-space: nowrap;
  }

  .featured-catalog-grid,
  .featured-entry-grid {
    grid-template-columns: 1fr;
  }

  .featured-home-grid {
    display: flex;
    gap: 12px;
    width: calc(100vw - 20px);
    min-height: 0;
    padding: 2px 20px 14px 0;
    overflow-x: auto;
    scroll-padding-inline: 0 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-home-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-home-grid > .featured-program-card,
  .featured-home-grid > .featured-program-card:first-child,
  .featured-home-grid > .featured-program-card:nth-child(4) {
    flex: 0 0 min(78vw, 300px);
    grid-column: auto;
    min-height: 188px;
    scroll-snap-align: start;
    border-radius: 18px;
  }

  .featured-home-grid .featured-program-copy,
  .featured-home-grid .featured-program-card--lead .featured-program-copy {
    padding: 17px 18px;
  }

  .featured-home-grid .featured-program-card--lead .featured-program-copy strong,
  .featured-home-grid .featured-program-copy strong {
    max-width: none;
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .featured-home-grid .featured-program-subtitle {
    display: none;
  }

  .featured-home-grid .featured-program-action {
    margin-top: 0;
    font-size: 0.67rem;
  }

  .featured-home-grid .featured-program-action > span[aria-hidden="true"] {
    display: none;
  }

  .featured-page-hero {
    padding: 118px 0 58px;
  }

  .featured-page-body {
    padding-top: 32px;
    padding-bottom: 70px;
  }

  .featured-page-intro {
    gap: 12px;
  }

  .featured-detail-hero {
    min-height: 620px;
  }

  .featured-detail-hero-shade {
    background:
      linear-gradient(180deg, rgba(20, 17, 24, 0.18), rgba(20, 17, 24, 0.88) 82%),
      linear-gradient(90deg, rgba(20, 17, 24, 0.45), transparent);
  }

  .featured-detail-hero-copy {
    padding-top: 118px;
    padding-bottom: 48px;
  }

  .featured-detail-back {
    margin-bottom: 100px;
  }

  .featured-detail-intro {
    gap: 22px;
    padding: 22px;
  }

  .featured-detail-links {
    flex-direction: column;
  }

  .featured-detail-links a {
    width: 100%;
  }

  .featured-detail-section-head {
    gap: 16px;
    margin-top: 42px;
  }

  .featured-entry-filters {
    width: 100%;
    gap: 6px;
  }

  .featured-entry-filters button {
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-program-card,
  .featured-program-media img,
  .featured-entry-card {
    transition: none;
  }
}
