:root {
  --anp-accent: #f9577c;
  --anp-accent-soft: #ffedf1;
  --anp-accent-border: #ffbdcc;
  --anp-text: #1e1e1e;
  --anp-muted: #777777;
  --anp-soft: #8a8a8a;
  --anp-line: #dedede;
  --anp-panel: #f1f1f1;
  --anp-panel-2: #f7f7f7;
  --anp-shadow: 0 12px 36px rgba(30, 30, 30, 0.06);
  --anp-content-width: 1380px;
  --anp-article-width: 744px;
  --anp-radius: 18px;
  --anp-radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--anp-text);
  background: #ffffff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.anp-container {
  width: min(calc(100% - 48px), var(--anp-content-width));
  margin: 0 auto;
}

.anp-main {
  flex: 1;
  padding: 18px 0 80px;
}

.anp-section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.anp-section-title--inline {
  display: inline-flex;
  align-items: center;
}

.anp-subtitle {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.anp-archive-description,
.anp-list-item__excerpt,
.anp-article-summary,
.anp-vod-side-summary,
.anp-vod-banner__subtitle {
  color: var(--anp-muted);
}

.anp-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--anp-line);
  backdrop-filter: blur(10px);
}

.anp-site-header__inner {
  min-height: 57px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.anp-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 65px;
}

.anp-brand__logo,
.anp-brand__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.anp-brand img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.anp-primary-nav {
  justify-self: center;
}

.anp-primary-nav--desktop {
  display: block;
}

.anp-primary-nav--mobile {
  display: none;
}

.anp-primary-nav ul {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 2px;
  border-radius: 26px;
  background: var(--anp-panel);
  overflow: hidden;
}

.anp-primary-nav li {
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

.anp-primary-nav a {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 26px;
  color: var(--anp-muted);
  background: transparent;
  font-size: 15px;
  transition: color 0.2s ease;
  width: 100%;
}

.anp-primary-nav__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  bottom: 2px;
  width: calc(100% / 4);
  border-radius: 26px;
  background: var(--anp-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition:
    transform 0.28s ease,
    width 0.28s ease,
    opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}

.anp-primary-nav .current-menu-item > a,
.anp-primary-nav .current-menu-ancestor > a,
.anp-primary-nav .current_page_item > a,
.anp-primary-nav .is-active > a,
.anp-primary-nav .is-current > a {
  color: #ffffff;
}

.anp-header-search {
  width: min(276px, 100%);
}

.anp-search-form {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  border: 1.5px solid var(--anp-accent-border);
  border-radius: 26px;
  background: #ffffff;
}

.anp-search-form label {
  flex: 1;
}

.anp-search-form input[type="search"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--anp-text);
  outline: none;
}

.anp-search-form input[type="search"]::placeholder {
  color: #b7b7b7;
}

.anp-search-form button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--anp-soft);
  cursor: pointer;
}

.anp-seasonal-section {
  margin-bottom: 36px;
}

.anp-seasonal-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.anp-seasonal-heading__note {
  margin: 0;
  color: var(--anp-muted);
  font-size: 15px;
}

.anp-seasonal-heading__note::before {
  content: "";
  width: 2px;
  height: 21px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 3px;
  background: var(--anp-accent);
}

.anp-seasonal-rankings {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.anp-rank-card,
.anp-library-card,
.anp-related-card,
.anp-card {
  display: block;
}

.anp-rank-card__thumb,
.anp-library-card__thumb,
.anp-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--anp-radius-sm);
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-rank-card__thumb {
  aspect-ratio: 141 / 200;
}

.anp-rank-card__thumb img,
.anp-library-card__thumb img,
.anp-card__thumb img,
.anp-related-card__thumb img,
.anp-list-item__thumb img,
.anp-article-cover img,
.anp-vod-side-poster img,
.anp-shot-grid__item img,
.anp-schedule-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anp-rank-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  background: #9d9d9d;
}

.anp-rank-card__badge--1 {
  background: #f6a11a;
}

.anp-rank-card__badge--2 {
  background: #a7a7a7;
}

.anp-rank-card__badge--3 {
  background: #e78348;
}

.anp-rank-card__title,
.anp-library-card__title,
.anp-card__title,
.anp-related-card__title,
.anp-schedule-card__title {
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anp-weekday-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.anp-weekday-pill {
  min-width: 104px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 10px;
  border: 1.5px solid var(--weekday-color, var(--anp-accent-border));
  border-radius: 26px;
  background: #ffffff;
  color: var(--weekday-color, var(--anp-soft));
  text-decoration: none;
  transition: none;
}

.anp-weekday-pill:hover,
.anp-weekday-pill:focus,
.anp-weekday-pill:active {
  color: var(--weekday-color, var(--anp-soft));
  background: #ffffff;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.anp-weekday-pill.is-active {
  background: var(--weekday-color, var(--anp-accent));
  color: #ffffff;
}

.anp-weekday-pill__icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  background-color: currentColor;
  -webkit-mask-image: var(--weekday-icon);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 30px 30px;
  mask-image: var(--weekday-icon);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 30px 30px;
}

.anp-weekday-pill__text {
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.anp-schedule-board {
  display: grid;
  gap: 30px;
}

.anp-schedule-day__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--weekday-color, var(--anp-accent));
}

.anp-schedule-day__header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.anp-schedule-day__bar {
  width: 5px;
  height: 19px;
  border-radius: 13px;
  background: var(--weekday-color, var(--anp-accent));
}

.anp-schedule-day__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
}

.anp-schedule-day,
.anp-schedule-card {
  min-width: 0;
}

.anp-schedule-day {
  scroll-margin-top: 88px;
}

.anp-schedule-card__thumb,
.anp-library-card__thumb {
  aspect-ratio: 195 / 276;
}

.anp-archive-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.anp-sidebar {
  position: sticky;
  top: 88px;
}

.anp-panel {
  padding: 18px;
  border: 1px solid rgba(222, 222, 222, 0.75);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--anp-shadow);
}

.anp-panel + .anp-panel {
  margin-top: 18px;
}

.anp-panel__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.3;
}

.anp-category-list,
.anp-inline-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.anp-category-list--stacked {
  flex-direction: column;
}

.anp-category-list a,
.anp-inline-tags a,
.anp-chip,
.anp-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--anp-panel-2);
  color: var(--anp-muted);
  font-size: 14px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.anp-category-list .current-cat > a,
.anp-inline-tags a.is-active,
.anp-chip.is-active {
  color: var(--anp-accent);
  border-color: var(--anp-accent-border);
  background: var(--anp-accent-soft);
}

.anp-scope-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.anp-filter-form {
  display: grid;
  gap: 18px;
}

.anp-filter-group {
  display: grid;
  gap: 10px;
}

.anp-filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.anp-filter-group__title {
  font-size: 15px;
  font-weight: 600;
}

.anp-filter-group__toggle {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--anp-accent-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--anp-accent);
  font-size: 13px;
  cursor: pointer;
}

.anp-filter-group__body {
  overflow: hidden;
}

.anp-filter-tag {
  cursor: pointer;
}

.anp-filter-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.anp-filter-tag span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(222, 222, 222, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--anp-muted);
  font-size: 14px;
  transition: all 0.2s ease;
}

.anp-filter-tag input:checked + span {
  color: var(--anp-accent);
  border-color: var(--anp-accent-border);
  background: var(--anp-accent-soft);
}

.anp-filter-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(222, 222, 222, 0.9);
  border-radius: 12px;
  outline: none;
}

.anp-filter-input:focus {
  border-color: var(--anp-accent-border);
  box-shadow: 0 0 0 4px rgba(249, 87, 124, 0.08);
}

.anp-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anp-button {
  border-color: transparent;
  cursor: pointer;
}

.anp-button:hover {
  box-shadow: 0 10px 24px rgba(249, 87, 124, 0.14);
}

.anp-button--ghost,
.anp-button--outline {
  background: #ffffff;
  border-color: var(--anp-accent-border);
  color: var(--anp-accent);
}

.anp-post-list {
  display: grid;
  gap: 18px;
}

.anp-list-item {
  border: 1px solid rgba(222, 222, 222, 0.75);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.anp-list-item:hover,
.anp-related-card:hover,
.anp-library-card:hover,
.anp-rank-card:hover {
  transform: translateY(-2px);
}

.anp-list-item__link {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.anp-list-item__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-post-meta,
.anp-related-card__meta,
.anp-library-card__meta,
.anp-vod-banner__eyebrow,
.anp-vod-banner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--anp-soft);
  font-size: 14px;
}

.anp-post-meta__category {
  color: var(--anp-accent);
}

.anp-list-item__title {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.45;
}

.anp-archive-header {
  margin-bottom: 28px;
}

.anp-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px;
}

.anp-library-card__meta {
  justify-content: center;
  margin-top: 8px;
  font-size: 13px;
}

.anp-search-block + .anp-search-block {
  margin-top: 42px;
}

.anp-pagination {
  margin-top: 34px;
}

.anp-pagination ul,
.anp-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.anp-pagination a,
.anp-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--anp-accent-border);
  border-radius: 10px;
}

.anp-pagination .current {
  color: #ffffff;
  border-color: var(--anp-accent);
  background: var(--anp-accent);
}

.anp-recommend-hero {
  margin-bottom: 38px;
}

.anp-recommend-panel {
  width: min(100%, 930px);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 345px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}

.anp-recommend-hero__lead {
  display: block;
  min-height: 194px;
}

.anp-recommend-hero__lead-media {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.anp-recommend-hero__lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anp-recommend-hero__lead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 60%,
    rgba(0, 0, 0, 0.55)
  );
}

.anp-recommend-hero__caption {
  position: absolute;
  left: 48px;
  right: 24px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.anp-recommend-hero__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 10px 68px 10px 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.92)
  );
}

.anp-recommend-hero__rail .anp-card__thumb {
  aspect-ratio: 121 / 172;
}

.anp-recommend-hero__count {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--anp-soft);
  font-size: 15px;
}

.anp-recommend-grid-section {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.anp-topic-archive {
  width: min(100%, 1280px);
}

.anp-topic-archive__header {
  margin-bottom: 26px;
}

.anp-topic-list {
  display: grid;
  gap: 18px;
}

.anp-topic-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(249, 87, 124, 0.12);
  background: #ffffff;
  box-shadow: var(--anp-shadow);
}

.anp-topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--anp-topic-card-bg-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.anp-topic-card__link {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(320px, 1.8fr) minmax(300px, 1.25fr) 160px;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
}

.anp-topic-card__hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 188px;
  background: #ffffff;
}

.anp-topic-card__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.38) 0%,
    rgba(10, 10, 10, 0.16) 34%,
    rgba(10, 10, 10, 0) 70%
  );
  pointer-events: none;
}

.anp-topic-card__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.anp-topic-card__hero-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  color: #ffffff;
}

.anp-topic-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anp-topic-card__summary {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--anp-muted);
}

.anp-topic-card__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.anp-topic-card__slot {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f4f4;
  aspect-ratio: 121 / 172;
  box-shadow: inset 0 0 0 1px rgba(30, 30, 30, 0.05);
}

.anp-topic-card__slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anp-topic-card__slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ababab;
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

.anp-topic-card__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-left: 1px solid var(--anp-line);
  padding-left: 12px;
  margin-left: 4px;
  border-radius: 0;
  background: transparent;
  color: var(--anp-accent);
  font-size: 15px;
  text-align: center;
}

.anp-topic-card__count-label {
  color: var(--anp-muted);
}

.anp-topic-card__count strong {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.anp-topic-card__count em {
  font-style: normal;
  color: var(--anp-soft);
}

.anp-topic-detail {
  display: grid;
  gap: 28px;
}

.anp-topic-detail__hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #101010;
  box-shadow: 0 18px 44px rgba(30, 30, 30, 0.12);
  max-width: none;
  margin: 0;
}

.anp-topic-detail__hero-bg {
  position: absolute;
  inset: 0;
  background-color: #101010;
  background-image:
    linear-gradient(0deg, rgba(8, 8, 8, 0.34) 0%, rgba(8, 8, 8, 0.12) 42%, rgba(8, 8, 8, 0) 78%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.7) 45%, rgba(8, 8, 8, 0.42) 72%, rgba(8, 8, 8, 0.18) 100%),
    var(--anp-topic-hero-image, none);
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  filter: saturate(0.95);
}

.anp-library-page {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  grid-template-areas:
    "header header"
    "sidebar results";
  gap: 26px 38px;
  align-items: start;
}

.anp-library-page__header {
  grid-area: header;
  margin-bottom: 0;
}

.anp-library-page__sidebar {
  grid-area: sidebar;
}

.anp-library-page__results {
  grid-area: results;
  min-width: 0;
}

.anp-topic-detail__hero-shell {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 30px;
  color: #ffffff;
}

.anp-topic-detail__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 4px;
  max-width: 760px;
}

.anp-topic-detail__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.anp-topic-detail__crumb strong {
  color: #ffffff;
  font-weight: 600;
}

.anp-topic-detail__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
}

.anp-topic-detail__summary {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.anp-topic-detail__stats,
.anp-topic-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anp-topic-detail__stats span,
.anp-topic-detail__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
}

.anp-topic-detail__stats span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.anp-topic-detail__chips span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.anp-topic-detail__section {
  display: grid;
  gap: 18px;
}

.anp-topic-detail__grid {
  width: 100%;
  max-width: none;
}

.anp-topic-detail__vod-card a {
  display: block;
}

.anp-topic-detail__vod-card .anp-library-card__title {
  margin-top: 10px;
}

.anp-vod-focus__title,
.anp-vod-focus-card__title,
.anp-episode-card__body h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anp-load-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.anp-load-more .anp-button {
  min-width: 292px;
  border-radius: 5px;
}

.anp-single {
  max-width: var(--anp-article-width);
  margin: 0 auto;
}

.anp-single__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 600;
}

.anp-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--anp-muted);
  font-size: 15px;
}

.anp-single__meta-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.anp-single__meta-line::before {
  content: "";
  width: 2px;
  height: 14px;
  border-radius: 3px;
  background: var(--anp-accent-border);
}

.anp-article {
  padding-top: 10px;
}

.anp-article-cover {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-article-cover--article {
  max-width: 100%;
}

.anp-article-body {
  font-size: 17px;
  line-height: 1.95;
}

.anp-article-body > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.anp-article-body img,
.anp-article-body iframe,
.anp-article-body video {
  display: block;
  max-width: 100%;
  margin: 1.4em auto;
  border-radius: 0;
}

.anp-article-body ul,
.anp-article-body ol {
  padding-left: 1.4em;
}

.anp-article-body blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--anp-accent);
  background: var(--anp-accent-soft);
}

.anp-related {
  margin-top: 46px;
}

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

.anp-related-card {
  padding: 14px;
  border: 1px solid rgba(222, 222, 222, 0.75);
  border-radius: 18px;
  background: #ffffff;
}

.anp-related-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-vod-banner {
  position: relative;
  min-height: 107px;
  margin: 16px auto 20px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #d4d4d4;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.anp-vod-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.anp-vod-banner__overlay {
  position: relative;
  z-index: 1;
  min-height: 107px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 18px 24px;
  text-align: center;
}

.anp-vod-banner__eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

.anp-vod-banner__title {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
}

.anp-vod-banner__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.anp-vod-focus {
  width: min(100%, 1041px);
  margin: 18px auto 0;
}

.anp-vod-focus__banner {
  position: relative;
  min-height: 107px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #d5d5d5;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.anp-vod-focus__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.anp-vod-focus__title {
  position: relative;
  z-index: 1;
  min-height: 107px;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 0 24px;
  color: #ffffff;
  text-align: center;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 600;
}

.anp-vod-focus__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 141px);
  justify-content: center;
  column-gap: 25px;
  row-gap: 20px;
}

.anp-vod-focus-card {
  width: 141px;
}

.anp-vod-focus-card__thumb {
  aspect-ratio: 141 / 200;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-vod-focus-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anp-vod-focus-card__title {
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.anp-anime-detail {
  display: grid;
  gap: 32px;
}

.anp-anime-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.86), rgba(17, 17, 17, 0.54)),
    var(--anp-detail-hero-image) center / cover no-repeat;
  box-shadow: 0 28px 60px rgba(30, 30, 30, 0.16);
}

.anp-anime-detail-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 87, 124, 0.36), rgba(249, 87, 124, 0));
  pointer-events: none;
}

.anp-anime-detail-hero__shell {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  padding: 26px;
}

.anp-anime-detail-hero__poster {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.anp-anime-detail-hero__poster img {
  width: 100%;
  aspect-ratio: 250 / 350;
  object-fit: cover;
}

.anp-anime-detail-hero__content {
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.anp-anime-detail-hero__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.anp-anime-detail-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anp-anime-detail-hero__chips span,
.anp-episode-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.anp-anime-detail-hero__provider {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-align: right;
}

.anp-anime-detail-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
}

.anp-anime-detail-hero__subtitle {
  margin: -6px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.anp-anime-detail-hero__scores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anp-anime-detail-score {
  min-width: 136px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.anp-anime-detail-score__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.anp-anime-detail-score__head img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
}

.anp-anime-detail-score__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1;
}

.anp-anime-detail-score strong {
  font-size: 24px;
  line-height: 1;
}

.anp-anime-detail-hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 8px;
  align-items: start;
  justify-content: start;
}

.anp-anime-detail-hero__meta li {
  min-width: 0;
  padding: 8px 12px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.anp-anime-detail-hero__meta span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1;
}

.anp-anime-detail-hero__meta strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.anp-anime-detail-hero__summary {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.85;
}

.anp-anime-detail-section {
  display: grid;
  gap: 18px;
}

.anp-anime-detail-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.anp-anime-detail-section__hint {
  margin: 6px 0 0;
  color: var(--anp-muted);
  font-size: 14px;
}

.anp-character-controls {
  display: flex;
  gap: 10px;
}

.anp-character-controls__button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(222, 222, 222, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--anp-text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.anp-character-controls__button:hover {
  color: var(--anp-accent);
  border-color: var(--anp-accent-border);
  transform: translateY(-1px);
}

.anp-character-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 210px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.anp-character-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(222, 222, 222, 0.82);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.06);
}

.anp-character-card__visual {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(249, 87, 124, 0.18), rgba(249, 87, 124, 0)),
    linear-gradient(180deg, #fff4f7, #f4f4f4);
}

.anp-character-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anp-character-card__visual span {
  color: var(--anp-accent);
  font-size: 40px;
  font-weight: 700;
}

.anp-character-card__body {
  padding: 16px;
}

.anp-character-card__body h3,
.anp-episode-card__body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}

.anp-character-card__actor,
.anp-character-card__remark {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.anp-character-card__actor {
  color: var(--anp-text);
}

.anp-character-card__remark {
  color: var(--anp-muted);
}

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

.anp-episode-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(222, 222, 222, 0.85);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(30, 30, 30, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.anp-episode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 87, 124, 0.22);
  box-shadow: 0 20px 40px rgba(30, 30, 30, 0.12);
}

.anp-episode-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(249, 87, 124, 0.18), rgba(249, 87, 124, 0)),
    linear-gradient(135deg, #fff0f4, #ececec);
}

.anp-episode-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.anp-episode-card:hover .anp-episode-card__media img {
  transform: scale(1.04);
}

.anp-episode-card__body {
  display: grid;
  gap: 6px;
  padding: 12px 14px 16px;
}

.anp-episode-card__body p {
  margin: 0;
  color: var(--anp-muted);
  font-size: 13px;
  line-height: 1.72;
  max-height: 5.16em;
  overflow: hidden;
  transition: max-height 0.28s ease, color 0.28s ease;
}

.anp-episode-card__body h3 {
  margin: 0;
  font-size: 15px;
}

.anp-episode-card__label {
  min-height: 22px;
  padding: 0;
  border-radius: 0;
  justify-content: flex-start;
  background: transparent;
  color: var(--anp-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.anp-episode-card:hover .anp-episode-card__body p {
  max-height: 16em;
  color: #505050;
}

.anp-vod-strip {
  margin-bottom: 30px;
}

.anp-vod-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.anp-rank-card--plain .anp-rank-card__title {
  margin-top: 12px;
}

.anp-vod-section {
  margin-top: 14px;
}

.anp-vod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 28px;
  align-items: start;
}

.anp-vod-grid__main,
.anp-vod-grid__side {
  display: grid;
  gap: 18px;
}

.anp-vod-side-poster {
  aspect-ratio: 195 / 276;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
  margin-bottom: 14px;
}

.anp-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.anp-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(222, 222, 222, 0.75);
}

.anp-info-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.anp-info-list span {
  color: var(--anp-muted);
}

.anp-info-list strong {
  text-align: right;
  font-weight: 600;
}

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

.anp-cast-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--anp-panel-2);
}

.anp-cast-card__avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--anp-accent);
  background: var(--anp-accent-soft);
  font-weight: 600;
}

.anp-cast-card__name {
  font-size: 14px;
}

.anp-playlist-group + .anp-playlist-group {
  margin-top: 18px;
}

.anp-playlist-group__title {
  margin: 0 0 12px;
  font-size: 16px;
}

.anp-playlist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anp-playlist-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(222, 222, 222, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--anp-muted);
}

.anp-playlist-pill:hover {
  color: var(--anp-accent);
  border-color: var(--anp-accent-border);
  background: var(--anp-accent-soft);
}

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

.anp-shot-grid__item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #fce4ea, #ececec);
}

.anp-empty {
  padding: 36px 24px;
  border: 1px dashed var(--anp-line);
  border-radius: 18px;
  text-align: center;
  color: var(--anp-muted);
}

.anp-empty--compact {
  padding: 20px 16px;
}

.anp-site-footer {
  margin-top: auto;
  border-top: 1px solid var(--anp-line);
  background: var(--anp-panel);
}

.anp-site-footer__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--anp-muted);
  font-size: 12px;
  text-align: center;
}

.anp-dot {
  width: 13px;
  height: 13px;
  display: inline-block;
  border-radius: 50%;
  background: linear-gradient(135deg, #d5d5d5, #9f9f9f);
}

.wp-block-image,
.wp-block-embed,
.alignwide,
.alignfull {
  clear: both;
}
@media (min-width: 1280px) {
    .anp-primary-nav ul {
        min-width: 600px;
    }
}
@media (max-width: 1280px) {
  .anp-seasonal-rankings,
  .anp-vod-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anp-vod-focus__grid {
    grid-template-columns: repeat(3, 141px);
  }

  .anp-schedule-day__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anp-library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anp-vod-grid {
    grid-template-columns: 1fr 300px;
  }

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

@media (max-width: 1100px) {
  .anp-site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 8px 0 12px;
  }

  .anp-primary-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .anp-archive-layout,
  .anp-vod-grid,
  .anp-recommend-panel {
    grid-template-columns: 1fr;
  }

  .anp-library-page {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "sidebar"
      "results";
    gap: 22px;
  }

  .anp-sidebar {
    position: static;
  }

  .anp-recommend-panel {
    padding: 14px;
  }

  .anp-recommend-hero__rail {
    padding-right: 14px;
  }

  .anp-recommend-hero__count {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-self: end;
  }

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

  .anp-topic-card__link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .anp-topic-card__count {
    grid-column: 1 / -1;
    min-height: 96px;
    flex-direction: row;
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--anp-line);
    padding-left: 0;
    padding-top: 16px;
    margin-left: 0;
  }

  .anp-topic-detail__hero-shell {
    min-height: 380px;
  }

  .anp-anime-detail-hero__shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
  }

  .anp-anime-detail-hero__title {
    font-size: 34px;
  }

  .anp-anime-detail-hero__meta {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
}

@media (max-width: 1024px) {
  .anp-main {
    padding-bottom: 104px;
  }

  .anp-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand search";
    gap: 10px;
    padding: 8px 0;
  }

  .anp-brand {
    grid-area: brand;
  }

  .anp-header-search {
    grid-area: search;
    min-width: 0;
    justify-self: end;
  }

  .anp-primary-nav--desktop {
    display: none !important;
  }

  .anp-primary-nav--mobile {
    display: block !important;
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 999;
    width: auto;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(30, 30, 30, 0.16);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .anp-primary-nav--mobile ul {
    width: auto;
    min-width: 0;
    padding: 4px;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .anp-primary-nav--mobile ul::-webkit-scrollbar {
    display: none;
  }

  .anp-primary-nav--mobile li {
    flex: 0 0 auto;
  }

  .anp-primary-nav--mobile a {
    min-width: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 780px) {
  .anp-container {
    width: min(calc(100% - 24px), var(--anp-content-width));
  }
  .anp-main {
    padding-top: 14px;
  }

  .anp-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand search";
    gap: 10px;
    padding: 8px 0;
  }

  .anp-brand {
    grid-area: brand;
    min-width: 52px;
  }

  .anp-brand img {
    width: 52px;
    height: 52px;
  }

  .anp-header-search {
    grid-area: search;
    width: min(100%, 220px);
    min-width: 0;
    grid-column: auto;
    justify-self: end;
  }

  .anp-search-form {
    min-height: 34px;
    padding: 0 10px 0 12px;
  }

  .anp-search-form input[type="search"] {
    min-width: 0;
    font-size: 13px;
  }

  .anp-library-page {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "sidebar"
      "results";
    gap: 18px;
  }

  .anp-library-page__header {
    display: grid;
    gap: 10px;
  }

  .anp-library-page__sidebar {
    display: grid;
    gap: 14px;
  }

  .anp-library-page__sidebar .anp-panel + .anp-panel {
    margin-top: 0;
  }

  .anp-library-page__sidebar .anp-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .anp-filter-group[data-collapsible="true"][data-expanded="false"] .anp-filter-group__body {
    display: none;
  }

  .anp-seasonal-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .anp-weekday-pills {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .anp-weekday-pills::-webkit-scrollbar {
    display: none;
  }

  .anp-weekday-pill {
    flex: 0 0 auto;
  }

  .anp-seasonal-rankings,
  .anp-library-grid,
  .anp-vod-strip__grid,
  .anp-vod-focus__grid,
  .anp-schedule-day__grid,
  .anp-related__grid,
  .anp-recommend-hero__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anp-vod-focus__grid {
    justify-content: stretch;
  }

  .anp-vod-focus-card {
    width: 100%;
  }

  .anp-vod-focus__title {
    font-size: 22px;
  }

  .anp-list-item__link {
    grid-template-columns: 1fr;
  }

  .anp-list-item__link,
  .anp-topic-card__link {
    gap: 14px;
  }

  .anp-list-item__title {
    font-size: 20px;
  }

  .anp-list-item__thumb {
    aspect-ratio: 16 / 9;
  }

  .anp-rank-card__title,
  .anp-library-card__title,
  .anp-card__title,
  .anp-related-card__title,
  .anp-schedule-card__title {
    font-size: 14px;
    line-height: 1.35;
    margin-top: 8px;
  }

  .anp-rank-card__badge {
    width: 32px;
    height: 26px;
    font-size: 18px;
  }

  .anp-library-grid {
    gap: 16px 12px;
  }

  .anp-seasonal-rankings,
  .anp-vod-strip__grid {
    gap: 12px;
  }

  .anp-rank-card__thumb,
  .anp-library-card__thumb,
  .anp-card__thumb,
  .anp-related-card__thumb {
    border-radius: 6px;
  }

  .anp-single__title,
  .anp-vod-banner__title {
    font-size: 24px;
  }

  .anp-article-body {
    font-size: 16px;
    line-height: 1.85;
  }

  .anp-shot-grid,
  .anp-cast-grid {
    grid-template-columns: 1fr;
  }

  .anp-anime-detail {
    gap: 24px;
  }

  .anp-anime-detail-hero {
    border-radius: 20px;
  }

  .anp-anime-detail-hero__shell {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .anp-anime-detail-hero__content {
    gap: 10px;
  }

  .anp-anime-detail-hero__poster {
    width: min(100%, 260px);
  }

  .anp-anime-detail-hero__topline,
  .anp-anime-detail-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .anp-anime-detail-hero__provider {
    text-align: left;
  }

  .anp-anime-detail-hero__title {
    font-size: 28px;
  }

  .anp-anime-detail-hero__scores {
    gap: 8px;
  }

  .anp-anime-detail-score {
    flex: 1 1 160px;
    min-width: 0;
  }

  .anp-episode-grid {
    grid-template-columns: 1fr;
  }

  .anp-anime-detail-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anp-anime-detail-hero__meta li {
    padding: 7px 10px 8px;
  }

  .anp-character-rail {
    grid-auto-columns: minmax(152px, 180px);
  }
}

@media (max-width: 640px) {
  .anp-container {
    width: min(calc(100% - 16px), var(--anp-content-width));
  }

  .anp-main {
    padding-top: 12px;
  }

  .anp-site-header__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand search";
    gap: 8px;
    padding: 6px 0;
  }

  .anp-brand {
    min-width: 48px;
  }

  .anp-brand img {
    width: 48px;
    height: 48px;
  }

  .anp-header-search {
    grid-area: search;
    grid-column: auto;
    width: min(100%, 200px);
    min-width: 0;
  }

  .anp-search-form {
    min-height: 32px;
    gap: 6px;
    padding: 0 8px 0 10px;
  }

  .anp-search-form button {
    width: 32px;
    height: 32px;
  }

  .anp-site-header {
    position: sticky;
  }

  .anp-seasonal-rankings,
  .anp-library-grid,
  .anp-vod-strip__grid,
  .anp-vod-focus__grid,
  .anp-schedule-day__grid,
  .anp-related__grid,
  .anp-recommend-hero__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anp-weekday-pills,
  .anp-filter-actions {
    gap: 10px;
  }

  .anp-weekday-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .anp-weekday-pills::-webkit-scrollbar {
    display: none;
  }

  .anp-filter-actions .anp-button {
    flex: 1 1 0;
    min-width: 0;
  }

  .anp-filter-group__title {
    font-size: 14px;
  }

  .anp-filter-group__toggle {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .anp-vod-banner__overlay {
    min-height: 140px;
  }

  .anp-recommend-hero__caption {
    left: 18px;
    right: 18px;
    font-size: 18px;
  }

  .anp-recommend-panel {
    padding: 10px;
  }

  .anp-recommend-hero__lead {
    min-height: 160px;
  }

  .anp-topic-card__link {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  .anp-topic-card__hero {
    min-height: 136px;
    border-radius: 14px;
  }

  .anp-topic-card__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .anp-topic-card__count {
    min-height: 64px;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--anp-line);
    border-left: 0;
    padding-top: 10px;
    padding-left: 0;
    margin-left: 0;
  }

  .anp-topic-detail__title {
    font-size: 26px;
  }

  .anp-topic-detail__hero-shell {
    min-height: 0;
    padding: 14px;
  }

  .anp-topic-detail__crumb {
    gap: 6px;
    font-size: 12px;
  }

  .anp-topic-detail__summary {
    font-size: 14px;
    line-height: 1.7;
  }

  .anp-topic-detail__stats,
  .anp-topic-detail__chips {
    gap: 8px;
  }

  .anp-topic-detail__stats span,
  .anp-topic-detail__chips span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .anp-anime-detail {
    gap: 20px;
  }

  .anp-anime-detail-hero {
    border-radius: 18px;
  }

  .anp-anime-detail-hero__shell {
    padding: 14px;
    gap: 14px;
  }

  .anp-anime-detail-hero__poster {
    width: 100%;
  }

  .anp-anime-detail-hero__title {
    font-size: 26px;
    line-height: 1.18;
  }

  .anp-anime-detail-hero__subtitle {
    font-size: 14px;
  }

  .anp-anime-detail-hero__scores {
    flex-direction: column;
  }

  .anp-anime-detail-score {
    width: 100%;
    flex-basis: auto;
  }

  .anp-anime-detail-hero__meta {
    grid-template-columns: 1fr;
  }

  .anp-anime-detail-hero__meta li {
    width: 100%;
  }

  .anp-anime-detail-hero__meta {
    gap: 6px;
  }

  .anp-anime-detail-hero__meta li {
    padding: 7px 10px;
  }

  .anp-character-controls {
    flex-wrap: wrap;
  }

  .anp-character-controls {
    width: 100%;
  }

  .anp-character-controls__button {
    flex: 1 1 calc(50% - 4px);
    padding: 0 12px;
  }

}
